:root {
  --store-teal: #123f42;
  --store-teal-deep: #092c2e;
  --store-coral: #ff6c51;
  --store-sun: #f4be58;
  --store-mist: #e7f1ec;
  --store-paper: #fffaf2;
}

body {
  overflow-x: hidden;
  overscroll-behavior-y: none;
  -webkit-font-smoothing: antialiased;
}

#app {
  min-height: 70vh;
}

img {
  max-width: 100%;
}

.site-footer {
  min-height: 320px;
  contain: layout paint;
}

.notification-button,
.install-app-button,
.bag-button {
  position: relative;
}

.notification-button .badge,
.bag-button .badge {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 18px;
  padding: 3px 5px;
  border: 2px solid var(--paper, #fffaf1);
  border-radius: 999px;
  color: #fff;
  background: var(--store-coral);
  font-size: 10px;
  line-height: 1;
  text-align: center;
}

.cart-logo {
  display: inline-block;
  margin-right: 4px;
  font-size: 15px;
  line-height: 1;
}

.drawer-notification-link {
  margin-top: 14px;
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(15, 42, 44, .14);
  font-weight: 900;
}

.topbar {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 5vw, 70px);
  min-height: 34px;
}

.site-footer button {
  padding: 0;
  border: 0;
  color: inherit;
  background: none;
  text-align: left;
}

.storefront-home {
  background: var(--store-paper);
}

.storefront-home .hero {
  position: relative;
  min-height: min(820px, calc(100svh - 106px));
  padding: clamp(32px, 7vw, 88px);
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: var(--store-teal-deep);
  contain: layout paint;
}

.hero-image-aerial {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  max-width: none;
  max-height: none;
  display: block;
  pointer-events: none;
  transform: translateZ(0);
  overflow-anchor: none;
}

.hero-wash {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 23, 25, .9) 0%, rgba(5, 23, 25, .48) 48%, rgba(5, 23, 25, .16) 100%),
    linear-gradient(0deg, rgba(5, 23, 25, .65), transparent 50%);
}

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

.hero-tag,
.eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 900;
}

.hero-copy h1,
.section-heading h2,
.gender-copy h2,
.season-content h2,
.winter-copy h2,
.home-about-copy h2,
.community-strip h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -.055em;
}

.hero-copy h1 {
  max-width: 780px;
  font-size: clamp(58px, 10vw, 132px);
  line-height: .82;
}

.hero-copy h1 em,
.season-content h2 em,
.winter-copy h2 em,
.home-about-copy h2 em {
  font-weight: 400;
}

.hero-subtitle {
  max-width: 580px;
  margin: 24px 0 0;
  font-size: clamp(16px, 1.8vw, 21px);
  line-height: 1.6;
  color: rgba(255, 255, 255, .84);
}

.button {
  min-height: 48px;
  padding: 13px 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 900;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-light {
  background: #fff;
  color: #102a2c;
}

.button-dark {
  background: #102a2c;
  color: #fff;
}

.button-glass {
  color: #fff;
  border-color: rgba(255, 255, 255, .4);
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(12px);
}

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

.hero-side-note {
  position: absolute;
  top: 42px;
  right: clamp(24px, 6vw, 88px);
  padding: 15px 17px;
  display: flex;
  gap: 12px;
  border-left: 1px solid rgba(255, 255, 255, .48);
  color: rgba(255, 255, 255, .8);
  font-size: 13px;
  line-height: 1.45;
}

.hero-side-note span {
  font-weight: 900;
  color: var(--store-sun);
}

.hero-side-note p,
.hero-scroll {
  margin: 0;
}

.hero-scroll {
  position: absolute;
  right: clamp(24px, 6vw, 88px);
  bottom: 42px;
  writing-mode: vertical-rl;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 900;
}

.marquee {
  overflow: hidden;
  background: var(--store-coral);
  color: #1e1611;
}

.marquee > div {
  width: max-content;
  padding: 13px 0;
  display: flex;
  gap: 24px;
  align-items: center;
  animation: rivayatMarquee 28s linear infinite;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@keyframes rivayatMarquee {
  to { transform: translateX(-50%); }
}

.storefront-home .section {
  padding: clamp(72px, 10vw, 132px) max(22px, calc((100vw - 1240px) / 2));
}

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

.section-heading h2 {
  font-size: clamp(44px, 7vw, 82px);
  line-height: .94;
}

.underlined {
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-weight: 800;
}

.product-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 31vw);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding: 2px 2px 18px;
}

.product-card {
  min-width: 0;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid rgba(15, 42, 44, .1);
  border-radius: 22px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 16px 50px rgba(15, 42, 44, .07);
  content-visibility: auto;
  contain-intrinsic-size: 480px 680px;
}

.product-image-wrap {
  position: relative;
  min-height: 360px;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--product-bg, #eef0eb);
}

.product-image-wrap .product-img,
.mini-product-image .product-img,
.winter-picks .product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .35s ease;
}

.product-card:hover .product-image-wrap .product-img {
  transform: scale(1.035);
}

.product-badge,
.image-cta {
  position: absolute;
  z-index: 2;
  padding: 8px 11px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.product-badge {
  top: 14px;
  left: 14px;
  color: #fff;
  background: rgba(9, 44, 46, .86);
  backdrop-filter: blur(10px);
}

.image-cta {
  right: 14px;
  bottom: 14px;
  background: rgba(255, 255, 255, .88);
  color: #102a2c;
}

.product-info {
  padding: 18px;
}

.product-kicker,
.product-color,
.product-rating,
.product-price {
  margin: 0;
}

.product-kicker,
.product-color,
.product-rating {
  color: #6b7470;
  font-size: 12px;
}

.product-title {
  margin: 5px 0 3px;
  display: block;
  min-height: 46px;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 900;
}

.product-rating {
  margin-top: 7px;
}

.product-bottom {
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.product-price {
  font-weight: 900;
}

.product-price s {
  color: #8f9692;
  font-size: 12px;
  font-weight: 600;
}

.product-price span {
  color: #237252;
  font-size: 12px;
}

.round-add {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
  background: var(--store-teal-deep);
  color: #fff;
  font-size: 22px;
}

.product-details-link {
  margin-top: 13px;
  display: block;
  color: var(--store-teal);
  font-size: 12px;
  font-weight: 900;
}

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

.gender-card {
  position: relative;
  min-height: min(760px, 78vw);
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  contain: layout paint;
}

.gender-card > img {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
  max-height: none;
  display: block;
  pointer-events: none;
  transform: translateZ(0);
  overflow-anchor: none;
}

.gender-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(0deg, rgba(7, 22, 24, .82), rgba(7, 22, 24, .08) 70%);
}

.gender-overlay-teal {
  background: linear-gradient(0deg, rgba(8, 52, 54, .82), rgba(8, 52, 54, .06) 70%);
}

.gender-copy {
  position: absolute;
  left: clamp(22px, 5vw, 64px);
  right: clamp(22px, 5vw, 64px);
  bottom: clamp(24px, 6vw, 72px);
}

.gender-copy h2 {
  margin-bottom: 22px;
  font-size: clamp(64px, 10vw, 124px);
  line-height: .8;
}

.gender-subcategories {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gender-subcategories a {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 999px;
  background: rgba(0, 0, 0, .18);
  font-size: 12px;
  font-weight: 800;
}

.season-story {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  min-height: 720px;
  background: var(--store-mist);
}

.season-visual {
  position: relative;
  overflow: hidden;
  contain: layout paint;
}

.season-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-width: none;
  max-height: none;
  transform: translateZ(0);
}

.vertical-label {
  position: absolute;
  left: 18px;
  bottom: 20px;
  writing-mode: vertical-rl;
  color: #fff;
  font-weight: 900;
  letter-spacing: .14em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .4);
}

.season-content {
  padding: clamp(36px, 7vw, 92px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--store-teal-deep);
}

.season-content h2,
.winter-copy h2,
.home-about-copy h2 {
  font-size: clamp(50px, 7vw, 94px);
  line-height: .9;
}

.season-intro {
  max-width: 540px;
  font-size: 18px;
  line-height: 1.7;
}

.mini-product-row {
  margin: 24px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.mini-product {
  min-width: 0;
  display: grid;
  gap: 7px;
  font-size: 11px;
}

.mini-product-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 13px;
  background: rgba(255, 255, 255, .7);
}

.winter-story {
  position: relative;
  min-height: 720px;
  padding: clamp(42px, 8vw, 110px);
  display: grid;
  grid-template-columns: 1fr 340px;
  align-items: end;
  gap: 50px;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: #0b1718;
  contain: layout paint;
}

.winter-landscape-frame,
.winter-background,
.winter-overlay {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
}

.winter-background {
  object-fit: cover;
  max-width: none;
  max-height: none;
  display: block;
  pointer-events: none;
  transform: translateZ(0);
  overflow-anchor: none;
}

.winter-overlay {
  z-index: -2;
  background: linear-gradient(90deg, rgba(4, 16, 17, .92), rgba(4, 16, 17, .55) 58%, rgba(4, 16, 17, .28));
}

.winter-copy {
  max-width: 680px;
}

.winter-copy p:not(.eyebrow) {
  max-width: 520px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .78);
}

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

.winter-picks a {
  min-width: 0;
  font-size: 11px;
  font-weight: 800;
}

.winter-picks .product-img,
.winter-picks .pants-art {
  aspect-ratio: 4 / 5;
  margin-bottom: 7px;
  border-radius: 14px;
  overflow: hidden;
}

.catalogue {
  background: #f6efe3;
}

.filter-row {
  margin: 0 0 20px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-row a {
  flex: 0 0 auto;
  padding: 9px 13px;
  border: 1px solid rgba(15, 42, 44, .16);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.filter-row a.active {
  color: #fff;
  background: var(--store-teal-deep);
}

.catalogue-meta {
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #66736e;
  font-size: 12px;
}

.catalogue-meta p {
  margin: 0;
}

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

.home-about {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  min-height: 680px;
  background: var(--store-sun);
  color: #1d291f;
}

.home-about-image {
  min-height: 520px;
  overflow: hidden;
  contain: layout paint;
}

.home-about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-width: none;
  max-height: none;
  transform: translateZ(0);
}

.notification-panel .section-head {
  align-items: start;
}

.notification-list {
  display: grid;
  gap: 10px;
}

.notification-item {
  padding: 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  border: 1px solid rgba(15, 42, 44, .13);
  border-radius: 16px;
  background: rgba(255, 255, 255, .58);
}

.notification-item.unread {
  border-color: var(--store-coral);
  box-shadow: 0 8px 26px rgba(255, 108, 81, .12);
}

.notification-item h3,
.notification-item p {
  margin: 5px 0;
}

.notification-kind {
  color: var(--store-teal);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.arcade-panel {
  margin-top: 24px;
  padding: clamp(22px, 4vw, 44px);
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #092c2e, #176467 60%, #ff6c51);
}

.arcade-panel .section-head {
  align-items: start;
}

.arcade-panel .card {
  color: var(--ink, #111);
}

.arcade-countdown {
  min-width: 190px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 16px;
  text-align: center;
}

.arcade-countdown strong,
.arcade-countdown span {
  display: block;
}

.arcade-countdown strong {
  font: 500 48px/1 Georgia, serif;
  color: var(--store-sun);
}

.arcade-countdown span {
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.35;
}

.memory-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.memory-tile {
  min-height: 42px;
  border: 1px solid rgba(15, 42, 44, .18);
  border-radius: 12px;
  color: var(--store-teal-deep);
  background: var(--store-mist);
  font-size: 20px;
  font-weight: 900;
}

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

.home-about-copy > p:not(.eyebrow) {
  max-width: 600px;
  font-size: 18px;
  line-height: 1.7;
}

.home-about-people {
  margin: 28px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.home-about-people div {
  padding: 15px;
  border-top: 1px solid rgba(15, 42, 44, .26);
}

.home-about-people span,
.home-about-people strong {
  display: block;
}

.home-about-people span {
  margin-bottom: 5px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.home-socials {
  margin-top: 22px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-weight: 900;
}

.community-strip {
  padding: clamp(56px, 8vw, 96px) max(22px, calc((100vw - 1240px) / 2));
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 50px;
  color: #fff;
  background: var(--store-teal-deep);
}

.community-strip h2 {
  max-width: 720px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: .92;
}

.community-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.community-stats div {
  padding: 17px;
  border-top: 1px solid rgba(255, 255, 255, .24);
}

.community-stats strong,
.community-stats span {
  display: block;
}

.community-stats strong {
  font: 500 38px/1 Georgia, serif;
}

.community-stats span {
  margin-top: 7px;
  color: rgba(255, 255, 255, .7);
  font-size: 11px;
}

.team-photo,
.team-photo-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  object-fit: cover;
  background: linear-gradient(135deg, #f4be58, #ff6c51);
}

.team-photo-placeholder {
  display: grid;
  place-items: center;
  color: #102a2c;
  font: 500 54px/1 Georgia, serif;
}

.credit-card {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #092c2e, #176467);
}

.credit-card::after {
  content: "R";
  position: absolute;
  right: -18px;
  bottom: -42px;
  color: rgba(255, 255, 255, .08);
  font: 500 190px/1 Georgia, serif;
}

.credit-balance {
  position: relative;
  z-index: 1;
  font: 500 clamp(52px, 9vw, 92px)/1 Georgia, serif;
}

.star-picker {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 5px;
}

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

.star-picker label {
  display: block;
  color: #cbc4b7;
  font-size: 34px;
  cursor: pointer;
}

.star-picker input:checked ~ label,
.star-picker label:hover,
.star-picker label:hover ~ label {
  color: #e0a72d;
}

.offline-screen,
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 300;
  padding: 22px;
  display: grid;
  place-items: center;
  background: rgba(4, 20, 21, .78);
  backdrop-filter: blur(18px);
}

.offline-screen[hidden],
.modal-backdrop[hidden] {
  display: none;
}

.offline-card,
.report-card {
  width: min(100%, 520px);
  padding: clamp(26px, 6vw, 46px);
  border-radius: 28px;
  background: var(--ivory);
  box-shadow: 0 30px 100px rgba(0, 0, 0, .3);
}

.offline-icon {
  width: 68px;
  height: 68px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: #fff;
  background: var(--store-teal-deep);
  font-size: 30px;
}

.offline-card h2,
.report-card h2,
.state-screen h1 {
  margin: 0 0 10px;
  font: 500 clamp(38px, 8vw, 64px)/.95 Georgia, serif;
  letter-spacing: -.04em;
}

.state-screen {
  width: min(100%, 760px);
  min-height: 430px;
  margin: 0 auto;
  padding: clamp(34px, 7vw, 72px);
  display: grid;
  align-content: center;
  justify-items: start;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, .72);
}

.state-screen .error-code {
  margin-bottom: 14px;
  color: var(--store-coral);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.state-actions {
  margin-top: 24px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.bug-list {
  display: grid;
  gap: 12px;
}

.bug-item {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .7);
}

.bug-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
}

.admin-aside {
  max-height: calc(100vh - 116px);
  overflow-y: auto;
}

[data-theme="dark"] .storefront-home,
[data-theme="dark"] .catalogue,
[data-theme="dark"] .product-card,
[data-theme="dark"] .offline-card,
[data-theme="dark"] .report-card,
[data-theme="dark"] .state-screen,
[data-theme="dark"] .bug-item {
  background: #101717;
}

[data-theme="dark"] .season-story {
  background: #193437;
}

@media (max-width: 980px) {
  .topbar span:nth-child(2) { display: none; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .season-story,
  .home-about { grid-template-columns: 1fr; }
  .season-visual,
  .home-about-image { min-height: 580px; }
  .winter-story { grid-template-columns: 1fr; }
  .winter-picks { width: min(100%, 420px); }
  .community-strip { grid-template-columns: 1fr; }
  .detail-gallery { position: static; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 70px; }
  .topbar { min-height: 30px; font-size: 9px; }
  .topbar span:nth-child(3) { display: none; }
  .header .nav { height: 64px; }
  .notification-button,
  .install-app-button { display: inline-grid; }
  .notification-button { width: 38px; height: 38px; padding: 0; }
  .cart-logo { margin-right: 0; }
  .bag-button .label { display: none; }
  .brand > span:last-child,
  .wish-action,
  .account-button { display: none; }
  .storefront-home .hero {
    min-height: 74svh;
    padding: 28px 22px 52px;
    align-items: end;
  }
  .hero-image-aerial { object-position: center; }
  .storefront-home .hero,
  .gender-card,
  .season-visual,
  .winter-story,
  .home-about-image { overflow: hidden; }
  .hero-image-aerial,
  .gender-card > img,
  .winter-background { width: 100%; height: 100%; inset: 0; }
  .hero-wash { background: linear-gradient(0deg, rgba(5, 23, 25, .9), rgba(5, 23, 25, .18) 75%); }
  .hero-side-note,
  .hero-scroll { display: none; }
  .hero-copy h1 { font-size: clamp(54px, 18vw, 88px); }
  .hero-subtitle { font-size: 15px; }
  .hero-actions .button { flex: 1 1 150px; }
  .storefront-home .section { padding: 70px 16px; }
  .section-heading { align-items: start; }
  .section-heading .underlined { display: none; }
  .product-rail { grid-auto-columns: 78vw; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-image-wrap { min-height: 0; }
  .product-info { padding: 13px; }
  .product-title { min-height: 54px; font-size: 14px; }
  .product-kicker,
  .product-color,
  .product-rating,
  .product-details-link { font-size: 10px; }
  .product-price { font-size: 13px; }
  .product-price s,
  .product-price span { display: inline-block; font-size: 10px; }
  .round-add { width: 38px; height: 38px; }
  .image-cta { display: none; }
  .gender-grid { grid-template-columns: 1fr; }
  .gender-card { min-height: 68svh; }
  .season-visual,
  .home-about-image { min-height: 64svh; }
  .season-content,
  .home-about-copy { padding: 56px 22px; }
  .mini-product-row { margin-inline: -6px; }
  .winter-story { min-height: 760px; max-height: none; padding: 60px 22px; }
  .winter-picks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-about-people,
  .community-stats { grid-template-columns: 1fr; }
  .catalogue-meta { display: block; }
  .catalogue-meta p + p { margin-top: 7px; }
  .offline-screen,
  .modal-backdrop { padding: 12px; }
  .offline-card,
  .report-card { border-radius: 22px; }
  .notification-item { display: grid; gap: 12px; }
  .arcade-panel .section-head { display: grid; }
  .arcade-countdown { width: 100%; }
}

@media (max-width: 390px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-title { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Compact shopping UI for phones. Desktop keeps the editorial layout above. */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 720px) {
  :root {
    --mobile-gutter: 12px;
    --mobile-radius: 14px;
  }

  html {
    scroll-padding-top: 62px;
  }

  body {
    font-size: 14px;
    padding-bottom: 64px;
  }

  .topbar {
    min-height: 26px;
    padding: 6px 10px;
    gap: 0;
    font-size: 8px;
    letter-spacing: .03em;
    white-space: nowrap;
    overflow: hidden;
  }

  .topbar span:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header {
    z-index: 60;
  }

  .header .nav {
    width: 100%;
    height: 56px;
    padding-inline: var(--mobile-gutter);
    gap: 5px;
  }

  .brand {
    min-width: 0;
    gap: 7px;
    letter-spacing: .14em;
    font-size: 12px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .brand small,
  .brand > span:last-child small {
    display: none;
  }

  .nav-actions {
    min-width: 0;
    margin-left: auto;
    gap: 4px;
  }

  .theme-toggle,
  .icon-btn,
  .bag-button,
  .menu-btn {
    min-width: 34px;
    width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    border-radius: 10px;
    font-size: 13px;
  }

  .theme-toggle .theme-track {
    transform: scale(.72);
  }

  .notification-button .badge,
  .bag-button .badge {
    top: -6px;
    right: -6px;
    min-width: 16px;
    height: 16px;
    padding: 2px 4px;
    font-size: 9px;
  }

  .bag-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .bag-button .cart-logo {
    margin: 0;
    font-size: 15px;
  }

  .bag-button #cartCount {
    margin-left: 2px;
    font-size: 10px;
    font-weight: 900;
  }

  .storefront-home .hero {
    min-height: min(560px, 64svh);
    padding: 22px var(--mobile-gutter) 30px;
  }

  .hero-image-aerial {
    object-position: 58% center;
    transform: none;
  }

  .hero-copy {
    max-width: 88%;
  }

  .hero-tag,
  .eyebrow {
    margin-bottom: 8px;
    font-size: 9px;
    letter-spacing: .11em;
  }

  .hero-copy h1 {
    max-width: 270px;
    font-size: clamp(48px, 17vw, 68px);
    line-height: .84;
  }

  .hero-subtitle {
    max-width: 300px;
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.45;
  }

  .hero-actions {
    gap: 7px;
    margin-top: 17px;
  }

  .button {
    min-height: 38px;
    padding: 9px 13px;
    gap: 6px;
    font-size: 12px;
  }

  .hero-actions .button {
    flex: 0 1 auto;
  }

  .marquee > div {
    padding: 9px 0;
    gap: 15px;
    font-size: 9px;
  }

  .storefront-home .section {
    padding: 38px var(--mobile-gutter);
  }

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

  .section-heading h2 {
    font-size: clamp(30px, 9vw, 42px);
    line-height: .96;
  }

  .product-rail {
    grid-auto-columns: minmax(168px, 62vw);
    gap: 8px;
    padding-bottom: 8px;
  }

  .product-card {
    border-radius: var(--mobile-radius);
    box-shadow: 0 8px 24px rgba(15, 42, 44, .08);
  }

  .product-image-wrap {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .product-badge {
    top: 8px;
    left: 8px;
    padding: 5px 7px;
    font-size: 8px;
  }

  .product-info {
    padding: 9px;
  }

  .product-kicker,
  .product-color,
  .product-rating {
    font-size: 9px;
    line-height: 1.25;
  }

  .product-title {
    min-height: 34px;
    margin: 4px 0 2px;
    font-size: 12px;
    line-height: 1.28;
  }

  .product-bottom {
    margin-top: 8px;
    gap: 5px;
  }

  .product-price {
    font-size: 11px;
    line-height: 1.2;
  }

  .product-price s,
  .product-price span {
    font-size: 8px;
  }

  .round-add {
    width: 32px;
    height: 32px;
    font-size: 17px;
  }

  .product-details-link {
    margin-top: 8px;
    font-size: 9px;
  }

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

  .gender-card {
    min-height: 330px;
  }

  .gender-copy {
    left: 12px;
    right: 12px;
    bottom: 15px;
  }

  .gender-copy h2 {
    margin-bottom: 12px;
    font-size: clamp(38px, 13vw, 58px);
  }

  .gender-copy .button {
    min-height: 34px;
    padding: 8px 10px;
    font-size: 10px;
  }

  .gender-subcategories {
    margin-top: 8px;
    gap: 4px;
  }

  .gender-subcategories a {
    padding: 5px 7px;
    font-size: 8px;
  }

  .season-story {
    min-height: 0;
  }

  .season-visual,
  .home-about-image {
    min-height: 280px;
    height: 280px;
  }

  .season-content,
  .home-about-copy {
    padding: 34px var(--mobile-gutter);
  }

  .season-content h2,
  .winter-copy h2,
  .home-about-copy h2 {
    font-size: clamp(38px, 12vw, 56px);
  }

  .season-intro,
  .home-about-copy > p:not(.eyebrow),
  .winter-copy p:not(.eyebrow) {
    font-size: 13px;
    line-height: 1.5;
  }

  .mini-product-row {
    margin: 16px 0;
    gap: 7px;
  }

  .mini-product {
    font-size: 9px;
  }

  .mini-product-image {
    border-radius: 9px;
  }

  .winter-story {
    min-height: 540px;
    padding: 36px var(--mobile-gutter) 30px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .winter-picks {
    width: min(100%, 260px);
    gap: 7px;
  }

  .winter-picks a {
    font-size: 9px;
  }

  .winter-picks .product-img,
  .winter-picks .pants-art {
    border-radius: 9px;
  }

  .catalogue-meta {
    margin-bottom: 12px;
    font-size: 9px;
  }

  .filter-row {
    margin-bottom: 13px;
    gap: 5px;
  }

  .filter-row a {
    padding: 7px 9px;
    font-size: 9px;
  }

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

  .home-about-people {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin: 17px 0;
  }

  .home-about-people div {
    padding: 9px;
    font-size: 10px;
  }

  .home-about-people span {
    font-size: 8px;
  }

  .home-socials {
    gap: 12px;
    font-size: 11px;
  }

  .community-strip {
    padding: 38px var(--mobile-gutter);
    gap: 22px;
  }

  .community-strip h2 {
    font-size: clamp(34px, 10vw, 50px);
  }

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

  .community-stats div {
    padding: 10px 5px;
  }

  .community-stats strong {
    font-size: 26px;
  }

  .community-stats span {
    font-size: 8px;
  }

  .shop-layout,
  .cart-layout,
  .checkout-layout,
  .dashboard-layout,
  .admin-shell {
    gap: 13px;
  }

  .section {
    padding: 36px 0;
  }

  .section-head h2 {
    font-size: 32px;
  }

  .card,
  .card.pad,
  .state-screen {
    border-radius: var(--mobile-radius);
  }

  .card.pad {
    padding: 14px;
  }

  .mini-filter {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  .mini-filter .input:first-child {
    grid-column: 1 / -1;
    max-width: none;
  }

  .input,
  .select,
  .textarea {
    padding: 10px 11px;
    border-radius: 11px;
    font-size: 13px;
  }

  .btn {
    min-height: 38px;
    padding: 9px 12px;
    font-size: 12px;
  }

  .btn.small {
    min-height: 32px;
    padding: 7px 9px;
    font-size: 10px;
  }

  .detail-media {
    min-height: min(420px, 90vw);
    border-radius: var(--mobile-radius);
  }

  .detail-content h1 {
    font-size: 38px;
  }

  .cart-item {
    grid-template-columns: 62px 1fr;
    gap: 10px;
    padding: 11px 0;
  }

  .cart-thumb {
    width: 62px;
    height: 78px;
    border-radius: 11px;
  }

  .summary-box {
    padding: 14px;
  }

  .side-nav,
  .admin-aside {
    padding: 9px;
    border-radius: var(--mobile-radius);
  }

  .side-nav a,
  .side-nav button,
  .admin-aside a,
  .admin-aside button {
    padding: 10px;
    border-radius: 10px;
    font-size: 12px;
  }

  .table-wrap {
    border-radius: var(--mobile-radius);
  }

  .notification-item {
    padding: 12px;
    border-radius: 11px;
  }

  .site-footer {
    min-height: 0;
    padding-bottom: 20px;
  }

  .mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    min-height: 58px;
    padding: 5px max(8px, env(safe-area-inset-left)) calc(5px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2px;
    border-top: 1px solid rgba(15, 42, 44, .14);
    background: rgba(255, 250, 242, .96);
    box-shadow: 0 -8px 24px rgba(15, 42, 44, .1);
    backdrop-filter: blur(18px);
  }

  .mobile-bottom-nav a {
    position: relative;
    min-height: 46px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 2px;
    color: #66736e;
    font-weight: 900;
  }

  .mobile-bottom-nav a:hover,
  .mobile-bottom-nav a:focus-visible {
    color: var(--store-teal-deep);
  }

  .mobile-bottom-nav a > span {
    font-size: 17px;
    line-height: 1;
  }

  .mobile-bottom-nav small {
    font-size: 9px;
    line-height: 1;
  }

  .mobile-bottom-badge {
    position: absolute;
    top: 1px;
    right: calc(50% - 19px);
    min-width: 16px;
    height: 16px;
    padding: 2px 4px;
    border-radius: 99px;
    color: #fff;
    background: var(--store-coral);
    border: 2px solid var(--store-paper);
    font-size: 8px;
    line-height: 1;
    text-align: center;
  }

  [data-theme="dark"] .mobile-bottom-nav {
    border-color: rgba(255, 255, 255, .14);
    background: rgba(9, 12, 12, .96);
  }

  [data-theme="dark"] .mobile-bottom-nav a {
    color: #a7b3af;
  }

  [data-theme="dark"] .mobile-bottom-nav a:hover,
  [data-theme="dark"] .mobile-bottom-nav a:focus-visible {
    color: #fff;
  }
}

@media (max-width: 360px) {
  .header .nav {
    padding-inline: 8px;
  }

  .brand {
    font-size: 11px;
  }

  .theme-toggle,
  .icon-btn,
  .bag-button,
  .menu-btn {
    min-width: 32px;
    width: 32px;
    height: 32px;
  }

  .product-grid {
    gap: 6px;
  }

  .product-info {
    padding: 8px;
  }

  .product-title {
    font-size: 11px;
  }
}

/* Style Lab: responsive by design, with bounded media so phone images never
   become page-sized or move with the document while the user scrolls. */
.style-lab-page {
  background: linear-gradient(135deg, rgba(231, 241, 236, .72), rgba(255, 250, 242, .96));
}

.style-lab-heading {
  align-items: end;
}

.style-lab-heading h1 {
  max-width: 760px;
  margin: 14px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 8vw, 94px);
  font-weight: 500;
  letter-spacing: -.06em;
  line-height: .88;
}

.style-lab-heading h1 em,
.style-lab-teaser h2 em {
  font-weight: 400;
}

.style-lab-heading p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.style-lab-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: start;
}

.style-upload-card,
.style-result {
  min-width: 0;
  border: 1px solid rgba(15, 63, 66, .12);
  box-shadow: 0 18px 50px rgba(15, 63, 66, .08);
}

.style-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.style-step > span,
.style-look-number {
  color: var(--store-coral);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}

.style-step h2 {
  margin: 0 0 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 500;
}

.style-step p {
  margin: 0;
  font-size: 12px;
}

.style-file-drop {
  min-height: 158px;
  padding: 24px 18px;
  display: grid;
  place-items: center;
  gap: 6px;
  border: 1px dashed rgba(15, 63, 66, .34);
  border-radius: 18px;
  background: rgba(255, 255, 255, .6);
  color: var(--store-teal-deep);
  text-align: center;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.style-file-drop:hover,
.style-file-drop:focus-within {
  border-color: var(--store-coral);
  background: rgba(255, 255, 255, .9);
  transform: translateY(-1px);
}

.style-file-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.style-file-drop strong {
  font-size: 14px;
}

.style-file-drop small {
  color: var(--muted);
  font-size: 11px;
}

.style-upload-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--store-coral);
  font-size: 25px;
  line-height: 1;
}

.style-preview-grid {
  min-height: 86px;
  margin: 14px 0 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.style-preview-grid > .error {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 11px;
}

.style-preview-empty {
  grid-column: 1 / -1;
  align-self: center;
  margin: 0;
  font-size: 12px;
  text-align: center;
}

.style-preview {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(15, 63, 66, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .65);
}

.style-preview img {
  width: 100%;
  height: 120px;
  display: block;
  object-fit: contain;
  object-position: center;
  background: #eef0eb;
}

.style-preview figcaption {
  min-height: 31px;
  padding: 6px 7px;
  overflow: hidden;
  font-size: 9px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.style-preview-warning {
  display: block;
  color: var(--danger, #9b1c1c);
  font-weight: 900;
}

.style-preferences {
  margin-bottom: 16px;
}

.style-privacy-note,
.style-care {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.style-result {
  position: sticky;
  top: 86px;
}

.style-result-empty,
.style-loading {
  min-height: 410px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 10px;
}

.style-result-empty h2,
.style-loading h2 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: .98;
}

.style-result-empty p,
.style-loading p {
  max-width: 520px;
  margin: 0;
  line-height: 1.6;
}

.style-loading .startup-bar {
  width: min(280px, 100%);
  margin-top: 10px;
}

.style-result-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.style-result-top h2 {
  max-width: 600px;
  margin: 10px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: .98;
}

.style-ai-badge {
  flex: none;
  padding: 7px 9px;
  border: 1px solid rgba(15, 63, 66, .14);
  border-radius: 999px;
  color: var(--store-teal-deep);
  background: var(--store-mist);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.style-insight-grid {
  margin: 24px 0;
  padding: 16px 0;
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  gap: 18px;
  border-top: 1px solid rgba(15, 63, 66, .12);
  border-bottom: 1px solid rgba(15, 63, 66, .12);
}

.style-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.style-tag {
  padding: 7px 9px;
  border-radius: 999px;
  color: var(--store-teal-deep);
  background: var(--store-mist);
  font-size: 11px;
  font-weight: 800;
}

.style-fit-list,
.style-look-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.style-looks > .eyebrow {
  margin-bottom: 10px;
}

.style-look-card {
  padding: 15px 0;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  border-top: 1px solid rgba(15, 63, 66, .1);
}

.style-look-card h3 {
  margin: 0 0 5px;
  font-size: 18px;
}

.style-look-card p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.style-match-row {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.style-match-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(15, 63, 66, .12);
  border-radius: 12px;
  background: rgba(255, 255, 255, .7);
}

.style-match-card > span,
.style-match-card > strong {
  display: block;
  padding-inline: 8px;
}

.style-match-card > span {
  padding-top: 7px;
  overflow: hidden;
  font-size: 10px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.style-match-card > strong {
  padding-top: 3px;
  padding-bottom: 8px;
  font-size: 11px;
}

.style-match-image {
  width: 100% !important;
  height: 110px !important;
  display: block;
  object-fit: contain !important;
  background: #eef0eb;
}

.style-lab-teaser {
  margin-inline: auto;
  padding: clamp(28px, 5vw, 62px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, .9fr);
  gap: 22px;
  border-radius: 30px;
  color: #fff;
  background: linear-gradient(135deg, var(--store-teal-deep), #176164);
  overflow: hidden;
}

.style-lab-teaser h2 {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 500;
  letter-spacing: -.06em;
  line-height: .9;
}

.style-teaser-copy > p:not(.eyebrow):not(.style-privacy-note) {
  max-width: 480px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, .78);
  line-height: 1.6;
}

.style-lab-teaser .style-privacy-note {
  color: rgba(255, 255, 255, .58);
}

.style-teaser-pills {
  min-height: 210px;
  padding: 18px;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 24px;
  background: rgba(255, 255, 255, .08);
}

.style-teaser-pills span {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 999px;
  color: rgba(255, 255, 255, .86);
  font-size: 11px;
  font-weight: 800;
}

[data-theme="dark"] .style-lab-page {
  background: linear-gradient(135deg, #0d1b1b, #101717);
}

[data-theme="dark"] .style-file-drop,
[data-theme="dark"] .style-preview,
[data-theme="dark"] .style-match-card {
  background: rgba(24, 28, 27, .88);
}

[data-theme="dark"] .style-file-drop,
[data-theme="dark"] .style-upload-card,
[data-theme="dark"] .style-result {
  border-color: rgba(255, 255, 255, .14);
}

@media (max-width: 720px) {
  .style-lab-heading h1 {
    font-size: clamp(44px, 14vw, 68px);
  }

  .style-lab-heading p {
    font-size: 14px;
  }

  .style-lab-layout,
  .style-lab-teaser {
    grid-template-columns: 1fr;
  }

  .style-result {
    position: static;
  }

  .style-result-empty,
  .style-loading {
    min-height: 270px;
  }

  .style-lab-teaser {
    margin-inline: var(--mobile-gutter, 12px);
    padding: 26px 18px;
    border-radius: 22px;
  }

  .style-lab-teaser h2 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .style-teaser-pills {
    min-height: 126px;
  }

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

/* React interaction island: search suggestions and cart count update in place
   while the legacy route renderer remains the stable page shell. */
#reactSearchRoot {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
}

.react-search-shell {
  position: relative;
  z-index: 65;
  width: 42px;
  height: 42px;
}

.react-search-form {
  position: relative;
  width: 42px;
  height: 42px;
}

.react-search-form input {
  position: absolute;
  top: 0;
  right: 0;
  width: 42px;
  height: 42px;
  padding: 9px 35px 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: 0;
  color: var(--ink);
  background: rgba(255, 255, 255, .72);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  transition: width .24s var(--ease), box-shadow .2s ease, background .2s ease;
}

.react-search-form input::placeholder {
  color: var(--muted);
}

.react-search-form input:focus {
  width: 220px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(15, 63, 66, .12);
}

.react-search-icon {
  position: absolute;
  top: 0;
  right: 13px;
  z-index: 1;
  width: 17px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--store-teal-deep);
  font-size: 22px;
  line-height: 1;
  pointer-events: none;
}

.react-search-popover {
  position: absolute;
  top: 48px;
  right: 0;
  width: min(360px, calc(100vw - 24px));
  max-height: min(65vh, 480px);
  overflow-y: auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 24px 60px rgba(15, 63, 66, .18);
}

.react-search-result {
  min-width: 0;
  padding: 8px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  border-radius: 12px;
}

.react-search-result:hover,
.react-search-result:focus-visible {
  background: var(--store-mist);
}

.react-search-thumb {
  width: 42px;
  height: 48px;
  display: block;
  border-radius: 9px;
  object-fit: contain;
  background: #eef0eb;
}

.react-search-initials {
  display: grid;
  place-items: center;
  color: var(--store-teal-deep);
  font-family: Georgia, serif;
  font-size: 18px;
}

.react-search-result-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.react-search-result-copy strong,
.react-search-result-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.react-search-result-copy strong {
  font-size: 11px;
}

.react-search-result-copy small,
.react-search-result b {
  color: var(--muted);
  font-size: 10px;
}

.react-search-status {
  margin: 9px 10px;
  color: var(--muted);
  font-size: 11px;
}

.react-search-all {
  width: 100%;
  margin-top: 4px;
  padding: 9px 10px;
  border: 0;
  border-top: 1px solid var(--line);
  color: var(--store-teal-deep);
  background: transparent;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.react-search-all:hover,
.react-search-all:focus-visible {
  color: var(--store-coral);
}

.react-cart-count {
  min-width: 18px;
  height: 18px;
  padding: 2px 5px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--store-coral);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

[data-theme="dark"] .react-search-form input,
[data-theme="dark"] .react-search-popover {
  background: #171a19;
  color: var(--ink);
}

[data-theme="dark"] .react-search-result:hover,
[data-theme="dark"] .react-search-result:focus-visible {
  background: rgba(255, 255, 255, .08);
}

@media (max-width: 720px) {
  .react-search-form input:focus {
    width: 190px;
  }

  .react-search-popover {
    right: -8px;
  }

  .react-search-result {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .react-search-result b {
    display: none;
  }

  .react-search-thumb {
    width: 38px;
    height: 44px;
  }
}

/* Visual system v2: supplied artwork stays byte-for-byte original; these
   rules only control display size, theme contrast and safe containment. */
.hero-image-dark {
  display: none;
}

[data-theme="dark"] .hero-image-light {
  display: none;
}

[data-theme="dark"] .hero-image-dark {
  display: block;
}

.section-heading-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.section-logo {
  width: clamp(62px, 9vw, 112px);
  height: clamp(62px, 9vw, 112px);
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 18px;
}

.goat-logo {
  padding: 8px;
  background: #f3eee2;
}

.section-intro {
  max-width: 560px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.section-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.goat-mode-section {
  background: #f1eadc;
}

.personalized-section {
  background: #fffaf2;
}

.gender-logo-wrap {
  position: absolute;
  z-index: 1;
  top: clamp(20px, 4vw, 56px);
  right: clamp(20px, 4vw, 56px);
  width: clamp(84px, 14vw, 180px);
  height: clamp(84px, 14vw, 180px);
  padding: 10px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 16px 46px rgba(0, 0, 0, .18);
  backdrop-filter: blur(10px);
}

.category-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.season-visual .season-logo,
.winter-landscape-frame .season-logo {
  position: absolute;
  z-index: 1;
  inset: auto 24px 24px auto;
  width: clamp(72px, 13vw, 170px);
  height: clamp(108px, 18vw, 230px);
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .22));
}

.winter-landscape-frame .winter-logo {
  inset: 24px 24px auto auto;
  width: clamp(100px, 16vw, 220px);
  height: clamp(74px, 11vw, 150px);
}

.nav-icon-logo {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  object-fit: contain;
}

.nav-action-logo {
  width: 17px;
  height: 24px;
  flex: 0 0 auto;
  object-fit: contain;
}

.wish-action,
.notification-button,
.bag-button,
.drawer-notification-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-preview-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hero-preview-pair img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
}

.profile-progress-card,
.search-admin-card {
  margin-bottom: 18px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(185, 148, 93, .36);
  border-radius: 22px;
  color: var(--ink);
  background: linear-gradient(135deg, rgba(244, 190, 88, .18), rgba(255, 255, 255, .7));
}

.profile-progress-card h3,
.profile-progress-card p,
.search-admin-card h2,
.search-admin-card p {
  margin-top: 0;
}

.profile-progress-card p:last-child,
.search-admin-card p:last-child {
  margin-bottom: 0;
}

.search-admin-card {
  margin-bottom: 0;
}

.search-admin-logo {
  width: 92px;
  height: 116px;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 18px;
}

.onboarding-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  padding: 18px;
  display: grid;
  place-items: center;
  background: rgba(4, 12, 12, .72);
  backdrop-filter: blur(14px);
}

.onboarding-dialog {
  position: relative;
  width: min(580px, 100%);
  max-height: min(720px, calc(100vh - 36px));
  overflow: auto;
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid rgba(185, 148, 93, .38);
  border-radius: 30px;
  color: var(--ink);
  background: var(--ivory);
  box-shadow: 0 30px 100px rgba(0, 0, 0, .35);
}

.onboarding-dialog h2 {
  margin: 0 0 12px;
  font: 500 clamp(34px, 6vw, 62px)/.95 Georgia, serif;
  letter-spacing: -.055em;
}

.onboarding-logo {
  width: 62px;
  height: 62px;
  margin-bottom: 18px;
  object-fit: contain;
  border-radius: 16px;
}

.onboarding-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  font-size: 24px;
}

.onboarding-actions,
.onboarding-steps {
  display: grid;
  gap: 10px;
}

.onboarding-actions {
  margin-top: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.onboarding-steps {
  margin: 22px 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.onboarding-steps a {
  padding: 14px;
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, .55);
}

.onboarding-steps a:hover {
  border-color: var(--store-coral);
  transform: translateY(-1px);
}

.onboarding-steps span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

[data-theme="dark"] body {
  background: #090c0c;
  color: #f5f1e8;
}

[data-theme="dark"] .card,
[data-theme="dark"] .glass,
[data-theme="dark"] .toolbar,
[data-theme="dark"] .filter-panel,
[data-theme="dark"] .empty,
[data-theme="dark"] .notice,
[data-theme="dark"] .table-wrap,
[data-theme="dark"] .bug-item,
[data-theme="dark"] .profile-progress-card,
[data-theme="dark"] .search-admin-card,
[data-theme="dark"] .onboarding-dialog,
[data-theme="dark"] .onboarding-steps a {
  border-color: rgba(255, 255, 255, .14);
  color: #f5f1e8;
  background: #151e1d;
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] label,
[data-theme="dark"] legend,
[data-theme="dark"] strong,
[data-theme="dark"] th,
[data-theme="dark"] td,
[data-theme="dark"] summary,
[data-theme="dark"] .section-intro {
  color: #f5f1e8;
}

[data-theme="dark"] .muted,
[data-theme="dark"] .profile-progress-card p,
[data-theme="dark"] .search-admin-card p,
[data-theme="dark"] .onboarding-steps span {
  color: #b9c0ba;
}

[data-theme="dark"] .input,
[data-theme="dark"] .select,
[data-theme="dark"] .textarea,
[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea {
  border-color: rgba(255, 255, 255, .2);
  color: #f5f1e8 !important;
  background: #0d1514 !important;
  caret-color: #f5f1e8;
}

[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder {
  color: #929d97;
}

[data-theme="dark"] option {
  color: #f5f1e8;
  background: #0d1514;
}

[data-theme="dark"] .btn.secondary,
[data-theme="dark"] .btn.ghost,
[data-theme="dark"] .side-nav a,
[data-theme="dark"] .side-nav button,
[data-theme="dark"] .onboarding-close {
  border-color: rgba(255, 255, 255, .16);
  color: #f5f1e8;
  background: #202a28;
}

[data-theme="dark"] .btn:not(.secondary):not(.ghost):not(.gold):not(.danger):not(.success) {
  color: #0b1718;
  background: #f4eee2;
}

[data-theme="dark"] .btn:not(.secondary):not(.ghost):not(.gold):not(.danger):not(.success):hover {
  color: #0b1718;
  background: #fffaf2;
}

[data-theme="dark"] .notice {
  border-color: rgba(244, 190, 88, .35);
  color: #f5e7c4;
  background: rgba(185, 148, 93, .16);
}

[data-theme="dark"] .pill {
  border-color: rgba(255, 255, 255, .18);
  color: #c7cec8;
  background: rgba(255, 255, 255, .08);
}

[data-theme="dark"] .button-dark {
  color: #0b1718;
  background: #f4eee2;
}

[data-theme="dark"] .goat-mode-section,
[data-theme="dark"] .personalized-section,
[data-theme="dark"] .catalogue,
[data-theme="dark"] .storefront-home {
  background: #0d1514;
}

[data-theme="dark"] .season-story {
  background: #162c2d;
}

[data-theme="dark"] .season-content {
  color: #f5f1e8;
}

[data-theme="dark"] .product-card {
  border-color: rgba(255, 255, 255, .13);
  background: #151e1d;
  box-shadow: 0 16px 50px rgba(0, 0, 0, .24);
}

[data-theme="dark"] .catalogue-meta,
[data-theme="dark"] .filter-row a {
  color: #b9c0ba;
}

[data-theme="dark"] .filter-row a {
  border-color: rgba(255, 255, 255, .22);
}

[data-theme="dark"] .filter-row a.active {
  color: #0b1718;
  background: #f4eee2;
}

[data-theme="dark"] .nav-icon-logo,
[data-theme="dark"] .nav-action-logo,
[data-theme="dark"] .drawer-notification-link .nav-icon-logo {
  filter: brightness(0) invert(1);
}

[data-theme="dark"] .search-admin-logo,
[data-theme="dark"] .onboarding-logo {
  background: #f2ecdf;
}

@media (max-width: 720px) {
  .section-heading-brand,
  .profile-progress-card,
  .search-admin-card {
    align-items: flex-start;
  }

  .section-heading-brand {
    gap: 12px;
  }

  .section-logo {
    width: 58px;
    height: 58px;
  }

  .section-links {
    margin-top: 16px;
  }

  .profile-progress-card,
  .search-admin-card {
    display: grid;
  }

  .search-admin-logo {
    width: 70px;
    height: 88px;
  }

  .hero-preview-pair,
  .onboarding-actions,
  .onboarding-steps {
    grid-template-columns: 1fr;
  }

  .onboarding-dialog {
    border-radius: 22px;
  }
}
