/* =====================================================================
   Alizay Fabrics — Design System
   Light, editorial boutique styling: cream backgrounds, gold accents,
   deep maroon call-to-action bands, clean professional typography.
   ===================================================================== */

:root {
    /* Brand colours */
    --gold:        #C8970F;
    --gold-light:  #E3B52E;
    --gold-dark:   #A2780A;
    --gold-tint:   #FBF3DC;

    --maroon:      #7D121E;
    --maroon-dark: #65101A;
    --maroon-light:#8C0F1D;

    /* Neutrals */
    --ink:         #1F2430;
    --ink-soft:    #4A5160;
    --muted:       #6E7585;
    --line:        #E7E3DA;
    --line-soft:   #F0ECE3;

    /* Surfaces */
    --page:        #FFFFFF;
    --cream:       #FDFAEB;
    --blush:       #FFF6ED;
    --footer:      #101825;
    --footer-soft: #1B2436;

    /* System */
    --radius:      14px;
    --radius-lg:   20px;
    --shadow-sm:   0 2px 10px rgba(31, 36, 48, .06);
    --shadow:      0 10px 30px -12px rgba(31, 36, 48, .18);
    --shadow-lg:   0 24px 50px -20px rgba(31, 36, 48, .25);
    --wrap:        1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--page);
    color: var(--ink);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

/* Every inline icon gets a sane default size so none can blow up when a
   context forgets to size it. Specific rules below override as needed. */
svg { width: 18px; height: 18px; flex: none; }

h1, h2, h3, h4, h5 {
    margin: 0;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: var(--ink);
}

p { margin: 0; }

/* ---------------------------------------------------------- layout */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.bg-cream { background: var(--cream); }
.bg-blush { background: var(--blush); }
.bg-white { background: #fff; }

.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.wrapflex { flex-wrap: wrap; }
.text-center { text-align: center; }
.ml-auto { margin-left: auto; }
.hidden { display: none !important; }

/* ---------------------------------------------------- type helpers */
.eyebrow {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 10px;
}

.section-title {
    font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.75rem);
    font-weight: 800;
}
.section-title .accent { color: var(--gold); }

.section-sub {
    margin-top: 12px;
    color: var(--muted);
    font-size: 1rem;
    max-width: 640px;
}
.section-head.text-center .section-sub { margin-left: auto; margin-right: auto; }

.lead { color: var(--ink-soft); font-size: 1.05rem; }
.muted { color: var(--muted); }
.gold { color: var(--gold); }
.small { font-size: .85rem; }
.tiny { font-size: .78rem; }
.strong { font-weight: 700; }

.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* -------------------------------------------------------- buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 999px;
    border: 1.5px solid transparent;
    font-size: .92rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
    white-space: nowrap;
    line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

.btn-gold {
    background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
    color: #fff;
    box-shadow: 0 8px 20px -10px rgba(200, 151, 15, .9);
}
.btn-gold:hover { box-shadow: 0 14px 28px -10px rgba(200, 151, 15, 1); }

.btn-outline {
    background: #fff;
    border-color: var(--gold);
    color: var(--gold-dark);
}
.btn-outline:hover { background: var(--gold-tint); }

.btn-ghost-light {
    background: transparent;
    border-color: rgba(255, 255, 255, .6);
    color: #fff;
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, .14); }

.btn-maroon { background: var(--maroon); color: #fff; }
.btn-maroon:hover { background: var(--maroon-dark); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }

.btn-sm { padding: 8px 16px; font-size: .8rem; }
.btn-lg { padding: 15px 34px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn svg { width: 17px; height: 17px; }
.btn-lg svg { width: 19px; height: 19px; }
.btn-sm svg { width: 15px; height: 15px; }
.pill svg { width: 15px; height: 15px; }

/* ---------------------------------------------------------- cards */
.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.card-pad { padding: 28px; }
.card-hover { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.card-hover:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(200, 151, 15, .45); }

/* feature card with round icon */
.feature {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 34px 26px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature h3 { font-size: 1.15rem; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: .92rem; }

.icon-circle {
    width: 62px; height: 62px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--gold-tint);
    color: var(--gold-dark);
}
.icon-circle svg { width: 26px; height: 26px; }
.icon-circle.solid { background: linear-gradient(135deg, var(--gold-light), var(--gold-dark)); color: #fff; }

/* ------------------------------------------------------ placeholder
   Rendered wherever a real photograph has not been supplied yet.
   It states the exact file name and pixel size that belongs there.  */
.ph {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    padding: 18px;
    background:
        repeating-linear-gradient(45deg, #F7F2E4 0 12px, #F2EBD9 12px 24px);
    border: 1px dashed rgba(200, 151, 15, .55);
    color: var(--gold-dark);
    overflow: hidden;
}
.ph__icon { width: 30px; height: 30px; opacity: .65; }
.ph__name { font-size: .78rem; font-weight: 700; letter-spacing: .02em; word-break: break-all; }
.ph__size { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #A08A52; }
.ph--dark {
    background: repeating-linear-gradient(45deg, #232A38 0 12px, #1C222E 12px 24px);
    border-color: rgba(227, 181, 46, .45);
    color: var(--gold-light);
}
.ph--dark .ph__size { color: #9A8A62; }
/* A default ratio guarantees height even if a ratio-* class is missing or the
   stylesheet is stale, which would otherwise collapse the image to 0px. */
.media { position: relative; overflow: hidden; background: var(--line-soft); aspect-ratio: 4 / 3; }
.media > img, .media > .ph { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.ratio-1 { aspect-ratio: 1 / 1; }
.ratio-45 { aspect-ratio: 4 / 5; }
.ratio-34 { aspect-ratio: 3 / 4; }
.ratio-43 { aspect-ratio: 4 / 3; }
.ratio-169 { aspect-ratio: 16 / 9; }

/* ---------------------------------------------------------- header */
.topbar {
    background: var(--ink);
    color: rgba(255, 255, 255, .82);
    font-size: .8rem;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 9px; padding-bottom: 9px; }
.topbar a { color: inherit; }
.topbar a:hover { color: var(--gold-light); }
.topbar__links { display: flex; gap: 18px; align-items: center; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 14px; height: 14px; }

.site-header {
    position: sticky; top: 0; z-index: 60;
    background: #fff;
    border-bottom: 1px solid var(--line);
    transition: box-shadow .25s ease;
}
.site-header.is-stuck { box-shadow: 0 6px 24px -14px rgba(31, 36, 48, .4); }
.site-header .wrap { display: flex; align-items: center; gap: 22px; padding-top: 14px; padding-bottom: 14px; }

.brand { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--gold-dark);
}
.brand__tag {
    font-size: .6rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
    margin-top: 3px;
}

.mainnav { display: flex; align-items: center; gap: 26px; margin-left: 12px; }
.mainnav a {
    position: relative;
    white-space: nowrap;
    font-size: .93rem;
    font-weight: 500;
    color: var(--ink-soft);
    padding: 4px 0;
    transition: color .2s ease;
}
.mainnav a::after {
    content: '';
    position: absolute; left: 0; bottom: -2px;
    height: 2px; width: 0;
    background: var(--gold);
    transition: width .25s ease;
}
.mainnav a:hover { color: var(--gold-dark); }
.mainnav a.is-active { color: var(--gold-dark); font-weight: 600; }
.mainnav a:hover::after, .mainnav a.is-active::after { width: 100%; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.iconbtn {
    position: relative;
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--ink-soft);
    cursor: pointer;
    transition: all .2s ease;
}
.iconbtn:hover { border-color: var(--gold); color: var(--gold-dark); background: var(--gold-tint); }
.iconbtn svg { width: 19px; height: 19px; }
.iconbtn.is-on { color: var(--gold); border-color: var(--gold); }

.pill-count {
    position: absolute; top: -4px; right: -4px;
    min-width: 18px; height: 18px; padding: 0 5px;
    border-radius: 999px;
    background: var(--maroon);
    color: #fff;
    font-size: .66rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}

.burger { display: none; }

.mobilenav { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobilenav.is-open { display: block; }
.mobilenav a {
    display: block;
    padding: 12px 20px;
    border-bottom: 1px solid var(--line-soft);
    font-size: .95rem;
    color: var(--ink-soft);
}
.mobilenav a:hover { background: var(--cream); color: var(--gold-dark); }

/* ------------------------------------------------------------ hero */
/* The slide files are 1920 x 900. Matching that ratio means the full
   photograph is shown on desktop with no vertical cropping; min-height keeps
   the banner usable on narrow screens, where only the sides are trimmed. */
.hero {
    position: relative;
    width: 100%;
    aspect-ratio: 32 / 15;
    min-height: 520px;
    overflow: hidden;
    background: var(--ink);
}
/* Deliberately NO max-height here. Capping the height against the viewport
   re-introduces vertical cropping on short laptop windows (e.g. 1600 x 650),
   which cuts the model's head. min-height only ever trims the sides. */
.hero__slide {
    position: absolute; inset: 0;
    opacity: 0;
    transition: opacity .9s ease;
    pointer-events: none;   /* hidden slides must not swallow clicks */
}
.hero__slide.is-active { opacity: 1; pointer-events: auto; }
.hero__slide > img, .hero__slide > .ph { width: 100%; height: 100%; object-fit: cover; }
.hero__slide > .ph { justify-content: flex-end; padding-bottom: 26px; opacity: .5; }
.pagehead > .ph { justify-content: flex-end; padding-bottom: 18px; opacity: .5; }
.hero__veil {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(16, 12, 10, .62) 0%, rgba(16, 12, 10, .55) 45%, rgba(16, 12, 10, .75) 100%);
}
.hero__inner {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    padding: 0 20px;
}
.hero__box { max-width: 760px; color: #fff; }
.hero h1 {
    color: #fff;
    font-size: clamp(2.2rem, 1.2rem + 4vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
}
.hero h1 .accent { display: block; color: var(--gold-light); }
.hero p { margin-top: 18px; color: rgba(255, 255, 255, .9); font-size: clamp(.95rem, .9rem + .3vw, 1.1rem); }
.hero__cta { margin-top: 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero__arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .34);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 3;
    transition: background .2s ease;
}
.hero__arrow:hover { background: rgba(255, 255, 255, .3); }
.hero__arrow svg { width: 20px; height: 20px; }
.hero__arrow.prev { left: 18px; }
.hero__arrow.next { right: 18px; }
.hero__dots { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.hero__dot { width: 30px; height: 3px; border-radius: 999px; background: rgba(255, 255, 255, .4); border: 0; cursor: pointer; padding: 0; transition: all .25s ease; }
.hero__dot.is-active { background: var(--gold-light); width: 52px; }

/* page banner (inner pages) */
/* The banner grows with its content, so pages that carry buttons in the
   banner (the affiliate landing) are never cramped. */
.pagehead { position: relative; min-height: 340px; background: var(--ink); overflow: hidden; display: flex; align-items: flex-end; }
.pagehead > img, .pagehead > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.pagehead--cta { min-height: 440px; }
.pagehead--cta .pagehead__veil {
    background: linear-gradient(180deg,
        rgba(16, 12, 10, .18) 0%,
        rgba(16, 12, 10, .34) 38%,
        rgba(16, 12, 10, .70) 70%,
        rgba(16, 12, 10, .88) 100%);
}
/* Light at the top so the photograph keeps its brightness, deepening to a
   scrim at the foot where the heading sits. */
.pagehead__veil {
    position: absolute; inset: 0;
    background: linear-gradient(180deg,
        rgba(16, 12, 10, .10) 0%,
        rgba(16, 12, 10, .16) 42%,
        rgba(16, 12, 10, .55) 76%,
        rgba(16, 12, 10, .84) 100%);
}
.pagehead__inner {
    position: relative; width: 100%;
    display: flex; flex-direction: column;
    align-items: center; justify-content: flex-end;
    text-align: center; padding: 70px 20px 32px; color: #fff;
}
.pagehead h1 {
    color: #fff; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); font-weight: 800;
    text-shadow: 0 2px 18px rgba(12, 9, 7, .7);
}
.pagehead p {
    margin-top: 8px; color: rgba(255, 255, 255, .92); max-width: 620px;
    text-shadow: 0 1px 12px rgba(12, 9, 7, .7);
}

/* ----------------------------------------------------- trust strip */
.trust { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-top: 26px; padding-bottom: 26px; }
.trust__item { display: flex; gap: 12px; align-items: center; }
.trust__item svg { width: 24px; height: 24px; color: var(--gold); flex: none; }
.trust__item b { display: block; font-size: .92rem; }
.trust__item span { font-size: .8rem; color: var(--muted); }

/* ------------------------------------------------------- split row */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split__media { position: relative; }
.split__media .frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.badge-float {
    position: absolute; left: -22px; bottom: -22px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
    color: #fff;
    border-radius: var(--radius);
    padding: 16px 22px;
    box-shadow: var(--shadow);
    text-align: center;
}
.badge-float b { display: block; font-size: 1.6rem; font-weight: 800; line-height: 1; }
.badge-float span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; opacity: .92; }
.badge-float.maroon { background: linear-gradient(135deg, var(--maroon-light), var(--maroon-dark)); left: auto; right: -22px; }

/* ---------------------------------------------------- product card */
.product {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(200, 151, 15, .4); }
.product__media { position: relative; }
.product__media .media { aspect-ratio: 3 / 4; }
.product__media img { transition: transform .7s ease; }
.product:hover .product__media img { transform: scale(1.06); }

.tag {
    position: absolute; top: 12px; left: 12px; z-index: 2;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
    color: #fff;
    font-size: .68rem; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase;
    padding: 5px 12px; border-radius: 999px;
}
.tag.maroon { background: var(--maroon); }
.tag.slate { background: #6E7585; }

.wish {
    position: absolute; top: 12px; right: 12px; z-index: 2;
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    color: var(--ink-soft); cursor: pointer;
    transition: all .2s ease;
}
.wish:hover { color: var(--maroon); border-color: var(--maroon); }
.wish.is-on { color: var(--maroon); border-color: var(--maroon); background: #fff; }
.wish svg { width: 16px; height: 16px; }

.product__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product__cat { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.product__name { font-size: 1.05rem; font-weight: 700; }
.product__name a:hover { color: var(--gold-dark); }
.product__desc { font-size: .86rem; color: var(--muted); }
.product__price { font-size: 1.3rem; font-weight: 800; color: var(--gold); margin-top: 2px; }
.product__price del { font-size: .85rem; color: var(--muted); font-weight: 500; margin-left: 8px; }
.product__actions { display: flex; gap: 8px; margin-top: auto; padding-top: 10px; }
.product__actions .btn { flex: 1; padding: 10px 12px; font-size: .8rem; }

/* stars */
.stars { display: inline-flex; gap: 2px; color: var(--gold); font-size: .85rem; letter-spacing: 1px; }
.stars .off { color: #D9D4C8; }

/* --------------------------------------------------- filter pills */
.filterbar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.filtergroup + .filtergroup { margin-top: 20px; }
.filtergroup__label { font-size: .8rem; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    font-size: .82rem; font-weight: 500;
    color: var(--ink-soft);
    cursor: pointer;
    transition: all .2s ease;
}
.pill:hover { border-color: var(--gold); color: var(--gold-dark); background: var(--gold-tint); }
.pill.is-active { background: linear-gradient(135deg, var(--gold-light), var(--gold-dark)); border-color: transparent; color: #fff; font-weight: 600; }
.pill.is-active.maroon { background: var(--maroon); }

/* ---------------------------------------------------------- forms */
.field-label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field-label .req { color: var(--maroon); }
.field {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    font-size: .92rem;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.field::placeholder { color: #A3A9B5; }
.field:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200, 151, 15, .14); }
textarea.field { min-height: 120px; resize: vertical; }
select.field { appearance: none; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E7585' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 36px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }

/* checkbox / radio blocks */
.choice {
    display: flex; gap: 12px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all .2s ease;
}
.choice:hover { border-color: var(--gold); background: var(--gold-tint); }
.choice input { margin-top: 3px; accent-color: var(--gold); }
.choice b { display: block; font-size: .92rem; }
.choice span { font-size: .82rem; color: var(--muted); }

/* ------------------------------------------------------- CTA bands */
.cta-band {
    background: linear-gradient(135deg, var(--maroon-light) 0%, var(--maroon) 45%, var(--maroon-dark) 100%);
    color: #fff;
    text-align: center;
    padding: 66px 0;
}
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.7rem); font-weight: 800; }
.cta-band h2 .accent { color: var(--gold-light); }
.cta-band p { margin: 14px auto 0; max-width: 640px; color: rgba(255, 255, 255, .9); }
.cta-band .actions { margin-top: 28px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* -------------------------------------------------------- stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat b { display: block; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); font-weight: 800; color: var(--gold); line-height: 1.1; }
.stat span { font-size: .85rem; color: var(--muted); }

/* ------------------------------------------------------- timeline */
.timeline { position: relative; padding: 10px 0; }
.timeline::before {
    content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
    width: 2px; background: linear-gradient(180deg, transparent, var(--gold) 8%, var(--gold) 92%, transparent);
    transform: translateX(-50%);
}
.tl-item { position: relative; display: grid; grid-template-columns: 1fr 44px 1fr; align-items: center; margin-bottom: 26px; }
.tl-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--gold); border: 3px solid #fff; box-shadow: 0 0 0 3px rgba(200, 151, 15, .28); margin: 0 auto; }
.tl-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.tl-card .year { font-size: 1.25rem; font-weight: 800; color: var(--gold); }
.tl-card h3 { font-size: 1.02rem; margin: 4px 0 8px; }
.tl-card p { font-size: .88rem; color: var(--muted); }
.tl-item .left  { grid-column: 1; }
.tl-item .right { grid-column: 3; }
.tl-item .spacer { visibility: hidden; }

/* ---------------------------------------------------- testimonial */
.quote {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 26px; box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column; gap: 14px; height: 100%;
    transition: transform .3s ease, box-shadow .3s ease;
}
.quote:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.quote__who { display: flex; gap: 12px; align-items: center; }
.quote__avatar { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; flex: none; background: var(--gold-tint); display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--gold-dark); }
.quote__avatar img { width: 100%; height: 100%; object-fit: cover; }
.quote__name { font-weight: 700; font-size: .95rem; }
.quote__city { font-size: .78rem; color: var(--muted); }
.quote__text { font-style: italic; color: var(--ink-soft); font-size: .92rem; }
.quote__meta { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: .78rem; color: var(--muted); }

/* --------------------------------------------------------- gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item { border-radius: var(--radius); overflow: hidden; position: relative; cursor: pointer; }
.gallery-item .media { aspect-ratio: 3 / 4; }
.gallery-item img { transition: transform .6s ease; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item__cap {
    position: absolute; inset: auto 0 0 0;
    padding: 28px 14px 12px;
    background: linear-gradient(transparent, rgba(16, 12, 10, .82));
    color: #fff; font-size: .82rem; font-weight: 600;
    opacity: 0; transition: opacity .3s ease;
}
.gallery-item:hover .gallery-item__cap { opacity: 1; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(12, 10, 8, .92); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(92vw, 900px); max-height: 86vh; border-radius: var(--radius); }
.lightbox__close { position: absolute; top: 20px; right: 24px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .16); border: 0; color: #fff; cursor: pointer; font-size: 1.2rem; }

/* ----------------------------------------------------- cart drawer */
.backdrop { position: fixed; inset: 0; background: rgba(16, 18, 26, .55); backdrop-filter: blur(2px); opacity: 0; pointer-events: none; transition: opacity .3s ease; z-index: 90; }
.backdrop.is-open { opacity: 1; pointer-events: auto; }
.drawer {
    position: fixed; top: 0; right: 0; height: 100%; width: min(410px, 92vw);
    background: #fff; z-index: 100;
    transform: translateX(100%);
    transition: transform .36s cubic-bezier(.3, .8, .3, 1);
    display: flex; flex-direction: column;
    box-shadow: -20px 0 50px -24px rgba(0, 0, 0, .45);
}
.drawer.is-open { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.2rem; }
.drawer__body { flex: 1; overflow-y: auto; padding: 0 22px; }
.drawer__foot { border-top: 1px solid var(--line); padding: 18px 22px; display: grid; gap: 10px; background: var(--cream); }
.drawer-line { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.drawer-line img, .drawer-line .ph { width: 68px; height: 84px; object-fit: cover; border-radius: 10px; flex: none; }
.qty-btn { width: 26px; height: 26px; border-radius: 7px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: .85rem; line-height: 1; }
.qty-btn:hover { border-color: var(--gold); color: var(--gold-dark); }

/* quantity stepper */
.stepper { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.stepper input { width: 46px; border: 0; text-align: center; background: transparent; }
.stepper input:focus { outline: none; }

/* ---------------------------------------------------------- table */
.table-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.tbl th {
    text-align: left; padding: 13px 14px;
    font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    color: var(--muted); border-bottom: 1px solid var(--line); white-space: nowrap;
}
table.tbl td { padding: 14px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
table.tbl tbody tr:hover { background: var(--cream); }

/* --------------------------------------------------------- badges */
.badge { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 999px; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.b-green  { background: #E6F6EC; color: #1C7A42; }
.b-amber  { background: #FDF3DC; color: #9A6B06; }
.b-red    { background: #FBE9EA; color: #A11B28; }
.b-blue   { background: #E8F0FD; color: #1D4FA3; }
.b-violet { background: #F0EBFC; color: #5B37B7; }
.b-cyan   { background: #E4F6F9; color: #0E6F82; }
.b-slate  { background: #EEF0F4; color: #4A5160; }
.b-gold   { background: var(--gold-tint); color: var(--gold-dark); }

/* --------------------------------------------------------- notice */
.notice { padding: 14px 18px; border-radius: var(--radius); font-size: .9rem; border: 1px solid; }
.notice.success { background: #F1FAF4; border-color: #BFE6CD; color: #1C7A42; }
.notice.error   { background: #FDF1F2; border-color: #F2C9CD; color: #A11B28; }
.notice.info    { background: var(--gold-tint); border-color: #EBD9A6; color: var(--gold-dark); }

/* ---------------------------------------------- share & earn panel */
.share-panel {
    border: 1px solid rgba(200, 151, 15, .45);
    background: linear-gradient(135deg, #FFFCF3, #FBF3DC);
    border-radius: var(--radius-lg);
    padding: 22px;
}
.share-link { display: flex; gap: 8px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 6px 6px 6px 14px; }
.share-link input { flex: 1; border: 0; background: transparent; font-size: .8rem; color: var(--muted); min-width: 0; }
.share-link input:focus { outline: none; }
.share-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.share-row .btn { padding: 9px 8px; font-size: .78rem; }

/* --------------------------------------------------------- footer */
.site-footer { background: var(--footer); color: rgba(255, 255, 255, .72); margin-top: 0; }
.site-footer .wrap { padding-top: 58px; padding-bottom: 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 44px; }
.site-footer h3 { color: #fff; font-size: 1.02rem; margin-bottom: 18px; }
.site-footer .brand__name { color: var(--gold-light); font-size: 1.45rem; }
.site-footer .brand__tag { color: rgba(255, 255, 255, .5); }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: .9rem; color: rgba(255, 255, 255, .72); transition: color .2s ease; }
.footer-links a:hover { color: var(--gold-light); }
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; font-size: .89rem; list-style: none; }
.footer-contact svg { width: 17px; height: 17px; color: var(--gold-light); flex: none; margin-top: 3px; }
.footer-contact ul { margin: 0; padding: 0; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.social {
    width: 38px; height: 38px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; transition: transform .2s ease, filter .2s ease;
}
.social:hover { transform: translateY(-3px); filter: brightness(1.12); }
.social svg { width: 17px; height: 17px; }
.s-wa { background: #25D366; }
.s-ig { background: linear-gradient(45deg, #F09433, #DC2743 50%, #BC1888); }
.s-fb { background: #1877F2; }
.s-ml { background: #D8463C; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-top: 40px; padding-top: 22px;
    display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
    font-size: .82rem; color: rgba(255, 255, 255, .5);
}

/* floating whatsapp */
.wa-float {
    position: fixed; right: 20px; bottom: 20px; z-index: 70;
    width: 54px; height: 54px; border-radius: 50%;
    background: #25D366; color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 12px 28px -10px rgba(37, 211, 102, .9);
    transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 27px; height: 27px; }

/* --------------------------------------------------------- toasts */
#toasts { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 10px; width: min(420px, 92vw); }
.toast { padding: 13px 18px; border-radius: var(--radius); font-size: .88rem; font-weight: 600; box-shadow: var(--shadow); background: #fff; border: 1px solid var(--line); animation: tin .3s ease; }
.toast.success { border-color: #BFE6CD; color: #1C7A42; }
.toast.error { border-color: #F2C9CD; color: #A11B28; }
.toast.info { border-color: #EBD9A6; color: var(--gold-dark); }
@keyframes tin { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------- reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------- admin */
.admin-shell { display: flex; min-height: 100vh; background: #F7F6F2; }
.admin-side {
    width: 248px; flex: none;
    background: var(--footer); color: rgba(255, 255, 255, .8);
    padding: 20px 14px;
    position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.admin-side .brand__name { color: var(--gold-light); font-size: 1.25rem; }
.admin-link { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; font-size: .88rem; color: rgba(255, 255, 255, .74); margin-bottom: 2px; transition: all .2s ease; }
.admin-link:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.admin-link.is-active { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #fff; font-weight: 600; }
.admin-link svg { width: 17px; height: 17px; opacity: .85; }
.admin-main { flex: 1; min-width: 0; }
.admin-top { background: #fff; border-bottom: 1px solid var(--line); padding: 14px 24px; display: flex; align-items: center; gap: 14px; position: sticky; top: 0; z-index: 40; }
.admin-body { padding: 24px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-sm); }
.kpi__label { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.kpi__value { font-size: 1.75rem; font-weight: 800; color: var(--ink); margin-top: 6px; line-height: 1.1; }
.kpi__note { font-size: .78rem; color: var(--muted); margin-top: 4px; }
.admin-burger { display: none; }

/* ------------------------------------------------------ responsive */
@media (max-width: 1024px) {
    .g-4 { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .split { gap: 36px; }
    .mainnav { display: none; }
    .burger { display: inline-flex; }
    .admin-side { position: fixed; left: 0; top: 0; z-index: 80; transform: translateX(-100%); transition: transform .3s ease; }
    .admin-side.is-open { transform: translateX(0); }
    .admin-burger { display: inline-flex; }
    /* the two text buttons would overflow the bar once the nav collapses */
    .header-actions .hide-sm { display: none; }
}

@media (max-width: 860px) {
    .section { padding: 54px 0; }
    .g-3 { grid-template-columns: repeat(2, 1fr); }
    .split { grid-template-columns: 1fr; }
    .split__media { order: -1; }
    /* Narrow screens leave no room to overlap the image without covering it,
       so the badge drops below the frame instead. */
    .badge-float, .badge-float.maroon {
        position: static;
        left: auto; right: auto; bottom: auto;
        display: inline-block;
        margin-top: 14px;
    }
    .trust .wrap { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); gap: 26px; }
    .form-grid { grid-template-columns: 1fr; }
    .topbar__links .hide-sm { display: none; }
    .timeline::before { left: 13px; }
    .tl-item { grid-template-columns: 28px 1fr; gap: 14px; }
    .tl-dot { margin: 0; }
    .tl-item .left, .tl-item .right { grid-column: 2; }
    .tl-item .spacer { display: none; }
}

@media (max-width: 620px) {
    .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .trust .wrap { grid-template-columns: 1fr; }
    .share-row { grid-template-columns: repeat(2, 1fr); }
    .hero__arrow { display: none; }
    .product__actions { flex-direction: column; }
    .brand__name { font-size: 1.15rem; white-space: nowrap; }
    .brand__tag { white-space: nowrap; font-size: .52rem; letter-spacing: .16em; }
    .section-title { font-size: 1.75rem; }
    .header-actions { gap: 6px; }
    .iconbtn { width: 36px; height: 36px; }
    .site-header .wrap { gap: 10px; padding-left: 14px; padding-right: 14px; }
    .topbar { font-size: .72rem; }
}

@media (max-width: 400px) {
    .brand__tag { display: none; }
}

@media print {
    .site-header, .site-footer, .topbar, .wa-float, .no-print, .drawer, .backdrop { display: none !important; }
    body { background: #fff; }
}

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