@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("/assets/fonts/playfair-display-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("/assets/fonts/playfair-display-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --vanilla-silk: #f3eadc;
  --alpine-oat: #d7c7b5;
  --warm-greige: #a89688;
  --cherry-velvet: #5a1820;
  --bordeaux-noir: #2d1116;
  --cream: var(--vanilla-silk);
  --cream-deep: var(--alpine-oat);
  --beige: #e4d3c0;
  --sand: var(--warm-greige);
  --bordo: var(--cherry-velvet);
  --bordo-deep: var(--bordeaux-noir);
  --rose: #a66562;
  --ink: #251919;
  --muted: #6f6058;
  --line: rgba(90, 24, 32, 0.16);
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(45, 17, 22, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, Arial, sans-serif;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.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;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 40px;
  padding: 0 clamp(18px, 5vw, 72px);
  color: var(--bordo);
  background: rgba(243, 234, 220, 0.82);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: border 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  background: rgba(243, 234, 220, 0.96);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(45, 17, 22, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  height: 36px;
  color: var(--bordo);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.brand span {
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  padding: 6px 0;
}

.site-nav a:hover {
  color: var(--bordo);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  color: var(--bordo);
  background: rgba(90, 24, 32, 0.05);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.top-carousel {
  position: relative;
  padding: 48px 0 0;
  background:
    linear-gradient(180deg, rgba(243, 234, 220, 0.94), rgba(215, 199, 181, 0.42)),
    var(--cream);
}

.carousel-shell {
  position: relative;
  height: clamp(420px, 58vw, 760px);
  overflow: hidden;
  color: var(--cream);
  background: var(--bordeaux-noir);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  touch-action: pan-y;
}

.carousel-shell::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(180deg, transparent, rgba(45, 17, 22, 0.34));
  pointer-events: none;
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transform: translateX(calc(var(--slide-index, 0) * -100%));
  transition: transform 560ms cubic-bezier(0.22, 0.72, 0.2, 1);
}

.carousel-slide {
  position: relative;
  isolation: isolate;
  flex: 0 0 100%;
  height: 100%;
  margin: 0;
  background: var(--alpine-oat);
}

.carousel-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(45, 17, 22, 0.64), rgba(45, 17, 22, 0.34) 38%, rgba(45, 17, 22, 0.06) 76%, transparent);
  pointer-events: none;
}

.carousel-slide img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-copy {
  position: absolute;
  left: clamp(24px, 8vw, 112px);
  bottom: 94px;
  z-index: 2;
  display: grid;
  justify-items: start;
  gap: 16px;
  width: min(560px, 48%);
  color: var(--cream);
}

.carousel-copy h2 {
  max-width: 560px;
  margin: 0;
  color: var(--cream);
  font-size: 56px;
  line-height: 1.04;
}

.carousel-copy p {
  max-width: 440px;
  margin: 0;
  color: rgba(243, 234, 220, 0.94);
  font-size: 18px;
  line-height: 1.5;
}

.carousel-cta {
  min-height: 48px;
  padding: 0 22px;
  color: var(--bordo);
  background: var(--cream);
  border: 1px solid var(--cream);
  border-radius: 6px;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease;
}

.carousel-cta:hover {
  color: var(--cream);
  background: var(--bordo);
}

.carousel-slide:nth-child(1) img {
  object-position: center 24%;
}

.carousel-slide:nth-child(2) img {
  object-position: 50% 44%;
}

.carousel-slide:nth-child(3) img {
  object-position: 42% 22%;
}

.carousel-control {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--cream);
  background: rgba(45, 17, 22, 0.42);
  border: 1px solid rgba(243, 234, 220, 0.28);
  border-radius: 999px;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(10px);
  transition: background 180ms ease, transform 180ms ease;
}

.carousel-control:hover {
  background: rgba(90, 24, 32, 0.78);
  transform: translateY(-50%) scale(1.04);
}

.carousel-control span {
  display: block;
  margin-top: -3px;
  font-size: 38px;
  line-height: 1;
}

.carousel-control.prev {
  left: clamp(12px, 2vw, 26px);
}

.carousel-control.next {
  right: clamp(12px, 2vw, 26px);
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 3;
  display: flex;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(45, 17, 22, 0.36);
  border: 1px solid rgba(243, 234, 220, 0.2);
  border-radius: 999px;
  transform: translateX(-50%);
  backdrop-filter: blur(10px);
}

.carousel-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  background: rgba(243, 234, 220, 0.52);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.carousel-dots button.is-active {
  width: 28px;
  background: var(--cream);
}

.collection-spotlight {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 14px);
  align-items: stretch;
  min-height: 0;
  padding: clamp(28px, 4vw, 48px) clamp(16px, 3vw, 40px);
  background:
    linear-gradient(135deg, rgba(243, 234, 220, 0.96), rgba(215, 199, 181, 0.55)),
    var(--cream);
  border-bottom: 1px solid var(--line);
}

.collection {
  scroll-margin-top: 72px;
}

.spotlight-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  height: 100%;
  min-width: 0;
  margin: 0;
  padding: clamp(22px, 3vw, 36px);
  background: rgba(243, 234, 220, 0.68);
}

.spotlight-copy h2 {
  max-width: 360px;
  margin: 0 0 18px;
  font-size: 44px;
  font-weight: 600;
  line-height: 1.08;
}

.spotlight-copy .eyebrow {
  font-size: 11px;
  font-weight: 700;
}

.spotlight-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.spotlight-copy .button {
  margin-top: 12px;
}

.spotlight-products {
  display: grid;
  grid-column: 2 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr);
  gap: clamp(8px, 1vw, 14px);
  min-width: 0;
  min-height: 0;
}

.spotlight-products > .spotlight-product {
  grid-column: auto;
  grid-row: 1;
  align-self: stretch;
}

.spotlight-product {
  position: relative;
  display: grid;
  align-items: end;
  min-width: 0;
  width: 100%;
  height: clamp(420px, 35vw, 480px);
  min-height: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  color: var(--cream);
  background: var(--bordeaux-noir);
  border: 0;
  border-radius: 8px;
  box-shadow: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.spotlight-product img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: 50% 16%;
  transition: transform 520ms ease;
}

.spotlight-product:nth-child(2) img {
  object-position: 50% 20%;
}

.spotlight-product:nth-child(3) img {
  object-position: 50% 16%;
}

.spotlight-product:hover img {
  transform: scale(1.035);
}

.spotlight-product::after {
  content: "";
  grid-area: 1 / 1;
  align-self: stretch;
  background: linear-gradient(180deg, rgba(45, 17, 22, 0), rgba(45, 17, 22, 0.66));
  transition: background 260ms ease;
}

.spotlight-product:hover::after {
  background: linear-gradient(180deg, rgba(45, 17, 22, 0.1), rgba(45, 17, 22, 0.78));
}

.spotlight-product span {
  grid-area: 1 / 1;
  z-index: 1;
  display: grid;
  gap: 4px;
  padding: clamp(18px, 2.4vw, 28px);
  color: rgba(243, 234, 220, 0.86);
  font-size: 14px;
  font-weight: 700;
}

.spotlight-product strong {
  color: var(--cream);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(25px, 2.8vw, 38px);
  line-height: 1;
}

.hero {
  position: relative;
  display: block;
  scroll-margin-top: 72px;
  padding: 56px clamp(18px, 5vw, 72px);
  background:
    radial-gradient(circle at 94% 18%, rgba(90, 24, 32, 0.12), transparent 30%),
    linear-gradient(135deg, var(--vanilla-silk) 0%, var(--alpine-oat) 64%, rgba(168, 150, 136, 0.78) 100%);
  overflow: hidden;
}

.hero::after {
  content: "CAVA";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(90, 24, 32, 0.07);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 220px;
  font-weight: 700;
  line-height: 0.8;
  white-space: nowrap;
  filter: blur(2px);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--bordo);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
.feature-arrival h3 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0;
}

h1 {
  max-width: 960px;
  margin-bottom: 22px;
  color: var(--bordo-deep);
  font-size: clamp(46px, 7.6vw, 96px);
  line-height: 0.95;
}

.hero-description {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
}

h2 {
  margin-bottom: 16px;
  color: var(--bordo-deep);
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.02;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.hero-copy p:not(.eyebrow),
.section-heading p,
.brand-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

@media (min-width: 761px) {
  .hero { padding-top: 32px; padding-bottom: 32px; }
  .hero::after { font-size: 160px; }
  .hero-description { font-size: 18px; }
  .hero-actions { margin-top: 14px; }
  .hero .button { min-height: 40px; padding: 0 18px; font-size: 14px; }
}

.button,
.product-info button,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

.primary,
.product-info button,
.contact-form button,
.dark {
  color: var(--cream);
  background: var(--bordo);
  border: 1px solid var(--bordo);
}

.primary:hover,
.product-info button:hover,
.contact-form button:hover,
.dark:hover {
  background: var(--bordo-deep);
}

.secondary {
  color: var(--bordo);
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(90, 24, 32, 0.24);
}

.shop-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bordo);
}

.shop-strip p {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 84px;
  margin: 0;
  padding: 18px clamp(18px, 4vw, 42px);
  color: var(--cream);
  border-right: 1px solid rgba(243, 234, 220, 0.18);
}

.shop-strip p:last-child {
  border-right: 0;
}

.shop-strip strong {
  color: rgba(243, 234, 220, 0.6);
}

.section,
.new-arrivals,
.guide,
.brand-story,
.contact {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.collection {
  padding-top: clamp(52px, 5vw, 64px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter {
  min-height: 42px;
  padding: 0 16px;
  color: var(--bordo);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

.filter.active,
.filter:hover {
  color: var(--cream);
  background: var(--bordo);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  background: #e2e4df;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(45, 17, 22, 0.08);
}

.product-visual {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

a.product-visual { text-decoration: none; }
a.product-visual:focus-visible { outline: 2px solid var(--bordo); outline-offset: 3px; }

.product-visual::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(243, 234, 220, 0.48);
  border-radius: 8px;
}

.product-visual span {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  padding: 7px 10px;
  color: var(--bordo);
  background: rgba(243, 234, 220, 0.86);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.product-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #eee4d8;
}

.product-visual[href="/productos/aura-set/"] img {
  object-fit: cover;
  object-position: center;
}

.garment-shape {
  width: 42%;
  height: 62%;
  background: rgba(243, 234, 220, 0.92);
  border-radius: 42% 42% 22% 22% / 18% 18% 52% 52%;
  box-shadow: inset 0 -26px 0 rgba(90, 24, 32, 0.12);
}

.rose {
  background: linear-gradient(145deg, var(--vanilla-silk), #a66562);
}

.cream {
  background: linear-gradient(145deg, var(--vanilla-silk), var(--alpine-oat));
}

.bordo {
  background: linear-gradient(145deg, var(--cherry-velvet), var(--bordeaux-noir));
}

.black {
  background: linear-gradient(145deg, var(--warm-greige), var(--bordeaux-noir));
}

.product-info {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.product-card .product-info {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 7px;
  padding: 14px 16px 16px;
  background: #e2e4df;
}

.product-card .product-info h3 {
  margin: 0;
  font-size: 20px;
}

.product-card .product-info span {
  line-height: 1.45;
}

.product-info p {
  margin: 0;
  color: var(--bordo);
  font-size: 13px;
  font-weight: 800;
}

.product-info span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.product-info button {
  width: 100%;
  min-height: 44px;
  margin-top: 6px;
}

.product-card .product-info button,
.product-card .product-card-link {
  margin-top: 0;
}

.product-card-link {
  display: inline-flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  color: var(--cream);
  background: var(--bordo);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.product-card-link:hover { background: var(--bordo-deep); }
.product-card-link:focus-visible { outline: 2px solid var(--bordo); outline-offset: 3px; }

.collection-slot .product-info > span {
  min-height: 2.9em;
}

.collection-slot .product-card-link:disabled {
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  cursor: default;
}

.new-arrivals {
  background: var(--cream-deep);
}

.arrival-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
  align-items: stretch;
}

.feature-arrival {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 440px;
  padding: clamp(24px, 4vw, 42px);
  color: var(--cream);
  background:
    radial-gradient(circle at 74% 18%, rgba(243, 234, 220, 0.18), transparent 26%),
    linear-gradient(145deg, var(--cherry-velvet), var(--bordeaux-noir));
  border-radius: 8px;
  overflow: hidden;
}

.feature-arrival span {
  margin-bottom: auto;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.feature-arrival h3 {
  max-width: 540px;
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
}

.feature-arrival p {
  max-width: 560px;
  color: rgba(243, 234, 220, 0.84);
  line-height: 1.65;
}

.feature-arrival .button {
  align-self: flex-start;
  margin-top: 12px;
  background: var(--cream);
  color: var(--bordo);
  border-color: var(--cream);
}

.arrival-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.arrival-card {
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: var(--cream);
  background-image: linear-gradient(0deg, rgba(49, 16, 23, 0.9), rgba(49, 16, 23, 0.08) 78%), var(--arrival-image);
  background-position: center;
  background-size: cover;
  border-radius: 8px;
  overflow: hidden;
}

.arrival-card span {
  margin-bottom: auto;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.arrival-card h3 {
  max-width: 160px;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 30px;
  line-height: 1.05;
}

.arrival-card a {
  align-self: flex-start;
  margin-top: 14px;
  color: var(--cream);
  font-size: 14px;
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.guide {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  background: var(--cream);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.steps li {
  min-height: 260px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.steps span {
  display: block;
  margin-bottom: 68px;
  color: var(--bordo);
  font-weight: 800;
  text-transform: uppercase;
}

.steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.brand-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  padding: 28px clamp(18px, 5vw, 72px);
  background: var(--bordo);
}

.brand-copy {
  max-width: 760px;
}

.brand-copy,
.brand-copy h2,
.brand-copy .eyebrow {
  color: var(--cream);
}

.brand-copy p {
  margin: 0;
  color: rgba(243, 234, 220, 0.78);
  font-size: 14px;
  line-height: 1.55;
}

.brand-copy .eyebrow {
  margin-bottom: 8px;
  font-size: 11px;
}

.brand-copy h2 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.2;
}

.brand-values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.brand-values span {
  padding: 5px 9px;
  color: var(--cream);
  border: 1px solid rgba(243, 234, 220, 0.28);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.brand-social {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 9px;
}

.brand-social-link {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  padding: 0;
  color: var(--cream);
  border: 1px solid rgba(243, 234, 220, .42);
  border-radius: 50%;
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

.brand-social-link svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-social-link .social-icon-fill,
.brand-social-link .social-icon-solid {
  fill: currentColor;
  stroke: none;
}

.brand-social-link:hover {
  color: var(--bordo);
  background: var(--cream);
  border-color: var(--cream);
}

.brand-social-link:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 3px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  background: linear-gradient(135deg, var(--vanilla-silk), var(--alpine-oat));
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--bordo-deep);
  font-size: 14px;
  font-weight: 800;
}

.contact-form [hidden] { display: none; }

.order-summary-price,
.order-summary-payment {
  margin: 0;
  color: var(--bordo-deep);
  font-size: 14px;
  line-height: 1.5;
}

.order-summary-price { font-weight: 700; }

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 13px;
  color: var(--ink);
  background: #fffefa;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(90, 24, 32, 0.16);
  border-color: var(--bordo);
}

.contact-form button {
  border: 0;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--bordo);
  font-size: 14px;
  font-weight: 800;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: var(--cream);
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 0;
}

.footer a,
.footer-legal a {
  color: var(--bordo);
  font-weight: 800;
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
}

.legal-page {
  width: min(860px, calc(100% - 36px));
  margin: 0 auto;
  padding: 72px 0 56px;
}

.legal-page h1,
.legal-page h2 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--bordo-deep);
}

.legal-page h1 {
  margin: 6px 0 24px;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.08;
}

.legal-page h2 {
  margin: 28px 0 10px;
  font-size: 21px;
}

.legal-page p,
.legal-page li,
.legal-page td,
.legal-page th {
  font-size: 15px;
  line-height: 1.7;
}

.legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  background: rgba(255, 255, 255, 0.38);
}

.legal-page th,
.legal-page td {
  padding: 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-review-note {
  margin: 22px 0;
  padding: 16px 18px;
  border-left: 3px solid var(--bordo);
  background: rgba(255, 255, 255, 0.52);
}

.legal-page code {
  overflow-wrap: anywhere;
}

@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .collection-spotlight {
    grid-template-columns: minmax(210px, 0.9fr) repeat(3, minmax(0, 1fr));
  }

  .spotlight-copy {
    padding: 22px;
  }

  .spotlight-copy h2 {
    max-width: none;
    font-size: 36px;
    overflow-wrap: break-word;
  }

  .arrival-layout,
  .guide,
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) and (min-width: 761px) {
  .collection-spotlight {
    grid-template-columns: 1fr;
  }

  .spotlight-products {
    grid-column: auto;
  }

  .spotlight-copy h2 {
    max-width: 620px;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 40px;
    padding: 0 18px;
  }

  .brand {
    width: 110px;
    min-width: 0;
    height: 36px;
    font-size: 24px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    padding: 9px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 40px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    color: var(--ink);
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-header.nav-active .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 11px 12px;
  }

  .top-carousel {
    padding: 48px 0 0;
  }

  .carousel-shell {
    height: auto;
    aspect-ratio: 3 / 2;
    min-height: 0;
    max-height: none;
  }

  .carousel-slide:nth-child(1) img {
    object-position: 48% 24%;
  }

  .carousel-slide:nth-child(2) img {
    object-position: 51% center;
  }

  .carousel-slide:nth-child(3) img {
    object-position: 41% 22%;
  }

  .carousel-copy {
    right: 18px;
    bottom: 52px;
    left: 18px;
    width: auto;
    gap: 7px;
  }

  .carousel-copy h2 {
    max-width: 320px;
    font-size: 29px;
    line-height: 1;
  }

  .carousel-copy p {
    max-width: 300px;
    font-size: 13px;
    line-height: 1.3;
  }

  .carousel-cta {
    min-height: 40px;
    padding: 0 14px;
  }

  .carousel-control {
    width: 36px;
    height: 36px;
    top: 18px;
    transform: none;
  }

  .carousel-control:hover {
    transform: scale(1.04);
  }

  .carousel-control span {
    font-size: 28px;
  }

  .carousel-dots { bottom: 10px; }

  .hero {
    min-height: auto;
    padding: 42px 18px;
  }

  .hero::after { font-size: 100px; }
  .hero-description { font-size: 18px; }

  .collection-spotlight {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 12px;
  }

  .spotlight-products {
    grid-column: auto;
    display: grid;
    grid-template-columns: none;
    grid-template-rows: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(78vw, 1fr);
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
  }

  .spotlight-products > .spotlight-product {
    grid-row: auto;
  }

  .spotlight-copy {
    height: auto;
    min-height: 0;
    padding: 24px 18px;
  }

  .spotlight-product {
    height: clamp(360px, 105vw, 440px);
    min-height: 0;
    aspect-ratio: 4 / 5;
    scroll-snap-align: start;
  }

  .spotlight-product img {
    min-height: 0;
  }

  .spotlight-copy h2 {
    max-width: 100%;
    font-size: 34px;
    line-height: 1.08;
  }

  .shop-strip,
  .product-grid,
  .arrival-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .shop-strip p {
    border-right: 0;
    border-bottom: 1px solid rgba(243, 234, 220, 0.18);
  }

  .feature-arrival,
  .arrival-card {
    min-height: 320px;
  }

  .steps li {
    min-height: auto;
  }

  .steps span {
    margin-bottom: 24px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-legal {
    justify-content: flex-start;
  }

  .legal-page table,
  .legal-page thead,
  .legal-page tbody,
  .legal-page tr,
  .legal-page th,
  .legal-page td {
    display: block;
  }

  .legal-page th {
    border-bottom: 0;
  }

  .brand-story {
    grid-template-columns: 1fr;
  }

  .brand-social {
    justify-self: end;
  }
}

.spotlight-product {
  text-decoration: none;
}

.product-page {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 88px 36px 72px;
}

.product-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--bordo);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.product-back span {
  font-size: 20px;
  line-height: 1;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.85fr);
  align-items: start;
  gap: 56px;
}

.product-gallery {
  display: grid;
  min-width: 0;
  gap: 14px;
}

.product-standard .product-gallery-stage {
  position: relative;
  min-width: 0;
}

.product-gallery-main {
  display: flex;
  width: 100%;
  height: min(74vh, 720px);
  min-height: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: transparent;
  touch-action: pan-y;
  cursor: zoom-in;
}

.product-gallery-main:focus-visible,
.product-thumbnail:focus-visible,
.nova-section button:focus-visible {
  outline: 2px solid var(--bordo);
  outline-offset: 3px;
}

.product-gallery-main img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-size: 13px;
}

.product-gallery-toolbar button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--bordo);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.product-gallery-toolbar button:disabled {
  opacity: 0.38;
  cursor: default;
}

.product-standard .product-gallery-toolbar {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  pointer-events: none;
}

.product-standard .product-gallery-toolbar button {
  width: 34px;
  height: 34px;
  padding: 0;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  box-shadow: 0 4px 14px rgb(49 16 23 / 10%);
  pointer-events: auto;
}

.product-standard .product-gallery-toolbar span {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  pointer-events: none;
}

.product-standard .product-gallery-thumbnails {
  margin-top: 38px;
}

.product-gallery-thumbnails {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  min-width: 0;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scrollbar-width: thin;
}

.product-thumbnail {
  flex: 0 0 68px;
  width: 68px;
  aspect-ratio: 4 / 5;
  padding: 3px;
  overflow: hidden;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
}

.product-thumbnail.is-active {
  border-color: var(--bordo);
}

.product-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body.product-photo-open { overflow: hidden; }

.product-photo-lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 16px;
  border: 0;
  background: rgba(26, 19, 21, 0.97);
  color: var(--cream);
}

.product-photo-lightbox[open] {
  display: grid;
  place-items: center;
}

.product-photo-lightbox::backdrop { background: rgba(26, 19, 21, 0.75); }

.product-photo-lightbox img {
  display: block;
  max-width: 100%;
  max-height: calc(100dvh - 32px);
  object-fit: contain;
}

.product-photo-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  color: var(--cream);
  background: rgba(26, 19, 21, 0.7);
  border: 1px solid rgba(243, 234, 220, 0.65);
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.product-photo-close:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }

.product-detail-layout > .product-info {
  align-self: start;
  padding: 0 0 30px;
}

.product-info h1 {
  margin: 8px 0 14px;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 48px;
  line-height: 1.08;
}

.product-page-price {
  margin: 0 0 20px;
  color: var(--bordo);
  font-size: 17px;
  font-weight: 700;
}

.product-standard .product-info .product-page-price {
  font-size: 20px;
  line-height: 1.2;
}

.product-page-description {
  margin: 0 0 26px;
  color: var(--muted);
  line-height: 1.65;
}

.product-standard .product-info .product-page-description {
  font-size: 15px;
  line-height: 1.65;
}

.product-page-details {
  display: grid;
  margin: 0 0 28px;
}

.product-page-details div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.product-page-details dt {
  color: var(--bordo);
  font-size: 13px;
  font-weight: 700;
}

.product-page-details dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.product-page-details .muse-model-details,
.product-page-details .nova-model-details { padding: 10px 0; }
.product-page-details .muse-model-details dd,
.product-page-details .nova-model-details dd { font-size: 13px; }

.product-order-button {
  display: inline-flex;
  justify-content: center;
  text-decoration: none;
}

.product-standard .product-info .product-order-button {
  width: 100%;
  min-height: 48px;
  margin-top: 0;
  font-size: 16px;
  line-height: 1.25;
}

.product-purchase-block { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); gap: 9px; align-items: stretch; }
.product-purchase-block .product-order-button,
.product-purchase-block .product-cart-button { width: 100%; min-height: 48px; margin: 0; }
.product-purchase-block .product-cart-button { color: var(--bordo); background: transparent; border: 1px solid var(--bordo); }
.product-purchase-block .product-cart-button:hover { color: var(--cream); background: var(--bordo); }
.product-purchase-block button:disabled { cursor: not-allowed; opacity: .48; }
.product-purchase-quantity { display: grid; grid-template-columns: 34px 30px 34px; align-items: center; border: 1px solid var(--line); border-radius: 6px; background: #fffdf9; }
.product-purchase-quantity button { min-height: 46px; padding: 0; color: var(--bordo); background: transparent; border: 0; }
.product-purchase-quantity output { text-align: center; font-weight: 700; }
.product-cart-feedback { grid-column: 1 / -1; min-height: 18px; margin: 0; color: var(--bordo); font-size: 12px; font-weight: 700; }

.product-order-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.product-standard .product-info .product-order-note {
  color: var(--bordo);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.inventory-retry-button {
  margin-top: 8px;
  padding: 0;
  color: var(--bordo);
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.inventory-retry-button[hidden] {
  display: none;
}

.inventory-retry-button:focus-visible {
  outline: 2px solid var(--bordo);
  outline-offset: 3px;
}

#productPage button.is-inventory-unverified {
  color: #978d87;
  background: rgba(255, 253, 249, 0.42);
  border-style: dashed;
  cursor: not-allowed;
}

.nova-color {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.nova-color-swatch {
  width: 22px;
  height: 22px;
  background: #141414;
  border: 2px solid var(--cream);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--bordo);
}

.nova-size-options,
.nova-guide-tabs,
.nova-view-toggle,
.nova-feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nova-size-options button,
.nova-guide-tabs button,
.nova-view-toggle button,
.nova-feature-list button {
  min-width: 42px;
  min-height: 40px;
  padding: 7px 14px;
  color: var(--bordo);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.product-info .nova-size-options button {
  width: 42px;
  min-height: 42px;
  margin: 0;
  padding: 0;
  color: var(--bordo);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.nova-size-options button[aria-pressed="true"],
.nova-guide-tabs button[aria-pressed="true"],
.nova-view-toggle button[aria-pressed="true"],
.nova-feature-list button[aria-pressed="true"] {
  color: var(--cream);
  background: var(--bordo);
  border-color: var(--bordo);
}

.product-info .nova-size-options button[aria-pressed="true"] {
  color: var(--cream);
  background: var(--bordo);
  border-color: var(--bordo);
}

#productPage button[data-inventory-state="empty"] {
  position: relative;
  color: #978d87;
  background: rgba(255, 253, 249, 0.42);
  border-color: #d8cec5;
  cursor: pointer;
  opacity: 1;
}

#productPage button.is-sold-out,
#productPage button[data-inventory-state="inactive"],
#productPage button.is-inventory-blocked {
  position: relative;
  color: #978d87;
  background: rgba(255, 253, 249, 0.42);
  border-color: #d8cec5;
  cursor: not-allowed;
  opacity: 1;
}

#productPage button.is-sold-out::after,
#productPage button[data-inventory-state="inactive"]::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 14%;
  right: 14%;
  height: 1px;
  background: currentColor;
  transform: rotate(-10deg);
  pointer-events: none;
}

#productPage button[data-inventory-state="empty"]::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 14%;
  right: 14%;
  height: 1px;
  background: currentColor;
  transform: rotate(-10deg);
  transform-origin: center;
  pointer-events: none;
}

#productPage button[data-inventory-state="empty"]:focus-visible {
  outline: 2px solid var(--bordo);
  outline-offset: 3px;
}

.nova-section {
  padding: 76px 0;
  border-top: 1px solid var(--line);
}

.product-standard .product-page > .nova-section:first-of-type {
  padding-top: 52px;
}

.product-recommendations {
  padding: 56px 0 0;
  border-top: 1px solid var(--line);
}

.product-recommendations h2 {
  margin: 0 0 28px;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 36px;
  line-height: 1.12;
}

.recommendations-grid {
  width: 100%;
  max-width: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nova-section-heading {
  max-width: 580px;
  margin-bottom: 32px;
}

.nova-section-heading h2 {
  margin: 0;
  font-size: clamp(32px, 3.5vw, 46px);
  line-height: 1.12;
}

.nova-section-heading > p:last-child:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.muse-step-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.muse-step-controls button {
  display: flex;
  min-height: 88px;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 8px 12px 0;
  color: var(--bordo-deep);
  background: transparent;
  border: 0;
  border-top: 2px solid var(--line);
  text-align: left;
  cursor: pointer;
}

.muse-step-controls button[aria-pressed="true"] { border-color: var(--bordo); }
.muse-step-controls button span { color: var(--bordo); font-size: 12px; font-weight: 700; }
.muse-step-controls button strong { font-family: "Playfair Display", Georgia, serif; font-size: 20px; line-height: 1.2; }

.muse-step-description {
  min-height: 64px;
  max-width: 72ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.muse-wear { padding: 42px 0 48px; }
.muse-wear .nova-section-heading { margin-bottom: 22px; }
.muse-wear .nova-section-heading h2 { font-size: 30px; }
.muse-wear .muse-step-controls { gap: 14px; }
.muse-wear .muse-step-controls button { min-height: 70px; gap: 8px; padding: 12px 8px 8px 0; }
.muse-wear .muse-step-controls button strong { font-size: 17px; }
.muse-wear .muse-step-description { min-height: 44px; margin-top: 12px; font-size: 14px; line-height: 1.5; }

.nova-feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: clamp(28px, 6vw, 88px);
}

.product-standard .nova-feature-layout {
  align-items: start;
}

.product-standard .nova-feature-number {
  margin-top: 0;
}

.nova-feature-visual {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #eee9df;
  scroll-margin-top: 80px;
}

.nova-feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 300ms ease;
}

.nova-feature-visual img[data-nova-zoom="underbust"] { transform: scale(2.5); transform-origin: 52% 53%; }
.nova-feature-visual img[data-nova-zoom="abdomen"] { transform: scale(2.4); transform-origin: 51% 58%; }
.nova-feature-visual img[data-nova-zoom="tanga"] { transform: scale(1.45); transform-origin: 51% 58%; }
.luna-features img[data-nova-zoom="luna-waist"] { transform: scale(2.35); transform-origin: 56% 40%; }

.muse-features img[data-nova-zoom="muse-seams"] { transform: translateY(-8%) scale(1.8); transform-origin: 50% 62%; }
.muse-features img[data-nova-zoom="muse-bust"] { transform: translateY(-10%) scale(1.45); transform-origin: 52% 70%; }
.muse-features img[data-nova-zoom="muse-closure"] { transform: translateY(-27%) scale(2.2); transform-origin: 50% 84%; }
.muse-features img[data-nova-zoom="muse-thong"] { transform: translateY(-7%) scale(1.8); transform-origin: 50% 65%; }

.nova-hotspot {
  position: absolute;
  left: var(--hotspot-x);
  top: var(--hotspot-y);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: var(--bordo);
  background: var(--cream);
  border: 1px solid var(--bordo);
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(45, 17, 22, 0.2);
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, scale 180ms ease;
}

.nova-hotspot[hidden] { display: none; }

.nova-hotspot[aria-pressed="true"] {
  color: var(--cream);
  background: var(--bordo);
  scale: 1.12;
}

.nova-feature-content h3 {
  margin: 0 0 14px;
  color: var(--bordo-deep);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(30px, 3.3vw, 44px);
}

.nova-feature-description {
  min-height: 58px;
  max-width: 38ch;
  color: var(--muted);
  line-height: 1.6;
}

.nova-feature-content .nova-view-toggle {
  margin-top: 16px;
}

.nova-feature-return {
  padding: 0;
  color: var(--bordo);
  background: none;
  border: 0;
  border-bottom: 1px solid currentColor;
  cursor: pointer;
}

.nova-feature-return[hidden] { display: none; }

.nova-feature-list button:disabled {
  color: var(--muted);
  background: transparent;
  border-style: dashed;
  cursor: not-allowed;
  opacity: 0.7;
}

.nova-feature-list button[hidden] { display: none; }

.nova-feature-number {
  margin: 36px 0 10px;
  color: var(--bordo);
  font-size: 12px;
  font-weight: 700;
}

.nova-feature-list {
  margin-top: 28px;
}

.nova-size-guide {
  padding-bottom: 24px;
}

.nova-inline-size-guide {
  margin-top: 32px;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
}

.nova-inline-size-guide .nova-section-heading {
  margin-bottom: 20px;
}

.nova-inline-size-guide .nova-section-heading h2 {
  font-size: 28px;
}

.nova-inline-size-guide .nova-guide-result dl {
  gap: 10px;
}

.nova-inline-wear {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.nova-inline-wear h2 {
  margin: 0 0 18px;
  color: var(--bordo-deep);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  line-height: 1.2;
}

.nova-inline-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nova-inline-steps li {
  min-width: 0;
  padding-top: 9px;
  border-top: 1px solid var(--line);
}

.nova-inline-steps span {
  display: block;
  margin-bottom: 5px;
  color: var(--bordo);
  font-size: 11px;
  font-weight: 700;
}

.nova-inline-steps strong {
  display: block;
  margin-bottom: 5px;
  color: var(--bordo-deep);
  font-size: 14px;
  line-height: 1.3;
}

.nova-inline-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.nova-inline-size-guide .muse-guide-result dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.nova-guide-tabs {
  margin-bottom: 20px;
}

.nova-guide-result {
  max-width: 720px;
  border-top: 1px solid var(--line);
}

.nova-guide-result > strong {
  display: block;
  padding: 20px 0 8px;
  color: var(--bordo-deep);
  font-size: 18px;
}

.nova-guide-source {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 13px;
}

.nova-guide-result dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}

.nova-guide-result dl div {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.nova-guide-result dt {
  margin-bottom: 7px;
  color: var(--bordo);
  font-size: 13px;
  font-weight: 700;
}

.nova-guide-result dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.luna-color-options,
.luna-size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-info .luna-color-options button {
  display: inline-flex;
  width: auto;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  min-height: 28px;
  margin-top: 0;
  padding: 0 4px;
  color: var(--ink);
  background: transparent;
  border: 0;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.luna-color-swatch {
  display: block;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border: 2px solid var(--cream);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line);
}

.luna-color-swatch.is-black { background: #161416; }
.luna-color-swatch.is-brown { background: #543126; }
.product-info .luna-color-options button[aria-pressed="true"] .luna-color-swatch { box-shadow: 0 0 0 2px var(--bordo); }

.product-info .luna-size-options button {
  width: auto;
  min-width: 60px;
  height: 42px;
  min-height: 42px;
  margin: 0;
  padding: 0 12px;
  color: var(--bordo);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
}

.product-info .luna-size-options button[aria-pressed="true"] {
  color: var(--cream);
  background: var(--bordo);
  border-color: var(--bordo);
}

.product-info .luna-color-options button:focus-visible,
.product-info .luna-size-options button:focus-visible,
.product-info [data-luna-order]:focus-visible {
  outline: 2px solid var(--bordo);
  outline-offset: 3px;
}

.product-info [data-luna-order]:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.luna-guide-tabs button { min-width: 64px; }
.luna-guide-result { max-width: 720px; }
.luna-guide-result dd { white-space: normal; }

@media (max-width: 900px) {
  .muse-step-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .recommendations-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .product-page {
    padding: 82px 16px 48px;
  }

  .product-back {
    margin-bottom: 16px;
  }

  .product-detail-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .product-gallery-main {
    height: min(68vh, 560px);
  }

  .product-detail-layout > .product-info {
    padding: 8px 0 24px;
  }

  .product-info h1 {
    font-size: 36px;
  }

  .product-order-button {
    width: 100%;
  }

  .nova-section { padding: 54px 0; }
  .product-standard .product-page > .nova-section:first-of-type { padding-top: 54px; }
  .product-recommendations { padding-top: 44px; }
  .product-recommendations h2 { margin-bottom: 22px; font-size: 30px; }
  .product-recommendations .recommendations-grid {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(82%, 1fr);
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }
  .product-recommendations .recommendation-card { scroll-snap-align: start; }
  .nova-inline-steps { grid-template-columns: 1fr; gap: 12px; }
  .nova-inline-steps li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 0 8px; }
  .nova-inline-steps span { grid-row: span 2; margin: 0; }
  .nova-inline-steps strong { margin-bottom: 3px; }
  .nova-inline-steps p { grid-column: 2; }
  .muse-step-controls { gap: 10px; }
  .muse-step-controls button { min-height: 100px; }
  .muse-step-controls button strong { font-size: 18px; }
  .muse-wear { padding: 36px 0 40px; }
  .muse-wear .muse-step-controls button { min-height: 76px; }
  .nova-feature-layout { grid-template-columns: 1fr; gap: 26px; }
  .nova-feature-visual { margin: 0 auto; }
  .nova-hotspot { width: 42px; height: 42px; }
  .nova-feature-number { margin-top: 20px; }
  .nova-guide-result dl { gap: 8px; }
  .nova-guide-result dd { font-size: 12px; }
  .nova-inline-size-guide .nova-guide-result dl { grid-template-columns: 1fr; gap: 0; }
  .nova-inline-size-guide .nova-guide-result dl div { display: flex; justify-content: space-between; gap: 12px; }
  .nova-inline-size-guide .nova-guide-result dd { font-size: 14px; text-align: right; }
  .luna-guide-result dl { grid-template-columns: 1fr; gap: 0; }
  .luna-guide-result dl div { display: flex; justify-content: space-between; gap: 12px; }
  .luna-guide-result dd { font-size: 14px; text-align: right; }
}

@media (prefers-reduced-motion: reduce) {
  .nova-section button { transition: none; }
  .nova-feature-visual img { transition: none; }
}

/* Legal pages keep their own compact reading scale. */
.legal-page {
  width: min(760px, calc(100% - 36px));
  padding: 56px 0 40px;
}

.legal-page h1 {
  margin: 4px 0 18px;
  font-size: 26px;
  line-height: 1.2;
}

.legal-page h2,
.legal-page h3 {
  margin: 22px 0 8px;
  font-size: 18px;
  line-height: 1.3;
}

.legal-page p,
.legal-page li {
  font-size: 14px;
  line-height: 1.5;
}

.legal-page table {
  margin: 14px 0;
  font-size: 13px;
}

.legal-page th,
.legal-page td {
  padding: 8px;
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.footer-legal {
  font-size: 12px;
}

@media (max-width: 760px) {
  .legal-page {
    width: min(100% - 28px, 760px);
    padding-top: 52px;
  }

  .legal-page table {
    display: table;
    width: 100%;
    table-layout: fixed;
  }

  .legal-page thead,
  .legal-page tbody {
    display: table-row-group;
  }

  .legal-page tr {
    display: table-row;
  }

  .legal-page th,
  .legal-page td {
    display: table-cell;
    padding: 8px 6px;
    font-size: 12px;
    overflow-wrap: anywhere;
  }
}

.cart-nav-link { display: inline-flex; align-items: center; gap: 7px; }
.cart-count { min-width: 21px; height: 21px; padding: 0 6px; border-radius: 50%; color: var(--cream); background: var(--bordo); font-size: 11px; line-height: 21px; text-align: center; }
.cart-page { background: #f7efe4; }
.cart-page .site-header { min-height: 40px; background: rgba(250, 246, 239, .96); border-bottom-color: var(--line); }
.cart-page .brand { font-size: 24px; }
.cart-main { min-height: 70vh; padding: 48px 0 48px; }
.cart-masthead { min-height: 184px; background-color: #eee2d5; background-image: url("/assets/cava-campaign-photo-blended.webp"); background-position: 66% 31%; background-size: cover; }
.cart-masthead-copy { display: flex; flex-direction: column; justify-content: center; width: 48%; min-height: 184px; padding: 28px max(28px, calc((100vw - 1340px) / 2 + 28px)); background: rgba(247, 239, 228, .91); }
.cart-masthead .eyebrow { margin: 0 0 6px; }
.cart-masthead h1 { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: clamp(38px, 4.5vw, 58px); line-height: 1; letter-spacing: 0; }
.cart-masthead a { align-self: flex-start; margin-top: 16px; color: var(--bordo); font-size: 14px; font-weight: 700; }
.cart-shell { max-width: 1340px; margin: 0 auto; padding: 18px 28px 0; }
.cart-empty { max-width: 620px; padding: 54px 0; }
.cart-empty h1 { font-family: "Playfair Display", Georgia, serif; font-size: 34px; letter-spacing: 0; overflow-wrap: anywhere; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(380px, .9fr); gap: 24px; align-items: start; }
.cart-products { min-width: 0; }
.shipping-goal { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 24px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 252, 247, .68); }
.shipping-goal-copy { display: grid; gap: 5px; }
.shipping-goal-copy strong { font-family: "Playfair Display", Georgia, serif; font-size: 19px; }
.shipping-goal-copy small { color: var(--muted); font-size: 13px; }
.shipping-goal-meta { display: grid; justify-items: end; align-content: center; gap: 4px; font-size: 13px; }
.shipping-goal-meta b { color: var(--bordo); }
.shipping-track { grid-column: 1 / -1; width: 100%; height: 7px; overflow: hidden; background: #ddd0c4; border-radius: 7px; }
.shipping-track span { display: block; width: 0; height: 100%; background: var(--bordo); transition: width .25s ease; }
.cart-section-heading { padding: 26px 4px 10px; border-bottom: 1px solid var(--line); }
.cart-section-heading h2 { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: 27px; font-weight: 600; letter-spacing: 0; }
.cart-items { display: grid; }
.cart-line { display: grid; grid-template-columns: 116px minmax(0, 1fr) auto; gap: 20px; padding: 18px 4px; border-bottom: 1px solid var(--line); align-items: center; }
.cart-line > img { width: 116px; aspect-ratio: 4 / 5; object-fit: cover; background: #eee4d8; border-radius: 6px; }
.cart-line h2 { margin: 0 0 5px; font-family: "Playfair Display", Georgia, serif; font-size: 23px; letter-spacing: 0; }
.cart-line p { margin: 0 0 6px; color: var(--muted); font-size: 14px; }
.cart-line .cart-line-status { color: var(--bordo); font-size: 12px; font-weight: 700; line-height: 1.4; }
.cart-line > strong { align-self: center; white-space: nowrap; font-family: "Playfair Display", Georgia, serif; font-size: 18px; }
.cart-unit-price { font-size: 12px !important; }
.cart-quantity { display: inline-grid; grid-template-columns: 34px 38px 34px; align-items: center; border: 1px solid var(--line); border-radius: 4px; }
.cart-quantity button { width: 34px; height: 34px; border: 0; background: transparent; font-size: 17px; cursor: pointer; }
.cart-quantity span { text-align: center; }
.cart-remove { display: block; margin-top: 7px; padding: 2px 0; border: 0; color: var(--bordo); background: transparent; font-size: 12px; text-decoration: underline; cursor: pointer; }
.checkout-panel { position: sticky; top: 78px; padding: 0 24px 22px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 252, 247, .78); }
.checkout-panel h2 { margin: 0 0 12px; font-family: "Playfair Display", Georgia, serif; font-size: 22px; letter-spacing: 0; }
.checkout-section { padding: 18px 0 0; border-top: 1px solid var(--line); }
.cart-totals { margin: 0; }
.cart-totals > div { display: flex; justify-content: space-between; gap: 20px; padding: 6px 0; font-size: 14px; }
.cart-totals dd { margin: 0; font-weight: 600; text-align: right; }
.cart-total { margin-top: 7px; padding-top: 13px !important; border-top: 1px solid var(--line); font-family: "Playfair Display", Georgia, serif; font-size: 19px !important; font-weight: 700; }
.discount-box { margin: 0; padding: 20px 0 16px; }
.discount-box label { display: block; margin-bottom: 9px; font-family: "Playfair Display", Georgia, serif; font-size: 21px; font-weight: 600; }
.discount-box > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.discount-suggestion { width: 100%; margin: 8px 0 0; padding: 10px 12px; color: var(--bordo); background: rgba(90, 24, 32, .055); border: 1px solid rgba(90, 24, 32, .16); border-radius: 4px; font: inherit; font-size: 12px; font-weight: 700; text-align: left; cursor: pointer; }
.discount-suggestion:hover { background: rgba(90, 24, 32, .09); }
.discount-suggestion:focus-visible { outline: 2px solid var(--bordo); outline-offset: 2px; }
.discount-box input, .discount-box > div button, .checkout-form input, .checkout-form select, .checkout-form textarea { min-height: 42px; border: 1px solid var(--line); border-radius: 4px; background: #fffdf9; font: inherit; }
.discount-box input { min-width: 0; padding: 9px 11px; border-radius: 4px 0 0 4px; text-transform: uppercase; }
.discount-box > div button { padding: 0 17px; color: var(--cream); background: var(--bordo-deep); border-radius: 0 4px 4px 0; cursor: pointer; }
.discount-box p { min-height: 16px; margin: 6px 0 0; color: var(--muted); font-size: 11px; }
.checkout-form { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 12px; }
.checkout-form label { display: grid; gap: 5px; font-size: 12px; font-weight: 700; }
.checkout-wide { grid-column: 1 / -1; }
.checkout-form input, .checkout-form select, .checkout-form textarea { width: 100%; padding: 9px 10px; }
.checkout-form textarea { min-height: 58px; resize: vertical; }
.checkout-turnstile { min-height: 0; overflow: hidden; }
.checkout-turnstile:not([hidden]) { min-height: 65px; }
.checkout-form .button { width: 100%; min-height: 46px; margin-top: 2px; }
.checkout-explainer { margin: 0; padding: 10px 12px; color: var(--muted); background: rgba(228, 211, 192, .3); font-size: 11px; line-height: 1.45; text-align: center; }
.checkout-status { min-height: 17px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.4; }
.order-success-dialog {
  width: min(540px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: visible;
  color: var(--ink);
  background: transparent;
  border: 0;
}
.order-success-dialog::backdrop { background: rgba(34, 18, 20, .62); backdrop-filter: blur(8px); }
.order-success-card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: clamp(34px, 6vw, 54px);
  overflow: hidden;
  text-align: center;
  background: #fffaf3;
  border: 1px solid rgba(90, 24, 32, .18);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(45, 17, 22, .28);
}
.order-success-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--bordo); }
.order-success-close-form { position: absolute; top: 16px; right: 16px; margin: 0; }
.order-success-close { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; color: var(--bordo); background: transparent; border: 1px solid var(--line); border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer; }
.order-success-close:focus-visible,
.order-success-continue:focus-visible { outline: 2px solid var(--bordo); outline-offset: 3px; }
.order-success-mark { display: grid; place-items: center; width: 72px; height: 72px; color: var(--cream); background: var(--bordo); border-radius: 50%; box-shadow: 0 10px 26px rgba(90, 24, 32, .2); }
.order-success-mark span { font-family: Georgia, serif; font-size: 36px; line-height: 1; }
.order-success-card .eyebrow { margin: 2px 0 -6px; }
.order-success-card h2 { max-width: 430px; margin: 0; color: var(--bordo-deep); font-family: "Playfair Display", Georgia, serif; font-size: clamp(30px, 5vw, 42px); line-height: 1.08; letter-spacing: 0; }
.order-success-card > p:not(.eyebrow) { max-width: 430px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.order-success-meta { display: grid; gap: 8px; width: 100%; margin: 4px 0; padding: 17px 20px; background: rgba(215, 199, 181, .24); border: 1px solid var(--line); border-radius: 6px; }
.order-success-meta span { justify-self: center; padding: 5px 11px; color: var(--bordo); background: rgba(90, 24, 32, .08); border-radius: 999px; font-size: 12px; font-weight: 800; }
.order-success-meta p { margin: 0; color: var(--muted); font-size: 13px; }
.order-success-meta strong { display: block; margin-top: 4px; color: var(--ink); font-size: 17px; overflow-wrap: anywhere; }
.order-success-continue { width: 100%; min-height: 48px; }
.welcome-promo-dialog {
  width: min(500px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: visible;
  color: var(--ink);
  background: transparent;
  border: 0;
}
.welcome-promo-dialog::backdrop { background: rgba(34, 18, 20, .52); backdrop-filter: blur(7px); animation: welcome-fade 260ms ease both; }
.welcome-promo-card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 15px;
  padding: clamp(38px, 7vw, 58px);
  overflow: hidden;
  text-align: center;
  background: linear-gradient(145deg, #fffaf3, #f3eadc);
  border: 1px solid rgba(90, 24, 32, .18);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(45, 17, 22, .26);
  animation: welcome-enter 360ms cubic-bezier(.2, .72, .28, 1) both;
}
.welcome-promo-card::before,
.welcome-promo-card::after { content: ""; position: absolute; pointer-events: none; }
.welcome-promo-card::before { inset: 0 0 auto; height: 5px; background: var(--bordo); }
.welcome-promo-card::after { width: 180px; height: 180px; right: -110px; bottom: -120px; border: 1px solid rgba(90, 24, 32, .12); border-radius: 50%; }
.welcome-promo-close { position: absolute; top: 15px; right: 15px; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; color: var(--bordo); background: rgba(255, 250, 243, .72); border: 1px solid var(--line); border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer; }
.welcome-promo-close:focus-visible,
.welcome-promo-cta:focus-visible { outline: 2px solid var(--bordo); outline-offset: 3px; }
.welcome-promo-brand { margin: 0 0 -5px; color: var(--bordo); font-size: 11px; font-weight: 800; letter-spacing: 1.8px; }
.welcome-promo-card h2 { max-width: 390px; margin: 0; color: var(--bordo-deep); font-family: "Playfair Display", Georgia, serif; font-size: clamp(30px, 5vw, 42px); line-height: 1.08; letter-spacing: 0; }
.welcome-promo-offer { display: block; margin: 2px 0; color: var(--bordo); font-family: "Playfair Display", Georgia, serif; font-size: clamp(31px, 6vw, 48px); line-height: 1; letter-spacing: 0; }
.welcome-promo-card > p:not(.welcome-promo-brand) { max-width: 360px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.welcome-promo-code { display: grid; grid-template-columns: 1fr auto; width: 100%; min-height: 46px; overflow: hidden; background: rgba(255, 250, 243, .72); border: 1px solid var(--line); border-radius: 5px; }
.welcome-promo-code code { display: grid; place-items: center; padding: 10px 14px; color: var(--bordo-deep); font-family: inherit; font-size: 16px; font-weight: 800; letter-spacing: 1.2px; }
.welcome-promo-code button { padding: 10px 17px; color: #fffaf3; background: var(--bordo); border: 0; border-left: 1px solid var(--bordo); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.welcome-promo-code button:focus-visible { outline: 2px solid var(--bordo); outline-offset: -4px; }
.welcome-promo-card > .welcome-promo-copy-status { min-height: 17px; margin: -8px 0 -5px; color: var(--bordo); font-size: 12px; font-weight: 700; line-height: 1.4; }
.welcome-promo-cta { width: 100%; min-height: 48px; margin-top: 3px; }
.welcome-promo-card small { max-width: 340px; color: var(--muted); font-size: 10px; line-height: 1.4; }
@keyframes welcome-enter { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes welcome-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .welcome-promo-card,
  .welcome-promo-dialog::backdrop { animation: none; }
}
.favorite-toggle { display: grid; width: 38px; height: 38px; min-height: 0; padding: 0; place-items: center; color: var(--bordo); background: rgba(255, 252, 247, .92); border: 1px solid rgba(90, 24, 32, .2); border-radius: 50%; font-family: Georgia, serif; font-size: 24px; line-height: 1; cursor: pointer; box-shadow: 0 5px 18px rgba(45, 17, 22, .12); }
.favorite-toggle:hover { color: #a21f32; background: #fff; }
.favorite-toggle.is-favorite { color: #a21f32; }
.product-card { position: relative; }
.product-card-favorite { position: absolute; z-index: 3; top: 12px; right: 12px; }
.product-page-favorite { position: absolute; z-index: 4; top: 14px; right: 14px; }
.favorite-nav-link { position: relative; display: grid; width: 38px; height: 38px; min-height: 0; padding: 0; place-items: center; color: currentColor; background: transparent; border: 0; font-family: Georgia, serif; font-size: 25px; cursor: pointer; }
.favorite-count { position: absolute; top: 0; right: -2px; min-width: 18px; height: 18px; padding: 0 5px; color: var(--cream); background: var(--bordo); border-radius: 50%; font: 700 10px/18px Inter, sans-serif; text-align: center; }
.favorites-open { overflow: hidden; }
.favorites-overlay { position: fixed; z-index: 120; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 520px); }
.favorites-overlay[hidden] { display: none; }
.favorites-backdrop { grid-column: 1; width: 100%; min-height: 100%; padding: 0; background: rgba(34, 18, 20, .48); border: 0; }
.favorites-drawer { grid-column: 2; height: 100vh; overflow-y: auto; padding: 26px; background: #f8f0e5; box-shadow: -16px 0 42px rgba(45, 17, 22, .16); }
.favorites-drawer > header { display: flex; justify-content: space-between; gap: 18px; align-items: start; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.favorites-drawer h2 { margin: 3px 0 0; font-family: "Playfair Display", Georgia, serif; font-size: 31px; letter-spacing: 0; }
.favorites-close { width: 40px; height: 40px; padding: 0; color: var(--bordo); background: transparent; border: 1px solid var(--line); border-radius: 50%; font-size: 27px; cursor: pointer; }
.favorites-list { display: grid; gap: 18px; padding-top: 20px; }
.favorites-empty { padding: 36px 0; }
.cart-recommendations { padding: 28px 0 24px; border-bottom: 1px solid var(--line); }
.cart-recommendations.is-complete .recommendation-heading h2 { color: var(--muted); font-size: 19px; }
.recommendation-heading { display: grid; gap: 4px; margin-bottom: 14px; }
.recommendation-heading .eyebrow { margin: 0; }
.recommendation-heading h2 { max-width: 680px; margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: 22px; line-height: 1.2; letter-spacing: 0; }
.recommendation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.recommendation-card { display: grid; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: rgba(255, 252, 247, .68); }
.recommendation-visual { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #eadfd3; }
.recommendation-visual > a { display: block; width: 100%; height: 100%; }
.recommendation-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.recommendation-favorite { position: absolute; z-index: 2; top: 12px; right: 12px; }
.recommendation-card-body { display: grid; align-content: start; gap: 13px; min-width: 0; padding: 16px; }
.recommendation-card h3 { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: 22px; letter-spacing: 0; }
.recommendation-card h3 a { color: inherit; text-decoration: none; }
.recommendation-card-price { margin: 4px 0 0; color: var(--bordo); font-size: 14px; font-weight: 800; }
.recommendation-options { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.recommendation-options label { display: grid; gap: 5px; color: var(--muted); font-size: 11px; font-weight: 700; }
.recommendation-card select { width: 100%; min-width: 0; height: 39px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 4px; background: #fffdf9; font-size: 12px; }
.recommendation-card option[data-stock-state="sold_out"] { color: #978d87; text-decoration: line-through; }
.recommendation-buy { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 9px; }
.quick-quantity { display: grid; grid-template-columns: 31px 28px 31px; align-items: center; border: 1px solid var(--line); border-radius: 4px; background: #fffdf9; }
.quick-quantity button { width: 31px; min-height: 38px; padding: 0; color: var(--bordo); background: transparent; border: 0; font-size: 16px; cursor: pointer; }
.quick-quantity output { text-align: center; font-size: 13px; font-weight: 700; }
.recommendation-card [data-rec-add] { min-height: 40px; padding: 6px 10px; color: var(--cream); background: var(--bordo); border: 1px solid var(--bordo); border-radius: 4px; font-size: 12px; font-weight: 800; cursor: pointer; }
.recommendation-card [data-rec-add]:disabled { cursor: not-allowed; opacity: .48; }
.recommendation-note { min-height: 30px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.4; }
.favorite-product-card .recommendation-visual { aspect-ratio: 4 / 5; }
.cart-continue { display: inline-block; margin-top: 18px; color: var(--bordo); font-size: 13px; font-weight: 700; text-decoration: underline; }

@media (max-width: 1040px) {
  .cart-layout { grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr); }
}

@media (max-width: 840px) {
  .cart-page .site-header { min-height: 40px; }
  .cart-main { padding-top: 48px; }
  .cart-masthead, .cart-masthead-copy { min-height: 154px; }
  .cart-masthead { background-position: 63% 29%; }
  .cart-masthead-copy { width: 58%; padding: 22px 18px; }
  .cart-masthead h1 { font-size: 40px; }
  .cart-shell { padding: 14px 18px 0; }
  .cart-layout { grid-template-columns: 1fr; gap: 20px; }
  .checkout-panel { position: static; padding: 0 18px 18px; }
  .recommendation-grid { grid-template-columns: repeat(2, minmax(270px, 78vw)); overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
  .recommendation-card { scroll-snap-align: start; }
  .product-purchase-block { grid-template-columns: auto 1fr; }
  .product-purchase-block .product-cart-button { grid-column: 1 / -1; }
  .product-cart-feedback { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .cart-masthead { background-position: 67% 28%; }
  .cart-masthead-copy { width: 70%; background: rgba(247, 239, 228, .9); }
  .cart-masthead h1 { font-size: 36px; }
  .cart-masthead a { margin-top: 12px; }
  .cart-shell { padding-inline: 14px; }
  .shipping-goal { gap: 10px; padding: 16px; }
  .shipping-goal-copy strong { font-size: 17px; }
  .shipping-goal-meta b { display: none; }
  .cart-section-heading { padding-top: 22px; }
  .cart-section-heading h2 { font-size: 23px; }
  .cart-line { grid-template-columns: 88px minmax(0, 1fr); gap: 12px; padding: 15px 2px; align-items: start; }
  .cart-line > img { width: 88px; }
  .cart-line > strong { grid-column: 2; padding: 0; font-size: 16px; }
  .cart-line h2 { font-size: 20px; }
  .checkout-form { grid-template-columns: 1fr; }
  .checkout-form > * { grid-column: 1; }
  .recommendation-grid { grid-template-columns: repeat(2, minmax(270px, 82vw)); }
  .favorites-overlay { grid-template-columns: 1fr; }
  .favorites-backdrop { display: none; }
  .favorites-drawer { grid-column: 1; width: 100%; padding: 20px 15px; }
  .favorites-drawer h2 { font-size: 28px; }
  .order-success-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
  .order-success-card { gap: 12px; padding: 38px 20px 24px; }
  .order-success-close-form { top: 10px; right: 10px; }
  .order-success-close { width: 40px; height: 40px; }
  .order-success-mark { width: 62px; height: 62px; }
  .order-success-card h2 { font-size: 31px; }
  .welcome-promo-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
  .welcome-promo-card { gap: 12px; padding: 42px 20px 26px; }
  .welcome-promo-close { top: 10px; right: 10px; width: 40px; height: 40px; }
  .welcome-promo-card h2 { font-size: 31px; }
  .welcome-promo-offer { font-size: 36px; }
}

/* Task 12.2: local visual refinements, independent of purchase logic. */
.cart-layout { align-items: start; }
.cart-layout > .checkout-panel { position: static; align-self: start; margin-top: 0; }
.cart-recommendations .recommendation-grid { grid-template-columns: repeat(2, minmax(0, 280px)); align-items: stretch; }
.cart-recommendations .recommendation-visual { aspect-ratio: 4 / 5; }
.cart-recommendations .recommendation-card-body { gap: 10px; padding: 14px; }
.recommendation-navigation { display: none; }
.favorites-overlay { grid-template-columns: minmax(0, 1fr) minmax(360px, 580px); }
.favorites-drawer { height: 100dvh; }
.favorite-product-card .recommendation-visual { min-height: 240px; }
.favorite-product-card .recommendation-card-body { padding: 20px; gap: 16px; }
.favorite-product-card select { height: 44px; font-size: 14px; }
.favorite-product-card .recommendation-options label { font-size: 13px; }
.favorite-product-card .quick-quantity { grid-template-columns: 44px 32px 44px; }
.favorite-product-card .quick-quantity button { width: 44px; height: 44px; }
.favorite-product-card [data-rec-add] { min-height: 44px; font-size: 14px; }
.favorite-product-card .recommendation-note { font-size: 13px; }
.favorites-close { width: 44px; height: 44px; flex-shrink: 0; }
@media (max-width: 840px) {
  .cart-recommendations .recommendation-grid {
    display: grid; grid-template-columns: none; grid-auto-flow: column;
    grid-auto-columns: min(82%, 300px); gap: 14px; overflow-x: auto;
    scroll-snap-type: x mandatory; scroll-padding-inline: 0;
    overscroll-behavior-x: contain; padding: 0 0 12px;
    scrollbar-width: thin; scrollbar-color: var(--bordo) #e5d6c8;
  }
  .cart-recommendations .recommendation-card { scroll-snap-align: start; }
  .recommendation-navigation { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin: 0 0 12px; }
  .recommendation-navigation button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--bordo); border-radius: 50%; color: var(--bordo); background: #fffaf3; font-size: 26px; cursor: pointer; }
  .recommendation-navigation button:disabled { opacity: .4; cursor: default; }
  .recommendation-navigation output { font-size: 13px; color: var(--bordo); }
  .cart-page .site-nav { top: 40px; }
}
@media (max-width: 760px) {
  .carousel-shell { height: clamp(400px, 112vw, 540px); aspect-ratio: auto; }
  .carousel-slide::before { background: linear-gradient(0deg, rgba(45,17,22,.88), rgba(45,17,22,.58) 38%, rgba(45,17,22,.06) 72%, transparent); }
  .carousel-copy { bottom: 68px; left: 20px; right: 20px; gap: 9px; }
  .carousel-copy h2 { font-size: clamp(27px, 7vw, 34px); line-height: 1.08; text-shadow: 0 1px 8px rgba(0,0,0,.3); }
  .carousel-copy p { font-size: 14px; line-height: 1.4; color: #fffaf3; }
  .carousel-slide:nth-child(1) img { object-position: 48% top; }
  .carousel-slide:nth-child(2) img { object-position: 51% top; }
  .carousel-slide:nth-child(3) img { object-position: 41% top; }
  .carousel-control { top: auto; bottom: 12px; width: 44px; height: 44px; transform: none; background: rgba(45,17,22,.8); border-color: rgba(255,250,243,.7); }
  .carousel-control:hover { transform: none; }
  .carousel-dots { bottom: 28px; }
  .product-page { padding-top: 68px; padding-bottom: 32px; }
  .product-detail-layout { gap: 16px; }
  .product-detail-layout > .product-info { padding: 4px 0 16px; }
  .nova-section { padding: 32px 0; }
  .product-standard .product-page > .nova-section:first-of-type { padding-top: 32px; }
  .nova-section-heading { margin-bottom: 22px; }
  .nova-feature-layout { gap: 18px; }
  .product-recommendations { padding-top: 30px; }
  .product-recommendations h2 { margin-bottom: 18px; }
  .favorites-drawer { padding: 20px 12px; }
  .favorite-product-card .recommendation-card-body { padding: 16px; }
  .cart-page .site-nav { top: 40px; }
}
@media (max-width: 520px) {
  .favorites-overlay { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  .favorite-product-card .recommendation-buy { grid-template-columns: 1fr; }
  .favorite-product-card .quick-quantity { justify-self: start; }
}
