/* Magic House — main stylesheet */
:root {
  --burgundy: #47070D;
  --burgundy-dark: #310509;
  --cream: #FAF5EF;
  --beige: #E9D8C8;
  --gold: #B58D68;
  --brown: #352321;
  --white: #FFFFFF;
  --muted: #6E5650;
  --line: rgba(71, 7, 13, .14);

  --serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --step--1: .875rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem);
  --step-3: clamp(2.1rem, 1.6rem + 2.2vw, 3.2rem);
  --step-4: clamp(2.8rem, 1.9rem + 4.2vw, 5.4rem);

  --radius-s: 12px;
  --radius-m: 20px;
  --radius-l: 32px;
  --arch: 999px 999px var(--radius-m) var(--radius-m);
  --wrap: 1240px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --header-h: 76px;
  --shadow: 0 18px 40px -22px rgba(49, 5, 9, .45);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--cream); color: var(--brown);
  font-family: var(--sans); font-size: var(--step-0); line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: var(--burgundy); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--burgundy); color: var(--cream); padding: .7rem 1.1rem; border-radius: var(--radius-s); }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--burgundy); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--cream); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.5rem; border-radius: 999px; border: 1px solid var(--burgundy);
  background: var(--burgundy); color: var(--cream); text-decoration: none; font-weight: 500; font-size: .95rem;
  cursor: pointer; transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.btn:hover { background: var(--burgundy-dark); border-color: var(--burgundy-dark); }
.btn--ghost { background: transparent; color: var(--burgundy); }
.btn--ghost:hover { background: var(--burgundy); color: var(--cream); }
.btn--light { background: var(--cream); color: var(--burgundy); border-color: var(--cream); }
.btn--light:hover { background: var(--white); border-color: var(--white); color: var(--burgundy-dark); }
.btn--sm { min-height: 42px; padding: .55rem 1.1rem; font-size: .88rem; }
.btn svg { width: 18px; height: 18px; flex: none; }
.link-arrow { display: inline-flex; align-items: center; gap: .45rem; color: var(--burgundy); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.link-arrow:hover { border-color: var(--burgundy); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(250, 245, 239, .94);
  backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -20px rgba(49,5,9,.5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 52px; width: auto; }
.main-nav ul { display: flex; gap: clamp(1rem, 2.4vw, 2.2rem); list-style: none; margin: 0; padding: 0; }
.main-nav a { position: relative; text-decoration: none; color: var(--burgundy); font-size: .95rem; padding: .4rem 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: .35rem; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--burgundy); cursor: pointer; text-decoration: none; transition: background-color .2s ease; }
.icon-btn:hover { background: var(--beige); }
.icon-btn svg { width: 21px; height: 21px; }
.menu-toggle { display: none; }

@media (max-width: 920px) {
  :root { --header-h: 66px; }
  .brand img { height: 44px; }
  .main-nav, .header-actions .btn, .header-actions .wa-icon { display: none; }
  .menu-toggle { display: inline-grid; }
}

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 150; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(49, 5, 9, .45); opacity: 0; transition: opacity .3s ease; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 380px); background: var(--cream);
  padding: 1.1rem 1.4rem 2rem; display: flex; flex-direction: column; transform: translateX(100%);
  transition: transform .35s cubic-bezier(.2,.7,.2,1); overflow-y: auto;
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.drawer__top img { height: 44px; width: auto; }
.drawer nav ul { list-style: none; margin: 0; padding: 0; }
.drawer nav a { display: block; padding: .85rem 0; font-family: var(--serif); font-size: 1.75rem; color: var(--burgundy); text-decoration: none; border-bottom: 1px solid var(--line); }
.drawer .btn { margin-top: 1.8rem; }
.drawer__social { display: flex; gap: .5rem; margin-top: auto; padding-top: 2rem; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--beige { background: var(--beige); }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section-head { max-width: 640px; margin: 0 auto clamp(2.2rem, 5vw, 3.5rem); text-align: center; }
.section-head h2 { font-size: var(--step-3); }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.kicker { display: block; font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--gold); margin-bottom: .6rem; }
.flourish { width: 120px; height: 18px; color: var(--gold); margin: 0 auto 1rem; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3.5rem, 8vw, 6rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.hero h1 { font-size: var(--step-4); margin-bottom: .1em; font-weight: 500; }
.hero .subtitle { font-family: var(--serif); font-style: italic; font-size: clamp(1.8rem, 1.3rem + 2vw, 3rem); color: var(--gold); line-height: 1.1; margin: 0 0 1.4rem; }
.hero .lede { max-width: 33rem; font-size: 1.08rem; color: var(--muted); margin-bottom: 2rem; }
.hero .eyebrow { display: block; font-size: .9rem; color: var(--burgundy); margin-bottom: 1.2rem; font-weight: 500; }
.hero-points { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; list-style: none; margin: 2.6rem 0 0; padding: 1.6rem 0 0; border-top: 1px solid var(--line); }
.hero-points li { display: flex; align-items: center; gap: .6rem; font-size: .92rem; color: var(--brown); }
.hero-points svg { width: 22px; height: 22px; color: var(--burgundy); flex: none; }

.arch { position: relative; border-radius: var(--arch); overflow: hidden; background: var(--burgundy); aspect-ratio: 4 / 5; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch--outline::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(250, 245, 239, .45); border-radius: inherit; pointer-events: none; }
.hero-visual { position: relative; max-width: 480px; justify-self: end; width: 100%; isolation: isolate; }
.hero-visual::before { content: ""; position: absolute; inset: -22px 22px 22px -22px; border: 1px solid var(--gold); border-radius: var(--arch); z-index: -1; }
.arch-fallback { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(120% 80% at 50% 20%, #5a0d14 0%, var(--burgundy) 45%, var(--burgundy-dark) 100%); }
.arch-fallback img { width: 46%; height: auto; object-fit: contain; opacity: .95; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; max-width: min(300px, 78vw); order: -1; margin-top: .75rem; }
  .hero-visual .arch { aspect-ratio: 5 / 6; }
  .hero-visual::before { inset: -14px 14px 14px -14px; }
  .hero-copy { text-align: center; }
  .hero .lede { margin-inline: auto; }
  .hero-points { justify-content: center; }
}

/* Single orchestrated entrance */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero-copy > *:nth-child(2) { animation-delay: .08s; }
  .hero-copy > *:nth-child(3) { animation-delay: .16s; }
  .hero-copy > *:nth-child(4) { animation-delay: .24s; }
  .hero-copy > *:nth-child(5) { animation-delay: .32s; }
  .hero-copy > *:nth-child(6) { animation-delay: .4s; }
  .hero-visual .arch { animation: arch-in 1.2s cubic-bezier(.2,.7,.2,1) .1s both; }
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
  .reveal.is-in { opacity: 1; transform: none; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes arch-in { from { opacity: 0; clip-path: inset(30% 0 0 0 round 999px 999px 20px 20px); } to { opacity: 1; clip-path: inset(0 0 0 0 round 999px 999px 20px 20px); } }

/* ---------- Collection cards ---------- */
.collection-grid { --cols: 4; --gap: clamp(.8rem, 2vw, 1.6rem); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.collection-grid > * { flex: 0 0 calc((100% - var(--gap) * (var(--cols) - 1)) / var(--cols)); }
@media (max-width: 1024px) { .collection-grid { --cols: 2; } }
.collection-card { position: relative; display: block; text-decoration: none; border-radius: var(--radius-l); overflow: hidden; background: var(--beige); aspect-ratio: 3 / 4; isolation: isolate; }
.collection-card .media { position: absolute; inset: 0; }
.collection-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.collection-card:hover .media img { transform: scale(1.05); }
.collection-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(49,5,9,0) 45%, rgba(49,5,9,.78) 100%); z-index: 1; }
.collection-card .label { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: .6rem; padding: clamp(.9rem, 2.4vw, 1.5rem); color: var(--cream); }
.collection-card h3 { color: var(--cream); font-size: clamp(1.2rem, 1rem + 1vw, 1.75rem); margin: 0; }
.collection-card .count { display: block; font-size: .8rem; opacity: .85; margin-top: .25rem; font-family: var(--sans); }
.collection-card .go { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--cream); color: var(--burgundy); transition: transform .3s ease; }
.collection-card:hover .go { transform: rotate(-45deg); }
.collection-card .go svg { width: 18px; height: 18px; }
.tile-fallback { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(160deg, var(--beige), #dcc6b1); }
.tile-fallback img, .collection-card .media .tile-fallback img, .product-card .media .tile-fallback img, .collection-row .media .tile-fallback img, .pdp-gallery .main .tile-fallback img { width: 34%; height: auto; object-fit: contain; opacity: .22; transform: none; }
.center-link { text-align: center; margin-top: 2.4rem; }
@media (max-width: 520px) {
  .collection-card { border-radius: var(--radius-m); }
  .collection-card .go { width: 32px; height: 32px; }
}

/* ---------- Split (about) ---------- */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 7vw, 6rem); align-items: center; }
.split h2 { font-size: var(--step-3); }
.split p { color: var(--muted); max-width: 34rem; font-size: 1.05rem; }
.split .arch { max-width: 440px; }
.split .eyebrow { display: block; font-size: .9rem; color: var(--burgundy); font-weight: 500; margin-bottom: 1rem; }
.about-band { position: relative; overflow: hidden; }
.about-band .floral { position: absolute; right: -40px; top: 40px; width: 260px; color: var(--gold); opacity: .45; pointer-events: none; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split .arch { margin-inline: auto; max-width: 340px; } .about-band .floral { display: none; } }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.9rem, 2vw, 1.6rem); }
.product-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) { .product-grid, .product-grid--3 { grid-template-columns: repeat(2, 1fr); } }
.product-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius-m); overflow: hidden; transition: transform .35s ease, box-shadow .35s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card .media { position: relative; display: block; aspect-ratio: 1; background: var(--beige); overflow: hidden; }
.product-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.product-card:hover .media img { transform: scale(1.04); }
.product-card .badge { position: absolute; top: .7rem; left: .7rem; background: var(--cream); color: var(--burgundy); font-size: .75rem; padding: .25rem .6rem; border-radius: 999px; }
.product-card .body { display: flex; flex-direction: column; flex: 1; padding: 1rem 1.1rem 1.15rem; }
.product-card h3 { font-size: 1.35rem; margin-bottom: .25rem; }
.product-card h3 a { text-decoration: none; }
.product-card .desc { font-size: .9rem; color: var(--muted); margin-bottom: .6rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card .price { font-weight: 500; color: var(--burgundy); margin-bottom: .9rem; }
.product-card .actions { display: flex; gap: .5rem; margin-top: auto; flex-wrap: wrap; }
.product-card .actions .btn { flex: 1 1 auto; min-height: 42px; padding: .5rem .8rem; font-size: .84rem; }
@media (max-width: 520px) {
  .product-card .body { padding: .8rem .8rem .9rem; }
  .product-card h3 { font-size: 1.12rem; }
  .product-card .desc { display: none; }
  .product-card .actions { flex-direction: column; }
}
.load-more { display: flex; justify-content: center; margin-top: 2.4rem; }
.empty-note { text-align: center; max-width: 30rem; margin: 0 auto; padding: 3rem 1.5rem; border: 1px dashed var(--gold); border-radius: var(--radius-l); color: var(--muted); }
.empty-note h3 { font-size: 1.6rem; }

/* ---------- Advantages ---------- */
.advantages { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.2rem, 3vw, 2.5rem); text-align: center; }
.advantages li { list-style: none; }
.advantages ul, ul.advantages { margin: 0; padding: 0; }
.advantage-icon { width: 64px; height: 64px; margin: 0 auto 1.1rem; display: grid; place-items: center; border-radius: 999px 999px 18px 18px; border: 1px solid var(--gold); color: var(--burgundy); }
.advantage-icon svg { width: 26px; height: 26px; }
.advantages h3 { font-size: 1.4rem; margin-bottom: .35rem; }
.advantages p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 860px) { .advantages { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .advantages { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.masonry { columns: 4 240px; column-gap: 1rem; }
.masonry figure { break-inside: avoid; margin: 0 0 1rem; border-radius: var(--radius-m); overflow: hidden; background: var(--beige); }
.masonry button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; }
.masonry img { width: 100%; transition: transform .6s ease; }
.masonry button:hover img { transform: scale(1.04); }
.masonry figcaption { padding: .55rem .8rem .7rem; font-size: .85rem; color: var(--muted); background: var(--white); }
@media (max-width: 560px) { .masonry { columns: 2; column-gap: .6rem; } .masonry figure { margin-bottom: .6rem; border-radius: var(--radius-s); } }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 2rem; }
.filters button { min-height: 40px; padding: .4rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--white); cursor: pointer; color: var(--burgundy); }
.filters button[aria-pressed="true"] { background: var(--burgundy); color: var(--cream); border-color: var(--burgundy); }

.lightbox { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; background: rgba(33, 4, 7, .94); padding: 3.5rem 1rem; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1100px, 100%); max-height: 82vh; width: auto; border-radius: var(--radius-s); }
.lightbox .icon-btn { position: absolute; color: var(--cream); background: rgba(250,245,239,.08); }
.lightbox .icon-btn:hover { background: rgba(250,245,239,.18); }
.lightbox .lb-close { top: 1rem; right: 1rem; }
.lightbox .lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-caption { position: absolute; bottom: 1.1rem; left: 0; right: 0; text-align: center; color: var(--beige); font-size: .9rem; padding-inline: 4rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--burgundy); color: var(--cream); text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: var(--cream); font-size: var(--step-3); }
.cta-band p { color: var(--beige); max-width: 34rem; margin: 0 auto 2rem; font-size: 1.08rem; }
.cta-band .ring { position: absolute; width: 520px; aspect-ratio: 4/5; border: 1px solid rgba(181, 141, 104, .45); border-radius: 999px 999px 30px 30px; pointer-events: none; }
.cta-band .ring--l { left: -260px; top: -60px; }
.cta-band .ring--r { right: -260px; bottom: -120px; }
.cta-band .wrap { position: relative; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 0; font-family: var(--serif); font-size: 1.4rem; color: var(--burgundy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; transition: transform .3s ease; color: var(--gold); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 1.2rem; margin: 0; max-width: 46rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: .8rem; }
.contact-list > li > a, .contact-list > li > span { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; border-radius: var(--radius-m); background: var(--white); text-decoration: none; color: var(--brown); transition: transform .25s ease, box-shadow .25s ease; }
.contact-list > li > a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.contact-list .ci { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--beige); color: var(--burgundy); flex: none; }
.contact-list .ci svg { width: 20px; height: 20px; }
.contact-list small { display: block; color: var(--muted); font-size: .8rem; }
.form { background: var(--white); border-radius: var(--radius-l); padding: clamp(1.4rem, 4vw, 2.4rem); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .9rem; font-weight: 500; color: var(--burgundy); margin-bottom: .35rem; }
.field input, .field textarea { width: 100%; padding: .85rem 1rem; border: 1px solid #d9c6b4; border-radius: var(--radius-s); background: var(--cream); font: inherit; color: var(--brown); min-height: 48px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--burgundy); outline-offset: 1px; border-color: var(--burgundy); }
.field .err { display: none; color: #9b1c1c; font-size: .82rem; margin-top: .3rem; }
.field.has-error input, .field.has-error textarea { border-color: #9b1c1c; }
.field.has-error .err { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1rem; font-size: .95rem; }
.form-status.ok { color: #2f5d34; }
.form-status.bad { color: #9b1c1c; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: .8rem; }

/* ---------- Page hero / breadcrumbs ---------- */
.page-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem); text-align: center; }
.page-hero h1 { font-size: var(--step-4); margin-bottom: .2em; }
.page-hero p { color: var(--muted); max-width: 38rem; margin: 0 auto; font-size: 1.08rem; }
.breadcrumbs { font-size: .85rem; color: var(--muted); margin-bottom: 1.2rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--gold); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs--left ol { justify-content: flex-start; }

/* Collections index */
.collection-rows { display: grid; gap: clamp(1rem, 3vw, 2rem); }
.collection-row { display: grid; grid-template-columns: 340px 1fr; gap: clamp(1.2rem, 4vw, 3rem); align-items: center; background: var(--white); border-radius: var(--radius-l); padding: clamp(.8rem, 1.6vw, 1.1rem); }
.collection-row .media { position: relative; aspect-ratio: 4/3; border-radius: calc(var(--radius-l) - 10px); overflow: hidden; background: var(--beige); }
.collection-row .media img { width: 100%; height: 100%; object-fit: cover; }
.collection-row h2 { font-size: var(--step-2); }
.collection-row p { color: var(--muted); max-width: 36rem; }
.collection-row .meta { font-size: .88rem; color: var(--gold); margin-bottom: 1rem; }
.collection-row .text { padding: .5rem clamp(0rem, 2vw, 1.5rem) .5rem 0; }
@media (max-width: 760px) { .collection-row { grid-template-columns: 1fr; } .collection-row .text { padding: .2rem .6rem 1rem; } }

/* ---------- Product detail ---------- */
.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; padding-block: clamp(1.5rem, 4vw, 3rem) clamp(3rem, 7vw, 5rem); }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; } }
.pdp-gallery .main { position: relative; border-radius: var(--radius-l); overflow: hidden; background: var(--beige); aspect-ratio: 1; }
.pdp-gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.pdp-gallery .thumbs { display: flex; gap: .6rem; margin-top: .8rem; overflow-x: auto; padding-bottom: .2rem; }
.pdp-gallery .thumbs button { flex: none; width: 78px; height: 78px; border-radius: var(--radius-s); overflow: hidden; padding: 0; border: 2px solid transparent; cursor: pointer; background: var(--beige); }
.pdp-gallery .thumbs button[aria-current="true"] { border-color: var(--burgundy); }
.pdp-gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info h1 { font-size: var(--step-3); }
.pdp-info .cat { display: inline-block; font-size: .85rem; color: var(--burgundy); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: .2rem .8rem; margin-bottom: 1rem; }
.pdp-info .price { font-size: 1.5rem; color: var(--burgundy); font-family: var(--serif); margin-bottom: 1rem; }
.pdp-info .desc { color: var(--muted); font-size: 1.05rem; }
.spec { list-style: none; margin: 1.4rem 0; padding: 0; border-top: 1px solid var(--line); }
.spec li { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.spec li span:first-child { color: var(--burgundy); font-weight: 500; }
.pdp-info .btn { width: 100%; margin-top: .6rem; }
.availability { font-size: .9rem; margin-bottom: 1rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--burgundy-dark); color: var(--beige); padding-block: clamp(3.5rem, 7vw, 5rem) 1.6rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer img.flogo { height: 84px; width: auto; margin-bottom: 1.1rem; }
.site-footer p { font-size: .92rem; max-width: 22rem; }
.site-footer h3 { color: var(--cream); font-size: 1.25rem; margin-bottom: .8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: .92rem; }
.site-footer a { text-decoration: none; color: var(--beige); }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-social { display: flex; gap: .4rem; margin-top: 1rem; }
.footer-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(233, 216, 200, .3); }
.footer-social a:hover { background: rgba(233,216,200,.12); text-decoration: none; }
.footer-social svg { width: 19px; height: 19px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(233, 216, 200, .18); font-size: .82rem; color: rgba(233, 216, 200, .8); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 90; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--burgundy); color: var(--cream); box-shadow: 0 12px 28px -10px rgba(49,5,9,.6); text-decoration: none; transition: transform .25s ease, background-color .25s ease; }
.wa-float:hover { transform: scale(1.06); background: var(--burgundy-dark); }
.wa-float svg { width: 28px; height: 28px; }

/* Search overlay */
.search { position: fixed; inset: 0; z-index: 160; display: none; background: rgba(250, 245, 239, .98); padding: calc(var(--header-h) + 1rem) var(--gutter) 2rem; overflow-y: auto; }
.search.is-open { display: block; }
.search .close { position: absolute; top: 1rem; right: 1rem; }
.search-box { max-width: 720px; margin: 0 auto; }
.search-box label { font-family: var(--serif); font-size: var(--step-2); color: var(--burgundy); display: block; margin-bottom: .8rem; }
.search-box input { width: 100%; font: inherit; font-size: 1.2rem; padding: 1rem 1.2rem; border: 1px solid var(--burgundy); border-radius: 999px; background: var(--white); color: var(--brown); }
.search-results { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .6rem; }
.search-results a { display: flex; align-items: center; gap: 1rem; padding: .6rem; border-radius: var(--radius-m); background: var(--white); text-decoration: none; }
.search-results a:hover { box-shadow: var(--shadow); }
.search-results img, .search-results .thumb { width: 60px; height: 60px; border-radius: var(--radius-s); object-fit: cover; background: var(--beige); flex: none; }
.search-results strong { display: block; color: var(--burgundy); font-family: var(--serif); font-size: 1.2rem; font-weight: 500; }
.search-results small { color: var(--muted); }
.search-empty { color: var(--muted); margin-top: 1.4rem; }

/* Prose pages */
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { font-size: var(--step-2); margin-top: 2rem; }
.prose p, .prose li { color: var(--brown); }

/* 404 */
.notfound { text-align: center; padding-block: clamp(4rem, 12vw, 8rem); }
.notfound .num { font-family: var(--serif); font-size: clamp(5rem, 18vw, 10rem); color: var(--beige); line-height: 1; }

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

/* Coming soon collection */
.collection-card .soon { position: absolute; top: 1rem; left: 1rem; z-index: 2; background: var(--burgundy); color: var(--cream); font-size: .78rem; padding: .3rem .75rem; border-radius: 999px; }
.collection-card.is-soon .tile-fallback { background: radial-gradient(120% 80% at 50% 25%, #5a0d14 0%, var(--burgundy) 50%, var(--burgundy-dark) 100%); }
.collection-card.is-soon .tile-fallback img { opacity: .9; filter: brightness(0) invert(94%) sepia(8%) saturate(300%) hue-rotate(330deg); }
.collection-card.is-soon .soon { background: var(--cream); color: var(--burgundy); }
