/* ========================================
   Template 3 — Fresh Emerald
   Teal/emerald accents, warm amber highlights
   ======================================== */

:root {
    --accent: #0d9488;
    --accent-light: #2dd4bf;
    --accent-dark: #0f766e;
    --accent-glow: rgba(13,148,136,0.25);
    --warm: #f59e0b;
    --warm-light: #fbbf24;
    --bg: #f0fdf4;
    --surface: #fff;
    --text: #134e4a;
    --text-muted: #5f7a76;
    --radius: 20px;
    --radius-sm: 12px;
    --shadow: 0 4px 24px rgba(13,148,136,0.06);
    --shadow-lg: 0 12px 40px rgba(13,148,136,0.10);
}

* { box-sizing: border-box; }

body {
    min-width: 480px;
    background: var(--bg);
    font: 400 15px/1.6 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

.content-wrap {
    max-width: 480px;
    margin: 0 auto;
    background: var(--bg);
}

/* ========================================
   Hero
   ======================================== */
.hero-section {
    background: var(--surface);
    border-radius: 0 0 var(--radius) var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hero-image {
    position: relative;
    background: #e6f7f2;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.discount-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, var(--warm), #d97706);
    color: #fff;
    font-weight: 800;
    font-size: 18px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    letter-spacing: -0.5px;
    box-shadow: 0 4px 16px rgba(245,158,11,0.35);
}

.hero-info {
    padding: 24px 20px 28px;
}

.label-hit {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.hero-info h1 {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 16px;
    color: var(--text);
    letter-spacing: -0.3px;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
}

.price-old {
    font-size: 16px;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 500;
}

.price-new {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.5px;
}

.price-new small {
    font-size: 16px;
    font-weight: 600;
}

/* ========================================
   Action block — timer + CTA together
   ======================================== */
.action-block {
    margin: 12px 16px;
    background: linear-gradient(135deg, var(--accent) 0%, #0f766e 50%, #115e59 100%);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: 0 8px 32px var(--accent-glow);
}

.timer-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.timer-inline.compact {
    margin-bottom: 16px;
    padding-bottom: 16px;
}

.timer-icon { font-size: 18px; }

.countdown__timer {
    display: inline-flex;
    gap: 4px;
}

.countdown__item {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
}

.countdown__value {
    font-size: 22px;
    font-weight: 800;
    color: var(--warm-light);
    font-variant-numeric: tabular-nums;
}

.countdown__label {
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    font-weight: 600;
}

.countdown__item + .countdown__item::before {
    content: ':';
    font-size: 20px;
    font-weight: 800;
    color: rgba(255,255,255,0.4);
    margin-right: 4px;
}

.cta-btn {
    display: block;
    width: 100%;
    background: #fff;
    color: var(--accent);
    font-weight: 800;
    font-size: 17px;
    text-align: center;
    text-decoration: none;
    padding: 18px 24px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.cta-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* ========================================
   Description
   ======================================== */
.product-description {
    background: var(--surface);
    margin: 12px 16px;
    border-radius: var(--radius);
    padding: 32px 20px;
    box-shadow: var(--shadow);
}

.section-title {
    font-size: 22px;
    font-weight: 800;
    text-align: center;
    margin: 0 0 20px;
    color: var(--text);
    position: relative;
    padding-bottom: 16px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 2px;
}

.desc-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-muted);
}

.desc-text strong {
    color: var(--text);
    font-weight: 700;
}

.desc-text ul {
    padding-left: 20px;
    margin: 12px 0;
}

.desc-text li {
    margin-bottom: 8px;
}

.desc-text li::marker {
    color: var(--accent);
}

/* ========================================
   Specifications
   ======================================== */
.specs-section {
    background: #0f2e2b;
    margin: 12px 16px;
    border-radius: var(--radius);
    padding: 32px 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.specs-section .section-title {
    color: #fff;
}

.specs-section .section-title::after {
    background: linear-gradient(90deg, var(--accent-light), var(--accent));
}

.specs-image {
    margin: 0 -20px 20px;
}

.specs-image img {
    width: 100%;
    display: block;
}

.specs-content {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    line-height: 1.8;
}

.specs-content table {
    width: 100%;
    border-collapse: collapse;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.specs-content table th,
.specs-content table td {
    padding: 12px 16px;
    text-align: left;
    border: none;
}

.specs-content table th {
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.specs-content table td {
    background: rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.specs-content table tr:last-child td { border-bottom: none; }
.specs-content table tr:hover td { background: rgba(13,148,136,0.1); }

/* ========================================
   How to Order
   ======================================== */
.how-to-order {
    background: var(--surface);
    margin: 12px 16px;
    border-radius: var(--radius);
    padding: 32px 16px;
    box-shadow: var(--shadow);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.step {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.step:hover {
    background: #d1fae5;
}

.step-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.step-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.step-icon svg {
    width: 48px;
    height: 48px;
    color: var(--accent, #0f766e);
    display: block;
}

.step-body {
    flex: 1;
    min-width: 0;
}

.step-num {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.step-body h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--text);
}

.step-body p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* ========================================
   Order Section
   ======================================== */
.order-section {
    margin: 12px 16px 0;
    padding-bottom: 12px;
}

.order-card {
    background: #0f2e2b;
    border-radius: var(--radius);
    padding: 24px 20px;
    box-shadow: var(--shadow-lg);
}

.order-product-mini {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.order-product-mini img {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}

.order-product-mini h3 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.3;
}

.order-product-mini .price-row {
    gap: 10px;
}

.order-product-mini .price-old {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

.order-product-mini .price-new {
    font-size: 20px;
    color: var(--accent-light);
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-field-wrapper {
    position: relative;
}

.form-input {
    width: 100%;
    display: block;
    background: rgba(255,255,255,0.08);
    border: 2px solid rgba(255,255,255,0.1);
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    padding: 16px 18px;
    border-radius: var(--radius-sm);
    outline: none;
    transition: all 0.2s ease;
}

.form-input::placeholder {
    color: rgba(255,255,255,0.35);
}

.form-input:focus {
    border-color: var(--accent-light);
    background: rgba(255,255,255,0.12);
    box-shadow: 0 0 0 3px rgba(13,148,136,0.2);
}

.error-message {
    display: block;
    color: #ff6b6b;
    font-size: 13px;
    margin-top: 5px;
    padding-left: 4px;
    font-weight: 600;
}

.field.error {
    border-color: #ff6b6b !important;
    background: rgba(255,107,107,0.06) !important;
}

.order-form .cta-btn {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #fff;
    font-size: 16px;
    padding: 18px;
    margin-top: 4px;
}

.order-form .cta-btn:hover {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
}

.button-submit2:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cta-btn.success {
    background: linear-gradient(135deg, #10b981, #059669) !important;
}

/* ========================================
   Footer
   ======================================== */
.landing-page .footer {
    max-width: 480px;
    margin: 0 auto;
    padding: 24px 20px 32px;
    text-align: center;
}

.footer a {
    color: var(--text-muted);
    font-size: 13px;
    text-decoration: none;
}

.footer a:hover { color: var(--accent); }

.menu-menu-1-container { margin-top: 8px; }
.menu-menu-1-container a { margin: 0 8px; }

/* ========================================
   Animations
   ======================================== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-section,
.action-block,
.product-description,
.specs-section,
.how-to-order,
.order-card {
    animation: fadeUp 0.5s ease both;
}

.action-block { animation-delay: 0.1s; }
.product-description { animation-delay: 0.15s; }
.specs-section { animation-delay: 0.2s; }
.how-to-order { animation-delay: 0.25s; }
.order-card { animation-delay: 0.3s; }
