:root {
  color-scheme: light;
  --page: #e7ebdd;
  --page-deep: #dce2cf;
  --surface: #fff;
  --surface-soft: #f5f7f2;
  --surface-muted: #eef2e9;
  --surface-glass: rgba(255,255,255,.76);
  --ink: #181c1a;
  --ink-soft: #565d58;
  --ink-muted: #7b827d;
  --line: rgba(24,28,26,.09);
  --line-strong: rgba(24,28,26,.16);
  --accent: #f4b65b;
  --accent-strong: #e9a342;
  --accent-soft: #fde4b8;
  --danger: #c95550;
  --success: #5f7d62;
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 13px;
  --pill: 999px;
  --shadow-soft: 0 10px 30px rgba(37,43,37,.07);
  --shadow-float: 0 22px 58px rgba(37,43,37,.16);
  --font: "SF Pro Display", "SF Pro Text", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --motion-fast: 170ms;
  --motion-standard: 320ms;
  --motion-slow: 540ms;
  --ease-standard: cubic-bezier(.22,.78,.24,1);
  --ease-spring: cubic-bezier(.18,.95,.24,1.16);
  --app-max: 560px;
  --safe-top: max(12px, env(safe-area-inset-top));
  --safe-bottom: max(14px, env(safe-area-inset-bottom));
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--page); scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100dvh;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overscroll-behavior-y: none;
}
button, input, textarea, select { font: inherit; }
input, textarea, select { font-size: 16px; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid color-mix(in srgb, var(--accent) 70%, var(--ink)); outline-offset: 2px; }
img, video { display: block; max-width: 100%; }
button { cursor: pointer; }
.icon { flex: 0 0 auto; }
[hidden] { display: none !important; }

.app-shell {
  position: relative;
  width: min(100%, var(--app-max));
  min-height: 100dvh;
  margin: 0 auto;
  padding-bottom: calc(92px + var(--safe-bottom));
  overflow-x: clip;
  background:
    radial-gradient(circle at 84% -8%, color-mix(in srgb, var(--accent) 11%, transparent), transparent 29%),
    var(--page);
}

.page-pad { padding-left: 20px; padding-right: 20px; }
.view { min-height: calc(100dvh - 78px); }

.topbar {
  position: relative;
  z-index: 60;
  display: grid;
  grid-template-columns: 44px minmax(0,1fr) 44px;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: var(--safe-top) 20px 8px;
}
.avatar, .topbar-button {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--surface-glass);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.84);
  backdrop-filter: blur(14px);
  transition: transform var(--motion-fast) var(--ease-standard), background var(--motion-fast) ease;
}
.avatar:active, .topbar-button:active { transform: scale(.94); }
.avatar span {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-size: 12px;
  font-weight: 720;
}
.topbar-button.is-saved { background: var(--accent-soft); }
.topbar-button.is-saved .icon { fill: currentColor; }
.brand {
  justify-self: center;
  border: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 760;
  letter-spacing: .12em;
}
.topbar-title { justify-self: center; font-size: 14px; font-weight: 650; }
.bag-button b, .bottom-nav__icon b {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--pill);
  background: var(--ink);
  color: #fff;
  font-size: 9px;
  line-height: 1;
  font-weight: 760;
}
.bag-button b { top: -2px; right: -1px; }

.bottom-nav {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: var(--safe-bottom);
  width: min(calc(100% - 28px), calc(var(--app-max) - 28px));
  height: 68px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(4,1fr);
  align-items: stretch;
  padding: 6px;
  border: 1px solid rgba(255,255,255,.76);
  border-radius: 24px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 15px 46px rgba(35,40,35,.17);
  backdrop-filter: blur(22px) saturate(1.05);
  overflow: hidden;
}
.bottom-nav__indicator {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  border-radius: 18px;
  background: color-mix(in srgb, var(--page) 64%, white);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.72);
  will-change: transform,width,height;
}
.bottom-nav__item {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: var(--ink-muted);
  font-size: 9px;
  transition: color var(--motion-fast) ease, transform var(--motion-fast) var(--ease-standard);
}
.bottom-nav__item.is-active { color: var(--ink); }
.bottom-nav__item:active { transform: scale(.95); }
.bottom-nav__icon { position: relative; display: grid; place-items: center; height: 25px; }
.bottom-nav__icon b { top: -5px; right: -11px; }

.app-loader {
  position: fixed;
  z-index: 999;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--page);
}
.app-loader__word {
  color: var(--ink);
  font-size: 15px;
  font-weight: 720;
  letter-spacing: .08em;
}

.home-page { padding-top: 8px; }
.home-headline, .section-title, .page-title-row, .catalog-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.home-headline { margin: 6px 0 12px; }
.home-headline > span { font-size: 13px; font-weight: 680; }
.home-headline button, .feedback-title button {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 11px;
}

.featured-stage {
  position: relative;
  width: 100%;
  overflow: hidden;
  touch-action: pan-y;
}
.featured-track { display: flex; width: 100%; will-change: transform; }
.featured-slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: 4px 0 0;
}
.featured-media {
  width: 100%;
  height: min(66vw, 360px);
  min-height: 260px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 22%, color-mix(in srgb, var(--feature-swatch) 30%, transparent), transparent 34%),
    color-mix(in srgb, var(--feature-swatch) 13%, var(--surface));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), var(--shadow-soft);
}
.featured-visual { width: min(62%, 255px); aspect-ratio: 1; transition: transform var(--motion-slow) var(--ease-standard); }
.featured-media:active .featured-visual { transform: scale(.97); }
.featured-copy {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 4px 0;
}
.featured-copy strong, .featured-copy span { display: block; }
.featured-copy strong { font-size: 18px; font-weight: 650; letter-spacing: -.02em; }
.featured-copy span { margin-top: 4px; color: var(--ink-soft); font-size: 12px; }
.featured-price { font-size: 14px; font-weight: 680; font-variant-numeric: tabular-nums; }
.featured-dots, .carousel-dots {
  position: relative;
  width: max-content;
  display: flex;
  align-items: center;
  gap: 8px;
}
.featured-dots { margin: 13px auto 0; }
.featured-dot, .carousel-dot { width: 6px; height: 6px; border-radius: 50%; background: color-mix(in srgb, var(--ink) 17%, transparent); }
.featured-pill, .carousel-dot-pill {
  position: absolute;
  left: 0;
  z-index: 2;
  width: 14px;
  height: 6px;
  border-radius: var(--pill);
  background: var(--ink);
  will-change: transform;
}
.home-section { margin-top: 34px; }
.section-title h2, .page-title-row h1, .catalog-title-row h1 {
  margin: 0;
  font-size: 23px;
  line-height: 1;
  letter-spacing: -.035em;
  font-weight: 620;
}
.section-title > span, .section-title div > span, .page-title-row p, .catalog-title-row > span {
  margin: 0;
  color: var(--ink-muted);
  font-size: 11px;
}
.section-title div h2 { margin-bottom: 5px; }
.quick-fit { display: grid; grid-template-columns: repeat(2,1fr); gap: 9px; margin-top: 14px; }
.quick-fit button {
  min-height: 68px;
  padding: 0 17px;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--surface-glass);
  text-align: left;
  font-size: 13px;
  font-weight: 620;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.76);
  transition: transform var(--motion-fast) var(--ease-standard), background var(--motion-fast) ease;
}
.quick-fit button:active { transform: scale(.975); background: var(--surface); }
.mini-product-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 43%);
  gap: 10px;
  overflow-x: auto;
  margin: 14px -20px 0;
  padding: 0 20px 8px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.mini-product-rail::-webkit-scrollbar { display: none; }
.mini-product {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  scroll-snap-align: start;
}
.mini-product__visual {
  height: 148px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--mini-bg, var(--surface-soft));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.72);
}
.mini-product__visual .valve-placeholder { width: 75%; }
.mini-product__copy { display: block; padding: 9px 3px 0; }
.mini-product__copy strong, .mini-product__copy small { display: block; }
.mini-product__copy strong { font-size: 12px; }
.mini-product__copy small { margin-top: 3px; color: var(--ink-muted); font-size: 10px; }

.catalog-header { padding-top: 8px; padding-bottom: 16px; }
.catalog-title-row { margin-bottom: 17px; }
.search-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
.search-trigger {
  min-width: 0;
  min-height: 54px;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  border-radius: var(--radius-md);
  background: var(--surface-glass);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.72);
  overflow: hidden;
}
.search-trigger__main {
  min-width: 0;
  min-height: 54px;
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  align-items: center;
  gap: 10px;
  padding: 0 0 0 14px;
  border: 0;
  background: transparent;
  text-align: left;
}
.search-trigger__main > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-muted); font-size: 12px; }
.search-trigger__main > span.is-query { color: var(--ink); font-weight: 600; }
.search-inline-clear { width: 28px; height: 28px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(24,28,26,.06); }
.filter-button {
  position: relative;
  min-width: 94px;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--ink);
  color: white;
  font-size: 11px;
  font-weight: 620;
}
.filter-button b { min-width: 17px; height: 17px; display: grid; place-items: center; border-radius: var(--pill); background: var(--accent); color: var(--ink); font-size: 9px; }
.search-zone { position: relative; z-index: 45; }
.search-input-wrap {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 12px 0 16px;
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-soft);
}
.search-input-wrap input {
  width: 100%;
  height: 56px;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
}
.search-input-wrap input::placeholder { color: var(--ink-muted); }
.search-input-wrap input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
.search-clear { width: 32px; height: 32px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: var(--surface-soft); }
.search-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.97);
  box-shadow: var(--shadow-float);
  backdrop-filter: blur(20px);
}
.search-popover__head { display: flex; align-items: center; justify-content: space-between; padding: 13px 14px 8px 16px; }
.search-popover__head > div { display: flex; align-items: baseline; gap: 5px; }
.search-popover__head strong { font-size: 13px; font-variant-numeric: tabular-nums; }
.search-popover__head span { color: var(--ink-muted); font-size: 10px; }
.search-popover__head button { border: 0; background: transparent; font-size: 11px; font-weight: 650; }
.search-popover__body { padding: 4px 8px 9px; }
.search-result {
  width: 100%;
  display: grid;
  grid-template-columns: 46px minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 6px 8px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  text-align: left;
}
.search-result:active { background: var(--surface-soft); }
.search-result__visual { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; background: var(--surface-muted); overflow: hidden; }
.search-result__visual .valve-placeholder { width: 80%; }
.search-result__copy { min-width: 0; }
.search-result__copy strong, .search-result__copy small { display: block; }
.search-result__copy strong { font-size: 12px; }
.search-result__copy small { margin-top: 3px; color: var(--ink-muted); font-size: 10px; }
.search-result__swatches { display: flex; gap: 3px; }
.search-result__swatches i { width: 8px; height: 8px; border-radius: 50%; background: var(--swatch); box-shadow: 0 0 0 1px rgba(24,28,26,.08); }
.search-suggestions-label { padding: 6px 8px 8px; color: var(--ink-muted); font-size: 10px; }
.query-suggestion { width: 100%; min-height: 43px; display: grid; grid-template-columns: 26px 1fr auto; align-items: center; padding: 0 8px; border: 0; border-radius: 12px; background: transparent; text-align: left; font-size: 12px; }
.query-suggestion:active { background: var(--surface-soft); }
.search-empty { padding: 20px 8px 24px; color: var(--ink-muted); font-size: 12px; }

.catalog-body {
  padding: 15px 0 22px;
  border-radius: 30px 30px 0 0;
  background: rgba(255,255,255,.56);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.68);
}
.category-wrap { position: relative; margin-bottom: 13px; }
.category-scroller { display: flex; gap: 7px; overflow-x: auto; padding: 0 20px 4px; scrollbar-width: none; }
.category-scroller::-webkit-scrollbar { display: none; }
.category-indicator {
  position: absolute;
  z-index: 0;
  left: 0;
  top: 0;
  border-radius: var(--pill);
  background: var(--accent);
  box-shadow: 0 7px 17px color-mix(in srgb, var(--accent) 23%, transparent);
  will-change: transform,width,height;
}
.category-pill {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 15px;
  border: 0;
  border-radius: var(--pill);
  background: var(--surface-glass);
  color: var(--ink-soft);
  font-size: 11px;
  transition: color var(--motion-fast) ease;
}
.category-pill.is-active { color: var(--ink); font-weight: 650; background: transparent; }
.catalog-grid { display: grid; gap: 14px; padding: 0 14px 20px; }
.product-card { overflow: hidden; border-radius: var(--radius-xl); background: var(--surface); box-shadow: var(--shadow-soft); }
.product-card__media { position: relative; }
.card-carousel .carousel-viewport { height: min(74vw, 390px); min-height: 282px; background: color-mix(in srgb, var(--page) 40%, var(--surface)); }
.favorite-button {
  position: absolute;
  z-index: 5;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.83);
  box-shadow: 0 7px 20px rgba(24,28,26,.08);
  backdrop-filter: blur(12px);
}
.favorite-button.is-saved { background: var(--accent-soft); }
.favorite-button.is-saved .icon { fill: currentColor; }
.compatibility-chip {
  position: absolute;
  z-index: 5;
  left: 12px;
  bottom: 12px;
  padding: 7px 9px;
  border-radius: var(--pill);
  background: rgba(255,255,255,.84);
  color: var(--ink-soft);
  font-size: 9px;
  text-transform: capitalize;
  backdrop-filter: blur(10px);
}
.product-card__body { padding: 14px 14px 15px; }
.product-card__title { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 0; border: 0; background: transparent; text-align: left; }
.product-card__title span:first-child { min-width: 0; }
.product-card__title strong, .product-card__title small { display: block; }
.product-card__title strong { font-size: 16px; line-height: 1.1; letter-spacing: -.02em; }
.product-card__title small { margin-top: 4px; color: var(--ink-muted); font-size: 10px; }
.product-card__price { flex: 0 0 auto; font-size: 13px; font-weight: 650; font-variant-numeric: tabular-nums; }
.product-card__variant-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 13px; }
.variant-name { color: var(--ink-muted); font-size: 10px; }
.variant-strip { position: relative; display: flex; gap: 7px; width: max-content; padding: 3px; }
.variant-strip__indicator {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 4px 12px rgba(24,28,26,.16);
  will-change: transform,width,height;
}
.swatch { position: relative; z-index: 1; width: 30px; height: 30px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; }
.swatch > span { width: 21px; height: 21px; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1px rgba(24,28,26,.12); }
.swatch.is-active > span { box-shadow: inset 0 0 0 1px rgba(255,255,255,.54); }
.product-card__actions { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8px; margin-top: 14px; }
.soft-button, .primary-button, .tiny-button {
  min-height: 46px;
  border: 0;
  border-radius: var(--radius-md);
  font-size: 11px;
  font-weight: 650;
  transition: transform var(--motion-fast) var(--ease-standard);
}
.soft-button { background: var(--surface-muted); }
.primary-button { background: var(--accent); color: var(--ink); }
.soft-button:active, .primary-button:active, .tiny-button:active { transform: scale(.975); }
.add-button { display: flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; }

.carousel { position: relative; overflow: hidden; }
.carousel-viewport { overflow: hidden; touch-action: pan-y; outline: none; }
.carousel-track { display: flex; height: 100%; will-change: transform; }
.carousel-slide { flex: 0 0 100%; width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; }
.carousel-slide img, .carousel-slide video { width: 100%; height: 100%; object-fit: cover; }
.carousel-slide .valve-placeholder { width: min(72%, 285px); }
.carousel-dots { position: absolute; z-index: 4; left: 50%; bottom: 14px; transform: translateX(-50%); padding: 7px 9px; border-radius: var(--pill); background: rgba(255,255,255,.69); backdrop-filter: blur(10px); }
.carousel-dot-pill { margin-left: 0; }

.valve-placeholder { position: relative; aspect-ratio: 1; display: grid; place-items: center; color: var(--swatch); }
.valve-placeholder__shape, .valve-placeholder__shadow, .valve-placeholder__shine {
  position: absolute;
  width: 74%;
  height: 74%;
  -webkit-mask-image: var(--placeholder-mask);
  mask-image: var(--placeholder-mask);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.valve-placeholder__shape { z-index: 2; background: var(--swatch); filter: drop-shadow(0 13px 14px rgba(24,28,26,.14)); }
.valve-placeholder__shadow { z-index: 1; background: color-mix(in srgb, var(--swatch) 60%, #161a18); transform: translate(8px,9px) scale(.985); opacity: .34; filter: blur(.8px); }
.valve-placeholder__shine { z-index: 3; background: linear-gradient(135deg, rgba(255,255,255,.72), transparent 44%); opacity: .34; transform: translate(-5px,-5px) scale(.94); }
.valve-placeholder--detail .valve-placeholder__shape { transform: rotate(-8deg) scale(.94); }
.valve-placeholder--detail .valve-placeholder__shadow { transform: translate(9px,10px) rotate(-8deg) scale(.92); }
.valve-placeholder--mounted .valve-placeholder__shape { transform: rotate(10deg) translateY(6%) scale(.87); }
.valve-placeholder--mounted::after { content: ""; position: absolute; z-index: 0; width: 17%; height: 43%; bottom: 2%; border-radius: 999px; background: #636a65; box-shadow: inset 0 0 0 1px rgba(24,28,26,.18); }
.valve-placeholder--top .valve-placeholder__shape, .valve-placeholder--top .valve-placeholder__shadow, .valve-placeholder--top .valve-placeholder__shine { transform: rotate(90deg) scale(.82); }

.catalog-empty, .state-empty { padding: 34px 24px 22px; text-align: center; }
.catalog-empty__visual, .state-empty__visual { width: 170px; height: 170px; display: grid; place-items: center; margin: 0 auto 10px; border-radius: 50%; background: rgba(255,255,255,.54); }
.catalog-empty__visual .valve-placeholder, .state-empty__visual .valve-placeholder { width: 80%; }
.catalog-empty h2, .state-empty h2 { margin: 0; font-size: 20px; letter-spacing: -.03em; }
.catalog-empty p, .state-empty p { max-width: 280px; margin: 8px auto 16px; color: var(--ink-muted); font-size: 12px; line-height: 1.5; }
.catalog-empty button:not(.primary-button) { min-height: 42px; padding: 0 15px; border: 0; border-radius: var(--pill); background: var(--surface); font-size: 11px; }
.state-empty .primary-button { min-width: 150px; padding: 0 18px; }

.saved-page, .cart-page { padding-top: 10px; }
.page-title-row { margin-bottom: 18px; }
.page-title-row > div p { margin-top: 5px; }
.saved-list, .cart-list { display: grid; gap: 11px; }
.saved-product {
  display: grid;
  grid-template-columns: 118px minmax(0,1fr);
  gap: 13px;
  padding: 10px;
  border-radius: var(--radius-lg);
  background: var(--surface-glass);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.68);
}
.saved-product__visual { min-height: 128px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 19px; background: var(--surface-muted); overflow: hidden; }
.saved-product__visual .valve-placeholder { width: 88%; }
.saved-product__content { min-width: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 5px 2px 3px 0; }
.saved-product__title { width: 100%; padding: 0; border: 0; background: transparent; text-align: left; }
.saved-product__title strong, .saved-product__title span { display: block; }
.saved-product__title strong { font-size: 15px; }
.saved-product__title span { margin-top: 4px; color: var(--ink-muted); font-size: 10px; }
.saved-product__footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.saved-product__footer > span { color: var(--ink-soft); font-size: 10px; }
.saved-product__footer > div { display: flex; gap: 5px; }
.tiny-button { min-height: 32px; padding: 0 9px; border-radius: 11px; background: var(--surface-muted); font-size: 9px; }
.tiny-button--strong { background: var(--ink); color: white; }

.cart-line {
  display: grid;
  grid-template-columns: 104px minmax(0,1fr);
  gap: 12px;
  padding: 10px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface-glass);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.68);
}
.cart-line__visual { height: 112px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 18px; background: var(--surface-muted); overflow: hidden; }
.cart-line__visual .valve-placeholder { width: 87%; }
.cart-line__copy { min-width: 0; position: relative; padding: 4px 0 0; }
.cart-line__title { width: calc(100% - 60px); padding: 0; border: 0; background: transparent; text-align: left; }
.cart-line__title strong, .cart-line__title span { display: block; }
.cart-line__title strong { font-size: 14px; }
.cart-line__title span { margin-top: 4px; color: var(--ink-muted); font-size: 10px; }
.cart-line__price { position: absolute; top: 4px; right: 0; font-size: 12px; font-variant-numeric: tabular-nums; }
.cart-line__controls { position: absolute; left: 0; right: 0; bottom: 2px; display: flex; align-items: center; justify-content: space-between; }
.quantity-control { display: grid; grid-template-columns: 30px 30px 30px; min-height: 32px; align-items: center; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.quantity-control button { height: 32px; display: grid; place-items: center; padding: 0; border: 0; background: transparent; }
.quantity-control span { text-align: center; font-size: 10px; font-variant-numeric: tabular-nums; }
.icon-button { width: 32px; height: 32px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 11px; background: var(--surface-muted); color: var(--ink-soft); }
.cart-upsell { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 12px; padding: 13px 14px; border-radius: var(--radius-md); background: color-mix(in srgb, var(--accent) 20%, var(--surface)); }
.cart-upsell strong, .cart-upsell span { display: block; }
.cart-upsell strong { font-size: 12px; }
.cart-upsell span { margin-top: 3px; color: var(--ink-soft); font-size: 9px; }
.cart-upsell button { flex: 0 0 auto; min-height: 36px; padding: 0 11px; border: 0; border-radius: 12px; background: var(--ink); color: white; font-size: 9px; }
.cart-summary { margin-top: 18px; padding: 17px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-soft); }
.cart-summary > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 28px; color: var(--ink-soft); font-size: 10px; }
.cart-summary > div strong { color: var(--ink); font-size: 12px; font-variant-numeric: tabular-nums; }
.cart-summary__total { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink) !important; font-size: 12px !important; }
.cart-summary__total strong { font-size: 16px !important; }
.checkout-button { width: 100%; margin-top: 14px; }

.product-page { padding-bottom: 24px; }
.detail-media { padding: 4px 14px 0; }
.detail-carousel { overflow: hidden; border-radius: var(--radius-xl); background: color-mix(in srgb, var(--page) 42%, white); box-shadow: inset 0 0 0 1px rgba(255,255,255,.7); }
.detail-carousel .carousel-viewport { height: min(88vw, 470px); min-height: 336px; }
.detail-carousel .carousel-slide .valve-placeholder { width: min(77%, 345px); }
.detail-info { padding-top: 18px; }
.detail-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.detail-title-row h1 { margin: 0; font-size: 28px; line-height: 1; letter-spacing: -.045em; font-weight: 620; }
.detail-title-row p { margin: 6px 0 0; color: var(--ink-muted); font-size: 11px; }
.detail-title-row > strong { font-size: 15px; font-variant-numeric: tabular-nums; }
.detail-control-block { margin-top: 23px; }
.detail-control-label { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.detail-control-label span { color: var(--ink-muted); font-size: 10px; }
.detail-control-label strong { font-size: 11px; }
.detail-control-block .variant-strip { margin-left: -3px; }
.pack-selector { position: relative; display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; padding: 4px; border-radius: var(--radius-md); background: rgba(255,255,255,.52); }
.pack-selector__indicator { position: absolute; z-index: 0; left: 0; top: 0; border-radius: 15px; background: var(--surface); box-shadow: var(--shadow-soft); will-change: transform,width,height; }
.pack-choice { position: relative; z-index: 1; min-width: 0; min-height: 58px; display: grid; align-content: center; gap: 3px; padding: 0 6px; border: 0; border-radius: 15px; background: transparent; color: var(--ink-soft); }
.pack-choice span { font-size: 10px; font-weight: 620; }
.pack-choice small { color: var(--ink-muted); font-size: 9px; font-variant-numeric: tabular-nums; }
.pack-choice.is-active { color: var(--ink); }
.detail-add { width: 100%; min-height: 54px; display: flex; align-items: center; justify-content: space-between; margin-top: 17px; padding: 0 18px; }
.detail-add strong { font-size: 11px; font-variant-numeric: tabular-nums; }
.product-story { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.product-story > p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.58; }
.detail-specs { display: grid; grid-template-columns: repeat(2,1fr); gap: 9px 16px; margin-top: 18px; }
.detail-specs > div { min-height: 66px; padding: 11px 0; border-top: 1px solid var(--line); }
.detail-specs span, .detail-specs strong { display: block; }
.detail-specs span { color: var(--ink-muted); font-size: 9px; }
.detail-specs strong { margin-top: 5px; font-size: 11px; font-weight: 620; }
.feedback-section, .related-section { margin-top: 34px; }
.feedback-title { align-items: center; }
.feedback-title button { padding: 8px 10px; border-radius: var(--pill); background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.feedback-empty { margin-top: 13px; padding: 17px; border-radius: var(--radius-md); background: rgba(255,255,255,.5); color: var(--ink-muted); font-size: 11px; }
.feedback-empty p { margin: 0; }
.feedback-list { display: grid; gap: 9px; margin-top: 13px; }
.feedback-item { padding: 14px; border-radius: var(--radius-md); background: rgba(255,255,255,.62); box-shadow: inset 0 0 0 1px rgba(255,255,255,.7); }
.feedback-item__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.feedback-item__head strong { font-size: 11px; }
.feedback-item__head span { color: var(--accent-strong); font-size: 11px; letter-spacing: .08em; }
.feedback-item p { margin: 9px 0 0; color: var(--ink-soft); font-size: 11px; line-height: 1.5; }
.feedback-item small { display: block; margin-top: 9px; color: var(--ink-muted); font-size: 8px; }
.feedback-images { display: grid; grid-auto-flow: column; grid-auto-columns: 88px; gap: 7px; overflow-x: auto; margin-top: 10px; scrollbar-width: none; }
.feedback-images button { width: 88px; height: 88px; padding: 0; border: 0; border-radius: 13px; overflow: hidden; background: var(--surface-muted); }
.feedback-images img { width: 100%; height: 100%; object-fit: cover; }

.sheet-backdrop { position: fixed; z-index: 110; inset: 0; background: rgba(22,26,23,.27); backdrop-filter: blur(4px); }
.sheet {
  position: fixed;
  z-index: 120;
  left: 50%;
  bottom: 0;
  width: min(100%, var(--app-max));
  max-height: min(86dvh, 760px);
  overflow-y: auto;
  transform: translateX(-50%);
  padding: 9px 18px calc(20px + env(safe-area-inset-bottom));
  border-radius: 28px 28px 0 0;
  background: rgba(248,250,246,.98);
  box-shadow: 0 -18px 55px rgba(24,28,26,.18);
}
.sheet-handle { width: 38px; height: 4px; margin: 0 auto 10px; border-radius: var(--pill); background: rgba(24,28,26,.14); }
.sheet-title { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 17px; }
.sheet-title h2 { margin: 0; font-size: 22px; letter-spacing: -.035em; }
.sheet-title span { display: block; margin-top: 4px; color: var(--ink-muted); font-size: 10px; }
.sheet-group { margin-top: 17px; }
.sheet-group > span { display: block; margin-bottom: 7px; color: var(--ink-muted); font-size: 9px; }
.choice-group { position: relative; display: grid; grid-template-columns: repeat(auto-fit,minmax(70px,1fr)); gap: 5px; padding: 4px; border-radius: var(--radius-md); background: var(--surface-muted); }
.choice-group__indicator { position: absolute; z-index: 0; left: 0; top: 0; border-radius: 14px; background: var(--surface); box-shadow: 0 5px 15px rgba(24,28,26,.06); will-change: transform,width,height; }
.choice { position: relative; z-index: 1; min-height: 40px; padding: 0 8px; border: 0; border-radius: 14px; background: transparent; color: var(--ink-soft); font-size: 10px; }
.choice.is-active { color: var(--ink); font-weight: 650; }
.sheet-actions { position: sticky; bottom: 0; display: grid; grid-template-columns: .7fr 1.3fr; gap: 8px; margin-top: 22px; padding-top: 10px; background: linear-gradient(transparent, rgba(248,250,246,.98) 20%); }
.sheet--feedback form { display: grid; gap: 14px; }
.form-field { display: grid; gap: 6px; color: var(--ink-muted); font-size: 9px; }
.form-field input, .form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  outline: 0;
  resize: vertical;
  font-size: 16px;
}
.rating-input { display: flex; gap: 5px; }
.rating-input button { width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 12px; background: var(--surface-muted); color: var(--ink-muted); }
.rating-input button.is-active { background: var(--accent-soft); color: var(--accent-strong); }
.rating-input button.is-active .icon { fill: currentColor; }
.image-upload { position: relative; display: grid; gap: 4px; padding: 13px; border: 1px dashed var(--line-strong); border-radius: 14px; background: rgba(255,255,255,.52); overflow: hidden; }
.image-upload > span { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 620; }
.image-upload small { color: var(--ink-muted); font-size: 9px; }
.image-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.image-preview { display: grid; grid-template-columns: repeat(2,1fr); gap: 7px; }
.image-preview img { width: 100%; aspect-ratio: 1.4; object-fit: cover; border-radius: 12px; }
.image-lightbox { position: fixed; z-index: 140; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(18,21,19,.82); }
.image-lightbox img { max-width: min(100%, 720px); max-height: 82dvh; border-radius: 20px; object-fit: contain; }
.image-lightbox button { position: absolute; top: calc(16px + env(safe-area-inset-top)); right: 16px; width: 42px; height: 42px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.88); }

.toast-root { position: fixed; z-index: 130; left: 50%; bottom: calc(92px + var(--safe-bottom)); transform: translateX(-50%); width: min(calc(100% - 40px), 420px); pointer-events: none; }
.toast { width: max-content; max-width: 100%; margin: 0 auto; padding: 10px 13px; border-radius: var(--pill); background: rgba(24,28,26,.9); color: white; box-shadow: var(--shadow-float); font-size: 10px; backdrop-filter: blur(12px); }
.fatal-error { min-height: 100dvh; display: grid; place-content: center; gap: 7px; padding: 24px; text-align: center; background: var(--page); }
.fatal-error strong { font-size: 18px; }
.fatal-error span { color: var(--ink-muted); font-size: 12px; }

::view-transition-old(root), ::view-transition-new(root) { animation-duration: 330ms; animation-timing-function: var(--ease-standard); }
::view-transition-old(product-media), ::view-transition-new(product-media) { animation-duration: 440ms; animation-timing-function: var(--ease-standard); }

@media (min-width: 700px) {
  body { background: color-mix(in srgb, var(--page-deep) 72%, #d7d9d2); }
  .app-shell { box-shadow: 0 0 0 1px rgba(255,255,255,.25), 0 30px 80px rgba(24,28,26,.10); }
}

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

@media (prefers-reduced-transparency: reduce) {
  .bottom-nav, .topbar-button, .avatar, .search-popover, .favorite-button { backdrop-filter: none; background: var(--surface); }
}

/* v4: compact mobile shop shell, morphing states, two-column catalog */
html.sheet-open, html.sheet-open body { overflow: hidden; }
#overlay-root { position: relative; z-index: 200; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 90;
  min-height: 70px;
  padding-top: var(--safe-top);
  background: linear-gradient(to bottom, color-mix(in srgb, var(--page) 94%, transparent) 58%, transparent);
  backdrop-filter: blur(18px) saturate(1.05);
  transition: min-height var(--motion-standard) var(--ease-standard), padding var(--motion-standard) var(--ease-standard), background var(--motion-standard) ease;
}
.bottom-nav {
  transition: height var(--motion-standard) var(--ease-standard), width var(--motion-standard) var(--ease-standard), border-radius var(--motion-standard) var(--ease-standard), padding var(--motion-standard) var(--ease-standard), bottom var(--motion-standard) var(--ease-standard);
}
.bottom-nav__item > span:last-child {
  max-height: 14px;
  opacity: 1;
  overflow: hidden;
  transition: max-height var(--motion-standard) var(--ease-standard), opacity var(--motion-fast) ease, transform var(--motion-standard) var(--ease-standard);
}
.app-shell.nav-condensed .topbar { min-height: 58px; padding-bottom: 3px; }
.app-shell.nav-condensed .bottom-nav {
  width: min(calc(100% - 94px), calc(var(--app-max) - 94px));
  height: 52px;
  padding: 5px;
  border-radius: 20px;
  bottom: calc(var(--safe-bottom) - 2px);
}
.app-shell.nav-condensed .bottom-nav__item { gap: 0; }
.app-shell.nav-condensed .bottom-nav__item > span:last-child { max-height: 0; opacity: 0; transform: translateY(4px); }
.app-shell.nav-condensed .bottom-nav__icon { height: 27px; }

.app-loader__stack { display: grid; justify-items: center; gap: 12px; }
.app-loader__logo {
  width: 26px;
  height: 26px;
  opacity: 0;
  background: var(--ink);
  -webkit-mask: var(--logo-mask) center/contain no-repeat;
  mask: var(--logo-mask) center/contain no-repeat;
}
.app-loader__logo.is-visible { opacity: 1; }

.featured-media { height: min(57vw, 318px); min-height: 230px; }
.featured-visual { width: min(57%, 226px); }
.featured-copy { padding-top: 11px; }
.featured-copy strong { font-size: 16px; }
.featured-copy span { font-size: 10px; }
.featured-dots, .carousel-dots { gap: 7px; }
.featured-dot, .carousel-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: var(--pill);
  background: var(--ink);
  opacity: .22;
  will-change: width, opacity;
}
.featured-dot.is-active, .carousel-dot.is-active { width: 20px; opacity: .9; }
.featured-pill, .carousel-dot-pill { display: none !important; }

.home-products { margin-top: 25px; }
.section-title--products { align-items: flex-end; margin-bottom: 12px; }
.section-title--products button {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: rgba(255,255,255,.48);
  color: var(--ink-soft);
  font-size: 9px;
}
.home-product-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.mini-product { display: block; min-width: 0; }
.mini-product__visual {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: var(--mini-bg, var(--surface-soft));
}
.mini-product__visual .valve-placeholder { width: 78%; }
.mini-product__fit {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 5px 7px;
  border-radius: var(--pill);
  background: rgba(255,255,255,.72);
  color: var(--ink-soft);
  font-size: 7px;
  backdrop-filter: blur(8px);
}
.mini-product__copy { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; padding: 8px 2px 0; }
.mini-product__copy > button { min-width: 0; padding: 0; border: 0; background: transparent; text-align: left; }
.mini-product__copy > span { flex: 0 0 auto; padding-top: 1px; font-size: 10px; font-weight: 670; font-variant-numeric: tabular-nums; }

.catalog-body { border-radius: 26px 26px 0 0; }
.catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; padding: 0 12px 20px; }
.product-card.product-tile { overflow: visible; min-width: 0; border-radius: 0; background: transparent; box-shadow: none; }
.product-tile__media { position: relative; }
.product-tile__visual {
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  background: var(--tile-bg, var(--surface-soft));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.72);
}
.product-tile__visual .valve-placeholder { width: 79%; }
.product-tile .favorite-button { top: 8px; right: 8px; width: 32px; height: 32px; }
.product-tile .compatibility-chip { left: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 5px 7px; font-size: 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-tile__body { padding: 8px 2px 2px; }
.product-tile__title { width: 100%; padding: 0; border: 0; background: transparent; text-align: left; }
.product-tile__title strong, .product-tile__title small { display: block; }
.product-tile__title strong { font-size: 12px; line-height: 1.1; }
.product-tile__title small { margin-top: 3px; color: var(--ink-muted); font-size: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-tile__swatches { margin-top: 7px; min-height: 26px; overflow: hidden; }
.product-tile .variant-strip { gap: 2px; padding: 2px; max-width: 100%; }
.product-tile .swatch { width: 25px; height: 25px; }
.product-tile .swatch > span { width: 17px; height: 17px; }
.product-tile__footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 7px; }
.product-tile__footer > span { font-size: 10px; font-weight: 680; font-variant-numeric: tabular-nums; }
.tile-add { width: 31px; height: 31px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 11px; background: var(--ink); color: white; }

.variant-strip__indicator {
  background: var(--selection-fill, var(--accent));
  opacity: .21;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--ink) 7%, transparent);
}
.swatch > span { background: var(--swatch-fill, var(--swatch)); transition: transform var(--motion-standard) var(--ease-spring), opacity var(--motion-fast) ease, box-shadow var(--motion-fast) ease; }
.swatch.is-active > span { transform: scale(1.08); box-shadow: 0 0 0 1px rgba(255,255,255,.72), 0 0 0 2px color-mix(in srgb, var(--swatch) 48%, transparent); }
.search-result__swatches i { background: var(--swatch-fill, var(--swatch)); }
.valve-placeholder__shape { background: var(--swatch-fill, var(--swatch)); }

.detail-carousel .carousel-viewport { height: min(44dvh, 350px); min-height: 270px; }
.detail-carousel .carousel-slide .valve-placeholder { width: min(72%, 305px); }
.detail-info { padding-top: 14px; }
.detail-control-grid { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 12px; margin-top: 17px; }
.detail-control-grid .detail-control-block { margin-top: 0; }
.detail-control-block--color { min-width: 0; }
.detail-fit-static { min-width: 78px; padding: 9px 11px; border-radius: 14px; background: rgba(255,255,255,.54); }
.detail-fit-static span, .detail-fit-static strong { display: block; }
.detail-fit-static span { color: var(--ink-muted); font-size: 8px; }
.detail-fit-static strong { margin-top: 3px; font-size: 10px; }
.fit-selector { position: relative; display: flex; gap: 5px; padding: 4px; border-radius: 15px; background: rgba(255,255,255,.54); }
.fit-selector__indicator { position: absolute; z-index: 0; left: 0; top: 0; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-soft); will-change: transform,width,height; }
.fit-choice { position: relative; z-index: 1; min-height: 38px; padding: 0 10px; border: 0; border-radius: 12px; background: transparent; color: var(--ink-soft); font-size: 9px; }
.fit-choice.is-active { color: var(--ink); font-weight: 650; }
.detail-pack-block { margin-top: 16px; }
.pack-selector { grid-template-columns: repeat(2,1fr); }
.pack-choice { min-height: 55px; }
.pack-choice small { line-height: 1.25; }
.detail-add { margin-top: 12px; min-height: 50px; }

.cart-page {
  height: calc(100dvh - 70px);
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding-top: 5px;
  padding-bottom: calc(74px + var(--safe-bottom));
  overflow: hidden;
}
.cart-title { flex: 0 0 auto; margin-bottom: 10px; }
.cart-scroll { min-height: 0; flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 2px 0 14px; scrollbar-width: none; }
.cart-scroll::-webkit-scrollbar { display: none; }
.cart-list { gap: 9px; }
.cart-line-swipe { position: relative; overflow: hidden; border-radius: var(--radius-lg); touch-action: pan-y; background: var(--danger); }
.cart-line-delete { position: absolute; inset: 0 10px 0 auto; width: 86px; display: grid; place-content: center; justify-items: center; gap: 3px; color: white; font-size: 8px; }
.cart-line { position: relative; z-index: 1; grid-template-columns: 88px minmax(0,1fr); min-height: 108px; gap: 10px; padding: 9px; border-radius: var(--radius-lg); will-change: transform; }
.cart-line__visual { height: 92px; }
.cart-line__title { width: calc(100% - 58px); }
.cart-line__title strong { font-size: 12px; }
.cart-line__title span { margin-top: 2px; font-size: 8px; }
.cart-line__title small { display: block; margin-top: 2px; color: var(--ink-muted); font-size: 7px; }
.cart-line__price { font-size: 10px; }
.cart-colorways { display: flex; align-items: center; gap: 4px; margin-top: 7px; }
.cart-colorway { width: 16px; height: 16px; padding: 0; border: 0; border-radius: 50%; background: var(--swatch-fill, var(--swatch)); opacity: .28; box-shadow: inset 0 0 0 1px rgba(24,28,26,.08); transition: opacity var(--motion-fast) ease, transform var(--motion-standard) var(--ease-spring), box-shadow var(--motion-fast) ease; }
.cart-colorway.is-selected { opacity: 1; transform: scale(1.12); box-shadow: 0 0 0 2px var(--surface), 0 0 0 3px color-mix(in srgb,var(--swatch) 48%,transparent); }
.cart-line__controls { bottom: 0; }
.quantity-control { grid-template-columns: 27px 27px 27px; min-height: 29px; }
.quantity-control button { height: 29px; }
.icon-button { width: 29px; height: 29px; }
.cart-upsell { margin-top: 9px; }
.cart-checkout-dock {
  flex: 0 0 auto;
  position: relative;
  z-index: 3;
  margin: 0 -4px;
  padding: 8px 4px 0;
  background: linear-gradient(to top, var(--page) 80%, transparent);
}
.coupon-toggle { width: 100%; min-height: 30px; display: flex; align-items: center; justify-content: space-between; padding: 0 3px; border: 0; background: transparent; color: var(--ink-soft); font-size: 9px; }
.coupon-toggle .icon { transition: transform var(--motion-standard) var(--ease-standard); }
.coupon-toggle[aria-expanded="true"] .icon { transform: rotate(90deg); }
.coupon-panel { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows var(--motion-standard) var(--ease-standard), opacity var(--motion-fast) ease; }
.coupon-panel.is-open { grid-template-rows: 1fr; opacity: 1; }
.coupon-panel__inner { min-height: 0; overflow: hidden; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 7px; }
.coupon-panel input { min-width: 0; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); color: var(--ink); font-size: 16px; outline: 0; }
.coupon-panel button { height: 42px; padding: 0 13px; border: 0; border-radius: 13px; background: var(--surface); font-size: 9px; font-weight: 650; }
.coupon-message { display: block; margin-top: 5px; color: var(--danger); font-size: 8px; }
.coupon-message.is-success { color: var(--success); }
.stripe-promo-note { margin: 0 3px 7px; color: var(--ink-soft); font-size: 8px; line-height: 1.4; }
.cart-dock-price { display: grid; grid-template-columns: minmax(0,1fr) 150px; align-items: center; gap: 10px; margin-top: 7px; padding: 8px; border-radius: 18px; background: rgba(255,255,255,.84); box-shadow: var(--shadow-soft); backdrop-filter: blur(18px); }
.cart-dock-price > div { min-width: 0; }
.cart-dock-price span, .cart-dock-price strong { display: block; }
.cart-dock-price span { color: var(--ink-muted); font-size: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-dock-price strong { margin-top: 2px; font-size: 15px; font-variant-numeric: tabular-nums; }
.cart-dock-price .checkout-button { min-height: 44px; margin: 0; }

.sheet-backdrop { z-index: 210; }
.sheet { z-index: 220; max-height: min(82dvh, 680px); transform: translate3d(-50%,0,0); }
.sheet--filters { overflow-y: auto; padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
.filter-visual-group, .filter-sort { margin-top: 17px; }
.filter-visual-group > span, .filter-sort > span { display: block; margin-bottom: 7px; color: var(--ink-muted); font-size: 9px; }
.filter-fit-grid { position: relative; display: grid; grid-template-columns: .72fr 1fr 1fr; gap: 6px; padding: 4px; border-radius: 18px; background: var(--surface-muted); }
.filter-fit-grid .choice-group__indicator, .filter-chip-row .choice-group__indicator, .filter-print-grid .choice-group__indicator, .sort-grid .choice-group__indicator { border-radius: 14px; }
.choice--fit { position: relative; z-index: 1; min-height: 58px; display: grid; place-content: center; justify-items: center; gap: 4px; padding: 0 6px; border: 0; border-radius: 14px; background: transparent; color: var(--ink-soft); }
.choice--fit b { font-size: 12px; letter-spacing: .04em; }
.choice--fit span { font-size: 8px; }
.filter-chip-row { position: relative; display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; padding: 4px; border-radius: 17px; background: var(--surface-muted); }
.choice--chip { position: relative; z-index: 1; min-height: 40px; padding: 0 8px; border: 0; border-radius: 13px; background: transparent; color: var(--ink-soft); font-size: 9px; }
.filter-print-grid { position: relative; display: grid; grid-template-columns: .72fr 1fr 1fr; gap: 6px; padding: 4px; border-radius: 18px; background: var(--surface-muted); }
.choice--print { position: relative; z-index: 1; min-height: 66px; display: grid; place-content: center; justify-items: center; gap: 6px; padding: 0 5px; border: 0; border-radius: 14px; background: transparent; color: var(--ink-soft); font-size: 8px; }
.print-sample { width: 24px; height: 24px; border-radius: 50%; background: #2b2f2d; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.print-sample--all { background: linear-gradient(135deg,#2b2f2d 0 50%,#e5a44e 50%); }
.print-sample--mono { background: #506e59; }
.print-sample--multi { background: linear-gradient(135deg,#4f73b9 0 50%,#c95d58 50%); }
.sort-grid { position: relative; display: grid; grid-template-columns: repeat(2,1fr); gap: 5px; padding: 4px; border-radius: 17px; background: var(--surface-muted); }
.choice--sort { position: relative; z-index: 1; min-height: 38px; padding: 0 9px; border: 0; border-radius: 13px; background: transparent; color: var(--ink-soft); font-size: 9px; }
.choice.is-active { color: var(--ink); font-weight: 650; }

@media (max-height: 740px) {
  .featured-media { height: 220px; min-height: 220px; }
  .featured-visual { width: 190px; }
  .detail-carousel .carousel-viewport { height: 250px; min-height: 250px; }
  .detail-control-block { margin-top: 14px; }
  .detail-add { min-height: 46px; }
}
.cart-line { background: var(--surface); }

/* v5: logo, badges, per-line spare controls, icon morphing */
.topbar { overflow: visible; }
.brand--logo {
  width: 72px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  overflow: hidden;
}
.brand-logo {
  width: 44px;
  height: 25px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.brand-logo img {
  width: 44px;
  height: 44px;
  max-width: none;
  object-fit: contain;
  transform: scale(2.4);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.bag-button { overflow: visible !important; isolation: isolate; }
.bag-button b, .bottom-nav__icon b {
  z-index: 8;
  width: 19px;
  min-width: 19px;
  height: 19px;
  padding: 0;
  border: 2px solid var(--page);
  border-radius: 50%;
  line-height: 15px;
  overflow: visible;
  clip-path: none;
}
.bag-button b { top: -5px; right: -5px; }
.bottom-nav__icon b { top: -6px; right: -12px; border-color: rgba(255,255,255,.94); }
.bag-button b.is-wide, .bottom-nav__icon b.is-wide { width: 24px; border-radius: 999px; font-size: 8px; }

.app-loader__stack { gap: 8px; }
.app-loader__logo {
  width: 58px;
  height: 43px;
  display: grid;
  place-items: center;
  overflow: hidden;
  opacity: 0;
  background: transparent;
  -webkit-mask: none;
  mask: none;
}
.app-loader__logo img {
  width: 54px;
  height: 54px;
  max-width: none;
  object-fit: contain;
  transform: scale(2.45);
  mix-blend-mode: multiply;
}

.morph-plus-check {
  position: relative;
  width: 17px;
  height: 17px;
  display: inline-block;
  flex: 0 0 17px;
}
.morph-plus-check i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.7px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: 50% 50%;
  transition:
    width var(--motion-standard) var(--ease-spring),
    transform var(--motion-standard) var(--ease-spring),
    opacity var(--motion-fast) ease;
}
.morph-plus-check i:first-child { transform: translate(-50%,-50%) rotate(0deg); }
.morph-plus-check i:last-child { transform: translate(-50%,-50%) rotate(90deg); }
.morph-plus-check.is-check i:first-child {
  width: 6px;
  transform: translate(-93%, 45%) rotate(43deg);
}
.morph-plus-check.is-check i:last-child {
  width: 11px;
  transform: translate(-31%, -4%) rotate(-47deg);
}
.tile-add {
  overflow: hidden;
  transition: background var(--motion-standard) ease, color var(--motion-standard) ease, transform var(--motion-fast) var(--ease-standard);
}
.tile-add.is-added { background: var(--success); }

.cart-list { gap: 8px; }
.cart-line {
  grid-template-columns: 88px minmax(0,1fr);
  min-height: 132px;
  gap: 10px;
  padding: 9px;
  overflow: visible;
}
.cart-line__visual { height: 114px; align-self: center; }
.cart-line__copy {
  min-width: 0;
  min-height: 114px;
  display: flex;
  flex-direction: column;
  padding: 1px 0;
}
.cart-line__head {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: start;
  gap: 7px;
}
.cart-line__title { width: 100%; min-width: 0; }
.cart-line__title strong { font-size: 12px; }
.cart-line__title span { margin-top: 2px; font-size: 7.5px; }
.cart-line__price {
  position: static;
  padding-top: 1px;
  white-space: nowrap;
  font-size: 10px;
}
.cart-variant-row {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}
.cart-variant-current {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ink-soft);
  font-size: 7.5px;
  white-space: nowrap;
}
.cart-variant-current i {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  border-radius: 50%;
  background: var(--swatch-fill, var(--swatch));
  box-shadow: inset 0 0 0 1px rgba(24,28,26,.08);
}
.cart-variant-current b {
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 650;
}
.cart-colorways {
  min-width: 0;
  margin: 0 0 0 auto;
  gap: 3px;
  overflow: hidden;
}
.cart-colorway {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}
.cart-colorway.is-selected { transform: scale(1.08); }
.cart-spare {
  width: 100%;
  min-height: 30px;
  display: grid;
  grid-template-columns: 24px minmax(0,1fr);
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 4px 7px;
  border: 0;
  border-radius: 11px;
  background: color-mix(in srgb, var(--accent) 13%, var(--surface));
  color: var(--ink-soft);
  text-align: left;
  transition: background var(--motion-standard) ease, color var(--motion-standard) ease, transform var(--motion-fast) var(--ease-standard);
}
.cart-spare > .morph-plus-check {
  width: 22px;
  height: 22px;
  display: grid;
  place-self: center;
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 28%, var(--surface));
  color: var(--ink);
}
.cart-spare > .morph-plus-check i { left: 50%; top: 50%; }
.cart-spare span { min-width: 0; }
.cart-spare strong, .cart-spare small { display: block; }
.cart-spare strong { font-size: 7.5px; line-height: 1.15; }
.cart-spare small { margin-top: 1px; color: var(--ink-muted); font-size: 6.5px; line-height: 1.15; }
.cart-spare.is-active {
  background: color-mix(in srgb, var(--success) 13%, var(--surface));
  color: var(--ink);
}
.cart-spare.is-active > .morph-plus-check {
  background: color-mix(in srgb, var(--success) 22%, var(--surface));
  color: var(--success);
}
.cart-line__controls {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  margin-top: auto;
  padding-top: 5px;
}
.quantity-control { grid-template-columns: 25px 25px 25px; min-height: 27px; }
.quantity-control button { height: 27px; }
.icon-button { width: 27px; height: 27px; }
.cart-upsell { display: none !important; }

@media (max-height: 740px) {
  .cart-line { min-height: 122px; }
  .cart-line__visual, .cart-line__copy { height: 104px; min-height: 104px; }
  .cart-spare { min-height: 27px; margin-top: 4px; padding-top: 3px; padding-bottom: 3px; }
  .cart-line__controls { padding-top: 3px; }
}
.app-loader__logo { mix-blend-mode: multiply; }

/* v6 configurable color zones */
.product-real-media {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}
.featured-visual .product-real-media,
.product-tile__visual .product-real-media,
.mini-product__visual .product-real-media,
.saved-product__visual .product-real-media,
.cart-line__visual .product-real-media,
.search-result__visual .product-real-media {
  width: 82%;
  height: 82%;
  margin: auto;
  object-fit: contain;
}
.color-configurator { min-width: 0; }
.color-configurator__head { align-items: flex-end; }
.color-configurator__head strong {
  max-width: 68%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.color-configurator__hint {
  max-width: 38ch;
  margin: 5px 0 9px;
  color: var(--ink-muted);
  font-size: 7.5px;
  line-height: 1.35;
}
.color-slot-list { display: grid; gap: 7px; }
.color-slot {
  min-width: 0;
  display: grid;
  grid-template-columns: 72px minmax(0,1fr);
  align-items: center;
  gap: 8px;
}
.color-slot__label {
  min-width: 0;
  display: grid;
  grid-template-columns: 24px minmax(0,1fr);
  align-items: center;
  gap: 6px;
}
.color-slot__letter {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: color-mix(in srgb, var(--ink) 7%, var(--surface));
  color: var(--ink);
  font-size: 8px;
  font-weight: 760;
}
.color-slot__label div { min-width: 0; }
.color-slot__label strong,
.color-slot__label small { display: block; }
.color-slot__label strong { font-size: 8px; line-height: 1.1; }
.color-slot__label small {
  margin-top: 2px;
  color: var(--ink-muted);
  font-size: 6.8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.color-slot-options {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  overflow-x: auto;
  scrollbar-width: none;
  border-radius: 15px;
  background: rgba(255,255,255,.42);
}
.color-slot-options::-webkit-scrollbar { display: none; }
.color-slot-indicator {
  position: absolute;
  z-index: 0;
  left: 0;
  top: 0;
  border-radius: 12px;
  background: color-mix(in srgb, var(--selection-fill) 22%, var(--surface));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--selection-fill) 28%, transparent), 0 4px 12px rgba(24,28,26,.04);
  will-change: transform,width,height;
}
.color-option {
  position: relative;
  z-index: 1;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 11px;
  background: transparent;
}
.color-option > span {
  width: 19px;
  height: 19px;
  display: block;
  border-radius: 50%;
  background: var(--swatch-fill, var(--swatch));
  box-shadow: inset 0 0 0 1px rgba(24,28,26,.08);
  transition: transform var(--motion-standard) var(--ease-spring), box-shadow var(--motion-fast) ease;
}
.color-option.is-active > span {
  transform: scale(1.08);
  box-shadow: 0 0 0 1px rgba(255,255,255,.8), 0 0 0 2px color-mix(in srgb,var(--swatch) 44%,transparent);
}
.color-configurator__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  padding: 7px 9px;
  border-radius: 12px;
  background: rgba(255,255,255,.42);
}
.color-configurator__summary span { color: var(--ink-muted); font-size: 7px; }
.color-configurator__summary strong {
  min-width: 0;
  color: var(--ink-soft);
  font-size: 7.5px;
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 380px) {
  .color-slot { grid-template-columns: 64px minmax(0,1fr); gap: 5px; }
  .color-slot__label { grid-template-columns: 21px minmax(0,1fr); gap: 4px; }
  .color-slot__letter { width: 21px; height: 21px; border-radius: 8px; }
  .color-option { width: 29px; height: 29px; flex-basis: 29px; }
  .color-option > span { width: 18px; height: 18px; }
}
.color-presets {
  display: flex;
  gap: 5px;
  margin: 0 0 9px;
  overflow-x: auto;
  scrollbar-width: none;
}
.color-presets::-webkit-scrollbar { display: none; }
.color-preset {
  flex: 0 0 auto;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px 4px 5px;
  border: 0;
  border-radius: 11px;
  background: rgba(255,255,255,.4);
  color: var(--ink-muted);
  font-size: 7px;
  white-space: nowrap;
  transition: color var(--motion-fast) ease, background var(--motion-standard) var(--ease-standard), transform var(--motion-fast) var(--ease-standard);
}
.color-preset i {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: block;
  border-radius: 7px;
  background: var(--swatch-fill, var(--swatch));
  box-shadow: inset 0 0 0 1px rgba(24,28,26,.08);
}
.color-preset.is-active {
  color: var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.color-preset:active { transform: scale(.97); }


/* v7: branded loader, continuous nav morph, shipping, checkout, denser cart color controls */
:root { --font-brand: var(--font); }

.avatar--logo {
  overflow: hidden;
  background: rgba(255,255,255,.72);
}
.avatar--logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  mix-blend-mode: multiply;
  transform: scale(1.7);
}
.topbar-spacer { width: 44px; height: 44px; }
.brand--wordmark {
  width: 72px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0;
}
.brand-wordmark {
  width: 58px;
  height: 20px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.brand-wordmark img {
  width: 58px;
  height: 18px;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: multiply;
}

.app-loader__stack { gap: 7px; }
.app-loader__word {
  font-family: var(--font-brand);
  font-size: 14px;
  font-weight: 690;
  letter-spacing: .08em;
  will-change: transform,opacity,filter,letter-spacing;
}
.app-loader__brandmark {
  width: 116px;
  height: 38px;
  display: grid;
  place-items: center;
  overflow: hidden;
  opacity: 0;
  will-change: transform,opacity,filter,clip-path;
}
.app-loader__brandmark.is-visible { opacity: 1; }
.app-loader__brandmark img {
  width: 112px;
  height: 34px;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: multiply;
}

.bottom-nav {
  --nav-pad: 6px;
  --active-index: 0;
  will-change: width,height,border-radius,transform;
}
.bottom-nav__indicator {
  top: var(--nav-pad) !important;
  left: var(--nav-pad) !important;
  width: calc((100% - 12px) / 4) !important;
  height: calc(100% - 12px) !important;
  transform: translate3d(calc(var(--active-index) * 100%),0,0) !important;
  border-radius: 18px;
  transition:
    transform var(--motion-standard) var(--ease-spring),
    width var(--motion-standard) var(--ease-standard),
    height var(--motion-standard) var(--ease-standard),
    border-radius var(--motion-standard) var(--ease-standard);
}
.app-shell.nav-condensed .bottom-nav { --nav-pad: 5px; }
.app-shell.nav-condensed .bottom-nav__indicator {
  width: calc((100% - 10px) / 4) !important;
  height: calc(100% - 10px) !important;
  border-radius: 15px;
}
.bottom-nav__item,
.bottom-nav__item > span:last-child,
.bottom-nav__icon {
  transition:
    color var(--motion-fast) ease,
    transform var(--motion-standard) var(--ease-spring),
    opacity var(--motion-standard) ease,
    max-height var(--motion-standard) var(--ease-standard),
    height var(--motion-standard) var(--ease-standard),
    gap var(--motion-standard) var(--ease-standard);
}

.product-real-media.is-cover {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: cover !important;
}
.carousel-slide > img,
.carousel-slide > video {
  width: 100%;
  height: 100%;
}

.shipping-progress {
  display: grid;
  gap: 6px;
  margin: 5px 0 11px;
  padding: 10px 12px;
  border-radius: 15px;
  background: color-mix(in srgb, var(--surface) 76%, transparent);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.58);
}
.shipping-progress > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 8px;
}
.shipping-progress > div span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
.shipping-progress > div b {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 8px;
  font-variant-numeric: tabular-nums;
}
.shipping-progress > i {
  height: 4px;
  overflow: hidden;
  border-radius: var(--pill);
  background: color-mix(in srgb,var(--ink) 9%,transparent);
}
.shipping-progress > i > span {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
  transform-origin: left center;
  background: var(--accent-strong);
  transition: transform var(--motion-slow) var(--ease-standard), background var(--motion-standard) ease;
}
.shipping-progress.is-unlocked > i > span { background: var(--success); }
.shipping-progress.is-unlocked > div span { color: var(--success); }
.shipping-progress.is-compact {
  flex: 0 0 auto;
  margin: 0 0 7px;
  padding: 7px 10px;
  gap: 4px;
}
.shipping-progress.is-compact > div { font-size: 7px; }
.shipping-progress.is-compact > i { height: 3px; }

.cart-cost-mini {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 0 3px;
  color: var(--ink-muted);
  font-size: 7px;
}
.cart-cost-mini span {
  min-width: 0;
  white-space: nowrap;
}
.cart-cost-mini b {
  color: var(--ink-soft);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
#cart-total-value,
#checkout-total-value {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  min-width: 74px;
}

.cart-variant-row {
  align-items: center;
  overflow: visible;
}
.cart-variant-current i {
  border: 1px solid rgba(24,28,26,.13);
  box-shadow: 0 0 0 1px rgba(255,255,255,.62), inset 0 0 0 1px rgba(24,28,26,.08);
}
.cart-colorways {
  max-width: 112px;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 4px 3px;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  touch-action: pan-x;
}
.cart-colorways::-webkit-scrollbar { display: none; }
.cart-colorway {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  border: 1px solid rgba(24,28,26,.16);
  opacity: .42;
  box-shadow: 0 0 0 1px rgba(255,255,255,.66), inset 0 0 0 1px rgba(24,28,26,.05);
}
.cart-colorway.is-selected {
  opacity: 1;
  transform: scale(1);
  box-shadow:
    0 0 0 2px var(--surface),
    0 0 0 3px color-mix(in srgb,var(--ink) 55%,transparent),
    inset 0 0 0 1px rgba(24,28,26,.08);
}
.cart-line__controls {
  gap: 6px;
}
.cart-another-color {
  min-height: 27px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 7px;
  border: 0;
  border-radius: 10px;
  background: var(--surface-muted);
  color: var(--ink-soft);
  font-size: 7px;
  white-space: nowrap;
}
.cart-another-color .morph-plus-check {
  width: 13px;
  height: 13px;
  flex-basis: 13px;
}
.cart-another-color .morph-plus-check i { width: 9px; height: 1.3px; }

.checkout-page {
  height: calc(100dvh - 70px);
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 7px;
  padding-bottom: calc(78px + var(--safe-bottom));
  overflow: hidden;
}
.checkout-head {
  flex: 0 0 auto;
  padding: 0 2px 8px;
}
.checkout-head > span {
  color: var(--ink-muted);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.checkout-head h1 {
  margin: 4px 0 0;
  font-size: 25px;
  line-height: 1.02;
  letter-spacing: -.7px;
}
.checkout-head p {
  max-width: 34ch;
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.35;
}
.checkout-body {
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1px 1px 14px;
  scrollbar-width: none;
}
.checkout-body::-webkit-scrollbar { display: none; }

.address-search {
  position: relative;
  z-index: 8;
  padding: 12px;
  border-radius: 19px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.address-search > label,
.address-fields label > span {
  display: block;
  margin: 0 0 6px;
  color: var(--ink-muted);
  font-size: 8px;
}
.address-search__input {
  height: 46px;
  display: grid;
  grid-template-columns: 22px minmax(0,1fr);
  align-items: center;
  gap: 6px;
  padding: 0 11px;
  border-radius: 14px;
  background: var(--surface-muted);
  color: var(--ink-soft);
}
.address-search__input input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: 500 16px/1.2 var(--font);
}
.address-suggestions {
  position: absolute;
  z-index: 20;
  top: calc(100% - 6px);
  left: 10px;
  right: 10px;
  display: grid;
  gap: 2px;
  max-height: 0;
  padding: 0 7px;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 46px rgba(24,28,26,.16);
  opacity: 0;
  transform: translateY(-4px) scale(.985);
  transform-origin: top center;
  backdrop-filter: blur(18px);
  transition:
    max-height var(--motion-standard) var(--ease-standard),
    opacity var(--motion-fast) ease,
    transform var(--motion-standard) var(--ease-standard),
    padding var(--motion-standard) var(--ease-standard);
}
.address-suggestions.is-open {
  max-height: 268px;
  padding-top: 7px;
  padding-bottom: 7px;
  overflow-y: auto;
  opacity: 1;
  transform: translateY(0) scale(1);
}
.address-suggestions button {
  min-width: 0;
  display: grid;
  grid-template-columns: 22px minmax(0,1fr);
  grid-template-areas: "icon title" "icon meta";
  align-items: center;
  column-gap: 7px;
  padding: 8px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--ink);
  text-align: left;
}
.address-suggestions button:active { background: var(--surface-muted); }
.address-suggestions button > span { grid-area: icon; color: var(--ink-muted); }
.address-suggestions button b {
  grid-area: title;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 9px;
}
.address-suggestions button small {
  grid-area: meta;
  color: var(--ink-muted);
  font-size: 7px;
}
.address-suggestions > p {
  margin: 0;
  padding: 10px 7px;
  color: var(--ink-muted);
  font-size: 8px;
  line-height: 1.35;
}

.address-fields {
  display: grid;
  grid-template-columns: minmax(0,1fr) 92px;
  gap: 8px;
  margin-top: 9px;
  padding: 11px;
  border-radius: 19px;
  background: color-mix(in srgb,var(--surface) 72%,transparent);
}
.address-fields .field-wide { grid-column: 1 / -1; }
.address-fields input,
.address-fields select {
  width: 100%;
  height: 42px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: 0;
  background: var(--surface);
  color: var(--ink);
  font: 500 16px/1 var(--font);
  transition:
    box-shadow var(--motion-standard) ease,
    transform var(--motion-standard) var(--ease-spring),
    border-color var(--motion-fast) ease,
    background var(--motion-fast) ease;
}
.address-fields input:focus,
.address-fields select:focus {
  border-color: color-mix(in srgb,var(--accent-strong) 55%,var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb,var(--accent) 18%,transparent);
}
.address-fields input.is-autofilling,
.address-fields select.is-autofilling {
  transform: scale(1.012);
  background: color-mix(in srgb,var(--accent) 10%,var(--surface));
  box-shadow: 0 0 0 3px color-mix(in srgb,var(--accent) 16%,transparent);
}

.checkout-order-mini {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 10px;
  margin-top: 9px;
  padding: 11px 13px;
  border-radius: 17px;
  background: var(--surface);
  color: var(--ink-muted);
  font-size: 8px;
}
.checkout-order-mini span:first-child { grid-column: 1 / -1; color: var(--ink-soft); font-weight: 650; }
.checkout-order-mini b { color: var(--ink); font-weight: 650; font-variant-numeric: tabular-nums; }

.checkout-dock {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(0,1fr) 132px;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
  padding: 8px;
  border-radius: 19px;
  background: rgba(255,255,255,.88);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}
.checkout-dock > div { min-width: 0; padding-left: 4px; }
.checkout-dock span,
.checkout-dock strong { display: block; }
.checkout-dock span {
  overflow: hidden;
  color: var(--ink-muted);
  font-size: 7px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.checkout-dock strong {
  margin-top: 2px;
  font-size: 16px;
}
.checkout-dock .primary-button {
  min-height: 44px;
}
.checkout-dock .primary-button:disabled {
  opacity: .42;
  pointer-events: none;
}

@media (max-height: 740px) {
  .checkout-head h1 { font-size: 21px; }
  .checkout-head p { display: none; }
  .shipping-progress:not(.is-compact) { padding-top: 7px; padding-bottom: 7px; }
  .address-search { padding: 9px; }
  .address-search__input { height: 42px; }
  .address-fields { padding: 9px; gap: 6px; }
  .address-fields input, .address-fields select { height: 38px; }
  .checkout-order-mini { padding-top: 8px; padding-bottom: 8px; }
}


/* v7.1: stable fixed chrome, transparent brandmark and viewport-aware media */
:root { --topbar-height: calc(64px + var(--safe-top)); }
.app-frame { position: relative; width: min(100%, var(--app-max)); min-height: 100dvh; margin: 0 auto; }
.app-shell { width: 100%; margin: 0; padding-top: var(--topbar-height); padding-bottom: calc(92px + var(--safe-bottom)); }
.topbar {
  position: fixed !important; z-index: 190; top: 0; left: 50%; width: min(100%, var(--app-max));
  min-height: var(--topbar-height) !important; transform: translateX(-50%); padding: var(--safe-top) 20px 7px !important;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--page) 96%, transparent) 62%, color-mix(in srgb, var(--page) 78%, transparent) 82%, transparent);
  backdrop-filter: blur(18px) saturate(1.04); transition: none !important; contain: layout style;
}
.app-frame.nav-condensed .topbar { min-height: var(--topbar-height) !important; padding: var(--safe-top) 20px 7px !important; }
.avatar--logo { overflow: visible; border-radius: 0; background: transparent !important; box-shadow: none !important; backdrop-filter: none !important; }
.avatar--logo .brand-wordmark { width: 36px; height: 25px; overflow: visible; }
.avatar--logo .brand-wordmark img { width: 36px; height: 22px; object-fit: contain; mix-blend-mode: normal; }
.brand--text { letter-spacing: 0; }
.brand-text { display: inline-block; font-family: var(--font-brand); font-size: 15px; font-weight: 700; letter-spacing: -.035em; text-transform: lowercase; }
.brand-wordmark img { object-fit: contain; mix-blend-mode: normal; }
.bottom-nav {
  position: fixed !important; z-index: 195; left: 50%; bottom: var(--safe-bottom); transform: translate3d(-50%,0,0);
  backface-visibility: hidden; -webkit-backface-visibility: hidden; contain: layout style paint;
  transition: width 360ms var(--ease-standard), height 360ms var(--ease-standard), border-radius 360ms var(--ease-standard), padding 360ms var(--ease-standard), bottom 360ms var(--ease-standard), box-shadow 360ms ease !important;
}
.app-frame.nav-condensed .bottom-nav { --nav-pad: 5px; width: min(calc(100% - 94px), calc(var(--app-max) - 94px)); height: 52px; padding: 5px; border-radius: 20px; bottom: calc(var(--safe-bottom) - 2px); }
.app-frame.nav-condensed .bottom-nav__indicator { width: calc((100% - 10px) / 4) !important; height: calc(100% - 10px) !important; border-radius: 15px; }
.app-frame.nav-condensed .bottom-nav__item { gap: 0; }
.app-frame.nav-condensed .bottom-nav__item > span:last-child { max-height: 0; opacity: 0; transform: translateY(4px); }
.app-frame.nav-condensed .bottom-nav__icon { height: 27px; }
.app-loader__stack { position: relative; width: 150px; height: 64px; display: grid; place-items: center; }
.app-loader__word, .app-loader__brandmark { grid-area: 1 / 1; }
.app-loader__brandmark { width: 124px; height: 64px; overflow: visible; }
.app-loader__brandmark img { width: 124px; height: 64px; object-fit: contain; mix-blend-mode: normal; }
.featured-visual:has(.smart-media:not(.smart-media--placeholder)) { width: 100% !important; height: 100%; aspect-ratio: auto; }
.featured-visual .smart-media { border-radius: inherit; }
.featured-visual .smart-media__item img, .featured-visual .smart-media__item video { object-fit: cover; }
.featured-media:active .featured-visual:has(.smart-media:not(.smart-media--placeholder)) { transform: scale(.992); }
.smart-media { position: relative; width: 100%; height: 100%; display: block; overflow: hidden; }
.smart-media--placeholder { display: grid; place-items: center; }
.smart-media--placeholder .valve-placeholder { width: 79%; }
.smart-media__item { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: translate3d(8%,0,0) scale(1.015); transition: opacity 620ms var(--ease-standard), transform 720ms var(--ease-standard); pointer-events: none; will-change: opacity,transform; }
.smart-media__item.is-active { opacity: 1; transform: translate3d(0,0,0) scale(1); }
.smart-media__item img, .smart-media__item video { width: 100%; height: 100%; object-fit: cover; display: block; }
.smart-media__dots { position: absolute; z-index: 3; left: 50%; bottom: 8px; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; padding: 4px 5px; border-radius: var(--pill); background: rgba(255,255,255,.62); backdrop-filter: blur(8px); pointer-events: none; }
.smart-media__dots i { width: 4px; height: 4px; border-radius: var(--pill); background: var(--ink); opacity: .24; transition: width 430ms var(--ease-spring), opacity 300ms ease; }
.smart-media__dots i.is-active { width: 12px; opacity: .82; }
.product-tile__visual > .smart-media, .mini-product__visual > .smart-media { width: 100%; height: 100%; }
.product-tile__visual .smart-media__item img, .product-tile__visual .smart-media__item video, .mini-product__visual .smart-media__item img, .mini-product__visual .smart-media__item video { object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .smart-media__item { transition: none !important; } }


/* v7.2: VLURV brand, skippable loader, automatic media framing */
.topbar {
  grid-template-columns: minmax(72px, auto) minmax(0, 1fr) 44px;
}
.topbar-brandmark {
  justify-self: start;
  width: 78px;
  height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center start;
  border-radius: 12px;
  transition: transform var(--motion-fast) var(--ease-standard), opacity var(--motion-fast) ease;
}
.topbar-brandmark:active { transform: scale(.965); opacity: .72; }
.topbar-brandmark .brand-wordmark {
  display: block;
  width: 74px;
  height: 28px;
}
.topbar-brandmark .brand-wordmark img {
  display: block;
  width: 74px;
  height: 28px;
  object-fit: contain;
  object-position: left center;
}
.topbar-center-spacer { min-width: 0; min-height: 1px; }
.topbar-title {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* The loader is deliberately tappable so returning users can skip it instantly. */
.app-loader { cursor: pointer; touch-action: manipulation; }
.app-loader.is-skipping { pointer-events: none; }
.app-loader__stack {
  width: min(74vw, 280px);
  height: 84px;
}
.app-loader__word,
.app-loader__brandmark {
  grid-area: 1 / 1;
}
.app-loader__brandmark {
  width: min(68vw, 258px);
  height: 84px;
}
.app-loader__brandmark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.app-loader::after {
  content: "Tap to skip";
  position: absolute;
  left: 50%;
  bottom: calc(24px + var(--safe-bottom));
  transform: translateX(-50%);
  color: color-mix(in srgb, var(--ink) 38%, transparent);
  font-size: 10px;
  letter-spacing: .04em;
  opacity: .58;
}

/* Featured media is authored at 3:2. If source media is squarer, the unknown area
   is extended with a blurred copy of the same media rather than manual object-position values. */
.featured-media {
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 3 / 2;
}
.featured-visual:has(.smart-media:not(.smart-media--placeholder)) {
  width: 100% !important;
  height: 100% !important;
}
.smart-media__item {
  background: color-mix(in srgb, var(--surface) 84%, var(--page));
}
.smart-media__backdrop {
  position: absolute;
  inset: -24px;
  z-index: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: blur(24px) saturate(.9);
  transform: scale(1.12);
  opacity: .74;
}
.smart-media__item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(255,255,255,.035), rgba(255,255,255,.02));
  pointer-events: none;
}
.smart-media__foreground {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center !important;
  transform: scale(1.055);
  transition: transform 620ms var(--ease-standard), filter 420ms ease;
}
.smart-media__item.is-native-wide .smart-media__foreground {
  object-fit: cover !important;
  transform: scale(1.01);
}
.smart-media__item.is-native-wide .smart-media__backdrop {
  opacity: .18;
  filter: blur(18px);
}
.smart-media__item.is-native-square .smart-media__foreground {
  transform: scale(1.085);
}
.featured-visual .smart-media__foreground {
  object-position: center !important;
}
.product-tile__visual .smart-media__foreground,
.mini-product__visual .smart-media__foreground {
  object-position: center !important;
}
@media (prefers-reduced-motion: reduce) {
  .smart-media__foreground { transition: none !important; }
}
\n\n/* v7.3: docked expanded navigation, swipeable design media, quieter Featured media */\n.smart-media--tile,\n.smart-media--mini {\n  touch-action: pan-y;\n  user-select: none;\n  -webkit-user-select: none;\n}\n.smart-media--tile .smart-media__foreground,\n.smart-media--mini .smart-media__foreground {\n  -webkit-user-drag: none;\n}\n.smart-media--featured .smart-media__dots { display: none !important; }\n\n/* Expanded navigation is a full-width dock. The compact scroll state can still float. */\n.bottom-nav {\n  width: min(100%, var(--app-max)) !important;\n  height: calc(68px + var(--safe-bottom));\n  bottom: 0 !important;\n  padding: 6px 6px var(--safe-bottom);\n  border-left: 0;\n  border-right: 0;\n  border-bottom: 0;\n  border-radius: 24px 24px 0 0;\n  box-shadow: 0 -10px 38px rgba(35,40,35,.10);\n}\n.bottom-nav__indicator { height: calc(100% - var(--safe-bottom) - 12px) !important; }\n.app-frame.nav-condensed .bottom-nav {\n  width: min(calc(100% - 94px), calc(var(--app-max) - 94px)) !important;\n  height: 52px;\n  padding: 5px;\n  border: 1px solid rgba(255,255,255,.76);\n  border-radius: 20px;\n  bottom: calc(var(--safe-bottom) - 2px) !important;\n  box-shadow: 0 15px 46px rgba(35,40,35,.17);\n}\n.app-frame.nav-condensed .bottom-nav__indicator { height: calc(100% - 10px) !important; }\n.app-shell { padding-bottom: calc(88px + var(--safe-bottom)); }\n\n/* Native 3:2 media uses the complete Featured stage. */\n.featured-media { aspect-ratio: 3 / 2; }\n.featured-visual .smart-media__item.is-native-wide .smart-media__foreground {\n  object-fit: cover !important;\n  transform: scale(1.005);\n}\n
