:root {
  --page-bg: #f8f8f6;
  --header-bg: #ffffff;
  --text: #121212;
  --muted: #5a5a5a;
  --line: #e8e8e3;
  --hero-dark: #20262d;
  --hero-mid: #2d343c;
  --hero-light: #5d6670;
  --hero-paper: #f3f1eb;
  --hero-ink: #050505;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: "Montserrat", sans-serif;
}

.home-page .site-header,
.storefront-page .site-header {
  background: transparent;
}

.storefront-page .site-header {
  position: relative;
}

.home-page .site-header::before,
.storefront-page .site-header::before {
  display: none;
}

.home-page .promo-bar,
.storefront-page .promo-bar {
  width: 100%;
  padding: 10px 20px;
  background: #000;
  color: #fff;
  text-align: center;
}

.home-page .promo-bar p,
.storefront-page .promo-bar p {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-page .top-bar,
.storefront-page .top-bar {
  width: 100%;
  min-height: 64px;
  padding: 0 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 32px rgba(18, 18, 18, 0.06);
  grid-template-columns: auto 1fr auto;
  gap: 24px;
}

.home-page .main-nav,
.storefront-page .main-nav {
  width: auto;
  margin: 0;
  min-height: 64px;
  gap: 28px;
  padding: 0;
  background: transparent;
  border-bottom: 0;
  color: #111;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  justify-content: center;
  justify-self: center;
  flex-wrap: nowrap;
}

.home-page .main-nav a,
.home-page .main-nav .nav-dropdown__toggle,
.storefront-page .main-nav a,
.storefront-page .main-nav .nav-dropdown__toggle {
  color: #111;
}

.home-page .header-search,
.storefront-page .header-search {
  width: 100%;
  margin-top: 0;
  padding: 12px 28px 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 32px rgba(18, 18, 18, 0.08);
}

.home-page .brand,
.storefront-page .brand {
  justify-self: start;
}

.home-page .brand-logo,
.storefront-page .brand-logo {
  height: 42px;
  border-radius: 10px;
}

.home-page .icon-button,
.home-page .utility-nav a,
.home-page .nav-dropdown__toggle,
.storefront-page .icon-button,
.storefront-page .utility-nav a,
.storefront-page .nav-dropdown__toggle {
  color: #111;
}

.home-page .utility-nav,
.storefront-page .utility-nav {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}

.home-page .icon-button,
.storefront-page .icon-button {
  width: 30px;
  height: 30px;
}

.home-page .icon-button svg,
.storefront-page .icon-button svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.7;
}

.admin-page {
  min-height: 100vh;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.7),
      rgba(255, 255, 255, 0.92)
    ),
    radial-gradient(circle at top, rgba(18, 18, 18, 0.08), transparent 35%),
    var(--page-bg);
}

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 40;
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 0;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition:
    background-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.site-header::before {
  content: "";
  display: block;
  width: 100%;
  height: 18px;
  background: #000;
}

.top-bar,
.main-nav {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.top-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
  transition:
    min-height 220ms ease,
    padding 220ms ease,
    box-shadow 220ms ease,
    background-color 220ms ease;
}

.header-search {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 20px;
  transition:
    padding 220ms ease,
    box-shadow 220ms ease,
    background-color 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 32px rgba(18, 18, 18, 0.1);
}

.site-header.is-scrolled .top-bar {
  min-height: 64px;
}

.site-header.is-scrolled .header-search {
  box-shadow: 0 18px 32px rgba(18, 18, 18, 0.08);
}

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

.header-search__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.header-search__label {
  grid-column: 1 / -1;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.header-search__input {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font: inherit;
}

.header-search__input:focus {
  outline: 2px solid rgba(18, 18, 18, 0.18);
  outline-offset: 0;
}

.header-search__submit {
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid #121212;
  background: #121212;
  color: #fff;
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.header-search__results {
  margin-top: 12px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 32px rgba(18, 18, 18, 0.08);
}

.header-search__results[hidden] {
  display: none;
}

.header-search__result {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
}

.header-search__result:first-child {
  border-top: 0;
}

.header-search__result:hover,
.header-search__result:focus-visible {
  background: #f5f4ef;
}

.header-search__thumb {
  width: 62px;
  height: 62px;
  object-fit: contain;
  background: transparent;
}

.header-search__meta {
  min-width: 0;
}

.header-search__category {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.header-search__name {
  margin: 0 0 4px;
  font-size: 0.96rem;
  font-weight: 600;
}

.header-search__price {
  margin: 0;
  font-size: 0.9rem;
}

.header-search__empty {
  margin: 0;
  padding: 16px 14px;
  color: var(--muted);
}

.human-check[hidden] {
  display: none;
}

.human-check {
  display: grid;
  gap: 10px;
}

.human-check__widget {
  min-height: 65px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: center;
}

.brand-logo {
  display: block;
  width: auto;
  height: 64px;
  object-fit: contain;
}

.utility-nav {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 20px;
  font-size: 0.9rem;
}

.utility-nav--social {
  justify-self: start;
}

.utility-nav a {
  color: #fff;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  position: relative;
}

.icon-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-link--signed-in {
  width: auto;
  min-height: 36px;
  padding: 0 2px 0 0;
  gap: 10px;
}

.account-link--signed-in svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}

.account-link__meta {
  flex: 0 0 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f4f4f0;
}

.account-link__initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  min-width: 18px;
  min-height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #c91d1d;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  min-height: 68px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.9);
  color: #fff;
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav a,
.nav-dropdown__toggle {
  position: relative;
  padding-bottom: 4px;
  cursor: pointer;
}

.site-header .brand,
.site-header .brand img,
.site-header .header-search__label {
  cursor: default;
}

.site-header .utility-nav a {
  cursor: pointer;
}

.main-nav a::after,
.nav-dropdown__toggle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.nav-dropdown__toggle:hover::after,
.nav-dropdown__toggle:focus-visible::after,
.nav-dropdown.is-open .nav-dropdown__toggle::after {
  transform: scaleX(1);
}

.nav-dropdown {
  position: relative;
  padding-bottom: 14px;
  margin-bottom: -14px;
}

.nav-dropdown__toggle {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}

.nav-dropdown__menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  display: grid;
  min-width: 190px;
  padding: 12px 0;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  box-shadow: 0 18px 32px rgba(18, 18, 18, 0.08);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown__menu a {
  display: block;
  padding: 10px 18px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.nav-dropdown__menu a::after {
  display: none;
}

.nav-dropdown__menu a:hover,
.nav-dropdown__menu a:focus-visible {
  background: #f5f4ef;
}

.hero {
  width: 100%;
  margin-top: 0;
  padding-top: 0;
  background:
    radial-gradient(circle at 16% 22%, rgba(0, 0, 0, 0.03), transparent 22%),
    linear-gradient(180deg, #fcfbf8 0%, #f2efe8 100%);
}

.hero-art {
  position: relative;
  min-height: 860px;
  overflow: hidden;
  background:
    url("../img/hero/hero-background.webp") center center / cover no-repeat,
    radial-gradient(circle at 75% 26%, rgba(18, 18, 18, 0.08), transparent 18%),
    linear-gradient(135deg, #f9f7f1 0%, #ece7de 100%);
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(244, 240, 232, 0.92) 0, rgba(244, 240, 232, 0.78) 28%, rgba(244, 240, 232, 0.42) 52%, rgba(0, 0, 0, 0.3) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.34) 0, rgba(0, 0, 0, 0.5) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-shell {
  position: relative;
  z-index: 2;
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: 182px 0 118px;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.hero-rail {
  display: grid;
  gap: 16px;
  align-content: start;
}

.hero-rail__label,
.hero-copy__eyebrow,
.hero-meta span,
.hero-title-block__kicker,
.hero-marquee span,
.hero-rail__caption span {
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-rail__label,
.hero-copy__eyebrow,
.hero-title-block__kicker,
.hero-marquee span {
  margin: 0;
  color: #111;
  font-size: 0.72rem;
  font-weight: 700;
  text-shadow: none;
}

.hero-rail__card {
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(5, 5, 5, 0.12);
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(8px);
}

.hero-rail__image {
  display: block;
  width: 100%;
  aspect-ratio: 0.82;
  object-fit: cover;
}

.hero-rail__caption {
  display: grid;
  gap: 4px;
  margin-top: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.4;
}

.hero-rail__caption span {
  color: var(--muted);
  font-size: 0.62rem;
}

.hero-rail__vertical {
  margin: 0;
  justify-self: center;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: rgba(17, 17, 17, 0.82);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: none;
}

.hero-stage {
  position: relative;
  min-height: 560px;
}

.hero-image-wrap {
  position: relative;
  width: min(100%, 870px);
  min-height: 560px;
  margin-left: auto;
  overflow: hidden;
}

.hero-image-wrap::after {
  content: "";
  position: absolute;
  top: 18%;
  right: -6%;
  width: 46%;
  height: 26%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0));
  filter: blur(18px);
  opacity: 0.28;
}

.hero-image {
  display: block;
  width: 100%;
  height: 560px;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.02);
}

.hero-copy {
  position: absolute;
  z-index: 2;
  max-width: 220px;
  display: grid;
  gap: 10px;
}

.hero-copy--left {
  top: 108px;
  left: 22px;
}

.hero-copy--right {
  top: 22px;
  right: 0;
  text-align: right;
}

.hero-copy__text {
  margin: 0;
  color: #111;
  font-size: 0.94rem;
  line-height: 1.7;
  text-shadow: none;
}

.hero-stamp {
  position: absolute;
  right: 92px;
  bottom: 154px;
  z-index: 3;
  display: grid;
  gap: 4px;
  min-width: 122px;
  padding: 16px 18px;
  background: rgba(0, 0, 0, 0.92);
  color: #fff;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.16);
}

.hero-stamp__label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.72;
}

.hero-stamp strong {
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-year {
  position: absolute;
  top: 18px;
  right: 34px;
  z-index: 3;
  color: rgba(17, 17, 17, 0.18);
  font-size: clamp(3.2rem, 9vw, 8rem);
  font-weight: 700;
  line-height: 0.9;
  text-shadow: none;
}

.hero-title-block {
  position: absolute;
  left: 0;
  bottom: 34px;
  z-index: 3;
  display: grid;
  gap: 10px;
  max-width: 78%;
}

.hero-title {
  margin: 0;
  color: #050505;
  font-size: clamp(3.8rem, 12vw, 9.5rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  text-shadow: 0 3px 18px rgba(255, 255, 255, 0.16);
}

.hero-meta {
  position: absolute;
  z-index: 3;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-meta--left {
  left: 0;
  bottom: 206px;
}

.hero-meta--right {
  right: 0;
  bottom: 116px;
  justify-content: flex-end;
  max-width: 300px;
}

.hero-meta span {
  color: #111;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  background: rgba(255, 255, 255, 0.58);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-shadow: none;
}

.hero-shell .hero-rail__label,
.hero-shell .hero-rail__caption,
.hero-shell .hero-rail__caption span,
.hero-shell .hero-rail__vertical,
.hero-shell .hero-copy__eyebrow,
.hero-shell .hero-copy__text,
.hero-shell .hero-stamp,
.hero-shell .hero-stamp__label,
.hero-shell .hero-stamp strong,
.hero-shell .hero-year,
.hero-shell .hero-title-block__kicker,
.hero-shell .hero-title,
.hero-shell .hero-meta span {
  cursor: default;
}

.hero-marquee,
.hero-marquee__track,
.hero-marquee__group,
.hero-marquee span {
  cursor: default;
}

.hero-marquee {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 14px 24px;
  background: #050505;
  color: #fff;
  overflow: hidden;
}

.hero-marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
  animation: hero-marquee-scroll 22s linear infinite;
}

.hero-marquee__group {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
}

.hero-marquee span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 clamp(180px, 20vw, 240px);
  min-height: 34px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  white-space: nowrap;
}

@keyframes hero-marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-100% / 2));
  }
}

.utility-nav--compact {
  gap: 0;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-main {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.customer-auth-main {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.customer-dashboard-main {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.login-shell {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 74px);
  padding: 56px 0 72px;
}

.login-card {
  width: min(100%, 480px);
  padding: 40px 36px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 50px rgba(18, 18, 18, 0.08);
}

.login-kicker {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.login-card h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 3.1rem;
  font-weight: 600;
  line-height: 0.95;
}

.login-copy {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.login-form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.social-auth {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.social-auth__google {
  min-height: 44px;
}

.social-auth__google > div {
  width: 100% !important;
}

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

.customer-auth__divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.customer-auth__divider::before,
.customer-auth__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

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

.field.is-error input,
.field.is-error select,
.field.is-error textarea,
.field.is-error .variant-editor__color-input {
  border-color: #b42318;
}

.field--images {
  grid-column: 1 / -1;
}

.field--variants {
  grid-column: 1 / -1;
}

.field__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.field span {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid #cfcfc9;
  border-radius: 0;
  background: #fff;
  color: var(--text);
  font: inherit;
}

.field select,
.field textarea {
  width: 100%;
  border: 1px solid #cfcfc9;
  border-radius: 0;
  background: #fff;
  color: var(--text);
  font: inherit;
}

.field select {
  min-height: 52px;
  padding: 0 16px;
}

.field textarea {
  padding: 14px 16px;
  resize: vertical;
}

.image-upload {
  display: grid;
  gap: 10px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.image-upload__label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.image-upload__slot-label {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

.image-upload__add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border: 1px dashed #bdbdb6;
  background: #fff;
  color: var(--text);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.image-upload__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 84px;
  align-content: flex-start;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid #cfcfc9;
  background: #fafaf7;
}

.image-upload__empty {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  color: #7a7469;
  font-size: 0.88rem;
}

.image-upload__item {
  position: relative;
  width: 92px;
  height: 92px;
  flex: 0 0 92px;
}

.image-upload__thumb {
  width: 100%;
  max-width: 100%;
  height: 92px;
  border: 1px solid var(--line);
  object-fit: contain;
  background: transparent;
}

.image-upload__remove {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(18, 18, 18, 0.18);
  border-radius: 999px;
  background: #fff;
  color: #121212;
  font-size: 1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.variant-editor__list {
  display: grid;
  gap: 18px;
}

.variant-editor {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
}

.variant-editor.is-error {
  border-color: #b42318;
}

.variant-editor__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.variant-editor__header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.variant-editor__add,
.variant-editor__remove {
  min-height: 38px;
  padding: 0 14px;
}

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

.variant-editor__image-slots {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.variant-editor__color-input {
  width: 100%;
  min-height: 52px;
  padding: 6px;
  border: 1px solid #cfcfc9;
  background: #fff;
  cursor: pointer;
}

.variant-editor__sizes {
  display: grid;
  gap: 12px;
}

.variant-editor__sizes-title {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

.variant-editor__sizes-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.variant-editor__size-field {
  display: grid;
  gap: 8px;
}

.variant-editor__size-field span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.variant-editor__size-field input {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid #cfcfc9;
  background: #fff;
  color: var(--text);
  font: inherit;
}

.image-upload__notice {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.image-upload__notice.is-error {
  color: #b42318;
}

.image-upload__notice.is-success {
  color: #157347;
}

.field-error {
  margin: 0;
  color: #b42318;
  font-size: 0.82rem;
  line-height: 1.35;
}

.field-error:empty {
  display: none;
}

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

.field input:focus {
  outline: 1px solid var(--text);
  outline-offset: 0;
}

.field select:focus,
.field textarea:focus {
  outline: 1px solid var(--text);
  outline-offset: 0;
}

.field--checkbox {
  align-content: end;
}

.field--checkbox input {
  width: 22px;
  min-height: 22px;
  padding: 0;
}

.login-submit {
  min-height: 52px;
  border: 0;
  background: #121212;
  color: #fff;
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.login-link {
  justify-self: start;
  padding: 0;
  border: 0;
  background: none;
  color: #6d665a;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.login-link:hover,
.login-link:focus-visible {
  color: #121212;
}

.login-submit--ghost {
  min-height: 38px;
  padding: 0 16px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.login-submit--danger {
  min-height: 38px;
  padding: 0 16px;
  background: #b12525;
  color: #fff;
}

.login-submit--success {
  background: #177245;
  color: #fff;
}

.button-success {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.button-success svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-status.is-error {
  color: #b12525;
}

.form-status.is-success {
  color: #177245;
}

.login-hint {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.login-hint p {
  margin: 6px 0 0;
}

.login-hint a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.customer-dashboard-shell {
  padding: 56px 0 72px;
}

.customer-dashboard__intro {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.customer-dashboard__intro h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 0.95;
}

.customer-dashboard__intro .login-submit {
  width: fit-content;
}

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

.customer-card__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 16px;
}

.customer-card__actions .login-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 46px;
  padding: 0 18px;
  line-height: 1;
  letter-spacing: 0.06em;
}

.customer-card__actions .login-submit--ghost {
  border-color: #d8d3ca;
  background: #fff;
}

.customer-card__actions .login-submit--danger {
  background: #ba2a2a;
  border: 1px solid #ba2a2a;
}

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

.feedback-option {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #242424;
  font-size: 0.95rem;
  line-height: 1.5;
}

.feedback-option input {
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 auto;
}

.feedback-option span {
  display: block;
}

.customer-card {
  min-height: 220px;
  padding: 28px 26px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(18, 18, 18, 0.05);
}

.customer-card h2 {
  margin: 0 0 20px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 600;
}

.customer-card__list {
  display: grid;
  gap: 18px;
  margin: 0;
}

.customer-card__list div {
  display: grid;
  gap: 6px;
}

.customer-card__list dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.customer-card__list dd {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.customer-card__empty {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.dashboard-shell {
  padding: 56px 0 72px;
}

.dashboard-intro {
  margin-bottom: 28px;
}

.dashboard-intro h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 0.95;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 220px));
  gap: 18px;
}

.dashboard-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 116px;
  padding: 22px 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(18, 18, 18, 0.05);
  text-align: center;
}

.dashboard-card--action {
  cursor: pointer;
}

.dashboard-card--action[aria-expanded="true"] {
  border-color: #121212;
}

.dashboard-card h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.05rem;
  font-weight: 600;
}

.admin-panel {
  margin-top: 28px;
  padding: 28px 28px 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(18, 18, 18, 0.05);
}

.admin-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-panel__header h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  font-weight: 600;
}

.admin-panel__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-panel__button {
  min-height: 44px;
  padding: 0 18px;
}

.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
}

.admin-pagination__button {
  min-height: 36px;
  min-width: 44px;
  padding: 0 12px;
}

.admin-pagination__button[disabled] {
  opacity: 0.45;
  cursor: default;
}

.admin-pagination__status {
  color: var(--muted);
  font-size: 0.92rem;
}

.admin-table-wrap {
  overflow-x: auto;
}

.hero-image-manager {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.hero-image-card {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 22px;
  border: 1px solid var(--line);
  background: #fff;
}

.hero-image-card__header {
  display: grid;
  gap: 6px;
}

.hero-image-card__header h3 {
  margin: 0;
  font-size: 1.1rem;
}

.hero-image-card__header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-image-card__preview {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  object-fit: cover;
  background: #f5f1e8;
}

.section-loader {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #4a4a4a;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.section-loader[hidden] {
  display: none;
}

.section-loader__spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(18, 18, 18, 0.18);
  border-top-color: #121212;
  border-radius: 50%;
  animation: modal-spin 0.8s linear infinite;
}

[data-products-table-loading] {
  margin-bottom: 14px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.admin-table th,
.admin-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.admin-table th {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-table td {
  color: var(--muted);
}

.admin-table tbody tr:last-child td {
  border-bottom: 0;
}

.admin-table__actions {
  width: 1%;
  white-space: nowrap;
}

.admin-table__actions-wrap {
  display: flex;
  gap: 10px;
}

.admin-action-button {
  min-height: 34px;
  padding: 0 12px;
}

.admin-table__image {
  width: 72px;
}

.product-thumb {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #f1f1eb;
}

.product-thumb--placeholder {
  display: grid;
  place-items: center;
  color: #7a7469;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-name {
  margin: 0;
  color: var(--text);
  font-weight: 600;
}

.product-meta {
  margin-top: 6px;
  color: #7a7469;
  font-size: 0.82rem;
  line-height: 1.5;
}

.product-price {
  display: grid;
  gap: 4px;
}

.product-price strong {
  color: var(--text);
}

.product-price span {
  font-size: 0.82rem;
}

.admin-category-select {
  width: 100%;
  min-width: 160px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #d6d6d0;
  background: #fff;
  color: var(--text);
  font: inherit;
}

.admin-category-select:focus {
  outline: 1px solid var(--text);
  outline-offset: 0;
}

.admin-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f0efe9;
  color: #121212;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-featured {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #e7f5ec;
  color: #177245;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-featured--off {
  background: #f0efe9;
  color: #6d665a;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow-x: hidden;
  overflow-y: auto;
  background: rgba(18, 18, 18, 0.5);
}

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

.modal-card {
  width: min(100%, 480px);
  max-height: calc(100vh - 48px);
  padding: 26px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 24px 50px rgba(18, 18, 18, 0.18);
  overflow-x: hidden;
  overflow-y: auto;
}

.modal-card--wide {
  width: min(100%, 860px);
}

.modal-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.modal-card__header h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.1rem;
  font-weight: 600;
}

.modal-form {
  display: grid;
  gap: 18px;
}

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

.modal-form__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.modal-form__loading {
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #3f3f3f;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.modal-form__loading[hidden] {
  display: none;
}

.modal-form__spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(18, 18, 18, 0.18);
  border-top-color: #121212;
  border-radius: 50%;
  animation: modal-spin 0.8s linear infinite;
}

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

.form-status__success {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #177245;
  font-weight: 600;
}

.form-status__success svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-heading {
  width: min(1180px, calc(100% - 48px));
  margin: 32px auto 0;
  text-align: center;
}

.section-heading h2 {
  display: inline-block;
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid currentColor;
  color: #000;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.4rem;
  font-weight: 600;
}

.featured-products {
  width: min(100%, calc(100% - 48px));
  margin: 22px auto 0;
  padding-bottom: 48px;
}

.category-showcase {
  width: 100%;
  margin: 8px auto 44px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.category-showcase__card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 480px;
  overflow: hidden;
  background: transparent;
  color: #fff;
  isolation: isolate;
}

.category-showcase__image,
.category-showcase__overlay {
  position: absolute;
  inset: 0;
}

.category-showcase__image {
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 320ms ease;
}

.category-showcase__overlay {
  background:
    linear-gradient(180deg, rgba(6, 10, 16, 0), rgba(6, 10, 16, 0.24)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.18));
}

.category-showcase__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 28px 24px 24px;
  display: grid;
  gap: 14px;
}

.category-showcase__eyebrow {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.78;
}

.category-showcase__content h3 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2.55rem);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.category-showcase__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  width: min(100%, 220px);
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.category-showcase__card:hover .category-showcase__image,
.category-showcase__card:focus-visible .category-showcase__image {
  transform: scale(1.05);
}

.category-showcase__card:hover .category-showcase__button,
.category-showcase__card:focus-visible .category-showcase__button {
  background: #fff;
  border-color: #fff;
  color: #111;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

.featured-products > .section-loader {
  margin-bottom: 18px;
}

.featured-products__nav {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 18px;
}

.featured-products__nav[hidden] {
  display: none;
}

.featured-products__viewport {
  overflow: hidden;
}

.featured-products__track {
  --featured-visible-count: 5;
  --featured-gap: 18px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--featured-gap) * (var(--featured-visible-count) - 1))) / var(--featured-visible-count));
  gap: var(--featured-gap);
  transition: transform 380ms ease;
  will-change: transform;
}

.featured-products__arrow {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(18, 18, 18, 0.14);
  border-radius: 999px;
  background: #fff;
  color: #121212;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.featured-products__arrow:hover,
.featured-products__arrow:focus-visible {
  background: #121212;
  color: #fff;
  border-color: #121212;
}

.featured-products__arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.products-hero,
.products-index {
  width: min(100%, calc(100% - 48px));
  margin: 0 auto;
}

.products-hero {
  padding: 52px 0 24px;
}

.products-hero__inner {
  display: grid;
  gap: 8px;
}

.products-hero__eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.products-hero h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 3.1rem;
  font-weight: 600;
  line-height: 0.95;
}

.products-index {
  padding-bottom: 56px;
}

.products-index > .section-loader {
  margin-bottom: 18px;
}

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

.products-index__actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.products-index__load-more {
  min-width: 190px;
}

.checkout-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 56px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: 32px;
  align-items: start;
}

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

.checkout-card {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
}

.checkout-card h1,
.checkout-card h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 0.95;
}

.checkout-cart {
  display: grid;
  gap: 16px;
}

.checkout-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.checkout-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.checkout-item__image {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #fff;
}

.checkout-item__content {
  display: grid;
  gap: 4px;
}

.checkout-item__content h3,
.checkout-item__content p {
  margin: 0;
}

.checkout-item__content h3 {
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
}

.checkout-item__content p {
  color: var(--muted);
  font-size: 0.9rem;
}

.checkout-item__remove {
  min-height: 34px;
}

.checkout-form {
  display: grid;
  gap: 18px;
}

.checkout-card-details {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  background: #fff;
}

.checkout-card-details__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.checkout-card-details__title {
  margin: 0;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.checkout-card-details__powered {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.checkout-stripe-element {
  min-height: 170px;
  padding: 16px;
  border: 1px solid var(--line);
  background: #fcfcfb;
}

.checkout-stripe-placeholder {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.checkout-stripe-success {
  display: grid;
  place-items: center;
  min-height: 120px;
}

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

.checkout-summary {
  display: grid;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.checkout-status {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.checkout-status.is-error {
  color: #b12525;
}

.checkout-status.is-success {
  color: #177245;
}

.checkout-summary__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.checkout-summary__row--surcharge {
  color: var(--muted);
  font-size: 0.95rem;
}

.checkout-summary__row--total {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 1.05rem;
}

.checkout-summary__row--total strong {
  font-size: 1.15rem;
}

.checkout-empty p {
  margin: 0;
  color: var(--muted);
}

.checkout-result-body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(215, 206, 192, 0.45), transparent 34%),
    linear-gradient(180deg, #f8f4ee 0%, #f1ece4 100%);
}

.checkout-result {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
}

.checkout-result__card {
  width: min(560px, 100%);
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 40px 36px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 60px rgba(17, 17, 17, 0.08);
  text-align: center;
}

.checkout-result__card--thank-you {
  gap: 20px;
}

.checkout-result__logo {
  width: 118px;
  height: auto;
}

.checkout-result__status {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  background: #faf8f3;
}

.checkout-result__status.is-success {
  color: #177245;
  background: rgba(23, 114, 69, 0.08);
  border-color: rgba(23, 114, 69, 0.18);
}

.checkout-result__status svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.checkout-result__spinner {
  width: 30px;
  height: 30px;
  border: 2px solid rgba(17, 17, 17, 0.14);
  border-top-color: #111111;
  border-radius: 999px;
  animation: checkout-spin 0.8s linear infinite;
}

.checkout-result__eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.checkout-result__card h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 0.96;
}

.checkout-result__copy {
  max-width: 38ch;
  margin: 0;
  color: #4b4b4b;
  font-size: 1rem;
  line-height: 1.75;
}

.checkout-result__reference {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.checkout-result__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.checkout-result__button {
  min-width: 190px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

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

.product-detail {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 56px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 44px;
  align-items: start;
}

.product-detail-loading {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 96px 0 88px;
  display: grid;
  justify-items: center;
  gap: 16px;
}

.product-detail-loading[hidden] {
  display: none;
}

.product-detail--empty {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.product-detail__image-wrap {
  flex: 1 1 auto;
  aspect-ratio: 1 / 1.02;
  display: grid;
  place-items: center;
}

.product-detail__image-button {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
}

.product-detail__media {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.product-detail__thumbs {
  display: grid;
  gap: 12px;
  width: 92px;
  flex: 0 0 92px;
}

.product-detail__thumb {
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}

.product-detail__thumb img {
  display: block;
  width: 100%;
  height: 72px;
  object-fit: contain;
}

.product-detail__thumb span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-detail__thumb.is-active {
  border-color: #121212;
}

.product-detail__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: var(--zoom-x, 50%) var(--zoom-y, 50%);
  transition: transform 220ms ease;
}

.product-detail__image-wrap.is-zoomed .product-detail__image-button {
  cursor: zoom-out;
}

.product-detail__image-wrap.is-zoomed .product-detail__image {
  transform: scale(1.75);
}

.product-detail__content {
  display: grid;
  gap: 16px;
  align-content: start;
}

.product-detail__content h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 0.95;
}

.product-detail__price {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
}

.product-detail__sizes {
  display: grid;
  gap: 10px;
}

.product-detail__sizes-label {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-detail__size-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-detail__size-button {
  min-width: 60px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.product-detail__size-button.is-active {
  border-color: #121212;
  background: #121212;
  color: #fff;
}

.product-detail__size-button:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.product-detail__size-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.product-detail__description {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.product-detail__buy {
  min-width: 180px;
  justify-self: start;
  padding: 0 28px;
}

.product-detail__actions {
  display: grid;
  justify-items: start;
  gap: 12px;
}

.product-detail__continue {
  min-width: 180px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  padding: 0 28px;
}

.product-detail__swatches,
.product-detail__views {
  margin-top: 0;
}

.admin-stock {
  display: grid;
  gap: 4px;
}

.admin-stock strong {
  font-size: 0.96rem;
}

.admin-stock span {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

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

.featured-card {
  background: #fff;
  opacity: 0;
  transform: translateY(18px);
  animation: product-card-fade-in 420ms ease forwards;
  animation-delay: var(--product-card-delay, 0ms);
}

.featured-card__link {
  display: block;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.featured-card__media {
  position: relative;
  aspect-ratio: 0.7 / 1;
  overflow: hidden;
  background: linear-gradient(180deg, #f4f4f2 0%, #ffffff 100%);
}

.featured-card__media .featured-card__link {
  width: 100%;
  height: 100%;
}

.featured-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: transparent;
  opacity: 1;
  transition: transform 220ms ease, opacity 220ms ease;
}

.featured-card__media[data-has-hover-image="true"]:hover .featured-card__image,
.featured-card__media[data-has-hover-image="true"]:focus-within .featured-card__image {
  transform: scale(1.025);
}

.featured-card__media.is-switching .featured-card__image,
.featured-card__media.is-switching .featured-card__image--empty {
  opacity: 0;
}

.featured-card__image--empty {
  display: grid;
  place-items: center;
  min-height: 100%;
  background: #f5f4f1;
  color: #7a7469;
  font-size: 0.88rem;
}

.featured-card__body {
  display: grid;
  gap: 8px;
  padding: 14px 10px 0;
  justify-items: start;
  text-align: left;
}

.featured-card__views {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.featured-card__swatches {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.featured-card__swatch {
  width: 18px;
  height: 18px;
  padding: 0;
  border: 1px solid rgba(18, 18, 18, 0.16);
  border-radius: 999px;
  background: var(--swatch-color, #c7c7c7);
  cursor: pointer;
}

.featured-card__swatch.is-active {
  outline: 2px solid #121212;
  outline-offset: 1px;
}

.featured-card__view-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.featured-card__view-button.is-active {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.featured-card__category {
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@keyframes product-card-fade-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.featured-card__body h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
  text-decoration: none;
  transition: color 180ms ease;
}

.featured-card:has(.featured-card__media:hover) .featured-card__body h3,
.featured-card:has(.featured-card__media:focus-within) .featured-card__body h3,
.featured-card__body h3:hover,
.featured-card__body h3:focus-within {
  color: #6b665b;
}

.featured-card__price {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 500;
}

.featured-card__controls {
  display: grid;
  gap: 8px;
  align-items: start;
}

.featured-card--empty {
  grid-column: 1 / -1;
  padding: 26px 22px;
}

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

.anchor-strip {
  height: 1px;
}

.about-page {
  padding: 52px 0 24px;
}

.about-page__inner {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  gap: 32px;
}

.about-page__media {
  margin: 0;
}

.about-page__media img {
  display: block;
  width: 100%;
  height: auto;
}

.about-page__reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: about-fade-in 640ms ease forwards;
  animation-delay: var(--about-delay, 0ms);
}

.about-page__copy {
  display: grid;
  gap: 20px;
}

.about-page__copy p {
  margin: 0;
  color: #242424;
  font-size: 1rem;
  line-height: 1.9;
}

.about-page__signoff {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@keyframes about-fade-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 900px) {
  .about-page__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
  }
}

@media (max-width: 899px) {
  .about-page__inner {
    gap: 24px;
  }

  .about-page__media {
    width: min(100%, 620px);
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .about-page {
    padding: 36px 0 16px;
  }

  .about-page__inner {
    width: min(100% - 24px, 1080px);
    gap: 20px;
  }

  .about-page__media {
    width: min(100%, 420px);
  }

  .about-page__copy {
    gap: 16px;
  }

  .about-page__copy p {
    font-size: 0.96rem;
    line-height: 1.8;
  }
}

.connect-page {
  padding: 52px 0 24px;
}

.connect-page__grid {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.connect-card {
  padding: 30px 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(18, 18, 18, 0.05);
}

.connect-card h2 {
  margin: 0 0 14px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 600;
}

.connect-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

.connect-form {
  margin-top: 0;
}

.connect-form-state {
  min-height: 220px;
  display: grid;
  place-items: center;
  gap: 12px;
  text-align: center;
  padding: 28px 20px;
  border: 1px solid var(--line);
  background: #fbfaf7;
}

.connect-form-state p {
  margin: 0;
  color: var(--muted);
}

.connect-form-state--success {
  gap: 14px;
}

.connect-form-state__tick {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(23, 114, 69, 0.18);
  background: rgba(23, 114, 69, 0.08);
  color: #177245;
}

.connect-form-state__tick svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.connect-form-state__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

.connect-form-state__copy {
  max-width: 30ch;
  font-size: 0.95rem;
  line-height: 1.7;
}

.site-footer {
  margin-top: 72px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.site-footer__inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 40px 0 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 36px;
}

.site-footer__eyebrow {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer__signup h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.5rem;
  font-weight: 600;
}

.site-footer__signup {
  display: grid;
  gap: 18px;
  align-content: start;
}

.site-footer__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin-top: 22px;
}

.site-footer__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.site-footer__input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid #cfcfc9;
  background: #fff;
  color: var(--text);
  font: inherit;
}

.site-footer__input:focus {
  outline: 1px solid var(--text);
  outline-offset: 0;
}

.site-footer__submit {
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid #121212;
  background: #121212;
  color: #fff;
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.site-footer__status {
  min-height: 20px;
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer__status.is-success {
  color: #177245;
}

.site-footer__status.is-error {
  color: #b12525;
}

.site-footer__meta {
  display: grid;
  gap: 22px;
  align-content: start;
}

.site-footer__social,
.site-footer__payments {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  align-items: center;
  overflow-x: auto;
  padding-bottom: 2px;
}

.site-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.site-footer__social a:hover,
.site-footer__social a:focus-visible {
  background: #f5f4ef;
  border-color: #121212;
  transform: translateY(-1px);
}

.site-footer__social svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer__social a[aria-label="Facebook"] svg,
.site-footer__social a[aria-label="TikTok"] svg {
  fill: currentColor;
  stroke: none;
}

.site-footer__region {
  display: grid;
  gap: 6px;
}

.site-footer__region-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer__select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #cfcfc9;
  background: #fff;
  color: var(--text);
  font: inherit;
}

.site-footer__select:focus {
  outline: 1px solid var(--text);
  outline-offset: 0;
}

.site-footer__language {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.site-footer__payment {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 70px;
  min-height: 50px;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: #f8f8f6;
  color: #121212;
}

.site-footer__payment img {
  display: block;
  max-width: 70px;
  max-height: 28px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.site-footer__legal {
  border-top: 1px solid var(--line);
  padding: 18px 24px 24px;
}

.site-footer__legal p {
  width: min(1180px, 100%);
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
  text-align: center;
}

.site-footer__legal a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 820px) {
  .home-page .top-bar,
  .storefront-page .top-bar {
    min-height: auto;
    width: 100%;
    padding: 14px 16px 16px;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-page .main-nav,
  .storefront-page .main-nav {
    min-height: auto;
    gap: 10px 12px;
    padding: 0;
    justify-content: center;
    justify-self: center;
    flex-wrap: wrap;
    width: 100%;
    font-size: 0.78rem;
  }

  .home-page .header-search,
  .storefront-page .header-search {
    width: 100%;
    padding: 12px 14px 18px;
  }

  .home-page .brand,
  .home-page .utility-nav,
  .storefront-page .brand,
  .storefront-page .utility-nav {
    justify-self: center;
  }

  .home-page .brand-logo,
  .storefront-page .brand-logo {
    height: 44px;
  }

  .home-page .main-nav a,
  .home-page .main-nav .nav-dropdown__toggle,
  .storefront-page .main-nav a,
  .storefront-page .main-nav .nav-dropdown__toggle {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px 2px;
    border: 1px solid rgba(17, 17, 17, 0.08);
    background: rgba(255, 255, 255, 0.72);
  }

  .home-page .utility-nav,
  .storefront-page .utility-nav {
    gap: 16px;
  }

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

  .top-bar {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px 0;
  }

  .header-search__form {
    grid-template-columns: 1fr;
  }

  .header-search__submit {
    width: 100%;
  }

  .brand,
  .utility-nav {
    justify-self: center;
  }

  .main-nav {
    gap: 20px;
    flex-wrap: wrap;
    padding: 0 0 18px;
    min-height: auto;
  }

  .nav-dropdown__menu {
    left: 0;
  }

  .hero-shell {
    width: min(100% - 48px, 1320px);
    padding: 172px 0 96px;
    grid-template-columns: 1fr;
  }

  .hero-rail {
    grid-template-columns: 120px 1fr auto;
    gap: 14px;
    align-items: start;
  }

  .hero-stage {
    min-height: auto;
    display: grid;
    gap: 18px;
  }

  .hero-copy,
  .hero-stamp,
  .hero-year,
  .hero-title-block,
  .hero-meta {
    position: relative;
    inset: auto;
  }

  .hero-copy--left,
  .hero-copy--right {
    max-width: 100%;
    text-align: left;
  }

  .hero-image-wrap {
    width: 100%;
    min-height: 440px;
    order: 1;
  }

  .hero-image {
    height: 440px;
    min-height: 440px;
  }

  .hero-copy--left {
    order: 2;
  }

  .hero-copy--right {
    order: 3;
  }

  .hero-year {
    justify-self: end;
    margin-top: -88px;
    font-size: clamp(2.8rem, 12vw, 6rem);
  }

  .hero-meta--left,
  .hero-meta--right {
    justify-content: flex-start;
  }

  .hero-title-block {
    order: 4;
    max-width: 100%;
  }

  .hero-meta--left {
    order: 5;
  }

  .hero-stamp {
    order: 6;
    justify-self: start;
    margin-top: 6px;
  }

  .hero-meta--right {
    order: 7;
  }

  .hero-marquee {
    padding-inline: 18px;
  }

  .hero-marquee__track {
    animation-duration: 20s;
  }

  .hero-marquee__group {
    gap: 14px;
  }

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

  .customer-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .connect-page__grid {
    grid-template-columns: 1fr;
  }

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

  .featured-products__track {
    --featured-visible-count: 2;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

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

  .checkout-shell {
    width: min(100% - 48px, 1180px);
    grid-template-columns: 1fr;
  }

  .product-detail {
    width: min(100% - 48px, 1180px);
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .product-detail__media {
    flex-direction: column-reverse;
  }

  .product-detail__thumbs {
    width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(88px, 88px));
  }

  .admin-panel__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-panel__actions {
    flex-wrap: wrap;
  }

  .variant-editor__grid {
    grid-template-columns: 1fr;
  }

  .variant-editor__image-slots {
    grid-template-columns: 1fr;
  }

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

  .admin-pagination {
    justify-content: flex-start;
  }

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

@media (max-width: 640px) {
  .home-page .top-bar,
  .storefront-page .top-bar {
    padding: 10px 12px;
  }

  .home-page .promo-bar,
  .storefront-page .promo-bar {
    padding: 8px 12px;
  }

  .home-page .promo-bar p,
  .storefront-page .promo-bar p {
    font-size: 0.7rem;
  }

  .home-page .main-nav,
  .storefront-page .main-nav {
    gap: 8px 10px;
    font-size: 0.74rem;
  }

  .home-page .header-search,
  .storefront-page .header-search {
    padding: 12px 12px 16px;
  }

  .home-page .brand-logo,
  .storefront-page .brand-logo {
    height: 36px;
  }

  .home-page .main-nav a,
  .home-page .main-nav .nav-dropdown__toggle,
  .storefront-page .main-nav a,
  .storefront-page .main-nav .nav-dropdown__toggle {
    min-height: 34px;
    padding: 0 12px 2px;
  }

  .site-footer__form {
    grid-template-columns: 1fr;
  }

  .site-footer__submit {
    width: 100%;
  }

  .site-footer__social a,
  .site-footer__payment {
    min-width: 46px;
    width: auto;
  }

  .site-footer__payments {
    gap: 8px;
  }
}

@media (max-width: 640px) {
  .top-bar,
  .main-nav {
    width: min(100% - 24px, 1180px);
  }

  .admin-main {
    width: min(100% - 24px, 1180px);
  }

  .login-shell {
    padding: 28px 0 44px;
  }

  .login-card {
    padding: 28px 22px;
  }

  .login-card h1 {
    font-size: 2.4rem;
  }

  .dashboard-shell {
    padding: 28px 0 44px;
  }

  .dashboard-intro h1 {
    font-size: 2.5rem;
  }

  .section-heading {
    width: min(100% - 24px, 1180px);
    margin-top: 22px;
  }

  .featured-products {
    width: calc(100% - 24px);
    margin-top: 18px;
    padding-bottom: 32px;
  }

  .products-hero,
  .products-index {
    width: calc(100% - 24px);
  }

  .checkout-shell {
    width: calc(100% - 24px);
    padding: 34px 0 44px;
  }

  .product-detail {
    width: calc(100% - 24px);
    padding: 34px 0 44px;
  }

  .modal-card {
    padding: 22px;
  }

  .modal-form__actions {
    flex-direction: column-reverse;
  }

  .section-heading h2 {
    font-size: 2rem;
  }

  .category-showcase {
    width: calc(100% - 24px);
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
  }

  .category-showcase__card {
    min-height: 360px;
  }

  .featured-products__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .featured-products__track {
    --featured-visible-count: 1;
  }

  .featured-card__media {
    aspect-ratio: 0.78 / 1;
  }

  .products-hero {
    padding: 34px 0 20px;
  }

  .products-hero h1 {
    font-size: 2.4rem;
  }

  .products-index__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .checkout-card {
    padding: 22px;
  }

  .checkout-card h1,
  .checkout-card h2 {
    font-size: 2.1rem;
  }

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

  .checkout-item__remove {
    grid-column: 2;
    justify-self: start;
  }

  .checkout-form__grid {
    grid-template-columns: 1fr;
  }

  .checkout-result__card {
    padding: 32px 22px;
  }

  .checkout-result__actions {
    width: 100%;
    flex-direction: column;
  }

  .product-detail__content h1 {
    font-size: 2.5rem;
  }

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

  .product-detail__size-button {
    min-width: 52px;
  }

  .utility-nav {
    gap: 14px;
    font-size: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .main-nav {
    gap: 16px;
    font-size: 0.84rem;
  }

  .nav-dropdown__menu {
    min-width: 170px;
  }

  .hero-shell {
    width: min(100% - 24px, 1320px);
    padding: 162px 0 82px;
    gap: 20px;
  }

  .home-page .hero-shell {
    padding-top: 300px;
  }

  .hero-rail {
    grid-template-columns: 1fr;
  }

  .hero-rail__card {
    width: min(150px, 100%);
  }

  .hero-rail__vertical {
    justify-self: start;
    writing-mode: horizontal-tb;
    transform: none;
  }

  .hero-image-wrap {
    min-height: 300px;
  }

  .hero-image {
    height: 300px;
    min-height: 300px;
  }

  .hero-title {
    font-size: clamp(3.2rem, 24vw, 5.4rem);
  }

  .hero-copy__text {
    font-size: 0.88rem;
  }

  .hero-marquee {
    padding: 12px 14px;
  }

  .hero-marquee span {
    flex-basis: clamp(160px, 30vw, 220px);
    font-size: 0.64rem;
    min-height: 30px;
    padding-inline: 14px;
  }

  .hero-marquee__track {
    animation-duration: 18s;
  }

  .hero-marquee__group {
    gap: 12px;
  }
}
