:root {
  color-scheme: light;
  --ink: #11100f;
  --ink-2: #2a2724;
  --muted: #77716a;
  --soft: #f6f3ee;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --line: #e8e2da;
  --gold: #caa86a;
  --gold-soft: #efe3ca;
  --smoke: #e7e2db;
  --shadow-sm: 0 10px 30px rgba(18, 16, 14, 0.07);
  --shadow-lg: 0 28px 80px rgba(18, 16, 14, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  touch-action: pan-y;
  background: #fbfaf7;
  color: var(--ink);
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.modal-open {
  overflow: hidden;
  height: 100vh;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  min-height: 72px;
  padding: 12px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(17, 16, 15, 0.08);
  background: rgba(251, 250, 247, 0.82);
  backdrop-filter: blur(18px);
}

.brand,
.ghost-link,
.primary-button,
.secondary-button {
  color: inherit;
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: block;
  width: 52px;
  height: 52px;
  overflow: hidden;
  border: 1px solid rgba(202, 168, 106, 0.34);
  border-radius: 14px;
  background: #f7f2ed;
  box-shadow: 0 8px 24px rgba(17, 16, 15, 0.08);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.75);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.section-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 54px);
}

.ghost-link {
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 800;
  transition: color 160ms ease;
}

.ghost-link:hover,
.ghost-link:focus-visible {
  color: var(--ink);
}

.cart-trigger,
.primary-button,
.secondary-button,
.add-button,
.icon-button {
  border: 0;
  cursor: pointer;
}

.cart-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(17, 16, 15, 0.14);
}

.cart-trigger strong {
  display: grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.8rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.78fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  min-height: 690px;
  padding: clamp(46px, 7vw, 96px) clamp(18px, 5vw, 72px) 42px;
}

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

.eyebrow,
.section-kicker,
.showcase-label {
  color: #8f6a33;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 14px 0 18px;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 7vw, 6.6rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: 0;
}

.hero p {
  max-width: 580px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 900;
}

.primary-button {
  background: var(--ink);
  color: white;
  box-shadow: 0 18px 35px rgba(17, 16, 15, 0.16);
}

.secondary-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.secondary-button.compact {
  min-height: 40px;
  padding: 0 14px;
}

.hero-showcase {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.74fr;
  gap: 14px;
}

.showcase-card {
  display: grid;
  align-content: end;
  min-height: 170px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-sm);
}

.showcase-card.large {
  grid-row: span 2;
  min-height: 450px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 20%, rgba(18, 16, 14, 0.82) 100%),
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.9), rgba(238, 228, 211, 0.85) 44%, rgba(191, 173, 147, 0.58) 68%),
    url("https://media.ulta.com/i/ulta/2600700") center 32% / 82% no-repeat;
  color: white;
  box-shadow: var(--shadow-lg);
}

.showcase-card.accent {
  background: var(--ink);
  color: white;
}

.showcase-card strong {
  margin-top: 8px;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  font-weight: 500;
  line-height: 1;
}

.showcase-card small {
  margin-top: 8px;
  color: inherit;
  opacity: 0.72;
  line-height: 1.45;
}

.catalog-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  width: 100%;
  max-width: 100vw;
  padding: 0 clamp(18px, 5vw, 72px) 76px;
  scroll-margin-top: 92px;
}

.filters {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(200px, 0.9fr) minmax(210px, 0.85fr) minmax(190px, 0.8fr) auto;
  gap: 12px;
  align-items: end;
  margin: 0 calc(clamp(18px, 5vw, 72px) * -1);
  padding: 14px clamp(18px, 5vw, 72px);
  border: 1px solid rgba(232, 226, 218, 0.88);
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  background: rgba(251, 250, 247, 0.94);
  box-shadow: 0 16px 38px rgba(18, 16, 14, 0.08);
  backdrop-filter: blur(18px);
}

.filters h2,
.product-toolbar h2,
.cart-head h2 {
  margin: 4px 0 0;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: 0;
}

.field {
  display: grid;
  gap: 7px;
}

.field span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.field input,
.field select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  color: var(--ink);
  padding: 0 13px;
  outline: none;
}

.field input:focus,
.field select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(202, 168, 106, 0.18);
}

.segmented {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  min-height: 44px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}

.segmented button {
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
}

.segmented button.active {
  background: var(--ink);
  color: white;
}

.summary {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

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

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

.order-area {
  margin-top: 34px;
  padding-top: 38px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 92px;
}

.toolbar-note {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  text-align: right;
}

.product-card {
  display: grid;
  grid-template-rows: 285px 1fr auto;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(232, 226, 218, 0.95);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 50px rgba(18, 16, 14, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(202, 168, 106, 0.55);
  box-shadow: 0 30px 70px rgba(18, 16, 14, 0.14);
}

.product-card.sold-out {
  opacity: 0.68;
}

.product-card.sold-out .product-visual {
  filter: grayscale(0.18);
}

.product-card.order-card .stock {
  color: #8f6a33;
}

.product-visual {
  position: relative;
  display: grid;
  place-items: center;
  background: #fbfaf7;
}

.product-visual::before {
  content: "";
  position: absolute;
  inset: 26px 32px 30px;
  border: 1px solid rgba(202, 168, 106, 0.22);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.96), rgba(244, 235, 216, 0.76) 58%, rgba(230, 214, 184, 0.55) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 18px 44px rgba(96, 72, 42, 0.1);
}

.product-visual::after {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: 30px;
  height: 18px;
  border-radius: 50%;
  background: rgba(56, 45, 32, 0.16);
  filter: blur(14px);
}

.product-image {
  position: relative;
  z-index: 1;
  width: 78%;
  height: 78%;
  max-width: 240px;
  max-height: 230px;
  object-fit: contain;
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse 86% 88% at 50% 50%, #000 68%, rgba(0, 0, 0, 0.82) 82%, transparent 100%);
  mask-image: radial-gradient(ellipse 86% 88% at 50% 50%, #000 68%, rgba(0, 0, 0, 0.82) 82%, transparent 100%);
}

.product-image.image-soft-cutout {
  -webkit-mask-image: radial-gradient(ellipse 70% 86% at 50% 50%, #000 62%, rgba(0, 0, 0, 0.86) 78%, transparent 96%);
  mask-image: radial-gradient(ellipse 70% 86% at 50% 50%, #000 62%, rgba(0, 0, 0, 0.86) 78%, transparent 96%);
  filter:
    brightness(1.02)
    contrast(1.04)
    saturate(1.02);
}

.product-image.image-transparent-cutout {
  max-height: 250px;
  mix-blend-mode: normal;
  -webkit-mask-image: none;
  mask-image: none;
  filter: drop-shadow(0 20px 20px rgba(18, 16, 14, 0.18));
}

.product-image.crop-la-vie-bottle {
  clip-path: inset(0 18% 0 0);
  transform: translateX(8%) scale(1.04);
}

.product-image.center-gentleman-bottle {
  object-position: center center;
  transform: translateX(-2%) scale(1.04);
}

.image-fallback {
  display: none;
  width: 96px;
  height: 132px;
  place-items: center;
  border: 1px solid rgba(17, 16, 15, 0.12);
  border-radius: 22px 22px 12px 12px;
  background: linear-gradient(160deg, #ffffff, #ebe4d6);
  color: var(--ink);
  font-weight: 900;
}

.image-fallback.visible {
  display: grid;
}

.product-info {
  display: grid;
  gap: 9px;
  padding: 18px 18px 14px;
}

.brand-name {
  color: #8f6a33;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-info h3 {
  min-height: 52px;
  margin: 0;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.28;
  letter-spacing: 0;
}

.product-note {
  min-height: 42px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.48;
}

.product-variants {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
}

.product-variants[hidden] {
  display: none;
}

.product-variants button {
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
}

.product-variants button.active {
  background: var(--ink);
  color: white;
  box-shadow: 0 8px 18px rgba(17, 16, 15, 0.14);
}

.price-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.price {
  font-size: 1.18rem;
}

.stock {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 850;
}

.add-button {
  width: calc(100% - 36px);
  min-height: 46px;
  margin: 0 18px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-weight: 950;
  box-shadow: 0 16px 32px rgba(17, 16, 15, 0.16);
}

.add-button:disabled {
  cursor: not-allowed;
  background: #d7d0c5;
  color: #7b746b;
  box-shadow: none;
}

.add-button:disabled:hover {
  transform: none;
  box-shadow: none;
}

.decant-area {
  margin-top: 34px;
  padding-top: 38px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 92px;
}

.decant-toolbar {
  align-items: center;
}

.decant-toolbar p {
  max-width: 460px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.decant-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.decant-card {
  display: grid;
  grid-template-rows: 285px 1fr auto;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(232, 226, 218, 0.95);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 50px rgba(18, 16, 14, 0.08);
}

.decant-card.sold-out {
  opacity: 0.68;
}

.decant-visual {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  min-width: 0;
  padding: 0;
  background: #fbfaf7;
}

.decant-visual::before {
  content: "";
  position: absolute;
  inset: 26px 32px 30px;
  border: 1px solid rgba(202, 168, 106, 0.22);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.96), rgba(244, 235, 216, 0.76) 58%, rgba(230, 214, 184, 0.55) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 18px 44px rgba(96, 72, 42, 0.1);
}

.decant-visual::after {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: 30px;
  height: 18px;
  border-radius: 50%;
  background: rgba(42, 39, 36, 0.16);
  filter: blur(12px);
}

.decant-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(
    ellipse 88% 92% at center,
    #000 70%,
    rgba(0, 0, 0, 0.88) 84%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 88% 92% at center,
    #000 70%,
    rgba(0, 0, 0, 0.88) 84%,
    transparent 100%
  );
  filter:
    brightness(1.01)
    contrast(1.05)
    saturate(1.03);
}

.decant-product-shot {
  position: relative;
  z-index: 1;
  width: 78%;
  height: 78%;
  max-width: 240px;
  max-height: 230px;
  min-width: 0;
  min-height: 0;
  overflow: visible;
}

.detail-decant-sample {
  z-index: 3;
  display: grid;
  place-items: end center;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.detail-decant-sample::before {
  content: "";
  position: absolute;
  inset: -8% -35%;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center, rgba(213, 192, 157, 0.62) 0%, rgba(235, 222, 198, 0.34) 48%, transparent 76%);
  filter: blur(6px);
}

#detailDecantImage {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center bottom;
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
  filter:
    brightness(1.02)
    contrast(1.08);
}

#detailDecantImage[data-size="5"] {
  transform: scale(0.94);
  transform-origin: center bottom;
}

#detailDecantImage[data-size="10"] {
  transform: scale(0.98);
  transform-origin: center bottom;
}

#detailDecantLabel {
  position: absolute;
  z-index: 2;
  top: -27px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(17, 16, 15, 0.82);
  color: white;
  font-size: 0.66rem;
  white-space: nowrap;
}

.detail-decant-sample {
  position: absolute;
  right: clamp(20px, 7%, 54px);
  bottom: 12%;
  width: clamp(48px, 9%, 70px);
  height: auto;
  aspect-ratio: 1 / 3;
}

.detail-decant-sample::after {
  content: none;
}

.detail-decant-sample[hidden] {
  display: none;
}

.product-viewer:has(.detail-decant-sample:not([hidden])) > #detailBox {
  width: 68%;
  height: 76%;
  max-width: 450px;
  max-height: 500px;
  padding: 0;
  object-fit: contain;
  transform: translateX(-7%);
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse 78% 86% at center, #000 58%, rgba(0, 0, 0, 0.92) 72%, transparent 100%);
  mask-image: radial-gradient(ellipse 78% 86% at center, #000 58%, rgba(0, 0, 0, 0.92) 72%, transparent 100%);
  filter:
    brightness(1.02)
    contrast(1.05)
    saturate(1.02);
}

.decant-fallback {
  position: relative;
  z-index: 1;
  display: none;
  width: 64px;
  height: 150px;
  place-items: center;
  border: 1px solid rgba(17, 16, 15, 0.18);
  border-radius: 14px 14px 20px 20px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.88), rgba(216, 223, 217, 0.7) 48%, rgba(255, 255, 255, 0.9));
  box-shadow: inset 0 0 0 7px rgba(255, 255, 255, 0.38);
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 900;
}

.decant-fallback::before {
  content: "";
  position: absolute;
  top: -22px;
  width: 36px;
  height: 24px;
  border-radius: 6px 6px 2px 2px;
  background: var(--ink-2);
}

.decant-fallback.visible {
  display: grid;
}

.decant-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 6px 9px;
  border: 1px solid rgba(17, 16, 15, 0.12);
  border-radius: 999px;
  background: rgba(251, 250, 247, 0.86);
  color: #74582f;
  font-size: 0.64rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.decant-info {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.decant-info h3 {
  min-height: 48px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
}

.decant-note {
  min-height: 42px;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.decant-size {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
}

.decant-size button {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
}

.decant-size button.active {
  background: var(--ink);
  color: white;
  box-shadow: 0 8px 18px rgba(17, 16, 15, 0.14);
}

.cart-panel {
  position: fixed;
  inset: 0;
  z-index: 40;
  width: 100%;
  overflow-x: hidden;
  overscroll-behavior: contain;
  visibility: hidden;
  pointer-events: none;
}

.detail-panel {
  position: fixed;
  inset: 0;
  z-index: 45;
  width: 100%;
  overflow-x: hidden;
  overscroll-behavior: contain;
  visibility: hidden;
  pointer-events: none;
}

.detail-panel.open {
  visibility: visible;
  pointer-events: auto;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 16, 15, 0.54);
  opacity: 0;
  transition: opacity 180ms ease;
}

.detail-panel.open .detail-backdrop {
  opacity: 1;
}

.detail-drawer {
  position: absolute;
  top: 28px;
  right: 28px;
  bottom: 28px;
  left: 28px;
  display: grid;
  grid-template-columns: minmax(260px, 0.98fr) minmax(280px, 1.02fr);
  align-items: start;
  gap: clamp(16px, 3vw, 48px);
  width: min(100% - 56px, 1360px);
  max-height: calc(100dvh - 56px);
  margin: auto;
  overflow: auto;
  padding: clamp(20px, 4vw, 42px);
  border: 1px solid rgba(232, 226, 218, 0.9);
  border-radius: 28px;
  background: #fbfaf7;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.26);
  transform: translateY(18px) scale(0.98);
  transition: transform 220ms ease;
}

.detail-panel.open .detail-drawer {
  transform: translateY(0) scale(1);
}

.detail-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
}

.detail-media {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-content: stretch;
  height: min(calc(100vh - 150px), 680px);
  min-height: 420px;
}

.detail-media figure {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 12px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(202, 168, 106, 0.2);
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 50% 34%, rgba(255, 255, 252, 1) 0 62%, rgba(255, 250, 241, 0.98) 100%),
    linear-gradient(180deg, #fffefa 0%, #fffaf0 70%, #eadcc8 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(120, 96, 65, 0.1),
    0 20px 50px rgba(18, 16, 14, 0.1);
}

.product-viewer {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
}

.product-viewer::after {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: 54px;
  height: 28px;
  border-radius: 50%;
  background: rgba(64, 52, 38, 0.18);
  filter: blur(20px);
}

.detail-media figure > .product-viewer > img {
  position: relative;
  z-index: 1;
  width: 78%;
  height: 78%;
  max-width: 520px;
  max-height: 520px;
  object-fit: contain;
  padding: 6px;
  filter: drop-shadow(0 24px 24px rgba(18, 16, 14, 0.18));
}

.detail-media figure > .product-viewer > img.fit-reference {
  width: 76%;
  height: 76%;
  max-width: 500px;
  max-height: 500px;
  padding: 0;
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0 48%, rgba(0, 0, 0, 0.7) 64%, transparent 92%);
  mask-image: radial-gradient(ellipse at center, #000 0 48%, rgba(0, 0, 0, 0.7) 64%, transparent 92%);
  filter:
    brightness(1.03)
    contrast(1.06)
    saturate(1.04);
}

.image-blend-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: none;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 250, 241, 0.7), transparent 20%, transparent 80%, rgba(255, 250, 241, 0.7)),
    linear-gradient(180deg, rgba(255, 250, 241, 0.72), transparent 18%, transparent 78%, rgba(234, 220, 200, 0.74));
}

.product-viewer:has(img.fit-reference) .image-blend-overlay {
  display: block;
}

.detail-media figure > .product-viewer > img.fit-slightly-smaller {
  width: 72%;
  height: 72%;
  max-width: 480px;
  max-height: 480px;
}

.detail-media figure > .product-viewer > img.fit-user-presentation {
  width: 76%;
  height: 76%;
  max-width: 500px;
  max-height: 500px;
  padding: 0;
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to bottom, #000 0 72%, rgba(0, 0, 0, 0.7) 82%, transparent 95%);
  mask-image: linear-gradient(to bottom, #000 0 72%, rgba(0, 0, 0, 0.7) 82%, transparent 95%);
  filter:
    brightness(1.02)
    contrast(1.04)
    saturate(1.02);
}

.detail-media figure > .product-viewer > img.fit-transparent-bottle {
  width: 76%;
  height: 84%;
  max-width: 500px;
  max-height: 560px;
  padding: 0;
  mix-blend-mode: normal;
  filter: drop-shadow(0 24px 24px rgba(18, 16, 14, 0.18));
}

.detail-media figure > .product-viewer > img.fit-armani-code {
  width: 58%;
  height: 58%;
  max-width: 390px;
  max-height: 390px;
  padding: 0;
  mix-blend-mode: multiply;
  filter:
    brightness(1.02)
    contrast(1.04)
    saturate(1.02);
}

.detail-media figure > .product-viewer > img.fit-wide {
  width: 110%;
  height: 110%;
  max-width: none;
  padding: 0;
  mix-blend-mode: multiply;
}

.detail-media figcaption {
  padding: 0 18px 18px;
  color: #8f6a33;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.box-missing {
  display: grid;
  position: relative;
  z-index: 1;
  width: min(180px, 70%);
  min-height: 240px;
  place-items: center;
  padding: 20px;
  border: 1px dashed rgba(160, 124, 69, 0.42);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(236, 224, 202, 0.82)),
    #f2e6d1;
  color: #8f6a33;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.detail-content {
  align-self: center;
  display: grid;
  gap: 18px;
  max-width: 720px;
  padding-right: 24px;
}

.detail-content h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  font-weight: 600;
  line-height: 0.98;
}

.detail-content p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.note-grid {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.note-grid article {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
}

.note-grid span {
  color: #8f6a33;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.note-grid strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.45;
}

.note-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.detail-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  margin-top: 6px;
}

.detail-size {
  display: grid;
  gap: 8px;
  max-width: 360px;
}

.detail-size[hidden] {
  display: none;
}

.detail-size > span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-footer > strong {
  font-size: 1.5rem;
}

.detail-footer .add-button {
  width: auto;
  min-width: 210px;
  margin: 0;
  padding: 0 22px;
}

.cart-panel.open {
  visibility: visible;
  pointer-events: auto;
}

.cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 16, 15, 0.5);
  opacity: 0;
  transition: opacity 180ms ease;
}

.cart-panel.open .cart-backdrop {
  opacity: 1;
}

.cart-drawer {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(440px, 100%);
  height: 100%;
  background: var(--paper);
  box-shadow: -24px 0 70px rgba(0, 0, 0, 0.22);
  transform: translateX(100%);
  transition: transform 220ms ease;
}

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

.cart-head,
.cart-footer {
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: white;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
}

.cart-items {
  overflow: auto;
  padding: 16px;
}

.cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line h3 {
  margin: 0 0 4px;
  font-size: 0.98rem;
}

.cart-line p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.qty-controls {
  display: grid;
  grid-template-columns: 34px 34px 34px;
  align-items: center;
  overflow: hidden;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
}

.qty-controls button {
  height: 100%;
  border: 0;
  background: white;
  cursor: pointer;
  font-weight: 900;
}

.qty-controls span {
  text-align: center;
  font-weight: 900;
}

.cart-footer {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.2rem;
}

.payment-field {
  gap: 8px;
}

.payment-field select {
  min-height: 48px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin: -34px clamp(18px, 5vw, 72px) 42px;
  padding: 18px 0 0;
  border-top: 1px solid rgba(17, 16, 15, 0.08);
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.65;
}

.site-footer strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 0.86rem;
}

.site-footer p {
  max-width: 760px;
  margin: 0;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  min-width: 250px;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 7px 12px 7px 8px;
  border: 1px solid rgba(202, 168, 106, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: #8f6a33;
  font-weight: 900;
  text-decoration: none;
}

.footer-contact img {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

.footer-contact a[href*="wa.me"] img {
  width: 31px;
  height: 31px;
  margin-left: 0;
  border-radius: 8px;
  object-fit: cover;
  background: transparent;
}

.full {
  width: 100%;
}

.empty-state {
  display: grid;
  min-height: 220px;
  place-items: center;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 1280px) {
  .product-grid,
  .decant-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 940px) {
  .topbar {
    position: sticky;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    min-height: 64px;
  }

  .section-links {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    padding-top: 8px;
    border-top: 1px solid rgba(17, 16, 15, 0.06);
  }

  .top-actions {
    grid-column: 2;
    grid-row: 1;
  }

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

  .hero {
    min-height: auto;
  }

  .showcase-card.large {
    grid-row: auto;
    min-height: 380px;
  }

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

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

  .filters {
    margin: 0;
    padding: 16px;
    border: 1px solid rgba(232, 226, 218, 0.88);
    border-radius: 22px;
  }

  .detail-drawer {
    inset: 12px;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
  }

  .detail-media {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

  .detail-media .product-viewer {
    height: clamp(320px, 56vw, 500px);
  }

  .detail-content {
    padding-right: 0;
  }
}

@media (max-width: 580px) {
  html,
  body {
    max-width: 100%;
  }

  body {
    background: #fbfaf7;
  }

  .topbar {
    align-items: center;
    gap: 14px;
    min-height: 72px;
    padding: 12px 18px;
  }

  .brand {
    min-width: 0;
    gap: 12px;
  }

  .brand-mark {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    flex: 0 0 auto;
  }

  .brand strong {
    overflow: hidden;
    max-width: 150px;
    font-size: 0.98rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand small {
    display: block;
    font-size: 0.72rem;
  }

  .top-actions {
    width: auto;
    justify-content: flex-end;
  }

  .section-links {
    gap: 44px;
  }

  .ghost-link {
    font-size: 0.82rem;
  }

  .cart-trigger {
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.9rem;
  }

  .cart-trigger strong {
    min-width: 22px;
    height: 22px;
    font-size: 0.72rem;
  }

  .catalog-shell {
    gap: 20px;
    max-width: 100%;
    padding: 18px 18px 58px;
    scroll-margin-top: 72px;
  }

  .filters {
    gap: 12px;
    padding: 16px;
    border-radius: 22px;
    box-shadow: 0 12px 36px rgba(18, 16, 14, 0.06);
  }

  .field {
    gap: 6px;
  }

  .field input,
  .field select {
    min-height: 44px;
    border-radius: 14px;
    font-size: 1rem;
  }

  .segmented {
    min-height: 44px;
  }

  .segmented button {
    min-height: 36px;
    font-size: 0.96rem;
  }

  .product-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 14px;
  }

  .toolbar-note {
    max-width: none;
    font-size: 0.78rem;
    text-align: left;
  }

  .product-toolbar h2 {
    font-size: 1.55rem;
  }

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

  .order-area {
    margin-top: 24px;
    padding-top: 28px;
  }

  .product-card {
    grid-template-rows: 118px 1fr auto;
    min-height: 292px;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(18, 16, 14, 0.07);
  }

  .product-card.has-variants {
    min-height: 324px;
  }

  .product-card:hover {
    transform: none;
  }

  .product-visual::before {
    inset: 10px 9px 12px;
    border-radius: 16px;
    border-color: transparent;
    background:
      radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.52), rgba(244, 235, 216, 0.28) 54%, rgba(251, 250, 247, 0) 78%);
    box-shadow: none;
  }

  .product-visual::after {
    left: 18%;
    right: 18%;
    bottom: 12px;
    height: 10px;
    filter: blur(9px);
  }

  .product-image {
    width: 76%;
    height: 76%;
    max-width: 86px;
    max-height: 92px;
  }

  .product-image.image-transparent-cutout {
    max-width: 92px;
    max-height: 110px;
    filter: drop-shadow(0 12px 13px rgba(18, 16, 14, 0.2));
  }

  .product-image.crop-la-vie-bottle {
    clip-path: inset(0 20% 0 0);
    transform: translateX(9%) scale(1.05);
  }

  .product-image.center-gentleman-bottle {
    transform: translateX(-2%) scale(1.03);
  }

  .product-info {
    gap: 5px;
    padding: 9px 8px 8px;
  }

  .brand-name {
    font-size: 0.5rem;
    letter-spacing: 0.04em;
  }

  .product-info h3 {
    min-height: 42px;
    font-size: 0.68rem;
    line-height: 1.2;
  }

  .product-note {
    display: none;
  }

  .product-variants {
    gap: 2px;
    padding: 3px;
    border-radius: 10px;
  }

  .product-variants button {
    min-height: 27px;
    border-radius: 7px;
    font-size: 0.58rem;
  }

  .price-row {
    display: grid;
    gap: 2px;
  }

  .price {
    font-size: 0.78rem;
  }

  .stock {
    font-size: 0.58rem;
  }

  .add-button {
    width: calc(100% - 16px);
    min-height: 34px;
    margin: 0 8px 8px;
    padding: 0 4px;
    font-size: 0.62rem;
    line-height: 1.1;
  }

  .decant-area {
    margin-top: 24px;
    padding-top: 28px;
  }

  .decant-toolbar p {
    font-size: 0.78rem;
  }

  .decant-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .decant-card {
    grid-template-columns: 118px minmax(0, 1fr);
    grid-template-rows: auto auto;
    min-height: 0;
    border-radius: 14px;
  }

  .decant-visual {
    grid-row: 1 / 3;
    min-height: 0;
    height: 100%;
    padding: 0;
  }

  .decant-product-shot {
    width: min(72%, 82px);
    height: min(68%, 158px);
  }

  .decant-visual::before {
    inset: 12px 10px 14px;
    border-radius: 16px;
    border-color: transparent;
    background:
      radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.52), rgba(244, 235, 216, 0.28) 54%, rgba(251, 250, 247, 0) 78%);
    box-shadow: none;
  }

  .decant-visual::after {
    left: 18%;
    right: 18%;
    bottom: 22px;
  }

  .decant-fallback {
    width: 48px;
    height: 124px;
  }

  .decant-badge {
    top: 10px;
    left: 8px;
    padding: 5px 7px;
    font-size: 0.54rem;
  }

  .decant-info {
    gap: 7px;
    padding: 14px 12px 8px;
  }

  .decant-info h3 {
    min-height: 0;
    font-size: 0.82rem;
  }

  .decant-note {
    min-height: 0;
    font-size: 0.7rem;
  }

  .decant-size button {
    min-height: 34px;
    font-size: 0.72rem;
  }

  .decant-card > .add-button {
    grid-column: 2;
    width: calc(100% - 24px);
    min-height: 36px;
    margin: 0 12px 12px;
    font-size: 0.7rem;
  }

  .cart-drawer {
    width: 100%;
    max-width: 100%;
  }

  .cart-line {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .qty-controls {
    justify-content: space-between;
    width: 100%;
  }

  .detail-panel.open {
    overflow: hidden;
  }

  .detail-drawer {
    top: 12px;
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: block;
    width: auto;
    max-width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
    min-height: auto;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 14px;
    border-radius: 20px;
  }

  .detail-close {
    top: 18px;
    right: 18px;
  }

  .detail-media {
    display: block;
    position: relative;
    z-index: 0;
    height: auto;
    min-height: 0;
    margin-bottom: 18px;
  }

  .detail-media figure {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    grid-template-rows: auto auto;
    gap: 0;
    border-radius: 22px;
  }

  .detail-media .product-viewer {
    max-width: 100%;
    height: clamp(220px, 62vw, 300px);
    min-height: 0;
    overflow: hidden;
  }

  .detail-media figcaption {
    align-self: start;
    padding: 0 14px 14px;
    text-align: left;
  }

  .detail-media figure > .product-viewer > img {
    width: 78%;
    height: 78%;
    max-width: 280px;
    max-height: 250px;
  }

  .detail-media figure > .product-viewer > img.fit-reference {
    width: 80%;
    height: 80%;
    max-width: 285px;
    max-height: 250px;
  }

  .detail-media figure > .product-viewer > img.fit-user-presentation {
    width: 78%;
    height: 78%;
    max-width: 280px;
    max-height: 250px;
    -webkit-mask-image: radial-gradient(ellipse 72% 78% at 50% 44%, #000 0 58%, rgba(0, 0, 0, 0.76) 76%, transparent 98%);
    mask-image: radial-gradient(ellipse 72% 78% at 50% 44%, #000 0 58%, rgba(0, 0, 0, 0.76) 76%, transparent 98%);
  }

  .product-viewer:has(img.fit-user-presentation) .image-blend-overlay {
    display: block;
    background:
      linear-gradient(90deg, rgba(255, 250, 241, 0.78), transparent 18%, transparent 82%, rgba(255, 250, 241, 0.78)),
      linear-gradient(180deg, rgba(255, 250, 241, 0.7), transparent 20%, transparent 72%, rgba(234, 220, 200, 0.74));
  }

  .detail-media figure > .product-viewer > img.fit-transparent-bottle {
    width: 78%;
    height: 86%;
    max-width: 230px;
    max-height: 270px;
  }

  .detail-media figure > .product-viewer > img.fit-armani-code {
    width: 58%;
    height: 58%;
    max-width: 210px;
    max-height: 210px;
  }

  .detail-decant-sample {
    right: clamp(18px, 7%, 28px);
    bottom: 12%;
    width: clamp(40px, 12%, 50px);
    height: auto;
    aspect-ratio: 1 / 3;
  }

  #detailDecantLabel {
    top: -24px;
    padding: 3px 6px;
    font-size: 0.56rem;
  }

  .product-viewer:has(.detail-decant-sample:not([hidden])) > #detailBox {
    width: 70%;
    height: 78%;
    max-width: 220px;
    max-height: 235px;
    transform: translateX(-9%);
  }

  .detail-content {
    position: relative;
    z-index: 1;
    clear: both;
    gap: 14px;
    padding: 2px 2px 0;
  }

  .detail-content h2 {
    font-size: clamp(2.25rem, 10vw, 3.2rem);
    line-height: 0.96;
  }

  .detail-content > p {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .note-grid {
    gap: 8px;
  }

  .note-grid article {
    padding: 14px 16px;
    border-radius: 16px;
  }

  .note-grid article strong,
  .note-grid article p {
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .detail-price,
  #detailPrice {
    font-size: 1.2rem;
  }

  .detail-footer {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .detail-footer .add-button {
    width: 100%;
    margin: 0;
  }

  .site-footer {
    display: grid;
    gap: 14px;
    margin: -22px 18px 34px;
    font-size: 0.76rem;
  }

  .footer-contact {
    justify-content: flex-start;
    min-width: 0;
  }
}
