/* =================================================================
   XCLUSIVE HERBAL TEAS — CUSTOMER SITE STYLES
   Palette: warm yellow + light green, cream background
================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
    --green:        #6FA83E;
    --green-dark:   #4C7A29;
    --green-pale:   #EBF6DE;
    --yellow:       #FFC93C;
    --yellow-dark:  #E8A800;
    --cream:        #FFFCF4;
    --card:         #FFFFFF;
    --text:         #2B2E1F;
    --text-muted:   #767C68;
    --border:       #E9E4D4;
    --danger:       #D9534F;
    --radius-lg:    22px;
    --radius-md:    16px;
    --radius-sm:    10px;
    --shadow:       0 6px 24px rgba(43, 46, 31, 0.08);
    --shadow-lift:  0 14px 34px rgba(43, 46, 31, 0.16);
    --shadow-premium: 0 10px 30px rgba(76, 122, 41, 0.18), 0 2px 8px rgba(43,46,31,0.06);
    --gradient-gold: linear-gradient(135deg, #FFD966 0%, #FFC93C 55%, #E8A800 100%);
    --gradient-green: linear-gradient(135deg, #7CB84A 0%, #5C9430 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--cream);
    color: var(--text);
    -webkit-tap-highlight-color: transparent;
    padding-bottom: 90px; /* room for sticky cart bar */
}

h1, h2, h3, .display {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 18px; }

/* ── Top nav ─────────────────────────────────────────────── */
.topbar {
    position: sticky; top: 0; z-index: 40;
    background: rgba(255, 252, 244, 0.85);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    box-shadow: 0 1px 0 rgba(43,46,31,0.03);
}
.topbar-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 18px; max-width: 1080px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
    width: 46px; height: 46px; border-radius: 50%; overflow: hidden;
    background: #fff; border: 1.5px solid var(--border); color: var(--green-dark);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; box-shadow: 0 4px 10px rgba(20,40,30,0.1); flex: none;
}
.brand-mark img { width: 88%; height: 88%; object-fit: contain; }
.brand-name { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 18px; }
.brand-name span { color: var(--green-dark); }

.cart-btn {
    position: relative;
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--green-pale);
    display: flex; align-items: center; justify-content: center;
    font-size: 19px; color: var(--green-dark);
    transition: transform .15s ease;
}
.cart-btn:active { transform: scale(0.92); }
.cart-badge {
    position: absolute; top: -4px; right: -4px;
    background: var(--yellow-dark); color: #fff;
    font-size: 11px; font-weight: 700;
    min-width: 18px; height: 18px; border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    padding: 0 4px;
}

/* ── Top navigation ───────────────────────────────────────── */
.topnav { display: flex; align-items: center; gap: 6px; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.nav-link {
    font-family: 'Montserrat', sans-serif; text-transform: uppercase;
    font-size: 12.5px; font-weight: 700; letter-spacing: .04em;
    color: var(--text); padding: 9px 14px; border-radius: 20px;
    transition: background .15s ease, color .15s ease;
}
.nav-link:hover { background: var(--green-pale); color: var(--green-dark); }
.nav-burger {
    display: none; width: 38px; height: 38px; border-radius: 10px;
    background: var(--green-pale); color: var(--green-dark); font-size: 17px;
    align-items: center; justify-content: center;
}

@media (max-width: 760px) {
    .topnav { display: none; }
    .nav-burger { display: flex; }
}

/* ── Mobile nav drawer (slides in from the left) ─────────────── */
.mobile-nav-drawer {
    position: fixed; left: 0; top: 0; bottom: 0; width: 82%; max-width: 320px;
    background: var(--cream); z-index: 71;
    transform: translateX(-100%); transition: transform .32s cubic-bezier(.2,.9,.25,1);
    display: flex; flex-direction: column; box-shadow: 0 0 40px rgba(20,40,30,0.2);
}
.mobile-nav-drawer.show { transform: translateX(0); }

.mnd-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px; border-bottom: 1px solid var(--border);
}
.mnd-head .brand-mark { width: 40px; height: 40px; }
.mnd-head .close-btn {
    width: 34px; height: 34px; border-radius: 50%; background: var(--green-pale);
    color: var(--green-dark); display: flex; align-items: center; justify-content: center; font-size: 15px;
}

.mnd-links { flex: 1; padding: 14px 12px; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; }
.mnd-link {
    display: flex; align-items: center; gap: 14px; padding: 13px 14px; border-radius: 16px;
    font-weight: 700; font-size: 14.5px; color: var(--text); position: relative;
    transition: background .18s ease, transform .12s ease;
}
.mnd-link:active { transform: scale(0.98); }
.mnd-link.active { background: var(--green-pale); color: var(--green-dark); }
.mnd-link.active::before {
    content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 4px; height: 22px; background: var(--green); border-radius: 0 4px 4px 0;
}
.mnd-icon {
    width: 38px; height: 38px; border-radius: 12px; flex: none;
    display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.mnd-link .chevron { margin-left: auto; color: var(--text-muted); font-size: 13px; }

.mnd-foot { padding: 16px 18px 22px; border-top: 1px solid var(--border); }
.mnd-whatsapp {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: linear-gradient(135deg, #2FE070 0%, #1DA851 100%); color: #fff;
    font-weight: 700; font-size: 13.5px; padding: 13px; border-radius: 16px;
    box-shadow: 0 8px 20px rgba(29,168,81,0.3);
}

/* ── Hero (video background, sliding text) ──────────────────── */
.hero {
    position: relative;
    height: 560px;
    overflow: hidden;
    display: flex; align-items: center;
    background: linear-gradient(135deg, #2F4C1A 0%, #4C7A29 55%, #6FA83E 100%);
}
.hero-video-bg {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: 0;
}
/* Animated placeholder shown when no video source is present yet —
   safe to leave in place, it simply sits behind the <video> element. */
.hero-fallback-motion {
    position: absolute; inset: -10%; z-index: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255,201,60,0.35), transparent 45%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.15), transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(111,168,62,0.4), transparent 60%);
    animation: heroDrift 14s ease-in-out infinite alternate;
}
@keyframes heroDrift {
    0%   { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.15) translate(-2%, 2%); }
}
.hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, rgba(18,24,10,0.82) 0%, rgba(18,24,10,0.62) 32%, rgba(18,24,10,0.22) 58%, rgba(18,24,10,0) 78%);
}

.hero .container { max-width: none; padding: 0 5vw; display: flex; justify-content: flex-start; }
.hero-slides {
    position: relative; z-index: 2; width: 100%; max-width: 460px;
    text-align: left;
}
.hero-slide {
    position: absolute; top: 0; left: 0; width: 100%;
    opacity: 0; transform: translateY(14px);
    pointer-events: none;
    transition: opacity .6s ease, transform .6s ease;
}
.hero-slide.active {
    position: relative;
    opacity: 1; transform: translateY(0);
    pointer-events: auto;
}
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,0.16); color: #fff;
    backdrop-filter: blur(4px);
    font-size: 12.5px; font-weight: 600;
    padding: 6px 12px; border-radius: 20px;
    margin-bottom: 14px;
}
.hero h1 { font-size: clamp(28px, 7vw, 40px); max-width: 440px; color: #fff; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero p {
    color: rgba(255,255,255,0.85); margin-top: 12px; max-width: 460px;
    font-size: 15.5px; line-height: 1.55;
}
.hero-cta {
    margin-top: 22px; display: inline-flex; align-items: center; gap: 10px;
    background: var(--gradient-gold); color: var(--text); font-weight: 700;
    padding: 14px 26px; border-radius: 30px; font-size: 15px;
    box-shadow: var(--shadow-premium);
    transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease;
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(232,168,0,0.32); }
.hero-cta:active { transform: scale(0.97) translateY(0); }

.hero-dots {
    position: absolute; left: 0; right: 0; bottom: 20px; z-index: 3;
    display: flex; justify-content: center; gap: 8px;
}
.hero-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,0.4);
    transition: background .2s ease, transform .2s ease;
}
.hero-dot.active { background: var(--yellow); transform: scale(1.2); }

@media (max-width: 640px) {
    .hero { height: 480px; }
}

/* ── Category-style filter chips (single category here: teas) ── */
.filter-row {
    display: flex; gap: 10px; flex-wrap: wrap; padding: 18px 0 6px;
}
.chip {
    flex: none; padding: 9px 16px; border-radius: 20px;
    background: var(--card); border: 1px solid var(--border);
    font-size: 13.5px; font-weight: 600; color: var(--text-muted);
    white-space: nowrap; cursor: pointer; user-select: none;
}
.chip.active { background: var(--gradient-green); color: #fff; border-color: transparent; box-shadow: 0 4px 12px rgba(76,122,41,0.28); }

/* ── Menu grid ────────────────────────────────────────────── */
.menu-section { padding: 8px 0 40px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.section-head h2 { font-size: 24px; }
.section-head span { color: var(--text-muted); font-size: 13px; }

.tea-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
@media (min-width: 640px) { .tea-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 900px) { .tea-grid { grid-template-columns: repeat(4, 1fr); } }

.tea-card {
    background: var(--card); border-radius: var(--radius-md);
    overflow: hidden; border: 1px solid var(--border);
    display: flex; flex-direction: column; cursor: pointer;
    transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, border-color .25s ease;
}
.tea-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-premium); border-color: transparent; }

.tea-img {
    aspect-ratio: 1/1; width: 100%;
    background: var(--green-pale);
    display: flex; align-items: center; justify-content: center;
    font-size: 34px; color: var(--green-dark);
    position: relative; overflow: hidden;
}
.tea-img img { width: 100%; height: 100%; object-fit: cover; }

.tea-body { padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.tea-name { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 15.5px; }
.tea-desc {
    font-size: 12.5px; color: var(--text-muted); line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    flex: 1;
}
.tea-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.tea-price { font-weight: 700; color: var(--green-dark); font-size: 15px; }

.qty-stepper {
    display: flex; align-items: center; gap: 8px;
    background: var(--green-pale); border-radius: 20px; padding: 4px;
}
.qty-stepper button {
    width: 24px; height: 24px; border-radius: 50%; background: var(--card);
    color: var(--green-dark); font-weight: 700; font-size: 14px;
    display: flex; align-items: center; justify-content: center;
}
.qty-stepper span { min-width: 16px; text-align: center; font-weight: 600; font-size: 13px; }

.add-btn {
    background: var(--gradient-gold); color: var(--text); font-weight: 700;
    font-size: 12.5px; padding: 7px 14px; border-radius: 20px;
    box-shadow: 0 4px 10px rgba(232,168,0,0.25);
    transition: transform .15s cubic-bezier(.2,.8,.2,1), box-shadow .15s ease;
}
.add-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(232,168,0,0.35); }
.add-btn:active { transform: scale(0.94); }

.empty-state {
    text-align: center; padding: 50px 20px; color: var(--text-muted);
}

/* ── Sticky bottom cart bar (mobile app feel) ───────────────── */
.cart-bar {
    position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 45;
    background: var(--green-dark); color: #fff;
    border-radius: 18px; padding: 13px 18px;
    display: flex; align-items: center; justify-content: space-between;
    box-shadow: var(--shadow-lift);
    transform: translateY(140%); transition: transform .25s ease;
}
.cart-bar.show { transform: translateY(0); }
.cart-bar .left { display: flex; flex-direction: column; }
.cart-bar .count { font-size: 12px; opacity: .85; }
.cart-bar .amount { font-weight: 700; font-size: 16px; }
.cart-bar .view-btn {
    background: var(--yellow); color: var(--text); font-weight: 700;
    padding: 10px 18px; border-radius: 12px; font-size: 13.5px;
    display: flex; align-items: center; gap: 6px;
}

/* ── Cart drawer ──────────────────────────────────────────── */
.overlay {
    position: fixed; inset: 0; background: rgba(20,22,12,0.45);
    z-index: 60; opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.overlay.show { opacity: 1; pointer-events: auto; }

.drawer {
    position: fixed; right: 0; top: 0; bottom: 0; width: 100%; max-width: 420px;
    background: var(--cream); z-index: 61;
    transform: translateX(100%); transition: transform .28s ease;
    display: flex; flex-direction: column;
}
.drawer.show { transform: translateX(0); }

.drawer-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px; border-bottom: 1px solid var(--border);
}
.drawer-head h3 { font-size: 19px; }
.close-btn {
    width: 34px; height: 34px; border-radius: 50%; background: var(--green-pale);
    display: flex; align-items: center; justify-content: center; font-size: 15px;
}

.drawer-body { flex: 1; overflow-y: auto; padding: 14px 18px; }
.drawer-content { flex: 1; min-height: 0; overflow-y: auto; }

.cart-item {
    display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border);
    align-items: center;
}
.cart-item .thumb {
    width: 52px; height: 52px; border-radius: 12px; background: var(--green-pale);
    display: flex; align-items: center; justify-content: center; font-size: 18px;
    color: var(--green-dark); overflow: hidden; flex: none;
}
.cart-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item .info { flex: 1; min-width: 0; }
.cart-item .info h4 { font-size: 14px; font-weight: 600; }
.cart-item .info .unit-price { font-size: 12px; color: var(--text-muted); }
.cart-item .remove {
    font-size: 11.5px; color: var(--danger); font-weight: 600; margin-top: 4px;
}

.drawer-foot { padding: 16px 18px 20px; border-top: 1px solid var(--border); }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 6px; color: var(--text-muted); }
.summary-row.total { color: var(--text); font-weight: 700; font-size: 16px; margin-top: 8px; }

.primary-btn {
    width: 100%; background: var(--gradient-green); color: #fff; font-weight: 700;
    padding: 15px; border-radius: 16px; font-size: 15px; margin-top: 14px;
    box-shadow: 0 8px 20px rgba(76,122,41,0.28);
    transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .18s ease;
}
.primary-btn:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(76,122,41,0.36); }
.primary-btn:active { transform: scale(0.98); }
.primary-btn:disabled { opacity: .5; }

/* ── Checkout form ────────────────────────────────────────── */
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.form-group input, .form-group textarea {
    width: 100%; padding: 12px 14px; border-radius: 12px;
    border: 1.5px solid var(--border); font-size: 14.5px; font-family: inherit;
    background: #fff; color: var(--text);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: var(--green);
}
.form-group textarea { resize: vertical; min-height: 70px; }

/* ── Order success ────────────────────────────────────────── */
.success-wrap { text-align: center; padding: 40px 20px; }
.success-icon {
    width: 74px; height: 74px; border-radius: 50%; background: var(--green-pale);
    color: var(--green-dark); font-size: 32px;
    display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
}
.order-code {
    display: inline-block; background: var(--green-pale); color: var(--green-dark);
    font-weight: 700; padding: 8px 16px; border-radius: 10px; margin: 12px 0; letter-spacing: .03em;
}

/* ── Tea detail modal ─────────────────────────────────────── */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(20,22,12,0.5); z-index: 70;
    display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.show { display: flex; }
.modal-box {
    background: #fff; border-radius: 20px; max-width: 400px; width: 100%;
    max-height: 88vh; overflow-y: auto; position: relative;
}
.modal-box .modal-close {
    position: absolute; top: 12px; right: 12px; z-index: 2;
    width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.9);
    display: flex; align-items: center; justify-content: center; font-size: 15px;
    box-shadow: var(--shadow);
}
.modal-img {
    width: 100%; aspect-ratio: 4/3; background: var(--green-pale);
    display: flex; align-items: center; justify-content: center;
    font-size: 48px; color: var(--green-dark); overflow: hidden;
}
.modal-img img { width: 100%; height: 100%; object-fit: cover; }
.modal-content { padding: 20px; }
.modal-category {
    display: inline-block; background: var(--green-pale); color: var(--green-dark);
    font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 10px; margin-bottom: 10px;
}
.modal-content h3 { font-size: 20px; margin-bottom: 8px; }
.modal-content .modal-desc { color: var(--text-muted); font-size: 14px; line-height: 1.6; margin-bottom: 16px; }
.modal-content .modal-price { font-size: 20px; font-weight: 800; color: var(--green-dark); margin-bottom: 16px; }
.modal-content .qty-stepper { justify-content: center; padding: 6px; }
.modal-content .qty-stepper button { width: 30px; height: 30px; font-size: 16px; }

.modal-destination-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 0; border-top: 1px solid var(--border);
}
.modal-destination-row:first-of-type { border-top: none; margin-top: 4px; }
.modal-destination-row .md-label { font-size: 13.5px; font-weight: 600; }
.modal-destination-row .add-btn { padding: 8px 16px; }

.dual-btn { font-size: 11.5px !important; padding: 7px 10px !important; }

/* ── Cart drawer groups ───────────────────────────────────── */
.cart-group-title {
    font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
    color: var(--green-dark); margin: 16px 0 6px;
}
.cart-group-title:first-child { margin-top: 4px; }

/* ── Checkout sections ────────────────────────────────────── */
.checkout-section {
    background: var(--green-pale); border-radius: 14px; padding: 14px 16px; margin-bottom: 16px;
}
.checkout-section h4 { font-size: 14px; margin-bottom: 10px; color: var(--green-dark); }
.checkout-items { margin-bottom: 10px; }
.checkout-item-line { display: flex; justify-content: space-between; font-size: 13px; padding: 4px 0; color: var(--text); }
.checkout-subtotal { font-size: 12.5px; color: var(--text-muted); text-align: right; margin-top: 4px; }

/* ── Order type choice modal ─────────────────────────────── */
.order-type-box { max-width: 360px; }
.order-type-option {
    width: 100%; display: flex; align-items: center; gap: 14px;
    background: var(--green-pale); border-radius: 16px; padding: 14px 16px;
    margin-bottom: 12px; text-align: left; transition: background .15s ease, transform .1s ease;
}
.order-type-option:hover { background: #DFF0CC; }
.order-type-option:active { transform: scale(0.98); }
.order-type-option .ot-icon { font-size: 26px; flex: none; }
.order-type-option .ot-text { display: flex; flex-direction: column; gap: 2px; }
.order-type-option .ot-text b { font-size: 14.5px; color: var(--text); }
.order-type-option .ot-text small { font-size: 12px; color: var(--text-muted); line-height: 1.4; }

.order-type-banner {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    background: var(--green-pale); color: var(--green-dark); font-weight: 700;
    font-size: 13px; padding: 10px 14px; border-radius: 12px; margin-bottom: 16px;
}
.order-type-banner button {
    font-size: 11.5px; font-weight: 700; color: var(--green-dark);
    text-decoration: underline; flex: none;
}

/* ── WhatsApp chat widget ─────────────────────────────────── */
.wa-fab {
    position: fixed; right: 18px; bottom: 100px; z-index: 46;
    width: 58px; height: 58px; border-radius: 50%;
    background: linear-gradient(135deg, #2FE070 0%, #1DA851 100%);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 26px rgba(29,168,81,0.4); font-size: 26px; color: #fff;
    transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease;
}
.wa-fab::before {
    content: ''; position: absolute; inset: -6px; border-radius: 50%;
    border: 2px solid rgba(47,224,112,0.5);
    animation: waPulse 2.4s ease-out infinite;
}
@keyframes waPulse {
    0% { transform: scale(0.9); opacity: .9; }
    100% { transform: scale(1.35); opacity: 0; }
}
.wa-fab:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 14px 32px rgba(29,168,81,0.5); }
.wa-fab:active { transform: scale(0.94); }

.wa-panel {
    position: fixed; right: 18px; bottom: 168px; z-index: 47;
    width: min(340px, calc(100vw - 36px)); height: min(460px, 60vh);
    background: var(--cream); border-radius: 18px; overflow: hidden;
    box-shadow: var(--shadow-lift);
    display: flex; flex-direction: column;
    transform: translateY(16px) scale(0.97); opacity: 0; pointer-events: none;
    transition: all .2s ease;
}
.wa-panel.show { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }

.wa-head {
    background: #075E54; color: #fff; padding: 14px 16px;
    display: flex; align-items: center; justify-content: space-between;
}
.wa-head .who { display: flex; align-items: center; gap: 10px; }
.wa-head .who-icon { width: 38px; height: 38px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; overflow: hidden; }
.wa-head .who-icon img { width: 88%; height: 88%; object-fit: contain; }
.wa-head h4 { font-size: 14px; }
.wa-head p { font-size: 11px; opacity: .8; }
.wa-close { color: #fff; font-size: 16px; }

.wa-body { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: #ECE5DD; }
.wa-msg { max-width: 82%; padding: 9px 12px; border-radius: 12px; font-size: 13px; line-height: 1.45; }
.wa-msg.bot { background: #fff; align-self: flex-start; border-bottom-left-radius: 3px; }
.wa-msg.user { background: #DCF8C6; align-self: flex-end; border-bottom-right-radius: 3px; }
.wa-typing { display: flex; align-items: center; gap: 4px; padding: 12px 14px; }
.wa-dot {
    width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted);
    animation: waDotPulse 1.3s ease-in-out infinite;
}
.wa-dot:nth-child(2) { animation-delay: .18s; }
.wa-dot:nth-child(3) { animation-delay: .36s; }
@keyframes waDotPulse {
    0%, 60%, 100% { transform: translateY(0); opacity: .4; }
    30% { transform: translateY(-4px); opacity: 1; }
}
.wa-agent-btn {
    display: inline-block; margin-top: 10px;
    align-self: flex-start; background: #25D366; color: #fff; font-weight: 700;
    font-size: 12.5px; padding: 8px 14px; border-radius: 20px;
}

.wa-foot { padding: 10px; background: var(--card); display: flex; gap: 8px; border-top: 1px solid var(--border); }
.wa-foot input {
    flex: 1; border: 1.5px solid var(--border); border-radius: 20px; padding: 9px 14px; font-size: 13px; font-family: inherit;
}
.wa-foot input:focus { outline: none; border-color: var(--green); }
.wa-foot button {
    width: 38px; height: 38px; border-radius: 50%; background: #25D366; color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 15px; flex: none;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
    background: var(--green-dark); color: rgba(255,255,255,0.85);
    padding: 48px 0 0; margin-top: 40px; font-size: 13.5px;
}
.footer-grid {
    display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px;
    padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
    font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .04em; color: #fff; margin-bottom: 4px;
}
.footer-col a { color: rgba(255,255,255,0.82); transition: color .15s ease; }
.footer-col a:hover { color: var(--yellow); }
.footer-brand-col .brand-name, .footer-brand-col .brand-name span { color: #fff; }
.footer-brand-col p { opacity: .85; margin-top: 2px; }
.footer-social { display: flex; gap: 10px; margin-top: 6px; }
.footer-social a {
    width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.14);
    display: flex; align-items: center; justify-content: center; transition: background .15s ease;
}
.footer-social a:hover { background: rgba(255,255,255,0.26); }
.footer-social svg { width: 17px; height: 17px; fill: #fff; }

.footer-bottom {
    padding: 18px 0; text-align: center; opacity: .75; font-size: 12px;
}

@media (max-width: 720px) {
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 28px; }
    .footer-col { align-items: center; }
    .footer-brand-col .brand { flex-direction: column; }
}
/* ── Welcome splash screen ────────────────────────────────── */
.splash-screen {
    position: fixed; inset: 0; z-index: 300;
    background: linear-gradient(160deg, #ffffff 0%, var(--green-pale) 100%);
    display: flex; align-items: center; justify-content: center;
    transition: opacity .5s ease;
}
.splash-screen.fade-out { opacity: 0; pointer-events: none; }
.splash-inner { text-align: center; padding: 20px; animation: splashPop .6s ease; }
.splash-logo {
    width: 130px; height: 130px; margin: 0 auto 22px; border-radius: 50%;
    background: #fff; box-shadow: 0 10px 30px rgba(20,40,30,0.14);
    display: flex; align-items: center; justify-content: center; padding: 14px;
}
.splash-logo img { width: 100%; height: 100%; object-fit: contain; }
.splash-inner h1 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 22px; color: var(--text); margin-bottom: 8px; }
.splash-inner p { font-size: 12.5px; color: var(--green-dark); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
@keyframes splashPop {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

/* ── Toast ────────────────────────────────────────────────── */
.toast {
    position: fixed; left: 50%; bottom: 100px; transform: translate(-50%, 20px);
    background: var(--text); color: #fff; padding: 11px 20px; border-radius: 30px;
    font-size: 13.5px; z-index: 80; opacity: 0; pointer-events: none;
    transition: all .25s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 640px) {
    .drawer { max-width: 400px; }
}
