/* ==========================================================================
   SKYLITE — luxury ethnic accessories
   1. Tokens  2. Base  3. Utilities  4. Header  5. Hero  6. Sections
   7. Products  8. Promo / About / Why  9. Gallery / Newsletter / Footer
   10. Overlays & drawers  11. Responsive  12. Reduced motion
   ========================================================================== */

/* Fonts (self-hosted, SIL Open Font License: see /fonts) */
@font-face { font-family: "Lora"; src: url("fonts/Lora-Variable.ttf") format("truetype"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/DMSans-Variable.ttf") format("truetype"); font-weight: 100 1000; font-style: normal; font-display: swap; }

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --ivory: #F8F3E9;
  --cream: #FCF9F2;
  --beige: #EADFCB;
  --sand: #DCCBA9;
  --champagne: #D8BC86;
  --gold: #8F6B1F;          /* text-safe antique gold */
  --gold-bright: #C29A47;   /* decorative gold */
  --ink: #1B1713;
  --ink-soft: #4B4338;
  --muted: #7A6F60;
  --line: rgba(27, 23, 19, .14);
  --line-light: rgba(248, 243, 233, .2);

  --font-display: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;

  --wrap: 1360px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4.5rem, 9vw, 8rem);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 500; color: var(--ink); line-height: 1.18; letter-spacing: -.012em; text-wrap: balance; }
h2 { font-size: clamp(1.8rem, 3.3vw, 2.85rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
code { font-size: .85em; background: rgba(27,23,19,.06); padding: .1em .4em; border-radius: 3px; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }

/* 3. Utilities ------------------------------------------------------------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.center { display: flex; justify-content: center; margin-top: 3rem; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 400; background: var(--ink); color: var(--cream); padding: .7rem 1.1rem; transition: top .2s; }
.skip-link:focus { top: 1rem; }

.icon { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon--lg { width: 2.6rem; height: 2.6rem; stroke-width: 1.1; color: var(--gold); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1.05rem 2.2rem; border: 1px solid transparent;
  font-size: .82rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; line-height: 1;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover { background: #3A3025; }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--cream); }
.btn--gold { background: var(--champagne); color: var(--ink); }
.btn--gold:hover { background: var(--cream); }
.btn--block { width: 100%; }
.link-btn { display: block; margin: 1rem auto 0; font-size: .85rem; text-decoration: underline; text-underline-offset: 4px; color: var(--muted); }
.link-btn:hover { color: var(--ink); }

.icon-btn { position: relative; display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; transition: background-color .25s; }
.icon-btn:hover { background: rgba(27,23,19,.07); }
.round-btn { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid var(--line); background: var(--cream); color: var(--ink); transition: background-color .3s, color .3s, border-color .3s; }
.round-btn:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.count { position: absolute; top: .15rem; right: .1rem; min-width: 1.1rem; height: 1.1rem; padding: 0 .3rem; border-radius: 99px; background: var(--ink); color: var(--cream); font-size: .64rem; font-weight: 500; line-height: 1.1rem; text-align: center; }
.count.pop { animation: pop .45s var(--ease); }
@keyframes pop { 40% { transform: scale(1.4); } }

/* The signature shape: an arched window */
.arch { margin: 0; overflow: hidden; border-radius: 999px 999px 0 0; background: var(--beige); }
.arch img { width: 100%; height: 100%; object-fit: cover; }

/* 4. Header ---------------------------------------------------------------- */
.announce { background: var(--ink); color: var(--champagne); text-align: center; font-size: .78rem; letter-spacing: .08em; padding: .6rem 1rem; line-height: 1.4; }

.header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
/* blur lives on a pseudo-element so it doesn't become the containing block for the fixed mobile menu */
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(248, 243, 233, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: background-color .3s; }
.header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 30px rgba(27,23,19,.05); }
.header.is-stuck::before { background: rgba(252, 249, 242, .95); }
.header__inner { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; height: var(--header-h); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem; }
.header__burger { display: none; }
.header__tools { display: flex; align-items: center; gap: .15rem; }

.logo { display: inline-flex; flex-direction: column; line-height: 1; color: var(--ink); }
.logo__word { font-family: var(--font-display); font-size: 1.95rem; font-weight: 500; letter-spacing: .07em; }
.logo__i { position: relative; display: inline-block; }
.logo__i i { position: absolute; left: 50%; top: .1em; width: .15em; height: .15em; background: var(--gold-bright); transform: translateX(-50%) rotate(45deg); }
.logo__tag { margin-top: .4rem; font-size: .58rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.logo--light { color: var(--cream); }
.logo--light .logo__tag { color: var(--champagne); }

.nav__close { display: none; }
.nav__list { display: flex; justify-content: center; gap: clamp(.9rem, 1.8vw, 2rem); }
.nav__list a { position: relative; display: block; padding: .5rem 0; font-size: .94rem; font-weight: 500; letter-spacing: 0; color: var(--ink); white-space: nowrap; }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .15rem; height: 1px; background: var(--gold-bright); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav__list a:hover::after, .nav__list a:focus-visible::after { transform: scaleX(1); }

.scrim { position: fixed; inset: 0; z-index: 90; background: rgba(27, 23, 19, .5); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.scrim.is-on { opacity: 1; visibility: visible; }
#navScrim { z-index: 45; }

/* 5. Hero ------------------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 70% at 78% 45%, #FFFBF1 0%, rgba(255,251,241,0) 70%),
    linear-gradient(180deg, var(--ivory) 0%, #F2E8D3 100%);
}
.hero__inner { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6.2fr); align-items: center; gap: clamp(1.5rem, 4vw, 4rem); min-height: min(820px, calc(100svh - var(--header-h) - 38px)); padding-block: clamp(2rem, 5vw, 4rem) 0; }
.hero__copy { padding-bottom: clamp(2rem, 6vw, 5rem); }
.hero__title { font-size: clamp(2.5rem, 5.3vw, 5rem); font-weight: 500; line-height: 1.1; letter-spacing: -.02em; max-width: 9.5em; }
.hero__sub { max-width: 27rem; margin: 1.6rem 0 2.4rem; font-size: 1.15rem; line-height: 1.65; color: var(--ink-soft); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero__arches { display: grid; grid-template-columns: 1fr 1.18fr 1fr; gap: clamp(.55rem, 1.3vw, 1.2rem); align-items: end; height: min(calc(100vh - var(--header-h) - 38px - 3.5rem), 700px); height: min(calc(100svh - var(--header-h) - 38px - 3.5rem), 700px); min-height: 360px; align-self: end; }
.hero__arch { width: 100%; box-shadow: 0 30px 60px -30px rgba(27,23,19,.35); }
.hero__arch--a { height: 76%; }
.hero__arch--b { height: 100%; }
.hero__arch--c { height: 60%; }
/* Narrow arches: size each photo by the arch width so the whole piece stays visible.
   A softly blurred copy of the same photo fills the space above and below it. */
.hero__arch { position: relative; isolation: isolate; }
.hero__arch::before { content: ""; position: absolute; inset: -60px; z-index: -1; background: center / cover no-repeat; filter: blur(34px); }
.hero__arch--a::before { background-image: url("images/skylite-16.jpg"); }
.hero__arch--b::before { background-image: url("images/skylite-05.jpg"); }
.hero__arch--c::before { background-image: url("images/skylite-18.jpg"); }
.hero__arch img { position: absolute; bottom: 0; max-width: none; height: auto; -webkit-mask-image: linear-gradient(transparent, #000 16%); mask-image: linear-gradient(transparent, #000 16%); }
.hero__arch--a img { width: 132%; left: -18%; aspect-ratio: 848 / 1264; }
.hero__arch--b img { width: 104%; left: -2%; bottom: 18%; aspect-ratio: 1; -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 80%, transparent); mask-image: linear-gradient(transparent, #000 14%, #000 80%, transparent); }
.hero__arch--c img { width: 114%; left: -13%; aspect-ratio: 848 / 1233; }

/* the single orchestrated moment: arches rise, then the words arrive */
.hero__arch { animation: rise 1.25s var(--ease) both; }
.hero__arch--b { animation-delay: .05s; }
.hero__arch--a { animation-delay: .22s; }
.hero__arch--c { animation-delay: .38s; }
.hero__arch img { animation: settle 1.8s var(--ease) both; }
.hero__copy > * { animation: arrive .9s var(--ease) both; }
.hero__title { animation-delay: .3s; }
.hero__sub { animation-delay: .5s; }
.hero__cta { animation-delay: .65s; }
@keyframes rise { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes settle { from { transform: scale(1.18); } to { transform: scale(1); } }
@keyframes arrive { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* 6. Sections -------------------------------------------------------------- */
.section { padding-block: var(--section); }
.section--cream { background: var(--cream); }
.section-head { max-width: 40rem; margin-bottom: clamp(2.2rem, 4vw, 3.5rem); }
.section-head p { margin: 1rem 0 0; color: var(--muted); }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.section-head--row > div { max-width: 40rem; }

/* Categories */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.75rem); }
.cat { display: block; }
.cat__img { display: block; aspect-ratio: 3 / 4; }
.cat__img img { transition: transform 1.1s var(--ease); }
.cat:hover .cat__img img { transform: scale(1.08); }
.cat__name { display: block; margin-top: 1.1rem; font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; color: var(--ink); line-height: 1.2; }
.cat__link { display: inline-flex; align-items: center; gap: .5rem; margin-top: .4rem; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.cat__link .icon { width: 1rem; height: 1rem; transition: transform .4s var(--ease); }
.cat:hover .cat__link .icon { transform: translateX(6px); }

/* 7. Products -------------------------------------------------------------- */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; flex-wrap: wrap; padding-block: 1.1rem; margin-bottom: 2.25rem; border-block: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { padding: .55rem 1.15rem; border: 1px solid var(--line); border-radius: 99px; font-size: .9rem; font-weight: 400; color: var(--ink); transition: background-color .3s, color .3s, border-color .3s; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.sort { display: flex; align-items: center; gap: 1.25rem; }
.sort__count { font-size: .88rem; color: var(--muted); white-space: nowrap; }
.select { padding: .6rem 2.4rem .6rem 1rem; border: 1px solid var(--line); background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231B1713' stroke-width='1.4'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 1rem center; -webkit-appearance: none; appearance: none; font-size: .9rem; cursor: pointer; border-radius: 0; }
.select:hover { border-color: var(--ink); }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.75rem, 3vw, 2.75rem) clamp(1rem, 2vw, 1.75rem); }
.empty { text-align: center; padding: 4rem 0; color: var(--muted); }

.card { position: relative; min-width: 0; }
.card__media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--beige); }
.card__media > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card__media > img { transform: scale(1.07); }
.card__badge { position: absolute; top: .85rem; left: .85rem; padding: .3rem .7rem; background: var(--cream); color: var(--ink); font-size: .72rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; line-height: 1.3; }
.card__badge--sale { background: var(--ink); color: var(--champagne); }
.card__wish { position: absolute; top: .55rem; right: .55rem; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: rgba(252,249,242,.88); color: var(--ink); transition: transform .3s var(--ease), background-color .3s; }
.card__wish:hover { transform: scale(1.1); background: var(--cream); }
.card__wish.is-active { color: #9B2C2C; }
.card__wish.is-active .icon { fill: currentColor; }
.card__wish.beat .icon { animation: pop .45s var(--ease); }

.card__actions { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; transform: translateY(101%); transition: transform .5s var(--ease); }
.card:hover .card__actions, .card:focus-within .card__actions { transform: translateY(0); }
.card__actions button { display: flex; align-items: center; justify-content: center; gap: .45rem; padding: .95rem .5rem; font-size: .7rem; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; line-height: 1.2; transition: background-color .3s, color .3s; }
.card__actions .act-view { background: rgba(252,249,242,.96); color: var(--ink); }
.card__actions .act-view:hover { background: var(--cream); }
.card__actions .act-add { background: var(--ink); color: var(--cream); }
.card__actions .act-add:hover { background: #3A3025; }
.card__actions .icon { width: 1rem; height: 1rem; }

.card__body { padding-top: 1rem; }
.card__cat { display: block; font-size: .84rem; color: var(--muted); }
.card__name { margin: .15rem 0 .4rem; font-family: var(--font-display); font-size: 1.12rem; font-weight: 500; line-height: 1.35; }
.card__name button { text-align: left; color: var(--ink); }
.card__name button:hover { color: var(--gold); }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .2rem .65rem; }
.price__now { font-size: 1.08rem; font-weight: 600; color: var(--ink); }
.price__was { font-size: .9rem; color: var(--muted); text-decoration: line-through; }
.price__off { font-size: .8rem; font-weight: 500; color: var(--gold); }

/* New arrivals carousel */
.carousel-view { overflow: hidden; overflow: clip; touch-action: pan-y pinch-zoom; cursor: grab; }
.carousel { display: flex; width: max-content; gap: clamp(1rem, 2vw, 1.75rem); padding: 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2)) 1rem; will-change: transform; }
.carousel .card { flex: 0 0 clamp(230px, 24vw, 310px); }
.carousel-nav { display: flex; gap: .6rem; }

/* 8. Promo / About / Why --------------------------------------------------- */
.promo { position: relative; overflow: hidden; background: var(--ink); color: var(--ivory); }
.promo__bg { position: absolute; inset: 0; background: radial-gradient(50% 80% at 85% 50%, rgba(216,188,134,.22) 0%, rgba(216,188,134,0) 70%), radial-gradient(40% 60% at 0% 100%, rgba(216,188,134,.1) 0%, rgba(216,188,134,0) 70%); }
.promo__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; padding-block: clamp(4rem, 8vw, 7rem) 0; }
.promo__copy { padding-bottom: clamp(3rem, 7vw, 6rem); max-width: 34rem; }
.promo h2 { color: var(--cream); font-size: clamp(2rem, 4.1vw, 3.6rem); line-height: 1.12; }
.promo p { margin: 1.4rem 0 2.3rem; font-size: 1.15rem; color: rgba(248,243,233,.78); max-width: 28rem; }
.promo__imgs { display: flex; align-items: flex-end; justify-content: center; gap: clamp(.7rem, 1.6vw, 1.4rem); height: clamp(380px, 46vw, 600px); }
.promo__img { width: 46%; box-shadow: 0 30px 60px -25px rgba(0,0,0,.6); }
.promo__img--a { height: 100%; }
.promo__img--b { height: 76%; }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.about__media { position: relative; padding-bottom: 3.5rem; }
.about__main { width: 78%; aspect-ratio: 4 / 5.3; }
.about__inset { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; margin: 0; overflow: hidden; border: 8px solid var(--ivory); background: var(--beige); box-shadow: 0 25px 50px -25px rgba(27,23,19,.4); }
.about__inset img, .about__main img { width: 100%; height: 100%; object-fit: cover; }
.about__copy h2 { margin-bottom: 1.4rem; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.about__copy p { max-width: 34rem; }
.about__copy .btn { margin-top: 1rem; }

.why { background: var(--beige); padding-block: var(--section); }
.why__title { margin-bottom: clamp(2.2rem, 4vw, 3.5rem); }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(27,23,19,.2); }
.why__grid li { padding: 2.25rem clamp(1rem, 2.4vw, 2.25rem) 0 0; }
.why__grid li + li { padding-left: clamp(1rem, 2.4vw, 2.25rem); border-left: 1px solid rgba(27,23,19,.14); }
.why__grid h3 { margin: 1.3rem 0 .7rem; font-size: 1.4rem; }
.why__grid p { margin: 0; font-size: 1rem; color: var(--ink-soft); }

/* 9. Gallery / Newsletter / Footer ---------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(170px, 21vw, 300px); grid-auto-flow: dense; gap: clamp(.5rem, 1vw, .9rem); }
.gallery li { position: relative; overflow: hidden; background: var(--beige); }
.gallery li.tall { grid-row: span 2; }
.gallery button { display: block; width: 100%; height: 100%; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.gallery li:hover img { transform: scale(1.07); }
.gallery__veil { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(27,23,19,.38); color: var(--cream); opacity: 0; transition: opacity .4s; pointer-events: none; }
.gallery__veil .icon { width: 1.9rem; height: 1.9rem; }
.gallery li:hover .gallery__veil, .gallery button:focus-visible .gallery__veil { opacity: 1; }

.news { background: linear-gradient(180deg, #E7D6B0 0%, var(--champagne) 100%); padding-block: clamp(4rem, 8vw, 6.5rem); text-align: center; }
.news__inner { max-width: 44rem; }
.news h2 { font-size: clamp(1.8rem, 3.3vw, 2.75rem); }
.news p { margin: 1.1rem auto 0; color: #3A3025; max-width: 32rem; }
.news__form { position: relative; display: flex; flex-wrap: wrap; gap: .75rem; margin: 2.2rem auto 0; max-width: 34rem; }
.news__form input { flex: 1 1 15rem; min-width: 0; padding: 1rem 1.3rem; border: 1px solid rgba(27,23,19,.35); background: rgba(252,249,242,.75); border-radius: 0; font-size: 1rem; }
.news__form input::placeholder { color: var(--muted); }
.news__form input:focus { outline: none; border-color: var(--ink); background: var(--cream); }
.news__form .btn--gold { background: var(--ink); color: var(--cream); }
.news__form .btn--gold:hover { background: #3A3025; }
.form-msg { flex-basis: 100%; min-height: 1.5em; margin: .25rem 0 0 !important; font-size: .92rem; }
.form-msg.is-error { color: #8A1F1F; }
.form-msg.is-ok { color: #2E5A32; }

.footer { background: var(--ink); color: rgba(248,243,233,.72); padding-top: clamp(3.5rem, 7vw, 6rem); font-size: .98rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: clamp(2rem, 4vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.footer h3 { margin-bottom: 1.2rem; font-size: 1.25rem; color: var(--cream); }
.footer li + li { margin-top: .6rem; }
.footer a { transition: color .25s; }
.footer a:hover { color: var(--champagne); }
.footer__brand p { margin: 1.4rem 0 1.5rem; max-width: 22rem; }
.footer__contact li { display: flex; gap: .8rem; align-items: flex-start; }
.footer__contact .icon { margin-top: .3rem; width: 1.1rem; height: 1.1rem; color: var(--champagne); }
.mini-form { position: relative; display: flex; flex-wrap: wrap; margin-top: 1.5rem; border-bottom: 1px solid var(--line-light); }
.mini-form input { flex: 1; min-width: 0; padding: .8rem 0; background: transparent; border: 0; color: var(--cream); font-size: .95rem; }
.mini-form input::placeholder { color: rgba(248,243,233,.5); }
.mini-form input:focus { outline: none; }
.mini-form:focus-within { border-bottom-color: var(--champagne); }
.mini-form button { display: grid; place-items: center; width: 2.5rem; color: var(--champagne); }
.mini-form .form-msg { position: absolute; top: 100%; left: 0; margin-top: .5rem !important; }
.mini-form .form-msg.is-ok { color: #9FD0A4; }
.mini-form .form-msg.is-error { color: #F0A0A0; }

/* Footer: centred social row, then copyright */
.footer__social { display: flex; flex-direction: column; align-items: center; gap: 1.4rem; padding-block: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--line-light); text-align: center; }
.footer__follow { margin: 0; font-size: 1.35rem; }
.social { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1rem; width: 100%; }
.social li + li { margin: 0; }
.social a { position: relative; overflow: hidden; display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border: 1px solid rgba(216,188,134,.45); border-radius: 50%; color: var(--cream); transition: transform .45s var(--ease), border-color .35s, color .35s, box-shadow .45s var(--ease); }
.social a::before { content: ""; position: absolute; inset: 0; background: var(--champagne); transform: translateY(101%); transition: transform .45s var(--ease); }
.social .icon { position: relative; width: 1.35rem; height: 1.35rem; transition: transform .45s var(--ease); }
.social a:hover, .social a:focus-visible { transform: translateY(-5px); color: var(--ink); border-color: var(--champagne); box-shadow: 0 14px 24px -12px rgba(216,188,134,.55); }
.social a:hover::before, .social a:focus-visible::before { transform: translateY(0); }
.social a:hover .icon, .social a:focus-visible .icon { transform: scale(1.12); }
.footer__bar { display: flex; flex-direction: column; align-items: center; gap: .7rem; padding-block: 1.6rem 1.9rem; border-top: 1px solid var(--line-light); font-size: .88rem; text-align: center; }
.footer__bar p { margin: 0; }
.footer__bar ul { display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem 1.75rem; }
.footer__bar li + li { margin: 0; }

/* Floating contact buttons */
.fab { position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)); z-index: 60; display: flex; flex-direction: column; gap: .75rem; align-items: flex-end; }
.fab__btn { position: relative; display: flex; align-items: center; justify-content: center; gap: .6rem; height: 3.5rem; min-width: 3.5rem; padding: 0 1rem; border-radius: 99px; color: #fff; box-shadow: 0 14px 28px -10px rgba(27,23,19,.5); overflow: visible; transition: transform .4s var(--ease), background-color .3s; }
.fab__btn .icon { width: 1.6rem; height: 1.6rem; stroke-width: 1.6; }
.fab__btn--wa { background: #1FAE5B; }
.fab__btn--wa:hover { background: #17964D; }
.fab__btn--call { background: var(--champagne); color: var(--ink); box-shadow: 0 14px 28px -10px rgba(27,23,19,.5), 0 0 0 1px rgba(27,23,19,.12); }
.fab__btn--call:hover { background: #E6CFA0; }
.fab__btn:hover, .fab__btn:focus-visible { transform: translateY(-3px); }
.fab__label { position: absolute; right: calc(100% + .7rem); top: 50%; padding: .45rem .85rem; background: var(--ink); color: var(--cream); font-size: .8rem; font-weight: 400; white-space: nowrap; border-radius: 3px; opacity: 0; transform: translate(8px, -50%); pointer-events: none; transition: opacity .3s, transform .4s var(--ease); }
.fab__btn:hover .fab__label, .fab__btn:focus-visible .fab__label { opacity: 1; transform: translate(0, -50%); }
.fab__btn--wa::before, .fab__btn--wa::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #1FAE5B; opacity: 0; animation: ring 2.8s ease-out infinite; pointer-events: none; }
.fab__btn--wa::after { animation-delay: 1.4s; }
.fab__btn--wa .icon { animation: ring-wiggle 5.6s ease-in-out infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes ring-wiggle { 0%, 88%, 100% { transform: rotate(0); } 91% { transform: rotate(-12deg); } 94% { transform: rotate(10deg); } 97% { transform: rotate(-6deg); } }

/* Carousel: drag */
.carousel-view.is-dragging { cursor: grabbing; user-select: none; -webkit-user-select: none; }
.carousel-view img { -webkit-user-drag: none; -webkit-touch-callout: none; }
.round-btn:disabled { opacity: .35; cursor: default; }
.round-btn:disabled:hover { background: var(--cream); color: var(--ink); border-color: var(--line); }

/* 10. Overlays & drawers --------------------------------------------------- */
.overlay { position: fixed; inset: 0; z-index: 200; }

.search { background: rgba(27,23,19,.55); animation: fade .3s both; }
.search__box { background: var(--cream); padding: clamp(1rem, 3vw, 2rem) var(--gutter) 2rem; max-height: 90vh; overflow: auto; animation: dropIn .5s var(--ease) both; }
.search__field { display: flex; align-items: center; gap: 1rem; max-width: 52rem; margin-inline: auto; border-bottom: 1px solid var(--ink); padding-bottom: .5rem; }
.search__field input { flex: 1; min-width: 0; border: 0; background: transparent; font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem); color: var(--ink); padding: .5rem 0; }
.search__field input:focus { outline: none; }
.search__results { max-width: 52rem; margin: 1.25rem auto 0; display: grid; gap: .25rem; }
.search__hint { padding: 1rem 0; color: var(--muted); }
.search__item { display: flex; align-items: center; gap: 1rem; width: 100%; padding: .6rem; text-align: left; transition: background-color .25s; }
.search__item:hover, .search__item:focus-visible { background: var(--beige); }
.search__item img { width: 3.4rem; height: 4.2rem; object-fit: cover; flex: none; }
.search__item b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.1rem; color: var(--ink); line-height: 1.25; }
.search__item span { font-size: .9rem; color: var(--muted); }

.modal { display: grid; place-items: center; padding: 1rem; background: rgba(27,23,19,.6); animation: fade .3s both; }
.modal__panel { position: relative; width: min(100%, 60rem); max-height: calc(100vh - 2rem); overflow: auto; display: grid; grid-template-columns: 1fr 1fr; background: var(--cream); animation: rise-in .5s var(--ease) both; }
.qv__img { background: var(--beige); min-height: 100%; }
.qv__img img { width: 100%; height: 100%; object-fit: contain; max-height: 80vh; }
.qv__info { padding: clamp(1.5rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: center; }
.qv__info h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: .3rem 0 1rem; }
.qv__cat { font-size: .85rem; color: var(--gold); letter-spacing: .08em; }
.qv__info .price__now { font-size: 1.5rem; }
.qv__info p { margin: 1.3rem 0; }
.qv__list { margin: 0 0 1.75rem; padding-top: 1.1rem; border-top: 1px solid var(--line); font-size: .95rem; }
.qv__list li { padding-left: 1.2rem; position: relative; }
.qv__list li::before { content: ""; position: absolute; left: 0; top: .72em; width: .35rem; height: .35rem; background: var(--gold-bright); transform: rotate(45deg); }
.qv__btns { display: flex; gap: .75rem; }
.qv__btns .btn { flex: 1; padding-inline: 1rem; }
.qv__btns .round-btn { width: auto; aspect-ratio: 1; height: auto; flex: 0 0 3.6rem; }
.qv__btns .round-btn.is-active { color: #9B2C2C; }
.qv__btns .round-btn.is-active .icon { fill: currentColor; }
.modal__close { position: absolute; top: .75rem; right: .75rem; z-index: 2; }

.lightbox { display: grid; place-items: center; background: rgba(15,12,9,.94); padding: 1rem; animation: fade .3s both; }
.lightbox img { max-width: min(92vw, 900px); max-height: 90vh; width: auto; height: auto; object-fit: contain; }
.lightbox .round-btn { position: absolute; background: rgba(252,249,242,.1); border-color: var(--line-light); color: var(--cream); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 1rem; top: 50%; translate: 0 -50%; }

.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 110; width: min(440px, 100%); display: flex; flex-direction: column; background: var(--cream); transform: translateX(100%); visibility: hidden; transition: transform .5s var(--ease), visibility .5s; }
.drawer.is-open { transform: none; visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.25rem 1.1rem 1.75rem; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.6rem; }
.drawer__list { flex: 1; overflow-y: auto; padding: .5rem 1.75rem; }
.drawer__empty { padding: 3rem 0; text-align: center; color: var(--muted); }
.drawer__empty .btn { margin-top: 1.5rem; }
.line-item { display: grid; grid-template-columns: 5.2rem 1fr auto; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.line-item img { width: 5.2rem; height: 6.5rem; object-fit: cover; background: var(--beige); }
.line-item h3 { font-size: 1.08rem; line-height: 1.25; }
.line-item .price { margin-top: .35rem; }
.line-item .price__now { font-size: .98rem; }
.line-item__rm { padding: .3rem; color: var(--muted); }
.line-item__rm:hover { color: #9B2C2C; }
.line-item__rm .icon { width: 1.1rem; height: 1.1rem; }
.qty { display: inline-flex; align-items: center; margin-top: .7rem; border: 1px solid var(--line); }
.qty button { display: grid; place-items: center; width: 2rem; height: 2rem; }
.qty button:hover { background: var(--beige); }
.qty .icon { width: .9rem; height: .9rem; }
.qty output { min-width: 2rem; text-align: center; font-size: .92rem; color: var(--ink); }
.line-item__add { margin-top: .7rem; font-size: .72rem; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; padding: .6rem 1rem; border: 1px solid var(--ink); color: var(--ink); transition: background-color .3s, color .3s; }
.line-item__add:hover { background: var(--ink); color: var(--cream); }
.drawer__foot { padding: 1.25rem 1.75rem calc(1.5rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--ivory); }
.drawer__ship { margin: 0 0 1rem; font-size: .88rem; color: var(--gold); }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1.1rem; }
.drawer__total strong { font-family: var(--font-body); font-weight: 600; font-size: 1.4rem; color: var(--ink); }

.toast { position: fixed; left: 50%; bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px)); z-index: 300; max-width: calc(100% - 2rem); padding: .9rem 1.5rem; background: var(--ink); color: var(--cream); font-size: .95rem; transform: translate(-50%, 24px); opacity: 0; visibility: hidden; transition: transform .5s var(--ease), opacity .35s, visibility .35s; pointer-events: none; text-align: center; }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

@keyframes fade { from { opacity: 0; } }
@keyframes dropIn { from { transform: translateY(-30px); opacity: 0; } }
@keyframes rise-in { from { transform: translateY(24px); opacity: 0; } }

/* 11. Responsive ----------------------------------------------------------- */
@media (max-width: 1100px) {
  :root { --header-h: 68px; }
  .header__inner { grid-template-columns: 2.75rem 1fr auto; gap: .5rem; }
  .header__burger { display: inline-grid; }
  .logo { justify-self: center; }
  .logo__word { font-size: 1.65rem; }

  .nav { position: fixed; top: 0; bottom: 0; left: 0; z-index: 100; width: min(360px, 88vw); padding: 5rem 2rem 2rem; background: var(--cream); transform: translateX(-100%); visibility: hidden; transition: transform .5s var(--ease), visibility .5s; overflow-y: auto; }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__close { display: inline-grid; position: absolute; top: .9rem; right: .9rem; }
  .nav__list { flex-direction: column; justify-content: flex-start; gap: 0; }
  .nav__list li { border-bottom: 1px solid var(--line); }
  .nav__list a { padding: 1rem 0; font-family: var(--font-display); font-size: 1.3rem; letter-spacing: 0; }
  .nav__list a::after { display: none; }

  .product-grid, .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid li:nth-child(3) { padding-left: 0; border-left: 0; }
  .why__grid li:nth-child(n+3) { border-top: 1px solid rgba(27,23,19,.14); margin-top: 2.25rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; min-height: 0; padding-top: 2.5rem; gap: 2.5rem; }
  .hero__copy { padding-bottom: 0; }
  .hero__title { max-width: 11em; }
  .hero__arches { height: clamp(300px, 70vw, 520px); }

  .promo__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .promo__copy { padding-bottom: 0; }
  .promo__imgs { height: clamp(320px, 74vw, 520px); }

  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 32rem; }

  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(190px, 44vw, 320px); }

  .modal__panel { grid-template-columns: 1fr; }
  .qv__img img { max-height: 46vh; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .logo__tag { display: none; }
  .logo__word { font-size: 1.5rem; }
  .announce { font-size: .72rem; }

  .hero__sub { font-size: 1.05rem; }
  .hero__cta .btn { flex: 1 1 100%; }

  .cat-grid { gap: 1.5rem .8rem; }
  .cat__name { font-size: 1.02rem; }
  .toolbar { gap: 1rem; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; width: calc(100% + 2 * var(--gutter)); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { white-space: nowrap; flex: none; }
  .sort { width: 100%; justify-content: space-between; }

  .product-grid { gap: 1.75rem .75rem; }
  .card__name { font-size: 1rem; }
  .price__now { font-size: .95rem; }
  .price__was { font-size: .82rem; }
  .carousel .card { flex-basis: 62vw; }

  .why__grid { grid-template-columns: 1fr; }
  .why__grid li, .why__grid li + li { padding: 2rem 0 0; border-left: 0; margin-top: 0; }
  .why__grid li + li { margin-top: 2rem; border-top: 1px solid rgba(27,23,19,.14); }

  .footer__grid { grid-template-columns: 1fr; text-align: left; }
  .social { gap: .7rem; }
  .social a { width: 3rem; height: 3rem; }
  .fab { gap: .6rem; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); }
  .fab__btn { height: 3.1rem; min-width: 3.1rem; padding: 0 .85rem; }
  .fab__label { display: none; }
  .footer__bar { padding-bottom: 6.5rem; }
  .qv__btns { flex-wrap: wrap; }
}

/* Touch devices & small screens: no hover to reveal actions, so show compact icon buttons */
@media (hover: none), (max-width: 600px) {
  .card__actions { grid-template-columns: none; display: flex; flex-direction: column; gap: .4rem; left: auto; right: .55rem; bottom: .55rem; transform: none; }
  .card__actions button { width: 2.5rem; height: 2.5rem; padding: 0; border-radius: 50%; }
  .card__actions .label { display: none; }
  .card__actions .icon { width: 1.1rem; height: 1.1rem; }
  .card:hover .card__media > img { transform: none; }
}

/* 12. Reduced motion ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-speed] { transform: none !important; }
  .fab__btn--wa::before, .fab__btn--wa::after, .fab__btn--wa .icon { animation: none !important; }
}
