:root {
  --bg: #f4f4f5;
  --surface: #ffffff;
  --surface-alt: #f1f2f4;
  --text: #111111;
  --muted: #646b76;
  --line: #d9dde2;
  --brand: #e11f26;
  --brand-dark: #b60f16;
  --brand-soft: #fff1f2;
  --success: #e11f26;
  --shadow: 0 18px 50px rgba(17, 17, 17, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --container: 1360px;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--text);
  overflow-x: hidden;
  background: linear-gradient(180deg, #f9fafb 0%, #f3f5f7 30%, #edf1f4 100%);
}
a { color: inherit; text-decoration: none; }
img {
  max-width: 100%;
  display: block;
  background: transparent;
  transition: opacity .24s ease, filter .24s ease;
}

img.is-lazy-loading {
  opacity: .01;
  filter: saturate(.9);
}
img.is-lazy-ready {
  opacity: 1;
  filter: none;
}
button, input, select, textarea { font: inherit; }
i[class^="fa"], i[class*=" fa"] { line-height: 1; }
.container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; }

.bgw{background:#fff;}

.mt-2{margin-top: 12px;}
.mb-2{margin-bottom: 12px;}

.topbar { border-bottom: 1px solid rgba(217,221,226,.84); background: rgba(255,255,255,.92); backdrop-filter: blur(12px);z-index: 20;
    position: relative; }
.topbar-inner, .breadcrumbs, .meta-row, .header-actions, .nav-list, .card-badges, .footer-meta, .hero-actions, .summary-actions, .cart-actions, .auth-actions, .chips, .tab-list {
  display: flex; flex-wrap: wrap; gap: 12px;
}
.topbar-inner { justify-content: space-between; padding: 10px 0; color: var(--muted); font-size: 14px; }
.topbar-label {
  color: var(--text);
  font-weight: 700;
}
.topbar-value {
  color: var(--muted);
  white-space: nowrap;
  font-weight: 600;
}
.topbar-right {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  justify-content: flex-end;
}
.topbar-phone {
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
  transition: color .2s ease, opacity .2s ease;
}
.topbar-email {
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
  transition: color .2s ease, opacity .2s ease;
}
.topbar-phone:hover {
  color: var(--brand-dark);
}
.topbar-email:hover {
  color: #374151;
}
.topbar-socials {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.topbar-social {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid rgba(17,17,17,.08);
  box-shadow: 0 10px 24px rgba(17,17,17,.08);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.topbar-social:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(17,17,17,.12);
  filter: saturate(1.05);
}
.topbar-social img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  background: transparent;
}
.topbar-social img[alt="MAX"] {
  width: 22px;
  height: 22px;
  border-radius: 999px;
}
.site-header {
    position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94);
    backdrop-filter: blur(14px); border-bottom: 1px solid rgba(219,226,234,.85);
  }
.has-catalog-open .site-header {
  z-index: 42;
}
.site-header.scrolled { box-shadow: 0 14px 34px rgba(17,17,17,.08); }
.site-header .container { position: relative; z-index: 20; }
.header-main {
  display: grid; grid-template-columns: auto 146px minmax(420px, 1fr) auto auto; align-items: center;
  gap: 14px; padding: 18px 0 12px;
}
.mobile-toggle {
  display: none; width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface);
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 20px; letter-spacing: .02em; min-width: 0; }
.brand-logo {
  display: block;
  width: clamp(240px, 20vw, 360px);
  height: auto;
  max-height: 72px;
  object-fit: contain;
  background: transparent;
}
.catalog-trigger, .btn, .pill { border: 0; border-radius: 16px; cursor: pointer; }
.catalog-trigger, .header-action, .searchbar button, .mobile-toggle, .carousel-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.mobile-toggle { display: none; }
.catalog-trigger, .btn, .pill, .header-action, .searchbar button, .mobile-toggle, .carousel-arrow, .tab-button {
  transition: background-color .2s ease, filter .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.catalog-trigger {
  min-height: 50px;
  padding: 14px 20px;
  background: linear-gradient(180deg,#272d36,#171b21);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(17,17,17,.16);
}
.catalog-trigger:hover,
.searchbar button:hover,
.btn-primary:hover {
  filter: brightness(.88);
}
.btn:hover,
.pill:hover,
.header-action:hover,
.mobile-toggle:hover,
.carousel-arrow:hover,
.tab-button:hover {
  filter: brightness(.94);
}
.catalog-trigger:hover,
.btn:hover,
.pill:hover,
.header-action:hover,
.searchbar button:hover,
.mobile-toggle:hover,
.carousel-arrow:hover,
.tab-button:hover {
  box-shadow: 0 16px 32px rgba(15,23,42,.12);
}
.searchbar {
    display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid rgba(17,17,17,.08);
    min-height: 54px; padding: 2px 2px 2px 10px; border-radius: 18px 18px 18px 18px; min-width: 0; position: relative;
  }
.searchbar input { flex: 1; border: 0; outline: 0; background: transparent; min-width: 0; }
.searchbar button, .btn-primary { background: linear-gradient(135deg,#eb232b,#c8141c); color: #fff; }
.searchbar button { border: 0; width: 42px; min-width: 42px; height: 42px; padding: 0; border-radius: 12px 12px 12px 12px; font-weight: 700; }
.live-search-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(219,226,234,.92);
    border-radius: 20px;
    box-shadow: 0 20px 45px rgba(15,23,42,.14);
    padding: 10px;
    z-index: 25;
    max-height: min(68vh, 520px);
    overflow: auto;
}
.live-search-dropdown[hidden] {
    display: none !important;
}
.live-search-item {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 16px;
}
.live-search-item:hover {
    background: #f8fafc;
}
.live-search-thumb {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(219,226,234,.92);
}
.live-search-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}
.live-search-copy {
    min-width: 0;
    display: grid;
    gap: 4px;
}
.live-search-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
}
.live-search-brand {
    font-size: 12px;
    color: var(--muted);
}
.live-search-price {
    text-align: right;
    white-space: nowrap;
    display: grid;
    gap: 4px;
}
.live-search-price strong {
    font-size: 15px;
}
.live-search-price span {
    font-size: 12px;
    color: var(--muted);
    text-decoration: line-through;
}
.live-search-empty,
.live-search-footer {
    padding: 12px 14px;
    color: var(--muted);
    font-size: 14px;
}
.live-search-footer {
    border-top: 1px solid rgba(219,226,234,.82);
    margin-top: 6px;
}
.live-search-history {
    display: grid;
    gap: 2px;
}
.live-search-history-title {
    padding: 8px 10px 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.live-search-history-item {
display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    min-height: 44px;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 0 12px !important;
    border-radius: 14px !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    filter: none !important;
    color: var(--text) !important;
    cursor: pointer;
    text-align: left;
  }
.live-search-history-item:hover {
    background: #f8fafc !important;
    box-shadow: none !important;
  }
.live-search-history-item strong {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
.live-search-history-item span {
    flex: 0 0 auto;
    margin-left: auto;
    color: var(--muted);
    font-size: 12px;
  }
.header-action {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 4px 10px; border: 0;
  background: transparent; border-radius: 16px 16px 6px 6px; color: var(--muted); min-width: 78px; font-size: 13px;
}
.header-actions {
  justify-content: flex-end;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 2px;
}
.header-action { white-space: nowrap; }
.header-action i { font-size: 18px; color: #1f1f1f; }
.header-action-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}
.header-action span:not(.badge) { line-height: 1; }
.header-auth-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  height: 54px;
  padding: 0 18px;
  border-radius: 18px 18px 18px 18px;
  background: #f7f7f8;
  color: var(--text);
  font-weight: 700;
  border: 1px solid rgba(17,17,17,.08);
  transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.header-auth-button:hover { background: #efeff1; box-shadow: 0 16px 32px rgba(17,17,17,.08); }
.badge {
  min-width: 22px; padding: 3px 7px; border-radius: 999px; background: var(--brand-soft);
  color: var(--brand-dark); font-size: 12px; font-weight: 700; text-align: center;
}
.header-action .badge {
  position: absolute;
  top: -9px;
  right: -13px;
  min-width: 18px;
  padding: 1px 5px;
  font-size: 11px;
  line-height: 1.2;
}
.header-nav {
  padding: 0 0 16px;
  border-top: 1px solid rgba(219,226,234,.85);
}
.nav-list {
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 10px;
  padding-top: 10px;
  scrollbar-width: none;
}
.nav-list::-webkit-scrollbar { display: none; }
.nav-list a {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 9px 16px;
  background: linear-gradient(180deg, rgba(246,248,251,.98), rgba(239,243,247,.98));
  border: 1px solid rgba(226,232,240,.96);
  border-radius: 14px;
  color: #5b6470;
  font-weight: 500;
}
.catalog-menu {
  display: none;
  position: fixed;
  top: var(--catalog-top, 140px);
  left: var(--catalog-left, 0px);
  right: var(--catalog-right, 0px);
  bottom: 14px;
  z-index: 41;
}
.catalog-menu.open {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.catalog-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.16);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
  z-index: 15;
}
.catalog-overlay.show {
  opacity: 1;
  pointer-events: auto;
}
.catalog-layout-menu {
  display: grid;
  grid-template-columns: 304px minmax(0, 1fr);
  min-height: 100%;
  max-height: inherit;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(226,232,240,.96);
  box-shadow: 0 26px 70px rgba(15,23,42,.18);
}
.catalog-sidebar {
  padding: 12px;
  background: linear-gradient(180deg, #fbfcfd 0%, #f5f8fb 100%);
  border-right: 1px solid rgba(226,232,240,.96);
}
.catalog-sidebar-list {
  display: grid;
  gap: 6px;
  max-height: calc(100svh - var(--catalog-top, 140px) - 58px);
  overflow: auto;
  padding-right: 6px;
}
.catalog-side-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 0;
  border-radius: 8px;
  color: #1f2937;
  background: transparent;
  text-align: left;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.catalog-side-item:hover,
.catalog-side-item.active {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
  color: #d93025;
  transform: translateX(3px);
}
.catalog-side-meta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  font-size: 16px;
  font-weight: 500;
}
.catalog-side-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: transparent;
  color: #e11f26;
  flex: 0 0 auto;
}
.catalog-side-icon i { font-size: 16px; }
.catalog-side-thumb {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  overflow: hidden;
  border: 0;
  background: transparent;
  flex: 0 0 auto;
}
.catalog-side-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.catalog-side-arrow {
  color: #ef4444;
  font-size: 14px;
}
.catalog-main {
  padding: 18px 22px 22px;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: auto;
  background:
    radial-gradient(circle at 85% 14%, rgba(225,31,38,.05), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #fdfefe 100%);
}
.catalog-main.is-idle .catalog-panel {
  display: none !important;
}
.catalog-main-placeholder {
  display: none;
  min-height: 100%;
  align-items: center;
  justify-content: center;
  padding: 56px 32px;
  color: #64748b;
  font-size: 17px;
  line-height: 1.5;
  text-align: center;
}
.catalog-main.is-idle .catalog-main-placeholder {
  display: flex;
}
.catalog-panel {
  display: none;
}
.catalog-panel.active {
  display: block;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 28px;
  min-width: 0;
}
.catalog-column {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
}
.catalog-link {
  display: block;
  color: #374151;
  line-height: 1.4;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.catalog-link-count {
  color: #94a3b8;
  font-weight: 400;
  margin-left: 6px;
}
.catalog-link:hover {
  color: #d93025;
}
.catalog-link strong {
  font-weight: 600;
  font-size: 17px;
  line-height: 1.35;
}
.catalog-link--child {
  padding-left: 30px;
  font-size: 14px;
  color: #6b7280;
}
.catalog-branch {
  display: grid;
  gap: 8px;
  padding: 6px 0;
}
.catalog-branch-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 8px;
}
.catalog-branch-toggle {
  width: 22px;
  height: 22px;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  background: #fff;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  margin-top: 2px;
}
.catalog-branch-toggle:hover,
.catalog-branch-toggle.is-open {
  border-color: #ef4444;
  color: #ef4444;
  background: #fff5f5;
}
.catalog-branch-children {
  display: grid;
  gap: 8px;
  padding-top: 4px;
}
.nav-list a, .pill {
  padding: 10px 14px; background: rgba(238,242,246,.8); border: 1px solid transparent;
  color: var(--muted); transition: .2s ease;
}
.topbar-link-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.nav-list a:hover, .pill:hover { background: #fff; border-color: var(--line); color: var(--text); }
.hero, .section { padding: 24px 0; }
.hero-grid, .quick-grid, .categories-grid, .products-grid, .catalog-layout, .product-layout, .news-layout, .cart-layout, .checkout-layout, .auth-grid, .account-layout, .footer-grid, .feature-grid, .benefits-grid, .gallery-thumbs, .form-grid, .promo-grid, .brands-grid {
  display: grid; gap: 20px;
}
.hero-grid { grid-template-columns: 1.35fr .8fr; }
.hero-slider { position: relative; overflow: hidden; display: flex; flex-direction: column; height: 100%; }
.hero-slider--wide {
  display: block;
  overflow: hidden;
}
.hero-slides { display: flex; transition: transform .45s ease; }
.hero-slide { min-width: 100%; cursor: pointer; }
[data-hero-animation="fade"] .hero-slides,
[data-hero-animation="zoom"] .hero-slides {
  display: block;
  position: relative;
}
[data-hero-animation="fade"] .hero-slide,
[data-hero-animation="zoom"] .hero-slide {
  min-width: 0;
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .55s ease, transform .65s ease;
}
[data-hero-animation="fade"] .hero-slide.is-active,
[data-hero-animation="zoom"] .hero-slide.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
[data-hero-animation="zoom"] .hero-slide {
  transform: scale(1.035);
}
[data-hero-animation="zoom"] .hero-slide.is-active {
  transform: scale(1);
}
.hero-controls {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 24px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.hero-dots { display: flex; gap: 8px; }
.hero-dot {
  width: 10px; height: 10px; padding: 0; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(100,116,139,.35);
}
.hero-dot.active { width: 28px; background: linear-gradient(135deg,#f12c33,#c4121a); }
.carousel-shell { position: relative; }
.carousel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 80px) / 5);
  gap: 20px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none;
}
.categories-carousel-track {
  grid-auto-columns: calc((100% - 60px) / 4);
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-actions { display: flex; gap: 10px; }
.carousel-arrow {
  width: 48px; height: 48px; border-radius: 16px; border: 1px solid var(--line);
  background: rgba(255,255,255,.96); cursor: pointer;
}
.carousel-arrow-floating {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  border: 1px solid rgba(219,226,234,.96);
  background: rgba(255,255,255,.98);
  box-shadow: 0 16px 32px rgba(15,23,42,.12);
}
.carousel-arrow-floating.prev { left: -18px; }
.carousel-arrow-floating.next { right: -18px; }
.hero-main, .panel, .product-summary, .news-card, .article-card, .cart-list, .summary-box, .checkout-card, .auth-card, .account-card, .feature-card, .benefit-card, .quick-card, .category-card, .product-card {
  background: rgba(255,255,255,.97); border: 1px solid rgba(17,17,17,.06); border-radius: var(--radius-xl); box-shadow: var(--shadow);
}
.card-actions-inline,
.product-secondary-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.action-icon-button {
  width: 100%;
  min-height: 48px;
  padding: 0;
  border-radius: 16px;
  border: 1px solid rgba(17,17,17,.08);
  background: #fff;
  color: #374151;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.action-icon-button i {
  font-size: 18px;
  color: currentColor;
}
.action-icon-button.is-active {
  color: var(--brand);
  border-color: rgba(217,48,37,.28);
  background: #fff5f5;
}
.action-icon-button:hover {
  color: #111827;
}
.action-icon-button.is-active:hover {
  color: var(--brand-dark);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.mini-form {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.hero-banner-card {
  padding: 0;
  overflow: hidden;
}
.hero-banner-card img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.hero-main {
  min-height: 500px; position: relative; overflow: hidden; color: #fff; padding: 0;
  background:
    radial-gradient(circle at 14% 18%,rgba(255,255,255,.12),transparent 18%),
    radial-gradient(circle at 88% 22%,rgba(255,255,255,.08),transparent 22%),
    var(--hero-bg-image, none) center/cover no-repeat,
    linear-gradient(135deg,var(--hero-bg-from, #18212d) 0%, var(--hero-bg-to, #415970) 100%);
}
.hero-main::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: 64px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
}

.hero-main {
  min-height: clamp(380px, 35vw, var(--hero-height-desktop, 440px));
}
.hero-inner {
  position: relative;
  min-height: clamp(380px, 35vw, var(--hero-height-desktop, 440px));
  display: block;
  padding: 18px 0;
}
.hero-content-shell {
  position: relative;
  z-index: 2;
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 65%) minmax(0, 35%);
  align-items: stretch;
  gap: 20px;
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: var(--hero-copy-width, 620px);
  min-width: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0 82px 18px;
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.24);
  color: var(--hero-text-color, #ffffff);
  transform: translate(var(--hero-copy-offset-x, 0), var(--hero-copy-offset-y, 0));
}
.hero-copy--center {
  margin-inline: auto;
  text-align: center;
  align-items: center;
}
.hero-copy--right {
  margin-left: auto;
  text-align: right;
  align-items: flex-end;
}
.hero-copy--left {
  text-align: left;
  align-items: flex-start;
}
.hero-copy h1,
.hero-copy .hero-rich-text,
.hero-copy .eyebrow {
  color: inherit;
}
.hero-copy h1 {
  font-family: var(--hero-title-font-family, "Trebuchet MS", "Segoe UI", sans-serif);
  font-size: clamp(32px,4.4vw,var(--hero-title-size,62px));
}
.hero-rich-text {
  font-family: var(--hero-text-font-family, "Trebuchet MS", "Segoe UI", sans-serif);
  font-size: clamp(16px,1.6vw,var(--hero-text-size,20px));
  line-height: 1.5;
  opacity: .94;
}
.hero-rich-text > *:first-child {
  margin-top: 0;
}
.hero-rich-text > *:last-child {
  margin-bottom: 0;
}
.hero-rich-text p,
.hero-rich-text li {
  line-height: 1.5;
}

.hero-actions {
  margin-top: auto;
  padding-top: 26px;
}
.hero-actions .btn-primary {
  background: var(--hero-button-bg, linear-gradient(135deg,#eb232b,#c8141c));
  color: var(--hero-button-text-color, #ffffff);
}
.hero-actions .btn-secondary {
  border-color: transparent;
  background: var(--hero-secondary-button-bg, rgba(255,255,255,.08));
  color: var(--hero-secondary-button-text-color, #ffffff);
}
.hero-media {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  z-index: 1;
}
.hero-media-frame {
  width: min(100%, 720px);
  height: calc(100% - 34px);
  margin: 14px 22px 72px 0;
  background: var(--hero-media-frame-bg, #ffffff);
  border-radius: var(--hero-media-frame-radius, 44px);
  transform: rotate(var(--hero-media-frame-rotate, -12deg));
  box-shadow: var(--hero-media-frame-shadow, 0 30px 64px rgba(17,17,17,.18));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-media img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  transform: translate(var(--hero-media-offset-x, 0), var(--hero-media-offset-y, 0)) rotate(calc(var(--hero-media-frame-rotate, -12deg) * -1)) scale(var(--hero-media-scale, 1.04));
  background: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 9px 14px; border-radius: 999px;
  background: rgba(255,255,255,.12); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.hero h1, .page-title h1 { margin: 0 0 16px; line-height: .98; }
.hero p, .page-title p { margin: 0; opacity: .94; line-height: 1.42; }
.btn { padding: 14px 20px; font-weight: 700; }
.btn-secondary { border: 1px solid rgba(255,255,255,.20); background: rgba(255,255,255,.08); color: inherit; }
.hero-arrow {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: #fff;
  box-shadow: none;
}
.hero-arrow:hover {
  background: rgba(255,255,255,.14);
}
.hero-side, .sidebar, .checkout-sidebar { display: grid; gap: 18px; }
.stat-card, .small-card, .filter-block, .support-box { padding: 20px; border-radius: 22px; background: linear-gradient(180deg,#fff9f9,#ffffff); border: 1px solid rgba(225,31,38,.14); }
.stat-card strong { display: block; margin-top: 8px; font-size: 30px; }
.quick-grid { grid-template-columns: repeat(4,1fr); }
.quick-card, .feature-card, .benefit-card, .category-card, .product-card, .small-card, .promo-card, .brand-card { padding: 22px; }
.quick-card .icon, .feature-icon {
  width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center;
  background: linear-gradient(135deg,#fff1f2,#fff9f9); color: var(--brand-dark); font-weight: 800;
}
.section-head--tight { margin-bottom: 16px; }
.business-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) 1.7fr;
  gap: 16px;
}
.business-card,
.business-hero {
  border-radius: 24px 24px 24px 24px;
  border: 1px solid rgba(219,226,234,.92);
  box-shadow: var(--shadow);
}
.business-card {
  min-height: 206px;
  padding: 20px 18px;
  background: linear-gradient(180deg,#fff,#fafafa);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.business-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: #111827;
  background: #fff4f5;
  border: 1px solid rgba(225,31,38,.12);
}
.business-icon i {
  font-size: 20px;
}
.business-card h3 {
  margin: 0 0 auto;
  font-size: 24px;
  line-height: 1.22;
}
.business-card a {
  margin-top: 18px;
  color: #94a3b8;
  font-weight: 600;
}
.business-hero {
  position: relative;
  overflow: hidden;
  min-height: 206px;
  padding: 26px 230px 24px 24px;
  background: linear-gradient(135deg,#24303d,#161d26 58%,#31465d 100%);
  color: #fff;
}
.business-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 5px;
  background: linear-gradient(90deg,#d93025,#b91c1c);
}
.business-hero-copy {
  position: relative;
  z-index: 1;
}
.business-hero h3 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.1;
}
.business-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  color: rgba(255,255,255,.86);
}
.business-list li {
  position: relative;
  padding-left: 16px;
}
.business-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(255,255,255,.6);
}
.business-hero-media {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 220px;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  background: linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.14));
}
.business-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 18px; }
.section-head h2 { margin: 0 0 10px; font-size: 32px; }
.categories-grid { grid-template-columns: repeat(5,1fr); }
.promo-grid { grid-template-columns: repeat(3,1fr); }
.brands-grid { grid-template-columns: repeat(6,1fr); }
.brand-carousel-track {
  grid-auto-columns: calc((100% - 48px) / 4);
  padding: 8px 2px;
}
.hits-track {
  grid-auto-columns: calc((100% - 54px) / 4);
}
.product-card--hit {
  min-width: 0;
}
.category-card {
  min-height: 210px;
  background: radial-gradient(circle at top right,rgba(148,163,184,.11),transparent 24%), linear-gradient(180deg,#fff,#f8fafc);
}
.illustration.real {
  padding: 0;
  overflow: hidden;
  background: linear-gradient(135deg,#ffffff,#f8fafc);
}
.illustration.real img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
   background: #fff;
}
.promo-strip-sale {
  position: relative;
  padding: 18px 18px 16px;
  border-radius: 28px;
  background: linear-gradient(180deg,#15100f,#26100d 70%,#401307 100%);
  box-shadow: 0 28px 56px rgba(34,12,6,.26);
  overflow: hidden;
}
.promo-strip-sale::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 6px;
  background: linear-gradient(90deg,#d93025,#b91c1c);
}
.promo-strip-sale-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  color: #fff;
}
.promo-strip-sale-head h2 { margin: 3px 0 0; color: #fff; font-size: 18px; line-height: 1.15; }
.promo-strip-sale-date { color: rgba(255,255,255,.72); font-size: 12px; font-weight: 600; }
.promo-strip-sale-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  color: #171717;
  font-weight: 700;
  font-size: 12px;
}
.promo-strip-sale-track { grid-auto-columns: calc((100% - 120px) / 7); }
.promo-strip-sale-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-10%);
  z-index: 2;
}
.promo-strip-sale-arrow.prev { left: 12px; }
.promo-strip-sale-arrow.next { right: 12px; }
.sale-card {
  position: relative;
  padding: 8px 8px 10px;
  border-radius: 16px;
  background: #fff;
  min-height: 100%;
}
.sale-card-media {
  display: block;
  height: 92px;
  border-radius: 12px;
  background: linear-gradient(135deg,#fff4ea,#fff);
  overflow: hidden;
  margin-bottom: 8px;
}
.sale-card-media.real img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
   background: #fff;
}
.sale-card-badge {
  position: absolute;
  left: 8px;
  top: 86px;
  display: inline-flex;
  align-items: center;
  padding: 3px 7px;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
.sale-card-prices {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 12px 0 6px;
}
.sale-card-prices strong { font-size: 18px; line-height: 1; }
.sale-card-prices span {
  color: #8b95a3;
  text-decoration: line-through;
  font-size: 11px;
}
.sale-card h3 {
  margin: 0;
  font-size: 12px;
  line-height: 1.3;
}
.sale-card h3 a { color: var(--ink); }
.promo-card {
  min-height: 220px;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.26), transparent 24%),
    linear-gradient(135deg, #ef4444, #d93025 58%, #b91c1c);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.promo-card--image {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.promo-card-media {
  height: 160px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,.18);
}
.promo-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.promo-date {
  font-size: 13px;
  opacity: .86;
}
.promo-card-link {
  margin-top: auto;
  width: fit-content;
}
.promo-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
}
.promo-badge--new {
  background: rgba(34,197,94,.18);
}
.promo-badge--soon {
  background: rgba(250,204,21,.22);
  color: #fff7d6;
}
.promo-badge--archive {
  background: rgba(15,23,42,.34);
}
.promo-card.light {
  background:
    radial-gradient(circle at top right, rgba(217,48,37,.12), transparent 24%),
    linear-gradient(180deg, #fff7f7, #ffffff);
  color: var(--text);
}
.promo-card::after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -30px;
  width: 140px;
  height: 140px;
  border-radius: 28px;
  transform: rotate(-18deg);
  background: rgba(255,255,255,.2);
}
.promo-card.light::after {
  background: rgba(217,48,37,.12);
}
.promo-card h3,
.brand-card h3 {
  margin: 0 0 10px;
}
.brand-card {
  min-height: auto;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  min-width: 0;
}
.brand-mark-box {
  width: 100%;
  min-height: 78px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  display: grid;
  place-items: center;
}
.brand-mark-box img {
  width: 100%;
  height: 72px;
  object-fit: contain;
}
.illustration, .product-media, .news-thumb, .article-hero, .promo-block, .gallery-main, .thumb, .cart-thumb {
  border-radius: 24px; overflow: hidden; position: relative;
}
.product-media img,
.news-thumb img,
.article-hero img,
.gallery-main img,
.thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
  }
.news-thumb.real,
.article-hero.real {
  background: #fff;
}
.news-thumb.real img,
.article-hero.real img {
  object-fit: contain;
  background: #fff;
}
.hero-main.has-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17,17,17,.2) 0%, rgba(17,17,17,.08) 100%);
}
.illustration { margin-top: 18px; background: #fff; display:grid; place-items:center; }
.illustration img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #fff;
  padding: 10px;
}
.cards-grid, .products-grid { grid-template-columns: repeat(4,1fr); }
.product-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}
.products-grid > .product-card,
.hits-track > .product-card {
  align-self: stretch;
}
.product-card .product-media {
  flex: 0 0 auto;
}
.product-card .product-media img {
  object-position: center;
  padding: 12px;
  background: #fff;
}
.product-card .card-badges,
.product-card .price-row,
.product-card .meta-row {
  flex: 0 0 auto;
}
.product-card .card-title {
  flex: 1 1 auto;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.3em * 3);
}
.product-card .btn,
.product-card .pill {
  margin-top: auto;
}
.product-media { height: 220px; background: #fff; }
.product-media.real::after,
.news-thumb.real::after,
.article-hero.real::after,
.gallery-main.real::after,
.thumb.real::after {
  display: none;
}
.product-media::after, .news-thumb::after, .article-hero::after, .gallery-main::after {
  content: ""; position: absolute; inset: 18px; border-radius: 24px; background-repeat: no-repeat; background-position: center; background-size: contain;
}
.product-media.tool-drill::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 220'%3E%3Cpath fill='%231f2937' d='M169 89h63c14 0 26 12 26 26v8h-89z'/%3E%3Cpath fill='%23d93025' d='M97 71h91c22 0 40 18 40 40v5H97c-16 0-29-13-29-29v-1c0-8 4-15 10-20l19-15z'/%3E%3Cpath fill='%231f2937' d='M67 112h107v24H67z'/%3E%3Cpath fill='%23334155' d='M149 133h32v61c0 8-7 15-15 15h-2c-8 0-15-7-15-15z'/%3E%3Ccircle fill='%23fff' cx='103' cy='95' r='10'/%3E%3Crect fill='%23cfd8e3' x='220' y='95' width='30' height='12' rx='4'/%3E%3C/svg%3E"); }
.product-media.tool-saw::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 220'%3E%3Ccircle fill='%23334155' cx='150' cy='112' r='64'/%3E%3Ccircle fill='%23fff' cx='150' cy='112' r='18'/%3E%3Cpath fill='%23d93025' d='M77 82h93l42 21-17 25H61z'/%3E%3C/svg%3E"); }
.product-media.tool-box::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 220'%3E%3Crect fill='%23d93025' x='54' y='78' width='192' height='98' rx='20'/%3E%3Crect fill='%231f2937' x='54' y='102' width='192' height='20'/%3E%3Cpath fill='%23334155' d='M113 61h74a10 10 0 0 1 10 10v7h-20v-1h-54v1h-20v-7a10 10 0 0 1 10-10z'/%3E%3C/svg%3E"); }
.product-media.tool-mixer::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 220'%3E%3Cpath fill='%23d93025' d='M96 91h102c16 0 29 13 29 29v7H96z'/%3E%3Cpath fill='%231f2937' d='M71 91h31v36H71c-10 0-18-8-18-18s8-18 18-18z'/%3E%3C/svg%3E"); }
.card-title, .news-card h3, .feature-card h3, .benefit-card h3 { margin: 0; font-size: 20px; line-height: 1.3; }
.summary-actions {
  margin: 20px 0 18px;
}
.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.price { font-size: 28px; font-weight: 800; }
.old-price { color: var(--muted); text-decoration: line-through; }
.meta-row, .rating-row, .summary-line, .order-summary, .sidebar-list { color: var(--muted); font-size: 14px; }
.catalog-layout, .account-layout { grid-template-columns: 300px 1fr; }
.product-layout { grid-template-columns: 1.05fr .95fr; align-items: start; }
.cart-layout { grid-template-columns: 1fr 340px; align-items: start; }
.checkout-layout { grid-template-columns: 1fr 360px; align-items: start; }
.sidebar, .checkout-sidebar { position: sticky; top: 112px; }
.filter-block h3, .summary-box h3, .support-box h3, .checkout-card h2, .account-card h2, .auth-card h1, .cart-list h1, .page-title h1 { margin: 0 0 16px; }
.filter-group { display: grid; gap: 10px; margin-bottom: 18px; }
.filter-group label, .radio-card { display: flex; gap: 12px; color: var(--muted); }
.field, .select, .textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); outline: none;
}
.page-title, .panel, .cart-list, .checkout-card, .account-card, .auth-card, .article-card, .product-summary, .summary-box { padding: 28px; }
.breadcrumbs { margin: 18px 0 14px; color: var(--muted); font-size: 14px; }
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.gallery-main { height: 460px; margin-bottom: 16px; background: radial-gradient(circle at 25% 20%,rgba(255,255,255,.74),transparent 18%), linear-gradient(180deg,#fdecec,#f9dddd 54%,#fff7f7); }
.gallery-main::after { inset: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 460 320'%3E%3Cpath fill='%23d93025' d='M142 114h145c28 0 51 23 51 51v7H142c-20 0-36-16-36-36v-1c0-9 4-18 11-24l25-20z'/%3E%3Cpath fill='%231f2937' d='M95 172h182v39H95z'/%3E%3C/svg%3E"); }
.gallery-main.real img {
  object-fit: contain;
  padding: 24px;
}
.gallery-thumbs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    align-items: start;
  }
.thumb { height: 92px; border: 1px solid var(--line); background: linear-gradient(135deg,#fff7f0,#fff); }
.thumb { cursor: pointer; }
.gallery-main.real img { cursor: zoom-in; }
.thumb.active,
.thumb.is-active { border-color: rgba(217,48,37,.55); box-shadow: 0 16px 28px rgba(217,48,37,.14); }
.product-page-title--donor {
  margin: 0 0 16px;
  max-width: 980px;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.08;
  letter-spacing: -.03em;
  color: #111827;
}
.product-layout--donor {
  grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr) minmax(320px, .76fr);
  gap: 16px;
  align-items: start;
}
.product-gallery-panel,
.product-info-panel {
  min-width: 0;
}


.product-info-panel p{
line-height: 1.5;
    margin: 0;
}

.product-short-specs {
  color: #334155;
  font-size: 15px;
  line-height: 1.72;
}
.product-short-specs table {
  width: 100%;
  border-collapse: collapse;
}
.product-short-specs tbody,
.product-short-specs tr,
.product-short-specs td,
.product-short-specs p,
.product-short-specs li,
.product-short-specs div,
.product-short-specs span {
  line-height: 1.72;
}
.product-short-specs td {
  padding: 0;
  vertical-align: top;
}
.product-short-specs p,
.product-short-specs ul,
.product-short-specs ol,
.product-short-specs table {
  margin: 0;
}
.product-short-specs li + li {
  margin-top: 8px;
}
.product-specs-extra table,
.product-complectation-card table {
  width: 100%;
  border-collapse: collapse;
}
.product-specs-extra tbody,
.product-specs-extra tr,
.product-specs-extra td,
.product-specs-extra p,
.product-specs-extra li,
.product-specs-extra div,
.product-specs-extra span,
.product-complectation-card tbody,
.product-complectation-card tr,
.product-complectation-card td,
.product-complectation-card p,
.product-complectation-card li,
.product-complectation-card div,
.product-complectation-card span {
  line-height: 1.72;
}
.product-specs-extra td,
.product-complectation-card td {
  padding: 0;
  vertical-align: top;
}
.product-specs-extra p,
.product-specs-extra ul,
.product-specs-extra ol,
.product-specs-extra table,
.product-complectation-card p,
.product-complectation-card ul,
.product-complectation-card ol,
.product-complectation-card table {
  margin: 0;
}
.product-specs-extra p + p,
.product-complectation-card p + p {
  margin-top: 8px;
}


.product-gallery-shell--donor,
.product-info-panel,
.product-buy-card,
.delivery-box--quick {
  background: rgba(255,255,255,.98);
}
.product-gallery-shell--donor {
  padding: 18px;
  box-shadow: none;
}
.product-gallery-note {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
}
.gallery-main--donor {
  height: 520px;
  margin-bottom: 12px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 22% 18%, rgba(255,255,255,.92), transparent 18%),
    linear-gradient(180deg, #fff 0%, #f8fafc 48%, #f2f5f8 100%);
}
.gallery-main--donor::after {
  display: none;
}
.gallery-main--donor.real img {
  padding: 18px 24px 8px;
  background: #fff;
}
.gallery-thumbs--donor {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.gallery-thumbs--donor .thumb {
  height: 84px;
  border-radius: 14px;
  background: #fff;
}
.gallery-thumbs--donor .thumb img {
  padding: 8px;
  object-fit: contain;
      background: #fff;
}
.product-info-panel {
  padding: 20px 22px 22px;
  display: grid;
  gap: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15,23,42,.04);
}
.product-headline-row--donor {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(226,232,240,.92);
}
.product-code {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}
.product-code-label {
  color: var(--muted);
}
.product-code span {
  color: var(--ink);
  font-weight: 700;
}
.product-code-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(226,232,240,.96);
  background: #fff;
  color: #111827;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.product-code-copy:hover {
  border-color: rgba(217,48,37,.28);
  color: var(--brand-dark);
  background: #fff7f7;
}
.product-rating-strip--top {
  justify-content: flex-end;
}
.product-title-donor {
  margin: 0;
  font-size: 31px;
  line-height: 1.14;
  letter-spacing: -.03em;
  font-weight: 800;
}
.product-rating-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--muted);
  font-size: 13px;
}
.product-rating-strip strong {
  color: var(--ink);
}
.product-brand-row--donor {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}
.product-brand-row--donor a,
.product-brand-row--donor span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid rgba(226,232,240,.96);
  color: var(--ink);
  font-size: 13px;
}
  .product-guarantee-row--donor {
    display: grid;
    gap: 10px;
  }
.product-guarantee-row--donor span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  background: linear-gradient(180deg,#fff,#f8fafc);
  border: 1px solid rgba(226,232,240,.92);
  color: #334155;
  font-weight: 700;
  font-size: 14px;
}
.product-guarantee-row--donor i {
  color: var(--brand);
}
.variation-selector--donor {
  margin: 0;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg,#fff,#fbfcfd);
}
.product-specs-preview--donor {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.product-specs-preview-item {
  display: grid;
  grid-template-columns: minmax(120px, 160px) 1fr;
  align-items: center;
  gap: 10px 14px;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(226,232,240,.96);
}
.product-specs-preview-item span {
  color: var(--muted);
  font-size: 13px;
}
.product-specs-preview-item strong {
  font-size: 14px;
  line-height: 1.3;
  text-align: right;
}
.product-more-actions {
  display: flex;
  justify-content: flex-start;
}
.product-more-actions .btn {
  min-height: 42px;
  padding-inline: 16px;
  border-radius: 14px;
}
.product-description-teaser {
  color: #475569;
  line-height: 1.68;
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-summary--donor {
  position: sticky;
  top: 104px;
  padding: 0;
  display: grid;
  gap: 12px;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.product-buy-card {
  padding: 18px;
  display: grid;
  gap: 10px;
  box-shadow: 0 14px 28px rgba(15,23,42,.05);
}
.product-price-badge {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(217,48,37,.1);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
}
.summary-line--donor {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.price-row--donor {
  align-items: flex-end;
}
.price-row--donor .price {
  font-size: 34px;
  line-height: 1;
}
.price-row--donor .old-price {
  font-size: 16px;
}
.price-row--donor .old-price:empty {
  display: none;
}
.summary-savings {
  padding: 9px 12px;
  border-radius: 14px;
  background: rgba(217,48,37,.08);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 700;
}
.summary-stock-hint {
  color: var(--muted);
  font-size: 13px;
  margin-top: -4px;
}
.summary-savings.is-hidden {
  display: none;
}
.summary-actions--donor {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
  margin: 2px 0 0;
}
.summary-actions--donor .btn {
  min-height: 50px;
  border-radius: 16px;
}
.product-secondary-actions--donor {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.product-headline-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(226,232,240,.96);
  border-radius: 14px;
  background: #fff;
  color: #334155;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.product-headline-action span {
  white-space: nowrap;
}
.product-headline-action:hover {
  border-color: rgba(217,48,37,.28);
  color: var(--brand-dark);
}
.product-headline-action.is-active {
  color: var(--brand-dark);
  background: rgba(217,48,37,.08);
  border-color: rgba(217,48,37,.24);
  box-shadow: 0 12px 24px rgba(217,48,37,.08);
}
  .delivery-box--donor {
    margin-top: 0;
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(180deg,#fff,#f8fafc);
    border: 1px solid rgba(226,232,240,.96);
  }
  .sidebar-list--donor {
    display: grid;
    gap: 8px;
  }
.sidebar-list--donor div {
  position: relative;
  padding-left: 18px;
}
.sidebar-list--donor div::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}
.delivery-box--quick {
  padding: 18px;
}
.product-buy-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.tab-list--donor {
  gap: 8px;
  padding-bottom: 2px;
}
.tab-list--donor .tab-button {
  min-height: 48px;
  border-radius: 16px 16px 0px 0px;
  padding: 0 18px;
  font-size: 12px;
  letter-spacing: .03em;
}
.tab-list--donor .tab-button.active {
  background: linear-gradient(135deg,#ef4444,#d93025);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 16px 32px rgba(217,48,37,.18);
}
.product-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 20px;
}
.product-description-block,
.product-specs-block,
.product-delivery-block {
  color: #334155;
  line-height: 1.72;
}
.product-description-block,
.product-specs-extra,
.product-complectation-card,
.product-delivery-block {
  font-size: 15px;
}
.product-description-block p,
.product-description-block li,
.product-specs-extra p,
.product-specs-extra li,
.product-complectation-card p,
.product-complectation-card li {
  line-height: 1.72;
}
.product-description-block p,
.product-description-block ul,
.product-description-block ol,
.product-specs-extra p,
.product-specs-extra ul,
.product-specs-extra ol,
.product-complectation-card p,
.product-complectation-card ul,
.product-complectation-card ol,
.product-delivery-block p,
.product-delivery-block ul,
.product-delivery-block ol {
  margin: 0 0 14px;
}
.product-description-block li + li,
.product-specs-extra li + li,
.product-complectation-card li + li,
.product-delivery-block li + li {
  margin-top: 8px;
}
.product-specs-block {
  padding: 8px 0;
}
.product-description-block,
.product-delivery-block {
  max-width: 920px;
}
.product-description-block {
  padding-right: 12px;
}
.product-description-block > *:first-child,
.product-specs-extra > *:first-child,
.product-delivery-block > *:first-child {
  margin-top: 0;
}
.product-description-block > *:last-child,
.product-specs-extra > *:last-child,
.product-delivery-block > *:last-child {
  margin-bottom: 0;
}
.product-specs-block h3,
.product-review-anchor h3 {
  margin-top: 0;
}
.product-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.product-specs-grid > div {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(226,232,240,.96);
}
.product-specs-grid span {
  color: var(--muted);
  font-size: 12px;
}
.product-specs-extra {
  margin-top: 16px;
}
.product-specs-extra {
  font-size: 15px !important;
  line-height: 1.72 !important;
}
.product-specs-extra p,
.product-specs-extra div,
.product-specs-extra span,
.product-specs-extra td {
  font-size: inherit !important;
  line-height: 1.72 !important;
}
.product-specs-extra p {
  margin: 0 0 8px !important;
}
.product-specs-extra p:last-child {
  margin-bottom: 0 !important;
}
.product-specs-extra br {
  display: block;
  content: "";
  margin-top: 8px;
}
.product-complectation-card {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid rgba(226,232,240,.96);
  color: #334155;
}
.product-complectation-card--under-price {
  margin-top: 4px;
  margin-bottom: 4px;
}
.product-complectation-card strong {
  display: block;
  margin-bottom: 10px;
  color: #0f172a;
}
.delivery-box--inline {
  margin-top: 20px;
}
.product-layout--enhanced { align-items: start; }
.product-meta-grid { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 12px; font-size: 14px; color: var(--muted); }
.product-meta-grid strong { color: var(--ink); font-weight: 700; }
.product-price-row { align-items: end; gap: 14px; }
.variation-selector { display: grid; gap: 14px; margin: 18px 0 22px; padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(180deg,#fff,#fff7f1); }
.variation-group { display: grid; gap: 10px; }
.variation-label { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 800; }
.variation-list { display: flex; flex-wrap: wrap; gap: 10px; }
.variation-option {
  position: relative; min-width: 54px; min-height: 54px; padding: 0 14px; border-radius: 16px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.variation-option span { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; font-weight: 700; font-size: 14px; }
.variation-option:hover { border-color: rgba(217,48,37,.45); transform: translateY(-1px); }
.variation-option.active {
  border-color: rgba(217,48,37,.72);
  box-shadow: 0 18px 30px rgba(217,48,37,.16);
  background: linear-gradient(180deg,#fff1f1,#fde3e3);
}
.variation-option--chip {
  width: 54px; padding: 0; overflow: hidden; background: var(--variation-swatch, var(--surface));
  background-image: var(--variation-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.variation-option--chip span {
  width: 100%; min-height: 54px; padding: 0 10px; background: rgba(255,255,255,.88);
  color: var(--ink);
}
.variation-option--chip[style*="--variation-swatch"] span,
.variation-option--chip[style*="--variation-image"] span { opacity: 0; }
.stock { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(217,48,37,.1); color: var(--success); font-weight: 700; }
.delivery-box, .promo-strip, .note-box {
  margin-top: 18px; padding: 16px 18px; border-radius: 18px; background: linear-gradient(180deg,#fff7f7,#fff); border: 1px solid rgba(217,48,37,.18);
}
.tab-list {
  margin: 0 0 18px;
}
.tab-button {
    padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font-weight: 700;
  }
.tab-button.active { background: var(--brand-soft); border-color: rgba(217,48,37,.25); color: var(--brand-dark); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.news-layout { grid-template-columns: repeat(3,1fr); }
.news-thumb { height: 220px; background: linear-gradient(135deg,#ffd5ad,#fff0de); }
.news-thumb::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 340 200'%3E%3Crect width='340' height='200' rx='28' fill='%23fff'/%3E%3Crect x='22' y='28' width='182' height='20' rx='10' fill='%23d93025' opacity='.84'/%3E%3Crect x='22' y='62' width='296' height='14' rx='7' fill='%23d6dee8'/%3E%3C/svg%3E"); }
.news-copy { padding: 24px; }
.article-hero { height: 360px; background: linear-gradient(135deg,#ffddb7,#fff4e6 52%,#fff); margin-bottom: 24px; }
.article-hero::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 260'%3E%3Crect width='420' height='260' rx='32' fill='%23ffffff'/%3E%3Crect x='34' y='40' width='220' height='26' rx='13' fill='%23d93025'/%3E%3C/svg%3E"); }
.article-body { display: grid; gap: 16px; color: #334155; line-height: 1.72; }
.cart-item { display: grid; grid-template-columns: 140px 1fr auto; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cart-item:last-child { border-bottom: 0; }
.cart-thumb {
  height: 120px;
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-thumb a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.cart-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: #fff;
}
.quantity { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 14px; padding: 6px; }
.quantity button { width: 36px; height: 36px; border: 0; border-radius: 10px; background: var(--surface-alt); cursor: pointer; }
.quantity input { width: 48px; border: 0; text-align: center; background: transparent; }
.form-grid { grid-template-columns: repeat(2,1fr); }
.form-grid .full { grid-column: 1 / -1; }
.radio-card-group { display: grid; gap: 12px; }
.radio-card { padding: 16px; border: 1px solid var(--line); border-radius: 18px; }
.auth-wrap { max-width: 1120px; margin: 26px auto 0; }
.auth-grid { grid-template-columns: 1.05fr .95fr; }
.promo-block { min-height: 100%; background: linear-gradient(135deg,#ef4444,#d93025 58%,#b91c1c); color: #fff; padding: 34px; }
.account-layout { grid-template-columns: 280px 1fr; }
.account-layout > aside.account-card { display: flex; flex-direction: column; }
.account-nav a { display: block; padding: 14px 16px; border-radius: 14px; color: var(--muted); }
.account-nav a.active, .account-nav a:hover { background: var(--brand-soft); color: var(--brand-dark); }
.order-table { width: 100%; border-collapse: collapse; }
.order-table th, .order-table td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); }
.account-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.account-head h1 { margin: 0 0 4px; font-size: 24px; }
.account-avatar {
  width: 62px; height: 62px; border-radius: 18px; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg,#ef4444,#d93025); color: #fff; font-size: 24px; box-shadow: 0 18px 34px rgba(217,48,37,.22);
}
.account-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.account-badge {
  display: inline-flex; align-items: center; padding: 8px 12px; border-radius: 999px;
  background: #fdecec; color: var(--brand-dark); border: 1px solid rgba(217,48,37,.16); font-weight: 700; font-size: 13px;
}
.account-badge.is-approved { background: rgba(217,48,37,.1); color: var(--success); border-color: rgba(217,48,37,.2); }
.account-badge.is-pending { background: rgba(245,158,11,.12); color: #b45309; border-color: rgba(245,158,11,.2); }
.account-badge.is-rejected { background: rgba(220,38,38,.1); color: #b91c1c; border-color: rgba(220,38,38,.18); }
.account-side-info { display: grid; gap: 10px; margin: 18px 0 22px; color: #475569; }
.account-logout { margin-top: auto; }
.account-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 24px; }
.account-stat {
  padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg,#fff,#fff8f2);
  display: grid; gap: 8px;
}
.account-stat span { color: var(--muted); font-size: 13px; }
.account-stat strong { font-size: 28px; line-height: 1; }
.account-empty {
  display: grid; justify-items: start; gap: 14px; padding: 26px; border-radius: 20px;
  border: 1px dashed rgba(219,226,234,.96); background: linear-gradient(180deg,#fff,#f8fafc);
}
.account-empty h3 { margin: 0; }
.account-orders { display: grid; gap: 18px; }
.order-card {
  padding: 22px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg,#fff,#fffaf6);
  box-shadow: 0 12px 28px rgba(15,23,42,.04);
}
.order-card-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 14px;
}
.order-card-head h3 { margin: 0 0 6px; font-size: 20px; }
.order-card-meta { display: grid; gap: 8px; justify-items: end; }
.order-card-info {
  display: flex; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 18px; color: var(--muted); font-size: 14px;
}
.order-status {
  display: inline-flex; align-items: center; padding: 8px 12px; border-radius: 999px; font-size: 13px; font-weight: 700;
  border: 1px solid transparent;
}
.order-status.is-new { background: rgba(59,130,246,.1); color: #1d4ed8; border-color: rgba(59,130,246,.16); }
.order-status.is-progress { background: rgba(245,158,11,.12); color: #b45309; border-color: rgba(245,158,11,.2); }
.order-status.is-done { background: rgba(217,48,37,.1); color: var(--success); border-color: rgba(217,48,37,.2); }
.order-status.is-cancelled { background: rgba(220,38,38,.1); color: #b91c1c; border-color: rgba(220,38,38,.18); }
.order-items { display: grid; gap: 12px; }
.order-item-row {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding-top: 12px; border-top: 1px solid var(--line);
}
.order-item-row a { color: var(--ink); font-weight: 700; }
.order-item-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: flex-end; color: var(--muted); text-align: right; }
.order-item-meta strong { color: var(--ink); }
.order-comment {
  margin-top: 16px; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); color: #475569;
}
.order-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}
.order-step {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(241,245,249,.92);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.order-step.is-done {
  background: rgba(217,48,37,.1);
  color: var(--success);
}
.order-step.is-active {
  background: rgba(217,48,37,.14);
  color: var(--brand-dark);
}
.reviews-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 20px;
}
.reviews-list,
.review-form {
  display: grid;
  gap: 14px;
}
.review-card {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}
.review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15,23,42,.82);
}
.image-lightbox[hidden] {
  display: none !important;
}
.image-lightbox-dialog {
  width: min(100%, 1100px);
  max-height: calc(100vh - 80px);
  display: grid;
  place-items: center;
}
.image-lightbox-dialog img {
  max-width: 100%;
  max-height: calc(100vh - 80px);
  object-fit: contain;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(0,0,0,.35);
}
.image-lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(255,255,255,.12);
  color: #fff;
    cursor: pointer;
  }
.image-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 16px;
    background: rgba(255,255,255,.14);
    color: #fff;
    cursor: pointer;
    z-index: 2;
  }
.image-lightbox-nav.prev {
    left: 20px;
  }
.image-lightbox-nav.next {
      right: 20px;
    }
.image-lightbox-nav:hover,
.image-lightbox-close:hover {
    background: rgba(255,255,255,.22);
  }
.callback-panel {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15,23,42,.42);
  z-index: 70;
}
.callback-panel[hidden] {
  display: none !important;
}
.has-open-modal { overflow: hidden; }
.callback-card {
  position: relative;
  width: min(100%, 480px);
  padding: 28px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(15,23,42,.28);
}
.callback-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 14px;
  background: rgba(241,245,249,.92);
}
.compare-table-wrap {
  overflow: auto;
}
.compare-table {
  min-width: 820px;
  display: grid;
}
.compare-row {
  display: grid;
  grid-template-columns: 240px repeat(auto-fit, minmax(220px, 1fr));
}
.compare-row + .compare-row {
  border-top: 1px solid var(--line);
}
.compare-label,
.compare-cell {
  padding: 18px;
}
.compare-label {
  font-weight: 800;
  background: rgba(248,250,252,.9);
}
.compare-cell--product h3 {
  margin: 12px 0 0;
  font-size: 16px;
}
.brand-hero-grid {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 20px;
  align-items: center;
}
.brand-hero-image img {
  width: 100%;
  display: block;
  border-radius: 20px;
}
.catalog-layout--category {
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: start;
}
.catalog-sidebar-panel {
    position: sticky;
    top: 84px;
    align-self: start;
  }
.catalog-main-column {
  display: grid;
  gap: 22px;
}
.category-filter {
  gap: 22px;
}
.filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.filter-head h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
  }
.category-tree-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.category-tree-item.is-open > .category-tree-line .category-tree-toggle span {
  transform: rotate(45deg);
}
.category-tree-children {
  margin-top: 10px;
  padding-left: 14px;
  border-left: 1px solid rgba(219,226,234,.92);
}
.category-tree-item.is-current > .category-tree-line .category-tree-link {
    color: var(--brand);
    font-weight: 600;
  }
.category-tree-line {
  display: flex;
  align-items: center;
  gap: 10px;
}
.category-tree-toggle {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(203, 213, 225, 0.92);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.category-tree-toggle:hover {
  border-color: rgba(200, 20, 28, 0.3);
  color: var(--brand);
  background: rgba(200, 20, 28, 0.04);
}
.category-tree-toggle span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 18px;
  transition: transform .2s ease;
}
.category-tree-toggle--ghost {
  visibility: hidden;
  pointer-events: none;
}
.category-tree-link {
    flex: 1;
    color: var(--ink);
    font-weight: 500;
  }
.category-tree-count {
  flex-shrink: 0;
  min-width: 36px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(241,245,249,.92);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.price-filter {
  display: grid;
  gap: 16px;
}
.price-filter-inputs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.price-field {
    display: grid;
    gap: 6px;
    font-size: 13px;
    color: var(--muted);
    font-weight: 500;
  }
.price-field input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 14px;
  font: inherit;
}
.price-range-shell {
    position: relative;
    height: 34px;
    --start: calc((var(--range-from) - var(--range-min)) / (var(--range-max) - var(--range-min)) * 100%);
    --end: calc((var(--range-to) - var(--range-min)) / (var(--range-max) - var(--range-min)) * 100%);
  }
.price-range-track {
    position: absolute;
    top: 8px;
    left: 0;
    right: 0;
    height: 6px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(226,232,240,.95) 0%,
    rgba(226,232,240,.95) var(--start),
    var(--brand) var(--start),
    var(--brand) var(--end),
    rgba(226,232,240,.95) var(--end),
    rgba(226,232,240,.95) 100%
  );
}
.price-range-shell input[type="range"] {
    position: absolute;
    inset: 0;
    width: 100%;
    margin: 0;
  background: transparent;
  appearance: none;
  pointer-events: none;
}
.price-range-shell input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand);
  box-shadow: 0 4px 10px rgba(15,23,42,.14);
  pointer-events: auto;
  cursor: pointer;
}
.price-range-shell input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand);
  box-shadow: 0 4px 10px rgba(15,23,42,.14);
  pointer-events: auto;
  cursor: pointer;
}
.price-range-shell input[type="range"]::-webkit-slider-runnable-track {
    height: 34px;
    background: transparent;
  }
.price-range-shell input[type="range"]::-moz-range-track {
    height: 34px;
    background: transparent;
  }
.brand-filter-list {
  display: grid;
  gap: 10px;
  max-height: 260px;
  overflow: auto;
  padding-right: 6px;
}
.filter-check {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 500;
  }
.filter-actions {
  display: grid;
  gap: 10px;
}
.btn-light {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.toolbar--catalog {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(219,226,234,.9);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.toolbar-meta strong {
  display: block;
  font-size: 18px;
}
.page-title-head--catalog {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.page-title-counter {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(180deg,#fff,#f7f9fb);
  border: 1px solid rgba(219,226,234,.92);
  color: #475569;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.page-title-copy {
  max-width: 920px;
}
.catalog-toolbar-controls {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}
.catalog-sort label {
  display: grid;
  gap: 8px;
  min-width: 270px;
  color: var(--muted);
  font-size: 13px;
}
.catalog-sort--inline label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  white-space: nowrap;
}
.catalog-sort--inline span {
  flex: 0 0 auto;
}
.catalog-per-page select {
  min-width: 84px;
}
.catalog-sort select {
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 0 14px;
  font: inherit;
  background: #fff;
}
.section-head--compact h2 {
  margin-bottom: 6px;
}
.section-head--compact p {
  margin: 0;
  color: var(--muted);
}
.catalog-subcategories {
  display: grid;
  gap: 18px;
}
.catalog-subcategories-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.category-card--sub {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
  padding: 18px;
  min-height: 100%;
  background: #fff;
  border: 1px solid rgba(219,226,234,.88);
  box-shadow: 0 16px 32px rgba(15,23,42,.04);
}
.category-card--sub .illustration {
  height: 120px;
  margin: 0;
  background: #fff;
  border: 1px solid rgba(226,232,240,.88);
  display: flex;
  align-items: center;
  justify-content: center;
}
.category-card--sub .illustration img {
  object-fit: contain;
  object-position: center;
  padding: 12px;
}
.category-card-copy {
  display: grid;
  gap: 8px;
}
.category-card-copy h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.24;
}
.catalog-products {
  display: grid;
  gap: 16px;
}
.products-grid--catalog {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.product-card--catalog {
  position: relative;
  gap: 0;
  overflow: hidden;
  padding: 0;
  border-radius: 28px;
  border: 1px solid #e6ebf1;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15,23,42,.04);
  font-family: "Segoe UI", Arial, sans-serif;
  min-height: 100%;
}
.product-card--catalog .product-media {
  height: 266px;
  border-radius: 0;
  background: #fff;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.product-card--catalog .product-media img {
  width: 100%;
  height: 100%;
  padding: 20px 18px 10px;
  object-fit: contain;
  object-position: center bottom;
}
.product-card-body--catalog {
  display: grid;
  gap: 8px;
  padding: 0 18px 20px;
  flex: 1 1 auto;
}
.product-card--catalog .card-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  pointer-events: none;
}
.product-card-corner-actions {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: grid;
  gap: 8px;
}
.action-icon-button--corner {
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  border-radius: 999px;
  border: 1px solid #d7dde5;
  background: rgba(255,255,255,.96);
  box-shadow: 0 6px 16px rgba(15,23,42,.05);
}
.action-icon-button--corner i {
  font-size: 17px;
  color: #8b95a3;
}
.action-icon-button--corner.is-active i,
.action-icon-button--corner:hover i {
  color: #d93025;
}
.product-card--catalog .badge {
  background: #dc2626;
  color: #fff;
  box-shadow: 0 10px 24px rgba(220,38,38,.18);
}
.product-card--catalog .card-title {
  min-height: calc(1.24em * 2);
  font-size: 17px;
  line-height: 1.24;
  letter-spacing: -.01em;
  font-weight: 500;
  max-width: 226px;
  margin: 1px 0 0;
}
.card-title--catalog a {
  color: #24303d;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.card-title--catalog a:hover {
  color: #1f2937;
}
.price-row--catalog-card {
  align-items: flex-end;
  justify-content: flex-start;
  gap: 8px;
  order: -2;
}
.price-row--catalog-card .price {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: #1b2a41;
}
.price-row--catalog-card .old-price {
  font-size: 12px;
}
.catalog-card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 24px;
}
.catalog-card-rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: #64748b;
}
.catalog-card-rating strong {
  color: #111827;
  font-size: 15px;
  font-weight: 700;
}
.catalog-card-rating-star {
  color: #ef4444;
  font-size: 14px;
}
.catalog-card-rating--empty {
  color: #9aa4b2;
}
.catalog-card-art {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #738093;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}
.catalog-card-art:hover {
  color: #334155;
}
.catalog-card-stock {
  display: grid;
  gap: 2px;
  margin-top: 2px;
  font-size: 13px;
}
.catalog-card-stock-primary {
  font-weight: 600;
}
.catalog-card-stock-secondary {
  color: #475569;
}
.catalog-card-stock.is-instock .catalog-card-stock-primary,
.catalog-card-stock.is-low .catalog-card-stock-primary {
  color: #22a447;
}
.catalog-card-stock.is-empty .catalog-card-stock-primary {
  color: #d93025;
}
.catalog-card-stock.is-empty .catalog-card-stock-secondary {
  color: #8b95a3;
}
.btn-card {
  justify-self: start;
  min-height: 46px;
  padding-inline: 17px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 15px;
  margin-top: 6px;
  margin-bottom: 2px;
}
.empty-state {
  padding: 28px;
  border-radius: 24px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(219,226,234,.9);
  text-align: center;
}
.catalog-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
}
.pagination-link:hover {
  border-color: rgba(217,48,37,.35);
  color: var(--brand-dark);
}
.pagination-link.is-current {
  background: linear-gradient(135deg,#ef4444,#d93025);
  color: #fff;
  border-color: transparent;
}
.pagination-link.is-nav {
  padding: 0 18px;
}
.pagination-link--gap {
  border-style: dashed;
  color: var(--muted);
}
.site-footer { margin-top: 40px; padding: 40px 0 56px; background: linear-gradient(180deg,#1f2937,#111827); color: rgba(255,255,255,.84); }
.cart-toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 24px);
  opacity: 0; pointer-events: none; min-width: min(560px, calc(100% - 32px));
  padding: 16px 18px; border-radius: 22px; background: rgba(27,36,48,.96); color: #fff;
  box-shadow: 0 24px 60px rgba(15,23,42,.35); transition: opacity .25s ease, transform .25s ease; z-index: 50;
}
.cart-toast.show { opacity: 1; transform: translate(-50%, 0); }
.cart-toast strong { display: block; margin-bottom: 4px; }
.cart-toast .muted { color: rgba(255,255,255,.72); }
.footer-grid { grid-template-columns: 1.5fr .95fr .95fr 1.1fr; }
.footer-grid h3, .footer-grid h4 { margin-top: 0; color: #fff; }
.footer-links { display: grid; gap: 10px; }
.footer-links--about span {
  color: rgba(255,255,255,.78);
  line-height: 1.7;
}
.footer-links--contacts span,
.footer-links--contacts a {
  color: rgba(255,255,255,.84);
}
.footer-links--contacts a:hover {
    color: #fff;
  }
  .footer-map {
    margin-top: 16px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 14px 32px rgba(0,0,0,.24);
  }
  .footer-map iframe {
    display: block;
    width: 100%;
    border: 0;
    filter: grayscale(.08) contrast(1.03);
  }
  .footer-map-route {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    padding: 11px 16px;
    border-radius: 12px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.14);
    color: #fff;
    font-weight: 700;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
  }
  .footer-map-route:hover {
    background: rgba(255,255,255,.16);
    border-color: rgba(255,255,255,.24);
    color: #fff;
    transform: translateY(-1px);
  }
.footer-disclaimer {
  margin-top: 22px;
  padding: 16px 0 0;
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.62);
  font-size: 13px;
  line-height: 1.6;
}
.muted { color: var(--muted); }
.hidden-mobile { display: block; }
@media (min-width: 1201px) {
  .header-main {
    grid-template-columns: auto 146px minmax(460px, 1fr) auto auto;
    gap: 16px;
  }
  .catalog-trigger {
    min-width: 146px;
  }
  .searchbar {
    width: 100%;
  }
}
  @media (max-width: 1200px) {
    .catalog-layout-menu { grid-template-columns: 300px minmax(0, 1fr); }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .carousel-track { grid-auto-columns: calc((100% - 20px) / 3); }
  .categories-carousel-track { grid-auto-columns: calc((100% - 20px) / 3); }
  .promo-strip-sale-track { grid-auto-columns: calc((100% - 40px) / 4); }
  .hero-grid, .product-layout, .auth-grid, .footer-grid, .quick-grid, .categories-grid, .cards-grid, .products-grid, .news-layout, .promo-grid, .brands-grid { grid-template-columns: repeat(2,1fr); }
  .business-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .business-hero { grid-column: 1 / -1; }
  .header-main { grid-template-columns: auto 138px minmax(240px,1fr) auto auto; gap: 12px; }
  .cart-layout, .checkout-layout, .catalog-layout, .account-layout { grid-template-columns: 1fr; }
  .sidebar, .checkout-sidebar { position: static; }
  .catalog-subcategories-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .products-grid--catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews-grid,
  .brand-hero-grid { grid-template-columns: 1fr; }
  .account-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-carousel-track { grid-auto-columns: calc((100% - 20px) / 3); }
  .hits-track { grid-auto-columns: calc((100% - 30px) / 3); }
}
  @media (max-width: 860px) {
    .catalog-layout-menu { grid-template-columns: 1fr; }
    .catalog-sidebar { border-right: 0; border-bottom: 1px solid rgba(219,226,234,.92); }
  .catalog-grid, .carousel-track { grid-template-columns: 1fr; grid-auto-columns: 100%; }
  .promo-strip-sale { padding: 22px 18px 20px; }
  .promo-strip-sale-head { align-items: flex-start; flex-direction: column; }
  .carousel-arrow-floating { display: none; }
  .hero-main {
    min-height: 430px;
  }
  .hero-inner {
    min-height: 430px;
  }
  .hero-content-shell {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
    gap: 14px;
  }
  .hero-media-frame {
    margin: 24px 8px 76px 0;
    border-radius: 28px;
  }
  .topbar { display: none; }
  .mobile-toggle { display: inline-grid; place-items: center; }
  .header-main {
    grid-template-columns: 48px minmax(0,1fr) auto;
    grid-template-areas:
      "menu brand actions"
      "search search search";
    gap: 12px;
    padding: 12px 0 14px;
  }
  .mobile-toggle { grid-area: menu; }
  .brand {
    grid-area: brand;
    gap: 0;
    min-width: 0;
  }
  .brand-logo {
    width: min(100%, 210px);
    max-height: 42px;
  }
  .catalog-trigger {
    display: none;
  }
  .header-actions {
    display: inline-flex;
    grid-area: actions;
    justify-self: end;
    gap: 6px;
    margin-right: 0;
  }
  .header-action {
    position: relative;
    width: 40px;
    min-width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--line);
  }
  .header-actions .header-action:nth-child(1),
  .header-actions .header-action:nth-child(2),
  .header-actions .header-action:nth-child(3) {
    display: none;
  }
  .header-action i { font-size: 16px; }
  .header-action span:not(.badge) { display: none; }
  .header-action .badge {
    position: absolute;
    top: -6px;
    right: -4px;
    min-width: 18px;
    padding: 2px 5px;
    font-size: 11px;
  }
  .searchbar {
      grid-area: search;
      width: 100%;
      padding: 8px 8px 8px 14px;
      border-radius: 16px;
  }
  .searchbar button {
    min-width: 46px;
    padding: 11px 14px;
  }
  .searchbar button span { display: none; }
  .header-auth-button { display: none; }
  .header-nav { display: none; padding: 0 0 14px; }
  .header-nav.open {
    display: block;
    position: absolute;
    top: calc(100% + 10px);
    left: 10px;
    right: 10px;
    z-index: 24;
    padding: 14px;
    border-radius: 20px;
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(219,226,234,.92);
    box-shadow: 0 22px 48px rgba(15,23,42,.16);
    max-height: min(72vh, 560px);
    overflow: auto;
  }
  .nav-list { display: grid; gap: 8px; }
  .nav-list a {
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid rgba(17,17,17,.05);
  }
    .catalog-menu {
      top: 74px;
      left: 10px;
      right: 10px;
      bottom: 10px;
      margin-top: 0;
    border-radius: 20px;
    z-index: 30;
    max-height: calc(100svh - 84px);
  }
  .catalog-layout-menu {
    min-height: 100%;
    max-height: calc(100svh - 84px);
  }
  .toolbar--catalog {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .page-title-head--catalog {
    align-items: flex-start;
    flex-direction: column;
  }
  .catalog-toolbar-controls {
    justify-content: stretch;
  }
  .catalog-sort--inline label {
    display: grid;
    gap: 8px;
    white-space: normal;
  }
  .catalog-sort label {
    min-width: 0;
  }
  .catalog-subcategories-grid {
    grid-template-columns: 1fr;
  }
  .products-grid--catalog { grid-template-columns: 1fr; }
  .products-grid--cart { grid-template-columns: 1fr; }
  .account-stats { grid-template-columns: 1fr; }
  .card-actions-inline,
  .product-secondary-actions { grid-template-columns: 1fr; }
  .order-card-head, .order-item-row { display: grid; grid-template-columns: 1fr; }
  .order-card-meta, .order-item-meta { justify-items: start; text-align: left; }
  .hero-main, .promo-block, .page-title, .panel, .cart-list, .checkout-card, .account-card, .auth-card, .article-card { padding: 22px; }
  .hero-grid, .quick-grid, .categories-grid, .cards-grid, .products-grid, .news-layout, .auth-grid, .footer-grid, .form-grid, .gallery-thumbs, .promo-grid, .brands-grid { grid-template-columns: 1fr; }
  .business-grid { grid-template-columns: 1fr; }
  .business-hero {
    padding: 22px 22px 160px;
  }
  .business-list { grid-template-columns: 1fr; }
  .business-hero-media {
    width: 100%;
    height: 150px;
    align-items: stretch;
  }
  .cart-item { grid-template-columns: 1fr; }
  .variation-selector { padding: 16px; }
  .hidden-mobile { display: none; }
  .hero-main {
    min-height: var(--hero-height-mobile, 340px);
  }
  .hero-inner {
    min-height: var(--hero-height-mobile, 340px);
  }
  .hero-media {
    justify-content: center;
    align-items: center;
  }
  .hero-content-shell {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .hero-copy {
    max-width: 100%;
    padding: 20px 0 8px;
  }
  .hero-actions {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
  }
  .hero-actions .btn {
    width: auto;
    min-width: 0;
    justify-content: center;
  }
  .hero-controls {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }
  .hero-media-frame {
    width: min(82vw, 310px);
    height: 160px;
    margin: 0 auto 72px;
    transform: rotate(-8deg);
  }
  .hero-media img {
    width: 84%;
    height: 84%;
    transform: rotate(8deg) scale(1.01);
  }
  .hero-dots {
    gap: 6px;
  }
  .hero-dot {
    width: 9px;
    height: 9px;
  }
  .hero-side .hero-banner-card {
    display: none;
  }
  .product-layout,
  .product-layout--donor {
    gap: 18px;
    grid-template-columns: 1fr;
  }
  .gallery-main,
  .gallery-main--donor {
    height: 360px;
  }
  .product-info-panel,
  .product-buy-card,
  .delivery-box--quick {
    padding: 20px;
  }
  .product-gallery-note {
    margin-bottom: 10px;
  }
    .product-page-title--donor {
      font-size: 28px;
      margin-bottom: 14px;
    }
  .product-content-grid {
    grid-template-columns: 1fr;
  }
  .product-specs-preview--donor,
  .product-specs-grid,
  .product-secondary-actions--donor {
    grid-template-columns: 1fr 1fr;
  }
  .product-specs-preview-item {
    grid-template-columns: 1fr;
    padding: 14px 16px;
    min-height: 74px;
  }
  .product-specs-preview-item strong {
    text-align: left;
  }
  .gallery-thumbs {
      gap: 10px;
      margin-top: 12px;
    }
  .variation-list,
  .tab-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .variation-list::-webkit-scrollbar,
  .tab-list::-webkit-scrollbar {
    display: none;
  }
  .variation-option,
  .tab-button {
    flex: 0 0 auto;
  }
  .thumb {
    height: 82px;
    border-radius: 14px;
  }
  .variation-selector {
    padding: 16px;
    margin: 16px 0 18px;
  }
  .summary-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 18px;
  }
  .summary-actions--donor {
    grid-template-columns: 1fr;
  }
  .summary-actions .quantity,
  .summary-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .product-secondary-actions {
    margin-top: 12px;
    gap: 10px;
  }
  .product-summary,
  .panel {
    border-radius: 22px;
  }
  .delivery-box {
    margin-top: 14px;
    padding: 14px 16px;
  }
  .rating-row {
    gap: 8px 12px;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .section {
    padding: 10px 0;
  }
  .promo-strip-sale-track {
    grid-auto-columns: calc((100% - 16px) / 2.15);
  }
  .sale-card {
    padding: 10px;
    border-radius: 16px;
  }
  .sale-card-media {
    height: 110px;
    border-radius: 14px;
  }
  .sale-card-prices strong {
    font-size: 16px;
  }
  .sale-card h3 {
    font-size: 12px;
  }
  .brand-carousel-track {
    grid-auto-columns: calc((100% - 18px) / 2.4);
  }
  .hits-track {
    grid-auto-columns: calc((100% - 18px) / 2.35);
  }
  .cart-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .cart-item--styled {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px 0;
  }
  .cart-item-check {
    display: none;
  }
  .cart-thumb {
    width: min(100%, 140px);
    height: 110px;
  }
  .cart-item-side {
    justify-items: stretch;
  }
  .cart-delivery-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .cart-delivery-tabs::-webkit-scrollbar {
    display: none;
  }
  .cart-delivery-tab {
    min-width: 220px;
    flex: 0 0 auto;
  }
}
@media (max-width: 560px) {
  .container { width: min(calc(100% - 20px), var(--container)); }
  .header-main { grid-template-columns: 42px minmax(0,1fr) auto; gap: 8px; }
  .mobile-toggle, .catalog-trigger, .header-action {
    width: 42px;
    height: 42px;
    min-width: 42px;
  }
  .header-actions {
    margin-right: 0;
    gap: 4px;
  }
  .header-action {
    border-radius: 10px;
  }
  .header-auth-button { display: none; }
  .brand {
    gap: 0;
    min-width: 0;
  }
  .brand-logo {
    width: min(100%, 168px);
    max-height: 36px;
  }
  .searchbar { 
      gap: 6px;
      padding: 6px 6px 6px 10px;
      border-radius: 14px;
    }
  .live-search-item {
      grid-template-columns: 46px minmax(0, 1fr);
    }
  .live-search-thumb {
      width: 46px;
      height: 46px;
      border-radius: 12px;
    }
  .live-search-price {
      grid-column: 2;
      text-align: left;
    }
  .live-search-dropdown {
    left: -4px;
    right: -4px;
    border-radius: 16px;
    padding: 8px;
  }
  .searchbar input { font-size: 14px; }
  .searchbar button {
    min-width: 38px;
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 12px;
  }
  .hero-copy {
    max-width: 100%;
  }
  .hero-media {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(62vw, 220px);
    margin: 6px 0 0 auto;
    transform: rotate(-6deg);
  }
  .hero-inner {
    display: grid;
    align-items: end;
    padding: 0 0 10px;
  }
  .product-layout,
  .product-layout--donor {
    gap: 16px;
  }
  .gallery-main,
  .gallery-main--donor {
    height: 264px;
  }
  .gallery-thumbs {
      grid-template-columns: repeat(5, 1fr);
      gap: 8px;
    }
  .thumb {
      height: 60px;
    }
  .product-summary {
    padding: 20px;
  }
  .product-summary--donor {
    padding: 0;
  }
  .product-info-panel,
  .product-buy-card,
  .delivery-box--quick,
  .product-gallery-shell--donor {
    padding: 16px;
    border-radius: 22px;
  }
  .product-gallery-note {
    font-size: 12px;
  }
  .product-summary h1 {
    margin-bottom: 12px;
    font-size: 24px;
    line-height: 1.12;
  }
    .product-page-title--donor {
      font-size: 24px;
      margin-bottom: 12px;
    }
  .product-headline-row--donor,
  .summary-line--donor {
    align-items: flex-start;
    flex-direction: column;
  }
  .product-brand-row--donor,
  .product-guarantee-row--donor,
  .product-specs-preview--donor,
  .product-specs-grid,
  .product-secondary-actions--donor {
    grid-template-columns: 1fr;
  }
  .product-specs-preview-item {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 14px;
  }
  .product-brand-row--donor {
    display: grid;
  }
  .price-row--donor .price {
    font-size: 31px;
  }
  .price-row--donor .old-price {
    font-size: 14px;
  }
  .product-headline-action {
    min-height: 42px;
    font-size: 12px;
  }
  .tab-list--donor .tab-button {
    min-height: 44px;
    padding: 0 14px;
    font-size: 11px;
  }
  .product-more-actions .btn {
    min-height: 40px;
    font-size: 13px;
  }
  .variation-list {
    gap: 8px;
  }
  .variation-option {
    min-width: 48px;
    min-height: 48px;
    padding: 0 10px;
    border-radius: 14px;
  }
  .variation-option span {
    min-height: 46px;
    font-size: 12px;
  }
  .variation-option--chip {
    width: 48px;
  }
  .tab-list {
    gap: 8px;
  }
  .tab-button {
    padding: 10px 12px;
    font-size: 13px;
  }
  .image-lightbox {
    padding: 12px;
  }
  .image-lightbox-dialog img {
    border-radius: 16px;
    max-height: calc(100vh - 44px);
  }
  .image-lightbox-close {
      top: 10px;
      right: 10px;
      width: 38px;
      height: 38px;
      border-radius: 12px;
    }
  .image-lightbox-nav {
      width: 40px;
      height: 40px;
      border-radius: 12px;
    }
  .image-lightbox-nav.prev {
      left: 10px;
    }
  .image-lightbox-nav.next {
      right: 10px;
    }
  .hero h1, .page-title h1 {
    font-size: 28px;
    line-height: 1.05;
    max-width: 11ch;
  }
  .hero p {
    font-size: 13px;
    max-width: 26ch;
  }
  .hero-actions .btn {
    padding: 9px 12px;
    font-size: 12px;
    border-radius: 12px;
  }
  .hero-side {
    gap: 12px;
  }
  .stat-card,
  .small-card {
    padding: 16px;
    border-radius: 18px;
  }
  .stat-card strong {
    font-size: 24px;
  }
  .hero-side .small-card {
    padding: 16px;
  }
  .carousel-actions {
    gap: 8px;
  }
  .carousel-arrow {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 12px;
  }
  .business-card {
    min-height: auto;
    padding: 18px 16px;
  }
  .business-card h3 {
    font-size: 18px;
  }
  .business-hero {
    min-height: 0;
    padding: 18px 18px 122px;
  }
  .business-hero h3 {
    font-size: 20px;
  }
  .business-hero-media {
    height: 116px;
  }
  .promo-strip-sale {
    padding: 18px 14px 16px;
  }
  .promo-strip-sale-track {
    grid-auto-columns: calc((100% - 10px) / 1.9);
  }
  .sale-card {
    min-width: 0;
  }
  .sale-card-badge {
    top: 8px;
    left: 8px;
    font-size: 10px;
    padding: 4px 7px;
  }
  .brand-carousel-track {
    grid-auto-columns: calc((100% - 10px) / 2.1);
  }
  .hits-track {
    grid-auto-columns: calc((100% - 10px) / 1.3);
  }
  .catalog-menu {
    top: 68px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    max-height: calc(100svh - 76px);
  }
  .catalog-main {
    padding: 16px 14px;
  }
  .catalog-sidebar {
    padding: 14px 12px;
  }
  .catalog-side-item {
    padding: 10px 11px;
  }
  .gallery-thumbs {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
    grid-template-columns: repeat(5, minmax(56px, 1fr));
  }
  .thumb {
    min-width: 56px;
  }
  .cart-page-shell {
    gap: 16px;
    padding-bottom: 28px;
  }
  .cart-auth-banner,
  .cart-main-panel,
  .cart-summary-panel,
  .cart-delivery-panel,
  .cart-products-panel {
    padding: 18px;
    border-radius: 18px;
  }
  .cart-heading-row h1 {
    font-size: 28px;
  }
  .cart-search {
    width: 100%;
  }
  .cart-search .field {
    min-height: 44px;
  }
  .cart-summary-row strong {
    font-size: 16px;
  }
  .cart-mini-recommend {
    grid-template-columns: 52px 1fr;
    padding: 9px 10px;
  }
  .cart-mini-recommend-thumb {
    width: 52px;
    height: 46px;
  }
  .cart-delivery-tab {
    min-width: 190px;
    padding: 12px 14px;
    font-size: 14px;
  }
  .products-grid--cart {
    grid-template-columns: 1fr;
  }
  .cookie-notice {
    padding: 12px 14px;
    border-radius: 14px;
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
  .cookie-notice__text {
    font-size: 12px;
    line-height: 1.4;
  }
  .cookie-notice__button {
    min-width: 0;
    padding: 10px 14px;
    border-radius: 12px;
  }
  .catalog-main { padding: 18px 16px; }
  .catalog-side-item { padding: 12px; }
  .variation-option,
  .variation-option--chip { width: 48px; min-width: 48px; min-height: 48px; border-radius: 14px; }
.variation-option span,
.variation-option--chip span { min-height: 46px; font-size: 12px; }
}

.auth-page {
  padding-bottom: 48px;
}

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

.auth-shell--single {
  grid-template-columns: minmax(0, 720px);
}

.auth-card h1,
.auth-card h2 {
  margin: 0 0 12px;
}

.auth-form {
  display: grid;
  gap: 14px;
}
.auth-form [data-company-fields] {
  display: grid;
  gap: 14px;
}
.auth-form [data-company-fields][hidden] {
  display: none !important;
}

.auth-form label {
  gap: 8px;
  font-weight: 600;
  color: var(--text);
}

.field {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 14px;
  padding: 0 16px;
  background: #fff;
}

.auth-message {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 600;
}

.auth-message--error {
  background: rgba(220, 38, 38, 0.08);
  color: #b91c1c;
}

.auth-message--success {
  background: rgba(22, 163, 74, 0.1);
  color: #15803d;
}

.auth-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 600;
}

.auth-toggle label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.form-consent {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.consent-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  font-size: 13px;
  line-height: 1.35;
  color: var(--muted);
  cursor: pointer;
}

.consent-check input {
  width: 16px;
  height: 16px;
  margin: 0;
  flex: 0 0 16px;
  accent-color: var(--primary);
}

.consent-check span {
  display: block;
  flex: 1 1 auto;
}

.consent-check a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-summary {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}

.auth-actions-row {
  margin-top: 24px;
}

.field--sm {
  min-height: 40px;
  max-width: 96px;
}

.cart-server-list {
  display: grid;
  gap: 16px;
}

.cart-server-list--compact .cart-item {
  grid-template-columns: 1fr auto;
}

.cart-page-shell {
  display: grid;
  gap: 22px;
  padding-bottom: 48px;
}

.cart-auth-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cart-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.cart-heading-row h1 {
  margin: 0 0 6px;
}

.cart-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(100%, 440px);
}

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

.cart-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.cart-clean-form,
.cart-qty-box {
  margin: 0;
}

.cart-link-action {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
}

.cart-server-list--styled {
  gap: 0;
}

.cart-item--styled {
  grid-template-columns: auto 108px 1fr 150px;
  gap: 16px;
  align-items: start;
}

.cart-item-check {
  padding-top: 8px;
}

.cart-item-copy h3 {
  margin: 0 0 8px;
}

.product-headline-row--donor {
  justify-content: flex-start;
}

.product-layout--donor .product-info-panel {
  background: #fff;
     box-shadow: none;
}

.product-layout--donor .product-gallery-shell--donor {
  background: #fff;
  box-shadow: none;
}

.product-layout--donor .product-buy-card {
     box-shadow: none;
}

.product-specs-block {
  padding: 8px 0;
}

.product-description-block,
.product-delivery-block {
  max-width: 920px;
}

.product-delivery-block .delivery-box--inline {
  margin-top: 20px;
}

.cart-mini-recommend-thumb {
  width: 64px;
  height: 54px;
  border-radius: 12px;
}

.cart-mini-recommend-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}

.cart-item-side {
  display: grid;
  justify-items: end;
  gap: 12px;
}

.quantity--cart {
    gap: 0;
    padding: 4px;
    border-radius: 999px;
  }

.cart-qty-box {
  display: flex;
  align-items: center;
}

.quantity--cart input {
    width: 42px;
  }

.cart-remove-button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: #fdecec;
  color: var(--primary);
  cursor: pointer;
}

.cart-summary-note {
  margin-top: 14px;
}

.cart-summary-panel .btn {
  margin-top: 10px;
}

.cart-delivery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cart-delivery-tab {
  min-width: 190px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #f8fafc;
  color: var(--text);
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.cart-delivery-tab.active {
  background: #fff;
  border-color: rgba(217,48,37,.28);
  box-shadow: inset 0 0 0 1px rgba(217,48,37,.16);
}

.cart-delivery-empty {
  margin-top: 20px;
  padding: 42px 20px 20px;
  text-align: center;
  border-top: 1px solid var(--line);
}

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

.cart-inline-form {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}

.cart-inline-form--danger {
    margin-top: 0;
  }

.cart-summary-list {
	padding-bottom: 20px;
  display: grid;
  gap: 12px;
}

.cart-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(219,226,234,.82);
  color: var(--muted);
}

.cart-summary-row strong {
  color: var(--text);
  font-size: 18px;
}

.cookie-notice {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 140;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.94);
  color: #fff;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.25);
}

.cookie-notice[hidden] {
  display: none !important;
}

.cookie-notice__text {
  font-size: 14px;
  line-height: 1.5;
}

.cookie-notice__text a {
    color: #fff;
    text-decoration: underline;
  }
  .cookie-notice__actions {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
.cookie-notice__button {
    min-width: 140px;
    white-space: nowrap;
  }

@media (max-width: 900px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }
  .cart-auth-banner,
  .cart-heading-row {
    flex-direction: column;
    align-items: stretch;
  }
  .cart-search {
    width: 100%;
  }
  .cart-item--styled {
    grid-template-columns: 1fr;
  }
  .cart-item-side {
    justify-items: start;
  }
  .products-grid--cart {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .cookie-notice {
      left: 12px;
      right: 12px;
      bottom: 12px;
      flex-direction: column;
      align-items: stretch;
    }
  .cookie-notice__actions {
      flex-direction: column;
      align-items: stretch;
    }
  .cookie-notice__button {
      width: 100%;
    }
  }




.catalog-branch-children[hidden] {
  display: none !important;
}
