:root {
  --ink: #17191c;
  --muted: #737982;
  --soft: #f6f7f8;
  --paper: #ffffff;
  --line: #e3e6ea;
  --line-dark: #d5dae0;
  --red: #ff3218;
  --red-dark: #e72812;
  --orange: #ff7a00;
  --yellow: #ffd21f;
  --green: #1fbd5a;
  --shadow: 0 18px 50px rgba(22, 25, 28, 0.11);
  --soft-shadow: 0 10px 28px rgba(22, 25, 28, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 0;
  background: #f3f4f5;
  color: var(--ink);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

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

button {
  cursor: pointer;
}

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

svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lucide-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

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

.page {
  width: min(100%, 1600px);
  margin: 0 auto;
  background: #f3f4f5;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03);
}

main {
  display: grid;
  gap: 14px;
  padding: 14px 14px 16px;
}

.home-intro,
.catalog-section,
.delivery-showcase,
.bestseller-section {
  overflow: hidden;
  border: 1px solid rgba(213, 218, 224, 0.78);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 12px 34px rgba(22, 25, 28, 0.045);
}

.home-intro {
  padding-bottom: 24px;
}

.site-header {
  position: sticky;
  top: 10px;
  z-index: 30;
  margin: 14px 14px 0;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(213, 218, 224, 0.78);
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(22, 25, 28, 0.05);
  backdrop-filter: blur(18px);
}

.main-header {
  display: grid;
  grid-template-columns: 280px minmax(320px, 1fr) auto;
  align-items: center;
  gap: 22px;
  min-height: 96px;
  padding: 0 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand__mark {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 12px;
  background: url("./assets/stankiasia-logo.png?v=20260722-1") center / cover no-repeat;
  box-shadow: 0 12px 30px rgba(255, 50, 24, 0.22);
  overflow: hidden;
}

.brand__mark span {
  display: none;
}

.brand__text {
  display: grid;
  line-height: 0.88;
}

.brand__text strong,
.brand__text b {
  display: block;
  font-size: 1.72rem;
  font-weight: 900;
  letter-spacing: 0;
}

.brand__text b {
  color: var(--red);
}

.global-search {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) 94px;
  align-items: center;
  min-height: 70px;
  padding: 6px;
  border: 2px solid var(--red);
  border-radius: 10px;
  background: white;
  box-shadow: 0 8px 24px rgba(255, 50, 24, 0.08);
}

.global-search input {
  min-width: 0;
  height: 48px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.global-search input {
  padding: 0 18px;
}

.global-search button,
.hero-banner__actions a,
.hero-banner__actions button,
.contact-card button,
.quote-form button,
.dialog-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border: 0;
  border-radius: 7px;
  color: white;
  background: var(--red);
  font-weight: 800;
}

.global-search button:hover,
.hero-banner__actions a:hover,
.hero-banner__actions button:hover,
.contact-card button:hover,
.quote-form button:hover,
.dialog-action:hover {
  background: var(--red-dark);
}

.global-search__icon {
  display: none;
}

.header-search-toggle,
.global-search__close {
  display: none;
}

.header-icon.header-search-toggle,
.global-search .global-search__close {
  display: none;
}

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

.header-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  color: var(--ink);
  background: white;
  box-shadow: 0 8px 22px rgba(22, 25, 28, 0.05);
}

.header-icon:hover {
  color: var(--red);
  border-color: rgba(255, 50, 24, 0.5);
  background: #fff7f5;
}

.header-icon svg {
  width: 24px;
  height: 24px;
}

.header-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border: 2px solid white;
  border-radius: 999px;
  color: white;
  background: var(--red);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
}

.market-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 14px;
  align-items: stretch;
  padding: 24px 22px 0;
}

.equipment-menu,
.hero-lead-form,
.support-column article,
.contact-card,
.promo-slot,
.popular-card,
.promo-card,
.filter-panel,
.product-card,
.quote-form {
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
  box-shadow: 0 6px 18px rgba(22, 25, 28, 0.04);
}

.equipment-menu {
  overflow: hidden;
}

.hero-sidebar {
  display: grid;
  grid-template-rows: auto minmax(178px, 1fr);
  gap: 14px;
  min-width: 0;
}

.equipment-menu h2 {
  margin: 0;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}

.equipment-menu a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px;
  align-items: center;
  gap: 10px;
  min-height: 49px;
  padding: 8px 14px 8px 16px;
  border-bottom: 1px solid var(--line);
  color: #30363b;
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1.2;
}

.equipment-menu a::after {
  justify-self: end;
  width: 18px;
  height: 18px;
  content: "";
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  background:
    radial-gradient(circle, currentColor 0 3px, transparent 3.5px),
    white;
  opacity: 0.7;
}

.equipment-menu a:hover {
  color: var(--red);
  background: #fff8f6;
}

.equipment-menu a:hover::after {
  border-color: currentColor;
  opacity: 1;
}

.equipment-menu a:last-child {
  border-bottom: 0;
}

.hero-lead-form {
  display: grid;
  align-content: center;
  justify-items: stretch;
  gap: 11px;
  min-width: 0;
  min-height: 178px;
  padding: 18px;
  overflow: hidden;
  text-align: left;
  background:
    linear-gradient(135deg, #ffffff 0%, #fff7f4 100%);
}

.hero-lead-form strong {
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.15;
  font-weight: 900;
}

.hero-lead-form__fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
  min-width: 0;
}

.hero-lead-form input {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 9px 10px;
  border: 1px solid var(--line-dark);
  border-radius: 7px;
  outline: 0;
  color: var(--ink);
  background: white;
}

.hero-lead-form input:focus {
  border-color: rgba(255, 50, 24, 0.72);
  box-shadow: 0 0 0 3px rgba(255, 50, 24, 0.1);
}

.hero-lead-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--red);
  border-radius: 7px;
  color: white;
  background: var(--red);
  font-weight: 900;
}

.hero-lead-form button:hover {
  border-color: var(--red-dark);
  background: var(--red-dark);
}

input.is-invalid {
  border-color: var(--red) !important;
  box-shadow: 0 0 0 3px rgba(255, 50, 24, 0.12);
}

.hero-banner {
  position: relative;
  display: block;
  aspect-ratio: 1551 / 1014;
  min-height: 0;
  overflow: hidden;
  border-radius: 13px;
  background: #ff3218;
  color: white;
  box-shadow: 0 22px 50px rgba(255, 50, 24, 0.25);
}

.hero-banner::before {
  content: none;
}

.hero-carousel__track {
  position: absolute;
  inset: 0;
}

.hero-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.hero-carousel__slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}

.hero-banner__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-banner__catalog {
  position: absolute;
  z-index: 3;
  left: clamp(28px, 5.2%, 74px);
  bottom: 18%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  min-height: 44px;
  padding: 0 42px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 8px;
  background: white;
  color: var(--red);
  box-shadow: 0 16px 30px rgba(67, 12, 0, 0.16);
  font-weight: 900;
}

.hero-banner__catalog:hover {
  color: var(--red-dark);
  background: #fff5f2;
}

.hero-carousel__dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 18px;
  display: flex;
  gap: 10px;
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(39, 11, 4, 0.18);
  backdrop-filter: blur(8px);
  transform: translateX(-50%);
}

.hero-carousel__dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
}

.hero-carousel__dots button.is-active {
  background: white;
}

.hero-banner__copy {
  position: relative;
  z-index: 4;
  align-self: start;
  padding: 64px 0 38px 34px;
}

.hero-banner h1 {
  margin: 0 0 22px;
  max-width: 550px;
  font-size: 2.58rem;
  line-height: 1.1;
  font-weight: 900;
}

.hero-banner p {
  margin: 0 0 32px;
  max-width: 430px;
  font-size: 1.08rem;
}

.hero-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-banner__actions a,
.hero-banner__actions button {
  min-height: 46px;
  font-size: 0.9rem;
  white-space: nowrap;
}

.hero-banner__actions a {
  color: var(--red);
  background: white;
}

.hero-banner__actions a:hover {
  color: var(--red-dark);
  background: #fff1ed;
}

.hero-banner__actions button {
  color: white;
  background: rgba(154, 22, 8, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(8px);
}

.hero-banner__visual {
  position: relative;
  z-index: 2;
  min-height: 520px;
}

.hero-banner__art {
  position: absolute;
  z-index: 3;
  right: -64px;
  bottom: 0;
  width: min(108%, 820px);
  max-width: none;
  max-height: 506px;
  object-fit: contain;
  filter: drop-shadow(0 30px 34px rgba(58, 9, 0, 0.24));
}

.hero-banner__machine {
  position: absolute;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.hero-banner__machine--main {
  right: 16px;
  bottom: 66px;
  width: min(90%, 500px);
  height: 340px;
  filter: drop-shadow(0 26px 36px rgba(58, 9, 0, 0.24));
}

.hero-banner__machine--robot {
  left: 14px;
  bottom: 104px;
  width: 154px;
  height: 145px;
  transform: rotate(-4deg);
  filter: drop-shadow(0 18px 24px rgba(58, 9, 0, 0.2));
}

.hero-banner__machine--ship {
  left: 22px;
  bottom: 32px;
  width: 155px;
  height: 86px;
  filter: drop-shadow(0 10px 20px rgba(58, 9, 0, 0.2));
}

.hero-banner__dots {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 26px;
  display: flex;
  gap: 18px;
  transform: translateX(-50%);
}

.hero-banner__dots span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
}

.support-column {
  display: grid;
  gap: 8px;
}

.support-column article {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px 10px;
  min-height: 92px;
  padding: 11px 12px;
}

.support-column .contact-card {
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 14px;
}

.support-column article > svg {
  grid-row: 1 / span 2;
  width: 24px;
  height: 24px;
  color: var(--red);
}

.support-column article > strong,
.support-column article > p {
  grid-column: 2;
}

.support-column .contact-card > strong,
.support-column .contact-card > p {
  grid-column: 1;
}

.support-column strong {
  display: block;
  margin-bottom: 3px;
  font-size: 0.82rem;
  line-height: 1.25;
}

.support-column p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.32;
}

.contact-card__actions {
  display: flex;
  gap: 10px;
  margin: 4px 0;
}

.contact-card__actions a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: white;
  border-radius: 50%;
}

.contact-card__actions svg {
  width: 20px;
  height: 20px;
}

.contact-card__actions a:nth-child(1) {
  background: var(--green);
}

.contact-card__actions a:nth-child(2) {
  background: #2aabee;
}

.contact-card__actions a:nth-child(3) {
  background: #ff7a00;
}

.contact-card button {
  width: 100%;
  min-height: 40px;
  margin-top: 4px;
  color: var(--red);
  background: white;
  border: 1px solid var(--red);
}

.promo-banners {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 22px 0;
}

.promo-slot {
  overflow: hidden;
  aspect-ratio: 5 / 2;
  min-height: 118px;
  border-style: dashed;
  background: linear-gradient(135deg, #ffffff 0%, #f7f8fa 100%);
}

.promo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popular-section,
.catalog-section,
.delivery-showcase,
.bestseller-section {
  padding: 64px 22px;
  scroll-margin-top: 220px;
}

.popular-section {
  margin-top: 36px;
  background:
    linear-gradient(180deg, #f5f6f7 0%, #fff 42%),
    #fff;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-head h2 {
  margin: 0;
  font-size: 2.5rem;
  line-height: 1.06;
  font-weight: 900;
}

.section-head p {
  margin: 10px 0 0;
  color: var(--muted);
}

.section-head > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-weight: 800;
}

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

.popular-card {
  display: grid;
  min-height: 410px;
  overflow: hidden;
}

.popular-card__image {
  display: grid;
  place-items: center;
  min-height: 282px;
  padding: 22px;
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 255, 255, 0.92), rgba(244, 246, 248, 0.7)),
    #f7f8f9;
}

.popular-card__image img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.popular-card__body {
  display: grid;
  gap: 10px;
  padding: 0 26px 24px;
}

.popular-card h3 {
  margin: 0;
  font-size: 1.32rem;
  line-height: 1.18;
}

.popular-card span {
  color: var(--muted);
}

.promo-card {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  padding: 28px;
}

.promo-card--hot {
  color: white;
  background:
    radial-gradient(circle at 86% 78%, rgba(255, 210, 31, 0.85), transparent 17%),
    linear-gradient(135deg, #ff2d12, #ff7a00);
}

.promo-card--hot h3 {
  margin: 0 0 12px;
  font-size: 1.5rem;
}

.promo-card--hot p {
  max-width: 230px;
}

.promo-card--hot b {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 30px;
  margin-left: 8px;
  color: #ff2d12;
  background: var(--yellow);
  border-radius: 999px;
  font-size: 0.8rem;
}

.promo-card--hot a,
.promo-card--consult button,
.promo-card--catalog a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 7px;
  font-weight: 800;
}

.promo-card--hot a {
  color: var(--red);
  background: white;
}

.promo-card--hot img {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 58%;
  height: 220px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.promo-card--features {
  display: grid;
  gap: 0;
  padding: 0;
}

.promo-card--features div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 22px;
  border-bottom: 1px dashed var(--line-dark);
}

.promo-card--features div:last-child {
  border-bottom: 0;
}

.promo-card--features span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--red);
  border: 1px solid rgba(255, 50, 24, 0.28);
  border-radius: 50%;
  font-weight: 900;
}

.promo-card--features svg {
  width: 20px;
  height: 20px;
}

.promo-card--consult {
  background: #fff2eb;
}

.promo-card--consult h3 {
  max-width: 220px;
  color: var(--red);
  font-size: 1.55rem;
}

.promo-card--consult p {
  color: #555b61;
}

.promo-card--consult button {
  border: 0;
  color: white;
  background: var(--red);
}

.promo-card--consult::after {
  position: absolute;
  right: 22px;
  bottom: 20px;
  width: 124px;
  height: 124px;
  content: "";
  border: 18px solid #181b20;
  border-top-color: var(--orange);
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(22, 25, 28, 0.12);
}

.promo-card--catalog {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(120px, 0.6fr);
  gap: 14px;
  align-items: center;
  background: #f2f3f5;
}

.promo-card--catalog b {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 12px 0;
  color: #211f18;
  background: var(--yellow);
  border-radius: 50%;
}

.promo-card--catalog a {
  color: var(--red);
  border: 1px solid var(--red);
}

.promo-card--catalog img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.catalog-section {
  background: #fff;
  overflow: visible;
}

.bestseller-section {
  background:
    linear-gradient(180deg, #fff 0%, #f7f8f9 100%),
    #fff;
}

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

.section-head--catalog {
  align-items: flex-start;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.filter-panel {
  position: sticky;
  top: 112px;
  max-height: calc(100vh - 132px);
  overflow: auto;
}

.filter-panel__head {
  position: static;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  background: white;
  border-bottom: 1px solid var(--line);
}

.filter-panel__head button {
  border: 0;
  background: transparent;
  color: var(--red);
  font-weight: 800;
}

.price-filter {
  display: grid;
  gap: 12px;
  padding: 16px 18px 14px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfd;
}

.price-filter label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: #30363b;
  font-size: 0.9rem;
  font-weight: 850;
}

.price-filter output {
  margin-left: auto;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  text-align: right;
  white-space: nowrap;
}

.price-filter input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 18px;
  margin: 0;
  accent-color: var(--red);
  cursor: pointer;
}

.price-filter input[type="range"]::-webkit-slider-runnable-track {
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), #ff8a00);
}

.price-filter input[type="range"]::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  margin-top: -6px;
  border: 3px solid white;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 4px 12px rgba(255, 50, 24, 0.28);
  -webkit-appearance: none;
}

.price-filter input[type="range"]::-moz-range-track {
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), #ff8a00);
}

.price-filter input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 3px solid white;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 4px 12px rgba(255, 50, 24, 0.28);
}

.category-list {
  display: grid;
  gap: 2px;
  padding: 10px;
}

.category-option {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 10px 9px calc(10px + var(--category-indent, 0px));
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #30363b;
  text-align: left;
}

.category-option.has-children {
  font-weight: 800;
}

.category-option.is-child {
  min-height: 36px;
  color: #4b5258;
  font-size: 0.88rem;
}

.category-option.is-child::before {
  content: "";
  position: absolute;
  left: calc(11px + var(--category-line-indent, 0px));
  top: 50%;
  width: 6px;
  height: 6px;
  border-left: 1px solid #c4cbd2;
  border-bottom: 1px solid #c4cbd2;
  transform: translateY(-50%);
}

.category-option__toggle,
.category-option__spacer {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
}

.category-option__toggle svg {
  width: 18px;
  height: 18px;
  transition: transform 0.18s ease;
}

.category-option.is-expanded .category-option__toggle svg {
  transform: rotate(90deg);
}

.category-option__title {
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}

.category-option:hover,
.category-option.is-active {
  background: #f0f2f4;
}

.catalog-workspace {
  min-width: 0;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  margin-bottom: 18px;
}

.result-line {
  display: grid;
  gap: 4px;
}

.result-line [data-result-count] {
  font-weight: 900;
}

.result-line span:last-child {
  color: var(--muted);
}

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

.catalog-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 26px;
}

.pagination-number {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font-weight: 800;
}

.pagination-gap {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 38px;
  color: var(--muted);
  font-weight: 800;
}

.pagination-number:hover,
.pagination-number.is-active {
  border-color: var(--red);
  color: white;
  background: var(--red);
}

.empty-state {
  grid-column: 1 / -1;
  padding: 30px;
  color: var(--muted);
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
}

.product-card {
  position: relative;
  display: grid;
  grid-template-rows: 210px auto;
  min-width: 0;
  overflow: hidden;
}

.product-card--has-detail {
  cursor: pointer;
}

.product-card--has-detail:focus-visible {
  outline: 3px solid rgba(255, 50, 24, 0.32);
  outline-offset: 3px;
}

.product-card__top-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(255, 50, 24, 0.18);
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, #ff3218 0%, #ff6a00 100%);
  box-shadow: 0 10px 24px rgba(255, 50, 24, 0.22);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.product-card__favorite {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(22, 25, 28, 0.12);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 28px rgba(22, 25, 28, 0.12);
}

.product-card__favorite svg {
  width: 20px;
  height: 20px;
}

.product-card__favorite:hover,
.product-card__favorite.is-active {
  color: var(--red);
  border-color: rgba(22, 25, 28, 0.12);
  background: rgba(255, 255, 255, 0.96);
}

.product-card__favorite.is-active svg {
  fill: currentColor;
}

.product-card__image {
  display: grid;
  place-items: center;
  padding: 18px;
  background: #f7f8f9;
  border-bottom: 1px solid var(--line);
}

.product-card__image img {
  width: 100%;
  height: 176px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.product-card__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(76px, auto) minmax(20px, auto) 1fr;
  gap: 8px;
  min-width: 0;
  padding: 18px;
}

.product-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.78rem;
}

.product-card__meta span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card__title {
  display: -webkit-box;
  min-height: 76px;
  overflow: hidden;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.23;
  overflow-wrap: anywhere;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.product-card__description {
  display: -webkit-box;
  min-height: 20px;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.product-card__foot,
.price {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
}

.product-card__foot {
  align-self: end;
  margin-top: 2px;
}

.price strong {
  font-size: 1.12rem;
  font-weight: 900;
}

.price del {
  color: var(--muted);
  font-size: 0.82rem;
}

.product-card__action,
.product-card__quick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--red);
  border-radius: 7px;
  font-weight: 800;
}

.product-card__cart-slot {
  min-width: 0;
}

.quantity-stepper {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  width: 100%;
  min-height: 42px;
  overflow: hidden;
  border: 1px solid rgba(255, 50, 24, 0.45);
  border-radius: 7px;
  background: white;
}

.quantity-stepper button {
  display: grid;
  place-items: center;
  height: 42px;
  border: 0;
  color: var(--red);
  background: #fff5f2;
  font-size: 1.2rem;
  font-weight: 900;
}

.quantity-stepper button:hover {
  color: white;
  background: var(--red);
}

.quantity-stepper span {
  text-align: center;
  font-weight: 900;
}

.quantity-stepper--inline {
  grid-template-columns: 34px 38px 34px;
  min-height: 36px;
}

.quantity-stepper--inline button {
  height: 36px;
}

.product-card__action {
  color: white;
  background: var(--red);
}

.product-card__action:hover {
  border-color: var(--red-dark);
  background: var(--red-dark);
}

.product-card__action.is-added {
  color: var(--red);
  border-color: rgba(255, 50, 24, 0.45);
  background: #fff5f2;
}

.product-card__action.is-added:hover {
  color: white;
  border-color: var(--red);
  background: var(--red);
}

.product-card__quick {
  color: var(--red);
  background: white;
}

.product-card__quick:hover {
  color: var(--red-dark);
  border-color: var(--red-dark);
  background: #fff5f2;
}

.product-card:not(.product-card--has-detail) .product-card__image,
.product-card:not(.product-card--has-detail) .product-card__title {
  cursor: default;
}

.product-card--has-detail .product-card__title:hover {
  color: var(--red);
}

.product-page {
  margin: 14px;
  padding: 28px 36px 64px;
  overflow: hidden;
  border: 1px solid rgba(213, 218, 224, 0.78);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(22, 25, 28, 0.045);
}

.info-page {
  padding: 28px 36px 68px;
  background: #fff;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumbs a:hover {
  color: var(--red);
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
  gap: 28px;
  align-items: start;
}

.info-hero {
  position: relative;
  overflow: hidden;
  padding: 46px;
  color: white;
  background:
    radial-gradient(circle at 86% 22%, rgba(255, 210, 31, 0.28), transparent 26%),
    linear-gradient(135deg, #ff3218 0%, #ff6b00 100%);
}

.info-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 55%, rgba(255, 255, 255, 0.16) 55% 56%, transparent 56%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 18px);
  opacity: 0.38;
}

.info-hero > * {
  position: relative;
  z-index: 1;
}

.info-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 900;
}

.info-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 0.98;
  font-weight: 900;
}

.info-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
}

.info-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
  gap: 24px;
  margin-top: 24px;
  align-items: start;
}

.info-layout--single {
  grid-template-columns: minmax(0, 1fr);
}

.info-article,
.info-aside {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: white;
  box-shadow: 0 8px 22px rgba(22, 25, 28, 0.05);
}

.info-article {
  display: grid;
  gap: 22px;
  padding: 34px;
}

.info-section {
  display: grid;
  gap: 12px;
}

.info-section h2,
.info-section h3 {
  margin: 0;
  line-height: 1.12;
  font-weight: 900;
}

.info-section h2 {
  font-size: 1.72rem;
}

.info-section h3 {
  font-size: 1.16rem;
}

.info-section p {
  margin: 0;
  color: #4d5359;
}

.info-section ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-section li {
  position: relative;
  padding-left: 24px;
  color: #3f464d;
}

.info-section li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.info-aside {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.info-aside h2 {
  margin: 0;
  font-size: 1.36rem;
  line-height: 1.12;
  font-weight: 900;
}

.info-contact-list {
  display: grid;
  gap: 12px;
}

.info-contact-list a,
.info-contact-list span {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: #3f464d;
}

.info-contact-list svg {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--red);
}

.info-requisites {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.info-requisites div {
  display: grid;
  gap: 2px;
}

.info-requisites dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.info-requisites dd {
  margin: 0;
  font-weight: 900;
}

.product-gallery,
.product-summary,
.product-benefits article,
.product-description,
.product-specs {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: white;
  box-shadow: 0 8px 22px rgba(22, 25, 28, 0.05);
}

.product-gallery {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
  padding: 38px;
  overflow: hidden;
  background:
    radial-gradient(circle at 52% 34%, #fff 0 22%, #f4f6f7 52%, #edf0f2 100%);
}

.product-gallery__badge {
  position: absolute;
  top: 22px;
  left: 22px;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: white;
  background: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
}

.product-gallery img {
  width: 100%;
  max-height: 470px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.product-summary {
  display: grid;
  gap: 18px;
  padding: 30px;
}

.product-summary__kicker {
  color: var(--red);
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-summary h1 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.35rem);
  line-height: 1.05;
  font-weight: 900;
}

.product-summary p {
  margin: 0;
  color: #555b61;
  font-size: 1.04rem;
}

.product-price {
  display: grid;
  gap: 4px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-price span {
  color: var(--muted);
  font-weight: 800;
}

.product-price strong {
  font-size: 2.2rem;
  line-height: 1;
  font-weight: 900;
}

.product-options {
  display: grid;
  gap: 10px;
}

.product-options > strong {
  font-weight: 900;
}

.product-option {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  min-height: 74px;
  padding: 14px;
  border: 1px solid var(--line-dark);
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
}

.product-option input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.product-option span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.product-option b {
  line-height: 1.18;
}

.product-option small {
  color: var(--muted);
  line-height: 1.25;
}

.product-option > strong {
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

.product-option em {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 28px;
  color: var(--red);
  background: #fff0eb;
  border-radius: 999px;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
}

.product-option:hover,
.product-option.is-selected {
  border-color: var(--red);
  background: #fff8f6;
}

.product-option.is-selected {
  box-shadow: 0 10px 24px rgba(255, 50, 24, 0.1);
}

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

.product-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid var(--red);
  border-radius: 8px;
  font-weight: 900;
}

.product-action-slot {
  display: grid;
  min-width: 0;
}

.product-action-slot > * {
  width: 100%;
  min-width: 0;
}

.product-action-slot--favorite {
  grid-column: 2;
}

.quantity-stepper--detail {
  width: 100%;
  grid-template-columns: 48px minmax(40px, 1fr) 48px;
  min-height: 52px;
}

.quantity-stepper--detail button {
  height: 52px;
}

.product-action--primary {
  color: white;
  background: var(--red);
}

.product-action--primary:hover {
  border-color: var(--red-dark);
  background: var(--red-dark);
}

.product-action--primary.is-added {
  color: var(--red);
  border-color: rgba(255, 50, 24, 0.45);
  background: #fff5f2;
}

.product-action--ghost {
  grid-column: 1 / -1;
  color: var(--red);
  background: white;
}

.product-action--ghost:hover {
  color: var(--red-dark);
  border-color: var(--red-dark);
  background: #fff5f2;
}

.product-facts {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.product-facts div {
  display: grid;
  grid-template-columns: minmax(120px, 0.42fr) minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.product-facts dt {
  color: var(--muted);
  font-weight: 800;
}

.product-facts dd {
  margin: 0;
  font-weight: 900;
}

.product-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.product-benefits article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 6px 12px;
  padding: 18px;
}

.product-benefits svg {
  grid-row: 1 / span 2;
  width: 24px;
  height: 24px;
  color: var(--red);
}

.product-benefits strong,
.product-benefits span {
  grid-column: 2;
}

.product-benefits strong {
  font-weight: 900;
}

.product-benefits span {
  color: var(--muted);
  font-size: 0.9rem;
}

.product-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.68fr);
  gap: 24px;
  margin-top: 28px;
}

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

.product-description,
.product-specs {
  padding: 28px;
}

.product-description h2,
.product-specs h2,
.product-quote h2 {
  margin: 0 0 16px;
  font-size: 1.8rem;
  line-height: 1.1;
  font-weight: 900;
}

.product-description p {
  margin: 0 0 14px;
  color: #4d5359;
}

.product-description p:last-child {
  margin-bottom: 0;
}

.product-specs dl {
  display: grid;
  margin: 0;
  padding: 0;
}

.product-specs dl div {
  display: grid;
  grid-template-columns: minmax(150px, 0.72fr) minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.product-specs dl div:first-child {
  padding-top: 0;
}

.product-specs dl div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.product-specs dt {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.product-specs dd {
  margin: 0;
  color: #23282d;
  font-weight: 700;
}

.product-specs ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-specs li {
  position: relative;
  padding-left: 24px;
  color: #3f464d;
}

.product-specs li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
  background: var(--red);
  transform: translateY(-50%);
}

.product-related {
  display: grid;
  gap: 18px;
  margin-top: 36px;
}

.product-related .section-head {
  margin: 0;
}

.product-related__grid {
  align-items: stretch;
}

.product-quote {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: 28px;
  color: white;
  border-radius: 11px;
  background:
    linear-gradient(135deg, rgba(255, 50, 24, 0.94), rgba(255, 122, 0, 0.94)),
    #ff3218;
}

.product-quote p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.product-quote .product-action {
  min-width: 220px;
  border-color: white;
  color: var(--red);
  background: white;
}

.product-quote .product-action:hover {
  color: var(--red-dark);
  background: #fff5f2;
}

.product-quote--banner {
  display: block;
  padding: 0;
  color: inherit;
  background: transparent;
}

.product-consult-banner {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 13px;
  background: white;
  box-shadow: var(--soft-shadow);
}

.product-consult-banner img {
  width: 100%;
  height: auto;
}

.delivery-showcase {
  background:
    linear-gradient(180deg, #fff 0%, #f4f5f6 100%),
    var(--paper);
}

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

.delivery-banner {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(124, 28, 12, 0.22);
  border-radius: 13px;
  background: #8a1009;
  box-shadow: var(--soft-shadow);
  aspect-ratio: 1983 / 793;
}

.delivery-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 40px;
  align-items: start;
  background: #fff3ed;
}

.quote-section h2 {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 2.3rem;
}

.quote-section p {
  max-width: 620px;
  color: #555b61;
}

.quote-form {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.quote-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid var(--line-dark);
  border-radius: 7px;
  outline: 0;
  resize: vertical;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 36px;
  color: rgba(255, 255, 255, 0.74);
  background: #17191c;
}

.footer strong,
.footer a {
  color: white;
}

.footer p {
  margin: 0;
}

.footer div:last-child {
  display: grid;
  gap: 4px;
  text-align: right;
}

.site-footer {
  margin: 0 14px 14px;
  padding: 46px 22px 26px;
  overflow: hidden;
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.76);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 50, 24, 0.18), transparent 28%),
    linear-gradient(180deg, #1c2025 0%, #121417 100%);
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(300px, 1.25fr) minmax(170px, 0.68fr) minmax(250px, 1fr) minmax(230px, 0.85fr);
  gap: 34px;
  align-items: start;
}

.brand--footer {
  width: fit-content;
  color: white;
}

.brand--footer .brand__mark {
  background: url("./assets/stankiasia-logo.png?v=20260722-1") center / cover no-repeat;
  box-shadow: 0 16px 36px rgba(255, 50, 24, 0.2);
}

.site-footer__brand {
  display: grid;
  gap: 22px;
}

.site-footer__brand p {
  max-width: 440px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer__contacts {
  display: grid;
  gap: 11px;
}

.site-footer__contacts a,
.site-footer__contacts span {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-width: 0;
}

.site-footer__contacts svg {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--orange);
}

.site-footer__contacts a {
  color: white;
  font-weight: 800;
}

.site-footer__nav,
.site-footer__legal {
  display: grid;
  gap: 12px;
}

.site-footer h3 {
  margin: 0 0 4px;
  color: white;
  font-size: 1rem;
  line-height: 1.18;
}

.site-footer__nav a {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.22;
}

.site-footer__nav a:hover,
.site-footer__contacts a:hover,
.site-footer__bottom a:hover {
  color: white;
}

.site-footer__legal dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.site-footer__legal dl > div {
  display: grid;
  gap: 3px;
}

.site-footer__legal dt {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-footer__legal dd {
  margin: 0;
  color: white;
  font-weight: 800;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.92rem;
}

.quote-dialog {
  width: min(540px, calc(100% - 28px));
  padding: 0;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  box-shadow: 0 30px 90px rgba(22, 25, 28, 0.28);
}

.quote-dialog::backdrop {
  background: rgba(22, 25, 28, 0.42);
  backdrop-filter: blur(4px);
}

.quote-dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.quote-dialog__head button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  background: #f1f2f3;
}

.dialog-form {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.dialog-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.dialog-form input,
.dialog-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 11px 12px;
  border: 1px solid var(--line-dark);
  border-radius: 7px;
  outline: 0;
  resize: vertical;
}

.dialog-action {
  width: 100%;
  margin: 0;
}

.dialog-call {
  display: grid;
  gap: 4px;
  padding: 0 18px 18px;
  color: var(--muted);
  text-align: center;
}

.dialog-call a {
  color: var(--red);
  font-weight: 900;
}

.commerce-dialog {
  width: min(920px, calc(100% - 28px));
  max-height: min(88vh, 860px);
  padding: 0;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  color: var(--ink);
  background: white;
  box-shadow: 0 30px 90px rgba(22, 25, 28, 0.28);
}

.commerce-dialog::backdrop {
  background: rgba(22, 25, 28, 0.42);
  backdrop-filter: blur(4px);
}

.commerce-dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.commerce-dialog__head strong {
  display: block;
  font-size: 1.24rem;
  font-weight: 900;
}

.commerce-dialog__head span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.commerce-dialog__head button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: #f1f2f3;
}

.commerce-tabs {
  display: flex;
  gap: 8px;
  padding: 12px 18px 0;
}

.commerce-tabs button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: var(--ink);
  background: white;
  font-weight: 800;
}

.commerce-tabs button.is-active {
  color: white;
  border-color: var(--red);
  background: var(--red);
}

.commerce-dialog__body {
  max-height: calc(88vh - 120px);
  overflow: auto;
  padding: 18px;
}

.commerce-empty {
  display: grid;
  gap: 8px;
  padding: 30px;
  border: 1px dashed var(--line-dark);
  border-radius: 10px;
  background: #f7f8f9;
  text-align: center;
}

.commerce-empty strong {
  font-size: 1.12rem;
  font-weight: 900;
}

.commerce-empty p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.commerce-list {
  display: grid;
  gap: 10px;
}

.commerce-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}

.commerce-row__image {
  display: grid;
  place-items: center;
  min-width: 0;
  width: 84px;
  height: 68px;
  overflow: hidden;
  border-radius: 8px;
  background: #f7f8f9;
}

.commerce-row__image img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.commerce-row__placeholder {
  color: var(--muted);
}

.commerce-row__body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.commerce-row__body a {
  color: var(--ink);
  font-weight: 900;
  line-height: 1.25;
}

.commerce-row__body span {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.commerce-row__body strong {
  color: var(--red);
  font-size: 0.92rem;
  font-weight: 900;
}

.commerce-row__actions {
  display: grid;
  grid-template-columns: auto 36px;
  gap: 8px;
  align-items: center;
}

.commerce-remove {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  color: var(--muted);
  background: white;
  font-size: 1.2rem;
  font-weight: 900;
}

.commerce-remove:hover {
  color: var(--red);
  border-color: rgba(255, 50, 24, 0.45);
  background: #fff5f2;
}

.commerce-secondary,
.commerce-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 7px;
  font-weight: 900;
}

.commerce-secondary {
  padding: 0 14px;
  border: 1px solid rgba(255, 50, 24, 0.45);
  color: var(--red);
  background: #fff5f2;
}

.commerce-primary {
  width: 100%;
  min-height: 48px;
  border: 0;
  color: white;
  background: var(--red);
}

.commerce-primary:hover {
  background: var(--red-dark);
}

.commerce-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 14px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f7f8f9;
  font-weight: 900;
}

.commerce-summary span {
  color: var(--muted);
}

.commerce-summary strong {
  color: var(--red);
  font-size: 1.15rem;
}

.commerce-checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 16px;
  align-items: start;
}

.commerce-checkout-page {
  display: grid;
  gap: 16px;
}

.commerce-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f7f8f9;
}

.commerce-progress span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.commerce-progress strong {
  font-size: 1rem;
  font-weight: 900;
}

.commerce-checkout-items {
  display: grid;
  gap: 10px;
}

.commerce-checkout-items__title {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.commerce-checkout {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f7f8f9;
}

.commerce-checkout label {
  display: grid;
  gap: 7px;
  font-weight: 900;
}

.commerce-checkout input,
.commerce-checkout select,
.commerce-checkout textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 11px;
  border: 1px solid var(--line-dark);
  border-radius: 7px;
  background: white;
  outline: 0;
  resize: vertical;
}

.commerce-step {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}

.commerce-step h3 {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 900;
}

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

.commerce-choice-grid--single {
  grid-template-columns: 1fr;
}

.commerce-choice {
  display: grid;
  gap: 8px;
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  color: var(--ink);
  background: #f7f8f9;
  text-align: left;
}

.commerce-choice strong {
  font-size: 1.05rem;
  font-weight: 900;
}

.commerce-choice span {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.35;
}

.commerce-choice:hover,
.commerce-choice.is-active {
  border-color: rgba(255, 50, 24, 0.55);
  background: #fff5f2;
  box-shadow: 0 12px 26px rgba(255, 50, 24, 0.08);
}

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

.commerce-field {
  display: grid;
  gap: 7px;
  font-weight: 900;
}

.commerce-field span {
  font-size: 0.9rem;
}

.commerce-field input,
.commerce-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: white;
  outline: 0;
  resize: vertical;
}

.commerce-field input.is-invalid,
.commerce-field textarea.is-invalid {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(255, 50, 24, 0.12);
}

.commerce-inn-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 12px;
  align-items: end;
}

.commerce-lookup-message,
.commerce-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
}

.commerce-lookup-message.is-success {
  color: #1f7a3f;
}

.commerce-lookup-message.is-error {
  color: var(--red);
}

.commerce-checkout-nav {
  display: grid;
  grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
  gap: 10px;
}

.commerce-checkout-nav .commerce-secondary:only-child,
.commerce-checkout-nav .commerce-primary:only-child {
  grid-column: 1 / -1;
}

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

.commerce-review div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f8f9;
}

.commerce-review span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.commerce-review strong {
  font-weight: 900;
}

.product-action--favorite {
  color: var(--ink);
  border: 1px solid var(--line-dark);
  background: white;
}

.product-action--favorite svg {
  color: var(--muted);
}

.product-action--favorite.is-active {
  color: var(--ink);
  border-color: var(--line-dark);
  background: white;
}

.product-action--favorite.is-active svg {
  color: var(--red);
  fill: currentColor;
}

@media (max-width: 1320px) {
  .main-header {
    grid-template-columns: 230px minmax(280px, 1fr) auto;
  }

  .brand__text strong,
  .brand__text b {
    font-size: 1.46rem;
  }

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

@media (max-width: 1120px) {
  .market-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  }
}

@media (max-width: 980px) {
  main {
    gap: 10px;
    padding: 10px;
  }

  .home-intro,
  .site-header,
  .catalog-section,
  .delivery-showcase,
  .bestseller-section,
  .site-footer {
    border-radius: 14px;
  }

  .site-header {
    top: 8px;
    margin: 10px 10px 0;
  }

  .site-footer {
    margin: 0 10px 10px;
  }

  .main-header {
    position: relative;
    grid-template-columns: minmax(0, 1fr) 46px auto;
    gap: 8px;
    min-height: auto;
    padding: 8px 10px;
  }

  .brand {
    grid-column: 1;
  }

  .header-icon.header-search-toggle {
    display: grid;
    grid-column: 2;
  }

  .header-actions {
    grid-column: 3;
  }

  .global-search {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    z-index: 35;
    display: none;
    grid-template-columns: minmax(0, 1fr) 44px 40px;
    gap: 4px;
    width: auto;
    min-height: 56px;
    padding: 6px;
    border: 2px solid var(--red);
    border-radius: 10px;
    box-shadow: 0 16px 36px rgba(22, 25, 28, 0.16);
  }

  .global-search.is-open {
    display: grid;
  }

  .global-search input {
    position: static;
    width: auto;
    height: 44px;
    padding: 0 14px;
    opacity: 1;
    pointer-events: auto;
    font-size: 0.98rem;
  }

  .global-search button[type="submit"] {
    width: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 9px;
  }

  .global-search button span {
    display: none;
  }

  .global-search__icon {
    display: block;
    width: 20px;
    height: 20px;
  }

  .global-search .global-search__close {
    display: grid;
    place-items: center;
    width: 40px;
    min-height: 44px;
    padding: 0;
    border: 1px solid var(--line-dark);
    border-radius: 9px;
    color: var(--ink);
    background: white;
    box-shadow: none;
  }

  .global-search .global-search__close:hover {
    color: var(--red);
    border-color: rgba(255, 50, 24, 0.42);
    background: #fff7f5;
  }

  .global-search .global-search__close svg {
    width: 20px;
    height: 20px;
  }

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

  .hero-sidebar,
  .equipment-menu {
    display: none;
  }

  .hero-banner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-banner__copy {
    padding: 38px 30px 10px;
  }

  .hero-banner h1 {
    font-size: 2.7rem;
  }

  .hero-banner__visual {
    min-height: 330px;
  }

  .hero-banner__machine--main {
    right: 20px;
    bottom: 46px;
    width: 72%;
    height: 260px;
  }

  .hero-banner__machine--robot {
    left: 22px;
    bottom: 108px;
    width: 170px;
    height: 150px;
  }

  .hero-banner__machine--ship {
    left: 18px;
    bottom: 30px;
    width: 150px;
  }

  .hero-banner__art {
    right: -82px;
    width: min(128%, 660px);
    max-height: 390px;
  }

  .support-column,
  .promo-banners,
  .delivery-banner-grid,
  .site-footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .promo-banners {
    margin: 22px 18px 0;
  }

  .popular-section,
  .catalog-section,
  .delivery-showcase,
  .bestseller-section {
    padding: 44px 18px;
  }

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

  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    top: 92px;
    max-height: calc(100vh - 112px);
  }

  .product-page {
    margin: 10px;
    padding: 22px 18px 52px;
    border-radius: 14px;
  }

  .info-page {
    padding: 22px 18px 56px;
  }

  .info-layout {
    grid-template-columns: 1fr;
  }

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

  .product-specs dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .product-gallery {
    min-height: 420px;
  }

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

@media (max-width: 680px) {
  body {
    font-size: 15px;
  }

  .main-header {
    grid-template-columns: minmax(0, 1fr) 40px auto;
    gap: 6px;
    padding: 7px 8px;
  }

  .brand__mark {
    width: 36px;
    height: 36px;
    padding: 0;
  }

  .brand__text strong,
  .brand__text b {
    font-size: 0.94rem;
  }

  .header-actions {
    gap: 6px;
  }

  .header-icon {
    width: 40px;
    height: 40px;
  }

  .header-icon svg {
    width: 19px;
    height: 19px;
  }

  .global-search {
    grid-template-columns: minmax(0, 1fr) 40px 38px;
    min-height: 50px;
  }

  .global-search button[type="submit"] {
    width: 40px;
    min-height: 40px;
  }

  .global-search .global-search__close {
    width: 38px;
    min-height: 40px;
  }

  .global-search__icon {
    width: 19px;
    height: 19px;
  }

  .global-search input {
    height: 40px;
    font-size: 0.94rem;
  }

  .hero-banner__copy {
    padding: 30px 22px 0;
  }

  .hero-banner h1 {
    font-size: 2.02rem;
  }

  .hero-banner p {
    font-size: 1rem;
  }

  .hero-banner__actions {
    display: grid;
  }

  .hero-banner {
    overflow: visible;
    margin-bottom: 66px;
  }

  .hero-banner__image {
    border-radius: 13px;
  }

  .hero-banner__catalog {
    top: calc(100% + 14px);
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 0 22px;
    color: var(--red);
    background: white;
    box-shadow: 0 12px 24px rgba(67, 12, 0, 0.14);
  }

  .hero-banner__catalog:hover {
    color: var(--red-dark);
    background: #fff5f2;
  }

  .hero-banner__visual {
    min-height: 250px;
  }

  .hero-banner__machine--main {
    width: 76%;
    height: 200px;
  }

  .hero-banner__machine--robot {
    width: 116px;
    height: 120px;
  }

  .hero-banner__machine--ship {
    width: 118px;
  }

  .hero-banner__art {
    right: -96px;
    width: 150%;
    max-height: 290px;
  }

  .support-column,
  .promo-banners,
  .popular-grid,
  .product-grid,
  .delivery-banner-grid,
  .site-footer__top,
  .footer {
    grid-template-columns: 1fr;
  }

  .product-summary,
  .product-description,
  .product-specs,
  .product-quote,
  .info-article,
  .info-aside {
    padding: 20px;
  }

  .info-hero {
    padding: 34px 22px;
  }

  .info-hero h1 {
    font-size: 2.2rem;
  }

  .product-summary h1 {
    font-size: 1.9rem;
  }

  .product-gallery {
    min-height: 320px;
    padding: 28px 18px;
  }

  .product-gallery img {
    max-height: 260px;
  }

  .product-actions,
  .product-option,
  .product-facts div {
    grid-template-columns: 1fr;
  }

  .product-action-slot--favorite,
  .product-action--ghost {
    grid-column: 1;
  }

  .product-option > strong,
  .product-option em {
    justify-self: start;
  }

  .product-quote {
    display: grid;
  }

  .product-quote--banner {
    padding: 0;
  }

  .product-quote .product-action {
    width: 100%;
    min-width: 0;
  }

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

  .section-head h2 {
    font-size: 2rem;
  }

  .popular-card,
  .promo-card {
    min-height: 330px;
  }

  .popular-card__image {
    min-height: 220px;
  }

  .popular-card__image img {
    height: 190px;
  }

  .promo-card--catalog {
    grid-template-columns: 1fr;
  }

  .footer {
    display: grid;
  }

  .footer div:last-child {
    text-align: left;
  }

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

  .site-footer__top {
    gap: 28px;
  }

  .site-footer__bottom {
    display: grid;
    margin-top: 30px;
  }
}

@media (max-width: 760px) {
  .commerce-dialog {
    width: calc(100% - 18px);
    max-height: 92vh;
  }

  .commerce-dialog__head,
  .commerce-dialog__body {
    padding: 14px;
  }

  .commerce-tabs {
    padding: 10px 14px 0;
  }

  .commerce-row {
    grid-template-columns: 70px minmax(0, 1fr);
    align-items: start;
  }

  .commerce-row__image {
    width: 70px;
    height: 60px;
  }

  .commerce-row__actions {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) 40px;
  }

  .commerce-checkout-grid,
  .commerce-choice-grid,
  .commerce-form-grid,
  .commerce-review {
    grid-template-columns: 1fr;
  }

  .commerce-step {
    padding: 14px;
  }

  .commerce-inn-line,
  .commerce-checkout-nav {
    grid-template-columns: 1fr;
  }

  .commerce-summary {
    display: grid;
  }
}
