/* ==========================================================
   Loomora storefront
   Forest Green  - header, nav, footer, primary buttons
   Warm Ivory    - page backgrounds, banners, storytelling
   Soft Gold     - small highlights, icons, promotional accents
   Charcoal      - body text, prices, headings
   ========================================================== */
:root {
    --green: #173F35;
    --green-900: #0F2B24;
    --green-700: #1F5245;
    --green-50: #E8EFEC;
    --ivory: #F6F0E5;
    --ivory-50: #FBF8F2;
    --ivory-200: #EDE4D3;
    --gold: #D6B779;
    --gold-600: #A9894D;
    --gold-100: #F4EBD6;
    --charcoal: #292B28;
    --muted: #6B6D67;
    --line: #E6DCC9;
    --danger: #B4432F;
    --success: #2F7A55;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(41, 43, 40, .05);
    --shadow: 0 10px 30px rgba(23, 63, 53, .08);
    --shadow-lg: 0 20px 50px rgba(23, 63, 53, .14);
    --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background: var(--ivory);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* side-sliding scroll animations must never widen the page; clip keeps position: sticky working */
#content, .site-footer, .trust-strip { overflow-x: clip; }

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-700); }

h1, h2, h3, h4 { color: var(--charcoal); }

::selection { background: var(--gold); color: var(--charcoal); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.skip-link {
    position: absolute; left: -999px; top: 8px; z-index: 2000;
    background: var(--charcoal); color: #fff; padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { left: 8px; color: #fff; }

.fw-500 { font-weight: 500; }
.text-gold { color: var(--gold-600) !important; }

/* ---------- buttons ---------- */
.btn {
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: .92rem;
    padding: .7rem 1.25rem;
    transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn-lg { padding: .9rem 1.6rem; font-size: 1rem; }
.btn-sm { padding: .45rem .85rem; font-size: .82rem; }
.btn:active { transform: translateY(1px); }

.btn-green { background: var(--green); color: #fff; border: 1px solid var(--green); }
.btn-green:hover, .btn-green:focus { background: var(--green-700); border-color: var(--green-700); color: #fff; box-shadow: 0 8px 20px rgba(23, 63, 53, .22); }

.btn-gold { background: var(--gold); color: var(--charcoal); border: 1px solid var(--gold); }
.btn-gold:hover, .btn-gold:focus { background: #e2c78f; border-color: #e2c78f; color: var(--charcoal); box-shadow: 0 8px 20px rgba(214, 183, 121, .35); }

.btn-outline-green { border: 1.5px solid var(--green); color: var(--green); background: transparent; }
.btn-outline-green:hover { background: var(--green); color: #fff; }

.btn-outline-ivory { border: 1.5px solid rgba(246, 240, 229, .5); color: var(--ivory); background: transparent; }
.btn-outline-ivory:hover { background: var(--ivory); border-color: var(--ivory); color: var(--green); }

.btn-link { color: var(--muted); text-decoration: none; }

.form-control, .form-select {
    border-radius: var(--radius-sm);
    border-color: var(--line);
    padding: .65rem .9rem;
    background-color: #fff;
}
.form-control:focus, .form-select:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 .2rem rgba(23, 63, 53, .12);
}
.form-control-sm, .form-select-sm { padding: .4rem .7rem; }
.form-label { font-size: .85rem; font-weight: 600; color: var(--charcoal); margin-bottom: .35rem; }
.form-check-input:checked { background-color: var(--green); border-color: var(--green); }
.form-check-input:focus { box-shadow: 0 0 0 .2rem rgba(23, 63, 53, .15); border-color: var(--green); }

.breadcrumb { font-size: .82rem; margin-bottom: .75rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb-item.active { color: var(--charcoal); }

.pagination .page-link { color: var(--charcoal); border-color: var(--line); margin: 0 3px; border-radius: 8px !important; }
.pagination .page-item.active .page-link { background: var(--green); border-color: var(--green); color: #fff; }

/* ---------- header ---------- */
.announcement {
    background: var(--green-900);
    color: var(--ivory);
    font-size: .8rem;
    text-align: center;
    padding: .5rem 0;
    letter-spacing: .02em;
}
.announcement i { color: var(--gold); margin-right: .4rem; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--green);
    transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(15, 43, 36, .25); }

.header-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 72px;
}

.brand { display: inline-flex; align-items: center; gap: .65rem; }
.brand img { border-radius: 10px; }
.brand-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.55rem;
    letter-spacing: .22em;
    color: var(--ivory);
    line-height: 1;
}

.main-nav { margin: 0 auto; gap: .25rem; align-items: center; }
.main-nav > a, .main-nav .dropdown > a {
    color: rgba(246, 240, 229, .85);
    font-size: .9rem;
    font-weight: 500;
    padding: .5rem .85rem;
    position: relative;
    display: inline-block;
}
.main-nav > a::after, .main-nav .dropdown > a::after {
    content: '';
    position: absolute;
    left: .85rem; right: .85rem; bottom: .15rem;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s;
    border: 0;
    margin: 0;
}
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav .dropdown-toggle::after { display: block; }
.nav-sale { color: var(--gold) !important; }

.nav-dropdown {
    border: 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: .5rem;
    min-width: 220px;
    margin-top: .5rem !important;
}
.nav-dropdown .dropdown-item { border-radius: 8px; padding: .55rem .8rem; font-size: .9rem; color: var(--charcoal); }
.nav-dropdown .dropdown-item:hover { background: var(--ivory); color: var(--green); }

.header-actions { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.main-nav + .header-actions { margin-left: 0; }

.icon-btn {
    width: 42px; height: 42px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    border: 0;
    background: transparent;
    color: var(--ivory);
    font-size: 1.05rem;
    position: relative;
    transition: background-color .2s;
}
.icon-btn:hover { background: rgba(246, 240, 229, .1); color: #fff; }

.cart-count {
    position: absolute; top: 2px; right: 0;
    min-width: 19px; height: 19px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--gold);
    color: var(--charcoal);
    font-size: .68rem;
    font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
}
.cart-count.bump { animation: bump .4s ease; }
@keyframes bump { 50% { transform: scale(1.35); } }

.search-bar { background: var(--green-900); }
.search-form {
    display: flex; align-items: center; gap: .75rem;
    padding: .85rem 0;
    color: rgba(246, 240, 229, .6);
}
.search-form input {
    flex: 1;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(246, 240, 229, .25);
    color: var(--ivory);
    padding: .5rem 0;
    font-size: 1rem;
    outline: none;
}
.search-form input::placeholder { color: rgba(246, 240, 229, .5); }
.search-form input:focus { border-bottom-color: var(--gold); }

.mobile-menu { background: var(--green); color: var(--ivory); max-width: 86vw; }
.mobile-menu .offcanvas-header { border-bottom: 1px solid rgba(246, 240, 229, .1); }
.mobile-nav a { display: block; color: var(--ivory); padding: .7rem 0; font-size: 1.05rem; }
.mobile-nav a.sub { padding-left: 1rem; font-size: .95rem; color: rgba(246, 240, 229, .8); }
.mobile-nav-label { margin-top: .75rem; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.mobile-nav hr { border-color: rgba(246, 240, 229, .2); }

/* ---------- typography helpers ---------- */
.eyebrow {
    display: inline-block;
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .9rem;
}
.eyebrow::before {
    content: '';
    display: inline-block;
    width: 26px; height: 1.5px;
    background: currentColor;
    vertical-align: middle;
    margin-right: .6rem;
}
.eyebrow-dark { color: var(--gold-600); }

.section { padding: 5rem 0; }
.section-tint { background: var(--ivory-50); }
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.6vw, 2.9rem);
    font-weight: 600;
    line-height: 1.1;
    margin: 0;
}
.section-head {
    display: flex; flex-wrap: wrap; gap: 1rem;
    justify-content: space-between; align-items: flex-end;
    margin-bottom: 2.5rem;
}
.link-arrow { font-weight: 600; font-size: .92rem; display: inline-flex; gap: .5rem; align-items: center; }
.link-arrow i { transition: transform .2s; font-size: .8rem; }
.link-arrow:hover i { transform: translateX(4px); }
.lead-text { font-size: 1.05rem; line-height: 1.8; color: var(--muted); margin-top: 1.25rem; }

/* ---------- hero ---------- */
.hero {
    background: var(--green) url('../images/store/pattern.svg');
    color: var(--ivory);
    padding: 4.5rem 0 5rem;
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute;
    width: 520px; height: 520px;
    right: -160px; top: -160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(214, 183, 121, .18), transparent 70%);
    pointer-events: none;
}
.hero-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(3rem, 7vw, 5.2rem);
    line-height: 1;
    color: var(--ivory);
    margin-bottom: 1rem;
    letter-spacing: -.01em;
}
.hero-tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    color: var(--gold);
    margin-bottom: 1.25rem;
}
.hero-text { color: rgba(246, 240, 229, .78); font-size: 1.05rem; line-height: 1.75; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.75rem; font-size: .88rem; color: rgba(246, 240, 229, .8); }
.hero-points i { color: var(--gold); margin-right: .35rem; }

.hero-visual { position: relative; max-width: 520px; margin: 0 auto; }
.hero-visual > img { width: 100%; height: auto; display: block; }
.hero-float {
    position: absolute;
    display: flex; align-items: center; gap: .75rem;
    background: #fff;
    color: var(--charcoal);
    border-radius: var(--radius);
    padding: .8rem 1rem;
    box-shadow: var(--shadow-lg);
    font-size: .8rem;
    animation: float 5s ease-in-out infinite;
}
.hero-float i {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--gold-100);
    color: var(--gold-600);
    display: inline-flex; align-items: center; justify-content: center;
}
.hero-float strong { display: block; font-size: .88rem; }
.hero-float span { color: var(--muted); }
.hero-float-1 { top: 22%; left: -6%; }
.hero-float-2 { bottom: 14%; right: -4%; animation-delay: -2.5s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- categories ---------- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(var(--cat-cols, 4), minmax(0, 1fr));
    gap: 1rem;
}
.category-card {
    position: relative;
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform .3s, box-shadow .3s;
}
.category-card img { width: 100%; aspect-ratio: 1; display: block; object-fit: cover; transition: transform .6s; }
.category-card-body {
    padding: .75rem .9rem .9rem;
    background: #fff;
}
.category-card-body h3 { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.15; font-weight: 600; color: var(--charcoal); margin: 0 0 .2rem; }
.category-card-body span { font-size: .78rem; color: var(--gold-600); font-weight: 600; }
.category-card-body span i { font-size: .7rem; margin-left: .25rem; transition: transform .2s; }
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.category-card:hover img { transform: scale(1.06); }
.category-card:hover span i { transform: translateX(4px); }

/* ---------- product grid & card ---------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.75rem 1.25rem;
}
.product-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.product-card { display: flex; flex-direction: column; }
.product-media {
    position: relative;
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--ivory-200);
    aspect-ratio: 4 / 5;
}
.product-media img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: opacity .5s, transform .7s;
}
.product-media img.secondary { opacity: 0; }
.product-card:hover .product-media img.primary { transform: scale(1.05); }
.product-card:hover .product-media img.secondary { opacity: 1; }
.product-card.is-sold-out .product-media img { filter: grayscale(.4); opacity: .75; }

.product-badges { position: absolute; top: .75rem; left: .75rem; display: flex; flex-direction: column; gap: .35rem; align-items: flex-start; }
.badge-chip {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .03em;
    padding: .3rem .6rem;
    border-radius: 999px;
}
.badge-gold { background: var(--gold); color: var(--charcoal); }
.badge-dark { background: var(--charcoal); color: #fff; }
.badge-light { background: rgba(255, 255, 255, .92); color: var(--danger); }

.quick-view {
    position: absolute; left: .75rem; right: .75rem; bottom: .75rem;
    background: rgba(255, 255, 255, .95);
    color: var(--green);
    font-size: .82rem;
    font-weight: 600;
    text-align: center;
    padding: .65rem;
    border-radius: var(--radius-sm);
    transform: translateY(130%);
    transition: transform .3s;
}
.quick-view i { font-size: .7rem; margin-left: .3rem; }
.product-card:hover .quick-view { transform: translateY(0); }

.product-info { padding: .9rem .15rem 0; }
.product-category { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); font-weight: 600; }
.product-name { font-size: 1rem; font-weight: 600; margin: .3rem 0 .4rem; line-height: 1.35; }
.product-name a { color: var(--charcoal); }
.product-name a:hover { color: var(--green); }
.product-price { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.product-price .price { font-weight: 700; color: var(--charcoal); }
.product-price .was { font-size: .85rem; color: var(--muted); text-decoration: line-through; }
.product-price .from { font-size: .78rem; color: var(--muted); }
.product-options { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .55rem; }
.product-options span {
    font-size: .7rem;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: .1rem .4rem;
    color: var(--muted);
    background: #fff;
}
.product-options span.out { text-decoration: line-through; opacity: .5; }

/* ---------- story / steps / cta ---------- */
.story-image { width: 100%; border-radius: 24px; box-shadow: var(--shadow); }
.story-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; margin-top: 2rem; }
.story-stats strong { display: block; font-family: var(--font-display); font-size: 2.2rem; color: var(--green); line-height: 1; }
.story-stats span { font-size: .82rem; color: var(--muted); }

.step {
    background: #fff;
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    height: 100%;
    position: relative;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--ivory-200);
    transition: transform .3s, box-shadow .3s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step > i {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: var(--green);
    color: var(--gold);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1.1rem;
}
.step h3 { font-size: 1.1rem; font-weight: 700; }
.step p { color: var(--muted); margin: 0; font-size: .92rem; line-height: 1.65; }
.step-number {
    position: absolute; top: 1.2rem; right: 1.5rem;
    font-family: var(--font-display);
    font-size: 3rem; font-weight: 600;
    color: var(--ivory-200);
    line-height: 1;
}

.cta-band { padding: 0 0 5rem; }
.cta-inner {
    background: var(--green) url('../images/store/pattern.svg');
    border-radius: 24px;
    padding: 2.75rem 3rem;
    display: flex; flex-wrap: wrap; gap: 1.5rem;
    justify-content: space-between; align-items: center;
    color: var(--ivory);
}
.cta-inner h2 { font-family: var(--font-display); font-size: 2.2rem; color: var(--ivory); margin: 0 0 .35rem; }
.cta-inner p { color: rgba(246, 240, 229, .75); margin: 0; }

/* ---------- trust strip & footer ---------- */
.trust-strip { background: var(--ivory-200); padding: 2.25rem 0; }
.trust-item { display: flex; align-items: center; gap: .9rem; }
.trust-item > i {
    width: 46px; height: 46px; flex-shrink: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--gold-600);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.05rem;
}
.trust-item strong { display: block; font-size: .92rem; }
.trust-item span { font-size: .8rem; color: var(--muted); }

.site-footer { background: var(--green); color: rgba(246, 240, 229, .75); padding-top: 4rem; font-size: .9rem; }
.site-footer .brand { display: inline-flex; }
.footer-tagline { font-family: var(--font-display); font-style: italic; color: var(--gold); font-size: 1.25rem; margin: .5rem 0; }
.footer-text { line-height: 1.7; max-width: 340px; }
.footer-title {
    font-size: .75rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 1.1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a, .footer-contact a { color: rgba(246, 240, 229, .78); transition: color .2s; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.footer-contact li { display: flex; gap: .75rem; margin-bottom: .7rem; }
.footer-contact i { color: var(--gold); width: 16px; margin-top: .2rem; }
.social-links { display: flex; gap: .5rem; margin-top: 1.25rem; }
.social-links a {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(246, 240, 229, .25);
    color: var(--ivory);
    display: inline-flex; align-items: center; justify-content: center;
    transition: all .2s;
}
.social-links a:hover { background: var(--gold); border-color: var(--gold); color: var(--charcoal); }
.pay-badges { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.pay-badges span {
    background: rgba(246, 240, 229, .08);
    border: 1px solid rgba(246, 240, 229, .15);
    border-radius: 6px;
    padding: .2rem .55rem;
    color: var(--ivory);
    font-size: 1.15rem;
    line-height: 1.3;
}
.pay-badges .text-badge, .text-badge { font-size: .7rem !important; font-weight: 700; letter-spacing: .04em; }
.footer-bottom {
    margin-top: 3.5rem;
    border-top: 1px solid rgba(246, 240, 229, .12);
    padding: 1.25rem 0;
    font-size: .8rem;
}
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }
.footer-bottom a { color: rgba(246, 240, 229, .75); margin-left: 1.25rem; }
.footer-bottom a:hover { color: #fff; }

.whatsapp-fab {
    position: fixed; right: 20px; bottom: 20px; z-index: 1020;
    width: 54px; height: 54px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    font-size: 1.6rem;
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, .35);
    transition: transform .2s;
}
.whatsapp-fab:hover { color: #fff; transform: scale(1.08); }

/* ---------- page banner ---------- */
.page-banner { background: var(--ivory-200); padding: 2.5rem 0 2.25rem; }
.page-banner-sm { padding: 2rem 0 1.75rem; }
.page-banner-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin: 0; line-height: 1.1; }
.page-banner-text { color: var(--muted); margin-top: .5rem; max-width: 640px; }

/* ---------- shop ---------- */
.filter-panel { background: #fff; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); position: sticky; top: 96px; }
.filter-group + .filter-group { border-top: 1px solid var(--ivory-200); margin-top: 1.25rem; padding-top: 1.25rem; }
.filter-title { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; margin-bottom: .9rem; }
.filter-list { list-style: none; padding: 0; margin: 0; }
.filter-list a {
    display: flex; justify-content: space-between;
    padding: .45rem .6rem;
    border-radius: 8px;
    color: var(--charcoal);
    font-size: .9rem;
}
.filter-list a span { color: var(--muted); font-size: .8rem; }
.filter-list a:hover { background: var(--ivory); }
.filter-list a.active { background: var(--green); color: #fff; }
.filter-list a.active span { color: var(--gold); }

.shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.shop-toolbar .form-select { width: auto; }

.empty-box {
    background: #fff;
    border-radius: var(--radius);
    padding: 4rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.empty-box > i {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: var(--ivory);
    color: var(--gold-600);
    font-size: 1.6rem;
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 1rem;
}
.empty-box h2 { font-family: var(--font-display); font-size: 2rem; }
.empty-box p { color: var(--muted); margin-bottom: 1.5rem; }

/* ---------- product page ---------- */
.product-page { padding: 2rem 0 4rem; }
.gallery-main {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--ivory-200);
    aspect-ratio: 4 / 5;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.gallery-badge { position: absolute; top: 1rem; left: 1rem; font-size: .8rem; }
.gallery-thumbs { display: flex; gap: .75rem; margin-top: .9rem; flex-wrap: wrap; }
.gallery-thumb {
    width: 84px;
    aspect-ratio: 4 / 5;
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    background: var(--ivory-200);
    opacity: .7;
    transition: all .2s;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--green); opacity: 1; }

.product-detail { position: sticky; top: 100px; }
.product-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 3.5vw, 2.8rem); line-height: 1.1; margin: .4rem 0 .9rem; }
.product-price-lg .price { font-size: 1.6rem; }
.product-price-lg .was { font-size: 1.05rem; }
.product-lead { color: var(--muted); line-height: 1.75; margin: 1rem 0 1.5rem; }

.option-picker { border: 0; padding: 0; margin: 0 0 1.25rem; }
.option-picker legend { font-size: .9rem; font-weight: 500; margin-bottom: .75rem; display: flex; justify-content: space-between; align-items: center; width: 100%; float: none; }
.size-guide-link { font-size: .82rem; text-decoration: underline; text-underline-offset: 3px; }
.option-chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.option-chip { position: relative; }
.option-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.option-chip span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 52px; height: 46px;
    padding: 0 .9rem;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    font-weight: 600;
    font-size: .9rem;
    transition: all .15s;
    cursor: pointer;
}
.option-chip:hover span { border-color: var(--green); }
.option-chip input:checked + span { background: var(--green); border-color: var(--green); color: #fff; box-shadow: 0 6px 14px rgba(23, 63, 53, .25); }
.option-chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.option-chip.is-out span {
    color: #aaa;
    background: repeating-linear-gradient(135deg, #fff, #fff 6px, #f4f0e8 6px, #f4f0e8 12px);
    text-decoration: line-through;
    cursor: not-allowed;
}
.option-error { color: var(--danger); font-size: .85rem; margin-top: .6rem; }
.option-picker.shake .option-chips { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

.stock-line { font-size: .9rem; margin-bottom: 1.25rem; font-weight: 500; }
.stock-ok { color: var(--success); }
.stock-low { color: #B7791F; }
.stock-out { color: var(--danger); }

.buy-row { display: flex; gap: .75rem; }
.qty-stepper {
    display: inline-flex; align-items: center;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    overflow: hidden;
}
.qty-stepper button { border: 0; background: transparent; width: 44px; height: 52px; color: var(--charcoal); }
.qty-stepper button:hover { background: var(--ivory); }
.qty-stepper input {
    width: 46px;
    border: 0;
    text-align: center;
    font-weight: 600;
    -moz-appearance: textfield;
    outline: none;
}
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-stepper-sm button { width: 34px; height: 38px; font-size: .75rem; }
.qty-stepper-sm input { width: 36px; font-size: .9rem; }

.perks { list-style: none; padding: 1.25rem 0; margin: 1.5rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.perks li { font-size: .88rem; color: var(--muted); padding: .3rem 0; }
.perks i { color: var(--gold-600); width: 24px; }

.product-accordion .accordion-item { background: transparent; border: 0; border-bottom: 1px solid var(--line); }
.product-accordion .accordion-button {
    background: transparent;
    font-weight: 600;
    color: var(--charcoal);
    padding: 1.1rem 0;
    box-shadow: none;
}
.product-accordion .accordion-button:not(.collapsed) { color: var(--green); }
.product-accordion .accordion-body { padding: 0 0 1.25rem; color: var(--muted); line-height: 1.75; font-size: .92rem; }

.mobile-buy-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1025;
    background: #fff;
    border-top: 1px solid var(--line);
    padding: .75rem 1rem;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    box-shadow: 0 -8px 24px rgba(41, 43, 40, .08);
    transform: translateY(100%);
    transition: transform .3s;
}
.mobile-buy-bar > div { min-width: 0; }
.mobile-buy-bar.show { transform: translateY(0); }
body:has(.mobile-buy-bar.show) .whatsapp-fab { bottom: 86px; }

/* ---------- cart & checkout ---------- */
.checkout-steps { display: flex; gap: .5rem; list-style: none; padding: 0; margin: 1rem 0 0; font-size: .82rem; flex-wrap: wrap; }
.checkout-steps li { color: var(--muted); display: flex; align-items: center; gap: .5rem; }
.checkout-steps li + li::before { content: ''; width: 28px; height: 1px; background: var(--line); }
.checkout-steps li.active { color: var(--green); font-weight: 700; }
.checkout-steps li.done { color: var(--charcoal); }
.checkout-steps li.done a { color: inherit; }

.notice {
    display: flex; gap: .75rem; align-items: flex-start;
    background: #fff;
    border-left: 3px solid var(--green);
    border-radius: var(--radius-sm);
    padding: .9rem 1.1rem;
    font-size: .9rem;
    box-shadow: var(--shadow-sm);
}
.notice i { color: var(--green); margin-top: .2rem; }
.notice-warning { border-left-color: var(--gold); }
.notice-warning i { color: var(--gold-600); }

.free-ship { background: #fff; border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 1rem; font-size: .9rem; box-shadow: var(--shadow-sm); }
.free-ship i { color: var(--gold-600); }
.free-ship-bar { height: 6px; background: var(--ivory-200); border-radius: 999px; margin-top: .65rem; overflow: hidden; }
.free-ship-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--gold)); border-radius: 999px; transition: width .6s; }

.cart-list { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.cart-item { display: flex; gap: 1.1rem; padding: 1.25rem; }
.cart-item + .cart-item { border-top: 1px solid var(--ivory-200); }
.cart-item-image { width: 96px; flex-shrink: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--ivory-200); aspect-ratio: 4 / 5; }
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.cart-item-top { display: flex; justify-content: space-between; gap: 1rem; }
.cart-item-name { font-weight: 600; color: var(--charcoal); }
.cart-item-option, .cart-item-unit { font-size: .82rem; color: var(--muted); }
.cart-item-bottom { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: .75rem; }
.cart-item-total { margin-left: auto; font-size: 1.05rem; }
.remove-btn { border: 0; background: transparent; color: var(--muted); width: 34px; height: 34px; border-radius: 50%; }
.remove-btn:hover { background: #fbeee9; color: var(--danger); }

.summary-card { background: #fff; border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); }
.summary-sticky { position: sticky; top: 96px; }
.summary-title { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; margin-bottom: 1.25rem; }
.summary-row { display: flex; justify-content: space-between; padding: .45rem 0; font-size: .92rem; color: var(--muted); }
.summary-row span:last-child { color: var(--charcoal); font-weight: 500; }
.summary-total { border-top: 1px solid var(--line); margin-top: .5rem; padding-top: 1rem; font-size: 1.15rem; color: var(--charcoal); font-weight: 700; }
.summary-total span:last-child { font-weight: 700; }
.summary-pay { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: 1rem; font-size: .78rem; color: var(--muted); }
.summary-pay i { font-size: 1.4rem; }
.summary-pay .text-badge { border: 1px solid var(--line); border-radius: 5px; padding: .1rem .4rem; }
.summary-items { list-style: none; padding: 0; margin: 0 0 1rem; max-height: 340px; overflow-y: auto; }
.summary-items li { display: flex; gap: .9rem; align-items: center; padding: .6rem 0; font-size: .9rem; }
.summary-items li + li { border-top: 1px solid var(--ivory-200); }
.summary-thumb { position: relative; width: 56px; flex-shrink: 0; }
.summary-thumb img { width: 56px; height: 70px; object-fit: cover; border-radius: 8px; background: var(--ivory-200); }
.summary-qty {
    position: absolute; top: -6px; right: -6px;
    min-width: 20px; height: 20px;
    border-radius: 999px;
    background: var(--charcoal); color: #fff;
    font-size: .7rem; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
}

.checkout-card { background: #fff; border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); margin-bottom: 1.25rem; }
.checkout-card-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 1.25rem; display: flex; align-items: center; gap: .65rem; }
.checkout-card-title > span {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--green); color: var(--gold);
    font-size: .8rem;
    display: inline-flex; align-items: center; justify-content: center;
}

.pay-options { display: grid; gap: .75rem; }
.pay-option { position: relative; cursor: pointer; margin: 0; }
.pay-option input { position: absolute; opacity: 0; }
.pay-option-body {
    display: flex; gap: 1rem; align-items: center;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 1rem 1.1rem;
    transition: all .15s;
}
.pay-option-body > i {
    width: 44px; height: 44px; flex-shrink: 0;
    border-radius: 10px;
    background: var(--ivory);
    color: var(--green);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
}
.pay-option-body strong { display: block; font-size: .95rem; }
.pay-option-body small { color: var(--muted); }
.pay-option-body::after {
    content: '';
    margin-left: auto;
    width: 20px; height: 20px; flex-shrink: 0;
    border-radius: 50%;
    border: 2px solid var(--line);
    transition: all .15s;
}
.pay-option:hover .pay-option-body { border-color: var(--green-700); }
.pay-option input:checked + .pay-option-body { border-color: var(--green); background: var(--green-50); }
.pay-option input:checked + .pay-option-body::after { border: 6px solid var(--green); }
.pay-option input:checked + .pay-option-body > i { background: var(--green); color: var(--gold); }
.pay-option input:focus-visible + .pay-option-body { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- order status ---------- */
.status-hero {
    display: flex; gap: 1.25rem; align-items: flex-start;
    background: var(--green);
    color: var(--ivory);
    border-radius: var(--radius);
    padding: 1.75rem;
    margin-bottom: 1.25rem;
}
.status-hero > i { font-size: 2.2rem; color: var(--gold); }
.status-hero h2 { font-family: var(--font-display); color: #fff; font-size: 1.9rem; margin: 0 0 .25rem; }
.status-hero p { margin: 0; color: rgba(246, 240, 229, .8); }
.status-hero a:not(.btn) { color: var(--gold); text-decoration: underline; }
.status-hero-warning { background: var(--charcoal); }
.status-hero-cancelled { background: #fff; color: var(--charcoal); border: 1px solid var(--line); }
.status-hero-cancelled > i { color: var(--danger); }
.status-hero-cancelled h2 { color: var(--charcoal); }
.status-hero-cancelled p { color: var(--muted); }
.status-hero-cancelled a:not(.btn) { color: var(--green); }

.progress-track { list-style: none; padding: 0; margin: 0; display: flex; justify-content: space-between; position: relative; }
.progress-track::before { content: ''; position: absolute; top: 20px; left: 10%; right: 10%; height: 2px; background: var(--ivory-200); }
.progress-track li { flex: 1; text-align: center; font-size: .8rem; color: var(--muted); position: relative; }
.progress-track li span {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--ivory-200);
    color: var(--muted);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto .5rem;
    position: relative;
}
.progress-track li.done span { background: var(--green); color: var(--gold); }
.progress-track li.done { color: var(--charcoal); font-weight: 600; }
.progress-track li.current span { box-shadow: 0 0 0 5px rgba(214, 183, 121, .35); }

.bank-details { margin: 0 0 1.25rem; background: var(--ivory-50); border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: .5rem 1.1rem; }
.bank-details > div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; font-size: .9rem; }
.bank-details > div + div { border-top: 1px solid var(--ivory-200); }
.bank-details dt { font-weight: 500; color: var(--muted); }
.bank-details dd { margin: 0; font-weight: 600; text-align: right; }
.copy-btn { border: 0; background: var(--ivory); color: var(--green); font-size: .75rem; border-radius: 6px; padding: .15rem .5rem; margin-left: .4rem; }

.dropzone {
    display: flex; flex-direction: column; align-items: center; gap: .35rem;
    border: 2px dashed var(--line);
    border-radius: var(--radius);
    padding: 1.75rem 1rem;
    text-align: center;
    cursor: pointer;
    position: relative;
    background: var(--ivory-50);
    transition: all .2s;
    margin: 0;
}
.dropzone > i { font-size: 1.6rem; color: var(--gold-600); }
.dropzone:hover, .dropzone.is-dragging { border-color: var(--green); background: var(--green-50); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone-sm { padding: 1.25rem 1rem; }

.status-chip { display: inline-block; font-size: .75rem; font-weight: 600; padding: .2rem .65rem; border-radius: 999px; background: var(--gold-100); color: #7a5f2b; }
.status-chip.ok { background: #e3f1e9; color: var(--success); }
.status-chip.bad { background: #f8e6e1; color: var(--danger); }

.order-list { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.order-row { display: grid; grid-template-columns: 1fr auto auto auto; gap: 1.25rem; align-items: center; padding: 1.1rem 1.4rem; color: var(--charcoal); }
.order-row + .order-row { border-top: 1px solid var(--ivory-200); }
.order-row:hover { background: var(--ivory-50); color: var(--charcoal); }

/* ---------- content pages ---------- */
.prose { line-height: 1.8; color: #4a4c47; }
.prose-narrow { max-width: 760px; background: #fff; border-radius: var(--radius); padding: 2.5rem; box-shadow: var(--shadow-sm); }
.prose h2:not(.section-title) { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; margin: 2rem 0 .75rem; }
.prose h2:first-child { margin-top: 0; }
.prose li { margin-bottom: .4rem; }
.prose li::marker { color: var(--gold-600); }
.size-table { font-size: .9rem; }
.size-table th { background: var(--green); color: var(--ivory); font-weight: 600; }
.size-table th:first-child { border-top-left-radius: 8px; }
.size-table th:last-child { border-top-right-radius: 8px; }

.contact-card { background: #fff; border-radius: var(--radius); padding: 2rem; text-align: center; box-shadow: var(--shadow-sm); height: 100%; }
.contact-card > i {
    width: 58px; height: 58px; border-radius: 50%;
    background: var(--green); color: var(--gold);
    font-size: 1.4rem;
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 1rem;
}
.contact-card h2 { font-size: 1.15rem; font-weight: 700; }
.contact-card p { color: var(--muted); }

/* ---------- toasts ---------- */
.toast-area {
    position: fixed; top: 92px; right: 20px; z-index: 1060;
    display: flex; flex-direction: column; gap: .6rem;
    width: min(360px, calc(100vw - 40px));
}
.flash {
    display: flex; gap: .75rem; align-items: flex-start;
    background: #fff;
    border-radius: var(--radius-sm);
    padding: .9rem 1rem;
    box-shadow: var(--shadow-lg);
    font-size: .9rem;
    border-left: 4px solid var(--green);
    animation: toastIn .35s ease;
}
.flash-success i { color: var(--success); }
.flash-warning { border-left-color: var(--gold); }
.flash-warning i { color: var(--gold-600); }
.flash i { margin-top: .15rem; }
.flash span { flex: 1; }
.flash-close { border: 0; background: transparent; font-size: 1.3rem; line-height: 1; color: var(--muted); padding: 0 .2rem; }
.flash.hide, .bag-toast.hide { animation: toastOut .3s ease forwards; }

.bag-toast { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 1rem; animation: toastIn .35s ease; }
.bag-toast-head { display: flex; justify-content: space-between; align-items: center; font-size: .88rem; font-weight: 600; margin-bottom: .75rem; }
.bag-toast-head i { color: var(--success); }
.bag-toast-item { display: flex; gap: .85rem; align-items: center; }
.bag-toast-item img { width: 60px; height: 75px; object-fit: cover; border-radius: 8px; background: var(--ivory-200); }
.bag-toast-name { font-weight: 600; font-size: .9rem; }
.bag-toast-option, .bag-toast-price { font-size: .82rem; color: var(--muted); }
.bag-toast-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .9rem; }

@keyframes toastIn { from { opacity: 0; transform: translateY(-10px); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(30px); } }

/* ---------- responsive ---------- */
@media (max-width: 1199.98px) {
    .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
    .category-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: .75rem;
        margin-right: -12px;
    }
    .category-card { flex: 0 0 170px; scroll-snap-align: start; }
    .section { padding: 3.5rem 0; }
    .hero { padding: 3rem 0 3.5rem; text-align: center; }
    .hero-text { margin-left: auto; margin-right: auto; }
    .hero-actions, .hero-points { justify-content: center; }
    .hero-eyebrow, .hero .eyebrow::before { display: none; }
    .hero-visual { max-width: 420px; }
    .header-inner { height: 64px; }
    .brand { margin-right: auto; }
    .product-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-detail, .filter-panel, .summary-sticky { position: static; }
    .cta-inner { padding: 2rem; text-align: center; justify-content: center; }
    .toast-area { top: 76px; }
}

@media (max-width: 575.98px) {
    .brand-name { font-size: 1.25rem; letter-spacing: .16em; }
    .brand img { width: 34px; height: 34px; }
    .icon-btn { width: 38px; height: 38px; }
    .product-grid, .product-grid-3 { gap: 1.25rem .75rem; }
    .product-name { font-size: .9rem; }
    .quick-view { display: none; }
    .hero-float { display: none; }
    .section-head { margin-bottom: 1.75rem; }
    .cart-item { padding: 1rem; gap: .85rem; }
    .cart-item-image { width: 76px; }
    .checkout-card, .summary-card { padding: 1.25rem; }
    .order-row { grid-template-columns: 1fr auto; }
    .order-row > strong, .order-row > i { display: none; }
    .prose-narrow { padding: 1.5rem; }
    .progress-track li { font-size: .7rem; }
    .story-stats { gap: 1.5rem; }
    .whatsapp-fab { width: 48px; height: 48px; font-size: 1.4rem; right: 14px; bottom: 14px; }
    .footer-bottom a { margin-left: 0; margin-right: 1rem; }
}

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