:root {
  --bg: #0b0c0e;
  --bg-soft: #101113;
  --card: #151618;
  --card-2: #1d1e20;
  --border: #3a3c40;
  --border-soft: rgba(255, 255, 255, 0.14);
  --yellow: #ffc400;
  --yellow-hover: #ffd238;
  --yellow-active: #e6ad00;
  --text: #ffffff;
  --text-muted: #a8a8a8;
  --text-dim: #767a80;
  --black-on-yellow: #101010;
  --radius: 12px;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  --font: "Arial Narrow", "Roboto Condensed", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(520px 740px at 16% 18%, rgba(255, 255, 255, 0.04), transparent 54%),
    radial-gradient(520px 820px at 88% 2%, rgba(255, 196, 0, 0.035), transparent 46%),
    var(--bg);
  font-family: var(--font);
  font-stretch: condensed;
  overflow-x: hidden;
}

@media (max-width: 1023px) {
  body {
    padding-bottom: 82px;
  }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 100%);
  background-size: 140px 140px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 76%);
}

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

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

button {
  font: inherit;
}

svg {
  display: block;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  position: relative;
  z-index: 5;
  padding: 20px 0 0;
}

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

.brand {
  display: inline-grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: 64px;
  height: 64px;
  color: var(--yellow);
  flex: 0 0 auto;
  filter: drop-shadow(0 0 12px rgba(255, 196, 0, 0.12));
}

.brand-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.brand-name {
  display: block;
  font-size: 34px;
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0;
}

.brand-tagline {
  color: #c8c8c8;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.16;
}

.main-nav,
.phone-button,
.header-cta {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: var(--text);
  background: rgba(29, 30, 32, 0.78);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.header-actions .phone-button {
  display: none;
}

.icon-button svg {
  width: 32px;
  height: 32px;
}

.badge {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--black-on-yellow);
  background: var(--yellow);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.badge.is-hidden,
#cartCount.is-hidden {
  display: none !important;
}

.hero {
  padding: 18px 0 0;
}

.hero-grid {
  display: grid;
  gap: 0;
}

.hero-content {
  min-width: 0;
}

.hero h1,
.hero-text {
  display: none;
}

.delivery-card,
.primary-cta,
.category-card,
.work-card,
.accordion-item,
.benefit-card,
.help-button,
.contact-button,
.footer-card,
.product-tile {
  background: linear-gradient(145deg, var(--card-2) 0%, #111214 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.delivery-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 14px 18px;
  border-radius: var(--radius);
  transition: border-color 160ms ease;
}

.delivery-input {
  width: 100%;
  min-width: 0;
  padding: 0;
  color: var(--text-muted);
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 16px;
  line-height: 1.15;
}

.delivery-input::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

.delivery-card svg {
  width: 42px;
  height: 42px;
  color: var(--yellow);
}

.delivery-card span {
  display: grid;
  gap: 4px;
}

.delivery-card strong {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.1;
}

.delivery-card small {
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.15;
}

.hero-products {
  display: none;
}

.hero-collage {
  display: block;
  width: 100%;
  max-width: 760px;
  height: auto;
  object-fit: contain;
  mix-blend-mode: lighten;
  filter: drop-shadow(0 24px 32px rgba(0, 0, 0, 0.42));
}

.hero-collage--vk {
  position: relative;
  overflow: hidden;
  pointer-events: none;
}

.hero-collage--vk iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140%;
  height: 140%;
  border: 0;
  transform: translate(-50%, -50%);
}

.section {
  padding: 22px 0 0;
}

.section h2 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0;
}

.section h1 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0;
}

.category-scroller {
  position: relative;
  margin: 0 -16px;
  touch-action: pan-x;
}

.category-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 38px;
  margin-top: 6px;
}

.category-footer-arrows {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  margin-left: auto;
  margin-right: 16px;
}

.category-row {
  display: flex;
  gap: 6px;
  padding: 0 16px 2px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
}

.category-row::-webkit-scrollbar {
  display: none;
}

.category-row--all {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  overflow: visible;
  overscroll-behavior: auto;
  scroll-snap-type: none;
  touch-action: auto;
}

.category-row--all .category-card {
  flex: none;
  width: auto;
  min-width: 0;
  height: 140px;
}

.section.categories .help-button {
  margin-top: 18px;
}

.all-categories-empty {
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
}

.category-card {
  display: grid;
  grid-template-rows: auto auto auto;
  flex: 0 0 66px;
  width: 66px;
  height: 108px;
  align-content: center;
  align-items: center;
  justify-content: center;
  justify-items: center;
  min-width: 0;
  padding: 6px 5px;
  border-radius: 10px;
  color: var(--text);
  scroll-snap-align: start;
  transition: border-color 160ms ease;
}

.category-card .tool-img {
  width: auto;
  max-width: 86%;
  height: auto;
  max-height: 48px;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}

.category-card span {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  font-size: 8px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
  display: block;
}

.category-card__name {
  margin-top: 6px;
}

.category-card__count {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 7px;
  font-weight: 700;
  line-height: 1.1;
}

.category-scroll {
  position: static;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 30px;
  height: 38px;
  color: var(--yellow);
  background: rgba(11, 12, 14, 0.84);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: opacity 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.category-scroll svg {
  width: 18px;
  height: 18px;
}

.category-scroll--prev {
  transform: rotate(180deg);
}

.category-scroll--next {
  transform: none;
}

.category-scroll.is-disabled {
  opacity: 0;
  pointer-events: none;
}

.all-categories {
  display: flex;
  justify-content: flex-end;
  width: max-content;
  order: -1;
  margin: 0 auto 0 16px;
  color: var(--yellow);
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  transition: color 160ms ease;
}

.tool-art {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 48px;
  transition: transform 160ms ease;
}

.tool-img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 48px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.36));
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.tool-art::before,
.tool-art::after {
  content: "";
  position: absolute;
  display: block;
}

.tool-art--drill::before {
  left: 7%;
  top: 28%;
  width: 72%;
  height: 22%;
  background: linear-gradient(90deg, #1a1b1d 0 22%, #34363a 22% 36%, var(--yellow) 36% 100%);
  border: 2px solid #050505;
  border-radius: 8px 10px 10px 8px;
  box-shadow: inset 11px 0 0 rgba(0, 0, 0, 0.28), 0 9px 14px rgba(0, 0, 0, 0.28);
}

.tool-art--drill::after {
  left: 44%;
  top: 48%;
  width: 16%;
  height: 38%;
  background: linear-gradient(180deg, var(--yellow), #b77f00);
  border: 2px solid #050505;
  border-radius: 2px 2px 7px 7px;
  box-shadow: -22px -13px 0 -7px #232427;
}

.tool-art--driver::before {
  left: 12%;
  top: 21%;
  width: 70%;
  height: 27%;
  background: linear-gradient(90deg, #292a2e 0 25%, var(--yellow) 25% 100%);
  border: 2px solid #050505;
  border-radius: 999px 12px 12px 999px;
  box-shadow: inset 17px 0 0 rgba(0, 0, 0, 0.23);
}

.tool-art--driver::after {
  left: 48%;
  top: 44%;
  width: 19%;
  height: 37%;
  background: var(--yellow);
  border: 2px solid #050505;
  border-radius: 3px 3px 8px 8px;
  box-shadow: 0 25px 0 -8px #2f3135;
}

.tool-art--cutter::before {
  left: 7%;
  bottom: 23%;
  width: 84%;
  height: 16%;
  background: linear-gradient(180deg, #3a3b3f, #0b0c0e);
  border: 2px solid #050505;
  border-radius: 5px;
  box-shadow: 16px -22px 0 -12px var(--yellow);
}

.tool-art--cutter::after {
  left: 19%;
  top: 31%;
  width: 69%;
  height: 5px;
  background: #bfc1c4;
  border-radius: 999px;
  transform: rotate(-9deg);
  box-shadow: 0 17px 0 #8f9298;
}

.tool-art--vacuum::before {
  left: 28%;
  top: 24%;
  width: 42%;
  height: 48%;
  background: linear-gradient(180deg, var(--yellow), #ad7800);
  border: 3px solid #111;
  border-radius: 16px 16px 10px 10px;
  box-shadow: inset 0 11px 0 rgba(255,255,255,.17), 0 18px 0 -12px #2d2f33;
}

.tool-art--vacuum::after {
  left: 22%;
  top: 13%;
  width: 52%;
  height: 48%;
  border: 4px solid #45484e;
  border-bottom: none;
  border-radius: 28px 28px 0 0;
}

.tool-art--grinder::before {
  left: 14%;
  top: 31%;
  width: 64%;
  height: 23%;
  background: linear-gradient(90deg, #9a9da3 0 35%, var(--yellow) 35% 100%);
  border: 2px solid #050505;
  border-radius: 22px 12px 12px 22px;
  transform: rotate(-13deg);
  box-shadow: inset 0 -8px 0 rgba(0,0,0,.2);
}

.tool-art--grinder::after {
  left: 14%;
  top: 50%;
  width: 34%;
  height: 8px;
  background: #232427;
  border-radius: 99px;
  transform: rotate(33deg);
  box-shadow: 17px 9px 0 -1px #ff7f14;
}

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

.work-card {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 8px;
  min-height: 96px;
  padding: 10px;
  border-radius: var(--radius);
  transition: border-color 160ms ease;
}

.work-card--wide {
  grid-column: 1 / -1;
}

.circle-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--yellow);
  background: #0b0c0e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.circle-icon svg {
  width: 30px;
  height: 30px;
}

.circle-icon--small {
  width: 44px;
  height: 44px;
}

.circle-icon--small svg {
  width: 27px;
  height: 27px;
}

.work-copy,
.benefit-card span:last-child,
.accordion-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.work-copy strong,
.benefit-card strong,
.accordion-copy strong {
  font-size: 17px;
  font-weight: 900;
  line-height: 1.08;
}

.work-copy small,
.benefit-card small,
.accordion-copy small {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.22;
}

.card-arrow {
  width: 20px;
  height: 20px;
  color: var(--yellow);
  transition: transform 160ms ease;
}

.primary-cta {
  display: grid;
  grid-template-columns: 1fr 24px;
  align-items: center;
  width: 100%;
  min-height: 56px;
  margin-top: 16px;
  padding: 0 18px;
  color: var(--black-on-yellow);
  background: var(--yellow);
  border-color: transparent;
  border-radius: 8px;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  transition: background-color 160ms ease, transform 160ms ease;
}

.primary-cta svg {
  width: 24px;
  height: 24px;
}

.primary-cta span {
  padding-left: 24px;
}

.hero-cta {
  display: none;
}

.mobile-cta {
  display: grid;
}

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

.accordion-item {
  overflow: hidden;
  border-radius: var(--radius);
}

.accordion-trigger {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 68px;
  padding: 10px 14px;
  color: var(--text);
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
}

.accordion-chevron {
  width: 20px;
  height: 20px;
  color: var(--yellow);
  transition: transform 180ms ease;
}

.accordion-trigger[aria-expanded="true"] .accordion-chevron {
  transform: rotate(180deg);
}

.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 220ms ease, opacity 180ms ease;
}

.accordion-item.is-open .accordion-panel {
  grid-template-rows: 1fr;
  opacity: 1;
}

.accordion-panel p {
  min-height: 0;
  margin: 0;
  padding: 0 18px 14px 72px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.35;
  overflow: hidden;
}

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

.benefit-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 88px;
  padding: 12px;
  overflow: hidden;
  border-radius: var(--radius);
  transition: border-color 160ms ease;
}

.benefit-card .circle-icon {
  width: 46px;
  height: 46px;
}

.benefit-card .circle-icon svg {
  width: 30px;
  height: 30px;
}

.benefit-card strong,
.benefit-card small {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.benefit-card strong {
  font-size: 16px;
}

.benefit-card small {
  font-size: 13px;
}

.contacts {
  padding-top: 18px;
}

.help-grid {
  display: grid;
  gap: 14px;
}

.help-button {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 22px;
  align-items: center;
  min-height: 56px;
  gap: 14px;
  padding: 0 16px;
  border-color: var(--yellow);
  border-radius: 8px;
  color: var(--text);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.05;
  transition: background-color 160ms ease, transform 160ms ease;
}

.help-button > svg:first-child {
  width: 34px;
  height: 34px;
  color: var(--yellow);
}

.contact-grid,
.site-contact-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.contacts .contact-grid,
.contacts .site-contact-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 40;
  width: 100%;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: rgba(11, 12, 14, 0.96);
  border-top: 1px solid var(--border);
  box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}

.contact-grid--hero {
  display: none;
}

.legal-card .contact-grid--legal {
  margin: 0 0 22px;
}

.contact-button {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  place-content: center;
  align-items: center;
  gap: 9px;
  min-height: 64px;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--text);
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  transition: border-color 160ms ease;
}

.contact-button > span:last-child,
.contact-button > .contact-button-label {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  text-align: center;
  font-weight: 800;
}

/* Узкий экран: любая подпись не влезла → только крупные иконки по центру */
.site-contact-bar--icons-only .contact-button {
  grid-template-columns: 1fr;
  justify-items: center;
  align-content: center;
  gap: 0;
  padding: 10px 8px;
}

.site-contact-bar--icons-only .contact-button-label {
  display: none !important;
}

.site-contact-bar--icons-only .messenger-icon {
  width: 42px;
  height: 42px;
}

.site-contact-bar--icons-only .telegram .messenger-icon {
  background: #27a9e7;
}

.site-contact-bar--icons-only .max .messenger-icon {
  width: 42px;
  height: 42px;
  background: #6a45ec;
  border-radius: 50%;
  overflow: hidden;
}

.site-contact-bar--icons-only .call .messenger-icon {
  background: #34c759;
}

.site-contact-bar--icons-only .messenger-icon svg {
  width: 26px;
  height: 26px;
}

.site-contact-bar--icons-only .max .messenger-icon img {
  width: 42px;
  height: 42px;
  margin: 0;
}

.site-contact-bar--icons-only .max .messenger-icon {
  width: 42px;
  height: 42px;
}

.site-contact-bar--icons-only .max .messenger-icon img {
  width: 54px;
  height: 54px;
  margin: -6px;
}

.messenger-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
}

.call .messenger-icon {
  background: #34c759;
}

.messenger-icon img {
  display: block;
  width: 100%;
  height: 100%;
}

.max .messenger-icon {
  width: 34px;
  height: 34px;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

.max .messenger-icon img {
  width: 46px;
  height: 46px;
  margin: -6px;
  object-fit: contain;
}

.messenger-icon svg {
  width: 22px;
  height: 22px;
  color: #fff;
}

.site-footer {
  padding: 20px 0 18px;
}

.footer-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(116px, 0.72fr);
  width: 100%;
  max-width: 100%;
  gap: 18px;
  padding: 18px;
  border-radius: var(--radius);
}

.footer-brand {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding-top: 10px;
}

.footer-brand .brand-logo {
  width: 54px;
  height: 54px;
}

.footer-brand strong {
  display: block;
  font-size: 30px;
  font-weight: 900;
  line-height: 0.95;
}

.footer-brand p {
  margin: 8px 0 7px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.18;
}

.footer-brand a {
  color: var(--yellow);
  font-size: 17px;
  font-weight: 800;
}

.footer-divider {
  width: 1px;
  min-height: 126px;
  background: var(--border);
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 8px;
  padding-top: 10px;
}

.footer-links a,
.footer-links .cookie-settings-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.1;
  transition: color 160ms ease;
}

.footer-links .cookie-settings-link {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.footer-links span {
  color: var(--yellow);
  font-size: 18px;
}

.copyright {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
}

:is(a, button):focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

@media (hover: hover) {
  .icon-button:hover,
  .delivery-card:hover,
  .category-card:hover,
  .work-card:hover,
  .benefit-card:hover,
  .contact-button:hover,
  .help-button:hover {
    border-color: var(--yellow);
  }

  .primary-cta:hover,
  .header-cta:hover,
  .cookie-btn--primary:hover {
    background: var(--yellow-hover);
  }

  .category-scroll:hover {
    border-color: var(--yellow);
  }

  .main-nav a:hover,
  .footer-links a:hover,
  .footer-links .cookie-settings-link:hover,
  .all-categories:hover {
    color: var(--yellow);
  }
}

:is(.icon-button, .delivery-card, .category-card, .work-card, .benefit-card, .help-button, .contact-button):active {
  transform: none;
}

.primary-cta:active,
.header-cta:active {
  background: var(--yellow-active);
}

@media (max-width: 767px) {
  .benefit-card {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 6px;
    min-height: 0;
    padding: 8px 10px;
  }

  .benefit-card .circle-icon {
    width: clamp(32px, 9.5vw, 42px);
    height: clamp(32px, 9.5vw, 42px);
  }

  .benefit-card .circle-icon svg {
    width: clamp(20px, 6vw, 26px);
    height: clamp(20px, 6vw, 26px);
  }

  .benefit-card strong {
    font-size: clamp(12px, 3.6vw, 14px);
    line-height: 1.12;
  }

  .benefit-card small {
    font-size: clamp(10px, 3vw, 12px);
    line-height: 1.2;
  }

  .site-footer {
    padding: 16px 0 18px;
  }

  .footer-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 16px;
  }

  .footer-divider {
    display: none;
  }

  .footer-brand {
    padding-top: 0;
  }

  .footer-brand strong {
    font-size: 26px;
  }

  .footer-brand p {
    font-size: 14px;
  }

  .footer-brand a {
    font-size: 15px;
  }

  .footer-links {
    gap: 10px;
    padding-top: 0;
  }

  .footer-links a {
    font-size: 14px;
  }

  .copyright {
    margin-top: 4px;
  }
}

@media (max-width: 374px) {
  .container {
    padding: 0 12px;
  }

  .benefit-card {
    gap: 5px;
    padding: 8px;
  }

  .benefit-card .circle-icon {
    width: 32px;
    height: 32px;
  }

  .benefit-card .circle-icon svg {
    width: 20px;
    height: 20px;
  }

  .benefit-card strong {
    font-size: 12px;
  }

  .benefit-card small {
    font-size: 10px;
  }

  .brand {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 10px;
  }

  .brand-logo {
    width: 56px;
    height: 56px;
  }

  .brand-name {
    font-size: 30px;
  }

  .brand-tagline {
    font-size: 14px;
  }

  .category-card {
    flex-basis: 72px;
    width: 72px;
  }

  .work-card {
    grid-template-columns: 48px minmax(0, 1fr) 14px;
    padding: 10px;
  }

  .circle-icon {
    width: 48px;
    height: 48px;
  }

  .circle-icon svg {
    width: 30px;
    height: 30px;
  }

  .work-copy strong {
    font-size: 16px;
  }

  .work-copy small {
    font-size: 12px;
  }

  .contact-button {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 5px;
    font-size: 14px;
  }
}

@media (min-width: 430px) and (max-width: 767px) {
  .category-card {
    flex-basis: 76px;
    width: 76px;
  }

  .category-row--all {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .category-row--all .category-card {
    flex-basis: auto;
    width: auto;
  }
}

@media (max-width: 767px) {
  #catalog .category-scroller {
    margin: 0;
    touch-action: auto;
  }

  #catalog .category-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    overflow: visible;
    overscroll-behavior: auto;
    scroll-snap-type: none;
    touch-action: auto;
  }

  #catalog .category-card {
    flex: none;
    width: auto;
    height: 156px;
    padding: 10px 8px;
    scroll-snap-align: none;
  }

  #catalog .category-card .tool-img {
    max-width: 78%;
    max-height: 72px;
  }

  #catalog .category-card span {
    font-size: 13px;
  }

  #catalog .category-card__name {
    margin-top: 8px;
  }

  #catalog .category-card__count {
    margin-top: 4px;
    font-size: 12px;
  }

  #catalog .category-footer {
    margin-top: 12px;
  }

  #catalog .category-footer-arrows,
  #catalog .category-scroll {
    display: none;
  }

  #catalog .all-categories {
    margin-left: 0;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
    padding: 0 24px;
  }

  .category-row {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: visible;
  }

  .category-scroller {
    margin: 0;
  }

  .category-footer {
    justify-content: flex-end;
    margin-top: 10px;
  }

  .all-categories {
    order: 0;
    margin: 0 0 0 auto;
  }

  .category-footer-arrows {
    display: none;
  }

  .category-scroll {
    display: none;
  }

  .category-card {
    min-width: 0;
    flex-basis: auto;
    width: auto;
  }

  .category-row--all .category-card {
    height: 180px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .categories {
    padding-top: 20px;
  }

  .category-card {
    grid-template-rows: auto auto auto;
    width: auto;
    height: 180px;
    padding: 10px 8px;
  }

  .category-card .tool-img {
    width: auto;
    max-width: 82%;
    height: auto;
    max-height: 88px;
  }

  .category-card span {
    font-size: 9px;
  }

  .category-card__name {
    margin-top: 8px;
  }

  .category-card__count {
    font-size: 8px;
  }
}

@media (min-width: 1024px) {
  body {
    padding-bottom: 0;
    background:
      radial-gradient(760px 840px at 22% 13%, rgba(255, 255, 255, 0.035), transparent 57%),
      radial-gradient(980px 980px at 83% 13%, rgba(255, 196, 0, 0.025), transparent 54%),
      var(--bg);
  }

  .container {
    max-width: 1320px;
    padding: 0 56px;
  }

  .site-header {
    position: relative;
    padding: 0;
    background: rgba(11, 12, 14, 0.92);
    border-bottom: 1px solid rgba(58, 60, 64, 0.72);
    backdrop-filter: blur(12px);
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 104px;
    gap: 26px;
  }

  .brand {
    grid-template-columns: 56px minmax(118px, 1fr);
    gap: 12px;
  }

  .brand-logo {
    width: 56px;
    height: 56px;
  }

  .brand-name {
    font-size: 28px;
  }

  .brand-tagline {
    font-size: 14px;
  }

  .main-nav {
    display: flex;
    align-items: center;
    gap: clamp(20px, 2.6vw, 38px);
    margin-left: auto;
    color: var(--text);
    font-size: 16px;
    font-weight: 800;
  }

  .header-actions .phone-button,
  .header-cta {
    display: grid;
  }

  .header-actions {
    gap: 12px;
  }

  .header-cta {
    place-items: center;
    flex: 0 0 184px;
    width: 184px;
    height: 56px;
    color: var(--black-on-yellow);
    background: var(--yellow);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.05;
    text-align: center;
    transition: background-color 160ms ease, transform 160ms ease;
  }

  .hero {
    padding: 70px 0 0;
  }

  .hero-grid {
    grid-template-columns: minmax(360px, 500px) minmax(0, 1fr);
    gap: 56px;
  }

  .hero h1,
  .hero-text {
    display: block;
  }

  .hero h1 {
    margin: 0;
    max-width: 500px;
    font-size: clamp(52px, 5vw, 64px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: 0;
  }

  .hero h1 span {
    color: var(--yellow);
  }

  .hero-text {
    margin: 36px 0 26px;
    max-width: 500px;
    color: #c8c8c8;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.28;
  }

  .delivery-card {
    max-width: 500px;
    min-height: 78px;
  }

  .primary-cta {
    max-width: 500px;
    min-height: 72px;
    margin-top: 28px;
    font-size: 24px;
  }

  .hero-cta {
    display: grid;
  }

  .mobile-cta {
    display: none;
  }

  .contact-grid--hero {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 500px;
    margin-top: 26px;
  }

  .contact-grid--hero .contact-button {
    min-height: 92px;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 11px;
  }

  .hero-products {
    display: block;
    align-self: start;
    min-width: 0;
    height: clamp(560px, calc(100vh - 170px), 720px);
  }

  .hero-collage {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: center;
  }

  .section {
    padding-top: 34px;
  }

  .categories {
    padding-top: 20px;
  }

  .section h2 {
    margin-bottom: 20px;
    font-size: 34px;
  }

  .section h1 {
    margin-bottom: 20px;
    font-size: 34px;
  }

  .category-row {
    gap: 16px;
  }

  .category-row--all .category-card {
    height: 244px;
  }

  .category-card {
    grid-template-rows: auto auto auto;
    width: auto;
    height: 244px;
    padding: 12px;
    border-radius: 10px;
  }

  .category-card .tool-img {
    width: auto;
    max-width: 82%;
    height: auto;
    max-height: 118px;
    min-height: 0;
  }

  .category-card span {
    font-size: 12px;
  }

  .category-card__name {
    margin-top: 10px;
  }

  .category-card__count {
    margin-top: 4px;
    font-size: 11px;
  }

  .work-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
  }

  .work-card {
    grid-column: span 2;
    grid-template-columns: 78px minmax(0, 1fr) 24px;
    gap: 18px;
    min-height: 145px;
    padding: 24px;
    border-radius: 10px;
  }

  .work-card:nth-child(4),
  .work-card:nth-child(5) {
    grid-column: span 3;
  }

  .circle-icon {
    width: 72px;
    height: 72px;
  }

  .circle-icon svg {
    width: 42px;
    height: 42px;
  }

  .work-copy strong,
  .accordion-copy strong {
    font-size: 22px;
  }

  .work-copy small,
  .accordion-copy small {
    font-size: 16px;
  }

  .accordion {
    gap: 7px;
  }

  .accordion-trigger {
    grid-template-columns: 48px minmax(0, 1fr) 24px;
    min-height: 74px;
    padding: 14px 22px;
  }

  .circle-icon--small {
    width: 48px;
    height: 48px;
  }

  .circle-icon--small svg {
    width: 30px;
    height: 30px;
  }

  .accordion-panel p {
    padding-left: 92px;
    font-size: 16px;
  }

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

  .benefit-card {
    grid-template-columns: 60px minmax(0, 1fr);
    min-height: 112px;
    padding: 22px;
    border-radius: 10px;
  }

  .benefit-card .circle-icon {
    width: 56px;
    height: 56px;
  }

  .benefit-card .circle-icon svg {
    width: 36px;
    height: 36px;
  }

  .benefit-card strong {
    font-size: 20px;
  }

  .benefit-card small {
    font-size: 16px;
  }

  .contacts {
    padding-top: 28px;
  }

  .help-grid {
    grid-template-columns: minmax(0, 1.14fr) minmax(0, 1fr);
    align-items: center;
    gap: 36px;
  }

  .help-button {
    min-height: 76px;
    font-size: 26px;
    border-radius: 10px;
  }

  .contact-grid,
  .site-contact-bar {
    gap: 14px;
  }

  .contacts .contact-grid,
  .contacts .site-contact-bar {
    position: static;
    width: auto;
    padding: 0;
    background: transparent;
    border-top: 0;
    box-shadow: none;
    backdrop-filter: none;
  }

  .contact-button {
    min-height: 76px;
    font-size: 16px;
    border-radius: 10px;
    min-width: 0;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 6px;
  }

  .site-footer {
    padding: 36px 0 18px;
  }

  .footer-card {
    grid-template-columns: 320px 1px minmax(0, 1fr);
    align-items: start;
    gap: 50px;
    width: 100%;
    max-width: 100%;
    padding: 42px 56px 24px;
    border-radius: 12px;
  }

  .footer-brand {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .footer-brand .brand-logo {
    width: 68px;
    height: 68px;
  }

  .footer-brand strong {
    font-size: 42px;
  }

  .footer-brand p {
    font-size: 18px;
  }

  .footer-brand a {
    font-size: 20px;
  }

  .footer-divider {
    min-height: 138px;
  }

  .footer-links {
    grid-template-columns: repeat(2, max-content);
    justify-content: start;
    column-gap: 42px;
    row-gap: 12px;
  }

  .footer-links a {
    font-size: 17px;
  }

  .copyright {
    text-align: left;
    font-size: 13px;
    margin-top: 18px;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .container {
    padding-right: 28px;
    padding-left: 28px;
  }

  .header-inner {
    gap: 14px;
  }

  .brand {
    flex: 0 1 190px;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 8px;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .brand-name {
    font-size: 24px;
  }

  .brand-tagline {
    font-size: 11px;
  }

  .main-nav {
    gap: 14px;
    font-size: 13px;
  }

  .header-actions {
    gap: 6px;
  }

  .icon-button {
    width: 48px;
    height: 48px;
  }

  .header-cta {
    flex-basis: 150px;
    width: 150px;
    height: 48px;
    font-size: 14px;
  }
}

@media (min-width: 1280px) {
  .hero-grid {
    grid-template-columns: 500px 1fr;
  }
}

.legal-page {
  padding: 8px 0 28px;
}

.legal-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 22px 18px 28px;
  border-radius: var(--radius);
}

.legal-kicker {
  margin: 0 0 8px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-card h1 {
  margin: 0 0 18px;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.05;
}

.legal-body {
  color: #d8d8d8;
  font-size: 16px;
  line-height: 1.45;
}

.legal-body h2,
.legal-body h3,
.legal-body h4 {
  margin: 22px 0 10px;
  color: var(--text);
  font-weight: 900;
  line-height: 1.15;
}

.legal-body h2 {
  font-size: 22px;
}

.legal-body h3 {
  font-size: 18px;
}

.legal-body p,
.legal-body ul,
.legal-body ol {
  margin: 0 0 12px;
}

.legal-body ul,
.legal-body ol {
  padding-left: 1.2em;
}

.legal-body li {
  margin: 0 0 6px;
}

.legal-body a {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contacts-place {
  margin: 0 0 22px;
}

.contacts-place h2 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 900;
}

.contacts-place__map {
  height: 280px;
}

.contacts-place__list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.contacts-place__list li {
  display: grid;
  gap: 2px;
  margin: 0 0 8px;
}

.contacts-place__list strong {
  color: var(--text);
}

.contacts-place__list a {
  color: var(--yellow);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contacts-place__list span {
  color: #a8a8a8;
  font-size: 14px;
}

.cookie-banner {
  position: fixed;
  right: 16px;
  bottom: calc(90px + env(safe-area-inset-bottom));
  left: 16px;
  z-index: 40;
  max-width: 720px;
  margin: 0 auto;
  padding: 16px;
  color: var(--text);
  background: linear-gradient(145deg, var(--card-2) 0%, #111214 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cookie-banner__top {
  display: grid;
  gap: 14px;
}

.cookie-banner__copy strong {
  display: block;
  margin-bottom: 6px;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.1;
}

.cookie-banner__copy p {
  margin: 0;
  color: #cfcfcf;
  font-size: 14px;
  line-height: 1.4;
}

.cookie-banner__copy a {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cookie-btn {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.cookie-btn--primary {
  color: var(--black-on-yellow);
  background: var(--yellow);
  border: 0;
}

.cookie-btn--ghost {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border);
}

.cookie-btn--text {
  color: var(--yellow);
  background: transparent;
  border: 0;
  padding-left: 8px;
  padding-right: 8px;
}

.cookie-banner__details {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.cookie-option {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: #d0d0d0;
  font-size: 13px;
  line-height: 1.35;
}

.cookie-option b {
  display: block;
  color: var(--text);
  font-size: 14px;
  margin-bottom: 2px;
}

.cookie-option input {
  margin-top: 3px;
  accent-color: var(--yellow);
}

@media (min-width: 1024px) {
  .legal-page {
    padding: 24px 0 48px;
  }

  .legal-card {
    padding: 36px 40px 42px;
  }

  .legal-card h1 {
    font-size: 42px;
  }

  .cookie-banner {
    right: 24px;
    bottom: 24px;
    left: auto;
    width: min(720px, calc(100vw - 48px));
  }

  .cookie-banner__top {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .cookie-banner__actions {
    flex-direction: column;
    min-width: 220px;
  }
}

.home-seo-section {
  padding-top: 8px;
}

.home-seo {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.45;
}

.home-seo h2 {
  color: var(--text);
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1.05;
}

.home-seo p {
  margin: 0;
}

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