/* ================================================================
   styles.css — Кастомные переопределения для шаблона БЭСТФОН
   (поверх template_styles.css)
   ================================================================ */

/* --- Нейтрализация Phoenix .wrapper для страниц нового дизайна ------ */
#phoenix-container.wrapper {
  max-width: none !important;
  min-width: auto !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  padding-top: var(--site-header-height, 96px) !important;
  background: transparent !important;
  overflow: visible !important;
  position: static !important;
  box-shadow: none !important;
}

/* --- Скрытые Phoenix-элементы (не используемые в новом дизайне) ---- */

/* --- Скрытые Phoenix-элементы (не используемые в новом дизайне) ---- */
.search-top,
.public_shares {
  display: none;
}

/* --- Callphone виджет (адаптация под новый дизайн) ----------------- */
.callphone-wrap {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}
.callphone-wrap .callphone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #433654;
  box-shadow: 0 4px 16px rgba(67, 54, 84, 0.35);
}
.callphone-wrap .callphone::before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  /* CSS-only phone handset icon */
  background: transparent;
  position: relative;
}
.callphone-wrap .callphone::after {
  content: "";
  display: block;
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  top: 8px;
  left: 13px;
}
.callphone-wrap .callphone-desc {
  display: none;
}
@media (min-width: 768px) {
  .callphone-wrap .callphone-desc {
    display: block;
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 12px;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    color: #1d1d1f;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
}

/* --- Phoenix Auth Popup (стилизация под новый дизайн) --------------- */
.phoenix-modal {
  z-index: 200;
}
.phoenix-modal .phoenix-modal-dialog {
  background: #fff;
  border-radius: 20px;
  max-width: 480px;
}

/* --- Loading Spinner (адаптация) ----------------------------------- */
.loading {
  display: none;
}
.loading-top-right {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 9999;
}

/* --- Phoenix close button ------------------------------------------ */
.close-modal {
  display: block;
  width: 32px;
  height: 32px;
  position: relative;
  cursor: pointer;
}
.close-modal::before,
.close-modal::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  background: #1d1d1f;
  border-radius: 2px;
}
.close-modal::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.close-modal::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* --- Up button - scroll to top ------------------------------------- */
a.up.scroll {
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: opacity 0.2s;
}
a.up.scroll::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid #1d1d1f;
  border-left: 2px solid #1d1d1f;
  transform: rotate(45deg);
  margin-top: 4px;
}
a.up.scroll:hover {
  background: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* --- Popup slider (галерея) ---------------------------------------- */
.popup-slider {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
}
.popup-slider .wrapper-big-picture img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 12px;
}
.popup-slider .close-popup-slider-style {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  cursor: pointer;
}
.popup-slider-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
}
.popup-slider-nav .nav-item {
  pointer-events: auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Popup contacts (модальное окно контактов) ---------------------- */
.modalArea {
  display: none;
}
.modalArea .shadow-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 199;
}
.modalArea .window-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 200;
}
.modalArea .list-contacts-modal table {
  width: 100%;
}
.modalArea .list-contacts-modal td {
  padding: 8px 0;
}
.modalArea .list-contacts-modal .phone span {
  font-weight: 600;
  font-size: 16px;
  color: #1d1d1f;
}
.modalArea .list-contacts-modal .email a {
  color: #433654;
  text-decoration: none;
  font-weight: 500;
}
.modalArea .list-contacts-modal .desc {
  font-size: 13px;
  color: #6e6e6e;
  margin-top: 4px;
}
.modalArea .list-contacts-modal .button-wrap {
  margin-top: 8px;
}
.modalArea .list-contacts-modal .button-def {
  display: inline-block;
  padding: 10px 20px;
  background: #1d1d1f;
  color: #fff;
  border-radius: 100px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.modalArea .list-contacts-modal .button-def:hover {
  background: #333;
}

/* --- Admin panel overrides ----------------------------------------- */
.phoenix-admin-panel {
  z-index: 9999;
}

/* --- Swiper overrides (для about-страниц) -------------------------- */
.swiper-pagination-bullet {
  background: #433654 !important;
}
.swiper-pagination-bullet-active {
  background: #433654 !important;
}

/* ========================================================================
   CATALOG OVERRIDES — стилизация Phoenix-компонентов под новый дизайн
   (catalog.section, catalog.smart.filter, catalog.element)
   ======================================================================== */

/* --- Product grid cards (catalog.section) --------------------------- */
.category-filter .filter__result .catalog-block {
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}
.category-filter .filter__result .catalog-list {
  padding: 0;
  margin: 0;
}
.category-filter .filter__result .catalog-list .row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
  margin: 0;
}
@media (min-width: 1440px) {
  .category-filter .filter__result .catalog-list .row {
    grid-template-columns: repeat(3, 1fr);
  }
}
.category-filter .filter__result .item.catalog-item {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  padding: 16px;
  margin: 0 !important;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: none;
}
.category-filter .filter__result .item.catalog-item .wrapper-top {
  padding: 0;
}
.category-filter .filter__result .item.catalog-item .wrapper-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  overflow: hidden;
  margin-bottom: 8px;
}
.category-filter .filter__result .item.catalog-item .wrapper-image img {
  max-height: 100%;
  object-fit: contain;
}
.category-filter .filter__result .item.catalog-item .name {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.3;
  color: #1d1d1f;
  margin: 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.category-filter .filter__result .item.catalog-item .name a {
  text-decoration: none;
  color: inherit;
}
.category-filter .filter__result .item.catalog-item .name a:hover {
  color: #433654;
}
.category-filter .filter__result .item.catalog-item .wr-board-price {
  margin-top: auto;
}
.category-filter .filter__result .item.catalog-item .price-value {
  font-weight: 700;
  font-size: 20px;
  color: #1d1d1f;
}
.category-filter .filter__result .item.catalog-item .old-price {
  font-size: 13px;
  color: #aeaeb2;
  text-decoration: line-through;
  margin-left: 8px;
}
.category-filter .filter__result .item.catalog-item .detail-available {
  font-size: 12px;
  color: #34c759;
}
.category-filter .filter__result .item.catalog-item .add2basket {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: #1d1d1f;
  color: #fff !important;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  margin-top: 8px;
}
.category-filter .filter__result .item.catalog-item .add2basket:hover {
  background: #333;
}
.category-filter .filter__result .break-line {
  display: none !important;
}

/* --- Filter sidebar (catalog.smart.filter) -------------------------- */
.category-filter .filter__header .section-with-hidden-items {
  margin: 0;
  padding: 0;
}
.category-filter .filter__header .bx-filter {
  margin: 0;
  padding: 0;
}
.category-filter .filter__header .bx-filter-section {
  background: transparent;
  padding: 0;
  margin: 0;
  border: none;
}
.category-filter .filter__header .bx-filter-parameters-box {
  border: none;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  margin: 0;
}
.category-filter .filter__header .bx-filter-parameters-box-title {
  padding: 8px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.category-filter .filter__header .bx-filter-parameters-box-title span {
  font-weight: 600;
  font-size: 14px;
  color: #1d1d1f;
}
.category-filter .filter__header .bx-filter-parameters-box-title .arrow-toogle {
  font-size: 12px;
  color: #aeaeb2;
}
.category-filter .filter__header .bx-filter-block {
  padding: 4px 0;
}
.category-filter .filter__header .input-checkbox-css {
  list-style: none;
  padding: 0;
  margin: 0;
}
.category-filter .filter__header .input-checkbox-css li {
  margin: 4px 0;
}
.category-filter .filter__header .input-checkbox-css label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  color: #323232;
}
.category-filter .filter__header .input-checkbox-css .ic {
  width: 18px;
  height: 18px;
  border: 2px solid #d1d1d6;
  border-radius: 4px;
  display: inline-block;
  flex-shrink: 0;
}
.category-filter .filter__header .input-checkbox-css input:checked + .ic {
  background: #433654;
  border-color: #433654;
}
.category-filter .filter__header .input-checkbox-css .text {
  font-size: 13px;
  color: #323232;
}
.category-filter .filter__header .input-checkbox-css .count {
  color: #aeaeb2;
}
.category-filter .filter__header .input-radio-css {
  list-style: none;
  padding: 0;
  margin: 0;
}
.category-filter .filter__header .input-radio-css li {
  margin: 4px 0;
}
.category-filter .filter__header .input-radio-css label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  color: #323232;
}
.category-filter .filter__header .input-radio-css .ic {
  width: 18px;
  height: 18px;
  border: 2px solid #d1d1d6;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  position: relative;
}
.category-filter .filter__header .input-radio-css input:checked + .ic::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #433654;
}
.category-filter .filter__header .input-radio-css input:checked + .ic {
  border-color: #433654;
}
.category-filter .filter__header .bx-ui-slider-track-container {
  padding: 8px 0;
}
.category-filter .filter__header .bx-ui-slider-part {
  font-size: 11px;
  color: #aeaeb2;
}
.category-filter .filter__header .bx-ui-slider-range {
  background: #433654;
  height: 4px;
}
.category-filter .filter__header .bx-ui-slider-track {
  height: 4px;
  background: #e5e5e5;
  border-radius: 2px;
  position: relative;
}
.category-filter .filter__header .bx-ui-slider-handle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #433654;
  top: -8px;
  position: absolute;
}
.category-filter .filter__header .bx-filter-button-box {
  padding: 16px 0 0;
}
.category-filter .filter__header #set_filter {
  display: inline-block;
  padding: 10px 20px;
  background: #433654;
  color: #fff;
  border: none;
  border-radius: 100px;
  font-family: "SF Pro Display", sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
}
.category-filter .filter__header #del_filter {
  display: inline-block;
  padding: 10px 20px;
  background: transparent;
  color: #333;
  border: 1px solid #d1d1d6;
  border-radius: 100px;
  font-family: "SF Pro Display", sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  margin-top: 8px;
}
.category-filter .filter__header .bx-filter-popup-result {
  display: block !important;
  margin-top: 12px;
  font-size: 13px;
  color: #323232;
}
.category-filter .filter__header .bx-filter-popup-result .bord-bot {
  color: #433654;
  text-decoration: underline;
}
.category-filter .filter__header .bx-filter-container-modef {
  display: none;
}
.category-filter .filter__header .click-animate-slide-down {
  display: none; /* скрываем дублирующий заголовок фильтра */
}
.category-filter .filter__header .head-filter {
  display: none;
}
.category-filter .filter__header .body.content-animate-slide-down {
  display: block !important;
}
.category-filter .filter__header .hint-filter {
  color: #aeaeb2;
  margin-left: 4px;
  font-size: 12px;
}
.category-filter .filter__header .show-hidden-wrap {
  margin-top: 8px;
}
.category-filter .filter__header .show-hidden-wrap a {
  font-size: 12px;
  color: #433654;
  cursor: pointer;
}

/* --- Detail card page (catalog.element) ----------------------------- */
/* Обёртка элемента — заменяем phoenix-хедер на нейтральный */
div.page-header.detail-catalog {
  background: transparent !important;
  padding: 0;
  min-height: auto;
}
div.page-header.detail-catalog .shadow-tone,
div.page-header.detail-catalog .top-shadow {
  display: none;
}
div.page-header.detail-catalog .container {
  padding-top: 20px !important;
}

/* Breadcrumbs внутри detailCard — стилизация category-way */
div.page-header.detail-catalog .bx-breadcrumb {
  margin: 0;
  padding: 8px 0;
}
div.page-header.detail-catalog .bx-breadcrumb-item {
  font-size: 13px;
  color: #626262;
}
div.page-header.detail-catalog .bx-breadcrumb-item a {
  color: #626262;
  text-decoration: none;
}
div.page-header.detail-catalog .bx-breadcrumb-item span {
  color: #1d1d1f;
}

/* Заголовок товара */
div.page-header.detail-catalog .head .title h1 {
  font-size: 28px;
  font-weight: 600;
  color: #1d1d1f;
}

/* Основной блок карточки */
div.catalog-card-wrap.detail-catalog {
  background: transparent;
  padding: 0;
}
div.catalog-card-wrap.detail-catalog .content-inner {
  padding: 0;
}
div.catalog-card-wrap.detail-catalog .block.small-block {
  background: transparent;
  padding: 0;
  box-shadow: none;
}
body.new-design-shell .detail-catalog--new-design .row {
  display: block;
  margin-left: 0;
  margin-right: 0;
}
body.new-design-shell .detail-catalog--new-design .content-inner,
body.new-design-shell .detail-catalog--new-design .first-block-detail,
body.new-design-shell .detail-catalog--new-design .detailCard {
  display: block;
  width: 100%;
  max-width: none;
  min-width: 0;
  height: auto;
  flex: 0 0 100%;
}
body.new-design-shell .detail-catalog--new-design .content-inner {
  padding: 0;
}
body.new-design-shell .detail-catalog--new-design .first-block-detail {
  margin: 0;
}

/* Левая часть — изображения */
.info-left-side {
  padding: 0 20px 0 0;
}
.info-left-side .wrapper-picture {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
}
.info-left-side .controls-pictures {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.info-left-side .controls-pictures .small-picture {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f7;
}
.info-left-side .controls-pictures .small-picture.active {
  border-color: #433654;
}
.info-left-side .controls-pictures .small-picture img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.info-left-side .controls-pictures .more {
  text-align: center;
  margin-top: 4px;
}
.info-left-side .controls-pictures .more a {
  font-size: 12px;
  color: #433654;
  text-decoration: none;
  cursor: pointer;
}
.info-left-side .wrapper-big-picture {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}
.info-left-side .wrapper-big-picture img {
  max-height: 400px;
  object-fit: contain;
}
.info-left-side .wrapper-board-label {
  position: absolute;
  top: 16px;
  left: 16px;
}
.info-left-side .wrapper-board-label .mini-board {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  background: #433654;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

/* Правая часть — цена, кнопки, опции */
.info-right-side .info-right-side-inner {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
}
.info-right-side .article-avaible {
  font-size: 13px;
  color: #626262;
}
.info-right-side .detail-article {
  font-size: 13px;
  color: #aeaeb2;
}
.info-right-side .product-available-js {
  font-size: 13px;
  font-weight: 500;
}
.info-right-side .wrapper-price {
  margin: 16px 0;
}
.info-right-side .board-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.info-right-side .board-price .price-value {
  font-size: 28px;
  font-weight: 700;
  color: #1d1d1f;
}
.info-right-side .board-price .old-price {
  font-size: 16px;
  color: #aeaeb2;
  text-decoration: line-through;
}
.info-right-side .board-price .unit {
  font-size: 14px;
  color: #626262;
}
.info-right-side .name-type-price {
  font-size: 10px;
  color: #aeaeb2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}
.info-right-side .wrapper-discount {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 8px 0;
}
.info-right-side .wrapper-discount .desc-discount {
  font-size: 13px;
  color: #34c759;
}
.info-right-side .wrapper-discount .actual-econom {
  font-weight: 600;
  color: #34c759;
}
.info-right-side .wrapper-discount .actual-discount {
  font-size: 12px;
  color: #fff;
  background: #34c759;
  padding: 2px 8px;
  border-radius: 4px;
}
.info-right-side .cheaper a {
  font-size: 13px;
  color: #433654;
  cursor: pointer;
  text-decoration: underline;
}
.info-right-side .wrapper-sku-props {
  margin: 12px 0;
}
.info-right-side .wrapper-sku-props .desc-title {
  font-size: 13px;
  font-weight: 500;
  color: #1d1d1f;
  margin-bottom: 8px;
}
.info-right-side .sku-props {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.info-right-side .sku-props li {
  cursor: pointer;
}
.info-right-side .sku-props li.detail-text {
  padding: 6px 14px;
  border: 1px solid #d1d1d6;
  border-radius: 100px;
  font-size: 13px;
  color: #323232;
}
.info-right-side .sku-props li.detail-text:hover,
.info-right-side .sku-props li.detail-text.active {
  border-color: #433654;
  color: #433654;
}
.info-right-side .sku-props li.detail-color .color {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid transparent;
  background-size: cover;
}
.info-right-side .sku-props li.detail-color:hover .color,
.info-right-side .sku-props li.detail-color.active .color {
  border-color: #433654;
}

/* Quantity selector */
.info-right-side .quantity-container {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d1d1d6;
  border-radius: 100px;
  overflow: hidden;
}
.info-right-side .product-item-amount-field-btn-minus,
.info-right-side .product-item-amount-field-btn-plus {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  color: #1d1d1f;
  user-select: none;
}
.info-right-side .product-item-amount-field {
  width: 48px;
  text-align: center;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: #1d1d1f;
}

/* Кнопки Buy / Fast order */
.info-right-side .wrapper-btns {
  margin: 16px 0;
  gap: 8px;
}
.info-right-side .wrapper-btns .wr-btn-basket .add-to-cart-style,
.info-right-side .wrapper-btns .wr-btn-basket .added-to-cart-style {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: #1d1d1f;
  color: #fff !important;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
}
.info-right-side .wrapper-btns .wr-btn-fast-order .fast-order {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: transparent;
  color: #1d1d1f !important;
  border: 1px solid #1d1d1f;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
}
.info-right-side .detail-btn-preorder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: #433654;
  color: #fff !important;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  margin: 8px 0;
}
.info-right-side .wrapper-description {
  color: #323232;
  font-size: 14px;
  line-height: 1.5;
}
.info-right-side .wrapper-description .detail-description {
  margin-bottom: 12px;
}
.info-right-side .wrapper-description .chars-link {
  color: #433654;
  font-size: 13px;
  text-decoration: none;
}
.info-right-side .wrapper-description .chars-link:hover {
  text-decoration: underline;
}
.info-right-side .wrapper-modals-btn {
  margin: 8px 0;
  gap: 8px;
}
.info-right-side .wrapper-modals-btn .modal-btn a {
  font-size: 13px;
  color: #433654;
  cursor: pointer;
}
.info-right-side .comment-detail-catalog {
  margin: 12px 0;
  font-size: 13px;
  color: #626262;
  font-style: italic;
}
.info-right-side .catalog-detail-back {
  margin-top: 16px;
}
.info-right-side .catalog-detail-back a {
  font-size: 13px;
  color: #433654;
  text-decoration: none;
}
.info-right-side .catalog-detail-back a:hover {
  text-decoration: underline;
}

/* Блоки на детальной странице (chars, similar, advantages, etc.) */
.catalog-card-wrap.detail-catalog .cart-block {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  margin: 20px 0;
}
.catalog-card-wrap.detail-catalog .cart-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.catalog-card-wrap.detail-catalog .cart-title .title {
  font-size: 22px;
  font-weight: 600;
  color: #1d1d1f;
  white-space: nowrap;
}
.catalog-card-wrap.detail-catalog .cart-title .line {
  flex: 1;
  height: 0;
  border-top: 1px solid #e5e5e5;
}
.catalog-card-wrap.detail-catalog .cart-char-table td.left {
  font-size: 14px;
  color: #626262;
  padding: 6px 0;
}
.catalog-card-wrap.detail-catalog .cart-char-table td.right {
  font-size: 14px;
  font-weight: 600;
  color: #1d1d1f;
  padding: 6px 0;
}
.catalog-card-wrap.detail-catalog .cart-char-table td.dotted .dotted {
  border-bottom: 1px dotted #d1d1d6;
  min-width: 40px;
}

/* Pagination */
.filter__result .pagenavigation {
  margin: 24px 0;
}
.filter__result .pagenavigation .bx-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.filter__result .pagenavigation .bx-pagination ul {
  display: flex;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.filter__result .pagenavigation .bx-pagination li {
  margin: 0;
}
.filter__result .pagenavigation .bx-pagination li a,
.filter__result .pagenavigation .bx-pagination li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 100px;
  font-size: 14px;
  color: #323232;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e5e5e5;
}
.filter__result .pagenavigation .bx-pagination li a:hover {
  background: #f5f5f7;
}
.filter__result .pagenavigation .bx-pagination li span.bx-active {
  background: #433654;
  color: #fff;
  border-color: #433654;
}

/* Прячем старые грид-классы в каталоге */
.filter__result .col-xl-4,
.filter__result .col-xl-3,
.filter__result .col-lg-4,
.filter__result .col-lg-3 {
  max-width: none;
  flex: none;
  padding: 0;
}

/* --- Print styles -------------------------------------------------- */
@media print {
  .site-header,
  .footer,
  .up.scroll,
  .callphone-wrap,
  .catalog-menu {
    display: none !important;
  }
  .wrapper {
    padding-top: 0 !important;
  }
}

/* --- Pagination (catalog.section new-design) ------------------------ */
.filter__pagination .bx-pagination {
  margin: 24px 0 40px;
  padding: 0;
  border: none;
}
.filter__pagination .bx-pagination .bx-pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.filter__pagination .bx-pagination .bx-pagination-container ul {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}
.filter__pagination .bx-pagination .bx-pagination-container ul li {
  margin: 0;
  display: inline-flex;
}
.filter__pagination .bx-pagination .bx-pagination-container ul li a,
.filter__pagination .bx-pagination .bx-pagination-container ul li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: #1D1D1F;
  background: #F5F5F7;
  transition: background 0.2s;
  padding: 0;
  min-width: 40px;
  line-height: 40px;
  border: none;
}
.filter__pagination .bx-pagination .bx-pagination-container ul li span {
  background: #F5F5F7;
  color: #1D1D1F;
}
.filter__pagination .bx-pagination .bx-pagination-container ul li.bx-active span {
  background: #433654;
  color: #fff;
}
.filter__pagination .bx-pagination .bx-pagination-container ul li a:hover span {
  background: #E8E8ED;
  color: #1D1D1F;
}
/* Hide prev/next arrows with text */
.filter__pagination .bx-pagination .bx-pagination-container ul li.bx-pag-prev a span,
.filter__pagination .bx-pagination .bx-pagination-container ul li.bx-pag-next a span {
  background: #F5F5F7;
  width: 40px;
  height: 40px;
  line-height: 40px;
  min-width: 40px;
  opacity: 1;
  top: 0;
  border-radius: 50%;
}
.filter__pagination .bx-pagination .bx-pagination-container ul li.bx-pag-prev a span {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231D1D1F' d='M7.5 1.5L3 6l4.5 4.5' stroke='%231D1D1F' stroke-width='1'/%3E%3C/svg%3E") !important;
  background-size: 14px !important;
  background-position: center !important;
}
.filter__pagination .bx-pagination .bx-pagination-container ul li.bx-pag-next a span {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231D1D1F' d='M4.5 1.5L9 6l-4.5 4.5' stroke='%231D1D1F' stroke-width='1'/%3E%3C/svg%3E") !important;
  background-size: 14px !important;
  background-position: center !important;
}
.filter__pagination .bx-pagination .bx-pagination-container ul li.bx-pag-all,
.filter__pagination .bx-pagination .bx-pagination-container ul li.nav-dots {
  display: none;
}

/* --- Grid for new-design product cards --------------------------- */
.filter__result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
}
@media (min-width: 1440px) {
  .filter__result-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.filter__result-grid .card {
  width: 100% !important;
  max-width: 100% !important;
}

/* --- Smooth scroll for the whole page ------------------------------ */
html {
  scroll-behavior: smooth;
}

/* --- Selection color ----------------------------------------------- */
::selection {
  background: #433654;
  color: #fff;
}

/* ========================================================================
   PAGE: Privacy Policy
   ======================================================================== */
.policy-page {
  padding: 40px 0;
}
.policy-page .container {
  background: #fff;
  border-radius: 30px;
  padding: 50px 70px;
}
.policy-page__title {
  font-size: 28px;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 32px;
}
.policy-page__subtitle {
  font-size: 20px;
  font-weight: 600;
  color: #1d1d1f;
  margin: 32px 0 16px;
}
.policy-page__text {
  font-size: 15px;
  line-height: 1.6;
  color: #323232;
  margin-bottom: 12px;
}

/* ========================================================================
   PAGE: 404
   ======================================================================== */
.error_text {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-height: 60vh;
  padding: 40px 0;
}
.error_text p {
  font-weight: 600;
  font-size: clamp(120px, 30vw, 400px);
  line-height: 1;
  color: #1D1D1F;
  margin: 0;
}
.error_text .link_btn {
  margin-top: 24px;
}
.error_text .link_btn a {
  display: inline-block;
  border-radius: 100px;
  padding: 14px 32px;
  background-color: #433654;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: background 0.2s;
}
.error_text .link_btn a:hover {
  background: #5a4a6e;
}

/* ========================================================================
   PAGE: Delivery (дополнительные стили)
   ======================================================================== */
.feature-title {
  font-size: 18px;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 8px;
}
.feature-desc {
  font-size: 14px;
  color: #6e6e6e;
  line-height: 1.4;
}
.delivery-banner_desc a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 100px;
  background-color: #1D1D1F;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 500;
}
.delivery-banner_desc a:hover {
  background: #333;
}
.contact_form-fields button {
  display: flex;
  justify-content: center;
  text-decoration: none;
  padding: 10px 16px;
  color: #FFFFFF;
  background-color: #1D1D1F;
  border: none;
  border-radius: 100px;
  font-family: "SF Pro Display", sans-serif;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}
.contact_form-fields button:hover {
  background: #333;
}

/* ========================================================================
   PAGE: Contacts (исправление путей кнопки)
   ======================================================================== */
.contact_form-fields a,
.contact_form-fields button {
  text-align: center;
}
