/* KUGOO v2.0 — эволюция в рамках существующей дизайн-системы */


/* Site header — see css/header.css */


/* Trust strip */
.trust-strip {
  background: #fff;
  border-top: 1px solid #E5E5E5;
  border-bottom: 1px solid #E5E5E5;
  padding: 18px 0;
}
.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.trust-strip__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: #F7F7F7;
  border-radius: 3px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.trust-strip__item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}
.trust-strip__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
.trust-strip__icon--dealer { background-image: url('../img/logo.svg'); background-size: 28px auto; }
.trust-strip__icon--warranty { background-image: url('../img/confirmation.svg'); }
.trust-strip__icon--service { background-image: url('../img/call.svg'); }
.trust-strip__icon--delivery { background-image: url('../img/delivery.svg'); }
.trust-strip__icon--return { background-image: url('../img/registration.svg'); }
.trust-strip__title { font-size: 12px; font-weight: 600; color: #4D4D4D; line-height: 1.3; }
.trust-strip__text { font-size: 11px; color: #777; line-height: 1.35; margin-top: 2px; }

/* Catalog section */
.product {
  padding: 48px 0 56px;
  background: #F7F7F7;
}

.catalog-head {
  text-align: center;
  margin-bottom: 28px;
}
.catalog-head__subtitle {
  display: block;
  font-size: 13px;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.catalog-head__title {
  font-size: 32px;
  font-weight: 300;
  color: #4D4D4D;
  margin-bottom: 10px;
}
.catalog-head__text {
  font-size: 14px;
  color: #777;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.5;
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}
.catalog-filter {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  color: #4D4D4D;
  background: #fff;
  border: 1px solid #E5E5E5;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.catalog-filter:hover {
  border-color: #EA5455;
  color: #EA5455;
  box-shadow: 0 2px 8px rgba(234, 84, 85, 0.12);
}
.catalog-filter.is-active {
  background: var(--cv-gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 14px rgba(234, 84, 85, 0.28);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 20px;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
}

.catalog-grid > * {
  min-width: 0;
}

/* Product card */
.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  overflow: hidden;
  scroll-margin-top: 100px;
  transition: box-shadow 0.28s ease, transform 0.28s ease, border-color 0.28s ease;
  height: 100%;
  min-width: 0;
  box-shadow: 0 2px 12px rgba(17, 17, 26, 0.05);
}
.product__box.product-card {
  padding-top: 0;
}
.product-card .product-card__body.product__info {
  background: transparent;
  padding: 18px 18px 20px;
  height: auto;
  min-height: 0;
  flex: 1 1 auto;
}
.product-card:hover {
  border-color: rgba(234, 84, 85, 0.2);
  box-shadow: 0 16px 40px rgba(17, 17, 26, 0.1);
  transform: translateY(-4px);
}

.product-card__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  height: auto;
  flex-shrink: 0;
  padding: 20px 16px;
  background: linear-gradient(160deg, #fafbfc 0%, #eef1f5 100%);
  cursor: pointer;
  border: none;
  width: 100%;
}
/* Сброс глобальных .product__block / .product__image { height: 100% } */
.product-card .product__block.product-card__media {
  height: auto;
  background: linear-gradient(160deg, #fafbfc 0%, #eef1f5 100%);
}
.product-card__image,
.product-card__media picture,
.product-card__media img,
.product-card .product__image {
  display: block;
  width: auto;
  height: auto;
  max-width: 88%;
  max-height: 100%;
  object-fit: contain;
  margin: 0 auto;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.product-card:hover .product-card__image,
.product-card:hover .product-card__media img {
  transform: scale(1.05);
}

.product-card__discount {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 11px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--cv-gradient);
  border-radius: 999px;
  line-height: 1;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(234, 84, 85, 0.35);
}

.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0;
  box-sizing: border-box;
  min-width: 0;
}

.product-card__head {
  margin-bottom: 14px;
}
.product-card__head .product-card__series {
  display: block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #EA5455;
  margin-bottom: 8px;
}
.product-card__body .product__title {
  font-size: 17px;
  font-weight: 700;
  color: #1d1d1f;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}
.product-card__body .product__subtitle {
  display: block;
  font-size: 13px;
  color: #999;
  line-height: 1.4;
  margin: 0;
}

.product-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #F0F0F2;
  font-size: 12px;
  color: #777;
}
.product-card__rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.product-card__rating-value {
  font-weight: 700;
  color: #1a1a1a;
  font-size: 12px;
  line-height: 1;
}
.product-card__reviews {
  color: #888;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}
.product-card__stars,
.rating-stars {
  position: relative;
  display: inline-grid;
  flex-shrink: 0;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 2px;
  width: calc(14px * 5 + 2px * 4);
  height: 14px;
}
.product-card__stars__track,
.product-card__stars__fill,
.rating-stars__track,
.rating-stars__fill {
  grid-area: 1 / 1;
  white-space: nowrap;
}
.product-card__stars__track,
.rating-stars__track {
  color: #e2e2e8;
}
.product-card__stars__fill,
.rating-stars__fill {
  color: #ffb800;
  overflow: hidden;
  width: 0;
}
.product-card__rating strong {
  color: #EA5455;
  font-weight: 700;
}
.product-card__stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  color: #4D4D4D;
  white-space: nowrap;
}
.product-card__stock::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34C759;
  flex-shrink: 0;
}
.product-card__stock--order {
  color: #8A8A8A;
}
.product-card__stock--order::before {
  background: #FF9500;
}

.product-card__price {
  margin-bottom: 16px;
}
.product-card__price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-bottom: 6px;
}
.product-card__price .product__price {
  font-size: 22px;
  font-weight: 800;
  color: #EA5455;
  letter-spacing: -0.02em;
  line-height: 1;
}
.product-card__price .product__price-old {
  font-size: 14px;
  color: #AAA;
  text-decoration: line-through;
}
.product-card__installment {
  display: inline-block;
  font-size: 12px;
  color: #777;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: rgba(234, 84, 85, 0.35);
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.product-card__installment:hover {
  color: #EA5455;
}

.product-card__specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  border: none;
  border-radius: 12px;
  overflow: visible;
  margin-bottom: 14px;
  background: transparent;
}
.product-card__spec {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 10px 4px;
  text-align: center;
  background: #f4f5f7;
  border-radius: 10px;
}
.product-card__spec + .product-card__spec {
  border-left: none;
}
.product-card__spec strong {
  font-size: 14px;
  font-weight: 600;
  color: #4D4D4D;
  line-height: 1.2;
}
.product-card__spec span {
  font-size: 10px;
  color: #999;
  text-transform: lowercase;
  letter-spacing: 0.02em;
}

.product-card .product__holder.product-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
  padding-top: 6px;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
}
.product-card .product__holder.product-card__actions .button,
.product-card .product__holder.product-card__actions .product__detail-btn {
  width: 100%;
  margin: 0;
  padding: 14px 12px;
  font-size: 13px;
  text-align: center;
  line-height: 1.2;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  box-sizing: border-box;
}
.product-card .product__holder.product-card__actions .button,
.product-card .product__holder.product-card__actions .product__detail-btn {
  grid-column: auto;
}

/* Legacy overrides — catalog mode */
.product-card .product__characteristic,
.product-card .product__aside,
.product-card .product__badge-row,
.product-card .product__chips,
.product-card .product__details-toggle,
.product-card .product__page,
.product-card .product__credit {
  display: none !important;
}

.product-card.is-enhanced {
  animation: cv-fade-in 0.4s ease backwards;
}
.product-card.is-lazy-pending {
  opacity: 0;
  transform: translateY(12px);
}
.product-card.is-lazy-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.catalog-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  margin-top: 28px;
  padding-bottom: 8px;
}
.catalog-footer__info {
  font-size: 13px;
  color: #777;
  margin-bottom: 4px;
}
.catalog-footer .catalog-full-btn.header__btn {
  width: auto;
  margin-top: 0;
  padding: 6px 12px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #777;
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  box-shadow: none;
}
.catalog-footer .catalog-full-btn.header__btn:hover {
  color: #ea5455;
  background: transparent;
  transform: none;
}

.catalog-full-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 500;
  color: #EA5455;
  text-decoration: none;
  transition: color 0.2s ease;
}
.catalog-full-link:hover {
  color: #c43d3e;
  text-decoration: underline;
}
.catalog-full-btn {
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

/* Full catalog page */
.catalog-page {
  padding-top: 8px;
}
.catalog-page .product {
  padding-top: 32px;
}
.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}
.catalog-main {
  min-width: 0;
  max-width: 100%;
}
.catalog-sidebar {
  position: sticky;
  top: 16px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: #fff;
  border: 1px solid #E5E5E5;
  border-radius: 3px;
  padding: 20px;
}
.catalog-sidebar__title {
  font-size: 15px;
  font-weight: 600;
  color: #4D4D4D;
  margin: 0 0 16px;
}
.catalog-sidebar__group {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #ECECEC;
}
.catalog-sidebar__group:last-of-type {
  border-bottom: none;
  margin-bottom: 12px;
  padding-bottom: 0;
}
.catalog-sidebar__head {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.catalog-sidebar__close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  padding: 0;
  font-size: 24px;
  line-height: 1;
  color: #777;
  background: #F5F5F5;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}
.catalog-sidebar__close:hover {
  color: #EA5455;
  background: #FFF0F0;
}
.catalog-sidebar__apply {
  display: none;
  width: 100%;
  margin-top: 10px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background: var(--cv-gradient);
  border: none;
  border-radius: 3px;
  cursor: pointer;
}
.catalog-sidebar__label {
  display: block;
  width: 100%;
  padding: 0;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #777;
  margin-bottom: 10px;
  text-align: left;
  background: none;
  border: none;
  font-family: inherit;
  cursor: default;
}
.catalog-sidebar__label::after {
  display: none;
}
.catalog-filters--stack {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}
.catalog-filters--stack .catalog-filter {
  width: 100%;
  text-align: left;
}
.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.catalog-toolbar__count {
  font-size: 14px;
  color: #777;
  margin: 0;
}
.catalog-toolbar__sort {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #4D4D4D;
}
.catalog-toolbar__select {
  padding: 8px 12px;
  font-size: 13px;
  font-family: inherit;
  border: 1px solid #E5E5E5;
  border-radius: 3px;
  background: #fff;
  color: #4D4D4D;
  cursor: pointer;
  min-width: 0;
  max-width: 100%;
}
.catalog-reset {
  width: 100%;
  padding: 10px;
  font-size: 13px;
  font-family: inherit;
  color: #777;
  background: transparent;
  border: 1px dashed #D5D5D5;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.catalog-reset--inline {
  width: auto;
  margin-left: auto;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
.catalog-reset:hover:not(:disabled) {
  border-color: #EA5455;
  color: #EA5455;
}
.catalog-reset:disabled {
  opacity: 0.4;
  cursor: default;
}
.catalog-page .catalog-grid {
  max-width: none;
  margin: 0;
}
.catalog-series-scroll {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.catalog-filters[role="tablist"].catalog-series-scroll {
  flex-wrap: nowrap;
  overflow-x: auto;
  justify-content: center;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding-bottom: 4px;
  max-width: 100%;
  width: 100%;
  min-width: 0;
  overscroll-behavior-x: contain;
}
.catalog-series-scroll .catalog-filter {
  padding: 8px 14px;
  font-size: 12px;
}
.catalog-empty {
  text-align: center;
  padding: 48px 24px;
  background: #fff;
  border: 1px dashed #E5E5E5;
  border-radius: 3px;
}
.catalog-empty__title {
  font-size: 18px;
  font-weight: 600;
  color: #4D4D4D;
  margin-bottom: 8px;
}
.catalog-empty__text {
  font-size: 14px;
  color: #777;
  margin-bottom: 16px;
}
.catalog-breadcrumb {
  font-size: 13px;
  color: #777;
  margin-bottom: 8px;
}
.catalog-breadcrumb a {
  color: #777;
  text-decoration: none;
}
.catalog-breadcrumb a:hover {
  color: #EA5455;
}

/* Mobile catalog filters */
.catalog-filters-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 240;
  background: rgba(17, 17, 26, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.catalog-filters-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
}
.catalog-mobile-bar {
  display: none;
  gap: 8px;
  align-items: stretch;
  margin-bottom: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.catalog-mobile-series-wrap {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.catalog-filters--mobile-series {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  margin: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
  max-width: 100%;
  min-width: 0;
  overscroll-behavior-x: contain;
}
.catalog-filters--mobile-series::-webkit-scrollbar {
  display: none;
}
.catalog-filters--mobile-series .catalog-filter {
  flex: 0 0 auto;
  padding: 7px 12px;
  font-size: 12px;
}
.catalog-mobile-filters-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
  min-height: 36px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  color: #4D4D4D;
  background: #fff;
  border: 1px solid #E5E5E5;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}
.catalog-mobile-filters-btn__icon {
  width: 14px;
  height: 14px;
  background: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234D4D4D' stroke-width='2'%3E%3Cpath d='M4 6h16M7 12h10M10 18h4'/%3E%3C/svg%3E");
}
.catalog-mobile-filters-btn__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: #EA5455;
  border-radius: 999px;
}
.catalog-mobile-filters-btn.is-active,
.catalog-mobile-filters-btn:hover {
  border-color: #EA5455;
  color: #EA5455;
}

@media (max-width: 991px) {
  .catalog-filters-backdrop {
    display: block;
  }
  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    max-width: 100%;
  }
  .catalog-sidebar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 250;
    top: auto;
    max-height: min(78vh, 640px);
    margin: 0;
    padding: 14px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    border-radius: 16px 16px 0 0;
    border: none;
    box-shadow: 0 -8px 32px rgba(17, 17, 26, 0.16);
    transform: translateY(105%);
    transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
    overflow-y: auto;
  }
  .catalog-sidebar.is-open {
    transform: translateY(0);
  }
  .catalog-sidebar__head {
    display: flex;
    position: sticky;
    top: -14px;
    z-index: 2;
    margin: -14px -16px 10px;
    padding: 12px 16px 10px;
    background: #fff;
    border-bottom: 1px solid #ECECEC;
  }
  .catalog-sidebar__title {
    margin: 0;
    font-size: 16px;
  }
  .catalog-sidebar__apply {
    display: block;
  }
  .catalog-sidebar__group {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }
  .catalog-sidebar__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 12px 0;
    font-size: 12px;
    cursor: pointer;
    border-bottom: 1px solid #ECECEC;
  }
  .catalog-sidebar__label::after {
    display: block;
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid #999;
    border-bottom: 2px solid #999;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    flex-shrink: 0;
    margin-left: 8px;
  }
  .catalog-sidebar__group.is-open .catalog-sidebar__label::after {
    transform: rotate(-135deg);
    margin-top: 4px;
  }
  .catalog-sidebar__group .catalog-filters {
    display: none;
    margin: 0 0 8px;
    padding-top: 4px;
  }
  .catalog-sidebar__group.is-open .catalog-filters {
    display: flex;
  }
  .catalog-filters--stack {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }
  .catalog-filters--stack .catalog-filter {
    width: auto;
    flex: 1 1 calc(50% - 6px);
    min-width: 0;
    padding: 8px 10px;
    font-size: 11px;
    text-align: center;
    line-height: 1.25;
  }
  .catalog-sidebar .catalog-series-scroll {
    flex-wrap: wrap;
    overflow: visible;
  }
  .catalog-sidebar .catalog-series-scroll .catalog-filter {
    flex: 0 1 calc(25% - 6px);
    min-width: 44px;
    padding: 7px 8px;
    font-size: 11px;
    text-align: center;
  }
  .catalog-reset {
    margin-top: 8px;
    padding: 8px;
    font-size: 12px;
  }
  .catalog-toolbar {
    margin-bottom: 12px;
    gap: 8px;
  }
  .catalog-toolbar__count {
    font-size: 13px;
    flex: 1 1 100%;
  }
  .catalog-toolbar__sort {
    font-size: 12px;
    width: 100%;
    justify-content: space-between;
    min-width: 0;
  }
  .catalog-toolbar__select {
    flex: 1;
    max-width: none;
    min-width: 0;
    padding: 7px 10px;
    font-size: 12px;
  }
  .catalog-head {
    margin-bottom: 4px;
  }
  .catalog-head__text {
    font-size: 13px;
  }
  .catalog-sidebar__group--series {
    display: none;
  }
}

@media (min-width: 992px) {
  .catalog-sidebar {
    position: sticky;
    transform: none;
    max-height: calc(100vh - 32px);
    border-radius: 3px;
    border: 1px solid #E5E5E5;
    box-shadow: none;
    padding: 20px;
  }
  .catalog-sidebar__head {
    display: flex;
    align-items: center;
    gap: 8px;
    position: static;
    margin: 0 0 16px;
    padding: 0;
    border: none;
  }
  .catalog-sidebar__head .catalog-sidebar__title {
    margin: 0;
    flex: 1;
    min-width: 0;
  }
  .catalog-sidebar__close,
  .catalog-sidebar__apply {
    display: none;
  }
  .catalog-sidebar__group .catalog-filters {
    display: flex !important;
  }
  .catalog-sidebar__label {
    pointer-events: none;
    cursor: default;
    border-bottom: none;
    padding: 0;
    margin-bottom: 10px;
  }
  .catalog-sidebar__label::after {
    display: none !important;
  }
}

body.catalog-filters-open {
  overflow: hidden;
}

/* Spec blocks in product panel — brand icons */
.pp-spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin: 14px 0 20px;
}
.pp-spec {
  padding: 14px 12px;
  background: #F0F0F2;
  border-radius: 3px;
  text-align: center;
  border-top: 3px solid #EA5455;
}
.pp-spec__label { font-size: 11px; color: #777; margin-bottom: 4px; }
.pp-spec__value { font-size: 15px; font-weight: 600; color: #4D4D4D; }

.pp-section-title {
  font-size: 18px;
  font-weight: 600;
  color: #4D4D4D;
  margin: 22px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #E5E5E5;
}

.pp-trust-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin: 16px 0;
}
.pp-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: #F0F0F2;
  border-radius: 3px;
  font-size: 12px;
  color: #4D4D4D;
}
.pp-trust-item i {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: center/contain no-repeat;
}

/* Micro-animations */
@keyframes cv-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.product-panel.is-open .product-panel__sheet {
  animation: cv-panel-in 0.3s ease;
}
@keyframes cv-panel-in {
  from { opacity: 0.92; }
  to { opacity: 1; }
}
.cart-drawer.is-open {
  animation: cv-slide-in 0.3s ease;
}
@keyframes cv-slide-in {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

/* Mobile catalog */
@media (max-width: 639px) {
  .page-catalog #product > .container,
  #product > .container {
    padding-left: 12px;
    padding-right: 12px;
    max-width: 100%;
    overflow-x: visible;
  }

  .catalog-head__title { font-size: 24px; }
  .catalog-filters[role="tablist"].catalog-series-scroll {
    justify-content: flex-start;
  }
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    max-width: 100%;
  }
  .product-card__media {
    padding: 14px 10px;
  }
  .product-card .product-card__body.product__info {
    padding: 12px 12px 14px;
  }
  .product-card__head {
    margin-bottom: 10px;
  }
  .product-card__body .product__title {
    font-size: 13px;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }
  .product-card__body .product__subtitle {
    display: none;
  }
  .product-card__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 10px;
    font-size: 11px;
  }
  .product-card__reviews {
    white-space: normal;
  }
  .product-card__stock {
    white-space: normal;
  }
  .product-card__price .product__price { font-size: 18px; }
  .product-card__price .product__price-old { font-size: 12px; }
  .product-card__installment {
    font-size: 10px;
    white-space: normal;
    line-height: 1.3;
    max-width: 100%;
  }
  .product-card__specs {
    margin-bottom: 10px;
    gap: 4px;
  }
  /* 2 колонки каталога — узкая карточка, три блока ломают вёрстку */
  .product-card .product-card__specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-card .product-card__spec:nth-child(3) {
    display: none;
  }
  .product-card__spec {
    padding: 8px 2px;
    border-radius: 8px;
    min-width: 0;
  }
  .product-card__spec strong {
    font-size: 12px;
    white-space: nowrap;
  }
  .product-card__spec span { font-size: 9px; }
  .product-card .product__holder.product-card__actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .product-card .product__holder.product-card__actions .button,
  .product-card .product__holder.product-card__actions .product__detail-btn {
    min-height: 42px;
    padding: 11px 10px;
    font-size: 12px;
  }
  .product-card__discount {
    top: 8px;
    right: 8px;
    padding: 4px 8px;
    font-size: 10px;
  }
  .trust-strip__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 359px) {
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  /* Одна колонка — места хватает на все три характеристики */
  .product-card .product-card__specs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .product-card .product-card__spec:nth-child(3) {
    display: flex;
  }
}

@media (min-width: 640px) and (max-width: 899px) {
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 900px) {
  .catalog-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 22px;
  }
}

@media (min-width: 1200px) {
  .catalog-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 24px;
  }
}

@media (min-width: 1600px) {
  .catalog-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  }
}

#product .catalog-grid.catalog-grid--preview {
  grid-template-columns: repeat(var(--catalog-cols, 3), minmax(0, 1fr));
}

/* Customer photos in product panel */
.customer-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.customer-photos img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 3px;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.customer-photos img:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Checkout payment UI — brand */
.checkout__optional { font-weight: 400; }

/* Order steps section */
.order {
  background: #fff;
}

.order__box {
  padding: 56px 0 64px;
  text-align: center;
  background: none;
}

.order-head {
  max-width: 560px;
  margin: 0 auto;
}

.order-head__badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ea5455;
  background: rgba(234, 84, 85, 0.08);
  border-radius: 999px;
}

.order-head__title {
  font-size: 32px;
  font-weight: 300;
  color: #4d4d4d;
  margin-bottom: 10px;
}

.order-head__text {
  font-size: 15px;
  line-height: 1.55;
  color: #777;
}

.order-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.order-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 20px 18px;
  background: #f7f7f7;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  text-align: left;
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.order-step:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.order-step:first-child {
  border-left: 4px solid #ea5455;
  background: linear-gradient(90deg, rgba(234, 84, 85, 0.06) 0%, #f7f7f7 28%);
}

.order-step__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.order-step__num {
  font-size: 36px;
  font-weight: 300;
  line-height: 1;
  color: rgba(234, 84, 85, 0.35);
}

.order-step__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e5e5e5;
  color: #ea5455;
}

.order-step__icon svg {
  width: 20px;
  height: 20px;
}

.order-step__title {
  font-size: 17px;
  font-weight: 700;
  color: #4d4d4d;
  line-height: 1.25;
  margin: 0;
  padding: 0;
}

.order-step__text {
  font-size: 14px;
  line-height: 1.5;
  color: #777;
  font-weight: 400;
  margin: 0;
}

.order-cta {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.order-cta__btn {
  min-width: 240px;
  padding: 14px 32px;
  font-size: 15px;
  border-radius: 8px;
}

.order-cta__note {
  font-size: 14px;
  color: #777;
  margin: 0;
}

.order-cta__note a {
  color: #4d4d4d;
  font-weight: 600;
  text-decoration: none;
}

.order-cta__note a:hover {
  color: #ea5455;
}

@media (min-width: 768px) {
  .order-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .order-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }

  .order-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 38px;
    right: -13px;
    width: 8px;
    height: 8px;
    border-top: 2px solid #d0d0d0;
    border-right: 2px solid #d0d0d0;
    transform: rotate(45deg);
    z-index: 1;
  }
}

@media (max-width: 767px) {
  .order__box {
    padding: 40px 0 48px;
  }

  .order-head__title {
    font-size: 24px;
  }

  .order-cta__btn {
    width: 100%;
  }
}

/* Delivery section */
.delivery {
  padding: 56px 0 64px;
  background: #f0f2f5;
  border-top: 1px solid #e8eaed;
}

.delivery-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}

.delivery-head__badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ea5455;
  background: rgba(234, 84, 85, 0.08);
  border-radius: 999px;
}

.delivery-head__title {
  font-size: 32px;
  font-weight: 300;
  color: #2f3f4f;
  margin-bottom: 12px;
}

.delivery-head__text {
  font-size: 15px;
  line-height: 1.55;
  color: #6b7c8f;
}

.delivery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.delivery-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 24px 22px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.delivery-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #c8d0d8;
}

.delivery-card:nth-child(1)::before {
  background: var(--cv-gradient);
}

.delivery-card:nth-child(2)::before {
  background: #4a6278;
}

.delivery-card:nth-child(3)::before {
  background: #6b7c8f;
}

.delivery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.1);
}

.delivery-card--featured {
  box-shadow: 0 8px 28px rgba(234, 84, 85, 0.12);
}

.delivery-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.delivery-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #f0f4f8;
  color: #2f3f4f;
}

.delivery-card__icon svg {
  width: 24px;
  height: 24px;
}

.delivery-card--featured .delivery-card__icon {
  background: rgba(234, 84, 85, 0.1);
  color: #ea5455;
}

.delivery-card__icon--region,
.delivery-card__icon--cdek {
  color: #4a6278;
}

.delivery-card__price {
  flex-shrink: 0;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  background: var(--cv-gradient);
  border-radius: 999px;
  white-space: nowrap;
}

.delivery-card__price--calc {
  font-size: 12px;
  color: #fff;
  background: #2f3f4f;
}

.delivery-card__price--muted {
  color: #2f3f4f;
  background: #f0f4f8;
  border: 1px solid #e2e8f0;
}

.delivery-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.delivery-card__zone {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6b7c8f;
  background: #f4f6f8;
  border-radius: 6px;
}

.delivery-card--featured .delivery-card__zone {
  color: #ea5455;
  background: rgba(234, 84, 85, 0.08);
}

.delivery-card__eta {
  font-size: 13px;
  font-weight: 600;
  color: #2f3f4f;
}

.delivery-card__title {
  font-size: 22px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.25;
  margin: 0;
}

.delivery-card__text {
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}

.delivery-card__facts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 4px 0 0;
  padding: 16px 0 0;
  list-style: none;
  border-top: 1px solid #eef1f4;
}

.delivery-card__facts li {
  position: relative;
  padding-left: 26px;
  font-size: 13px;
  line-height: 1.45;
  color: #334155;
}

.delivery-card__facts li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(234, 84, 85, 0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.5 6.5 11.5 12.5 4.5' stroke='%23ea5455' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.delivery-card:nth-child(2) .delivery-card__facts li::before {
  background-color: rgba(74, 98, 120, 0.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.5 6.5 11.5 12.5 4.5' stroke='%234a6278' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.delivery-card:nth-child(3) .delivery-card__facts li::before {
  background-color: rgba(107, 124, 143, 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.5 6.5 11.5 12.5 4.5' stroke='%236b7c8f' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

@media (min-width: 768px) {
  .delivery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
  }
}

@media (max-width: 767px) {
  .delivery {
    padding: 40px 0 48px;
  }

  .delivery-head__title {
    font-size: 24px;
  }

  .delivery-card__title {
    font-size: 20px;
  }

  .delivery-card__top {
    flex-wrap: wrap;
  }

  .delivery-card__price {
    margin-left: auto;
  }
}

/* Payment section */
.payment {
  padding: 56px 0 64px;
  background: #fff;
  border-top: 1px solid #e8eaed;
}

.payment-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}

.payment-head__badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2f3f4f;
  background: rgba(47, 63, 79, 0.08);
  border-radius: 999px;
}

.payment-head__title {
  font-size: 32px;
  font-weight: 300;
  color: #2f3f4f;
  margin-bottom: 12px;
}

.payment-head__text {
  font-size: 15px;
  line-height: 1.55;
  color: #6b7c8f;
}

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

.payment-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 24px 22px;
  background: #f8fafc;
  border: 1px solid #eef1f4;
  border-radius: 16px;
  transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

.payment-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 16px 16px 0 0;
  background: #c8d0d8;
}

.payment-card:nth-child(1)::before {
  background: var(--cv-gradient);
}

.payment-card:nth-child(2)::before {
  background: linear-gradient(90deg, #3d5a80 0%, #2f3f4f 100%);
}

.payment-card:nth-child(3)::before {
  background: #6b7c8f;
}

.payment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
  border-color: #e2e8f0;
}

.payment-card--featured {
  background: #fff;
  border-color: rgba(234, 84, 85, 0.15);
  box-shadow: 0 8px 28px rgba(234, 84, 85, 0.1);
}

.payment-card--online {
  background: #fff;
  border-color: rgba(47, 63, 79, 0.12);
  box-shadow: 0 6px 24px rgba(47, 63, 79, 0.08);
}

.payment-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.payment-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #f0f4f8;
  color: #2f3f4f;
}

.payment-card__icon svg {
  width: 24px;
  height: 24px;
}

.payment-card--featured .payment-card__icon {
  background: rgba(234, 84, 85, 0.1);
  color: #ea5455;
}

.payment-card--online .payment-card__icon {
  background: rgba(47, 63, 79, 0.1);
  color: #2f3f4f;
}

.payment-card__icon--prepay {
  color: #4a6278;
}

.payment-card__badge {
  flex-shrink: 0;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  background: var(--cv-gradient);
  border-radius: 999px;
  white-space: nowrap;
}

.payment-card__badge--dark {
  font-size: 12px;
  background: #2f3f4f;
}

.payment-card__badge--muted {
  font-size: 11px;
  color: #64748b;
  background: #fff;
  border: 1px solid #e2e8f0;
}

.payment-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.payment-card__zone {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6b7c8f;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #e8ecf0;
}

.payment-card--featured .payment-card__zone {
  color: #ea5455;
  background: rgba(234, 84, 85, 0.06);
  border-color: rgba(234, 84, 85, 0.15);
}

.payment-card--online .payment-card__zone {
  color: #2f3f4f;
  background: rgba(47, 63, 79, 0.06);
  border-color: rgba(47, 63, 79, 0.12);
}

.payment-card__eta {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.payment-card__title {
  font-size: 22px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.25;
  margin: 0;
}

.payment-card__text {
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}

.payment-card__methods {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.payment-card__methods span {
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
}

.payment-card__methods-yk {
  color: #fff !important;
  background: linear-gradient(100.53deg, #3d5a80 0%, #2f3f4f 100%) !important;
  border-color: transparent !important;
}

.payment-card__facts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 4px 0 0;
  padding: 16px 0 0;
  list-style: none;
  border-top: 1px solid #e8ecf0;
}

.payment-card__facts li {
  position: relative;
  padding-left: 26px;
  font-size: 13px;
  line-height: 1.45;
  color: #334155;
}

.payment-card__facts li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(234, 84, 85, 0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.5 6.5 11.5 12.5 4.5' stroke='%23ea5455' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.payment-card--online .payment-card__facts li::before {
  background-color: rgba(47, 63, 79, 0.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.5 6.5 11.5 12.5 4.5' stroke='%232f3f4f' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.payment-card:nth-child(3) .payment-card__facts li::before {
  background-color: rgba(107, 124, 143, 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.5 6.5 11.5 12.5 4.5' stroke='%236b7c8f' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.payment-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 820px;
  margin: 28px auto 0;
  padding: 16px 18px;
  background: #f0f4f8;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.payment-note__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(47, 63, 79, 0.08);
  color: #2f3f4f;
}

.payment-note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #64748b;
}

.payment-note a {
  color: #ea5455;
  font-weight: 600;
  text-decoration: none;
}

.payment-note a:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .payment-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
  }
}

@media (max-width: 767px) {
  .payment {
    padding: 40px 0 48px;
  }

  .payment-head__title {
    font-size: 24px;
  }

  .payment-card__title {
    font-size: 20px;
  }

  .payment-card__top {
    flex-wrap: wrap;
  }

  .payment-card__badge {
    margin-left: auto;
  }
}

.checkout__payment-title {
  font-weight: 600;
  font-size: 14px;
  color: #4D4D4D;
  margin-bottom: 10px;
}
.checkout__payment-title--brand { color: #EA5455; }
.checkout__payment-amount {
  font-size: 28px;
  font-weight: 700;
  color: #EA5455;
  margin-bottom: 14px;
}
.checkout__payment-hint {
  margin-top: 12px;
  font-size: 13px;
  color: #777;
}
.checkout__qr {
  width: 160px;
  height: 160px;
  background: #F0F0F2;
  border-radius: 3px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 600;
  color: #777;
}
.checkout__card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.checkout__installment-months {
  justify-content: center;
  margin-top: 8px;
}
.checkout__field .modal-form {
  width: 100%;
}

/* FAQ accordion polish */
.questions .card {
  transition: box-shadow 0.2s ease;
}
.questions .card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.questions__row {
  row-gap: 24px;
}

.questions__aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 768px) {
  .questions__aside {
    position: sticky;
    top: 88px;
    align-self: flex-start;
  }
}

.questions__images {
  border-radius: 12px;
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  object-position: center top;
}

.return-card,
.questions__ask.return-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-left: 4px solid #6b7c8f;
  border-radius: 0 12px 12px 0;
  padding: 20px 22px 18px;
  width: 100%;
  text-align: left;
}

.return-card__badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6b7c8f;
  background: rgba(107, 124, 143, 0.1);
  border-radius: 6px;
}

.return-card__title {
  font-size: 18px;
  font-weight: 700;
  color: #2f3f4f;
  line-height: 1.3;
  margin: 0 0 12px;
  padding: 0;
}

.return-card__facts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.return-card__facts li {
  position: relative;
  padding-left: 20px;
  font-size: 13px;
  line-height: 1.45;
  color: #5c6b7a;
  font-weight: 400;
}

.return-card__facts li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 11px;
  font-weight: 700;
  color: #6b7c8f;
}

.return-card__btn {
  width: 100%;
  margin-top: 16px;
  padding: 12px 20px;
  font-size: 14px;
  border-radius: 8px;
}

@media (max-width: 767px) {
  .questions__images {
    max-height: 180px;
  }

  .return-card,
  .questions__ask.return-card {
    padding: 18px 18px 16px;
  }

  .return-card__title {
    font-size: 17px;
  }
}

/* Help / consultation form */
.help {
  text-align: center;
  padding: 48px 0 56px;
  background: #fff;
  border-top: 1px solid #e5e5e5;
}

.help-head {
  max-width: 560px;
  margin: 0 auto;
}

.help-head__badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ea5455;
  background: rgba(234, 84, 85, 0.08);
  border-radius: 999px;
}

.help-head__title {
  font-size: 32px;
  font-weight: 300;
  color: #4d4d4d;
  margin-bottom: 10px;
}

.help-head__text {
  font-size: 15px;
  line-height: 1.55;
  color: #777;
}

.help-card {
  max-width: 920px;
  margin: 28px auto 0;
  padding: 24px 28px 20px;
  background: #f7f7f7;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.help-card__form {
  padding: 0;
}

.help-card__grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}

.help-card__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.help-card__label {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: #4d4d4d;
}

.help-card__req {
  color: #ea5455;
}

.help-card__input {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  font-weight: 400;
  color: #333;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.help-card__input::placeholder {
  color: #aaa;
}

.help-card__input:focus {
  border-color: #ea5455;
  box-shadow: 0 0 0 3px rgba(234, 84, 85, 0.12);
  outline: none;
}

.help-card__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  text-transform: none;
  letter-spacing: 0;
  background: var(--cv-gradient);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.help-card__submit:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.help-card__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.help-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e8e8e8;
}

.help-card__consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #888;
  cursor: pointer;
}

.help-card__consent input {
  margin-top: 2px;
  flex-shrink: 0;
}

.help-card__phone {
  margin: 0;
  font-size: 13px;
  color: #777;
}

.help-card__phone a {
  color: #ea5455;
  font-weight: 600;
  text-decoration: none;
}

.help-card__phone a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 767px) {
  .help-head__title {
    font-size: 28px;
  }

  .help-card {
    padding: 20px 18px 18px;
  }

  .help-card__grid {
    grid-template-columns: 1fr;
  }

  .help-card__submit {
    width: 100%;
    margin-top: 0;
  }

  .help-card__footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Site footer ── */
.footer.site-footer {
  margin-top: auto;
  padding: 0;
  background: transparent;
}

.site-footer__ribbon {
  background: linear-gradient(90deg, #ea5455 0%, #c93b3c 50%, #ea5455 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__ribbon-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 20px;
  padding: 14px 0;
}

.site-footer__ribbon-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
}

.site-footer__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
}

.site-footer__icon--sm {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.site-footer__icon svg,
.site-footer__icon-wrap svg {
  display: block;
}

.site-footer__main {
  background: linear-gradient(180deg, #1a1a1c 0%, #121214 100%);
  color: rgba(255, 255, 255, 0.82);
  padding: 52px 0 36px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1.15fr);
  gap: 36px 44px;
  align-items: start;
}

.site-footer__logo {
  display: inline-block;
  line-height: 0;
  margin-bottom: 14px;
}

.site-footer__logo img {
  display: block;
  height: 38px;
  width: auto;
  max-width: 150px;
}

.site-footer__badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 5px 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(234, 84, 85, 0.22);
  border: 1px solid rgba(234, 84, 85, 0.35);
  border-radius: 999px;
}

.site-footer__about {
  margin: 0 0 16px;
  max-width: 360px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
}

.site-footer__info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.site-footer__info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}

.site-footer__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__highlight {
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

.site-footer__title {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

.site-footer__subtitle {
  margin: 18px 0 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.site-footer__col--split {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.site-footer__subcol .site-footer__title {
  margin-bottom: 14px;
}

.site-footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__links li + li {
  margin-top: 11px;
}

.site-footer__links a {
  display: inline-block;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-footer__links a:hover {
  color: #feb692;
}

.site-footer__subtitle:has(+ .site-footer__links--popular:empty) {
  display: none;
}

.site-footer__contact {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  padding: 12px 14px;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.site-footer__contact:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
}

.site-footer__contact:hover strong {
  color: #feb692;
}

.site-footer__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
}

.site-footer__contact-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding-top: 2px;
}

.site-footer__contact-body strong {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  line-height: 1.25;
  transition: color 0.15s ease;
}

.site-footer__contact-body small {
  font-size: 11px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.48);
}

.site-footer__mail {
  display: none;
}

.site-footer__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.site-footer__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, filter 0.15s ease;
}

.site-footer__btn--primary {
  color: #fff;
  background: var(--cv-gradient);
  border: none;
  box-shadow: 0 4px 14px rgba(234, 84, 85, 0.28);
}

.site-footer__btn--primary:hover {
  filter: brightness(1.06);
  color: #fff;
}

.site-footer__btn--ghost {
  color: rgba(255, 255, 255, 0.9);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.site-footer__btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.site-footer__payments {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__payments-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.site-footer__payments-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__payments-list li {
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.site-footer__bottom {
  background: #0c0c0d;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 0;
}

.site-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px 24px;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.site-footer__legal a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.52);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-footer__legal a:hover {
  color: rgba(255, 255, 255, 0.88);
}

.site-footer__copy {
  margin: 0;
  max-width: 520px;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.34);
  text-align: right;
}

@media (max-width: 1199px) {
  .site-footer__ribbon-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 28px;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .site-footer__contacts {
    grid-column: 1 / -1;
  }
}

@media (max-width: 991px) {
  .site-footer__main {
    padding: 40px 0 32px;
  }
}

@media (max-width: 575px) {
  .site-footer__ribbon-inner {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 0;
  }

  .site-footer__ribbon-item {
    font-size: 11px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer__about {
    max-width: none;
  }

  .site-footer__col--split {
    gap: 24px;
  }

  .site-footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__copy {
    max-width: none;
    text-align: left;
  }

  .site-footer__cta {
    width: 100%;
  }

  .site-footer__btn {
    flex: 1 1 auto;
    min-width: calc(50% - 5px);
  }

  .site-footer__payments {
    flex-direction: column;
    align-items: flex-start;
  }
}
