/* =====================================================================
   Optimal Health — الصحة المثالية | brand stylesheet
   Plain CSS · no framework · RTL-aware via [dir="rtl"] + logical props
   Tokens per design.md §2/§3.
   ===================================================================== */

:root {
    --cream: #E8E4D0;
    --cream-50: #F6F3E8;
    --cream-100: #EFEBDA;
    --leaf: #49861B;
    --leaf-dark: #356813;
    --leaf-bright: #6FB52F;
    --leaf-50: #EDF4E4;
    --blue: #2A52B4;
    --navy: #17356F;
    --navy-deep: #0E2148;
    --forest: #16320C;
    --ink: #222B1B;
    --ink-60: #5C6452;
    --amber: #E9A23B;
    --red: #D64545;
    --white: #FFFFFF;
    --grad-brand: linear-gradient(120deg, #2A52B4 0%, #49861B 100%);
    --grad-leaf: linear-gradient(135deg, #49861B, #6FB52F);
    --grad-dark: linear-gradient(180deg, #0E2148, #16320C);
    --shadow-card: 0 2px 6px rgba(23, 53, 111, .05), 0 16px 40px -12px rgba(34, 43, 27, .12);
    --border-soft: 1px solid rgba(34, 43, 27, .10);
    --radius-card: 24px;
    --radius-input: 16px;
    --font-display: 'Sora', 'Cairo', sans-serif;
    --font-body: 'Inter', 'Tajawal', sans-serif;
    --font-script: 'Caveat', 'Aref Ruqaa', cursive;
    --nav-h: 80px;
}
[dir="rtl"] {
    --font-display: 'Cairo', 'Sora', sans-serif;
    --font-body: 'Tajawal', 'Inter', sans-serif;
    --font-script: 'Aref Ruqaa', 'Caveat', cursive;
}

/* ---------------- Base ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
}
[dir="rtl"] body { line-height: 1.85; letter-spacing: 0; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { line-height: 1.4; letter-spacing: 0; }
[dir="ltr"] h1, [dir="ltr"] h2 { letter-spacing: -.02em; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--leaf-dark); }
img { max-width: 100%; height: auto; }
.container { max-width: 80rem; margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 1024px) { .container { padding-inline: 2rem; } }
/* Wide desktops: use more of the screen instead of empty side margins */
@media (min-width: 1440px) { .container { max-width: 86rem; } }
@media (min-width: 1800px) { .container { max-width: 100rem; } }
.site-main { min-height: 50vh; }
.section { padding-block: 5rem; }
.section-alt { background: var(--cream-100); }
.text-muted { color: var(--ink-60); }

/* Section heading pattern */
.eyebrow {
    display: inline-flex; align-items: center; gap: .4rem;
    background: var(--leaf-50); color: var(--leaf-dark);
    border-radius: 999px; padding: .35rem 1rem;
    font-size: 13px; font-weight: 600;
}
[dir="ltr"] .eyebrow { text-transform: uppercase; letter-spacing: .08em; }
.script-accent {
    font-family: var(--font-script); color: var(--leaf-dark);
    display: inline-block; transform: rotate(-3deg);
}

/* ---------------- Buttons ---------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    height: 48px; padding-inline: 1.75rem; border-radius: 999px;
    font-family: var(--font-body); font-size: 15px; font-weight: 600;
    border: 0; cursor: pointer; transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
    position: relative; overflow: hidden; white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--leaf); color: #fff; }
.btn-primary:hover { background: var(--leaf-dark); color: #fff; transform: scale(1.02); box-shadow: 0 8px 24px -8px rgba(73, 134, 27, .55); }
.btn-primary::after {
    content: ''; position: absolute; inset-block: 0; width: 40%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .35), transparent);
    inset-inline-start: -60%; transition: inset-inline-start .5s ease;
}
.btn-primary:hover::after { inset-inline-start: 120%; }
.btn-secondary { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }
.btn-secondary:hover { background: var(--blue); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .25); }
.btn-ghost:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.btn-sm { height: 38px; padding-inline: 1.1rem; font-size: 13.5px; }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { filter: brightness(.95); color: var(--ink); }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { filter: brightness(.92); color: #fff; }
.btn-block { width: 100%; }

/* ---------------- Announcement bar ---------------- */
.announce-bar {
    background: var(--forest); color: var(--cream);
    height: 36px; overflow: hidden; display: flex; align-items: center;
    font-size: 13px; font-weight: 500;
}
.announce-track { display: flex; gap: 3rem; white-space: nowrap; animation: marquee 28s linear infinite; }
.announce-bar:hover .announce-track { animation-play-state: paused; }
[dir="rtl"] .announce-track { animation-name: marquee-rtl; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ---------------- Navbar ---------------- */
.navbar {
    position: sticky; top: 0; z-index: 200;
    background: rgba(232, 228, 208, .85);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .3s ease;
}
.navbar.scrolled { border-bottom-color: rgba(34, 43, 27, .10); box-shadow: 0 6px 24px -12px rgba(34, 43, 27, .18); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--nav-h); transition: height .3s ease; }
.navbar.scrolled .nav-inner { height: 64px; }
.nav-logo img { display: block; height: 44px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a {
    position: relative; color: var(--ink); font-weight: 600; font-size: 15px; padding-block: .35rem;
}
.nav-links a::after {
    content: ''; position: absolute; inset-inline-start: 0; bottom: 0;
    width: 0; height: 2px; background: var(--leaf); border-radius: 2px;
    transition: width .25s ease;
}
.nav-links a:hover { color: var(--leaf-dark); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: .9rem; }

.lang-pill {
    display: inline-flex; align-items: center; gap: .15rem;
    background: var(--cream-50); border: var(--border-soft); border-radius: 999px;
    padding: .2rem .3rem; font-size: 13px; font-weight: 600;
}
.lang-pill a, .lang-pill span { padding: .2rem .55rem; border-radius: 999px; color: var(--ink-60); }
.lang-pill .lang-active { background: var(--leaf); color: #fff; }
.lang-pill a:hover { color: var(--leaf-dark); }

.cart-btn { position: relative; color: var(--navy); display: inline-flex; padding: .4rem; }
.cart-btn:hover { color: var(--leaf); }
.cart-badge {
    position: absolute; top: -2px; inset-inline-end: -6px;
    min-width: 19px; height: 19px; padding-inline: 4px;
    background: var(--leaf); color: #fff; border-radius: 999px;
    font-size: 11px; font-weight: 700; line-height: 19px; text-align: center;
    transition: transform .2s ease;
}
.cart-badge.pop { animation: badge-pop .35s ease; }
@keyframes badge-pop { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 100% { transform: scale(1); } }

.hamburger { display: none; background: none; border: 0; cursor: pointer; padding: .5rem; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: .3s; }

/* Mobile drawer */
.mobile-drawer {
    position: fixed; inset-block: 0; inset-inline-end: -100%;
    width: min(340px, 88vw); background: var(--cream); z-index: 400;
    display: flex; flex-direction: column; padding: 1.25rem;
    transition: inset-inline-end .32s cubic-bezier(.22, 1, .36, 1);
    box-shadow: -20px 0 60px rgba(14, 33, 72, .2);
}
.mobile-drawer.open { inset-inline-end: 0; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.drawer-close { background: none; border: 0; font-size: 2rem; line-height: 1; color: var(--ink); cursor: pointer; }
.drawer-links { display: flex; flex-direction: column; gap: .25rem; flex: 1; }
.drawer-links a {
    font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--navy);
    padding: .7rem 0; border-bottom: var(--border-soft);
    opacity: 0; transform: translateY(12px); transition: opacity .4s ease, transform .4s ease;
}
.mobile-drawer.open .drawer-links a { opacity: 1; transform: none; }
.mobile-drawer.open .drawer-links a:nth-child(1) { transition-delay: .06s; }
.mobile-drawer.open .drawer-links a:nth-child(2) { transition-delay: .12s; }
.mobile-drawer.open .drawer-links a:nth-child(3) { transition-delay: .18s; }
.mobile-drawer.open .drawer-links a:nth-child(4) { transition-delay: .24s; }
.mobile-drawer.open .drawer-links a:nth-child(5) { transition-delay: .30s; }
.mobile-drawer.open .drawer-links a:nth-child(6) { transition-delay: .36s; }
.drawer-foot { display: flex; flex-direction: column; gap: .8rem; padding-top: 1rem; }
.drawer-overlay { position: fixed; inset: 0; background: rgba(14, 33, 72, .45); z-index: 390; }

/* ---------------- Footer ---------------- */
.site-footer { position: relative; background: var(--grad-dark); color: rgba(232, 228, 208, .85); overflow: hidden; }
.footer-leaf { position: absolute; width: 200px; opacity: .28; pointer-events: none; }
.footer-leaf-l { top: -30px; inset-inline-start: -40px; }
.footer-leaf-r { top: -30px; inset-inline-end: -40px; transform: scaleX(-1); }
.footer-newsletter { border-bottom: 1px solid rgba(232, 228, 208, .15); padding-block: 2.5rem; }
.newsletter-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; }
.footer-newsletter h3 { color: var(--cream); margin: 0; font-size: 24px; }
.newsletter-form { display: flex; gap: .6rem; flex-wrap: wrap; }
.newsletter-form input {
    height: 48px; min-width: 260px; padding-inline: 1.1rem;
    border-radius: 999px; border: 1px solid rgba(232, 228, 208, .3);
    background: rgba(255, 255, 255, .07); color: var(--cream); font-family: inherit; font-size: 15px;
}
.newsletter-form input::placeholder { color: rgba(232, 228, 208, .5); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-block: 3.5rem; }
.footer-col h4 { color: var(--cream); font-size: 16px; margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.footer-col a { color: rgba(232, 228, 208, .75); font-size: 14.5px; }
.footer-col a:hover { color: var(--leaf-bright); }
.footer-brand .tagline { color: rgba(232, 228, 208, .65); margin-top: .8rem; }
.social-row { display: flex; gap: .8rem; margin-top: 1.1rem; }
.social-row a {
    width: 38px; height: 38px; border-radius: 999px; display: inline-flex;
    align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .08); color: var(--cream); transition: background .2s, transform .2s;
}
.social-row a:hover { background: var(--leaf); transform: translateY(-2px); }
.pay-badges { display: flex; gap: .6rem; margin-top: 1.1rem; align-items: center; }
.pay-badges img { background: #fff; border-radius: 8px; padding: 4px 8px; height: 30px; width: auto; }
.footer-bottom { border-top: 1px solid rgba(232, 228, 208, .12); padding-block: 1.1rem; font-size: 13.5px; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; }
.footer-bottom a { color: var(--leaf-bright); }

/* WhatsApp FAB */
.whatsapp-fab {
    position: fixed; bottom: 1.4rem; inset-inline-end: 1.4rem; z-index: 300;
    width: 56px; height: 56px; border-radius: 999px;
    background: var(--leaf); color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 30px -8px rgba(73, 134, 27, .6);
    animation: fab-pulse 2.6s infinite;
}
.whatsapp-fab:hover { background: var(--leaf-dark); color: #fff; }
@keyframes fab-pulse {
    0% { box-shadow: 0 10px 30px -8px rgba(73, 134, 27, .6), 0 0 0 0 rgba(73, 134, 27, .35); }
    70% { box-shadow: 0 10px 30px -8px rgba(73, 134, 27, .6), 0 0 0 16px rgba(73, 134, 27, 0); }
    100% { box-shadow: 0 10px 30px -8px rgba(73, 134, 27, .6), 0 0 0 0 rgba(73, 134, 27, 0); }
}

/* ---------------- Flash messages & toasts ---------------- */
.flash { margin: 1rem auto; max-width: 80rem; padding: .9rem 1.2rem; border-radius: var(--radius-input); font-weight: 500; }
.flash-success { background: var(--leaf-50); color: var(--leaf-dark); border: 1px solid var(--leaf-bright); }
.flash-error { background: #FBE9E9; color: var(--red); border: 1px solid #f0b9b9; }
.flash-info { background: #EAF0FB; color: var(--navy); border: 1px solid #b9c8ec; }

.toast-container { position: fixed; bottom: 1.4rem; inset-inline-start: 1.4rem; z-index: 500; display: flex; flex-direction: column; gap: .6rem; }
.toast {
    background: var(--ink); color: var(--cream); padding: .85rem 1.3rem;
    border-radius: 14px; font-size: 14.5px; font-weight: 500;
    box-shadow: var(--shadow-card);
    opacity: 0; transform: translateY(14px); transition: opacity .3s, transform .3s;
    max-width: 320px;
}
.toast.show { opacity: 1; transform: none; }
.toast-success { background: var(--leaf-dark); }
.toast-error { background: var(--red); }

/* ---------------- Product cards ---------------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 1023px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }

.product-card {
    background: var(--white); border-radius: var(--radius-card);
    overflow: hidden; box-shadow: var(--shadow-card); position: relative;
    display: flex; flex-direction: column;
    transition: transform .4s ease, box-shadow .4s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 4px 10px rgba(23, 53, 111, .07), 0 24px 50px -12px rgba(34, 43, 27, .2); }
.product-media { position: relative; background: var(--cream-50); aspect-ratio: 1/1; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: contain; padding: 1.2rem; transition: transform .5s ease; }
.product-card:hover .product-media img { transform: scale(1.05); }
.product-badges { position: absolute; top: .9rem; inset-inline-start: .9rem; display: flex; flex-direction: column; gap: .4rem; z-index: 2; }
.product-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.product-brand { font-size: 13px; color: var(--ink-60); font-weight: 600; }
.product-name { font-size: 17px; font-weight: 700; color: var(--ink); margin: 0; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-rating { color: var(--amber); font-size: 14px; display: flex; align-items: center; gap: .35rem; }
.product-rating .count { color: var(--ink-60); font-size: 12.5px; }
.price-row { display: flex; align-items: center; gap: .55rem; margin-top: auto; flex-wrap: wrap; }
.price { font-weight: 700; color: var(--ink); font-family: var(--font-display); }
.price-sm { font-size: 16px; }
.price-md { font-size: 20px; }
.price-lg { font-size: 34px; font-weight: 800; }
.price-compare { color: var(--red); text-decoration: line-through; font-size: .85em; font-weight: 500; }

.quick-add {
    position: absolute; inset-inline: .8rem; bottom: .8rem; z-index: 3;
    transform: translateY(140%); transition: transform .35s cubic-bezier(.22, 1, .36, 1);
    display: flex; gap: .5rem;
}
.product-card:hover .quick-add { transform: none; }

/* Badges & chips */
.badge { display: inline-flex; align-items: center; border-radius: 999px; padding: .25rem .75rem; font-size: 12px; font-weight: 700; color: #fff; }
.badge-sale { background: var(--amber); color: var(--ink); }
.badge-new { background: var(--blue); }
.badge-bestseller { background: var(--leaf); }
.badge-out { background: var(--red); }
.chip { display: inline-flex; align-items: center; border-radius: 999px; padding: .15rem .6rem; font-size: 12px; font-weight: 700; }
.chip-sale { background: var(--amber); color: var(--ink); }
.chip-leaf { background: var(--leaf-50); color: var(--leaf-dark); }

/* ---------------- Forms (shared) ---------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: .4rem; }
.input, .field input, .field select, .field textarea {
    width: 100%; min-height: 48px; padding: .7rem 1rem;
    background: var(--cream-50); border: 1px solid rgba(34, 43, 27, .12);
    border-radius: var(--radius-input); font-family: inherit; font-size: 15px; color: var(--ink);
    transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--leaf); box-shadow: 0 0 0 2px rgba(73, 134, 27, .25);
}
.field .error-text { color: var(--red); font-size: 13px; margin-top: .3rem; display: block; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); animation: shake .35s ease; }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

.radio-card { display: flex; align-items: center; gap: .8rem; border: 1.5px solid rgba(34, 43, 27, .12); border-radius: var(--radius-input); padding: .9rem 1.1rem; cursor: pointer; transition: border-color .2s, background .2s; }
.radio-card input { accent-color: var(--leaf); }
.radio-card.selected, .radio-card:has(input:checked) { border-color: var(--leaf); background: var(--leaf-50); }

/* Switch (admin toggles) */
.switch { position: relative; display: inline-block; width: 46px; height: 26px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .slider { position: absolute; inset: 0; background: #c9c9c9; border-radius: 999px; transition: .25s; cursor: pointer; }
.switch .slider::before { content: ''; position: absolute; width: 20px; height: 20px; border-radius: 999px; background: #fff; top: 3px; inset-inline-start: 3px; transition: .25s; }
.switch input:checked + .slider { background: var(--leaf); }
.switch input:checked + .slider::before { transform: translateX(20px); }
[dir="rtl"] .switch input:checked + .slider::before { transform: translateX(-20px); }

/* ---------------- Tables (admin + order views) ---------------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-input); border: var(--border-soft); background: var(--white); }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th, .table td { padding: .8rem 1rem; text-align: start; border-bottom: 1px solid rgba(34, 43, 27, .08); vertical-align: middle; }
.table th { background: var(--cream-50); font-weight: 700; color: var(--ink); font-size: 13px; white-space: nowrap; }
[dir="ltr"] .table th { text-transform: uppercase; letter-spacing: .06em; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: rgba(232, 228, 208, .25); }
.table .thumb { width: 48px; height: 48px; object-fit: contain; background: var(--cream-50); border-radius: 10px; padding: 4px; }

/* Status badges */
.status { display: inline-block; border-radius: 999px; padding: .22rem .75rem; font-size: 12px; font-weight: 700; }
.status-pending, .status-new { background: #FDF3E2; color: #9a6716; }
.status-confirmed, .status-contacted { background: #EAF0FB; color: var(--blue); }
.status-shipped, .status-active { background: var(--leaf-50); color: var(--leaf-dark); }
.status-delivered, .status-paid { background: var(--leaf); color: #fff; }
.status-cancelled, .status-unpaid { background: #FBE9E9; color: var(--red); }

/* Pagination */
.pagination { display: flex; gap: .4rem; justify-content: center; margin-top: 1.5rem; flex-wrap: wrap; }
.pagination a, .pagination span {
    min-width: 40px; height: 40px; padding-inline: .7rem; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--white); border: var(--border-soft); color: var(--ink); font-weight: 600; font-size: 14px;
}
.pagination .current { background: var(--leaf); color: #fff; border-color: var(--leaf); }
.pagination a:hover { border-color: var(--leaf); color: var(--leaf-dark); }

/* ---------------- Admin panel ---------------- */
.admin-body { background: var(--cream-100); min-height: 100vh; }
.admin-shell { display: flex; min-height: 100vh; }

.admin-sidebar {
    width: 250px; flex: none; background: var(--navy-deep); color: rgba(232, 228, 208, .85);
    display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.admin-sidebar .brand { padding: 1.4rem 1.3rem 1rem; border-bottom: 1px solid rgba(232, 228, 208, .12); }
.admin-sidebar .brand img { height: 40px; width: auto; }
.admin-nav { display: flex; flex-direction: column; padding: 1rem .8rem; gap: .2rem; flex: 1; }
.admin-nav a {
    display: flex; align-items: center; gap: .7rem;
    padding: .7rem .9rem; border-radius: 12px;
    color: rgba(232, 228, 208, .8); font-weight: 500; font-size: 14.5px;
    transition: background .2s, color .2s;
}
.admin-nav a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.admin-nav a.active { background: var(--leaf); color: #fff; }
.admin-nav a svg { flex: none; }
.admin-sidebar .side-foot { padding: 1rem .8rem; border-top: 1px solid rgba(232, 228, 208, .12); }

.admin-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.admin-topbar {
    background: var(--cream); border-bottom: var(--border-soft);
    padding: .9rem 1.6rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    position: sticky; top: 0; z-index: 100;
}
.admin-topbar h1 { font-size: 20px; margin: 0; }
.admin-content { padding: 1.6rem; }
.admin-content .flash { margin: 0 0 1.2rem; max-width: none; }

/* Stat cards */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 1.8rem; }
.stat-card {
    background: var(--white); border-radius: var(--radius-card); padding: 1.2rem 1.3rem;
    box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: .3rem;
}
.stat-card .stat-label { font-size: 13px; color: var(--ink-60); font-weight: 600; }
.stat-card .stat-value { font-family: var(--font-display); font-size: 28px; font-weight: 800; color: var(--navy); }
.stat-card .stat-value.leaf { color: var(--leaf); }

/* Visitors chart (admin dashboard) */
.chart-bars { display: flex; gap: 6px; height: 190px; margin-top: .4rem; }
.chart-bar { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; }
.chart-bar .chart-num { font-size: 11px; font-weight: 700; color: var(--navy); min-height: 15px; line-height: 1; }
.chart-bar .bar { width: min(100%, 34px); background: var(--leaf); border-radius: 6px 6px 0 0; margin-top: auto; }
.chart-bar .chart-day { font-size: 10.5px; color: var(--ink-60); margin-top: .35rem; direction: ltr; white-space: nowrap; }

/* Visitors by region (admin dashboard) */
.geo-list { display: flex; flex-direction: column; gap: .55rem; }
.geo-row { display: flex; align-items: center; gap: .8rem; }
.geo-row .geo-name { flex: 0 0 160px; font-weight: 700; font-size: 13.5px; color: var(--navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.geo-row .geo-track { flex: 1; height: 12px; background: var(--cream-100, #F1EFE7); border-radius: 99px; overflow: hidden; }
.geo-row .geo-fill { display: block; height: 100%; background: var(--leaf); border-radius: 99px; }
.geo-row .geo-count { flex: 0 0 40px; text-align: end; font-weight: 800; font-family: var(--font-display); color: var(--leaf); }
@media (max-width: 600px) { .geo-row .geo-name { flex-basis: 110px; } }

/* Admin cards & panels */
.panel { background: var(--white); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 1.4rem 1.5rem; margin-bottom: 1.5rem; }
.panel h2 { font-size: 18px; margin-bottom: 1rem; }

.toolbar { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; margin-bottom: 1.2rem; }
.toolbar .spacer { flex: 1; }
.toolbar input[type="search"], .toolbar select {
    min-height: 42px; padding: .5rem .9rem; border-radius: 12px;
    border: 1px solid rgba(34, 43, 27, .15); background: var(--cream-50); font-family: inherit; font-size: 14px;
}

/* Login page */
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 1.5rem; background: var(--grad-dark); }
.login-card {
    width: 100%; max-width: 400px; background: var(--cream); border-radius: var(--radius-card);
    padding: 2.4rem 2.2rem; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .45); text-align: center;
}
.login-card img.logo { height: 64px; margin-bottom: 1rem; }
.login-card h1 { font-size: 22px; margin-bottom: 1.4rem; }
.login-card .field { text-align: start; margin-bottom: 1rem; }
.login-card.shake { animation: shake .4s ease; }

/* Image picker gallery (admin product form) */
.img-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: .6rem; margin-top: .5rem; }
.img-picker label { cursor: pointer; margin: 0; }
.img-picker input { position: absolute; opacity: 0; }
.img-picker .pick {
    display: block; border: 2px solid transparent; border-radius: 14px; overflow: hidden;
    background: var(--cream-50); aspect-ratio: 1/1; transition: border-color .2s, transform .2s;
}
.img-picker .pick img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.img-picker input:checked + .pick { border-color: var(--leaf); transform: scale(1.03); box-shadow: 0 0 0 3px rgba(73, 134, 27, .2); }
.current-img { width: 90px; height: 90px; object-fit: contain; background: var(--cream-50); border-radius: 14px; border: var(--border-soft); padding: 6px; }

/* Detail view rows */
.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.detail-item { background: var(--cream-50); border-radius: 14px; padding: .8rem 1rem; }
.detail-item .k { font-size: 12.5px; color: var(--ink-60); font-weight: 600; display: block; margin-bottom: .2rem; }
.detail-item .v { font-weight: 600; color: var(--ink); word-break: break-word; }

/* Utility */
.flex { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.text-end { text-align: end; }
.nowrap { white-space: nowrap; }
.hidden { display: none !important; }

/* Empty state */
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--ink-60); }
.empty-state img { width: 110px; opacity: .7; margin-bottom: 1rem; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1023px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .admin-shell { flex-direction: column; }
    .admin-sidebar { width: 100%; height: auto; position: static; flex-direction: column; }
    .admin-nav { flex-direction: row; flex-wrap: wrap; }
    .admin-nav a { padding: .5rem .8rem; font-size: 13.5px; }
}
@media (max-width: 640px) {
    .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
    .newsletter-inner { flex-direction: column; align-items: flex-start; }
    .stat-grid { grid-template-columns: 1fr 1fr; }
    .admin-content { padding: 1rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    html { scroll-behavior: auto; }
}


/* =====================================================================
   STOREFRONT PAGES (added by storefront agent — admin styles untouched)
   ===================================================================== */

/* ---------------- Shared page bits ---------------- */
.grad-text {
    background: var(--grad-brand);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.lead { font-size: 19px; line-height: 1.7; }
[dir="rtl"] .lead { line-height: 1.9; }
.text-leaf-bright { color: var(--leaf-bright); }
.text-cream { color: var(--cream); }
.container.narrow { max-width: 56rem; }
.visually-hidden {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
}

.breadcrumbs { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; font-size: 14px; margin-bottom: 1rem; color: var(--ink-60); }
.breadcrumbs a { color: var(--ink-60); font-weight: 500; }
.breadcrumbs a:hover { color: var(--leaf-dark); }
.crumb-sep { opacity: .5; }
.crumb-current { color: var(--ink); font-weight: 600; }

.page-title { font-size: 42px; font-weight: 800; margin-bottom: .6rem; }
@media (max-width: 767px) { .page-title { font-size: 30px; } }
.page-lead { max-width: 44rem; }

/* Section heading */
.sec-head { margin-bottom: 2.5rem; max-width: 46rem; }
.sec-head-center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: 38px; font-weight: 800; margin: .8rem 0 .4rem; }
@media (max-width: 767px) { .sec-head h2 { font-size: 28px; } }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.sec-head-row .sec-head { margin-bottom: 0; }

.eyebrow-light { background: rgba(255, 255, 255, .14); color: var(--cream); }

/* Chips */
.chip-row { display: flex; gap: .55rem; flex-wrap: nowrap; overflow-x: auto; padding-block: .3rem; scrollbar-width: thin; }
.chip-row-wrap { flex-wrap: wrap; overflow: visible; }
.filter-chip {
    display: inline-flex; align-items: center; border-radius: 999px;
    padding: .4rem 1.05rem; font-size: 13.5px; font-weight: 600;
    border: 1.5px solid rgba(34, 43, 27, .18); color: var(--ink);
    background: var(--cream-50); white-space: nowrap; cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
}
.filter-chip:hover { border-color: var(--leaf); color: var(--leaf-dark); }
.filter-chip.active, .goal-chip input:checked + .filter-chip {
    background: var(--leaf); border-color: var(--leaf); color: #fff;
}
.goal-chip { display: inline-flex; }
.goal-chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip-low { background: #FBE9E9; color: var(--red); }
.chip-glass { background: rgba(255, 255, 255, .14); color: var(--cream); }
.chip-medical { background: #EAF0FB; color: var(--blue); }

/* Stars */
.stars { color: rgba(34, 43, 27, .2); letter-spacing: .1em; }
.stars .star.on, .stars .on { color: var(--amber); }
.rating-num { font-weight: 700; color: var(--ink); font-size: 14px; }
[dir="rtl"] .stars { letter-spacing: 0; }

/* ---------------- Page hero (compact inner pages) ---------------- */
.page-hero { position: relative; padding-block: 3rem 1rem; overflow: hidden; }
.page-hero-leaf { position: absolute; top: -60px; inset-inline-end: -60px; width: 240px; opacity: .3; pointer-events: none; }

/* ---------------- HOME: hero ---------------- */
.hero { position: relative; overflow: hidden; padding-block: 3rem 4rem; min-height: min(70vh, 800px); display: flex; align-items: center; }
.hero-leaf { position: absolute; top: -40px; width: min(34vw, 420px); pointer-events: none; opacity: .9; }
.hero-leaf-l { inset-inline-start: -60px; }
.hero-leaf-r { inset-inline-end: -60px; }
[dir="rtl"] .hero-leaf-r { transform: scaleX(-1); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; position: relative; z-index: 1; }
.hero-title { font-size: 56px; font-weight: 800; margin: 1rem 0 .4rem; }
[dir="rtl"] .hero-title { font-weight: 900; }
@media (max-width: 1023px) { .hero-title { font-size: 44px; } }
@media (max-width: 767px) { .hero-title { font-size: 34px; } }
.hero-script { font-size: 30px; margin-bottom: 1rem; }
[dir="rtl"] .hero-script { font-size: 34px; }
.hero-ctas { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.4rem; }
.cta-center { justify-content: center; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 1.2rem; padding: 0; margin: 1.4rem 0 0; font-size: 13.5px; color: var(--ink-60); font-weight: 600; }
.hero-trust li { display: flex; align-items: center; gap: .4rem; }
.hero-trust li::before { content: ''; width: 8px; height: 8px; border-radius: 999px; background: var(--leaf); flex: none; }
.hero-trust-light { color: rgba(232, 228, 208, .85); }
.hero-trust-light li::before { background: var(--leaf-bright); }

.hero-visual { position: relative; }
.hero-blob {
    position: absolute; inset: 6% 4%; background: var(--leaf-50);
    border-radius: 60% 40% 55% 45% / 55% 50% 50% 45%; z-index: 0;
}
.hero-img { position: relative; z-index: 1; width: 100%; border-radius: 32px; animation: hero-float 4.5s ease-in-out infinite; }
@keyframes hero-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero-chip {
    position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: .45rem;
    background: var(--white); border-radius: 999px; padding: .55rem 1.05rem;
    box-shadow: var(--shadow-card); font-size: 13.5px; font-weight: 700; color: var(--navy);
    animation: hero-float 3.5s ease-in-out infinite;
}
.hero-chip svg { color: var(--leaf); }
.hero-chip-1 { top: 8%; inset-inline-start: -4%; }
.hero-chip-2 { bottom: 10%; inset-inline-end: -3%; animation-delay: 1.4s; }

/* ---------------- HOME: trust marquee ---------------- */
.trust-strip {
    background: var(--forest); color: var(--cream); overflow: hidden;
    padding-block: .9rem; font-weight: 600; font-size: 14.5px;
    background-image: url('../img/pattern-leaf.svg'); background-size: 220px; background-blend-mode: soft-light;
}
.trust-track { animation-duration: 30s; }
.trust-item { display: inline-flex; align-items: center; gap: .6rem; }
.trust-item svg { color: var(--leaf-bright); }
.trust-dot { font-style: normal; opacity: .5; }

/* ---------------- HOME: categories ---------------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 1023px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
.cat-card {
    position: relative; border-radius: var(--radius-card); overflow: hidden;
    aspect-ratio: 1/1; display: block; box-shadow: var(--shadow-card); background: var(--cream-50);
}
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cat-card:hover img { transform: scale(1.06); }
.cat-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(14, 33, 72, .72), rgba(14, 33, 72, 0) 55%);
}
.cat-label { position: absolute; bottom: 1rem; inset-inline-start: 1.1rem; color: #fff; display: flex; flex-direction: column; }
.cat-label strong { font-family: var(--font-display); font-size: 17px; }
.cat-label small { color: rgba(255, 255, 255, .75); font-size: 12.5px; }
.cat-arrow {
    position: absolute; bottom: 1rem; inset-inline-end: 1rem;
    width: 38px; height: 38px; border-radius: 999px; background: var(--leaf); color: #fff;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s;
}
[dir="rtl"] .cat-arrow svg { transform: scaleX(-1); }
.cat-card:hover .cat-arrow { opacity: 1; transform: none; }

/* ---------------- Snap carousel rows ---------------- */
.snap-row {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 300px);
    gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory;
    padding-bottom: 1rem; scrollbar-width: thin;
}
.snap-item { scroll-snap-align: start; }
.snap-item .product-card { height: 100%; }

/* ---------------- HOME: services split ---------------- */
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 860px) { .services-grid { grid-template-columns: 1fr; } }
.service-panel {
    position: relative; border-radius: 28px; overflow: hidden; min-height: 420px;
    display: flex; align-items: flex-end; box-shadow: var(--shadow-card);
}
.service-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-panel::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(14, 33, 72, .88), rgba(14, 33, 72, .35) 60%, rgba(14, 33, 72, .1));
}
.service-content { position: relative; z-index: 1; padding: 2.2rem; color: var(--cream); }
.service-content h3 { color: #fff; font-size: 26px; margin: .8rem 0 .5rem; }
.service-content p { color: rgba(232, 228, 208, .85); }
.service-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-block: 1rem; }
.service-content .btn { margin-top: .4rem; }

/* ---------------- HOME: stats ---------------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 767px) { .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 0; } }
.stat-block { text-align: center; padding-inline: 1rem; border-inline-start: 1px solid rgba(34, 43, 27, .1); }
.stat-block:first-child { border-inline-start: 0; }
@media (max-width: 767px) { .stat-block { border-inline-start: 0; } }
.stat-num { display: block; font-family: var(--font-display); font-size: 46px; font-weight: 800; color: var(--navy); direction: ltr; }
.stat-label { font-size: 13.5px; color: var(--ink-60); font-weight: 600; }

/* ---------------- Steps ---------------- */
.steps-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; }
.steps-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .steps-row, .steps-4 { grid-template-columns: 1fr; } }
.step-card {
    position: relative; background: var(--white); border-radius: var(--radius-card);
    padding: 2rem 1.6rem; box-shadow: var(--shadow-card); text-align: center;
}
.step-card p { color: var(--ink-60); margin: 0; font-size: 14.5px; }
.step-num {
    position: absolute; top: -14px; inset-inline-start: 50%; transform: translateX(50%);
    width: 30px; height: 30px; border-radius: 999px; background: var(--leaf); color: #fff;
    font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center;
}
[dir="ltr"] .step-num { transform: translateX(-50%); }
.step-icon {
    width: 60px; height: 60px; border-radius: 999px; background: var(--leaf-50); color: var(--leaf-dark);
    display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem;
    transition: transform .3s ease;
}
.step-card:hover .step-icon { transform: translateY(-4px); }

/* ---------------- Testimonials ---------------- */
.testimonials-section {
    background: var(--forest); color: var(--cream);
    background-image: url('../img/pattern-leaf.svg'); background-size: 220px; background-blend-mode: soft-light;
}
.testimonials-section .sec-head h2 { color: #fff; }
.testimonials-section .eyebrow { background: rgba(255, 255, 255, .12); color: var(--cream); }
.testimonials-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 1023px) { .testimonials-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .testimonials-grid { grid-template-columns: 1fr; } }
.testimonial-card {
    margin: 0; background: rgba(255, 255, 255, .07); border-radius: var(--radius-card);
    padding: 1.5rem; backdrop-filter: blur(6px); border: 1px solid rgba(232, 228, 208, .12);
    display: flex; flex-direction: column; gap: .9rem;
}
.testimonial-card blockquote { margin: 0; font-size: 15px; line-height: 1.7; color: rgba(255, 255, 255, .92); flex: 1; }
.testimonial-card figcaption { display: flex; align-items: center; gap: .8rem; }
.testimonial-card figcaption img { width: 46px; height: 46px; border-radius: 999px; object-fit: cover; border: 2px solid var(--leaf-bright); }
.testimonial-card figcaption strong { display: block; color: #fff; font-size: 14.5px; }
.testimonial-card figcaption small { color: rgba(232, 228, 208, .7); font-size: 12.5px; }

/* ---------------- CTA band ---------------- */
.cta-band {
    position: relative; border-radius: 40px; overflow: hidden;
    padding-block: 5rem; text-align: center;
}
.cta-compact { padding-block: 3.2rem; }
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kenburns 14s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
.cta-band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 33, 72, .72), rgba(22, 50, 12, .72)); }
.cta-content { position: relative; z-index: 1; color: var(--cream); max-width: 40rem; margin-inline: auto; padding-inline: 1.5rem; }
.cta-content h2 { color: #fff; font-size: 36px; font-weight: 800; }
@media (max-width: 767px) { .cta-content h2 { font-size: 26px; } }
.cta-content p { color: rgba(232, 228, 208, .85); }

/* ---------------- SHOP layout ---------------- */
.shop-body { padding-top: 1.5rem; }
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; align-items: start; }
@media (max-width: 1023px) { .shop-layout { grid-template-columns: 1fr; } }
.filters-panel {
    background: var(--cream-50); border-radius: var(--radius-card); padding: 1.4rem;
    border: var(--border-soft); position: sticky; top: 96px;
    display: flex; flex-direction: column; gap: 1.3rem;
}
@media (max-width: 1023px) { .filters-panel { position: static; } }
.filter-group h3 { font-size: 14px; margin-bottom: .6rem; color: var(--ink); }
.filter-group input[type="search"], .filter-group input[type="number"] {
    width: 100%; min-height: 42px; padding: .5rem .9rem; border-radius: 12px;
    border: 1px solid rgba(34, 43, 27, .15); background: var(--white); font-family: inherit; font-size: 14px;
}
.filter-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .3rem; }
.filter-list a {
    display: flex; justify-content: space-between; align-items: center; gap: .5rem;
    color: var(--ink); font-size: 14px; font-weight: 500; padding: .35rem .6rem; border-radius: 10px;
}
.filter-list a:hover { background: var(--leaf-50); color: var(--leaf-dark); }
.filter-list a.active { background: var(--leaf-50); color: var(--leaf-dark); font-weight: 700; }
.filter-list .cnt { font-size: 12px; color: var(--ink-60); background: rgba(34, 43, 27, .06); border-radius: 999px; padding: .05rem .5rem; }
.check-row { display: flex; align-items: center; gap: .55rem; cursor: pointer; font-size: 14px; font-weight: 500; padding-block: .2rem; }
.check-row input { accent-color: var(--leaf); width: 17px; height: 17px; }
.price-range { display: flex; align-items: center; gap: .5rem; }
.filter-actions { display: flex; flex-direction: column; gap: .5rem; }
.btn-ghost-light {
    background: transparent; color: var(--ink-60); border: 1.5px solid rgba(34, 43, 27, .18);
}
.btn-ghost-light:hover { border-color: var(--leaf); color: var(--leaf-dark); }

.shop-toolbar {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
    background: rgba(232, 228, 208, .9); backdrop-filter: blur(8px);
    border: var(--border-soft); border-radius: var(--radius-input);
    padding: .6rem 1rem; margin-bottom: 1.4rem; position: sticky; top: 88px; z-index: 50;
}
.result-count { font-weight: 700; color: var(--navy); font-size: 14.5px; }
.sort-form select {
    min-height: 40px; padding: .4rem .9rem; border-radius: 12px;
    border: 1px solid rgba(34, 43, 27, .15); background: var(--cream-50); font-family: inherit; font-size: 14px;
}
.shop-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1023px) { .shop-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }

.goal-band {
    margin-top: 2.2rem; background: var(--leaf-50); border-radius: var(--radius-card);
    padding: 1.4rem 1.6rem; display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
}
.goal-band p { margin: .15rem 0 0; color: var(--ink-60); font-size: 14px; }
.goal-band > div { flex: 1; min-width: 200px; }
.goal-band-icon {
    width: 52px; height: 52px; border-radius: 999px; background: var(--white); color: var(--leaf-dark);
    display: flex; align-items: center; justify-content: center; flex: none;
}

/* ---------------- PDP ---------------- */
.pdp { padding-top: 2rem; }
.pdp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; margin-top: 1rem; }
@media (max-width: 860px) { .pdp-grid { grid-template-columns: 1fr; } }
.pdp-main {
    position: relative; background: var(--cream-50); border-radius: var(--radius-card);
    aspect-ratio: 1/1; overflow: hidden; box-shadow: var(--shadow-card);
}
.pdp-main img { width: 100%; height: 100%; object-fit: contain; padding: 2rem; transition: transform .4s ease; }
.pdp-main:hover img { transform: scale(1.06); }
.pdp-thumbs { display: flex; gap: .7rem; margin-top: .9rem; }
.pdp-thumb {
    width: 78px; height: 78px; border-radius: 16px; background: var(--cream-50);
    border: 2px solid transparent; cursor: pointer; padding: 6px; transition: border-color .2s;
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pdp-thumb.active { border-color: var(--leaf); }
.pdp-title { font-size: 30px; font-weight: 800; margin: .3rem 0 .6rem; }
@media (max-width: 767px) { .pdp-title { font-size: 24px; } }
.pdp-price { margin-top: 1rem; }
.pdp-short { margin-top: .8rem; }
.stock-line { display: flex; align-items: center; gap: .5rem; font-weight: 600; font-size: 14px; margin-block: .8rem; }
.stock-line .dot { width: 10px; height: 10px; border-radius: 999px; flex: none; }
.stock-line.in { color: var(--leaf-dark); } .stock-line.in .dot { background: var(--leaf); }
.stock-line.out { color: var(--red); } .stock-line.out .dot { background: var(--red); }
.variant-pills { display: flex; flex-wrap: wrap; gap: .6rem; }
.variant-pill {
    border: 1.5px solid rgba(34, 43, 27, .18); background: var(--cream-50); color: var(--ink);
    border-radius: 999px; padding: .5rem 1.1rem; font-family: inherit; font-size: 14px; font-weight: 600;
    cursor: pointer; display: inline-flex; align-items: center; gap: .5rem;
    transition: border-color .2s, background .2s;
}
.variant-pill:hover { border-color: var(--leaf); }
.variant-pill.selected { border-color: var(--leaf); background: var(--leaf-50); color: var(--leaf-dark); }
.variant-pill.disabled { opacity: .45; border-style: dashed; cursor: not-allowed; }
.pdp-buy-row { display: flex; gap: .8rem; align-items: stretch; margin-top: 1.3rem; flex-wrap: wrap; }
.qty-stepper {
    display: inline-flex; align-items: center; border: 1.5px solid rgba(34, 43, 27, .18);
    border-radius: 999px; overflow: hidden; background: var(--cream-50);
}
.qty-btn {
    width: 44px; height: 48px; border: 0; background: transparent; font-size: 20px;
    cursor: pointer; color: var(--ink); font-weight: 700;
}
.qty-btn:hover { color: var(--leaf-dark); }
.qty-stepper input {
    width: 52px; border: 0; background: transparent; text-align: center;
    font-family: inherit; font-size: 16px; font-weight: 700; color: var(--ink);
}
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pdp-atc { flex: 1; min-width: 200px; height: 52px; }
.pdp-trust {
    list-style: none; display: flex; flex-wrap: wrap; gap: 1rem; padding: 1rem 0 0; margin: 1.2rem 0 0;
    border-top: var(--border-soft); font-size: 13px; color: var(--ink-60); font-weight: 600;
}
.pdp-trust li { display: flex; align-items: center; gap: .35rem; }
.pdp-trust li::before { content: '✓'; color: var(--leaf); font-weight: 800; }
.pdp-meta { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1rem; font-size: 13.5px; }

/* Accordions */
.acc-list { display: flex; flex-direction: column; gap: .8rem; }
.acc {
    background: var(--white); border-radius: var(--radius-input); border: var(--border-soft);
    overflow: hidden; margin-bottom: .8rem;
}
.acc summary {
    cursor: pointer; list-style: none; padding: 1.1rem 1.4rem; font-weight: 700; color: var(--navy);
    display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: 16px;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
    content: '+'; font-size: 22px; color: var(--leaf); font-weight: 700; flex: none;
    transition: transform .25s ease;
}
.acc[open] summary::after { transform: rotate(45deg); }
.acc-body { padding: 0 1.4rem 1.3rem; color: var(--ink-60); }
.acc-body p { margin-top: 0; }

.benefit-list { list-style: none; padding: 0; margin: .6rem 0 0; display: flex; flex-direction: column; gap: .55rem; }
.benefit-list li { display: flex; gap: .55rem; align-items: flex-start; }
.benefit-list li::before { content: '✓'; color: var(--leaf); font-weight: 800; flex: none; }

/* ---------------- CART page ---------------- */
.ship-progress {
    background: var(--cream-50); border-radius: var(--radius-card); border: var(--border-soft);
    padding: 1.1rem 1.4rem; margin-bottom: 1.6rem;
}
.ship-progress-head { display: flex; align-items: center; gap: .7rem; font-weight: 600; margin-bottom: .7rem; color: var(--navy); }
.ship-progress-head svg { color: var(--leaf); flex: none; }
.ship-bar { height: 10px; border-radius: 999px; background: rgba(34, 43, 27, .1); overflow: hidden; }
.ship-bar-fill {
    display: block; height: 100%; width: 0; border-radius: 999px;
    background: var(--grad-leaf); transition: width .6s cubic-bezier(.22, 1, .36, 1);
}
.ship-progress.done { background: var(--leaf-50); border-color: var(--leaf-bright); }

.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 2rem; align-items: start; }
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } }
.cart-lines { display: flex; flex-direction: column; gap: 1rem; }
.cart-line {
    display: grid; grid-template-columns: 96px 1fr auto; gap: 1.1rem; align-items: center;
    background: var(--white); border-radius: var(--radius-card); padding: 1rem 1.2rem;
    box-shadow: var(--shadow-card);
}
@media (max-width: 560px) { .cart-line { grid-template-columns: 72px 1fr; } .cart-line .line-actions { grid-column: 1 / -1; justify-content: flex-start; } }
.cart-line-img { width: 96px; height: 96px; background: var(--cream-50); border-radius: 16px; object-fit: contain; padding: 8px; }
.cart-line h3 { font-size: 16px; margin: 0 0 .2rem; }
.cart-line h3 a { color: var(--ink); }
.cart-line .variant-label { font-size: 13px; color: var(--ink-60); display: block; }
.cart-line .unit { font-size: 13px; color: var(--ink-60); }
.cart-line .stock-note { font-size: 12.5px; color: var(--red); font-weight: 600; }
.line-actions { display: flex; flex-direction: column; align-items: flex-end; gap: .6rem; }
.line-total { font-weight: 800; color: var(--navy); font-family: var(--font-display); }
.line-remove {
    background: none; border: 0; color: var(--ink-60); cursor: pointer; font-size: 13px; font-weight: 600;
    display: inline-flex; align-items: center; gap: .3rem;
}
.line-remove:hover { color: var(--red); }
.cart-line .qty-stepper { transform: scale(.9); transform-origin: center; }

.cart-summary {
    background: var(--grad-dark); color: var(--cream); border-radius: var(--radius-card);
    padding: 1.7rem; position: sticky; top: 96px;
    background-image: url('../img/pattern-leaf.svg'), var(--grad-dark);
    background-size: 220px, auto; background-blend-mode: soft-light, normal;
}
.cart-summary h2, .checkout-summary h2 { color: #fff; font-size: 20px; margin-bottom: 1.2rem; }
.summary-row { display: flex; justify-content: space-between; gap: 1rem; padding-block: .45rem; font-size: 15px; }
.summary-total { border-top: 1px solid rgba(232, 228, 208, .2); margin-top: .5rem; padding-top: .9rem; font-size: 18px; }
.summary-total strong { font-size: 24px; font-family: var(--font-display); }
.cart-summary .btn-block { margin-top: 1rem; }
.cart-summary .btn-ghost-light { color: rgba(232, 228, 208, .85); border-color: rgba(232, 228, 208, .3); }
.cart-summary .btn-ghost-light:hover { color: #fff; border-color: var(--leaf-bright); }
.summary-pays { justify-content: center; }
.summary-secure { display: block; text-align: center; margin-top: .7rem; color: rgba(232, 228, 208, .6); }
.summary-card-light {
    background: var(--cream-50); border-radius: var(--radius-input); padding: 1.2rem 1.4rem;
    margin-block: 1.2rem; text-align: start;
}
.summary-card-light .summary-total { border-top-color: rgba(34, 43, 27, .12); }

.shaker-rock { animation: shaker-rock 2.6s ease-in-out infinite; }
@keyframes shaker-rock { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }

/* ---------------- CHECKOUT ---------------- */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; align-items: start; }
@media (max-width: 900px) { .checkout-layout { grid-template-columns: 1fr; } }
.co-panel h2 { font-size: 18px; display: flex; align-items: center; gap: .6rem; }
.co-step-num {
    width: 28px; height: 28px; border-radius: 999px; background: var(--leaf); color: #fff;
    font-size: 13.5px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.secure-chip { vertical-align: middle; }
.pay-methods { display: flex; flex-direction: column; gap: .8rem; }
.pay-methods .radio-card { justify-content: flex-start; }
.pay-methods .radio-card > span { flex: 1; }
.pay-methods .radio-card small { display: block; }
.pay-icons { display: inline-flex; gap: .4rem; }
.pay-icons img, .pay-methods .radio-card > img { background: #fff; border-radius: 8px; padding: 3px 7px; height: 30px; width: auto; }
.card-fields { margin-top: 1rem; padding-top: 1.2rem; border-top: 1px dashed rgba(34, 43, 27, .15); }
.co-submit { height: 58px; font-size: 16.5px; margin-top: .4rem; }
.checkout-summary {
    background: var(--grad-dark); color: var(--cream); border-radius: var(--radius-card);
    padding: 1.7rem; position: sticky; top: 96px;
    background-image: url('../img/pattern-leaf.svg'), var(--grad-dark);
    background-size: 220px, auto; background-blend-mode: soft-light, normal;
}
.co-items { display: flex; flex-direction: column; gap: .8rem; margin-bottom: 1rem; max-height: 320px; overflow-y: auto; }
.co-item { display: flex; gap: .8rem; align-items: center; font-size: 14px; }
.co-item img { width: 52px; height: 52px; border-radius: 12px; background: rgba(255, 255, 255, .9); object-fit: contain; padding: 4px; flex: none; }
.co-item .co-item-name { flex: 1; color: var(--cream); font-weight: 600; line-height: 1.35; }
.co-item .co-item-name small { display: block; color: rgba(232, 228, 208, .65); font-weight: 400; }
.co-item .co-item-price { font-weight: 700; white-space: nowrap; }

/* Success panel */
.success-panel { text-align: center; background: var(--white); border-radius: 28px; box-shadow: var(--shadow-card); padding: 3rem 2rem; }
.success-panel.slim { box-shadow: none; padding: 1.5rem 1rem; }
.success-check {
    width: 84px; height: 84px; border-radius: 999px; background: var(--leaf); color: #fff;
    display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1.2rem;
    animation: check-pop .5s cubic-bezier(.22, 1, .36, 1);
}
.slim .success-check { width: 64px; height: 64px; }
@keyframes check-pop { from { transform: scale(0); } to { transform: scale(1); } }
.order-no-chip {
    display: inline-block; background: var(--cream-50); border: 1.5px dashed var(--leaf);
    border-radius: 12px; padding: .6rem 1.4rem; font-family: monospace; font-size: 20px; color: var(--navy);
}
.next-steps { list-style: none; display: flex; justify-content: center; gap: 0; padding: 0; margin: 1.6rem 0; flex-wrap: wrap; }
.next-steps li { display: flex; flex-direction: column; align-items: center; gap: .5rem; font-size: 12.5px; color: var(--ink-60); font-weight: 600; padding-inline: 1.2rem; position: relative; }
.next-steps li span { width: 16px; height: 16px; border-radius: 999px; border: 2px solid rgba(34, 43, 27, .25); background: #fff; }
.next-steps li.done { color: var(--leaf-dark); }
.next-steps li.done span { background: var(--leaf); border-color: var(--leaf); }

/* ---------------- INNER HERO (packages / programs) ---------------- */
.inner-hero { position: relative; min-height: min(60vh, 620px); display: flex; align-items: center; overflow: hidden; }
.inner-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kenburns 12s ease-in-out infinite alternate; }
.inner-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--cream) 0%, rgba(14, 33, 72, .55) 22%, rgba(14, 33, 72, .55) 100%); }
.inner-hero-content { position: relative; z-index: 1; color: var(--cream); padding-block: 6rem; max-width: 46rem; }
.inner-hero-content h1 { color: #fff; font-size: 48px; font-weight: 800; margin: 1rem 0 .8rem; }
@media (max-width: 767px) { .inner-hero-content h1 { font-size: 32px; } }
.inner-hero-content .lead { color: rgba(232, 228, 208, .88); }

/* ---------------- Includes strip ---------------- */
.includes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 860px) { .includes-grid { grid-template-columns: 1fr 1fr; } }
.include-card {
    background: var(--white); border-radius: var(--radius-card); box-shadow: var(--shadow-card);
    padding: 1.6rem 1.4rem; display: flex; flex-direction: column; align-items: center; gap: .8rem; text-align: center;
    transition: transform .25s ease;
}
.include-card:hover { transform: translateY(-4px); }
.include-icon {
    width: 56px; height: 56px; border-radius: 999px; background: var(--leaf-50); color: var(--leaf-dark);
    display: inline-flex; align-items: center; justify-content: center; flex: none;
}

/* ---------------- Pricing cards (packages + programs) ---------------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.price-card {
    position: relative; background: var(--white); border-radius: 28px; box-shadow: var(--shadow-card);
    padding: 2.2rem 1.9rem; display: flex; flex-direction: column; gap: .8rem;
    transition: transform .3s ease, box-shadow .3s ease;
}
.price-card:hover { transform: translateY(-8px); }
.price-card.popular {
    background: var(--grad-dark); color: var(--cream); transform: scale(1.04);
    box-shadow: 0 30px 60px -20px rgba(14, 33, 72, .45);
    background-image: url('../img/pattern-leaf.svg'), var(--grad-dark);
    background-size: 220px, auto; background-blend-mode: soft-light, normal;
}
.price-card.popular:hover { transform: scale(1.04) translateY(-8px); }
.price-card.popular h3 { color: #fff; }
.price-card h3 { font-size: 22px; margin: 0; }
.price-card-price { align-items: baseline; }
.price-card .price-lg { font-size: 30px; }
.price-card.popular .price { color: #fff; }
.ribbon {
    position: absolute; top: -13px; inset-inline-start: 50%; transform: translateX(50%);
    background: var(--amber); color: var(--ink); font-size: 12.5px; font-weight: 800;
    border-radius: 999px; padding: .3rem 1.1rem; white-space: nowrap;
}
[dir="ltr"] .ribbon { transform: translateX(-50%); }
.feature-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; flex: 1; font-size: 14.5px; }
.feature-list li { display: flex; gap: .55rem; align-items: flex-start; }
.feature-list li::before { content: '✓'; color: var(--leaf); font-weight: 800; flex: none; }
.price-card.popular .feature-list li::before { color: var(--leaf-bright); }

/* ---------------- Form split (packages/programs/contact) ---------------- */
.form-split { display: grid; grid-template-columns: 380px 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 900px) { .form-split { grid-template-columns: 1fr; } }
.form-side { position: sticky; top: 96px; }
@media (max-width: 900px) { .form-side { position: static; } }
.form-side h2 { font-size: 30px; }
.form-card { margin-bottom: 0; }
.whatsapp-card {
    display: flex; flex-direction: column; gap: .2rem; margin-top: 1.4rem;
    background: var(--leaf); color: #fff; border-radius: var(--radius-card); padding: 1.3rem 1.5rem;
    transition: background .2s, transform .2s;
}
.whatsapp-card:hover { background: var(--leaf-dark); color: #fff; transform: translateY(-2px); }
.whatsapp-card span { font-size: 14px; opacity: .85; }

/* ---------------- BMI calculator ---------------- */
.bmi-card {
    display: grid; grid-template-columns: 1.1fr 1fr; background: var(--white);
    border-radius: 32px; box-shadow: var(--shadow-card); overflow: hidden;
}
@media (max-width: 860px) { .bmi-card { grid-template-columns: 1fr; } }
.bmi-inputs { padding: 2.4rem; }
.bmi-inputs h2 { font-size: 28px; }
.bmi-result {
    background: var(--cream-50); padding: 2.4rem; display: flex; flex-direction: column;
    align-items: center; justify-content: center; text-align: center; gap: .5rem;
    border-inline-start: 1px dashed rgba(34, 43, 27, .12);
}
.bmi-dial { position: relative; }
.bmi-number {
    position: absolute; inset-inline: 0; bottom: 0; display: flex; flex-direction: column; align-items: center;
}
.bmi-number span { font-family: var(--font-display); font-size: 38px; font-weight: 800; color: var(--navy); direction: ltr; }
.bmi-number small { color: var(--ink-60); font-weight: 700; letter-spacing: .1em; }
.bmi-category { font-weight: 800; font-size: 18px; margin: .4rem 0 0; }
.bmi-category.cat-0 { color: var(--blue); }
.bmi-category.cat-1 { color: var(--leaf-dark); }
.bmi-category.cat-2 { color: #b07a1e; }
.bmi-category.cat-3 { color: var(--red); }

/* ---------------- Results band (programs) ---------------- */
.results-band {
    background: var(--forest); color: var(--cream);
    background-image: url('../img/pattern-leaf.svg'); background-size: 220px; background-blend-mode: soft-light;
}
.results-band h2 { color: #fff; text-align: center; font-size: 32px; margin-bottom: 2rem; }
.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 860px) { .results-grid { grid-template-columns: 1fr; } }
.result-card {
    margin: 0; background: rgba(255, 255, 255, .07); border: 1px solid rgba(232, 228, 208, .12);
    border-radius: var(--radius-card); padding: 1.8rem; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
.result-card strong { font-family: var(--font-display); font-size: 40px; font-weight: 800; color: var(--leaf-bright); direction: ltr; }
.result-card figcaption { color: rgba(232, 228, 208, .85); }
.result-card img { width: 54px; height: 54px; border-radius: 999px; object-fit: cover; border: 2px solid var(--leaf-bright); margin-top: .5rem; }
.results-note { display: block; text-align: center; margin-top: 1.4rem; color: rgba(232, 228, 208, .55); }

/* ---------------- ABOUT ---------------- */
.about-hero { position: relative; text-align: center; overflow: hidden; }
.about-hero-inner { max-width: 46rem; }
.about-script { font-size: 32px; margin-bottom: .8rem; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 860px) { .split-grid { grid-template-columns: 1fr; } }
.split-media { position: relative; }
.split-media::before {
    content: ''; position: absolute; inset: 0; border-radius: 28px;
    border: 3px solid var(--leaf); transform: rotate(-2deg) translate(10px, 10px); z-index: 0;
}
.split-media img { position: relative; z-index: 1; border-radius: 28px; box-shadow: var(--shadow-card); width: 100%; }
.split-text h2 { font-size: 30px; }
.quote-mark { color: var(--leaf); margin-bottom: .6rem; }
.founder-quote { font-size: 24px; font-weight: 700; color: var(--navy); margin: 0 0 1rem; line-height: 1.5; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 860px) { .values-grid { grid-template-columns: 1fr 1fr; } }
.value-tile {
    background: var(--white); border-radius: var(--radius-card); box-shadow: var(--shadow-card);
    padding: 1.5rem 1.3rem; display: flex; flex-direction: column; align-items: center; gap: .5rem; text-align: center;
    transition: transform .25s ease;
}
.value-tile:hover { transform: translateY(-4px); }
.value-tile:hover .include-icon { transform: rotate(8deg); }
.value-tile .include-icon { transition: transform .25s ease; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
@media (max-width: 767px) { .team-grid { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; } }
/* Two-member team row (specialist + branch manager), centered */
.team-grid-duo { grid-template-columns: repeat(2, 1fr); max-width: 800px; margin-inline: auto; }
@media (max-width: 767px) { .team-grid-duo { grid-template-columns: 1fr; max-width: 380px; } }
.team-card { margin: 0; border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card); background: var(--white); transition: transform .3s ease; }
.team-card:hover { transform: translateY(-6px); }
.team-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: saturate(.85); transition: filter .3s; }
.team-card:hover img { filter: none; }
.team-card figcaption { padding: 1rem 1.2rem; display: flex; flex-direction: column; }
.team-card small { color: var(--ink-60); }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: flex; flex-direction: column; gap: 1.6rem; }
.timeline::before {
    content: ''; position: absolute; inset-block: 0; inset-inline-start: 44px;
    border-inline-start: 2px dashed var(--leaf); opacity: .5;
}
.timeline-item { display: flex; align-items: center; gap: 1.4rem; position: relative; }
.timeline-year {
    width: 88px; height: 88px; flex: none; border-radius: 999px; background: var(--white);
    box-shadow: var(--shadow-card); display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--navy);
    position: relative; z-index: 1;
}
.timeline-item.now .timeline-year { background: var(--leaf); color: #fff; }
.timeline-body { background: var(--white); border-radius: var(--radius-input); box-shadow: var(--shadow-card); padding: 1rem 1.4rem; display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }

/* ---------------- CONTACT ---------------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2rem; align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-cards { display: flex; flex-direction: column; gap: 1rem; }
.contact-card {
    display: flex; align-items: center; gap: 1.1rem; background: var(--white);
    border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 1.3rem 1.5rem;
    color: var(--ink);
}
.contact-card > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: .15rem; }
.contact-card small { color: var(--ink-60); }
.contact-icon {
    width: 52px; height: 52px; border-radius: 999px; background: var(--leaf-50); color: var(--leaf-dark);
    display: flex; align-items: center; justify-content: center; flex: none;
}
.contact-wa { background: var(--leaf); color: #fff; }
.contact-wa:hover { background: var(--leaf-dark); color: #fff; }
.contact-wa .contact-icon { background: rgba(255, 255, 255, .18); color: #fff; }
.contact-wa small { color: rgba(255, 255, 255, .85); }

.contact-map {
    position: relative; height: 380px; border-radius: 32px; overflow: hidden;
    background:
        radial-gradient(circle at 30% 40%, rgba(73, 134, 27, .18), transparent 40%),
        radial-gradient(circle at 70% 65%, rgba(42, 82, 180, .1), transparent 45%),
        repeating-linear-gradient(45deg, rgba(23, 53, 111, .06) 0 2px, transparent 2px 46px),
        repeating-linear-gradient(-45deg, rgba(23, 53, 111, .06) 0 2px, transparent 2px 46px),
        var(--cream-100);
    display: flex; align-items: center; justify-content: center;
}
.map-pin { color: var(--leaf); animation: pin-drop 1.8s ease infinite alternate; }
@keyframes pin-drop { from { transform: translateY(-6px); } to { transform: translateY(2px); } }
.map-card {
    position: absolute; bottom: 1.2rem; inset-inline-start: 1.2rem;
    background: var(--white); border-radius: 16px; box-shadow: var(--shadow-card);
    padding: 1rem 1.2rem; display: flex; flex-direction: column; gap: .3rem; max-width: 280px;
}
.map-card .btn { margin-top: .4rem; }

/* ---------------- Storefront responsive extras ---------------- */
[hidden] { display: none !important; }
@media (max-width: 860px) {
    .hero { min-height: 0; padding-block: 2.5rem 3rem; }
    .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
    .hero-visual { max-width: 420px; margin-inline: auto; }
    .hero-leaf { width: 50vw; opacity: .5; }
    .hero-chip-1 { inset-inline-start: 0; }
    .hero-chip-2 { inset-inline-end: 0; }
    .checkout-summary, .cart-summary { position: static; }
    .inner-hero { min-height: 52vh; }
}

/* --- admin media manager --- */
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1rem; }
.media-card {
    background: var(--cream-50); border: var(--border-soft); border-radius: var(--radius-input);
    padding: .8rem; display: flex; flex-direction: column; gap: .5rem;
}
.media-thumb {
    width: 100%; height: 130px; object-fit: cover; border-radius: 10px;
    background: var(--white); display: block;
}
.media-head {
    background: var(--white); border: var(--border-soft); border-radius: 10px;
    padding: .55rem .7rem; display: flex; flex-direction: column; gap: .15rem;
}
.media-card .media-name { font-weight: 700; font-size: 13.5px; word-break: break-all; }
.media-card .media-loc { font-size: 12.5px; color: var(--ink-60); }
.media-form { display: flex; flex-direction: column; gap: .5rem; margin-top: auto; }
.media-form input[type="file"] { font-size: 12.5px; width: 100%; }

/* ---------------- Announcement bar: static perks (replaces marquee) ---------------- */
.announce-bar.announce-static { height: auto; min-height: 36px; padding-block: .35rem; }
.announce-items { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.announce-item { display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; }
.announce-item svg { color: var(--leaf-bright); flex: none; }
@media (max-width: 860px) {
    .announce-items { flex-wrap: wrap; justify-content: center; gap: .15rem 1.2rem; font-size: 12px; }
}

/* ---------------- HOME: full-bleed hero ---------------- */
.hero-full {
    position: relative; overflow: hidden;
    min-height: 560px; display: flex; align-items: center;
    background: var(--cream-100);
}
.hero-full-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Light warm overlay, stronger on the text side (logical: start = text side) */
.hero-full-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to right,
        rgba(246, 243, 232, .96) 0%,
        rgba(246, 243, 232, .72) 45%,
        rgba(246, 243, 232, .18) 78%,
        rgba(246, 243, 232, 0) 100%);
}
[dir="rtl"] .hero-full-overlay {
    background: linear-gradient(to left,
        rgba(246, 243, 232, .96) 0%,
        rgba(246, 243, 232, .72) 45%,
        rgba(246, 243, 232, .18) 78%,
        rgba(246, 243, 232, 0) 100%);
}
.hero-full-inner { position: relative; z-index: 1; width: 100%; padding-block: 4.5rem 5rem; }
.hero-full-content { max-width: 34rem; }
.hero-full-title { font-size: 52px; font-weight: 800; margin: 1rem 0 .8rem; }
[dir="rtl"] .hero-full-title { font-weight: 900; }
.hero-full-accent { color: var(--leaf); }
.hero-full-lead { color: var(--ink-60); max-width: 30rem; }
.hero-badge {
    position: absolute; z-index: 2; bottom: 2rem; inset-inline-end: 2.5rem;
    display: inline-flex; align-items: center; gap: .6rem;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 16px; padding: .7rem 1.1rem;
    box-shadow: var(--shadow-card);
}
.hero-badge svg { color: var(--leaf); flex: none; }
.hero-badge-text strong { display: block; font-size: 14px; font-weight: 700; color: var(--navy); line-height: 1.35; }
.hero-badge-text small { display: block; font-size: 12px; color: var(--ink-60); line-height: 1.35; }
@media (max-width: 1023px) { .hero-full-title { font-size: 42px; } }
@media (max-width: 767px) {
    .hero-full { min-height: 0; }
    .hero-full-title { font-size: 32px; }
    .hero-full-inner { padding-block: 3rem 5.5rem; }
    /* stronger uniform overlay on mobile so text always reads */
    .hero-full-overlay, [dir="rtl"] .hero-full-overlay {
        background: linear-gradient(rgba(246, 243, 232, .9), rgba(246, 243, 232, .84));
    }
    .hero-badge { bottom: 1.1rem; inset-inline: 1.25rem; }
}
/* hero with the video on top: the picture stays clear, the text comes under it */
.hero-has-video { display: block; min-height: 0; }
/* the tiny blurred picture shows at once, then the clear still, then the video fades in over it */
.hero-media { position: relative; line-height: 0; background: #f4efe6 center / cover no-repeat; }
.hero-still, .hero-vid { display: block; width: 100%; height: auto; aspect-ratio: 1280 / 560; max-height: 72vh; object-fit: cover; }
.hero-vid { position: absolute; inset: 0; height: 100%; opacity: 0; transition: opacity .4s ease; }
.hero-vid.on { opacity: 1; }
.hero-has-video .hero-full-inner { padding-block: 2.5rem 3rem; }
.hero-has-video .hero-full-content { max-width: 40rem; }
.hero-has-video .hero-full-title { font-size: 44px; margin-top: .8rem; }
@media (max-width: 767px) {
    .hero-has-video .hero-full-inner { padding-block: 1.75rem 7rem; }
    .hero-has-video .hero-full-title { font-size: 30px; }
}

/* ---------------- HOME: quick category chips ---------------- */
.quick-cats-section { padding-block: 2.25rem 1rem; }
.quick-cats { display: grid; grid-template-columns: repeat(8, 1fr); gap: .9rem; }
@media (max-width: 1023px) { .quick-cats { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .quick-cats { grid-template-columns: repeat(2, 1fr); gap: .7rem; } }
.quick-cat {
    display: flex; flex-direction: column; align-items: flex-start; gap: .6rem;
    border-radius: 18px; padding: .95rem;
    color: var(--ink); border: 1px solid rgba(34, 43, 27, .06);
    transition: transform .2s ease, box-shadow .2s ease;
}
.quick-cat:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); color: var(--ink); }
.quick-cat-icon {
    width: 40px; height: 40px; border-radius: 12px; flex: none;
    background: rgba(255, 255, 255, .65);
    display: flex; align-items: center; justify-content: center;
    color: var(--ink-60);
}
.quick-cat:hover .quick-cat-icon { color: var(--leaf-dark); }
.quick-cat-label { font-size: 13px; font-weight: 700; line-height: 1.45; }
.quick-cat-arrow { align-self: flex-end; margin-top: auto; color: var(--ink-60); display: inline-flex; }
.quick-cat-arrow svg { display: block; }
[dir="rtl"] .quick-cat-arrow svg { transform: scaleX(-1); }
.quick-cat:hover .quick-cat-arrow { color: var(--leaf-dark); }
/* pastel tones (low saturation) */
.qc-tone-1 { background: #E3EBF5; } /* light blue   */
.qc-tone-2 { background: #F7E8D8; } /* light orange */
.qc-tone-3 { background: #E5F0DC; } /* light green  */
.qc-tone-4 { background: #F6E4E4; } /* light pink   */
.qc-tone-5 { background: #F3EEDD; } /* creamy       */
.qc-tone-6 { background: #ECE7F3; } /* pale lilac   */
.qc-tone-7 { background: #E0EFEF; } /* light cyan   */
.qc-tone-8 { background: #EBE7E0; } /* warm gray    */

/* ---------------- Logo marks ----------------
   logo.png       = dark green mark → light backgrounds (site header, login card)
   logo-light.png = cream/light mark → dark backgrounds (admin sidebar)
   logo-full.png  = full lockup (mark + name + tagline) → site footer
   No badge cards — each variant sits directly on its matching background. */
.footer-logo { display: block; width: min(250px, 100%); height: auto; margin-bottom: 1.1rem; }
/* Header: mark + site name side by side */
.nav-logo { display: flex; align-items: center; gap: .6rem; }
.nav-logo img { display: block; height: 40px; width: auto; }
.nav-logo-name {
    font-family: var(--font-display); font-weight: 800; font-size: 20px;
    color: var(--forest); white-space: nowrap; line-height: 1;
}
[dir="ltr"] .nav-logo-name { letter-spacing: -.02em; }
@media (max-width: 480px) { .nav-logo-name { font-size: 17px; } }

/* ---------------- HOME: bundle offers ---------------- */
.offers-section { padding-block: 3rem 4.5rem; background: var(--cream-50); }
.offers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.offer-toggle { display: none; }
.offer-details { display: flex; flex-direction: column; gap: .55rem; }
/* phone and tablet: smaller cards in one row that swipes sideways; the next card peeks in */
@media (max-width: 1023px) {
    .offers-grid {
        display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
        margin-inline: calc(var(--gutter, 1.25rem) * -1); padding: .5rem var(--gutter, 1.25rem) 1.2rem;
        scroll-padding-inline: var(--gutter, 1.25rem); scrollbar-width: none;
    }
    .offers-grid::-webkit-scrollbar { display: none; }
    .offers-grid { align-items: flex-start; }
    .offers-grid .offer-card { flex: 0 0 min(68vw, 290px); scroll-snap-align: start; }
    .offer-toggle {
        display: inline-flex; align-items: center; gap: .3rem; align-self: flex-start;
        border: 0; background: var(--leaf-50); color: var(--leaf-dark); border-radius: 999px;
        padding: .3rem .8rem; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer;
    }
    .offer-toggle svg { transition: transform .25s ease; }
    .offer-card.open .offer-toggle svg { transform: rotate(180deg); }
    .offer-details { display: none; gap: .4rem; }
    .offer-card.open .offer-details { display: flex; }
    .offers-grid .offer-card:hover { transform: none; }
    .offer-body { padding: .9rem 1rem 1rem; gap: .4rem; }
    .offer-name { font-size: 16px; }
    .offer-desc { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .offer-items li { font-size: 13px; }
    .offer-price { font-size: 21px; }
    .offer-badge, .offer-save { top: .6rem; font-size: 11.5px; padding: .22rem .7rem; }
    .offer-badge { inset-inline-start: .6rem; } .offer-save { inset-inline-end: .6rem; }
}
@media (min-width: 1800px) { .offers-grid { grid-template-columns: repeat(4, 1fr); } }
.offer-card {
    background: var(--white); border-radius: var(--radius-card);
    overflow: hidden; box-shadow: var(--shadow-card); position: relative;
    display: flex; flex-direction: column;
    transition: transform .4s ease, box-shadow .4s ease;
}
.offer-card:hover { transform: translateY(-6px); box-shadow: 0 4px 10px rgba(23, 53, 111, .07), 0 24px 50px -12px rgba(34, 43, 27, .2); }
.offer-media { position: relative; background: var(--cream-50); }
.offer-zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.offer-media img { width: 100%; height: auto; display: block; }
/* Lightbox (click-to-zoom for offer images) */
.lightbox-overlay {
    position: fixed; inset: 0; z-index: 9999; background: rgba(10, 25, 18, .88);
    display: flex; align-items: center; justify-content: center; padding: 2rem;
    opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.lightbox-overlay.open { opacity: 1; pointer-events: auto; }
.lightbox-overlay img {
    max-width: min(92vw, 900px); max-height: 88vh; width: auto; height: auto;
    border-radius: 14px; background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.lightbox-close {
    position: absolute; top: 1.1rem; inset-inline-end: 1.1rem; width: 44px; height: 44px;
    border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff;
    font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { background: rgba(255, 255, 255, .28); }
.offer-badge {
    position: absolute; top: .9rem; inset-inline-start: .9rem; z-index: 2;
    background: var(--leaf); color: #fff; border-radius: 999px;
    padding: .3rem .9rem; font-size: 12.5px; font-weight: 700;
    box-shadow: 0 4px 14px -4px rgba(73, 134, 27, .55);
}
.offer-save {
    position: absolute; top: .9rem; inset-inline-end: .9rem; z-index: 2;
    background: var(--amber); color: var(--ink); border-radius: 999px;
    padding: .3rem .9rem; font-size: 12.5px; font-weight: 800;
}
.offer-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.offer-name { font-family: var(--font-display); font-size: 19px; font-weight: 800; color: var(--forest); margin: 0; line-height: 1.4; }
.offer-desc { font-size: 14px; color: var(--ink-60); margin: 0; }
.offer-items { list-style: none; margin: .2rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .35rem; }
.offer-items li { display: flex; align-items: center; gap: .5rem; font-size: 14px; font-weight: 500; color: var(--ink); }
.offer-items li svg { color: var(--leaf); flex: none; }
.offer-price-row { display: flex; align-items: baseline; gap: .6rem; margin-top: auto; padding-top: .5rem; flex-wrap: wrap; }
.offer-old-price { color: var(--ink-60); text-decoration: line-through; font-size: 14.5px; font-weight: 500; }
.offer-price { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--forest); }
.offer-cta { margin-top: .6rem; }

/* ===== Policies: returns.php / privacy.php / terms.php ===== */
.policy-hero { padding-bottom: 1.5rem; }
.policy-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1.4rem; }
.policy-tabs a { padding: .55rem 1.1rem; border-radius: 999px; border: var(--border-soft); background: #fff; color: var(--ink); font-weight: 700; font-size: 14.5px; text-decoration: none; }
.policy-tabs a:hover { border-color: var(--leaf); }
.policy-tabs a.on { background: var(--forest); border-color: var(--forest); color: #fff; }
.policy-body { padding-top: 0; }
.policy-wrap { max-width: 50rem; }
.policy-sec { background: #fff; border: var(--border-soft); border-radius: var(--radius-card); padding: 1.4rem 1.6rem; margin-bottom: 1rem; }
.policy-sec h2 { display: flex; align-items: center; gap: .7rem; font-size: 20px; margin: 0 0 .7rem; }
.policy-n { flex: none; width: 2rem; height: 2rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--forest); color: #fff; font-size: 14px; }
.policy-sec p, .policy-sec li { color: var(--ink-60); line-height: 1.85; font-size: 16px; }
.policy-sec p { margin: 0 0 .6rem; }
.policy-sec ul { margin: 0 0 .6rem; padding-inline-start: 1.3rem; }
.policy-sec li { margin-bottom: .35rem; }
.policy-sec li::marker { color: var(--leaf); }
.policy-contact { display: flex; flex-direction: column; gap: .35rem; background: var(--forest); color: #fff; border-radius: var(--radius-card); padding: 1.4rem 1.6rem; }
.policy-contact strong { font-size: 18px; }
.policy-contact a { color: #fff; text-decoration: underline; }
@media (max-width: 767px) { .policy-sec, .policy-contact { padding: 1.1rem 1.1rem; } .policy-sec h2 { font-size: 18px; } }

/* admin product form: the image gallery opens on demand */
.img-gallery > summary::-webkit-details-marker { display: none; }
.img-gallery[open] > summary { background: var(--blue); color: #fff; }
.img-gallery .img-picker { max-height: 460px; overflow-y: auto; padding: 2px; }

/* shop sidebar: brands collapsed to a few, with search and "all brands" */
.brand-find { margin: .2rem 0 .5rem; }
.brand-list li[hidden] { display: none; }
.brand-toggle { margin-top: .5rem; background: none; border: 0; color: var(--leaf-dark); font-weight: 700; font-size: 13.5px; cursor: pointer; padding: .2rem 0; }
.brand-toggle:hover { text-decoration: underline; }

/* ===== shop filters: a side drawer on phones / tablets (opens from the side, closes back) ===== */
.filters-open, .filters-backdrop, .filters-head { display: none; }
@media (max-width: 1023px) {
    .filters-open {
        display: flex; align-items: center; gap: .5rem; margin: 0 0 1rem; width: 100%; justify-content: center;
        min-height: 46px; border-radius: 14px; border: var(--border-soft); background: var(--cream-50);
        color: var(--ink); font-weight: 800; font-size: 15px; cursor: pointer;
    }
    .filters-open[aria-expanded="true"] { background: var(--leaf); color: #fff; border-color: var(--leaf); }
    .shop-filters {
        position: fixed; top: 0; bottom: 0; width: min(86vw, 340px); z-index: 420;
        overflow-y: auto; background: var(--cream-50); box-shadow: 0 0 40px rgba(0, 0, 0, .25);
        transition: transform .28s ease;
    }
    html[dir="rtl"] .shop-filters { right: 0; transform: translateX(105%); }
    html:not([dir="rtl"]) .shop-filters { left: 0; transform: translateX(-105%); }
    html .shop-filters.open { transform: none; }   /* after the closed rules: same weight, must win */
    .filters-panel { position: static; min-height: 100%; border: 0; border-radius: 0; padding: 1.1rem 1.1rem 2rem; }
    .filters-backdrop {
        display: block; position: fixed; inset: 0; z-index: 410; background: rgba(0, 0, 0, .4);
    }
    .filters-backdrop[hidden] { display: none; }
    .filters-head {
        display: flex; align-items: center; justify-content: space-between; margin-bottom: .2rem;
        position: sticky; top: 0; background: var(--cream-50); padding-bottom: .4rem; z-index: 1;
    }
    .filters-head strong { font-size: 17px; color: var(--ink); }
    .filters-close {
        width: 40px; height: 40px; border-radius: 50%; border: var(--border-soft); background: #fff;
        color: var(--ink); font-size: 16px; cursor: pointer;
    }
    html.filters-lock, html.filters-lock body { overflow: hidden; }
}

/* ===== shop tidy: one badge, the add button always shown, flavor groups ===== */
.product-brand { font-size: 12px; letter-spacing: .3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.flavor-count { align-self: flex-start; font-size: 12.5px; font-weight: 700; color: var(--leaf-dark); background: var(--leaf-50); border-radius: 999px; padding: .15rem .65rem; }
.card-add { margin-top: auto; padding-top: .35rem; }
.card-add .btn { width: 100%; }
.card-out { background: rgba(34, 43, 27, .06); color: var(--ink-60); cursor: default; }
.card-out:hover { transform: none; }
.chip-cnt { font-size: 12px; opacity: .65; font-weight: 700; margin-inline-start: .15rem; }
a.variant-pill { text-decoration: none; color: var(--ink); }
.variant-pill.out { opacity: .5; text-decoration: line-through; }
@media (max-width: 767px) {
    .shop-grid { gap: .7rem; }
    .product-media img { padding: .6rem; }
    .product-body { padding: .7rem .75rem .85rem; gap: .3rem; }
    .product-name { font-size: 14.5px; line-height: 1.4; }
    .product-rating { font-size: 12px; }
    .card-add .btn { min-height: 38px; font-size: 13px; padding-inline: .4rem; }
    .product-badges .badge { font-size: 11.5px; padding: .2rem .55rem; }
}
.product-card .price-row .chip-sale { display: none; }   /* the discount already shows on the picture */
.product-card .price-row { flex-wrap: wrap; row-gap: .1rem; }
