/* ==========================================================================
   Healing Herbals — design system v2 (layered on Bootstrap 5.3)
   Palette & type informed by the UI/UX Pro Max skill (wellness / e-commerce):
   emerald primary + warm orange CTA, Lora headings, 8px rhythm, 44px touch targets.
   All text colours meet WCAG AA (4.5:1) on their backgrounds.
   ========================================================================== */

:root {
    /* Brand */
    --c-primary:        #047857;   /* emerald 700 · white text 5.5:1 */
    --c-primary-hover:  #065f46;
    --c-primary-deep:   #064e3b;
    --c-primary-ink:    #022c22;
    --c-primary-soft:   #d1fae5;
    --c-primary-tint:   #ecfdf5;
    --c-accent:         #c2410c;   /* orange 700 · white text 5.2:1 — CTAs */
    --c-accent-hover:   #9a3412;
    --c-accent-soft:    #ffedd5;
    --c-whatsapp:       #128c4a;
    --c-whatsapp-hover: #0e7038;

    /* Neutrals */
    --c-bg:       #f8fbf9;
    --c-surface:  #ffffff;
    --c-ink:      #0f2a20;
    --c-muted:    #475569;          /* 7.5:1 on white */
    --c-border:   #dbe8e1;
    --c-border-strong: #b9d5c7;
    --c-danger:   #b91c1c;

    /* Shape & depth */
    --r-sm: 10px;
    --r:    16px;
    --r-lg: 24px;
    --r-pill: 999px;
    --shadow-sm: 0 1px 2px rgba(6, 78, 59, .06), 0 1px 3px rgba(6, 78, 59, .08);
    --shadow:    0 12px 32px -14px rgba(6, 78, 59, .22);
    --shadow-lg: 0 28px 64px -24px rgba(6, 78, 59, .32);

    /* Type */
    --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-display: "Poppins", "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

    /* Motion */
    --ease: cubic-bezier(.2, .7, .2, 1);
    --t-fast: 150ms;
    --t: 220ms;

    --header-h: 72px;
    --gutter: 1.25rem;

    /* Bootstrap bridge */
    --bs-body-font-family: var(--font-body);
    --bs-body-font-size: 1rem;
    --bs-body-line-height: 1.6;
    --bs-body-color: var(--c-ink);
    --bs-body-bg: var(--c-bg);
    --bs-primary: var(--c-primary);
    --bs-primary-rgb: 4, 120, 87;
    --bs-link-color: var(--c-primary);
    --bs-link-color-rgb: 4, 120, 87;
    --bs-link-hover-color: var(--c-primary-hover);
    --bs-link-hover-color-rgb: 6, 95, 70;
    --bs-border-color: var(--c-border);
    --bs-border-radius: var(--r-sm);
    --bs-secondary-color: var(--c-muted);
    --bs-gutter-x: 1.5rem;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { max-width: 100%; height: auto; }
.container { padding-inline: var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 1.5rem; } }

h1, h2, h3, .display-title, .section-title { font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; color: var(--c-primary-deep); line-height: 1.18; }
h4, h5, h6 { font-weight: 700; color: var(--c-primary-deep); }
p { text-wrap: pretty; }
a { text-underline-offset: 3px; transition: color var(--t-fast) var(--ease); }
button, [role="button"], summary, label[for], select { cursor: pointer; }
::selection { background: var(--c-primary-soft); color: var(--c-primary-ink); }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; border-radius: 4px; }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; vertical-align: -.25em; }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 2000; background: var(--c-primary); color: #fff; padding: .75rem 1rem; border-radius: var(--r-sm); text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
    --bs-btn-font-weight: 600; --bs-btn-padding-x: 1.25rem; --bs-btn-padding-y: .625rem; --bs-btn-border-radius: var(--r-pill);
    --bs-btn-font-size: 1rem;
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px;
    transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), box-shadow var(--t) var(--ease), transform var(--t-fast) var(--ease);
}
.btn .icon { width: 1.15em; height: 1.15em; }
.btn:active { transform: scale(.98); }
.btn-sm { --bs-btn-padding-x: 1rem; --bs-btn-padding-y: .5rem; --bs-btn-font-size: .9rem; min-height: 40px; }
.btn-lg { --bs-btn-padding-x: 1.75rem; --bs-btn-padding-y: .8rem; --bs-btn-font-size: 1.05rem; min-height: 52px; }

.btn-primary {
    --bs-btn-bg: var(--c-primary); --bs-btn-border-color: var(--c-primary); --bs-btn-color: #fff;
    --bs-btn-hover-bg: var(--c-primary-hover); --bs-btn-hover-border-color: var(--c-primary-hover); --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: var(--c-primary-deep); --bs-btn-active-border-color: var(--c-primary-deep); --bs-btn-active-color: #fff;
    --bs-btn-disabled-bg: var(--c-primary); --bs-btn-disabled-border-color: var(--c-primary);
    --bs-btn-focus-shadow-rgb: 4, 120, 87;
}
.btn-cta {
    --bs-btn-bg: var(--c-accent); --bs-btn-border-color: var(--c-accent); --bs-btn-color: #fff;
    --bs-btn-hover-bg: var(--c-accent-hover); --bs-btn-hover-border-color: var(--c-accent-hover); --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: #7c2d12; --bs-btn-active-border-color: #7c2d12; --bs-btn-active-color: #fff;
    --bs-btn-disabled-bg: var(--c-accent); --bs-btn-disabled-border-color: var(--c-accent); --bs-btn-disabled-color: #fff;
    box-shadow: 0 10px 22px -12px rgba(194, 65, 12, .8);
}
.btn-cta:hover { box-shadow: 0 14px 28px -12px rgba(194, 65, 12, .85); }
.btn-outline-primary {
    --bs-btn-color: var(--c-primary); --bs-btn-border-color: var(--c-border-strong); --bs-btn-bg: var(--c-surface);
    --bs-btn-hover-bg: var(--c-primary-tint); --bs-btn-hover-border-color: var(--c-primary); --bs-btn-hover-color: var(--c-primary-hover);
    --bs-btn-active-bg: var(--c-primary-soft); --bs-btn-active-border-color: var(--c-primary); --bs-btn-active-color: var(--c-primary-deep);
    --bs-btn-focus-shadow-rgb: 4, 120, 87;
    border-width: 1.5px;
}
.btn-outline-danger { --bs-btn-border-color: #f1c4c4; border-width: 1.5px; }
.btn-whatsapp {
    --bs-btn-bg: var(--c-whatsapp); --bs-btn-border-color: var(--c-whatsapp); --bs-btn-color: #fff;
    --bs-btn-hover-bg: var(--c-whatsapp-hover); --bs-btn-hover-border-color: var(--c-whatsapp-hover); --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: #0b5a2d; --bs-btn-active-border-color: #0b5a2d; --bs-btn-active-color: #fff;
}
.btn-ghost {
    --bs-btn-color: var(--c-ink); --bs-btn-bg: transparent; --bs-btn-border-color: transparent;
    --bs-btn-hover-bg: var(--c-primary-tint); --bs-btn-hover-color: var(--c-primary-deep); --bs-btn-hover-border-color: transparent;
    --bs-btn-active-bg: var(--c-primary-soft); --bs-btn-active-border-color: transparent;
}
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading > * { visibility: hidden; }
.btn.is-loading::after {
    content: ""; position: absolute; inset: 0; margin: auto; width: 1.15rem; height: 1.15rem;
    border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: hh-spin .7s linear infinite;
}
.btn-outline-primary.is-loading::after { border-color: rgba(4,120,87,.25); border-top-color: var(--c-primary); }
@keyframes hh-spin { to { transform: rotate(360deg); } }

.icon-btn {
    position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    border: 0; background: transparent; color: var(--c-primary-deep); text-decoration: none;
    transition: background-color var(--t-fast) var(--ease);
}
.icon-btn .icon { width: 24px; height: 24px; }
.icon-btn:hover, .icon-btn[aria-expanded="true"] { background: var(--c-primary-tint); color: var(--c-primary-deep); }

/* ---------- Forms ---------- */
.form-label { font-weight: 600; font-size: .925rem; color: var(--c-primary-deep); margin-bottom: .5rem; }
.form-control, .form-select { min-height: 48px; border-radius: var(--r-sm); border: 1.5px solid var(--c-border); padding: .7rem 1rem; background-color: var(--c-surface); font-size: 1rem; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
textarea.form-control { min-height: 96px; }
.form-control:hover { border-color: var(--c-border-strong); }
.form-control:focus, .form-select:focus { border-color: var(--c-primary); box-shadow: 0 0 0 4px rgba(4, 120, 87, .14); }
.form-control::placeholder { color: #7b8794; }
.form-text { color: var(--c-muted); font-size: .85rem; }
.form-check-input { width: 1.25em; height: 1.25em; }
.form-switch .form-check-input { width: 2.5em; }
.form-check-input:checked { background-color: var(--c-primary); border-color: var(--c-primary); }
.form-check-input:focus { box-shadow: 0 0 0 4px rgba(4, 120, 87, .14); border-color: var(--c-primary); }
.form-check-label { padding-left: .25rem; }
.invalid-feedback { font-size: .85rem; font-weight: 500; }
.alert { border-radius: var(--r); border-width: 1.5px; }
.input-icon { position: relative; }
.input-icon > .icon { position: absolute; left: 1rem; top: 14px; width: 20px; height: 20px; color: var(--c-muted); pointer-events: none; }
.input-icon > .form-control { padding-left: 2.85rem; }
.password-field { position: relative; }
.password-field .form-control { padding-right: 3.25rem; }
.password-toggle { position: absolute; right: 2px; top: 2px; width: 44px; height: 44px; border: 0; background: transparent; color: var(--c-muted); border-radius: var(--r-sm); display: grid; place-items: center; }
.password-toggle:hover { color: var(--c-primary); }
.password-toggle .icon { width: 20px; height: 20px; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--c-primary-deep); color: #d1fae5; font-size: .85rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: .4rem; color: #d1fae5; text-decoration: none; white-space: nowrap; }
.topbar a:hover { color: #fff; }
.topbar .icon { width: 15px; height: 15px; }
@media (max-width: 400px) { .topbar-inner > span:first-child { display: none; } .topbar-inner { justify-content: center; } }

.site-header {
    position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .9);
    -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--c-border);
    transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -18px rgba(6, 78, 59, .45); }
.site-header.is-hidden { transform: translateY(-100%); } /* slides away while scrolling down, back on scroll up */
.site-header .navbar { min-height: var(--header-h); padding-block: .5rem; }
.navbar-brand { display: flex; align-items: center; gap: .7rem; margin-right: 1rem; padding: 0; color: var(--c-primary-deep); }
.navbar-brand:hover { color: var(--c-primary-deep); }
.brand-mark { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--c-border); }
.brand-text { display: flex; flex-direction: column; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; line-height: 1.05; letter-spacing: -.01em; }
.brand-text small { font-family: var(--font-body); font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted); margin-top: .2rem; }
.navbar-nav { gap: .25rem; }
.navbar-nav .nav-link { font-weight: 600; color: var(--c-muted); padding: .6rem 1rem !important; border-radius: var(--r-pill); min-height: 44px; display: flex; align-items: center; transition: color var(--t-fast), background-color var(--t-fast); }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--c-primary-deep); background: var(--c-primary-tint); }
.nav-actions { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.dropdown-menu { border: 1px solid var(--c-border); border-radius: var(--r); box-shadow: var(--shadow); padding: .5rem; min-width: 230px; }
.dropdown-header { font-weight: 700; color: var(--c-primary-deep); font-size: .9rem; }
.dropdown-item { display: flex; align-items: center; gap: .65rem; border-radius: var(--r-sm); padding: .65rem .8rem; font-weight: 500; min-height: 44px; }
.dropdown-item .icon { width: 18px; height: 18px; color: var(--c-muted); }
.dropdown-item:hover, .dropdown-item:focus { background: var(--c-primary-tint); color: var(--c-primary-deep); }
.dropdown-item.text-danger .icon { color: inherit; }
.dropdown-item.text-danger:hover { background: #fef2f2; color: var(--c-danger) !important; }

.cart-badge {
    position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: var(--r-pill);
    background: var(--c-accent); color: #fff; font-size: .7rem; font-weight: 800; line-height: 20px; text-align: center; border: 2px solid #fff;
}
.cart-badge.bump { animation: hh-bump .4s var(--ease); }
@keyframes hh-bump { 50% { transform: scale(1.3); } }

.navbar-toggler { border: 0; width: 44px; height: 44px; padding: 0; display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border-radius: 50%; }
.navbar-toggler:hover { background: var(--c-primary-tint); }
.navbar-toggler:focus { box-shadow: none; }
.toggler-bar { display: block; width: 22px; height: 2px; background: var(--c-primary-deep); border-radius: 2px; transition: transform var(--t) var(--ease), opacity var(--t-fast); }
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 991.98px) {
    .navbar-collapse { order: 3; width: 100%; }
    .navbar-collapse .navbar-nav { padding-top: .75rem; }
    .navbar-nav .nav-link { border-radius: var(--r-sm); padding: .75rem 1rem !important; font-size: 1.05rem; color: var(--c-ink); }
    .nav-mobile-account { display: grid; gap: .75rem; padding: 1rem 0 1.25rem; margin-top: .75rem; border-top: 1px solid var(--c-border); }
    .nav-mobile-account > .btn { width: 100%; }
    .nav-mobile-hello { margin: 0; color: var(--c-muted); }
    .nav-mobile-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
    .nav-mobile-links a { display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: .75rem .5rem; border: 1px solid var(--c-border); border-radius: var(--r-sm); color: var(--c-ink); text-decoration: none; font-weight: 600; font-size: .9rem; }
    .nav-mobile-links a .icon { color: var(--c-primary); }
}
@media (max-width: 380px) { .brand-text { font-size: 1.1rem; } .brand-text small { display: none; } .brand-mark { width: 38px; height: 38px; } }

/* ---------- Toasts ---------- */
.toast-stack { position: fixed; top: calc(var(--header-h) + 12px); right: 16px; z-index: 1090; display: grid; gap: .6rem; width: min(380px, calc(100vw - 32px)); pointer-events: none; }
.toast-stack .toast { pointer-events: auto; width: 100%; display: flex; align-items: flex-start; gap: .5rem; border: 0; border-radius: var(--r); box-shadow: var(--shadow-lg); background: var(--c-primary-ink); color: #fff; padding: .4rem .5rem .4rem .25rem; font-weight: 500; border-left: 4px solid #34d399; }
.toast-stack .toast .toast-body { flex: 1; }
.toast-stack .toast .btn-close { filter: invert(1) grayscale(1) brightness(2); margin: .6rem .4rem 0 0; flex-shrink: 0; }
.toast-stack .toast-danger { background: #450a0a; border-left-color: #f87171; }
.toast-stack .toast-info { background: #0c2a3f; border-left-color: #7dd3fc; }
.toast-stack .toast-warning { background: #431407; border-left-color: #fdba74; }
@media (max-width: 575.98px) { .toast-stack { top: auto; bottom: calc(88px + env(safe-area-inset-bottom, 0px)); left: 16px; right: 16px; width: auto; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3rem, 7vw, 6rem); }
.section-tint { background: var(--c-primary-tint); }
.section-head { max-width: 680px; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.section-head--split { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; text-align: left; margin-bottom: 1.5rem; }
.section-head--split > div:first-child { max-width: 600px; }
.section-title { font-size: clamp(1.6rem, 1.05rem + 2.4vw, 2.75rem); line-height: 1.18; margin-bottom: .75rem; text-wrap: balance; }
.section-lead { color: var(--c-muted); font-size: clamp(1rem, .95rem + .3vw, 1.075rem); margin-bottom: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: .45rem; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--c-primary); background: var(--c-primary-soft); padding: .45rem .9rem; border-radius: var(--r-pill); margin-bottom: 1rem; }
.eyebrow .icon { width: 15px; height: 15px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(2.5rem, 7vw, 5.5rem) clamp(3rem, 7vw, 5rem);
    background: radial-gradient(1100px 520px at 88% 10%, rgba(16, 185, 129, .16), transparent 60%), radial-gradient(700px 420px at 0% 100%, rgba(234, 88, 12, .08), transparent 60%), var(--c-bg); }
.display-title { font-size: clamp(2rem, 1.3rem + 3.2vw, 3.5rem); margin-bottom: 1.25rem; text-wrap: balance; }
.display-title em { font-style: italic; color: var(--c-primary); }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--c-muted); max-width: 540px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.25rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 1.5rem 2.25rem; list-style: none; padding: 1.5rem 0 0; margin: 0; border-top: 1px solid var(--c-border); }
.hero-proof li { display: flex; flex-direction: column; }
.hero-proof strong { font-family: var(--font-display); font-size: 1.35rem; color: var(--c-primary-deep); line-height: 1.2; }
.hero-proof span { font-size: .875rem; color: var(--c-muted); }

.hero-showcase { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 1rem; max-width: 560px; margin-inline: auto; }
.showcase-card { display: flex; flex-direction: column; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: var(--c-ink); box-shadow: var(--shadow); transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.showcase-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--c-ink); }
.showcase-card--1 { grid-row: 1 / 3; }
.showcase-img { flex: 1; display: grid; place-items: center; padding: 1rem; background: linear-gradient(160deg, #fff, var(--c-primary-tint)); min-height: 0; }
.showcase-img img { width: 100%; height: 100%; max-height: 360px; object-fit: contain; }
.showcase-card--2 .showcase-img img, .showcase-card--3 .showcase-img img { max-height: 150px; }
.showcase-info { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .75rem 1rem; border-top: 1px solid var(--c-border); }
.showcase-name { font-weight: 700; font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.showcase-price { font-weight: 800; color: var(--c-primary); font-size: .92rem; white-space: nowrap; }
.showcase-badge { position: absolute; left: -1.25rem; top: 1.25rem; display: flex; align-items: center; gap: .75rem; background: var(--c-surface); border-radius: var(--r); padding: .75rem 1rem; box-shadow: var(--shadow-lg); border: 1px solid var(--c-border); }
.showcase-badge > .icon { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--c-primary-soft); color: var(--c-primary); }
.showcase-badge strong { display: block; font-size: .9rem; color: var(--c-primary-deep); line-height: 1.2; }
.showcase-badge span { font-size: .8rem; color: var(--c-muted); }
@media (max-width: 575.98px) {
    .hero-actions .btn { flex: 1 1 100%; }
    .hero-showcase { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto; gap: .6rem; }
    .showcase-card--1 { grid-row: auto; }
    .showcase-card { border-radius: var(--r); }
    .showcase-img { display: block; flex: none; padding: .5rem; aspect-ratio: 1; overflow: hidden; }
    .showcase-img img, .showcase-card--2 .showcase-img img, .showcase-card--3 .showcase-img img { max-height: none; height: 100%; }
    .hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
    .hero-proof strong { font-size: 1.1rem; }
    .hero-proof span { font-size: .78rem; }
    .showcase-info { flex-direction: column; align-items: flex-start; gap: 0; padding: .5rem .6rem; }
    .showcase-name { font-size: .78rem; max-width: 100%; }
    .showcase-price { font-size: .8rem; }
    .showcase-badge { display: none; } /* same message appears in the feature cards just below */
}

/* ---------- Feature strip ---------- */
.features { position: relative; z-index: 2; margin-top: -1.5rem; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.feature { display: flex; gap: .9rem; align-items: center; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r); padding: 1.1rem 1.25rem; box-shadow: var(--shadow-sm); }
.feature-icon { flex-shrink: 0; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--c-primary-tint); color: var(--c-primary); }
.feature-icon .icon { width: 24px; height: 24px; }
.feature h3 { font-family: var(--font-body); font-size: .98rem; letter-spacing: 0; margin: 0 0 .1rem; color: var(--c-ink); }
.feature p { font-size: .85rem; color: var(--c-muted); margin: 0; }
@media (max-width: 991.98px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .features { margin-top: 0; } .feature-grid { gap: .6rem; } .feature { flex-direction: column; align-items: flex-start; gap: .5rem; padding: .85rem; } .feature h3 { font-size: .9rem; } .feature p { font-size: .8rem; line-height: 1.4; } .feature-icon { width: 36px; height: 36px; border-radius: 10px; } .feature-icon .icon { width: 18px; height: 18px; } }

/* ---------- Shop: search, chips, grid ---------- */
.shop-search { position: relative; flex: 0 1 340px; }
.shop-search > .icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--c-muted); width: 20px; height: 20px; pointer-events: none; }
.shop-search .form-control { border-radius: var(--r-pill); padding-left: 2.85rem; }
@media (max-width: 767.98px) { .shop-search { flex: 1 1 100%; } }

.chip-row { display: flex; gap: .5rem; overflow-x: auto; padding: .25rem 0 .75rem; margin-bottom: .5rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chip-row::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .5rem 1rem; border-radius: var(--r-pill); border: 1.5px solid var(--c-border); background: var(--c-surface); color: var(--c-ink); font-weight: 600; font-size: .92rem; transition: all var(--t-fast) var(--ease); }
.chip .icon { width: 18px; height: 18px; color: var(--c-primary); }
.chip:hover { border-color: var(--c-primary); }
.chip.is-active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.chip.is-active .icon { color: #fff; }
.chip-count { font-size: .75rem; font-weight: 700; background: var(--c-primary-tint); color: var(--c-primary-deep); border-radius: var(--r-pill); padding: .1rem .5rem; }
.chip.is-active .chip-count { background: rgba(255,255,255,.2); color: #fff; }
.result-count { color: var(--c-muted); font-size: .9rem; font-weight: 500; margin-bottom: 1rem; }

.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
@media (min-width: 1200px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; } }
.product-cell[hidden] { display: none; }

.product-card { position: relative; display: flex; flex-direction: column; height: 100%; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); overflow: hidden; transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease); }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--c-border-strong); }
.product-media { position: relative; display: block; aspect-ratio: 1; background: #fff; padding: 1rem; border-bottom: 1px solid var(--c-border); }
.product-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.04); }
.product-tag { position: absolute; top: .75rem; left: .75rem; font-size: .7rem; font-weight: 700; letter-spacing: .02em; color: var(--c-primary-deep); background: rgba(236, 253, 245, .95); border: 1px solid var(--c-primary-soft); padding: .2rem .6rem; border-radius: var(--r-pill); }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 1rem 1.1rem 1.1rem; }
.product-title { font-family: var(--font-body); font-size: 1.02rem; font-weight: 700; letter-spacing: 0; line-height: 1.3; margin-bottom: .35rem; }
.product-title a { color: var(--c-ink); text-decoration: none; }
.product-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* whole card clickable */
.product-card:hover .product-title a { color: var(--c-primary); }
.product-desc { font-size: .875rem; color: var(--c-muted); margin-bottom: 1rem; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.product-price { font-weight: 800; font-size: 1.1rem; color: var(--c-primary-deep); white-space: nowrap; }
.btn-add { position: relative; z-index: 2; --bs-btn-padding-x: 1rem; --bs-btn-padding-y: .5rem; --bs-btn-font-size: .92rem; }
@media (max-width: 575.98px) {
    .product-card { border-radius: var(--r); }
    .product-media { padding: .6rem; }
    .product-tag { display: none; }
    .product-body { padding: .75rem .8rem .85rem; }
    .product-title { font-size: .9rem; }
    .product-desc { font-size: .8rem; margin-bottom: .6rem; }
    .product-foot { flex-direction: column; align-items: stretch; gap: .5rem; }
    .product-price { font-size: 1rem; }
    .btn-add { width: 100%; }
}

.empty-state { text-align: center; padding: 3rem 1rem; color: var(--c-muted); }
.empty-icon { display: inline-grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; background: var(--c-primary-tint); color: var(--c-primary); margin-bottom: 1rem; }
.empty-icon .icon { width: 34px; height: 34px; }

/* ---------- About ---------- */
/* Desktop: photos left, text right. Tablet/phone: heading → photo strip → facts (reads top-down). */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "media head" "media body"; column-gap: clamp(2rem, 5vw, 4.5rem); row-gap: 0; align-items: center; }
.about-head { grid-area: head; align-self: end; }
.about-body { grid-area: body; align-self: start; }
.about-media { grid-area: media; }
.about-lead { color: var(--c-ink); font-size: 1.125rem; line-height: 1.65; max-width: 34em; margin-bottom: 1rem; }
.about-more { color: var(--c-muted); font-size: 1rem; line-height: 1.7; max-width: 36em; }

.about-media { position: relative; border-radius: var(--r-lg); background: var(--c-surface); border: 1px solid var(--c-border); padding: .9rem; max-width: 520px; width: 100%; margin-inline: auto; box-shadow: var(--shadow); }
.about-collage { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.about-collage-item { display: block; border-radius: var(--r); background: var(--c-bg); padding: .75rem; transition: transform var(--t) var(--ease); }
.about-collage-item:hover { transform: scale(1.02); }
.about-collage-item img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.about-tag { display: flex; align-items: center; gap: .75rem; margin-top: .75rem; padding: .8rem 1rem; border-radius: var(--r); background: var(--c-primary-deep); color: #fff; text-decoration: none; }
.about-tag:hover { background: var(--c-primary-hover); color: #fff; }
.about-tag > .icon:first-child { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: rgba(255,255,255,.12); color: #6ee7b7; }
.about-tag > span { flex: 1; min-width: 0; }
.about-tag strong { display: block; font-size: .95rem; line-height: 1.3; }
.about-tag span span { display: block; font-size: .82rem; color: #d1fae5; }
.about-tag-arrow { width: 18px; height: 18px; opacity: .7; }

.about-facts { list-style: none; padding: 0; margin: 1.5rem 0 1.75rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.about-facts li { display: grid; grid-template-columns: auto 1fr; column-gap: .75rem; align-items: center; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r); padding: .85rem 1rem; }
.about-facts .icon { grid-row: 1 / 3; width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--c-primary-tint); color: var(--c-primary); }
.about-facts strong { font-size: .95rem; line-height: 1.3; color: var(--c-ink); }
.about-facts span { font-size: .82rem; line-height: 1.4; color: var(--c-muted); }
.about-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

@media (max-width: 991.98px) {
    .about-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "media" "body"; }
    .about-head { text-align: left; }
    .about-media { max-width: none; margin: 1.25rem 0 0; padding: .6rem; box-shadow: var(--shadow-sm); }
    .about-collage { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; } /* slim photo strip instead of a tall 2×2 */
    .about-collage-item { padding: .4rem; border-radius: var(--r-sm); }
    .about-tag { margin-top: .6rem; }
    .about-body { margin-top: 1.5rem; }
    .about-facts { margin-top: 0; }
}
@media (max-width: 575.98px) {
    .about-lead { font-size: 1rem; line-height: 1.6; margin-bottom: 0; }
    .about-more { display: none; } /* kept in the page for search engines; phones get the key facts below instead */
    .about-body { margin-top: 1.25rem; }
    .about-facts { gap: .5rem; margin-bottom: 1.25rem; }
    .about-facts li { grid-template-columns: 1fr; row-gap: .15rem; padding: .75rem; }
    .about-facts .icon { grid-row: auto; width: 30px; height: 30px; padding: 6px; margin-bottom: .35rem; }
    .about-facts strong { font-size: .88rem; }
    .about-facts span { font-size: .78rem; }
    .about-actions .btn { flex: 1 1 100%; }
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.step { position: relative; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 1.75rem 1.5rem; }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: 1.25rem; right: 1.5rem; font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--c-primary-soft); line-height: 1; }
.step-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--c-primary); color: #fff; margin-bottom: 1.1rem; }
.step-icon .icon { width: 24px; height: 24px; }
.step h3 { font-family: var(--font-body); font-size: 1.1rem; letter-spacing: 0; color: var(--c-ink); }
.step p { color: var(--c-muted); margin: 0; font-size: .95rem; }
@media (max-width: 767.98px) { .steps { grid-template-columns: 1fr; gap: .75rem; } .step { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; padding: 1.25rem; } .step-icon { grid-row: 1 / 3; margin: 0; width: 46px; height: 46px; } .step h3 { margin-bottom: .2rem; } .step::before { display: none; } }

/* ---------- FAQ ---------- */
.faq details { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r); margin-bottom: .75rem; transition: border-color var(--t-fast), box-shadow var(--t); }
.faq details[open] { border-color: var(--c-border-strong); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 56px; padding: 1rem 1.25rem; font-weight: 700; color: var(--c-ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--c-primary); }
.faq-chevron { width: 32px; height: 32px; padding: 6px; border-radius: 50%; background: var(--c-primary-tint); color: var(--c-primary); transition: transform var(--t) var(--ease); }
.faq details[open] .faq-chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 1.25rem 1.2rem; color: var(--c-muted); }
.faq-answer p:last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.contact-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 1.75rem; display: flex; flex-direction: column; gap: .6rem; }
.contact-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--c-primary-tint); color: var(--c-primary); margin-bottom: .4rem; }
.contact-icon .icon { width: 24px; height: 24px; }
.contact-card h3 { font-family: var(--font-body); font-size: 1.1rem; letter-spacing: 0; margin: 0; color: var(--c-ink); }
.contact-card p { color: var(--c-muted); margin: 0; overflow-wrap: anywhere; }
.contact-card .btn { margin-top: auto; align-self: flex-start; }
.hours-card { background: var(--c-primary-deep); border-color: var(--c-primary-deep); color: #ecfdf5; }
.hours-card h3 { color: #fff; }
.hours-card .contact-icon { background: rgba(255,255,255,.12); color: #6ee7b7; }
.hours-list { list-style: none; padding: 0; margin: 0; }
.hours-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: .95rem; }
.hours-list li:last-child { border-bottom: 0; }
@media (max-width: 991.98px) { .contact-grid { grid-template-columns: 1fr 1fr; } .hours-card { grid-column: 1 / -1; } }
@media (max-width: 575.98px) { .contact-grid { grid-template-columns: 1fr; gap: .75rem; } .contact-card { padding: 1.25rem; } .contact-card .btn { align-self: stretch; } }

/* ---------- Footer ---------- */
/* Desktop: Shopify-style — logo block + plain link columns, divider, bottom row with legal + round social icons.
   Phones: Apple-style — link groups become tap-to-open rows. Sans-serif throughout for a clean, quiet footer. */
.site-footer { background: var(--c-primary-ink); color: rgba(255,255,255,.7); font-size: .95rem; line-height: 1.5; padding-top: clamp(3rem, 6vw, 4.5rem); }
.site-footer a { color: rgba(255,255,255,.7); text-decoration: none; transition: color var(--t-fast) var(--ease); }
.site-footer a:hover { color: #fff; }

.footer-top { display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); gap: 2.5rem 3rem; padding-bottom: clamp(2.5rem, 5vw, 3.5rem); border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-logo { display: inline-flex; align-items: center; gap: .75rem; }
.site-footer .footer-logo { color: #fff; }
.footer-logo img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.footer-logo span { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; }
.footer-brand p { max-width: 300px; margin: 1rem 0 1.25rem; font-size: .92rem; line-height: 1.6; }
.site-footer .footer-chat { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; padding: .55rem 1rem; border: 1px solid rgba(255,255,255,.22); border-radius: var(--r-pill); color: #fff; font-weight: 600; font-size: .92rem; }
.site-footer .footer-chat:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); }
.footer-chat .icon:first-child { width: 20px; height: 20px; color: #4ade80; }
.footer-chat-arrow { width: 16px; height: 16px; transition: transform var(--t-fast) var(--ease); }
.footer-chat:hover .footer-chat-arrow { transform: translateX(3px); }

.footer-col summary { list-style: none; display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; font-size: 1rem; font-weight: 600; color: #fff; cursor: default; }
.footer-col summary::-webkit-details-marker { display: none; }
.footer-chevron { display: none; width: 20px; height: 20px; color: rgba(255,255,255,.6); transition: transform var(--t) var(--ease); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.footer-links a, .footer-links span { font-size: .95rem; overflow-wrap: anywhere; }
.footer-links span { color: rgba(255,255,255,.55); }

.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; padding-block: 1.75rem 1.25rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: .35rem 1.75rem; margin: 0; font-size: .875rem; color: rgba(255,255,255,.6); }
.footer-social { display: flex; gap: .75rem; list-style: none; padding: 0; margin: 0; }
.site-footer .footer-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--c-primary-ink); transition: transform var(--t-fast) var(--ease), background-color var(--t-fast); }
.footer-social a .icon { width: 20px; height: 20px; }
.site-footer .footer-social a:hover { background: #d1fae5; color: var(--c-primary-ink); transform: translateY(-2px); }
.footer-disclaimer { margin: 0; padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px)); max-width: 880px; font-size: .78rem; line-height: 1.6; color: rgba(255,255,255,.45); }
.footer-credit { display: block; margin-top: .5rem; }
.site-footer .footer-credit a { color: rgba(255,255,255,.6); text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 991.98px) {
    .footer-top { grid-template-columns: minmax(0, .8fr) minmax(0, .8fr) minmax(0, 1.4fr); gap: 2.5rem 2rem; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 767.98px) {
    .footer-top { grid-template-columns: 1fr; gap: 0; padding-bottom: 0; border-bottom: 0; }
    .footer-brand { margin-bottom: 1.75rem; }
    .footer-brand p { max-width: none; }
    .site-footer .footer-chat { width: 100%; justify-content: center; }
    .footer-col { border-top: 1px solid rgba(255,255,255,.12); }
    .footer-col:last-of-type { border-bottom: 1px solid rgba(255,255,255,.12); }
    .footer-col summary { min-height: 56px; margin: 0; cursor: pointer; }
    .footer-chevron { display: block; }
    .footer-col[open] .footer-chevron { transform: rotate(180deg); }
    .footer-links { gap: 0; padding-bottom: .75rem; }
    .footer-links a, .footer-links span { display: flex; align-items: center; min-height: 44px; }
    .footer-bottom { flex-direction: column-reverse; align-items: flex-start; padding-top: 1.75rem; }
    .footer-legal { flex-direction: column; gap: .3rem; }
    .footer-disclaimer { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)); } /* room for the WhatsApp button */
}

.whatsapp-fab {
    position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 1040; width: 56px; height: 56px; border-radius: 50%;
    display: grid; place-items: center; background: #25d366; color: #052e16; box-shadow: 0 12px 28px -8px rgba(18, 140, 74, .6);
    transition: transform var(--t-fast) var(--ease), background-color var(--t-fast);
}
.whatsapp-fab .icon { width: 30px; height: 30px; }
.whatsapp-fab:hover { transform: scale(1.06); background: #1ebe5b; color: #052e16; }

/* ---------- Inner page shells ---------- */
.page-hero { padding-block: clamp(1.75rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2rem); }
.page-hero h1 { font-size: clamp(1.9rem, 4.5vw, 2.75rem); margin-bottom: .35rem; }
.page-hero p { color: var(--c-muted); margin: 0; }
.page-body { padding-bottom: clamp(3rem, 6vw, 5rem); }
.panel { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow-sm); }
.panel + .panel { margin-top: 1.25rem; }
.panel-title { font-family: var(--font-body); font-size: 1.1rem; letter-spacing: 0; display: flex; align-items: center; gap: .6rem; margin-bottom: 1.25rem; color: var(--c-ink); }
.panel-title .icon { width: 22px; height: 22px; color: var(--c-primary); }
.breadcrumb { --bs-breadcrumb-divider-color: var(--c-muted); --bs-breadcrumb-item-active-color: var(--c-muted); font-size: .9rem; margin-bottom: 1rem; }
.breadcrumb a { color: var(--c-primary); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Product detail ---------- */
.pd-media { position: sticky; top: calc(var(--header-h) + 1.5rem); aspect-ratio: 1; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--c-border); padding: clamp(1.5rem, 4vw, 3rem); }
.pd-media img { width: 100%; height: 100%; object-fit: contain; }
.pd-title { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: .5rem; }
.pd-price { font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 800; color: var(--c-primary-deep); margin-bottom: 1.5rem; }
.pd-desc { font-size: 1.05rem; color: var(--c-muted); }
.pd-desc ul { padding-left: 1.2rem; }
.pd-buy { display: flex; flex-wrap: wrap; gap: .75rem; align-items: stretch; margin: 1.75rem 0 .75rem; }
.pd-buy .btn { flex: 1 1 220px; }
.qty-stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--c-border); background: var(--c-surface); border-radius: var(--r-pill); padding: 3px; }
.qty-stepper button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--c-primary-deep); }
.qty-stepper button .icon { width: 18px; height: 18px; }
.qty-stepper button:hover:not(:disabled) { background: var(--c-primary-tint); }
.qty-stepper button:disabled { opacity: .35; cursor: not-allowed; }
.qty-stepper input, .qty-stepper output { width: 44px; border: 0; text-align: center; font-weight: 700; font-size: 1.05rem; background: transparent; -moz-appearance: textfield; appearance: textfield; padding: 0; }
.qty-stepper input:focus { outline: none; }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pd-assurances { list-style: none; padding: 1.25rem 0 0; margin: 1.25rem 0 0; border-top: 1px solid var(--c-border); display: grid; gap: .85rem; }
.pd-assurances li { display: flex; gap: .75rem; align-items: center; color: var(--c-muted); font-size: .95rem; }
.pd-assurances .icon { width: 22px; height: 22px; color: var(--c-primary); }
@media (max-width: 991.98px) { .pd-media { position: static; max-width: 520px; margin-inline: auto; } }
@media (max-width: 575.98px) { .pd-buy .qty-stepper { justify-content: space-between; width: 100%; } .pd-buy .btn { flex-basis: 100%; } }

/* ---------- Cart ---------- */
.cart-list { display: grid; gap: .75rem; }
.cart-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 1rem 1.25rem; align-items: center; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 1rem; transition: opacity var(--t), transform var(--t); }
.cart-item.is-removing { opacity: 0; transform: translateX(20px); }
.cart-thumb { width: 96px; height: 96px; border-radius: var(--r); background: #fff; border: 1px solid var(--c-border); padding: .4rem; }
.cart-thumb img { width: 100%; height: 100%; object-fit: contain; }
.cart-info h2 { font-family: var(--font-body); font-size: 1.05rem; letter-spacing: 0; margin-bottom: .2rem; }
.cart-info h2 a { color: var(--c-ink); text-decoration: none; }
.cart-info h2 a:hover { color: var(--c-primary); }
.cart-info .unit-price { color: var(--c-muted); font-size: .9rem; margin: 0; }
.cart-controls { display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; }
.cart-line-total { font-weight: 800; color: var(--c-primary-deep); font-size: 1.05rem; }
.cart-remove { display: inline-flex; align-items: center; gap: .35rem; min-height: 36px; border: 0; background: none; color: var(--c-muted); font-size: .85rem; font-weight: 600; padding: .25rem .5rem; border-radius: var(--r-sm); }
.cart-remove .icon { width: 16px; height: 16px; }
.cart-remove:hover { color: var(--c-danger); background: #fef2f2; }
.summary-card { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.summary-row { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; color: var(--c-muted); }
.summary-row.total { border-top: 1px solid var(--c-border); margin-top: .5rem; padding-top: 1rem; color: var(--c-primary-deep); font-weight: 800; font-size: 1.25rem; }
.summary-items { list-style: none; padding: 0; margin: 0 0 .5rem; }
.summary-items li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed var(--c-border); font-size: .92rem; }
.secure-note { display: flex; align-items: flex-start; gap: .6rem; font-size: .85rem; line-height: 1.5; color: var(--c-muted); margin: 1rem 0 0; padding: .75rem .9rem; border-radius: var(--r-sm); background: var(--c-primary-tint); }
.secure-note .icon { width: 18px; height: 18px; color: var(--c-primary); margin-top: .05rem; }
@media (max-width: 575.98px) {
    .cart-item { grid-template-columns: 72px 1fr; padding: .85rem; }
    .cart-thumb { width: 72px; height: 72px; }
    .cart-controls { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; border-top: 1px solid var(--c-border); padding-top: .75rem; }
}
@media (max-width: 991.98px) { .summary-card { position: static; } }

/* ---------- Auth ---------- */
/* Full-screen split: form panel + brand visual. No site header/footer on these pages. */
.layout-auth { background: var(--c-surface); }
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); min-height: 100vh; min-height: 100dvh; }
.auth-panel { display: flex; flex-direction: column; padding: clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 5vw, 4rem) calc(1.5rem + env(safe-area-inset-bottom, 0px)); }
.auth-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.auth-top .navbar-brand { margin: 0; }
.auth-back { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: 0 .9rem; border-radius: var(--r-pill); color: var(--c-muted); font-weight: 600; font-size: .92rem; text-decoration: none; }
.auth-back:hover { background: var(--c-primary-tint); color: var(--c-primary-deep); }
.auth-back .icon { width: 18px; height: 18px; }
.auth-card { width: 100%; max-width: 420px; margin: auto; padding-block: clamp(2rem, 6vh, 4rem); }
.auth-card h1 { font-size: clamp(1.9rem, 3vw, 2.4rem); margin-bottom: .4rem; }
.auth-card .lead-muted { color: var(--c-muted); margin-bottom: 2rem; font-size: 1.02rem; }
.auth-card .alert .icon { width: 20px; height: 20px; margin-top: .1rem; }
.auth-divider { display: flex; align-items: center; gap: 1rem; margin: 1.75rem 0 1rem; color: var(--c-muted); font-size: .88rem; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--c-border); }
.auth-foot { display: flex; align-items: center; justify-content: center; gap: .4rem; margin: 0; color: var(--c-muted); font-size: .82rem; }
.auth-foot .icon { width: 15px; height: 15px; color: var(--c-primary); }

.auth-visual { position: relative; overflow: hidden; margin: .75rem .75rem .75rem 0; border-radius: var(--r-lg);
    background: radial-gradient(600px 400px at 80% 0%, rgba(52, 211, 153, .35), transparent 60%), radial-gradient(500px 360px at 0% 100%, rgba(234, 88, 12, .25), transparent 60%), linear-gradient(160deg, #064e3b, #022c22); color: #fff; }
.auth-visual-inner { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(2rem, 4vw, 3.5rem); }
.auth-float { position: relative; flex: 1; min-height: 320px; }
.auth-float-card { position: absolute; width: clamp(150px, 16vw, 210px); background: rgba(255,255,255,.96); border-radius: var(--r); padding: .75rem .75rem .6rem; box-shadow: 0 30px 60px -25px rgba(0,0,0,.6); animation: hh-float 7s ease-in-out infinite; }
.auth-float-card img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.auth-float-card span { display: block; margin-top: .4rem; font-size: .78rem; font-weight: 700; color: var(--c-primary-deep); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.auth-float-card--1 { top: 8%; left: 8%; transform: rotate(-6deg); }
.auth-float-card--2 { top: 2%; right: 10%; transform: rotate(5deg); animation-delay: -2.5s; }
.auth-float-card--3 { top: 38%; left: 36%; transform: rotate(-2deg); animation-delay: -5s; }
@keyframes hh-float { 50% { translate: 0 -10px; } }
.auth-visual-copy h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: .6rem; max-width: 480px; }
.auth-visual-copy p { color: #d1fae5; font-size: 1.05rem; max-width: 460px; }
.auth-visual-copy ul { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.auth-visual-copy li { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .9rem; border-radius: var(--r-pill); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); font-size: .88rem; font-weight: 600; }
.auth-visual-copy li .icon { width: 16px; height: 16px; color: #6ee7b7; }
@media (max-width: 991.98px) {
    .auth { grid-template-columns: 1fr; }
    .auth-visual { display: none; }
    .auth-card { padding-block: 2rem; }
}
@media (max-width: 575.98px) { .auth-back span { display: none; } .auth-back { width: 44px; justify-content: center; padding: 0; } }

/* ---------- Checkout focus header & mini footer ---------- */
.focus-header { background: var(--c-surface); border-bottom: 1px solid var(--c-border); }
.focus-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.focus-header .navbar-brand { margin: 0; }
.focus-secure { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .9rem; color: var(--c-primary-deep); }
.focus-secure .icon { width: 18px; height: 18px; color: var(--c-primary); }
.focus-back { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: 0 .9rem; border-radius: var(--r-pill); color: var(--c-muted); font-weight: 600; font-size: .92rem; text-decoration: none; }
.focus-back:hover { background: var(--c-primary-tint); color: var(--c-primary-deep); }
.focus-back .icon { width: 18px; height: 18px; }
@media (max-width: 575.98px) { .focus-header .brand-text, .focus-back span { display: none; } .focus-back { width: 44px; padding: 0; justify-content: center; } }

.layout-account, .layout-checkout { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.layout-account > main, .layout-checkout > main { flex: 1 0 auto; }
.mini-footer { border-top: 1px solid var(--c-border); background: var(--c-surface); font-size: .88rem; color: var(--c-muted); }
.mini-footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; padding-block: 1.25rem calc(1.25rem + env(safe-area-inset-bottom, 0px)); }
.mini-footer p { margin: 0; }
.mini-footer nav { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.mini-footer a { display: inline-flex; align-items: center; gap: .35rem; min-height: 40px; color: var(--c-muted); font-weight: 600; text-decoration: none; }
.mini-footer a:hover { color: var(--c-primary); }
.mini-footer .icon { width: 16px; height: 16px; }
@media (max-width: 575.98px) { .mini-footer-inner { flex-direction: column-reverse; align-items: flex-start; } }

.shipping-fields { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px dashed var(--c-border); }
.mobile-summary { margin-top: 1.25rem; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r); }
.mobile-summary summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; padding: .75rem 1rem; }
.mobile-summary summary::-webkit-details-marker { display: none; }
.mobile-summary-label { display: inline-flex; align-items: center; gap: .5rem; color: var(--c-primary); font-weight: 700; font-size: .92rem; }
.mobile-summary-label .icon { width: 18px; height: 18px; }
.mobile-summary-chevron { transition: transform var(--t) var(--ease); }
.mobile-summary[open] .mobile-summary-chevron { transform: rotate(180deg); }
.mobile-summary summary strong { font-size: 1.1rem; color: var(--c-primary-deep); }
.mobile-summary .summary-items { padding: 0 1rem .5rem; margin: 0; border-top: 1px solid var(--c-border); }

/* ---------- Checkout progress ---------- */
.checkout-steps { display: flex; align-items: center; list-style: none; padding: 0; margin: 0 0 1.5rem; max-width: 460px; counter-reset: none; }
.checkout-steps li { display: flex; align-items: center; gap: .5rem; flex: 1; color: var(--c-muted); font-weight: 600; font-size: .88rem; white-space: nowrap; }
.checkout-steps li:not(:last-child)::after { content: ""; flex: 1; height: 2px; background: var(--c-border); margin: 0 .6rem; border-radius: 2px; min-width: 16px; }
.checkout-steps li:last-child { flex: 0 0 auto; }
.checkout-steps .step-dot { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--c-surface); border: 1.5px solid var(--c-border); flex-shrink: 0; }
.checkout-steps .step-dot .icon { width: 16px; height: 16px; }
.checkout-steps .is-current { color: var(--c-primary-deep); }
.checkout-steps .is-current .step-dot { background: var(--c-primary); border-color: var(--c-primary); color: #fff; box-shadow: 0 0 0 4px var(--c-primary-soft); }
.checkout-steps .is-done { color: var(--c-primary); }
.checkout-steps .is-done .step-dot { background: var(--c-primary-soft); border-color: var(--c-primary-soft); color: var(--c-primary); }
.checkout-steps .is-done::after { background: var(--c-primary) !important; }
@media (max-width: 380px) { .checkout-steps .step-label { display: none; } .checkout-steps li.is-current .step-label { display: inline; } }

/* ---------- Product page: sticky buy bar (phones only) ---------- */
.buy-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1035; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: .75rem var(--gutter) calc(.75rem + env(safe-area-inset-bottom, 0px)); background: rgba(255,255,255,.96);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--c-border); box-shadow: 0 -12px 30px -18px rgba(6,78,59,.35);
    transform: translateY(110%); transition: transform var(--t) var(--ease); }
.buy-bar.is-visible { transform: none; }
.buy-bar-info { display: flex; flex-direction: column; min-width: 0; }
.buy-bar-name { font-weight: 700; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buy-bar-price { font-weight: 800; color: var(--c-primary-deep); }
.buy-bar .btn { flex-shrink: 0; }
@media (min-width: 992px) { .buy-bar { display: none; } }
@media (max-width: 991.98px) { .layout-store:has(.buy-bar.is-visible) .whatsapp-fab { transform: translateY(-76px); } }

/* ---------- Profile ---------- */
.profile-head { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }
.avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--c-primary-soft); background: var(--c-primary-tint); flex-shrink: 0; }
.avatar-initials { display: grid; place-items: center; font-family: var(--font-display); font-size: 2.2rem; color: var(--c-primary); }
.profile-head h2 { font-size: 1.6rem; margin: 0; overflow-wrap: anywhere; }
.profile-head p { color: var(--c-muted); margin: 0; overflow-wrap: anywhere; }
.detail-list { margin: 0; }
.detail-list div { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--c-border); }
.detail-list div:last-child { border-bottom: 0; }
.detail-list dt { font-weight: 600; color: var(--c-muted); }
.detail-list dd { margin: 0; text-align: right; overflow-wrap: anywhere; font-weight: 600; }
.quick-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .75rem; }
.quick-link { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; border-radius: var(--r); border: 1px solid var(--c-border); background: var(--c-surface); color: var(--c-ink); text-decoration: none; font-weight: 700; transition: border-color var(--t-fast), transform var(--t-fast); }
.quick-link:hover { border-color: var(--c-primary); transform: translateY(-2px); color: var(--c-primary-deep); }
.quick-link .icon { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--c-primary-tint); color: var(--c-primary); }
.upload-zone { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* ---------- Orders ---------- */
.order-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); overflow: hidden; }
.order-card + .order-card { margin-top: 1rem; }
.order-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem 1.5rem; padding: 1rem 1.25rem; background: var(--c-primary-tint); border-bottom: 1px solid var(--c-border); }
.order-head dl { display: flex; flex-wrap: wrap; gap: .5rem 2rem; margin: 0; }
.order-head dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--c-muted); font-weight: 700; }
.order-head dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.order-items { list-style: none; margin: 0; padding: .5rem 1.25rem; }
.order-items li { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px dashed var(--c-border); }
.order-items li:last-child { border-bottom: 0; }
.status-pill { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .8rem; border-radius: var(--r-pill); font-size: .8rem; font-weight: 800; text-transform: capitalize; }
.status-successful { background: var(--c-primary-soft); color: var(--c-primary-deep); }
.status-pending { background: var(--c-accent-soft); color: #7c2d12; }
.status-failed { background: #fee2e2; color: var(--c-danger); }

/* ---------- Result pages ---------- */
.result-card { max-width: 560px; margin: clamp(2.5rem, 8vw, 5rem) auto; text-align: center; }
.result-icon { display: inline-grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; background: var(--c-primary-soft); color: var(--c-primary); margin-bottom: 1.5rem; }
.result-icon .icon { width: 40px; height: 40px; }
.result-card h1 { font-size: clamp(2rem, 5vw, 2.6rem); }
.result-card p { color: var(--c-muted); font-size: 1.05rem; }
.result-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 2rem; }

/* ---------- Motion ---------- */
.reveal-pending { opacity: 0; transform: translateY(16px); }
.reveal-pending.is-visible { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease); }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .reveal-pending { opacity: 1; transform: none; }
}
