:root {
  --font-main: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --color-bg: #ffffff;
  --color-page-bg: #f4f5f7;
  --color-text: #000000;
  --color-text-inverse: #ffffff;
  --color-text-secondary: rgba(60, 60, 67, 0.6);
  --color-nav-inactive: #b2b2b2;
  --color-surface-muted: #f0f0f0;
  --color-card: #f2f3f5;
  --color-surface-product: #f2f3f5;
  --color-surface-pressed: #dedfe2;
  --color-primary: #0088ff;
  --color-primary-pressed: #0074d9;
  --color-primary-soft: #e8f0ff;
  --color-danger: #ff383c;
  --color-danger-badge: #fe393d;
  --color-warning: #ff8d28;
  --color-stock-warning: #f08526;
  --color-success: #2ba64a;
  --color-hot: #22ea7f;
  --color-sale: #9265f6;

  --gradient-brand: linear-gradient(71deg, #2177da 28%, #6b8dfd 54%, #3d21da 89%);
  --gradient-original: linear-gradient(100deg, #2177da 7%, #6b8dfd 46%, #3d21da 113%);

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-chip: 24px;
  --radius-pill: 32px;
  --radius-nav: 40px;
  --radius-round: 50%;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 28px;

  --text-xs: 12px;
  --text-sm: 13px;
  --text-md: 14px;
  --text-lg: 18px;
  --text-xl: 24px;
  --text-hero: 28px;
  --font-regular: 400;
  --font-medium: 500;
  --font-semibold: 600;

  --content-max: 928px;
  --logo-height: 60px;
  --icon-button-size: 48px;
  --icon-size: 24px;
  --chip-height: 40px;
  --button-height: 40px;
  --bottom-nav-width: 318px;
  --bottom-nav-height: 64px;
  --product-ratio: 175.5 / 235.14;
  --cart-image-width: 92px;
  --cart-image-height: 123.3px;
  --shadow-bottom-nav: 0 -6px 18px rgba(0, 0, 0, 0.12);
  --motion-soft: cubic-bezier(0.22, 1, 0.36, 1);

  --blue: var(--color-primary);
  --red: var(--color-danger);
  --orange: var(--color-warning);
  --green: var(--color-success);
  --muted: var(--color-surface-muted);
  --card: var(--color-card);
  --tile: var(--color-surface-product);
  --text-secondary: var(--color-text-secondary);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--color-bg);
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-bg);
  font-family: var(--font-main);
  letter-spacing: 0;
}

body.sheet-open {
  overflow: hidden;
}

button,
a {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
  color: inherit;
  cursor: pointer;
}

button:disabled {
  cursor: wait;
  opacity: 0.68;
}

[hidden] {
  display: none !important;
}

img {
  display: block;
}

.app-shell {
  position: relative;
  width: 100%;
  max-width: var(--content-max);
  min-height: 100vh;
  margin: 0 auto;
  padding-bottom: 124px;
  overflow-x: hidden;
  background: var(--color-bg);
}

.app-shell:has(.product-screen:not([hidden])) {
  padding-bottom: 0;
}

.topbar {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: calc(var(--logo-height) + 2 * var(--space-2));
  padding: var(--space-2) var(--space-3) var(--space-2) var(--space-2);
  background: var(--color-bg);
}

.topbar-default {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.topbar.is-checkout {
  justify-content: center;
  padding-right: var(--space-3);
  padding-left: var(--space-3);
}

.topbar.is-checkout .topbar-default {
  justify-content: center;
}

.topbar.is-checkout .top-actions,
.topbar.is-checkout .site-search {
  display: none;
}

.brand-logo {
  width: auto;
  height: var(--logo-height);
  object-fit: contain;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.site-search {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  width: 100%;
  animation: search-bar-in 220ms var(--motion-soft) both;
}

.search-back {
  flex: 0 0 var(--icon-button-size);
  font-size: 28px;
  font-weight: var(--font-regular);
  line-height: 1;
}

.search-field {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  height: var(--icon-button-size);
  align-items: center;
  border-radius: var(--radius-md);
  background: var(--color-surface-muted);
  transition: box-shadow 160ms ease;
}

.search-field:focus-within {
  box-shadow: inset 0 0 0 2px var(--color-primary);
}

.search-field > img {
  position: absolute;
  left: var(--space-3);
  width: var(--icon-size);
  height: var(--icon-size);
  pointer-events: none;
}

.search-field input {
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 0 44px 0 44px;
  border: 0;
  outline: 0;
  color: var(--color-text);
  background: transparent;
  font: inherit;
  font-size: 16px;
  letter-spacing: 0;
}

.search-field input::placeholder {
  color: var(--color-text-secondary);
  opacity: 1;
}

.search-field input::-webkit-search-cancel-button {
  display: none;
}

.search-clear {
  position: absolute;
  right: var(--space-1);
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: var(--radius-round);
  color: var(--color-text-secondary);
  background: transparent;
  font-size: 26px;
  line-height: 1;
}

.search-clear:active {
  background: var(--color-bg);
  transform: scale(0.94);
}

.icon-button {
  display: grid;
  width: var(--icon-button-size);
  height: var(--icon-button-size);
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--color-surface-muted);
  transition: transform 140ms ease, background 140ms ease;
}

.icon-button img {
  width: var(--icon-size);
  height: var(--icon-size);
  transform-origin: center;
}

.icon-button:active,
.product-card .add-button:active {
  transform: scale(0.96);
}

.product-card .add-button.is-catalog-pressing {
  pointer-events: none;
  animation: catalog-add-press 180ms ease-out both;
}

@keyframes catalog-add-press {
  0%,
  100% {
    transform: scale(1);
  }

  45% {
    transform: scale(0.96);
  }
}

.icon-button:active img {
  animation: icon-press-pop 360ms cubic-bezier(0.18, 0.9, 0.25, 1);
}

.hero-strip {
  display: flex;
  align-items: stretch;
  gap: var(--space-2);
  width: 100%;
  padding: var(--space-2) var(--space-2) var(--space-3);
  overflow-x: auto;
  scrollbar-width: none;
}

.hero-strip::-webkit-scrollbar,
.chips::-webkit-scrollbar {
  display: none;
}

.hero-strip.is-banner-hidden {
  overflow-x: hidden;
}

.hero-strip.is-banner-hidden .original-card,
.hero-strip.is-banner-hidden .info-stack {
  min-width: 0;
  flex: 1 1 0;
}

.season-card,
.original-card,
.info-stack {
  flex: 0 0 clamp(164px, 23.3vw, 216px);
  height: 230px;
}

.season-card {
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: transparent;
}

.hero-action {
  cursor: pointer;
  text-align: left;
  transition: opacity 180ms ease;
}

.hero-action:active {
  opacity: 0.78;
}

.hero-action:focus-visible {
  outline: 3px solid rgb(0 136 255 / 28%);
  outline-offset: 2px;
}

.season-card img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
}

.original-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px 15.5px 20px;
  color: var(--color-text-inverse);
  border-radius: var(--radius-md);
  background:
    var(--gradient-brand),
    var(--color-surface-muted);
}

.original-card strong {
  display: block;
  font-size: var(--text-hero);
  font-weight: var(--font-semibold);
  line-height: 36px;
}

.original-card span {
  display: block;
  max-width: 148px;
  margin-top: 3px;
  font-size: var(--text-md);
  font-weight: var(--font-medium);
  line-height: 18px;
}

.original-card p {
  max-width: 148px;
  margin: 0;
  font-size: var(--text-md);
  font-weight: var(--font-regular);
  line-height: 18px;
  opacity: 0.7;
}

.info-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.info-card {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  background: var(--color-card);
}

.info-card img {
  width: 32px;
  height: 32px;
  object-fit: cover;
}

.info-card p {
  margin: 0;
  font-size: var(--text-md);
  font-weight: var(--font-medium);
  line-height: 20px;
}

.catalog {
  padding-top: var(--space-4);
}

.catalog h1 {
  margin: 0;
  padding: 0 var(--space-3);
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  line-height: 1.22;
}

.chips {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  width: 100%;
  padding: var(--space-4) var(--space-3);
  overflow-x: auto;
  scrollbar-width: none;
}

.chip {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  height: var(--chip-height);
  padding: 0 var(--space-4);
  white-space: nowrap;
  border-radius: var(--radius-pill);
  color: var(--color-text);
  background: var(--color-surface-muted);
  font-size: var(--text-md);
  font-weight: var(--font-medium);
  transition: color 220ms ease, background-color 220ms ease;
}

.chip:active:not(.is-active) {
  background: var(--color-surface-pressed);
}

.chip.is-active {
  color: var(--color-text-inverse);
  background: var(--color-text);
}

.chip-icon {
  position: relative;
  width: var(--chip-height);
  padding: 0;
  border-radius: var(--radius-chip);
}

.chip-icon img {
  width: 20px;
  height: 20px;
  transition: filter 160ms ease;
}

.chip-icon.is-active img {
  filter: invert(1);
}

.filter-count {
  position: absolute;
  top: -6px;
  right: -6px;
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border-radius: var(--radius-round);
  color: var(--color-text-inverse);
  background: var(--color-danger-badge);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  line-height: 16px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5) var(--space-2);
  padding: 0 var(--space-2);
}

.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-2);
  cursor: pointer;
}

.product-card.is-filtering-out {
  pointer-events: none;
  animation: product-filter-out 180ms cubic-bezier(0.4, 0, 1, 1) forwards;
  will-change: opacity, transform;
}

.product-card.is-filtering-in {
  animation: product-filter-in 320ms var(--motion-soft) both;
  will-change: opacity, transform;
}

.product-card.is-hidden {
  display: none;
}

.product-media {
  position: relative;
  width: 100%;
  aspect-ratio: var(--product-ratio);
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--color-surface-product);
}

.product-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
}

.product-card.is-out-of-stock .product-image,
.product-card.is-out-of-stock .flag {
  opacity: 0.38;
  filter: grayscale(1);
}

.flag {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-round);
  object-fit: cover;
}

.badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  height: 20px;
  padding: 0 8px;
  white-space: nowrap;
  border-radius: var(--radius-chip);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  line-height: 18px;
}

.badge-label {
  transform: translateY(0);
}

.badge img {
  width: 12px;
  height: 12px;
}

.badge.hot {
  color: var(--color-text);
  background: var(--color-hot);
}

.badge.new,
.badge.badge-new {
  color: var(--color-text-inverse);
  background: #ff2d55;
}

.badge.season {
  color: var(--color-text-inverse);
  background: #fc8632;
}

.badge.sale {
  padding-left: 6px;
  color: var(--color-text-inverse);
  background: var(--color-sale);
}

.badge.original {
  padding-left: 6px;
  color: var(--color-text-inverse);
  background: var(--gradient-original);
}

.product-copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  min-height: 76px;
  padding: 0 var(--space-2);
}

.product-copy strong {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  line-height: 1.22;
}

.product-copy p,
.stock {
  margin: 0;
  font-size: var(--text-md);
  font-weight: var(--font-regular);
  line-height: 1.18;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: var(--space-1);
  min-width: 0;
  white-space: nowrap;
}

.price-row s {
  overflow: hidden;
  color: var(--color-text);
  font-size: var(--text-md);
  font-weight: var(--font-medium);
  opacity: 0.5;
  text-overflow: clip;
}

.price-red {
  color: var(--color-danger);
}

.stock-green {
  color: var(--color-success);
}

.stock-orange {
  color: var(--color-stock-warning);
}

.stock-empty {
  color: var(--color-text-secondary);
}

.add-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: var(--button-height);
  border-radius: var(--radius-md);
  color: var(--color-text-inverse);
  background: var(--color-primary);
  font-size: var(--text-md);
  font-weight: var(--font-regular);
  -webkit-tap-highlight-color: transparent;
  outline: 0;
  transition: transform 140ms ease, background 160ms ease;
}

.add-button:focus {
  outline: 0;
}

.add-button:focus-visible {
  box-shadow: 0 0 0 3px rgba(0, 136, 255, 0.2);
}

.add-button.is-added {
  background: var(--color-surface-muted);
}

.add-button:disabled,
.add-button[aria-disabled="true"] {
  color: var(--color-text-secondary);
  background: var(--color-surface-muted);
  pointer-events: none;
}

.add-button.is-stepper {
  justify-content: space-between;
  padding: 0 var(--space-3);
  color: var(--color-text);
  background: var(--color-surface-muted);
  font-weight: var(--font-medium);
}

.card-step {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: var(--radius-round);
  font-size: var(--text-lg);
  line-height: 1;
}

.card-step-count {
  min-width: 32px;
  text-align: center;
  font-size: var(--text-md);
}

.card-step:active {
  background: var(--color-bg);
}

.card-step-count.is-count-pop,
.quantity-control span.is-count-pop {
  animation: count-pop 340ms cubic-bezier(0.18, 0.9, 0.25, 1);
}

.add-button img {
  width: 16px;
  height: 16px;
}

.ghost-button,
.text-button {
  color: var(--color-text);
  background: transparent;
}

.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--button-height);
  padding: 0 var(--space-4);
  border-radius: var(--radius-md);
  background: var(--color-surface-muted);
  font-size: var(--text-md);
  font-weight: var(--font-medium);
  transition: color 220ms ease, background-color 220ms ease;
}

.text-button {
  padding: 0;
  color: var(--color-text-secondary);
  font-size: var(--text-md);
  font-weight: var(--font-medium);
  transition: color 220ms ease;
}

.ghost-button:active {
  background: var(--color-surface-pressed);
}

.text-button:active {
  color: var(--color-text);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
}

.section-header h1,
.section-header h2 {
  margin: 0;
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  line-height: 1.22;
}

.empty-filter {
  padding: var(--space-7) var(--space-3) 0;
  animation: search-empty-in 260ms var(--motion-soft) both;
}

.empty-filter h2,
.empty-filter p {
  margin: 0;
}

.empty-filter h2 {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  line-height: 1.22;
}

.empty-filter p {
  margin-top: var(--space-2);
  color: var(--color-text-secondary);
  font-size: var(--text-md);
  font-weight: var(--font-medium);
  line-height: 20px;
}

.empty-filter .ghost-button {
  width: 100%;
  margin-top: var(--space-5);
}

.search-status {
  margin: 0;
  padding: 0 var(--space-3) var(--space-3);
  color: var(--color-text-secondary);
  font-size: var(--text-md);
  font-weight: var(--font-medium);
  line-height: 20px;
}

.search-empty {
  padding: var(--space-7) var(--space-3) 0;
  animation: search-empty-in 260ms var(--motion-soft) both;
}

.search-empty h2,
.search-empty p {
  margin: 0;
}

.search-empty h2 {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  line-height: 1.22;
}

.search-empty p {
  margin-top: var(--space-2);
  color: var(--color-text-secondary);
  font-size: var(--text-md);
  line-height: 20px;
}

.search-empty .ghost-button {
  width: auto;
  margin-top: var(--space-4);
  padding: 0 var(--space-4);
}

.cart-screen {
  padding: var(--space-4) var(--space-2) 128px;
}

.app-shell:has(.checkout-form:not([hidden])) {
  padding-bottom: 0;
}

.cart-screen:has(.checkout-form:not([hidden])) {
  padding-bottom: var(--space-4);
}

.product-screen {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 8px 0 80px;
  background: var(--color-bg);
}

.product-back,
.checkout-back {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 5px;
  min-height: 48px;
  padding: 8px 12px 20px;
  color: var(--color-text);
  font-size: var(--text-md);
  font-weight: var(--font-medium);
  line-height: 20px;
}

.checkout-back {
  padding-left: 0;
}

.product-back span,
.checkout-back span {
  display: flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  padding: 8px 8px 8px 9px;
  border-radius: var(--radius-round);
  background: var(--color-surface-muted);
}

.product-back span img,
.checkout-back span img {
  width: 8.753px;
  height: 8.753px;
  max-width: none;
  flex: 0 0 auto;
}

.product-detail {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.product-detail-media {
  position: relative;
  width: calc(100% - 2px);
  max-width: 359px;
  aspect-ratio: var(--product-ratio);
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-surface-product);
}

.product-detail-track {
  position: absolute;
  inset: 0;
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.product-detail-track::-webkit-scrollbar {
  display: none;
}

.product-detail-slide {
  position: relative;
  width: 100%;
  height: 100%;
  flex: 0 0 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.product-detail-slide > [data-product-detail-image] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  cursor: zoom-in;
  pointer-events: auto;
}

.product-detail-flag {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-round);
  object-fit: cover;
}

.product-detail-badge {
  bottom: 16px;
  left: 16px;
  height: 24px;
  gap: 4.8px;
  padding: 0 9.6px 0 7.2px;
  border-radius: 28.8px;
  font-size: 15.6px;
  line-height: 22.8px;
}

.product-detail-badge img {
  width: 14.4px;
  height: 14.4px;
}

.product-detail-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 6px;
}

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

.product-detail-dots span {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: var(--radius-round);
  background: rgba(0, 0, 0, 0.2);
}

.product-detail-dots .active {
  background: var(--color-text);
}

.product-summary {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-6);
  padding: 16px;
  background: var(--color-bg);
}

.product-summary h1 {
  width: 100%;
  margin: 0;
  overflow: hidden;
  color: var(--color-text);
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  line-height: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.packing-block {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
}

.packing-block p {
  margin: 0;
  color: var(--color-text);
  font-size: var(--text-md);
  font-weight: var(--font-medium);
  line-height: normal;
}

.packing-options {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}

.packing-option {
  display: flex;
  min-width: 40px;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 14px 16px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  background: var(--color-card);
  text-align: left;
  line-height: normal;
}

.packing-option.is-active {
  border-color: var(--color-primary);
}

.packing-option:disabled {
  cursor: not-allowed;
  opacity: 1;
}

.packing-option-copy,
.packing-option-price {
  display: flex;
  flex-direction: column;
  justify-content: center;
  white-space: nowrap;
}

.packing-option-copy {
  align-items: flex-start;
  gap: var(--space-1);
}

.packing-option-price {
  align-items: flex-end;
  gap: 2px;
}

.packing-option-label,
.packing-option-current-price {
  font-size: 16px;
  line-height: normal;
}

.packing-option-label {
  font-weight: var(--font-medium);
}

.packing-option-current-price {
  font-weight: var(--font-semibold);
}

.packing-option-current-price.is-discount {
  color: var(--color-danger);
}

.packing-option-old-price {
  color: var(--color-text);
  font-size: var(--text-md);
  font-weight: var(--font-medium);
  line-height: normal;
  opacity: 0.5;
}

.packing-option-stock {
  margin: 0;
  font-size: var(--text-md);
  font-weight: var(--font-regular);
  line-height: normal;
}

.packing-option:disabled .packing-option-label {
  opacity: 0.5;
}

.packing-option:disabled .packing-option-current-price {
  opacity: 0.4;
}

.product-divider {
  width: 100%;
  height: 6px;
  background: #f5f4f2;
}

.product-info {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--color-bg);
}

.product-info h2,
.product-question h2 {
  width: 100%;
  margin: 0;
  color: var(--color-text);
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  line-height: normal;
}

.product-about-copy {
  position: relative;
  width: 100%;
  --collapsed-height: 4.05em;
}

.product-about-copy p {
  display: -webkit-box;
  width: 100%;
  max-height: var(--collapsed-height);
  margin: 0;
  overflow: hidden;
  color: var(--color-text);
  font-size: 16px;
  font-weight: var(--font-regular);
  line-height: 1.35;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  transition: max-height 320ms var(--motion-soft);
}

.product-about-copy.is-expanded p {
  max-height: var(--expanded-height, 320px);
  -webkit-line-clamp: unset;
}

.product-about-copy.is-expanded.is-finished p {
  max-height: none;
  overflow: visible;
}

.product-more {
  position: absolute;
  right: 0;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 22px;
  padding: 0 0 0 28px;
  color: var(--color-primary);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), #ffffff 28px);
  font-size: 16px;
  font-weight: var(--font-medium);
  line-height: 1.35;
}

.product-more span {
  display: flex;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  align-items: center;
  justify-content: center;
  transform: rotate(-90deg);
}

.product-more span img {
  width: 20px;
  height: 20px;
  max-width: none;
}

body.image-viewer-open {
  overflow: hidden;
}

.product-image-viewer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  width: 100vw;
  height: 100dvh;
  place-items: center;
  overflow: hidden;
  background: #000;
  animation: product-image-viewer-in 180ms ease both;
}

.product-image-viewer-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  touch-action: none;
  cursor: zoom-in;
}

.product-image-viewer-stage > img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  user-select: none;
  will-change: transform;
  transition: transform 120ms ease-out;
  -webkit-user-drag: none;
}

.product-image-viewer-close {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  z-index: 2;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 0 0 4px;
  border-radius: var(--radius-round);
  color: var(--color-text-inverse);
  background: rgb(255 255 255 / 16%);
  font-size: 36px;
  font-weight: 300;
  line-height: 1;
}

@keyframes product-image-viewer-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.product-detail-call {
  width: 100%;
  height: 50px;
  gap: 9px;
  border-radius: 20px;
  color: var(--color-text);
  background: var(--color-surface-muted);
  text-decoration: none;
  font-size: 16px;
  font-weight: var(--font-medium);
  line-height: 1.35;
}

.product-detail-call img {
  width: 18px;
  height: 18px;
  filter: brightness(0);
}

.spec-list {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 12px;
  color: var(--color-text);
  font-size: 16px;
  font-weight: var(--font-regular);
  line-height: 1.35;
}

.spec-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 2px 0;
}

.spec-row span {
  flex: 0 0 124px;
  color: var(--color-text);
  opacity: 0.5;
}

.spec-row strong {
  min-width: 0;
  flex: 1 1 0;
  font-size: 16px;
  font-weight: var(--font-regular);
  line-height: 1.35;
}

.product-question {
  display: flex;
  width: 100%;
  height: 110px;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 16px 12px;
  background: var(--color-bg);
}

.product-question h2 {
  font-size: var(--text-lg);
}

.product-floating-cart {
  position: fixed;
  right: max(0px, calc((100vw - var(--content-max)) / 2));
  bottom: 0;
  left: max(0px, calc((100vw - var(--content-max)) / 2));
  z-index: 18;
  display: flex;
  max-width: var(--content-max);
  height: calc(80px + env(safe-area-inset-bottom));
  margin: 0 auto;
  align-items: flex-start;
  gap: var(--space-2);
  padding: 8px 8px calc(16px + env(safe-area-inset-bottom));
  background: var(--color-bg);
}

.product-floating-cart .add-button {
  height: 56px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: var(--font-medium);
  line-height: 1.35;
}

.product-floating-cart.is-split .product-cart-link {
  flex: 1 1 auto;
  width: auto;
}

.product-floating-cart.is-split [data-product-detail-add] {
  flex: 0 1 42%;
  width: 42%;
  min-width: 144px;
  max-width: 220px;
}

.product-floating-cart .add-button img {
  width: 20px;
  height: 20px;
}

.cart-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.cart-item {
  display: grid;
  grid-template-columns: var(--cart-image-width) minmax(0, 1fr);
  gap: var(--space-3);
  align-items: center;
  padding: var(--space-2);
  border-radius: var(--radius-md);
  background: var(--color-card);
}

.cart-item-image {
  display: grid;
  width: var(--cart-image-width);
  aspect-ratio: var(--product-ratio);
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--color-card);
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-2);
}

.cart-item-title {
  margin: 0;
  font-size: var(--text-md);
  font-weight: var(--font-medium);
  line-height: 18px;
}

.cart-item-variant {
  margin: -4px 0 0;
  color: var(--color-text-secondary);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  line-height: 16px;
}

.cart-item-price {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  line-height: 1.22;
}

.quantity-control {
  display: inline-grid;
  grid-template-columns: 32px 36px 32px;
  align-items: center;
  width: max-content;
  height: 32px;
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: var(--color-bg);
}

.quantity-control button {
  display: grid;
  height: 32px;
  place-items: center;
  color: var(--color-text);
  background: transparent;
  font-size: var(--text-lg);
  font-weight: var(--font-medium);
}

.quantity-control span {
  text-align: center;
  font-size: var(--text-md);
  font-weight: var(--font-medium);
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  margin-top: var(--space-4);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--color-card);
}

.cart-empty h2 {
  margin: 0;
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  line-height: 1.22;
}

.cart-empty p {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: var(--text-md);
  font-weight: var(--font-medium);
  line-height: 20px;
}

.cart-back-button {
  margin-top: var(--space-2);
}

.cart-summary {
  position: fixed;
  right: max(var(--space-2), calc((100vw - var(--content-max)) / 2 + var(--space-2)));
  bottom: 112px;
  left: max(var(--space-2), calc((100vw - var(--content-max)) / 2 + var(--space-2)));
  z-index: 9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-4);
  padding: var(--space-3);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  box-shadow: var(--shadow-bottom-nav);
}

.cart-summary span {
  display: block;
  color: var(--color-text-secondary);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  line-height: 16px;
}

.cart-summary strong {
  display: block;
  margin-top: 2px;
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  line-height: 1.22;
}

.cart-summary .add-button {
  width: min(210px, 58vw);
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-top: var(--space-4);
}

.checkout-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--color-card);
}

.checkout-section h2 {
  margin: 0;
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  line-height: 1.22;
}

.checkout-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
}

.checkout-section-header strong {
  flex: 0 0 auto;
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  line-height: 1.22;
}

.checkout-items {
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.checkout-items::-webkit-scrollbar {
  display: none;
}

.checkout-item {
  display: flex;
  flex: 0 0 72px;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
  padding: 0;
  background: transparent;
}

.checkout-item-media {
  display: flex;
  width: 72px;
  aspect-ratio: var(--product-ratio);
  align-items: center;
  justify-content: center;
  overflow: hidden;
  align-self: center;
  border-radius: var(--radius-sm);
  background: transparent;
}

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

.checkout-item span,
.checkout-item strong {
  width: 100%;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.checkout-item span {
  color: var(--color-text-secondary);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  line-height: 15px;
}

.checkout-item strong {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  line-height: 17px;
}

.field,
.toggle-field {
  display: flex;
  width: 100%;
}

.field {
  flex-direction: column;
  gap: 6px;
}

.field span,
.toggle-field span,
.delivery-note span {
  color: var(--color-text-secondary);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  line-height: 16px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  background: var(--color-bg);
  font: inherit;
  font-size: var(--text-md);
  line-height: 20px;
  outline: 0;
}

.field input,
.field select {
  height: 44px;
  padding: 0 var(--space-3);
}

.field select {
  appearance: none;
  padding-right: 44px;
  background-color: var(--color-bg);
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.5 6.75L9 11.25L13.5 6.75' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px 18px;
}

.field textarea {
  min-height: 84px;
  resize: vertical;
  padding: var(--space-3);
}

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

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

.field-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: var(--space-2);
}

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

.toggle-field {
  position: relative;
  align-items: center;
  gap: var(--space-2);
  min-height: 32px;
  cursor: pointer;
}

.toggle-field input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}

.toggle-field::before {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  border: 2px solid transparent;
  border-radius: 8px;
  background: var(--color-bg);
  box-shadow: inset 0 0 0 1px rgba(60, 60, 67, 0.18);
  content: "";
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.toggle-field:has(input:checked)::before {
  border-color: var(--color-primary);
  background:
    url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 9.1L7.25 12.25L14 5.75' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px 18px no-repeat,
    var(--color-primary);
  box-shadow: none;
}

.toggle-field:has(input:focus-visible)::before {
  box-shadow: 0 0 0 3px rgba(0, 136, 255, 0.18);
}

/* Shared checkbox component */
.toggle-field.ui-checkbox {
  position: relative;
  display: flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.toggle-field.ui-checkbox::before {
  content: none;
}

.toggle-field.ui-checkbox > input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}

.toggle-field.ui-checkbox > .ui-checkbox-box {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  place-items: center;
  border-radius: 6px;
  color: inherit;
  background: #ebebeb;
}

.toggle-field.ui-checkbox > .ui-checkbox-box img {
  display: none;
  width: 16px;
  height: 16px;
}

.toggle-field.ui-checkbox > input:checked + .ui-checkbox-box {
  background: #0088ff;
}

.toggle-field.ui-checkbox > input:checked + .ui-checkbox-box img {
  display: block;
}

.toggle-field.ui-checkbox > input:focus-visible + .ui-checkbox-box {
  box-shadow: 0 0 0 3px rgba(0, 136, 255, 0.18);
}

.toggle-field.ui-checkbox > .ui-checkbox-content {
  display: inline-flex;
  width: auto;
  height: auto;
  align-items: center;
  color: var(--color-text);
  background: transparent;
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  line-height: 18px;
}

.delivery-note {
  background: var(--color-primary-soft);
}

.delivery-note div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
}

.delivery-note strong {
  font-size: var(--text-md);
  font-weight: var(--font-semibold);
  line-height: 20px;
}

.delivery-note p,
.form-message {
  margin: 0;
  font-size: var(--text-md);
  font-weight: var(--font-medium);
  line-height: 20px;
}

.delivery-note p {
  color: var(--color-text-secondary);
}

.delivery-note p strong {
  color: var(--color-text);
  font-weight: var(--font-semibold);
}

.form-message {
  padding: var(--space-3);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  background: var(--color-card);
}

.checkout-form.was-validated .field.has-error span {
  color: var(--color-danger);
}

.submit-order {
  position: sticky;
  bottom: var(--space-2);
  z-index: 8;
  box-shadow: var(--shadow-bottom-nav);
}

body.order-success-open {
  overflow: hidden;
}

.order-success-screen {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  padding: var(--space-2) max(var(--space-3), calc((100vw - var(--content-max)) / 2 + var(--space-3)))
    calc(var(--space-4) + env(safe-area-inset-bottom));
  overflow-y: auto;
  background: var(--color-bg);
}

.order-success-header {
  display: flex;
  align-items: center;
  min-height: 76px;
}

.order-success-header img {
  width: auto;
  height: var(--logo-height);
  object-fit: contain;
}

.order-success-content {
  display: flex;
  width: 100%;
  max-width: 420px;
  flex-direction: column;
  align-items: center;
  align-self: center;
  justify-self: center;
  gap: var(--space-3);
  padding: var(--space-6) 0;
  text-align: center;
}

.order-success-check {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border-radius: var(--radius-round);
  color: var(--color-text-inverse);
  background: var(--color-primary);
  font-size: 40px;
  font-weight: var(--font-semibold);
  line-height: 1;
}

.order-success-content h1,
.order-success-content p {
  margin: 0;
}

.order-success-content h1 {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  line-height: 1.22;
}

.order-success-content p {
  color: var(--color-text-secondary);
  font-size: var(--text-md);
  font-weight: var(--font-medium);
  line-height: 20px;
}

.order-success-done {
  width: 100%;
  height: 48px;
}

.contact-card {
  padding: var(--space-5) var(--space-2) var(--space-2);
  background: var(--color-bg);
}

.about-screen {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-2);
}

.about-screen h1 {
  margin: 0;
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  line-height: 1.22;
}

.about-copy p,
.about-card p {
  margin: 0;
  color: var(--color-text);
  font-size: var(--text-md);
  font-weight: var(--font-medium);
  line-height: 20px;
}

.about-copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.about-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--color-card);
}

.about-card h2 {
  margin: 0;
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  line-height: 1.22;
}

.about-card a {
  color: var(--color-text);
  text-decoration: none;
}

.about-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.about-notice {
  padding-top: var(--space-3);
  border-top: 1px solid rgb(60 60 67 / 12%);
}

.about-card .about-call {
  color: var(--color-text-inverse);
  text-decoration: none;
}

.about-call img {
  filter: invert(1);
}

.about-delivery {
  background: var(--color-primary-soft);
}

.contact-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-1) var(--space-4) var(--space-4);
  border-radius: var(--radius-md);
  background: var(--color-card);
}

.contact-logo {
  width: 191.4px;
  height: 45.9px;
  object-fit: cover;
  object-position: left center;
}

.contact-main {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.contact-main p,
.pickup {
  margin: 0;
  font-size: var(--text-md);
  font-weight: var(--font-medium);
  line-height: 20px;
}

.contact-main strong {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  line-height: 1.22;
}

.contact-main a,
.contact-main a:visited,
.contact-main a[x-apple-data-detectors] {
  color: var(--color-text);
  text-decoration: none;
}

.bottom-nav {
  position: fixed;
  right: 0;
  bottom: 36px;
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  width: var(--bottom-nav-width);
  height: var(--bottom-nav-height);
  margin: 0 auto;
  padding: var(--space-1);
  border-radius: var(--radius-nav);
  background: var(--color-bg);
  box-shadow: var(--shadow-bottom-nav);
}

.nav-indicator {
  position: absolute;
  top: var(--space-1);
  bottom: var(--space-1);
  left: 0;
  z-index: 0;
  border-radius: var(--radius-nav);
  background: var(--color-primary-soft);
  transform: translate3d(4px, 0, 0);
  transition: transform 360ms var(--motion-soft), width 360ms var(--motion-soft);
  will-change: transform, width;
}

.tab {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  color: var(--color-nav-inactive);
  text-decoration: none;
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  line-height: 16px;
  transition: color 180ms ease, transform 140ms ease;
}

.tab.active {
  color: var(--color-primary);
}

.nav-icon {
  width: 24px;
  height: 24px;
  color: currentColor;
  overflow: visible;
}

.nav-icon path {
  fill: currentColor;
}

.cart-basket,
.cart-handle,
.shop-awning,
.shop-door {
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform;
}

.cart-basket {
  transform-origin: 50% 100%;
}

.cart-handle {
  transform-origin: 11px 10px;
}

.shop-door {
  stroke: var(--color-bg);
  stroke-width: 0.7;
  stroke-linejoin: round;
  transform-origin: 0% 100%;
}

.tab.is-nav-animating[data-view-tab="catalog"] .nav-icon {
  animation: nav-icon-glide 850ms var(--motion-soft);
}

.tab.is-nav-animating[data-view-tab="cart"] .cart-basket {
  animation: nav-cart-basket-fold 780ms var(--motion-soft);
}

.tab.is-nav-animating[data-view-tab="cart"] .cart-handle {
  animation: nav-cart-handle-fold 780ms var(--motion-soft);
}

.tab.is-nav-animating[data-view-tab="about"] .shop-door {
  animation: nav-shop-door-swing 860ms var(--motion-soft);
}

.tab.is-nav-animating .cart-wrap b {
  animation: nav-badge-orbit 760ms var(--motion-soft);
}

.cart-wrap {
  position: relative;
  display: flex;
}

.cart-wrap img,
.cart-wrap .nav-icon {
  transform-origin: 50% 100%;
}

.cart-wrap.is-cart-pulse img,
.cart-wrap.is-cart-pulse .nav-icon {
  animation: cart-icon-glide 920ms var(--motion-soft);
}

.cart-wrap.is-cart-pulse b {
  animation: badge-glide 800ms var(--motion-soft);
}

.cart-wrap b {
  position: absolute;
  top: -8px;
  right: -7px;
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border-radius: var(--radius-round);
  color: var(--color-text-inverse);
  background: var(--color-danger-badge);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  line-height: 1;
  padding-top: 1px;
}

.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: rgba(0, 0, 0, 0.32);
}

.filter-sheet,
.info-sheet {
  position: fixed;
  right: max(0px, calc((100vw - var(--content-max)) / 2));
  bottom: 0;
  left: max(0px, calc((100vw - var(--content-max)) / 2));
  z-index: 21;
  display: flex;
  max-width: var(--content-max);
  max-height: min(86vh, 640px);
  flex-direction: column;
  gap: var(--space-4);
  overflow-y: auto;
  margin: 0 auto;
  padding: var(--space-2) var(--space-4) calc(var(--space-4) + env(safe-area-inset-bottom));
  border-radius: 24px 24px 0 0;
  background: var(--color-bg);
  box-shadow: 0 -10px 32px rgba(0, 0, 0, 0.16);
  transform: translateY(110%);
  transition: transform 180ms ease;
}

.filter-sheet.is-open,
.info-sheet.is-open {
  transform: translateY(0);
}

.info-sheet {
  max-height: min(70vh, 480px);
}

.info-sheet-copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.info-sheet-copy p {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: var(--text-md);
  font-weight: var(--font-medium);
  line-height: 20px;
}

.info-sheet-copy p:first-child {
  color: var(--color-text);
  font-weight: var(--font-semibold);
}

.info-sheet-call {
  height: 56px;
  text-decoration: none;
  font-size: 16px;
  font-weight: var(--font-medium);
  line-height: 1.35;
}

.info-sheet-call img {
  width: 20px;
  height: 20px;
  filter: invert(1);
}

.info-sheet-confirm {
  width: 100%;
  height: 56px;
  font-size: 16px;
  font-weight: var(--font-medium);
  line-height: 1.35;
}

.catalog-variant-confirm {
  width: 100%;
  height: 56px;
  font-size: 16px;
  font-weight: var(--font-medium);
  line-height: 1.35;
}

.sheet-handle {
  width: 44px;
  height: 4px;
  margin: 0 auto;
  border-radius: var(--radius-pill);
  background: rgba(60, 60, 67, 0.22);
}

.sheet-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.sheet-section h3 {
  margin: 0;
  font-size: var(--text-md);
  font-weight: var(--font-semibold);
  line-height: 20px;
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.filter-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--chip-height);
  padding: 0 var(--space-4);
  border-radius: var(--radius-pill);
  color: var(--color-text);
  background: var(--color-surface-muted);
  font-size: var(--text-md);
  font-weight: var(--font-medium);
  transition: color 220ms ease, background-color 220ms ease;
}

.filter-option:active:not(.is-active) {
  background: var(--color-surface-pressed);
}

.filter-option.is-active {
  color: var(--color-text-inverse);
  background: var(--color-text);
}

.sheet-actions .add-button:active {
  transform: none;
  background: var(--color-primary-pressed);
}

.range-filter {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-3);
  border-radius: var(--radius-md);
  background: var(--color-surface-muted);
  font-size: var(--text-md);
  font-weight: var(--font-medium);
  line-height: 20px;
}

.range-values {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
}

.range-values span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--color-text-secondary);
}

.range-values span:last-child {
  align-items: flex-end;
}

.range-values b {
  color: var(--color-text);
  font-size: var(--text-lg);
}

.dual-range {
  position: relative;
  height: 28px;
}

.dual-range-track {
  position: absolute;
  top: 12px;
  right: 0;
  left: 0;
  height: 4px;
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: var(--color-surface-pressed);
}

.dual-range-track span {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: inherit;
  background: var(--color-primary);
}

.dual-range input {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 28px;
  margin: 0;
  appearance: none;
  background: transparent;
  pointer-events: none;
}

.dual-range input:first-of-type {
  z-index: 3;
}

.dual-range input::-webkit-slider-runnable-track {
  height: 4px;
  background: transparent;
}

.dual-range input::-webkit-slider-thumb {
  width: 20px;
  height: 20px;
  margin-top: -8px;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  appearance: none;
  background: var(--color-bg);
  box-shadow: 0 1px 4px rgb(0 0 0 / 16%);
  cursor: grab;
  pointer-events: auto;
}

.dual-range input::-moz-range-track {
  height: 4px;
  background: transparent;
}

.dual-range input::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  background: var(--color-bg);
  box-shadow: 0 1px 4px rgb(0 0 0 / 16%);
  cursor: grab;
  pointer-events: auto;
}

.sheet-actions {
  position: sticky;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
  padding-top: var(--space-2);
  background: var(--color-bg);
}

@keyframes cart-icon-glide {
  0% {
    transform: scale(1, 1);
  }
  18% {
    transform: scale(1.04, 0.9);
  }
  38% {
    transform: scale(1.065, 0.82);
  }
  55% {
    transform: scale(0.985, 1.04);
  }
  72% {
    transform: scale(1.012, 0.985);
  }
  86% {
    transform: scale(0.998, 1.005);
  }
  100% {
    transform: scale(1, 1);
  }
}

@keyframes product-filter-out {
  from {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    opacity: 0;
    transform: translate3d(0, 8px, 0) scale(0.97);
  }
}

@keyframes product-filter-in {
  from {
    opacity: 0;
    transform: translate3d(0, 10px, 0) scale(0.975);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes search-bar-in {
  from {
    opacity: 0;
    transform: translate3d(8px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes search-empty-in {
  from {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes nav-icon-glide {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  22% {
    transform: translate3d(0, -1.8px, 0) scale(1.035);
  }
  46% {
    transform: translate3d(0, -0.4px, 0) scale(1.01);
  }
  68% {
    transform: translate3d(0, 0.25px, 0) scale(0.998);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes nav-cart-basket-fold {
  0% {
    transform: scale(1, 1) translate3d(0, 0, 0);
  }
  24% {
    transform: scale(1.04, 0.88) translate3d(0, 1.6px, 0);
  }
  48% {
    transform: scale(0.98, 1.08) translate3d(0, -1.3px, 0);
  }
  72% {
    transform: scale(1.01, 0.98) translate3d(0, 0.4px, 0);
  }
  100% {
    transform: scale(1, 1) translate3d(0, 0, 0);
  }
}

@keyframes nav-cart-handle-fold {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  24% {
    transform: translate3d(0, 3px, 0) rotate(-10deg);
  }
  48% {
    transform: translate3d(0, -2px, 0) rotate(6deg);
  }
  72% {
    transform: translate3d(0, 0.6px, 0) rotate(-2deg);
  }
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}

@keyframes nav-shop-door-swing {
  0% {
    transform: perspective(80px) rotateY(0deg) translate3d(0, 0, 0);
  }
  28% {
    transform: perspective(80px) rotateY(-48deg) translate3d(-1px, 0, 0);
  }
  58% {
    transform: perspective(80px) rotateY(12deg) translate3d(0.4px, 0, 0);
  }
  80% {
    transform: perspective(80px) rotateY(-4deg) translate3d(-0.2px, 0, 0);
  }
  100% {
    transform: perspective(80px) rotateY(0deg) translate3d(0, 0, 0);
  }
}

@keyframes nav-badge-orbit {
  0% {
    transform: translate3d(0, 0, 0);
  }
  28% {
    transform: translate3d(2px, -3px, 0);
  }
  62% {
    transform: translate3d(-1px, 1px, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes badge-glide {
  0% {
    transform: scale(1);
  }
  20% {
    transform: scale(0.94);
  }
  42% {
    transform: scale(1.12);
  }
  64% {
    transform: scale(1.02);
  }
  82% {
    transform: scale(0.995);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes icon-press-pop {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(0.9);
  }
  58% {
    transform: scale(1.05);
  }
  82% {
    transform: scale(0.99);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes count-pop {
  0% {
    transform: scale(1);
  }
  34% {
    transform: scale(1.1);
  }
  62% {
    transform: scale(0.98);
  }
  100% {
    transform: scale(1);
  }
}

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

@media (min-width: 391px) {
  body {
    background: #f4f5f7;
  }

  .app-shell {
    min-height: 100vh;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04);
  }
}

@media (min-width: 600px) {
  .topbar {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero-strip {
    padding-right: 16px;
    padding-left: 16px;
  }

  .season-card,
  .original-card,
  .info-stack {
    flex-basis: 216px;
    height: 260px;
  }

  .original-card {
    padding: 18px 18px 22px;
  }

  .original-card p,
  .original-card span {
    max-width: 180px;
  }

  .catalog h1,
  .chips {
    padding-right: 16px;
    padding-left: 16px;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 12px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .contact-card {
    padding-right: 16px;
    padding-left: 16px;
  }
}

@media (min-width: 800px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 12px;
  }

  .bottom-nav {
    width: min(318px, calc(100vw - 32px));
  }
}

@media (min-width: 928px) {
  .hero-strip {
    overflow-x: hidden;
  }
}

@media (max-width: 1024px) {
  input,
  select,
  textarea {
    font-size: 16px !important;
  }
}
