/* ─── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background: #FAFAF8;
    color: #1A2411;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.container {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ─── Header ────────────────────────────────────────────────────────────────── */
.site-header {
    background: #fff;
    border-bottom: 1px solid #e8ede7;
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(26,36,17,.07);
}
.site-header .container { display: flex; justify-content: space-between; align-items: center; }
.brand { display: flex; align-items: center; gap: 8px; }
.brand-icon { font-size: 1.4rem; }
.brand-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: #1A2411;
    letter-spacing: 0.3px;
}
.trust-badge {
    font-size: 0.78rem;
    font-weight: 700;
    color: #8BBF86;
    border: 1.5px solid #8BBF86;
    border-radius: 20px;
    padding: 4px 12px;
    letter-spacing: 0.3px;
}

/* ─── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, #0f1a0a 0%, #1A2411 40%, #2d4020 75%, #8BBF86 100%);
    padding: 56px 0 52px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(139,191,134,0.15) 0%, transparent 70%);
    pointer-events: none;
}
.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
}
.hero-text { flex: 1; }
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #e0f0de;
    margin-bottom: 12px;
    backdrop-filter: blur(4px);
}
.hero-tagline {
    font-size: 0.82rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #a8d5a4;
    margin-bottom: 6px;
    font-weight: 600;
}
.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 3.2rem;
    line-height: 1.05;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}
.hero-subtitle {
    font-size: 1rem;
    color: #d4ecd2;
    max-width: 380px;
    line-height: 1.55;
    margin-bottom: 20px;
}
.hero-trust-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}
.hero-trust-pills span {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #e8f5e7;
    backdrop-filter: blur(4px);
    letter-spacing: 0.2px;
}
.hero-image { flex-shrink: 0; }
.product-img {
    width: 210px;
    height: 210px;
    object-fit: contain;
    filter: drop-shadow(0 12px 32px rgba(0,0,0,0.35));
    transition: transform 0.3s ease;
}
.product-img:hover { transform: translateY(-4px); }

/* ─── Trust Strip ───────────────────────────────────────────────────────────── */
.trust-strip {
    background: #fff;
    border-bottom: 1px solid #e8ede7;
    padding: 18px 0;
}
.trust-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #444;
}
.trust-icon { font-size: 1.2rem; }
.trust-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #555;
    white-space: nowrap;
}

/* ─── Order Section ─────────────────────────────────────────────────────────── */
.order-section { padding: 44px 0 64px; }
.order-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 40px 36px;
    box-shadow: 0 4px 32px rgba(26,36,17,0.09), 0 1px 4px rgba(26,36,17,0.05);
    max-width: 620px;
    margin: 0 auto;
    border: 1px solid #e8ede7;
}
.card-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: #1A2411;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 2px solid #f0f0ee;
    letter-spacing: -0.2px;
}

/* ─── Alerts ────────────────────────────────────────────────────────────────── */
.alert { border-radius: 10px; padding: 14px 16px; margin-bottom: 22px; }
.alert-error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.alert p { font-size: 0.88rem; line-height: 1.4; }

/* ─── Form Sections ─────────────────────────────────────────────────────────── */
.form-section { margin-bottom: 28px; }
.section-label {
    display: block;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #78A273;
    text-transform: uppercase;
    margin-bottom: 12px;
}

/* ─── Variant Cards ─────────────────────────────────────────────────────────── */
.variant-cards { display: flex; gap: 12px; flex-wrap: wrap; }
.variant-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    border: 2px solid #e0e0e0;
    background: #fff;
    border-radius: 12px;
    padding: 14px 18px 14px 16px;
    min-width: 150px;
    cursor: pointer;
    transition: border-color 0.18s, background 0.18s, box-shadow 0.18s, transform 0.12s;
    text-align: left;
    overflow: hidden;
}
.variant-card:hover {
    border-color: #8BBF86;
    box-shadow: 0 2px 12px rgba(139,191,134,0.2);
}
.variant-card.selected {
    border-color: #8BBF86;
    background: #f0f8ef;
    box-shadow: 0 2px 16px rgba(139,191,134,0.25);
}
.variant-card.pulse {
    animation: cardPulse 0.28s ease;
}
@keyframes cardPulse {
    0%   { transform: scale(1); }
    50%  { transform: scale(0.97); }
    100% { transform: scale(1); }
}
.vc-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #8BBF86;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 0 10px 0 8px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
.vc-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1A2411;
    line-height: 1.3;
}
.vc-price {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    color: #2d4020;
}
.vc-check {
    display: inline-block;
    background: #8BBF86;
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    line-height: 18px;
    text-align: center;
    font-weight: 700;
    margin-top: 4px;
    opacity: 0;
    transition: opacity 0.15s;
}
.variant-card.selected .vc-check { opacity: 1; }

/* Legacy pill selector (backwards-compat if used elsewhere) */
.variant-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.variant-pill {
    border: 2px solid #e0e0e0;
    background: #fff;
    border-radius: 8px;
    padding: 10px 18px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: all 0.2s;
}
.variant-pill:hover { border-color: #8BBF86; color: #1A2411; }
.variant-pill.selected { border-color: #8BBF86; background: #f0f7ef; color: #1A2411; font-weight: 700; }

/* ─── Quantity Stepper ──────────────────────────────────────────────────────── */
.qty-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.qty-stepper {
    display: flex;
    align-items: center;
    border: 1.5px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.qty-btn {
    width: 40px;
    height: 40px;
    background: #f7f7f5;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #1A2411;
    transition: background 0.15s, color 0.15s;
    font-weight: 700;
    line-height: 1;
}
.qty-btn:hover { background: #8BBF86; color: #fff; }
.qty-display {
    min-width: 44px;
    text-align: center;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 0 10px;
    color: #1A2411;
    font-family: 'Montserrat', sans-serif;
}
.subtotal-display { font-size: 0.95rem; color: #666; }
.subtotal-display strong {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1A2411;
    font-family: 'Montserrat', sans-serif;
}

/* ─── Form Grid ─────────────────────────────────────────────────────────────── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full-width { grid-column: 1 / -1; }
.form-group label {
    font-size: 0.83rem;
    font-weight: 600;
    color: #444;
    letter-spacing: 0.1px;
}
.form-group input,
.form-group textarea {
    border: 1.5px solid #ddd;
    border-radius: 10px;
    padding: 11px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #1A2411;
    background: #FAFAF8;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: #8BBF86;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(139,191,134,0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #bbb; }
.form-group textarea { resize: vertical; min-height: 90px; line-height: 1.5; }

/* ─── Buttons ───────────────────────────────────────────────────────────────── */
.btn-primary {
    display: inline-block;
    background: #1A2411;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 15px 28px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.3px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
    text-align: center;
}
.btn-primary:hover { background: #2d4020; box-shadow: 0 4px 16px rgba(26,36,17,0.2); }
.btn-primary:active { transform: scale(0.98); }
.btn-full { width: 100%; margin-top: 10px; }
.btn-order {
    background: #8BBF86;
    font-size: 1.05rem;
    padding: 16px 28px;
    letter-spacing: 0.2px;
}
.btn-order:hover { background: #78A273; }

.order-secure-note {
    font-size: 0.8rem;
    color: #888;
    text-align: center;
    margin-top: 10px;
    line-height: 1.5;
}

/* ─── Footer ────────────────────────────────────────────────────────────────── */
.site-footer {
    background: #1A2411;
    color: #8BBF86;
    padding: 24px 0;
    text-align: center;
    font-size: 0.85rem;
}
.footer-sub { color: #78A273; font-size: 0.78rem; margin-top: 4px; opacity: 0.8; }

/* ─── Success Page ──────────────────────────────────────────────────────────── */
.success-section { padding: 64px 0; }
.success-card {
    background: #fff;
    border-radius: 16px;
    padding: 52px 44px;
    box-shadow: 0 4px 32px rgba(26,36,17,0.09);
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    border: 1px solid #e8ede7;
}
.success-icon { font-size: 3.5rem; margin-bottom: 16px; display: block; }
.success-card h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    color: #1A2411;
    margin-bottom: 6px;
}
.success-subtitle { color: #666; margin-bottom: 20px; font-size: 1rem; }
.success-order-number {
    display: inline-block;
    background: #f0f8ef;
    border: 1.5px solid #8BBF86;
    border-radius: 10px;
    padding: 10px 24px;
    font-size: 1rem;
    color: #1A2411;
    margin-bottom: 28px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.success-message {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 28px;
}
.success-message p { margin-bottom: 6px; }

/* Next Steps Timeline */
.next-steps {
    text-align: left;
    border-top: 1px solid #f0f0ee;
    padding-top: 24px;
    margin-bottom: 28px;
}
.next-steps-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #78A273;
    margin-bottom: 16px;
    text-align: center;
}
.step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}
.step:last-child { margin-bottom: 0; }
.step-num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: #8BBF86;
    color: #fff;
    border-radius: 50%;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 0.82rem;
    line-height: 28px;
    text-align: center;
}
.step-body strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: #1A2411;
    margin-bottom: 2px;
}
.step-body p { font-size: 0.82rem; color: #888; line-height: 1.4; }

/* ─── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .hero-inner { flex-direction: column; text-align: center; gap: 28px; }
    .hero-title { font-size: 2.4rem; }
    .hero-subtitle { max-width: 100%; margin: 0 auto 16px; }
    .hero-trust-pills { justify-content: center; }
    .product-img { width: 150px; height: 150px; }
    .form-grid { grid-template-columns: 1fr; }
    .order-card { padding: 28px 20px; border-radius: 12px; }
    .card-title { font-size: 1.3rem; }
    .trust-items { justify-content: flex-start; gap: 12px 24px; }
    .trust-label { font-size: 0.78rem; }
    .variant-cards { gap: 10px; }
    .variant-card { min-width: 130px; }
    .success-card { padding: 36px 24px; }
}
@media (max-width: 480px) {
    .hero { padding: 40px 0 36px; }
    .hero-title { font-size: 2rem; }
    .hero-badge { font-size: 0.72rem; }
    .qty-row { gap: 14px; }
    .trust-items { flex-wrap: wrap; }
}
