@import url("https://fonts.googleapis.com/css2?family=Bodoni+Moda:opsz,wght@6..96,500;6..96,600;6..96,700&family=Cormorant+Garamond:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
  overflow-x: clip;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  margin: 0;
  background: var(--body-bg);
  color: var(--text-color);
  min-height: 100vh;
  overflow-x: hidden;
  -ms-overflow-style: none;
  transition: background 0.3s ease, color 0.3s ease;
}

:root {
  --body-bg: #050505;
  --page-color: #0f172a;
  --footer-bg: #050505;
  --footer-text: #6b7280;
  --text-color: #f8fafc;
  --muted-text: #cbd5e1;
  --subtle-text: #e2e8f0;
  --panel-border: rgba(255, 255, 255, 0.1);
  --nav-bg: rgba(15, 23, 42, 0.7);
  --glass-bg: rgba(255, 255, 255, 0.25);
  --glass-highlight: rgba(255, 255, 255, 0.75);
  --search-input-bg: rgba(255, 255, 255, 0.1);
  --search-input-border: rgba(255, 255, 255, 0.2);
  --search-input-focus: rgba(255, 255, 255, 0.3);
  --mobile-header-chrome: rgba(9, 14, 24, 0.94);
  --mobile-header-edge: rgba(255, 255, 255, 0.08);
  --mobile-header-blend-top: rgba(9, 14, 24, 0.98);
  --mobile-header-blend-bottom: rgba(20, 28, 43, 0.82);
  --radius: 32px;
  --top-nav-height: 72px;
  --home-shell-width: 1320px;
  --home-section-width: 1160px;
  --home-display-size: clamp(2.8rem, 6vw, 4rem);
  --home-copy-size: clamp(1rem, 2vw, 1.25rem);
  --home-section-title-size: clamp(1.2rem, 2.2vw, 1.45rem);
  --font-sans: "Manrope", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-brand: "Bodoni Moda", "Cormorant Garamond", Georgia, serif;
}

:root[data-theme="light"],
body[data-theme="light"] {
  --body-bg: #E8F0FB;
  --page-color: #edf3fb;
  --footer-bg: #cfd9e6;
  --footer-text: #475569;
  --text-color: #122033;
  --muted-text: #334155;
  --subtle-text: #475569;
  --panel-border: rgba(15, 23, 42, 0.12);
  --nav-bg: rgba(237, 243, 251, 0.78);
  --glass-bg: rgba(255, 255, 255, 0.45);
  --glass-highlight: rgba(255, 255, 255, 0.9);
  --search-input-bg: rgba(255, 255, 255, 0.55);
  --search-input-border: rgba(15, 23, 42, 0.1);
  --search-input-focus: rgba(255, 255, 255, 0.82);
  --mobile-header-chrome: rgba(237, 243, 251, 0.96);
  --mobile-header-edge: rgba(15, 23, 42, 0.08);
  --mobile-header-blend-top: rgba(255, 255, 255, 0.98);
  --mobile-header-blend-bottom: rgba(237, 243, 251, 0.7);
}

.page {
  position: relative;
  z-index: 2;
  padding-top: 0;
  min-height: 100vh;
}

.page::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: var(--top-nav-height);
  background: var(--page-color);
  z-index: -1;
}

.page-reveal-layer {
  background: var(--page-color);
  margin-top: var(--top-nav-height);
  min-height: calc(100vh - var(--top-nav-height));
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
  box-shadow: none;
  padding-bottom: 32px;
  overflow: hidden;
  transform: translateY(0);
  will-change: transform;
}

.page-reveal-layer.footer-reveal-ready {
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.glass-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 14px 40px;
  flex-wrap: wrap;
  z-index: 1100;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  flex-shrink: 0;
  color: inherit;
  text-decoration: none;
}

.nav-brand-logo {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.nav-actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
  margin-left: auto;
}

.icon-btn {
  background: transparent;
  border: none;
  color: var(--muted-text);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  transition: color 0.2s ease;
}

.icon-btn:hover {
  color: #ffffff;
}

.nav-search-panel {
  width: 100%;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-14px) scaleY(0.92);
  transform-origin: top center;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), padding-top 0.45s ease;
  padding-top: 0;
}

.nav-search-panel.is-open {
  max-height: 420px;
  opacity: 1;
  transform: translateY(0) scaleY(1);
  padding-top: 18px;
}

@media (min-width: 769px) {
  .page-reveal-layer {
    overflow: visible;
    will-change: transform;
  }

  .glass-navbar {
    position: fixed;
    flex-wrap: nowrap;
    overflow: visible;
  }

  .nav-search-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 40px;
    width: min(500px, calc(100vw - 80px));
    max-height: 0;
    padding-top: 0;
    pointer-events: none;
  }

  .nav-search-panel.is-open {
    max-height: 420px;
    padding-top: 0;
    pointer-events: auto;
  }

  .glass-search {
    width: 100%;
    margin-left: 0;
  }
}

.glass-nav {
  --bg-color: var(--glass-bg);
  --highlight: var(--glass-highlight);
  --text: var(--text-color);
  position: relative;
  width: 100%;
  max-width: 600px;
  border-radius: 999px;
  overflow: hidden;
  background: transparent;
}

.glass-nav-filter,
.glass-nav-overlay,
.glass-nav-specular {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.glass-nav-filter {
  z-index: 1;
  backdrop-filter: blur(4px);
  filter: url(#glass-distortion) saturate(120%) brightness(1.15);
}

.glass-nav-overlay {
  z-index: 2;
  background: var(--bg-color);
}

.glass-nav-specular {
  z-index: 3;
  box-shadow: inset 1px 1px 1px var(--highlight);
}

.glass-nav-content {
  position: relative;
  z-index: 4;
  padding: 12px 18px;
}

.nav-pill-indicator {
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 6px 18px rgba(15, 23, 42, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 0, 0) scale(1);
  transition: left 0.28s cubic-bezier(.22, 1, .36, 1), top 0.28s cubic-bezier(.22, 1, .36, 1), width 0.28s cubic-bezier(.22, 1, .36, 1), height 0.28s cubic-bezier(.22, 1, .36, 1), opacity 0.2s ease, transform 0.22s ease;
}

.nav-pill-indicator.is-visible {
  opacity: 1;
}

.nav-pill-indicator.is-pressed {
  transform: translate3d(0, 0, 0) scale(1.04, 0.94);
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  width: fit-content;
  margin-inline: auto;
}

.nav-item {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  position: relative;
  z-index: 1;
  user-select: none;
  -webkit-user-select: none;
  white-space: nowrap;
}

.nav-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-item.active {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  transform: translateY(-1px);
}

.nav-list.is-dragging,
.nav-list.is-dragging * {
  user-select: none;
  -webkit-user-select: none;
}

.nav-list > li {
  position: relative;
  z-index: 1;
}

.glass-search {
  --bg-color: var(--glass-bg);
  --highlight: var(--glass-highlight);
  --text: var(--text-color);
  --input-bg: var(--search-input-bg);
  --input-border: var(--search-input-border);
  --input-focus: var(--search-input-focus);
  position: relative;
  width: min(500px, 100%);
  border-radius: 26px;
  overflow: hidden;
  isolation: isolate;
  clip-path: inset(0 round 26px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
  margin-left: auto;
}

.search-bubbles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  filter: blur(6px) brightness(1.08);
  mix-blend-mode: screen;
}

.search-bubble {
  position: absolute;
  left: var(--x);
  bottom: -120px;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  opacity: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.88), rgba(135, 206, 250, 0.36) 42%, transparent 72%);
  box-shadow: 0 0 30px 10px rgba(135, 206, 250, 0.28);
  animation: search-bubble-float var(--duration) linear infinite;
  animation-delay: var(--delay);
  will-change: transform, opacity;
}

.search-bubble:nth-child(1) { --size: 76px; --x: 8%; --duration: 28s; --delay: -2s; --drift: 10px; }
.search-bubble:nth-child(2) { --size: 104px; --x: 22%; --duration: 34s; --delay: -8s; --drift: -18px; }
.search-bubble:nth-child(3) { --size: 62px; --x: 36%; --duration: 30s; --delay: -5s; --drift: 14px; }
.search-bubble:nth-child(4) { --size: 118px; --x: 52%; --duration: 38s; --delay: -11s; --drift: -24px; }
.search-bubble:nth-child(5) { --size: 84px; --x: 68%; --duration: 32s; --delay: -4s; --drift: 18px; }
.search-bubble:nth-child(6) { --size: 58px; --x: 82%; --duration: 27s; --delay: -9s; --drift: -12px; }
.search-bubble:nth-child(7) { --size: 96px; --x: 14%; --duration: 36s; --delay: -14s; --drift: 22px; }
.search-bubble:nth-child(8) { --size: 70px; --x: 44%; --duration: 29s; --delay: -6s; --drift: -16px; }
.search-bubble:nth-child(9) { --size: 112px; --x: 74%; --duration: 40s; --delay: -15s; --drift: 12px; }
.search-bubble:nth-child(10) { --size: 66px; --x: 90%; --duration: 31s; --delay: -3s; --drift: -10px; }

@keyframes search-bubble-float {
  0% {
    transform: translate3d(0, 0, 0) scale(0.82);
    opacity: 0;
  }
  10% {
    opacity: 0.45;
  }
  50% {
    transform: translate3d(var(--drift), -110px, 0) scale(1.06);
    opacity: 0.62;
  }
  90% {
    opacity: 0.36;
  }
  100% {
    transform: translate3d(calc(var(--drift) * 0.5), -220px, 0) scale(0.92);
    opacity: 0;
  }
}

.nav-search-panel.is-open .glass-search {
  --bg-color: var(--glass-bg);
  --highlight: var(--glass-highlight);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 14px 30px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}

.nav-search-panel.is-open .search-bubbles {
  opacity: 1;
}

.nav-search-panel.is-open .glass-search::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.18), transparent 36%, rgba(255, 255, 255, 0.08));
  pointer-events: none;
  z-index: 3;
}

.nav-search-panel.is-open .glass-filter {
  backdrop-filter: blur(14px);
  filter: url(#glass-distortion) saturate(145%) brightness(1.03);
}

.nav-search-panel.is-open .glass-overlay {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.18)),
    var(--bg-color);
}

.nav-search-panel.is-open .glass-specular {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 1px 1px 1px var(--highlight),
    0 26px 48px rgba(15, 23, 42, 0.16);
}

.nav-search-panel.is-open .glass-content {
  padding: 10px 14px 14px;
}

.nav-search-panel.is-open .search-container {
  padding: 8px 0 10px;
}

.nav-search-panel.is-open .search-suggestions.active {
  margin-top: 4px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 14px 30px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}

.nav-search-panel.is-open .search-results {
  padding: 10px 12px 12px;
}

.glass-filter,
.glass-overlay,
.glass-specular {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.glass-filter {
  z-index: 1;
  backdrop-filter: blur(4px);
  filter: url(#glass-distortion) saturate(120%) brightness(1.15);
}

.glass-overlay {
  z-index: 2;
  background: var(--bg-color);
}

.glass-specular {
  z-index: 3;
  box-shadow: inset 1px 1px 1px var(--highlight);
}

.glass-content {
  position: relative;
  z-index: 4;
  color: var(--text);
  border-radius: inherit;
}

.search-container {
  position: relative;
  padding: 20px;
  display: flex;
  align-items: center;
  transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-container.expanded {
  padding: 25px 20px;
}

.search-icon {
  position: absolute;
  left: 35px;
  font-size: 18px;
  color: var(--text);
  opacity: 0.8;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.search-container.expanded .search-icon {
  transform: scale(1.1);
  opacity: 1;
}

.search-input {
  width: 100%;
  padding: 14px 48px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--text);
  font-size: 16px;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 10px 22px rgba(15, 23, 42, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, box-shadow, background;
}

.search-input:focus {
  outline: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.12));
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 16px 32px rgba(15, 23, 42, 0.14);
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
  transition: opacity 0.3s ease;
}

.search-input:focus::placeholder {
  opacity: 0.4;
}

.search-clear {
  position: absolute;
  right: 35px;
  background: none;
  border: none;
  color: var(--text);
  opacity: 0;
  cursor: pointer;
  font-size: 16px;
  transition: opacity 0.3s ease, background 0.3s ease;
  padding: 5px;
  border-radius: 50%;
}

.search-clear:hover {
  background: rgba(255, 255, 255, 0.1);
}

.search-input:not(:placeholder-shown) ~ .search-clear {
  opacity: 0.7;
}

.search-suggestions {
  padding: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-10px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.search-suggestions.active {
  max-height: 300px;
  opacity: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  transform: translateY(0);
  pointer-events: auto;
}

.search-results {
  padding: 0 20px 20px;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

.suggestion-group h4 {
  font-size: 14px;
  margin: 0 0 10px;
  opacity: 0.7;
  font-weight: 500;
}

.suggestion-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.suggestion-group li {
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateX(-10px);
}

.search-suggestions.active .suggestion-group li {
  opacity: 1;
  transform: translateX(0);
}

.suggestion-group li:nth-child(1) {
  transition-delay: 0.1s;
}

.suggestion-group li:nth-child(2) {
  transition-delay: 0.15s;
}

.suggestion-group li:nth-child(3) {
  transition-delay: 0.2s;
}

.suggestion-group li:hover,
.suggestion-group li:focus {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
  outline: none;
}

.suggestion-group li i {
  opacity: 0.7;
  font-size: 14px;
  transition: transform 0.3s ease;
}

.suggestion-group li:hover i,
.suggestion-group li:focus i {
  transform: scale(1.1);
}

.search-results-empty {
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.glass-toggle {
  --bg-color: var(--glass-bg);
  --highlight: var(--glass-highlight);
  --text: var(--text-color);
  --track-width: 54px;
  --track-height: 30px;
  --thumb-size: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
}

.toggle-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-track {
  position: relative;
  width: var(--track-width);
  height: var(--track-height);
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
}

.toggle-icons {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 7px;
  color: var(--text);
  opacity: 0.82;
  pointer-events: none;
}

.toggle-icon {
  width: 12px;
  height: 12px;
}

.toggle-thumb {
  position: absolute;
  z-index: 5;
  top: 4px;
  left: 4px;
  width: var(--thumb-size);
  height: var(--thumb-size);
  border-radius: 50%;
  transition: transform 0.3s ease;
  overflow: hidden;
}

.toggle-thumb .glass-overlay {
  background: rgba(255, 255, 255, 0.9);
}

.toggle-input:checked + .toggle-track .toggle-thumb {
  transform: translateX(calc(var(--track-width) - var(--thumb-size) - 8px));
}

.glass-toggle.is-dragging .toggle-thumb {
  transition: none;
}

.toggle-input:checked + .toggle-track .glass-overlay {
  background: rgba(255, 255, 255, 0.4);
}

.toggle-input:focus-visible + .toggle-track {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

.glass-toggle:hover .toggle-track .glass-overlay {
  background: rgba(255, 255, 255, 0.35);
}

.theme-toggle {
  margin-left: 4px;
}

.carousel-section {
  display: flex;
  justify-content: center;
  padding: 20px 20px 8px;
}

.pre-carousel-container {
  width: 100%;
  min-height: clamp(14px, 2.2vw, 20px);
  margin-bottom: clamp(6px, 1.1vw, 10px);
}

.carousel-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.stack-wrapper {
  position: relative;
  width: 300px;
  height: 420px;
  perspective: 1400px;
}

.card {
  position: absolute;
  width: 300px;
  height: 420px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.1);
  cursor: grab;
  user-select: none;
  transform-style: preserve-3d;
  transition: transform 0.35s cubic-bezier(.4, 1.4, .6, 1), box-shadow 0.3s ease, opacity 0.3s ease;
  will-change: transform;
  background: #111827;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  display: block;
}

.card video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  background: #000;
}

.card iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  pointer-events: none;
  background: #000;
}

.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card.dragging {
  transition: none;
  cursor: grabbing;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.card.fly-out-right {
  transition: transform 0.42s cubic-bezier(.4, 0, .6, 1), opacity 0.42s ease;
  transform: translateX(140vw) rotate(30deg) !important;
  opacity: 0;
}

.card.fly-out-left {
  transition: transform 0.42s cubic-bezier(.4, 0, .6, 1), opacity 0.42s ease;
  transform: translateX(-140vw) rotate(-30deg) !important;
  opacity: 0;
}

.card.fly-out-up {
  transition: transform 0.42s cubic-bezier(.4, 0, .6, 1), opacity 0.42s ease;
  transform: translateY(-120vh) rotate(10deg) !important;
  opacity: 0;
}

.hint-badge {
  position: absolute;
  bottom: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.16) 34%, rgba(255, 255, 255, 0.08) 60%, rgba(255, 255, 255, 0.14) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(148, 163, 184, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.35),
    inset 0 -10px 16px rgba(15, 23, 42, 0.12),
    0 10px 24px rgba(15, 23, 42, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 20;
  transition: opacity 0.2s;
}

.hint-badge svg {
  color: rgba(248, 250, 252, 0.96);
  filter: drop-shadow(0 1px 1px rgba(15, 23, 42, 0.18));
}

.content-spacer {
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px 16px;
}

.content-spacer h1 {
  font-size: var(--home-display-size);
  margin: 0 0 10px 0;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.content-spacer p {
  font-size: var(--home-copy-size);
  color: var(--subtle-text);
  max-width: 500px;
}

.featured-products-block {
  width: 100%;
  margin-top: 28px;
  margin-inline: auto;
  align-self: center;
  display: grid;
  gap: 18px;
}

.featured-products-inner {
  width: min(var(--home-shell-width), 100%);
  margin-inline: auto;
  display: grid;
  gap: 18px;
}

.featured-products-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.featured-products-wrap > #featured-products-container {
  width: min(var(--home-shell-width), 100%);
}

.recently-stocked-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.recently-stocked-wrap > #recently-stocked-container {
  width: min(var(--home-shell-width), 100%);
  margin-inline: auto;
}

.new-arrivals-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.new-arrivals-wrap > #new-arrivals-container {
  width: min(var(--home-shell-width), 100%);
}

.custom-home-wrap > #custom-home-container {
  width: min(var(--home-shell-width), 100%);
}

.recommended-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.featured-categories-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.recommended-wrap > #recommended-products-container {
  width: min(var(--home-shell-width), 100%);
}

.featured-categories-wrap > #featured-categories-container {
  width: min(var(--home-shell-width), 100%);
}

.featured-products-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.featured-products-title-link {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.18s ease;
}

.featured-products-title-link:hover,
.featured-products-title-link:focus-visible {
  opacity: 0.74;
  outline: none;
}

.shop-brands-block {
  width: min(var(--home-shell-width), 100%);
  display: grid;
  gap: 24px;
}

.home-sections-stack {
  width: min(var(--home-shell-width), calc(100% - 24px));
  margin: 0 auto;
  display: grid;
  gap: 48px;
}

.home-section-shell {
  width: 100%;
  margin: 0;
}

.custom-home-wrap + .new-arrivals-wrap {
  margin-top: -48px;
}

.new-arrivals-wrap + .recently-stocked-wrap {
  margin-top: -48px;
}

.featured-products-block h2,
.shop-brands-block h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--home-section-title-size);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
}

.shop-brands-block h2 {
  letter-spacing: 0.02em;
  text-align: center;
}

.shop-brands-title-link {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.18s ease;
}

.shop-brands-title-link:hover,
.shop-brands-title-link:focus-visible {
  opacity: 0.74;
  outline: none;
}

.featured-products-block h2 {
  flex: 1;
  text-align: center;
  letter-spacing: 0.02em;
}

.featured-products-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: -2px;
  margin-bottom: 16px;
}

.featured-products-arrow {
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: rgba(226, 232, 240, 0.82);
  color: #020617;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.featured-products-arrow:hover {
  transform: translateY(-2px);
  background: rgba(226, 232, 240, 0.96);
}

.featured-products-arrow svg {
  width: 20px;
  height: 20px;
}

.featured-products-viewport {
  overflow: hidden;
}

.featured-product-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 24px;
  scroll-behavior: smooth;
  overflow-x: auto;
  padding: 18px 2px 8px;
  width: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.featured-product-grid::-webkit-scrollbar {
  display: none;
}

.featured-product-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 24px 20px;
  align-items: start;
}

.featured-products-debug {
  min-height: 20px;
  font-size: 0.88rem;
  color: #f59e0b;
  text-align: center;
}

.featured-products-debug.is-hidden {
  display: none;
}

.featured-product-card {
  position: relative;
  display: block;
  padding: 0;
  border-radius: 24px;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
  overflow: visible;
  cursor: pointer;
}

.featured-product-card.is-loading,
.featured-product-card.is-empty {
  min-width: 100%;
  min-height: 140px;
  place-items: center;
  text-align: center;
  color: var(--muted-text);
}

.featured-product-media {
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: hidden;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.featured-product-stock-badge {
  position: absolute;
  top: -12px;
  left: 12px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.94);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  box-shadow: 0 10px 24px rgba(127, 29, 29, 0.18);
  transform: none;
}

.featured-product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.45s ease;
}

.featured-product-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: block;
  border-radius: 0 0 24px 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 0;
  box-shadow: none;
  max-height: 42%;
  overflow: hidden;
  transform: translateY(calc(100% + 8px));
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.featured-product-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.04) 28%, rgba(255, 255, 255, 0) 48%),
    linear-gradient(255deg, rgba(125, 211, 252, 0.12) 0%, rgba(125, 211, 252, 0) 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  mix-blend-mode: screen;
  opacity: 0.72;
  pointer-events: none;
}

.featured-product-copy::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.22), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.12), transparent 18%);
  opacity: 0.48;
  pointer-events: none;
}

.featured-copy-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
  padding: 8px 12px;
}

.featured-product-card:hover .featured-product-copy,
.featured-product-card:focus-within .featured-product-copy,
.featured-product-card.is-revealed .featured-product-copy {
  transform: translateY(0);
  opacity: 1;
}

.featured-product-card:hover .featured-product-copy::before,
.featured-product-card:focus-within .featured-product-copy::before,
.featured-product-card.is-revealed .featured-product-copy::before {
  opacity: 0.92;
}

.featured-product-card:hover .featured-product-media img,
.featured-product-card:focus-within .featured-product-media img,
.featured-product-card.is-revealed .featured-product-media img {
  transform: scale(1.04);
}

.featured-product-card.is-out-of-stock .featured-product-media img {
  opacity: 0.92;
}

.featured-product-brand {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #6b7280;
  text-transform: none;
}

.featured-product-name {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.2;
  font-weight: 400;
  color: var(--text-color);
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  min-height: 1.2em;
}

.featured-product-name-track {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  min-width: max-content;
  animation: featured-marquee 14s linear infinite;
  will-change: transform;
}

.featured-product-name-text {
  display: inline-block;
}

@keyframes featured-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 1.25rem));
  }
}

.featured-product-name:not(.is-marquee) .featured-product-name-track {
  animation: none;
  transform: translateX(0);
}

.featured-product-name:not(.is-marquee) .featured-product-name-track .featured-product-name-text:last-child {
  overflow: hidden;
  display: none;
}

.featured-product-price {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-color);
}

.featured-product-price--sale {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.featured-product-price-original {
  text-decoration: line-through;
  color: var(--muted-text);
  font-weight: 600;
}

.featured-product-price-current {
  color: #dc2626;
  font-weight: 800;
}

.home-product-showcase {
  margin-top: 0;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 28px;
  background: #ffffff;
  color: #111827;
}

.home-product-showcase .featured-products-inner {
  width: 100%;
  gap: 0;
}

.home-product-showcase-layout {
  display: grid;
  grid-template-columns: minmax(132px, 182px) minmax(0, 1fr);
  gap: clamp(18px, 2.8vw, 38px);
  align-items: center;
  width: 100%;
}

.home-product-showcase-copy {
  display: grid;
  justify-items: start;
  gap: 7px;
  align-content: center;
  min-height: 154px;
}

.home-product-showcase-copy h2 {
  flex: none;
  font-family: var(--font-display);
  text-align: left;
  font-size: clamp(1.08rem, 1.54vw, 1.5rem);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.home-product-showcase-copy p {
  margin: 0;
  color: #374151;
  font-size: clamp(0.72rem, 0.82vw, 0.84rem);
  line-height: 1.45;
}

.home-product-showcase-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 15px;
  border: 1px solid rgba(17, 24, 39, 0.72);
  border-radius: 999px;
  color: #111827;
  background: transparent;
  text-decoration: none;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.18s ease, background 0.18s ease;
}

.home-product-showcase-button:hover,
.home-product-showcase-button:focus-visible {
  transform: translateY(-1px);
  background: rgba(17, 24, 39, 0.06);
  outline: none;
}

.home-product-showcase-products {
  min-width: 0;
}

.home-product-showcase .featured-products-viewport {
  overflow: hidden;
}

.home-product-showcase .featured-product-grid {
  padding: 0;
  gap: 28px;
}

.home-product-showcase .featured-product-slide {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: none;
  gap: clamp(16px, 2.1vw, 28px);
  align-items: start;
}

.home-product-showcase .featured-product-card {
  display: grid;
  gap: 10px;
  border-radius: 0;
}

.home-product-showcase .featured-product-media {
  aspect-ratio: 1 / 1.06;
  border-radius: 0;
  overflow: visible;
  min-height: 0;
}

.home-product-showcase .featured-product-media img {
  object-fit: cover;
  transform: none !important;
}

.home-product-showcase .featured-product-image-placeholder {
  display: none;
  width: 100%;
  height: 100%;
  min-height: inherit;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-radius: 14px;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 0.74rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.25;
}

.home-product-showcase .featured-product-media.has-missing-image img {
  display: none;
}

.home-product-showcase .featured-product-media.has-missing-image .featured-product-image-placeholder {
  display: flex;
}

.home-product-showcase .home-showcase-favorite {
  position: absolute;
  right: 8px;
  bottom: 8px;
  top: auto;
  left: auto;
  z-index: 4;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(148, 163, 184, 0.2);
  cursor: pointer;
  box-shadow:
    inset 1px 1px 1px rgba(255, 255, 255, 0.88),
    inset -1px -1px 1px rgba(148, 163, 184, 0.08),
    0 8px 18px rgba(17, 24, 39, 0.14);
  transition: transform 0.18s ease, color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.home-product-showcase .home-showcase-favorite .favorite-heart-shape {
  margin-top: -4px;
}

.home-product-showcase .home-showcase-favorite:hover,
.home-product-showcase .home-showcase-favorite:focus-visible {
  transform: translateY(-1px) scale(1.04);
  outline: none;
}

.home-product-showcase .home-showcase-favorite.is-active {
  border-color: rgba(225, 29, 72, 0.22);
  background: rgba(255, 241, 242, 0.92);
}

.home-product-showcase .home-showcase-favorite.is-active .favorite-heart-shape {
  background: #f80808;
}

.home-product-showcase .home-showcase-favorite.is-burst .favorite-heart-shape {
  animation: favorite-heart-pop 0.3s ease 1;
}

.home-product-showcase .home-showcase-favorite.is-burst .favorite-burst-line::before {
  animation: favorite-line-burst 0.3s ease-out 1;
}

.home-product-showcase .home-showcase-favorite:disabled {
  opacity: 0.68;
  cursor: wait;
}

.home-product-showcase .featured-product-copy {
  position: static;
  transform: none;
  opacity: 1;
  max-height: none;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.home-product-showcase .featured-product-copy::before,
.home-product-showcase .featured-product-copy::after {
  display: none;
}

.home-product-showcase .featured-copy-content {
  padding: 0;
  gap: 6px;
  align-items: start;
}

.home-product-showcase .home-showcase-kicker {
  height: 1em;
  color: #b31745;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1;
  overflow: hidden;
}

.home-product-showcase .featured-product-brand {
  color: #111827;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  height: 1.2em;
  line-height: 1.2;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.home-product-showcase .featured-product-brand.is-empty {
  visibility: hidden;
}

.home-product-showcase .featured-product-name {
  height: 2.7em;
  white-space: normal;
  overflow: hidden;
  color: #1f2937;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.home-product-showcase .featured-product-name-track {
  display: block;
  min-width: 0;
  animation: none;
  transform: none;
}

.home-product-showcase .featured-product-name-text {
  display: inline;
}

.home-product-showcase .featured-product-name-text[aria-hidden="true"] {
  display: none;
}

.home-product-showcase .featured-product-price {
  color: #111827;
  font-size: 0.88rem;
  font-weight: 900;
  min-height: 1.25em;
  line-height: 1.25;
}

.featured-categories-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  overflow: visible;
  padding: 6px 0 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.featured-categories-grid::-webkit-scrollbar {
  display: none;
}

.featured-category-card {
  display: grid;
  gap: 8px;
  align-items: start;
  text-decoration: none;
  color: inherit;
}

.featured-category-card.is-loading,
.featured-category-card.is-empty {
  min-height: 140px;
  place-items: center;
  text-align: center;
  color: var(--muted-text);
}

.featured-category-card-media {
  aspect-ratio: 1 / 1.08;
  border-radius: 16px;
  overflow: hidden;
  background: #f2f4f8;
  display: grid;
  place-items: center;
}

.featured-category-card-media img {
  width: 60%;
  height: 60%;
  object-fit: contain;
  display: block;
}

.featured-category-card-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 16px;
  text-align: center;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.76) 40%, rgba(226, 232, 240, 0.95)),
    linear-gradient(135deg, #f8fafc, #e2e8f0);
  color: #0f172a;
}

.featured-category-card-placeholder-kicker {
  color: #b31745;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.featured-category-card-placeholder strong {
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  line-height: 1.2;
}

.featured-category-card-copy {
  display: grid;
  gap: 4px;
  justify-items: center;
  text-align: center;
}

.featured-category-card-kicker {
  color: #b31745;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.featured-category-card-copy h3,
.featured-category-card-copy p {
  margin: 0;
}

.featured-category-card-copy h3 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #111827;
}

.featured-category-card-copy p {
  color: #4b5563;
  font-size: 0.74rem;
  line-height: 1.35;
}

.featured-categories-block.home-product-showcase .featured-products-viewport {
  overflow: visible;
}

.featured-categories-block.home-product-showcase .featured-categories-grid {
  padding: 0;
}

.featured-categories-showcase-copy {
  justify-items: start;
}

.featured-categories-showcase-copy h2 {
  text-align: left;
}

.featured-categories-showcase-copy p {
  max-width: 240px;
}

.featured-categories-showcase-products {
  min-width: 0;
}

.featured-categories-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
}

.featured-categories-head-copy {
  display: grid;
  gap: 8px;
  max-width: 520px;
  margin: 0 auto;
}

.featured-categories-head-copy h2,
.featured-categories-head-copy p {
  margin: 0;
}

.featured-categories-head-copy p {
  color: #4b5563;
  font-size: 0.92rem;
  line-height: 1.5;
}

.featured-categories-head .featured-products-controls {
  display: none;
}

.shop-brand-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.shop-brand-pill {
  width: 138px;
  height: 64px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 0;
  outline: 0;
  background:
    linear-gradient(to bottom, oklch(0.96 0.01 257), oklch(0.93 0.018 257 / 82%) 34%, oklch(0.985 0.01 257 / 82%));
  box-shadow:
    inset 0 0 0 0 oklch(1 0.02 257 / 0),
    inset -0.35em -0.35em 0.25em -0.25em oklch(0.99 0.02 257),
    inset -0.33em -1em 0.75em -0.75em oklch(0.99 0.01 257),
    oklch(0.35 0.1 257 / 0.12) 0 0.3em 0.3em 0,
    oklch(0.35 0.1 257 / 0.12) 0 0.18em 0.18em 0,
    oklch(0.35 0.1 257 / 0.10) 0 0.05em 0.05em 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-text);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  opacity: 0;
  transform: translateY(42px) scale(0.92);
  transition:
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.55s ease,
    box-shadow 0.33s cubic-bezier(0.33, 1, 0.68, 1),
    outline-color 0.33s cubic-bezier(0.33, 1, 0.68, 1),
    border-color 0.33s cubic-bezier(0.33, 1, 0.68, 1);
  will-change: transform, opacity;
}

.shop-brand-pill::before,
.shop-brand-pill::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  pointer-events: none;
  transition: all 0.33s cubic-bezier(0.33, 1, 0.68, 1);
}

.shop-brand-pill::before {
  opacity: 0;
  translate: 0.9em 0;
  scale: 0.84;
  background: linear-gradient(
    98deg in oklab,
    oklch(0.8 0.1348 355.91) -5%,
    oklch(0.8 0.2 280),
    oklch(0.98 0.22 200) 160%
  );
  mask: linear-gradient(166deg, transparent 60%, black);
  filter: blur(5px) brightness(1) contrast(1.24);
  box-shadow:
    inset 0 -1px 0 1px oklch(0.99 0.01 257 / 20%),
    inset 0 -0.25em 0.25em 0.125em oklch(0.99 0.01 257 / 40%);
  z-index: 0;
}

.shop-brand-pill::after {
  opacity: 0.36;
  box-shadow:
    inset 0 -0.3em 2px 1px oklch(0.99 0.01 257),
    inset 0 -0.3em 0.25em oklch(0.99 0.01 257),
    inset 0 -0.3em 0.5em oklch(0.99 0.01 257);
  mix-blend-mode: lighten;
  z-index: 0;
}

.shop-brand-pill > * {
  position: relative;
  z-index: 1;
}

.shop-brand-logo {
  width: 100%;
  height: 34px;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: saturate(1.02);
}

.shop-brand-pill:nth-child(odd) {
  transform: translate3d(-18px, 18px, 0) scale(0.92);
}

.shop-brand-pill:nth-child(even) {
  transform: translate3d(18px, 18px, 0) scale(0.92);
}

.shop-brand-pill.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.shop-brand-pill:hover,
.shop-brand-pill:focus-visible {
  color: #3c5a80;
  transform: translate3d(0, -2px, 0) scale(1.02);
  box-shadow:
    inset 0 0 0 0 oklch(1 0.02 257 / 0),
    inset -0.35em -0.35em 0.25em -0.25em oklch(0.99 0.02 257),
    inset -0.33em -1em 0.75em -0.75em oklch(0.99 0.01 257),
    oklch(0.35 0.1 257 / 0.12) 0 0.34em 0.32em 0,
    oklch(0.35 0.1 257 / 0.12) 0 0.18em 0.18em 0,
    oklch(0.35 0.1 257 / 0.10) 0 0.05em 0.05em 0;
}

.shop-brand-pill:hover::before,
.shop-brand-pill:focus-visible::before {
  opacity: 0.58;
  translate: 0 0;
  scale: 1;
}

.shop-brand-pill:hover::after,
.shop-brand-pill:focus-visible::after {
  opacity: 0.8;
}

.shop-brand-pill:active {
  transform: translate3d(0, 1px, 0) scale(0.985);
  box-shadow:
    inset 0 0.25em 0.66em 0 oklch(1 0.02 257 / 0.66),
    inset -0.35em -0.35em 0.25em -0.25em oklch(0.99 0.02 257),
    inset -0.33em -1em 0.75em -0.75em oklch(0.99 0.01 257),
    oklch(0.35 0.1 257 / 0.12) 0 0.15em 0.15em 0,
    oklch(0.35 0.1 257 / 0.12) 0 0.09em 0.09em 0,
    oklch(0.35 0.1 257 / 0.10) 0 0.025em 0.025em 0;
}

.shop-brand-pill:active::before {
  opacity: 0.72;
  translate: 0 0;
  scale: 1.06;
  filter: blur(6px) brightness(1.05) contrast(1.28);
}

.shop-brand-pill:active::after {
  opacity: 1;
}

.brand-info-section {
  padding: 0;
}

.brand-info-card {
  width: 100%;
  margin: 0 auto;
  padding: 38px 32px;
  border-radius: 28px;
  border: 1px solid var(--panel-border);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 45%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.18);
  display: grid;
  gap: 28px;
  justify-items: center;
  text-align: center;
}

.brand-info-copy {
  display: grid;
  gap: 10px;
  max-width: 680px;
}

.brand-logo-image {
  width: 420px;
  height: 92px;
  display: block;
  margin: 0 auto 8px;
  object-fit: contain;
  object-position: center;
  max-width: 100%;
}

.brand-info-copy p:last-child {
  margin: 0;
  color: var(--subtle-text);
  font-size: 1.05rem;
  line-height: 1.8;
}

.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 1;
  background: var(--footer-bg);
  padding: 28px 20px calc(28px + env(safe-area-inset-bottom, 0px));
}

#footer-container {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 1;
  background: var(--footer-bg);
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s ease;
  overflow: hidden;
  clip-path: inset(0 round 32px 32px 0 0);
}

#footer-container .footer {
  position: relative;
  left: auto;
  bottom: auto;
  width: 100%;
  z-index: auto;
  pointer-events: none;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  overflow: hidden;
}

#footer-container.is-peeking {
  opacity: 1;
}

#footer-container.is-interactive {
  pointer-events: auto;
}

#footer-container.is-interactive .footer {
  pointer-events: auto;
}

.footer-trust-grid {
  width: min(1100px, 100%);
  margin: 0 auto 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 14px;
  align-items: start;
}

.footer-trust-item {
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.footer-trust-item:nth-child(odd) {
  justify-self: stretch;
  text-align: left;
}

.footer-trust-item:nth-child(even) {
  justify-self: stretch;
  text-align: left;
}

.footer-trust-icon {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  color: color-mix(in srgb, var(--footer-text) 84%, #cbd5e1 16%);
}

.footer-trust-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  display: block;
}

.footer-trust-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.footer-trust-copy strong {
  color: color-mix(in srgb, var(--text-color) 82%, white 18%);
  font-size: 0.73rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.footer-trust-copy span {
  color: color-mix(in srgb, var(--footer-text) 86%, #94a3b8 14%);
  font-size: 0.69rem;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 769px) {
  .footer-trust-grid {
    width: fit-content;
    max-width: min(1100px, 100%);
    grid-template-columns: repeat(4, max-content);
    justify-content: center;
    gap: 0 34px;
  }

  .footer-trust-item {
    grid-template-columns: 24px max-content;
    align-items: center;
    gap: 8px;
  }

  .footer-trust-icon {
    align-self: center;
    width: 24px;
    height: 24px;
  }

  .footer-trust-icon svg {
    width: 16px;
    height: 16px;
  }

  .footer-trust-copy {
    min-height: 16px;
    align-content: center;
  }

  .footer-trust-copy strong {
    font-size: 0.75rem;
  }

  .footer-trust-copy span {
    display: none;
  }
}

.footer-inner {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--footer-text);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  min-width: 0;
}

.footer-brand span {
  overflow-wrap: anywhere;
}

.brand-dots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  width: 26px;
  height: 26px;
}

.brand-dots span {
  background: var(--footer-text);
  border-radius: 50%;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--footer-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ccc;
}

.footer-links svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  display: block;
}

.footer-spacer {
  height: 340px;
}

@media (max-width: 900px) {
  .glass-navbar {
    padding: 14px 20px;
  }
}

@media (max-width: 768px) {
  :root {
    --top-nav-height: 76px;
  }

  .glass-navbar {
    align-items: center;
    padding: 16px 18px;
  }

  .page {
    min-height: 100vh;
  }

  .page-reveal-layer {
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
  }

  .glass-nav-content {
    padding: 12px;
  }

  .nav-list {
    gap: 10px;
  }

  .nav-item {
    font-size: 15px;
    padding: 8px 12px;
  }

  .carousel-section {
    padding: 20px 16px 32px;
  }

  .stack-wrapper {
    width: min(300px, calc(100vw - 32px));
    height: min(420px, calc((100vw - 32px) * 1.4));
  }

  .card {
    width: 100%;
    height: 100%;
  }

  .search-container {
    padding: 16px;
  }

  .search-icon {
    left: 28px;
  }

  .search-clear {
    right: 28px;
  }

  .nav-brand {
    width: auto;
  }

  .nav-actions {
    justify-content: flex-end;
    gap: 12px;
  }

  .nav-search-panel.is-open {
    padding-top: 14px;
  }

  .glass-search {
    width: 100%;
  }

  .featured-products-head {
    align-items: center;
    flex-direction: column;
  }

  .featured-products-view-more {
    padding: 6px 12px;
    font-size: 0.68rem;
  }

  .featured-products-controls {
    gap: 10px;
    align-self: center;
  }

  .featured-products-arrow {
    width: 48px;
    height: 48px;
  }

  .featured-products-arrow svg {
    width: 18px;
    height: 18px;
  }

  .featured-product-grid {
    gap: 18px;
  }

  .recently-stocked-wrap {
    margin-top: 20px;
  }

  .recently-stocked-wrap .featured-products-inner,
  .recently-stocked-wrap #recently-stocked-container,
  .recently-stocked-wrap .featured-products-block {
    width: 100%;
  }

  .new-arrivals-wrap,
  .recently-stocked-wrap,
  .recommended-wrap,
  .featured-categories-wrap {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    overflow-x: clip;
  }

  .new-arrivals-wrap + .recently-stocked-wrap {
    margin-top: -48px;
  }

  .home-product-showcase {
    border-radius: 0;
    padding-inline: 12px;
  }

  .recently-stocked-wrap .featured-product-grid {
    padding-left: 0;
    padding-right: 0;
  }

  .recently-stocked-wrap .featured-product-slide {
    gap: 18px 14px;
  }

  .home-product-showcase-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .home-product-showcase-copy {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr) auto;
    justify-items: start;
    align-items: center;
    text-align: left;
    column-gap: 14px;
    row-gap: 4px;
  }

  .home-product-showcase-copy h2 {
    text-align: center;
    font-size: 1.65rem;
    grid-column: 1;
    text-align: left;
  }

  .home-product-showcase-copy p {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 0.82rem;
  }

  .home-product-showcase-button {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    min-height: 34px;
    padding: 0 16px;
    font-size: 0.68rem;
  }

  .home-product-showcase .featured-product-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding: 0;
    gap: 14px;
  }

  .home-product-showcase .featured-product-slide,
  .recently-stocked-wrap .home-product-showcase .featured-product-slide {
    display: contents;
  }

  .home-product-showcase .featured-product-card {
    flex: 0 0 calc((100vw - 52px) / 2.08);
    scroll-snap-align: start;
  }

  .featured-categories-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .featured-categories-grid::-webkit-scrollbar {
    display: none;
  }

  .featured-category-card {
    flex: 0 0 calc((100vw - 52px) / 2.08);
    scroll-snap-align: start;
  }

  .featured-categories-head {
    align-items: center;
  }

  .featured-categories-head-copy {
    min-width: 0;
  }

  .featured-categories-head-copy h2 {
    font-size: 1.3rem;
  }

  .featured-categories-head-copy p {
    font-size: 0.82rem;
  }

  .featured-category-card-media {
    aspect-ratio: 1 / 1.12;
    border-radius: 18px;
  }

  .home-product-showcase .featured-product-media {
    aspect-ratio: 1 / 1.15;
  }

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

  .featured-product-card {
    gap: 14px;
  }

  .featured-product-brand {
    font-size: 0.72rem;
  }

  .featured-product-name {
    font-size: 0.8rem;
  }

  .featured-product-price {
    font-size: 0.78rem;
  }

  .shop-brand-logos {
    gap: 8px;
  }

  .shop-brand-pill {
    width: 108px;
    height: 52px;
    padding: 8px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
  }

  .shop-brand-logo {
    height: 28px;
  }

  .brand-info-section {
    padding: 0;
  }

  .brand-info-card {
    padding: 28px 20px;
    border-radius: 24px;
  }

  .footer {
    padding: 22px 16px calc(22px + env(safe-area-inset-bottom, 0px));
  }

  .footer-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    margin-bottom: 16px;
  }

  .footer-trust-item {
    grid-template-columns: 29px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
  }

  .footer-trust-item:nth-child(odd) {
    justify-self: stretch;
    text-align: left;
  }

  .footer-trust-item:nth-child(even) {
    justify-self: end;
    width: fit-content;
    text-align: right;
  }

  .footer-trust-item:nth-child(even) .footer-trust-copy {
    text-align: right;
    justify-items: end;
  }

  .footer-trust-icon {
    align-self: start;
    margin-top: 1px;
    width: 29px;
    height: 29px;
  }

  .footer-trust-icon svg {
    width: 19px;
    height: 19px;
  }

  .footer-trust-copy {
    gap: 2px;
  }

  .footer-trust-copy strong,
  .footer-trust-copy span {
    display: block;
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
  }

  .footer-links {
    gap: 18px;
    justify-content: center;
  }

  .footer-spacer {
    height: 420px;
  }

}

@media (prefers-color-scheme: dark) {
  .glass-nav {
    --bg-color: rgba(0, 0, 0, 0.25);
    --highlight: rgba(255, 255, 255, 0.15);
  }

  .glass-search {
    --bg-color: rgba(0, 0, 0, 0.25);
    --highlight: rgba(255, 255, 255, 0.15);
    --input-bg: rgba(0, 0, 0, 0.2);
    --input-border: rgba(255, 255, 255, 0.1);
    --input-focus: rgba(0, 0, 0, 0.3);
  }
}

/* ==================== GLASS HEADER TEST ==================== */
.floating-elements {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floating-circle {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04));
  filter: blur(2px);
  animation: nav-float 12s ease-in-out infinite;
}

.floating-circle:nth-child(1) {
  width: 180px;
  height: 180px;
  top: 14%;
  left: -3%;
}

.floating-circle:nth-child(2) {
  width: 220px;
  height: 220px;
  top: 22%;
  right: -5%;
  animation-delay: -4s;
}

.floating-circle:nth-child(3) {
  width: 130px;
  height: 130px;
  bottom: 16%;
  left: 12%;
  animation-delay: -8s;
}

@keyframes nav-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -18px, 0) scale(1.05); }
}

:root {
  --utility-header-height: 84px;
  --top-nav-height: 152px;
}

.home-page {
  --top-nav-height: var(--utility-header-height);
}

@media (min-width: 769px) {
  .home-page {
    --top-nav-height: calc(var(--utility-header-height) + 72px);
  }
}

.page {
  z-index: 2;
  background: transparent;
}

.page::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: var(--top-nav-height);
  background: var(--page-color);
  z-index: -1;
}

.home-page[data-theme="light"] {
  background: linear-gradient(180deg, #9fadb8 0%, #b5c1cb 10%, #c6d1d9 24%, #d5dee4 52%, #d8e6ef 80%, #edf4ff 100%);
}

.home-page[data-theme="light"] .page {
  background: transparent;
}

.home-page[data-theme="light"] .page::before {
  background: linear-gradient(180deg, #9fadb8 0%, #b3c0ca 22%, #c7d2da 52%, #dce5eb 78%, #edf4ff 100%);
}

.home-page[data-theme="light"] .page-reveal-layer {
  background: linear-gradient(180deg, #9fadb8 0%, #b5c1cb 10%, #c6d1d9 24%, #d5dee4 52%, #d8e6ef 80%, #edf4ff 100%);
}

.home-page[data-theme="light"] #footer-container,
.home-page[data-theme="light"] #footer-container .footer {
  background: #9fadb8;
}

.footer-layout-card {
  padding: 26px 18px calc(24px + env(safe-area-inset-bottom, 0px));
}

.footer-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 26px 34px 18px;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--footer-text);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(250px, 1.2fr) 1px repeat(3, minmax(150px, 0.9fr));
  gap: 28px;
  align-items: start;
}

.footer-divider {
  background: color-mix(in srgb, var(--footer-text) 18%, transparent);
}

.footer-divider-vertical {
  width: 1px;
  min-height: 100%;
}

.footer-divider-horizontal {
  width: 100%;
  height: 1px;
  margin: 14px 0 12px;
}

.footer-brand-panel {
  display: grid;
  gap: 18px;
}

.footer-brand-mark {
  font-size: clamp(1.65rem, 2vw, 2.2rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: color-mix(in srgb, var(--text-color) 72%, var(--footer-text) 28%);
  font-family: var(--font-display);
  font-style: italic;
}

.footer-brand-description,
.footer-updates-copy {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--footer-text) 88%, var(--text-color) 12%);
}

.footer-contact-list,
.footer-link-list,
.footer-updates-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-contact-list,
.footer-updates-list {
  display: grid;
  gap: 12px;
}

.footer-contact-item,
.footer-updates-list a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-icon,
.footer-updates-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: color-mix(in srgb, var(--footer-text) 84%, var(--text-color) 16%);
  flex-shrink: 0;
}

.footer-contact-icon svg,
.footer-updates-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: currentColor;
}

.footer-contact-text,
.footer-contact-text a,
.footer-updates-list a {
  color: color-mix(in srgb, var(--footer-text) 92%, var(--text-color) 8%);
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.45;
}

.footer-contact-text span {
  color: color-mix(in srgb, var(--footer-text) 88%, var(--text-color) 12%);
}

.footer-brand-tagline {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid color-mix(in srgb, var(--footer-text) 18%, transparent);
  color: color-mix(in srgb, var(--text-color) 78%, var(--footer-text) 22%);
  font-size: 1rem;
  font-style: italic;
  font-weight: 600;
}

.footer-column,
.footer-updates-column {
  display: grid;
  gap: 16px;
}

.footer-column-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-column-toggle {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  color: inherit;
  cursor: default;
}

.footer-column h3 {
  margin: 0;
  color: color-mix(in srgb, var(--text-color) 80%, var(--footer-text) 20%);
  font-size: 1.45rem;
  font-weight: 500;
}

.footer-mobile-chevron {
  display: none;
  transition: transform 0.24s ease;
}

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

.footer-link-list a {
  color: color-mix(in srgb, var(--footer-text) 92%, var(--text-color) 8%);
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.35;
}

.footer-link-list a:hover,
.footer-updates-list a:hover,
.footer-contact-text a:hover,
.footer-legal-links a:hover {
  color: color-mix(in srgb, var(--text-color) 88%, var(--footer-text) 12%);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  min-width: 0;
}

.footer-copyright,
.footer-legal-links a {
  color: color-mix(in srgb, var(--footer-text) 92%, var(--text-color) 8%);
  font-size: 0.94rem;
  text-decoration: none;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-badge-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: color-mix(in srgb, var(--text-color) 82%, var(--footer-text) 18%);
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
}

.footer-badge strong {
  font-size: 1.25rem;
  letter-spacing: -0.04em;
}

.footer-badge svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
}

.footer-badge-circles {
  position: relative;
  width: 34px;
  height: 18px;
  display: inline-flex;
}

.footer-badge-circles i {
  position: absolute;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

.footer-badge-circles i:first-child {
  left: 0;
  background: #ec5a29;
}

.footer-badge-circles i:last-child {
  right: 0;
  background: #f6a623;
  opacity: 0.85;
}

.footer-spacer {
  height: 500px;
}

@media (max-width: 900px) {
  .footer-layout-card {
    padding: 18px 14px calc(20px + env(safe-area-inset-bottom, 0px));
  }

  .footer-shell {
    width: min(420px, 100%);
    padding: 24px 18px 18px;
    border-radius: 0;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-divider-vertical {
    display: none;
  }

  .footer-column h3 {
    font-size: 1.25rem;
  }

  .footer-updates-column {
    display: none;
  }

  .footer-mobile-chevron {
    display: inline-flex;
    font-size: 1.35rem;
    color: color-mix(in srgb, var(--footer-text) 88%, var(--text-color) 12%);
  }

  .footer-column-toggle {
    cursor: pointer;
    padding: 0 0 8px;
  }

  .footer-column[data-footer-collapsible] .footer-link-list {
    overflow: hidden;
  }

  .footer-column[data-footer-collapsible].is-open .footer-mobile-chevron {
    transform: rotate(90deg);
  }

  .footer-brand-panel {
    gap: 14px;
  }

  .footer-brand-mark {
    text-align: center;
    justify-self: center;
  }

  .footer-brand-description,
  .footer-brand-tagline {
    text-align: center;
  }

  .footer-bottom,
  .footer-bottom-left {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-badge-list {
    justify-content: flex-start;
  }

.footer-spacer {
  height: 180px;
}
}

.footer-layout-newsletter {
  padding: 44px 18px calc(28px + env(safe-area-inset-bottom, 0px));
}

.footer-layout-newsletter .footer-news-shell {
  width: min(1440px, 100%);
  margin: 0 auto;
  display: grid;
  justify-items: center;
  gap: 24px;
  text-align: center;
  color: color-mix(in srgb, var(--footer-text) 92%, var(--text-color) 8%);
}

.footer-layout-newsletter .footer-news-social-wrap {
  display: grid;
  justify-items: center;
  gap: 18px;
  margin-top: 12px;
}

.footer-layout-newsletter h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 2.5vw, 2.85rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: color-mix(in srgb, var(--text-color) 84%, var(--footer-text) 16%);
}

.footer-layout-newsletter .footer-news-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.footer-layout-newsletter .footer-news-social {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: color-mix(in srgb, var(--text-color) 86%, var(--footer-text) 14%);
  text-decoration: none;
}

.footer-layout-newsletter .footer-news-social svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  stroke: currentColor;
}

.footer-layout-newsletter .footer-news-copy {
  margin: 0;
  max-width: 760px;
  font-size: 1.1rem;
  line-height: 1.55;
}

.footer-layout-newsletter .footer-news-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 26px;
  max-width: 1180px;
}

.footer-layout-newsletter .footer-news-links a {
  color: color-mix(in srgb, var(--footer-text) 92%, var(--text-color) 8%);
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.35;
}

.footer-layout-newsletter .footer-news-copyline {
  margin: 0;
  font-size: 0.98rem;
  color: color-mix(in srgb, var(--footer-text) 90%, var(--text-color) 10%);
}

.footer-layout-newsletter .footer-news-links a:hover,
.footer-layout-newsletter .footer-news-social:hover {
  color: color-mix(in srgb, var(--text-color) 92%, var(--footer-text) 8%);
}

.footer-layout-newsletter .footer-shell,
.footer-layout-newsletter .footer-top,
.footer-layout-newsletter .footer-bottom,
.footer-layout-newsletter .footer-bottom-left,
.footer-layout-newsletter .footer-badge-list,
.footer-layout-newsletter .footer-divider {
  display: none;
}

@media (max-width: 900px) {
  .footer-layout-newsletter {
    padding: 38px 16px calc(26px + env(safe-area-inset-bottom, 0px));
  }

  .footer-layout-newsletter .footer-news-shell {
    gap: 20px;
  }

  .footer-layout-newsletter h2 {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .footer-layout-newsletter .footer-news-copy {
    font-size: 1rem;
  }

  .footer-layout-newsletter .footer-news-links {
    gap: 12px 18px;
  }

  .footer-spacer {
    height: 220px;
  }
}

.page-reveal-layer {
  margin-top: 0;
  padding-top: var(--top-nav-height);
  min-height: calc(100vh - var(--top-nav-height));
}

.site-header-utility {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1210;
  padding: 0;
  background: transparent;
  pointer-events: none;
}

.site-header-inner {
  --search-panel-space: 0px;
  --header-base-height: 0px;
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding: 16px 26px;
  pointer-events: auto;
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 0;
  border-left: 0;
  border-right: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
  transition: min-height 0.28s ease, padding-bottom 0.28s ease;
}

.header-menu-button {
  display: none;
  position: absolute;
  left: 26px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  margin-right: 0;
}

.navbar-container {
  position: fixed;
  top: var(--utility-header-height);
  left: 0;
  z-index: 1205;
  width: 100%;
  padding: 8px 20px 0;
  display: flex;
  justify-content: center;
}

.home-page .navbar-container {
  display: none !important;
}

@media (min-width: 769px) {
  .home-page .navbar-container {
    display: flex !important;
  }
}

.site-header-inner,
.navmenu-bar {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 22px 42px rgba(15, 23, 42, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  flex-wrap: nowrap;
  overflow: visible;
}

.site-header-inner {
  border-radius: 0;
}

.navmenu-bar {
  width: min(100%, 1400px);
  max-width: 1400px;
  border-radius: 999px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

@media (min-width: 769px) {
  .navbar-container {
    padding: 8px 20px 0;
  }

  .navmenu-bar {
    width: max-content;
    max-width: calc(100% - 40px);
  }

  .navmenu-bar .glass-nav-content {
    padding: 10px 14px;
  }

  .navbar-nav {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 8px;
    width: max-content;
    min-width: max-content;
  }

  .navbar-nav .nav-item {
    white-space: nowrap;
    min-height: 40px;
    padding: 8px 12px;
    font-size: 0.9rem;
  }
}

.site-header-inner::before,
.navmenu-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.18), transparent 36%, rgba(255, 255, 255, 0.08));
  pointer-events: none;
}

.navbar-brand,
.nav-brand {
  position: relative;
  z-index: 2;
  gap: 12px;
  color: #fff;
}

.site-header-inner .nav-brand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
}

.navbar-brand svg,
.nav-brand svg {
  flex-shrink: 0;
}

.site-header-actions {
  position: absolute;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 0;
  justify-content: flex-end;
  flex: 0 0 auto;
  min-width: max-content;
  z-index: 3;
}

.site-header-utility .site-header-inner {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
}

.site-header-utility .header-menu-button {
  grid-column: 1;
}

.site-header-utility .nav-brand {
  grid-column: 2;
  justify-self: center;
  gap: 0;
}

.site-header-utility .nav-brand-logo {
  display: none;
}

.site-header-utility .nav-brand [data-site-brand-text] {
  display: inline-block;
  font-family: var(--font-brand);
  font-size: clamp(1.7rem, 2.45vw, 2.45rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 0.95;
  text-transform: none;
  color: var(--text-color);
}

.site-header-utility .site-header-actions {
  grid-column: 3;
  justify-self: end;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.navmenu-bar {
  justify-content: center;
  padding: 0;
}

.navmenu-bar .glass-nav-content {
  padding: 12px 18px;
}

.mobile-header-menu {
  display: none;
}

.navbar-nav > li {
  position: relative;
}

.navbar-nav .nav-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  background: transparent;
}

.navbar-nav .nav-item:hover,
.navbar-nav .nav-item:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  outline: none;
}

.navbar-nav .nav-item.active {
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.navbar-tools,
.nav-actions {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0;
  flex: 0 0 auto;
  margin-left: 0;
}

.account-toggle {
  margin-right: -4px;
}

.header-bag-button {
  margin-left: -4px;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 0;
  color: var(--muted-text);
  background: transparent;
  border: none;
  box-shadow: none;
}

.icon-btn:hover {
  color: #fff;
  background: transparent;
}

.theme-toggle {
  margin-left: 0;
}

.nav-search-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(500px, calc(100vw - 48px));
  max-height: 0;
  padding-top: 0;
  pointer-events: none;
}

.nav-search-panel.is-open {
  max-height: 420px;
  pointer-events: auto;
}

.glass-search {
  width: 100%;
  margin-left: 0;
  border-radius: 28px;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 992px) {
  :root {
    --utility-header-height: 82px;
    --top-nav-height: 144px;
  }

  .site-header-utility {
    padding: 0;
  }

  .site-header-inner {
    padding: 12px 16px;
    border-radius: 0;
  }

  .navbar-container {
    display: flex;
    padding: 8px 14px 0;
  }

  .navmenu-bar {
    width: 100%;
    max-width: none;
  }

  .navmenu-bar .glass-nav-content {
    width: 100%;
    padding: 10px 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .navmenu-bar .glass-nav-content::-webkit-scrollbar {
    display: none;
  }

  .navbar-nav {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 10px;
    width: max-content;
    min-width: 100%;
  }

  .nav-list {
    margin-inline: 0;
  }

  .navbar-nav .nav-item {
    min-height: 40px;
    padding: 8px 14px;
    font-size: 0.94rem;
  }

  .nav-search-panel {
    right: 0;
    width: 100%;
  }
}

@media (max-width: 768px) {
  :root {
    --utility-header-height: calc(56px + env(safe-area-inset-top, 0px));
    --top-nav-height: calc(56px + env(safe-area-inset-top, 0px));
  }

  .navbar-brand span,
  .nav-brand span {
    font-size: 1.08rem;
  }

  .site-header-utility .nav-brand [data-site-brand-text] {
    font-size: 1rem;
    line-height: 0.94;
  }

  .navbar-tools {
    gap: 8px;
  }

  .site-header-utility {
    position: sticky;
    top: 0;
    padding: 0;
    padding-top: env(safe-area-inset-top, 0px);
    background: var(--nav-bg);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
  }

  .page-reveal-layer {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-top: 0;
    min-height: 100vh;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    overflow-x: clip;
  }

  .site-header-utility::before {
    content: none;
  }

  .site-header-inner {
    padding: 8px 14px;
    border-radius: 0;
    flex-wrap: nowrap;
    align-items: center;
    min-height: 56px;
    overflow: visible;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    transition: padding-bottom 0.28s ease, min-height 0.28s ease;
  }

  .site-header-utility .site-header-inner {
    grid-template-columns: 40px minmax(0, 1fr) auto;
  }

  .header-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    left: 14px;
    top: 28px !important;
    transform: translateY(-50%) !important;
    margin-right: 0;
  }

  .site-header-inner .nav-brand {
    position: absolute !important;
    left: 68px !important;
    top: 28px !important;
    transform: translateY(-50%) !important;
    grid-column: auto !important;
    justify-self: auto !important;
    width: max-content;
    max-width: calc(100vw - 210px);
  }

  .site-header-actions {
    position: absolute !important;
    right: 14px;
    top: 28px !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
    gap: 0;
  }

  .nav-search-panel {
    position: absolute !important;
    top: 52px !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-height: 0;
    padding: 0 !important;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-8px) !important;
    z-index: 1206;
  }

  .nav-search-panel.is-open {
    max-height: 260px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) !important;
  }

  .glass-search {
    width: 100%;
    margin: 0;
    border-radius: 24px;
  }

  .search-container {
    padding: 20px 18px;
  }

  .site-header-utility.is-search-open .site-header-inner {
    min-height: 56px;
    padding-bottom: 0;
  }

  .site-header-utility.is-search-open .header-menu-button,
  .site-header-utility.is-search-open .site-header-inner .nav-brand,
  .site-header-utility.is-search-open .site-header-actions {
    top: 28px !important;
    transform: translateY(-50%) !important;
  }

  .icon-btn {
    width: 36px;
    height: 36px;
  }

  .theme-toggle {
    margin-left: 2px;
    transform: scale(0.88);
    transform-origin: right center;
  }

  .navbar-container {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 0;
    align-items: stretch;
    justify-content: flex-start;
    background: transparent;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.28s ease, background 0.28s ease;
    z-index: 1211;
  }

  body.site-menu-open .navbar-container {
    background: transparent;
    opacity: 1;
    pointer-events: auto;
  }

  .home-page.site-menu-open .navbar-container {
    display: flex !important;
  }

  body.site-menu-open .site-header-utility {
    pointer-events: auto;
  }

  body.site-menu-open .site-header-inner {
    min-height: 56px;
    padding-bottom: 0;
  }

  body.site-menu-open .nav-search-panel {
    opacity: 0;
    pointer-events: none;
  }

  body.site-menu-open .navmenu-bar {
    width: min(84vw, 360px);
    max-width: 360px;
    height: 100dvh;
    min-height: 100dvh;
    border-radius: 0 28px 28px 0;
    overflow: hidden;
    transform: translateX(-108%);
    opacity: 0;
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease;
  }

  body.site-menu-open .navmenu-bar .glass-nav-content {
    width: 100%;
    height: 100%;
    min-height: 100%;
    box-sizing: border-box;
    padding: calc(var(--utility-header-height) + 18px) 16px calc(32px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  body.site-menu-open .navmenu-bar {
    transform: translateX(0);
    opacity: 1;
  }

  body.site-menu-open .navbar-nav,
  body.site-menu-open .nav-pill-indicator {
    display: none !important;
  }

  body.site-menu-open .mobile-header-menu {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    color: var(--text-color);
  }

  body.site-menu-open .mobile-header-menu-heading {
    padding: 4px 6px 2px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--text-color) 76%, var(--muted-text) 24%);
  }

  body.site-menu-open .mobile-header-menu-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  body.site-menu-open .mobile-header-menu-link,
  body.site-menu-open .mobile-header-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    padding: 14px 16px;
    border-radius: 18px;
    font-size: 0.98rem;
    line-height: 1.25;
    color: var(--text-color);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
  }

  body.site-menu-open .mobile-header-menu-link[data-level="1"],
  body.site-menu-open .mobile-header-summary + .mobile-header-sublist > .mobile-header-menu-link,
  body.site-menu-open .mobile-header-summary + .mobile-header-sublist > .mobile-header-disclosure > .mobile-header-summary {
    font-size: 0.94rem;
  }

  body.site-menu-open .mobile-header-menu-link[data-level="2"],
  body.site-menu-open .mobile-header-sublist[data-level="2"] > .mobile-header-menu-link,
  body.site-menu-open .mobile-header-sublist[data-level="2"] > .mobile-header-disclosure > .mobile-header-summary {
    font-size: 0.9rem;
  }

  body.site-menu-open .mobile-header-disclosure {
    display: block;
  }

  body.site-menu-open .mobile-header-summary {
    list-style: none;
    font-weight: 700;
  }

  body.site-menu-open .mobile-header-summary::-webkit-details-marker {
    display: none;
  }

  body.site-menu-open .mobile-header-summary::after {
    content: "+";
    font-size: 1.1rem;
    line-height: 1;
    opacity: 0.8;
  }

  body.site-menu-open .mobile-header-disclosure[open] > .mobile-header-summary::after {
    content: "−";
  }

  body.site-menu-open .mobile-header-sublist {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 0 2px 12px;
  }

  body.site-menu-open .mobile-header-sublist[data-level="2"] {
    padding-left: 10px;
  }

  body.site-menu-open .mobile-header-menu-separator {
    height: 1px;
    width: 100%;
    background: rgba(255, 255, 255, 0.12);
    margin: 2px 0;
  }

  body.site-menu-open .page-reveal-layer,
  body.site-menu-open #footer-container {
    pointer-events: none;
  }

  .navmenu-bar .glass-nav-content {
    padding: 9px 10px;
  }

  .navbar-nav {
    gap: 8px;
  }

  .navbar-nav .nav-item {
    min-height: 38px;
    padding: 8px 12px;
    font-size: 0.9rem;
  }

  .shop-brand-pill,
  .shop-brand-pill.is-visible,
  .shop-brand-pill:hover,
  .shop-brand-pill:focus-visible,
  .shop-brand-pill:active {
    transform: translate3d(0, 0, 0) scale(1);
    border-radius: 999px;
  }

  .shop-brand-pill:active {
    box-shadow:
      inset 0 0.12em 0.4em 0 oklch(1 0.02 257 / 0.46),
      inset -0.35em -0.35em 0.25em -0.25em oklch(0.99 0.02 257),
      inset -0.33em -1em 0.75em -0.75em oklch(0.99 0.01 257),
      oklch(0.35 0.1 257 / 0.12) 0 0.12em 0.12em 0,
      oklch(0.35 0.1 257 / 0.10) 0 0.025em 0.025em 0;
  }

  .shop-brand-pill::before,
  .shop-brand-pill::after,
  .shop-brand-pill:active::before,
  .shop-brand-pill:active::after {
    inset: 0;
    border-radius: 999px;
  }

  .shop-brand-pill:active::before {
    opacity: 0.52;
    scale: 1;
    filter: blur(5px) brightness(1) contrast(1.24);
  }

  .shop-brand-pill:active::after {
    opacity: 0.72;
  }

  .nav-search-panel {
    position: static;
    order: 3;
    flex: 0 0 100%;
    width: 100%;
    max-height: 0;
    padding-top: 0;
    pointer-events: none;
  }

  .nav-search-panel.is-open {
    max-height: 420px;
    padding-top: 12px;
    pointer-events: auto;
  }

  .glass-search {
    width: 100%;
  }

}

.dynamic-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.dynamic-popup-filters {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.dynamic-popup-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.dynamic-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 14, 24, 0.44);
}

.dynamic-popup-card {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  color: #e5e5e5;
  border-radius: 30px;
  overflow: clip;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
  isolation: isolate;
}

.dynamic-popup-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: inset 2px 2px 0 -2px rgba(255, 255, 255, 0.7), inset 0 0 3px 1px rgba(255, 255, 255, 0.7);
}

.dynamic-popup-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: 30px;
  backdrop-filter: blur(0);
  filter: url(#dynamic-popup-container-glass);
  overflow: hidden;
  isolation: isolate;
}

.dynamic-popup-card__inner {
  display: grid;
  grid-template-areas: "stack";
  position: relative;
  border-radius: 24px;
  overflow: clip;
  box-shadow: inset 0 0 4px -2px #ffffff55, 0 0 4px -2px #ffffff55;
}

.dynamic-popup-card__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  backdrop-filter: blur(100px);
  mask: linear-gradient(-14deg, black 30%, transparent 66%);
}

.dynamic-popup-card__cover {
  grid-area: stack;
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.dynamic-popup-card__body {
  z-index: 1;
  grid-area: stack;
  margin-top: auto;
  padding: 1rem 1.35rem 1.35rem;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.16) 18%, rgba(0, 0, 0, 0.52) 100%);
}

.dynamic-popup-card__header {
  font-size: 1.8rem;
  font-weight: 300;
  margin: 0;
}

.dynamic-popup-card__body p {
  margin: 0.9rem 0 0;
  color: rgba(229, 229, 229, 0.92);
}

.dynamic-popup-title {
  display: inline-block;
}

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

.dynamic-popup-close.glassBtn {
  width: 56px;
  height: 56px;
  padding: 14px;
  background: transparent;
  border-radius: 9999px;
  outline: none;
  border: none;
  cursor: pointer;
  color: #fff;
  z-index: 2;
}

.dynamic-popup-close.glassBtn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: 9999px;
  box-shadow: inset 2px 2px 0 -2px rgba(255, 255, 255, 0.7), inset 0 0 3px 1px rgba(255, 255, 255, 0.7);
  background-color: rgb(255 255 255 / 10%);
}

.dynamic-popup-close.glassBtn::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: 9999px;
  backdrop-filter: blur(0);
  filter: url(#dynamic-popup-btn-glass);
  overflow: hidden;
  isolation: isolate;
}

.dynamic-popup-close.glassBtn svg {
  width: 100%;
  height: 100%;
  stroke: #fff;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .dynamic-popup-overlay {
    padding: 16px;
  }

  .dynamic-popup-card {
    width: min(100%, 360px);
    border-radius: 26px;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.12);
  }

  .dynamic-popup-card::before {
    box-shadow:
      inset 2px 2px 0 -2px rgba(255, 255, 255, 0.82),
      inset 0 0 3px 1px rgba(255, 255, 255, 0.78),
      0 18px 40px rgba(0, 0, 0, 0.2);
  }

  .dynamic-popup-card::after {
    backdrop-filter: blur(10px) saturate(135%);
    -webkit-backdrop-filter: blur(10px) saturate(135%);
  }

  .dynamic-popup-card__inner,
  .dynamic-popup-card__inner::after {
    border-radius: 20px;
  }

  .dynamic-popup-card__cover {
    height: 380px;
  }

  .dynamic-popup-card__header {
    font-size: 1.38rem;
  }

  .dynamic-popup-card__body {
    padding: 0.95rem 1rem 1.1rem;
  }

  .dynamic-popup-card__inner::after {
    backdrop-filter: blur(120px) saturate(140%);
    -webkit-backdrop-filter: blur(120px) saturate(140%);
  }

  .dynamic-popup-close.glassBtn {
    width: 50px;
    height: 50px;
    padding: 13px;
  }

}
  .home-sections-stack {
    width: 100%;
    max-width: none;
    margin: 0;
  }
