:root {
  --ink: #14171d;
  --ink-raised: #2b313c;
  --blue: #2f6bea;
  --blue-deep: #1e4fc4;
  --blue-soft: #e3ebfd;
  --blue-border: #6d97f5;
  --paper: #eef1f6;
  --white: #fff;
  --line: #d9dee7;
  --line-soft: #edf0f4;
  --card-border: #e3e7ee;
  --surface-soft: #f7f8fb;
  --text: #14171d;
  --text-soft: #2a303b;
  --muted: #5b6474;
  --muted-light: #9aa3b2;
  --on-dark: #c9d0dc;
  --on-dark-muted: #aeb6c4;
  --on-dark-accent: #b9c7e6;
  --green: #3fae2a;
  --green-soft: #e3f5de;
  --green-deep: #256b17;
  --neutral-soft: #eceff3;
  --neutral-deep: #454d5b;
  --red: #e0304e;
  --red-soft: #ffe3e8;
  --red-deep: #c21f3d;
  --switch-off: #c3c9d3;
  --handle: #d3d8e0;
  --dot: #cfd5de;
  --skeleton-base: #e6e9ef;
  --skeleton-shine: #f3f5f8;
  --tone-hg: #2f6bea;
  --tone-rg: #d7383b;
  --tone-mg: #b8860b;
  --tone-pg: #6b3fd6;
  --tone-eg: #3a8f5c;
  --tone-gsc: #0f8f86;
  --tone-sd: #e0772b;
  --tone-frs: #8a3fb8;
  --tone-other: #5b6474;
  --font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --font-body: barlow, system-ui, -apple-system, "Segoe UI", roboto, sans-serif;
  --radius-card: 14px;
  --radius-control: 10px;
  --radius-sheet: 18px;
  --radius-pill: 999px;
  --page-max: 1240px;
  --page-gutter: clamp(16px, 3vw, 32px);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --sticky-offset: 130px;

  color-scheme: light;
  box-sizing: border-box;
  padding-top: var(--safe-top);
  padding-bottom: var(--safe-bottom);
  background: var(--ink);
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-padding-top: calc(var(--safe-top) + var(--sticky-offset));
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100dvh;
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.45;
  color: var(--text);
  background: var(--paper);
  -webkit-tap-highlight-color: transparent;
}

body.is-scroll-locked {
  overflow: hidden;
}

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

button {
  cursor: pointer;
}

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

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

[data-tone="hg"] {
  --tone: var(--tone-hg);
}

[data-tone="rg"] {
  --tone: var(--tone-rg);
}

[data-tone="mg"] {
  --tone: var(--tone-mg);
}

[data-tone="pg"] {
  --tone: var(--tone-pg);
}

[data-tone="eg"] {
  --tone: var(--tone-eg);
}

[data-tone="gsc"] {
  --tone: var(--tone-gsc);
}

[data-tone="sd"] {
  --tone: var(--tone-sd);
}

[data-tone="frs"] {
  --tone: var(--tone-frs);
}

[data-tone="other"] {
  --tone: var(--tone-other);
}

[data-tone="green"] {
  --tone: var(--green);
}

.wrap {
  width: 100%;
  max-width: calc(var(--page-max) + 2 * var(--page-gutter));
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

.top {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.top::after {
  position: absolute;
  top: -40px;
  right: -60px;
  width: clamp(150px, 22vw, 280px);
  height: 340px;
  content: "";
  background: linear-gradient(90deg, var(--blue) 0 34%, transparent 34% 52%, var(--ink-raised) 52% 100%);
  opacity: 0.9;
  transform: skewX(-18deg);
  pointer-events: none;
}

.bar {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
}

.logo {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--white);
  text-decoration: none;
}

.logo-image {
  width: auto;
  max-width: min(62vw, 300px);
  height: 30px;
}

.logo-text {
  display: none;
}

.logo-text b {
  margin-left: 2px;
  padding: 1px 5px 0;
  font-weight: 800;
  background: var(--blue);
  border: 1.5px solid var(--blue-border);
}

.logo.is-fallback .logo-image {
  display: none;
}

.logo.is-fallback .logo-text {
  display: inline;
}

.fav-btn {
  position: relative;
  display: flex;
  flex: none;
  gap: 6px;
  align-items: center;
  height: 40px;
  padding: 0 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  background: var(--white);
  border: 0;
  border-radius: var(--radius-control);
}

.fav-btn[aria-pressed="true"] {
  color: var(--white);
  background: var(--blue);
}

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

.badge {
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  background: var(--red);
  border-radius: var(--radius-pill);
}

.badge:empty {
  display: none;
}

.hero {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding-block: clamp(18px, 4vw, 40px) clamp(22px, 5vw, 48px);
}

.booth {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin-bottom: 14px;
  padding: 7px 13px 7px 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  background: var(--blue);
  border-radius: var(--radius-pill);
}

.booth svg {
  flex: none;
  width: 18px;
  height: 18px;
}

.hero-event {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--on-dark-accent);
}

.hero-title {
  max-width: 10ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(38px, 10vw, 72px);
  font-style: italic;
  font-weight: 800;
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}

.hero-subtitle {
  max-width: 46ch;
  margin: 12px 0 0;
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--on-dark);
}

.hero-event:empty,
.hero-subtitle:empty {
  display: none;
}

.filters {
  position: sticky;
  top: var(--safe-top);
  z-index: 20;
  background: rgb(238 241 246 / 94%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(12px);
}

.search {
  position: relative;
  margin-top: 12px;
}

.search-input {
  width: 100%;
  height: 50px;
  padding: 0 46px 0 44px;
  font-size: 17px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-control);
  appearance: none;
}

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

.search-input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
}

.search-icon {
  position: absolute;
  inset-block: 0;
  left: 14px;
  width: 20px;
  height: 20px;
  margin-block: auto;
  color: var(--muted);
  pointer-events: none;
}

.search-clear {
  position: absolute;
  inset-block: 0;
  right: 6px;
  display: none;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-block: auto;
  color: var(--muted);
  background: none;
  border: 0;
  border-radius: 8px;
}

.search-clear.is-visible {
  display: grid;
}

.chips {
  display: flex;
  gap: 8px;
  margin-inline: calc(-1 * var(--page-gutter));
  padding: 10px var(--page-gutter) 12px;
  overflow-x: auto;
  scroll-padding-inline: var(--page-gutter);
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

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

.chip {
  display: flex;
  flex: none;
  gap: 7px;
  align-items: center;
  height: 38px;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  scroll-snap-align: start;
}

.chip[aria-pressed="true"] {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.chip-dot {
  width: 9px;
  height: 9px;
  background: var(--tone, var(--muted));
  border-radius: 50%;
}

.chip-more svg {
  width: 16px;
  height: 16px;
}

.chip-more[data-active="true"] {
  color: var(--blue-deep);
  background: var(--blue-soft);
  border-color: var(--blue);
}

.chip-more .badge {
  display: inline-grid;
  background: var(--blue);
}

.chip-separator {
  flex: 0 0 1.5px;
  margin: 6px 2px;
  background: var(--line);
}

.results-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 10px;
}

.results-count {
  font-size: 15px;
  font-weight: 700;
}

.results-count-total {
  font-weight: 500;
  color: var(--muted);
}

.link-button {
  padding: 6px 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--blue-deep);
  background: none;
  border: 0;
}

.copy-list {
  height: 40px;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  background: var(--ink);
  border: 0;
  border-radius: var(--radius-control);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding-bottom: 40px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
}

.card.is-changed {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px var(--blue-soft);
}

.card-open {
  all: unset;
  display: flex;
  flex: 1;
  flex-direction: column;
  cursor: pointer;
}

.card-open:focus-visible {
  border-radius: var(--radius-card);
  outline: 3px solid var(--blue);
  outline-offset: -3px;
}

.card-thumb {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  padding: 8px;
  background: var(--white);
  border-bottom: 1px solid var(--line-soft);
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
  padding: 10px 11px 12px;
}

.tag {
  align-self: flex-start;
  padding: 4px 7px 3px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--white);
  background: var(--tone, var(--muted));
  border-radius: 4px;
}

.card-name {
  display: -webkit-box;
  margin-top: 4px;
  overflow: hidden;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.22;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.card-series {
  overflow: hidden;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.card-price {
  display: flex;
  gap: 6px;
  align-items: baseline;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 6px;
}

.card-price-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.card-price small {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.card.is-unavailable .card-thumb img {
  opacity: 0.4;
  filter: grayscale(1);
}

.card.is-unavailable .card-price-value {
  color: var(--muted);
}

.card-soldout {
  position: absolute;
  top: 50%;
  inset-inline: 0;
  text-align: center;
  transform: translateY(-50%);
  pointer-events: none;
}

.card-soldout span,
.status {
  display: inline-block;
  padding: 5px 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  background: var(--ink);
  border-radius: 6px;
}

.status {
  margin: 10px 0 0;
  font-size: 14px;
}

.status.is-on {
  color: var(--green-deep);
  background: var(--green-soft);
}

.status.is-off {
  color: var(--neutral-deep);
  background: var(--neutral-soft);
}

.badge-new {
  position: absolute;
  top: 10px;
  left: 0;
  padding: 3px 9px 3px 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  background: var(--green);
  border-radius: 0 6px 6px 0;
}

.heart {
  position: absolute;
  top: 6px;
  right: 6px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--muted-light);
  background: rgb(255 255 255 / 92%);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgb(20 23 29 / 15%);
}

.heart svg {
  width: 20px;
  height: 20px;
}

.heart[aria-pressed="true"] {
  color: var(--red);
}

.heart[aria-pressed="true"] path {
  fill: currentcolor;
}

.avail {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 11px;
  font-size: 14px;
  font-weight: 700;
  background: var(--surface-soft);
  border-top: 1px dashed var(--line);
  cursor: pointer;
}

.avail.is-large {
  margin: 12px 0 0;
  padding: 12px 14px;
  font-size: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
}

.switch {
  position: relative;
  flex: none;
  width: 48px;
  height: 28px;
}

.switch input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.switch-track {
  position: absolute;
  inset: 0;
  background: var(--switch-off);
  border-radius: var(--radius-pill);
  transition: background-color 0.15s;
}

.switch-track::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  content: "";
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 1px 2px rgb(0 0 0 / 25%);
  transition: transform 0.15s;
}

.switch input:checked + .switch-track {
  background: var(--green);
}

.switch input:checked + .switch-track::after {
  transform: translateX(20px);
}

.switch input:focus-visible + .switch-track {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.is-maintenance .catalog {
  padding-bottom: 140px;
}

.maintenance-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 30;
  padding: 12px var(--page-gutter) calc(12px + var(--safe-bottom));
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 -6px 20px rgb(0 0 0 / 25%);
}

.maintenance-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
  max-width: var(--page-max);
  margin-inline: auto;
}

.maintenance-info {
  flex: 1 1 100%;
  margin: 0;
  font-size: 14px;
  color: var(--on-dark);
}

.maintenance-info b {
  margin-right: 6px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
}

.maintenance-button {
  flex: 1 1 0;
  height: 42px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  background: var(--ink-raised);
  border: 0;
  border-radius: var(--radius-control);
}

.maintenance-button.is-primary {
  background: var(--blue);
}

.maintenance-button:disabled {
  opacity: 0.45;
}

.state-message {
  padding: 48px 16px 64px;
  color: var(--muted);
  text-align: center;
}

.state-message h2 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
}

.full-row {
  grid-column: 1 / -1;
}

.skeleton {
  aspect-ratio: 3 / 4.3;
  background: linear-gradient(90deg, var(--skeleton-base) 0%, var(--skeleton-shine) 50%, var(--skeleton-base) 100%);
  background-size: 200% 100%;
  border-radius: var(--radius-card);
  animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

.site-footer {
  padding: 26px 0 30px;
  font-size: 14px;
  color: var(--on-dark-muted);
  background: var(--ink);
}

.site-footer strong {
  color: var(--white);
}

.footer-line {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 12px;
}

.footer-link {
  padding: 6px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
  background: none;
  border: 0;
}

.legal {
  max-width: 60ch;
  padding: 8px 18px 28px;
  font-size: 15.5px;
  line-height: 1.55;
}

.legal h3 {
  margin: 18px 0 2px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.legal p {
  margin: 0;
  color: var(--text-soft);
}

.legal a {
  font-weight: 600;
  color: var(--blue-deep);
}

.scrim {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgb(10 12 16 / 55%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.scrim.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.sheet {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  max-height: calc(100% - 28px - var(--safe-top));
  padding-bottom: var(--safe-bottom);
  background: var(--white);
  border-radius: var(--radius-sheet) var(--radius-sheet) 0 0;
  transform: translateY(105%);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sheet.is-visible {
  transform: none;
}

.sheet-head {
  display: flex;
  flex: none;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 8px 18px;
  border-bottom: 1px solid var(--line-soft);
}

.sheet-head::before {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 40px;
  height: 4px;
  content: "";
  background: var(--handle);
  border-radius: 4px;
  transform: translateX(-50%);
}

.sheet-title {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
}

.sheet-close {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--paper);
  border: 0;
  border-radius: 50%;
}

.sheet-close svg {
  width: 20px;
  height: 20px;
}

.sheet-body {
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.sheet-foot {
  display: flex;
  flex: none;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid var(--line-soft);
}

.button {
  height: 50px;
  padding: 0 18px;
  font-size: 16px;
  font-weight: 700;
  border: 0;
  border-radius: var(--radius-control);
}

.button-primary {
  color: var(--white);
  background: var(--blue);
}

.button-secondary {
  color: var(--ink);
  background: var(--paper);
}

.sheet-foot .button {
  flex: 1;
}

.state-message .button {
  margin-top: 14px;
}

.gallery {
  display: flex;
  overflow-x: auto;
  background: var(--white);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

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

.gallery-image {
  flex: 0 0 100%;
  aspect-ratio: 1;
  max-height: min(62vh, 460px);
  padding: 10px;
  object-fit: contain;
  scroll-snap-align: center;
}

.gallery-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  padding: 4px 0 10px;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  background: var(--dot);
  border: 0;
  border-radius: 50%;
}

.gallery-dot.is-active {
  width: 20px;
  background: var(--ink);
  border-radius: 4px;
}

.detail-main {
  padding: 4px 18px 18px;
}

.detail-title {
  margin: 8px 0 4px;
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 800;
  line-height: 1;
}

.detail-series {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

.detail-price {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin: 14px 0 4px;
}

.detail-price-value {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
}

.detail-price span {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 14px 0;
  overflow: hidden;
  background: var(--card-border);
  border: 1px solid var(--card-border);
  border-radius: 12px;
}

.facts > div {
  padding: 9px 12px;
  background: var(--surface-soft);
}

.facts > div:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.facts dt {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.facts dd {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.detail-actions {
  display: flex;
  gap: 10px;
  margin: 4px 0 18px;
}

.action-button {
  display: flex;
  flex: 1;
  gap: 8px;
  align-items: center;
  justify-content: center;
  height: 50px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  background: var(--paper);
  border: 0;
  border-radius: var(--radius-control);
}

.action-button[aria-pressed="true"] {
  color: var(--red-deep);
  background: var(--red-soft);
}

.action-button svg {
  width: 20px;
  height: 20px;
}

.description {
  max-width: 68ch;
  padding-top: 6px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--text-soft);
  border-top: 1px solid var(--line-soft);
}

.description :is(h1, h2, h3, h4, h5) {
  margin: 18px 0 4px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.description p {
  margin: 0 0 10px;
}

.description ul {
  margin: 0 0 10px;
  padding-left: 20px;
}

.description li {
  margin: 2px 0;
}

.description.is-clamped {
  max-height: 230px;
  overflow: hidden;
  mask-image: linear-gradient(#000 60%, transparent);
}

.option-group {
  padding: 8px 18px 4px;
}

.option-group-title {
  margin: 10px 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.option {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 50px;
  font-size: 16px;
  border-bottom: 1px solid var(--line-soft);
  cursor: pointer;
}

.option input {
  flex: none;
  width: 22px;
  height: 22px;
  accent-color: var(--blue);
}

.option-label {
  flex: 1;
}

.option-count {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.option.is-dimmed {
  opacity: 0.4;
}

.toast {
  position: fixed;
  bottom: calc(20px + var(--safe-bottom));
  left: 50%;
  z-index: 60;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  font-weight: 600;
  color: var(--white);
  background: var(--ink);
  border-radius: 12px;
  opacity: 0;
  transform: translate(-50%, 20px);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.is-maintenance .toast {
  bottom: calc(130px + var(--safe-bottom));
}

@media (width <= 359px) {
  .product-grid {
    gap: 8px;
  }

  .card-info {
    padding: 8px 9px 10px;
  }

  .card-price-value {
    font-size: 19px;
  }
}

@media (width <= 420px) {
  .fav-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    white-space: nowrap;
    clip-path: inset(50%);
  }
}

@media (width >= 620px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (width >= 760px) {
  .logo-image {
    height: 36px;
  }

  .maintenance-info {
    flex: 1 1 auto;
  }

  .maintenance-button {
    flex: none;
    padding: 0 16px;
  }

  .is-maintenance .catalog {
    padding-bottom: 100px;
  }

  .is-maintenance .toast {
    bottom: calc(90px + var(--safe-bottom));
  }

  .sheet {
    inset: 50% auto auto 50%;
    width: min(720px, 100% - 48px);
    max-height: min(88vh, 900px);
    border-radius: var(--radius-sheet);
    opacity: 0;
    transform: translate(-50%, -46%);
    transition: transform 0.22s, opacity 0.22s;
    pointer-events: none;
  }

  .sheet.is-visible {
    opacity: 1;
    transform: translate(-50%, -50%);
    pointer-events: auto;
  }

  .sheet-head::before {
    display: none;
  }
}

@media (width >= 900px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .sheet-detail {
    width: min(1000px, 100% - 48px);
  }

  .detail-layout.has-media {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }

  .detail-layout.has-media .detail-media {
    position: sticky;
    top: 0;
  }

  .detail-layout.has-media .gallery-image {
    max-height: min(70vh, 520px);
  }
}

@media (width >= 1024px) {
  .chips {
    flex-wrap: wrap;
    margin-inline: 0;
    padding-inline: 0;
    overflow-x: visible;
  }
}

@media (width >= 1180px) {
  .product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}