@font-face {
  font-family: "Nata Sans";
  src: url("/fonts/nata-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "MAK";
  src: url("/fonts/mak.woff2/mak.woff2") format("woff2"),
  url("/fonts/mak.woff2/mak.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* =========================================================
   01. GLOBAL / TOKENS / RESET
   ========================================================= */

:root {
  --page-bg: #f6f7f2;
  --sidebar-bg: #5f6b80;
  --white: #fff;
  --text: #0d0d0d;
  --accent: #ed6c02;
  --sidebar-width: 323px;
  --page-left-gap: 24px;
  --page-right-gap: 43px;

  /* Единая горизонтальная сетка */
  --tablet-page-gap: 20px;
  --mobile-page-gap: 12px;
  
  /* Совместимость со старыми CSS страниц */
  --tablet-gap: var(--tablet-page-gap);
  --mobile-gap: var(--mobile-page-gap);

  /* Единый вертикальный ритм */
  --space-section: clamp(56px, 5vw, 72px);
  --space-section-lg: clamp(84px, 7vw, 108px);
  --space-heading: 40px;
  --space-content: 28px;
  --space-tight: 18px;
  --space-footer-y: 42px;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
}

html {
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 0;
  color: var(--text);
  background: var(--page-bg);
  font-family: "Nata Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

/* Декоративный паттерн для мобильных синих блоков */
.blue-pattern {
  display: none;
  pointer-events: none;
  user-select: none;
}

.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;
}

button,
input {
  font: inherit;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(22px, 1.65vw, 30px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.1px;
}

/* --- (min-width: 1729px) --- */
@media (min-width: 1729px) {
  :root {
    --sidebar-width: clamp(323px, 18.7vw, 360px);
    --page-left-gap: clamp(24px, 1.4vw, 30px);
    --page-right-gap: clamp(43px, 2.5vw, 50px);
  }
}

/* --- (max-width: 1280px) --- */
@media (max-width: 1280px) {
  :root {
    --sidebar-width: 280px;
    --page-left-gap: 20px;
    --page-right-gap: 28px;
  }
}

/* --- (max-width: 1024px) --- */
@media (max-width: 1024px) {
  :root {
    --mobile-header-height: 76px;
    --page-left-gap: var(--tablet-page-gap);
    --page-right-gap: var(--tablet-page-gap);

    --space-section: 52px;
    --space-section-lg: 72px;
    --space-heading: 32px;
    --space-content: 24px;
    --space-tight: 18px;
    --space-footer-y: 40px;
  }
}

/* --- (max-width: 760px) --- */
@media (max-width: 760px) {
  :root {
    --space-section: 44px;
    --space-section-lg: 60px;
    --space-heading: 28px;
    --space-content: 22px;
    --space-tight: 16px;
    --space-footer-y: 38px;
  }

  .section-heading h2 {
    letter-spacing: -0.4px;
  }
}

/* --- (max-width: 640px) --- */
@media (max-width: 640px) {
  :root {
    --mobile-header-height: 68px;
  }
}

/* --- (max-width: 480px) --- */
@media (max-width: 480px) {
  :root {
    --page-left-gap: var(--mobile-page-gap);
    --page-right-gap: var(--mobile-page-gap);

    --space-section: 36px;
    --space-section-lg: 48px;
    --space-heading: 24px;
    --space-content: 18px;
    --space-tight: 14px;
    --space-footer-y: 34px;
  }

  .section-heading h2 {
    font-size: 24px;
  }
}

/* --- (prefers-reduced-motion: reduce) --- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}



/* =========================================================
   03. КАТАЛОГ INTRO / SEARCH
   ========================================================= */

.catalog-intro {
  position: relative;
  z-index: 10;
  padding: 64px var(--page-right-gap) 0 var(--page-left-gap);
}

.catalog-intro h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.4px;
}

.catalog-search {
  display: block;
  max-width: 1050px;
  margin-top: 54px;
}

.catalog-search input {
  width: 100%;
  height: 46px;
  padding: 0 0 10px;
  border: 0;
  border-bottom: 1px solid #777a77;
  border-radius: 0;
  outline: 0;
  color: #111;
  background: transparent;
  font-size: 17px;
}

.catalog-search input::placeholder {
  color: #111;
  opacity: 1;
}

.catalog-search input:focus {
  border-bottom-color: var(--accent);
}

@media (max-width: 1024px) {
  .catalog-intro {
    padding: 48px var(--tablet-page-gap) 0;
  }

  .catalog-intro h1 {
    font-size: clamp(32px, 4.3vw, 44px);
  }
}

@media (max-width: 760px) {
  .catalog-intro {
    padding-top: 34px;
  }

  .catalog-intro h1 {
    font-size: 30px;
    line-height: 1.08;
  }

  .desktop-break {
    display: none;
  }

  .catalog-search {
    margin-top: 36px;
  }
}

@media (max-width: 480px) {
  .catalog-intro {
    padding-right: var(--mobile-page-gap);
    padding-left: var(--mobile-page-gap);
  }

  .catalog-intro h1 {
    font-size: 27px;
  }
}

/* =========================================================
   04. ФИЛЬТР — DESKTOP
   ========================================================= */

.catalog-filter {
  position: relative;
  max-width: 1150px;
  margin-top: 18px;
}

.catalog-filter__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}

.gender-filter,
.gift-filter,
.filter-control__button,
.catalog-filter__reset {
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 15px;
  font-weight: 300;
  cursor: pointer;
}

.gender-filter,
.gift-filter,
.filter-control__button {
  color: #8b8d89;
}

.gender-filter.is-active,
.gift-filter.is-active,
.filter-control__button.is-active {
  color: #111;
}

.catalog-filter__reset {
  color: #8b8d89;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.filter-control {
  position: relative;
}

.filter-popover {
  position: absolute;
  z-index: 20;
  top: calc(100% + 12px);
  left: -18px;

  display: none;
  width: min(320px, 80vw);

  padding: 22px;
  border: 1px solid #d9dad6;
  background: #fff;

  box-shadow: 0 14px 34px rgb(0 0 0 / 10%);
}

.filter-control.is-open .filter-popover {
  display: grid;
  gap: 12px;
}

.filter-popover strong {
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 400;
}

.filter-popover label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  cursor: pointer;
}

.filter-popover input {
  accent-color: var(--accent);
}

.catalog-mobile-tools {
  display: none;
}

@media (max-width: 760px) {
  .catalog-filter {
    display: none;
  }

  .catalog-mobile-tools {
    display: block;
    margin-top: 20px;
  }

  .catalog-mobile-filter-button {
    display: flex;
    width: 100%;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    border: 1px solid #b9bbb7;
    background: transparent;
    cursor: pointer;
  }

  .catalog-mobile-filter-count {
    display: grid;
    min-width: 26px;
    height: 26px;
    place-items: center;
    padding: 0 6px;
    border-radius: 999px;
    color: #fff;
    background: var(--sidebar-bg);
    font-size: 13px;
  }

  .active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
  }

  .active-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    padding: 0 11px;
    border: 1px solid #d0d2cd;
    border-radius: 999px;
    font-size: 13px;
  }
}

/* =========================================================
   05. MOBILE FILTER PAGE
   ========================================================= */

.mobile-filter-page {
  display: none;
}

@media (max-width: 760px) {
  .mobile-filter-page {
    position: fixed;
    z-index: 80;
    inset: var(--mobile-header-height) 0 0;

    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;

    color: #111;
    background: var(--page-bg);

    transform: translateX(102%);
    visibility: hidden;

    transition:
      transform 320ms cubic-bezier(.2,.8,.2,1),
      visibility 320ms;
  }

  .mobile-filter-page.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .mobile-filter-page__header {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    min-height: 68px;
    align-items: center;
    gap: 12px;
    padding: 0 var(--mobile-page-gap);
    border-bottom: 1px solid #d9dad6;
  }

  .mobile-filter-page__header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 300;
  }

  .mobile-filter-page__back {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .mobile-filter-page__back svg {
    width: 24px;
    height: 24px;
  }

  .mobile-filter-page__back path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
  }

  .mobile-filter-page__reset {
    padding: 0;
    border: 0;
    background: transparent;
    color: #777;
    font-size: 13px;
  }

  .mobile-filter-page__body {
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0 var(--mobile-page-gap) 24px;
  }

  .mobile-filter-group {
    border-bottom: 1px solid #d9dad6;
  }

  .mobile-filter-group summary {
    position: relative;
    padding: 22px 34px 22px 0;
    list-style: none;
    font-size: 18px;
    cursor: pointer;
  }

  .mobile-filter-group summary::-webkit-details-marker {
    display: none;
  }

  .mobile-filter-group summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 4px;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: 200;
  }

  .mobile-filter-group[open] summary::after {
    content: "–";
  }

  .mobile-filter-group > div {
    display: grid;
    gap: 16px;
    padding: 0 0 22px;
  }

  .mobile-filter-group label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
  }

  .mobile-filter-group input {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
  }

  .mobile-filter-page__footer {
    padding: 14px var(--mobile-page-gap) max(14px, env(safe-area-inset-bottom));
    border-top: 1px solid #d9dad6;
    background: var(--page-bg);
  }

  .mobile-filter-page__apply {
    width: 100%;
    min-height: 52px;
    border: 2px solid var(--accent);
    border-radius: 999px;
    background: transparent;
    font-size: 17px;
  }
}

/* =========================================================
   06. PRODUCT CARD — ТЕКУЩЕЕ ОФОРМЛЕНИЕ
   ========================================================= */

.product-card {
  min-width: 0;
}

.product-card[hidden] {
  display: none !important;
}

.product-card__image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 357 / 313;
  overflow: hidden;
  background: #ecece7;
}

.product-card__slides {
  position: absolute;
  inset: 0;
}

.product-card__slide {
  position: absolute;
  inset: 0;

  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  opacity: 0;

  transform: none;
  transform-origin: center;

  pointer-events: none;
  user-select: none;
}

.product-card__slide--1 {
  opacity: 1;
}

.product-card__dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 10px;

  display: flex;
  align-items: center;
  gap: 7px;

  transform: translateX(-50%);
  pointer-events: none;
}

.product-card__dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgb(13 13 13 / 28%);
}

.product-card__dots span:first-child {
  background: #111;
}

@media (hover: hover) and (pointer: fine) {
  .product-card:hover .product-card__slide--1 {
    animation: product-preview-slide-1 2.5s linear 1 forwards;
  }

  .product-card:hover .product-card__slide--2 {
    animation: product-preview-slide-2 2.5s linear 1 forwards;
  }

  .product-card:hover .product-card__slide--3 {
    animation: product-preview-slide-3 2.5s linear 1 forwards;
  }

  .product-card:hover .product-card__dots span:nth-child(1) {
    animation: product-preview-dot-1 2.5s linear 1 forwards;
  }

  .product-card:hover .product-card__dots span:nth-child(2) {
    animation: product-preview-dot-2 2.5s linear 1 forwards;
  }

  .product-card:hover .product-card__dots span:nth-child(3) {
    animation: product-preview-dot-3 2.5s linear 1 forwards;
  }
}

@keyframes product-preview-slide-1 {
  0%, 30% { opacity: 1; }
  34%, 95% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes product-preview-slide-2 {
  0%, 30% { opacity: 0; }
  34%, 63% { opacity: 1; }
  67%, 100% { opacity: 0; }
}

@keyframes product-preview-slide-3 {
  0%, 63% { opacity: 0; }
  67%, 95% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes product-preview-dot-1 {
  0%, 30%, 100% { background: #111; }
  34%, 95% { background: rgb(13 13 13 / 28%); }
}

@keyframes product-preview-dot-2 {
  0%, 30%, 67%, 100% { background: rgb(13 13 13 / 28%); }
  34%, 63% { background: #111; }
}

@keyframes product-preview-dot-3 {
  0%, 63%, 100% { background: rgb(13 13 13 / 28%); }
  67%, 95% { background: #111; }
}

.product-card__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding-top: 18px;
}

.product-card__heading h3,
.product-card__heading strong {
  margin: 0;
  font-size: clamp(15px, 1vw, 18px);
  font-weight: 400;
  line-height: 1.2;
}

.product-card__heading strong {
  white-space: nowrap;
}

.product-card__meta {
  margin: 22px 0 0;
}

.product-card__meta div {
  display: grid;
  grid-template-columns: minmax(72px, .8fr) 1.35fr;
  gap: 10px;
  margin-top: 7px;
}

.product-card__meta dt,
.product-card__meta dd {
  margin: 0;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.3;
}

.product-card__meta dt {
  color: #777;
}

.product-card__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  gap: 9px;
  width: 100%;
  margin-top: 22px;
}

.outline-button,
.product-card__quick-cart {
  min-height: 48px;
}

.outline-button {
  display: grid;
  width: 100%;
  place-items: center;
  border: 2px solid var(--accent);
  border-radius: 999px;
  background: transparent;
  font-size: 15px;
}

.product-card__quick-cart {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 6px;
  color: #2d2f31;
  background: #e1e3df;
  cursor: pointer;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.product-card__quick-cart svg {
  width: 21px;
  height: 21px;
}

.product-card__quick-cart path,
.product-card__quick-cart circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.outline-button:hover {
  color: #fff;
  background: var(--accent);
}


.product-card__quick-cart:hover,
.product-card__quick-cart:focus-visible {
  color: #fff;
  background: var(--sidebar-bg);
  outline: none;
}

/* =========================================================
   07. CATEGORY SECTIONS + ADAPTIVE
   ========================================================= */

.catalog-results,
.catalog-category {
  padding-right: var(--page-right-gap);
  padding-left: var(--page-left-gap);
}

.catalog-results {
  padding-top: 28px;
}

.catalog-category {
  padding: 0;
  scroll-margin-top: 24px;
}

.catalog-category + .catalog-category {
  margin-top: 58px;
}

.catalog-category__title {
  margin: 0 0 28px;
  font-size: clamp(25px, 2vw, 32px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -.6px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 46px 18px;
}

.catalog-empty {
  padding: 80px 0;
  text-align: center;
}

.catalog-empty h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 300;
}

.catalog-empty p {
  margin: 14px 0 24px;
  color: #666;
}

.catalog-empty button {
  min-height: 48px;
  padding: 0 26px;
  border: 2px solid var(--accent);
  border-radius: 999px;
  background: transparent;
}

@media (max-width: 1280px) {
  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .catalog-results {
    padding-right: var(--tablet-page-gap);
    padding-left: var(--tablet-page-gap);
  }

  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 42px 16px;
  }
}

@media (max-width: 760px) {
  .catalog-results {
    padding-top: 34px;
  }

  .catalog-category + .catalog-category {
    margin-top: 50px;
  }

  .catalog-category__title {
    margin-bottom: 24px;
    font-size: 26px;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 12px;
  }

  .product-card__actions {
    grid-template-columns: minmax(0, 1fr) 46px;
  }
}

@media (max-width: 560px) {
  .catalog-results {
    padding-right: var(--mobile-page-gap);
    padding-left: var(--mobile-page-gap);
  }

  .catalog-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
  }

  .product-card__image {
    aspect-ratio: 357 / 313;
  }

  .product-card__heading h3,
  .product-card__heading strong {
    font-size: 17px;
  }
}

/* =========================================================
   08. GIFT CERTIFICATE + ADAPTIVE
   ========================================================= */

.gift-certificate {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  align-items: center;
  gap: clamp(40px, 6vw, 90px);

  margin-top: 68px;
  padding: 52px var(--page-right-gap) 52px var(--page-left-gap);

  color: #fff;
  background: var(--sidebar-bg);
}

.gift-certificate__lead {
  margin: 0;
  max-width: 520px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.35;
}

.gift-form {
  display: grid;
  gap: 15px;
  width: min(100%, 500px);
  margin-top: 36px;
}

.gift-form input {
  width: 100%;
  height: 42px;
  border: 0;
  border-bottom: 1px solid rgb(255 255 255 / 72%);
  border-radius: 0;
  outline: none;
  color: #fff;
  background: transparent;
  text-align: center;
}

.gift-form input::placeholder {
  color: #fff;
  opacity: .95;
}

.gift-form button {
  min-height: 50px;
  margin-top: 8px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #111;
}

.form-message {
  min-height: 18px;
  margin: 0;
  font-size: 12px;
  text-align: center;
}

.gift-certificate__visual {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 34px 76px 34px 44px;
  color: #111;
  background: #fff2dd;
}

.gift-certificate__visual h2 {
  margin: 0;
  font-size: clamp(22px, 1.65vw, 30px);
  font-weight: 300;
  line-height: 1.05;
}

.gift-certificate__visual strong {
  display: block;
  margin-top: 38px;
  font-family: "MAK", "Mak", Georgia, serif;
  font-size: clamp(34px, 3vw, 52px);
  font-weight: 400;
}

.gift-certificate__mark {
  position: absolute;
  right: 16%;
  top: 5%;
  font-family: "MAK", "Mak", Georgia, serif;
  font-size: 260px;
  line-height: 1;
  opacity: .08;
}

.gift-certificate__brand {
  position: absolute;
  right: 10px;
  top: 50%;
  font-family: "MAK", "Mak", Georgia, serif;
  font-size: 54px;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center;
  color: var(--sidebar-bg);
}

@media (max-width: 1024px) {
  .gift-certificate {
    padding-right: var(--tablet-page-gap);
    padding-left: var(--tablet-page-gap);
  }

  .gift-certificate__visual {
    min-height: 280px;
  }
}

@media (max-width: 760px) {
  .gift-certificate {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .gift-form {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .gift-certificate {
    padding-right: var(--mobile-page-gap);
    padding-left: var(--mobile-page-gap);
  }

  .gift-certificate__visual {
    min-height: 245px;
    padding: 28px 58px 28px 24px;
  }

  .gift-certificate__brand {
    font-size: 42px;
  }
}

/* =========================================================
   08. ИНДИВИДУАЛЬНЫЙ ЗАКАЗ / CUSTOM ORDER
   ========================================================= */

.custom-section {
  width: 100%;
  min-width: 0;

  padding:
    var(--space-section, 72px)
    var(--page-right-gap, 43px)
    0
    var(--page-left-gap, 24px);

  font-family: "Nata Sans", Arial, sans-serif;
}


/* =========================================================
   BUTTON
   ========================================================= */

.custom-order-button {
  display: grid;
  place-items: center;

  width: min(100%, 280px);
  min-height: 50px;

  margin-top: var(--space-content, 28px);

  padding: 0 28px;

  border: 2px solid var(--accent, #ed6c02);
  border-radius: 999px;

  background: transparent;

  font-size: 17px;
  line-height: 1;

  justify-self: start;

  cursor: pointer;

  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}


.custom-order-button:hover,
.custom-order-button:focus-visible {
  color: #fff;
  background: var(--accent, #ed6c02);
}


/* =========================================================
   CONTENT
   ========================================================= */

.custom-intro {
  display: grid;

  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(380px, .95fr);

  align-items: center;

  gap: clamp(50px, 6vw, 96px);

  width: 100%;
  min-width: 0;
}


.custom-intro__image {
  width: 100%;
  min-width: 0;

  overflow: hidden;

  aspect-ratio: 1.12;
}


.custom-intro__image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}


.custom-intro__content {
  width: 100%;
  min-width: 0;
}


.custom-intro__content h2 {
  margin: 0;

  font-family: "Nata Sans", Arial, sans-serif;

  font-size: clamp(22px, 1.65vw, 30px);
  font-weight: 300;
  line-height: 1.05;

  letter-spacing: -.8px;
}


.custom-benefits {
  display: grid;

  gap: var(--space-content, 28px);

  margin:
    var(--space-heading, 40px)
    0
    0;

  padding: 0;

  list-style: none;
}


.custom-benefits li {
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.35;
}



/* =========================================================
   TABLET — max-width: 1024px
   ========================================================= */

@media (max-width: 1024px) {

  .custom-section {
    padding-top: var(--space-section, 52px);
    padding-right: var(--tablet-page-gap);
    padding-left: var(--tablet-page-gap);
  }


  .custom-intro {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(0, 1fr);

    gap: 42px;
  }

}



/* =========================================================
   MOBILE — max-width: 760px
   ========================================================= */

@media (max-width: 760px) {

  .custom-section {
    padding-top: var(--space-section, 44px);
  }


  .custom-intro {
    grid-template-columns:
      minmax(0, 1fr);

    gap: var(--space-heading, 28px);
  }


  .custom-intro__image,
  .custom-intro__content {
    min-width: 0;
  }


  .custom-intro__content h2 {
    overflow-wrap: anywhere;
  }

}


/* =========================================================
   MOBILE GRID — max-width: 560px
   ========================================================= */

@media (max-width: 560px) {

  .custom-section {
    padding-right: var(--mobile-page-gap);
    padding-left: var(--mobile-page-gap);
  }

}



/* =========================================================
   SMALL MOBILE — max-width: 480px
   ========================================================= */

@media (max-width: 480px) {

  .custom-section {
    padding-top: var(--space-section, 36px);
  }


  .custom-intro__content h2 {
    font-size: 24px;
  }


  .custom-benefits li {
    font-size: 16px;
  }

}



/* =========================================================
   14. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =========================================================
   PRODUCT CARD — MOBILE IMAGE SWIPE
   ========================================================= */

@media (max-width: 1024px) {

  .product-card__image[data-card-gallery] {
    touch-action: pan-y;
  }


  .product-card__slide {
    transition: opacity 180ms ease;
  }


  /*
   * Только после успешной инициализации JS
   * начинаем управлять изображениями через is-active.
   *
   * Если JS не загрузился — базовый .slide--1 остается видимым.
   */
  .product-card__image.is-gallery-ready
  .product-card__slide {
    opacity: 0;
  }


  .product-card__image.is-gallery-ready
  .product-card__slide.is-active {
    opacity: 1;
  }


  .product-card__image.is-gallery-ready
  .product-card__dots span {
    background: rgb(13 13 13 / 28%);
  }


  .product-card__image.is-gallery-ready
  .product-card__dots span.is-active {
    background: #111;
  }

}