/* Designza storefront — visual redesign #2
   Loaded only on public store pages (admin keeps app.css).
*/

:root {
  --dz-bg: #FCFAF7;
  --dz-ink: #171313;
  --dz-burgundy: #7A1233;
  --dz-burgundy-deep: #4B0B20;
  --dz-gold: #D6A84B;
  --dz-stone: #F2EEE8;
  --dz-white: #FFFFFF;
  --dz-success: #147A4A;
  --dz-muted: #5C5652;
  --dz-line: rgba(23, 19, 19, 0.1);
  --dz-line-strong: rgba(23, 19, 19, 0.16);
  --dz-danger: #9B1C1C;
  --dz-max: 1320px;
  --dz-gutter: 1.25rem;
  --dz-header-h: 76px;
  --dz-nav-h: 64px;
  --dz-font-display: "Segoe UI Semibold", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --dz-font-body: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --dz-radius: 6px;
  --dz-radius-md: 8px;
  --dz-radius-lg: 12px;
  --dz-shadow-sm: 0 1px 2px rgba(23, 19, 19, 0.05);
  --dz-shadow: 0 12px 36px rgba(23, 19, 19, 0.08);
  --dz-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

body.store-body {
  margin: 0;
  color: var(--dz-ink);
  background: var(--dz-bg);
  font-family: var(--dz-font-body);
  font-size: 1rem;
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--dz-nav-h) + env(safe-area-inset-bottom, 0px) + 0.5rem);
}

@media (min-width: 1100px) {
  body.store-body { padding-bottom: 0; }
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--dz-burgundy); text-decoration: none; }
a:hover { color: var(--dz-burgundy-deep); }
:focus-visible {
  outline: 2px solid var(--dz-gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--dz-burgundy);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container {
  width: min(100% - (var(--dz-gutter) * 2), var(--dz-max));
  margin-inline: auto;
}

.store-main { padding: 0 0 3.5rem; }

/* Typography — body font for headings; display only for hero H1 */
.t-display {
  font-family: var(--dz-font-body);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--dz-ink);
}
.t-h1 { font-size: clamp(2rem, 4vw, 3rem); }
.t-h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.t-h3 { font-size: clamp(1.1rem, 1.5vw, 1.3rem); }
.t-lead {
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  color: var(--dz-muted);
  line-height: 1.6;
  max-width: 38rem;
}
.t-meta {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dz-muted);
  font-weight: 600;
}

/* Buttons — 48px, soft radius (not pills) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border-radius: var(--dz-radius-md);
  border: 1px solid transparent;
  font-family: var(--dz-font-body);
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.2s var(--dz-ease),
    color 0.2s var(--dz-ease),
    border-color 0.2s var(--dz-ease),
    transform 0.2s var(--dz-ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--dz-burgundy);
  color: #fff;
}
.btn--primary:hover {
  background: var(--dz-burgundy-deep);
  color: #fff;
}
.btn--secondary {
  background: transparent;
  color: var(--dz-ink);
  border-color: var(--dz-line-strong);
}
.btn--secondary:hover {
  border-color: var(--dz-burgundy);
  color: var(--dz-burgundy);
}
.btn--ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}
.btn--block { width: 100%; }
.btn:disabled,
.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
.btn--sm {
  min-height: 40px;
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--dz-ink);
  cursor: pointer;
  border-radius: var(--dz-radius-md);
}
.icon-btn:hover { background: var(--dz-stone); }

/* Announcement */
.announce-bar {
  background: var(--dz-burgundy-deep);
  color: #fff;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 550;
  letter-spacing: 0.02em;
  padding: 0.5rem var(--dz-gutter);
}
.announce-bar a {
  color: var(--dz-gold);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* ─── Header ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--dz-header-h);
  height: auto;
  background: rgba(252, 250, 247, 0.94);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  transition: border-color 0.25s var(--dz-ease), box-shadow 0.25s var(--dz-ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--dz-line);
  box-shadow: var(--dz-shadow-sm);
}
.site-header__inner {
  width: min(100% - (var(--dz-gutter) * 2), var(--dz-max));
  margin: 0 auto;
  height: 100%;
  min-height: 72px;
  max-height: 80px;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 0.5rem;
}
@media (min-width: 1100px) {
  .site-header__inner {
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
  }
}

.site-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
@media (min-width: 1100px) {
  .site-logo { justify-content: flex-start; }
}
.logo-img {
  width: auto;
  height: auto;
  max-height: 44px;
  max-width: min(140px, 55vw);
  object-fit: contain;
  object-position: center;
}
@media (min-width: 1100px) {
  .logo-img {
    max-height: 48px;
    max-width: 140px;
  }
}
.logo-img--sm { max-height: 40px; max-width: 120px; }

.header-menu-btn { justify-self: start; }
.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
}
@media (min-width: 1100px) {
  .site-nav { display: flex; }
  .header-menu-btn { display: none; }
}
.site-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 0.75rem;
  color: var(--dz-ink);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s var(--dz-ease), border-color 0.2s var(--dz-ease);
}
.site-nav__link:hover { color: var(--dz-burgundy); }
.site-nav__link.is-active {
  color: var(--dz-burgundy);
  border-bottom-color: var(--dz-burgundy);
}
.site-nav__dropdown { position: relative; }
.site-nav__dropbtn {
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
}
.site-nav__dropmenu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--dz-white);
  border: 1px solid var(--dz-line);
  border-radius: var(--dz-radius-md);
  box-shadow: var(--dz-shadow);
  padding: 0.5rem;
  display: none;
  z-index: 60;
}
.site-nav__dropdown:focus-within .site-nav__dropmenu,
.site-nav__dropdown:hover .site-nav__dropmenu {
  display: grid;
  gap: 0.1rem;
}
.site-nav__dropmenu a {
  display: block;
  padding: 0.65rem 0.85rem;
  border-radius: 6px;
  color: var(--dz-ink);
  font-size: 0.9rem;
  font-weight: 550;
  letter-spacing: 0;
  text-transform: none;
}
.site-nav__dropmenu a:hover {
  background: var(--dz-stone);
  color: var(--dz-burgundy);
}
.site-nav__empty {
  display: block;
  padding: 0.7rem 0.85rem;
  color: var(--dz-muted);
  font-size: 0.88rem;
}
.site-tagline { display: none; }

/* Search link with visible "Search" label on desktop */
.search-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0 0.5rem;
  color: var(--dz-ink);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}
.search-link:hover { color: var(--dz-burgundy); }
.search-link__label { display: none; }
@media (min-width: 1100px) {
  .search-link__label { display: inline; }
  .header-actions .search-link {
    margin-left: 0.25rem;
    padding-inline: 0.65rem;
  }
}

/* Drawer */
.store-drawer[hidden] { display: none; }
.store-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
}
.store-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 19, 19, 0.45);
}
.store-drawer__panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(88vw, 340px);
  background: var(--dz-bg);
  padding: 1rem 1.25rem 2rem;
  overflow: auto;
  box-shadow: var(--dz-shadow);
  animation: drawerIn 0.28s var(--dz-ease);
}
@keyframes drawerIn {
  from { transform: translateX(-12px); opacity: 0.6; }
  to { transform: none; opacity: 1; }
}
.store-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.store-drawer__nav { display: grid; gap: 0.15rem; }
.store-drawer__nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 0.35rem;
  color: var(--dz-ink);
  font-size: 1.05rem;
  font-weight: 550;
  border-bottom: 1px solid var(--dz-line);
}
.store-drawer__label {
  margin: 1.25rem 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dz-gold);
  font-weight: 700;
}

/* ─── Hero (editorial burgundy composition) ─── */
.hero,
.hero--editorial {
  position: relative;
  width: min(100% - (var(--dz-gutter) * 2), var(--dz-max));
  margin: 1rem auto 0;
  display: grid;
  overflow: hidden;
  border-radius: var(--dz-radius-lg);
  background: linear-gradient(135deg, var(--dz-burgundy-deep) 0%, var(--dz-burgundy) 100%);
  color: #fff;
  max-height: 640px;
}
.hero__content {
  order: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.35rem 1.25rem 1.1rem;
  background: transparent;
  color: #fff;
}
.hero__media {
  order: 2;
  position: relative;
  min-height: 200px;
  max-height: 280px;
  background: transparent;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero__media img {
  width: 100%;
  height: 100%;
  max-height: 280px;
  object-fit: contain;
  object-position: bottom center;
}
.hero__title {
  margin: 0 0 0.65rem;
  font-family: var(--dz-font-display);
  font-size: clamp(1.75rem, 5vw, 2.35rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #fff;
  max-width: 14ch;
}
.hero__lead {
  margin: 0 0 1.15rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 30rem;
  line-height: 1.5;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.hero__actions .btn--primary {
  background: var(--dz-white);
  color: var(--dz-burgundy-deep);
}
.hero__actions .btn--primary:hover {
  background: var(--dz-stone);
  color: var(--dz-burgundy-deep);
}
.hero__actions .btn--secondary,
.hero__actions .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.hero__actions .btn--secondary:hover,
.hero__actions .btn--ghost:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.hero__micro,
.hero__trust {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 768px) {
  .hero,
  .hero--editorial {
    grid-template-columns: 42% 58%;
    height: clamp(520px, 58vh, 600px);
    max-height: 600px;
  }
  .hero__content {
    padding: clamp(1.75rem, 3.5vw, 3.25rem) clamp(1.5rem, 3vw, 3rem);
  }
  .hero__media {
    min-height: 100%;
    max-height: none;
    height: 100%;
  }
  .hero__media img {
    max-height: none;
    height: 100%;
    object-fit: cover;
    object-position: bottom center;
  }
  .hero__title {
    font-size: clamp(2.25rem, 3.8vw, 3.35rem);
  }
  .hero__lead { font-size: 1.05rem; margin-bottom: 1.5rem; }
}

@media (max-width: 767px) {
  .hero,
  .hero--editorial {
    max-height: 640px;
  }
  .hero__actions {
    flex-wrap: nowrap;
  }
  .hero__actions .btn {
    flex: 1 1 auto;
    min-width: 0;
    padding-inline: 0.85rem;
    font-size: 0.85rem;
  }
}

/* Legacy full-bleed banner (kept for other pages) */
.hero-banner {
  position: relative;
  min-height: clamp(360px, 50vh, 520px);
  display: grid;
  align-items: end;
  overflow: hidden;
  border-radius: var(--dz-radius-lg);
  width: min(100% - (var(--dz-gutter) * 2), var(--dz-max));
  margin: 1rem auto 0;
}
.hero-banner__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-banner__content {
  position: relative;
  z-index: 1;
  padding: 2rem 1.5rem;
  color: #fff;
  background: linear-gradient(transparent, rgba(75, 11, 32, 0.75));
}
.hero-banner__content .hero__title { color: #fff; max-width: 14ch; }
.hero-banner__content .hero__lead { color: rgba(255, 255, 255, 0.9); }

/* ─── Sections ─── */
.home-section,
#collections,
#featured,
#new,
#custom,
#bulk,
#faq,
#proof {
  scroll-margin-top: calc(var(--dz-header-h) + 1rem);
}

.home-section {
  width: min(100% - (var(--dz-gutter) * 2), var(--dz-max));
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 4.5rem) 0;
}
@media (min-width: 900px) {
  .home-section {
    padding: clamp(5rem, 8vw, 7rem) 0;
  }
}

.section-head {
  display: grid;
  gap: 0.35rem 1.5rem;
  margin-bottom: 1.75rem;
  align-items: end;
}
@media (min-width: 768px) {
  .section-head {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
  }
  .section-head .t-lead,
  .section-head .section-lead { grid-column: 1; }
  .section-head .text-link {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }
}
.section-title {
  margin: 0;
  font-family: var(--dz-font-body);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--dz-ink);
}
.section-lead {
  margin: 0;
  color: var(--dz-muted);
  font-size: 0.98rem;
  max-width: 36rem;
}
.text-link {
  color: var(--dz-burgundy);
  font-weight: 650;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* ─── Category rail ─── */
.category-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(68%, 1fr);
  gap: 0.85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.35rem;
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 560px) {
  .category-rail {
    grid-auto-flow: unset;
    grid-auto-columns: unset;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    scroll-snap-type: none;
  }
}
@media (min-width: 900px) {
  .category-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
  }
}
@media (min-width: 1100px) {
  .category-rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.category-tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  max-height: 420px;
  border-radius: var(--dz-radius-lg);
  overflow: hidden;
  background: var(--dz-stone);
  scroll-snap-align: start;
  text-decoration: none;
  color: #fff;
}
@media (max-width: 559px) {
  .category-tile {
    aspect-ratio: 3 / 4;
    max-height: 320px;
  }
}
.category-tile__media,
.category-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.category-tile__fallback {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(145deg, var(--dz-burgundy-deep) 0%, var(--dz-burgundy) 55%, #2a1818 140%);
}
.category-tile__caption {
  position: absolute;
  inset: auto 0 0;
  padding: 1.25rem 1.1rem;
  background: linear-gradient(transparent, rgba(23, 19, 19, 0.72));
}
.category-tile__name {
  margin: 0;
  font-family: var(--dz-font-body);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.category-tile__explore {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dz-gold);
}
.category-tile img { transition: transform 0.45s var(--dz-ease); }
.category-tile:hover img { transform: scale(1.04); }

/* Typographic category tiles — fabric texture via CSS, no photo */
.category-tile--typo {
  aspect-ratio: 5 / 4;
  max-height: 280px;
  color: var(--dz-ink);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.35rem 1.25rem;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(122, 18, 51, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(214, 168, 75, 0.14) 0%, transparent 45%),
    repeating-linear-gradient(
      105deg,
      transparent 0,
      transparent 2px,
      rgba(23, 19, 19, 0.03) 2px,
      rgba(23, 19, 19, 0.03) 3px
    ),
    linear-gradient(155deg, var(--dz-stone) 0%, #e8e0d6 45%, #d9cfc4 100%);
}
.category-tile--typo .category-tile__caption {
  position: static;
  inset: auto;
  padding: 0;
  background: none;
}
.category-tile--typo .category-tile__name {
  color: var(--dz-burgundy-deep);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}
.category-tile--typo .category-tile__explore,
.category-tile--typo .text-link {
  color: var(--dz-burgundy);
  margin-top: 0.4rem;
}
.category-tile--typo:nth-child(even) {
  background:
    radial-gradient(ellipse at 70% 20%, rgba(214, 168, 75, 0.16) 0%, transparent 48%),
    radial-gradient(ellipse at 15% 85%, rgba(75, 11, 32, 0.18) 0%, transparent 50%),
    repeating-linear-gradient(
      -75deg,
      transparent 0,
      transparent 2px,
      rgba(122, 18, 51, 0.04) 2px,
      rgba(122, 18, 51, 0.04) 3px
    ),
    linear-gradient(165deg, #f5efe8 0%, var(--dz-stone) 40%, #c9b8a8 100%);
}
.category-tile--typo:nth-child(3n) {
  color: #fff;
  background:
    radial-gradient(ellipse at 30% 80%, rgba(214, 168, 75, 0.2) 0%, transparent 45%),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 3px,
      rgba(255, 255, 255, 0.04) 3px,
      rgba(255, 255, 255, 0.04) 4px
    ),
    linear-gradient(145deg, var(--dz-burgundy-deep) 0%, var(--dz-burgundy) 100%);
}
.category-tile--typo:nth-child(3n) .category-tile__name { color: #fff; }
.category-tile--typo:nth-child(3n) .category-tile__explore,
.category-tile--typo:nth-child(3n) .text-link { color: var(--dz-gold); }

@media (min-width: 900px) {
  .category-tile--typo {
    aspect-ratio: 4 / 3;
    max-height: 260px;
  }
}

/* ─── Product grid ─── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 0.85rem;
}
@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem 1.2rem;
  }
}
@media (min-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.75rem 1.35rem;
  }
  .product-grid > .product-card {
    max-width: 315px;
  }
}

/* Count modifiers */
.product-grid--count-1 {
  grid-template-columns: 1fr;
  max-width: 880px;
  margin-inline: 0;
}
.product-grid--count-1 .product-card {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--dz-white);
}
@media (min-width: 700px) {
  .product-grid--count-1 .product-card {
    grid-template-columns: 55% 1fr;
    align-items: stretch;
  }
  .product-grid--count-1 .product-card__media {
    aspect-ratio: auto;
    min-height: 360px;
    border-radius: var(--dz-radius-md) 0 0 var(--dz-radius-md);
  }
  .product-grid--count-1 .product-card__body {
    padding: 1.75rem 1.5rem;
    justify-content: center;
  }
}

.product-grid--count-2 {
  max-width: 720px;
  margin-inline: auto;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.product-grid--count-2 .product-card { max-width: none; }
@media (max-width: 559px) {
  .product-grid--count-2 {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

.product-grid--count-3 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 700px) {
  .product-grid--count-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 100%;
  }
}

.product-grid--featured {
  /* alias hook for featured sections */
}

.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  background: var(--dz-stone);
  border-radius: var(--dz-radius-md);
  overflow: hidden;
  text-decoration: none;
}
.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  transition: transform 0.45s var(--dz-ease), opacity 0.3s var(--dz-ease);
}
.product-card__media:hover .product-card__img { transform: scale(1.04); }
.product-card__badges {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  z-index: 1;
}
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  background: rgba(252, 250, 247, 0.95);
  color: var(--dz-burgundy);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pill--warn { color: var(--dz-danger); }
.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.1rem 0.1rem 0;
}
.product-card__cat {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dz-muted);
  font-weight: 600;
}
.product-card__title {
  margin: 0;
  font-family: var(--dz-font-body);
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.product-card__title a {
  color: var(--dz-ink);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card__title a:hover { color: var(--dz-burgundy); }
.product-card__price {
  margin: 0.1rem 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem;
  font-size: 0.95rem;
}
.product-card__price strong {
  font-size: 1.05rem;
  color: var(--dz-ink);
  font-weight: 700;
}
.price-was {
  color: var(--dz-muted);
  text-decoration: line-through;
  font-size: 0.88rem;
}
.price-save {
  color: var(--dz-success);
  font-size: 0.82rem;
  font-weight: 700;
}
.product-card__swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.25rem;
}
.swatch-btn {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--dz-line-strong);
  background: var(--swatch, #ccc);
  cursor: pointer;
  padding: 0;
}
.swatch-btn.is-active { box-shadow: 0 0 0 2px var(--dz-ink); }
.swatch-btn--lg { width: 34px; height: 34px; }

.product-card__cta {
  margin-top: 0.45rem;
  align-self: flex-start;
  min-height: auto;
  padding: 0.25rem 0;
  border: 0;
  border-radius: 0;
  color: var(--dz-burgundy);
  font-weight: 650;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.product-card__cta::after {
  content: "→";
  font-size: 0.95em;
  transition: transform 0.2s var(--dz-ease);
}
.product-card__cta:hover { color: var(--dz-burgundy-deep); }
.product-card__cta:hover::after { transform: translateX(3px); }

/* ─── Story bands / promo ─── */
.story-band {
  width: min(100% - (var(--dz-gutter) * 2), var(--dz-max));
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
}
.story-band__inner {
  display: grid;
  gap: 0;
  border-radius: var(--dz-radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 320px;
}
@media (min-width: 800px) {
  .story-band__inner {
    grid-template-columns: 1fr;
    align-items: stretch;
    min-height: 380px;
  }
}
.story-band__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
  padding: 2rem 1.5rem;
  position: relative;
  z-index: 2;
  max-width: 34rem;
}
@media (min-width: 800px) {
  .story-band__copy {
    padding: 3rem clamp(2rem, 4vw, 3.5rem);
  }
}
.story-band__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.story-band__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(75, 11, 32, 0.94) 0%, rgba(75, 11, 32, 0.78) 42%, rgba(75, 11, 32, 0.25) 72%, rgba(75, 11, 32, 0.08) 100%);
  pointer-events: none;
}
.story-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}
.story-band--custom .story-band__inner,
.story-band--custom {
  background: var(--dz-burgundy-deep);
}
.story-band--custom .story-band__copy { color: #fff; }
.story-band--custom .story-band__text { color: rgba(255,255,255,0.88); max-width: 28rem; }

.story-band--bulk .story-band__inner,
.story-band--bulk {
  background:
    linear-gradient(120deg, var(--dz-stone) 0%, #f7f3ec 55%, #efe6d4 100%);
  color: var(--dz-ink);
}
.story-band--bulk .story-band__media {
  position: relative;
  inset: auto;
}
.story-band--bulk .story-band__media::after { display: none; }
@media (min-width: 800px) {
  .story-band--bulk .story-band__inner {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .story-band--bulk .story-band__media {
    min-height: 100%;
  }
}
.story-band--bulk .story-band__copy p,
.story-band--bulk .story-band__text { color: var(--dz-muted); opacity: 1; }
.story-band__copy h2,
.story-band__copy .story-band__title {
  margin: 0;
  font-family: var(--dz-font-body);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.story-band__copy p,
.story-band__text {
  margin: 0;
  max-width: 32rem;
  font-size: 0.98rem;
  line-height: 1.55;
}
.story-band--custom .btn--light,
.story-band--custom .btn--primary {
  background: var(--dz-white);
  color: var(--dz-burgundy-deep);
  align-self: flex-start;
}
.story-band--custom .btn--light:hover,
.story-band--custom .btn--primary:hover {
  background: var(--dz-stone);
  color: var(--dz-burgundy-deep);
}
.story-band--bulk {
  border: 1px solid var(--dz-line);
}
.story-band--bulk .story-band__title::after {
  display: block;
  width: 2.5rem;
  height: 3px;
  margin-top: 0.65rem;
  background: var(--dz-gold);
  border-radius: 2px;
  content: "";
}

/* Legacy promo-split / promo-card — restyled as story bands */
.promo-split {
  width: min(100% - (var(--dz-gutter) * 2), var(--dz-max));
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  display: grid;
  gap: 1rem;
}
@media (min-width: 900px) {
  .promo-split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1.25rem;
  }
}
.promo-card {
  position: relative;
  min-height: 300px;
  border-radius: var(--dz-radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, var(--dz-burgundy-deep), var(--dz-burgundy));
}
@media (min-width: 600px) {
  .promo-card {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: stretch;
  }
}
.promo-card--light {
  color: var(--dz-ink);
  background:
    linear-gradient(120deg, var(--dz-stone) 0%, #efe6d4 100%);
  border: 1px solid var(--dz-line);
}
.promo-card__media {
  position: relative;
  min-height: 200px;
  order: 2;
}
.promo-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}
.promo-card__body {
  position: relative;
  z-index: 1;
  order: 1;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: transparent;
}
.promo-card--light .promo-card__body { background: transparent; }
.promo-card__title {
  margin: 0 0 0.5rem;
  font-family: var(--dz-font-body);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 700;
}
.promo-card__text {
  margin: 0 0 1rem;
  max-width: 28rem;
  opacity: 0.9;
  font-size: 0.95rem;
}
.promo-card--light .promo-card__text { color: var(--dz-muted); opacity: 1; }

/* ─── Proof strip (not bordered cards) ─── */
.proof-strip,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--dz-line);
  border-bottom: 1px solid var(--dz-line);
  background: var(--dz-white);
}
@media (min-width: 800px) {
  .proof-strip,
  .trust-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.proof-item,
.trust-item {
  padding: 1.35rem 1.15rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  text-align: left;
  position: relative;
}
@media (min-width: 800px) {
  .proof-item:not(:last-child),
  .trust-item:not(:last-child) {
    border-right: 1px solid var(--dz-line);
  }
}
@media (max-width: 799px) {
  .proof-item:nth-child(odd),
  .trust-item:nth-child(odd) {
    border-right: 1px solid var(--dz-line);
  }
  .proof-item:nth-child(-n+2),
  .trust-item:nth-child(-n+2) {
    border-bottom: 1px solid var(--dz-line);
  }
}
.proof-item__icon,
.trust-item__icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  margin-bottom: 0.65rem;
  color: var(--dz-burgundy);
}
.proof-item__icon svg,
.trust-item__icon svg,
.proof-item svg,
.trust-item > svg {
  width: 24px;
  height: 24px;
}
.proof-item h3,
.trust-item h3 {
  margin: 0 0 0.35rem;
  font-family: var(--dz-font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dz-ink);
}
.proof-item p,
.trust-item p {
  margin: 0;
  color: var(--dz-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

/* ─── FAQ ─── */
.faq-preview {
  max-width: 860px;
  display: grid;
  gap: 0.5rem;
}
.faq-preview details {
  border: 1px solid var(--dz-line);
  border-radius: var(--dz-radius-md);
  background: var(--dz-white);
  padding: 0 1rem;
}
.faq-preview summary {
  list-style: none;
  cursor: pointer;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 650;
  font-size: 0.95rem;
}
.faq-preview summary::-webkit-details-marker { display: none; }
.faq-preview summary::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid var(--dz-muted);
  border-bottom: 2px solid var(--dz-muted);
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform 0.2s var(--dz-ease);
}
.faq-preview details[open] summary {
  border-bottom: 1px solid var(--dz-line);
}
.faq-preview details[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 0.25rem;
}
.faq-preview p {
  color: var(--dz-muted);
  padding: 0.65rem 0 0.9rem;
  margin: 0;
  font-size: 0.92rem;
}

/* ─── Footer ─── */
.site-footer {
  margin-top: 3.5rem;
  background: var(--dz-burgundy-deep);
  color: rgba(252, 250, 247, 0.82);
  padding: 3rem 0 calc(2.25rem + env(safe-area-inset-bottom, 0px));
}
@media (max-width: 1099px) {
  .site-footer {
    padding-bottom: calc(2.25rem + var(--dz-nav-h) + env(safe-area-inset-bottom, 0px));
  }
}
.site-footer__inner {
  width: min(100% - (var(--dz-gutter) * 2), var(--dz-max));
  margin: 0 auto;
}
.site-footer__grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 800px) {
  .site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2.5rem;
  }
}
.site-footer__brand .logo-img {
  max-height: 44px;
  max-width: 130px;
  margin-bottom: 0.75rem;
  filter: brightness(0) invert(1);
}
.site-footer__name {
  margin: 0 0 0.35rem;
  font-family: var(--dz-font-body);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}
.site-footer__tag {
  margin: 0 0 0.75rem;
  color: var(--dz-gold);
  font-style: normal;
  font-size: 0.95rem;
}
.site-footer__note {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}
.site-footer__heading {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(252, 250, 247, 0.5);
  font-weight: 700;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.15rem;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: rgba(252, 250, 247, 0.88);
  text-decoration: none;
  font-size: 0.95rem;
}
.footer-links a:hover { color: #fff; }
.site-footer__copy {
  margin: 2.25rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  opacity: 0.65;
}

/* ─── Mobile bottom nav ─── */
.mobile-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  height: calc(var(--dz-nav-h) + env(safe-area-inset-bottom, 0px));
  padding: 0.25rem 0.2rem env(safe-area-inset-bottom, 0px);
  background: rgba(252, 250, 247, 0.97);
  border-top: 1px solid var(--dz-line);
  backdrop-filter: blur(12px);
}
@media (min-width: 1100px) {
  .mobile-nav { display: none; }
}
.mobile-nav__item {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.15rem;
  min-width: 0;
  min-height: 44px;
  color: var(--dz-muted);
  text-decoration: none;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.mobile-nav__item svg { width: 20px; height: 20px; }
.mobile-nav__item.is-active { color: var(--dz-burgundy); }
.mobile-nav__label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.wa-fab { display: none; }

/* ─── Shop / listing ─── */
.store-crumbs {
  width: min(100% - (var(--dz-gutter) * 2), var(--dz-max));
  margin: 1rem auto 0;
  scroll-margin-top: calc(var(--dz-header-h) + 1rem);
}
.store-crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  font-size: 0.82rem;
  color: var(--dz-muted);
}
.store-crumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.35rem;
  opacity: 0.5;
}
.store-crumbs a { color: var(--dz-burgundy); text-decoration: none; }

.page-hero {
  width: min(100% - (var(--dz-gutter) * 2), var(--dz-max));
  margin: 1.25rem auto 0;
  scroll-margin-top: calc(var(--dz-header-h) + 1rem);
}
.page-hero h1 {
  margin: 0 0 0.5rem;
  font-family: var(--dz-font-body);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--dz-ink);
}
.page-hero p {
  margin: 0;
  color: var(--dz-muted);
  max-width: 40rem;
}

.shop-page,
.shop-layout {
  width: min(100% - (var(--dz-gutter) * 2), var(--dz-max));
  margin: 1.5rem auto 0;
  display: grid;
  gap: 1.5rem;
  scroll-margin-top: calc(var(--dz-header-h) + 1rem);
}
@media (min-width: 1100px) {
  .shop-layout { grid-template-columns: 260px 1fr; align-items: start; }
}
.shop-filters {
  background: var(--dz-white);
  border: 1px solid var(--dz-line);
  border-radius: var(--dz-radius-md);
  padding: 1.15rem;
}
.shop-filters label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--dz-muted);
  margin: 0.85rem 0 0.35rem;
}
.shop-filters label:first-child { margin-top: 0; }
.field__input,
.shop-filters select,
.shop-filters input[type="search"],
.shop-filters input[type="text"] {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--dz-line-strong);
  border-radius: 6px;
  padding: 0.55rem 0.75rem;
  font: inherit;
  background: var(--dz-bg);
  color: var(--dz-ink);
}
.shop-filters__checks {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.85rem;
}
.shop-filters__checks label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.92rem;
  font-weight: 550;
  color: var(--dz-ink);
  margin: 0;
}
.shop-filters__actions {
  display: flex;
  gap: 0.65rem;
  margin-top: 1rem;
}
.shop-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--dz-muted);
  font-size: 0.9rem;
}

.empty-state {
  text-align: center;
  padding: 3rem 1.25rem;
  background: var(--dz-stone);
  border-radius: var(--dz-radius-lg);
}
.empty-state h2,
.empty-state h3 {
  margin: 0 0 0.5rem;
  font-family: var(--dz-font-body);
  font-weight: 700;
}
.empty-state p {
  margin: 0 0 1.25rem;
  color: var(--dz-muted);
}

/* ─── PDP ─── */
.pdp {
  width: min(100% - (var(--dz-gutter) * 2), var(--dz-max));
  margin: 0 auto;
  padding-bottom: 5.5rem;
  scroll-margin-top: calc(var(--dz-header-h) + 1rem);
}
@media (min-width: 1100px) {
  .pdp { padding-bottom: 0; }
}
.pdp__grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1rem;
}
@media (min-width: 960px) {
  .pdp__grid {
    grid-template-columns: 58% 42%;
    gap: 2.5rem;
    align-items: start;
  }
}

.pdp-gallery {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 960px) {
  .pdp-gallery {
    grid-template-columns: 1fr;
  }
}
.pdp-gallery__main {
  aspect-ratio: 4 / 5;
  max-height: min(70vh, 640px);
  background: var(--dz-stone);
  border-radius: var(--dz-radius-lg);
  overflow: hidden;
}
.pdp-gallery__main img {
  width: 100%;
  height: 100%;
  max-height: min(70vh, 640px);
  object-fit: contain;
  object-position: center;
  background:
    radial-gradient(circle at 50% 30%, var(--dz-white) 0%, var(--dz-stone) 75%);
  transition: opacity 0.25s var(--dz-ease);
}
.pdp-gallery__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  overflow: visible;
  padding-bottom: 0;
}
.pdp-gallery__thumbs:empty,
.pdp-gallery__thumbs[hidden],
.pdp-gallery__thumbs[data-count="1"],
.pdp-gallery--single .pdp-gallery__thumbs {
  display: none !important;
}
.pdp-thumb {
  flex: 0 0 auto;
  width: 88px;
  height: 110px;
  padding: 0;
  border: 1px solid var(--dz-line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--dz-stone);
  cursor: pointer;
}
.pdp-thumb.is-active {
  border-color: var(--dz-burgundy);
  box-shadow: 0 0 0 1px var(--dz-burgundy);
}
.pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.pdp-info {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}
@media (min-width: 960px) {
  .pdp-info {
    position: sticky;
    top: calc(var(--dz-header-h) + 1rem);
  }
}
.pdp__title {
  margin: 0;
  font-family: var(--dz-font-body);
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.pdp__sku {
  margin: -0.35rem 0 0;
  color: var(--dz-muted);
  font-size: 0.85rem;
}
.pdp__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.65rem;
}
.pdp__price strong {
  font-size: 1.65rem;
  font-weight: 750;
  color: var(--dz-ink);
}
.pdp-field { margin: 0; }
.pdp-field__label {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dz-muted);
}
.pdp-field__label strong {
  color: var(--dz-ink);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.95rem;
}
.swatch-row,
.size-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.size-btn {
  min-width: 48px;
  min-height: 48px;
  padding: 0 0.85rem;
  border: 1px solid var(--dz-line-strong);
  border-radius: 6px;
  background: var(--dz-white);
  color: var(--dz-ink);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.size-btn.is-active {
  background: var(--dz-burgundy);
  border-color: var(--dz-burgundy);
  color: #fff;
}
.size-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
}
.stock-msg {
  margin: 0.55rem 0 0;
  font-size: 0.88rem;
  color: var(--dz-muted);
}
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--dz-line-strong);
  border-radius: var(--dz-radius-md);
  overflow: hidden;
}
.qty-input {
  width: 3.25rem;
  border: 0 !important;
  text-align: center;
  min-height: 44px;
  background: transparent;
  font: inherit;
  font-weight: 650;
}
.pdp-actions__note {
  margin: 0.65rem 0 0;
  font-size: 0.85rem;
  color: var(--dz-muted);
}
.pdp-notice {
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  background: var(--dz-stone);
  color: var(--dz-ink);
  font-size: 0.92rem;
}
.pdp-notice[hidden] { display: none; }
.pdp-short {
  margin: 0;
  color: var(--dz-muted);
  font-size: 0.95rem;
}

/* Specs — clean rows, not pale boxes */
.spec-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--dz-line);
}
.spec-list div,
.spec-row {
  display: grid;
  grid-template-columns: minmax(7rem, 34%) 1fr;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--dz-line);
  background: transparent;
  border-radius: 0;
}
.spec-list dt,
.spec-row dt,
.spec-row__label {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dz-muted);
  font-weight: 650;
}
.spec-list dd,
.spec-row dd,
.spec-row__value {
  margin: 0;
  font-weight: 650;
  color: var(--dz-ink);
}

.pdp-details {
  margin-top: 2.5rem;
  display: grid;
  gap: 0.65rem;
  max-width: 52rem;
}
.pdp-details details {
  border: 1px solid var(--dz-line);
  border-radius: var(--dz-radius-md);
  background: var(--dz-white);
  padding: 0 1rem;
}
.pdp-details summary {
  list-style: none;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--dz-font-body);
  font-size: 1.05rem;
  font-weight: 650;
  cursor: pointer;
}
.pdp-details summary::-webkit-details-marker { display: none; }
.pdp-details summary::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid var(--dz-muted);
  border-bottom: 2px solid var(--dz-muted);
  transform: rotate(45deg);
  flex-shrink: 0;
}
.pdp-details details[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 0.25rem;
}
.pdp-details .prose {
  padding: 0.25rem 0 1rem;
  color: var(--dz-muted);
}
.size-chart-img {
  max-width: 100%;
  margin: 0.5rem 0 1rem;
  border-radius: 8px;
}

.pdp-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(var(--dz-nav-h) + env(safe-area-inset-bottom, 0px));
  z-index: 45;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(252, 250, 247, 0.97);
  border-top: 1px solid var(--dz-line);
  backdrop-filter: blur(10px);
}
@media (min-width: 1100px) {
  .pdp-sticky { display: none !important; }
}
.pdp-sticky__price strong { font-size: 1.15rem; }
.pdp-sticky .btn { min-width: 10rem; }

/* Content pages */
.prose-page,
.content-page {
  width: min(100% - (var(--dz-gutter) * 2), 760px);
  margin: 1.5rem auto 0;
  scroll-margin-top: calc(var(--dz-header-h) + 1rem);
}
.prose-page h1,
.content-page h1,
.page-header__title {
  font-family: var(--dz-font-body);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: var(--dz-ink);
}
.prose-page p,
.content-page p,
.page-header__lead {
  color: var(--dz-muted);
}
.content-page .prose { margin-top: 1.25rem; }
.content-page .prose ul {
  padding-left: 1.2rem;
  color: var(--dz-muted);
}
.faq-list {
  display: grid;
  gap: 0.5rem;
  margin-top: 1.25rem;
  max-width: 860px;
}
.faq-list details {
  border: 1px solid var(--dz-line);
  border-radius: var(--dz-radius-md);
  background: var(--dz-white);
  padding: 0 1rem;
}
.faq-list summary {
  list-style: none;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 650;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid var(--dz-muted);
  border-bottom: 2px solid var(--dz-muted);
  transform: rotate(45deg);
  flex-shrink: 0;
}
.faq-list details[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 0.25rem;
}

body.drawer-open { overflow: hidden; }

/* Pagination */
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.75rem;
}
.pagination a,
.pagination span {
  min-width: 40px;
  min-height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 6px;
  border: 1px solid var(--dz-line);
  padding: 0 0.65rem;
  color: var(--dz-ink);
  text-decoration: none;
  font-size: 0.9rem;
  background: var(--dz-white);
}
.pagination .is-current {
  background: var(--dz-burgundy);
  border-color: var(--dz-burgundy);
  color: #fff;
}

@media (max-width: 374px) {
  :root { --dz-gutter: 1rem; }
  .mobile-nav__item { font-size: 0.58rem; }
  .hero__title { font-size: 1.65rem; }
  .hero__actions { flex-wrap: wrap; }
}

.section-head--inline {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
}
.section-head--inline > div { flex: 1 1 16rem; }
.section-head--inline .text-link {
  flex: 0 0 auto;
  margin-bottom: 0.15rem;
}
.category-tile--typo.tone-b,
.category-tile--typo:nth-child(2) {
  background:
    radial-gradient(ellipse at 70% 20%, rgba(214, 168, 75, 0.18) 0%, transparent 50%),
    linear-gradient(160deg, #ebe4da 0%, #ddd3c6 100%);
}

/* Redesign #2 — presentation polish */
.btn--light {
  background: var(--dz-white);
  color: var(--dz-burgundy-deep);
  border-color: transparent;
}
.btn--light:hover {
  background: var(--dz-stone);
  color: var(--dz-burgundy-deep);
}
.category-tile__go,
.category-tile--typo .category-tile__go {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dz-burgundy);
}
.category-tile--typo.tone-c .category-tile__go,
.category-tile--typo:nth-child(3n) .category-tile__go {
  color: var(--dz-gold);
}
.category-tile--typo .category-tile__media {
  display: none;
}
.category-tile--typo {
  position: relative;
}
.search-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0 0.65rem;
  color: var(--dz-ink);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
}
.search-link span { display: none; }
@media (min-width: 1100px) {
  .search-link span { display: inline; }
}
.logo-img--footer {
  max-width: 140px;
  max-height: 44px;
  margin-bottom: 0.75rem;
  filter: brightness(0) invert(1);
}
.product-card__colour {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: var(--dz-muted);
}
.pdp__cat {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pdp__cat a { color: var(--dz-muted); }
.pdp-field__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.pdp-gallery--single .pdp-gallery__thumbs,
.pdp-gallery__thumbs[hidden] {
  display: none !important;
}
.hero--editorial .hero__media img {
  object-fit: contain;
  object-position: bottom center;
}
@media (min-width: 768px) {
  .hero--editorial .hero__media img {
    object-fit: contain;
    padding: 1.5rem 1.5rem 0 0;
  }
}
.hero__trust {
  white-space: normal;
}
.story-band--custom .btn--light {
  align-self: flex-start;
}
.faq-chevron {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: auto;
  flex-shrink: 0;
  opacity: 0.55;
  transition: transform 0.2s var(--dz-ease);
}
details[open] > summary .faq-chevron {
  transform: rotate(225deg);
}
.faq-preview details summary,
.pdp-details details summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  list-style: none;
  cursor: pointer;
}
.faq-preview details summary::-webkit-details-marker,
.pdp-details details summary::-webkit-details-marker {
  display: none;
}

/* =============================================================================
   Phase 3 — Header / Search / Hero Slider / Mobile Nav shell
   ============================================================================= */

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

:root {
  --active-slide-bg: #4B0B20;
  --active-slide-accent: #D6A84B;
  --active-slide-text: #FFFFFF;
  --active-slide-surface: #FFFFFF;
  --dz-header-h: 78px;
  --dz-nav-h: 68px;
  --shell-transition: background-color 420ms ease, color 420ms ease, border-color 420ms ease;
}

body.store-body {
  padding-bottom: calc(var(--dz-nav-h) + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 768px) {
  body.store-body { padding-bottom: 0; }
}

body.sheet-open,
body.menu-sheet-open,
body.search-sheet-open {
  position: fixed;
  left: 0; right: 0;
  width: 100%;
  overflow: hidden;
}

/* ── Mobile themed shell ── */
.store-shell {
  --shell-bg: var(--dz-bg, #FCFAF7);
  --shell-fg: var(--dz-ink, #171313);
}
.store-shell--home {
  --shell-bg: var(--active-slide-bg);
  --shell-fg: var(--active-slide-text);
  background: var(--shell-bg);
  color: var(--shell-fg);
  transition: var(--shell-transition);
  position: relative;
  z-index: 3;
}
@media (min-width: 768px) {
  .store-shell--home {
    --shell-bg: transparent;
    --shell-fg: var(--dz-ink, #171313);
    background: transparent;
    color: inherit;
    z-index: auto;
  }
}

.store-shell--home .site-header {
  /* Expanded home shell must grow with search + rail; sticky only when compact. */
  position: relative;
  height: auto;
  min-height: 0;
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  color: var(--shell-fg);
}
.store-shell--home .site-header .icon-btn,
.store-shell--home .header-search-trigger,
.store-shell--home .header-menu-btn {
  color: var(--shell-fg);
}
.store-shell--home.is-compact {
  position: sticky;
  top: 0;
  z-index: 55;
}
.store-shell--home.is-compact .site-header {
  position: relative;
  min-height: 56px;
  background: rgba(252, 250, 247, 0.96);
  color: var(--dz-ink);
  border-bottom: 1px solid var(--dz-line);
  backdrop-filter: blur(12px);
}
.store-shell--home.is-compact .icon-btn,
.store-shell--home.is-compact .header-menu-btn,
.store-shell--home.is-compact .header-search-trigger {
  color: var(--dz-ink);
}
.store-shell--home.is-compact .mobile-search-bar,
.store-shell--home.is-compact .quick-rail {
  display: none;
}

/* ── Header rebuild ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: auto;
  min-height: var(--dz-header-h);
  background: rgba(252, 250, 247, 0.94);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--dz-line);
  box-shadow: 0 1px 0 rgba(23,19,19,0.04);
}
.site-header__inner {
  width: min(100% - 2rem, 1320px);
  margin: 0 auto;
  height: auto;
  min-height: 64px;
  max-height: none;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 0.35rem;
}
@media (min-width: 768px) {
  .site-header__inner {
    min-height: 78px;
    grid-template-columns: auto 1fr auto;
    gap: 1.25rem;
  }
}

.logo-img {
  max-height: 40px;
  max-width: min(128px, 52vw);
  width: auto;
  height: auto;
  object-fit: contain;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  filter: none !important;
}
@media (min-width: 768px) {
  .logo-img {
    max-height: 46px;
    max-width: 140px;
  }
}
.site-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  background: transparent;
}
@media (min-width: 768px) {
  .site-logo { justify-content: flex-start; }
}

.header-menu-btn { justify-self: start; }
.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.header-search-trigger { display: inline-grid; }
@media (min-width: 768px) {
  .header-menu-btn,
  .header-search-trigger { display: none; }
}

.site-nav { display: none; }
@media (min-width: 1100px) {
  .site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
  }
}
.site-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 0.75rem;
  color: inherit;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.site-nav__link:hover { color: var(--dz-burgundy); }
.site-nav__link.is-active {
  color: var(--dz-burgundy);
  box-shadow: inset 0 -2px 0 var(--dz-burgundy);
}

/* Desktop search field */
.header-search {
  display: none;
  align-items: center;
  gap: 0.45rem;
  min-height: 42px;
  width: min(220px, 28vw);
  padding: 0 0.85rem;
  border: 1px solid var(--dz-line);
  border-radius: 999px;
  background: var(--dz-white);
  color: var(--dz-ink);
}
@media (min-width: 768px) {
  .header-search { display: inline-flex; }
}
.header-search__icon { flex: 0 0 auto; opacity: 0.65; }
.header-search__input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.9rem;
  color: inherit;
  outline: none;
}
.header-search__input::placeholder { color: var(--dz-muted); }

/* Hide legacy search-link if present */
.search-link { display: none !important; }

/* Mobile search pill */
.mobile-search-bar {
  display: none;
  padding: 0 15px 12px;
  position: relative;
  z-index: 4;
  background: var(--active-slide-bg);
}
@media (max-width: 767px) {
  .mobile-search-bar { display: block; }
}
.mobile-search-pill {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  min-height: 52px;
  padding: 0 1rem;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 16px;
  background: var(--active-slide-surface, #fff);
  color: var(--dz-ink);
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(23,19,19,0.08);
}
.store-shell:not(.store-shell--home) .mobile-search-pill {
  border-color: var(--dz-line);
  box-shadow: none;
}
.mobile-search-pill span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--dz-muted);
}

/* Quick collection rail */
.quick-rail {
  display: none;
  padding: 0 0 14px;
  position: relative;
  z-index: 4;
  background: var(--active-slide-bg);
}
@media (max-width: 767px) {
  .store-shell--home .quick-rail { display: block; }
}
/* 320px: keep quick rail visible (Phase 3R3) — was previously hidden */
.quick-rail__track {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 15px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.quick-rail__track::-webkit-scrollbar { display: none; }
.quick-rail__item {
  flex: 0 0 auto;
  width: 74px;
  scroll-snap-align: start;
  display: grid;
  justify-items: center;
  gap: 0.3rem;
  text-decoration: none;
  color: var(--active-slide-text, #fff);
}
.quick-rail__icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.18);
}
.quick-rail__label {
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-align: center;
  line-height: 1.2;
}

/* ── Hero slider ── */
.hero-slider {
  position: relative;
  z-index: 1;
  width: min(100% - 1.75rem, 1320px);
  margin: 0.35rem auto 0;
  border-radius: 20px;
  overflow: hidden;
  background: var(--active-slide-bg, #4B0B20);
  color: var(--active-slide-text, #fff);
  transition: var(--shell-transition);
  outline: none;
}
@media (max-width: 767px) {
  .store-shell--home + .store-main .hero-slider,
  .store-main > .hero-slider {
    margin-top: 0;
    width: min(100% - 1.75rem, 1320px);
    border-radius: 20px;
  }
  /* Connect shell + slider visually on mobile home */
  body:has(.store-shell--home) .store-main {
    padding-top: 0;
  }
  body:has(.store-shell--home) .hero-slider {
    margin-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    width: 100%;
    border-radius: 0 0 20px 20px;
  }
  body:has(.store-shell--home) .hero-trust-strip {
    margin-top: 0.75rem;
  }
}
@media (min-width: 768px) {
  .hero-slider {
    margin-top: 1rem;
    min-height: 540px;
    border-radius: 18px;
  }
}

.hero-slider__viewport { overflow: hidden; }
.hero-slider__track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  touch-action: pan-y;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .hero-slider__track { transition: none; }
}

.hero-slide {
  flex: 0 0 100%;
  min-width: 100%;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(255,255,255,0.08) 0%, transparent 55%),
    linear-gradient(160deg, color-mix(in srgb, var(--slide-bg) 88%, #000) 0%, var(--slide-bg) 55%, color-mix(in srgb, var(--slide-bg) 80%, #fff) 100%);
  color: var(--slide-text, #fff);
}
.hero-slide__inner {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 440px;
  padding: 1rem 1.1rem 0;
  gap: 0.35rem;
}
@media (min-width: 768px) {
  .hero-slide__inner {
    grid-template-columns: 42% 58%;
    grid-template-rows: none;
    min-height: 560px;
    padding: 2.5rem 2.5rem 0 2.75rem;
    align-items: stretch;
  }
}
.hero-slide__lead {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.35;
  color: color-mix(in srgb, var(--slide-text) 88%, transparent);
  max-width: 34ch;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero-slide__lead {
    font-size: 1.02rem;
    max-width: 36ch;
    -webkit-line-clamp: 3;
  }
}
.hero-slide__media {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 220px;
  margin-top: 0;
}
@media (min-width: 768px) {
  .hero-slide__media {
    min-height: 100%;
    max-height: none;
    justify-content: flex-end;
    padding-right: 1rem;
    margin-top: 0;
  }
}
.hero-slide__media img {
  width: 100%;
  max-height: 250px;
  object-fit: contain;
  object-position: bottom center;
  user-select: none;
  -webkit-user-drag: none;
}
@media (min-width: 768px) {
  .hero-slide__media img {
    max-height: 520px;
    padding-bottom: 0.5rem;
  }
}
.hero-slide__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.45rem;
  z-index: 2;
  max-width: 34rem;
}
.hero-slide__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  color: inherit;
}
.hero-slide__title {
  margin: 0;
  font-family: var(--dz-font-display, "Segoe UI", sans-serif);
  font-size: clamp(1.45rem, 5.4vw, 1.95rem);
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: inherit;
  max-width: 16ch;
}
@media (min-width: 768px) {
  .hero-slide__title {
    font-size: clamp(2.35rem, 3.6vw, 3.25rem);
    margin-top: 1.5rem;
  }
  .hero-slide__copy { justify-content: center; }
}
.hero-slide__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 0.25rem;
}
.hero-slide__cta {
  min-height: 46px;
  padding: 0.7rem 1.25rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  border: 0;
}
.hero-slide.cta-light .hero-slide__cta {
  background: #fff;
  color: var(--slide-bg, #4B0B20);
}
.hero-slide.cta-light .hero-slide__cta:hover {
  background: #F2EEE8;
  color: var(--slide-bg, #4B0B20);
}
.hero-slide__secondary {
  color: inherit;
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0.92;
}

.hero-slider__controls {
  position: absolute;
  left: 0; right: 0; bottom: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0 1rem;
  pointer-events: none;
  z-index: 3;
}
.hero-slider__arrow {
  pointer-events: auto;
  display: none;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(0,0,0,0.22);
  color: #fff;
  cursor: pointer;
}
@media (min-width: 768px) {
  .hero-slider__arrow { display: inline-grid; }
  .hero-slider:hover .hero-slider__arrow,
  .hero-slider:focus-within .hero-slider__arrow { opacity: 1; }
}
.hero-slider__dots {
  pointer-events: auto;
  display: flex;
  gap: 0.4rem;
  align-items: center;
}
.hero-slider__dot {
  width: 7px; height: 7px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}
.hero-slider__dot.is-active {
  width: 18px;
  background: var(--active-slide-accent, #D6A84B);
}

.hero-trust-strip {
  width: min(100% - 1.75rem, 1320px);
  margin: 0.85rem auto 0;
  font-size: 0.78rem;
  color: var(--dz-muted);
  letter-spacing: 0.02em;
}

/* Hide obsolete single hero if any remain */
.hero.hero--editorial { display: none !important; }

/* ── Search sheet ── */
.search-sheet[hidden],
.menu-sheet[hidden] { display: none !important; }
.search-sheet,
.menu-sheet {
  position: fixed;
  inset: 0;
  z-index: 90;
}
.search-sheet__backdrop,
.menu-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23,19,19,0.45);
}
.search-sheet__panel {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: #FCFAF7;
  padding: 0.85rem 1rem 1.25rem;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  box-shadow: 0 12px 40px rgba(23,19,19,0.18);
  max-height: min(88vh, 640px);
  overflow: auto;
}
.search-sheet__form {
  display: flex;
  gap: 0.55rem;
  align-items: center;
}
.search-sheet__field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 0.75rem;
  border: 1px solid var(--dz-line);
  border-radius: 14px;
  background: #fff;
}
.search-sheet__input {
  flex: 1;
  border: 0;
  outline: none;
  font-size: 16px;
  background: transparent;
  min-width: 0;
}
.search-sheet__clear {
  border: 0;
  background: transparent;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  color: var(--dz-muted);
  width: 32px; height: 32px;
}
.search-sheet__cancel {
  border: 0;
  background: transparent;
  color: var(--dz-burgundy);
  font-weight: 650;
  cursor: pointer;
  min-height: 44px;
  padding: 0 0.35rem;
}
.search-sheet__heading {
  margin: 1rem 0 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dz-muted);
  font-weight: 700;
}
.search-sheet__list {
  list-style: none;
  margin: 0; padding: 0;
}
.search-sheet__list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--dz-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--dz-line);
  font-weight: 550;
}

/* ── Menu bottom sheet ── */
.menu-sheet__panel {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  max-height: min(86vh, 640px);
  background: #fff;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  padding: 0.5rem 1.1rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
  overflow: auto;
  box-shadow: 0 -8px 32px rgba(23,19,19,0.16);
}
.menu-sheet__handle {
  width: 42px; height: 4px;
  border-radius: 999px;
  background: rgba(23,19,19,0.18);
  margin: 0.35rem auto 0.55rem;
}
.menu-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}
.menu-sheet__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 750;
}
.menu-sheet__nav {
  display: grid;
  gap: 0;
}
.menu-sheet__nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  color: var(--dz-ink);
  text-decoration: none;
  font-weight: 550;
  border-bottom: 1px solid var(--dz-line);
}
.menu-sheet__label {
  margin: 1rem 0 0.2rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dz-muted);
  font-weight: 700;
}

/* Hide old full drawer if leftover markup exists */
.store-drawer { display: none !important; }

/* ── Bottom navigation rebuild ── */
.mobile-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
  min-height: calc(66px + env(safe-area-inset-bottom, 0px));
  padding: 0.35rem 0.2rem calc(0.35rem + env(safe-area-inset-bottom, 0px));
  background: #FFFFFF;
  border-top: 1px solid rgba(23,19,19,0.1);
  box-shadow: 0 -6px 24px rgba(23,19,19,0.08);
}
@media (min-width: 768px) {
  .mobile-nav { display: none; }
}
.mobile-nav__item {
  appearance: none;
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-height: 44px;
  color: #5C5652;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
  position: relative;
  padding: 0.2rem;
}
.mobile-nav__item svg {
  width: 22px;
  height: 22px;
  display: block;
}
.mobile-nav__label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.1;
  white-space: nowrap;
}
@media (max-width: 360px) {
  .mobile-nav__label { font-size: 0.55rem; letter-spacing: 0; }
  .mobile-nav__item { padding: 0.15rem 0.05rem; gap: 0.15rem; }
}
.mobile-nav__item.is-active,
.mobile-nav__item[aria-expanded="true"] {
  color: var(--dz-burgundy);
}
.mobile-nav__item.is-active::after,
.mobile-nav__item[aria-expanded="true"]::after {
  content: "";
  position: absolute;
  top: 0.15rem;
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: var(--dz-burgundy);
}

/* Footer clearance for new nav height */
.site-footer {
  padding-bottom: 1.5rem;
}
@media (max-width: 767px) {
  .site-footer {
    padding-bottom: calc(1rem + var(--dz-nav-h) + env(safe-area-inset-bottom, 0px));
  }
  .pdp-sticky {
    bottom: calc(var(--dz-nav-h) + env(safe-area-inset-bottom, 0px));
  }
}
/* ═══════════════════════════════════════════════════════════════
   PHASE 3R — Visual rejection corrections (header/search/hero/dock)
   ═══════════════════════════════════════════════════════════════ */

:root {
  --dz-nav-h: 78px;
  --dz-compact-h: 58px;
  --shell-transition: background-color 400ms ease, color 400ms ease;
}

body.store-body {
  padding-bottom: calc(var(--dz-nav-h) + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 768px) {
  body.store-body { padding-bottom: 0; }
}

/* Compact sticky clearance */
body.has-compact-shell .store-main {
  scroll-padding-top: calc(var(--dz-compact-h) + 12px);
}
body.has-compact-shell .store-main > section,
body.has-compact-shell .store-main .section,
body.has-compact-shell #collections,
body.has-compact-shell .cat-rail,
body.has-compact-shell .section-head {
  scroll-margin-top: calc(var(--dz-compact-h) + 16px);
}

/* Logo */
.logo-img {
  max-height: none;
  max-width: min(132px, 48vw);
  width: 128px;
  height: auto;
  object-fit: contain;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  filter: none !important;
}
@media (min-width: 768px) {
  .logo-img { width: 132px; max-width: 132px; }
}
@media (max-width: 360px) {
  .logo-img { width: 112px; max-width: 42vw; }
}
.site-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  justify-content: center;
}
@media (min-width: 768px) {
  .site-logo {
    position: static;
    transform: none;
    justify-content: flex-start;
  }
}
.site-header__inner {
  position: relative;
  min-height: 58px;
  grid-template-columns: 44px 1fr 44px;
}
@media (min-width: 768px) {
  .site-header__inner {
    min-height: 78px;
    grid-template-columns: auto 1fr auto;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .site-nav { display: none; }
  .site-header__inner { grid-template-columns: 44px 1fr auto; }
  .header-menu-btn { display: inline-grid; }
  .site-logo { position: static; transform: none; justify-self: start; margin-left: 0.35rem; }
}

/* Search pill placeholders */
.mobile-search-pill__mid,
.mobile-search-pill__short { display: none; }
@media (max-width: 360px) {
  .mobile-search-pill__full { display: none; }
  .mobile-search-pill__mid { display: inline; }
}
@media (max-width: 320px) {
  .mobile-search-pill__mid { display: none; }
  .mobile-search-pill__short { display: inline; }
}
.mobile-search-bar { padding: 0 14px 10px; }
.mobile-search-pill {
  min-height: 50px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 6px 18px rgba(23,19,19,0.1);
  font-size: 16px;
}

/* Quick rail — tonal filled surfaces */
.quick-rail {
  display: none;
  padding: 0 0 12px;
  background: var(--active-slide-bg);
}
@media (max-width: 767px) {
  .store-shell--home .quick-rail { display: block; }
}
.quick-rail__track {
  display: flex;
  gap: 0.7rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 14px 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.quick-rail__track::after {
  content: "";
  flex: 0 0 8px;
}
.quick-rail__track::-webkit-scrollbar { display: none; }
.quick-rail__item {
  flex: 0 0 auto;
  width: 72px;
  scroll-snap-align: start;
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  text-decoration: none;
  color: var(--active-slide-text, #fff);
}
.quick-rail__icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--active-slide-text, #fff) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--active-slide-text, #fff) 18%, transparent);
  color: var(--active-slide-text, #fff);
  transition: transform 0.18s ease, background 0.18s ease;
}
.quick-rail__item:active .quick-rail__icon,
.quick-rail__item:focus-visible .quick-rail__icon {
  transform: scale(0.96);
  background: color-mix(in srgb, var(--active-slide-accent, #D6A84B) 28%, transparent);
}
.quick-rail__label {
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Hero composition */
.hero-trust-strip { display: none !important; }
.hero-slider {
  position: relative;
  margin: 0 auto;
  overflow: hidden;
  background: var(--active-slide-bg, #4B0B20);
  color: var(--active-slide-text, #fff);
  transition: var(--shell-transition);
}
@media (max-width: 767px) {
  body:has(.store-shell--home) .hero-slider {
    width: 100%;
    border-radius: 0 0 22px 22px;
    margin-top: 0;
  }
}
@media (min-width: 768px) {
  .hero-slider {
    width: min(100% - 2rem, 1320px);
    margin: 0.75rem auto 3rem;
    border-radius: 20px;
    min-height: 560px;
  }
}
.hero-slide {
  background:
    radial-gradient(ellipse at 68% 35%, rgba(255,255,255,0.08) 0%, transparent 52%),
    linear-gradient(165deg, color-mix(in srgb, var(--slide-bg) 82%, #000) 0%, var(--slide-bg) 55%, color-mix(in srgb, var(--slide-bg) 88%, #fff) 100%);
}
.hero-slide__inner {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 430px;
  padding: 1rem 1.1rem 3.25rem;
  gap: 0.4rem;
}
@media (min-width: 768px) {
  .hero-slide__inner {
    grid-template-columns: 42% 58%;
    grid-template-rows: none;
    min-height: 560px;
    padding: 2.5rem 2.25rem 3.5rem 2.75rem;
    align-items: stretch;
  }
}
.hero-slide__copy {
  gap: 0.45rem;
  z-index: 2;
}
.hero-slide__title {
  font-size: clamp(1.4rem, 5.2vw, 1.85rem);
  max-width: 15ch;
  line-height: 1.08;
}
@media (min-width: 768px) {
  .hero-slide__title {
    font-size: clamp(2.3rem, 3.5vw, 3.15rem);
    margin-top: 1.25rem;
  }
  .hero-slide__copy { justify-content: center; }
}
.hero-slide__lead {
  font-size: 0.84rem;
  -webkit-line-clamp: 2;
  max-width: 34ch;
}
.hero-slide__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.9rem;
}
@media (max-width: 320px) {
  .hero-slide__actions { flex-direction: column; align-items: flex-start; }
  .hero-slide__secondary { margin-top: 0.15rem; }
}
.hero-slide__media {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 0;
  height: 48%;
  max-height: none;
  position: relative;
}
.hero-slide__media::after {
  content: "";
  position: absolute;
  left: 18%; right: 18%; bottom: 4%;
  height: 18px;
  border-radius: 50%;
  background: rgba(0,0,0,0.28);
  filter: blur(10px);
  z-index: 0;
  pointer-events: none;
}
@media (min-width: 768px) {
  .hero-slide__media {
    height: auto;
    min-height: 100%;
    width: 100%;
    max-width: 52%;
    margin-left: auto;
    justify-content: center;
    padding-right: 0.5rem;
  }
}
.hero-slide__media picture,
.hero-slide__media img {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: 100%;
  max-height: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
@media (min-width: 768px) {
  .hero-slide__media img {
    max-height: 520px;
    width: 100%;
  }
}

/* Controls: progress bars safe zone + desktop arrows separate */
.hero-slider__controls {
  position: absolute;
  left: 0; right: 0;
  bottom: 3.35rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding: 0 1rem;
  pointer-events: none;
  z-index: 4;
}
.hero-slider__progress {
  pointer-events: auto;
  display: flex;
  gap: 0.4rem;
  align-items: center;
}
.hero-slider__bar {
  width: 18px;
  height: 3px;
  border: 0;
  padding: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}
.hero-slider__bar.is-active {
  width: 28px;
  background: var(--active-slide-accent, #D6A84B);
}
.hero-slider__arrows {
  display: none;
  gap: 0.55rem;
  pointer-events: auto;
}
@media (min-width: 768px) {
  .hero-slider__controls {
    bottom: 1.15rem;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 1.25rem;
  }
  .hero-slider__progress { order: 2; }
  .hero-slider__arrows { display: flex; order: 1; }
  .hero-slider__arrows::after { content: ""; flex: 1; }
  .hero-slider__controls { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
  .hero-slider__arrows { justify-self: start; }
  .hero-slider__progress { justify-self: center; grid-column: 2; }
}
.hero-slider__arrow {
  width: 42px; height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(0,0,0,0.28);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.hero-slider__dot { display: none !important; }

/* Trust strip attached to hero */
.hero-trust {
  list-style: none;
  margin: 0;
  padding: 0.7rem 1rem 0.85rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  background: color-mix(in srgb, var(--active-slide-bg, #4B0B20) 88%, #000);
  border-top: 1px solid rgba(255,255,255,0.1);
  color: color-mix(in srgb, var(--active-slide-text, #fff) 88%, transparent);
}
.hero-trust li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 600;
  white-space: nowrap;
  min-width: 0;
}
.hero-trust svg { opacity: 0.9; flex: 0 0 auto; }

/* Phase 6A1 — mobile trust strip: three equal columns, no clipped third item */
@media (max-width: 767px) {
  .hero-trust {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.35rem;
    padding-inline: 0.5rem 0.65rem !important;
    max-width: 100%;
    overflow: hidden;
  }
  .hero-trust li {
    min-width: 0;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    white-space: normal;
    font-size: clamp(0.58rem, 2.7vw, 0.66rem);
    line-height: 1.15;
    gap: 0.2rem;
  }
  .hero-trust li span {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}
@media (min-width: 768px) {
  .hero-trust {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    border-radius: 0 0 20px 20px;
    padding: 0.8rem 1.5rem;
    font-size: 0.78rem;
  }
  .hero-trust li { font-size: 0.78rem; gap: 0.45rem; }
  .hero-slider__controls { bottom: 3.6rem; }
}

/* Desktop header search contrast */
.header-search {
  min-width: 200px;
  border-color: rgba(23,19,19,0.16);
  background: #fff;
}
.header-search:focus-within {
  border-color: var(--dz-burgundy);
  box-shadow: 0 0 0 3px rgba(122,18,51,0.12);
}
.header-search__submit {
  display: inline-grid;
  place-items: center;
  width: 30px; height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--dz-ink);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}
.header-search:focus-within .header-search__submit {
  opacity: 0.75;
  pointer-events: auto;
}

/* Search sheet — near full height */
.search-sheet {
  position: fixed;
  inset: 0;
  z-index: 90;
}
.search-sheet[hidden] { display: none !important; }
.search-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23,19,19,0.55);
}
.search-sheet__panel {
  position: absolute;
  left: 0; right: 0; top: 0;
  min-height: 78dvh;
  max-height: 92dvh;
  overflow: auto;
  background: #FCFAF7;
  border-radius: 0 0 22px 22px;
  padding: calc(0.75rem + env(safe-area-inset-top, 0px)) 1rem 1.25rem;
  box-shadow: 0 18px 48px rgba(23,19,19,0.22);
}
.search-sheet__form {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1rem;
}
.search-sheet__back {
  display: none;
  place-items: center;
  width: 44px; height: 44px;
  border: 0;
  background: transparent;
  color: var(--dz-ink);
}
@media (max-width: 320px) {
  .search-sheet__cancel { display: none; }
  .search-sheet__back { display: inline-grid; }
  .search-sheet__form { grid-template-columns: auto 1fr; }
}
.search-sheet__field {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 50px;
  padding: 0 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(23,19,19,0.12);
  background: #fff;
}
.search-sheet__input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 16px;
  outline: none;
}
.search-sheet__cancel {
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--dz-burgundy);
  font-weight: 650;
  padding: 0 0.35rem;
}
.search-sheet__clear {
  border: 0;
  background: transparent;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--dz-muted);
  width: 28px; height: 28px;
}
.search-sheet__heading {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dz-muted);
}
.search-sheet__block + .search-sheet__block { margin-top: 1.25rem; }
.search-sheet__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.search-sheet__chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 0.85rem;
  border-radius: 999px;
  background: #F2EEE8;
  color: var(--dz-ink);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
}
.search-sheet__products {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}
.search-sheet__product {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.55rem 0.35rem;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
}
.search-sheet__product:hover,
.search-sheet__product:focus-visible {
  background: #F2EEE8;
}
.search-sheet__product img,
.search-sheet__thumb {
  width: 48px; height: 48px;
  border-radius: 10px;
  object-fit: cover;
  background: #EDE8E1;
}
.search-sheet__meta {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}
.search-sheet__meta strong {
  font-size: 0.92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-sheet__meta em {
  font-style: normal;
  font-size: 0.75rem;
  color: var(--dz-muted);
}
.search-sheet__price {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dz-burgundy);
}
.search-sheet__viewall {
  display: inline-flex;
  margin-top: 0.85rem;
  font-weight: 700;
  color: var(--dz-burgundy);
  text-decoration: none;
}
.search-sheet__empty {
  margin: 0.5rem 0;
  color: var(--dz-muted);
  font-size: 0.9rem;
}

/* Menu sheet commerce IA */
.menu-sheet__panel {
  max-height: 86dvh;
  border-radius: 24px 24px 0 0;
  padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
}
.menu-sheet__brand {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.menu-sheet__logo {
  width: 108px;
  height: auto;
}
.menu-sheet__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}
.menu-sheet__scroll {
  overflow: auto;
  max-height: calc(86dvh - 5.5rem);
  padding: 0 1rem 0.5rem;
}
.menu-sheet__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin: 0.35rem 0 1.1rem;
}
.menu-sheet__card {
  display: grid;
  gap: 0.45rem;
  justify-items: start;
  padding: 0.95rem 0.9rem;
  border-radius: 16px;
  background: #F2EEE8;
  color: var(--dz-ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
}
.menu-sheet__card span {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 11px;
  background: #fff;
  color: var(--dz-burgundy);
}
.menu-sheet__section { margin-bottom: 1rem; }
.menu-sheet__label {
  margin: 0 0 0.45rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dz-muted);
}
.menu-sheet__link {
  display: block;
  padding: 0.72rem 0;
  color: var(--dz-ink);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(23,19,19,0.06);
}
.menu-sheet__link--muted { color: var(--dz-burgundy); border-bottom: 0; }
.menu-sheet__legal {
  display: flex;
  gap: 1rem;
  padding: 0.75rem 0 1.25rem;
}
.menu-sheet__legal a {
  font-size: 0.78rem;
  color: var(--dz-muted);
  text-decoration: none;
}
.menu-sheet__nav { display: none; }

/* Floating bottom dock */
.mobile-nav { display: none !important; }
.mobile-dock {
  position: fixed;
  left: 12px; right: 12px;
  bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
  min-height: 64px;
  padding: 0.3rem 0.25rem;
  background: #FFFFFF;
  border: 1px solid rgba(23,19,19,0.1);
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(23,19,19,0.14);
}
@media (min-width: 768px) {
  .mobile-dock { display: none; }
}
.mobile-dock__item {
  appearance: none;
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.18rem;
  min-width: 0;
  min-height: 44px;
  color: #5C5652;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
  border-radius: 14px;
  padding: 0.25rem 0.1rem;
  overflow: hidden;
}
.mobile-dock__icon {
  width: 34px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
}
.mobile-dock__item svg { width: 22px; height: 22px; display: block; }
.mobile-dock__label {
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mobile-dock__label--short { display: none; }
/* Use short Collections label early enough that five dock items stay in-bounds */
@media (max-width: 400px) {
  .mobile-dock__label--full { display: none; }
  .mobile-dock__label--short { display: inline; }
}
@media (max-width: 340px) {
  .mobile-dock { left: 8px; right: 8px; }
  .mobile-dock__label { font-size: 0.58rem; }
}
.mobile-dock__item.is-active,
.mobile-dock__item[aria-expanded="true"] {
  color: var(--dz-burgundy);
}
.mobile-dock__item.is-active::before,
.mobile-dock__item.is-active::after,
.mobile-dock__item[aria-expanded="true"]::before,
.mobile-dock__item[aria-expanded="true"]::after {
  content: none !important;
  display: none !important;
}
.mobile-dock__item.is-active .mobile-dock__icon,
.mobile-dock__item[aria-expanded="true"] .mobile-dock__icon {
  background: color-mix(in srgb, var(--dz-burgundy) 12%, transparent);
}

/* Compact shell */
.store-shell--home.is-compact .site-header {
  min-height: var(--dz-compact-h);
}
.store-shell--home.is-compact .logo-img {
  width: 108px;
}
.store-shell--home.is-compact .mobile-search-bar,
.store-shell--home.is-compact .quick-rail {
  display: none !important;
}

/* Desktop hero spacing before next section */
@media (min-width: 768px) {
  .hero-slider + * ,
  .store-main > .hero-slider {
    margin-bottom: 0;
  }
  .store-main > section:first-of-type,
  .store-main .section:first-of-type {
    margin-top: 0;
  }
}

/* Footer / PDP clearance for floating dock */
@media (max-width: 767px) {
  .site-footer {
    padding-bottom: calc(1.25rem + var(--dz-nav-h) + env(safe-area-inset-bottom, 0px));
  }
  .pdp-sticky {
    bottom: calc(var(--dz-nav-h) + env(safe-area-inset-bottom, 0px));
  }
}
/* ── Phase 3R hotfix ── */
.mobile-dock__item.is-active::after,
.mobile-dock__item[aria-expanded="true"]::after,
.mobile-nav__item.is-active::after { display: none !important; content: none !important; }

.quick-rail__icon {
  background: rgba(255,255,255,0.16) !important;
  border: 0 !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

@media (max-width: 767px) {
  .hero-slide__inner {
    min-height: 400px;
    padding-bottom: 4.75rem;
  }
  .hero-slider__controls {
    bottom: 4.6rem;
  }
  .hero-trust {
    padding-bottom: 0.95rem;
  }
  /* Reserve space so dock does not cover trust strip */
  .hero-slider {
    margin-bottom: 0.35rem;
  }
  .hero-slide__media {
    height: 52%;
  }
  .hero-slide__media img {
    max-height: 260px;
    width: auto;
    min-height: 200px;
  }
}

.logo-img {
  width: 134px !important;
  max-width: min(134px, 52vw) !important;
}
@media (max-width: 360px) {
  .logo-img { width: 118px !important; max-width: 46vw !important; }
}
.store-shell--home.is-compact .logo-img {
  width: 112px !important;
}

/* Slide 3 blank tees need larger presence */
.hero-slide[data-slide-index="2"] .hero-slide__media img {
  max-height: 280px;
  transform: scale(1.08);
  transform-origin: bottom center;
}
@media (min-width: 768px) {
  .hero-slide[data-slide-index="2"] .hero-slide__media img {
    max-height: 480px;
    transform: scale(1.05);
  }
}

/* ── Phase 3R2 — delivery polish (overrides older Phase 3 blocks) ── */
.quick-rail__icon {
  width: 52px !important;
  height: 52px !important;
  border-radius: 16px !important;
  border: 0 !important;
  background: color-mix(in srgb, var(--active-slide-text, #fff) 18%, transparent) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.14),
    0 6px 14px rgba(0,0,0,0.12) !important;
  color: var(--active-slide-text, #fff) !important;
}
.quick-rail__icon svg {
  width: 22px;
  height: 22px;
  display: block;
  opacity: 0.96;
}
.quick-rail__item:active .quick-rail__icon,
.quick-rail__item:focus-visible .quick-rail__icon {
  background: color-mix(in srgb, var(--active-slide-accent, #D6A84B) 34%, transparent) !important;
  transform: scale(0.97);
}

/* Trust strip flush with hero — no detached sentence band */
.hero-trust {
  margin: 0 !important;
  border-top: 1px solid color-mix(in srgb, var(--active-slide-text, #fff) 12%, transparent);
  background: color-mix(in srgb, var(--active-slide-bg, #4B0B20) 92%, #000) !important;
}
@media (max-width: 767px) {
  .hero-slider {
    display: flex;
    flex-direction: column;
  }
  .hero-slider__viewport { flex: 1 1 auto; }
  .hero-trust {
    order: 3;
    border-radius: 0 0 22px 22px;
  }
  .hero-slider__controls {
    order: 2;
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    margin: -0.15rem 0 0.15rem;
    padding-bottom: 0.15rem;
  }
  .hero-slide__inner {
    min-height: 420px;
    padding-bottom: 1.25rem;
  }
  .hero-slide__media {
    height: 48%;
    align-items: flex-end;
  }
  .hero-slide__media img {
    max-height: 240px;
  }
  /* Keep bars clear of model/product details */
  .hero-slider__progress {
    margin-top: 0.35rem;
  }
}

/* Floating dock — inset, shadowed, connected active tint */
.mobile-dock {
  left: 11px !important;
  right: 11px !important;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
  border-radius: 20px !important;
  box-shadow: 0 12px 32px rgba(23, 19, 19, 0.16) !important;
  border: 1px solid rgba(23, 19, 19, 0.08) !important;
}
.mobile-dock__item.is-active,
.mobile-dock__item[aria-expanded="true"] {
  background: color-mix(in srgb, var(--dz-burgundy) 10%, transparent);
  color: var(--dz-burgundy);
}
.mobile-dock__item.is-active .mobile-dock__icon,
.mobile-dock__item[aria-expanded="true"] .mobile-dock__icon {
  background: color-mix(in srgb, var(--dz-burgundy) 14%, transparent);
}
.mobile-dock__item.is-active::before,
.mobile-dock__item.is-active::after,
.mobile-dock__item[aria-expanded="true"]::before,
.mobile-dock__item[aria-expanded="true"]::after {
  content: none !important;
  display: none !important;
}

/* Search sheet height lock */
.search-sheet__panel {
  min-height: 78dvh !important;
}

/* Menu sheet: keep 2×2 grid primary, legal in footer */
.menu-sheet__grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
}
.menu-sheet__legal {
  margin-top: 0.35rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(23, 19, 19, 0.08);
}

/* Logo display bounds */
.logo-img {
  width: 128px !important;
  max-width: min(128px, 48vw) !important;
  max-height: 40px !important;
  object-fit: contain !important;
  object-position: center;
}
.store-shell--home.is-compact .logo-img {
  width: 108px !important;
  max-height: 34px !important;
}
@media (min-width: 768px) {
  .logo-img {
    width: 140px !important;
    max-width: 140px !important;
    max-height: 46px !important;
  }
  .hero-slider__controls {
    bottom: 3.85rem;
  }
  .hero-trust {
    position: absolute;
    left: 0; right: 0; bottom: 0;
  }
}

/* Compact header / tablet clearance */
@media (max-width: 767px) {
  body.has-compact-shell .store-shell--home .site-header,
  .store-shell--home.is-compact .site-header {
    box-shadow: 0 8px 24px rgba(23, 19, 19, 0.08);
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .site-header__inner {
    min-height: 72px;
    padding-inline: 1rem;
  }
  .hero-slider {
    margin-top: 0.85rem;
  }
}

/* Cutout media: never show rectangular white photo plates */
.hero-slide__media:not(.hero-slide__media--framed) img {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.hero-slide[data-slide-index="1"] .hero-slide__media--cutout::before {
  background: radial-gradient(ellipse at 50% 88%, rgba(0,0,0,0.28), transparent 62%);
}

/* ── Hero final v11 ── */
.search-sheet__input[type="search"]::-webkit-search-decoration,
.search-sheet__input[type="search"]::-webkit-search-cancel-button,
.search-sheet__input[type="search"]::-webkit-search-results-button,
.search-sheet__input[type="search"]::-webkit-search-results-decoration,
.header-search__input[type="search"]::-webkit-search-decoration,
.header-search__input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
.search-sheet__clear {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--dz-muted);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 999px;
}
.search-sheet__clear[hidden] { display: none !important; }

.logo-img {
  width: auto !important;
  max-width: min(132px, 48vw) !important;
  max-height: 40px !important;
  height: auto !important;
  object-fit: contain !important;
  background: transparent !important;
}
@media (min-width: 768px) {
  .logo-img {
    max-width: 148px !important;
    max-height: 46px !important;
  }
}

/* Desktop hero composition */
@media (min-width: 768px) {
  .hero-slider {
    min-height: 560px;
    margin: 0.75rem auto 1.35rem;
  }
  .hero-slide__inner {
    min-height: 520px;
    display: grid;
    grid-template-columns: minmax(0, 42%) minmax(0, 58%);
    align-items: stretch;
    gap: 1.1rem;
    padding: 1.75rem 1.5rem 4.75rem;
  }
  .hero-slide__copy {
    max-width: none;
    width: 100%;
    align-self: center;
  }
  .hero-slide__title {
    font-size: clamp(2.35rem, 3.4vw, 3.75rem); /* ~54–62px */
    line-height: 1.05;
  }
  .hero-slide__media {
    max-width: none !important;
    width: 100% !important;
    min-height: 100%;
    height: auto !important;
    align-items: flex-end;
    justify-content: flex-end;
    padding-right: 0.35rem;
  }
  .hero-slide__media--cutout img {
    max-height: none !important;
    height: 90% !important;
    width: auto !important;
    max-width: 108%;
    object-fit: contain;
    object-position: bottom right;
    transform: scale(1.06);
    transform-origin: bottom right;
  }
  .hero-slide__media--framed {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0;
    align-self: center;
    justify-content: center;
  }
  .hero-slide__media--framed picture,
  .hero-slide__media--framed img {
    width: 100% !important;
    height: auto !important;
    max-height: 460px !important;
    object-fit: cover;
    object-position: center 28%;
    border-radius: 18px !important;
    border: 1px solid color-mix(in srgb, var(--active-slide-text, #fff) 16%, transparent) !important;
    box-shadow: 0 18px 40px rgba(0,0,0,0.28) !important;
    background: #0a0809 !important;
  }
  .hero-slide__media--framed::after { display: none !important; }
  .hero-slider__controls {
    bottom: 3.7rem;
    display: grid !important;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }
  .hero-slider__arrows { justify-self: start; }
  .hero-slider__progress { justify-self: center; grid-column: 2; }
  .hero-trust {
    position: absolute;
    left: 0; right: 0; bottom: 0;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .hero-slider { min-height: 540px; }
  .hero-slide__inner {
    grid-template-columns: minmax(0, 42%) minmax(0, 58%);
    min-height: 500px;
    padding-bottom: 4.5rem;
  }
  .hero-slide__media--framed img {
    max-height: 420px !important;
  }
  .hero-slide__media--cutout img {
    height: 80% !important;
  }
}

/* Mobile hero composition — 2 slides, larger media, keep trust+bars above dock */
@media (max-width: 767px) {
  .hero-slider {
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
    margin-bottom: calc(5.1rem + env(safe-area-inset-bottom, 0px));
  }
  .hero-slider__viewport { flex: 0 1 auto; }
  .hero-slide__inner {
    min-height: 0;
    height: auto;
    padding: 0.2rem 1rem 0.15rem;
    display: flex;
    flex-direction: column;
  }
  .hero-slide__copy { flex: 0 0 auto; padding-bottom: 0.15rem; }
  .hero-slide__title { font-size: clamp(1.45rem, 5.8vw, 1.75rem); margin-bottom: 0.35rem; }
  .hero-slide__lead {
    font-size: 0.86rem;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .hero-slide__media {
    flex: 0 0 auto;
    height: auto !important;
    min-height: 0;
    align-items: flex-end;
    justify-content: center;
  }
  .hero-slide__media--cutout img {
    max-height: 250px !important;
    height: 250px !important;
    width: auto !important;
    min-height: 0 !important;
    transform: scale(1.12) !important;
    transform-origin: bottom center !important;
    object-fit: contain;
    object-position: bottom center;
  }
  .hero-slide__media--framed {
    width: min(100% - 1.25rem, 320px);
    margin: 0 auto 0.15rem;
    height: auto !important;
  }
  .hero-slide__media--framed picture,
  .hero-slide__media--framed img {
    width: 100% !important;
    height: 210px !important;
    max-height: 210px !important;
    object-fit: cover !important;
    object-position: center 18% !important;
    border-radius: 16px !important;
    border: 1px solid color-mix(in srgb, var(--active-slide-text, #fff) 14%, transparent) !important;
    box-shadow: 0 14px 28px rgba(0,0,0,0.22) !important;
    background: #0a0809 !important;
  }
  .hero-slide__media--framed::after { display: none !important; }
  .hero-slider__controls {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    margin: 0.1rem 0 0;
    padding: 0 0.5rem 0.15rem;
    order: 2;
    flex: 0 0 auto;
  }
  .hero-trust {
    order: 3;
    position: relative !important;
    border-radius: 0 0 22px 22px;
    flex: 0 0 auto;
    padding: 0.55rem 0.75rem 0.7rem;
  }
}

/* ── Phase 3R3 surgical polish (v12) ── */

/* Kill next-slide colour seam on viewport edges (subpixel track bleed) */
html, body.store-body {
  overflow-x: hidden;
}
.hero-slider {
  overflow: hidden !important;
  isolation: isolate;
}
.hero-slider__viewport {
  overflow: hidden !important;
  clip-path: inset(0);
  -webkit-clip-path: inset(0);
  contain: paint;
}
.hero-slider__track {
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}
.hero-slide {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  overflow: hidden !important;
  box-sizing: border-box;
}

/* Logo: transparent ink + tight warm-ivory CSS badge (intentional, not baked sticker) */
.site-logo {
  background: #FCFAF7;
  border: 1px solid rgba(180, 160, 140, 0.38);
  border-radius: 8px;
  padding: 4px 7px;
  box-shadow: none;
  line-height: 0;
}
.site-logo .logo-img,
.logo-img {
  width: 86px !important;
  max-width: 86px !important;
  max-height: 26px !important;
  height: auto !important;
  object-fit: contain !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: none !important;
}
@media (min-width: 768px) and (max-width: 1024px) {
  .site-logo {
    border-radius: 9px;
    padding: 5px 9px;
    /* Match page ivory so badge reads as brand mark, not pasted sticker */
    background: #FCFAF7;
    border-color: rgba(180, 160, 140, 0.32);
  }
  .site-logo .logo-img,
  .logo-img {
    width: 104px !important;
    max-width: 104px !important;
    max-height: 30px !important;
  }
}
@media (min-width: 1025px) {
  .site-logo {
    border-radius: 9px;
    padding: 5px 10px;
    background: #FCFAF7;
    border-color: rgba(180, 160, 140, 0.3);
  }
  .site-logo .logo-img,
  .logo-img {
    width: 112px !important;
    max-width: 112px !important;
    max-height: 32px !important;
  }
}
.store-shell--home.is-compact .site-logo {
  padding: 3px 7px;
  border-radius: 8px;
}
.store-shell--home.is-compact .logo-img {
  width: 82px !important;
  max-width: 82px !important;
  max-height: 24px !important;
}

/* Search pill: single 2px focus ring, ≤2px offset — no gold border stacking */
.mobile-search-pill {
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 4px 14px rgba(23, 19, 19, 0.08) !important;
  outline: none !important;
}
.mobile-search-pill:focus,
.mobile-search-pill:focus-visible {
  /* Single 2px gold ring flush to pill — offset gap was reading as a second dark ring */
  border-color: transparent !important;
  outline: none !important;
  box-shadow: 0 0 0 2px var(--active-slide-accent, #D6A84B) !important;
}
.search-sheet__field:focus-within {
  border-color: var(--dz-line) !important;
  box-shadow: none !important;
  outline: 2px solid var(--dz-burgundy) !important;
  outline-offset: 2px !important;
}
.header-search:focus-within {
  border-color: var(--dz-line) !important;
  box-shadow: none !important;
  outline: 2px solid var(--dz-burgundy) !important;
  outline-offset: 2px !important;
}

/* Quick rail: clip shell; 4 complete items + deliberate Bulk peek */
.quick-rail {
  overflow: hidden;
  display: block !important;
}
@media (min-width: 768px) {
  .quick-rail { display: none !important; }
}
@media (max-width: 767px) {
  .store-shell--home .quick-rail { display: block !important; }
}
.quick-rail__track {
  padding-inline: 14px 22px !important;
  scroll-padding-inline: 14px 22px !important;
  gap: 0.5rem !important;
}
.quick-rail__track::after {
  content: "" !important;
  flex: 0 0 20px !important;
  width: 20px !important;
  min-width: 20px !important;
}
.quick-rail__item {
  width: 78px !important;
  min-width: 78px !important;
  max-width: 78px !important;
  box-sizing: border-box;
}
.quick-rail__label {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 360px) {
  .quick-rail__item {
    width: 70px !important;
    min-width: 70px !important;
    max-width: 70px !important;
  }
  .quick-rail__track {
    padding-inline: 12px 20px !important;
    scroll-padding-inline: 12px 20px !important;
    gap: 0.45rem !important;
  }
}

/* Slide 1 framed media — burgundy-tinted plate, softer frame, less zoom */
.hero-slide__media--framed picture,
.hero-slide__media--framed img {
  background: #2a1018 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 12px 28px rgba(45, 8, 20, 0.26) !important;
}
@media (min-width: 768px) {
  .hero-slide__media--framed {
    padding: 0 0.35rem 0 0;
  }
  .hero-slide__media--framed picture,
  .hero-slide__media--framed img {
    object-fit: contain !important;
    object-position: center center !important;
    width: 100% !important;
    height: auto !important;
    max-height: 400px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow: 0 14px 34px rgba(45, 8, 20, 0.3) !important;
    background: #2a1018 !important;
  }
  .hero-slide__media--cutout {
    padding-bottom: 4.25rem;
    align-items: flex-end !important;
    justify-content: center !important;
    min-height: 100%;
  }
  .hero-slide__media--cutout img {
    height: 86% !important;
    max-height: none !important;
    width: auto !important;
    max-width: 96% !important;
    transform: none !important;
    object-fit: contain !important;
    object-position: bottom center !important;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .hero-slide__media--cutout img {
    height: 72% !important;
  }
  .hero-slide__media--framed img {
    max-height: 360px !important;
    border-radius: 18px !important;
  }
}
@media (max-width: 767px) {
  .hero-slide__media--framed {
    width: min(100% - 1.5rem, 300px) !important;
  }
  .hero-slide__media--framed picture,
  .hero-slide__media--framed img {
    height: auto !important;
    max-height: 200px !important;
    width: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    border-radius: 15px !important;
    background: #2a1018 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 10px 22px rgba(45, 8, 20, 0.24) !important;
  }
  /* Slide 2 mobile: enlarge model ~46–54% of slide content height */
  .hero-slide__media--cutout {
    min-height: 210px;
  }
  .hero-slide__media--cutout img {
    max-height: 248px !important;
    height: 248px !important;
    width: auto !important;
    max-width: 86vw !important;
    transform: none !important;
    object-fit: contain !important;
    object-position: bottom center !important;
  }
  /* Dead-space: no VH fillers; dock clearance only on main */
  .hero-slider {
    margin-bottom: 0 !important;
  }
  body:has(.store-shell--home) .store-main {
    padding-bottom: calc(4.6rem + env(safe-area-inset-bottom, 0px));
  }
  body:has(.store-shell--home) .store-main > #collections,
  body:has(.store-shell--home) .store-main > section.section:first-of-type {
    margin-top: 0.35rem;
    padding-top: 0.55rem;
  }
  .hero-trust {
    padding: 0.45rem 0.75rem 0.55rem !important;
  }
  .hero-slide__inner {
    padding-bottom: 0.05rem !important;
  }
}

/* Kill prior slide-3 scale rules (slide removed from presentation) */
.hero-slide[data-slide-index="2"] .hero-slide__media img {
  transform: none;
}

/* ── Phase 3R4: desktop Slide-2 height containment (desktop only) ──
   Root cause: cutout img height:% against media height:auto falls back to
   intrinsic image height, expanding the flex track / hero when Slide 2 loads.
   Lock identical geometry for every slide; media never sizes the carousel. */
@media (min-width: 1025px) {
  .hero-slider {
    height: 560px !important;
    min-height: 560px !important;
    max-height: 560px !important;
  }
  .hero-slider__viewport {
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
    overflow: hidden !important;
  }
  .hero-slider__track {
    height: 100% !important;
    min-height: 0 !important;
    align-items: stretch;
  }
  .hero-slide {
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
    align-self: stretch;
  }
  .hero-slide__inner {
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
    box-sizing: border-box;
    /* Keep trust/controls clearance; do not let content grow the slide */
    grid-template-rows: minmax(0, 1fr);
  }
  .hero-slide__copy {
    min-height: 0;
  }
  .hero-slide__media,
  .hero-slide__media--framed,
  .hero-slide__media--cutout {
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
    overflow: hidden !important;
    align-self: stretch !important;
    box-sizing: border-box;
  }
  .hero-slide__media--cutout {
    /* Clear absolute trust strip; included inside the fixed media box */
    padding-bottom: 4.25rem !important;
  }
  .hero-slide__media picture {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: 100%;
    overflow: hidden;
  }
  /* Cap in px against the fixed media box — % of padded box under-sizes the model */
  .hero-slide__media--cutout img {
    height: auto !important;
    width: auto !important;
    max-width: 96% !important;
    max-height: 340px !important; /* ~74% of 456px media column; cannot expand hero */
    object-fit: contain !important;
    object-position: bottom center !important;
    transform: none !important;
  }
  .hero-slide__media--framed img,
  .hero-slide__media--framed picture img {
    height: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: 400px !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   PHASE 3Q — Premium PDP redesign (v14)
   ═══════════════════════════════════════════════════════════════ */

.pdp-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
body.pdp-overlay-open {
  overflow: hidden;
}

/* Hide PDP sticky while overlays / sheets are open (JS also sets hidden+inert) */
body.pdp-overlay-open .pdp-sticky,
body.sheet-open .pdp-sticky,
body.menu-sheet-open .pdp-sticky,
body.search-sheet-open .pdp-sticky {
  display: none !important;
  visibility: hidden;
  pointer-events: none;
}

.pdp {
  width: min(100% - (var(--dz-gutter) * 2), var(--dz-max));
  margin: 0 auto;
  /* Dock clearance + modest sticky buffer; not a large artificial spacer */
  padding: 0.35rem 0 calc(var(--dz-nav-h, 78px) + 1.75rem + env(safe-area-inset-bottom, 0px));
  color: var(--dz-ink, #171313);
}
@media (min-width: 960px) {
  .pdp { padding-bottom: 3rem; }
}

.pdp-crumbs {
  margin: 0 0 0.75rem;
}
.pdp-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.78rem;
  color: var(--dz-muted);
}
.pdp-crumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.4rem;
  opacity: 0.55;
}
.pdp-crumbs a {
  color: var(--dz-burgundy);
  text-decoration: none;
}
.pdp-crumbs a:hover { text-decoration: underline; }

.pdp__top {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 960px) {
  .pdp__top {
    display: grid;
    grid-template-columns: minmax(0, 56%) minmax(0, 44%);
    gap: 2rem 2.25rem;
    align-items: start;
  }
  .pdp-crumbs { grid-column: 1 / -1; }
  .pdp-gallery { grid-column: 1; grid-row: 2; }
  .pdp-buy {
    grid-column: 2;
    grid-row: 2;
    position: sticky;
    top: calc(var(--dz-header-h, 72px) + 0.75rem);
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
  }
}
@media (max-width: 959px) {
  .pdp-buy { display: contents; }
  .pdp-crumbs { order: 1; }
  .pdp-identity { order: 2; }
  .pdp-gallery { order: 3; }
  .pdp-purchase { order: 4; }
}

.pdp-identity {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.pdp__cat {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dz-muted);
}
.pdp__cat a { color: inherit; text-decoration: none; }
.pdp__cat a:hover { color: var(--dz-burgundy); }
.pdp__title {
  margin: 0;
  font-family: var(--dz-font-body);
  font-size: clamp(1.55rem, 4.2vw, 2.15rem);
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: #171313;
}
.pdp__sku {
  margin: 0;
  font-size: 0.8rem;
  color: var(--dz-muted);
}
.pdp__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem 0.7rem;
  margin-top: 0.2rem;
}
.pdp__offer {
  font-size: clamp(1.55rem, 3.5vw, 1.85rem);
  font-weight: 780;
  color: #171313;
}
.pdp__mrp {
  font-size: 1rem;
  color: var(--dz-muted);
  text-decoration: line-through;
}
.pdp__save {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(31, 92, 58, 0.12);
  color: #1F5C3A;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.04em;
}
.pdp-short {
  margin: 0.15rem 0 0;
  color: var(--dz-muted);
  font-size: 0.95rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 40ch;
}

/* Gallery */
.pdp-gallery {
  display: grid;
  gap: 0.7rem;
}
.pdp-gallery__stage {
  position: relative;
}
.pdp-gallery__main {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--dz-stone, #F2EEE8);
  cursor: zoom-in;
}
.pdp-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background:
    radial-gradient(circle at 50% 28%, #fff 0%, var(--dz-stone, #F2EEE8) 78%);
}
.pdp-gallery__zoom {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(252, 250, 247, 0.92);
  color: var(--dz-burgundy);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(23, 19, 19, 0.1);
}
.pdp-gallery__count {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(23, 19, 19, 0.55);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.04em;
}
.pdp-gallery__thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 0.15rem;
  scrollbar-width: none;
}
.pdp-gallery__thumbs::-webkit-scrollbar { display: none; }
.pdp-gallery__thumbs[hidden],
.pdp-gallery--single .pdp-gallery__thumbs { display: none !important; }
.pdp-thumb {
  flex: 0 0 auto;
  width: 62px;
  height: 78px;
  padding: 0;
  border: 1.5px solid var(--dz-line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--dz-stone);
  cursor: pointer;
  scroll-snap-align: start;
}
@media (min-width: 960px) {
  .pdp-thumb { width: 78px; height: 98px; border-radius: 12px; }
}
.pdp-thumb.is-active {
  border-color: var(--dz-burgundy);
  box-shadow: 0 0 0 1px var(--dz-burgundy);
}
.pdp-thumb:focus-visible,
.pdp-gallery__zoom:focus-visible,
.pdp-gallery__main:focus-visible {
  outline: 2px solid var(--dz-burgundy);
  outline-offset: 2px;
}
.pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

/* Purchase panel */
.pdp-purchase {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.pdp-field { margin: 0; }
.pdp-field__label {
  margin: 0 0 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dz-muted);
}
.pdp-field__label strong {
  color: #171313;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.95rem;
  font-weight: 700;
}
.pdp-field__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}
.pdp-text-btn {
  border: 0;
  background: none;
  padding: 0.25rem 0;
  color: var(--dz-burgundy);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  min-height: 44px;
}
.swatch-row,
.size-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.swatch-btn--lg {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px;
  min-height: 44px;
  border-radius: 999px;
  border: 2px solid rgba(23, 19, 19, 0.12);
  box-shadow: none !important;
}
.swatch-btn--lg.is-active {
  box-shadow: 0 0 0 2px #FCFAF7, 0 0 0 4px var(--dz-burgundy) !important;
  border-color: transparent;
}
.size-btn {
  min-width: 52px;
  min-height: 52px;
  padding: 0 0.9rem;
  border: 1.5px solid rgba(23, 19, 19, 0.16);
  border-radius: 12px;
  background: #fff;
  color: #171313;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  position: relative;
}
.size-btn.is-active {
  background: var(--dz-burgundy);
  border-color: var(--dz-burgundy);
  color: #fff;
}
.size-btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  text-decoration: line-through;
  background: #f3f0ea;
}
.size-btn:focus-visible,
.swatch-btn:focus-visible,
.qty-btn:focus-visible,
.pdp-order-btn:focus-visible,
.pdp-text-btn:focus-visible {
  outline: 2px solid var(--dz-burgundy);
  outline-offset: 2px;
}
.stock-msg {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  color: var(--dz-muted);
}
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid rgba(23, 19, 19, 0.16);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.qty-btn {
  width: 44px;
  min-width: 44px;
  min-height: 48px;
  border: 0;
  background: transparent;
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  color: #171313;
}
.qty-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.qty-input {
  width: 3rem;
  border: 0 !important;
  text-align: center;
  min-height: 48px;
  background: transparent;
  font: inherit;
  font-weight: 700;
  -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.pdp-summary {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 650;
  color: #171313;
}
.pdp-actions { margin: 0; }
.pdp-order-btn {
  min-height: 52px;
  border-radius: 14px;
  font-weight: 750;
  letter-spacing: 0.01em;
}
.pdp-order-btn.is-ready,
.pdp-sticky .btn.is-ready {
  background: var(--dz-burgundy);
  border-color: var(--dz-burgundy);
  color: #fff;
  opacity: 1;
  cursor: pointer;
}
.pdp-order-btn[aria-disabled="true"].is-ready {
  opacity: 1;
}

.pdp-trust {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0.85rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  border-top: 1px solid var(--dz-line);
}
.pdp-trust li {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--dz-muted);
  line-height: 1.25;
}
.pdp-trust svg { color: var(--dz-burgundy); }

/* Highlights */
.pdp-highlights,
.pdp-info-block,
.pdp-related {
  margin-top: 2.25rem;
}
.pdp-section-title {
  margin: 0 0 1rem;
  font-family: var(--dz-font-body);
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  font-weight: 750;
  letter-spacing: -0.02em;
}
.pdp-highlights__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}
@media (min-width: 960px) {
  .pdp-highlights__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem;
  }
}
.pdp-highlight {
  display: grid;
  gap: 0.3rem;
  padding: 0.9rem 0.85rem;
  border-radius: 14px;
  background: var(--dz-stone, #F2EEE8);
  border: 1px solid transparent;
}
.pdp-highlight__icon { color: var(--dz-burgundy); }
.pdp-highlight__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dz-muted);
}
.pdp-highlight__value {
  font-size: 0.95rem;
  font-weight: 750;
  color: #171313;
}

/* Accordion / info */
.pdp-info-block {
  width: 100%;
  max-width: none;
}
.pdp-accordion {
  display: grid;
  gap: 0.55rem;
}
.pdp-acc {
  border: 1px solid rgba(23, 19, 19, 0.1);
  border-radius: 14px;
  background: #fff;
  padding: 0 1rem;
}
.pdp-acc summary {
  list-style: none;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.02rem;
  font-weight: 700;
  cursor: pointer;
}
.pdp-acc summary::-webkit-details-marker { display: none; }
.pdp-acc__chevron {
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--dz-muted);
  border-bottom: 2px solid var(--dz-muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.pdp-acc[open] .pdp-acc__chevron {
  transform: rotate(-135deg);
  margin-top: 0.2rem;
}
@media (prefers-reduced-motion: reduce) {
  .pdp-acc__chevron { transition: none; }
}
.pdp-acc__body {
  padding: 0.15rem 0 1.05rem;
}
.pdp-acc__sub {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
}
.pdp-acc .prose {
  color: var(--dz-muted);
  line-height: 1.55;
}
.pdp-acc .prose p { margin: 0 0 0.75rem; }
.pdp-fit-line { margin: 0 0 0.75rem; }
.pdp-muted {
  margin: 0.65rem 0 0;
  color: var(--dz-muted);
  font-size: 0.9rem;
}
.pdp-policy-links {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
}
.pdp-policy-links li { margin: 0.35rem 0; }

.pdp-care {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
@media (min-width: 960px) {
  .pdp-care {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.pdp-care li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.75rem;
  border-radius: 12px;
  background: var(--dz-stone);
  font-size: 0.9rem;
  font-weight: 600;
  color: #171313;
  line-height: 1.35;
}
.pdp-care svg { color: var(--dz-burgundy); flex-shrink: 0; margin-top: 0.1rem; }

/* Related */
.pdp-related__rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 72%);
  gap: 0.85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.35rem;
  -webkit-overflow-scrolling: touch;
}
.pdp-related__rail .product-card {
  scroll-snap-align: start;
}
.pdp-related__rail .product-card__media,
.pdp-related__rail .product-card__img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
@media (min-width: 960px) {
  .pdp-related__rail {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-columns: unset;
    overflow: visible;
  }
}

/* Sticky order bar */
.pdp-sticky {
  position: fixed;
  left: 11px;
  right: 11px;
  bottom: calc(var(--dz-nav-h, 78px) + 12px + env(safe-area-inset-bottom, 0px));
  z-index: 45;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0.85rem;
  background: rgba(252, 250, 247, 0.97);
  border: 1px solid rgba(23, 19, 19, 0.08);
  border-radius: 17px;
  box-shadow: 0 10px 28px rgba(23, 19, 19, 0.12);
  backdrop-filter: blur(10px);
}
.pdp-sticky[hidden],
.pdp-sticky[inert] { display: none !important; }
@media (min-width: 1024px) {
  .pdp-sticky { display: none !important; }
}
.pdp-sticky__meta {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}
.pdp-sticky__meta strong {
  font-size: 1.1rem;
  font-weight: 780;
}
.pdp-sticky__size {
  font-size: 0.78rem;
  color: var(--dz-muted);
  font-weight: 650;
}
.pdp-sticky .btn {
  min-width: 9.5rem;
  min-height: 46px;
  border-radius: 12px;
  font-weight: 750;
}

/* Dialogs / lightbox */
.pdp-dialog,
.pdp-lightbox {
  border: 0;
  padding: 0;
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100%;
  background: transparent;
}
.pdp-dialog::backdrop,
.pdp-lightbox::backdrop {
  background: rgba(23, 19, 19, 0.55);
}
.pdp-dialog__sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: min(86vh, 720px);
  overflow: auto;
  background: #FCFAF7;
  border-radius: 20px 20px 0 0;
  padding: 0 1rem 1.25rem;
  box-shadow: 0 -12px 40px rgba(23, 19, 19, 0.18);
}
@media (min-width: 768px) {
  .pdp-dialog__sheet {
    left: 50%;
    right: auto;
    bottom: auto;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(560px, calc(100% - 2rem));
    max-height: min(80vh, 680px);
    border-radius: 18px;
    padding: 0 1.25rem 1.35rem;
  }
}
.pdp-dialog__head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 0.75rem;
  background: #FCFAF7;
}
.pdp-dialog__head h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 750;
}
.pdp-dialog__close,
.pdp-lightbox__close,
.pdp-lightbox__nav {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--dz-stone);
  color: #171313;
  cursor: pointer;
}
.pdp-table-wrap { overflow-x: auto; }
.pdp-size-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.pdp-size-table th,
.pdp-size-table td {
  padding: 0.7rem 0.65rem;
  border-bottom: 1px solid var(--dz-line);
  text-align: left;
}
.pdp-size-table thead th {
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dz-muted);
}
.pdp-size-table tr.is-selected {
  background: rgba(75, 11, 32, 0.08);
}
.pdp-size-table tr.is-selected th,
.pdp-size-table tr.is-selected td {
  color: var(--dz-burgundy);
  font-weight: 750;
}
.pdp-chart-note,
.pdp-how {
  margin: 0.75rem 0;
  color: var(--dz-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}
.pdp-how h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  color: #171313;
}
.size-chart-img {
  max-width: 100%;
  border-radius: 12px;
  margin-bottom: 0.75rem;
}

.pdp-lightbox__frame {
  position: fixed;
  inset: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  place-items: center;
  padding: 0.75rem;
  background: rgba(23, 19, 19, 0.92);
}
.pdp-lightbox__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  background: rgba(252, 250, 247, 0.95);
}
.pdp-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(252, 250, 247, 0.95);
}
.pdp-lightbox__nav--prev { left: 0.6rem; }
.pdp-lightbox__nav--next { right: 0.6rem; }
.pdp-lightbox__figure {
  margin: 0;
  width: min(100%, 920px);
  max-height: calc(100vh - 9rem);
  display: grid;
  place-items: center;
}
.pdp-lightbox__figure img {
  max-width: 100%;
  max-height: calc(100vh - 10rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  background: #1a1515;
}
.pdp-lightbox__figure figcaption {
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  text-align: center;
}
.pdp-lightbox__thumbs {
  display: flex;
  gap: 0.45rem;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0.5rem 0 0.25rem;
}
.pdp-lightbox__thumb {
  width: 56px;
  height: 70px;
  padding: 0;
  border: 1.5px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: #2a2222;
}
.pdp-lightbox__thumb.is-active { border-color: #D6A84B; }
.pdp-lightbox__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Kill legacy PDP form/table look leftovers inside redesigned page */
.pdp .spec-list { display: none !important; }
.pdp .store-crumbs { display: none !important; }
.pdp .faq-chevron { display: none !important; }
.pdp-notice { display: none !important; }

.btn--ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1rem;
  border-radius: 12px;
  border: 1.5px solid rgba(75, 11, 32, 0.25);
  background: transparent;
  color: var(--dz-burgundy);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

/* Phase 4A — WhatsApp order details sheet */
.pdp-order-sheet {
  border: 0;
  padding: 0;
  margin: 0;
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100%;
  background: transparent;
  color: inherit;
}
.pdp-order-sheet::backdrop {
  background: rgba(23, 19, 19, 0.55);
}
.pdp-order-sheet__panel {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: min(92vh, 760px);
  overflow: auto;
  background: #fcfaf7;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -12px 40px rgba(23, 19, 19, 0.18);
  padding: 1rem 1rem calc(1.1rem + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 768px) {
  .pdp-order-sheet__panel {
    left: 50%;
    right: auto;
    bottom: auto;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(520px, calc(100vw - 2.5rem));
    max-height: min(88vh, 720px);
    border-radius: 18px;
    padding: 1.25rem 1.35rem 1.35rem;
  }
}
.pdp-order-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.pdp-order-sheet__head h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 780;
}
.pdp-order-sheet__form {
  display: grid;
  gap: 0.85rem;
}
.pdp-order-summary {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.85rem;
  padding: 0.75rem;
  border-radius: 14px;
  background: rgba(244, 236, 226, 0.7);
  border: 1px solid rgba(23, 19, 19, 0.06);
}
.pdp-order-summary__thumb {
  width: 72px;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
  background: #eee;
}
.pdp-order-summary__meta {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
  font-size: 0.92rem;
}
.pdp-order-summary__meta strong {
  font-size: 1.02rem;
}
.pdp-order-summary__price {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
  margin-top: 0.15rem;
}
.pdp-order-sheet__note,
.pdp-order-sheet__banner {
  margin: 0;
  font-size: 0.9rem;
  color: var(--dz-muted, #5c5252);
}
.pdp-order-sheet__banner {
  color: #7a1233;
  background: rgba(122, 18, 51, 0.08);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
}
.pdp-field {
  display: grid;
  gap: 0.35rem;
}
.pdp-field label {
  font-size: 0.86rem;
  font-weight: 700;
  color: #171313;
}
.pdp-optional {
  font-weight: 500;
  color: var(--dz-muted, #5c5252);
}
.pdp-field input {
  min-height: 44px;
  width: 100%;
  border-radius: 12px;
  border: 1.5px solid rgba(23, 19, 19, 0.14);
  background: #fff;
  padding: 0.55rem 0.8rem;
  font: inherit;
  color: #171313;
}
.pdp-field input:focus {
  outline: 2px solid rgba(122, 18, 51, 0.35);
  border-color: #7a1233;
}
.pdp-field input[aria-invalid="true"] {
  border-color: #a1193a;
}
/* Manual validation only — do not paint native :invalid red while typing */
.pdp-order-sheet__form input:invalid {
  box-shadow: none;
}
.pdp-field__error {
  font-size: 0.8rem;
  color: #a1193a;
}
.pdp-field-row {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 480px) {
  .pdp-field-row { grid-template-columns: 1fr 1fr; }
}
.pdp-order-sheet__actions {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0.65rem;
  margin-top: 0.25rem;
}
.pdp-order-sheet__actions .btn {
  min-height: 48px;
  width: 100%;
}
#pdpOrderContinue.is-loading {
  opacity: 0.85;
  pointer-events: none;
}
.pdp-order-sheet__fallback {
  margin: 0;
  text-align: center;
  font-size: 0.88rem;
}
.pdp-order-sheet__fallback a {
  color: var(--dz-burgundy, #7a1233);
  font-weight: 700;
}
.pdp-order-btn.is-ready,
.pdp-sticky .btn.is-ready {
  opacity: 1;
}
.pdp-order-unavailable {
  margin: 0 0 0.65rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: rgba(122, 18, 51, 0.08);
  color: #7a1233;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.4;
}
body.pdp-overlay-open .mobile-dock {
  pointer-events: none;
  opacity: 0.45;
}

/* Phase 6B storefront CMS */
.cms-public-page{max-width:820px}
.cms-block__rich a{color:var(--dz-burgundy);text-decoration:underline;text-underline-offset:2px}
.faq-list__category{margin:1.1rem 0 .35rem;font-family:var(--dz-font-display);font-weight:500;color:var(--dz-burgundy-deep)}
.faq-item__panel{padding:0 0 .85rem}

/* Phase 6C contact form */
.contact-form-block{margin:1.25rem 0 5.5rem;max-width:640px}
.contact-form__row{display:grid;gap:.75rem}
@media (min-width:640px){.contact-form__row{grid-template-columns:1fr 1fr}}
.contact-form__actions{margin-top:.85rem}
.contact-form__actions .btn{min-height:44px;width:100%}
@media (min-width:640px){.contact-form__actions .btn{width:auto}}
.contact-form__success{scroll-margin-bottom:6rem}
.contact-form__heading{font-family:var(--dz-font-display);font-size:1.35rem;margin:0 0 .75rem;color:var(--dz-burgundy-deep,#4b0b20)}
.contact-form__another{margin:.75rem 0 5rem}
.contact-form__another .btn{min-height:44px}
.contact-hp{position:absolute!important;left:-9999px!important;height:0!important;overflow:hidden!important;width:1px!important}

/* Phase 7 consent */
.consent-banner{
  position:fixed;left:0;right:0;bottom:0;z-index:80;
  padding:0.75rem 0.85rem calc(0.75rem + env(safe-area-inset-bottom,0px));
  background:rgba(255,252,248,.97);border-top:1px solid rgba(75,11,32,.12);
  box-shadow:0 -8px 28px rgba(45,20,28,.1);
}
@media (max-width:899px){
  .consent-banner{bottom:4.85rem}
}
.consent-banner__inner{max-width:1120px;margin:0 auto;display:grid;gap:.85rem}
@media (min-width:768px){.consent-banner__inner{grid-template-columns:1fr auto;align-items:end}}
.consent-banner__title{margin:0 0 .25rem;font-weight:700;color:#3a0f1c;font-size:1rem}
.consent-banner__text{margin:0;color:#4a3a40;font-size:.92rem;line-height:1.45}
.consent-banner__links{margin:.45rem 0 0;display:flex;flex-wrap:wrap;gap:.75rem;font-size:.88rem}
.consent-banner__links a,.consent-linkbtn{color:var(--dz-burgundy,#7a1233);background:none;border:0;padding:0;font:inherit;cursor:pointer;text-decoration:underline;text-underline-offset:2px;min-height:44px}
.consent-banner__actions{display:grid;grid-template-columns:1fr 1fr;gap:.55rem}
.consent-banner__btn{min-height:48px;width:100%;font-weight:650}
.consent-prefs{border:0;border-radius:16px;padding:0;max-width:min(520px,94vw);width:100%;box-shadow:0 18px 50px rgba(40,12,20,.25)}
.consent-prefs::backdrop{background:rgba(30,10,16,.45)}
.consent-prefs__panel{padding:1.1rem 1.15rem 1.25rem}
.consent-prefs__head{display:flex;justify-content:space-between;align-items:center;gap:.75rem}
.consent-prefs__head h2{margin:0;font-size:1.2rem;color:#3a0f1c}
.consent-prefs__close{border:0;background:transparent;font-size:1.6rem;line-height:1;min-width:44px;min-height:44px;cursor:pointer;color:#3a0f1c}
.consent-prefs__lead{margin:.65rem 0 1rem;color:#4a3a40;font-size:.92rem;line-height:1.45}
.consent-prefs__row{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;padding:.75rem 0;border-top:1px solid rgba(75,11,32,.1)}
.consent-prefs__row .muted{display:block;font-size:.85rem;color:#6b5a60;margin-top:.2rem}
.consent-prefs__row input{width:1.25rem;height:1.25rem;margin-top:.2rem}
.consent-prefs__actions{display:grid;grid-template-columns:1fr 1fr;gap:.55rem;margin-top:1rem}
.consent-prefs__legal{margin:.85rem 0 0;font-size:.88rem}
.consent-prefs__legal a{color:var(--dz-burgundy,#7a1233)}
.footer-links__btn,.menu-sheet__cookie{background:none;border:0;padding:0;font:inherit;color:inherit;cursor:pointer;text-align:left;min-height:44px;text-decoration:underline;text-underline-offset:2px}
body.has-consent-prefs .mobile-dock,
body.has-consent-prefs .pdp-sticky{pointer-events:none;opacity:.35}
@media (prefers-reduced-motion:reduce){
  .consent-banner,.consent-prefs{transition:none!important}
}

/* Phase 8A2 — project enquiry forms */
.project-page{padding-bottom:calc(7.5rem + env(safe-area-inset-bottom,0px));overflow-x:clip}
.project-form{display:grid;gap:1.5rem;max-width:720px;width:100%;min-width:0}
.project-form__steps{margin:0 0 1rem;max-width:720px}
.project-form__steps ol{
  list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;
}
.project-form__steps li{
  display:flex;align-items:center;gap:.4rem;min-height:44px;font-size:.82rem;font-weight:650;color:#5a2a36;
  padding:.35rem .45rem;border-radius:10px;background:rgba(75,11,32,.06);
}
.project-form__step-num{
  display:inline-flex;align-items:center;justify-content:center;width:1.5rem;height:1.5rem;border-radius:999px;
  background:#4b0b20;color:#fff;font-size:.75rem;flex:0 0 auto;
}
.project-form__section{
  margin:0;padding:1.15rem 1rem 1.25rem;border:1px solid rgba(75,11,32,.12);
  border-radius:14px;background:linear-gradient(180deg,rgba(255,252,248,.95),rgba(250,242,236,.88));
  min-width:0;
}
.project-form__section legend{
  padding:0 .35rem;font-weight:700;color:#3a0f1c;font-size:1.05rem;
}
.project-form__choice{margin:1rem 0 0;padding:0;border:0;min-width:0}
.project-form__choice > legend{font-size:.95rem;margin-bottom:.45rem}
.project-form__radios{display:grid;gap:.55rem;margin-bottom:.65rem}
.project-form__radio{
  display:flex;align-items:flex-start;gap:.65rem;min-height:44px;padding:.65rem .75rem;
  border:1px solid rgba(75,11,32,.16);border-radius:12px;background:rgba(255,255,255,.72);cursor:pointer;
}
.project-form__radio.is-selected{
  border-color:#4b0b20;background:rgba(75,11,32,.08);box-shadow:inset 0 0 0 1px rgba(75,11,32,.2);
}
.project-form__radio input{width:1.25rem;height:1.25rem;margin-top:.15rem;flex:0 0 auto}
.project-form__sizes{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;
}
@media (min-width:640px){
  .project-form__sizes{grid-template-columns:repeat(4,minmax(0,1fr))}
}
.project-form .field{min-width:0}
.project-form .field__label .req,.project-form__choice legend .req{color:#9b1c1c;font-weight:700}
.project-form .field__hint{display:block;margin:.35rem 0 0;font-size:.86rem;line-height:1.4;color:#6a4450}
.project-form .field__error{display:block;margin:.35rem 0 0;font-size:.88rem;font-weight:650;color:#9b1c1c}
.project-form .field__error[hidden]{display:none!important}
.project-form .field__input,.project-form .btn{min-height:44px;max-width:100%}
.project-form textarea.field__input{min-height:6.5rem;resize:vertical}
.project-form__alloc{margin:.35rem 0 0;font-weight:650;color:#3a0f1c}
.project-form__alloc.is-mismatch{color:#9b1c1c}
.project-form__upload{margin-top:.35rem}
.project-form__file-list{list-style:none;margin:.55rem 0 0;padding:0;display:grid;gap:.4rem}
.project-form__file-item{
  display:flex;align-items:center;justify-content:space-between;gap:.75rem;min-height:44px;
  padding:.4rem .55rem;border-radius:10px;background:rgba(255,255,255,.8);border:1px solid rgba(75,11,32,.1);
  word-break:break-word;overflow-wrap:anywhere;
}
.project-form__file-item .btn{flex:0 0 auto;min-width:5.5rem}
.project-form__actions{
  position:sticky;bottom:calc(5.85rem + env(safe-area-inset-bottom,0px));
  z-index:55;padding:.7rem 0 .15rem;background:linear-gradient(180deg,transparent,rgba(255,252,248,.98) 28%);
}
@media (min-width:900px){
  .project-form__actions{position:static;background:none;padding:0}
  .project-page{padding-bottom:2rem}
}
.project-form__success{scroll-margin-top:5rem}
.project-form__wa{margin:.85rem 0}
.project-form .field--check{display:grid;grid-template-columns:auto 1fr;gap:.35rem .65rem;align-items:flex-start}
.project-form .field--check input{width:1.25rem;height:1.25rem;margin-top:.2rem}
.project-form .field--check .field__error{grid-column:1 / -1}
.project-form [data-file-status]{word-break:break-word;overflow-wrap:anywhere}
@media (max-width:374px){
  .project-form__steps li{font-size:.74rem;padding:.3rem .35rem}
}
@media (prefers-reduced-motion:reduce){
  .project-form__actions{transition:none}
}

