@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&family=Manrope:wght@400;500;600;700&family=Special+Elite&display=swap');

:root {
  --bg: #14100f;
  --bg-soft: #1d1715;
  --panel: rgba(32, 25, 23, 0.78);
  --panel-strong: rgba(24, 19, 17, 0.92);
  --surface: #231b19;
  --line: rgba(255, 243, 228, 0.12);
  --line-strong: rgba(255, 243, 228, 0.22);
  --text: #f5ede2;
  --muted: #bbaea0;
  --accent: #c58a5c;
  --accent-soft: #88624c;
  --success: #9db986;
  --danger: #cf8e7d;
  --radius-xs: 10px;
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 38px;
  --shadow: 0 22px 80px rgba(0, 0, 0, 0.35);
  --container: min(1240px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 0%, rgba(137, 93, 67, 0.34), transparent 32%),
    radial-gradient(circle at 82% 12%, rgba(75, 88, 92, 0.22), transparent 24%),
    linear-gradient(180deg, #17110f 0%, #0e0b0a 54%, #090807 100%);
  min-height: 100vh;
}

body[data-page='product'] .section[data-product-root] {
  padding-top: 24px;
}

body[data-page='category'],
body[data-page='home'],
body[data-page='favorites'] {
  --container: min(1480px, calc(100vw - 56px));
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
}

.page-shell> :not(.fx-canvas):not(.bg-glow) {
  position: relative;
  z-index: 1;
}

.fx-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.bg-glow {
  position: fixed;
  z-index: 0;
  width: 38vw;
  height: 38vw;
  border-radius: 999px;
  filter: blur(112px);
  opacity: 0.08;
  pointer-events: none;
  animation: ambientGlowDrift 18s ease-in-out infinite alternate;
}

body.fx-mobile-chrome-safe .bg-glow {
  display: none;
}

body.fx-mobile-chrome-safe .fx-canvas {
  opacity: 0.98;
}

.bg-glow--warm {
  top: -15vw;
  right: -11vw;
  background: radial-gradient(circle, rgba(173, 112, 79, 0.82) 0%, rgba(173, 112, 79, 0) 70%);
}

.bg-glow--ash {
  bottom: -16vw;
  left: -12vw;
  background: radial-gradient(circle, rgba(90, 104, 107, 0.72) 0%, rgba(90, 104, 107, 0) 72%);
  animation-duration: 24s;
}

@keyframes ambientGlowDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  100% {
    transform: translate3d(3vw, -2vw, 0) scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-glow {
    animation: none;
    transform: none;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(18, 14, 13, 0.74);
  border-bottom: 1px solid var(--line);
}

.site-header__inner,
.section,
.site-footer__inner {
  width: var(--container);
  margin: 0 auto;
}

.site-header__inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.site-header__drawer {
  display: contents;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-lockup img {
  height: 34px;
  width: auto;
}

.brand-lockup__tag {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-header .brand-lockup__tag {
  display: none;
}

.site-nav,
.site-nav__secondary {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-menu-toggle {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
}

.site-menu-toggle__label {
  font-family: 'IBM Plex Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  color: var(--muted);
}

.site-menu-toggle__bars,
.site-menu-toggle__bars::before,
.site-menu-toggle__bars::after {
  display: block;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
  content: '';
}

.site-menu-toggle__bars {
  position: relative;
}

.site-menu-toggle__bars::before {
  position: absolute;
  top: -6px;
  left: 0;
}

.site-menu-toggle__bars::after {
  position: absolute;
  top: 6px;
  left: 0;
}

.site-header.is-mobile-open .site-menu-toggle__bars {
  background: transparent;
}

.site-header.is-mobile-open .site-menu-toggle__bars::before {
  transform: translateY(6px) rotate(45deg);
}

.site-header.is-mobile-open .site-menu-toggle__bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav {
  justify-content: center;
  flex-wrap: nowrap;
}

.site-nav a,
.site-nav__secondary a,
.site-nav__secondary button {
  font-family: 'IBM Plex Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  color: var(--muted);
  background: transparent;
  border: 0;
  padding: 0;
}

.site-nav a:hover,
.site-nav__secondary a:hover,
.site-nav__secondary button:hover,
.site-nav a.is-active {
  color: var(--text);
}

.site-header [data-nav-route='lookbook'],
.site-header [data-nav-route='contact'] {
  display: none;
}

.site-header [data-nav-route='about'] {
  margin-left: 10px;
  padding-left: 18px;
  position: relative;
}

.site-header [data-nav-route='about']::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 12px;
  background: rgba(255, 243, 228, 0.18);
  transform: translateY(-50%);
}

.section {
  position: relative;
  z-index: 2;
  padding: 56px 0;
}

.section--hero {
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
  padding-top: 40px;
}

.section--hero-home {
  position: relative;
  min-height: calc(100svh - 78px);
  overflow: clip;
  padding: 0;
  width: 100%;
  max-width: none;
  margin: 0;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-backdrop .ai-badge {
  top: 94px;
  right: 28px;
  z-index: 3;
}

.hero-backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 9, 8, 0.36) 0%, rgba(12, 9, 8, 0.2) 44%, rgba(12, 9, 8, 0.32) 100%),
    linear-gradient(180deg, rgba(12, 9, 8, 0.1) 0%, rgba(12, 9, 8, 0.42) 100%);
}

.hero-backdrop__image,
.hero-backdrop__placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-home-shell {
  position: relative;
  z-index: 2;
  min-height: calc(100svh - 78px);
  display: grid;
  width: min(1480px, calc(100vw - 72px));
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 28px;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 38px;
  align-items: stretch;
}

.hero-copy,
.hero-media,
.product-card,
.product-panel,
.info-panel,
.legal-panel,
.account-panel,
.cart-panel,
.checkout-panel,
.lookbook-card,
.empty-state,
.grid-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 620px;
}

.hero-copy--home {
  min-height: auto;
  width: min(100%, 760px);
  background: linear-gradient(180deg, rgba(18, 14, 13, 0.58) 0%, rgba(18, 14, 13, 0.68) 100%);
  padding: 36px 52px 24px;
  justify-self: start;
}

.hero-copy--home h1 {
  max-width: 12.2ch;
  font-size: clamp(2.8rem, 4.25vw, 5rem);
  margin-bottom: 14px;
  text-wrap: balance;
}

.hero-copy--home p {
  max-width: 52ch;
  font-size: 0.94rem;
  line-height: 1.62;
}

.hero-copy--home [data-home-hero] {
  display: grid;
  align-content: start;
}

.hero-copy--home .hero-actions {
  margin-top: 16px;
  margin-bottom: 18px;
}

.hero-copy--home [data-home-ai-note] {
  margin-top: 8px;
}

.hero-side-card,
.story-panel {
  background: rgba(18, 14, 13, 0.62);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-side-card {
  padding: 18px 20px;
  align-self: end;
  max-width: 250px;
  margin-bottom: 18px;
}

.hero-side-card p:last-child,
.hero-side-card .mini-note:last-child {
  margin-bottom: 0;
}

[data-home-side-note] {
  display: none !important;
}

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-size: 12px;
  margin-bottom: 18px;
}

h1,
h2,
h3,
.display {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 0.94;
  margin: 0 0 16px;
}

h1,
.display {
  font-size: clamp(3.4rem, 9vw, 5.3rem);
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.8rem);
}

h3 {
  font-size: clamp(1.6rem, 2vw, 2.4rem);
}

p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.75;
}

.hero-copy--home p,
.hero-side-card p,
.editorial-card p,
.story-panel p,
.product-card__body p,
.product-panel p,
.content-panel p,
.info-panel p,
.legal-panel p,
.account-panel p,
.cart-panel p,
.checkout-panel p,
.lookbook-card__body p,
.footer-brand-copy p {
  font-family: 'Special Elite', 'Manrope', sans-serif;
  line-height: 1.9;
  letter-spacing: 0.01em;
}

.hero-actions,
.stack-actions,
.toolbar-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn,
.chip {
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  padding: 14px 20px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.btn:hover,
.chip:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 243, 228, 0.38);
}

.btn:disabled,
.chip:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.btn:disabled:hover,
.chip:disabled:hover {
  transform: none;
  border-color: var(--line-strong);
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent) 0%, #a8673f 100%);
  color: #130d0b;
}

.btn--secondary {
  background: rgba(255, 243, 228, 0.06);
  color: var(--text);
}

.hero-media {
  min-height: 620px;
  overflow: hidden;
  position: relative;
}

.hero-media::before {
  content: '';
  position: absolute;
  inset: 24px;
  border-radius: calc(var(--radius-lg) - 8px);
  border: 1px solid rgba(255, 243, 228, 0.18);
  pointer-events: none;
}

.hero-media__image,
.media-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-placeholder {
  background:
    linear-gradient(160deg, rgba(40, 30, 26, 0.78), rgba(18, 15, 14, 0.25)),
    url('/images/lookbook-placeholder.svg') center/cover no-repeat;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

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

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

.grid {
  display: grid;
  gap: 24px;
}

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

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

.editorial-grid,
.story-split {
  display: grid;
  gap: 24px;
}

.editorial-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: start;
}

.story-split {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}

.editorial-card,
.story-panel {
  padding: 32px;
}

.editorial-visual {
  position: relative;
  min-height: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: rgba(255, 243, 228, 0.03);
  width: fit-content;
  max-width: 100%;
  justify-self: start;
  display: flex;
}

.editorial-visual__asset {
  position: relative;
  display: flex;
}

.editorial-visual__image,
.editorial-visual__media,
.editorial-visual__placeholder {
  width: auto;
  height: auto;
  max-width: min(100%, 860px);
  max-height: min(72vh, 820px);
  object-fit: contain;
}

.editorial-visual__placeholder {
  width: min(100%, 860px);
  min-height: clamp(320px, 42vw, 640px);
  background:
    linear-gradient(160deg, rgba(40, 30, 26, 0.7), rgba(18, 15, 14, 0.18)),
    url('/images/lookbook-placeholder.svg') center / cover no-repeat;
}

.editorial-visual--secondary {
  justify-self: end;
}

.editorial-visual .ai-badge {
  top: 18px;
  right: 18px;
  z-index: 2;
}

.editorial-visual[data-ratio-kind='wide'],
.editorial-visual[data-ratio-kind='landscape'] {
  width: 100%;
}

.editorial-visual[data-ratio-kind='wide'] .editorial-visual__image,
.editorial-visual[data-ratio-kind='wide'] .editorial-visual__media,
.editorial-visual[data-ratio-kind='landscape'] .editorial-visual__image,
.editorial-visual[data-ratio-kind='landscape'] .editorial-visual__media {
  width: 100%;
  max-width: none;
}

.editorial-visual[data-ratio-kind='portrait'] .editorial-visual__image,
.editorial-visual[data-ratio-kind='portrait'] .editorial-visual__media {
  max-height: min(78vh, 900px);
}

.quote-card,
.editorial-card {
  align-self: start;
}

.editorial-card {
  width: min(100%, 480px);
  justify-self: end;
}

.quote-card {
  width: min(100%, 520px);
}

.story-panel--support {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.section--home-closing {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: clip;
  background: linear-gradient(180deg, rgba(20, 16, 14, 0.84) 0%, rgba(10, 8, 8, 0.98) 100%);
}

.home-closing-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(255, 243, 228, 0.02);
}

.home-closing-backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(12, 9, 8, 0.36) 0%, rgba(12, 9, 8, 0.24) 24%, rgba(12, 9, 8, 0.62) 100%),
    radial-gradient(circle at 18% 24%, rgba(12, 9, 8, 0.08), transparent 26%),
    radial-gradient(circle at 82% 30%, rgba(12, 9, 8, 0.16), transparent 24%);
}

.home-closing-backdrop__picture,
.home-closing-backdrop__picture img,
.home-closing-backdrop__placeholder {
  display: block;
  width: 100%;
  height: 100%;
}

.home-closing-backdrop__picture,
.home-closing-backdrop__placeholder {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-closing-backdrop__picture img {
  object-fit: cover;
  filter: brightness(0.8) saturate(0.9);
}

.home-closing-backdrop .ai-badge {
  top: 24px;
  right: 24px;
  z-index: 2;
}

.home-closing-shell {
  position: relative;
  z-index: 1;
  padding-top: 72px;
  padding-bottom: 88px;
}

.home-closing-shell .story-split {
  margin-top: 0;
}

body[data-page='home'] .section--home-closing .story-panel {
  background: rgba(16, 12, 11, 0.58);
  border-color: rgba(255, 243, 228, 0.14);
}

body[data-page='home'] .section--home-closing.has-media .story-panel {
  background: rgba(15, 11, 10, 0.42);
  border-color: rgba(255, 243, 228, 0.16);
}

@media (max-width: 1080px) {
  .home-closing-shell {
    padding-top: 56px;
    padding-bottom: 64px;
  }

  .home-closing-backdrop .ai-badge {
    top: 20px;
    right: 20px;
  }
}

@media (max-width: 760px) {
  .home-closing-shell {
    padding-top: 34px;
    padding-bottom: 40px;
  }

  .home-closing-backdrop .ai-badge {
    top: 16px;
    right: 16px;
  }

  .hero-copy--home {
    background: transparent;
  }
}

.product-card,
.lookbook-card,
.grid-card {
  overflow: hidden;
}

.product-card__media,
.lookbook-card__media {
  aspect-ratio: 1 / 1.15;
  background: rgba(255, 243, 228, 0.04);
  overflow: hidden;
  position: relative;
}

.product-card__media img,
.product-card__media video,
.lookbook-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ai-badge {
  color: white;
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(17, 15, 14, 0.85);
  border: 1px solid rgba(255, 243, 228, 0.22);
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.16em;
  font-size: 10px;
  text-transform: uppercase;
}

.inventory-note {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(197, 138, 92, 0.34);
  background: linear-gradient(180deg, rgba(48, 34, 29, 0.92) 0%, rgba(19, 15, 14, 0.84) 100%);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.inventory-note__copy {
  display: grid;
  gap: 4px;
}

.inventory-note__title {
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.06rem;
  line-height: 1;
}

.inventory-note__text {
  color: rgba(255, 243, 228, 0.82);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-transform: uppercase;
}

.inventory-note__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: rgba(255, 243, 228, 0.72);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
}

.inventory-note--overlay {
  flex: 0 1 150px;
  margin-left: auto;
  padding: 10px 12px;
  pointer-events: none;
  backdrop-filter: blur(12px);
  text-align: right;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.inventory-note--overlay .inventory-note__title {
  font-size: 0.92rem;
}

.inventory-note--overlay .inventory-note__text {
  font-size: 9px;
  line-height: 1.3;
}

.inventory-note--detail {
  gap: 8px;
  max-width: min(100%, 420px);
  padding: 10px 14px;
  justify-self: end;
  text-align: right;
}

.inventory-note--detail .inventory-note__title {
  font-size: 0.94rem;
}

.inventory-note--detail .inventory-note__meta {
  justify-content: flex-end;
}

#product-stock-note {
  display: flex;
  justify-content: flex-end;
}

#product-stock-note:empty {
  display: none;
}

.product-card__body,
.lookbook-card__body,
.grid-card__body {
  padding: 22px;
}

.product-card--catalog {
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(24, 19, 17, 0.88) 0%, rgba(19, 15, 14, 0.9) 100%);
  box-shadow: var(--shadow);
}

.product-card__media--catalog {
  aspect-ratio: 4 / 5.45;
  position: relative;
}

.product-card__body--catalog {
  display: grid;
  gap: 14px;
  justify-content: space-between;
}

.product-card__title-overlay {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  position: absolute;
  inset: auto 0 0 0;
  padding: 48px 20px 18px;
  background: linear-gradient(180deg, rgba(9, 7, 6, 0) 0%, rgba(9, 7, 6, 0.52) 48%, rgba(9, 7, 6, 0.84) 100%);
  pointer-events: none;
}

.product-card__title-overlay h3 {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.product-card__title-overlay h3 span {
  display: inline-block;
  color: var(--paper);
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.36);
}

.product-card__copy {
  margin: 0;
  font-size: 0.9rem;
}

.product-card__swatches,
.product-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-card__purchase-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.product-card__sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  flex: 1 1 auto;
}

.product-card__price-inline {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--paper);
  white-space: nowrap;
}

.catalog-swatch {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 243, 228, 0.18);
  border-radius: 999px;
  background: rgba(255, 243, 228, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.catalog-swatch.is-active {
  box-shadow: 0 0 0 2px rgba(197, 138, 92, 0.7);
  border-color: rgba(255, 243, 228, 0.34);
}

.catalog-swatch__thumb {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background-size: cover !important;
  background-position: center;
  background-repeat: no-repeat;
}

.product-card__actions {
  align-items: center;
}

.product-card__actions .btn {
  flex: 1 1 auto;
}

.product-card__icon-button {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 243, 228, 0.05);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.product-card__icon-button:hover,
.product-card__icon-button.is-active {
  transform: translateY(-2px);
  border-color: rgba(255, 243, 228, 0.38);
}

.product-card__icon-button.is-active {
  background: rgba(197, 138, 92, 0.18);
  color: #f8d7c4;
}

@media (max-width: 760px) {
  .product-card__title-overlay {
    gap: 12px;
    padding: 42px 18px 16px;
  }

  .inventory-note--overlay {
    flex-basis: 190px;
  }

  .product-card__purchase-row {
    gap: 14px;
  }

  .product-card__price-inline {
    font-size: 1rem;
  }
}

.meta-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

.quote-card {
  padding: 42px;
  border-radius: var(--radius-lg);
}

.quote-card blockquote {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(112px, 124px) minmax(400px, 500px) minmax(520px, 1fr);
  gap: 24px;
  margin-top: 8px;
  align-items: start;
  justify-content: space-between;
}

.product-gallery {
  display: grid;
  grid-template-columns: 76px minmax(400px, 640px);
  gap: 20px;
  grid-column: 1 / span 2;
  justify-content: start;
  align-items: start;
}

.thumbnail-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-content: start;
  grid-row: 1 / span 2;
  align-self: stretch;
  height: auto;
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

.thumbnail-stack button {
  border: 1px solid var(--line);
  background: rgba(255, 243, 228, 0.04);
  border-radius: var(--radius-sm);
  overflow: hidden;
  padding: 0;
  aspect-ratio: 3 / 4;
  height: auto;
}

.thumbnail-stack button.is-active {
  border-color: var(--accent);
}

.thumbnail-stack__video,
.thumbnail-stack__video img,
.thumbnail-stack button>img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail-stack__video {
  position: relative;
}

.thumbnail-stack__play {
  position: absolute;
  inset: auto 10px 10px 10px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(17, 15, 14, 0.82);
  border: 1px solid rgba(255, 243, 228, 0.18);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: white;
}

.product-main-media {
  width: min(100%, 720px);
  aspect-ratio: 17 / 24;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 243, 228, 0.04);
  min-height: 0;
  max-height: calc(100vh - 160px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  justify-self: start;
}

.product-gallery__note {
  grid-column: 2;
  margin-top: 10px;
}

.product-gallery__note .status-inline {
  margin: 0;
}

.product-main-media img,
.product-main-media video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: rgba(18, 14, 13, 0.94);
}

.product-main-media__asset,
.product-main-media__button {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.product-main-media__button {
  padding: 0;
  border: 0;
  background: transparent;
}

.product-main-media__zoom {
  color: white;
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 243, 228, 0.18);
  background: rgba(17, 15, 14, 0.76);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-panel {
  padding: 32px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 14px;
  position: sticky;
  top: 98px;
  max-height: none;
  overflow: visible;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(24, 19, 17, 0.88) 0%, rgba(18, 14, 13, 0.92) 100%);
  box-shadow: var(--shadow);
}

.product-panel__content {
  display: block;
  grid-template-columns: minmax(172px, 0.86fr) minmax(0, 1.24fr);
  min-height: 0;
  grid-template-areas:
    'title intro'
    'colors intro'
    'sizes measurements'
    'materialsCopy materialsCopy'
    'materials materials';
  gap: 20px 30px;
  align-content: start;
  align-items: start;
  overflow: visible;
  padding-right: 0;
}

.product-panel__title-block {
  grid-area: title;
  margin-bottom: 25px;
}

.product-panel__title-block h1 {
  margin: 0;
  line-height: 0.9;
  font-size: clamp(4.4rem, 6vw, 5.2rem);
}

.product-panel__intro-block {
  grid-area: intro;
  display: grid;
  gap: 18px;
  align-content: start;
  padding-top: 0;
  margin-bottom: 18px;
}

.product-panel__intro-block p,
#product-short-copy p {
  margin: 0;
}

#product-subtitle {
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.45;
  margin: 0;
}

#product-short-copy {
  display: grid;
  gap: 0;
}

.field--colors {
  grid-area: colors;
  margin: 0 0 18px;
}

.field--sizes {
  grid-area: sizes;
  align-self: start;
  margin: 0 0 16px;
}

.field--measurements {
  grid-area: measurements;
  align-self: start;
  margin: 0 0 28px;
}

.field--description {
  grid-area: description;
  display: none;
}

.field--materials-copy {
  grid-area: materialsCopy;
  margin: 0 0 12px;
}

.field--materials-label {
  grid-area: materialsLabel;
  margin-bottom: -6px;
  display: none;
}

#product-material-logos {
  grid-area: materials;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
  justify-content: start;
}

.product-panel__purchase {
  display: grid;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.product-panel__purchase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
}

.field--quantity input {
  width: 92px;
  min-width: 0;
  padding-inline: 10px;
  text-align: center;
}

.product-panel__purchase #product-price .product-price {
  margin: 0;
}

.product-panel__purchase .toolbar-actions {
  display: grid;
  grid-template-columns: 92px minmax(200px, 1fr) minmax(220px, 0.72fr);
  gap: 12px;
  align-items: center;
}

.product-panel__purchase .toolbar-actions .btn--primary {
  width: 100%;
}

.product-panel__purchase .toolbar-actions .btn--secondary {
  min-width: 0;
  justify-content: center;
}

.product-panel .field {
  min-width: 0;
}

.product-panel .field p,
.product-panel .field li,
#product-short-copy p {
  font-size: 0.94rem;
  line-height: 1.75;
}

.swatch-row,
.size-row,
.tag-row,
.material-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.swatch {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 243, 228, 0.18);
  background-size: cover;
  background-position: center;
}

.swatch.is-active {
  box-shadow: 0 0 0 1px var(--accent);
}

.swatch--named {
  width: auto;
  height: auto;
  min-height: 38px;
  padding: 5px 10px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 243, 228, 0.04);
}

.swatch--named.is-active {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.swatch__dot {
  width: 128px;
  height: 34px;
  flex: 0 0 108px;
  border-radius: 999px;
  border: 1px solid rgba(255, 243, 228, 0.18);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.swatch__label {
  color: var(--text);
  font-size: 0.9rem;
}

.field--colors>label,
.field--description>label,
.field--quantity>label,
.field--materials-label>label,
.field--materials-copy>label,
.field--sizes>label,
.field--measurements>label {
  display: none;
}

.field--colors .swatch-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
  align-content: flex-start;
  width: 100%;
}

.product-panel .toolbar-actions {
  display: grid;
  grid-template-columns: 92px minmax(200px, 1fr) minmax(220px, 0.72fr);
}

.size-row .chip {
  min-width: 72px;
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.field--colors,
.field--sizes,
.field--measurements {
  display: grid;
  gap: 12px;
}

#product-title,
#product-subtitle,
#product-short-copy p,
#product-description p,
#product-materials-copy p,
#product-measurements p,
.material-pill__body span,
.material-pill__body strong,
.product-gallery__note .status-inline {
  text-wrap: pretty;
}

#product-title,
#product-subtitle {
  text-wrap: balance;
}

.product-panel .btn--secondary.is-active {
  border-color: rgba(255, 243, 228, 0.36);
  background: rgba(197, 138, 92, 0.18);
}

.chip {
  background: rgba(255, 243, 228, 0.05);
  color: var(--text);
}

.chip.is-active {
  background: rgba(197, 138, 92, 0.18);
  border-color: var(--accent);
}

.material-pill {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 14px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: rgba(255, 243, 228, 0.04);
}

@media (max-width: 1480px) {
  .split-layout {
    grid-template-columns: minmax(112px, 124px) minmax(360px, 460px) minmax(420px, 1fr);
  }

  .product-gallery {
    grid-template-columns: 72px minmax(360px, 460px);
  }

  .product-panel {
    max-height: none;
    overflow: visible;
  }

  .product-panel__content {
    overflow: visible;
    padding-right: 0;
  }

  #product-material-logos {
    gap: 14px;
  }
}

.material-pill__logo {
  min-height: 80px;
  padding: 8px 10px;
  border-radius: 18px;
  background: #000;
  display: grid;
  place-items: center;
}

.material-pill__logo img {
  width: 100%;
  object-fit: contain;
  display: block;
}

.material-pill__body {
  display: grid;
  gap: 6px;
}

.material-pill__heading {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.material-pill__body strong {
  font-size: 1rem;
  color: var(--text);
}

.material-pill__type {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 400;
}

.material-pill__type::before {
  content: '-';
  margin-left: 3px;
  margin-right: 8px;
}

.material-pill__body span {
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.92rem;
}

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

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

.field label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 243, 228, 0.05);
  color: var(--text);
  padding: 14px 16px;
}

.field select option {
  color: #140f0d;
  background: #f3e8dc;
}

.field textarea {
  resize: vertical;
}

.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  margin-top: 64px;
  padding: 42px 0 64px;
  background: linear-gradient(180deg, rgba(10, 8, 7, 0.14) 0%, rgba(8, 7, 7, 0.28) 100%);
  backdrop-filter: blur(12px) saturate(104%);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
}

.footer-brand-mark {
  margin-bottom: 20px;
}

.footer-brand-mark,
.footer-brand-logo {
  margin-inline: 0;
}

.has-footer-logo>.eyebrow {
  display: none;
}

.footer-brand-logo {
  width: min(220px, 100%);
  height: auto;
  object-fit: contain;
  opacity: 0.96;
}

.footer-brand-copy {
  display: grid;
  gap: 8px;
}

.footer-column--brand {
  justify-items: start;
  text-align: left;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.footer-column {
  display: grid;
  gap: 14px;
}

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

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

.status-inline {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 243, 228, 0.04);
  color: var(--muted);
}

.status-inline.is-success {
  border-color: rgba(157, 185, 134, 0.4);
  color: #dcebd2;
}

.status-inline.is-error {
  border-color: rgba(207, 142, 125, 0.4);
  color: #f2c8be;
}

.hidden {
  display: none !important;
}

html.has-modal-open {
  overflow: hidden;
}

.has-modal-open {
  overflow: hidden;
}

.has-modal-open .fx-canvas,
.has-modal-open .bg-glow {
  opacity: 0;
}

.product-media-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 7, 7, 0.96);
  backdrop-filter: none;
  isolation: isolate;
}

.product-media-modal__close {
  position: absolute;
  top: 22px;
  right: 24px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 243, 228, 0.24);
  background: rgba(17, 15, 14, 0.82);
  color: var(--text);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-media-modal__content {
  width: min(96vw, 1600px);
  height: min(96vh, calc(100svh - 32px));
  display: block;
  position: relative;
  z-index: 1;
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.product-media-modal__content::-webkit-scrollbar {
  display: none;
}

.product-media-modal__image {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  max-height: 100%;
  cursor: zoom-in;
  transition: max-width 180ms ease, max-height 180ms ease, height 180ms ease;
}

.product-media-modal__image.is-zoomed {
  max-width: none;
  max-height: none;
  height: min(180vh, 2200px);
  width: auto;
  cursor: zoom-out;
}

@media (max-width: 1080px) {

  .hero-grid,
  .split-layout,
  .site-footer__inner,
  .hero-home-shell,
  .editorial-grid,
  .story-split,
  .footer-columns {
    grid-template-columns: 1fr;
  }

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

  .product-gallery {
    grid-column: auto;
  }

  .product-main-media {
    order: 1;
  }

  .thumbnail-stack {
    order: 2;
  }

  .product-gallery__note {
    grid-column: auto;
    order: 3;
  }

  .thumbnail-stack {
    height: auto;
    max-height: none;
  }

  .thumbnail-stack button {
    aspect-ratio: 3 / 4;
    height: auto;
  }

  .product-main-media {
    width: 100%;
    aspect-ratio: auto;
  }

  .product-panel__content {
    display: block;
  }

  .product-panel__intro-block {
    gap: 14px;
    margin-bottom: 16px;
  }

  #product-material-logos {
    display: grid;
    grid-template-columns: 1fr;
  }

  .material-pill {
    width: 100%;
    max-width: none;
    flex-basis: 100%;
  }

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

  #product-stock-note {
    justify-content: flex-start;
  }

  .inventory-note--detail {
    justify-self: stretch;
    text-align: left;
  }

  .inventory-note--detail .inventory-note__meta {
    justify-content: flex-start;
  }

  .product-panel__purchase .toolbar-actions .btn--secondary {
    min-width: 0;
  }

  .hero-home-shell {
    width: min(100vw - 32px, 1120px);
    gap: 20px;
    padding-top: 96px;
    padding-bottom: 24px;
  }

  .hero-backdrop .ai-badge {
    top: 86px;
    right: 18px;
  }

  .hero-copy--home {
    width: min(100%, 700px);
    padding: 30px 32px 22px;
  }

  .hero-copy--home h1 {
    max-width: 11.5ch;
    font-size: clamp(2.55rem, 4.8vw, 4.3rem);
  }

  .hero-side-card {
    max-width: none;
    margin-bottom: 0;
  }
}

@media (max-width: 1400px) and (min-width: 1081px),
(max-height: 1100px) and (min-width: 1081px) {
  .hero-home-shell {
    width: min(1400px, calc(100vw - 56px));
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 22px;
    padding-top: 86px;
    padding-bottom: 18px;
  }

  .hero-backdrop .ai-badge {
    top: 18px;
    right: 18px;
  }

  .hero-copy--home {
    width: min(100%, 700px);
    padding: 28px 34px 20px;
  }

  .hero-copy--home h1 {
    font-size: clamp(2.45rem, 4vw, 4.35rem);
    max-width: 12.4ch;
  }

  .hero-copy--home p {
    font-size: 0.9rem;
  }

  .hero-copy--home .hero-actions {
    margin-top: 12px;
    margin-bottom: 14px;
  }

  .hero-side-card {
    max-width: 220px;
    padding: 16px;
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100vw - 24px, 1000px);
  }

  .site-header__inner {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      'brand toggle'
      'drawer drawer';
    align-items: center;
    gap: 10px 16px;
    padding: 12px 0 10px;
  }

  .brand-lockup {
    grid-area: brand;
    gap: 0;
  }

  .brand-lockup img {
    height: 30px;
  }

  .brand-lockup__tag {
    display: none;
  }

  .site-menu-toggle {
    grid-area: toggle;
    display: inline-flex;
    justify-self: end;
  }

  .site-header__drawer {
    grid-area: drawer;
    display: none;
    gap: 16px;
    padding: 20px 12px 14px;
    border-top: 1px solid var(--line);
    background: rgba(15, 12, 11, 0.96);
    border-radius: 24px;
  }

  .site-header.is-mobile-open .site-header__drawer {
    display: grid;
  }

  .site-nav,
  .site-nav__secondary {
    grid-area: auto;
  }

  .site-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 14px;
    overflow: visible;
    padding: 0;
    width: 100%;
  }

  .site-nav__secondary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: stretch;
    gap: 14px 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 243, 228, 0.1);
    width: 100%;
  }

  .site-header [data-nav-route='about'] {
    margin-left: 0;
    padding-left: 0;
  }

  .site-header [data-nav-route='about']::before {
    display: none;
  }

  .site-nav a,
  .site-nav__secondary a,
  .site-nav__secondary button {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 56px;
    padding: 14px 2px;
    font-size: 14px;
    letter-spacing: 0.14em;
    white-space: nowrap;
    width: 100%;
  }

  .grid--3,
  .grid--2,
  .form-grid,
  .product-gallery,
  .product-panel .toolbar-actions {
    grid-template-columns: 1fr;
  }

  .product-panel__purchase-grid,
  #product-material-logos {
    grid-template-columns: 1fr;
  }

  .featured-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy,
  .hero-media,
  .product-main-media,
  .product-panel {
    min-height: auto;
    max-height: none;
    position: static;
  }

  .hero-home-shell {
    width: min(100vw - 24px, 720px);
    padding-top: 32px;
    padding-bottom: 20px;
  }

  .hero-copy--home {
    max-width: none;
    width: 100%;
    padding: 30px 22px 22px;
  }

  .hero-copy--home h1 {
    max-width: 11ch;
    font-size: clamp(2.75rem, 13vw, 4.6rem);
  }

  .hero-side-card {
    display: none;
  }

  .thumbnail-stack {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .section {
    padding: 40px 0;
  }

  .editorial-card,
  .quote-card {
    width: 100%;
    justify-self: stretch;
  }

  .footer-column--brand {
    justify-items: center;
    text-align: center;
  }

  .footer-column--brand [data-footer-body] {
    display: grid;
    justify-items: center;
    width: 100%;
  }

  .footer-column--brand .footer-brand-mark {
    display: flex;
    justify-content: center;
    width: 100%;
    justify-self: center;
    margin-inline: auto;
  }

  .footer-column--brand .footer-brand-logo {
    margin-inline: auto;
  }

  .footer-column--brand .footer-brand-copy {
    justify-items: center;
    text-align: center;
  }

  .material-pill {
    display: table-column;
    padding: 12px 14px;
    border-radius: 26px;
    border: 1px solid var(--line);
    background: rgba(255, 243, 228, 0.04);
  }

  .material-pill__body {
    margin-top: 10px;
  }
}

@media (min-width: 2200px) {
  .hero-home-shell {
    width: min(1700px, calc(100vw - 96px));
    grid-template-columns: minmax(0, 1fr) 290px;
  }

  .hero-copy--home {
    padding: 44px 60px 30px;
  }

  .hero-copy--home h1 {
    font-size: clamp(3.2rem, 4.4vw, 6rem);
    max-width: 12ch;
  }
}

.product-media-modal {
  padding:
    max(14px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
}

.product-media-modal__close {
  top: max(14px, calc(env(safe-area-inset-top) + 2px));
  right: max(14px, calc(env(safe-area-inset-right) + 2px));
  z-index: 3;
}

.product-media-modal__content {
  width: min(100%, 1600px);
  height: min(100%, calc(100svh - 28px));
  display: grid;
  place-items: center;
  overflow: auto;
  box-sizing: border-box;
  padding-top: clamp(56px, 7svh, 84px);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.product-media-modal__content.is-zoomed {
  place-items: start center;
}

.product-media-modal__content::-webkit-scrollbar {
  display: none;
}

.product-media-modal__image {
  display: block;
  margin: auto;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100svh - clamp(88px, 12svh, 132px));
  cursor: zoom-in;
  transition: max-width 180ms ease, max-height 180ms ease, height 180ms ease;
}

.product-media-modal__image.is-zoomed {
  max-width: none;
  max-height: none;
  height: min(180vh, 2200px);
  width: auto;
  cursor: zoom-out;
}

@media (max-width: 1080px) {
  .product-media-modal {
    padding:
      max(10px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
  }

  .product-media-modal__close {
    top: max(10px, calc(env(safe-area-inset-top) + 2px));
    right: max(10px, calc(env(safe-area-inset-right) + 2px));
    padding: 9px 12px;
    font-size: 10px;
  }

  .product-media-modal__content {
    width: 100%;
    height: calc(100svh - 20px);
    padding-top: 54px;
  }

  .product-media-modal__image {
    max-height: calc(100svh - 84px);
  }
}

@media (max-width: 760px) {
  .product-media-modal__content {
    padding-top: 52px;
  }

  .product-media-modal__image {
    max-width: 100%;
    max-height: calc(100svh - 80px);
  }
}

@media (min-width: 760px) {
  body[data-page='product'] {
    --container: min(1640px, calc(100vw - 56px));
  }
}
