:root {
  --ink: #10100f;
  --ink-soft: #1b1715;
  --paper: #f4ebe5;
  --paper-deep: #e8d7cc;
  --cocoa: #7b3f2d;
  --rose: #c98f7d;
  --muted: #6e5c53;
  --line: rgba(123, 63, 45, 0.18);
  --shadow: 0 20px 50px rgba(38, 24, 19, 0.14);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.cart-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 92px;
  padding: 10px clamp(28px, 5vw, 76px);
  background: transparent;
  color: var(--cocoa);
  box-shadow: none;
  backdrop-filter: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 72px;
  min-width: 72px;
}

.brand-logo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
  color: var(--cocoa);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  padding: 12px 0;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  height: 1px;
  background: var(--rose);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a:first-child::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--cocoa);
  cursor: pointer;
}

.icon-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.cart-button {
  display: grid;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

body.show-floating-cart .cart-button {
  position: fixed;
  top: 24px;
  right: clamp(18px, 4vw, 58px);
  z-index: 55;
  width: 64px;
  height: 64px;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

body.show-floating-cart .cart-button svg {
  width: 38px;
  height: 38px;
  opacity: 1;
}

.cart-count {
  position: absolute;
  top: 1px;
  right: 0;
  display: grid;
  place-items: center;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  opacity: 0;
  transform: scale(0.6);
  transition: 160ms ease;
}

.cart-count.visible {
  opacity: 1;
  transform: scale(1);
}

.nav-toggle {
  display: none;
}

.flying-product {
  position: fixed;
  z-index: 90;
  object-fit: cover;
  border: 2px solid #fff4ee;
  box-shadow: 0 18px 38px rgba(80, 38, 24, 0.26);
  pointer-events: none;
  transition:
    left var(--fly-duration, 800ms) cubic-bezier(0.18, 0.8, 0.26, 1),
    top var(--fly-duration, 800ms) cubic-bezier(0.18, 0.8, 0.26, 1),
    width var(--fly-duration, 800ms) cubic-bezier(0.18, 0.8, 0.26, 1),
    height var(--fly-duration, 800ms) cubic-bezier(0.18, 0.8, 0.26, 1),
    opacity var(--fly-duration, 800ms) ease,
    transform var(--fly-duration, 800ms) ease;
}

.product-flying-product {
  z-index: 120;
  border-radius: 8px;
  box-shadow: 0 20px 48px rgba(80, 38, 24, 0.3);
}

.product-cart-link.cart-pulse {
  animation: cartPulse 420ms ease;
}

@keyframes cartPulse {
  0% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.16);
  }

  100% {
    transform: scale(1);
  }
}

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(16, 16, 15, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: 180ms ease;
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  width: min(100vw, 440px);
  height: 100vh;
  padding: 28px;
  background: #fff8f3;
  color: var(--ink);
  box-shadow: -24px 0 64px rgba(38, 24, 19, 0.2);
  transform: translateX(100%);
  transition: 220ms ease;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.cart-kicker {
  margin: 0 0 6px;
  color: var(--cocoa);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.cart-head h2 {
  margin: 0;
  color: var(--cocoa);
  font-size: 38px;
}

.cart-close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--cocoa);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.cart-items {
  display: grid;
  gap: 16px;
  overflow-y: auto;
  padding: 20px 4px 20px 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 14px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(123, 63, 45, 0.12);
}

.cart-item img {
  width: 76px;
  aspect-ratio: 0.82;
  object-fit: cover;
  background: var(--paper);
}

.cart-item h3 {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.cart-item p,
.cart-item strong {
  display: block;
  margin: 0;
  font-size: 12px;
}

.cart-item button {
  align-self: end;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--cocoa);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.cart-empty {
  margin: 24px 0;
  color: var(--muted);
}

.cart-delivery {
  margin: 8px 0 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cocoa);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  color: var(--cocoa);
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
}

.cart-form {
  display: grid;
  gap: 12px;
}

.cart-form label {
  display: grid;
  gap: 6px;
  color: var(--cocoa);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.cart-form input,
.cart-form textarea {
  width: 100%;
  border: 1px solid rgba(123, 63, 45, 0.24);
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 12px 13px;
  resize: vertical;
}

.cart-form input:focus,
.cart-form textarea:focus {
  border-color: var(--cocoa);
  outline: 0;
}

.whatsapp-order,
.clear-cart {
  min-height: 46px;
  border: 1px solid var(--cocoa);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.whatsapp-order {
  margin-top: 6px;
  background: var(--cocoa);
  color: var(--paper);
}

.clear-cart {
  background: transparent;
  color: var(--cocoa);
}

.hero {
  position: relative;
  display: block;
  min-height: calc(100vh - 112px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(239, 217, 203, 0.1), rgba(239, 217, 203, 0.04)),
    url("assets/home-hero.png") center / cover no-repeat;
}

.hero::before {
  content: none;
}

.home-hero {
  --home-header-height: 92px;
  position: relative;
  display: block;
  min-height: 0;
  width: 100vw;
  height: auto;
  margin: 0;
  padding: 0;
  background:
    #eed1bf;
}

.home-hero-frame {
  position: relative;
  width: 100vw;
  height: auto;
  overflow: hidden;
}

.home-hero-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-position: center center;
}

.home-hero-link {
  position: absolute;
  top: 76%;
  left: 12.8%;
  z-index: 10;
  width: 18.5%;
  height: 10.8%;
}

@media (max-width: 760px) {
  .home-hero-link {
    top: 63.5%;
    left: 6%;
    width: 32%;
    height: 7%;
  }
}

.page-divider {
  height: 18px;
  border-top: 2px solid rgba(150, 82, 36, 0.72);
  border-bottom: 2px solid rgba(150, 82, 36, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 246, 238, 0.86), rgba(232, 194, 165, 0.7));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -1px 0 rgba(255, 255, 255, 0.54);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 520px;
  padding: clamp(120px, 15vh, 168px) clamp(28px, 7vw, 96px) 80px;
}

.eyebrow {
  margin: 0 0 36px;
  color: var(--cocoa);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 8px;
  text-transform: uppercase;
}

h1,
h2,
.value-copy h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--cocoa);
  font-size: clamp(72px, 7.9vw, 116px);
  letter-spacing: 2px;
  line-height: 0.92;
}

.hero-rule {
  display: block;
  width: min(100%, 455px);
  height: 1px;
  margin: 34px 0 30px;
  background:
    linear-gradient(90deg, var(--cocoa) 0 42%, transparent 42% 47%, var(--cocoa) 47% 53%, transparent 53% 58%, var(--cocoa) 58% 100%);
  opacity: 0.55;
}

.hero-copy p:not(.eyebrow) {
  max-width: 340px;
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 16px;
}

.button,
.add-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 30px;
  border: 1px solid var(--cocoa);
  background: #7a3e2d;
  color: var(--paper);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  transition: 170ms ease;
}

.button:hover,
.add-cart:hover {
  background: var(--cocoa);
  border-color: var(--cocoa);
  box-shadow: 0 12px 24px rgba(123, 63, 45, 0.22);
  transform: translateY(-1px);
}

.add-cart.added {
  background: #2d6a45;
  border-color: #2d6a45;
  color: #fff;
}

.hero-media,
.about-image,
.value-image {
  background-image: url("assets/editorial-hero.png");
  background-position: center;
  background-size: cover;
}

.hero-media {
  display: none;
}

.hero-media::before {
  content: none;
}

.hero-media::after {
  content: none;
}

.hero::after {
  content: none;
}

.collection-section,
.values-section {
  padding: clamp(54px, 8vw, 86px) clamp(16px, 4vw, 42px);
}

.collection-section {
  position: relative;
  scroll-margin-top: 0;
  overflow: hidden;
  background: var(--paper);
}

.section-heading {
  max-width: 620px;
  margin: 0 auto 6px;
  text-align: center;
}

.section-heading h2,
.about-copy h2 {
  margin: 0 0 18px;
  color: var(--cocoa);
  font-size: clamp(42px, 5vw, 70px);
  letter-spacing: 3px;
}

.section-heading p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 500;
}

.section-heading span,
.about-copy span {
  display: inline-block;
  margin-top: 16px;
  color: #d7a18f;
  font-size: 20px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(14px, 3vw, 54px);
  margin-bottom: 34px;
}

.category-filters {
  align-items: end;
  gap: clamp(24px, 2.4vw, 32px);
  margin-top: -24px;
  margin-bottom: 106px;
}

.filter {
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 2px;
  text-transform: uppercase;
}

.filter.active {
  border-color: var(--cocoa);
  color: var(--cocoa);
}

.category-filter {
  display: grid;
  gap: 12px;
  width: min(31vw, 385px);
  min-width: 300px;
  padding: 0 0 16px;
  border: 16px solid var(--cocoa);
  border-radius: 220px 220px 8px 8px;
  background: #fff7f2;
  box-shadow: 0 14px 34px rgba(38, 24, 19, 0.08);
  overflow: hidden;
}

.category-filter img {
  width: 100%;
  aspect-ratio: 0.65;
  object-fit: cover;
  border-radius: 220px 220px 0 0;
}

.category-filter span {
  display: block;
  padding: 0 12px;
}

.category-filter.active {
  border-color: var(--cocoa);
  box-shadow: 0 18px 40px rgba(123, 63, 45, 0.16);
}

.collection-hotspot {
  position: absolute;
  top: 61%;
  left: 15%;
  z-index: 10;
  width: 30.5%;
  height: 17%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

@media (max-width: 760px) {
  .page-divider {
    display: block;
    height: 28px;
    border: 0;
    background: #f3d1bb;
    box-shadow: none;
  }

  .collection-hotspot {
    top: 87.1%;
    left: 17.5%;
    width: 65%;
    height: 9.2%;
  }
}

.collection-hotspot:focus {
  outline: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 2.8vw, 38px);
  max-width: 1180px;
  margin: 0 auto;
}

.products-panel {
  position: relative;
  scroll-margin-top: 0;
  margin: 0 calc(clamp(16px, 4vw, 42px) * -1) calc(clamp(54px, 8vw, 86px) * -1);
  padding: 72px clamp(16px, 4vw, 42px) clamp(54px, 8vw, 86px);
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 255, 255, 0.34), transparent 28%),
    linear-gradient(180deg, #dfc8b8 0%, #ead7ca 48%, #dcc3b1 100%);
}

.products-panel::before {
  position: absolute;
  top: 0;
  right: clamp(16px, 6vw, 120px);
  left: clamp(16px, 6vw, 120px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(123, 63, 45, 0.32), transparent);
  content: "";
}

.product-card {
  position: relative;
  padding: 15px;
  border: 1px solid rgba(123, 63, 45, 0.12);
  background: rgba(255, 249, 245, 0.72);
  box-shadow: 0 18px 46px rgba(38, 24, 19, 0.08);
  transition: 180ms ease;
}

.product-card::before {
  content: none;
}

.product-card:hover {
  border-color: rgba(123, 63, 45, 0.26);
  background: rgba(255, 249, 245, 0.9);
  box-shadow: 0 24px 56px rgba(38, 24, 19, 0.13);
  transform: translateY(-2px);
}

.product-card.hidden {
  display: none;
}

.product-photo {
  display: block;
  width: 100%;
  aspect-ratio: 0.78;
  object-fit: cover;
  background: #f8eee8;
  border: 1px solid rgba(255, 255, 255, 0.9);
  outline: 1px solid rgba(123, 63, 45, 0.12);
  outline-offset: -7px;
  box-shadow: none;
}

.product-info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
  padding: 16px 2px 12px;
  border-bottom: 1px solid rgba(123, 63, 45, 0.1);
}

.product-info h3 {
  margin: 0 0 5px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-info p {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
}

.add-cart {
  width: 100%;
  position: relative;
  z-index: 1;
  margin-top: 12px;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(310px, 0.78fr) minmax(380px, 1.22fr);
  min-height: 720px;
  background: var(--paper);
}

.about-copy {
  align-self: center;
  padding: clamp(42px, 7vw, 96px);
}

.about-copy h1 {
  margin: 0 0 18px;
  color: var(--cocoa);
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 700;
  letter-spacing: 3px;
  line-height: 1;
  text-transform: uppercase;
}

.about-copy p {
  max-width: 470px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-weight: 500;
}

.signature {
  color: var(--cocoa);
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1.2;
}

.about-image {
  min-height: 620px;
  background-position: center top;
}

.promise-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 58px clamp(22px, 8vw, 150px);
  background: var(--ink);
  color: var(--paper);
  text-align: center;
}

.promise-band div {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.promise-band svg {
  width: 54px;
  height: 54px;
  fill: none;
  stroke: var(--rose);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.promise-band h3 {
  margin: 0;
  color: #dcb4a7;
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.promise-band p {
  max-width: 240px;
  margin: 0;
  color: #e8d7cc;
  font-size: 13px;
}

.values-section {
  background: #f7eee8;
}

.values-list {
  display: grid;
  gap: 34px;
  max-width: 1120px;
  margin: 0 auto;
}

.value-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.95fr) minmax(280px, 1.05fr);
  min-height: 250px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.value-image {
  min-height: 250px;
}

.value-image.fabric {
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.4), transparent 22%),
    linear-gradient(135deg, rgba(171, 116, 91, 0.2), rgba(245, 226, 212, 0.65)),
    url("assets/editorial-hero.png");
  background-position: center;
  background-size: cover;
  filter: saturate(0.8) blur(0.2px);
}

.value-image.model {
  background-image: url("assets/editorial-hero.png");
  background-position: center top;
}

.value-image.wardrobe {
  background-image: url("assets/catalog-sheet.png");
  background-position: 50% 10%;
}

.value-image.sewing {
  background:
    linear-gradient(rgba(126, 70, 49, 0.08), rgba(126, 70, 49, 0.08)),
    url("assets/catalog-sheet.png");
  background-position: 90% 80%;
}

.value-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 5vw, 58px);
  color: var(--paper);
}

.value-copy h3 {
  margin: 0 0 18px;
  color: #dcb4a7;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: 1.7px;
}

.value-copy p {
  max-width: 440px;
  margin: 0;
  color: #f1dfd5;
  font-size: 16px;
}

.site-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 5vw, 72px);
  padding: 28px clamp(42px, 10vw, 160px) 18px;
  background: #c3a184;
  color: #5f3125;
}

.site-footer div:nth-child(1) {
  justify-self: start;
}

.site-footer div:nth-child(2) {
  justify-self: center;
}

.site-footer div:nth-child(3) {
  justify-self: end;
}

.site-footer h3 {
  margin: 0 0 10px;
  color: #5f3125;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.site-footer span,
.site-footer a {
  display: block;
  width: fit-content;
  margin: 6px 0;
  color: #17110e;
  font-size: 14px;
  text-decoration: none;
}

.site-footer a:hover {
  color: #7e3d2e;
}

.copyright {
  grid-column: 1 / -1;
  margin: 18px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(95, 49, 37, 0.2);
  color: #7b5549;
  font-size: 13px;
  text-align: center;
  text-transform: uppercase;
}

.product-page {
  min-height: 100vh;
  background: #fff8f3;
}

.product-topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 86px;
  padding: 14px clamp(18px, 5vw, 76px);
  border-bottom: 1px solid rgba(123, 63, 45, 0.14);
  background: #fff8f3;
  color: var(--cocoa);
}

.product-back {
  width: fit-content;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-brand img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.product-cart-link {
  position: relative;
  justify-self: end;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.product-cart-link svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: clamp(32px, 5vw, 78px);
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 72px) clamp(18px, 5vw, 76px);
}

.product-gallery {
  background: transparent;
}

.product-gallery img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.product-summary {
  align-self: start;
  display: grid;
  gap: 24px;
  padding-top: clamp(8px, 2vw, 28px);
}

.product-kicker {
  margin: 0;
  color: var(--rose);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.6px;
  text-transform: uppercase;
}

.product-summary h1 {
  margin: 0;
  color: var(--cocoa);
  font-size: clamp(38px, 5vw, 70px);
}

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

.product-field {
  display: grid;
  gap: 12px;
}

.product-field > span {
  color: var(--cocoa);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.color-options,
.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.color-swatch {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(123, 63, 45, 0.28);
  border-radius: 50%;
  background: var(--swatch);
  cursor: pointer;
}

.color-swatch.selected {
  outline: 2px solid var(--cocoa);
  outline-offset: 3px;
}

.size-choice {
  min-width: 48px;
  height: 42px;
  border: 1px solid rgba(123, 63, 45, 0.32);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.size-choice.selected {
  background: var(--cocoa);
  color: #fff8f3;
}

.product-description {
  max-width: 460px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.quantity-row {
  display: inline-grid;
  grid-template-columns: 46px 54px 46px;
  width: fit-content;
  min-height: 48px;
  background: #f1e4dc;
}

.quantity-row button {
  border: 0;
  background: transparent;
  color: var(--cocoa);
  cursor: pointer;
  font-size: 24px;
}

.quantity-row strong {
  display: grid;
  place-items: center;
  font-size: 16px;
}

.product-buy-row {
  display: flex;
  align-items: stretch;
  gap: 14px;
  width: min(100%, 430px);
}

.product-add-cart {
  min-height: 54px;
  flex: 1;
  min-width: 220px;
  border: 1px solid var(--cocoa);
  background: var(--cocoa);
  color: #fff8f3;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.product-status {
  min-height: 22px;
  margin: -10px 0 0;
  color: #2d6a45;
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto auto 1fr;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-toggle span {
    width: 21px;
    height: 1px;
    background: currentColor;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 16px 24px 24px;
    background: rgba(249, 240, 234, 0.98);
    border-top: 1px solid rgba(123, 63, 45, 0.12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: 180ms ease;
  }

  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .header-actions {
    justify-self: end;
  }

  .hero,
  .about-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-media,
  .about-image {
    min-height: 520px;
    order: -1;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .promise-band {
    grid-template-columns: 1fr;
  }

  .value-card {
    grid-template-columns: 1fr;
  }

  .product-detail {
    grid-template-columns: 1fr;
  }

  .product-gallery img {
    aspect-ratio: auto;
  }

  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 82px;
    padding: 12px 14px;
  }

  .product-topbar {
    min-height: 72px;
    padding: 10px 14px;
  }

  .product-brand img {
    width: 52px;
    height: 52px;
  }

  .product-detail {
    padding: 18px 14px 42px;
  }

  .product-summary {
    gap: 18px;
  }

  .product-buy-row {
    width: 100%;
    flex-wrap: wrap;
  }

  .product-add-cart {
    min-width: 100%;
  }

  .collection-section {
    scroll-margin-top: 0;
  }

  .cart-drawer {
    width: 100vw;
    padding: 22px 16px;
  }

  .products-panel {
    scroll-margin-top: 0;
  }

  .cart-item {
    grid-template-columns: 64px 1fr;
  }

  .cart-item img {
    width: 64px;
  }

  .cart-item button {
    grid-column: 2;
    justify-self: start;
  }

  .brand {
    width: 88px;
    min-width: 88px;
  }

  .main-nav {
    top: 100%;
  }

  .header-actions {
    gap: 0;
  }

  .icon-button {
    width: 31px;
    height: 31px;
  }

  body.show-floating-cart .cart-button {
    top: 18px;
    right: 14px;
    width: 54px;
    height: 54px;
    opacity: 1;
  }

  body.show-floating-cart .cart-button svg {
    width: 32px;
    height: 32px;
    opacity: 1;
  }

  .hero-copy,
  .about-copy {
    padding: 42px 18px;
  }

  h1 {
    font-size: 54px;
  }

  .section-heading h2,
  .about-copy h2 {
    font-size: 40px;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 16px;
  }

  .hero-media,
  .about-image {
    min-height: 430px;
  }

  .collection-section,
  .values-section {
    padding-right: 14px;
    padding-left: 14px;
  }

  .filters {
    justify-content: flex-start;
    gap: 12px 22px;
    overflow-x: auto;
  }

  .category-filters {
    align-items: stretch;
  }

  .category-filter {
    width: 230px;
    min-width: 230px;
  }

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

  .product-photo {
    aspect-ratio: 0.88;
  }

  .value-card {
    min-height: 0;
  }

  .value-image {
    min-height: 210px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 18vw 1fr 18vw;
    grid-template-areas: "brand nav actions";
    min-height: 17vw;
    padding: 4.2vw 4.8vw 0;
    gap: 0;
  }

  .brand {
    grid-area: brand;
    width: 12.5vw;
    min-width: 0;
    height: 9vw;
  }

  .nav-toggle {
    position: absolute;
    top: 5.2vw;
    right: 4.9vw;
    display: grid;
    width: 6.2vw;
    height: 6.2vw;
    opacity: 0;
    pointer-events: auto;
  }

  .main-nav {
    grid-area: nav;
    position: static;
    display: flex;
    justify-content: center;
    gap: 6.2vw;
    padding: 0;
    border: 0;
    background: transparent;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    font-size: 2.2vw;
  }

  .main-nav a {
    min-width: 13vw;
    padding: 2.2vw 0;
  }

  .main-nav a::after {
    opacity: 0 !important;
  }

  .header-actions {
    grid-area: actions;
    position: absolute;
    top: 5vw;
    left: 78.6vw;
    justify-content: flex-start;
    gap: 0;
    padding-left: 0;
  }

  .icon-button {
    width: 6.5vw;
    height: 6.5vw;
  }

  .icon-button svg {
    width: 100%;
    height: 100%;
  }

  .header-actions .icon-button:not(.cart-button) {
    display: none;
  }

  .cart-button {
    display: grid;
    width: 7.6vw;
    height: 7.6vw;
    opacity: 0;
    pointer-events: auto;
    transform: none;
  }

  .brand-logo,
  .main-nav a,
  .icon-button svg,
  .cart-count,
  .nav-toggle span {
    opacity: 0;
  }

  .hero {
    min-height: calc(100svh - 78px);
    background:
      linear-gradient(90deg, rgba(249, 240, 234, 0.5) 0%, rgba(249, 240, 234, 0.26) 40%, rgba(249, 240, 234, 0.02) 72%),
      url("assets/home-hero.png") 62% center / cover no-repeat;
  }

  .hero-copy {
    max-width: 59%;
    min-height: calc(100svh - 78px);
    padding: clamp(72px, 13vh, 108px) 0 34px 26px;
  }

  .eyebrow {
    margin-bottom: 20px;
    font-size: 9px;
    letter-spacing: 5px;
  }

  h1 {
    font-size: clamp(42px, 13.2vw, 58px);
    letter-spacing: 1px;
    line-height: 0.92;
  }

  .hero-rule {
    width: 100%;
    margin: 22px 0 18px;
  }

  .hero-copy p:not(.eyebrow) {
    max-width: 255px;
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.55;
  }

  .button,
  .add-cart {
    min-height: 42px;
    padding: 0 16px;
    font-size: 10px;
  }

  .hero .button {
    width: 190px;
    min-height: 58px;
    padding: 0 18px;
    line-height: 1.35;
    text-align: center;
    white-space: normal;
  }

  .collection-section {
    min-height: calc(100svh - 82px);
    padding: 76px 14px 0;
    scroll-margin-top: 0;
  }

  .section-heading {
    margin-bottom: 0;
  }

  .section-heading h2 {
    font-size: clamp(38px, 11.6vw, 58px);
    letter-spacing: 1px;
  }

  .section-heading p {
    font-size: 13px;
  }

  .category-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
    margin-bottom: max(220px, 30svh);
    overflow: visible;
  }

  .category-filter {
    width: auto;
    min-width: 0;
    gap: 8px;
    padding-bottom: 10px;
    border-radius: 999px 999px 7px 7px;
  }

  .category-filter img {
    aspect-ratio: 0.88;
    border-radius: 999px 999px 0 0;
  }

  .category-filter span {
    font-size: 11px;
  }

  .products-panel {
    scroll-margin-top: 0;
    margin-right: -14px;
    margin-left: -14px;
    padding: 58px 14px 54px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }

  .product-card {
    padding: 8px;
  }

  .product-photo {
    aspect-ratio: 0.82;
    outline-offset: -5px;
  }

  .product-info {
    min-height: 62px;
    padding: 11px 0 9px;
  }

  .product-info h3 {
    font-size: 11px;
  }

  .product-info p {
    font-size: 10px;
  }

  .site-footer {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 24px 18px 14px;
  }

  .site-footer h3 {
    font-size: 10px;
  }

  .site-footer span,
  .site-footer a {
    font-size: 11px;
  }

  .copyright {
    font-size: 10px;
  }
}

@media (max-width: 390px) {
  .brand {
    width: 58px;
    min-width: 58px;
  }

  .main-nav {
    gap: 9px;
    font-size: 9px;
  }

  .header-actions {
    gap: 0;
  }

  .icon-button {
    width: 25px;
    height: 25px;
  }

  .hero-copy {
    max-width: 60%;
    padding-left: 18px;
  }

  h1 {
    font-size: 43px;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 13px;
  }
}

@media (max-width: 760px) {
  .home-hero {
    --home-header-height: 82px;
  }

  .site-header {
    grid-template-columns: 18vw 1fr 18vw;
    grid-template-areas: "brand nav actions";
    min-height: 17vw;
    padding: 4.2vw 4.8vw 0;
    gap: 0;
  }

  .brand {
    grid-area: brand;
    width: 12.5vw;
    min-width: 0;
    height: 9vw;
  }

  .main-nav {
    grid-area: nav;
    gap: 6.2vw;
    font-size: 2.2vw;
  }

  .main-nav a {
    min-width: 13vw;
    padding: 2.2vw 0;
  }

  .header-actions {
    grid-area: actions;
    position: absolute;
    top: 5vw;
    left: 78.6vw;
    justify-content: flex-start;
    gap: 0;
    padding-left: 0;
  }

  .icon-button {
    width: 6.5vw;
    height: 6.5vw;
  }

  .cart-button {
    width: 7.6vw;
    height: 7.6vw;
  }

  .nav-toggle {
    top: 5.2vw;
    right: 4.9vw;
    width: 6.2vw;
    height: 6.2vw;
  }

  .hero {
    min-height: calc(100svh - 82px);
    background: url("parfum-site/mobile page soukaina finale.jpeg") center -18.5vw / 100% auto no-repeat;
  }

  .hero.home-hero {
    min-height: 0;
    height: auto;
    background: #eed1bf;
  }

  .home-hero-frame,
  .home-hero-frame picture,
  .home-hero-frame img {
    display: block;
    width: 100%;
    height: auto;
  }

  .home-hero-image {
    content: url("parfum-site/page acceuil mobile.png");
  }

  .hero-copy {
    position: absolute;
    inset: 0;
    max-width: none;
    min-height: 0;
    padding: 0;
  }

  .hero-copy .eyebrow,
  .hero-copy h1,
  .hero-rule,
  .hero-copy p:not(.eyebrow) {
    opacity: 0;
    pointer-events: none;
  }

  .hero .button {
    position: absolute;
    top: 97.8vw;
    left: 5vw;
    width: 29.4vw;
    min-width: 118px;
    min-height: 9.8vw;
    opacity: 0;
  }

  .collection-section {
    min-height: 0;
    padding: 0 !important;
    background: #f4d0b6;
  }

  .collection-section > div:first-child,
  .collection-section picture,
  .collection-section img {
    display: block;
    width: 100%;
    height: auto;
  }

  .collection-hero-image {
    content: url("parfum-site/collection page mobile.png");
  }

  .collection-hotspot {
    top: 87.1%;
    left: 17.5%;
    width: 65%;
    height: 9.2%;
  }
}

/* Modal Styles */
.product-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 16, 15, 0.75);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.product-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.product-modal {
  position: relative;
  background: #fff;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 8px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.product-modal-overlay.active .product-modal {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: #f4ebe5;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  color: var(--cocoa);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.modal-close:hover {
  background: #e8d7cc;
}

.modal-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 30px;
}

@media (max-width: 768px) {
  .modal-content {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}

.modal-gallery {
  position: relative;
}

.carousel-container {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 4px;
  background: #f8eee8;
}

.carousel-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
  cursor: zoom-in;
}

.carousel-img.active {
  opacity: 1;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  color: var(--cocoa);
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.carousel-btn:hover {
  background: #fff;
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
}

.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #dcc3b1;
  cursor: pointer;
  transition: background 0.2s;
}

.carousel-dots .dot.active {
  background: var(--cocoa);
}

.modal-details {
  display: flex;
  flex-direction: column;
}

.modal-details h2 {
  font-family: var(--serif);
  color: var(--cocoa);
  font-size: 32px;
  margin: 0 0 10px 0;
}

.modal-price {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 20px 0;
  color: var(--ink);
}

.modal-color {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.modal-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 30px;
}

/* Zoom Overlay */
.zoom-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.zoom-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.zoom-img {
  max-width: 95vw;
  max-height: 95vh;
  object-fit: contain;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.zoom-img.zoom-img-beige {
  width: auto;
  height: 98vh;
  max-width: 98vw;
  max-height: 98vh;
}

.zoom-overlay.active .zoom-img {
  transform: scale(1);
}

.zoom-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}
