:root {
  --ink: #11120f;
  --ink-soft: #666960;
  --paper: #f3f4ee;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --line: #dce0d5;
  --line-dark: #30322c;
  --volt: #c8ff3d;
  --volt-soft: #efffc4;
  --cloud: #f7f7f2;
  --green: #11120f;
  --green-light: #eff1e9;
  --orange: #11120f;
  --orange-light: #efffc4;
  --yellow: #c8ff3d;
  --shadow: 0 22px 70px rgba(17, 18, 15, 0.1);
  --shadow-small: 0 12px 36px rgba(17, 18, 15, 0.08);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 7% 3%, rgba(200, 255, 61, 0.22), transparent 25rem),
    linear-gradient(rgba(17, 18, 15, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 18, 15, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: auto, 36px 36px, 36px 36px, auto;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

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

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

body.has-modal {
  overflow: hidden;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  min-height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  background: var(--volt);
  border: 2px solid var(--ink);
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 820;
  text-decoration: none;
  transform: translateY(calc(-100% - 16px));
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 50;
  width: min(1360px, calc(100% - 32px));
  min-height: 72px;
  margin: 14px auto 0;
  padding: 10px 12px 10px 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 3vw, 38px);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(17, 18, 15, 0.1);
  border-radius: 20px;
  box-shadow: 0 12px 38px rgba(17, 18, 15, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand__logo {
  width: 184px;
  height: auto;
  display: block;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-header__nav a,
.site-header__catalog-toggle {
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  padding: 8px 0;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.site-header__catalog-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.site-header__catalog-toggle span {
  font-size: 1rem;
  transition: transform 180ms ease;
}

.site-header__catalog-toggle[aria-expanded="true"] span {
  transform: rotate(180deg);
}

.site-header__nav a:hover,
.site-header__catalog-toggle:hover,
.site-header__catalog-toggle[aria-expanded="true"] {
  color: var(--ink);
}

.site-header__burger {
  width: 44px;
  height: 44px;
  padding: 0;
  display: none;
  place-items: center;
  align-content: center;
  gap: 4px;
  color: var(--ink);
  background: var(--cloud);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.site-header__burger span {
  width: 18px;
  height: 2px;
  display: block;
  background: currentColor;
  border-radius: 999px;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.site-header__burger[aria-expanded="true"] span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.site-header__burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.site-header__burger[aria-expanded="true"] span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.catalog-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  max-height: calc(100dvh - 112px);
  padding: 24px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(17, 18, 15, 0.12);
  border-radius: 22px;
  box-shadow: 0 28px 80px rgba(17, 18, 15, 0.2);
  overflow: auto;
  backdrop-filter: blur(20px);
}

.catalog-menu__header {
  padding-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.catalog-menu__header .eyebrow {
  margin-bottom: 4px;
}

.catalog-menu__header strong {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  letter-spacing: -0.045em;
}

.catalog-menu__all {
  min-height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  color: var(--ink);
  background: var(--volt);
  border: 1px solid var(--ink);
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
}

.catalog-tree {
  display: grid;
  grid-template-columns: 0.8fr 1.35fr 0.72fr;
  gap: 1px;
  background: var(--line);
}

.catalog-menu .catalog-tree {
  margin: 20px -24px -24px;
  border-radius: 0 0 22px 22px;
  overflow: hidden;
}

.catalog-tree__branch {
  min-width: 0;
  padding: 22px 24px 24px;
  background: var(--surface);
}

.catalog-tree__branch h2 {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 0.66rem;
  font-weight: 820;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.catalog-tree__branch > div {
  display: grid;
  gap: 5px;
}

.catalog-tree__branch button,
.catalog-tree__unavailable {
  min-height: 42px;
  padding: 9px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 720;
  text-align: left;
}

.catalog-tree__branch button::after {
  content: "↘";
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.catalog-tree__branch button:hover,
.catalog-tree__branch button[aria-current="true"] {
  background: var(--volt-soft);
}

.catalog-tree__branch .catalog-tree__child {
  min-height: 36px;
  padding-left: 25px;
  color: var(--ink-soft);
  font-size: 0.74rem;
  font-weight: 650;
}

.catalog-tree__branch .catalog-tree__child::before {
  content: "";
  width: 10px;
  height: 1px;
  margin-left: -15px;
  background: var(--line-dark);
}

.catalog-tree__unavailable {
  color: var(--ink-soft);
}

.catalog-tree__branch .catalog-tree__unavailable::after {
  content: none;
}

.catalog-tree__unavailable small {
  padding: 3px 7px;
  color: var(--ink);
  background: var(--green-light);
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-header__cta {
  min-height: 48px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: white;
  background: var(--ink);
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 760;
  text-decoration: none;
  white-space: nowrap;
}

.site-header__cta span {
  color: var(--volt);
  font-size: 1rem;
}

.site-header__cart {
  gap: 10px;
}

.site-header__cart-icon {
  line-height: 1;
  transform: rotate(180deg);
}

.site-header__cart-label {
  color: white !important;
  font-size: 0.8rem !important;
}

.site-header__cart-count {
  min-width: 25px;
  height: 25px;
  padding: 0 7px;
  display: grid;
  place-items: center;
  color: var(--ink) !important;
  background: var(--volt);
  border-radius: 999px;
  font-size: 0.7rem !important;
  font-variant-numeric: tabular-nums;
}

.site-header__cta:hover {
  background: #292b25;
}

main {
  width: min(1360px, calc(100% - 32px));
  margin: 18px auto 0;
}

.hero {
  position: relative;
  min-height: 690px;
  padding: clamp(40px, 6vw, 82px);
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: clamp(42px, 6vw, 96px);
  color: white;
  background:
    radial-gradient(circle at 88% 8%, rgba(200, 255, 61, 0.16), transparent 28rem),
    radial-gradient(circle at 18% 112%, rgba(200, 255, 61, 0.08), transparent 34rem),
    var(--ink);
  border: 1px solid #252620;
  border-radius: 34px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent 16%, black 100%);
  opacity: 0.35;
}

.hero__copy,
.hero__visual {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--volt);
}

.hero h1,
.catalog h2 {
  margin: 0;
  font-weight: 850;
  letter-spacing: -0.075em;
}

.hero h1 {
  max-width: 730px;
  font-size: clamp(4rem, 8.7vw, 8.3rem);
  line-height: 0.86;
}

.hero h1 span {
  display: block;
  color: var(--volt);
}

.hero__lead {
  max-width: 660px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.6;
}

.hero__actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.hero__primary-action {
  min-height: 54px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 30px;
  color: var(--ink);
  background: var(--volt);
  border-radius: 15px;
  font-size: 0.86rem;
  font-weight: 820;
  text-decoration: none;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.hero__primary-action:hover {
  background: #d8ff73;
  transform: translateY(-2px);
}

.hero__actions p {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.74rem;
  font-weight: 650;
}

.hero__visual {
  min-height: 550px;
}

.hero__product {
  position: absolute;
  inset: 0 18px 0 auto;
  width: min(100%, 430px);
  padding: 24px;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background:
    linear-gradient(rgba(17, 18, 15, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 18, 15, 0.035) 1px, transparent 1px),
    var(--cloud);
  background-size: 26px 26px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 28px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.34);
  transform: rotate(3.5deg);
  overflow: hidden;
}

.hero__product::after {
  content: "";
  position: absolute;
  width: 310px;
  height: 310px;
  right: -72px;
  top: 74px;
  z-index: 0;
  background: var(--volt);
  border-radius: 50%;
}

.hero__product > p {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 0.68rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__product img {
  position: absolute;
  inset: 26px 0 34px;
  z-index: 1;
  width: 100%;
  height: calc(100% - 60px);
  object-fit: contain;
  mix-blend-mode: multiply;
  transform: rotate(-3.5deg) scale(1.02);
}

.hero__product > div {
  position: relative;
  z-index: 2;
  margin-top: auto;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.hero__product > div span {
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero__product > div strong {
  font-size: 1.14rem;
  letter-spacing: -0.04em;
}

.hero__signal {
  position: absolute;
  top: 18px;
  left: -10px;
  z-index: 4;
  height: 82px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(17, 18, 15, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  backdrop-filter: blur(12px);
  transform: rotate(-7deg);
}

.hero__signal span {
  width: 6px;
  background: var(--volt);
  border-radius: 99px;
}

.hero__signal span:nth-child(1) {
  height: 24px;
}

.hero__signal span:nth-child(2) {
  height: 42px;
}

.hero__signal span:nth-child(3) {
  height: 30px;
}

.hero__signal span:nth-child(4) {
  height: 54px;
}

.hero__signal span:nth-child(5) {
  height: 34px;
}

.store-benefits {
  margin: 14px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}

.store-benefits article {
  min-height: 122px;
  padding: 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 16px;
  background: rgba(255, 255, 255, 0.9);
}

.store-benefits article > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--volt);
  border-radius: 10px;
  font-size: 0.68rem;
  font-weight: 850;
}

.store-benefits strong {
  display: block;
  margin: 1px 0 4px;
  font-size: 0.9rem;
}

.store-benefits p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.76rem;
  line-height: 1.5;
}

.catalog {
  margin-top: 20px;
  padding: clamp(54px, 6vw, 82px) clamp(20px, 4.5vw, 62px) 76px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(17, 18, 15, 0.08);
  border-radius: 34px 34px 0 0;
  box-shadow: var(--shadow);
}

.catalog__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.58fr);
  align-items: end;
  gap: 50px;
}

.catalog h2 {
  max-width: 800px;
  scroll-margin-top: 150px;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.94;
}

.catalog__scope {
  max-width: 540px;
  margin: 0 0 6px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.65;
}

.notice {
  margin-top: 34px;
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  background: var(--volt-soft);
  border: 1px solid rgba(127, 164, 30, 0.24);
  border-radius: 16px;
}

.notice__icon {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: var(--volt);
  background: var(--ink);
  border-radius: 8px;
  font-weight: 850;
}

.notice p {
  margin: 4px 0 0;
  color: #4c542e;
  font-size: 0.86rem;
}

.filters {
  margin-top: 40px;
  padding: clamp(18px, 2.7vw, 30px);
  background: var(--cloud);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.search-field {
  min-height: 64px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 7px 20px rgba(17, 18, 15, 0.035);
}

.search-field > span[aria-hidden="true"] {
  font-size: 1.35rem;
}

.search-field:focus-within {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(200, 255, 61, 0.72);
}

.search-field input {
  width: 100%;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 0.98rem;
}

.search-field input::placeholder {
  color: #8a8d85;
}

.filters__row {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 28px;
}

.filter-group {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.filter-group legend,
.filters__row--selects label > span {
  margin-bottom: 10px;
  display: block;
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  min-height: 40px;
  padding: 7px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 650;
  transition:
    color 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.chip:hover:not(:disabled) {
  border-color: #a8aca2;
  transform: translateY(-1px);
}

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

.chip:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.chip__count {
  min-width: 23px;
  padding: 2px 6px;
  color: var(--ink-soft);
  background: var(--green-light);
  border-radius: 999px;
  font-size: 0.66rem;
  text-align: center;
}

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

.filters__row--selects {
  grid-template-columns: minmax(180px, 0.66fr) minmax(220px, 0.78fr) 1fr;
  align-items: end;
}

.filters select {
  width: 100%;
  min-height: 48px;
  padding: 0 38px 0 12px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.reset-button {
  justify-self: end;
  min-height: 48px;
  padding: 0 18px;
  color: var(--ink);
  background: transparent;
  border: 1px solid #bfc3b9;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 720;
}

.reset-button:hover {
  background: white;
  border-color: var(--ink);
}

.catalog__result-line {
  margin: 32px 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.catalog__result-line p {
  margin: 0;
}

#result-count {
  color: var(--ink);
  font-weight: 760;
}

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

.product-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: #b7bcb0;
  box-shadow: var(--shadow-small);
}

.product-card__media {
  position: relative;
  aspect-ratio: 1 / 0.92;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 78% 18%, rgba(200, 255, 61, 0.34), transparent 35%),
    var(--cloud);
  overflow: hidden;
}

.product-card__media::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(17, 18, 15, 0.06);
  border-radius: 14px;
  pointer-events: none;
}

.product-card__media-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  text-decoration: none;
}

.product-card__media img {
  width: 86%;
  height: 86%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 280ms ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.045);
}

.product-card__media.is-missing::after {
  content: "♪";
  color: rgba(17, 18, 15, 0.2);
  font-size: 4.5rem;
}

.status-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  max-width: calc(100% - 28px);
  padding: 7px 10px;
  color: #166431;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(22, 100, 49, 0.15);
  border-radius: 9px;
  font-size: 0.64rem;
  font-weight: 780;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  backdrop-filter: blur(10px);
}

.status-badge--wait {
  color: #795112;
  border-color: rgba(121, 81, 18, 0.18);
}

.status-badge--out {
  color: #78453b;
  border-color: rgba(120, 69, 59, 0.18);
}

.product-card__body {
  flex: 1;
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.product-card__meta {
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.22;
  letter-spacing: -0.025em;
}

.product-card__title-link {
  color: inherit;
  text-decoration: none;
}

.product-card__title-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.product-card__description {
  display: -webkit-box;
  margin: 10px 0 16px;
  color: var(--ink-soft);
  font-size: 0.8rem;
  line-height: 1.5;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__details {
  width: max-content;
  max-width: 100%;
  margin: -2px 0 16px;
  color: var(--ink);
  font-size: 0.73rem;
  font-weight: 760;
  text-underline-offset: 4px;
}

.product-card__details:hover {
  color: #3f4d16;
}

.product-card__footer {
  margin-top: auto;
  padding-top: 15px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #ebece7;
}

.product-card__price {
  min-width: 0;
}

.product-card__price strong {
  display: block;
  color: var(--ink);
  font-size: 1.08rem;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.product-card__price del {
  color: #8f928a;
  font-size: 0.7rem;
}

.product-card__buy {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: var(--volt);
  border: 0;
  border-radius: 11px;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 800;
  white-space: nowrap;
}

.product-card__buy:hover:not(:disabled) {
  background: #d9ff75;
}

.product-card__buy.is-added {
  color: white;
  background: var(--ink);
}

.product-card__buy:disabled {
  color: #7a7d75;
  background: #eceee8;
  cursor: not-allowed;
}

.empty-state {
  padding: 70px 24px;
  text-align: center;
  background: var(--cloud);
  border: 1px dashed #b8bdb2;
  border-radius: 20px;
}

.empty-state > span {
  font-size: 3rem;
}

.empty-state h3 {
  margin: 8px 0 4px;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.empty-state p {
  margin: 0;
  color: var(--ink-soft);
}

.load-more {
  min-width: 220px;
  min-height: 52px;
  margin: 32px auto 0;
  padding: 0 24px;
  display: block;
  color: var(--ink);
  background: var(--volt);
  border: 1px solid #aedf32;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 800;
}

.load-more:hover {
  background: #d8ff73;
}

.site-footer {
  width: min(1360px, calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 48px clamp(24px, 4.5vw, 62px) 34px;
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(360px, 1.3fr);
  gap: 36px;
  color: rgba(255, 255, 255, 0.56);
  background: var(--ink);
  border-radius: 0 0 30px 30px;
  font-size: 0.8rem;
}

.site-footer__brand img {
  width: 184px;
  height: auto;
  display: block;
}

.site-footer p {
  margin: 13px 0 0;
}

.site-footer__links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px 22px;
}

.site-footer__links a {
  color: white;
  font-weight: 650;
  text-underline-offset: 4px;
}

.site-footer__links a:hover {
  color: var(--volt);
}

.site-footer__legal {
  grid-column: 1 / -1;
  max-width: 980px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.72rem;
  line-height: 1.6;
}

.mobile-menu-overlay,
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(17, 18, 15, 0.52);
  backdrop-filter: blur(5px);
}

.mobile-menu {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 90;
  width: min(440px, 100%);
  height: 100dvh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  color: var(--ink);
  background: var(--surface);
  border-right: 1px solid var(--line);
  box-shadow: 24px 0 70px rgba(17, 18, 15, 0.2);
  transform: translateX(-102%);
  transition: transform 220ms ease;
  visibility: hidden;
}

.mobile-menu.is-open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-menu__header {
  padding: 20px 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.mobile-menu__header .eyebrow {
  margin-bottom: 4px;
}

.mobile-menu__header h2 {
  margin: 0;
  font-size: 2.25rem;
  letter-spacing: -0.06em;
  line-height: 1;
}

.mobile-menu__body {
  min-height: 0;
  padding: 22px;
  overflow: auto;
  overscroll-behavior: contain;
}

.mobile-menu__section-heading {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mobile-menu__section-heading h3,
.mobile-menu__info h3 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: -0.025em;
}

.mobile-menu__section-heading button {
  padding: 6px 0;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.catalog-tree--mobile {
  grid-template-columns: 1fr;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.catalog-tree--mobile .catalog-tree__branch {
  padding: 18px;
}

.mobile-menu__info {
  margin-top: 24px;
  padding-top: 22px;
  display: grid;
  border-top: 1px solid var(--line);
}

.mobile-menu__info h3 {
  margin-bottom: 10px;
}

.mobile-menu__info a {
  min-height: 48px;
  padding: 12px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 680;
  text-decoration: none;
}

.mobile-menu__info a:hover {
  color: #4f660d;
}

.cart-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 90;
  width: min(500px, 100%);
  height: 100dvh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: var(--surface);
  border-left: 1px solid var(--line);
  box-shadow: -24px 0 70px rgba(17, 18, 15, 0.2);
  transform: translateX(102%);
  transition: transform 220ms ease;
  visibility: hidden;
}

.cart-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
}

.cart-drawer__header,
.checkout-dialog__header {
  padding: 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.cart-drawer__header .eyebrow,
.checkout-dialog__header .eyebrow {
  margin: 0 0 4px;
  color: var(--ink-soft);
}

.cart-drawer__header h2,
.checkout-dialog__header h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 2.65rem);
  letter-spacing: -0.055em;
  line-height: 1;
}

.icon-button {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--cloud);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.55rem;
  line-height: 1;
}

.icon-button:hover {
  background: var(--volt-soft);
}

.cart-drawer__body {
  min-height: 0;
  padding: 0 24px;
  overflow: auto;
  overscroll-behavior: contain;
}

.cart-empty {
  min-height: 100%;
  padding: 54px 24px;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
}

.cart-empty > span {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  background: var(--volt-soft);
  border-radius: 22px;
  font-size: 2.1rem;
}

.cart-empty h3 {
  margin: 18px 0 6px;
  font-size: 1.35rem;
}

.cart-empty p {
  max-width: 300px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.cart-items {
  display: grid;
}

.cart-item {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.cart-item__media {
  height: 88px;
  padding: 8px;
  display: grid;
  place-items: center;
  background: var(--cloud);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.cart-item__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.cart-item__content {
  min-width: 0;
}

.cart-item__meta {
  margin: 0 0 4px;
  color: var(--ink-soft);
  font-size: 0.64rem;
  font-weight: 760;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cart-item h3 {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.3;
}

.cart-item__line {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-item__line > strong {
  font-size: 0.9rem;
  white-space: nowrap;
}

.quantity-control {
  height: 34px;
  display: inline-grid;
  grid-template-columns: 32px 34px 32px;
  align-items: center;
  text-align: center;
  background: var(--cloud);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.quantity-control span {
  font-size: 0.76rem;
  font-weight: 760;
  font-variant-numeric: tabular-nums;
}

.quantity-button {
  width: 32px;
  height: 32px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 1rem;
}

.quantity-button:hover:not(:disabled) {
  background: var(--volt-soft);
}

.quantity-button:disabled {
  color: #b3b5ae;
  cursor: default;
}

.cart-item__remove {
  margin-top: 9px;
  padding: 0;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 0.7rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart-item__remove:hover {
  color: var(--ink);
}

.cart-drawer__footer {
  padding: 20px 24px 24px;
  background: var(--cloud);
  border-top: 1px solid var(--line);
}

.cart-total,
.checkout-summary__total {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.cart-total span,
.checkout-summary__total span {
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.cart-total strong,
.checkout-summary__total strong {
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.cart-price-note,
#checkout-price-note {
  margin: 8px 0 0;
  color: #795112;
  font-size: 0.72rem;
}

.checkout-button {
  width: 100%;
  min-height: 50px;
  margin-top: 18px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: var(--volt);
  border: 1px solid #aedf32;
  border-radius: 13px;
  cursor: pointer;
  font-weight: 820;
  text-decoration: none;
}

.checkout-button:hover {
  background: #d8ff73;
}

.cart-drawer__footer > p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 0.68rem;
  line-height: 1.45;
}

.checkout-dialog {
  width: min(980px, calc(100% - 32px));
  max-width: none;
  max-height: min(820px, calc(100dvh - 32px));
  margin: auto;
  padding: 0;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 32px 90px rgba(17, 18, 15, 0.3);
  overflow: hidden;
}

.checkout-dialog::backdrop {
  background: rgba(17, 18, 15, 0.58);
  backdrop-filter: blur(6px);
}

.checkout-dialog__shell {
  max-height: min(820px, calc(100dvh - 32px));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.checkout-dialog__layout {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.72fr);
  overflow: auto;
}

.checkout-form {
  padding: 28px;
  align-content: start;
}

.checkout-form__intro {
  padding: 20px;
  background: var(--volt-soft);
  border: 1px solid #d8ed9f;
  border-radius: 16px;
}

.checkout-form__intro strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.92rem;
}

.checkout-form__intro p {
  margin: 0;
  color: #4f5546;
  font-size: 0.8rem;
  line-height: 1.55;
}

.checkout-fields {
  min-width: 0;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
  border: 0;
}

.checkout-fields legend {
  margin-bottom: 14px;
  padding: 0;
  font-size: 0.94rem;
  font-weight: 820;
}

.checkout-field {
  display: grid;
  gap: 7px;
}

.checkout-field > span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 760;
}

.checkout-field > span small {
  color: var(--ink-soft);
  font-size: 0.62rem;
  font-weight: 650;
}

.checkout-field input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  font-size: 0.84rem;
  transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.checkout-field input::placeholder {
  color: #92968b;
}

.checkout-field input:hover {
  border-color: var(--ink);
}

.checkout-field input[aria-invalid="true"],
.checkout-field input:user-invalid {
  background: #fff8f6;
  border-color: #a53625;
}

.checkout-field__hint {
  color: var(--ink-soft);
  font-size: 0.67rem;
  line-height: 1.45;
}

.checkout-form__error {
  margin: 16px 0 0;
  padding: 11px 13px;
  color: #7f2417;
  background: #fff1ed;
  border: 1px solid #efc1b8;
  border-radius: 11px;
  font-size: 0.74rem;
  font-weight: 680;
  line-height: 1.45;
}

.checkout-form__error:focus,
.checkout-result:focus {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.checkout-form[aria-busy="true"] .checkout-fields {
  opacity: 0.68;
}

.checkout-button:disabled {
  color: #74786d;
  background: #e6e9df;
  border-color: #d5d9ce;
  cursor: not-allowed;
}

.checkout-form[aria-busy="true"] .checkout-button:disabled {
  cursor: wait;
}

.checkout-result {
  margin: 20px 0 0;
  padding: 18px;
  color: #155829;
  background: #eef9f0;
  border: 1px solid #b9ddc1;
  border-radius: 16px;
  box-shadow: 0 12px 34px rgba(21, 88, 41, 0.08);
  font-size: 0.76rem;
}

.checkout-result > span {
  display: block;
  color: #317642;
  font-size: 0.64rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.checkout-result > strong {
  margin-top: 5px;
  display: block;
  color: #123f20;
  font-size: 0.94rem;
  line-height: 1.4;
}

.checkout-result output {
  white-space: nowrap;
}

.checkout-result > p {
  margin: 8px 0 0;
  line-height: 1.5;
}

.checkout-result[data-status="test"] {
  color: #795112;
  background: #fff8e8;
  border-color: #e5c77f;
  box-shadow: 0 12px 34px rgba(121, 81, 18, 0.08);
}

.checkout-result[data-status="test"] > span {
  color: #8a611d;
}

.checkout-result[data-status="test"] > strong {
  color: #624510;
}

.checkout-legal-link {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 0.72rem;
  line-height: 1.55;
}

.checkout-legal-link a {
  color: var(--ink);
  font-weight: 700;
  text-underline-offset: 3px;
}

.checkout-summary {
  padding: 28px;
  background: var(--cloud);
  border-left: 1px solid var(--line);
}

.checkout-summary > h3 {
  margin: 0 0 18px;
  font-size: 1rem;
}

#checkout-summary-items {
  display: grid;
}

.checkout-summary__item {
  padding: 12px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 0.76rem;
}

.checkout-summary__item div {
  min-width: 0;
}

.checkout-summary__item div > strong,
.checkout-summary__item div > span {
  display: block;
}

.checkout-summary__item div > strong {
  line-height: 1.35;
}

.checkout-summary__item div > span {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 0.66rem;
}

.checkout-summary__item > strong {
  white-space: nowrap;
}

.checkout-summary__total {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--volt);
}

.search-field input:focus-visible {
  outline: 0;
  box-shadow: none;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.72fr);
  }

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

@media (max-width: 940px) {
  .site-header__nav {
    display: none;
  }

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

  .site-header__burger {
    display: grid;
  }

  .catalog-menu {
    display: none;
  }

  .hero {
    padding: 54px;
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 760px;
    font-size: clamp(4rem, 14vw, 7.4rem);
  }

  .hero__visual {
    width: min(100%, 620px);
    min-height: 500px;
    margin: 0 auto;
  }

  .hero__product {
    right: 30px;
  }

  .catalog__intro {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
  }

  .filters__row,
  .filters__row--selects {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .reset-button {
    justify-self: start;
  }

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

  .checkout-summary {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 720px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 20px, 1360px);
  }

  .site-header {
    top: 10px;
    margin-top: 10px;
    border-radius: 16px;
  }

  .brand__logo {
    width: 158px;
  }

  .site-header__cta {
    min-height: 44px;
    padding: 0 14px;
  }

  .hero {
    min-height: auto;
    padding: 44px 26px 30px;
    border-radius: 26px;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 17vw, 6.2rem);
  }

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

  .hero__visual {
    min-height: 430px;
  }

  .hero__product {
    inset: 0 14px 0 26px;
  }

  .store-benefits {
    grid-template-columns: 1fr;
  }

  .store-benefits article {
    min-height: 0;
  }

  .catalog {
    padding: 46px 16px 56px;
    border-radius: 26px 26px 0 0;
  }

  .catalog h2 {
    font-size: clamp(2.8rem, 13vw, 5rem);
  }

  .filters {
    padding: 16px;
    border-radius: 18px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    border-radius: 0 0 24px 24px;
  }

  .site-footer__links {
    justify-content: flex-start;
  }

  .checkout-dialog {
    width: min(100% - 20px, 980px);
    max-height: calc(100dvh - 20px);
    border-radius: 20px;
  }

  .checkout-dialog__shell {
    max-height: calc(100dvh - 20px);
  }
}

@media (max-width: 520px) {
  .site-header {
    padding-left: 12px;
  }

  .brand__logo {
    width: 146px;
  }

  .site-header__cta {
    width: 44px;
    padding: 0;
    gap: 0;
    font-size: 0;
  }

  .site-header__cta span {
    font-size: 1rem;
  }

  .site-header__cart {
    width: auto;
    min-width: 70px;
    padding: 0 9px;
  }

  .site-header__cart-label {
    display: none;
  }

  .hero {
    padding-inline: 20px;
  }

  .hero__lead {
    font-size: 0.94rem;
  }

  .hero__primary-action {
    width: 100%;
    justify-content: space-between;
  }

  .hero__visual {
    min-height: 360px;
  }

  .hero__product {
    inset: 0 6px 0 20px;
    padding: 18px;
    border-radius: 22px;
  }

  .hero__signal {
    top: 12px;
    left: -6px;
    height: 64px;
    padding: 10px 12px;
  }

  .hero__signal span {
    width: 5px;
    transform: scaleY(0.75);
  }

  .catalog__result-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

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

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

  .site-footer__links {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .cart-drawer__header,
  .checkout-dialog__header,
  .cart-drawer__footer,
  .checkout-form,
  .checkout-summary {
    padding: 18px;
  }

  .cart-drawer__body {
    padding: 0 18px;
  }

  .cart-item {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
  }

  .cart-item__media {
    height: 72px;
  }

  .cart-item__line {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .checkout-dialog {
    width: 100%;
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .checkout-dialog__shell {
    max-height: 100dvh;
  }

  .checkout-form__intro {
    padding: 16px;
  }

  .checkout-field > span {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }
}

@media (max-width: 360px) {
  .site-header {
    gap: 8px;
  }

  .brand__logo {
    width: 128px;
  }

  .site-header__cart {
    min-width: 62px;
    padding-inline: 7px;
  }
}

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