:root {
  --bg: #f6f4f8;
  --surface: #ffffff;
  --surface-soft: #fbfafc;
  --ink: #25232b;
  --muted: #73707d;
  --line: #e8e2ea;
  --brand: #865e70;
  --brand-dark: #684759;
  --accent: #e0a158;
  --accent-dark: #c87f2f;
  --green: #269b72;
  --red: #e24b4b;
  --blue: #4c84b7;
  --shadow: 0 18px 40px rgba(57, 44, 63, 0.08);
  --shadow-sm: 0 8px 22px rgba(57, 44, 63, 0.07);
  --radius: 8px;
  --wrap: 1840px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

.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;
}

.wrap {
  width: min(var(--wrap), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(39, 32, 42, 0.04);
  backdrop-filter: blur(10px);
}

.topline {
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.topline__inner {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topline__links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.topline a:hover,
.site-footer a:hover {
  color: var(--accent-dark);
}

.topline__phone {
  color: var(--ink);
  font-weight: 700;
}

.header-main {
  min-height: 74px;
  display: grid;
  grid-template-columns: auto auto minmax(260px, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.header-main__menu,
.header-main__phone {
  display: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 172px;
}

.brand__mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #2b281f;
  font-weight: 800;
  background:
    radial-gradient(circle at 28% 25%, #fff8a7 0 16%, transparent 17%),
    radial-gradient(circle at 67% 30%, #b7d969 0 18%, transparent 19%),
    linear-gradient(135deg, #e5c556, #9ac15a 58%, #5d965a);
  border: 1px solid rgba(65, 80, 40, 0.16);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.36);
  font-size: 13px;
}

.brand__text {
  display: grid;
  gap: 2px;
}

.brand__text strong {
  font-size: 20px;
  line-height: 1;
}

.brand__text small {
  color: var(--muted);
  font-size: 12px;
}

.catalog-button,
.search button,
.cart-button,
.primary-button,
.secondary-button,
.ghost-button,
.filter-toggle,
.checkout-button,
.chip-button,
.qty-button,
.link-button {
  border: 0;
  border-radius: var(--radius);
  min-height: 42px;
}

.catalog-button,
.primary-button,
.checkout-button {
  background: var(--brand);
  color: #fff;
  font-weight: 700;
}

.catalog-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  min-width: 120px;
  text-transform: uppercase;
  font-size: 14px;
}

.catalog-button:hover,
.primary-button:hover,
.checkout-button:hover {
  background: var(--brand-dark);
}

.search {
  display: grid;
  grid-template-columns: 1fr auto;
  min-width: 0;
  border: 2px solid var(--brand);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.search input {
  min-width: 0;
  height: 42px;
  border: 0;
  padding: 0 18px;
  outline: 0;
  color: var(--ink);
}

.search input::placeholder {
  color: #aaa4b0;
}

.search button {
  border-radius: 0;
  min-width: 98px;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
}

.search button:hover {
  background: var(--accent-dark);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  display: inline-grid;
  place-items: center;
  position: relative;
}

.icon-button:hover {
  color: var(--brand);
  background: #f4edf2;
}

.header-main__menu,
.header-main__phone {
  display: none;
}

.icon-button svg,
.catalog-button svg,
.search svg,
.cart-button svg,
.bottom-nav svg,
.meta-icon svg,
.feature svg,
.crumbs svg,
.inline-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.action-pill b,
.bottom-nav b {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  line-height: 17px;
}

.cart-button {
  min-width: 134px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: #f8f4f7;
  color: var(--ink);
  border: 1px solid var(--line);
  font-size: 14px;
}

.cart-button b {
  color: var(--brand);
}

.cart-button:hover {
  border-color: var(--brand);
}

.app-shell {
  min-height: 100vh;
}

main {
  min-height: 70vh;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

main > * {
  position: relative;
  z-index: 1;
}

body[data-page-theme] {
  --page-mark: rgba(134, 94, 112, 0.16);
  --page-dot: rgba(224, 161, 88, 0.18);
  --page-figure: rgba(134, 94, 112, 0.12);
  --page-accent-figure: rgba(224, 161, 88, 0.16);
  --page-paw-opacity: 0.72;
}

body[data-page-theme="food"] {
  --page-mark: rgba(194, 127, 47, 0.16);
  --page-dot: rgba(38, 155, 114, 0.14);
  --page-figure: rgba(194, 127, 47, 0.12);
  --page-accent-figure: rgba(38, 155, 114, 0.15);
}

body[data-page-theme="medicine"],
body[data-page-theme="security"] {
  --page-mark: rgba(76, 132, 183, 0.14);
  --page-dot: rgba(134, 94, 112, 0.14);
  --page-figure: rgba(76, 132, 183, 0.12);
  --page-accent-figure: rgba(134, 94, 112, 0.13);
}

body[data-page-theme="route"],
body[data-page-theme="checkout"] {
  --page-mark: rgba(134, 94, 112, 0.15);
  --page-dot: rgba(224, 161, 88, 0.19);
  --page-figure: rgba(134, 94, 112, 0.12);
  --page-accent-figure: rgba(224, 161, 88, 0.18);
}

body[data-page-theme="sale"],
body[data-page-theme="payment"],
body[data-page-theme="returns"] {
  --page-mark: rgba(224, 161, 88, 0.17);
  --page-dot: rgba(134, 94, 112, 0.14);
  --page-figure: rgba(224, 161, 88, 0.13);
  --page-accent-figure: rgba(134, 94, 112, 0.14);
}

body[data-page-theme="favorites"] {
  --page-mark: rgba(226, 75, 75, 0.12);
  --page-dot: rgba(134, 94, 112, 0.13);
  --page-figure: rgba(226, 75, 75, 0.1);
  --page-accent-figure: rgba(134, 94, 112, 0.12);
}

body[data-page-theme] main::before,
body[data-page-theme] main::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

body[data-page-theme] main::before {
  inset: -140px -90px;
  opacity: var(--page-paw-opacity);
  background:
    radial-gradient(ellipse 13px 10px at 74px 94px, var(--page-mark) 0 56%, transparent 59%),
    radial-gradient(ellipse 5px 7px at 56px 77px, var(--page-mark) 0 58%, transparent 62%),
    radial-gradient(ellipse 5px 7px at 69px 70px, var(--page-mark) 0 58%, transparent 62%),
    radial-gradient(ellipse 5px 7px at 83px 74px, var(--page-mark) 0 58%, transparent 62%),
    radial-gradient(ellipse 5px 7px at 94px 87px, var(--page-mark) 0 58%, transparent 62%),
    radial-gradient(ellipse 13px 10px at 162px 166px, var(--page-mark) 0 56%, transparent 59%),
    radial-gradient(ellipse 5px 7px at 143px 149px, var(--page-mark) 0 58%, transparent 62%),
    radial-gradient(ellipse 5px 7px at 157px 141px, var(--page-mark) 0 58%, transparent 62%),
    radial-gradient(ellipse 5px 7px at 172px 147px, var(--page-mark) 0 58%, transparent 62%),
    radial-gradient(ellipse 5px 7px at 183px 160px, var(--page-mark) 0 58%, transparent 62%),
    radial-gradient(ellipse 13px 10px at 108px 284px, var(--page-mark) 0 56%, transparent 59%),
    radial-gradient(ellipse 5px 7px at 89px 266px, var(--page-mark) 0 58%, transparent 62%),
    radial-gradient(ellipse 5px 7px at 103px 258px, var(--page-mark) 0 58%, transparent 62%),
    radial-gradient(ellipse 5px 7px at 118px 264px, var(--page-mark) 0 58%, transparent 62%),
    radial-gradient(ellipse 5px 7px at 128px 278px, var(--page-mark) 0 58%, transparent 62%),
    radial-gradient(ellipse 13px 10px at 246px 362px, var(--page-mark) 0 56%, transparent 59%),
    radial-gradient(ellipse 5px 7px at 226px 344px, var(--page-mark) 0 58%, transparent 62%),
    radial-gradient(ellipse 5px 7px at 241px 336px, var(--page-mark) 0 58%, transparent 62%),
    radial-gradient(ellipse 5px 7px at 256px 342px, var(--page-mark) 0 58%, transparent 62%),
    radial-gradient(ellipse 5px 7px at 267px 356px, var(--page-mark) 0 58%, transparent 62%),
    radial-gradient(ellipse 13px 10px at 178px 484px, var(--page-mark) 0 56%, transparent 59%),
    radial-gradient(ellipse 5px 7px at 158px 466px, var(--page-mark) 0 58%, transparent 62%),
    radial-gradient(ellipse 5px 7px at 173px 458px, var(--page-mark) 0 58%, transparent 62%),
    radial-gradient(ellipse 5px 7px at 188px 464px, var(--page-mark) 0 58%, transparent 62%),
    radial-gradient(ellipse 5px 7px at 199px 478px, var(--page-mark) 0 58%, transparent 62%),
    radial-gradient(ellipse 13px 10px at 338px 570px, var(--page-mark) 0 56%, transparent 59%),
    radial-gradient(ellipse 5px 7px at 318px 552px, var(--page-mark) 0 58%, transparent 62%),
    radial-gradient(ellipse 5px 7px at 333px 544px, var(--page-mark) 0 58%, transparent 62%),
    radial-gradient(ellipse 5px 7px at 348px 550px, var(--page-mark) 0 58%, transparent 62%),
    radial-gradient(ellipse 5px 7px at 359px 564px, var(--page-mark) 0 58%, transparent 62%),
    radial-gradient(ellipse 12px 9px at 452px 276px, var(--page-mark) 0 56%, transparent 59%),
    radial-gradient(ellipse 5px 7px at 434px 259px, var(--page-mark) 0 58%, transparent 62%),
    radial-gradient(ellipse 5px 7px at 447px 251px, var(--page-mark) 0 58%, transparent 62%),
    radial-gradient(ellipse 5px 7px at 461px 257px, var(--page-mark) 0 58%, transparent 62%),
    radial-gradient(ellipse 5px 7px at 471px 270px, var(--page-mark) 0 58%, transparent 62%),
    radial-gradient(circle at 414px 88px, var(--page-dot) 0 2px, transparent 3px),
    radial-gradient(circle at 508px 196px, var(--page-dot) 0 2px, transparent 3px),
    radial-gradient(circle at 386px 438px, var(--page-dot) 0 2px, transparent 3px);
  background-size: 560px 640px;
  background-repeat: repeat;
  transform: rotate(-5deg);
  transform-origin: center top;
}

body[data-page-theme] main::after {
  width: clamp(180px, 22vw, 360px);
  height: clamp(180px, 22vw, 360px);
  top: clamp(28px, 6vw, 96px);
  right: clamp(20px, 5vw, 96px);
  opacity: 0.9;
  background:
    radial-gradient(ellipse 22% 18% at 50% 64%, var(--page-figure) 0 58%, transparent 61%),
    radial-gradient(ellipse 10% 13% at 31% 40%, var(--page-figure) 0 58%, transparent 62%),
    radial-gradient(ellipse 10% 13% at 44% 31%, var(--page-figure) 0 58%, transparent 62%),
    radial-gradient(ellipse 10% 13% at 58% 33%, var(--page-figure) 0 58%, transparent 62%),
    radial-gradient(ellipse 10% 13% at 70% 45%, var(--page-figure) 0 58%, transparent 62%);
  transform: rotate(-12deg);
}

body[data-page-theme="route"] main::after {
  background:
    radial-gradient(circle at 50% 34%, transparent 0 8%, var(--page-figure) 9% 17%, transparent 18%),
    radial-gradient(circle at 50% 34%, var(--page-figure) 0 4%, transparent 5%),
    conic-gradient(from 137deg at 50% 34%, transparent 0 20deg, var(--page-figure) 21deg 42deg, transparent 43deg 360deg),
    linear-gradient(32deg, transparent 0 45%, var(--page-accent-figure) 46% 48%, transparent 49% 100%);
}

body[data-page-theme="payment"] main::after,
body[data-page-theme="checkout"] main::after {
  border-radius: 26px;
  background:
    linear-gradient(var(--page-accent-figure), var(--page-accent-figure)) 68% 62% / 16% 10% no-repeat,
    linear-gradient(var(--page-figure), var(--page-figure)) 28% 60% / 28% 6% no-repeat,
    linear-gradient(var(--page-figure), var(--page-figure)) 50% 36% / 72% 12% no-repeat,
    linear-gradient(var(--page-figure), var(--page-figure)) 50% 50% / 84% 56% no-repeat;
}

body[data-page-theme="security"] main::after {
  background: linear-gradient(180deg, var(--page-figure), transparent 92%);
  clip-path: polygon(50% 3%, 84% 16%, 78% 70%, 50% 96%, 22% 70%, 16% 16%);
}

body[data-page-theme="documents"] main::after {
  border-radius: 22px;
  background:
    linear-gradient(var(--page-figure), var(--page-figure)) 32% 34% / 40% 5% no-repeat,
    linear-gradient(var(--page-figure), var(--page-figure)) 45% 48% / 58% 5% no-repeat,
    linear-gradient(var(--page-figure), var(--page-figure)) 45% 61% / 58% 5% no-repeat,
    linear-gradient(135deg, transparent 0 13%, var(--page-accent-figure) 14% 24%, transparent 25% 100%),
    linear-gradient(var(--page-figure), var(--page-figure)) 50% 50% / 66% 78% no-repeat;
}

body[data-page-theme="sale"] main::after {
  border-radius: 34px;
  background:
    radial-gradient(circle at 34% 39%, var(--page-accent-figure) 0 6%, transparent 7%),
    radial-gradient(circle at 66% 61%, var(--page-accent-figure) 0 6%, transparent 7%),
    linear-gradient(135deg, transparent 0 47%, var(--page-accent-figure) 48% 52%, transparent 53% 100%),
    linear-gradient(var(--page-figure), var(--page-figure)) 50% 50% / 82% 48% no-repeat;
}

body[data-page-theme="returns"] main::after {
  background:
    radial-gradient(circle at 50% 50%, transparent 0 34%, var(--page-figure) 35% 42%, transparent 43%),
    conic-gradient(from 36deg, transparent 0 58deg, var(--page-accent-figure) 59deg 80deg, transparent 81deg 360deg);
}

body[data-page-theme="medicine"] main::after {
  border-radius: 50%;
  background:
    linear-gradient(var(--page-figure), var(--page-figure)) 50% 50% / 18% 70% no-repeat,
    linear-gradient(var(--page-figure), var(--page-figure)) 50% 50% / 70% 18% no-repeat,
    radial-gradient(circle at 50% 50%, var(--page-accent-figure) 0 35%, transparent 36%);
}

.hero {
  padding: 24px 0 18px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 18px;
}

.hero-main,
.hero-side {
  min-height: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.hero-main {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  isolation: isolate;
  aspect-ratio: 24 / 7;
}

.hero-banner-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.hero-banner-link:focus-visible {
  outline: 3px solid rgba(134, 94, 112, 0.34);
  outline-offset: 3px;
}

.hero-banner-link:hover .hero-slide {
  transform: none;
}

.hero-main::before {
  content: none;
}

.hero-main__copy {
  padding: 28px;
  align-self: center;
  position: relative;
  z-index: 2;
}

.hero-slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: auto;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: var(--hero-image, none) center / contain no-repeat #fff;
  transition: opacity 1.25s ease, transform 0.6s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-carousel-dots {
  position: absolute;
  right: 16px;
  bottom: 14px;
  z-index: 3;
  display: flex;
  gap: 6px;
}

.hero-carousel-dots span {
  width: 24px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 0 1px rgba(134, 94, 112, 0.08);
}

.hero-carousel-dots span.is-active {
  background: var(--accent);
}

.hero-carousel-control {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(134, 94, 112, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand);
  display: grid;
  place-items: center;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 8px 22px rgba(57, 44, 63, 0.12);
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.hero-carousel-control::before {
  content: "";
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.hero-carousel-control:hover,
.hero-carousel-control:focus-visible {
  background: #fff;
  color: var(--accent-dark);
  transform: translateY(-50%) scale(1.05);
  outline: none;
}

.hero-carousel-control--prev {
  left: 14px;
}

.hero-carousel-control--prev::before {
  transform: translateX(2px) rotate(-135deg);
}

.hero-carousel-control--next {
  right: 14px;
}

.hero-carousel-control--next::before {
  transform: translateX(-2px) rotate(45deg);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--brand);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
}

.hero h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.08;
  max-width: 510px;
}

.hero p {
  margin: 14px 0 20px;
  max-width: 510px;
  color: #5d5864;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.primary-button,
.secondary-button,
.ghost-button,
.checkout-button {
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
}

.secondary-button {
  background: #fff;
  color: var(--brand);
  border: 1px solid var(--line);
}

.secondary-button:hover,
.ghost-button:hover {
  border-color: var(--brand);
  background: #f9f3f7;
}

.ghost-button {
  background: transparent;
  color: var(--brand);
  border: 1px solid transparent;
}

.hero-side {
  aspect-ratio: 34 / 21;
  padding: 22px;
  display: grid;
  gap: 12px;
  align-content: space-between;
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 78% 18%, rgba(224, 161, 88, 0.2), transparent 32%),
    linear-gradient(135deg, #fff, #f6edf3);
}

.hero-side::before {
  content: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 78% 18%, rgba(224, 161, 88, 0.2), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(246, 237, 243, 0.72));
  pointer-events: none;
}

.hero-side > :not(.hero-slides) {
  display: none;
}

.hero-side strong {
  font-size: 24px;
  line-height: 1.16;
}

.hero-side p {
  margin: 0;
  color: var(--muted);
}

.promo-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.promo-mini {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(134, 94, 112, 0.12);
  border-radius: var(--radius);
  min-height: 74px;
  padding: 10px;
  display: grid;
  align-content: center;
}

.promo-mini b {
  color: var(--brand);
}

.promo-mini span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 22px 0;
}

.section--soft {
  background: transparent;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  margin-bottom: 16px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.section-head h2,
.catalog-title h1,
.product-detail h1,
.checkout h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
}

.section-head p,
.catalog-title p,
.checkout p {
  margin: 6px 0 0;
  color: var(--muted);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.category-card,
.product-card,
.filter-panel,
.checkout-card,
.detail-card,
.tabs,
.empty-state,
.benefit-card,
.info-band {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.category-card {
  height: auto;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(76px, auto);
  align-content: stretch;
  gap: 0;
  overflow: hidden;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.category-card:hover,
.product-card:hover {
  transform: translateY(-2px);
  border-color: rgba(134, 94, 112, 0.45);
}

.category-art {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  background: var(--tone, #f6edf3);
  position: relative;
  overflow: hidden;
}

.category-card > span:not(.category-art) {
  display: grid;
  gap: 4px;
  padding: 10px 16px 12px;
}

.category-art--image {
  background-color: var(--tone, #f6edf3);
  background-image: var(--category-image, none);
  background-position: var(--category-image-position, center);
  background-size: var(--category-image-fit, cover);
  background-repeat: no-repeat;
}

.category-art.category-art--image::before,
.category-art.category-art--image::after {
  content: none;
}

.category-art::before,
.category-art::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.category-art::before {
  width: 96px;
  height: 96px;
  right: -18px;
  top: -24px;
  background: rgba(255, 255, 255, 0.62);
}

.category-art::after {
  width: 44px;
  height: 44px;
  left: 20px;
  top: 18px;
  background: var(--accent);
  box-shadow:
    32px 14px 0 -12px var(--brand),
    68px 28px 0 -16px var(--blue);
}

.category-card strong {
  text-transform: uppercase;
  color: var(--brand);
  font-size: 15px;
  min-height: 0;
  line-height: 1.2;
}

.category-card span {
  color: var(--muted);
  font-size: 13px;
}

.catalog-page {
  padding: 22px 0 34px;
}

.crumbs {
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

.crumbs a {
  color: var(--brand);
}

.catalog-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.catalog-title__count {
  color: #b2acb8;
  font-size: 18px;
  font-weight: 400;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
}

.filter-panel {
  align-self: start;
  position: sticky;
  top: 122px;
  overflow: visible;
}

.catalog-subcategories {
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.catalog-subcategories h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.catalog-subcategories__list {
  display: grid;
  gap: 4px;
}

.catalog-subcategories__link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #4f4853;
  font-size: 14px;
  line-height: 1.35;
}

.catalog-subcategories__link:hover {
  background: var(--surface-soft);
  color: var(--brand);
}

.catalog-subcategories__link.is-active {
  background: var(--brand);
  color: #fff;
  font-weight: 700;
}

.catalog-subcategories__link small {
  color: #a8a1ad;
  font-size: 12px;
}

.catalog-subcategories__link.is-active small {
  color: rgba(255, 255, 255, 0.78);
}

.catalog-subcategories__nested {
  display: grid;
  gap: 2px;
  margin: 2px 0 6px 14px;
  padding-left: 10px;
  border-left: 1px solid var(--line);
}

.catalog-subcategories__nested a {
  padding: 7px 9px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 13px;
}

.catalog-subcategories__nested a:hover,
.catalog-subcategories__nested a.is-active {
  background: var(--surface-soft);
  color: var(--brand);
}

.filter-panel__head {
  padding: 16px 16px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.filter-panel__head h2 {
  margin: 0;
  font-size: 18px;
}

.filter-panel__actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.filter-panel__close,
.filter-panel__footer {
  display: none;
}

.filter-panel__filters {
  display: none;
}

.catalog-inline-filters {
  margin: 0 0 16px;
  padding: 12px;
  position: relative;
  z-index: 6;
  overflow: visible;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(251, 248, 250, 0.98));
  border: 1px solid rgba(134, 94, 112, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(57, 44, 63, 0.07);
}

.catalog-inline-filters .filter-panel__head {
  padding: 2px 2px 10px;
  border-bottom: 0;
  background: transparent;
}

.catalog-inline-filters .filter-panel__head h2 {
  font-size: 16px;
}

.catalog-inline-filters__sections {
  display: grid;
  grid-template-columns: minmax(340px, 1.25fr) minmax(180px, 1fr) minmax(180px, 1fr) minmax(180px, 0.8fr);
  align-items: start;
  gap: 10px;
}

.catalog-inline-filters .filter-section,
.inline-filter-control {
  background:
    linear-gradient(180deg, #fff 0%, #fcf9fb 100%);
  border: 1px solid rgba(134, 94, 112, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 5px 14px rgba(57, 44, 63, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.76);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.catalog-inline-filters .filter-section {
  position: relative;
  overflow: visible;
  z-index: 1;
}

.catalog-inline-filters .filter-section[open] {
  z-index: 30;
}

.inline-filter-control {
  overflow: hidden;
}

.inline-filter-control {
  min-height: 50px;
  padding: 8px 12px;
}

.catalog-inline-filters .filter-section__summary {
  min-height: 50px;
  padding: 8px 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.catalog-inline-filters .filter-section__summary:hover {
  background: #fbf6f9;
}

.catalog-inline-filters .filter-section[open] {
  border-color: rgba(134, 94, 112, 0.34);
  box-shadow: 0 7px 18px rgba(57, 44, 63, 0.06), inset 0 0 0 1px rgba(134, 94, 112, 0.08);
}

.catalog-inline-filters .filter-section[open] .filter-section__summary {
  background: linear-gradient(180deg, #fffafd 0%, #f8f0f5 100%);
}

.catalog-inline-filters .filter-section__body {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 40;
  max-height: min(430px, calc(100vh - 260px));
  overflow: auto;
  padding: 12px;
  background:
    linear-gradient(180deg, #fff 0%, #fdfafd 100%);
  border: 1px solid rgba(134, 94, 112, 0.22);
  border-radius: var(--radius);
  box-shadow: 0 22px 42px rgba(57, 44, 63, 0.16);
}

.catalog-inline-filters .filter-section__count {
  background: rgba(134, 94, 112, 0.12);
  color: var(--brand);
}

.catalog-inline-filters .filter-list {
  max-height: 330px;
  overflow: auto;
  padding-right: 6px;
}

.catalog-inline-filters .check-row {
  min-height: 30px;
  padding: 4px 2px;
  font-size: 14px;
  line-height: 1.25;
}

.catalog-inline-filters .check-row span {
  color: #4f4853;
  font-weight: 500;
}

.catalog-inline-filters .check-row input:checked + span {
  color: var(--brand);
  font-weight: 800;
}

.filter-section__popover-footer {
  position: sticky;
  bottom: -12px;
  z-index: 2;
  margin: 10px -12px -12px;
  padding: 10px 12px 12px;
  border-top: 1px solid rgba(134, 94, 112, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), #fff 26%);
}

.filter-section__apply {
  width: 100%;
  min-height: 38px;
  border: 0;
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(134, 94, 112, 0.22);
}

.filter-section__apply:hover {
  background: var(--brand-dark);
}

.inline-filter-control__title {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.inline-price-filter {
  min-height: 50px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.inline-price-filter__fields {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.inline-price-filter__fields label {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.inline-price-filter__fields input {
  width: 100%;
  min-width: 0;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  padding: 0 10px;
  outline: 0;
}

.inline-price-filter__dash {
  color: #b3acb7;
  font-weight: 800;
}

.inline-stock-filter {
  min-height: 50px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  color: #5f5965;
  font-size: 14px;
  font-weight: 800;
}

.inline-stock-filter input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--brand);
}

.inline-stock-filter span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.inline-stock-filter small {
  color: #a8a1ad;
  font-size: 12px;
  font-weight: 800;
}

.inline-stock-filter.is-active {
  border-color: rgba(134, 94, 112, 0.34);
  background: #fffafd;
  box-shadow: 0 7px 18px rgba(57, 44, 63, 0.06), inset 0 0 0 1px rgba(134, 94, 112, 0.08);
}

.active-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 2px 10px;
}

.filter-panel__filters .active-filter-chips {
  padding: 0 14px 12px;
}

.active-filter-chip {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 6px 0 11px;
  border: 1px solid rgba(134, 94, 112, 0.16);
  border-radius: 999px;
  background: #f8f3f6;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}

.active-filter-chip:hover {
  border-color: rgba(134, 94, 112, 0.32);
  background: #f3ebf0;
}

.active-filter-chip__x {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--brand);
}

.active-filter-chip__x svg {
  width: 13px;
  height: 13px;
  stroke-width: 2.4;
}

.filter-section {
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.filter-section--collapsible {
  padding: 0;
}

.filter-section__summary {
  min-height: 50px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.filter-section__summary::-webkit-details-marker {
  display: none;
}

.filter-section__summary:hover {
  background: var(--surface-soft);
}

.filter-section__title {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.filter-section h3 {
  margin: 0 0 12px;
  font-size: 14px;
  text-transform: uppercase;
}

.filter-section__summary h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: none;
}

.filter-section__count {
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: #f4edf2;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.filter-section__chevron {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--muted);
  transition: transform 0.16s ease;
}

.filter-section__chevron svg {
  width: 20px;
  height: 20px;
}

.filter-section[open] .filter-section__chevron {
  transform: rotate(90deg);
}

.filter-section__body {
  padding: 0 16px 16px;
}

.filter-list {
  display: grid;
  gap: 9px;
  padding-right: 4px;
}

.check-row {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 8px;
  align-items: center;
  color: #5f5965;
  font-size: 14px;
}

.check-row input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--brand);
}

.check-row small {
  color: #a8a1ad;
}

.range-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.range-grid label {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 13px;
}

.range-grid input,
.field input,
.field textarea,
.field select,
.sort-row select {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 0 12px;
  outline: 0;
}

.field textarea {
  min-height: 94px;
  padding: 10px 12px;
  resize: vertical;
}

.range-grid input:focus,
.inline-price-filter__fields input:focus,
.field input:focus,
.field textarea:focus,
.field select:focus,
.sort-row select:focus,
.search input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(134, 94, 112, 0.12);
}

.filter-toggle {
  display: none;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  padding: 0 14px;
  align-items: center;
  gap: 8px;
}

.catalog-content {
  min-width: 0;
}

.sort-row {
  margin-bottom: 14px;
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr) max-content auto;
  align-items: center;
  gap: 10px;
}

.quick-filters {
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 7px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  padding: 2px 1px;
}

.quick-filters::-webkit-scrollbar {
  display: none;
}

.quick-filter {
  min-height: 36px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 11px;
  border: 1px solid rgba(134, 94, 112, 0.18);
  border-radius: 999px;
  background:
    linear-gradient(180deg, #fff 0%, #fbf8fa 100%);
  color: #4f4853;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
  box-shadow: 0 5px 14px rgba(57, 44, 63, 0.04);
  white-space: nowrap;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.quick-filter:hover {
  border-color: rgba(134, 94, 112, 0.34);
  color: var(--brand);
  box-shadow: 0 7px 18px rgba(57, 44, 63, 0.06);
}

.quick-filter.is-active {
  border-color: var(--brand);
  background:
    linear-gradient(180deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  box-shadow: 0 8px 18px rgba(134, 94, 112, 0.24);
}

.quick-filter small {
  color: #a8a1ad;
  font-size: 11px;
  font-weight: 800;
}

.quick-filter.is-active small {
  color: rgba(255, 255, 255, 0.78);
}

.sort-row__meta {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.view-switch {
  flex: 0 0 auto;
  display: flex;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 3px;
  background: #fff;
}

.view-switch button {
  width: 36px;
  height: 34px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
}

.view-switch button.is-active {
  color: #fff;
  background: var(--brand);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.product-grid.is-list {
  grid-template-columns: 1fr;
}

@media (min-width: 1500px) {
  .product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 1850px) {
  .hero__grid {
    grid-template-columns: minmax(0, 2.15fr) minmax(360px, 1fr);
  }

  .category-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.product-card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  position: relative;
}

.product-card__media {
  aspect-ratio: 3 / 4;
  height: auto;
  min-height: 0;
  padding: 0;
  display: grid;
  place-items: center;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.product-card__media > a {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  min-width: 0;
  overflow: hidden;
  border-radius: 0;
}

.product-card__dots {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 8px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 4px;
  pointer-events: none;
}

.product-card__dot {
  flex: 1 1 14px;
  max-width: 26px;
  height: 3px;
  border-radius: 999px;
  background: rgba(115, 112, 125, 0.28);
  box-shadow: 0 1px 2px rgba(255, 255, 255, 0.72);
  transition: background 0.12s ease, transform 0.12s ease;
}

.product-card__dot.is-active {
  background: var(--accent);
  transform: scaleY(1.35);
}

.product-card__actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 4px;
  z-index: 2;
}

.product-card__actions .icon-button {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.88);
  border-color: var(--line);
}

.product-card__actions .is-active {
  color: #fff;
  background: var(--brand);
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f8e0c2;
  color: #87541e;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
}

.product-art {
  width: min(156px, 72%);
  height: 138px;
  position: relative;
}

.product-art::before,
.product-art::after {
  content: "";
  position: absolute;
}

.product-art--bag::before {
  width: 74px;
  height: 108px;
  left: 38px;
  top: 10px;
  border-radius: 10px 10px 18px 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0 18%, transparent 19%),
    linear-gradient(135deg, var(--art-a, #d8515f), var(--art-b, #673b59));
  box-shadow: inset 0 -10px 0 rgba(0, 0, 0, 0.08), 0 14px 24px rgba(51, 35, 47, 0.16);
}

.product-art--bag::after {
  width: 42px;
  height: 42px;
  left: 54px;
  top: 50px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 52% 42%, #fff 0 26%, transparent 27%),
    rgba(255, 255, 255, 0.42);
}

.product-art--can::before {
  width: 76px;
  height: 92px;
  left: 40px;
  top: 22px;
  border-radius: 50% / 12%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0 20%, transparent 21% 72%, rgba(0, 0, 0, 0.09) 73%),
    linear-gradient(135deg, var(--art-a, #d14354), var(--art-b, #e0a158));
  box-shadow: 0 14px 24px rgba(51, 35, 47, 0.16);
}

.product-art--can::after {
  width: 82px;
  height: 18px;
  left: 37px;
  top: 20px;
  border-radius: 50%;
  background: #f4f0f2;
  border: 1px solid rgba(0, 0, 0, 0.07);
}

.product-art--toy::before {
  width: 72px;
  height: 72px;
  left: 30px;
  top: 36px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 32%, rgba(255, 255, 255, 0.9) 0 8%, transparent 9%),
    var(--art-a, #4c84b7);
  box-shadow:
    48px 14px 0 -18px var(--art-b, #e0a158),
    16px -24px 0 -22px var(--brand),
    0 14px 24px rgba(51, 35, 47, 0.14);
}

.product-art--toy::after {
  width: 96px;
  height: 16px;
  left: 34px;
  top: 74px;
  border-radius: 999px;
  background: rgba(134, 94, 112, 0.18);
  transform: rotate(-18deg);
}

.product-art--box::before {
  width: 102px;
  height: 82px;
  left: 26px;
  top: 30px;
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.84) 0 36%, transparent 37%),
    linear-gradient(135deg, var(--art-a, #8bc0a9), var(--art-b, #865e70));
  box-shadow: inset 0 -12px 0 rgba(0, 0, 0, 0.08), 0 14px 24px rgba(51, 35, 47, 0.16);
}

.product-art--box::after {
  width: 54px;
  height: 18px;
  left: 50px;
  top: 18px;
  border-radius: 8px 8px 2px 2px;
  background: rgba(134, 94, 112, 0.22);
}

.product-art--bottle::before {
  width: 56px;
  height: 100px;
  left: 52px;
  top: 22px;
  border-radius: 14px 14px 20px 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0 28%, transparent 29% 72%, rgba(255, 255, 255, 0.42) 73%),
    linear-gradient(135deg, var(--art-a, #5fb3a4), var(--art-b, #4c84b7));
  box-shadow: 0 14px 24px rgba(51, 35, 47, 0.14);
}

.product-art--bottle::after {
  width: 30px;
  height: 18px;
  left: 65px;
  top: 8px;
  border-radius: 6px 6px 2px 2px;
  background: var(--art-b, #4c84b7);
}

.product-art--image {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

.product-art--image::before,
.product-art--image::after {
  content: none;
}

.product-card__media .product-art--image::before {
  content: "";
  position: absolute;
  inset: -10px;
  background: var(--card-image, none) center / cover no-repeat;
  filter: blur(14px);
  opacity: 0.18;
  transform: scale(1.04);
}

.product-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

.product-card__media .product-image {
  object-fit: contain;
}

.product-card__media .product-art:not(.product-art--image) {
  transform: scale(1.35);
}

.product-card__body {
  padding: 14px 16px 12px;
  display: grid;
  align-content: start;
  gap: 8px;
}

.product-card__brand {
  color: var(--muted);
  font-size: 13px;
}

.product-card h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.28;
}

.product-card h3 a:hover {
  color: var(--brand);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}

.status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.status--wait {
  color: #b4792d;
}

.status--out {
  color: var(--red);
}

.variants {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.variant-chip,
.chip-button {
  min-height: 28px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #5f5965;
  font-size: 12px;
}

.chip-button.is-active,
.chip-button:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: #f8f1f5;
}

.detail-variant-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.detail-variant-head p {
  margin: 0;
}

.detail-variant-head span {
  flex: 0 0 auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f6edf3;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.product-variant-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 8px;
}

.product-variant-card {
  min-width: 0;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.product-variant-card:hover {
  border-color: var(--brand);
  transform: translateY(-1px);
}

.product-variant-card.is-active {
  border-color: var(--brand);
  background: #fff8fb;
  box-shadow: 0 0 0 3px rgba(134, 94, 112, 0.1);
}

.product-variant-card__sku,
.product-variant-card__title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-variant-card__sku {
  font-size: 12px;
  font-weight: 800;
}

.product-variant-card__title {
  grid-column: 1 / 2;
  color: var(--muted);
  font-size: 12px;
}

.product-variant-card b {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: end;
  white-space: nowrap;
  font-size: 15px;
}

.product-card__footer {
  padding: 0 16px 16px;
  display: grid;
  gap: 12px;
}

.price-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 8px;
}

.price {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  font-weight: 800;
  color: var(--ink);
  font-size: 22px;
}

.price del {
  color: #aaa4b0;
  font-size: 14px;
  font-weight: 400;
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #a86b24;
  font-size: 13px;
}

.add-button {
  min-height: 42px;
  border: 0;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.add-button:hover {
  background: var(--accent-dark);
}

.add-button:disabled {
  cursor: default;
  background: #d6d1d9;
}

.favorite-remove-button {
  min-height: 38px;
  border: 1px solid rgba(213, 55, 67, 0.28);
  border-radius: var(--radius);
  background: #fff5f6;
  color: #d53743;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.favorite-remove-button:hover {
  border-color: rgba(213, 55, 67, 0.55);
  background: #ffecee;
  transform: translateY(-1px);
}

.favorite-remove-button svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.2;
}

.product-grid.is-list .product-card {
  grid-template-columns: 220px 1fr auto;
  grid-template-rows: auto;
}

.product-grid.is-list .product-card__media {
  aspect-ratio: auto;
  height: auto;
  min-height: 180px;
}

.product-grid.is-list .product-card__media .product-art--image {
  width: min(170px, 100%);
  height: 170px;
}

.product-grid.is-list .product-card__footer {
  width: 220px;
  align-content: end;
  padding-top: 16px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.benefit-card {
  padding: 18px;
  display: grid;
  gap: 8px;
}

.benefit-card svg {
  color: var(--brand);
}

.benefit-card strong {
  font-size: 16px;
}

.benefit-card span {
  color: var(--muted);
  font-size: 14px;
}

.info-band {
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 24px;
}

.info-band > div {
  max-width: 920px;
}

.info-band h1 {
  margin: 0 0 18px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
}

.info-band h2 {
  margin: 26px 0 10px;
  font-size: 20px;
}

.info-band p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.65;
}

.info-band ul {
  margin: 0 0 16px;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.6;
}

.info-band li + li {
  margin-top: 7px;
}

.info-band > .primary-button {
  align-self: start;
  white-space: nowrap;
}

.catalog-seo {
  margin-top: 18px;
}

.catalog-seo h2:first-child {
  margin-top: 0;
}

.catalog-seo p:last-child {
  margin-bottom: 0;
}

.info-page {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.info-page > .wrap {
  position: relative;
  z-index: 1;
}

.contacts-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(480px, 1.1fr);
  gap: 20px;
  align-items: stretch;
}

.contacts-card,
.contact-map {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.contacts-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
}

.contacts-card h1 {
  margin: 0 0 22px;
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.1;
}

.contacts-card__copy {
  width: 100%;
}

.contacts-card__copy p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.7;
}

.contacts-card__copy ul {
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.65;
}

.contacts-card > .primary-button {
  margin-top: auto;
}

.contact-map {
  position: relative;
  min-height: 490px;
  overflow: hidden;
  background: #eeeae7;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 490px;
  border: 0;
}

.contact-map__pin {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 8px;
  pointer-events: none;
  transform: translate(-50%, -100%);
}

.contact-map__pin span {
  width: 30px;
  height: 30px;
  border-radius: 50% 50% 50% 0;
  background: var(--red);
  border: 3px solid #fff;
  box-shadow: 0 10px 24px rgba(37, 35, 43, 0.26);
  transform: rotate(-45deg);
}

.contact-map__pin span::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: #fff;
}

.contact-map__pin b {
  order: -1;
  max-width: min(320px, calc(100vw - 72px));
  padding: 9px 13px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 28px rgba(37, 35, 43, 0.16);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.25;
  text-align: center;
}

.contact-map__caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(134, 94, 112, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(39, 32, 42, 0.16);
  backdrop-filter: blur(8px);
}

.contact-map__caption strong {
  font-size: 15px;
  line-height: 1.4;
}

.contact-map__caption a {
  flex: 0 0 auto;
  color: var(--brand);
  font-weight: 800;
  white-space: nowrap;
}

.contact-map__caption a:hover {
  color: var(--accent-dark);
}

.empty-state {
  padding: 28px;
  text-align: center;
  color: var(--muted);
}

.favorites-empty {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.favorites-empty .primary-button {
  margin-top: 4px;
}

.compare-empty {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.compare-empty .primary-button {
  margin-top: 4px;
}

.compare-table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.compare-table {
  width: max(100%, var(--compare-table-width, 860px));
  min-width: 860px;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
}

.compare-table__label-col {
  width: 220px;
}

.compare-table__product-col {
  width: 260px;
}

.compare-table th,
.compare-table td {
  min-width: 0;
  padding: 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
  word-break: normal;
}

.compare-table th:first-child,
.compare-table td:first-child {
  width: 220px;
  position: sticky;
  left: 0;
  z-index: 2;
  background: var(--surface);
  color: var(--muted);
  font-weight: 700;
}

.compare-table thead th {
  background: #fff;
  z-index: 3;
}

.compare-table thead th:first-child {
  z-index: 4;
}

.compare-table tr:last-child th,
.compare-table tr:last-child td {
  border-bottom: 0;
}

.compare-table th:last-child,
.compare-table td:last-child {
  border-right: 0;
}

.compare-product-head {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.compare-product-head__image {
  width: 82px;
  height: 108px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.compare-product-head__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.compare-product-head__image span {
  color: var(--muted);
  font-weight: 800;
}

.compare-product-head__title {
  min-width: 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.compare-product-head__article {
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.compare-remove {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid rgba(213, 55, 67, 0.28);
  border-radius: 8px;
  background: #fff5f6;
  color: #d53743;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.compare-remove:hover {
  border-color: rgba(213, 55, 67, 0.55);
  background: #ffecee;
  transform: translateY(-1px);
}

.compare-remove svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.2;
}

.compare-value--empty {
  color: var(--muted);
}

.product-detail {
  padding: 22px 0 34px;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(420px, 580px) minmax(420px, 1fr);
  align-items: start;
  gap: 16px;
  margin-top: 18px;
}

.product-detail-main {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 18px;
}

.product-detail-main .tabs {
  margin-top: 0;
}

.detail-gallery {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 500px;
  padding: 14px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.detail-gallery__frame {
  height: 100%;
  min-height: 472px;
  display: grid;
  grid-template-columns: 72px minmax(0, 440px);
  align-items: center;
  justify-content: start;
  gap: 12px;
}

.detail-gallery__media {
  min-width: 0;
  min-height: 400px;
  display: grid;
  place-items: center;
}

.detail-zoom-trigger {
  width: 100%;
  height: 100%;
  min-width: 0;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.detail-zoom-trigger .product-art {
  pointer-events: none;
}

.detail-zoom-trigger:focus-visible {
  outline: 3px solid rgba(134, 94, 112, 0.28);
  outline-offset: 4px;
  border-radius: 14px;
}

.detail-gallery .product-art {
  width: min(300px, 72%);
  height: 280px;
  transform: scale(1.35);
}

.detail-gallery .product-art--image {
  width: min(440px, 100%);
  height: min(500px, 62vh);
  max-width: none;
  max-height: none;
  transform: none;
  isolation: isolate;
  background: #f7f5f8;
  border-radius: 12px;
}

.detail-gallery .product-art--image::before {
  content: "";
  position: absolute;
  inset: -22px;
  z-index: 0;
  background: var(--card-image, none) center / cover no-repeat;
  filter: blur(18px);
  opacity: 0.16;
  transform: scale(1.06);
}

.detail-gallery .product-art--image .product-image {
  z-index: 1;
  object-fit: contain;
}

.detail-thumbs {
  width: 72px;
  max-height: 472px;
  display: flex;
  align-content: start;
  flex-direction: column;
  overflow-y: auto;
  gap: 10px;
  padding: 2px 4px 2px 2px;
  scrollbar-width: thin;
}

.detail-thumbs--empty {
  display: block;
  width: 72px;
}

.detail-thumb {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.detail-thumb:hover {
  border-color: var(--brand);
  transform: translateY(-1px);
}

.detail-thumb.is-active {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(134, 94, 112, 0.12);
}

.detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.image-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.image-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(24, 21, 24, 0.74);
  cursor: zoom-out;
}

.image-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100vw - 48px));
  height: min(88vh, 920px);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  place-items: center;
  gap: 12px;
  overflow: hidden;
  padding: 56px 82px 54px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 30px 90px rgba(26, 20, 24, 0.34);
}

.image-lightbox__dialog::before {
  content: "";
  position: absolute;
  inset: -28px;
  background: var(--lightbox-image, none) center / cover no-repeat;
  filter: blur(26px);
  opacity: 0.12;
  transform: scale(1.04);
}

.image-lightbox__image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 16px 42px rgba(26, 20, 24, 0.12);
}

.image-lightbox__close,
.image-lightbox__nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px solid rgba(134, 94, 112, 0.2);
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.image-lightbox__close {
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.image-lightbox__close svg,
.image-lightbox__nav svg {
  width: 20px;
  height: 20px;
}

.image-lightbox__nav {
  top: 50%;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  transform: translateY(-50%);
}

.image-lightbox__nav:disabled {
  display: none;
}

.image-lightbox__nav--prev {
  left: 18px;
}

.image-lightbox__nav--prev svg {
  transform: rotate(180deg);
}

.image-lightbox__nav--next {
  right: 18px;
}

.image-lightbox__caption {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 18px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

body.has-image-lightbox {
  overflow: hidden;
}

.detail-product-group {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.detail-product-group__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.detail-product-group__head span {
  color: var(--ink);
  font-weight: 800;
}

.detail-product-group__head b {
  min-width: 24px;
  min-height: 24px;
  padding: 2px 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f6edf3;
  color: var(--brand);
  font-size: 12px;
}

.detail-product-group__list {
  display: grid;
  gap: 8px;
  max-height: 260px;
  overflow-y: auto;
  padding-right: 2px;
  scrollbar-width: thin;
}

.detail-product-option {
  min-width: 0;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.detail-product-option:hover {
  border-color: var(--brand);
  transform: translateY(-1px);
}

.detail-product-option.is-active {
  border-color: var(--brand);
  background: #fff8fb;
  box-shadow: 0 0 0 3px rgba(134, 94, 112, 0.1);
}

.detail-product-option__body {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.detail-product-option__sku {
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-product-option__title {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-product-option__price {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.detail-card {
  padding: 24px;
  display: grid;
  align-content: start;
  gap: 18px;
}

.detail-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.detail-price {
  font-size: 36px;
}

.quantity-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 10px;
}

.qty-control {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  min-height: 46px;
}

.qty-button {
  min-height: 44px;
  border-radius: 0;
  background: #fff;
  color: var(--brand);
}

.qty-control input,
.qty-value {
  min-width: 0;
  border: 0;
  text-align: center;
  display: grid;
  place-items: center;
}

.qty-control input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.qty-control input[type="number"]::-webkit-outer-spin-button,
.qty-control input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.detail-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.characteristics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.characteristic {
  display: grid;
  gap: 4px;
}

.characteristic span {
  color: #aaa4b0;
  font-size: 13px;
}

.characteristic b {
  font-size: 14px;
}

.tabs {
  margin-top: 18px;
  overflow: hidden;
}

.tabs__nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  overflow: visible;
}

.tabs__nav button {
  min-height: 52px;
  min-width: 0;
  padding: 8px 10px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: #fff;
  color: #4b4650;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}

.tabs__nav button.is-active {
  color: var(--ink);
  border-color: var(--brand);
  font-weight: 800;
}

.tabs__panel {
  padding: 24px;
}

.tabs__panel h2 {
  margin-top: 0;
}

.description-content {
  display: grid;
  gap: 14px;
  color: #24202a;
  font-size: 16px;
  line-height: 1.68;
}

.description-content p {
  margin: 0;
}

.description-content--empty {
  color: var(--muted);
}

.description-list {
  display: grid;
  gap: 10px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.description-list li {
  position: relative;
  padding-left: 20px;
}

.description-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--brand);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.spec-table th {
  width: 36%;
  color: var(--muted);
  font-weight: 400;
}

.checkout {
  padding: 24px 0 38px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  margin-top: 18px;
}

.checkout-card {
  padding: 20px;
}

.checkout-card h2 {
  margin: 0 0 14px;
  font-size: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
}

.field--wide {
  grid-column: 1 / -1;
}

.field label {
  color: #5f5965;
  font-size: 14px;
}

.checkout-consents {
  display: grid;
  gap: 12px;
  margin: 18px 0 14px;
}

.consent-check {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.consent-check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--brand);
}

.consent-check a,
.checkout-security-note a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.checkout .checkout-security-note {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: #f7f3f5;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.order-summary {
  align-self: start;
  position: sticky;
  top: 162px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: #5f5965;
}

.summary-line strong {
  color: var(--ink);
}

.success-box {
  margin-top: 14px;
  padding: 14px;
  border-radius: var(--radius);
  color: #145f47;
  background: #e5f6ef;
  border: 1px solid #bde7d4;
}

.checkout-status {
  margin-bottom: 4px;
}

.payment-result {
  max-width: 760px;
  margin-top: 18px;
}

.payment-result h1 {
  margin: 0 0 10px;
}

.payment-result__order {
  margin-top: 16px;
}

.payment-result__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.payment-result__actions .checkout-button,
.payment-result__actions .primary-button {
  width: auto;
}

.site-footer {
  padding: 34px 0 82px;
  background: var(--brand);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(170px, 1fr));
  gap: 28px;
}

.brand--footer .brand__text small,
.site-footer p {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer h2 {
  margin: 0 0 12px;
  font-size: 16px;
  text-transform: uppercase;
}

.site-footer a,
.site-footer span {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.86);
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(31, 28, 34, 0.54);
  z-index: 45;
  opacity: 0;
  pointer-events: none;
  transition: 0.18s ease;
}

.cart-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(440px, 100%);
  height: 100vh;
  background: var(--bg);
  z-index: 46;
  transform: translateX(100%);
  transition: transform 0.22s ease;
  display: grid;
  grid-template-rows: auto 1fr auto;
  box-shadow: -18px 0 40px rgba(28, 22, 31, 0.18);
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-drawer__head,
.cart-drawer__summary {
  padding: 18px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.cart-drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.cart-drawer__head h2 {
  margin: 0;
}

.cart-drawer__head > div {
  display: flex;
  align-items: center;
  gap: 6px;
}

.link-button {
  min-height: auto;
  padding: 0;
  color: var(--brand);
  background: transparent;
}

.cart-drawer__body {
  overflow: auto;
  padding: 16px;
  display: grid;
  align-content: start;
  gap: 12px;
}

.cart-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px;
}

.cart-item .product-art {
  width: 72px;
  height: 72px;
  transform: scale(0.66);
  transform-origin: top left;
}

.cart-item__top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.cart-item h3 {
  margin: 0 0 6px;
  font-size: 14px;
}

.cart-item__meta {
  color: var(--muted);
  font-size: 13px;
}

.cart-item__bottom {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cart-item .qty-control {
  width: 116px;
  min-height: 36px;
  grid-template-columns: 32px 1fr 32px;
}

.cart-item .qty-button {
  min-height: 34px;
}

.warning {
  margin-bottom: 12px;
  padding: 12px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--red);
  font-weight: 800;
}

.cart-drawer__summary {
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.cart-drawer__summary .checkout-button {
  width: 100%;
  margin-top: 14px;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: min(360px, 92vw);
  height: 100vh;
  z-index: 50;
  background: #fff;
  transform: translateX(-100%);
  transition: 0.2s ease;
  box-shadow: 18px 0 40px rgba(28, 22, 31, 0.16);
  display: grid;
  grid-template-rows: auto 1fr;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu__head {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
}

.mobile-menu__content {
  overflow: auto;
  padding: 14px 16px 22px;
}

.mobile-menu__content a,
.mobile-menu__content button {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  color: var(--ink);
}

.bottom-nav {
  display: none;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 80;
  transform: translate(-50%, calc(100% + 48px));
  min-width: min(420px, calc(100vw - 32px));
  padding: 13px 16px;
  border-radius: var(--radius);
  background: #27212b;
  color: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  transition: 0.22s ease;
  text-align: center;
  pointer-events: none;
}

.toast.is-open {
  transform: translate(-50%, 0);
  opacity: 1;
}

@media (max-width: 1120px) {
  .header-main {
    grid-template-columns: auto auto minmax(220px, 1fr) auto;
  }

  .catalog-inline-filters__sections {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topline__links {
    gap: 14px;
  }

  .category-grid,
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-gallery__frame {
    grid-template-columns: 76px minmax(260px, 1fr);
  }

  .detail-gallery__media {
    min-height: 390px;
  }

  .detail-thumbs,
  .detail-thumbs--empty {
    width: 76px;
  }

  .detail-thumb {
    width: 66px;
    height: 66px;
    flex-basis: 66px;
  }

}

@media (max-width: 900px) {
  body {
    padding-bottom: 64px;
  }

  .wrap {
    width: min(100% - 24px, var(--wrap));
  }

  .topline,
  .catalog-button,
  .header-actions {
    display: none;
  }

  .site-header {
    position: sticky;
  }

  .header-main {
    min-height: 68px;
    grid-template-columns: 44px 1fr 44px;
    gap: 8px 6px;
    padding: 8px 0 10px;
  }

  .header-main__menu,
  .header-main__phone {
    display: grid;
  }

  .header-main__menu {
    grid-column: 1;
    grid-row: 1;
  }

  .header-main__phone {
    grid-column: 3;
    grid-row: 1;
  }

  .brand {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    min-width: 0;
  }

  .brand__text small {
    display: none;
  }

  .search {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    margin: 2px 0 0;
    border-width: 1px;
  }

  .search.is-mobile-open {
    display: grid;
  }

  .search input {
    height: 40px;
    padding: 0 12px;
    font-size: 14px;
  }

  .search button {
    min-width: 48px;
    padding: 0 12px;
  }

  .search__text {
    display: none;
  }

  .hero {
    padding-top: 16px;
  }

  .hero__grid,
  .hero-main,
  .catalog-layout,
  .product-layout,
  .checkout-layout,
  .info-band,
  .contacts-layout {
    grid-template-columns: 1fr;
  }

  .contact-map,
  .contact-map iframe {
    min-height: 410px;
  }

  body[data-page-theme] main::after {
    width: 180px;
    height: 180px;
    opacity: 0.55;
  }

  .hero-main {
    min-height: 0;
  }

  .product-detail-main {
    display: contents;
  }

  .product-layout .detail-gallery {
    grid-column: 1;
    grid-row: 1;
  }

  .product-layout .detail-card {
    grid-column: 1;
    grid-row: 2;
  }

  .product-layout .tabs {
    grid-column: 1;
    grid-row: 3;
  }

  .detail-gallery__frame {
    min-height: 0;
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .detail-gallery__media {
    min-height: 340px;
  }

  .hero-main::before {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0 46%, rgba(255, 255, 255, 0.2));
  }

  .hero-main__copy {
    align-self: start;
    padding: 22px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .category-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-toggle {
    display: inline-flex;
  }

  .catalog-inline-filters {
    display: none;
  }

  body.is-filter-open main {
    isolation: auto;
    overflow: visible;
  }

  body.is-filter-open {
    overflow: hidden;
  }

  body.is-filter-open main > * {
    z-index: auto;
  }

  .filter-panel {
    position: fixed;
    top: 0;
    left: 0;
    bottom: auto;
    z-index: 52;
    width: min(340px, 92vw);
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    overflow: auto;
    overscroll-behavior: contain;
    background: #fff;
    transform: translateX(-110%);
    transition: 0.2s ease;
    display: flex;
    flex-direction: column;
  }

  .filter-panel.is-open {
    transform: translateX(0);
  }

  .filter-panel__filters {
    display: contents;
  }

  .filter-panel__head {
    order: -2;
    position: sticky;
    top: 0;
    z-index: 3;
    padding: 12px 14px;
    background: #fff;
  }

  .filter-panel__close {
    display: inline-grid;
    width: 38px;
    height: 38px;
    background: #f8f4f7;
    border-color: var(--line);
  }

  .catalog-subcategories {
    order: -1;
    padding: 12px 14px;
    background: #fff;
  }

  .catalog-subcategories h2 {
    margin-bottom: 10px;
    font-size: 14px;
  }

  .catalog-subcategories__list {
    display: flex;
    gap: 8px;
    margin: 0 -14px;
    padding: 0 14px 2px;
    overflow-x: auto;
  }

  .catalog-subcategories__group,
  .catalog-subcategories__nested {
    display: contents;
  }

  .catalog-subcategories__link,
  .catalog-subcategories__nested a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: #4f4853;
    font-size: 13px;
    line-height: 1.15;
    white-space: nowrap;
  }

  .catalog-subcategories__link.is-active,
  .catalog-subcategories__nested a.is-active {
    border-color: var(--brand);
    background: var(--brand);
    color: #fff;
  }

  .catalog-subcategories__link.is-active small {
    color: rgba(255, 255, 255, 0.78);
  }

  .filter-section {
    padding: 14px;
  }

  .filter-section--collapsible {
    padding: 0;
  }

  .filter-section__summary {
    min-height: 48px;
    padding: 12px 14px;
  }

  .filter-section__body {
    padding: 0 14px 14px;
  }

  .filter-list {
    max-height: none;
  }

  .filter-panel__footer {
    display: block;
    position: sticky;
    bottom: 0;
    z-index: 3;
    margin-top: auto;
    padding: 12px 14px;
    border-top: 1px solid var(--line);
    background: #fff;
  }

  .filter-panel__footer .primary-button {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .sort-row {
    grid-template-columns: 1fr auto;
  }

  .quick-filters {
    grid-column: 1 / -1;
    order: 3;
    flex-wrap: nowrap;
    margin: 0 -10px;
    padding: 0 10px 2px;
    overflow-x: auto;
  }

  .quick-filter {
    min-height: 36px;
    padding: 0 10px;
    font-size: 13px;
  }

  .sort-row__meta {
    grid-column: 1 / -1;
    order: 4;
  }

  .product-grid.is-list .product-card {
    grid-template-columns: 160px 1fr;
  }

  .product-grid.is-list .product-card__footer {
    grid-column: 1 / -1;
    width: auto;
    padding-top: 0;
  }

  .compare-table-wrap {
    margin: 0 -10px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .compare-table {
    width: max(100%, calc(104px + var(--compare-product-count, 1) * 190px));
    min-width: calc(104px + var(--compare-product-count, 1) * 190px);
  }

  .compare-table__label-col,
  .compare-table th:first-child,
  .compare-table td:first-child {
    width: 104px;
  }

  .compare-table__product-col {
    width: 190px;
  }

  .compare-table th,
  .compare-table td {
    padding: 10px;
    font-size: 13px;
    line-height: 1.35;
  }

  .compare-table th:first-child,
  .compare-table td:first-child {
    padding: 10px 8px 10px 10px;
    font-size: 12px;
    line-height: 1.25;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .compare-table thead th:first-child {
    font-size: 0;
  }

  .compare-table thead th:first-child::after {
    content: "Параметр";
    font-size: 12px;
  }

  .compare-product-head__image {
    width: 72px;
    height: 92px;
  }

  .compare-product-head__title {
    font-size: 13px;
  }

  .compare-product-head__article {
    font-size: 11px;
  }

  .compare-remove {
    min-height: 30px;
    padding: 6px 8px;
    font-size: 12px;
  }

  .order-summary {
    position: static;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contacts-card__copy,
  .contacts-card__copy p,
  .info-band,
  .info-band p,
  .site-footer,
  .site-footer p,
  .site-footer a {
    overflow-wrap: anywhere;
  }

  .bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    height: 64px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--accent);
    color: #fff;
    box-shadow: 0 -10px 28px rgba(45, 30, 21, 0.16);
  }

  .bottom-nav a,
  .bottom-nav button {
    min-width: 0;
    border: 0;
    background: transparent;
    color: #fff;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 2px;
    font-size: 11px;
    position: relative;
  }

  .bottom-nav svg {
    width: 20px;
    height: 20px;
  }

  .bottom-nav b {
    top: 5px;
    right: calc(50% - 24px);
    background: #fff;
    color: var(--accent);
  }

  .toast {
    top: calc(env(safe-area-inset-top, 0px) + 112px);
    bottom: auto;
    transform: translate(-50%, calc(-100% - 48px));
  }

  .toast.is-open {
    transform: translate(-50%, 0);
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  .contacts-card {
    padding: 22px 18px;
  }

  body[data-page-theme] {
    --page-paw-opacity: 0.48;
  }

  body[data-page-theme] main::after {
    display: none;
  }

  .contact-map,
  .contact-map iframe {
    min-height: 360px;
  }

  .contact-map__caption {
    left: 10px;
    right: 10px;
    bottom: 10px;
    display: grid;
    gap: 8px;
    padding: 13px 14px;
  }

  .contact-map__caption a {
    white-space: normal;
  }

  .image-lightbox {
    padding: 10px;
  }

  .image-lightbox__dialog {
    width: calc(100vw - 20px);
    height: min(86vh, 760px);
    padding: 54px 14px 58px;
    border-radius: 14px;
  }

  .image-lightbox__close {
    top: 10px;
    right: 10px;
  }

  .image-lightbox__nav {
    top: auto;
    bottom: 10px;
    transform: none;
    width: 42px;
    height: 42px;
  }

  .image-lightbox__nav--prev {
    left: 14px;
  }

  .image-lightbox__nav--next {
    right: 14px;
  }

  .image-lightbox__caption {
    bottom: auto;
    left: auto;
    right: auto;
    padding: 0 54px;
    font-size: 12px;
  }

  .wrap {
    width: min(100% - 20px, var(--wrap));
  }

  .brand__mark {
    width: 42px;
    height: 42px;
  }

  .brand__text strong {
    font-size: 18px;
  }

  .hero-side {
    min-height: 204px;
  }

  .promo-stack {
    grid-template-columns: 1fr;
  }

  .section-head,
  .catalog-title {
    display: grid;
    align-items: start;
  }

  .section-head h2,
  .catalog-title h1,
  .product-detail h1,
  .checkout h1 {
    font-size: 24px;
  }

  .hero h1 {
    font-size: 27px;
  }

  .category-grid,
  .benefit-grid,
  .form-grid,
  .characteristics {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-grid.is-list {
    grid-template-columns: 1fr;
  }

  .category-card {
    height: auto;
    min-height: 128px;
    grid-template-columns: 124px 1fr;
    grid-template-rows: 1fr;
    align-items: center;
  }

  .category-art {
    height: 100%;
    min-height: 128px;
  }

  .category-art--image {
    background-image: var(--category-mobile-image, var(--category-image, none));
    background-position: var(--category-mobile-image-position, var(--category-image-position, center));
    background-size: var(--category-mobile-image-fit, var(--category-image-fit, cover));
  }

  .category-card > span:not(.category-art) {
    padding: 14px;
  }

  .category-card strong {
    min-height: 0;
  }

  .product-card__media {
    aspect-ratio: 1 / 1;
    height: auto;
    padding: 0;
  }

  .product-card__actions {
    top: 6px;
    right: 6px;
    gap: 3px;
  }

  .product-card__actions .icon-button {
    width: 28px;
    height: 28px;
  }

  .product-card__actions .icon-button svg {
    width: 15px;
    height: 15px;
  }

  .badge {
    top: 6px;
    left: 6px;
    max-width: calc(100% - 74px);
    min-height: 18px;
    padding: 2px 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 9px;
    white-space: nowrap;
  }

  .product-card__dots {
    left: 8px;
    right: 8px;
    bottom: 4px;
    gap: 3px;
  }

  .product-card__dot {
    height: 2px;
  }

  .product-card__body {
    padding: 8px 9px 5px;
    gap: 4px;
  }

  .product-card__brand {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 10.5px;
    white-space: nowrap;
  }

  .product-card h3 {
    min-height: 29px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 12px;
    line-height: 1.2;
  }

  .status {
    gap: 4px;
    font-size: 10.5px;
  }

  .status::before {
    width: 5px;
    height: 5px;
  }

  .variants {
    display: none;
  }

  .product-card__footer {
    padding: 0 9px 9px;
    gap: 7px;
  }

  .price-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 4px;
  }

  .price {
    min-width: 0;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 16px;
    line-height: 1.1;
  }

  .price del {
    font-size: 10px;
  }

  .rating {
    gap: 2px;
    font-size: 10.5px;
  }

  .rating svg {
    width: 12px;
    height: 12px;
  }

  .add-button {
    min-height: 34px;
    padding: 0 8px;
    border-radius: 8px;
    gap: 5px;
    font-size: 12px;
    white-space: nowrap;
  }

  .add-button svg {
    width: 15px;
    height: 15px;
  }

  .product-art {
    width: min(116px, 68%);
    height: 106px;
  }

  .product-card__media .product-art:not(.product-art--image) {
    transform: scale(1.05);
  }

  .product-grid.is-list .product-card {
    grid-template-columns: 1fr;
  }

  .detail-gallery {
    min-height: 360px;
  }

  .detail-gallery__frame {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .detail-gallery__media {
    min-height: 300px;
    order: 1;
  }

  .detail-thumbs {
    order: 2;
    width: 100%;
    max-height: none;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px;
  }

  .detail-thumbs--empty {
    display: none;
  }

  .detail-gallery .product-art {
    transform: scale(1.05);
  }

  .detail-gallery .product-art--image {
    height: 300px;
    transform: none;
  }

  .quantity-row {
    grid-template-columns: 1fr;
  }

  .detail-actions .secondary-button,
  .detail-actions .primary-button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 62px 1fr;
  }
}

@media (min-width: 901px) {
  body[data-page="catalog"] main {
    overflow: visible;
  }

  .wrap {
    width: calc(100% - clamp(24px, 4.5vw, 96px)) !important;
    max-width: none;
  }

  .filter-panel {
    top: 116px;
  }
}
