:root {
  color-scheme: light;
  --ink: #ecfff8;
  --muted: #9dafaa;
  --paper: #07100f;
  --white: #f7fff9;
  --panel: rgba(13, 26, 24, 0.84);
  --panel-solid: #101d1b;
  --green: #2ce48f;
  --green-dark: #08382c;
  --gold: #ffd166;
  --coral: #ff7f58;
  --cyan: #44d9ff;
  --charcoal: #050706;
  --line: rgba(111, 255, 190, 0.18);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --body-bg: radial-gradient(circle at 82% 12%, rgba(68, 217, 255, 0.13), transparent 28%), linear-gradient(180deg, #07100f 0%, #0b1513 48%, #07100f 100%);
  --header-bg: linear-gradient(90deg, rgba(5, 8, 7, 0.92), rgba(11, 24, 21, 0.78));
  --radius: 8px;
  --max: 1240px;
}

:root[data-theme="tropical"] {
  --ink: #fff9e8;
  --muted: #d7cfae;
  --paper: #132015;
  --white: #fffdf0;
  --panel: rgba(24, 46, 30, 0.86);
  --panel-solid: #1b3424;
  --green: #53df75;
  --green-dark: #155b31;
  --gold: #ffbd42;
  --coral: #ff7357;
  --cyan: #39d6cf;
  --charcoal: #06100b;
  --line: rgba(255, 211, 102, 0.24);
  --shadow: 0 24px 80px rgba(18, 40, 18, 0.42);
  --body-bg: radial-gradient(circle at 80% 10%, rgba(255, 188, 66, 0.2), transparent 28%), radial-gradient(circle at 14% 72%, rgba(57, 214, 207, 0.13), transparent 30%), linear-gradient(180deg, #102413 0%, #183b25 48%, #0d1c12 100%);
  --header-bg: linear-gradient(90deg, rgba(14, 35, 18, 0.94), rgba(42, 68, 24, 0.82));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--body-bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.drawer-open,
body.dialog-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  align-items: center;
  backdrop-filter: blur(22px) saturate(1.25);
  background: var(--header-bg);
  border-bottom: 1px solid rgba(111, 255, 190, 0.18);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 12px clamp(18px, 4vw, 48px);
  position: sticky;
  top: 0;
  z-index: 40;
}

.brand {
  align-items: center;
  color: var(--white);
  display: inline-flex;
  font-weight: 950;
  gap: 12px;
}

.brand-mark {
  border: 1px solid rgba(111, 255, 190, 0.28);
  border-radius: 4px;
  box-shadow: 0 0 22px rgba(44, 228, 143, 0.16);
  height: 48px;
  overflow: hidden;
  width: 48px;
}

.brand-mark img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.site-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.site-nav a,
.theme-toggle,
.cart-toggle,
.icon-button,
.search-field,
select {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(111, 255, 190, 0.2);
  border-radius: 4px;
  color: rgba(247, 255, 249, 0.84);
}

.site-nav a,
.theme-toggle,
.cart-toggle {
  align-items: center;
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 850;
  gap: 9px;
  min-height: 38px;
  padding: 0 14px;
}

.site-nav a:hover,
.theme-toggle:hover,
.cart-toggle:hover,
.site-nav a:focus-visible,
.theme-toggle:focus-visible,
.cart-toggle:focus-visible,
.icon-button:hover,
.icon-button:focus-visible {
  background: rgba(44, 228, 143, 0.12);
  border-color: rgba(44, 228, 143, 0.36);
  color: var(--white);
}

.cart-toggle strong {
  background: rgba(255, 209, 102, 0.18);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.76rem;
  min-width: 22px;
  padding: 2px 7px;
  text-align: center;
}

.nav-toggle {
  align-items: center;
  background: rgba(44, 228, 143, 0.12);
  border: 1px solid rgba(44, 228, 143, 0.28);
  border-radius: 50%;
  color: var(--white);
  display: none;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.nav-toggle svg {
  height: 24px;
  width: 24px;
}

.nav-toggle path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.hero {
  padding: clamp(34px, 5vw, 72px) clamp(18px, 4vw, 48px) 24px;
}

.hero-shell,
.section,
.cart-footer,
.dialog-shell {
  margin: 0 auto;
  max-width: var(--max);
}

.hero-shell {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.8fr);
}

.hero-copy,
.hero-panel-card,
.about-card,
.product-card,
.cart-drawer,
.product-dialog::backdrop,
.state-panel,
.toolbar,
.search-field,
select,
.dialog-shell,
.collection-pill {
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-panel-card,
.about-card,
.product-card,
.state-panel,
.toolbar,
.dialog-shell,
.cart-drawer,
.collection-pill {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.hero-copy,
.hero-panel-card {
  padding: clamp(22px, 3vw, 34px);
}

.hero-copy {
  background:
    linear-gradient(135deg, rgba(4, 10, 9, 0.97), rgba(7, 34, 27, 0.78)),
    radial-gradient(circle at top right, rgba(68, 217, 255, 0.18), transparent 28%);
}

.eyebrow {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.24em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.cart-header h2,
.dialog-copy h2 {
  color: var(--white);
  line-height: 1.02;
  margin: 0;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 5.3rem);
  max-width: 11ch;
}

.hero-copy > p:not(.eyebrow) {
  color: rgba(247, 255, 249, 0.8);
  font-size: 1.05rem;
  margin: 18px 0 0;
  max-width: 56ch;
}

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

.option-notice {
  background: rgba(255, 201, 77, 0.12);
  border: 1px solid rgba(255, 201, 77, 0.28);
  border-radius: 10px;
  color: #ffe7a3;
  margin: 14px 0 0;
  padding: 12px 14px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  gap: 10px;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
}

.button.primary {
  background: linear-gradient(90deg, #2ce48f, #44d9ff);
  color: #03100c;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.button.full {
  width: 100%;
}

.hero-notes {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 28px 0 0;
}

.hero-notes dt {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-notes dd {
  margin: 6px 0 0;
  font-weight: 800;
}

.status-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.status-list li {
  align-items: center;
  display: flex;
  gap: 10px;
}

.status-list i {
  color: var(--green);
}

.section {
  padding: clamp(26px, 4vw, 40px);
  width: min(calc(100% - 36px), var(--max));
  margin-bottom: 22px;
}

.collections-strip,
.about-section {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding-left: 0;
  padding-right: 0;
  width: min(calc(100% - 36px), var(--max));
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.section-heading.compact {
  margin-bottom: 16px;
}

.section-heading p:not(.eyebrow) {
  color: rgba(247, 255, 249, 0.72);
  margin: 0;
  max-width: 68ch;
}

.collection-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.collection-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(111, 255, 190, 0.16);
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  padding: 12px 16px;
}

.collection-pill.active {
  background: rgba(44, 228, 143, 0.16);
  border-color: rgba(44, 228, 143, 0.38);
}

.toolbar {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) 220px;
  margin-bottom: 20px;
  padding: 14px;
}

.sort-toolbar {
  align-items: center;
  display: grid;
  gap: 10px;
  justify-items: start;
  min-width: 0;
}

.sort-label {
  color: rgba(236, 255, 248, 0.62);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sort-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.sort-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(111, 255, 190, 0.16);
  border-radius: 999px;
  color: rgba(247, 255, 249, 0.84);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  min-height: 44px;
  padding: 0 14px;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.sort-pill:hover,
.sort-pill:focus-visible {
  border-color: rgba(255, 209, 102, 0.34);
  color: var(--white);
  transform: translateY(-1px);
}

.sort-pill.active {
  background: linear-gradient(135deg, rgba(39, 86, 53, 0.96), rgba(24, 57, 48, 0.92));
  border-color: rgba(83, 223, 117, 0.38);
  box-shadow: inset 0 0 0 1px rgba(83, 223, 117, 0.18), 0 12px 24px rgba(0, 0, 0, 0.22);
  color: var(--white);
}

.search-field {
  align-items: center;
  display: flex;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
}

.search-field input,
select {
  background: transparent;
  border: 0;
  color: var(--white);
  min-height: 48px;
  width: 100%;
}

select {
  padding: 0 14px;
}

option {
  color: #111;
}

.state-panel {
  align-items: center;
  color: var(--white);
  display: grid;
  gap: 14px;
  justify-items: center;
  min-height: 220px;
  padding: 30px;
  text-align: center;
}

.state-panel[hidden],
.product-grid[hidden],
.featured-section[hidden],
.picker-group[hidden],
.variant-field[hidden],
.option-summary[hidden],
.gallery-lightbox[hidden],
.scrim[hidden] {
  display: none !important;
}

.state-panel.error {
  border-color: rgba(255, 127, 88, 0.3);
}

.spinner {
  animation: spin 0.8s linear infinite;
  border: 3px solid rgba(255, 255, 255, 0.16);
  border-top-color: var(--green);
  border-radius: 50%;
  height: 34px;
  width: 34px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

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

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

.product-group {
  display: grid;
  gap: 14px;
}

.product-group-head {
  align-items: end;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: space-between;
  padding-bottom: 10px;
}

.product-group-head h3 {
  color: var(--white);
  font-size: 1.18rem;
  margin: 0;
}

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

.product-card {
  display: grid;
  gap: 14px;
  overflow: hidden;
  padding: 0 0 18px;
}

.product-card button {
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.product-image {
  aspect-ratio: 1 / 1;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.product-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
  width: 100%;
}

.product-card:hover .product-image img,
.product-card:focus-within .product-image img {
  transform: scale(1.04);
}

.product-copy {
  display: grid;
  gap: 10px;
  padding: 0 18px;
}

.product-copy h3 {
  color: var(--white);
  font-size: 1.06rem;
  margin: 0;
}

.product-copy p {
  color: var(--muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  margin: 0;
  overflow: hidden;
}

.pill-line,
.price-line,
.variant-field,
.qty-field,
.cart-item-top,
.cart-item-controls,
.about-layout {
  display: grid;
  gap: 12px;
}

.pill-line {
  align-items: center;
  grid-template-columns: 1fr auto;
}

.price-block {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.price-block strong,
.price-line strong,
#cartSubtotal {
  color: var(--gold);
  font-size: 1.04rem;
}

.price-block span,
#dialogComparePrice {
  color: var(--muted);
  text-decoration: line-through;
}

.product-actions {
  display: flex;
  gap: 10px;
}

.product-actions .button {
  min-height: 44px;
  padding-inline: 16px 18px;
}

.ghost-button {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  color: var(--white);
  cursor: pointer;
  min-height: 42px;
  padding: 0 14px;
}

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

.about-card {
  padding: 24px;
}

.about-card i {
  color: var(--green);
  font-size: 1.6rem;
}

.about-card h3 {
  color: var(--white);
  margin: 16px 0 10px;
}

.about-card p {
  color: var(--muted);
  margin: 0;
}

.cart-drawer {
  bottom: 0;
  display: grid;
  gap: 18px;
  inset-inline-end: 0;
  padding: 22px;
  position: fixed;
  top: 0;
  transform: translateX(100%);
  transition: transform 180ms ease;
  width: min(420px, 100%);
  z-index: 60;
}

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

.cart-header,
.cart-footer,
.cart-item {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 12px;
  padding-bottom: 14px;
}

.cart-header {
  align-items: start;
  grid-template-columns: minmax(0, 1fr) auto;
}

.cart-close-button {
  justify-self: end;
  padding-inline: 16px;
  white-space: nowrap;
}

.cart-body {
  display: grid;
  gap: 14px;
  overflow: auto;
}

.cart-item {
  grid-template-columns: 88px minmax(0, 1fr);
}

.cart-item img {
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  height: 88px;
  object-fit: cover;
  width: 88px;
}

.cart-item h3,
.cart-item p {
  margin: 0;
}

.cart-item h3 {
  color: var(--white);
  font-size: 1rem;
}

.cart-item p,
.cart-meta span {
  color: var(--muted);
}

.cart-item-controls {
  align-items: center;
  grid-template-columns: auto auto auto 1fr;
}

.qty-readout {
  align-items: center;
  color: var(--white);
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-width: 28px;
}

.qty-button,
.remove-button,
.icon-button {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  min-height: 40px;
  min-width: 40px;
}

.icon-button {
  background: rgba(255, 255, 255, 0.03);
}

.remove-button {
  background: transparent;
  border: 0;
  color: var(--coral);
  justify-self: end;
}

.scrim {
  backdrop-filter: blur(2px);
  background: rgba(0, 0, 0, 0.55);
  inset: 0;
  position: fixed;
  z-index: 50;
}

.product-dialog {
  background: transparent;
  border: 0;
  max-height: calc(100dvh - 20px);
  max-width: min(1000px, calc(100% - 32px));
  overscroll-behavior: contain;
  padding: 0;
  width: 100%;
}

.product-dialog[open] {
  display: grid;
  place-items: center;
}

.product-dialog[data-mobile-sheet][open] {
  background: rgba(2, 8, 6, 0.86);
  inset: 0;
  margin: 0;
  max-height: none;
  max-width: none;
  min-height: 100dvh;
  padding: 12px;
  width: 100vw;
  z-index: 60;
}

.product-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.dialog-shell {
  display: grid;
  gap: 0;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  overflow: hidden;
  position: relative;
}

.dialog-close {
  position: absolute;
  right: max(12px, env(safe-area-inset-right));
  top: max(12px, env(safe-area-inset-top));
  z-index: 5;
}

.dialog-media {
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.dialog-media img {
  background: rgba(6, 14, 12, 0.9);
  cursor: zoom-in;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  width: 100%;
}

.gallery-lightbox {
  align-items: center;
  backdrop-filter: blur(10px);
  background: rgba(2, 8, 6, 0.88);
  inset: 0;
  justify-content: center;
  padding: 18px;
  position: fixed;
  z-index: 90;
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox-shell {
  background: rgba(7, 16, 14, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  display: grid;
  gap: 12px;
  max-height: 100%;
  max-width: min(1120px, 100%);
  padding: 18px 18px 16px;
  position: relative;
  width: 100%;
}

.gallery-lightbox-frame {
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  min-height: min(68vh, 760px);
  overflow: hidden;
  position: relative;
}

.gallery-lightbox-stage {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.gallery-lightbox-stage img {
  background: rgba(4, 10, 8, 0.92);
  height: 100%;
  max-height: min(78vh, 860px);
  object-fit: contain;
  width: 100%;
}

.gallery-lightbox-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 4px 2px;
}

.lightbox-close {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 5;
}

.lightbox-arrow {
  height: 48px;
  width: 48px;
}

.gallery-arrow {
  align-items: center;
  background: rgba(8, 18, 15, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  z-index: 5;
}

.gallery-arrow-prev {
  left: 18px;
}

.gallery-arrow-next {
  right: 18px;
}

.gallery-thumbs {
  bottom: 14px;
  display: flex;
  gap: 10px;
  left: 14px;
  overflow-x: auto;
  padding-right: 14px;
  position: absolute;
  right: 14px;
  z-index: 5;
}

.dialog-media::after {
  background: linear-gradient(180deg, transparent 58%, rgba(6, 14, 12, 0.56) 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.gallery-thumb {
  background: rgba(8, 18, 15, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  cursor: pointer;
  flex: 0 0 58px;
  height: 58px;
  overflow: hidden;
  padding: 0;
}

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

.gallery-thumb.active {
  border-color: rgba(83, 223, 117, 0.42);
  box-shadow: inset 0 0 0 1px rgba(83, 223, 117, 0.16);
}

.dialog-copy {
  display: grid;
  gap: 16px;
  min-width: 0;
  overflow-x: hidden;
  padding: 28px;
}

.variant-field {
  gap: 8px;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
  width: 100%;
}

.variant-field span,
.qty-field span {
  color: rgba(236, 255, 248, 0.82);
  font-weight: 700;
}

.variant-field select,
.qty-field input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  color: var(--white);
  max-width: 100%;
  min-height: 46px;
  min-width: 0;
  padding: 0 12px;
  width: 100%;
}

.option-builder {
  display: grid;
  gap: 12px;
}

.option-summary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(111, 255, 190, 0.18);
  border-radius: 10px;
  display: grid;
  gap: 10px;
  padding: 14px;
}

.option-summary-label {
  color: rgba(236, 255, 248, 0.74);
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 2px;
  text-transform: uppercase;
}

.option-summary strong {
  color: rgba(244, 255, 250, 0.96);
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  overflow-wrap: anywhere;
}

.qty-field {
  max-width: 140px;
}

.qty-field input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  color: var(--white);
  min-height: 44px;
  padding: 0 12px;
}

@media (max-width: 1120px) {
  .hero-shell,
  .about-layout,
  .dialog-shell,
  .toolbar {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .site-header {
    align-items: center;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    background: rgba(5, 8, 7, 0.96);
    border: 1px solid rgba(111, 255, 190, 0.18);
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: none;
    gap: 10px;
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    padding: 14px;
    width: 100%;
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a,
  .theme-toggle,
  .cart-toggle {
    justify-content: center;
    width: 100%;
  }

  .cart-toggle {
    margin-top: 4px;
    order: 99;
  }

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

  .toolbar {
    grid-template-columns: 1fr;
  }

  .sort-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .sort-pill {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .section,
  .collections-strip,
  .about-section {
    width: min(calc(100% - 24px), var(--max));
  }

  .product-card {
    gap: 10px;
    padding-bottom: 14px;
  }

  .product-copy {
    gap: 8px;
    padding: 0 14px;
  }

  .product-copy h3 {
    font-size: 0.98rem;
  }

  .product-copy p {
    -webkit-line-clamp: 2;
    font-size: 0.9rem;
  }

  .product-actions {
    flex-direction: column;
  }

  .product-actions .button,
  .ghost-button {
    width: 100%;
  }

  .cart-drawer {
    width: 100%;
  }

  .product-dialog {
    max-height: calc(100dvh - 12px);
    max-width: calc(100% - 12px);
  }

  .product-dialog[data-mobile-sheet][open] {
    padding: 8px;
  }

  .dialog-shell {
    max-height: calc(100dvh - 12px);
    width: 100%;
  }

  .dialog-media {
    max-height: 30dvh;
    min-height: 220px;
    padding: 46px 10px 72px;
  }

  .gallery-arrow {
    height: 38px;
    top: 50%;
    width: 38px;
  }

  .gallery-arrow-prev {
    left: 10px;
  }

  .gallery-arrow-next {
    right: 10px;
  }

  .gallery-thumbs {
    bottom: 10px;
    gap: 8px;
    left: 10px;
    right: 10px;
  }

  .gallery-thumb {
    flex-basis: 48px;
    height: 48px;
  }

  .dialog-media img {
    max-height: 100%;
    object-fit: contain;
  }

  .dialog-close {
    right: 8px;
    top: 8px;
  }

  .gallery-lightbox {
    padding: 8px;
  }

  .gallery-lightbox-shell {
    padding: 10px 10px 12px;
  }

  .gallery-lightbox-frame {
    min-height: 58dvh;
  }

  .lightbox-arrow {
    height: 42px;
    width: 42px;
  }

  .lightbox-close {
    right: 10px;
    top: 10px;
  }

  .dialog-copy {
    max-height: calc(70dvh - 12px);
    overflow-x: hidden;
    overflow-y: auto;
    padding: 20px 16px 32px;
    touch-action: pan-y;
  }

}

:root {
  scrollbar-color: rgba(83, 223, 117, 0.55) rgba(255, 255, 255, 0.06);
  scrollbar-width: thin;
}

*::-webkit-scrollbar {
  height: 10px;
  width: 10px;
}

*::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(83, 223, 117, 0.78), rgba(68, 217, 255, 0.72));
  border: 2px solid rgba(8, 18, 15, 0.88);
  border-radius: 999px;
}

.site-nav a,
.theme-toggle,
.cart-toggle {
  background: rgba(11, 24, 21, 0.82);
  border-color: rgba(111, 255, 190, 0.16);
}

.site-nav a,
.theme-toggle,
.cart-toggle,
.collection-pill,
.button,
.ghost-button,
.qty-button,
.qty-field input,
.search-field,
select,
.icon-button {
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.collection-pill {
  background: rgba(10, 21, 18, 0.72);
  color: rgba(247, 255, 249, 0.88);
  font-weight: 800;
}

.collection-pill:hover,
.collection-pill:focus-visible {
  border-color: rgba(255, 209, 102, 0.3);
  color: var(--white);
  transform: translateY(-1px);
}

.collection-pill.active {
  background: linear-gradient(135deg, rgba(39, 86, 53, 0.96), rgba(24, 57, 48, 0.92));
  border-color: rgba(83, 223, 117, 0.38);
  box-shadow: inset 0 0 0 1px rgba(83, 223, 117, 0.18), 0 12px 24px rgba(0, 0, 0, 0.22);
}

.button.primary {
  background: linear-gradient(135deg, #214a35, #12352b);
  border-color: rgba(83, 223, 117, 0.28);
  box-shadow: inset 0 0 0 1px rgba(83, 223, 117, 0.08);
  color: var(--white);
}

.button.primary:hover,
.button.primary:focus-visible,
.ghost-button:hover,
.ghost-button:focus-visible,
.qty-button:hover,
.qty-button:focus-visible {
  border-color: rgba(255, 209, 102, 0.34);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
  transform: translateY(-1px);
}

.button.is-disabled,
.ghost-button.is-disabled,
.button:disabled,
.ghost-button:disabled {
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.52;
  pointer-events: none;
  transform: none;
}

.button.secondary,
.ghost-button,
.qty-button,
.variant-field select,
.qty-field input,
.icon-button {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.product-card {
  background: linear-gradient(180deg, rgba(10, 20, 18, 0.96), rgba(14, 27, 24, 0.88));
}

.product-copy p {
  color: rgba(236, 255, 248, 0.72);
}

.price-block strong,
.price-line strong,
#cartSubtotal,
#dialogPrice {
  color: #ffd166;
}

.toolbar {
  background: linear-gradient(180deg, rgba(10, 19, 17, 0.92), rgba(12, 24, 22, 0.82));
}

.product-dialog {
  color: var(--ink);
}

.dialog-shell {
  grid-template-columns: minmax(340px, 1.05fr) minmax(360px, 0.95fr);
  max-height: calc(100dvh - 40px);
  min-width: 0;
  overflow-x: hidden;
  overscroll-behavior: contain;
}

.dialog-media {
  min-height: 0;
}

.dialog-media img {
  height: 100%;
  max-height: calc(100dvh - 40px);
}

.dialog-copy {
  background: linear-gradient(180deg, rgba(9, 18, 16, 0.98), rgba(13, 26, 24, 0.95));
  color: var(--white);
  max-height: calc(100dvh - 40px);
  min-width: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.dialog-copy p,
.dialog-copy label,
.dialog-copy span,
.dialog-copy strong,
.dialog-copy h2 {
  color: inherit;
}

#dialogDescription {
  color: rgba(236, 255, 248, 0.78);
  font-size: 1.02rem;
  line-height: 1.65;
}

.dialog-close {
  background: rgba(9, 18, 16, 0.92);
  border-color: rgba(255, 255, 255, 0.14);
}

.variant-grid {
  gap: 10px;
}

.variant-chip {
  gap: 6px;
  min-height: 78px;
}

.variant-chip.active {
  background: rgba(35, 77, 57, 0.86);
  border-color: rgba(83, 223, 117, 0.42);
  box-shadow: inset 0 0 0 1px rgba(83, 223, 117, 0.16);
}

.qty-field {
  gap: 8px;
}

.qty-field span {
  color: rgba(236, 255, 248, 0.82);
  font-weight: 700;
}

.cart-body,
.dialog-copy {
  scrollbar-color: rgba(83, 223, 117, 0.55) rgba(255, 255, 255, 0.04);
  scrollbar-width: thin;
}

.variant-field select:focus-visible,
.qty-field input:focus-visible {
  border-color: rgba(83, 223, 117, 0.42);
  box-shadow: 0 0 0 3px rgba(83, 223, 117, 0.12);
  outline: none;
}

@media (max-width: 1120px) {
  .dialog-shell {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 28px);
  }

  .dialog-media img,
  .dialog-copy {
    max-height: none;
  }
}

.hero-trust-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.hero-trust-list li,
.shop-footer-trust span {
  align-items: center;
  color: rgba(247, 255, 249, 0.88);
  display: inline-flex;
  gap: 10px;
}

.hero-trust-list i,
.shop-footer-trust i {
  color: var(--green);
}

.shop-footer {
  border-top: 1px solid var(--line);
  margin: 30px auto 0;
  padding: 0 0 30px;
  width: min(calc(100% - 36px), var(--max));
}

.shop-footer-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 30px 0 22px;
}

.shop-footer-brand--centered {
  display: grid;
  gap: 0;
  grid-column: 1 / -1;
  justify-items: center;
  text-align: center;
  width: 100%;
}

.shop-footer-brand--centered p {
  margin-inline: auto;
}

.shop-footer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-top: 16px;
}

.shop-footer-trust--verified {
  justify-content: center;
}

.shop-footer-verified-line {
  align-items: center;
  color: rgba(247, 255, 249, 0.92);
  display: inline-flex;
  gap: 10px;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.shop-footer-verified-line i {
  color: var(--green);
}

.shop-footer-location {
  margin: 12px 0 0;
  text-align: center;
}

.shop-footer-location strong {
  color: var(--white);
}

.shop-footer-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.018));
  border: 1px solid rgba(111, 255, 190, 0.12);
  border-radius: 14px;
  display: grid;
  gap: 12px;
  padding: 18px 18px 16px;
  position: relative;
}

.shop-footer-panel::before {
  background: linear-gradient(90deg, rgba(44, 228, 143, 0.85), rgba(68, 217, 255, 0.55));
  border-radius: 999px;
  content: "";
  height: 3px;
  left: 18px;
  position: absolute;
  right: 18px;
  top: 0;
}

.shop-footer-label {
  color: rgba(236, 255, 248, 0.72);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0;
  text-transform: uppercase;
}

.shop-footer-linklist {
  display: grid;
  gap: 10px;
}

.shop-footer-linklist a,
.shop-footer-bottom span {
  color: var(--muted);
}

.shop-footer-linklist a {
  align-items: center;
  border-radius: 10px;
  display: inline-flex;
  gap: 10px;
  min-height: 40px;
  padding: 0 10px;
  position: relative;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.shop-footer-linklist a::before {
  color: var(--green);
  content: "↗";
  font-size: 0.85rem;
  opacity: 0.75;
}

.shop-footer-linklist a:hover,
.shop-footer-linklist a:focus-visible {
  background: rgba(44, 228, 143, 0.08);
  color: var(--white);
  transform: translateX(2px);
}

.shop-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 18px;
  text-align: center;
}

@media (max-width: 920px) {
  .shop-footer-grid {
    grid-template-columns: 1fr;
  }

  .shop-footer-brand--centered {
    justify-items: center;
    width: 100%;
  }

  .shop-footer-panel {
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .product-grid,
  .product-group-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    padding-inline: 12px;
  }

  .dialog-copy {
    max-height: calc(68dvh - 12px);
  }
}

.product-dialog .dialog-shell {
  align-items: start;
  background: linear-gradient(180deg, rgba(20, 21, 26, 0.98), rgba(24, 25, 30, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  gap: 0;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
}

.product-dialog .dialog-media {
  background: transparent;
  display: grid;
  gap: 14px;
  padding: 20px;
}

.product-dialog .dialog-media::after {
  display: none;
}

.dialog-media-stage {
  align-items: center;
  aspect-ratio: 1 / 1.08;
  background: #2d2e34;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.product-dialog .dialog-media img {
  background: transparent;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.gallery-rail {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.gallery-rail .gallery-arrow {
  position: static;
  top: auto;
  transform: none;
}

.gallery-rail-arrow {
  flex: 0 0 40px;
  height: 40px;
  width: 40px;
}

.product-dialog .gallery-thumbs {
  bottom: auto;
  left: auto;
  padding-right: 0;
  position: static;
  right: auto;
}

.product-dialog .gallery-thumb {
  flex: 0 0 84px;
  height: 96px;
}

.product-dialog .gallery-thumb img {
  object-fit: cover;
}

.product-dialog .dialog-copy {
  align-content: start;
  gap: 18px;
  padding: 28px 28px 32px;
}

.dialog-description {
  color: rgba(244, 255, 250, 0.84);
  line-height: 1.65;
  margin: 0;
}

.picker-stack {
  display: grid;
  gap: 18px;
}

.picker-group {
  display: grid;
  gap: 12px;
}

.picker-heading {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

.picker-heading span,
.picker-heading strong,
.size-guide-link {
  color: var(--white);
  font-weight: 700;
}

.size-guide-link {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.color-swatch-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.color-swatch {
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  cursor: pointer;
  display: inline-flex;
  gap: 10px;
  justify-content: flex-start;
  min-height: 54px;
  min-width: 132px;
  padding: 10px 14px;
}

.color-swatch-fill {
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  display: block;
  flex: 0 0 auto;
  height: 28px;
  width: 28px;
}

.color-swatch-label {
  color: rgba(244, 255, 250, 0.92) !important;
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
}

.color-swatch.active {
  border-color: #d7ef46;
  box-shadow: 0 0 0 3px rgba(215, 239, 70, 0.18);
}

.color-swatch.is-disabled,
.color-swatch:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

.size-button-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(68px, 1fr));
}

.size-option {
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 800;
  justify-content: center;
  min-height: 58px;
  padding: 0 12px;
}

.size-option.active {
  background: rgba(215, 239, 70, 0.12);
  border-color: #d7ef46;
  box-shadow: inset 0 0 0 1px rgba(215, 239, 70, 0.14);
}

.size-option:disabled {
  cursor: not-allowed;
  opacity: 0.36;
}

.product-dialog .dialog-actions {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 0.55fr);
}

.product-dialog .dialog-actions .button {
  min-height: 52px;
}

.product-dialog .qty-field {
  max-width: 160px;
}

.product-accordion {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  margin-top: 4px;
}

.detail-panel {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
}

.detail-panel summary {
  align-items: center;
  color: var(--white);
  cursor: pointer;
  display: flex;
  font-size: 1.06rem;
  font-weight: 800;
  justify-content: space-between;
  list-style: none;
}

.detail-panel summary::-webkit-details-marker {
  display: none;
}

.detail-panel summary::after {
  color: rgba(255, 255, 255, 0.82);
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
}

.detail-panel[open] summary::after {
  content: "−";
}

.detail-body {
  color: rgba(244, 255, 250, 0.8);
  display: grid;
  gap: 14px;
  line-height: 1.7;
  padding-top: 14px;
}

.detail-body p,
.detail-body ul,
.detail-body ol {
  margin: 0;
}

.detail-body ul,
.detail-body ol {
  display: grid;
  gap: 10px;
  padding-left: 1.25rem;
}

.detail-body .detail-link,
.detail-body a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 760px) {
  .product-dialog .dialog-shell {
    border-radius: 18px;
    grid-template-columns: 1fr;
  }

  .product-dialog .dialog-media {
    gap: 10px;
    padding: 16px 16px 0;
  }

  .dialog-media-stage {
    aspect-ratio: 1 / 1.12;
  }

  .gallery-rail {
    gap: 8px;
  }

  .product-dialog .gallery-thumb {
    flex-basis: 72px;
    height: 86px;
  }

  .product-dialog .dialog-copy {
    gap: 16px;
    padding: 0 16px 28px;
  }

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

  .size-button-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .size-option {
    min-height: 54px;
  }

  .product-dialog .qty-field {
    max-width: 100%;
  }
}

/* Landing + card refresh */
.drop-hero {
  padding-bottom: 8px;
}

.drop-hero-shell {
  grid-template-columns: minmax(0, 1fr);
}

.drop-copy {
  margin: 0 auto;
  max-width: 900px;
  text-align: center;
}

.drop-copy h1 {
  margin-inline: auto;
  max-width: 13ch;
}

.drop-copy > p:not(.eyebrow),
.hero-status {
  margin-inline: auto;
}

.hero-status {
  color: rgba(247, 255, 249, 0.68);
  font-size: 0.92rem;
  margin-top: 18px;
  max-width: 62ch;
}

.hero-trust-list {
  justify-content: center;
}

.section-head-row {
  align-items: end;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.section-head-row .button {
  flex-shrink: 0;
}

.featured-actions {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.featured-actions .button {
  min-width: min(100%, 240px);
}

.featured-section,
.catalog-section {
  padding-top: 12px;
}

.featured-grid {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 240px));
  justify-content: center;
  margin-top: 18px;
}

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

.collection-panel {
  margin-bottom: 20px;
}

.collection-panel .section-heading {
  gap: 6px;
  margin-bottom: 12px;
}

.collection-panel h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin: 0;
}

.product-group-count,
.product-card-meta {
  color: var(--muted);
  font-size: 0.86rem;
}

.product-group-head > div {
  display: grid;
  gap: 6px;
}

.product-card {
  padding: 16px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  width: 100%;
}

.product-card:hover,
.product-card:focus-within {
  border-color: rgba(255, 209, 102, 0.28);
  transform: translateY(-2px);
}

.product-card-link {
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: grid;
  gap: 16px;
  padding: 0;
  text-align: center;
  width: 100%;
}

.product-image {
  align-items: center;
  aspect-ratio: 1 / 1;
  background: #2a2d30;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding: 12px;
}

.product-image img {
  height: 100%;
  object-fit: contain;
  transform: none;
  width: 100%;
}

.product-card:hover .product-image img,
.product-card:focus-within .product-image img {
  transform: none;
}

.product-copy {
  gap: 8px;
  justify-items: center;
  padding: 0;
}

.product-copy h3 {
  display: -webkit-box;
  font-size: clamp(1.02rem, 1.45vw, 1.34rem);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  margin: 0;
  min-height: 2.45em;
  overflow: hidden;
  width: 100%;
}

.product-copy p,
.product-actions,
.pill-line {
  display: none;
}

.price-block {
  justify-content: center;
  width: 100%;
}

.price-block strong {
  font-size: 1.35rem;
}

.product-swatches {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  min-height: 20px;
}

.product-swatch {
  background: var(--swatch, #d5d5d5);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(8, 18, 15, 0.18);
  display: inline-flex;
  height: 16px;
  width: 16px;
}

.product-swatch.more {
  align-items: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  height: auto;
  justify-content: center;
  width: auto;
}

@media (max-width: 980px) {
  .featured-grid {
    grid-template-columns: repeat(2, minmax(0, min(260px, 1fr)));
  }

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

@media (max-width: 760px) {
  .section-head-row {
    align-items: start;
    flex-direction: column;
  }

  .section-head-row .button {
    width: 100%;
  }

  .featured-actions {
    margin-top: 28px;
  }

  .featured-actions .button {
    width: 100%;
  }

  .drop-copy h1 {
    max-width: 12ch;
  }

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

  .product-card {
    padding: 12px;
  }

  .product-image {
    padding: 10px;
  }

  .product-copy h3 {
    font-size: 0.98rem;
    min-height: 2.6em;
  }

  .price-block strong {
    font-size: 1.2rem;
  }
}

/* Modal gallery visibility fixes */
.product-dialog .gallery-thumb {
  background: #262a2f;
}

.product-dialog .gallery-thumb img {
  background: #262a2f;
  object-fit: contain;
}

@media (max-width: 760px) {
  .product-dialog[data-mobile-sheet][open] {
    padding: 8px 8px max(12px, env(safe-area-inset-bottom));
  }

  .product-dialog .dialog-shell {
    display: grid;
    grid-auto-rows: auto;
    grid-template-columns: 1fr;
    max-height: calc(100dvh - 16px);
    overflow-x: hidden;
    overflow-y: auto;
  }

  .product-dialog .dialog-media {
    max-height: none;
    min-height: 0;
    overflow: visible;
    padding: 16px 12px 0;
  }

  .product-dialog .dialog-media-stage {
    aspect-ratio: auto;
    min-height: min(52dvh, 420px);
    padding: 10px;
  }

  .product-dialog .dialog-media img {
    height: auto;
    max-height: min(50dvh, 400px);
    width: 100%;
  }

  .product-dialog .gallery-rail {
    gap: 8px;
    margin-top: 10px;
  }

  .product-dialog .gallery-thumbs {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
  }

  .product-dialog .gallery-thumbs::-webkit-scrollbar {
    display: none;
  }

  .product-dialog .gallery-thumb {
    flex: 0 0 72px;
    height: 88px;
  }

  .product-dialog .dialog-copy {
    max-height: none;
    overflow: visible;
    padding: 0 12px 24px;
  }
}

@media (max-width: 480px) {
  .product-dialog .dialog-copy {
    max-height: none;
  }

  .product-dialog .dialog-media-stage {
    min-height: min(46dvh, 360px);
  }

  .product-dialog .dialog-media img {
    max-height: min(44dvh, 340px);
  }
}

/* Homepage + catalog split polish */
.hero-actions-centered {
  justify-content: center;
}

.products-page-hero {
  padding-top: 26px;
}

.products-page-head {
  align-items: end;
}

.products-page-head h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.02;
  margin: 0;
}

.variant-field {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 14px 14px;
}

.variant-field span {
  color: rgba(236, 255, 248, 0.72);
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.variant-field--fallback {
  margin-top: 2px;
}

.variant-field select {
  font-weight: 700;
}

@media (max-width: 760px) {
  .products-page-head {
    align-items: start;
    flex-direction: column;
  }

  .products-page-head .button {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .color-swatch {
    border-radius: 999px;
    gap: 0;
    justify-content: center;
    min-height: 42px;
    min-width: 42px;
    padding: 0 10px;
  }

  .color-swatch-fill {
    height: 22px;
    width: 22px;
  }

  .color-swatch-label {
    display: none;
  }
}


@media (min-width: 761px) {
  .product-dialog .color-swatch,
  .product-dialog .color-swatch-label,
  .product-dialog .color-swatch span {
    color: rgba(244, 255, 250, 0.96) !important;
    -webkit-text-fill-color: rgba(244, 255, 250, 0.96) !important;
  }
}

@media (max-width: 760px) {
  .variant-field--fallback {
    display: none !important;
  }

  .option-summary strong {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}
