:root {
  --header: #041124;
  --navy: #0a172a;
  --ink: #06152b;
  --muted: rgba(255, 255, 255, 0.7);
  --font-sans: "Manrope", system-ui, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
  --header-h: 64px;
  --shell: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
/* Windows Chrome/Edge: height:100% on both html+body makes BODY the scroller
   and breaks window.scrollY / smooth top. Keep html as scroll root. */
html {
  height: 100%;
  margin: 0;
}
body {
  margin: 0;
  min-height: 100%;
  height: auto;
  font-family: var(--font-sans);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }

/* First viewport: blue above, products at bottom */
.page {
  background: #fff;
}

.fold {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.page-shop {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ========== HEADER ========== */
.site-header {
  position: relative;
  z-index: 40;
  flex: 0 0 var(--header-h);
  height: var(--header-h);
  padding: 0 44px;
  background: var(--header);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform-origin: right center;
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.4s ease;
  will-change: transform, opacity;
}

.site-header.is-away {
  transform: translateX(110%);
  opacity: 0;
  pointer-events: none;
}

/* Sticky blue underlay removed — header leaves, only mini-dock remains */
.header-underlay { display: none !important; }

.logo {
  position: relative;
  z-index: 2;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  position: relative;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  background: #fff;
}

.search { position: relative; width: 420px; }

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9aa3b2;
  pointer-events: none;
}

.search input {
  width: 100%;
  height: 38px;
  padding: 0 16px 0 40px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #1a2333;
  outline: none;
  font-size: 0.9rem;
}

.search input::placeholder { color: #a8b0bc; }

.header-actions {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4px;
}

.icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
}

.cart-badge {
  position: absolute;
  top: 2px;
  right: 1px;
  min-width: 15px;
  height: 15px;
  border-radius: 999px;
  background: #fff;
  color: var(--header);
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 15px;
  text-align: center;
}

/* ========== HERO : prend tout l'espace AU-DESSUS des produits ========== */
.hero {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  padding: 28px 44px 110px;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-stage {
  position: absolute;
  /* Flush to right edge always — never leave a navy gap cutting the photo */
  inset: 0 0 0 34%;
  pointer-events: none;
  overflow: hidden;
}

.hero-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Bias toward product cluster (right side of photo) without clipping sneakers/plant */
  object-position: 70% 42%;
  display: block;
  transform: translateZ(0);
}

@media (min-width: 1500px) {
  .hero-stage {
    inset: 0 0 0 30%;
  }

  .hero-stage img {
    object-position: 68% 40%;
  }
}

@media (min-width: 1920px) {
  .hero-stage {
    inset: 0 0 0 28%;
  }

  .hero-stage img {
    object-position: 66% 40%;
  }
}

@media (min-width: 2400px) {
  .hero-stage {
    inset: 0 0 0 26%;
  }

  .hero-stage img {
    object-position: 64% 40%;
  }
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, var(--navy) 0%, rgba(10,23,42,0.92) 14%, rgba(10,23,42,0.35) 34%, transparent 52%),
    linear-gradient(180deg, transparent 58%, var(--navy) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
}

.hero-copy { max-width: 480px; }

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.65);
}

.hero-copy h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.lede {
  margin: 14px 0 0;
  max-width: 34ch;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--muted);
}

.hero-ctas {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.btn-primary { background: #fff; color: #06152b; }
.btn-ghost {
  border: 1px solid rgba(255,255,255,0.75);
  background: transparent;
  color: #fff;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: min(540px, 100%);
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.trust-row li { display: grid; gap: 4px; }
.trust-row svg { color: #fff; }
.trust-row strong { font-size: 0.74rem; font-weight: 600; }
.trust-row span { font-size: 0.64rem; color: rgba(255,255,255,0.5); }

/* ========== PRODUITS : collés en BAS de l'écran ========== */

/* Recommended row — larger cards */
.recommended .carousel {
  grid-auto-columns: calc((100% - 4 * 16px) / 5);
  gap: 16px;
}

.recommended .product-media {
  max-height: none;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
}

.recommended .product-card h3 {
  margin-top: 6px;
  font-size: 0.94rem;
}

.recommended .card-shop {
  margin-top: 10px;
  font-size: 0.84rem;
  font-weight: 700;
  color: rgba(6, 21, 43, 0.78);
}

.recommended .price {
  margin-top: 6px;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--ink);
}

@media (max-width: 1100px) {
  .recommended .carousel {
    grid-auto-columns: calc((100% - 2 * 14px) / 3);
  }
}

@media (max-width: 820px) {
  .recommended .carousel {
    grid-auto-columns: minmax(200px, 58%);
  }
}

.recommended {
  position: relative;
  z-index: 5;
  flex: 0 0 auto;
  margin-top: -72px;
  padding: 22px 44px 28px;
  background: #fff;
  border-top-left-radius: 72px;
  border-top-right-radius: 72px;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  max-width: var(--shell);
  width: 100%;
  margin: 0 auto 14px;
  gap: 16px;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 2.1vw, 2rem);
  font-weight: 600;
  color: var(--ink);
}

.view-all {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #06152b;
  letter-spacing: 0.01em;
}

.carousel-wrap {
  position: relative;
  max-width: var(--shell);
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 7 * 14px) / 8);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 2px 0 4px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.carousel::-webkit-scrollbar { display: none; }

.product-card { scroll-snap-align: start; min-width: 0; }
.product-card a { display: block; }

.product-media {
  /* cartes plus compactes pour rester en bas d'écran */
  aspect-ratio: 4 / 5;
  max-height: 132px;
  border-radius: 10px;
  background: #f0f0f0;
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.product-card .product-media:not(.product-media--ascend) {
  background: #141820;
}

.product-card h3 {
  margin: 4px 0 2px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card .card-shop {
  margin: 8px 0 0;
}

.product-card .price {
  margin: 6px 0 0;
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--ink);
}

.price {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(6,21,43,0.85);
}

.carousel-nav {
  position: absolute;
  top: 36%;
  z-index: 3;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(6,21,43,0.1);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(6,21,43,0.08);
  cursor: pointer;
}

.carousel-nav.prev { left: -14px; }
.carousel-nav.next { right: -14px; }

@media (max-width: 1100px) {
  .search { width: 300px; }
  .carousel { grid-auto-columns: calc((100% - 4 * 12px) / 5); }
  .hero-stage { inset: 0 0 0 42%; }
  .product-media { max-height: 120px; }
}

/* Mobile / tablet — adapted layout (desktop fold unchanged ≥821px) */
@media (max-width: 820px) {
  .fold {
    min-height: auto;
    display: block;
  }

  .site-header {
    height: auto;
    min-height: 56px;
    flex: none;
    flex-wrap: wrap;
    gap: 10px 12px;
    padding: 10px 14px 12px;
    row-gap: 10px;
  }

  .logo { font-size: 1.25rem; }

  .nav {
    position: static;
    transform: none;
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
  }

  .nav-link { font-size: 0.65rem; letter-spacing: 0.12em; }

  .search {
    width: 100%;
    flex: 1 1 100%;
    order: 4;
  }

  .search input {
    height: 40px;
    font-size: 0.88rem;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero {
    min-height: 0;
    padding: 28px 16px 72px;
    display: block;
  }

  .hero-stage {
    position: relative;
    inset: auto;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    height: 220px;
    margin: 0 -16px 22px;
    border-radius: 0;
    overflow: hidden;
    opacity: 1;
  }

  .hero-stage::before {
    background:
      linear-gradient(180deg, var(--navy) 0%, transparent 28%),
      linear-gradient(0deg, var(--navy) 0%, transparent 34%);
  }

  .hero-stage img {
    object-position: center 35%;
  }

  .hero-inner { max-width: none; }

  .hero-copy { max-width: none; }

  .hero-copy h1 {
    font-size: clamp(1.9rem, 8vw, 2.4rem);
  }

  .lede { max-width: none; font-size: 0.92rem; }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn {
    justify-content: center;
    min-height: 48px;
    width: 100%;
  }

  .trust-row {
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 14px 12px;
    margin-top: 24px;
  }

  .recommended {
    border-radius: 28px 28px 0 0;
    margin-top: -40px;
    padding: 20px 14px 24px;
  }

  .section-head {
    margin-bottom: 12px;
  }

  .section-head h2 {
    font-size: 1.35rem;
  }

  .carousel-wrap { padding: 0 2px; }

  .carousel {
    grid-auto-columns: minmax(148px, 42%);
    gap: 10px;
    -webkit-overflow-scrolling: touch;
  }

  .product-media { max-height: none; aspect-ratio: 4 / 5; }

  .carousel-nav {
    display: grid;
    width: 30px;
    height: 30px;
  }

  .carousel-nav.prev { left: 0; }
  .carousel-nav.next { right: 0; }

  .content-section,
  .promo-band,
  .reseller-band {
    padding-left: 16px;
    padding-right: 16px;
  }

  .content-section { padding-top: 40px; padding-bottom: 40px; }

  .bestsellers-section .carousel {
    grid-auto-columns: minmax(148px, 42%);
  }

  .shop-layout {
    grid-template-columns: 1fr;
    padding: 20px 16px 48px;
  }

  .shop-cats { display: none; }
  .shop-mobile-cat { display: grid; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-products,
  .new-grid,
  .home-boutiques,
  .boutiques-grid {
    grid-template-columns: 1fr;
  }

  .promo-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .promo-inner .btn { justify-content: center; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .type-tabs { width: 100%; }
  .type-tab { flex: 1; text-align: center; }

  .shop-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .shop-sort { min-width: 0; width: 100%; }

  .mini-dock { top: 10px !important; right: 10px !important; left: auto !important; inset-inline-end: 10px !important; inset-inline-start: auto !important; }
  .mini-dock-panel { border-radius: 20px; }
  .mini-dock-panel.is-open,
  .mini-dock-panel:focus-within {
    width: min(220px, calc(100vw - 24px));
  }
  .mini-dock-panel.is-open .mini-dock-expand,
  .mini-dock-panel:focus-within .mini-dock-expand {
    max-height: 180px;
    opacity: 1;
    padding: 0 12px 14px;
  }
}

@media (max-width: 480px) {
  .shop-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .trust-row { gap: 12px 8px; }
  .trust-row strong { font-size: 0.68rem; }
  .trust-row span { font-size: 0.6rem; }
  .hero-stage { height: 180px; }
}

/* ========== CONTENT SECTIONS ========== */
.content-section {
  padding: 40px 44px;
  background: #fff;
}

.bestsellers-section {
  padding-bottom: 16px;
}

.content-inner {
  max-width: var(--shell);
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.bestsellers-section .carousel-wrap {
  margin-top: 8px;
}

.bestsellers-section .carousel {
  grid-auto-columns: calc((100% - 5 * 14px) / 6);
  gap: 14px;
}

.bestsellers-section .product-media {
  max-height: none;
  aspect-ratio: 4 / 5;
}

@media (max-width: 1100px) {
  .bestsellers-section .carousel {
    grid-auto-columns: calc((100% - 3 * 12px) / 4);
  }
}

@media (max-width: 820px) {
  .bestsellers-section .carousel {
    grid-auto-columns: calc((100% - 1 * 10px) / 2);
  }
}

.section-lead {
  margin: -4px 0 14px;
  max-width: 52ch;
  color: rgba(6,21,43,0.62);
  font-size: 0.95rem;
  line-height: 1.5;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.cat-tile {
  display: grid;
  place-items: end start;
  min-height: 120px;
  padding: 16px;
  border-radius: 18px;
  background:
    linear-gradient(160deg, rgba(10, 23, 42, 0.92) 0%, rgba(22, 48, 83, 0.88) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 10px 28px rgba(6, 21, 43, 0.14);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.25s ease;
}

.cat-tile:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 16px 36px rgba(6, 21, 43, 0.2);
}

.promo-band {
  padding: 20px 44px 48px;
  background: #f6f7f9;
}

.promo-inner {
  max-width: var(--shell);
  width: 100%;
  margin: 0 auto 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  box-sizing: border-box;
}

.promo-inner h2 {
  margin: 8px 0 8px;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  font-weight: 600;
}

.promo-inner p { margin: 0; color: rgba(6,21,43,0.62); max-width: 42ch; }

.eyebrow.light {
  color: rgba(6,21,43,0.5);
}

.promo-products,
.new-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
}

.promo-products .product-media,
.new-grid .product-media {
  max-height: none;
}

.product-media { position: relative; }

.tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #041124;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.price s {
  margin-right: 6px;
  color: rgba(6,21,43,0.4);
}

.reseller-band {
  padding: 64px 44px;
  background: var(--navy);
  color: #fff;
  text-align: center;
}

.reseller-inner {
  max-width: 640px;
  margin: 0 auto;
}

.reseller-inner h2 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  font-weight: 600;
}

.reseller-inner p {
  margin: 0 0 24px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

/* ========== FOOTER ========== */
.site-footer {
  background: #020814;
  color: rgba(255,255,255,0.78);
  padding: 56px 44px 28px;
}

.footer-inner {
  max-width: var(--shell);
  margin: 0 auto 36px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-brand .logo {
  display: inline-block;
  margin-bottom: 12px;
  color: #fff;
}

.footer-brand p {
  margin: 0;
  max-width: 32ch;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.55);
}

.footer-col h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.62);
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.42);
}

.footer-bottom p { margin: 0; }

/* ========== SHOP ========== */
.shop-hero {
  padding: 48px 44px 36px;
  background: var(--navy);
  color: #fff;
}

.shop-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.shop-hero h1 {
  margin: 8px 0 10px;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 600;
}

.shop-hero p:last-child {
  margin: 0;
  max-width: 42ch;
  color: rgba(255,255,255,0.68);
}

.shop-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 36px 44px 72px;
  flex: 1;
}

.shop-layout.is-boutiques {
  grid-template-columns: 1fr;
}

.shop-side-label {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(6,21,43,0.45);
}

.shop-cats {
  display: grid;
  gap: 6px;
}

.shop-cat {
  appearance: none;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(6,21,43,0.7);
  cursor: pointer;
}

.shop-cat:hover { background: #f3f5f8; }
.shop-cat.is-active {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
}

/* Once sliding pill is bound, active bg comes from .liquid-pill */
.shop-cats.liquid-nav[data-liquid-bound] .shop-cat.is-active {
  background: transparent;
  color: #fff;
}

.shop-mobile-cat { display: none; gap: 8px; margin-bottom: 18px; }
.shop-mobile-cat span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(6,21,43,0.45);
}
.shop-mobile-cat select,
.shop-sort select {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(6,21,43,0.12);
  border-radius: 8px;
  background: #fff;
}

.shop-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.shop-toolbar h2 {
  margin: 0 0 4px;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
}

.shop-count {
  margin: 0;
  font-size: 0.86rem;
  color: rgba(6,21,43,0.55);
}

.shop-sort {
  display: grid;
  gap: 6px;
  min-width: 200px;
}

.shop-sort span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(6,21,43,0.45);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.shop-card a { display: block; }

.shop-card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  background: #f0f0f0;
}

.shop-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #041124;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
}

.shop-card h3 {
  margin: 4px 0 0;
  font-size: 0.92rem;
  font-weight: 700;
}

/* ========== LEGAL ========== */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  flex: 1;
}

.legal-page h1 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 600;
}

.legal-updated {
  margin: 0 0 28px;
  color: rgba(6,21,43,0.5);
  font-size: 0.88rem;
}

.legal-body h2 {
  margin: 28px 0 10px;
  font-size: 1.05rem;
}

.legal-body p,
.legal-body li {
  color: rgba(6,21,43,0.75);
  line-height: 1.6;
  font-size: 0.95rem;
}

.legal-body ul { padding-left: 1.2rem; }
.legal-body a { text-decoration: underline; }

/* ========== MINI DOCK (scroll) — always top-right ========== */
.mini-dock {
  position: fixed !important;
  top: 16px !important;
  right: 16px !important;
  left: auto !important;
  bottom: auto !important;
  inset-inline-start: auto !important;
  inset-inline-end: 16px !important;
  z-index: 9999 !important;
  margin: 0 !important;
  opacity: 0;
  pointer-events: none;
  /* Enter from the RIGHT — no parent filter (breaks backdrop-filter) */
  transform: translate3d(28px, -6px, 0) scale(0.86);
  transition:
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.mini-dock.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
}

.mini-dock-panel {
  width: 196px;
  overflow: hidden;
  border-radius: 999px;
  /* Liquid glass — visible on navy + white (Mac + Windows) */
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(6, 21, 43, 0.05),
    0 2px 8px rgba(6, 21, 43, 0.1),
    0 14px 36px rgba(6, 21, 43, 0.2),
    0 0 0 1px rgba(6, 21, 43, 0.08);
  color: #06152b;
  transition:
    width 0.45s cubic-bezier(0.34, 1.4, 0.64, 1),
    border-radius 0.35s ease,
    box-shadow 0.35s ease,
    background 0.25s ease;
}

.mini-dock-panel:hover,
.mini-dock-panel:focus-within,
.mini-dock-panel.is-open {
  width: 220px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 16px 44px rgba(6, 21, 43, 0.22),
    0 0 0 1px rgba(6, 21, 43, 0.1);
}

.mini-dock-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 10px;
}

.mini-dock-icon {
  position: relative;
  display: grid;
  place-items: center;
  color: #06152b;
}

.mini-dock-badge {
  position: absolute;
  top: -5px;
  right: -7px;
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  border-radius: 999px;
  background: #06152b;
  color: #fff;
  font-size: 0.55rem;
  font-weight: 700;
  line-height: 14px;
  text-align: center;
}

.mini-dock-expand {
  display: grid;
  gap: 8px;
  max-height: 0;
  opacity: 0;
  padding: 0 12px;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.35s ease;
}

.mini-dock-panel:hover .mini-dock-expand,
.mini-dock-panel:focus-within .mini-dock-expand,
.mini-dock-panel.is-open .mini-dock-expand {
  max-height: 220px;
  opacity: 1;
  padding: 0 12px 14px;
}

.mini-dock-search {
  position: relative;
  display: flex;
  align-items: center;
}

.mini-dock-search svg {
  position: absolute;
  left: 10px;
  color: rgba(6, 21, 43, 0.4);
  pointer-events: none;
}

.mini-dock-search input {
  width: 100%;
  height: 34px;
  padding: 0 10px 0 32px;
  border: 0;
  border-radius: 999px;
  background: rgba(6, 21, 43, 0.06);
  color: #06152b;
  outline: none;
  font-size: 0.8rem;
}

.mini-dock-search input::placeholder { color: rgba(6, 21, 43, 0.4); }

.mini-dock-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(6, 21, 43, 0.88);
  transition: background 0.15s ease;
}
.mini-dock-link:hover { background: rgba(6, 21, 43, 0.06); }

.mini-dock-icon-btn,
a.mini-dock-icon {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.mini-dock-icon-btn:hover,
a.mini-dock-icon:hover {
  background: rgba(6, 21, 43, 0.07);
}

.mini-dock-icon-btn:active,
a.mini-dock-icon:active {
  transform: scale(0.94);
}

.mini-dock-link-btn {
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font: inherit;
}

@media (max-width: 820px) {
  .mini-dock { top: 12px !important; right: 12px !important; left: auto !important; inset-inline-end: 12px !important; inset-inline-start: auto !important; }
  .mini-dock-panel:hover,
  .mini-dock-panel:focus-within,
  .mini-dock-panel.is-open { width: 200px; }
}

/* Soften only — never hard-disable (Windows OS flag would kill all UI motion) */
@media (prefers-reduced-motion: reduce) {
  .site-header,
  .mini-dock,
  .mini-dock-panel,
  .mini-dock-expand,
  .liquid-pill,
  .liquid-card,
  .liquid-btn {
    transition-duration: 0.22s !important;
  }
}

/* ========== LIQUID GLASS ========== */
/* On dark surfaces (hero / navy) — frosted light glass */
.liquid-glass {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 10px 30px rgba(4, 17, 36, 0.18);
  color: #fff;
}

/* On white / light surfaces — same liquid DA, ink contrast + depth */
.liquid-on-light {
  background: rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -0.5px 0 rgba(6, 21, 43, 0.04),
    0 1px 2px rgba(6, 21, 43, 0.05),
    0 8px 24px rgba(6, 21, 43, 0.1),
    0 0 0 1px rgba(6, 21, 43, 0.07) !important;
  color: #06152b !important;
}

.liquid-on-light:hover {
  background: rgba(255, 255, 255, 0.88) !important;
  box-shadow:
    inset 0 1px 0 #fff,
    0 12px 32px rgba(6, 21, 43, 0.14),
    0 0 0 1px rgba(6, 21, 43, 0.09) !important;
}

.liquid-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 999px;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.25s ease,
    box-shadow 0.25s ease,
    color 0.2s ease,
    border-color 0.25s ease;
}

.liquid-btn::after {
  content: "";
  position: absolute;
  inset: -40% -30%;
  z-index: 1;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 65%
  );
  transform: translateX(-130%) rotate(8deg);
  transition: transform 0.65s ease;
  pointer-events: none;
  will-change: transform;
}

.liquid-btn > * {
  position: relative;
  z-index: 2;
}

@media (hover: hover) and (pointer: fine) {
  .liquid-btn:hover {
    transform: translateY(-2px) scale(1.02);
  }

  .liquid-btn:hover::after,
  .liquid-btn.is-shine::after {
    transform: translateX(130%) rotate(8deg);
  }
}

.liquid-btn.is-shine::after {
  transform: translateX(130%) rotate(8deg);
}

.liquid-btn:active,
.liquid-btn.is-pop {
  transform: scale(0.97);
}

/* Opaque fallbacks — Windows / no backdrop-filter */
.hero .btn-primary,
.reseller-band .btn-primary,
.shop-hero .btn-primary {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.95);
  color: #06152b;
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 #fff,
    0 8px 24px rgba(0, 0, 0, 0.22);
}

.hero .btn-ghost {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  color: #fff;
}

.section-cta.btn-primary,
.content-section .btn-primary,
.promo-band .btn-primary,
.sr-bar .btn-primary,
.pdp-actions .btn-primary,
.cart-summary .btn-primary,
.empty-state .btn-primary {
  background: #ffffff;
  border: 1px solid rgba(6, 21, 43, 0.1);
  border-radius: 999px;
  color: #06152b;
  box-shadow:
    inset 0 1px 0 #fff,
    0 6px 18px rgba(6, 21, 43, 0.1),
    0 0 0 1px rgba(6, 21, 43, 0.06);
}

.liquid-on-light {
  background: #ffffff !important;
  border: 1px solid rgba(6, 21, 43, 0.1) !important;
  box-shadow:
    inset 0 1px 0 #fff,
    0 8px 24px rgba(6, 21, 43, 0.1),
    0 0 0 1px rgba(6, 21, 43, 0.06) !important;
  color: #06152b !important;
}

@supports ((backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px))) {
  .liquid-glass {
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
  }

  .liquid-on-light {
    background: rgba(255, 255, 255, 0.78) !important;
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
  }

  .hero .btn-primary {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
  }

  .hero .btn-ghost {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
  }

  .mini-dock-panel {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(36px) saturate(200%);
    -webkit-backdrop-filter: blur(36px) saturate(200%);
  }
}

/* Primary / ghost buttons — base (opaque + @supports above) */
.btn {
  border: 0;
  cursor: pointer;
}

.btn.liquid-btn.liquid-on-light,
.btn-primary.liquid-on-light {
  font-weight: 700;
}

.liquid-card {
  transition:
    transform 0.45s cubic-bezier(0.34, 1.4, 0.64, 1),
    box-shadow 0.35s ease;
}

.liquid-card:hover {
  transform: translateY(-4px);
}

.liquid-nav {
  position: relative;
  isolation: isolate;
}

.liquid-pill {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  border-radius: 10px;
  background: #0a172a;
  background: var(--navy);
  box-shadow:
    0 8px 24px rgba(4, 17, 36, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  opacity: 0;
  pointer-events: none;
  will-change: left, top, width, height;
  transform: translateZ(0);
  transition:
    left 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    top 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s ease;
}

.liquid-pill.is-on { opacity: 1; }

.shop-cats {
  position: relative;
  display: grid;
  gap: 6px;
}

.shop-cat {
  position: relative;
  z-index: 1;
  transition: color 0.2s ease, background 0.2s ease;
}

.shop-cats.liquid-nav[data-liquid-bound] .shop-cat.is-active {
  background: transparent !important;
  color: #fff !important;
  font-weight: 600;
}

.shop-cat:hover:not(.is-active) {
  background: rgba(6, 21, 43, 0.05);
}

.type-tabs {
  display: inline-flex;
  gap: 6px;
  margin-top: 22px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.type-tab {
  position: relative;
  z-index: 1;
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
}

.type-tab.is-active { color: #fff; }

.type-tabs .liquid-pill {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* Carousel arrows + view-all + cat tiles — liquid on white */
.carousel-nav {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    inset 0 1px 0 #fff,
    0 6px 20px rgba(6, 21, 43, 0.1),
    0 0 0 1px rgba(6, 21, 43, 0.07);
  transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.25s ease;
}

.carousel-nav:hover {
  transform: scale(1.08);
  background: rgba(255, 255, 255, 0.92);
}

.view-all {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #06152b;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(6, 21, 43, 0.14);
  box-shadow:
    inset 0 1px 0 #fff,
    0 6px 18px rgba(6, 21, 43, 0.12),
    0 0 0 1px rgba(6, 21, 43, 0.08);
  transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1), background 0.2s ease, box-shadow 0.2s ease;
}

.view-all svg {
  opacity: 0.85;
  flex-shrink: 0;
}

.view-all:hover,
.view-all:focus-visible {
  transform: translateY(-1px) scale(1.02);
  background: #041124;
  color: #fff;
  border-color: #041124;
  box-shadow: 0 10px 24px rgba(4, 17, 36, 0.22);
}

.view-all:hover svg,
.view-all:focus-visible svg {
  opacity: 1;
}

.shop-sort select,
.shop-mobile-cat select,
.qty-field {
  background: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(6, 21, 43, 0.1) !important;
  box-shadow:
    inset 0 1px 0 #fff,
    0 4px 12px rgba(6, 21, 43, 0.05);
}

.pdp-shop-link {
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow:
    inset 0 1px 0 #fff,
    0 8px 22px rgba(6, 21, 43, 0.08),
    0 0 0 1px rgba(6, 21, 43, 0.06) !important;
}

.sr-bar {
  background: rgba(255, 255, 255, 0.78) !important;
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  box-shadow:
    inset 0 1px 0 #fff,
    0 10px 32px rgba(6, 21, 43, 0.1),
    0 0 0 1px rgba(6, 21, 43, 0.07) !important;
}

.sr-bar .btn-primary {
  background: rgba(6, 21, 43, 0.92) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 6px 18px rgba(6, 21, 43, 0.2) !important;
}

.card-shop {
  margin: 0 0 2px;
  font-size: 0.86rem;
  color: rgba(6, 21, 43, 0.78);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.shop-card .card-shop {
  margin: 10px 0 0;
  font-size: 0.9rem;
  font-weight: 800;
  color: rgba(6, 21, 43, 0.82);
}

.shop-card h3 {
  margin: 4px 0 0;
}

.shop-card .price {
  margin: 8px 0 0;
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--ink);
}
.shop-card .price s { color: rgba(6,21,43,0.4); font-weight: 500; margin-right: 6px; }

/* ========== BOUTIQUES ========== */
.boutiques-grid,
.home-boutiques {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.boutique-card a { display: block; color: inherit; }

.boutique-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: var(--shop-color, #0a172a);
}

.boutique-cover img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

.boutique-avatar {
  position: absolute;
  left: 16px;
  bottom: 16px;
  width: 76px;
  height: 76px;
  border-radius: 16px;
  object-fit: contain;
  background: #fff;
  padding: 2px;
  border: 3px solid #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,0.24);
  z-index: 2;
}

.boutique-body {
  padding: 10px 4px 8px;
}

.boutique-body h3 {
  margin: 0 0 4px;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.boutique-meta {
  margin: 0 0 6px;
  font-size: 0.78rem;
  color: rgba(6, 21, 43, 0.5);
}

.boutique-tagline {
  margin: 0 0 10px;
  font-size: 0.88rem;
  color: rgba(6, 21, 43, 0.7);
}

.boutique-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(6, 21, 43, 0.55);
}

.boutique-stats.light { color: rgba(255,255,255,0.78); }

.boutique-hero {
  position: relative;
  color: #fff;
  background: var(--shop-color, var(--navy));
  overflow: hidden;
}

.boutique-hero-cover {
  position: absolute;
  inset: 0;
}

.boutique-hero-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.boutique-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 44px 40px;
  display: flex;
  gap: 22px;
  align-items: flex-end;
}

.boutique-hero-avatar {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.85);
  flex-shrink: 0;
}

.boutique-hero h1 {
  margin: 6px 0 8px;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 600;
}

.boutique-hero-tag {
  margin: 0 0 8px;
  color: rgba(255,255,255,0.85);
}

.boutique-hero-bio {
  margin: 0 0 14px;
  max-width: 56ch;
  color: rgba(255,255,255,0.68);
  line-height: 1.5;
}

.boutique-hero .eyebrow {
  margin: 0 0 10px;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.92);
}

.boutique-hero .boutique-stats {
  margin-top: 4px;
  gap: 12px 20px;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.boutique-hero .boutique-stats.light {
  color: rgba(255, 255, 255, 0.94);
}

.boutique-products {
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px 44px 72px;
}

/* ========== PRODUCT DETAIL ========== */
.pdp-page,
.cart-page {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 32px 44px 88px;
  flex: 1;
  width: 100%;
}

.cart-page {
  background:
    radial-gradient(ellipse 90% 60% at 50% -20%, rgba(201, 137, 58, 0.06), transparent 55%),
    linear-gradient(180deg, #f8fafc 0%, #fff 280px);
}

.cart-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(6, 21, 43, 0.08);
}

.cart-page-count {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(6, 21, 43, 0.58);
}

.cart-continue {
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(6, 21, 43, 0.48);
  transition: color 0.15s ease;
}

.cart-continue:hover { color: var(--ink); }

.pdp-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 22px;
  font-size: 0.8rem;
  color: rgba(6, 21, 43, 0.45);
}

.pdp-breadcrumb a:hover { color: var(--ink); }
.pdp-breadcrumb span:last-child { color: rgba(6, 21, 43, 0.7); }

.pdp-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.pdp-layout--simple {
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.pdp-layout--simple .pdp-gallery {
  position: sticky;
  top: 24px;
  min-height: 0;
}

.pdp-gallery-col {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 24px;
}

.pdp-gallery {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: #eef1f5;
  aspect-ratio: 1;
  min-height: 520px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 18px 48px rgba(6, 21, 43, 0.1);
}

.pdp-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  font-size: 0.72rem;
  font-weight: 700;
  color: #06152b;
  box-shadow: 0 6px 18px rgba(6, 21, 43, 0.12);
}

.pdp-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.pdp-trust-strip div {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow:
    inset 0 1px 0 #fff,
    0 6px 18px rgba(6, 21, 43, 0.06),
    0 0 0 1px rgba(6, 21, 43, 0.06);
}

.pdp-trust-strip strong {
  display: block;
  font-size: 0.78rem;
  margin-bottom: 2px;
}

.pdp-trust-strip span {
  font-size: 0.72rem;
  color: rgba(6, 21, 43, 0.5);
}

.pdp-info .eyebrow {
  color: rgba(6, 21, 43, 0.45);
}

.pdp-info h1 {
  margin: 8px 0 12px;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.pdp-rating-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.88rem;
}

.pdp-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  letter-spacing: 0;
  font-size: 0.92rem;
  line-height: 1;
}

.pdp-star--full { color: #c9a227; }
.pdp-star--empty { color: #cfd4dc; }

.pdp-star--half {
  background: linear-gradient(90deg, #c9a227 50%, #cfd4dc 50%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pdp-rating-line--empty {
  color: #6b7280;
  font-weight: 500;
}

.pdp-reviews-empty {
  margin: 0;
  padding: 8px 0 4px;
  color: #6b7280;
  font-size: 0.95rem;
}

.pdp-rating-line a {
  color: #0b5cab;
  font-weight: 600;
}

.pdp-rating-line a:hover { text-decoration: underline; }

.pdp-shop-link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px 12px 12px;
  border-radius: 18px;
  margin-bottom: 20px;
  color: #06152b !important;
}

.pdp-shop-link:hover {
  transform: translateY(-2px) scale(1.01);
}

.pdp-shop-link img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: cover;
}

.pdp-shop-link strong {
  display: block;
  font-size: 0.98rem;
}

.pdp-shop-link small {
  display: block;
  color: rgba(6, 21, 43, 0.55);
  font-size: 0.75rem;
  margin-top: 2px;
}

.pdp-shop-cta {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(6, 21, 43, 0.55);
  white-space: nowrap;
}

.pdp-price {
  margin: 0 0 12px;
  font-size: 1.7rem;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.pdp-price s {
  color: rgba(6, 21, 43, 0.4);
  font-size: 1.05rem;
}

.pdp-sold-by {
  margin: 0 0 18px;
  font-size: 0.92rem;
  color: rgba(6, 21, 43, 0.62);
}

.pdp-sold-by a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pdp-save {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(6, 21, 43, 0.06);
  color: #06152b;
}

.pdp-tax {
  margin: 0 0 16px;
  font-size: 0.8rem;
  color: rgba(6, 21, 43, 0.5);
}

.pdp-desc {
  margin: 0 0 26px;
  color: rgba(6, 21, 43, 0.78);
  line-height: 1.65;
  font-size: 1.02rem;
  max-width: 38ch;
}

.pdp-size-block {
  margin: -10px 0 22px;
}

.pdp-size-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.pdp-size-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(6, 21, 43, 0.72);
}

.pdp-size-value {
  font-size: 0.82rem;
  color: rgba(6, 21, 43, 0.55);
}

.pdp-size-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pdp-size-btn {
  min-width: 44px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(6, 21, 43, 0.14);
  background: rgba(255, 255, 255, 0.72);
  color: #06152b;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.pdp-size-btn:hover {
  border-color: rgba(6, 21, 43, 0.28);
  transform: translateY(-1px);
}

.pdp-size-btn.is-active {
  border-color: #06152b;
  background: #06152b;
  color: #fff;
}

.pdp-size-block.is-error .pdp-size-btn {
  border-color: rgba(180, 40, 40, 0.35);
}

.pdp-size-hint {
  margin: 10px 0 0;
  font-size: 0.82rem;
  color: #b42828;
  font-weight: 600;
}

.cart-size {
  margin: 4px 0 0;
  font-size: 0.78rem;
  color: rgba(6, 21, 43, 0.55);
  font-weight: 600;
}

.pdp-desc-more {
  display: none;
}

.pdp-meta-line {
  margin: 16px 0 0;
  font-size: 0.84rem;
  color: rgba(6, 21, 43, 0.48);
}

.pdp-actions {
  display: flex;
  gap: 12px;
  align-items: stretch;
  margin-bottom: 0;
}

.qty-field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 999px;
  color: #06152b;
}

.qty-field span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(6, 21, 43, 0.45);
}

.qty-field input {
  width: 52px;
  height: 48px;
  border: 0;
  background: transparent;
  font-weight: 600;
  outline: none;
  color: #06152b;
}

.pdp-actions .btn {
  flex: 1;
  justify-content: center;
  min-height: 52px;
  font-size: 0.78rem;
}

.pdp-ship-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pdp-ship-card {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  color: #06152b;
}

.pdp-ship-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(6, 21, 43, 0.05);
  color: #06152b;
}

.pdp-ship-card h3 {
  margin: 0 0 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(6, 21, 43, 0.45);
}

.pdp-ship-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.35;
}

.pdp-ship-card .muted {
  margin-top: 2px;
  font-size: 0.75rem;
  color: rgba(6, 21, 43, 0.5);
}

.pdp-details-band {
  margin-top: 56px;
}

.pdp-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.pdp-details-card {
  padding: 28px;
  border-radius: 24px;
  color: #06152b;
}

.pdp-details-card h2 {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
}

.pdp-specs {
  margin: 0;
  display: grid;
  gap: 12px;
}

.pdp-specs > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(6, 21, 43, 0.08);
}

.pdp-specs > div:last-child { border-bottom: 0; padding-bottom: 0; }

.pdp-specs dt {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(6, 21, 43, 0.45);
}

.pdp-specs dd {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(6, 21, 43, 0.82);
}

.pdp-specs a {
  color: #0b5cab;
  font-weight: 600;
}

.pdp-info-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.pdp-info-list li {
  padding-left: 16px;
  border-left: 2px solid rgba(6, 21, 43, 0.12);
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(6, 21, 43, 0.72);
}

.pdp-info-list strong { color: #06152b; }

.pdp-reviews {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid rgba(6, 21, 43, 0.08);
}

.pdp-reviews-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.pdp-reviews-head h2 {
  margin: 8px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  font-weight: 600;
}

.pdp-reviews-score {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 18px;
  border-radius: 18px;
  color: #06152b;
}

.pdp-reviews-score strong {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1;
}

.pdp-reviews-score span:last-child {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  color: rgba(6, 21, 43, 0.5);
}

.pdp-review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.pdp-review {
  padding: 20px;
  border-radius: 20px;
  color: #06152b;
}

.pdp-review-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.pdp-review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(6, 21, 43, 0.08);
  font-weight: 700;
  font-size: 0.9rem;
}

.pdp-review-meta {
  display: block;
  margin-top: 2px;
  font-size: 0.72rem;
  color: rgba(6, 21, 43, 0.5);
}

.pdp-review h3 {
  margin: 0 0 8px;
  font-size: 0.98rem;
}

.pdp-review p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(6, 21, 43, 0.7);
}

.pdp-related {
  margin-top: 64px;
}

.pdp-related .shop-grid {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 980px) {
  .pdp-layout,
  .pdp-details-grid { grid-template-columns: 1fr; }
  .pdp-gallery-col { position: static; }
  .pdp-gallery { min-height: 0; }
  .pdp-review-grid { grid-template-columns: 1fr; }
  .pdp-reviews-head { flex-direction: column; align-items: flex-start; }
  .pdp-related .shop-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .pdp-page { padding: 20px 16px 64px; }
  .pdp-ship-grid,
  .pdp-trust-strip { grid-template-columns: 1fr 1fr; }
  .pdp-specs > div { grid-template-columns: 1fr; gap: 4px; }
  .pdp-shop-cta { display: none; }
}

.empty-state {
  text-align: center;
  padding: 64px 20px;
}

.empty-state h1 {
  font-family: var(--font-serif);
  margin: 0 0 10px;
}

.empty-state p {
  color: rgba(6, 21, 43, 0.6);
  margin: 0 0 22px;
}

.empty-inline {
  grid-column: 1 / -1;
  color: rgba(6, 21, 43, 0.55);
  padding: 24px 0;
}

/* ========== CART ========== */
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 36px;
  align-items: start;
}

.cart-section-label {
  margin: 0 0 14px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(6, 21, 43, 0.42);
}

.cart-list {
  display: grid;
  gap: 16px;
}

.cart-item {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(6, 21, 43, 0.07);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 10px 32px rgba(6, 21, 43, 0.06);
}

.cart-item-media {
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(145deg, #eef1f5, #e4e8ee);
}

.cart-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
}

.cart-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.cart-item-copy {
  min-width: 0;
}

.cart-item-copy h3 {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.cart-item-copy h3 a:hover {
  color: rgba(6, 21, 43, 0.72);
}

.cart-item-shop {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(6, 21, 43, 0.48);
}

.cart-item-shop:hover {
  color: var(--ink);
}

.cart-item-size {
  display: inline-flex;
  margin-top: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(6, 21, 43, 0.05);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(6, 21, 43, 0.62);
}

.cart-item-line-total {
  margin: 0;
  flex-shrink: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.cart-item-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(6, 21, 43, 0.1);
  background: #f6f8fa;
  overflow: hidden;
}

.cart-qty-btn {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
}

.cart-qty-btn:hover {
  background: rgba(6, 21, 43, 0.06);
}

.cart-qty-val {
  min-width: 32px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 800;
}

.cart-item-unit {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(6, 21, 43, 0.45);
}

.cart-remove {
  margin-left: auto;
  border: 0;
  background: none;
  padding: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(6, 21, 43, 0.4);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart-remove:hover {
  color: #b42828;
}

.cart-summary {
  padding: 26px 24px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(6, 21, 43, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 16px 48px rgba(6, 21, 43, 0.08);
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.cart-summary-title {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
}

.cart-summary-rows {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(6, 21, 43, 0.08);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 0.88rem;
  color: rgba(6, 21, 43, 0.58);
}

.cart-summary-row--total {
  margin-top: 4px;
  font-size: 1rem;
  color: var(--ink);
}

.cart-summary-row--total strong {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.cart-checkout {
  width: 100%;
  justify-content: center;
  min-height: 48px;
  font-size: 0.92rem;
}

.cart-note {
  margin: 14px 0 0;
  font-size: 0.74rem;
  line-height: 1.45;
  color: rgba(6, 21, 43, 0.45);
  text-align: center;
}

.cart-trust {
  list-style: none;
  margin: 20px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(6, 21, 43, 0.06);
  display: grid;
  gap: 10px;
}

.cart-trust li {
  font-size: 0.76rem;
  line-height: 1.4;
  color: rgba(6, 21, 43, 0.5);
}

.cart-trust strong {
  color: rgba(6, 21, 43, 0.72);
  font-weight: 700;
}

.cart-empty {
  max-width: 420px;
  margin: 12px auto 48px;
  padding: 40px 32px 36px;
  text-align: center;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(6, 21, 43, 0.07);
  box-shadow: 0 12px 40px rgba(6, 21, 43, 0.06);
}

.cart-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(6, 21, 43, 0.04);
  color: rgba(6, 21, 43, 0.35);
}

.cart-empty-title {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
}

.cart-empty-lead {
  margin: 0 0 22px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(6, 21, 43, 0.58);
}

.cart-suggestions {
  margin-top: 48px;
  padding-top: 44px;
  border-top: 1px solid rgba(6, 21, 43, 0.08);
}

.cart-suggestions-gap {
  margin-top: 44px;
}

.cart-suggestions .section-head {
  max-width: none;
  margin: 0 0 20px;
}

.cart-suggestions .section-head h2 {
  font-size: clamp(1.55rem, 2.1vw, 2rem);
}

.cart-suggestions-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.cart-suggestions-grid .product-card {
  min-width: 0;
}

.cart-suggestions-grid .product-media {
  max-height: none;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
}

.cart-suggestions-grid .product-card h3 {
  margin-top: 6px;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.25;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-suggestions-grid .card-shop {
  margin-top: 10px;
  font-size: 0.84rem;
  font-weight: 700;
  color: rgba(6, 21, 43, 0.78);
}

.cart-suggestions-grid .price {
  margin-top: 6px;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--ink);
}

@media (max-width: 1100px) {
  .cart-suggestions-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .cart-suggestions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .boutiques-grid,
  .home-boutiques { grid-template-columns: 1fr 1fr; }
  .pdp-layout { grid-template-columns: 1fr; gap: 24px; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .boutique-hero-inner,
  .pdp-page,
  .cart-page,
  .boutique-products { padding-left: 16px; padding-right: 16px; }
}

@media (max-width: 820px) {
  .boutiques-grid,
  .home-boutiques { grid-template-columns: 1fr; }
  .cart-page { padding-top: 24px; }
  .cart-page-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .cart-item {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }
  .cart-item-line-total {
    font-size: 0.95rem;
  }
  .cart-remove {
    margin-left: 0;
  }
}

/* ========== SEARCH PAGE (Amazon-style) ========== */
.sr-hero {
  background: #f3f5f8;
  border-bottom: 1px solid rgba(6, 21, 43, 0.08);
  padding: 18px 44px;
}

.sr-bar {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(6, 21, 43, 0.12);
  box-shadow: 0 8px 28px rgba(4, 17, 36, 0.06);
}

.sr-bar svg { color: rgba(6, 21, 43, 0.4); }

.sr-bar input {
  width: 100%;
  height: 44px;
  border: 0;
  outline: none;
  font-size: 1rem;
  background: transparent;
  color: var(--ink);
}

.sr-bar .btn {
  height: 44px;
  padding: 0 22px;
  border-radius: 10px;
}

.sr-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 28px 44px 72px;
  flex: 1;
}

.sr-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(6, 21, 43, 0.08);
}

.sr-toolbar h1 {
  margin: 0 0 4px;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 600;
}

.sr-block { margin-bottom: 36px; }

.sr-boutique-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.sr-boutique-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(6, 21, 43, 0.08);
  background: #fff;
}

.sr-boutique-mini img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px var(--shop-color, #0a172a);
}

.sr-boutique-mini strong {
  display: block;
  font-size: 0.92rem;
}

.sr-boutique-mini span {
  display: block;
  margin-top: 2px;
  font-size: 0.75rem;
  color: rgba(6, 21, 43, 0.55);
}

.sr-results {
  display: grid;
  gap: 12px;
}

.sr-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(6, 21, 43, 0.08);
  background: #fff;
  transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.3s ease;
}

.sr-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(4, 17, 36, 0.08);
}

.sr-row-media {
  width: 140px;
  height: 140px;
  border-radius: 12px;
  overflow: hidden;
  background: #f0f2f5;
}

.sr-row-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sr-row-body h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
}

.sr-row-body .card-shop {
  margin-bottom: 8px;
}

.sr-row-body .card-shop a {
  color: #0b5cab;
  font-weight: 600;
}

.sr-row-body .card-shop a:hover { text-decoration: underline; }

.sr-row-desc {
  margin: 0 0 10px;
  color: rgba(6, 21, 43, 0.62);
  font-size: 0.88rem;
  line-height: 1.45;
  max-width: 56ch;
}

.sr-row-price {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  text-align: right;
  min-width: 90px;
}

.sr-row-price s {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(6, 21, 43, 0.4);
}

.sr-chip {
  display: inline-block;
  margin-right: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f0f2f5;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(6, 21, 43, 0.55);
}

@media (max-width: 900px) {
  .sr-layout { grid-template-columns: 1fr; padding: 20px 16px 56px; }
  .sr-hero { padding: 14px 16px; }
  .sr-boutique-row { grid-template-columns: 1fr; }
  .sr-row {
    grid-template-columns: 96px 1fr;
    grid-template-areas:
      "media body"
      "media price";
  }
  .sr-row-media { width: 96px; height: 96px; grid-area: media; }
  .sr-row-body { grid-area: body; }
  .sr-row-price { grid-area: price; text-align: left; }
  .sr-bar { grid-template-columns: auto 1fr; }
  .sr-bar .btn { grid-column: 1 / -1; width: 100%; justify-content: center; }
}


/* Keep overflow safe — clip on html breaks position:fixed (Safari + Chrome) */
html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  max-width: 100%;
}

/* Mini-dock: if no backdrop-filter, keep a soft frosted look (not flat white) */
@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .mini-dock-panel {
    background: linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.88),
      rgba(230, 236, 245, 0.78)
    );
  }
}

.pdp-thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pdp-thumb {
  width: 72px;
  height: 72px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 14px;
  overflow: hidden;
  background: #eef1f5;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.pdp-thumb.is-active {
  border-color: #06152b;
}

.pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pdp-thumb:hover {
  transform: translateY(-1px);
}


/* Windows / keyboard: force lift without relying on :hover alone */
.liquid-card.is-lift {
  transform: translateY(-4px);
}
.liquid-btn.is-press {
  transform: translateY(-2px) scale(1.02);
}


.carousel.is-animating {
  scroll-snap-type: none !important;
  scroll-behavior: auto !important;
}

.promo-band .btn-primary {
  min-height: 44px;
  padding: 0 22px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  background: #041124 !important;
  color: #fff !important;
  border: 1px solid #041124 !important;
  box-shadow: 0 8px 22px rgba(4, 17, 36, 0.22) !important;
}

.promo-band .btn-primary:hover,
.promo-band .btn-primary:focus-visible {
  background: #0a172a !important;
  transform: translateY(-2px);
}

.section-head .view-all {
  flex-shrink: 0;
}

/* ========== PAGE BACK + NAV BAR ========== */
.page-nav-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(6, 21, 43, 0.07);
}

.page-nav-bar .pdp-breadcrumb {
  margin-bottom: 0;
  flex: 1;
  min-width: 0;
}


/* ========== PAGE BACK — classic (no view-transition / slide) ========== */
@view-transition {
  navigation: none;
}

.page-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(6, 21, 43, 0.12);
  background: #fff;
  color: #06152b;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 10px rgba(6, 21, 43, 0.06);
  transition:
    transform 0.18s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    opacity 0.18s ease;
}
.page-back-btn svg {
  flex: 0 0 auto;
}
.page-back-btn:hover {
  background: #06152b;
  color: #fff;
  border-color: #06152b;
  box-shadow: 0 6px 16px rgba(6, 21, 43, 0.16);
}
.page-back-btn:active,
.page-back-btn.is-pressing {
  transform: scale(0.96);
  opacity: 0.92;
}

.page-back-btn--on-dark {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.page-back-btn--on-dark:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.55);
}

.boutique-hero-nav {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 44px 0;
  width: 100%;
}

.boutique-page-top {
  display: none;
}

/* ========== QTY STEPPER ========== */
.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-height: 52px;
  border-radius: 999px;
  overflow: hidden;
}

.qty-stepper button {
  width: 44px;
  height: 52px;
  border: 0;
  background: transparent;
  color: #06152b;
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.qty-stepper button:hover {
  background: rgba(6, 21, 43, 0.06);
}

.qty-stepper [data-qty-val] {
  min-width: 36px;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: #06152b;
}

.pdp-layout {
  margin-bottom: 28px;
}

.pdp-ship-grid {
  margin-bottom: 28px;
}

@media (max-width: 720px) {
  .boutique-hero-nav { padding: 14px 16px 0; }
  .page-back-btn span { display: none; }
  .page-back-btn { padding: 8px 10px; }
}

/* ========== LANGUAGE MENU ========== */
.lang-menu {
  position: relative;
}

.lang-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 12px 0 10px;
  border: 1px solid rgba(6, 21, 43, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  color: #06152b;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.lang-menu-btn:hover {
  background: #fff;
  border-color: rgba(6, 21, 43, 0.18);
}

.lang-flag {
  font-size: 1.05rem;
  line-height: 1;
}

.lang-chevron {
  opacity: 0.45;
}

.lang-menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 120;
  min-width: 72px;
  padding: 6px;
  border-radius: 16px;
  border: 1px solid rgba(6, 21, 43, 0.1);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 40px rgba(6, 21, 43, 0.14);
}

.lang-option {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 10px 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #06152b;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s ease;
}

.lang-option strong {
  font-weight: 800;
  letter-spacing: 0.04em;
}

.lang-option:hover,
.lang-option.is-active {
  background: rgba(6, 21, 43, 0.06);
}

@media (max-width: 720px) {
  .lang-menu-btn {
    padding: 0 10px;
  }
  .lang-label {
    font-size: 0.76rem;
  }
}

/* ========== AUTH / ACCOUNT GATE ========== */
.auth-body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: #f4f5f7;
}

.page-auth {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 70% 55% at 50% -10%, rgba(6, 21, 43, 0.06), transparent 60%),
    #f4f5f7;
}

.page-auth .auth-shell {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 5vh, 56px) 20px 48px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.auth-shell {
  width: 100%;
}

.auth-left {
  width: min(440px, 100%);
  margin: 0 auto;
}

.auth-left-inner {
  width: 100%;
  padding: clamp(28px, 4vw, 40px) clamp(24px, 4vw, 36px) clamp(24px, 3vw, 32px);
  border: 1px solid rgba(6, 21, 43, 0.08);
  border-radius: 20px;
  background: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 18px 48px rgba(6, 21, 43, 0.06);
}

.auth-eyebrow {
  margin: 0 0 8px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(6, 21, 43, 0.4);
}

.auth-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.2vw, 2.4rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}

.auth-lede {
  margin: 10px 0 0;
  max-width: 36ch;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(6, 21, 43, 0.55);
  text-wrap: pretty;
}

.auth-lede--member {
  margin-bottom: 2px;
}

.auth-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 26px;
  border-bottom: 1px solid rgba(6, 21, 43, 0.1);
}

.auth-type {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
  padding: 0;
  border: 0;
}

.auth-type[hidden],
.auth-field[hidden],
[data-auth-name-wrap][hidden] {
  display: none !important;
}

.auth-mode-btn {
  position: relative;
  height: 44px;
  padding: 0 8px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(6, 21, 43, 0.4);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  margin: 0 0 -1px;
  transition: color 0.15s ease;
}

.auth-mode-btn::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 0;
  height: 2px;
  background: transparent;
  border-radius: 2px;
  transition: background 0.15s ease;
}

.auth-mode-btn.is-active {
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

.auth-mode-btn.is-active::after {
  background: var(--ink);
}

.auth-type-btn {
  height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(6, 21, 43, 0.12);
  border-radius: 999px;
  background: #fff;
  color: rgba(6, 21, 43, 0.55);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  margin: 0;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.auth-type-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  box-shadow: none;
}

.auth-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.auth-field {
  display: grid;
  gap: 6px;
}

.auth-field span {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(6, 21, 43, 0.42);
}

.auth-field input {
  height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(6, 21, 43, 0.12);
  border-radius: 12px;
  background: #fafbfc;
  color: var(--ink);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.auth-field input::placeholder {
  color: rgba(6, 21, 43, 0.3);
}

.auth-field input:focus {
  border-color: rgba(6, 21, 43, 0.4);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(6, 21, 43, 0.07);
}

.auth-error {
  margin: 0;
  font-size: 0.82rem;
  color: #b42318;
}

.page-auth .liquid-btn::after,
.page-auth .auth-submit::after,
.page-auth .auth-cta-btn::after {
  display: none !important;
}

.page-auth .liquid-btn,
.page-auth .auth-submit,
.page-auth .auth-cta-btn {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transform: none !important;
  border-radius: 12px;
}

.page-auth .auth-submit,
.page-auth .auth-cta-btn {
  background: var(--ink) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
}

.page-auth .auth-submit:hover,
.page-auth .auth-cta-btn:hover {
  background: #0a1f3a !important;
  transform: none !important;
}

.page-auth .auth-member-card {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: #f7f8fa;
  box-shadow: none;
}

.auth-submit {
  width: 100%;
  justify-content: center;
  min-height: 50px;
  margin-top: 4px;
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.auth-text-btn {
  margin-left: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.auth-back {
  display: inline-block;
  margin-top: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(6, 21, 43, 0.45);
  text-decoration: none;
  transition: color 0.15s ease;
}

.auth-back:hover {
  color: var(--ink);
}

.auth-member-card {
  display: flex;
  align-items: center;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(6, 21, 43, 0.08);
  border-radius: 14px;
  background: #f7f8fa;
}

.auth-member-card strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ink);
}

.auth-member-card span {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(6, 21, 43, 0.45);
}

.auth-member-actions {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.auth-member-actions .btn {
  justify-content: center;
  min-height: 46px;
  border-radius: 12px;
}

.auth-btn-secondary {
  border: 1px solid rgba(6, 21, 43, 0.14);
  background: #fff;
  color: var(--ink);
}

.auth-logout {
  display: block;
  margin: 18px 0 0;
  font-size: 0.84rem;
}

/* Legacy right panel — hidden (image no longer used on account) */
.auth-right,
.auth-right-frame,
.auth-panel-img,
.auth-right-fade,
.auth-right-caption,
.auth-logo {
  display: none !important;
}

@media (max-width: 560px) {
  .page-auth .auth-shell {
    align-items: flex-start;
    padding: 20px 14px 36px;
  }

  .auth-left-inner {
    padding: 24px 18px 22px;
    border-radius: 16px;
  }

  .auth-title {
    font-size: 1.7rem;
  }
}

/* ========== PDP v53 — gallery + buy box ========== */
.pdp-gallery-wrap--solo {
  grid-template-columns: 1fr;
}
.pdp-gallery-wrap {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.pdp-thumbs-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: min(560px, 70vh);
  overflow-y: auto;
  padding: 4px 2px;
  scrollbar-width: thin;
}

.pdp-thumbs-col::-webkit-scrollbar {
  width: 4px;
}

.pdp-thumbs-col::-webkit-scrollbar-thumb {
  background: rgba(6, 21, 43, 0.15);
  border-radius: 4px;
}

.pdp-gallery {
  min-height: 0;
  aspect-ratio: 4 / 5;
}

.pdp-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #06152b;
  box-shadow: 0 8px 24px rgba(6, 21, 43, 0.14);
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.pdp-gallery:hover .pdp-gallery-nav,
.pdp-gallery:focus-within .pdp-gallery-nav {
  opacity: 1;
}

.pdp-gallery-nav:hover {
  transform: translateY(-50%) scale(1.04);
}

.pdp-gallery-prev { left: 14px; }
.pdp-gallery-next { right: 14px; }

.pdp-thumb {
  width: 88px;
  height: 110px;
  flex-shrink: 0;
  border-radius: 16px;
}

.pdp-buy-box {
  margin-top: 8px;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(6, 21, 43, 0.08);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 32px rgba(6, 21, 43, 0.06);
}

.pdp-actions {
  display: flex;
  gap: 14px;
  align-items: stretch;
  margin: 0;
}

.pdp-trust-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.pdp-trust-strip div {
  padding: 16px 18px;
}

.pdp-ship-grid {
  margin-top: 40px;
  grid-template-columns: 1fr;
  max-width: 420px;
}

.pdp-ship-grid--solo {
  max-width: 100%;
}

@media (max-width: 980px) {
  .pdp-gallery-wrap {
    grid-template-columns: 1fr;
  }

  .pdp-thumbs-col {
    flex-direction: row;
    order: 2;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
  }

  .pdp-thumb {
    width: 76px;
    height: 96px;
  }

  .pdp-gallery-nav {
    opacity: 1;
  }
}

@media (max-width: 820px) {
  .pdp-trust-strip {
    grid-template-columns: 1fr;
  }

  .pdp-buy-box {
    padding: 16px;
  }
}

/* ========== PRODUCT BADGES v55 ========== */
.product-tags,
.pdp-tags {
  position: absolute;
  top: 10px;
  right: 10px;
  left: auto;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  pointer-events: none;
  max-width: calc(100% - 20px);
}

.product-tags .tag,
.pdp-tags .tag {
  position: static;
  display: inline-block;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(6, 21, 43, 0.18);
  white-space: nowrap;
}

.tag--bestseller {
  background: #06152b;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.tag--new {
  background: #06152b;
  color: #fff;
}

.tag--promo,
.tag--discount {
  background: #b42318;
  color: #fff;
}

.tag--discount {
  font-size: 0.92rem;
  padding: 11px 16px;
  letter-spacing: 0.04em;
}

.tag--default {
  background: #041124;
  color: #fff;
}

.pdp-gallery .product-tags {
  top: 14px;
  right: 14px;
  left: auto;
}

.pdp-gallery img,
.product-media img {
  object-position: center center;
}

.pdp-save.tag--discount {
  position: static;
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
  vertical-align: middle;
  font-size: 0.88rem;
  padding: 8px 14px;
  box-shadow: 0 6px 18px rgba(180, 35, 24, 0.28);
}

.pdp-price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

/* ========== CAROUSEL MARQUEE v56 ========== */
.carousel.is-marquee {
  scroll-snap-type: none !important;
  scroll-behavior: auto !important;
}

/* ========== REC + BESTSELLERS spacing v59 ========== */
.recommended {
  padding-bottom: 12px !important;
}

.bestsellers-section.content-section {
  padding-top: 8px;
  padding-bottom: 20px;
}

.bestsellers-section .section-head {
  margin-bottom: 8px;
}

.bestsellers-section .section-lead {
  margin: 0 0 10px;
}


/* ========== HOME SEARCH ========== */
.home-search-section {
  padding-top: 28px;
  padding-bottom: 48px;
}

html.is-searching .home-search-section {
  padding-top: 88px;
}

.home-search-subhead {
  margin: 28px 0 14px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
}

.home-search-empty {
  margin: 8px 0 0;
}

/* Search product grid — same card size as Recommended (5 cols) */
.home-search-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.home-search-grid .product-card {
  min-width: 0;
}

.home-search-grid .product-media {
  max-height: none;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
}

.home-search-grid .product-card h3 {
  margin-top: 6px;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.25;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-search-grid .card-shop {
  margin-top: 10px;
  font-size: 0.84rem;
  font-weight: 700;
  color: rgba(6, 21, 43, 0.78);
}

.home-search-grid .price {
  margin-top: 6px;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--ink);
}

@media (max-width: 1100px) {
  .home-search-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 820px) {
  .home-search-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

/* ========== PRODUCT MEDIA — soft bg + Ascend lift ========== */
.recommended .product-media,
.bestsellers-section .product-media,
.shop-grid .product-media,
.home-search-grid .product-media,
.cart-suggestions-grid .product-media,
.promo-products .product-media,
.new-grid .product-media {
  background: linear-gradient(165deg, #efeeea 0%, #e3e1db 100%);
}

.product-media--ascend,
.shop-card-media.product-media--ascend {
  background: #cbc8c6 !important;
}

.product-media--ascend img,
.shop-card-media.product-media--ascend img {
  filter: none;
  object-fit: cover;
  object-position: center center;
}

/* All products — home catalog */
.home-all-section.content-section {
  padding-bottom: 56px;
}

.home-all-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.home-all-sort select {
  min-width: 210px;
}

.home-all-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.home-all-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  will-change: transform, opacity;
}

.home-all-more svg {
  transition: transform 0.2s ease;
}

.home-all-more:hover svg,
.home-all-more:focus-visible svg {
  transform: translateY(3px);
}

.home-all-more.is-leaving {
  pointer-events: none;
  animation: home-all-more-leave 0.58s cubic-bezier(0.33, 0.02, 0.2, 1) forwards;
}

.home-all-more.is-enter {
  animation: home-all-more-enter 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes home-all-more-leave {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(88px) scale(0.92);
  }
}

@keyframes home-all-more-enter {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-all-more.is-leaving,
  .home-all-more.is-enter {
    animation-duration: 0.01ms !important;
  }
}

@media (max-width: 720px) {
  .home-all-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .home-all-sort select {
    width: 100%;
    min-width: 0;
  }
}

.home-all-boutiques-section,
#all-boutiques {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.home-all-boutiques-section .shop-count {
  margin: 0 0 18px;
}


/* ========== SOFT SECTION NAV ========== */
#all-products,
#all-boutiques,
#promo-picks,
#bestsellers-title,
#promo-title,
#boutiques-title,
#rec-title,
.bestsellers-section,
.promo-band,
.boutiques-section,
.recommended,
.home-all-section,
.home-all-boutiques-section {
  scroll-margin-top: calc(var(--header-h, 72px) + 20px);
}

html.is-soft-nav {
  cursor: progress;
}

section.is-section-arrive,
#promo-picks.is-section-arrive,
.promo-products.is-section-arrive {
  animation: reselp-section-arrive 1.05s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes reselp-section-arrive {
  0% {
    box-shadow: inset 0 0 0 0 rgba(6, 21, 43, 0);
  }
  35% {
    box-shadow: inset 0 0 0 2px rgba(6, 21, 43, 0.14);
  }
  100% {
    box-shadow: inset 0 0 0 0 rgba(6, 21, 43, 0);
  }
}

.is-arrive-card {
  animation: reselp-arrive-card 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--arrive-i, 0) * 45ms);
}

@keyframes reselp-arrive-card {
  from {
    opacity: 0.35;
    transform: translate3d(0, 14px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html.is-soft-nav,
  section.is-section-arrive,
  .is-arrive-card {
    animation: none !important;
  }
}


/* ========== HOME CATEGORY STRIP ========== */
.recommended .home-cats {
  max-width: var(--shell);
  width: 100%;
  margin: 0 auto 10px;
  padding: 0;
  position: relative;
  z-index: 6;
  /* Keep hover lift/shadow from being clipped by section white */
  overflow: visible;
}

.home-cats {
  max-width: var(--shell);
  width: 100%;
  margin: 0 auto;
  padding: 0;
  overflow: visible;
}

.home-cats-row {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: var(--shell);
  width: 100%;
  margin: 0 auto;
  min-width: 0;
}
.home-cats-viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}
.home-cats-track {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 12px 2px 18px;
  margin: -8px 0 -6px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}
.home-cats-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 4px 0 10px;
}
.home-cats-arrow {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(6, 21, 43, 0.12);
  background: #fff;
  color: #06152b;
  box-shadow: 0 2px 8px rgba(6, 21, 43, 0.06);
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.home-cats-arrow:hover,
.home-cats-arrow:focus-visible {
  background: #06152b;
  color: #fff;
  border-color: #06152b;
}
.home-cats-arrow:disabled {
  opacity: 0.35;
  pointer-events: none;
}
.home-cat-chip--other {
  background: #fff;
  border-style: dashed;
  border-color: rgba(6, 21, 43, 0.22);
}
.home-cat-chip--other[aria-expanded="true"] {
  background: #06152b;
  color: #fff;
  border-style: solid;
  border-color: #06152b;
}
.home-cats-other {
  max-width: var(--shell);
  width: 100%;
  margin: 0 auto 14px;
  padding: 14px;
  border-radius: 16px;
  background: #f7f8fa;
  border: 1px solid rgba(6, 21, 43, 0.08);
  animation: home-cats-other-in 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.home-cats-other[hidden] {
  display: none !important;
}
@keyframes home-cats-other-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
.home-cats-other-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.home-cats-other-tags .home-cat-chip {
  min-height: 36px;
  padding: 0 13px;
  font-size: 0.78rem;
  background: #fff;
}
@media (max-width: 820px) {
  .home-cats-row {
    flex-wrap: wrap;
  }
  .home-cats-viewport {
    order: 1;
    flex: 1 1 calc(100% - 96px);
  }
  .home-cats-arrow {
    order: 1;
  }
  .home-cats-actions {
    order: 2;
    width: 100%;
    justify-content: flex-start;
    padding-top: 0;
  }
}

.home-cats-track::-webkit-scrollbar {
  display: none;
}

.home-cat-chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #06152b;
  background: #f4f5f7;
  border: 1px solid rgba(6, 21, 43, 0.1);
  box-shadow: 0 2px 8px rgba(6, 21, 43, 0.04);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.28s ease;
  white-space: nowrap;
}

.home-cat-chip:hover,
.home-cat-chip:focus-visible {
  transform: translateY(-2px);
  background: #06152b;
  color: #fff;
  border-color: #06152b;
  /* Soft full shadow — room above/below inside track padding */
  box-shadow:
    0 8px 20px rgba(6, 21, 43, 0.2),
    0 2px 6px rgba(6, 21, 43, 0.1);
}

.home-cat-chip.is-active {
  background: #06152b;
  color: #fff;
  border-color: #06152b;
  box-shadow: 0 6px 16px rgba(6, 21, 43, 0.16);
}

.home-cat-chip--soft {
  background: rgba(6, 21, 43, 0.05);
}

/* Soft fade into the Recommended title — no hard white cut */
.recommended .home-cats::after {
  content: "";
  display: block;
  height: 12px;
  margin: 2px 0 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(244, 245, 247, 0.55) 45%,
    rgba(255, 255, 255, 0) 100%
  );
}

@media (max-width: 720px) {
  .recommended .home-cats {
    margin-bottom: 8px;
  }
  .home-cats-track {
    padding: 10px 0 16px;
  }
  .home-cat-chip {
    min-height: 38px;
    padding: 0 13px;
    font-size: 0.78rem;
  }
}

/* Top boutiques — View all more visible */
.boutiques-section .view-all--emphasis,
.view-all.view-all--emphasis {
  padding: 11px 18px;
  font-size: 0.92rem;
  background: #06152b;
  color: #fff;
  border-color: #06152b;
  box-shadow: 0 8px 22px rgba(6, 21, 43, 0.22);
}

.boutiques-section .view-all--emphasis:hover,
.boutiques-section .view-all--emphasis:focus-visible,
.view-all.view-all--emphasis:hover,
.view-all.view-all--emphasis:focus-visible {
  background: #0a2240;
  color: #fff;
  border-color: #0a2240;
}

.boutiques-section .view-all--emphasis.is-expanded {
  background: #fff;
  color: #06152b;
  border-color: rgba(6, 21, 43, 0.16);
}

.boutiques-section .view-all--emphasis svg {
  transition: transform 0.25s ease;
}


/* Shop covers — true 16:9 assets, keep subject framed */
.boutique-hero[data-shop="ascend"] .boutique-hero-cover img,
.boutique-card[data-shop="ascend"] .boutique-cover img,
a[href*="id=ascend"] .boutique-cover img {
  object-position: center 40%;
}
.boutique-hero[data-shop="morgan-is-cool"] {
  min-height: clamp(260px, 30vw, 360px);
  background: #0a0a0a;
}
.boutique-hero[data-shop="morgan-is-cool"] .boutique-hero-cover img {
  /* Full graffiti visible in short hero — never chop MORGAN / IS / COOL */
  object-fit: contain;
  object-position: center center;
  opacity: 0.55;
}
.boutique-card[data-shop="morgan-is-cool"] .boutique-cover img,
a[href*="id=morgan"] .boutique-cover img {
  object-fit: cover;
  object-position: center 45%;
}
/* Morgan products — always keep subject framed (no head/bag crop) */
.product-media--morgan,
.shop-card-media.product-media--morgan {
  background: #141820 !important;
}
.product-media--morgan img,
.shop-card-media.product-media--morgan img,
.shop-grid .product-media img[src*="morgan-is-cool/products/"],
.home-search-grid .product-media img[src*="morgan-is-cool/products/"],
.home-all-grid .product-media img[src*="morgan-is-cool/products/"],
.home-cat-spotlight-grid .product-media img[src*="morgan-is-cool/products/"],
.carousel .product-media img[src*="morgan-is-cool/products/"],
.pdp-gallery img[src*="morgan-is-cool/products/"],
.pdp-main-img[src*="morgan-is-cool/products/"],
img[src*="morgan-is-cool/products/"] {
  object-fit: cover !important;
  object-position: center center !important;
}
.boutique-avatar[src*="ascend"],
.boutique-hero-avatar[src*="ascend"],
.boutique-avatar[src*="morgan"],
.boutique-hero-avatar[src*="morgan"] {
  object-fit: cover;
  background: #0a0a0a;
}


/* Category spotlight — grid (3 rows), same shell width as Recommended */
.home-cat-spotlight {
  margin: 4px 0 22px;
  padding: 0;
  max-width: 100%;
}
.home-cat-spotlight[hidden] {
  display: none !important;
}
.home-cat-spotlight .section-head {
  margin-bottom: 14px;
}
.home-cat-spotlight-grid {
  max-width: var(--shell);
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.home-cat-spotlight-grid .product-media {
  max-height: none;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
}
.home-cat-spotlight-more-wrap {
  max-width: var(--shell);
  width: 100%;
  margin: 18px auto 0;
}
@media (max-width: 1100px) {
  .home-cat-spotlight-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
}
@media (max-width: 820px) {
  .home-cat-spotlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}


.boutique-hero[data-shop="star-fond"] .boutique-hero-cover img,
.boutique-card[data-shop="star-fond"] .boutique-cover img,
a[href*="id=star-fond"] .boutique-cover img {
  object-position: center 40%;
}

/* Star Fond page hero: clean photo (no baked type) + readable UI copy */
.boutique-hero[data-shop="star-fond"] {
  background: #0a0a0a;
}
.boutique-hero[data-shop="star-fond"] .boutique-hero-cover img {
  opacity: 0.78;
  object-position: 72% center;
}
.boutique-hero[data-shop="star-fond"] .boutique-hero-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 10, 16, 0.88) 0%, rgba(6, 10, 16, 0.62) 34%, rgba(6, 10, 16, 0.18) 58%, transparent 78%),
    linear-gradient(0deg, rgba(6, 10, 16, 0.45) 0%, transparent 42%);
  pointer-events: none;
}
.boutique-card[data-shop="star-fond"] .boutique-cover img,
a[href*="id=star-fond"] .boutique-cover img {
  object-position: center 38%;
}

.boutique-avatar[src*="star-fond"],
.boutique-hero-avatar[src*="star-fond"] {
  object-fit: cover;
  background: #000;
}


/* Star Fond — subject-reframed 4:5 (full head + tee, no side dead space) */
.product-media--star-fond,
.shop-card-media.product-media--star-fond {
  aspect-ratio: 4 / 5 !important;
  max-height: none !important;
  background: #e8e8e8 !important;
  overflow: hidden;
}
.product-media--star-fond img,
.shop-card-media.product-media--star-fond img,
.shop-grid .product-media img[src*="star-fond/products/"],
.home-search-grid .product-media img[src*="star-fond/products/"],
.home-all-grid .product-media img[src*="star-fond/products/"],
.home-cat-spotlight-grid .product-media img[src*="star-fond/products/"],
.carousel .product-media img[src*="star-fond/products/"],
.pdp-gallery img[src*="star-fond/products/"],
.pdp-thumb img[src*="star-fond/products/"],
.pdp-main-img[src*="star-fond/products/"],
img[src*="star-fond/products/"] {
  object-fit: cover !important;
  object-position: center center !important;
  width: 100% !important;
  height: 100% !important;
}
.pdp-gallery:has(img[src*="star-fond/products/"]),
.pdp-gallery-wrap:has(img[src*="star-fond/products/"]) .pdp-gallery {
  aspect-ratio: 4 / 5;
}


/* Demo honesty + cookie bar */
.demo-note {
  margin: 0;
  padding: 10px 20px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.82);
  background: #041124;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.cookie-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 18px;
  border: 1px solid rgba(6, 21, 43, 0.1);
  border-radius: 16px;
  background: #fff;
}
.cookie-bar-inner {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  justify-content: space-between;
}
.cookie-bar-title {
  margin: 0 0 4px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #06152b;
}
.cookie-bar-text {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(6, 21, 43, 0.62);
}
.cookie-bar-text a { text-decoration: underline; text-underline-offset: 2px; }
.cookie-bar-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.cookie-essential {
  border: 1px solid rgba(6, 21, 43, 0.14);
  background: #fff;
  color: #06152b;
}
@media (max-width: 640px) {
  .cookie-bar-inner { flex-direction: column; align-items: stretch; }
  .cookie-bar-actions { flex-direction: column; }
}

.auth-demo-note {
  margin: 10px 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(6, 21, 43, 0.5);
}


/* Brand logo swap (Vision Rebel on visionrebel.2bgroups.com) */
.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.logo-img {
  display: none;
  height: 48px;
  width: auto;
  max-width: min(380px, 70vw);
  object-fit: contain;
}
.logo-text { display: inline; }
html.brand-vision-rebel .logo-img { display: block; }
html.brand-vision-rebel .logo-text { display: none; }
html.brand-vision-rebel .footer-brand .logo-img { height: 34px; }
@media (max-width: 720px) {
  .logo-img { height: 36px; }
}

/* Vision Rebel boutique DA only (cream & black) — does not affect site chrome */
.product-media--vision-rebels {
  background: #f5f5f0;
}
.boutique-hero[data-shop="vision-rebels"] {
  --shop-color: #111111;
  background: #f5f5f0;
}
.boutique-hero[data-shop="vision-rebels"] .boutique-hero-cover::after {
  background: linear-gradient(180deg, rgba(245,245,240,0.15) 0%, rgba(17,17,17,0.55) 100%);
}
.boutique-hero-avatar[src*="vision-rebels"] {
  background: #f5f5f0;
  object-fit: contain;
  padding: 10px;
  border: 1px solid rgba(17,17,17,0.08);
}
