:root {
  --page: #f4f6f8;
  --surface: #ffffff;
  --surface-2: #edf1f6;
  --ink: #121826;
  --muted: #66758a;
  --line: #d6deea;
  --blue: #145cff;
  --blue-dark: #0d47c7;
  --yellow: #f6c343;
  --green: #14935b;
  --red: #dc2626;
  --shadow: 0 16px 36px rgba(18, 24, 38, 0.1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family:
    Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.drawer-open {
  overflow: hidden;
}

body.catalog-open {
  overflow: hidden;
}

body.filters-open {
  overflow: hidden;
}

body.filters-open #jivo-iframe-container {
  display: none !important;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 68px;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 0 rgba(18, 24, 38, 0.04);
  backdrop-filter: blur(14px);
}

.brand,
.header-actions,
.main-nav,
.hero-actions,
.primary-button,
.secondary-button,
.product-actions,
.meta-row,
.stock,
.search-field,
.sort-field {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--yellow);
}

.brand-icon svg {
  fill: currentColor;
  stroke: none;
}

.main-nav {
  justify-content: center;
  gap: 4px;
}

.main-nav a {
  padding: 10px 12px;
  border-radius: 6px;
  color: #344054;
  font-size: 14px;
  font-weight: 650;
}

.main-nav a:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.header-actions {
  gap: 12px;
}

.phone-link {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.icon-action {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
}

.icon-action span {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border: 2px solid var(--surface);
  border-radius: 999px;
  background: var(--blue);
  color: var(--surface);
  font-size: 11px;
  font-weight: 800;
  line-height: 16px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 430px);
  gap: 32px;
  align-items: center;
  min-height: 0;
  padding: 40px 32px 30px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.98) 0 52%, rgba(232, 238, 247, 0.62) 52% 100%),
    var(--page);
}

.hero::before {
  content: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero h1 {
  margin: 0;
  max-width: 680px;
  color: var(--ink);
  font-size: clamp(40px, 3.5vw, 50px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 620px;
  margin: 18px 0 0;
  color: #4b5c73;
  font-size: 17px;
  line-height: 1.55;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.primary-button,
.secondary-button,
.mini-button {
  min-height: 46px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.primary-button {
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: var(--surface);
  box-shadow: 0 12px 28px rgba(0, 109, 255, 0.22);
}

.primary-button:hover,
.secondary-button:hover,
.mini-button:hover {
  transform: translateY(-1px);
}

.primary-button:hover {
  background: var(--blue-dark);
}

.primary-button:disabled,
.mini-button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.secondary-button {
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.full {
  width: 100%;
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  max-width: 660px;
  gap: 10px;
  margin: 28px 0 0;
}

.quick-stats div {
  min-height: 82px;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 20px rgba(18, 24, 38, 0.06);
}

.quick-stats div:last-child {
  border-right: 1px solid var(--line);
}

.quick-stats dt {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 800;
}

.quick-stats dd {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.audience-panel {
  position: relative;
  z-index: 2;
  align-self: start;
  display: grid;
  gap: 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.panel-head h2,
.catalog-toolbar h2,
.delivery-band h2,
.contact-strip h2 {
  margin: 0;
  font-size: 27px;
  line-height: 1.16;
  letter-spacing: 0;
}

.panel-head p,
.delivery-band p,
.contact-strip p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.sort-field,
.audience-card {
  display: grid;
  gap: 7px;
}

.sort-field span {
  color: #475467;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.search-field input,
.sort-field select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
}

.sort-field select {
  padding: 0 12px;
}

.audience-card {
  width: 100%;
  min-height: 108px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  text-align: left;
  box-shadow: 0 8px 20px rgba(18, 24, 38, 0.05);
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.audience-card:hover {
  border-color: var(--blue);
  background: #f7faff;
  transform: translateY(-1px);
}

.audience-card strong {
  font-size: 18px;
  line-height: 1.2;
}

.audience-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.hero-machine {
  position: relative;
  right: auto;
  bottom: auto;
  z-index: 1;
  width: min(100%, 430px);
  min-width: 0;
  justify-self: center;
  pointer-events: none;
}

.hero-machine img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  filter: drop-shadow(0 24px 26px rgba(18, 24, 38, 0.18));
}

.hero-product {
  position: absolute;
  right: 34px;
  bottom: 26px;
  z-index: 1;
  display: none;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  width: min(470px, calc(100% - 68px));
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.hero-product img {
  width: 130px;
  height: 96px;
  object-fit: contain;
  border-radius: 6px;
  background: var(--surface-2);
}

.hero-product strong {
  display: block;
  font-size: 17px;
}

.hero-product span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.catalog-shell {
  padding: 34px 32px 48px;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px) 190px;
  gap: 16px;
  align-items: end;
  margin-bottom: 18px;
}

.catalog-toolbar p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.search-field {
  gap: 9px;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
}

.search-field input {
  min-width: 0;
  border: 0;
  outline: 0;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
}

.filters {
  position: sticky;
  top: 88px;
  align-self: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.filter-group {
  padding: 0 0 20px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.filter-group:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.filter-group h3 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.filter-buttons {
  display: grid;
  gap: 8px;
}

.filter-chip {
  display: flex;
  justify-content: space-between;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.saved-tools {
  display: flex;
  gap: 8px;
}

.saved-tools button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #d8dee7;
  border-radius: 8px;
  background: #ffffff;
  color: #3f4854;
  font-size: 13px;
  font-weight: 750;
}

.saved-tools button:hover,
.saved-tools button.is-active {
  border-color: #0076ff;
  background: #eef6ff;
  color: #0066df;
}

.saved-tools button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.saved-tools svg {
  width: 17px;
  height: 17px;
}

.saved-tools span {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 99px;
  background: #edf0f4;
  color: #252525;
  font-size: 11px;
}

.filter-chip.is-active {
  border-color: var(--blue);
  background: #eaf2ff;
  color: var(--blue-dark);
}

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

.service-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  color: #475467;
  font-size: 13px;
  line-height: 1.35;
}

.service-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: 5px;
  border-radius: 99px;
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(255, 212, 59, 0.22);
}

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

.product-card {
  display: grid;
  grid-template-rows: 220px minmax(250px, 1fr) auto;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.product-media {
  position: relative;
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    linear-gradient(135deg, #ffffff, #eef2f6),
    var(--surface-2);
}

.product-media::after {
  content: "";
  display: none;
}

.product-media.has-broken-image::after {
  content: attr(data-fallback);
  display: grid;
  place-items: center;
  width: min(180px, 72%);
  aspect-ratio: 1.45;
  border: 1px solid #cfd7e3;
  border-radius: 8px;
  background:
    linear-gradient(0deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.86)),
    repeating-linear-gradient(
      135deg,
      #d8dee7 0,
      #d8dee7 1px,
      transparent 1px,
      transparent 10px
    );
  color: #475467;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.product-media img[hidden],
.hero-machine img[hidden],
.hero-product img[hidden],
.modal-layout img[hidden],
.cart-item img[hidden] {
  display: none;
}

.product-media img {
  width: 100%;
  height: 178px;
  object-fit: contain;
  transition: transform 200ms ease;
}

.product-card:hover .product-media img {
  transform: scale(1.025);
}

.stock {
  position: absolute;
  top: 12px;
  left: 12px;
  gap: 7px;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.stock::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: currentColor;
}

.stock.low {
  color: var(--red);
}

.product-body {
  display: grid;
  grid-template-rows: auto auto minmax(58px, auto) auto;
  gap: 12px;
  padding: 18px;
}

.product-title {
  display: -webkit-box;
  margin: 0;
  min-height: 66px;
  overflow: hidden;
  font-size: 17px;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-desc {
  display: -webkit-box;
  min-height: 62px;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.meta-row {
  flex-wrap: wrap;
  gap: 7px;
}

.spec-chip {
  min-height: 28px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--page);
  color: #344054;
  font-size: 12px;
  font-weight: 700;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.price {
  font-size: 22px;
  font-weight: 800;
  white-space: nowrap;
}

.source-link {
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 800;
}

.product-actions {
  gap: 8px;
  padding: 0 18px 18px;
}

.mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.mini-button.blue {
  flex: 1;
  border-color: var(--blue);
  background: var(--blue);
  color: var(--surface);
}

.mini-button.is-active {
  border-color: var(--yellow);
  background: #fff8d7;
}

.empty-state {
  min-height: 260px;
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  text-align: center;
}

.delivery-band,
.contact-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 24px;
  align-items: center;
  margin: 0 32px 34px;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--surface);
}

.delivery-band p,
.contact-strip p {
  color: #cbd5e1;
}

.delivery-band ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.delivery-band li {
  min-height: 120px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.delivery-band strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.delivery-band span {
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.45;
}

.contact-strip {
  grid-template-columns: 1fr auto;
  background: var(--surface);
  color: var(--ink);
}

.contact-strip p {
  color: var(--muted);
}

.product-modal {
  width: min(820px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.product-modal::backdrop {
  background: rgba(15, 23, 42, 0.48);
}

.compare-modal {
  width: min(1120px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.compare-modal::backdrop {
  background: rgba(15, 23, 42, 0.58);
}

.compare-modal > .modal-close {
  position: sticky;
  top: 14px;
  z-index: 4;
  float: right;
  margin: 14px 14px -54px 0;
}

.compare-content {
  padding: 28px;
}

.compare-head {
  margin-bottom: 20px;
  padding-right: 56px;
}

.compare-head span {
  color: #0076ff;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.compare-head h2,
.compare-empty h2 {
  margin: 6px 0 8px;
  font-size: 28px;
}

.compare-head p,
.compare-empty p {
  margin: 0;
  color: #667085;
}

.compare-scroll {
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  table-layout: fixed;
}

.compare-table th,
.compare-table td {
  padding: 13px;
  border: 1px solid #e2e7ee;
  text-align: left;
  vertical-align: top;
}

.compare-table thead th {
  position: relative;
  background: #ffffff;
}

.compare-table thead th:first-child,
.compare-table tbody th {
  width: 160px;
  background: #f7f8fa;
  color: #667085;
  font-size: 13px;
}

.compare-table thead img {
  width: 100%;
  height: 150px;
  margin-bottom: 10px;
  object-fit: contain;
}

.compare-table thead strong {
  display: block;
  min-height: 44px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.3;
}

.compare-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid #e1e6ed;
  border-radius: 99px;
  background: #ffffff;
  color: #cf3030;
  font-size: 20px;
}

.compare-empty {
  min-height: 280px;
  display: grid;
  place-content: center;
  text-align: center;
}

.product-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.product-modal-actions button {
  min-height: 40px;
  border: 1px solid #d8dee7;
  border-radius: 8px;
  background: #ffffff;
  color: #3f4854;
  font-size: 12px;
  font-weight: 750;
}

.product-modal-actions button.is-active,
.product-modal-actions button[aria-pressed="true"] {
  border-color: #0076ff;
  background: #eef6ff;
  color: #0066df;
}

.modal-close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
}

.product-modal > .modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
}

.modal-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) 1fr;
  gap: 22px;
  padding: 24px;
}

.modal-layout img {
  width: 100%;
  height: 330px;
  object-fit: contain;
  border-radius: var(--radius);
  background: var(--surface-2);
}

.modal-layout h2 {
  margin: 0 44px 10px 0;
  font-size: 30px;
  line-height: 1.12;
}

.modal-layout p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.5;
}

.modal-specs {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.modal-specs div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.modal-specs span {
  color: var(--muted);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-rows: auto auto auto auto auto auto;
  width: min(420px, 100%);
  height: 100vh;
  padding: 18px;
  border-left: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow-y: auto;
  transform: translateX(110%);
  transition: transform 220ms ease;
}

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

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

.drawer-head h2 {
  margin: 0;
}

.cart-items {
  display: grid;
  align-content: start;
  gap: 12px;
  overflow: auto;
  max-height: 34vh;
  padding: 16px 0;
}

.cart-checkout {
  display: grid;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.cart-city-head {
  display: block;
}

.cart-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
}

.cart-section-title > span,
.cart-city-head > span,
.cart-field span {
  color: #475467;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.cart-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

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

.cart-field input,
.cart-field select,
.cart-field textarea {
  width: 100%;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
}

.cart-field input,
.cart-field select {
  min-height: 42px;
}

.cart-field textarea {
  min-height: 78px;
  padding-top: 10px;
  padding-bottom: 10px;
  resize: vertical;
}

.cart-field input:focus,
.cart-field select:focus,
.cart-field textarea:focus {
  outline: 2px solid rgba(0, 118, 255, 0.22);
  border-color: #0076ff;
}

.city-status {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 28px;
  color: #475467;
  font-size: 14px;
}

.summary-line strong {
  color: #14935b;
}

.cart-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 104px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
}

.cart-item img {
  width: 88px;
  height: 76px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--surface-2);
}

.cart-item strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.cart-item span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.remove-button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--red);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 18px;
}

.cart-note {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 70;
  min-width: min(420px, calc(100% - 32px));
  padding: 13px 16px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--surface);
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

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

.payment-page {
  min-height: 100vh;
  background: #f5f7fa;
}

.payment-shell {
  width: min(780px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
}

.payment-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: #1f1f1f;
}

.payment-card {
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.08);
}

.payment-head {
  display: grid;
  gap: 10px;
}

.payment-head span {
  justify-self: start;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 99px;
  background: #fff5bf;
  color: #7a5b00;
  font-size: 12px;
  font-weight: 800;
  line-height: 24px;
}

.payment-head h1 {
  margin: 0;
  color: #000000;
  font-size: 34px;
  line-height: 1.1;
}

.payment-head p,
.receipt-form p,
.payment-wait p {
  margin: 0;
  color: #667085;
}

.payment-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.payment-summary div,
.payment-wait,
.payment-requisites,
.receipt-form {
  border: 1px solid #e4e8ef;
  border-radius: 10px;
  background: #ffffff;
}

.payment-summary div {
  display: grid;
  gap: 6px;
  padding: 16px;
}

.payment-summary span {
  color: #667085;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.payment-summary strong {
  font-size: 20px;
}

.payment-wait {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px;
  background: #f8fafc;
}

.payment-spinner {
  width: 34px;
  height: 34px;
  border: 4px solid #d7dde5;
  border-top-color: #0076ff;
  border-radius: 50%;
  animation: spin 900ms linear infinite;
}

.payment-requisites,
.receipt-form {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.payment-requisites h2,
.receipt-form h2 {
  margin: 0;
  color: #000000;
  font-size: 22px;
}

.payment-requisites pre {
  margin: 0;
  padding: 16px;
  overflow: auto;
  border-radius: 10px;
  background: #101828;
  color: #ffffff;
  font: 700 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  white-space: pre-wrap;
}

.payment-result {
  min-height: 22px;
  color: #667085;
  font-size: 14px;
  font-weight: 700;
}

.payment-result[data-type="success"] {
  color: #16853a;
}

.payment-result[data-type="error"] {
  color: #c21d1d;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

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

  .main-nav {
    display: none;
  }

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

  .audience-panel {
    max-width: 560px;
  }

  .hero-machine {
    right: 28px;
    bottom: 102px;
    width: min(44vw, 380px);
    opacity: 0.9;
  }

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

  .catalog-toolbar > div:first-child {
    grid-column: 1 / -1;
  }

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

  .filters {
    position: static;
  }

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

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

@media (max-width: 760px) {
  .site-header {
    min-height: 66px;
    padding: 0 16px;
  }

  .phone-link {
    display: none;
  }

  .hero,
  .catalog-shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    min-height: 0;
    padding-top: 34px;
    padding-bottom: 190px;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 1.08;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .quick-stats {
    grid-template-columns: 1fr;
  }

  .quick-stats div {
    min-height: 82px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-stats div:last-child {
    border-bottom: 0;
  }

  .hero-product {
    display: grid;
    right: 16px;
    bottom: 22px;
    width: calc(100% - 32px);
    grid-template-columns: 100px 1fr;
  }

  .hero-machine {
    display: none;
  }

  .hero-product img {
    width: 100px;
    height: 82px;
  }

  .catalog-toolbar,
  .product-grid,
  .delivery-band,
  .contact-strip,
  .modal-layout {
    grid-template-columns: 1fr;
  }

  .filter-buttons {
    grid-template-columns: 1fr 1fr;
  }

  .product-card {
    grid-template-rows: 214px minmax(250px, 1fr) auto;
    min-height: 0;
  }

  .delivery-band,
  .contact-strip {
    margin-left: 16px;
    margin-right: 16px;
    padding: 22px;
  }

  .delivery-band ul {
    grid-template-columns: 1fr;
  }

  .modal-layout img {
    height: 260px;
  }
}

/* TSSP-style storefront */
body {
  background: #f5f7fa;
  color: #252525;
  font-family: "PT Root UI", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.35;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.header-inner {
  width: min(1270px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.top-bar {
  height: 50px;
  background: #252525;
  color: #ffffff;
}

.top-bar .header-inner {
  gap: 22px;
}

.city-button,
.top-phone,
.top-nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: inherit;
  font-size: 14px;
}

.city-button {
  min-width: 164px;
  padding: 0;
  border: 0;
  background: transparent;
  font-weight: 700;
}

.top-phone {
  font-weight: 700;
  white-space: nowrap;
}

.top-nav {
  display: flex;
  gap: 18px;
  margin-left: auto;
}

.top-nav a {
  color: #9aa3af;
  font-size: 13px;
  font-weight: 500;
}

.main-header {
  height: 94px;
  background: #ffd500;
}

.main-header .header-inner {
  gap: 20px;
}

.brand {
  flex: 0 0 318px;
  gap: 10px;
  color: #1f1f1f;
}

.brand-word {
  color: #1f1f1f;
  font-size: 48px;
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: 0;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 3px 7px;
  border-radius: 5px;
  background: #0076ff;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  line-height: 0.95;
}

.catalog-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 120px;
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  background: #252525;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.catalog-button svg {
  transition: transform 180ms ease;
}

.catalog-button.is-active {
  background: #0076ff;
}

.catalog-button.is-active svg {
  transform: rotate(90deg);
}

.header-search {
  flex: 1 1 460px;
  max-width: 462px;
  min-height: 42px;
  padding: 0 13px 0 20px;
  border: 0;
  border-radius: 10px;
  background: #ffffff;
  color: #252525;
}

.header-search input {
  min-height: 42px;
  padding: 0;
  font-size: 16px;
}

.header-search svg {
  color: #505050;
}

.header-actions {
  gap: 0;
  margin-left: auto;
}

.header-link {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  width: 97px;
  height: 94px;
  border: 0;
  background: transparent;
  color: #252525;
  font-size: 14px;
  font-weight: 500;
}

.header-link svg {
  width: 29px;
  height: 29px;
  stroke-width: 1.8;
}

.cart-link span {
  position: absolute;
  top: 18px;
  right: 22px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 99px;
  background: #0076ff;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  line-height: 19px;
}

.catalog-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: block;
  border: 0;
  background: rgba(15, 23, 42, 0.56);
  opacity: 0;
  visibility: hidden;
  cursor: default;
  transition:
    opacity 180ms ease,
    visibility 180ms ease;
}

.catalog-menu-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.top-bar,
.main-header {
  position: relative;
  z-index: 3;
}

.catalog-menu {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 2;
  max-height: calc(100vh - 144px);
  overflow-y: auto;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
  background: #ffffff;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition:
    opacity 180ms ease,
    visibility 180ms ease,
    transform 180ms ease;
}

.catalog-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.catalog-menu-inner {
  width: min(1270px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 24px;
}

.catalog-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e7ebf0;
}

.catalog-menu-head span {
  color: #0076ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-menu-head h2 {
  margin: 3px 0 0;
  color: #171717;
  font-size: 27px;
  line-height: 1.15;
}

.catalog-menu-all {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 9px;
  background: #ffd500;
  color: #202020;
  font-weight: 800;
}

.catalog-menu-all small {
  padding-left: 12px;
  border-left: 1px solid rgba(17, 24, 39, 0.2);
  color: #596170;
  font-size: 12px;
  font-weight: 700;
}

.catalog-menu-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.8fr 1fr 1.45fr;
  gap: 34px;
  padding: 24px 0;
}

.catalog-menu-group {
  min-width: 0;
}

.catalog-menu-group + .catalog-menu-group {
  padding-left: 28px;
  border-left: 1px solid #edf0f4;
}

.catalog-menu-group h3 {
  margin: 0 0 14px;
  color: #1f2937;
  font-size: 15px;
}

.catalog-menu-group > button,
.catalog-power-grid button,
.catalog-brand-grid button {
  width: 100%;
  padding: 7px 0;
  border: 0;
  background: transparent;
  color: #3f4650;
  text-align: left;
  transition:
    color 150ms ease,
    transform 150ms ease;
}

.catalog-menu-group > button:hover,
.catalog-power-grid button:hover,
.catalog-brand-grid button:hover {
  color: #0076ff;
  transform: translateX(3px);
}

.catalog-menu-group > button strong {
  display: block;
  color: #202020;
  font-size: 14px;
}

.catalog-menu-group > button:hover strong {
  color: #0076ff;
}

.catalog-menu-group > button span {
  display: block;
  margin-top: 1px;
  color: #858e9c;
  font-size: 12px;
}

.catalog-power-grid,
.catalog-brand-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px 16px;
}

.catalog-brand-grid {
  max-height: 240px;
  padding-right: 8px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.catalog-brand-grid button {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.catalog-brand-grid button span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-brand-grid button small {
  color: #9099a7;
  font-size: 11px;
}

.catalog-menu-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 20px;
  border-radius: 10px;
  background: #f2f6ff;
}

.catalog-menu-foot p {
  margin: 0;
  color: #536071;
  font-size: 14px;
}

.catalog-menu-foot a {
  color: #0076ff;
  font-size: 17px;
  font-weight: 800;
  white-space: nowrap;
}

.catalog-shell {
  width: min(1270px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 17px;
  color: #7b8794;
  font-size: 13px;
}

.breadcrumbs a {
  color: #7b8794;
}

.breadcrumbs span::before {
  content: "›";
  margin-right: 9px;
  color: #252525;
}

.category-title h1 {
  margin: 0 0 28px;
  color: #000000;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.mobile-filters-button,
.mobile-filters-backdrop,
.mobile-filters-head,
.mobile-filters-footer {
  display: none;
}

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

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

.filters {
  top: 164px;
  padding: 20px;
  border: 0;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: none;
}

.filter-group {
  padding: 0 0 20px;
  margin-bottom: 18px;
  border-bottom: 1px solid #edf0f4;
}

.filter-group h3 {
  margin-bottom: 14px;
  color: #252525;
  font-size: 15px;
  font-weight: 700;
  text-transform: none;
}

.filter-buttons {
  grid-template-columns: 1fr;
  gap: 10px;
}

.filter-chip {
  justify-content: flex-start;
  gap: 10px;
  min-height: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #3f4650;
  font-size: 14px;
  font-weight: 400;
}

.filter-chip::before {
  content: "";
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border: 1px solid #9aa6b2;
  border-radius: 3px;
  background: #ffffff;
}

.filter-chip.is-active {
  color: #0076ff;
  background: transparent;
}

.filter-chip.is-active::before {
  border-color: #0076ff;
  background: #0076ff;
  box-shadow: inset 0 0 0 3px #ffffff;
}

.brand-filter-buttons {
  grid-template-columns: 1fr;
  max-height: 340px;
  padding-right: 5px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.brand-filter-buttons .filter-chip {
  width: 100%;
}

.brand-filter-buttons .filter-chip span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-filter-buttons .filter-chip small {
  margin-left: auto;
  color: #8a94a3;
  font-size: 12px;
  font-weight: 600;
}

.brand-filter-buttons .filter-chip.is-active small {
  color: #0076ff;
}

.service-list {
  gap: 9px;
  color: #48515c;
}

.service-list li {
  grid-template-columns: 16px 1fr;
  font-size: 14px;
}

.service-list li::before {
  width: 8px;
  height: 8px;
  background: #ffd500;
  box-shadow: none;
}

.promo-creatives {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}

.promo-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: 12px;
  min-height: 150px;
  padding: 16px;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  background: #ffffff;
  color: #252525;
  text-align: left;
}

.promo-card div {
  display: grid;
  align-content: start;
  gap: 6px;
  min-width: 0;
}

.promo-card span {
  color: #0076ff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.promo-card strong {
  color: #000000;
  font-size: 17px;
  line-height: 1.12;
}

.promo-card p {
  margin: 0;
  color: #667085;
  font-size: 12px;
  line-height: 1.35;
}

.promo-card img {
  align-self: end;
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.promo-card-dark {
  background: #252525;
  color: #ffffff;
}

.promo-card-dark span,
.promo-card-dark p,
.promo-card-dark strong {
  color: #ffffff;
}

.promo-card-dark span {
  color: #ffd500;
}

.promo-card-blue {
  background: #0076ff;
}

.promo-card-blue span,
.promo-card-blue p,
.promo-card-blue strong {
  color: #ffffff;
}

.promo-card-blue span {
  color: #ffd500;
}

.category-tiles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 40px;
}

.category-tile {
  display: flex;
  min-width: 0;
  min-height: 242px;
  padding: 22px 16px 28px;
  border: 0;
  border-radius: 10px;
  background: #ffffff;
  color: #000000;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}

.category-tile img {
  width: 100%;
  height: 145px;
  object-fit: contain;
}

.category-tile strong {
  display: block;
  max-width: 150px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px;
  align-items: end;
  min-height: 128px;
  margin: 0 0 20px;
  padding: 20px;
  border-radius: 10px;
  background: #ffffff;
}

.catalog-toolbar p {
  grid-column: 1 / -1;
  margin: 0;
  padding-bottom: 17px;
  border-bottom: 1px solid #d7dde5;
  color: #828c98;
  font-size: 14px;
  font-weight: 700;
}

.toolbar-line {
  display: none;
}

.sort-field {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sort-field span {
  color: #828c98;
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
}

.sort-field select {
  width: 190px;
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: #f3f5f8;
  color: #252525;
  font-size: 14px;
}

.view-switch {
  display: flex;
  gap: 11px;
  align-items: center;
}

.view-switch span {
  width: 22px;
  height: 22px;
  border: 2px solid #8d98a6;
  border-radius: 4px;
}

.view-switch span:first-child {
  border-color: #0076ff;
  background:
    linear-gradient(#0076ff 0 0) left 3px top 3px / 6px 6px no-repeat,
    linear-gradient(#0076ff 0 0) right 3px top 3px / 6px 6px no-repeat,
    linear-gradient(#0076ff 0 0) left 3px bottom 3px / 6px 6px no-repeat,
    linear-gradient(#0076ff 0 0) right 3px bottom 3px / 6px 6px no-repeat;
}

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

.product-card {
  position: relative;
  display: flex;
  min-height: 434px;
  border: 0;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: none;
  flex-direction: column;
}

.product-card-tools {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  display: flex;
  gap: 6px;
}

.product-card-tools button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid #dce2ea;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.94);
  color: #626d7a;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.product-card-tools button:hover,
.product-card-tools button.is-active {
  border-color: #0076ff;
  background: #eef6ff;
  color: #0076ff;
}

.product-card-tools button[data-favorite].is-active svg {
  fill: #0076ff;
}

.product-card-tools svg {
  width: 17px;
  height: 17px;
}

.product-media {
  width: 100%;
  height: 235px;
  padding: 22px 14px 0;
  border: 0;
  background: #ffffff;
}

.product-media img {
  width: 100%;
  height: 205px;
  object-fit: contain;
}

.product-media.has-broken-image::after {
  width: min(180px, 80%);
  background: #f3f5f8;
}

.product-body {
  display: block;
  padding: 0 16px 12px;
}

.price-row {
  display: block;
  margin: 4px 0 14px;
}

.price {
  color: #000000;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.1;
}

.product-title {
  display: -webkit-box;
  width: 100%;
  min-height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #252525;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.18;
  text-align: left;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-code-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: #828c98;
  font-size: 13px;
}

.stock {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 16px;
  padding: 0 7px;
  border-radius: 99px;
  background: #10c44c;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  white-space: nowrap;
}

.stock::before {
  content: "✓";
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: 10px;
}

.product-actions {
  margin-top: auto;
  padding: 0 16px 16px;
}

.mini-button.blue {
  width: 100%;
  min-height: 32px;
  border: 0;
  border-radius: 8px;
  background: #0076ff;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.mini-button.blue.is-added {
  background: #16853a;
}

.mini-button.blue svg {
  width: 17px;
  height: 17px;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  margin-bottom: 4px;
}

.discount-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 6px;
  background: #ffec66;
  color: #151515;
  font-size: 12px;
  font-weight: 850;
}

.price-proof {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 20px;
  margin-bottom: 12px;
  font-size: 12px;
}

.price-proof del {
  color: #8c96a3;
}

.price-proof span {
  color: #16853a;
  font-weight: 800;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 22px;
  margin-top: 8px;
  color: #e6a500;
  font-size: 13px;
}

.product-rating strong {
  color: #252525;
}

.product-rating small {
  color: #707b89;
}

.product-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.product-card-specs span {
  min-height: 25px;
  padding: 5px 8px;
  border-radius: 6px;
  background: #f3f5f8;
  color: #46505c;
  font-size: 11px;
  font-weight: 750;
  line-height: 15px;
}

.card-delivery {
  display: grid;
  gap: 2px;
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px solid #edf0f4;
  font-size: 11px;
  line-height: 1.3;
}

.card-delivery strong {
  color: #16853a;
}

.card-delivery span {
  color: #707b89;
}

.product-card {
  min-height: 570px;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
}

.buy-now-button {
  width: 100%;
  min-height: 34px;
  border-color: #0076ff;
  color: #0066df;
  font-size: 12px;
}

.load-more-wrap {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 28px 0 8px;
}

.load-more-wrap[hidden] {
  display: none;
}

.load-more-wrap span {
  color: #7b8694;
  font-size: 13px;
}

.load-more-button {
  min-width: 220px;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid #0076ff;
  border-radius: 9px;
  background: #ffffff;
  color: #0066df;
  font-size: 14px;
  font-weight: 800;
}

.load-more-button:hover {
  background: #eef6ff;
}

.product-modal {
  width: min(1270px, calc(100% - 24px));
  max-height: calc(100vh - 24px);
  overflow: auto;
  border-radius: 10px;
  background: #f5f7fa;
}

.product-modal > .modal-close {
  position: sticky;
  top: 14px;
  float: right;
  margin: 14px 14px 0 0;
}

.modal-layout.product-page-view {
  display: block;
  padding: 28px 34px 36px;
}

.modal-breadcrumbs {
  margin-bottom: 18px;
  color: #252525;
  font-size: 14px;
}

.modal-breadcrumbs span {
  margin: 0 8px;
}

.product-page-view h2 {
  margin: 0 54px 22px 0;
  color: #000000;
  font-size: 28px;
  line-height: 1.15;
}

.product-status-line {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
  color: #252525;
  font-size: 15px;
}

.product-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 900px) 350px;
  gap: 20px;
  align-items: start;
}

.product-info-card {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: grid;
  grid-template-columns: minmax(0, 58%) minmax(300px, 42%);
  gap: 30px;
  min-height: 760px;
  padding: 24px;
  border-radius: 10px;
  background: #ffffff;
}

.product-detail-image {
  position: relative;
  display: grid;
  align-items: center;
}

.product-detail-image img {
  width: 100%;
  height: 500px;
  object-fit: contain;
}

.product-detail-image .stock {
  position: absolute;
  top: auto;
  right: auto;
  left: 0;
  bottom: 70px;
  min-height: 20px;
  font-size: 12px;
  line-height: 20px;
}

.product-code-row .stock {
  margin-left: auto;
}

.product-detail-info {
  padding-top: 2px;
}

.variant-box {
  display: grid;
  justify-items: start;
  gap: 13px;
  margin-bottom: 28px;
}

.variant-box strong {
  font-size: 14px;
}

.variant-box span {
  color: #444;
  font-size: 14px;
}

.variant-box button {
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid #0076ff;
  border-radius: 8px;
  background: #ffffff;
  color: #0076ff;
  font-size: 14px;
}

.detail-specs {
  display: grid;
  gap: 11px;
  margin: 0;
}

.detail-specs div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  color: #252525;
  font-size: 14px;
}

.detail-specs dt,
.detail-specs dd {
  margin: 0;
}

.detail-specs dd {
  font-weight: 700;
}

.all-specs-button {
  margin-top: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #0076ff;
  font-size: 14px;
  font-weight: 700;
}

.buy-card,
.package-card,
.detail-tabs {
  border-radius: 10px;
  background: #ffffff;
}

.buy-card {
  grid-column: 2;
  grid-row: 1;
  padding: 24px;
}

.detail-price {
  display: block;
  margin-bottom: 22px;
  color: #000000;
  font-size: 36px;
  line-height: 1;
}

.buy-card .primary-button {
  min-height: 50px;
  border: 0;
  border-radius: 14px;
  background: #0076ff;
  font-size: 16px;
}

.primary-button.is-added,
.primary-button.is-added:hover,
.buy-card .primary-button.is-added,
.buy-card .primary-button.is-added:hover {
  background: #16853a;
  box-shadow: 0 12px 28px rgba(22, 133, 58, 0.18);
}

.delivery-card {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed #d7dde5;
  font-size: 14px;
}

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

.delivery-card span {
  color: #0076ff;
  font-weight: 700;
}

.package-card {
  grid-column: 2;
  grid-row: 2;
  padding: 22px 24px;
}

.package-card h3 {
  margin: 0 0 14px;
  font-size: 18px;
}

.package-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 16px;
  font-size: 14px;
}

.detail-tabs {
  grid-column: 1;
  grid-row: 3;
  padding: 24px;
}

.tabs-head {
  display: flex;
  gap: 26px;
  margin-bottom: 18px;
  border-bottom: 1px solid #d7dde5;
  overflow-x: auto;
  scrollbar-width: thin;
}

.tabs-head button {
  position: relative;
  flex: 0 0 auto;
  padding: 0 0 14px;
  border: 0;
  background: transparent;
  color: #252525;
  font-size: 16px;
  white-space: nowrap;
}

.tabs-head .is-active {
  color: #0076ff;
  font-weight: 700;
}

.tabs-head .is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: #0076ff;
}

.tabs-head button:focus-visible {
  outline: 2px solid #0076ff;
  outline-offset: 4px;
}

.tab-panel[hidden] {
  display: none;
}

.tab-panel h3 {
  margin: 0 0 12px;
  color: #252525;
  font-size: 18px;
}

.tab-panel p {
  max-width: 760px;
  margin: 0;
  color: #4b5563;
  line-height: 1.6;
}

.tab-spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 34px;
  max-width: 820px;
  margin: 0;
}

.tab-spec-list div {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid #edf0f4;
}

.tab-spec-list dt,
.tab-spec-list dd {
  margin: 0;
}

.tab-spec-list dt {
  color: #667085;
}

.tab-spec-list dd {
  color: #252525;
  font-weight: 700;
  text-align: right;
}

.warranty-list {
  display: grid;
  gap: 9px;
  max-width: 760px;
  margin: 16px 0 0;
  padding-left: 20px;
  color: #4b5563;
}

@media (max-width: 760px) {
  .tabs-head {
    gap: 20px;
  }

  .tab-spec-list {
    grid-template-columns: 1fr;
  }
}

.delivery-band,
.contact-strip {
  width: min(1270px, calc(100% - 32px));
  margin: 0 auto 34px;
}

@media (max-width: 1180px) {
  .brand {
    flex-basis: 250px;
  }

  .brand-word {
    font-size: 38px;
  }

  .brand-badge {
    font-size: 10px;
  }

  .header-link {
    width: 76px;
  }

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

  .catalog-menu-group + .catalog-menu-group {
    padding-left: 0;
    border-left: 0;
  }

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

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

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

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

  .product-info-card,
  .buy-card,
  .package-card,
  .detail-tabs {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .cart-drawer {
    width: 100%;
    padding: 16px;
  }

  .cart-items {
    max-height: none;
    overflow: visible;
  }

  .cart-item {
    grid-template-columns: 82px minmax(0, 1fr) auto;
    min-height: 100px;
  }

  .cart-item img {
    width: 82px;
    height: 72px;
  }

  .top-bar {
    height: 44px;
  }

  .top-nav,
  .header-actions .header-link:not(.cart-link) {
    display: none;
  }

  .header-inner,
  .catalog-shell,
  .delivery-band,
  .contact-strip {
    width: calc(100% - 24px);
  }

  .top-bar .header-inner {
    justify-content: space-between;
    gap: 12px;
  }

  .city-button {
    min-width: 0;
  }

  .main-header {
    height: auto;
    padding: 12px 0;
  }

  .main-header .header-inner {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 10px;
  }

  .brand {
    flex-basis: auto;
  }

  .brand-word {
    font-size: 31px;
  }

  .brand-badge {
    display: none;
  }

  .catalog-button {
    grid-column: 2;
    grid-row: 1;
    width: 46px;
    min-height: 42px;
    font-size: 0;
  }

  .catalog-button span {
    display: none;
  }

  .header-actions {
    grid-column: 3;
    grid-row: 1;
    margin-left: 0;
  }

  .catalog-menu {
    max-height: calc(100vh - 162px);
  }

  .catalog-menu-inner {
    width: calc(100% - 24px);
    padding: 20px 0;
  }

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

  .catalog-menu-head h2 {
    font-size: 21px;
  }

  .catalog-menu-all {
    min-height: 42px;
    padding: 0 12px;
    font-size: 13px;
  }

  .catalog-menu-all small {
    display: none;
  }

  .catalog-menu-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .catalog-menu-group {
    padding-bottom: 20px;
    border-bottom: 1px solid #edf0f4;
  }

  .catalog-menu-group + .catalog-menu-group {
    padding-left: 0;
    border-left: 0;
  }

  .catalog-menu-group > button {
    padding: 8px 0;
  }

  .catalog-brand-grid {
    max-height: none;
    padding-right: 0;
    overflow: visible;
  }

  .catalog-menu-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .cart-link {
    width: 46px;
    height: 42px;
    font-size: 0;
  }

  .cart-link span {
    top: -5px;
    right: -5px;
  }

  .cart-form-grid {
    grid-template-columns: 1fr;
  }

  .header-search {
    grid-column: 1 / -1;
    max-width: none;
  }

  .catalog-shell {
    padding-top: 20px;
  }

  .category-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
  }

  .category-title h1 {
    margin: 0;
  }

  .mobile-filters-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 13px;
    border: 0;
    border-radius: 9px;
    background: #252525;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
  }

  .mobile-filters-button svg {
    width: 19px;
    height: 19px;
  }

  .mobile-filters-button span {
    display: inline-grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 99px;
    background: #0076ff;
    font-size: 11px;
    line-height: 20px;
  }

  .mobile-filters-button span[hidden] {
    display: none;
  }

  .mobile-filters-backdrop {
    position: fixed;
    inset: 0;
    z-index: 89;
    display: block;
    border: 0;
    background: rgba(15, 23, 42, 0.58);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 180ms ease,
      visibility 180ms ease;
  }

  .mobile-filters-backdrop.is-open {
    opacity: 1;
    visibility: visible;
  }

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

  .filters {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
    width: min(370px, calc(100% - 34px));
    height: 100dvh;
    padding: 0 20px 140px;
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 0 16px 16px 0;
    box-shadow: 18px 0 42px rgba(15, 23, 42, 0.22);
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-105%);
    transition:
      opacity 180ms ease,
      visibility 180ms ease,
      transform 220ms ease;
  }

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

  .mobile-filters-head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 -20px 20px;
    padding: 18px 20px;
    border-bottom: 1px solid #e7ebf0;
    background: #ffffff;
  }

  .mobile-filters-head div {
    display: grid;
    gap: 2px;
  }

  .mobile-filters-head strong {
    color: #171717;
    font-size: 21px;
  }

  .mobile-filters-head span {
    color: #7b8794;
    font-size: 12px;
  }

  .mobile-filters-head button {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid #d7dde5;
    border-radius: 9px;
    background: #ffffff;
    color: #252525;
  }

  .mobile-filters-head button svg {
    width: 20px;
    height: 20px;
  }

  .service-filter-group {
    display: none;
  }

  .mobile-filters-footer {
    position: fixed;
    right: auto;
    bottom: 48px;
    left: 0;
    z-index: 3;
    width: 100%;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    padding: 14px 20px;
    border-top: 1px solid #e1e6ed;
    border-radius: 0 0 16px;
    background: #ffffff;
    box-shadow: 0 -10px 24px rgba(15, 23, 42, 0.08);
  }

  .mobile-filters-reset,
  .mobile-filters-apply {
    min-height: 48px;
    padding: 0 16px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 750;
  }

  .mobile-filters-reset {
    border: 1px solid #cfd6df;
    background: #ffffff;
    color: #3f4650;
  }

  .mobile-filters-apply {
    border: 0;
    background: #0076ff;
    color: #ffffff;
  }

  .mobile-filters-apply span {
    white-space: nowrap;
  }

  .filter-buttons {
    grid-template-columns: 1fr 1fr;
  }

  .brand-filter-buttons {
    grid-template-columns: 1fr 1fr;
    max-height: none;
    padding-right: 0;
    overflow: visible;
  }

  .promo-creatives {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 8px;
  }

  .promo-card-dark,
  .promo-card-blue {
    display: none;
  }

  .promo-card {
    grid-template-columns: minmax(0, 1fr) 62px;
    gap: 6px;
    min-height: 118px;
    padding: 12px;
  }

  .promo-card img {
    align-self: end;
    width: 62px;
    height: 62px;
  }

  .promo-card p {
    display: none;
  }

  .promo-card strong {
    font-size: 15px;
  }

  .category-tiles {
    display: flex;
    gap: 8px;
    margin: 0 -12px 12px;
    padding: 0 12px 4px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

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

  .category-tile {
    flex: 0 0 128px;
    min-height: 105px;
    padding: 9px 8px 11px;
    scroll-snap-align: start;
  }

  .category-tile img {
    height: 62px;
  }

  .category-tile strong {
    font-size: 12px;
  }

  .catalog-toolbar {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 16px;
  }

  .catalog-toolbar p {
    padding-bottom: 12px;
  }

  .saved-tools {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .saved-tools button {
    justify-content: center;
    min-width: 0;
    padding: 0 8px;
    font-size: 12px;
  }

  .sort-field {
    justify-content: space-between;
  }

  .view-switch {
    display: none;
  }

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

  .product-card {
    min-height: 505px;
  }

  .product-card-tools {
    top: 7px;
    right: 7px;
  }

  .product-card-tools button {
    width: 31px;
    height: 31px;
  }

  .product-media {
    height: 170px;
    padding: 14px 10px 0;
  }

  .product-media img {
    height: 150px;
  }

  .price {
    font-size: 18px;
  }

  .product-body {
    padding: 0 12px 10px;
  }

  .product-actions {
    gap: 6px;
    padding: 0 12px 12px;
  }

  .product-code-row {
    flex-wrap: wrap;
    margin-top: 9px;
  }

  .discount-badge {
    min-height: 21px;
    padding: 0 6px;
    font-size: 10px;
  }

  .price-proof {
    display: grid;
    gap: 2px;
    margin-bottom: 9px;
    font-size: 10px;
  }

  .product-card-specs {
    gap: 4px;
    margin-top: 8px;
  }

  .product-card-specs span {
    min-height: 22px;
    padding: 4px 6px;
    font-size: 10px;
  }

  .card-delivery {
    font-size: 10px;
  }

  .mini-button.blue,
  .buy-now-button {
    min-height: 36px;
    padding: 0 6px;
    font-size: 11px;
  }

  .load-more-wrap {
    padding-top: 20px;
  }

  .load-more-button {
    width: 100%;
  }

  .compare-modal {
    width: 100%;
    max-height: 100dvh;
    margin: auto 0 0;
    border-radius: 16px 16px 0 0;
  }

  .compare-content {
    padding: 22px 14px 26px;
  }

  .compare-head h2,
  .compare-empty h2 {
    font-size: 23px;
  }

  .compare-table {
    min-width: 650px;
  }

  .compare-table thead th:first-child,
  .compare-table tbody th {
    width: 125px;
  }

  .compare-table thead img {
    height: 120px;
  }

  .modal-layout.product-page-view {
    padding: 22px 14px 24px;
  }

  .product-page-view h2 {
    font-size: 24px;
  }

  .product-status-line {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-info-card {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 16px;
  }

  .product-detail-image img {
    height: 300px;
  }

  .product-detail-image .stock {
    bottom: 18px;
  }

  .detail-price {
    font-size: 30px;
  }
}

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