/* --------------------------------------------------------------------------
   Sarosh — Application styles
   Architecture: reset → base → layout → components → pages → brand
   -------------------------------------------------------------------------- */

@import url("./tokens.css");
@import url("./fonts.css");
@import url("./toast.css");
@import url("./brand.css");
@import url("./home.css");
@import url("./auth.css");

/* ===== Reset ============================================================ */

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

html {
  scroll-behavior: smooth;
  direction: rtl;
  overflow-x: clip;
}

html.is-search-open,
html.is-search-open body {
  overflow: hidden;
}

html,
body {
  margin: 0;
  padding: 0;
  max-width: 100%;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: 400;
  line-height: var(--leading-body);
  letter-spacing: 0;
  color: var(--color-ink);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1;
  --page-inset: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
}

/* iOS Safari: letter-spacing breaks Arabic/Persian glyph joining */
@supports (-webkit-touch-callout: none) {
  html[lang="fa"] body,
  html[lang="fa"] body *:not([dir="ltr"]):not([dir="ltr"] *) {
    letter-spacing: 0 !important;
    text-indent: 0 !important;
  }
}

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

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

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-body);
  font-weight: 700;
}

:focus-visible {
  outline: 1px solid var(--color-primary);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  right: var(--space-4);
  top: -100px;
  z-index: 100;
  background: var(--color-ink);
  color: #fff;
  padding: 0.6rem 1rem;
  letter-spacing: var(--tracking-nav);
  font-size: var(--text-xs);
}

.skip-link:focus {
  top: var(--space-4);
}

/* ===== Preloader ======================================================== */

html.is-loading body {
  overflow: hidden;
}

.preloader {
  --preloader-panel: rgba(238, 238, 238, 0.7);
  --preloader-accent: var(--color-primary);
  --preloader-brand: var(--color-ink);
  --preloader-hint: var(--color-ink-muted);
  --preloader-logo-size: 64%;
  --preloader-exit: 0.92s;
  position: fixed;
  inset: 0;
  z-index: var(--z-preloader);
  display: grid;
  place-items: center;
  color: var(--preloader-brand);
  pointer-events: all;
}

.preloader__panel {
  position: absolute;
  left: 0;
  right: 0;
  height: 50%;
  background: var(--preloader-panel);
  transition: transform var(--preloader-exit) cubic-bezier(0.77, 0, 0.18, 1);
}

.preloader__panel--top {
  top: 0;
}

.preloader__panel--bottom {
  bottom: 0;
}

.preloader__content {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 1.15rem;
  transition: opacity 0.45s var(--ease), transform 0.55s var(--ease);
}

.preloader__stage {
  position: relative;
  width: min(168px, 42vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.preloader__orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid transparent;
}

.preloader__orbit--a {
  border-top-color: var(--preloader-accent);
  border-right-color: rgba(0, 0, 0, 0.12);
  animation: preloader-spin 1.1s linear infinite;
}

.preloader__orbit--b {
  inset: 10px;
  border-bottom-color: #bdbdbd;
  border-left-color: rgba(0, 0, 0, 0.08);
  animation: preloader-spin 1.85s linear infinite reverse;
}

.preloader__progress {
  position: absolute;
  inset: -6px;
  width: calc(100% + 12px);
  height: calc(100% + 12px);
  transform: rotate(-90deg);
}

.preloader__progress-track,
.preloader__progress-bar {
  fill: none;
  stroke-width: 0.7;
}

.preloader__progress-track {
  stroke: rgba(0, 0, 0, 0.14);
}

.preloader__progress-bar {
  stroke: var(--preloader-accent);
  stroke-linecap: round;
  stroke-dasharray: 289;
  stroke-dashoffset: 289;
  animation: preloader-draw 1.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.preloader__mark {
  width: var(--preloader-logo-size);
  animation: preloader-rise 1.05s var(--ease) both, preloader-breathe 2.6s 1.05s ease-in-out infinite;
}

.preloader__mark img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.12));
}

.preloader__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0;
  text-indent: 0;
  text-transform: none;
  color: var(--preloader-brand);
  animation: preloader-rise 1.1s 0.18s var(--ease) both;
}

.preloader__hint {
  font-size: var(--text-2xs);
  letter-spacing: 0.22em;
  color: var(--preloader-hint);
  animation: preloader-rise 1.1s 0.32s var(--ease) both;
}

.preloader.is-leaving .preloader__content {
  opacity: 0;
  transform: scale(0.96);
}

.preloader.is-leaving .preloader__panel--top {
  transform: translateY(-101%);
}

.preloader.is-leaving .preloader__panel--bottom {
  transform: translateY(101%);
}

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

@keyframes preloader-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes preloader-rise {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes preloader-breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.035);
  }
}

/* ===== Layout chrome ==================================================== */

.announce {
  height: var(--announce-h);
  background: #fff;
  color: var(--color-ink);
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-label);
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.announce__inner {
  height: 100%;
  width: min(var(--container), 100%);
  max-width: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-sizing: border-box;
}

.announce__contact {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  min-width: 0;
}

.announce__contact a,
.announce__promo {
  color: inherit;
  white-space: nowrap;
}

.announce__contact a:hover,
.announce .socials > a:hover,
.announce .socials .socials__link:hover {
  color: var(--color-ink-muted);
}

.announce__promo {
  margin: 0;
  opacity: 0.7;
  text-transform: uppercase;
}

.socials {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.socials > a,
.socials .socials__link {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: inherit;
  transition: color var(--duration-fast) var(--ease);
}

button.socials__link {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.socials__link.is-soon {
  cursor: default;
  opacity: 0.45;
}

.socials svg,
.socials__img {
  width: 16px;
  height: 16px;
}

.socials__img {
  object-fit: contain;
  display: block;
}

.socials__item {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.socials__item.is-open {
  z-index: 6;
}

.socials__menu {
  position: absolute;
  z-index: 7;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  display: none;
  min-width: 11.5rem;
  padding: 0.3rem;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
  text-align: right;
}

.socials__item.is-open .socials__menu {
  display: grid;
  gap: 0.1rem;
}

.socials__menu a {
  width: auto;
  height: auto;
  display: block;
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  color: var(--color-ink, #1a1a1a);
  font-size: 0.82rem;
  line-height: 1.4;
  white-space: nowrap;
}

.socials__menu a:hover {
  background: #f4f4f4;
}

.socials--pdp .socials__menu {
  top: calc(100% + 8px);
  bottom: auto;
}

.announce .socials > a,
.announce .socials .socials__link {
  width: 28px;
  height: 28px;
}

.socials--on-dark > a,
.socials--on-dark .socials__link {
  color: #ffffff;
}

.socials--on-dark > a:hover,
.socials--on-dark .socials__link:hover {
  color: #d0d0d0;
}

.site-header {
  position: fixed;
  top: var(--announce-h);
  left: 0;
  right: 0;
  z-index: var(--z-header);
  background: #ffffff;
  border-bottom: 1px solid #ececec;
  transition:
    background var(--duration) var(--ease),
    border-color var(--duration) var(--ease),
    top var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    backdrop-filter var(--duration) var(--ease),
    -webkit-backdrop-filter var(--duration) var(--ease);
}

.site-header.is-scrolled,
.site-header.is-solid {
  top: 0;
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header.is-scrolled,
  .site-header.is-solid {
    background: rgba(255, 255, 255, 0.94);
  }
}

@media (max-width: 1280px) and (min-width: 900px) {
  .header-inner {
    padding-inline: 1.1rem;
  }

  .logo {
    max-width: min(10.5rem, 32%);
  }

  .logo img,
  .logo__mark {
    height: 62px;
  }

  .logo__emph {
    font-size: 24px;
  }

  .nav {
    padding-inline-end: clamp(7.5rem, 24%, 10rem);
  }

  .header-actions {
    padding-inline-start: clamp(7.5rem, 24%, 10rem);
  }

  .nav__list {
    gap: 0.85rem;
  }

  .nav__link {
    font-size: 0.82rem;
  }
}

@media (max-width: 1100px) and (min-width: 900px) {
  .header-account__label {
    display: none;
  }

  .header-actions .header-account {
    width: 52px;
    padding: 0;
  }
}

.header-inner {
  height: var(--header-bar-h);
  width: min(var(--container), 100%);
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "nav actions";
  align-items: center;
  padding-inline: 1.15rem;
  gap: 0;
  box-sizing: border-box;
  position: relative;
  transition: height 0.28s var(--ease);
}

.logo {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  width: auto;
  max-width: min(14rem, 42%);
  padding: 0;
  margin: 0;
  transform: translate(-50%, -50%);
  background: transparent;
}

.logo__swap {
  position: relative;
  display: grid;
  place-items: center;
  width: auto;
  min-width: 0;
  height: auto;
  background: transparent;
}

.logo img,
.logo__mark {
  display: block;
  height: 52px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.logo__mark--light,
.logo__tagline {
  display: none !important;
}

.logo__tagline {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  overflow: hidden;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  text-align: center;
  letter-spacing: 0;
  white-space: normal;
  color: var(--color-ink);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s var(--ease), visibility 0.28s var(--ease);
}

.logo__type {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
}

.logo__rest {
  display: block;
  min-height: 1.2em;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  white-space: nowrap;
}

.logo__emph {
  display: block;
  min-height: 1em;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.logo.is-saying .logo__tagline {
  opacity: 1;
  visibility: visible;
}

.nav {
  grid-area: nav;
  display: flex;
  justify-content: flex-start;
  min-width: 0;
  max-width: 100%;
  padding-inline-end: clamp(8.25rem, 22%, 11rem);
}

.nav__list {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: clamp(0.85rem, 1.5vw, 1.55rem);
  min-width: 0;
  max-width: 100%;
}

.nav__item[hidden] {
  display: none !important;
}

.nav__more {
  position: relative;
  flex: 0 0 auto;
}

.nav__more-btn {
  border: 0;
  background: none;
  padding: 0;
  gap: 0.28rem;
}

.nav__more-caret {
  width: 0.42rem;
  height: 0.42rem;
  border-inline-end: 1.4px solid currentColor;
  border-bottom: 1.4px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
}

.nav__more-menu {
  position: absolute;
  top: calc(100% - 0.85rem);
  inset-inline-end: 0;
  z-index: 8;
  min-width: 12.5rem;
  margin: 0;
  padding: 0.45rem 0;
  list-style: none;
  background: #fff;
  border: 1px solid #ececec;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 160ms var(--ease), transform 160ms var(--ease), visibility 160ms var(--ease);
}

.nav__more:hover .nav__more-menu,
.nav__more.is-open .nav__more-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav__more-menu a {
  display: block;
  padding: 0.7rem 1.05rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--color-ink);
  white-space: nowrap;
}

.nav__more-menu a:hover,
.nav__more-menu a.is-active {
  background: #f5f5f5;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: var(--header-bar-h);
  font-size: clamp(0.82rem, 0.95vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-ink);
  white-space: nowrap;
  transition:
    color var(--duration-fast) var(--ease),
    height 0.28s var(--ease),
    font-size 0.28s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.35rem;
  height: 1px;
  background: var(--color-ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration) var(--ease), bottom 0.28s var(--ease);
}

.nav__item.is-open .nav__link::after,
.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}

.site-header.is-scrolled .header-inner {
  height: 64px;
}

/* لوگو روی اسکرول هم ثابت می‌ماند */

.site-header.is-scrolled .nav__link {
  height: 64px;
  font-size: clamp(0.74rem, 0.85vw, 0.84rem);
}

.site-header.is-scrolled .nav__link::after {
  bottom: 1.05rem;
}

.site-header.is-scrolled .nav__list {
  gap: clamp(0.4rem, 1vw, 1rem);
}

.header-actions {
  grid-area: actions;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding-inline-start: clamp(8.25rem, 22%, 11rem);
}

.header-actions__rest {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.header-actions .icon-btn {
  width: 52px;
  height: 52px;
}

.header-actions .icon-btn svg {
  width: 24px;
  height: 24px;
}

.icon-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  position: relative;
  color: var(--color-ink);
  transition: color var(--duration-fast) var(--ease);
}

.header-actions .header-account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: auto;
  height: 42px;
  padding: 0 0.85rem 0 0.65rem;
  border: 0;
  border-radius: 999px;
  background: #f4f4f6;
  color: var(--color-ink);
  text-decoration: none;
  cursor: pointer;
  font: inherit;
}

.header-user {
  display: none;
}

.header-account.is-user {
  max-width: none;
}

.header-account--admin {
  background: var(--brand-navy);
  color: #ffffff;
}

.header-account--admin:hover,
.header-account--admin:focus-visible {
  color: #ffffff;
  opacity: 0.88;
}

.header-account__icon {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  flex: none;
}

.header-account__icon svg {
  width: 20px;
  height: 20px;
}

.header-account__label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.user-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  width: 32px;
  min-width: 32px;
  height: 32px;
  min-height: 32px;
  border: 1px solid var(--color-ink);
  border-radius: 50%;
  background: #f4f4f4;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-ink);
}

.user-avatar > span {
  display: grid;
  place-items: center;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-avatar--lg {
  width: 42px;
  height: 42px;
  font-size: 1rem;
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.badge-count {
  position: absolute;
  top: 6px;
  right: 4px;
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--color-ink);
  color: #fff;
  font-size: 0.58rem;
  line-height: 15px;
  text-align: center;
}

.menu-toggle {
  display: none;
  grid-area: toggle;
}

.header-back {
  display: none;
  grid-area: back;
}

.header-back__text {
  display: none;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
}

.site-header--checkout {
  background: #fff;
  border-bottom: 0;
}

.site-header--checkout.is-scrolled,
.site-header--checkout.is-solid {
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 0;
}

.site-header--checkout .header-inner {
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "back logo secure";
  gap: 0.65rem;
}

.site-header--checkout .logo {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  width: auto;
  max-width: min(10.5rem, 42vw);
  grid-area: logo;
  justify-self: center;
}

.site-header--checkout .logo img,
.site-header--checkout .logo__mark {
  height: 62px;
  max-width: min(10.5rem, 42vw);
}

.site-header--checkout .header-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.32rem;
  width: auto;
  min-width: 42px;
  height: 42px;
  padding-inline: 0.4rem;
  color: var(--color-ink);
}

.site-header--checkout .header-back__text {
  display: inline;
  font-size: 0.78rem;
  font-weight: 700;
}

.header-secure {
  grid-area: secure;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 0.4rem;
  margin: 0;
  padding: 0.42rem 0.75rem 0.42rem 0.6rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #fafafa;
  color: var(--color-ink);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.header-secure__icon {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  color: var(--color-ink);
}

.header-secure__icon svg {
  width: 16px;
  height: 16px;
}

/* Mega menu */
.catbar {
  display: none;
  border-top: 1px solid #ececec;
  background: inherit;
}

.catbar__inner {
  width: min(var(--container), 100%);
  max-width: 100%;
  margin-inline: auto;
  padding-inline: 1.15rem;
  box-sizing: border-box;
  overflow-x: auto;
  scrollbar-width: none;
}

.catbar__inner::-webkit-scrollbar {
  display: none;
}

.catbar__list {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  gap: clamp(0.85rem, 1.6vw, 1.8rem);
  min-width: min-content;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.catbar__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  height: var(--catbar-h);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-ink);
  white-space: nowrap;
}

.catbar__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.55rem;
  height: 1px;
  background: var(--color-ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--duration) var(--ease);
}

.catbar__item.is-open .catbar__link::after,
.catbar__link:hover::after,
.catbar__link.is-active::after {
  transform: scaleX(1);
}

.catbar__caret {
  width: 0.34rem;
  height: 0.34rem;
  border-inline-end: 1.4px solid currentColor;
  border-bottom: 1.4px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.55;
}

@media (min-width: 900px) {
  .site-header--has-catbar .catbar {
    display: block;
  }
}

.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 2;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease), visibility var(--duration);
}

.nav__item.is-open .mega,
.mega.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.mega__grid {
  width: min(var(--container), 100%);
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
  padding: 2.4rem var(--gutter) 2.7rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr) 280px;
  gap: 2rem;
  box-sizing: border-box;
}

.mega__grid--cats {
  grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr));
}

.mega__title {
  margin-bottom: 1rem;
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-ink-muted);
}

.mega__list a {
  display: block;
  padding: 0.32rem 0;
  font-size: var(--text-sm);
  color: var(--color-ink);
  transition: color var(--duration-fast);
}

.mega__list a:hover {
  color: var(--color-primary);
}

.mega__feature {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  background: var(--color-surface-elevated);
}

.mega__feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
}

.mega__feature span {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  color: #fff;
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

/* Drawers / overlays */
.overlay {
  position: fixed;
  inset: 0;
  background: var(--color-overlay);
  opacity: 0;
  visibility: hidden;
  z-index: var(--z-overlay);
  transition: opacity var(--duration) var(--ease), visibility var(--duration);
}

.overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.drawer,
.mobile-nav {
  position: fixed;
  z-index: var(--z-drawer);
  background: #fff;
}

.drawer {
  top: 0;
  left: 0;
  width: min(420px, 100%);
  height: 100%;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform var(--duration) var(--ease);
}

.drawer.is-open {
  transform: none;
}

.auth-modal {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-drawer);
  max-height: min(92dvh, 40rem);
  overflow: auto;
  padding: 1.1rem 1.2rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.12);
  transform: translateY(110%);
  transition: transform var(--duration) var(--ease);
  pointer-events: none;
}

.auth-modal.is-open {
  transform: none;
  pointer-events: auto;
}

.auth-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.auth-modal__head h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
}

.auth-modal__intro {
  margin: 0 0 1rem;
  font-size: 0.88rem;
}

.auth-modal .auth-field__box input,
.auth-modal .field input {
  flex: 1;
  min-width: 0;
  width: 100%;
  border: 0;
  border-bottom: 0;
  background: transparent;
  padding: 0.85rem 0;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  box-shadow: none;
}

.auth-modal .auth-field__box:hover,
.auth-modal .auth-field__box:focus-within,
.auth-modal .field input:hover,
.auth-modal .field input:focus,
.auth-modal .field input:focus-visible,
.auth-modal .auth-field__box input:hover,
.auth-modal .auth-field__box input:focus,
.auth-modal .auth-field__box input:focus-visible {
  outline: none;
  box-shadow: none;
  border: 0;
  border-bottom: 0;
  border-color: transparent;
}

.auth-modal .auth-switch button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.cart-added {
  position: fixed;
  inset: 0;
  z-index: var(--z-lightbox);
  display: none;
  place-items: center;
  padding: 1.25rem;
}

.cart-added.is-open {
  display: grid !important;
}

.cart-added__dim {
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
}

.cart-added__box {
  position: relative;
  width: min(26rem, 100%);
  padding: 1.7rem 1.45rem 1.4rem;
  background: var(--color-bg, #fff);
  border: 1px solid var(--color-border);
  box-shadow: 0 24px 60px rgba(17, 17, 17, 0.18);
}

.cart-added__box:focus {
  outline: none;
}

.cart-added__box .eyebrow {
  margin: 0 0 0.45rem;
}

.cart-added__box h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.3;
}

.cart-added__product {
  display: grid;
  grid-template-columns: 4.4rem 1fr;
  gap: 0.85rem;
  align-items: center;
  margin: 1.15rem 0 0.9rem;
}

.cart-added__product img {
  width: 4.4rem;
  height: 5.5rem;
  object-fit: cover;
  background: var(--color-surface-elevated);
}

.cart-added__product strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.4;
}

.cart-added__product .muted {
  margin: 0.25rem 0 0;
  font-size: var(--text-sm);
}

.cart-added__copy {
  margin: 0 0 1.2rem;
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--color-ink-muted);
}

.cart-added__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.cart-added__actions .btn {
  width: 100%;
  text-align: center;
}

.cart-added__actions [data-cart-added-checkout] {
  background: var(--brand-teal);
  border-color: var(--brand-teal);
  color: #fff8f3;
  box-shadow: 0 10px 22px rgba(196, 92, 38, 0.28);
}

.cart-added__actions [data-cart-added-checkout]:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: #fff8f3;
}

@media (max-width: 520px) {
  .cart-added__actions {
    grid-template-columns: 1fr;
  }
}

.drawer__head,
.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 1.25rem;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-nav);
  text-transform: uppercase;
}

.mobile-nav__logo {
  display: flex;
  align-items: center;
  line-height: 0;
}

.mobile-nav__logo img {
  display: block;
  height: 38px;
  width: auto;
  max-width: 12rem;
  object-fit: contain;
  object-position: right center;
}

.drawer__body {
  flex: 1;
  overflow: auto;
  padding: 1.25rem 1.5rem;
}

.drawer__foot {
  padding: 1.25rem 1.5rem 1.75rem;
  border-top: 1px solid var(--color-border);
}

.search-panel {
  position: fixed;
  inset: 0;
  z-index: var(--z-search);
  display: flex;
  flex-direction: column;
  background: #ffffff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.42s var(--ease), transform 0.42s var(--ease), visibility 0.42s;
}

.search-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.search-panel__bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 68px;
  padding: calc(0.65rem + env(safe-area-inset-top, 0px)) var(--gutter) 0.8rem;
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
}

.search-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
  min-height: 50px;
  padding: 0 0.85rem 0 0.4rem;
  background: var(--brand-mist);
  border: 1px solid transparent;
  border-radius: 999px;
  transition: border-color var(--duration-fast) var(--ease), box-shadow var(--duration-fast) var(--ease), background var(--duration-fast) var(--ease);
}

.search-form:focus-within {
  background: #fff;
  border-color: var(--brand-teal);
  box-shadow: 0 0 0 4px rgba(20, 187, 166, 0.16);
}

.search-form__icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: var(--brand-navy);
}

.search-form__icon svg {
  width: 18px;
  height: 18px;
}

.search-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  padding: 0.75rem 0;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  background: transparent;
  color: var(--brand-navy);
}

.search-form input::placeholder {
  color: var(--color-ink-subtle);
  font-weight: 500;
}

.search-form input::-webkit-search-cancel-button,
.search-form input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.search-form__clear {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #e4e4e7;
  color: #3a3a3a;
}

.search-form__clear[hidden] {
  display: none;
}

.search-form__clear svg {
  width: 14px;
  height: 14px;
}

.search-panel__close {
  flex: 0 0 auto;
  color: var(--brand-navy);
}

.search-panel__body {
  flex: 1;
  overflow: auto;
}

.search-overlay {
  width: min(720px, 100%);
  margin-inline: auto;
  padding: 1.25rem var(--gutter) 3.5rem;
  display: grid;
  gap: 1rem;
  box-sizing: border-box;
}

.search-overlay__hint {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-ink-subtle);
}

.search-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.search-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #fff;
  color: var(--brand-navy);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.search-chip:hover {
  border-color: var(--brand-teal);
  color: var(--brand-teal);
}

.search-overlay__empty {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-ink-muted);
}

.search-empty {
  display: grid;
  gap: 0.9rem;
  padding: 1.2rem 0 0.4rem;
}

.search-hits {
  display: grid;
  gap: 0.55rem;
}

.search-hit {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  padding: 0.55rem;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--duration-fast) var(--ease), box-shadow var(--duration-fast) var(--ease);
}

.search-hit:hover {
  border-color: var(--brand-teal);
  box-shadow: 0 8px 22px rgba(13, 27, 42, 0.06);
}

.search-hit__media {
  display: block;
  width: 4.5rem;
  height: 4.5rem;
  overflow: hidden;
  border-radius: 10px;
  background: var(--brand-mist);
}

.search-hit__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-hit__copy {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.search-hit__cat {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--brand-teal);
}

.search-hit__name {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--brand-navy);
}

.search-hit__price {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-ink-muted);
}

.search-hit__price .currency {
  margin-inline-start: 0.28em;
  color: var(--color-ink-subtle);
  font-size: 0.72em;
}

.search-hit--skel {
  pointer-events: none;
}

.search-hit--skel .search-hit__media {
  background: var(--brand-mist);
}

.search-overlay[aria-busy="true"] .search-hits {
  min-height: 8rem;
}

.search-overlay__more {
  display: inline-flex;
  justify-self: start;
  margin-top: 0.35rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  background: var(--brand-navy);
  color: #fff !important;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.search-overlay__more:hover {
  background: var(--brand-teal);
  opacity: 1;
}

.search-page__form {
  margin-top: 1.85rem;
  max-width: 34rem;
}

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

.search-page__field {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.25rem;
  border-bottom: 1px solid var(--color-line);
  transition: border-color var(--duration-fast) var(--ease);
}

.search-page__field:focus-within {
  border-bottom-color: var(--color-ink);
}

.search-page__icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--color-ink);
}

.search-page__icon svg,
.search-page__clear svg {
  display: block;
  width: 100%;
  height: 100%;
}

.search-page__form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  padding: 0.7rem 0;
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: 400;
  line-height: 1.4;
  background: transparent;
  color: var(--color-ink);
}

.search-page__form input::placeholder {
  color: var(--color-ink-subtle);
}

.search-page__form input::-webkit-search-cancel-button,
.search-page__form input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.search-page__clear {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--color-ink-muted);
  background: transparent;
  border: 0;
}

.search-page__clear[hidden] {
  display: none;
}

.search-page__clear:hover {
  color: var(--color-ink);
}

.search-page__submit {
  flex: 0 0 auto;
  padding: 0;
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-ink);
  background: transparent;
  border: 0;
  opacity: 0.55;
  transition: opacity var(--duration-fast) var(--ease);
}

.search-page__submit:hover,
.search-page__field:focus-within .search-page__submit {
  opacity: 1;
}

.search-page__count {
  margin: 1rem 0 0;
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-ink-muted);
}

.mobile-nav {
  top: 0;
  right: 0;
  width: min(420px, calc(100% - 6.25rem));
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateX(100%);
  transition: transform var(--duration) var(--ease);
  box-shadow: -18px 0 40px rgba(0, 0, 0, 0.12);
}

.mobile-nav.is-open {
  transform: none;
}

.mobile-nav__head {
  flex: 0 0 auto;
}

.mobile-nav__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}

.mobile-acc__btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 1.05rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  letter-spacing: var(--tracking-nav);
  text-transform: uppercase;
  font-size: 0.92rem;
  font-weight: 700;
}

.mobile-acc__panel {
  display: none;
  padding: 0.4rem 1.5rem 1rem;
}

.mobile-acc.is-open .mobile-acc__panel {
  display: block;
}

.mobile-acc__panel a {
  display: block;
  padding: 0.4rem 0;
  font-size: var(--text-sm);
}

.mobile-acc--nested {
  margin: 0.15rem 0 0.35rem;
}

.mobile-acc--nested > .mobile-acc__btn {
  padding: 0.7rem 0;
  border-bottom: 1px dashed var(--color-border);
  text-transform: none;
  font-size: 0.86rem;
}

.mobile-acc--nested .mobile-acc__panel {
  padding: 0 0 0.4rem 0.65rem;
}

.mobile-account {
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
}

.mobile-account--top {
  padding: 0.95rem 1.15rem 1rem;
  background: #f4f4f6;
  border-bottom: 1px solid var(--color-border);
}

.mobile-account__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  margin: 0;
  padding: 0.7rem 0.8rem;
  border: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(17, 17, 17, 0.05);
  color: inherit;
  text-align: start;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
}

.mobile-account--top .user-avatar--lg {
  width: 48px;
  min-width: 48px;
  height: 48px;
  min-height: 48px;
  font-size: 1.1rem;
}

a.mobile-account__head:hover .mobile-account__name {
  text-decoration: none;
}

.mobile-account__copy {
  min-width: 0;
}

.mobile-account__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: #ececee;
  color: var(--brand-navy);
}

.mobile-account__icon svg {
  width: 20px;
  height: 20px;
}

.mobile-account__kicker {
  margin: 0 0 0.15rem;
  color: #8b8b90;
  font-size: 0.68rem;
  font-weight: 700;
}

.mobile-account__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

.mobile-account__meta {
  margin: 0.18rem 0 0;
  color: #8b8b90;
  font-size: 0.78rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-account__chevron {
  width: 16px;
  height: 16px;
  color: #8b8b90;
}

.mobile-account__chevron svg {
  width: 16px;
  height: 16px;
}

.mobile-account-menu {
  margin-top: 0.15rem;
  padding: 0.95rem 1.15rem 1.2rem;
  background: #f4f4f6;
  border-top: 1px solid var(--color-border);
}

.mobile-account-menu__title {
  margin: 0 0 0.55rem;
  padding: 0 0.15rem;
  color: #8b8b90;
  font-size: 0.72rem;
  font-weight: 700;
}

.mobile-account-menu__list {
  overflow: hidden;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(17, 17, 17, 0.05);
}

.mobile-account-menu__list a,
.mobile-account-menu__list button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 54px;
  padding: 0.65rem 0.85rem;
  border: 0;
  border-bottom: 1px solid #eee;
  background: none;
  color: inherit;
  text-align: right;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.mobile-account-menu__list a:last-child,
.mobile-account-menu__list button:last-child {
  border-bottom: 0;
}

.mobile-account-menu__icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ececee;
  color: var(--brand-navy);
}

.mobile-account-menu__icon svg {
  width: 16px;
  height: 16px;
}

.mobile-account-menu__chevron {
  width: 14px;
  height: 14px;
  color: #b0b0b4;
}

.mobile-account-menu__chevron svg {
  width: 14px;
  height: 14px;
}

.mobile-account-menu__list .is-danger {
  color: #b42318;
}

.mobile-account-menu__list .is-danger .mobile-account-menu__icon {
  background: #f8e8e6;
  color: #b42318;
}

.mobile-account__actions {
  display: grid;
  gap: 0.55rem;
}

.mobile-account__quiet {
  display: inline-block;
  margin-top: 0.95rem;
  font-size: var(--text-sm);
  color: var(--color-ink-muted);
}

/* ===== Buttons / forms ================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1.45rem;
  border: 1px solid var(--color-ink);
  border-radius: 999px;
  background: var(--color-ink);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: 0 10px 22px rgba(17, 17, 17, 0.12);
  transition:
    background var(--duration-fast) var(--ease),
    color var(--duration-fast) var(--ease),
    border-color var(--duration-fast) var(--ease),
    transform var(--duration-fast) var(--ease),
    box-shadow var(--duration-fast) var(--ease);
}

.btn:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(17, 17, 17, 0.16);
}

.btn--ghost {
  background: transparent;
  color: var(--color-ink);
  box-shadow: none;
}

.btn--ghost:hover {
  background: var(--color-ink);
  border-color: var(--color-ink);
  color: #fff;
  box-shadow: 0 10px 22px rgba(17, 17, 17, 0.12);
}

.btn--gold {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.btn--light {
  background: #fff;
  border-color: #fff;
  color: var(--brand-navy);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.btn--light:hover {
  background: #f4f4f4;
  border-color: #f4f4f4;
  color: var(--brand-navy);
}

.btn--full {
  width: 100%;
}

.link-underline {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-nav);
  text-transform: uppercase;
}

.link-underline::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  transition: width var(--duration) var(--ease);
}

.link-underline:hover::after {
  width: 44px;
}

.field {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.15rem;
}

.field label {
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-ink-muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--color-line);
  border-radius: 0;
  background: transparent;
  padding: 0.7rem 0;
  outline: none;
  transition: border-color var(--duration-fast);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-bottom-color: var(--color-ink);
}

.field.is-error input,
.field.is-error textarea,
.field.is-error select {
  border-bottom-color: var(--color-error);
}

.field-error {
  display: none;
  font-size: var(--text-xs);
  color: var(--color-error);
}

.field.is-error .field-error {
  display: block;
}

[data-form-error] {
  margin-bottom: 1rem;
}

[data-form-error][hidden] {
  display: none;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.checkout-form {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.checkout-empty {
  padding: 1.6rem 1.2rem;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: #fff;
  text-align: center;
}

.checkout-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 1.2rem 1.25rem 1.3rem;
  margin-bottom: 0;
}

.checkout-card__head {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1.15rem;
}

.checkout-card__icon {
  flex: 0 0 auto;
  width: 2.45rem;
  height: 2.45rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--color-surface-elevated);
  color: var(--color-ink);
}

.checkout-card__icon svg {
  width: 18px;
  height: 18px;
}

.checkout-card__head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
}

.checkout-card__head p {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--color-ink-muted);
}

.checkout-card .field {
  margin-bottom: 0.95rem;
}

.checkout-card .field:last-child,
.checkout-card .field-row:last-child .field {
  margin-bottom: 0;
}

.checkout-card .field-row .field {
  margin-bottom: 0.95rem;
}

.checkout-card .field input,
.checkout-card .field select,
.checkout-card .field textarea {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #fff;
  padding: 0.72rem 0.9rem;
}

.checkout-card .field:has([required]:not(:disabled)) label::after {
  content: "*";
  margin-inline-start: 0.2rem;
  color: var(--color-error);
  font-weight: 700;
}

.checkout-card .field.is-error label {
  color: var(--color-error);
}

.checkout-card .field input:focus,
.checkout-card .field select:focus,
.checkout-card .field textarea:focus {
  border-color: var(--color-ink);
}

.checkout-card .field.is-error input,
.checkout-card .field.is-error select,
.checkout-card .field.is-error textarea {
  border-color: var(--color-error);
  background: #fff7f6;
  box-shadow: 0 0 0 1px var(--color-error);
}

.checkout-card .field.is-error input:focus,
.checkout-card .field.is-error select:focus,
.checkout-card .field.is-error textarea:focus {
  border-color: var(--color-error);
}

.checkout-new-addr {
  padding-top: 0.15rem;
}

.checkout-notes {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checkout-notes li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--color-ink-muted);
}

.checkout-notes svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  color: var(--color-ink);
}

.checkout-addr-list {
  display: grid;
  gap: 0.65rem;
  margin: 0 0 1rem;
}

.checkout-addr {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0;
  padding: 0.9rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.checkout-addr--new {
  border-style: dashed;
}

.checkout-addr.is-active {
  border-color: var(--color-ink);
  box-shadow: 0 0 0 1px var(--color-ink);
}

@media (hover: hover) {
  .checkout-addr:hover {
    border-color: var(--color-ink);
  }
}

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

.checkout-addr__mark {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--color-surface-elevated);
  color: var(--color-ink-muted);
}

.checkout-addr__mark svg {
  width: 15px;
  height: 15px;
}

.checkout-addr.is-active .checkout-addr__mark {
  background: var(--color-ink);
  color: #fff;
}

.checkout-addr__body {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.checkout-addr__body strong {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
}

.checkout-addr__badge {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--color-ink-muted);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0.12rem 0.45rem;
}

.checkout-summary {
  min-width: 0;
}

.checkout-summary__card {
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: #fff;
  padding: 1.15rem 1.2rem 1.25rem;
}

.checkout-summary__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.checkout-summary__icon {
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--color-surface-elevated);
}

.checkout-summary__icon svg {
  width: 18px;
  height: 18px;
}

.checkout-summary__head h2 {
  margin: 0;
  font-size: 1rem;
  font-family: var(--font-display);
}

.checkout-summary__head p {
  margin: 0.12rem 0 0;
  font-size: 0.78rem;
  color: var(--color-ink-muted);
}

.checkout-bag {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1rem;
  padding: 0 0 1rem;
  list-style: none;
  border-bottom: 1px solid var(--color-border);
}

.checkout-bag__item {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
}

.checkout-bag__thumb {
  width: 3rem;
  height: 3.6rem;
  overflow: hidden;
  border-radius: 8px;
  background: var(--color-surface-elevated);
}

.checkout-bag__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checkout-bag__meta {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.checkout-bag__meta strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.84rem;
  line-height: 1.4;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.checkout-bag__meta span {
  font-size: 0.72rem;
  color: var(--color-ink-muted);
}

.checkout-bag__price,
.checkout-summary .summary-row span:last-child,
.checkout-summary .summary-row strong:last-child {
  display: inline-flex;
  align-items: baseline;
  gap: 0.22em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.checkout-bag__price {
  font-size: 0.78rem;
  font-weight: 600;
}

.checkout-summary__rows .summary-row {
  margin-bottom: 0.55rem;
}

.checkout-summary__total {
  margin-top: 0.55rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--color-ink);
  font-size: 0.95rem;
}

.checkout-summary__trust {
  display: grid;
  gap: 0.45rem;
  margin: 0.9rem 0 1rem;
  padding: 0;
  list-style: none;
}

.checkout-summary__trust li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  color: var(--color-ink-muted);
}

.checkout-summary__trust svg {
  width: 15px;
  height: 15px;
  color: var(--color-ink);
}

.checkout-wholesale-hold {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--color-line);
  border-radius: 12px;
  background: #fff7f0;
  line-height: 1.8;
}

.checkout-wholesale-hold p {
  margin: 0 0 0.45rem;
}

.checkout-wholesale-hold .btn {
  margin-top: 0.35rem;
}

.pdp-rules {
  margin: 0.35rem 0 0.8rem;
  line-height: 1.8;
}

.pdp-rules p {
  margin: 0 0 0.35rem;
}

.pdp-packs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.35rem 0;
}

.pdp-pack {
  border: 1px solid var(--color-line);
  background: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
}

.pdp-pack.is-active {
  background: var(--brand-navy);
  color: #fff;
  border-color: var(--brand-navy);
}

.checkout-pay {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}

.checkout-pay__opt {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
}

.checkout-card-fields {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
}

.cart-split {
  margin-bottom: 1.4rem;
}

.cart-split__title {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.checkout-summary .btn {
  width: 100%;
  min-height: 46px;
  margin-top: 0.15rem;
}

[data-checkout-submit] {
  background: var(--brand-teal);
  border-color: var(--brand-teal);
  color: #fff;
}

[data-checkout-submit]:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: #fff;
}

.checkout-sticky {
  display: none;
}

.password-wrap {
  position: relative;
}

.password-wrap input {
  padding-left: 3.6rem;
}

.password-wrap .icon-btn {
  position: absolute;
  left: 0;
  right: auto;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  padding: 0;
  display: grid;
  place-items: center;
  color: var(--color-ink-muted);
}

.password-wrap .icon-btn svg {
  width: 20px;
  height: 20px;
}

.checkbox {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: var(--text-sm);
  color: var(--color-ink-muted);
  margin: 0.4rem 0 1.2rem;
}

.checkbox input {
  margin-top: 0.25rem;
  accent-color: var(--color-ink);
}

/* ===== Shared sections ================================================== */

.container {
  width: min(var(--container), 100%);
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
  padding-inline: var(--gutter);
  box-sizing: border-box;
}

.prose {
  max-width: var(--container-narrow);
}

.section {
  padding-block: var(--space-8);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 2rem;
  min-width: 0;
}

.section-head > div:first-child {
  min-width: 0;
}

.eyebrow {
  font-size: var(--text-2xs);
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-primary);
  margin-bottom: 0.55rem;
}

.section-title,
.page-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
}

.page-title {
  font-size: var(--text-3xl);
}

.not-found {
  min-height: calc(100vh - var(--header-h, 80px) - 8rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(3rem, 8vh, 6rem) 1.25rem 4rem;
  background:
    radial-gradient(ellipse at center, rgba(17, 17, 17, 0.04), transparent 62%),
    var(--color-bg, #fff);
}

.not-found__code {
  margin: 0.2rem 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(5.5rem, 18vw, 9rem);
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(17, 17, 17, 0.28);
}

.not-found .page-title {
  margin: 0;
}

.not-found__text {
  max-width: 36rem;
  margin: 0.85rem 0 0;
  font-size: var(--text-md, 1rem);
  line-height: 1.8;
}

.not-found__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.6rem;
}

.not-found__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 1.15rem;
  margin-top: 1.5rem;
}

.not-found__links a {
  color: var(--color-ink-muted);
  font-size: var(--text-sm);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.not-found__links a:hover {
  color: var(--color-ink);
  border-bottom-color: currentColor;
}

.legacy-content .not-found,
.legacy-content .not-found h1,
.legacy-content .not-found p,
.legacy-content .not-found a {
  font-family: var(--font-body);
}

.section-title {
  font-size: clamp(1.65rem, 4.5vw, 2.25rem);
}

.muted {
  color: var(--color-ink-muted);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h) - var(--announce-h));
  color: #fff;
  overflow: hidden;
  background: var(--brand-navy);
}

.hero-slider {
  position: relative;
  height: calc(100dvh - var(--header-h) - var(--announce-h));
  min-height: 420px;
  color: #fff;
  overflow: hidden;
  background: var(--brand-navy);
  width: 100%;
  max-width: 100%;
}

body[data-page="home"] .hero-slider {
  height: 33vh;
  min-height: 220px;
  max-height: 360px;
}

.promo-gif-bar {
  height: var(--promo-gif-h);
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--brand-navy);
}

.promo-gif-bar__track {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.promo-gif-bar__track > * {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
}

.promo-gif-bar img,
.promo-gif-bar video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

main {
  padding-top: var(--header-h);
}

.hero img,
.hero video,
.hero-slide img,
.hero-slide video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide img {
  object-position: center top;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.38));
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s var(--ease), visibility 0.8s;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide__link {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
}

.hero-slide:has(.hero-slide__link:hover) .link-underline::after {
  width: 44px;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.48));
}

.hero-slide--film::after {
  display: none;
}

.hero-slider:has(.hero-slide--film.is-active) .hero-swipe {
  display: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(var(--container), 100%);
  min-height: inherit;
  height: 100%;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 4.5rem var(--gutter) 5.5rem;
}

.hero h1,
.hero-slide h1 {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: 14ch;
  margin: 0.35rem 0 1.2rem;
}

.hero-slider__dots {
  position: absolute;
  z-index: 3;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  width: min(420px, calc(100% - 2 * var(--gutter)));
  justify-content: center;
}

.hero-dot {
  flex: 1;
  min-width: 0;
  max-width: 118px;
  height: 38px;
  padding: 0 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-nav);
  background: transparent;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-dot.is-active {
  background: #fff;
  color: var(--color-ink);
  border-color: #fff;
}

.hero-slider__arrows {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  top: 50%;
  width: min(var(--container), 100%);
  max-width: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  direction: ltr;
  pointer-events: none;
  box-sizing: border-box;
}

.hero-slider__arrows button {
  pointer-events: auto;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  background: rgba(0, 0, 0, 0.18);
}

.hero-swipe {
  display: none;
}

.cat-trio {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  width: min(var(--container), 100%);
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
  padding: 0.65rem var(--gutter) 0;
  box-sizing: border-box;
}

.cat-panel {
  position: relative;
  display: block;
  min-height: min(72vh, 760px);
  overflow: hidden;
  color: #fff;
}

.cat-panel img,
.cat-panel video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.cat-panel:hover img,
.cat-panel:hover video {
  transform: scale(1.04);
}

.cat-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.55));
}

.cat-panel__body {
  position: relative;
  z-index: 1;
  min-height: inherit;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem var(--gutter);
}

.cat-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  margin: 0.25rem 0 1rem;
}

@media (min-width: 720px) {
  .cat-trio {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.7rem;
    padding: 0.9rem var(--gutter) 0.25rem;
    background: var(--color-bg);
  }

  .cat-trio .cat-panel {
    min-height: min(52vh, 560px);
  }

  .cat-trio .cat-panel__body {
    padding: 1.6rem 1.15rem;
  }

  .cat-trio .cat-panel h2 {
    font-size: clamp(1.35rem, 2.2vw, 2.55rem);
    margin: 0.2rem 0 0.75rem;
  }
}

@media (min-width: 1100px) {
  .cat-trio {
    gap: 0.85rem;
    padding: 1.15rem var(--gutter) 0.4rem;
  }

  .cat-trio .cat-panel {
    min-height: min(64vh, 680px);
  }

  .cat-trio .cat-panel__body {
    padding: 2.2rem 1.5rem;
  }
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  width: min(var(--container), 100%);
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
  padding-inline: var(--gutter);
  box-sizing: border-box;
}

.split-card {
  position: relative;
  min-height: min(42vh, 380px);
  overflow: hidden;
  color: #fff;
  border-radius: 2px;
}

.split-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1.1s var(--ease);
}

.split-card:hover img {
  transform: scale(1.04);
}

.split-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  transition: background var(--duration) var(--ease);
  z-index: 0;
}

.split-card:hover::after {
  background: rgba(0, 0, 0, 0.62);
}

.split-card__body {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem 1.6rem;
}

.split-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
  font-weight: 700;
  margin: 0.15rem 0 0.75rem;
}

.mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 320px 320px;
  gap: 0.6rem;
}

.mosaic__item {
  position: relative;
  display: block;
  overflow: hidden;
  color: #fff;
  height: 100%;
}

.mosaic__item:first-child {
  grid-row: 1 / span 2;
}

.mosaic__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.mosaic__item:hover img {
  transform: scale(1.05);
}

.mosaic__item span,
.mosaic__item strong {
  position: relative;
  z-index: 1;
}

.mosaic__cap {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  right: 1.2rem;
}

.mosaic__cap strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
}

.full-bleed {
  position: relative;
  min-height: 72vh;
  color: #fff;
}

.full-bleed img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.full-bleed::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 14, 10, 0.28);
}

.full-bleed__body {
  position: relative;
  z-index: 1;
  width: min(var(--container), 100%);
  min-height: inherit;
  margin-inline: auto;
  display: grid;
  place-content: end start;
  padding: 4rem var(--gutter);
}

.lookbook {
  padding: var(--space-8) 0 var(--space-7);
  background: var(--brand-navy);
  color: #f4f4f4;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.lookbook .section-title {
  color: #f4f4f4;
}

.lookbook .eyebrow {
  color: #b0b0b0;
}

.lookbook__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2.2rem;
  min-width: 0;
}

.lookbook__lede {
  max-width: 36ch;
  margin: 0.7rem 0 0;
  font-size: var(--text-sm);
  color: rgba(244, 244, 244, 0.62);
  line-height: 1.7;
}

.lookbook__tools {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.1rem;
}

.cat-tabs {
  display: flex;
  gap: 1.4rem;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.cat-tabs::-webkit-scrollbar {
  display: none;
}

.cat-tab {
  position: relative;
  flex: 0 0 auto;
  padding: 0 0 0.5rem;
  color: rgba(244, 244, 244, 0.48);
  font-size: var(--text-2xs);
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.cat-tab:hover {
  color: #f4f4f4;
}

.cat-tab.is-active {
  color: #f4f4f4;
}

.cat-tab.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  height: 1px;
  background: #b0b0b0;
}

.home-rail-section {
  padding-top: var(--space-7);
  padding-bottom: var(--space-8);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.home-rail-section--warm {
  background: var(--color-bg);
}

.home-rail-section .section-head {
  margin-bottom: 1.6rem;
}

.rail-nav {
  display: flex;
  gap: 0.45rem;
  direction: ltr;
}

.rail-nav button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--color-line);
  color: var(--color-ink);
  font-size: 1.25rem;
  line-height: 1;
  background: #fff;
}

.rail-nav button:hover {
  border-color: var(--color-ink);
}

.rail-nav--on-dark button {
  border-color: rgba(247, 244, 239, 0.28);
  color: #f4f4f4;
  background: transparent;
}

.rail-nav--on-dark button:hover {
  border-color: #f4f4f4;
  background: rgba(247, 244, 239, 0.06);
}

.rail {
  --rail-gap: 0.75rem;
  display: flex;
  gap: var(--rail-gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scroll-padding-inline: var(--page-inset);
  padding-inline: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.rail::-webkit-scrollbar {
  display: none;
}

/* Flex overflow ignores padding-inline-end in RTL; spacers keep both edges even. */
.rail::before,
.rail::after {
  content: "";
  flex: 0 0 var(--page-inset);
  pointer-events: none;
}

.rail::before {
  margin-inline-end: calc(0px - var(--rail-gap));
}

.rail::after {
  margin-inline-start: calc(0px - var(--rail-gap));
}

.rail--looks {
  --rail-gap: 0.65rem;
}

.cat-look {
  position: relative;
  flex: 0 0 min(268px, calc(100% - var(--page-inset) * 2 - 48px));
  max-width: 320px;
  aspect-ratio: var(--product-image-ratio, 5 / 6);
  overflow: hidden;
  color: #fff;
  scroll-snap-align: start;
  background: #1c1814;
}

.cat-look__media,
.cat-look__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-look__media img {
  transition: transform 1.15s var(--ease), filter 0.6s var(--ease);
  filter: saturate(0.88);
}

.cat-look::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, transparent 38%, rgba(12, 9, 7, 0.72) 100%);
  pointer-events: none;
}

.cat-look:hover img {
  transform: scale(1.06);
  filter: saturate(1);
}

.cat-look__index {
  position: absolute;
  z-index: 1;
  top: 1.1rem;
  right: 1.15rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: #d0d0d0;
}

.cat-look__meta {
  position: absolute;
  z-index: 1;
  right: 1.15rem;
  left: 1.15rem;
  bottom: 1.2rem;
  display: grid;
  gap: 0.15rem;
}

.cat-look__group {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: rgba(208, 208, 208, 0.82);
}

.cat-look__name {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.15;
}

.cat-look__cta {
  margin-top: 0.45rem;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.cat-look:hover .cat-look__cta {
  opacity: 1;
  transform: none;
}

.rail-progress {
  height: 1px;
  margin-top: 1.7rem;
  background: rgba(244, 244, 244, 0.16);
  overflow: hidden;
}

.rail-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: #b0b0b0;
  transform: scaleX(0.12);
  transform-origin: right center;
  transition: transform 0.25s var(--ease);
}

.rail--products .product-card {
  flex: 0 0 min(260px, calc(100% - var(--page-inset) * 2 - 40px));
  max-width: 300px;
  min-width: 0;
  scroll-snap-align: start;
}

.related-rail-section .section-head {
  margin-bottom: 1.2rem;
}

.rail--products.rail--related {
  --rail-gap: 0.65rem;
}

.rail--products.rail--related .product-card,
.rail--products.rail--related .skel-card {
  flex: 0 0 min(168px, calc(100% - var(--page-inset) * 2 - 56px));
  max-width: 188px;
}

.rail--related .product-card__wish {
  width: 30px;
  height: 30px;
}

.rail--related .product-card__cart {
  width: 32px;
  height: 32px;
  min-height: 32px;
  flex-basis: 32px;
}

.rail--related .product-card__caption {
  padding: 0.4rem 0.4rem 0.4rem 0.55rem;
  border-radius: 12px;
}

.rail--related .product-card__name {
  font-size: 0.78rem;
  min-height: 0;
}

.rail--related .product-card__price {
  font-size: 0.72rem;
  padding: 0.22rem 0.42rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem 1rem;
}

.catalog-about {
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--color-line);
  max-width: 42rem;
}

.catalog-about h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 700;
}

.catalog-about p {
  margin: 0 0 0.7rem;
  line-height: 1.9;
  color: var(--color-ink-muted);
}

.catalog-more {
  margin-top: 1.6rem;
}

.catalog-sentinel {
  height: 1px;
  pointer-events: none;
}

.catalog-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.catalog-pager__btn {
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 0.7rem;
  border: 1px solid var(--color-line);
  background: #fff;
  color: var(--color-ink);
  font-size: var(--text-sm);
  cursor: pointer;
}

.catalog-pager__btn:hover:not(:disabled):not(.is-active) {
  border-color: var(--color-ink);
}

.catalog-pager__btn.is-active {
  background: var(--color-ink);
  border-color: var(--color-ink);
  color: #fff;
}

.catalog-pager__btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.catalog-pager__gap {
  padding: 0 0.15rem;
  color: var(--color-ink-muted);
}

.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
}

.product-card a {
  display: grid;
  gap: 0.7rem;
  min-width: 0;
}

.product-card__media {
  position: relative;
  aspect-ratio: var(--product-image-ratio, 3 / 4);
  overflow: hidden;
  background: var(--color-surface-elevated);
  flex: 1 1 auto;
}

.product-card__media a {
  display: block;
  position: absolute;
  inset: 0;
  gap: 0;
}

.product-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1.2s var(--ease), opacity 0.9s var(--ease);
}

.product-card__media img + img {
  opacity: 0;
  z-index: 1;
}

.product-card.has-hover-img .product-card__media img:first-child {
  animation: product-card-primary 22s linear infinite;
}

.product-card.has-hover-img .product-card__media img + img {
  animation: product-card-alt 22s linear infinite;
}

.product-grid .product-card.has-hover-img:nth-child(3n + 2) .product-card__media img:first-child,
.product-grid .product-card.has-hover-img:nth-child(3n + 2) .product-card__media img + img,
.rail .product-card.has-hover-img:nth-child(3n + 2) .product-card__media img:first-child,
.rail .product-card.has-hover-img:nth-child(3n + 2) .product-card__media img + img {
  animation-delay: 7s;
}

.product-grid .product-card.has-hover-img:nth-child(3n) .product-card__media img:first-child,
.product-grid .product-card.has-hover-img:nth-child(3n) .product-card__media img + img,
.rail .product-card.has-hover-img:nth-child(3n) .product-card__media img:first-child,
.rail .product-card.has-hover-img:nth-child(3n) .product-card__media img + img {
  animation-delay: 14s;
}

@keyframes product-card-primary {
  0%,
  58% {
    transform: scale(1);
  }
  68%,
  88% {
    transform: scale(1.04);
  }
  98%,
  100% {
    transform: scale(1);
  }
}

@keyframes product-card-alt {
  0%,
  58% {
    opacity: 0;
    transform: scale(1.08) translate3d(0, 1.5%, 0);
  }
  68%,
  88% {
    opacity: 1;
    transform: scale(1) translate3d(0, 0, 0);
  }
  98%,
  100% {
    opacity: 0;
    transform: scale(1.05) translate3d(0, 0.8%, 0);
  }
}

.product-card:hover .product-card__media img:first-child,
.product-card:hover .product-card__media img + img {
  transform: scale(1.03);
}

.product-card.has-hover-img:hover .product-card__media img:first-child,
.product-card.has-hover-img:focus-within .product-card__media img:first-child {
  animation: none;
  transform: scale(1.03);
}

.product-card:hover .product-card__media img + img,
.product-card.has-hover-img:hover .product-card__media img + img,
.product-card.has-hover-img:focus-within .product-card__media img + img {
  animation: none;
  opacity: 1;
  transform: scale(1.03);
}

@media (prefers-reduced-motion: reduce) {
  .product-card.has-hover-img .product-card__media img:first-child,
  .product-card.has-hover-img .product-card__media img + img {
    animation: none;
  }
}

.product-card__wish {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  right: auto;
  z-index: 4;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: rgba(8, 12, 18, 0.38);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  border-radius: 999px;
}

.product-card__wish svg {
  width: 16px;
  height: 16px;
}

.product-card__wish.is-on svg {
  fill: #fff;
}

.product-card__badge {
  position: static;
  flex: 0 0 auto;
  padding: 0.22rem 0.45rem;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  border-radius: 999px;
  pointer-events: none;
}

.product-card.is-sale .product-card__badge {
  top: auto;
}

.product-card__cart {
  position: static;
  z-index: 3;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  display: grid;
  place-items: center;
  background: var(--brand-teal);
  color: #ffffff;
  border-radius: 999px;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.product-card__cart svg {
  width: 16px;
  height: 16px;
}

.product-card__cart:hover {
  background: var(--color-primary-hover);
}

.sale-tag {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  left: auto;
  z-index: 3;
  padding: 0.38rem 0.58rem;
  background: var(--color-sale);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  pointer-events: none;
}

.price-sale {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.7rem;
}

.price-sale s {
  color: var(--color-ink-subtle);
  font-weight: 400;
  font-size: 0.72rem;
}

.price-sale b {
  color: var(--color-sale);
  font-weight: 600;
  font-size: inherit;
}

.filter-chip:hover {
  border-color: var(--color-ink);
}

.product-card__body,
.product-card a.product-card__body {
  display: none;
}

.product-card__cat {
  display: none;
}

.product-card__caption {
  position: absolute;
  z-index: 3;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0.55rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.5rem 0.5rem 0.7rem;
  border-radius: 16px;
  background: rgba(8, 12, 18, 0.46);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  color: #fff;
  pointer-events: none;
}

.product-card__name {
  margin: 0;
  min-width: 0;
  min-height: 0;
  flex: 1 1 auto;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  color: #fff;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.product-card__opts {
  display: none;
}

.price-from {
  margin-inline-end: 0.18rem;
  font-size: 0.68em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
}

.product-card__price {
  position: absolute;
  top: 0.65rem;
  inset-inline-start: 0.65rem;
  z-index: 4;
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.22rem;
  margin: 0;
  padding: 0.32rem 0.55rem 0.3rem 0.5rem;
  border-radius: 999px;
  background: rgba(8, 12, 18, 0.5);
  backdrop-filter: blur(16px) saturate(170%);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
}

.product-card__price b {
  font-weight: 800;
  color: inherit;
}

.product-card__off {
  font-size: 0.62rem;
  font-weight: 700;
  color: #ffc4b0;
}

.product-card__price .currency {
  margin-inline-start: 0.18em;
  color: rgba(255, 255, 255, 0.82);
  font-family: inherit;
  font-size: 0.72em;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.product-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.65rem;
  font-size: var(--text-xs);
  color: var(--color-ink-muted);
}

.product-card__meta span:last-child {
  white-space: nowrap;
  color: var(--color-ink);
}

.currency {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.76em;
  letter-spacing: 0;
  margin-inline-start: 0.28em;
}

.product-card__caption .product-card__cart {
  pointer-events: auto;
}

.catalog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.2rem;
}

.catalog-meta #result-count {
  margin: 0;
}

.catalog-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-ink);
}

.catalog-filter-btn svg {
  width: 16px;
  height: 16px;
}

.catalog-filter-btn[data-on]::after {
  content: attr(data-count);
  display: grid;
  place-items: center;
  min-width: 1.1rem;
  height: 1.1rem;
  margin-inline-start: 0.15rem;
  border-radius: 99px;
  background: var(--color-ink);
  color: #fff;
  font-size: 0.62rem;
  letter-spacing: 0;
}

.catalog-filters-dim {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background: var(--color-overlay);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration) var(--ease), visibility var(--duration);
}

.catalog-filters-dim.is-open {
  opacity: 1;
  visibility: visible;
}

.catalog-filters {
  position: fixed;
  top: 0;
  right: 0;
  z-index: var(--z-drawer);
  width: min(420px, calc(100% - 6.25rem));
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  transform: translateX(100%);
  transition: transform var(--duration) var(--ease);
  box-shadow: -18px 0 40px rgba(0, 0, 0, 0.12);
}

.catalog-filters.is-open {
  transform: none;
}

.catalog-filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 1.5rem;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-nav);
  text-transform: uppercase;
  flex: 0 0 auto;
}

.catalog-filters__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 1.35rem 1.5rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filters--visual {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(108px, 120px));
  justify-content: start;
  gap: 0.7rem;
  margin-bottom: 2rem;
}

.filters__track {
  display: contents;
}

.cat-tile {
  display: block;
  padding: 0;
  background: none;
  border: 0;
  text-align: center;
  min-width: 0;
  width: 100%;
}

.cat-tile__media {
  position: relative;
  display: block;
  aspect-ratio: var(--product-image-ratio, 5 / 6);
  overflow: hidden;
  background: var(--brand-navy);
}

.cat-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.cat-tile:hover .cat-tile__media img {
  transform: scale(1.06);
}

.cat-tile__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.22) 0%,
    rgba(0, 0, 0, 0.38) 48%,
    rgba(0, 0, 0, 0.78) 100%
  );
  box-shadow: inset 0 0 0 1px transparent;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
  pointer-events: none;
}

.cat-tile:hover .cat-tile__media::after,
.cat-tile.is-active .cat-tile__media::after {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.32) 0%,
    rgba(0, 0, 0, 0.5) 48%,
    rgba(0, 0, 0, 0.86) 100%
  );
  box-shadow: inset 0 0 0 1px #ffffff;
}

.cat-tile__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 0.7rem 0.4rem 0.75rem;
  background: none;
  color: #ffffff;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-indent: 0.16em;
  text-transform: uppercase;
  line-height: 1.3;
}

.filter-chip {
  min-height: 38px;
  padding: 0 0.9rem;
  border: 1px solid var(--color-border);
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-nav);
  text-transform: uppercase;
}

.filter-chip.is-active {
  background: var(--color-ink);
  color: #fff;
  border-color: var(--color-ink);
}

.shop-layout {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  grid-template-areas:
    "filters intro"
    "filters results";
  column-gap: 2.8rem;
  row-gap: 0;
  align-items: start;
  padding-top: 1.8rem;
}

.shop-filters {
  grid-area: filters;
  display: grid;
  gap: 0;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.shop-intro {
  grid-area: intro;
  min-width: 0;
}

.shop-intro .page-title {
  margin: 0 0 0.35rem;
}

.shop-intro #result-count {
  margin: 0 0 1.25rem;
}

.shop-results {
  grid-area: results;
  min-width: 0;
}

.shop-filter-group {
  display: grid;
  gap: 0.7rem;
  padding-bottom: 1.35rem;
  margin-bottom: 1.35rem;
  border-bottom: 1px solid var(--color-border);
}

.shop-filter-group--search {
  gap: 0.85rem;
}

.shop-filter-title {
  margin: 0;
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-ink-muted);
}

.shop-filters__field {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.5rem;
  border-bottom: 1px solid var(--color-line);
  transition: border-color var(--duration-fast) var(--ease);
}

.shop-filters__field:focus-within {
  border-bottom-color: var(--color-ink);
}

.shop-filters__icon {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: var(--color-ink);
}

.shop-filters__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.shop-filters__field input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  padding: 0.45rem 0;
  background: transparent;
  font-family: inherit;
  font-size: var(--text-sm);
  color: var(--color-ink);
}

.shop-filters__field input::placeholder {
  color: var(--color-ink-subtle);
}

.shop-filters__field input::-webkit-search-cancel-button,
.shop-filters__field input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.shop-filter-list {
  display: grid;
}

.shop-filter-opt {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 2rem;
  padding: 0.15rem 0 0.15rem 0;
  padding-inline-start: 0.85rem;
  border: 0;
  background: transparent;
  text-align: start;
  font-size: var(--text-sm);
  line-height: 1.4;
  color: var(--color-ink-muted);
  position: relative;
  transition: color var(--duration-fast) var(--ease);
}

.shop-filter-opt::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  background: currentColor;
  opacity: 0;
  transform: translateY(-50%);
}

.shop-filter-opt:hover {
  color: var(--color-ink);
}

.shop-filter-opt.is-active {
  color: var(--color-ink);
}

.shop-filter-opt.is-active::before {
  opacity: 1;
}

.shop-filter-opt--check {
  gap: 0.7rem;
  padding-inline-start: 0;
}

.shop-filter-opt--check::before {
  display: none;
}

.shop-filter-box {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border: 1px solid var(--color-border-strong);
  background: transparent;
}

.shop-filter-opt--check.is-active .shop-filter-box {
  background: var(--color-ink);
  border-color: var(--color-ink);
  box-shadow: inset 0 0 0 1.5px #fff;
}

.shop-filters__reset {
  justify-self: start;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-ink-muted);
}

.shop-filters__reset:hover {
  color: var(--color-ink);
}

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.shop-toolbar--inline {
  justify-content: space-between;
  margin-top: 0.35rem;
}

.shop-toolbar__tools {
  display: flex;
  align-items: center;
  gap: 0.85rem 1.1rem;
  min-width: 0;
  flex: 1 1 auto;
}

.catalog-search {
  flex: 1 1 13rem;
  min-width: 0;
  max-width: 22rem;
  margin: 0;
}

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

.catalog-search__field {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.5rem;
  padding: 0 0.7rem 0 0.45rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color var(--duration-fast) var(--ease), box-shadow var(--duration-fast) var(--ease);
}

.catalog-search__field:hover {
  border-color: #c8c8c8;
}

.catalog-search__field:focus-within {
  border-color: var(--color-ink);
  box-shadow: 0 0 0 3px rgba(13, 27, 42, 0.08);
}

.catalog-search__submit {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-ink-muted);
}

.catalog-search__field:focus-within .catalog-search__submit {
  color: var(--color-ink);
}

.catalog-search__submit svg,
.catalog-search__clear svg {
  display: block;
  width: 16px;
  height: 16px;
}

.catalog-search__field input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  padding: 0.45rem 0;
  font-family: inherit;
  font-size: 0.9rem;
  line-height: 1.3;
  color: var(--color-ink);
}

.catalog-search__field input::placeholder {
  color: var(--color-ink-subtle, var(--color-ink-muted));
}

.catalog-search__field input::-webkit-search-cancel-button,
.catalog-search__field input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.catalog-search__clear {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  border-radius: 99px;
  background: transparent;
  color: var(--color-ink-muted);
}

.catalog-search__clear:hover {
  color: var(--color-ink);
  background: rgba(13, 27, 42, 0.06);
}

.catalog-search__clear[hidden] {
  display: none;
}

@media (max-width: 899px) {
  .shop-toolbar--inline {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "filter sort"
      "search search";
    align-items: center;
    column-gap: 0.85rem;
    row-gap: 0.7rem;
  }

  .shop-toolbar--inline .shop-toolbar__tools {
    display: contents;
  }

  .shop-toolbar--inline .catalog-filter-btn {
    grid-area: filter;
    justify-self: start;
  }

  .shop-toolbar--inline .catalog-search {
    grid-area: search;
    flex: none;
    max-width: none;
    width: 100%;
  }

  .shop-toolbar--inline .shop-sort {
    grid-area: sort;
    justify-self: end;
  }

  .catalog-search__field {
    min-height: 2.75rem;
    padding-inline: 0.8rem 0.5rem;
  }

  .catalog-search__field input {
    font-size: 1rem;
  }
}

.shop-sort {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex: 0 0 auto;
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-ink-muted);
}

.shop-sort select {
  min-width: 140px;
  border: 0;
  border-bottom: 1px solid var(--color-line);
  background: transparent;
  padding: 0.45rem 0;
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: min(var(--container), 100%);
  margin-inline: auto;
  padding: var(--space-7) var(--gutter);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.values h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0.2rem 0 0.6rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem 1.2rem;
}

.blog-card {
  display: grid;
  gap: 0.85rem;
  color: inherit;
}

.blog-card__media {
  display: block;
  overflow: hidden;
  background: var(--color-surface-elevated);
  aspect-ratio: 4 / 3;
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1s var(--ease);
}

.blog-card:hover img {
  transform: scale(1.03);
}

.blog-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
}

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

.article__hero {
  position: relative;
  min-height: min(62vh, 640px);
  color: #fff;
  overflow: hidden;
}

.article__hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.5));
}

.article__hero-body {
  position: relative;
  z-index: 1;
  width: min(var(--container), 100%);
  min-height: inherit;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3.5rem var(--gutter);
}

.article__hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 700;
  max-width: 16ch;
}

.article__content {
  padding-top: 2.4rem;
  padding-bottom: var(--space-8);
}

.article__content p {
  margin-top: 1.15rem;
  color: var(--color-ink-muted);
  line-height: 1.85;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(var(--container), 100%);
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
  padding-inline: var(--gutter);
  box-sizing: border-box;
  background: var(--color-border);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.service {
  background: #fff;
  padding: 3rem 2rem;
}

.service h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  margin: 0.4rem 0 0.8rem;
}

.page-hero {
  position: relative;
  isolation: isolate;
}

body:has(#main > .page-hero) {
  --mast-image: url("../img/catalog/photo-1445205170230-053b83016050.jpg");
}

body:has(#main > .page-hero)::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: var(--mast-image);
  background-size: cover;
  background-position: center;
  opacity: 0.14;
  pointer-events: none;
}

body:has(#main > .page-hero) #main,
body:has(#main > .page-hero) #app-footer {
  position: relative;
  z-index: 1;
}

.page-hero {
  width: min(var(--container), 100%);
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
  padding-block: clamp(4.2rem, 16vh, 7.5rem) 1.25rem;
  padding-inline: var(--gutter);
  box-sizing: border-box;
}

.page-hero.shop-mast {
  width: 100%;
  max-width: none;
  height: 30vh;
  min-height: 150px;
  padding: 0;
}

body[data-page="checkout"] {
  background: var(--color-surface-elevated);
}

body[data-page="checkout"] #app-header {
  background: #fff;
}

body[data-page="checkout"] .page-hero,
.page-hero--checkout,
.checkout-top {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: #fff;
  isolation: auto;
}

body[data-page="checkout"] .page-hero::before,
body[data-page="checkout"] .page-hero::after,
.page-hero--checkout::before,
.page-hero--checkout::after,
.checkout-top::before,
.checkout-top::after,
body[data-page="checkout"]::before,
body[data-page="login"]::before,
body[data-page="register"]::before,
body[data-page="forgot"]::before {
  content: none;
}

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

.checkout-mast {
  width: min(var(--container), 100%);
  max-width: 100%;
  margin-inline: auto;
  padding: 0.55rem var(--gutter) 1.05rem;
  box-sizing: border-box;
  border-bottom: 1px solid var(--color-border);
}

.checkout-mast__title,
body[data-page="checkout"] .page-hero .page-title,
.page-hero--checkout .page-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  text-align: start;
  color: var(--color-ink);
}

.checkout-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checkout-steps li {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 0.65rem;
}

.checkout-steps li:not(:last-child)::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  min-width: 0.75rem;
  margin-inline: 0.7rem 0.15rem;
  background: var(--color-border);
}

.checkout-steps__num {
  flex: none;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  background: #fff;
  color: var(--color-ink-subtle);
}

.checkout-steps__num svg {
  width: 16px;
  height: 16px;
}

.checkout-steps__text {
  display: grid;
  min-width: 0;
  gap: 0.05rem;
}

.checkout-steps__label {
  min-width: 0;
  color: var(--color-ink-subtle);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}

.checkout-steps__hint {
  color: var(--color-ink-muted, #6b6b6b);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.2;
}

.checkout-steps li.is-current .checkout-steps__num {
  border-color: var(--color-ink);
  background: var(--color-ink);
  color: #fff;
}

.checkout-steps li.is-current .checkout-steps__label {
  color: var(--color-ink);
}

@media (min-width: 900px) {
  .checkout-mast {
    padding-block: 0.7rem 1.15rem;
  }

  .checkout-steps__label {
    font-size: 1rem;
  }

  body[data-page="checkout"] .checkout-layout {
    grid-template-columns: minmax(0, 1.15fr) 340px;
    gap: 1.6rem 2rem;
    padding-bottom: 3.5rem;
  }

  body[data-page="checkout"] .checkout-summary {
    position: sticky;
    top: calc(var(--header-h) + 1rem);
  }
}

body[data-page="checkout"] .page-hero .eyebrow {
  display: none;
}

body[data-page="checkout"] .page-hero .steps {
  display: none;
}

.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  min-height: 160px;
  transform: translateX(-50%);
  pointer-events: none;
}

.page-hero::before {
  z-index: -2;
  background-image: var(--mast-image);
  background-size: cover;
  background-position: center 28%;
}

.page-hero:not(.page-hero--photo)::before {
  opacity: 0;
}

.page-hero::after {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 55%, rgba(255, 255, 255, 0.04) 100%);
}

.page-hero--photo {
  min-height: clamp(220px, 34vh, 360px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-block: 1.4rem 1.35rem;
  color: #fff;
  z-index: 0;
  will-change: transform;
}

.page-hero--photo::before {
  top: -18%;
  bottom: auto;
  height: 136%;
  min-height: 0;
  transform: translate3d(-50%, var(--mast-shift, 0px), 0);
}

.page-hero--photo::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 10%, rgba(0, 0, 0, 0.62) 100%);
}

#main:has(> .page-hero--photo) > .section {
  position: relative;
  z-index: 2;
  background: var(--color-bg);
  margin-top: -1.15rem;
  padding-top: 1.15rem !important;
  border-radius: 1.4rem 1.4rem 0 0;
  box-shadow: 0 -16px 40px rgba(13, 27, 42, 0.12);
}

#main:has(> .page-hero--photo) > .section::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: -2px;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: var(--color-bg);
  border-radius: 1.4rem 1.4rem 0 0;
  box-shadow: 0 -16px 40px rgba(13, 27, 42, 0.12);
  pointer-events: none;
}

#main:has(> .page-hero--photo) ~ #app-footer {
  position: relative;
  z-index: 3;
}

@media (max-width: 899px) {
  #main:has(.product-grid) > .page-hero,
  #main:has(.product-grid) > .hero {
    z-index: 0;
    will-change: transform;
  }

  #main:has(.product-grid) > .section:has(.product-grid) {
    position: relative;
    z-index: 2;
    margin-top: -1.35rem;
    padding-top: 1.2rem !important;
    border-radius: 1.45rem 1.45rem 0 0;
    background: transparent;
    box-shadow: none;
  }

  #main:has(.product-grid) > .section:has(.product-grid)::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: -3px;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    border-radius: 1.45rem 1.45rem 0 0;
    background: rgba(255, 255, 255, 0.52);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.62);
    box-shadow: 0 -18px 42px rgba(13, 27, 42, 0.12);
    pointer-events: none;
  }

  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    #main:has(.product-grid) > .section:has(.product-grid)::before {
      background: rgba(255, 255, 255, 0.94);
    }
  }

  #main:has(.product-grid) ~ #app-footer {
    position: relative;
    z-index: 3;
  }
}

.page-hero--photo .breadcrumb,
.page-hero--photo .breadcrumb a,
.page-hero--photo .eyebrow,
.page-hero--photo .page-title,
.page-hero--photo .muted {
  color: #fff;
}

.page-hero--photo .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

body[data-page="women"] {
  --mast-image: url("../img/catalog/photo-1490481651871-ab68de25d43d.jpg");
}

body[data-page="men"] {
  --mast-image: url("../img/catalog/photo-1617137968427-85924c800a22.jpg");
}

body[data-page="kids"] {
  --mast-image: url("../img/catalog/photo-1471286174890-9c112ffca5ba.jpg");
}

body[data-page="shop"],
body[data-page="search"],
body[data-page="category"],
body[data-page="collection"] {
  --mast-image: url("../img/catalog/photo-1441986300917-64674bd600d8.jpg");
}

body[data-page="blog"],
body[data-page="article"] {
  --mast-image: url("../img/catalog/photo-1469334031218-e382a71b716b.jpg");
}

body[data-page="stores"],
body[data-page="wholesale"],
body[data-page="about"],
body[data-page="faq"],
body[data-page="legal"],
body[data-page="returns"],
body[data-page="services"] {
  --mast-image: url("../img/catalog/photo-1441986300917-64674bd600d8.jpg");
}

body[data-page="contact"] {
  --mast-image: url("../img/contact/showroom.jpg");
}

body[data-page="account"],
body[data-page="profile"],
body[data-page="wishlist"] {
  --mast-image: url("../img/catalog/photo-1441986300917-64674bd600d8.jpg");
}

.page-hero--account {
  display: grid;
  align-content: end;
  min-height: clamp(300px, 44vh, 460px);
  padding-block: clamp(5.4rem, 13vh, 7.2rem) 2.2rem;
}

.page-hero--account::after {
  background:
    radial-gradient(90% 70% at 12% 18%, rgba(196, 92, 38, 0.22), transparent 58%),
    radial-gradient(80% 60% at 92% 8%, rgba(255, 255, 255, 0.14), transparent 46%),
    linear-gradient(
      180deg,
      rgba(10, 9, 8, 0.58) 0%,
      rgba(10, 9, 8, 0.36) 46%,
      rgba(10, 9, 8, 0.18) 74%,
      #ffffff 100%
    );
}

.account-mast {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  width: 100%;
  align-items: stretch;
}

@media (min-width: 900px) {
  .account-mast:has(#wholesale-note:not([hidden])) {
    grid-template-columns: minmax(0, 1.45fr) minmax(16.5rem, 0.85fr);
    gap: 1.1rem;
  }
}

.account-mast__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 1.35rem 1.45rem 1.3rem;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 20px;
  box-shadow: 0 22px 48px rgba(8, 7, 6, 0.22);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  color: #fff;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .account-mast__panel {
    background: rgba(28, 24, 22, 0.78);
  }
}

.account-mast__identity {
  gap: 0.15rem;
}

.account-mast .eyebrow {
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.72);
}

.account-mast .page-title {
  margin: 0;
  font-size: clamp(1.45rem, 2.8vw, 2.05rem);
  line-height: 1.28;
  color: #fff;
}

.account-mast__email {
  margin: 0.55rem 0 0;
  color: rgba(255, 255, 255, 0.7);
  word-break: break-word;
}

.page-hero--account .wholesale-status {
  max-width: none;
  margin: 0;
  padding: 1.25rem 1.4rem 1.3rem;
  gap: 0.35rem;
  justify-content: flex-start;
  background: rgba(18, 14, 12, 0.28);
  border-color: rgba(255, 255, 255, 0.28);
}

.page-hero--account .wholesale-status.is-ok {
  background: rgba(31, 122, 77, 0.22);
  border-color: rgba(180, 230, 200, 0.35);
}

.page-hero--account .wholesale-status.is-pending {
  background: rgba(196, 92, 38, 0.22);
  border-color: rgba(232, 176, 132, 0.4);
}

.page-hero--account .wholesale-status.is-rejected {
  background: rgba(180, 35, 24, 0.16);
  border-color: rgba(232, 140, 132, 0.4);
}

.account-mast__badge {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 0.45rem;
  padding: 0.22rem 0.62rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: var(--text-2xs);
  color: rgba(255, 255, 255, 0.86);
}

.account-mast__badge.is-ok {
  background: rgba(255, 255, 255, 0.16);
}

.page-hero--account .wholesale-status strong {
  font-size: 1.12rem;
  margin-bottom: 0.1rem;
  color: #fff;
}

.page-hero--account .wholesale-status p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.65;
}

.page-hero--account .wholesale-status p:has(> a) {
  margin-top: 0.35rem;
}

.account-mast__cta,
.page-hero--account .wholesale-status a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: 0.85rem;
  min-height: 42px;
  padding: 0 1.15rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--brand-navy);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  transition: transform var(--duration-fast) var(--ease), background var(--duration-fast) var(--ease);
}

.account-mast__cta:hover,
.page-hero--account .wholesale-status a:hover {
  background: #f4f4f4;
  color: var(--brand-navy);
  transform: translateY(-1px);
}

.page-hero--account .wholesale-status a::after {
  content: none;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-ink-muted);
}

.breadcrumb a:hover {
  color: var(--color-ink);
}

/* PDP */
.pdp {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  width: min(var(--container), 100%);
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
  padding: 1.5rem var(--gutter) 4rem;
  box-sizing: border-box;
}

.pdp-gallery {
  display: grid;
  gap: 0.5rem;
}

.pdp-gallery__stage {
  position: relative;
}

.pdp-gallery__track {
  display: grid;
  gap: 0.5rem;
}

.pdp-gallery__shot {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}

.pdp-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: var(--product-image-ratio, 5 / 6);
  object-fit: cover;
  object-position: center;
  background: var(--color-surface-elevated);
}

.pdp-zoom-lens {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: none;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.45);
}

.pdp-gallery__shot.is-zooming .pdp-zoom-lens {
  display: block;
}

.pdp-zoom-pane {
  display: none;
}

@media (hover: hover) and (pointer: fine) and (min-width: 900px) {
  .pdp-zoom-pane {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 20;
    width: 100%;
    aspect-ratio: var(--product-image-ratio, 5 / 6);
    overflow: hidden;
    background: var(--color-bg);
    border: 1px solid var(--color-line, rgba(17, 17, 17, 0.12));
    box-shadow: 0 18px 40px rgba(17, 17, 17, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .pdp.is-zooming .pdp-zoom-pane {
    opacity: 1;
    visibility: visible;
  }

  .pdp-zoom-pane img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform-origin: 0 0;
    will-change: transform;
    pointer-events: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pdp-zoom-pane,
  .pdp-zoom-lens {
    display: none !important;
  }
}

.pdp-gallery__thumbs,
.pdp-sticky {
  display: none;
}

.pdp-info {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  align-self: start;
}

.pdp-info h1 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  margin: 0.3rem 0 0.6rem;
}

.pdp-price {
  font-size: 1.05rem;
  margin-bottom: 1.4rem;
}

.pdp-price.is-sale,
.pdp-price.is-wholesale {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.7rem;
}

.pdp-price s {
  color: var(--color-ink-muted);
  font-weight: 400;
  font-size: 0.92rem;
}

.pdp-price > span {
  display: inline-flex;
  align-items: baseline;
  gap: 0.28em;
  color: var(--color-ink);
  font-weight: 600;
}

.pdp-price .currency {
  font-size: 0.72em;
  font-weight: 500;
  color: var(--color-ink-muted);
}

.pdp-pack-note {
  margin: -0.35rem 0 0.9rem;
  font-size: 0.86rem;
  line-height: 1.7;
}

.pdp-offer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  margin-bottom: 1rem;
}

.pdp-offer .pdp-price {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.pdp-offer .pdp-mode-switch {
  flex: 0 0 auto;
}

.pdp-offer .pdp-mode-switch button {
  min-width: 3.9rem;
  min-height: 2.35rem;
  padding: 0 0.9rem;
  font-size: var(--text-xs);
}

.pdp-mode-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 0;
  padding: 3px;
  border-radius: 999px;
  background: var(--color-surface-elevated);
  box-shadow: inset 0 0 0 1px var(--color-border);
}

.pdp-mode-switch button {
  margin: 0;
  border: 0;
  border-radius: 999px;
  min-width: 2.7rem;
  min-height: 1.9rem;
  padding: 0 0.7rem;
  background: transparent;
  color: var(--color-ink-muted);
  font: inherit;
  font-size: var(--text-2xs);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.pdp-mode-switch button.is-active {
  background: #fff;
  color: var(--color-ink);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.pdp-mode-switch button:focus-visible {
  outline: 2px solid var(--color-ink);
  outline-offset: 2px;
}

.pdp-price.is-sale > span {
  color: var(--color-sale);
}

.pdp-price.is-wholesale > span {
  color: var(--color-ink);
}

.pdp-price i {
  font-style: normal;
  font-size: var(--text-2xs);
  letter-spacing: 0.04em;
  font-weight: 600;
  color: #fff;
  background: var(--color-sale);
  padding: 0.22rem 0.52rem;
}

.pdp-price i.wholesale-flag {
  background: var(--color-ink);
}

.pdp-price i.unit-flag {
  background: var(--color-surface-elevated);
  color: var(--color-ink-muted);
}

.wholesale-tag {
  display: inline-block;
  margin-inline-start: 0.4rem;
  padding: 0.12rem 0.42rem;
  border: 1px solid currentColor;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  font-weight: 600;
  vertical-align: middle;
}

.product-card__price .wholesale-tag {
  flex-basis: 100%;
  margin-inline-start: 0;
  margin-top: 0.12rem;
  letter-spacing: 0.04em;
}

.wholesale-status {
  margin: 0 0 1.4rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.wholesale-status strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.page-hero .wholesale-status {
  max-width: 46ch;
  margin-top: 1.2rem;
}

.page-hero--account .wholesale-status {
  max-width: none;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.wholesale-process {
  margin-bottom: 0;
}

.wh-page {
  width: min(var(--container), 100%);
  max-width: 100%;
  margin-inline: auto;
  padding:
    calc(var(--header-h) + 0.85rem)
    max(var(--gutter), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px))
    calc(2rem + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

.wh-hero h1,
.wh-form h2,
.wh-card h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 5vw, 1.85rem);
  font-weight: 700;
}

.wh-hero p,
.wh-card p,
.wh-status p {
  margin: 0;
  color: var(--color-ink-muted);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.wh-hero {
  margin-bottom: 1.1rem;
}

.wh-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.wh-card__top h2 {
  margin: 0;
}

.wh-badge {
  flex: none;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: var(--text-2xs);
  font-weight: 700;
  background: #f3f3f5;
}

.wh-badge--pending {
  background: #fff1e6;
  color: #b45309;
}

.wh-badge--approved {
  background: #e8f6ee;
  color: #1f7a4d;
}

.wh-badge--rejected {
  background: #fdecec;
  color: var(--color-error);
}

.wh-form__lead {
  margin: 0 0 1rem;
  color: var(--color-ink-muted);
  line-height: 1.7;
}

.wh-form[hidden],
.wh-card[hidden] {
  display: none !important;
}

.wh-flash {
  margin: 0 0 0.9rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: #eef8f1;
  color: #1f7a4d;
  font-size: var(--text-sm);
}

.wh-flash--error {
  background: #fdecec;
  color: var(--color-error);
}

.wh-status,
.wh-card,
.wh-form {
  margin-bottom: 0.9rem;
  padding: 1.15rem 1.1rem 1.2rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(17, 17, 17, 0.05);
}

.wh-status--approved {
  background: #f1f8f4;
  border-color: rgba(31, 122, 77, 0.2);
}

.wh-status--pending {
  background: #fff8f3;
  border-color: rgba(196, 92, 38, 0.22);
}

.wh-status--rejected {
  background: #fdf4f4;
  border-color: rgba(180, 35, 24, 0.2);
}

.wh-status strong,
.wh-status .btn {
  display: inline-flex;
  margin-top: 0.85rem;
}

.wh-status strong {
  display: block;
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.wh-status__reason {
  margin: 0.55rem 0 !important;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  background: rgba(180, 35, 24, 0.08);
  color: var(--color-error) !important;
  font-weight: 600;
}

.wh-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 0.7rem;
  border-radius: 50%;
  background: #f3f3f5;
}

.wh-card__icon svg {
  width: 24px;
  height: 24px;
}

.wh-actions {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
}

.wh-dl {
  display: grid;
  gap: 0.75rem;
  margin: 0.9rem 0 0;
}

.wh-dl div {
  display: grid;
  gap: 0.2rem;
}

.wh-dl dt {
  font-size: var(--text-2xs);
  color: var(--color-ink-subtle);
}

.wh-dl dd {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.wh-photo {
  width: 100%;
  max-height: 220px;
  margin-top: 0.9rem;
  object-fit: cover;
  border-radius: 14px;
}

.wh-form .field {
  margin-bottom: 1rem;
}

.wh-form input,
.wh-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.85rem 0;
  font-size: 16px;
  box-sizing: border-box;
}

.wh-form textarea {
  min-height: 110px;
  resize: vertical;
}

.wh-form .btn[type="submit"] {
  min-height: 52px;
  font-size: 1rem;
}

.wh-upload {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: 52px;
  padding: 0.7rem 0.9rem;
  border: 1px dashed var(--color-line);
  border-radius: 14px;
  background: #fafafa;
  font-size: var(--text-sm);
  cursor: pointer;
}

.wh-upload input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.wh-hint {
  margin: 0.35rem 0 0;
  font-size: var(--text-2xs);
  color: var(--color-ink-subtle);
}

.wh-photo--thumb {
  max-height: 140px;
  margin-top: 0.55rem;
}

@media (max-width: 719px) {
  .wh-form .btn[type="submit"] {
    position: sticky;
    bottom: calc(0.55rem + env(safe-area-inset-bottom, 0px));
    z-index: 3;
    box-shadow: 0 10px 24px rgba(17, 17, 17, 0.16);
  }
}

@media (max-width: 380px) {
  .wh-page {
    padding-inline: max(0.75rem, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  }

  .wh-status,
  .wh-card,
  .wh-form {
    padding: 1rem 0.85rem 1.05rem;
    border-radius: 16px;
  }
}

@media (min-width: 720px) {
  .wh-page {
    max-width: 640px;
    padding-top: calc(var(--header-h) + 1.6rem);
  }
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.7rem 0 1.3rem;
}

.swatches--named {
  gap: 0.45rem;
}

.swatch {
  width: 22px;
  height: 22px;
  border: 1px solid #cfcfcf;
  border-radius: 99px;
}

.swatch.is-active {
  outline: 1px solid var(--color-ink);
  outline-offset: 3px;
}

.swatch--named {
  width: auto;
  height: auto;
  min-height: 34px;
  padding-block: 0.22rem;
  padding-inline-start: 0.28rem;
  padding-inline-end: 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--color-border);
  background: #fff;
}

.swatch--named.is-active {
  outline: none;
  border-color: var(--color-ink);
}

.swatch__chip {
  width: 18px;
  height: 18px;
  border-radius: 99px;
  border: 1px solid #cfcfcf;
  flex-shrink: 0;
}

.swatch__name {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-ink);
  line-height: 1.2;
}

.sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.6rem 0 1.5rem;
}

.size {
  min-width: 48px;
  min-height: 42px;
  height: auto;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--color-border);
  font-size: var(--text-xs);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.05rem;
}

.size small {
  font-size: 0.62rem;
  font-weight: 500;
  opacity: 0.75;
}

.size.is-active {
  background: var(--color-ink);
  color: #fff;
  border-color: var(--color-ink);
}

.pdp-actions {
  display: grid;
  gap: 0.7rem;
  margin: 0.4rem 0 1.6rem;
}

.pdp-bag {
  display: grid;
}

.pdp-bag__add {
  width: 100%;
}

.pdp-bag__add[hidden],
.pdp-bag__in[hidden],
.pdp-bag.is-in-cart .pdp-bag__add,
.pdp-bag:not(.is-in-cart) .pdp-bag__in {
  display: none !important;
}

.pdp-bag__in {
  display: grid;
  gap: 0.7rem;
  padding: 0.85rem 1rem 1rem;
  background: var(--color-surface-elevated);
  border: 1px solid var(--color-border);
}

.pdp-bag__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.pdp-bag__total-label {
  font-size: var(--text-2xs);
  font-weight: 600;
  color: var(--color-ink-muted);
}

.pdp-bag__total-price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.2rem;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--color-ink);
  font-variant-numeric: tabular-nums;
}

.pdp-bag__total-price .currency {
  font-size: 0.68em;
  font-weight: 500;
  color: var(--color-ink-muted);
}

.pdp-bag__stepper {
  display: grid;
  grid-template-columns: 2.7rem 1fr 2.7rem;
  align-items: stretch;
  min-height: 44px;
  overflow: hidden;
  border: 1px solid var(--color-ink);
  background: #fff;
  color: var(--color-ink);
}

.pdp-bag__stepper button {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.pdp-bag__stepper button:hover {
  background: var(--color-bg-warm);
}

.pdp-bag__stepper span {
  display: grid;
  place-items: center;
  min-width: 3.2rem;
  padding-inline: 0.45rem;
  font-size: var(--text-sm);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  pointer-events: none;
  border-inline: 1px solid var(--color-border);
}

.pdp-extra {
  border-top: 1px solid var(--color-border);
  padding-top: 1.2rem;
  font-size: var(--text-sm);
  color: var(--color-ink-muted);
}

.pdp-extra details {
  border-bottom: 1px solid var(--color-border);
  padding: 0.9rem 0;
}

.pdp-extra ul {
  margin: 0.75rem 0 0;
  padding-right: 1.1rem;
  padding-left: 0;
  list-style: disc;
}

.pdp-extra li {
  margin: 0.2rem 0;
}

.pdp-extra summary {
  cursor: pointer;
  letter-spacing: var(--tracking-nav);
  text-transform: uppercase;
  font-size: var(--text-2xs);
  color: var(--color-ink);
  list-style: none;
}

.pdp-extra summary::-webkit-details-marker {
  display: none;
}

.pdp-title-en {
  margin: 0.15rem 0 0;
  font-size: var(--text-sm);
}

.pdp-size-link {
  margin: 0.45rem 0 0;
  font-size: var(--text-xs);
}

.pdp-size-link a {
  color: var(--color-ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.pdp-extra .pdp-specs,
.pdp-extra .pdp-rates {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}

.pdp-extra .pdp-specs li,
.pdp-extra .pdp-rates li {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 0.6rem;
  padding: 0.55rem 0;
  margin: 0;
  border-bottom: 1px solid var(--color-border);
  list-style: none;
}

.pdp-specs li span:first-child,
.pdp-rates li span:first-child {
  color: var(--color-ink);
  font-weight: 600;
}

.pdp-copy {
  white-space: pre-wrap;
  margin: 0.75rem 0 0;
  line-height: 1.85;
}

.pdp-guide-wrap {
  overflow-x: auto;
  margin-top: 0.5rem;
}

.pdp-guide-note {
  margin: 0.65rem 0 0;
  font-size: 0.8rem;
  color: var(--color-ink-muted);
  text-align: right;
}

.pdp-guide {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.pdp-guide th,
.pdp-guide td {
  padding: 0.7rem 0.5rem;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.pdp-guide th {
  background: transparent;
  color: var(--color-ink);
  font-weight: 700;
  font-size: 0.8rem;
}

.pdp-guide tbody tr:last-child td {
  border-bottom-color: var(--color-border);
}

#pdp-size-guide {
  scroll-margin-top: 5.5rem;
}

.pdp-consult {
  margin-top: 0.85rem;
}

.pdp-consult__phones {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.pdp-consult__call {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  color: var(--color-ink);
  font-size: 0.92rem;
  font-weight: 500;
}

.pdp-consult__call:hover {
  color: var(--color-ink);
}

.pdp-consult__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  background: #fff;
}

.pdp-consult__icon svg {
  width: 16px;
  height: 16px;
}

.pdp-extra .socials--pdp {
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.pdp-extra .socials--pdp > a,
.pdp-extra .socials--pdp .socials__link {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.pdp-extra .socials--pdp > a:hover,
.pdp-extra .socials--pdp .socials__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.pdp-extra .socials--pdp svg,
.pdp-extra .socials--pdp .socials__img {
  width: 18px;
  height: 18px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-lightbox);
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--brand-navy);
  color: #fff;
}

.lightbox[hidden] {
  display: none;
}

html.is-lightbox-open,
html.is-lightbox-open body {
  overflow: hidden;
}

html.is-lightbox-open .pdp-sticky {
  display: none !important;
}

.lightbox__top,
.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.85rem;
  padding-inline: max(0.85rem, env(safe-area-inset-left), env(safe-area-inset-right));
}

.lightbox__top {
  padding-top: max(0.55rem, env(safe-area-inset-top));
}

.lightbox__bar {
  padding-bottom: max(0.7rem, env(safe-area-inset-bottom));
}

.lightbox__count,
.lightbox__hint {
  font-size: var(--text-2xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.lightbox__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background: transparent;
  border: 0;
  flex: 0 0 auto;
}

.lightbox__icon svg {
  width: 20px;
  height: 20px;
}

.lightbox__zoom {
  display: flex;
  gap: 0.15rem;
}

.lightbox__stage {
  position: relative;
  overflow: hidden;
  touch-action: none;
  cursor: zoom-in;
}

.lightbox__stage.is-zoomed {
  cursor: grab;
}

.lightbox__stage.is-zoomed:active {
  cursor: grabbing;
}

.lightbox__img {
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transform-origin: center center;
  user-select: none;
  -webkit-user-drag: none;
  will-change: transform;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  color: #fff;
  background: rgba(0, 0, 0, 0.28);
  border: 0;
}

.lightbox__nav svg {
  width: 18px;
  height: 18px;
}

.lightbox__nav--prev {
  right: 0.7rem;
}

.lightbox__nav--next {
  left: 0.7rem;
}

.lightbox__nav[hidden] {
  display: none;
}

/* Auth */
.auth-page {
  min-height: calc(100vh - var(--header-h) - 280px);
  display: grid;
  place-items: center;
  width: min(var(--container), 100%);
  margin-inline: auto;
  padding: 4rem var(--gutter);
}

.auth-card {
  width: min(440px, 100%);
  font-family: var(--font-body);
}

.legacy-content .auth-page,
.legacy-content .auth-page input,
.legacy-content .auth-page button,
.legacy-content .auth-page label,
.legacy-content .auth-page p,
.legacy-content .auth-page h1 {
  font-family: var(--font-body);
}

.auth-field__box {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 56px;
  padding: 0 0.95rem;
  background: #f3f3f5;
  border: 1px solid transparent;
  border-radius: 14px;
}

.auth-field__box:hover,
.auth-field__box:focus,
.auth-field__box:focus-within {
  background: #f3f3f5;
  border-color: transparent;
  box-shadow: none;
}

.auth-field__box input,
.auth-field__box input:hover,
.auth-field__box input:focus,
.auth-field__box input:focus-visible {
  outline: none;
  box-shadow: none;
  border: 0;
  border-bottom: 0;
}

.auth-field__icon {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: var(--color-ink-muted);
}

.auth-field__icon svg {
  width: 20px;
  height: 20px;
}

.auth-page .auth-field__box input,
.legacy-content .auth-page .auth-field__box input,
.auth-card .auth-field__box input {
  flex: 1;
  min-width: 0;
  width: auto;
  border: 0;
  border-bottom: 0;
  border-radius: 0;
  background: transparent;
  padding: 0.85rem 0;
  font-family: var(--font-body);
  font-size: 1rem;
}

.auth-page .auth-field__box input:focus,
.legacy-content .auth-page .auth-field__box input:focus,
.auth-card .auth-field__box input:focus {
  border-bottom: 0;
  box-shadow: none;
}

.field.is-error .auth-field__box {
  border-color: var(--color-error);
  background: #fff7f6;
}

.field.is-error .auth-field__box input {
  border-bottom: 0;
}

.auth-field__box--phone {
  padding-inline: 1rem 1.05rem;
}

.auth-field__box--phone .auth-field__icon {
  color: var(--color-ink);
  opacity: 0.45;
}

.auth-field__box--phone:focus-within .auth-field__icon {
  opacity: 0.45;
}

.auth-field__input--phone,
.legacy-content .auth-page .auth-field__input--phone {
  font-family: var(--font-body);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  direction: ltr;
  text-align: left;
  font-variant-numeric: tabular-nums;
}

.auth-field__input--phone::placeholder {
  font-weight: 500;
  color: var(--color-ink-muted);
  opacity: 0.65;
}

.btn__idle[hidden],
.btn__busy[hidden] {
  display: none !important;
}

.btn__busy {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn__spinner {
  width: 1.05rem;
  height: 1.05rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: auth-spin 0.65s linear infinite;
  flex-shrink: 0;
}

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

.btn.is-loading {
  pointer-events: none;
}

.auth-field__eye {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  position: static;
  transform: none;
  color: var(--color-ink-muted);
}

.auth-field__eye:hover {
  color: var(--color-ink);
}

.auth-field__box.password-wrap .icon-btn {
  position: static;
  transform: none;
  left: auto;
  top: auto;
}

.auth-field__box.password-wrap input {
  padding-left: 0;
}

.auth-page .btn {
  gap: 0.55rem;
}

.auth-page .btn__icon,
.auth-page .auth-switch__icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
}

.auth-page .btn__icon svg,
.auth-page .auth-switch__icon svg {
  width: 18px;
  height: 18px;
}

.auth-switch button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.legacy-content .auth-card,
.legacy-content .auth-card h1,
.legacy-content .auth-card h2,
.legacy-content .auth-card h3,
.legacy-content .auth-card label,
.legacy-content .auth-card input,
.legacy-content .auth-card button,
.legacy-content .auth-card p {
  font-family: var(--font-body);
}

.auth-card h1 {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.auth-switch {
  margin-top: 1.4rem;
  font-size: var(--text-sm);
  color: var(--color-ink-muted);
}

.auth-switch a,
.auth-switch button {
  color: var(--color-ink);
  border-bottom: 1px solid var(--color-ink);
}

.auth-switch button {
  background: none;
  border: 0;
  border-bottom: 1px solid var(--color-ink);
  padding: 0;
  font: inherit;
}

.auth-switch button:disabled {
  color: var(--color-ink-subtle);
  border-bottom-color: transparent;
  cursor: not-allowed;
}

.auth-inline-hint {
  margin: -0.55rem 0 1rem;
  font-size: var(--text-sm);
  color: var(--color-ink-muted);
}

.auth-switch .auth-login-forget {
  padding: 0.55rem 0;
}

.auth-step {
  display: none;
}

.auth-step.is-active {
  display: block;
}

.auth-step__hint {
  margin: 0 0 1.2rem;
  font-size: var(--text-sm);
}

.auth-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0 0 1.35rem;
  padding: 0.9rem 1rem;
  border: 1px solid transparent;
  border-radius: 14px;
}

.auth-notice[hidden] {
  display: none !important;
}

.auth-notice__icon {
  flex: 0 0 2.15rem;
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
}

.auth-notice__icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.auth-notice__body {
  min-width: 0;
  flex: 1;
}

.auth-notice__title {
  margin: 0 0 0.28rem;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.4;
}

.auth-notice__text {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.65;
}

.auth-notice__phone {
  display: inline-block;
  margin: 0 0.15em;
  padding: 0.05em 0.45em;
  border-radius: 6px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.auth-notice--new {
  background: rgba(0, 0, 0, 0.045);
  border-color: rgba(0, 0, 0, 0.08);
  color: var(--color-ink);
}

.auth-notice--new .auth-notice__icon {
  background: rgba(0, 0, 0, 0.08);
  color: var(--color-ink);
}

.auth-notice--new .auth-notice__phone {
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.auth-notice--known {
  background: rgba(31, 122, 77, 0.08);
  border-color: rgba(31, 122, 77, 0.16);
  color: var(--color-ink);
}

.auth-notice--known .auth-notice__icon {
  background: rgba(31, 122, 77, 0.14);
  color: var(--color-success);
}

.auth-notice--known .auth-notice__title {
  color: var(--color-success);
}

.auth-notice--known .auth-notice__phone {
  background: rgba(255, 255, 255, 0.8);
}

.auth-notice--error {
  background: rgba(180, 35, 24, 0.07);
  border-color: rgba(180, 35, 24, 0.16);
  color: var(--color-error);
}

.auth-notice--error .auth-notice__icon {
  background: rgba(180, 35, 24, 0.12);
  color: var(--color-error);
}

.auth-notice--error .auth-notice__text {
  font-weight: 700;
}

.auth-card [hidden] {
  display: none !important;
}

.auth-otp-panel {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.auth-otp-panel[hidden] {
  display: none !important;
}

.auth-field__box--otp {
  padding-inline: 1rem 0.85rem;
}

.auth-field__input--otp,
#auth-otp-existing,
#auth-otp-new {
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0.42em;
  text-align: center;
  direction: ltr;
  font-variant-numeric: tabular-nums;
}

.auth-field__input--otp::placeholder,
#auth-otp-existing::placeholder,
#auth-otp-new::placeholder {
  letter-spacing: 0.42em;
  font-weight: 500;
}

.auth-switch button.is-loading {
  border-bottom-color: transparent;
  pointer-events: none;
}

.auth-login-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.8rem 0 1.2rem;
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-ink-subtle);
}

.auth-login-divider::before,
.auth-login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.auth-card .captchaQuick {
  display: flex;
  justify-content: center;
  margin: 0.4rem 0 1.2rem;
}

.auth-forget-hint {
  margin-bottom: 1.2rem;
}

.auth-forget-wait-alert {
  margin: 0 0 1.2rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  font-size: var(--text-sm);
  color: var(--color-ink-muted);
}

.auth-login-new-user-msg {
  margin-top: 1.2rem;
  font-size: var(--text-sm);
  color: var(--color-ink-muted);
}

.auth-login-new-user-msg a {
  color: var(--color-ink);
  border-bottom: 1px solid var(--color-ink);
}

.auth-mobile-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.6rem;
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-nav);
  text-transform: uppercase;
}

.auth-mobile-steps {
  display: flex;
  gap: 1.4rem;
  margin-bottom: 2rem;
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-ink-subtle);
}

.auth-mobile-step.active {
  color: var(--color-ink);
}

.auth-mobile-step.done {
  color: var(--color-ink-muted);
}

.auth-mobile-panel {
  display: none;
}

.auth-mobile-panel.active {
  display: block;
}

.otp-hint,
.profile-hint {
  margin-bottom: 1.2rem;
}

#otp-code {
  letter-spacing: 0.28em;
  text-align: center;
}

.auth-card .btn:disabled,
.auth-card .btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.auth-card .btn.is-loading:disabled {
  opacity: 1;
  cursor: wait;
}

.auth-card .btn-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
}

/* Cart / checkout */
.line {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}

.line img {
  width: 92px;
  height: 116px;
  object-fit: cover;
  background: var(--color-surface-elevated);
}

.line__missing {
  display: block;
  width: 92px;
  height: 116px;
  background: var(--color-surface-elevated);
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  margin-top: 0.55rem;
}

.qty button,
.qty span {
  height: 32px;
  display: grid;
  place-items: center;
  font-size: var(--text-sm);
}

.qty button {
  width: 32px;
  flex: 0 0 32px;
}

.qty span {
  width: auto;
  min-width: 2.6rem;
  padding-inline: 0.5rem;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.cart-layout,
.checkout-layout,
.account-layout {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr;
  gap: 3rem;
  padding-block: 1rem 4.5rem;
}

body[data-page="account"] .account-layout {
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 1.35rem;
  align-items: start;
  padding-block: 0.6rem 4.5rem;
}

body[data-page="profile"] .account-layout {
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 2.4rem;
  padding-block: 0 3.8rem;
}

body[data-page="profile"] #main.account-page {
  padding-top: calc(var(--header-h) + 1.6rem);
}

body[data-page="profile"] .account-aside {
  position: sticky;
  top: calc(var(--header-h) + 1.2rem);
}

.summary {
  border-top: 1px solid var(--color-ink);
  padding-top: 1.3rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.7rem;
  font-size: var(--text-sm);
}

.steps {
  display: flex;
  gap: 1.4rem;
  margin-bottom: 2rem;
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-ink-subtle);
}

.steps .is-active {
  color: var(--color-ink);
}

body[data-page="checkout"] .checkout-layout {
  align-items: start;
  padding-top: 1.25rem;
  padding-bottom: 3.5rem;
  gap: 1.6rem;
}

.checkout-submit-inline {
  display: none;
}

.account-aside {
  align-self: start;
}

.account-nav {
  display: grid;
  gap: 0.15rem;
  align-content: start;
}

.account-nav a,
.account-nav button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem;
  width: 100%;
  text-align: right;
  padding: 0.55rem 0.15rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.82rem;
  background: none;
}

.account-nav__icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-border);
  color: var(--color-ink);
}

.account-nav__icon svg {
  width: 15px;
  height: 15px;
}

.account-nav .is-active {
  color: var(--color-ink);
}

.account-nav .is-active .account-nav__icon {
  background: var(--color-ink);
  border-color: var(--color-ink);
  color: #fff;
}

.account-panel {
  display: none;
}

.account-panel.is-active {
  display: block;
}

.account-nav__logout {
  color: var(--color-error, #9a3b3b);
}

.account-nav__logout .account-nav__icon {
  border-color: rgba(154, 59, 59, 0.35);
  color: var(--color-error, #9a3b3b);
}

.account-nav__label--short {
  display: none;
}

body[data-page="account"] .account-nav {
  gap: 0.28rem;
  padding: 0.7rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(17, 17, 17, 0.05);
}

body[data-page="account"] .account-nav a,
body[data-page="account"] .account-nav button {
  padding: 0.72rem 0.75rem;
  border: 0;
  border-radius: 14px;
  font-size: 0.88rem;
  color: var(--color-ink);
}

body[data-page="account"] .account-nav a:hover,
body[data-page="account"] .account-nav button:hover {
  background: #f5f5f7;
}

body[data-page="account"] .account-nav .is-active {
  background: var(--brand-navy);
  color: #fff;
}

body[data-page="account"] .account-nav__icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border: 0;
  border-radius: 50%;
  background: #f0f0f2;
}

body[data-page="account"] .account-nav .is-active .account-nav__icon {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

body[data-page="account"] .account-nav__logout:hover {
  background: #f8e8e6;
}

body[data-page="account"] .account-workspace {
  min-height: 340px;
  padding: 1.35rem 1.45rem 1.5rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(17, 17, 17, 0.05);
}

body[data-page="account"] .account-panel__head {
  margin-bottom: 0.4rem;
}

body[data-page="account"] .account-empty {
  justify-items: center;
  align-content: center;
  text-align: center;
  min-height: 260px;
  padding: 2.4rem 1rem 2.2rem;
}

body[data-page="account"] .account-empty__mark {
  width: 72px;
  height: 72px;
  border: 0;
  border-radius: 50%;
  background: #f3f3f5;
  color: var(--brand-navy);
  margin-bottom: 0.55rem;
}

body[data-page="account"] .account-empty__mark svg {
  width: 28px;
  height: 28px;
}

body[data-page="account"] .account-empty__title {
  font-size: 1.35rem;
}

body[data-page="account"] .account-empty__text {
  max-width: 26rem;
  margin: 0 0 1.15rem;
}

body[data-page="account"] .account-form {
  max-width: 34rem;
  margin-top: 0.8rem;
}

.account-dock,
.account-more,
.site-dock {
  display: none;
}

.account-wallet {
  margin-top: 0.45rem;
}

.account-head {
  width: min(var(--container), 100%);
  max-width: 100%;
  margin-inline: auto;
  padding: 0 var(--gutter) 1.8rem;
  box-sizing: border-box;
}

.account-head .eyebrow {
  margin-bottom: 0.2rem;
  text-transform: none;
  letter-spacing: 0;
}

.account-head .breadcrumb {
  margin-bottom: 0.35rem;
  text-transform: none;
  letter-spacing: 0;
}

.account-head__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.7rem);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  line-height: 1.25;
}

.account-head__meta {
  margin: 0.3rem 0 0;
  font-size: var(--text-sm);
}

.account-head__chip {
  display: inline-block;
  margin: 0.7rem 0 0;
  padding: 0.18rem 0.55rem;
  border: 1px solid var(--color-border);
  font-size: var(--text-2xs);
}

.account-head__note {
  margin: 0.5rem 0 0;
  font-size: var(--text-sm);
}

.account-head__note a {
  margin-right: 0.4rem;
  text-decoration: underline;
}

.account-head__lead {
  margin: 0.45rem 0 0;
  max-width: 34rem;
  color: var(--color-ink-muted);
  font-size: var(--text-sm);
}

.account-welcome {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.4rem 2rem;
  flex-wrap: wrap;
}

.account-welcome__id {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: min(100%, 22rem);
}

.account-welcome__avatar {
  width: 4rem;
  height: 4rem;
  flex: 0 0 4rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-ink);
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
}

.account-welcome__copy {
  min-width: 0;
}

.account-welcome__lead {
  margin: 0.4rem 0 0;
  max-width: 34rem;
  color: var(--color-ink-muted);
  font-size: var(--text-sm);
}

.account-welcome__lead span {
  display: inline-block;
  margin-right: 0.55rem;
}

.account-welcome__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.account-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.account-stat {
  display: grid;
  gap: 0.2rem;
  min-height: 5.2rem;
  padding: 0.95rem 0.9rem;
  border: 1px solid var(--color-border);
}

.account-stat:hover {
  border-color: var(--color-ink);
}

.account-stat__value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.15;
}

.account-stat__label {
  font-size: var(--text-2xs);
  color: var(--color-ink-muted);
}

.account-panel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}

.account-panel__head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.account-card {
  padding: 1.2rem 0 0;
}

.account-form {
  max-width: 34rem;
}

.account-empty {
  display: grid;
  justify-items: start;
  gap: 0.55rem;
  padding: 1.8rem 0 2rem;
}

.account-empty__mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-border);
  margin-bottom: 0.25rem;
}

.account-empty__mark svg {
  width: 20px;
  height: 20px;
}

.account-empty__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.account-empty__text {
  margin: 0 0 0.55rem;
  max-width: 28rem;
  color: var(--color-ink-muted);
  font-size: var(--text-sm);
}

.account-flash {
  margin: 0 0 1.2rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--text-sm);
}

.account-flash--error {
  color: var(--color-error, #9a3b3b);
}

.account-wholesale-note {
  margin: 0 0 1.2rem;
  padding: 0.9rem 0 1rem;
  border-bottom: 1px solid var(--color-border);
}

.account-wholesale-note strong {
  display: block;
  margin-bottom: 0.35rem;
}

.account-wholesale-note p {
  margin: 0.25rem 0 0;
  font-size: var(--text-sm);
}

.account-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.2rem;
  margin-top: 1.2rem;
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

.account-filters a {
  color: var(--color-ink-muted);
}

.account-filters .is-active {
  color: var(--color-ink);
}

.status-pill {
  font-size: var(--text-xs);
}

.status-pill.is-ok {
  color: var(--color-primary);
}

.status-pill.is-muted {
  color: var(--color-ink-muted);
}

.address-list {
  display: grid;
  gap: 1rem;
  margin: 1.2rem 0 0;
}

.address-card {
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}

.address-card p {
  margin: 0.25rem 0 0;
}

.account-details summary {
  cursor: pointer;
  font-size: var(--text-sm);
}

.account-details__body {
  margin-top: 0.9rem;
  max-width: 36rem;
}

.account-pager {
  margin-top: 1.6rem;
  font-size: var(--text-sm);
}

.account-pager nav,
.account-pager .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.table th,
.table td {
  text-align: right;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-border);
  font-weight: 400;
}

.table th {
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-ink-muted);
}

.empty {
  padding: 3rem 0 4rem;
  text-align: center;
}

.store-grid,
.contact-grid,
.office-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.office {
  padding-top: 0;
}

.store-card,
.info-card {
  padding: 1.6rem 0;
  border-top: 1px solid var(--color-border);
}

.map-placeholder {
  min-height: 420px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.18)),
    url("../img/catalog/photo-1441986300917-64674bd600d8.jpg") center/cover;
}

body[data-page="contact"] .map-placeholder {
  background:
    linear-gradient(rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.18)),
    url("../img/catalog/photo-1445205170230-053b83016050.jpg") center/cover;
}

.footer-trust {
  background: var(--brand-navy);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-trust__list {
  list-style: none;
  margin: 0;
  padding-block: 0.95rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem 1.25rem;
}

.footer-trust__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-width: 0;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
}

.footer-trust__icon {
  display: grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  color: var(--brand-teal);
  flex: 0 0 auto;
}

.footer-trust__icon svg {
  width: 100%;
  height: 100%;
}

.site-footer {
  --footer-ink: var(--brand-navy);
  --footer-muted: var(--color-ink-muted);
  --footer-line: var(--color-border);
  background: var(--brand-mist);
  color: var(--footer-ink);
  margin-top: auto;
  width: 100%;
  border-top: 1px solid var(--footer-line);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(14rem, 1.15fr) minmax(0, 2.2fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
  padding-top: 2.75rem;
  padding-bottom: 2.25rem;
}

.footer-brand {
  display: grid;
  align-content: start;
  gap: 1rem;
  max-width: 18rem;
}

.footer-brand__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  line-height: 0;
}

.footer-brand__logo img {
  display: block;
  width: auto;
  height: 2.85rem;
  max-width: 11.5rem;
  object-fit: contain;
  background: transparent;
}

.footer-brand__contact {
  display: grid;
  gap: 0.28rem;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--footer-muted);
}

.footer-brand__phones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.85rem;
  margin-bottom: 0.15rem;
}

.footer-brand__phone {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--footer-ink) !important;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.footer-brand__phone:hover {
  color: var(--brand-teal) !important;
}

.footer-brand__email {
  width: max-content;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--footer-ink) !important;
  text-decoration: none;
}

.footer-brand__email:hover {
  color: var(--brand-teal) !important;
}

.footer-brand__hours,
.footer-brand__days,
.footer-brand__address {
  margin: 0;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.75rem);
  min-width: 0;
}

.footer-acc__btn {
  display: flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  margin-bottom: 0.85rem;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: right;
  pointer-events: none;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  color: #0d1b2a;
}

.footer-acc__title {
  display: inline-flex;
  align-items: center;
}

.footer-acc__icon {
  display: none;
  position: relative;
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
}

.footer-acc__icon::before,
.footer-acc__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.footer-acc__icon::before {
  width: 11px;
  height: 1.5px;
}

.footer-acc__icon::after {
  width: 1.5px;
  height: 11px;
  transition: transform 0.28s var(--ease);
}

.footer-acc.is-open .footer-acc__icon::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.15rem;
}

.footer-links a {
  display: block;
  padding: 0.28rem 0;
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.55;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--brand-teal);
}

.footer-bar {
  border-top: 1px solid var(--footer-line);
  padding: 1.1rem 0 1.25rem;
}

.footer-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
}

.footer-bar__start,
.footer-bar__end {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
}

.footer-bar__end {
  margin-inline-start: auto;
}

.socials--footer {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.socials--footer > a,
.socials--footer .socials__link {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  box-sizing: border-box;
  border: 1px solid var(--footer-line);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  padding: 0;
  transition: border-color var(--duration-fast) var(--ease), transform var(--duration-fast) var(--ease);
}

.socials--footer > a:hover,
.socials--footer .socials__link:hover {
  transform: translateY(-1px);
  border-color: var(--brand-teal);
  background: #fff;
  color: inherit;
}

.socials--footer svg,
.socials--footer .socials__img {
  width: 18px;
  height: 18px;
  display: block;
  flex: none;
}

.footer-copy,
.footer-atelier {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--footer-muted);
}

.footer-atelier a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.footer-atelier a:hover {
  color: var(--brand-teal);
}

.footer-seals {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-badge {
  display: block;
  background: transparent;
  border: 0;
  padding: 0;
  line-height: 0;
}

.trust-badge img,
.trust-badge--html img {
  display: block;
  width: auto;
  height: 52px;
  max-width: 72px;
  object-fit: contain;
  object-position: center;
}

.mobile-contact {
  flex: 0 0 auto;
  margin-top: auto;
  padding: 0.95rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--color-border);
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.7rem;
  text-align: center;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.mobile-contact__phones {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.mobile-contact__phones a,
.mobile-contact__email {
  display: block;
  max-width: 100%;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--color-ink);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.mobile-contact__email {
  color: var(--color-ink-muted);
  font-size: 0.78rem;
}

.mobile-contact .socials,
.mobile-contact .socials--mobile {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.mobile-contact .socials > a,
.mobile-contact .socials--mobile > a,
.mobile-contact .socials .socials__link,
.mobile-contact .socials--mobile .socials__link {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
  background: #fff;
}

.mobile-contact .socials svg,
.mobile-contact .socials--mobile svg,
.mobile-contact .socials .socials__img,
.mobile-contact .socials--mobile .socials__img {
  width: 18px;
  height: 18px;
  display: block;
}

@media (max-width: 360px) {
  .mobile-contact {
    padding-inline: 0.75rem;
    gap: 0.55rem;
  }

  .mobile-contact .socials > a,
  .mobile-contact .socials--mobile > a,
  .mobile-contact .socials .socials__link,
  .mobile-contact .socials--mobile .socials__link {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .mobile-contact .socials svg,
  .mobile-contact .socials--mobile svg,
  .mobile-contact .socials .socials__img,
  .mobile-contact .socials--mobile .socials__img {
    width: 16px;
    height: 16px;
  }
}

body {
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

main {
  flex: 1;
  min-width: 0;
  width: 100%;
  overflow-x: clip;
}

/* ===== Responsive ======================================================= */

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

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

  .mega__feature {
    display: none;
  }

  .mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px 240px 240px;
  }

  .mosaic__item:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 360px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (max-width: 899px) {
  .nav,
  .catbar,
  .header-actions .hide-sm,
  .hide-sm {
    display: none;
  }

  .footer-trust__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 0.75rem;
    padding-block: 0.95rem;
  }

  .footer-trust__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.35rem;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.4;
    white-space: normal;
  }

  .footer-trust__icon {
    width: 1.25rem;
    height: 1.25rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    padding-top: 2rem;
    padding-bottom: 1.5rem;
  }

  .footer-brand {
    max-width: none;
    justify-items: center;
    text-align: center;
    gap: 0.85rem;
  }

  .footer-brand__logo {
    justify-content: center;
  }

  .footer-brand__contact {
    justify-items: center;
    width: 100%;
  }

  .footer-brand__phones {
    justify-content: center;
  }

  .footer-brand__email {
    width: auto;
  }

  .footer-cols {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-acc {
    border-top: 1px solid var(--footer-line);
    padding: 0;
  }

  .footer-acc:last-child {
    border-bottom: 1px solid var(--footer-line);
  }

  .footer-acc__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    pointer-events: auto;
    cursor: pointer;
    min-height: 48px;
    margin-bottom: 0;
    padding: 0;
    font-size: 0.9rem;
    letter-spacing: 0;
    color: #0d1b2a;
  }

  .footer-acc__icon {
    display: block;
  }

  .footer-acc__panel {
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0;
    pointer-events: none;
    transition: max-height 0.28s var(--ease), opacity 0.2s var(--ease), padding 0.28s var(--ease);
  }

  .footer-acc.is-open .footer-acc__panel {
    max-height: 16rem;
    opacity: 1;
    padding: 0 0 0.7rem;
    pointer-events: auto;
  }

  .footer-bar {
    text-align: center;
  }

  .footer-bar__inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
  }

  .footer-bar__start,
  .footer-bar__end {
    justify-content: center;
    margin-inline-start: 0;
  }

  .socials--footer {
    justify-content: center;
  }

  .menu-toggle {
    display: grid;
  }

  .site-header,
  .skel-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  }

  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .site-header,
    .skel-header {
      background: rgba(255, 255, 255, 0.92);
    }
  }

  main {
    padding-top: var(--header-h);
  }

  .page-hero,
  .hero,
  .hero-slider {
    margin-top: calc(var(--header-h) * -1);
  }

  body[data-page="home"] .site-header,
  body[data-page="home"] .skel-header {
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid #ececec;
  }

  body[data-page="home"] .site-header.is-scrolled,
  body[data-page="home"] .site-header.is-solid {
    background: rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border-bottom-color: rgba(0, 0, 0, 0.06);
  }

  body[data-page="home"] .hero-slider {
    margin-top: 0;
  }

  .page-hero {
    padding-block: calc(var(--header-h) + 1.4rem) 1rem;
  }

  body[data-page="checkout"] .page-hero,
  .page-hero--checkout,
  .checkout-top {
    margin-top: 0;
    padding: 0;
  }

  .page-hero--account {
    min-height: 0;
    padding-block: calc(var(--header-h) + 0.85rem) 0.85rem;
  }

  body[data-page="account"] .page-hero--account::before,
  body[data-page="account"] .page-hero--account::after {
    min-height: 0;
  }

  .account-mast__panel {
    padding: 1.1rem 1.15rem 1.15rem;
    border-radius: 16px;
  }

  .account-mast .page-title {
    font-size: 1.38rem;
  }

  .account-mast__cta,
  .page-hero--account .wholesale-status a {
    width: 100%;
  }

  .page-hero .breadcrumb {
    margin-bottom: 0.55rem;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "toggle logo actions";
    padding-inline: max(var(--gutter), env(safe-area-inset-left), env(safe-area-inset-right));
    gap: 0.35rem;
  }

  .logo {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: auto;
    max-width: min(8.5rem, 52vw);
    grid-area: logo;
    justify-self: center;
  }

  .nav,
  .header-actions {
    padding-inline: 0;
  }

  .logo img,
  .logo__mark {
    height: 34px;
    max-width: min(8.5rem, 52vw);
  }

  .site-header.is-scrolled .header-inner {
    height: 54px;
  }

  .site-header.is-scrolled .logo img,
  .site-header.is-scrolled .logo__mark {
    height: 32px;
    max-width: min(8.5rem, 52vw);
  }

  .logo__emph {
    font-size: 24px;
  }

  .logo__rest {
    font-size: 20px;
  }

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

  .header-actions .icon-btn {
    width: 46px;
    height: 46px;
  }

  .header-actions .icon-btn svg {
    width: 22px;
    height: 22px;
  }

  .header-actions__rest {
    display: none;
  }

  .menu-toggle {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .header-inner {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    grid-template-areas: "back logo account";
  }

  .header-inner::after {
    content: none;
  }

  .header-user {
    display: grid;
    grid-area: account;
    width: 40px;
    height: 40px;
    background: none;
    color: var(--color-ink);
  }

  .header-user svg {
    width: 22px;
    height: 22px;
  }

  .header-back {
    display: grid;
  }

  body[data-page="home"] .header-back {
    visibility: hidden;
    pointer-events: none;
  }

  body[data-page="profile"] .header-back {
    display: none;
  }

  body[data-page="profile"] .menu-toggle {
    display: grid;
  }

  body[data-page="profile"] .header-actions {
    display: none;
  }

  body[data-page="profile"] .header-inner {
    grid-template-columns: auto 1fr 40px;
    grid-template-areas: "toggle logo account";
  }

  body[data-page="checkout"] .site-header,
  body[data-page="checkout"] .skel-header,
  .site-header--checkout {
    position: fixed;
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 0;
  }

  .site-header--checkout .header-inner {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    grid-template-areas: "back logo secure";
    gap: 0.25rem;
  }

  .site-header--checkout .header-inner::after {
    content: none;
  }

  .site-header--checkout .header-back {
    width: 40px;
    min-width: 40px;
    height: 40px;
    padding-inline: 0;
  }

  .site-header--checkout .header-back__text {
    display: none;
  }

  .site-header--checkout .logo {
    max-width: min(8.5rem, 48vw);
  }

  .site-header--checkout .logo img,
  .site-header--checkout .logo__mark {
    height: 34px;
    max-width: min(8.5rem, 48vw);
  }

  .header-secure {
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
    border: 0;
    background: none;
    border-radius: 0;
  }

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

  .site-header--checkout.is-scrolled .header-inner {
    height: var(--header-h);
  }

  .site-header--checkout.is-scrolled .logo img,
  .site-header--checkout.is-scrolled .logo__mark {
    height: 32px;
  }

  .site-dock {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    inset-inline: 0.7rem;
    bottom: calc(0.7rem + env(safe-area-inset-bottom, 0px));
    z-index: 38;
    background: #fff;
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid var(--color-border);
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(13, 27, 42, 0.14);
    padding: 0.32rem 0.15rem 0.55rem;
    color: var(--brand-navy);
    opacity: 1;
    visibility: visible;
    transition: opacity 0.18s ease, visibility 0.18s ease;
  }

  .site-dock.is-away {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  @supports (height: 100svh) {
    .site-dock {
      bottom: auto;
      top: calc(100svh - 0.7rem - env(safe-area-inset-bottom, 0px));
      transform: translateY(-100%);
    }
  }

  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .site-dock {
      background: rgba(255, 255, 255, 0.92);
    }
  }

  .site-dock__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 0.18rem;
    min-height: 48px;
    padding: 0.12rem 0 0.22rem;
    border: 0;
    background: none;
    color: var(--brand-navy);
    text-decoration: none;
    cursor: pointer;
  }

  .site-dock__item.is-active {
    color: var(--brand-navy);
  }

  .site-dock__icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
  }

  .site-dock__icon svg {
    width: 19px;
    height: 19px;
  }

  .site-dock__icon .badge-count {
    top: -6px;
    right: -8px;
  }

  .site-dock__label {
    max-width: 4.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    white-space: nowrap;
    color: var(--brand-navy);
  }

  .site-dock__home .site-dock__icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: var(--color-ink);
    color: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.16);
    transform: translateY(-8px);
  }

  .site-dock__home.is-active .site-dock__icon,
  .site-dock__home .site-dock__icon svg {
    color: #fff;
  }

  .site-dock__home .site-dock__icon svg {
    width: 18px;
    height: 18px;
  }

  body:not([data-page="profile"]):not([data-page="product"]):not([data-page="checkout"]) {
    padding-bottom: calc(5.1rem + env(safe-area-inset-bottom));
  }

  body:not([data-page="profile"]):not([data-page="product"]):not([data-page="checkout"]) .toast-wrap {
    top: max(0.75rem, env(safe-area-inset-top));
    bottom: auto;
  }

  body[data-page="profile"] .site-dock,
  body[data-page="product"] .site-dock,
  body[data-page="checkout"] .site-dock {
    display: none;
  }

  .split,
  .pdp,
  .cart-layout,
  .checkout-layout,
  .account-layout,
  .store-grid,
  .contact-grid,
  .office-grid,
  .shop-layout,
  .values,
  .wholesale-process,
  .blog-grid,
  .blog-grid--related,
  .services,
  .field-row {
    grid-template-columns: 1fr;
  }

  .checkout-layout .field-row {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  body[data-page="account"] .account-layout {
    gap: 0.7rem;
    padding-block: 0.15rem calc(5.2rem + env(safe-area-inset-bottom));
  }

  body[data-page="account"] .account-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.3rem;
    padding: 0.45rem;
  }

  body[data-page="account"] .account-nav a,
  body[data-page="account"] .account-nav button {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.28rem;
    min-width: 0;
    min-height: 68px;
    padding: 0.4rem 0.15rem;
    text-align: center;
    font-size: 0.68rem;
    line-height: 1.25;
    font-weight: 600;
  }

  body[data-page="account"] .account-nav__label {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body[data-page="account"] .account-nav__label--full {
    display: none;
  }

  body[data-page="account"] .account-nav__label--short {
    display: inline;
  }

  body[data-page="account"] .account-nav__logout {
    grid-column: 1 / -1;
    flex-direction: row;
    min-height: 44px;
    justify-content: center;
  }

  body[data-page="account"] .account-workspace {
    padding: 1rem 0.95rem 1.15rem;
    min-height: 0;
    border-radius: 18px;
  }

  body[data-page="account"] .account-panel__head {
    margin-bottom: 0.15rem;
  }

  body[data-page="account"] .account-panel__head h2 {
    font-size: 1.05rem;
  }

  body[data-page="account"] .account-empty {
    min-height: 0;
    padding: 1.4rem 0.35rem 1.2rem;
  }

  body[data-page="account"] .account-empty .btn {
    width: 100%;
    max-width: 16rem;
  }

  body[data-page="account"] .account-form {
    max-width: none;
  }

  body[data-page="account"] .field-row {
    grid-template-columns: 1fr;
  }

  body[data-page="profile"] #main.account-page {
    padding-top: calc(var(--header-h) + 0.95rem);
  }

  body[data-page="profile"] .account-layout {
    grid-template-columns: 1fr;
    gap: 0;
    padding-block: 0 1.6rem;
  }

  body[data-page="profile"] .account-head {
    padding-block: 0 1.25rem;
  }

  body[data-page="profile"] .account-head__title {
    font-size: 1.3rem;
  }

  body[data-page="profile"] .account-welcome__avatar {
    width: 3.2rem;
    height: 3.2rem;
    flex-basis: 3.2rem;
    font-size: 1.2rem;
  }

  body[data-page="profile"] .account-stats {
    grid-template-columns: 1fr 1fr;
  }

  body[data-page="profile"] .account-aside {
    position: static;
  }

  body[data-page="profile"] .site-footer {
    padding-bottom: calc(6.4rem + env(safe-area-inset-bottom));
  }

  body[data-page="profile"]:not(.is-account-hub) .account-nav {
    display: none;
  }

  body[data-page="profile"] .account-dock {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 35;
    background: #fff;
    border-top: 1px solid var(--color-ink);
    padding: 0.7rem 0.4rem calc(0.55rem + env(safe-area-inset-bottom));
  }

  body[data-page="profile"] .account-dock a,
  body[data-page="profile"] .account-dock button {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.32rem;
    min-height: 44px;
    padding: 0;
    background: none;
    border: 0;
    color: var(--color-ink-subtle);
  }

  body[data-page="profile"] .account-dock a::before,
  body[data-page="profile"] .account-dock button::before {
    content: "";
    position: absolute;
    top: -0.7rem;
    width: 14px;
    height: 1px;
    background: var(--color-ink);
    opacity: 0;
  }

  body[data-page="profile"] .account-dock .is-active {
    color: var(--color-ink);
  }

  body[data-page="profile"] .account-dock .is-active::before {
    opacity: 1;
  }

  body[data-page="profile"] .account-dock__icon {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border: 0;
    background: none;
  }

  body[data-page="profile"] .account-dock__icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.3;
  }

  body[data-page="profile"] .account-dock__label {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    line-height: 1;
    white-space: nowrap;
  }

  body[data-page="profile"] .account-more:not([hidden]) {
    display: block;
  }

  body[data-page="profile"] .account-more__dim {
    position: fixed;
    inset: 0;
    z-index: 36;
    background: var(--color-overlay);
  }

  body[data-page="profile"] .account-more__sheet {
    position: fixed;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 37;
    background: #fff;
    padding: 1rem 1rem calc(1.2rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--color-ink);
    max-height: 78vh;
    overflow: auto;
  }

  body[data-page="profile"] .account-more__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
  }

  body[data-page="profile"] .account-more__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
  }

  body[data-page="profile"] .account-more__grid a {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 0.65rem;
    border: 1px solid var(--color-border);
    font-size: 0.8rem;
  }

  body.is-account-more-open {
    overflow: hidden;
  }

  .shop-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "filters"
      "results";
    gap: 1.6rem;
  }

  .shop-filters {
    position: static;
  }

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

  .split-card {
    min-height: min(36vh, 280px);
  }

  .split-card__body {
    padding: 1.15rem 1.2rem;
  }

  .pdp-info {
    position: static;
  }

  .pdp-zoom-pane,
  .pdp-zoom-lens {
    display: none !important;
  }

  body[data-page="product"] {
    padding-bottom: calc(4.85rem + env(safe-area-inset-bottom, 0px));
  }

  .pdp {
    padding: 0 0 2.4rem;
    gap: 0;
  }

  .pdp-gallery {
    gap: 0.7rem;
  }

  .pdp-gallery__stage {
    height: auto;
    aspect-ratio: var(--product-image-ratio, 5 / 6);
    min-height: 0;
    overflow: hidden;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    background: var(--color-surface-elevated);
  }

  .pdp-gallery__stage::-webkit-scrollbar {
    display: none;
  }

  .pdp-gallery__track {
    display: flex;
    height: 100%;
    gap: 0;
  }

  .pdp-gallery__shot {
    flex: 0 0 100%;
    height: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .pdp-gallery__stage img {
    width: 100%;
    height: 100%;
    aspect-ratio: var(--product-image-ratio, 5 / 6);
    object-fit: cover;
  }

  .pdp-gallery__thumbs {
    display: flex;
    gap: 0.4rem;
    padding-inline: var(--gutter);
    overflow-x: auto;
    scrollbar-width: none;
  }

  .pdp-gallery__thumbs::-webkit-scrollbar {
    display: none;
  }

  .pdp-gallery__thumb {
    flex: 0 0 52px;
    width: 52px;
    height: 65px;
    padding: 0;
    border: 1px solid transparent;
    background: var(--color-surface-elevated);
    overflow: hidden;
  }

  .pdp-gallery__thumb img {
    width: 100%;
    height: 100%;
    aspect-ratio: var(--product-image-ratio, 5 / 6);
    object-fit: cover;
  }

  .pdp-gallery__thumb.is-active {
    border-color: var(--color-ink);
  }

  .pdp-info {
    padding: 1.15rem var(--gutter) 0;
  }

  .pdp-info h1 {
    font-size: 1.7rem;
  }

  .pdp-info > .pdp-offer,
  .pdp-actions #add-bag,
  .pdp-actions [data-pdp-bag] {
    display: none;
  }

  .pdp-sticky {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 35;
    background: #fff;
    border-top: 1px solid var(--color-border);
    padding: 0.5rem var(--gutter) calc(0.5rem + env(safe-area-inset-bottom, 0px));
  }

  .pdp-float-cart {
    position: absolute;
    top: 0;
    inset-inline-end: var(--gutter);
    z-index: 2;
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    color: var(--color-ink);
    transform: translateY(calc(-100% - 0.45rem));
    text-decoration: none;
  }

  .pdp-float-cart svg {
    width: 1.7rem;
    height: 1.7rem;
  }

  .pdp-float-cart .badge-count {
    top: -0.1rem;
    inset-inline-end: -0.15rem;
    right: auto;
    min-width: 1.05rem;
    height: 1.05rem;
    padding: 0 0.22rem;
    border: 0;
    background: var(--brand-teal);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 1.05rem;
  }

  .pdp-sticky__mode {
    flex: 0 0 auto;
  }

  .pdp-sticky:has(.pdp-bag.is-in-cart) .pdp-sticky__mode {
    display: none;
  }

  .pdp-sticky .pdp-mode-switch {
    flex: 0 0 auto;
  }

  .pdp-sticky .pdp-mode-switch button {
    min-height: 34px;
  }

  body[data-page="checkout"] {
    padding-bottom: calc(5.1rem + env(safe-area-inset-bottom, 0px));
  }

  body[data-page="checkout"] #app-footer,
  body[data-page="checkout"] .checkout-submit-inline,
  body[data-page="checkout"] #cart-summary {
    display: none;
  }

  body[data-page="checkout"] .checkout-layout {
    grid-template-columns: 1fr;
    padding-top: 0.9rem;
    padding-bottom: 1.2rem;
    gap: 0.9rem;
  }

  body[data-page="checkout"] .checkout-card {
    padding: 1.05rem 1rem 1.1rem;
    border-radius: 16px;
  }

  .checkout-sticky:not([hidden]) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 35;
    background: #fff;
    border-top: 1px solid var(--color-border);
    padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.06);
  }

  .checkout-sticky__sum {
    min-width: 0;
    margin: 0;
    display: grid;
    gap: 0.12rem;
  }

  .checkout-sticky__sum span {
    font-size: 0.72rem;
    color: var(--color-ink-muted);
  }

  .checkout-sticky__sum strong {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
  }

  .checkout-sticky .btn {
    flex: 0 1 auto;
    min-width: 46%;
    min-height: 46px;
  }

  .pdp-sticky__price {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
  }

  .pdp-sticky__price.is-sale {
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 0.35rem;
  }

  .pdp-sticky__price.is-sale > span {
    color: var(--color-sale);
  }

  .pdp-sticky__price.is-wholesale > span {
    color: var(--color-ink);
  }

  .pdp-sticky__price s {
    display: none;
  }

  .pdp-sticky__price i {
    display: none;
  }

  .pdp-sticky .btn {
    flex: 0 0 auto;
    min-width: 0;
    min-height: 40px;
    padding-inline: 0.85rem;
  }

  .pdp-sticky .pdp-bag__add.btn {
    background: var(--brand-teal);
    border-color: var(--brand-teal);
    color: #fff8f3;
    box-shadow: 0 10px 22px rgba(196, 92, 38, 0.28);
  }

  .pdp-sticky .pdp-bag__add.btn:hover {
    background: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
    color: #fff8f3;
  }

  .pdp-sticky .pdp-bag {
    flex: 0 0 auto;
    min-width: 0;
  }

  .pdp-sticky:has(.pdp-bag.is-in-cart) .pdp-sticky__price {
    display: none;
  }

  .pdp-sticky .pdp-bag.is-in-cart {
    flex: 1 1 auto;
    min-width: 0;
  }

  .pdp-sticky .pdp-bag .btn {
    width: auto;
  }

  .pdp-sticky .pdp-bag.is-in-cart .pdp-bag__in {
    width: 100%;
  }

  .pdp-sticky .pdp-bag.is-in-cart .pdp-bag__in {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0;
    background: transparent;
    border: 0;
  }

  .pdp-sticky .pdp-bag.is-in-cart .pdp-bag__total {
    flex: 1;
    min-width: 0;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.45rem;
  }

  .pdp-sticky .pdp-bag.is-in-cart .pdp-bag__total-price {
    font-size: 0.95rem;
    white-space: nowrap;
  }

  .pdp-sticky .pdp-bag.is-in-cart .pdp-bag__stepper {
    display: grid;
    grid-template-columns: 2.5rem minmax(2.4rem, auto) 2.5rem;
    flex: 0 0 auto;
    width: auto;
    min-height: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    gap: 0.3rem;
    align-items: center;
  }

  .pdp-sticky .pdp-bag.is-in-cart .pdp-bag__stepper span {
    display: grid;
    place-items: center;
    min-width: 2.4rem;
    padding-inline: 0.15rem;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
  }

  .pdp-sticky .pdp-bag.is-in-cart .pdp-bag__stepper button {
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 2.5rem;
    border: 1px solid var(--brand-teal);
    background: #f8ebe3;
    color: var(--brand-teal);
    font-size: 1.2rem;
  }

  .pdp-sticky .pdp-bag.is-in-cart .pdp-bag__stepper button:hover {
    background: var(--brand-teal);
    color: #fff8f3;
  }

  .pdp-sticky .pdp-bag.is-in-cart .pdp-bag__stepper button[data-pdp-bag-qty="1"] {
    background: var(--brand-teal);
    color: #fff8f3;
  }

  .pdp-sticky .pdp-bag.is-in-cart .pdp-bag__stepper button[data-pdp-bag-qty="1"]:hover {
    background: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
  }

  .page-title {
    font-size: 2.2rem;
  }

  .checkout-mast {
    padding: 0.4rem var(--gutter) 0.75rem;
  }

  .checkout-steps__label {
    font-size: 0.78rem;
  }

  .checkout-steps__hint {
    font-size: 0.64rem;
  }

  .search-panel__bar {
    min-height: 60px;
    padding-block: 0.5rem;
    padding-top: calc(0.5rem + env(safe-area-inset-top, 0px));
    gap: 0.35rem;
  }

  .search-form {
    min-height: 44px;
    padding-inline: 0.75rem 0.25rem;
  }

  .search-form input {
    font-size: 0.92rem;
    padding-block: 0.55rem;
  }

  .search-overlay {
    gap: 0.9rem;
    padding-top: 1rem;
  }

  .search-hits {
    gap: 0.45rem;
  }

  .search-hit {
    grid-template-columns: 3.8rem minmax(0, 1fr);
    gap: 0.7rem;
    padding: 0.45rem;
  }

  .search-hit__media {
    width: 3.8rem;
    height: 3.8rem;
  }

  .filters--visual {
    display: block;
    overflow-x: auto;
    overflow-y: hidden;
    margin-inline: calc(var(--gutter) * -1);
    padding-block: 0.1rem 0.35rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    direction: ltr;
  }

  .filters--visual::-webkit-scrollbar {
    display: none;
  }

  .filters__track {
    display: flex;
    flex-direction: row-reverse;
    width: max-content;
    gap: 0.65rem;
    padding-inline: var(--gutter);
  }

  .filters--visual .cat-tile {
    flex: 0 0 92px;
    width: 92px;
    min-width: 92px;
  }

  .hero-slider {
    height: min(78dvh, 100dvh);
    min-height: 380px;
  }

  body[data-page="home"] .hero-slider {
    height: 32vh;
    min-height: 200px;
    max-height: 280px;
  }

  .hero__content {
    padding-block: 2.2rem 5rem;
  }

  .hero-slide h1 {
    max-width: 12ch;
  }

  .hero-slider__arrows {
    display: none;
  }

  .hero-swipe {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: 0.65rem;
    pointer-events: none;
    color: #fff;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
  }

  .hero-swipe.is-gone {
    opacity: 0;
    visibility: hidden;
  }

  .hero-swipe__chev {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.22);
  }

  .hero-swipe__chev svg {
    width: 18px;
    height: 18px;
  }

  .hero-swipe__chev--next {
    animation: hero-swipe-next 1.6s var(--ease) infinite;
  }

  .hero-swipe__chev--prev {
    animation: hero-swipe-prev 1.6s var(--ease) infinite;
  }

  .hero-swipe__hint {
    position: absolute;
    left: 50%;
    bottom: 4.6rem;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    width: max-content;
    max-width: calc(100% - 2rem);
    text-align: center;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
  }

  .hero-swipe__gesture {
    display: grid;
    place-items: center;
    width: 52px;
    height: 28px;
    opacity: 0.9;
    animation: hero-swipe-hand 1.6s var(--ease) infinite;
  }

  .hero-swipe__gesture svg {
    width: 48px;
    height: 24px;
  }

  @keyframes hero-swipe-next {
    0%,
    100% { transform: translateX(0); opacity: 0.45; }
    50% { transform: translateX(6px); opacity: 1; }
  }

  @keyframes hero-swipe-prev {
    0%,
    100% { transform: translateX(0); opacity: 0.45; }
    50% { transform: translateX(-6px); opacity: 1; }
  }

  @keyframes hero-swipe-hand {
    0%,
    100% { transform: translateX(6px); opacity: 0.55; }
    50% { transform: translateX(-6px); opacity: 1; }
  }

  .hero-slider__dots {
    bottom: 1rem;
    width: calc(100% - 2 * var(--gutter));
  }

  .hero-dot {
    height: 34px;
    padding: 0 0.35rem;
    font-size: 0.62rem;
  }

  .lookbook {
    padding: var(--space-7) 0 var(--space-6);
  }

  .lookbook__head {
    flex-direction: column;
    align-items: stretch;
    gap: 1.1rem;
    margin-bottom: 1.4rem;
  }

  .lookbook__lede {
    max-width: none;
  }

  .lookbook__tools {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .cat-tabs {
    flex: 1;
    gap: 1rem;
  }

  .rail-nav button {
    width: 38px;
    height: 38px;
  }

  .cat-look {
    flex-basis: min(220px, calc(100% - var(--page-inset) * 2 - 36px));
  }

  .cat-look__cta {
    opacity: 0.9;
    transform: none;
  }

  .home-rail-section .section-head {
    margin-bottom: 1.2rem;
  }
}

@media (max-width: 719px) {
  .cat-trio .cat-panel {
    min-height: min(48vh, 440px);
  }

  .cat-trio .cat-panel__body {
    padding: 1.6rem 1.1rem;
  }

  .cat-trio .cat-panel h2 {
    font-size: clamp(1.55rem, 7vw, 2.2rem);
  }
}

@media (max-width: 560px) {
  .checkout-steps__num {
    width: 26px;
    height: 26px;
  }

  .checkout-steps__num svg {
    width: 12px;
    height: 12px;
  }

  .checkout-steps__label {
    font-size: 0.72rem;
  }

  .checkout-steps li:not(:last-child)::after {
    margin-inline: 0.3rem;
    min-width: 0.45rem;
  }

  .checkout-layout .field-row {
    grid-template-columns: 1fr;
  }

  .mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .mosaic__item,
  .mosaic__item:first-child {
    min-height: 280px;
  }

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

  .trust-badge img,
  .trust-badge--html img {
    height: 44px;
    max-width: 64px;
  }

  .announce {
    letter-spacing: 0.04em;
    font-size: 0.58rem;
  }

  .hero-slider__arrows {
    display: none;
  }

  .hero-swipe__hint {
    bottom: 4.1rem;
  }

  .hero__content {
    padding-bottom: 4.4rem;
  }

  .rail-nav {
    display: none;
  }

  .lookbook__tools {
    justify-content: flex-start;
  }

  .cat-look {
    flex-basis: min(280px, calc(100% - var(--page-inset) * 2 - 36px));
  }

  .rail--products .product-card {
    flex-basis: min(260px, calc(100% - var(--page-inset) * 2 - 40px));
  }

  .rail--products.rail--related .product-card,
  .rail--products.rail--related .skel-card {
    flex-basis: min(148px, calc(100% - var(--page-inset) * 2 - 40px));
    max-width: 168px;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem 0.65rem;
  }

  .drawer {
    width: 100%;
  }
}

/* ===== Skeletons ======================================================== */

.skel {
  display: block;
  background: linear-gradient(90deg, #ececec 0%, #f6f6f6 45%, #ececec 90%);
  background-size: 220% 100%;
  animation: skel-shimmer 1.15s ease-in-out infinite;
}

.skel--media {
  aspect-ratio: var(--product-image-ratio, 5 / 6);
  width: 100%;
}

.skel--blog {
  aspect-ratio: 4 / 3;
}

.skel--hero {
  min-height: min(52vh, 520px);
  width: 100%;
}

.skel--pdp-shot {
  min-height: 520px;
}

.skel--line {
  height: 0.7rem;
  margin-top: 0.55rem;
}

.skel--tall {
  height: 1.35rem;
}

.skel--block {
  height: 2.8rem;
  margin-top: 1.2rem;
}

.skel--thumb {
  width: 4.4rem;
  height: 5.4rem;
  flex: 0 0 auto;
}

.skel--icon {
  width: 1.4rem;
  height: 1.4rem;
}

.skel--logo {
  width: 5.6rem;
  height: 2.1rem;
}

.skel--w-30 { width: 30%; }
.skel--w-40 { width: 40%; }
.skel--w-50 { width: 50%; }
.skel--w-60 { width: 60%; }
.skel--w-70 { width: 70%; }
.skel--w-80 { width: 80%; }
.skel--w-90 { width: 90%; }

.skel-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  background: #fff;
  border-bottom: 1px solid #ececec;
}

.skel-header__inner {
  height: var(--header-bar-h);
  width: min(var(--container), 100%);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.skel-header__actions {
  display: flex;
  gap: 0.7rem;
}

.skel-card,
.skel-blog {
  min-width: 0;
}

.skel-pdp {
  display: contents;
}

.skel-cart__line {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #ececec;
}

.skel-summary,
.skel-stores,
.skel-orders {
  display: grid;
  gap: 0.15rem;
}

@media (max-width: 900px) {
  .skel-pdp {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .skel--pdp-shot {
    min-height: 360px;
  }
}

@keyframes skel-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .preloader.is-leaving .preloader__panel--top,
  .preloader.is-leaving .preloader__panel--bottom,
  .preloader.is-leaving .preloader__content {
    transition: opacity 0.3s ease !important;
  }
}
