/* ===== Стили для скрытого текста ===== */
.hidden-text {
    max-height: 280px;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.hidden-text.expanded {
    max-height: 5000px;
}

/* ===== Стили для кнопки ===== */
.toggle-button {
    cursor: pointer;
    color: #2c3e50; /* ✅ Тёмный цвет текста (контраст >12:1, проходит AAA) */
    font-weight: bold;
    text-decoration: none;
    margin-top: 10px;
    display: inline-block;
    padding: 8px 15px;
    border-radius: 5px;
    background-color: #f8f9fa;
    border: 1px solid #4C75A3; /* ✅ Твой фирменный цвет рамки */
    transition: all 0.3s ease;
    font-size: 16px;
}

.toggle-button:hover {
    background-color: #4C75A3; /* ✅ Фирменный фон */
    color: #ffffff; /* ✅ Белый текст (контраст ~5.2:1, проходит AA) */
    transform: scale(1.05);
    border-color: #4C75A3;
}

.toggle-button:active {
    transform: scale(0.95);
}

.toggle-button i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.toggle-button.expanded i {
    transform: rotate(180deg);
}

/* ===== Основные стили сайта ===== */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Open Sans', 'Open Sans Fallback', sans-serif;
    overflow-x: hidden;
}

/* ===== Кнопка-стрелка ===== */
#open-left {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 1100;
    background: #e74c3c;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.25);
    border: none;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-arrow {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

#open-left .menu-arrow {
    transform: rotate(0deg);
}

#open-left.menu_act .menu-arrow {
    transform: rotate(180deg);
}

/* ===== Меню ===== */
#column-left {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: #000;
    z-index: 1000;
    overflow-y: auto;
    transform: translateX(-280px);
    transition: transform 0.3s ease;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    padding-right: 0;
    margin-right: 0;
    border-right: none;
    box-shadow: none;
}

#column-left.mob_act {
    transform: translateX(0);
}

#close-left {
    display: block;
    padding: 14px;
    font-size: 22px;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    text-align: right;
}

#close-left:hover {
    color: #e53935;
}

/* ===== Оверлей ===== */
.over {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.over.active {
    display: block;
    opacity: 1;
}

body.no-scroll {
    overflow: hidden;
}

/* ===== Каталог слева — пункты меню ===== */
#column-left a,
#column-left .list-group-item,
#column-left .item-title {
    background-color: #393939;
    color: #fff;
    font-size: 17px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-synthesis: none;
    line-height: 1.4;
    text-decoration: none;
    display: block;
    padding: 8px 12px;
    border: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#column-left a:hover,
#column-left .list-group-item:hover,
#column-left .item-title:hover {
    background-color: #777;
    color: #000;
}

/* ===== Планшет (768px - 991px) ===== */
@media (min-width: 768px) and (max-width: 991px) {
    .container {
        max-width: none;
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    #column-left {
        position: static;
        width: 25%;
        float: left;
        height: auto;
        background: #000;
        z-index: auto;
        overflow-y: visible;
        transform: none;
        padding-right: 0;
        margin-right: 0;
        border-right: none;
        box-shadow: none;
    }

    .page-wrapper {
        margin-left: 25%;
        width: 75%;
        float: left;
        min-height: 100vh;
    }

    #open-left,
    #close-left,
    .over {
        display: none;
    }
}

/* ===== Десктоп (992px+) ===== */
@media (min-width: 992px) {
    #column-left {
        position: sticky;
        top: 20px;
        transform: none;
        width: 280px;
        max-height: calc(100vh - 40px);
        overflow-y: auto;
        overflow-x: hidden;
        background: #000;
        z-index: 100;
        padding-right: 0;
        margin-right: 0;
        border-right: none;
        box-shadow: none;
        align-self: flex-start;
    }

    #column-left::-webkit-scrollbar {
        width: 6px;
    }

    #column-left::-webkit-scrollbar-track {
        background: #222;
        border-radius: 3px;
    }

    #column-left::-webkit-scrollbar-thumb {
        background: #FF750D;
        border-radius: 3px;
    }

    #column-left::-webkit-scrollbar-thumb:hover {
        background: #ff8c33;
    }

    #open-left,
    #close-left,
    .over {
        display: none;
    }
}
/* ===== Мобильные устройства (до 767px) ===== */
@media (max-width: 767px) {
    #column-left {
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100vh;
        max-height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
        background: #000;
        z-index: 9999;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        padding-top: 60px;
        box-sizing: border-box;
    }

    #column-left.open {
        transform: translateX(0);
    }

    /* Скроллбар для мобильного меню */
    #column-left::-webkit-scrollbar {
        width: 5px;
    }

    #column-left::-webkit-scrollbar-track {
        background: #222;
    }

    #column-left::-webkit-scrollbar-thumb {
        background: #FF750D;
        border-radius: 3px;
    }

    .over {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9998;
    }

    .over.active {
        display: block;
    }

    #open-left {
        display: block;
        position: fixed;
        top: 10px;
        left: 10px;
        z-index: 9997;
        background: #FF750D;
        color: #fff;
        border: none;
        padding: 10px 15px;
        border-radius: 4px;
        cursor: pointer;
    }

    #close-left {
        display: block;
        position: absolute;
        top: 15px;
        right: 15px;
        background: transparent;
        border: none;
        color: #fff;
        font-size: 24px;
        cursor: pointer;
        z-index: 10000;
    }
}

/* ===== Планшет (768px - 991px) ===== */
@media (min-width: 768px) and (max-width: 991px) {
    .container {
        max-width: none;
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    #column-left {
        position: sticky;
        top: 20px;
        width: 25%;
        float: left;
        max-height: calc(100vh - 40px);
        overflow-y: auto;
        overflow-x: hidden;
        background: #000;
        z-index: 100;
        transform: none;
        padding-right: 0;
        margin-right: 0;
        border-right: none;
        box-shadow: none;
        align-self: flex-start;
    }

    /* Скроллбар для планшета */
    #column-left::-webkit-scrollbar {
        width: 5px;
    }

    #column-left::-webkit-scrollbar-track {
        background: #222;
    }

    #column-left::-webkit-scrollbar-thumb {
        background: #FF750D;
        border-radius: 3px;
    }

    .page-wrapper {
        margin-left: 25%;
        width: 75%;
        float: left;
        min-height: 100vh;
    }

    #open-left,
    #close-left,
    .over {
        display: none;
    }
}

/* ===== Десктоп (992px+) ===== */
@media (min-width: 992px) {
    #column-left {
        position: sticky;
        top: 20px;
        transform: none;
        width: 280px;
        max-height: calc(100vh - 40px);
        overflow-y: auto;
        overflow-x: hidden;
        background: #000;
        z-index: 100;
        padding-right: 0;
        margin-right: 0;
        border-right: none;
        box-shadow: none;
        align-self: flex-start;
    }

    /* Скроллбар для десктопа */
    #column-left::-webkit-scrollbar {
        width: 6px;
    }

    #column-left::-webkit-scrollbar-track {
        background: #222;
        border-radius: 3px;
    }

    #column-left::-webkit-scrollbar-thumb {
        background: #FF750D;
        border-radius: 3px;
    }

    #column-left::-webkit-scrollbar-thumb:hover {
        background: #ff8c33;
    }

    #open-left,
    #close-left,
    .over {
        display: none;
    }
}
/* ===== Мобильные устройства (до 767px) ===== */
@media (max-width: 767px) {
    #column-left {
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100vh;
        max-height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
        background: #000;
        z-index: 9999;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        padding-top: 60px;
        box-sizing: border-box;
    }

    #column-left.open {
        transform: translateX(0);
    }

    /* Скроллбар для мобильного меню */
    #column-left::-webkit-scrollbar {
        width: 5px;
    }

    #column-left::-webkit-scrollbar-track {
        background: #222;
    }

    #column-left::-webkit-scrollbar-thumb {
        background: #FF750D;
        border-radius: 3px;
    }

    .over {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9998;
    }

    .over.active {
        display: block;
    }

    #open-left {
        display: block;
        position: fixed;
        top: 10px;
        left: 10px;
        z-index: 9997;
        background: #FF750D;
        color: #fff;
        border: none;
        padding: 10px 15px;
        border-radius: 4px;
        cursor: pointer;
    }

    #close-left {
        display: block;
        position: absolute;
        top: 15px;
        right: 15px;
        background: transparent;
        border: none;
        color: #fff;
        font-size: 24px;
        cursor: pointer;
        z-index: 10000;
    }
}

/* ===== Планшет (768px - 991px) ===== */
@media (min-width: 768px) and (max-width: 991px) {
    .container {
        max-width: none;
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    #column-left {
        position: sticky;
        top: 20px;
        width: 25%;
        float: left;
        max-height: calc(100vh - 40px);
        overflow-y: auto;
        overflow-x: hidden;
        background: #000;
        z-index: 100;
        transform: none;
        padding-right: 0;
        margin-right: 0;
        border-right: none;
        box-shadow: none;
        align-self: flex-start;
    }

    /* Скроллбар для планшета */
    #column-left::-webkit-scrollbar {
        width: 5px;
    }

    #column-left::-webkit-scrollbar-track {
        background: #222;
    }

    #column-left::-webkit-scrollbar-thumb {
        background: #FF750D;
        border-radius: 3px;
    }

    .page-wrapper {
        margin-left: 25%;
        width: 75%;
        float: left;
        min-height: 100vh;
    }

    #open-left,
    #close-left,
    .over {
        display: none;
    }
}

/* ===== Десктоп (992px+) ===== */
@media (min-width: 992px) {
    #column-left {
        position: sticky;
        top: 20px;
        transform: none;
        width: 280px;
        max-height: calc(100vh - 40px);
        overflow-y: auto;
        overflow-x: hidden;
        background: #000;
        z-index: 100;
        padding-right: 0;
        margin-right: 0;
        border-right: none;
        box-shadow: none;
        align-self: flex-start;
    }

    /* Скроллбар для десктопа */
    #column-left::-webkit-scrollbar {
        width: 6px;
    }

    #column-left::-webkit-scrollbar-track {
        background: #222;
        border-radius: 3px;
    }

    #column-left::-webkit-scrollbar-thumb {
        background: #FF750D;
        border-radius: 3px;
    }

    #column-left::-webkit-scrollbar-thumb:hover {
        background: #ff8c33;
    }

    #open-left,
    #close-left,
    .over {
        display: none;
    }
}

/* ===== Оптимизация шрифтов (font-display: swap) ===== */
@font-face {
    font-family: 'Montserrat';
    src: local('Montserrat'), url('/extension/tarkett/font/montserrat.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* ===== ХАРАКТЕРИСТИКИ ТОВАРА - УЛУЧШЕННЫЙ ДИЗАЙН ===== */

.product-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin: 25px 0;
  padding: 0;
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 24px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eee;
  border-left: 5px solid #FF750D;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.spec-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,117,13,0.03) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.spec-item:hover {
  border-color: #FF750D;
  box-shadow: 0 8px 30px rgba(255,117,13,0.12);
  transform: translateY(-3px);
}

.spec-item:hover::before {
  opacity: 1;
}

/* Цена - на всю ширину */
.spec-item.spec-price {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #FF750D 0%, #ff8c33 50%, #ffaa66 100%);
  border: none;
  border-left: none;
  text-align: center;
  padding: 28px 30px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(255,117,13,0.3);
}

.spec-item.spec-price:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255,117,13,0.4);
}

.spec-item.spec-price .spec-label {
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  letter-spacing: 2px;
}

.spec-item.spec-price .spec-value {
  color: #fff;
  font-size: 36px;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.spec-label {
  font-size: 11px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.spec-value {
  font-size: 18px;
  font-weight: 700;
  color: #222;
  line-height: 1.4;
}

.spec-note {
  font-size: 12px;
  color: #888;
  margin-top: 2px;
}

.spec-badge {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 30px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
}

.spec-badge:hover {
  background: rgba(255,255,255,0.35);
  transform: scale(1.05);
}

.spec-value.spec-yes {
  color: #22c55e;
  font-weight: 800;
}

/* ===== МОБИЛЬНАЯ ВЕРСИЯ ===== */
@media (max-width: 767px) {
  .product-specs {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .spec-item {
    padding: 18px 20px;
    border-radius: 10px;
  }
  
  .spec-item.spec-price {
    padding: 24px 20px;
    border-radius: 14px;
  }
  
  .spec-item.spec-price .spec-value {
    font-size: 28px;
  }
  
  .spec-value {
    font-size: 16px;
  }
  
  .spec-label {
    font-size: 10px;
  }
  
  .spec-badge {
    padding: 8px 20px;
    font-size: 11px;
  }
}

/* ===== ПЛАНШЕТ ===== */
@media (min-width: 768px) and (max-width: 991px) {
  .product-specs {
    gap: 12px;
  }
  
  .spec-item {
    padding: 18px 20px;
  }
  
  .spec-value {
    font-size: 16px;
  }
  
  .spec-item.spec-price .spec-value {
    font-size: 30px;
  }
}

/* ===== Заголовок секции ===== */
.product-characteristics-block h3 {
  font-size: 28px;
  font-weight: 700;
  color: #222;
  margin: 0 0 25px 0;
  padding: 0 0 15px 0;
  border-bottom: 3px solid #FF750D;
  position: relative;
}

.product-characteristics-block h3::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 60px;
  height: 3px;
  background: #222;
}
/* ===== ХАРАКТЕРИСТИКИ ТОВАРА - ОПТИМИЗИРОВАННЫЕ ШРИФТЫ ===== */

.product-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin: 25px 0;
  padding: 0;
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #eee;
  border-left: 4px solid #FF750D;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}

.spec-item:hover {
  border-color: #FF750D;
  box-shadow: 0 5px 20px rgba(255,117,13,0.12);
  transform: translateY(-2px);
}

/* Цена - на всю ширину */
.spec-item.spec-price {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #FF750D 0%, #ff8c33 100%);
  border: none;
  border-left: none;
  text-align: center;
  padding: 20px 25px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(255,117,13,0.25);
}

.spec-item.spec-price:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255,117,13,0.35);
}

.spec-item.spec-price .spec-label {
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  letter-spacing: 1.5px;
}

/* ЦЕНА - уменьшен шрифт с 36px до 24px */
.spec-item.spec-price .spec-value {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
}

/* Лейбл характеристики */
.spec-label {
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
}

/* Значение характеристики - уменьшен с 18px до 15px */
.spec-value {
  font-size: 15px;
  font-weight: 600;
  color: #222;
  line-height: 1.4;
}

.spec-note {
  font-size: 12px;
  color: #888;
  margin-top: 2px;
}

.spec-badge {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 20px;
  background: rgba(255,255,255,0.2);
  border-radius: 25px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.spec-value.spec-yes {
  color: #22c55e;
  font-weight: 700;
}

/* ===== МОБИЛЬНАЯ ВЕРСИЯ ===== */
@media (max-width: 767px) {
  .product-specs {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .spec-item {
    padding: 16px 18px;
  }
  
  .spec-item.spec-price {
    padding: 18px 20px;
  }
  
  .spec-item.spec-price .spec-value {
    font-size: 22px;
  }
  
  .spec-value {
    font-size: 14px;
  }
  
  .spec-label {
    font-size: 10px;
  }
}

/* ===== Заголовок секции ===== */
.product-characteristics-block h3 {
  font-size: 24px;
  font-weight: 700;
  color: #222;
  margin: 0 0 20px 0;
  padding: 0 0 12px 0;
  border-bottom: 3px solid #FF750D;
}
/* ===== КАРТОЧКА КАТЕГОРИИ ===== */
.gallery-container-block-medium .cat-card-img {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 10px;
}

.gallery-container-block-medium .cat-card-img img {
  display: block;
  width: 100%;
  transition: transform 0.4s ease;
}

.gallery-container-block-medium .cat-card-img:hover img {
  transform: scale(1.05);
}

/* СКРЫВАЕМ старую полосу ТОЛЬКО внутри нового блока категорий */
.gallery-container-block-medium > a.cat-card-img + .medium-gallery-title {
  display: none !important;
}

/* === НАЗВАНИЕ КАТЕГОРИИ — ВВЕРХУ === */
.cat-overlay {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
}

/* Градиент сверху для названия */
.cat-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
  z-index: 1;
}

/* Градиент снизу для цены и скидок */
.cat-overlay::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
  z-index: 1;
}

/* Название — белое жирное, ВВЕРХУ ПО ЦЕНТРУ */
.cat-title-text {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  text-shadow: 0 2px 6px rgba(0,0,0,0.8);
  text-align: center;
  width: 100%;
}

/* Ряд с бейджами — цена + скидки, ВНИЗУ */
.cat-badges-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}

/* Бейдж цены */
.cat-price-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 8px 14px;
  background: #FF750D;
  color: #fff;
  border-radius: 30px;
  box-shadow: 0 3px 12px rgba(255,117,13,0.4);
}

.cat-price-from { font-size: 12px; font-weight: 500; opacity: 0.9; }
.cat-price-value { font-size: 19px; font-weight: 800; line-height: 1; }
.cat-price-cur { font-size: 12px; font-weight: 600; opacity: 0.95; }

/* Бейдж "Скидки" — рядом с ценой */
.cat-discount-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background: #e3342f;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 30px;
  box-shadow: 0 3px 12px rgba(227,52,47,0.4);
}

/* ===== МОБИЛЬНАЯ ВЕРСИЯ ===== */
@media (max-width: 767px) {
  .cat-overlay { padding: 10px; }
  .cat-overlay::before,
  .cat-overlay::after { height: 60px; }
  .cat-title-text { font-size: 14px; }
  .cat-price-badge, .cat-discount-badge { padding: 6px 11px; }
  .cat-price-value { font-size: 16px; }
}
/* ===== HERO ЗАГОЛОВОК ГЛАВНОЙ (ПРИОРИТЕТНЫЕ СТИЛИ) ===== */

/* Контейнер hero */
#content .home-hero {
  text-align: center !important;
  margin: 20px 0 40px !important;
  padding: 30px 20px 20px !important;
  background: linear-gradient(135deg, #FFF9E6 0%, #FFF4D6 100%) !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
  display: block !important;
  width: 100% !important;
}

/* Верхняя плашка */
#content .home-hero .home-hero__eyebrow {
  display: inline-block !important;
  font-family: 'Montserrat', Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  color: #fff !important;
  padding: 10px 24px !important;
  background: linear-gradient(135deg, #FF750D 0%, #FF9500 100%) !important;
  border-radius: 30px !important;
  margin-bottom: 20px !important;
  box-shadow: 0 4px 12px rgba(255,117,13,0.35) !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2) !important;
  border: none !important;
}

/* Главный заголовок */
#content .home-hero .home-hero__title {
  font-family: 'Montserrat', Arial, sans-serif !important;
  font-size: 52px !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  letter-spacing: -1px !important;
  color: #1a1a1a !important;
  margin: 0 0 18px 0 !important;
  text-transform: none !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.08), 0 4px 8px rgba(0,0,0,0.04) !important;
  display: block !important;
}

/* Подзаголовок (если есть) */
#content .home-hero .home-hero__subtitle {
  font-family: 'Montserrat', Arial, sans-serif !important;
  font-size: 17px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  color: #5a6470 !important;
  max-width: 640px !important;
  margin: 0 auto 18px auto !important;
  display: block !important;
}

/* Оранжевая полоска */
#content .home-hero .home-hero__divider {
  display: block !important;
  width: 80px !important;
  height: 5px !important;
  margin: 0 auto !important;
  background: linear-gradient(90deg, #FF750D, #FF9500) !important;
  border-radius: 5px !important;
  box-shadow: 0 2px 8px rgba(255,117,13,0.4) !important;
}

/* ===== АДАПТИВ ДЛЯ ВСЕХ УСТРОЙСТВ ===== */

/* Планшеты */
@media (max-width: 991px) {
  #content .home-hero {
    padding: 25px 18px 18px !important;
    margin: 18px 0 35px !important;
  }
  
  #content .home-hero .home-hero__title {
    font-size: 42px !important;
  }
  
  #content .home-hero .home-hero__eyebrow {
    font-size: 13px !important;
    padding: 9px 20px !important;
  }
}

/* Мобильные */
@media (max-width: 767px) {
  #content .home-hero {
    padding: 20px 15px 15px !important;
    margin: 15px 0 30px !important;
    border-radius: 12px !important;
  }
  
  #content .home-hero .home-hero__eyebrow {
    font-size: 12px !important;
    padding: 8px 18px !important;
    letter-spacing: 2px !important;
    margin-bottom: 15px !important;
  }
  
  #content .home-hero .home-hero__title {
    font-size: 32px !important;
    letter-spacing: -0.5px !important;
    margin-bottom: 15px !important;
  }
  
  #content .home-hero .home-hero__subtitle {
    font-size: 15px !important;
    margin-bottom: 15px !important;
  }
  
  #content .home-hero .home-hero__divider {
    width: 60px !important;
    height: 4px !important;
  }
}

/* Маленькие мобильные */
@media (max-width: 480px) {
  #content .home-hero {
    padding: 15px 10px 12px !important;
    margin: 10px 0 25px !important;
    border-radius: 12px !important;
  }
  
  #content .home-hero .home-hero__eyebrow {
    font-size: 11px !important;
    padding: 7px 14px !important;
    letter-spacing: 1.5px !important;
  }
  
  #content .home-hero .home-hero__title {
    font-size: 26px !important;
  }
  
  #content .home-hero .home-hero__subtitle {
    font-size: 14px !important;
  }
  
  #content .home-hero .home-hero__divider {
    width: 50px !important;
    height: 3px !important;
  }
}

/* ===== КАРТОЧКИ КАТЕГОРИЙ (ЦЕНТРИРОВАНИЕ + СТАРЫЙ СТИЛЬ) ===== */
#content .gallery-container {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important; /* Центрирует карточки, если их < 4 */
  align-items: stretch !important;
  gap: 20px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  width: 100% !important;
}

#content .gallery-container-block-medium {
  position: relative !important;
  flex: 0 0 calc(25% - 15px) !important;
  max-width: calc(25% - 15px) !important;
  margin: 0 !important;
  height: auto !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 18px rgba(0,0,0,0.10) !important;
  background: #f3f3f3 !important;
}

#content .gallery-container-block-medium > a:first-child {
  display: block !important;
  width: 100% !important;
  line-height: 0 !important;
}

#content .gallery-container-block-medium > a:first-child img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  transition: transform 0.45s ease !important;
}

#content .gallery-container-block-medium:hover > a:first-child img {
  transform: scale(1.07) !important;
}

/* ✅ ВОЗВРАЩАЕМ ПОЗИЦИЮ НАЗВАНИЯ ВВЕРХ (как было у вас) */
#content .gallery-container-block-medium .medium-gallery-title,
#content .gallery-container-block-medium p.medium-gallery-title {
  position: absolute !important;
  top: 12px !important; /* Прижимает к верху */
  left: 0 !important;
  right: 0 !important;
  bottom: auto !important;
  z-index: 2 !important;
  margin: 0 !important;
  padding: 0 12px !important;
  display: flex !important;
  align-items: flex-start !important; /* Выравнивание по верхнему краю */
  justify-content: center !important;
  text-align: center !important;
  background: transparent !important;
  pointer-events: none !important;
  transition: background 0.3s ease !important;
}

#content .gallery-container-block-medium:hover .medium-gallery-title {
  background: rgba(0,0,0,0.18) !important;
}

/* ТЕКСТ названия — крупный жирный. Меняйте 21px тут */
#content .gallery-container-block-medium .medium-gallery-title a,
#content .gallery-container-block-medium p.medium-gallery-title a[style*="color: white"] {
  font-family: 'Montserrat', Arial, sans-serif !important !important !important;
  font-size: 21px !important !important !important;
  font-weight: 800 !important !important !important;  /* ✅ Увеличено до 3x !important */
  line-height: 1.2 !important !important !important;
  color: #fff !important !important !important;
  text-transform: uppercase !important !important !important;
  letter-spacing: 0.3px !important !important !important;
  text-align: center !important !important !important;
  display: block !important !important !important;
  width: 100% !important !important !important;
  text-decoration: none !important !important !important;
  pointer-events: auto !important !important !important;
  text-shadow:
    0 2px 6px rgba(0,0,0,0.85),
    0 0 14px rgba(0,0,0,0.55),
    0 1px 2px rgba(0,0,0,0.9) !important !important !important;
}

/* ===== АДАПТИВ (с flex-ширинами для корректного центрирования) ===== */
@media (max-width: 991px) and (min-width: 768px) {
  #content .gallery-container { gap: 16px !important; }
  #content .gallery-container-block-medium {
    flex: 0 0 calc(33.333% - 11px) !important;
    max-width: calc(33.333% - 11px) !important;
  }
}
@media (max-width: 767px) {
  #content .gallery-container { gap: 12px !important; }
  #content .gallery-container-block-medium {
    flex: 0 0 calc(50% - 6px) !important;
    max-width: calc(50% - 6px) !important;
    border-radius: 10px !important;
  }
}
@media (max-width: 400px) {
  #content .gallery-container { gap: 8px !important; }
  #content .gallery-container-block-medium {
    flex: 0 0 calc(50% - 4px) !important;
    max-width: calc(50% - 4px) !important;
  }
}

<style>
@font-face {
  font-family: 'Montserrat';
  src: url('/catalog/view/theme/default/font/montserrat.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/catalog/view/theme/default/font/montserrat.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
body{margin:0;font-family:'Open Sans','Open Sans Fallback',sans-serif}
#top{padding:10px 0;display:flex;flex-direction:column;align-items:center}
#akciya-header{background:#333;color:#fff;padding:8px 0;text-align:center;width:100%}
#akciya-header p{margin:0;font-size:18px;font-weight:600;color:#FF750D;line-height:1.3}
#logo{padding:10px 0;display:flex;align-items:center;justify-content:center;width:100%}
#logo img{max-width:350px;height:auto;object-fit:contain;display:block}
.social-networks-center{padding:10px 0;display:flex;justify-content:center;flex-wrap:wrap;gap:10px}
#top-links{padding:10px 0;display:flex;justify-content:center;flex-wrap:wrap;gap:10px}
#main-header-menu{list-style:none;padding:0 20px;margin:0;display:flex;flex-wrap:wrap;gap:15px;justify-content:center;align-items:center;min-height:50px} 
#main-header-menu li a{text-decoration:none;font-weight:500;font-size:17px;line-height:1.3}
#top-links li{list-style:none}
#top-links a{text-decoration:none;font-size:16px;white-space:nowrap}
#search .form-control{height:40px}

@media (max-width: 767px) {
  #main-header-menu {
    display: none !important;
  }
  #top-links {
    justify-content: center !important;
  }
  .social-networks-center {
    justify-content: center !important;
  }
}
</style>

/* ===== АДАПТИВ ===== */
@media (max-width: 991px) and (min-width: 768px) {
  #content .gallery-container { grid-template-columns: repeat(3, 1fr) !important; gap: 16px !important; }
  #content .gallery-container-block-medium .medium-gallery-title a,
  #content .gallery-container-block-medium p.medium-gallery-title a[style*="color: white"] { font-size: 18px !important; }
}
@media (max-width: 767px) {
  #content .gallery-container { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
  #content .gallery-container-block-medium { border-radius: 10px !important; }
  #content .gallery-container-block-medium .medium-gallery-title { padding: 10px !important; }
  #content .gallery-container-block-medium .medium-gallery-title a,
  #content .gallery-container-block-medium p.medium-gallery-title a[style*="color: white"] { font-size: 15px !important; }
}
@media (max-width: 400px) {
  #content .gallery-container { gap: 8px !important; }
  #content .gallery-container-block-medium .medium-gallery-title a,
  #content .gallery-container-block-medium p.medium-gallery-title a[style*="color: white"] { font-size: 13px !important; }
}
<style>
@font-face {
  font-family: 'Montserrat';
  src: url('/catalog/view/theme/default/font/montserrat.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/catalog/view/theme/default/font/montserrat.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
body{margin:0;font-family:'Open Sans','Open Sans Fallback',sans-serif}
#top{padding:10px 0;display:flex;flex-direction:column;align-items:center}
#logo{padding:10px 0;display:flex;align-items:center;justify-content:center;width:100%}
#logo img{max-width:350px;height:auto;object-fit:contain;display:block}
.social-networks-center{padding:10px 0;display:flex;justify-content:center;flex-wrap:wrap;gap:10px}
#top-links{padding:10px 0;display:flex;justify-content:center;flex-wrap:wrap;gap:10px}
#main-header-menu{list-style:none;padding:0 20px;margin:0;display:flex;flex-wrap:wrap;gap:15px;justify-content:center;align-items:center;min-height:50px} 
#main-header-menu li a{text-decoration:none;font-weight:500;font-size:17px;line-height:1.3}
#top-links li{list-style:none}
#top-links a{text-decoration:none;font-size:16px;white-space:nowrap}
#search .form-control{height:40px}

@media (max-width: 767px) {
  #main-header-menu {
    display: none !important;
  }
  #top-links {
    justify-content: center !important;
  }
  .social-networks-center {
    justify-content: center !important;
  }
}
</style>
/* ===== YOUTUBE LAZY LOAD (Улучшенный стиль) ===== */
.product-video-block {
  margin: 30px 0;
  text-align: center;
}

.yt-lazy-wrap {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.yt-lazy-wrap:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.yt-lazy-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.yt-lazy-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
  transition: background 0.3s ease;
}

.yt-lazy-wrap:hover .yt-lazy-overlay {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
}

/* Кнопка Play - как у YouTube */
.yt-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 0, 0, 0.9);
  border: none;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
  z-index: 2;
}

.yt-play-btn svg {
  width: 60%;
  height: 60%;
  margin-left: 4px; /* Визуальная коррекция */
}

.yt-lazy-wrap:hover .yt-play-btn {
  background: rgba(255, 0, 0, 1);
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 6px 25px rgba(255, 0, 0, 0.6);
}

.yt-play-btn:active {
  transform: translate(-50%, -50%) scale(0.95);
}

/* Iframe после клика */
.yt-lazy-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Адаптивность для мобильных */
@media (max-width: 767px) {
  .yt-lazy-wrap {
    max-width: 100%;
    border-radius: 8px;
  }
  
  .yt-play-btn {
    width: 64px;
    height: 64px;
  }
  
  .yt-play-btn svg {
    width: 50%;
    height: 50%;
  }
}

/* Если несколько видео в ряд */
.product-video-block > div:not(:last-child) {
  margin-bottom: 30px;
}
/* === ЧЁРНАЯ ПОЛОСА С БЕГУЩЕЙ СТРОКОЙ === */
#akciya-header {
  background: #000 !important;
  color: #FF750D;
  padding: 10px 0;
  text-align: center;
  width: 100%;
  position: relative;
  z-index: 9999 !important;
  min-height: 44px;
  overflow: hidden;
  display: block !important;
}

#akciya-header p {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #FF750D !important;
  line-height: 1.4 !important;
  text-align: center !important;
  white-space: nowrap !important;
  word-wrap: normal !important;
  display: inline-block;
  padding-left: 100%;
  animation: marquee 25s linear infinite;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* === МОБИЛЬНАЯ ВЕРСИЯ === */
@media (max-width: 767px) {
  #akciya-header {
    padding: 8px 0 !important;
    min-height: 40px !important;
    background: #000 !important;
  }
  
  #akciya-header p {
    font-size: 13px !important;
    animation: marquee 15s linear infinite !important;
  }
}

/* === ГОРИЗОНТАЛЬНАЯ ОРИЕНТАЦИЯ === */
@media (max-height: 500px) and (orientation: landscape) {
  #akciya-header {
    min-height: 32px !important;
    padding: 5px 0 !important;
  }
  #akciya-header p {
    font-size: 12px !important;
  }
}
#modal-first {
  display: none;
}
/* Превью видео заполняет весь блок (16:9), обрезая чёрные полосы */
.yt-lazy-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
} 
/* ---------- 1. Одна линия: бургер + меню + поиск ---------- */
header .container > .row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
}

header .container > .row::before,
header .container > .row::after {
  display: none !important;
}

header .container > .row > #main-menu-mobile-button {
  float: none !important;
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
}

header .container > .row > #main-header-menu {
  float: none !important;
  flex: 1 1 auto;
  padding: 0 !important;
  min-height: 0 !important;
}

/* ---------- 2. Поиск: всегда справа с отступом ---------- */
header .container > .row > #custom-search {
  float: none !important;
  flex: 0 1 auto !important;
  width: 225px !important;
  min-width: 0 !important;
  box-sizing: border-box;
  margin-left: auto !important;
  margin-right: 10px !important;
}

header .container > .row > #custom-search .input-group {
  flex-wrap: nowrap;
  width: 100%;
  margin-bottom: 0 !important;
}

header .container > .row > #custom-search .form-control {
  min-width: 0;
}

/* Bootstrap 5 даёт всем детям .row width:100%: на телефоне поле поиска занимает остаток строки рядом с кнопкой меню */
@media (max-width: 767px) {
  header .container > .row > #custom-search {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    margin-left: 12px !important;
    margin-right: 0 !important;
  }
}

@media (max-width: 1024px) {
  header .container > .row > #main-header-menu {
    display: none !important;
  }
}

/* ---------- 3. Бургер-меню: прокрутка и все разделы ---------- */
#header-main-mobile,
#header-mobile {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-height: 100vh !important;
  max-height: 100dvh !important;
  padding-bottom: 96px !important;
  box-sizing: border-box !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  z-index: 10000 !important;
}
/* ---------- 4. Бегущая строка: убираем «прыжок» вёрстки ---------- */
#akciya-header {
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  overflow: hidden !important;
  box-sizing: border-box;
}

#akciya-header p {
  white-space: nowrap !important;
  margin: 0 !important;
}

@media (max-width: 767px) {
  #akciya-header {
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  #akciya-header {
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
  }
}
/* ===== yo-am (меню Каталог) из старого сайта ===== */
.yo-am,
.yo-am ul
{
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;

    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}
.yo-am ul
{
    overflow: hidden;
    height: 0;
}
.yo-am li.active > ul
{
    height: auto;
}
.yo-am li
{
    line-height: 1.618em;
    position: relative;
    display: block;
    float: none;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
}
.yo-am li+li,
.yo-am li li
{
    border-top: 1px solid rgba(0,0,0,.085);
}
.yo-am li a.item-current
{
    font-weight: bold;
    background-color: #FFBC4C;
    color: #393939;
}
.yo-am .item-wrapper
{
    position: relative;
    display: table;
    table-layout: fixed;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    text-decoration: none;
    color: #fff;
    border: none;
    outline: none;
    background-color: #393939;
}
.yo-am li.active > .item-wrapper,
.yo-am li .item-wrapper:hover
{
    color: #393939;
    background-color: #FFBC4C;
}
.yo-am .item-wrapper > div
{
    position: relative;
    display: table-cell;
    padding: .7em 1.15em;
    vertical-align: middle;
    word-wrap: break-word;
}
.yo-am .item-wrapper .item-icon
{
    line-height: 1;
    width: 4.3em;
    text-align: center;
}
.yo-am .item-wrapper .item-icon img
{
    display: block;
    max-width: 1.5em;
    height: auto;
    margin-right: auto;
    margin-left: auto;
    vertical-align: middle;
    border: 0;
}
.yo-am .item-wrapper .item-icon + div
{
    padding-left: 0;
}
.yo-am .item-wrapper .item-title
{
    width: 100%;
}
.yo-am .fa
{
    font-size: 1.25em;
}
.yo-am .item-wrapper .item-count
{
    width: 5.5em;
    padding: 0 2.5em 0 0;
    text-align: right;
}
.yo-am .item-wrapper .item-count-tb
{
    width: 5.7em;
    padding: 0 2.7em 0 0;
    text-align: center;
}
.yo-am .item-wrapper .item-count-tb-parent
{
    width: 3em;
    padding: 0;
    text-align: center;
}
.yo-am .item-wrapper .item-count span,
.yo-am .item-wrapper .item-count-tb span,
.yo-am .item-wrapper .item-count-tb-parent span
{
    font-size: 83%;
    font-weight: normal;
    line-height: 1;
    display: inline-block;
    min-width: 1.6em;
    margin-bottom: .1em;
    padding: .3em .5em;
    text-align: center;
    border: 1px solid rgba(0,0,0,.12);
    background-color: #fff;

    -webkit-border-radius: .8em;
       -moz-border-radius: .8em;
            border-radius: .8em;
}
.yo-am .item-wrapper .item-price
{
    font-size: 83%;
    font-weight: normal;
    width: 50%;
    padding: 0 1.35em 0 0;
    text-align: right;
}
.yo-am .item-wrapper .item-price span
{
    line-height: 1;
    padding: .1em .6em;
    border: 1px solid rgba(0,0,0,.085);
    background-color: #fff;

    -webkit-border-radius: .8em;
       -moz-border-radius: .8em;
            border-radius: .8em;
}
.yo-am .item-wrapper .btn-toggle
{
    line-height: 1;
    width: 2.7em;
    padding: 0 .35em;
    cursor: pointer;
    border-left: 1px solid transparent;
}
.yo-am .item-image > a
{
    display: block;
    margin: 0;
    padding: 0;
    text-align: center;
    border: none;
    outline: none;
    background: transparent;
}
.yo-am .item-image img
{
    display: block;
    max-width: 100%;
    height: auto;
    margin-right: auto;
    margin-left: auto;
    vertical-align: middle;
    border: 0;
}
.yo-am .btn-toggle:hover
{
    background-color: rgba(0,0,0,.02);
}
.yo-am .item-wrapper:hover .btn-toggle
{
    border-left: 1px solid rgba(0,0,0,.085);
}
.yo-am .btn-toggle:active, .yo-am .item-toggle:active
{
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.04);
            box-shadow: inset 0 1px 1px rgba(0,0,0,.04);
}
.yo-am .btn-toggle span
{
    position: relative;
    display: block;
    width: 2em;
    height: 2em;
    line-height: 2em;
}
.yo-am .btn-toggle span:before
{
    position: absolute;
    top: 50%;
    right: 50%;
    width: 2em;
    height: 2em;
    margin-top: -1em;
    margin-right: -1em;
    content: '';
    background: transparent url('image/yo.svg') 0 0 no-repeat;

    -webkit-background-size: 4em 8em;
       -moz-background-size: 4em 8em;
         -o-background-size: 4em 8em;
            background-size: 4em 8em;
}

.yo-am .item-wrapper:hover .btn-toggle span:before
{
    opacity: 1;
}
.yo-am .btn-toggle:hover span:before
{
    background-position: -2em 0;
}
.yo-am li.active > .item-wrapper .btn-toggle span:before
{
    background-position: 0 -2em;
}
.yo-am li.active > .item-wrapper .btn-toggle:hover span:before
{
    background-position: -2em -2em;
}
.yo-am .item-toggle
{
    cursor: pointer;
}
.yo-am li > .item-toggle:after
{
    font-family: FontAwesome;
    font-weight: normal;
    position: absolute;
    top: 50%;
    right: 1em;
    margin-top: -.809em;
    content: '\f105';
    opacity: .45;
}
.yo-am li.active > .item-toggle:after
{
     -webkit-transform: rotate(90deg);
        -moz-transform: rotate(90deg);
         -ms-transform: rotate(90deg);
          -o-transform: rotate(90deg);
             transform: rotate(90deg);
}
.yo-am li.active > .item-toggle:after,
.yo-am li .item-toggle:hover:after
{
    opacity: .85;
}
.yo-am li li .item-wrapper .item-arrow:before
{
    font-weight: normal;
    position: absolute;
    top: 51%;
    left: .5em;
    margin-top: -.809em;
    content: '•';
    opacity: .2;
}
.yo-am li li.active > .item-wrapper .item-arrow:before,
.yo-am li li .item-current .item-arrow:before
{
    color: #393939;
    opacity: 1;
}
.yo-am  li li .item-wrapper
{
    padding-left: 1.5em;
}
.yo-am  li li li .item-wrapper
{
    padding-left: 2.5em;
}
.yo-am  li li li li .item-wrapper
{
    padding-left: 3.5em;
}
.yo-am  li li li li li .item-wrapper
{
    padding-left: 4.5em;
}
.yo-am *:before, .yo-am *:after {
    display: block;
}
.panel-heading:after,
.yo-am .item-wrapper,
.yo-am .item-wrapper .item-price span,
.yo-am .item-wrapper .btn-toggle,
.yo-am li > .item-toggle:after
{
    -webkit-transition: all .3s ease;
       -moz-transition: all .3s ease;
        -ms-transition: all .3s ease;
         -o-transition: all .3s ease;
            transition: all .3s ease;
}
/* ===== tarkett oc4: раскладка главной, поиск, меню Каталог (v1) ===== */
#main-content > .container > .row{display:flex;flex-wrap:wrap;align-items:flex-start;gap:20px}
#main-content #column-left{flex:0 0 280px;width:280px;max-width:280px;padding:0;float:none}
#main-content #content{flex:1 1 0;min-width:0;width:auto;max-width:none;padding:0;float:none}
@media (max-width:767px){#main-content #content{flex-basis:100%}}
header #main-header-menu{justify-content:flex-start;gap:2px;padding:0 8px!important}
header #main-header-menu li a{display:block;padding:15px 13px;border-bottom:3px solid transparent;transition:color .2s,border-color .2s}
header #main-header-menu li a:hover{color:#ffbc4c;border-bottom-color:#ff750d}
header #custom-search form{display:flex;flex-wrap:nowrap;align-items:stretch;margin:0!important;background:#fff;border-radius:22px;overflow:hidden;box-shadow:0 1px 4px rgba(0,0,0,.3)}
header #custom-search .form-control{flex:1 1 auto;width:auto;min-width:0;height:40px;padding:0 4px 0 16px;border:0;border-radius:0;font-size:14px;box-shadow:none;background:#fff}
header #custom-search .btn{flex:0 0 46px;width:46px;height:40px;padding:0;border:0;border-radius:0;background:#ff750d;color:#fff;display:flex;align-items:center;justify-content:center}
header #custom-search .btn:hover{background:#e06a00}
header #custom-search .btn i{font-size:16px;line-height:1}
#main-content > .container > .row::before,#main-content > .container > .row::after{display:none!important}

/* Карточка товара: отступы как в Bootstrap 3 на старом сайте (картинка и текст не прилипают к краю) */
#main-content #content:has(.product-page-title){padding:0 15px 15px}
#main-content #content:has(.product-page-title) > .row{margin-left:-15px;margin-right:-15px}
#main-content #content:has(.product-page-title) > .row > [class*="col-sm-"]{padding-left:15px;padding-right:15px}
#main-content #content:has(.product-page-title) .thumbnails{max-width:none}
#main-content #content:has(.product-page-title) .pr-rating{max-width:none}

/* Информационные страницы (Услуги, Доставка, О нас, Контакты): внутренние отступы, как col-sm-9 на старом сайте */
#main-content #information-information #content,
#main-content #information-contact #content,
#main-content #information-sitemap #content{padding:0 15px 15px}
#main-content #information-information #content img{max-width:100%;height:auto}

/* Мобильное меню (бургер): длинные названия переносятся по центру и не выходят за край экрана */
#header-main-mobile .top-menu-mobile-block,
#header-main-mobile .top-menu-mobile-block a {
  height: auto;
  min-height: 35px;
  padding: 6px 16px;
  text-align: center;
  box-sizing: border-box;
}

/* Левое меню: цена коллекции плашкой вне ссылки (в тексте ссылки только название) */
.yo-am li.has-price { position: relative; }
.yo-am li.has-price > .item-wrapper .item-title { padding-right: 6.6em !important; }
.yo-am li.has-price.has-kids > .item-wrapper .item-title { padding-right: 9.2em !important; }
.yo-am .menu-price {
  position: absolute;
  top: 0;
  bottom: 0;
  right: .7em;
  display: flex;
  align-items: center;
  height: 2em;
  margin: auto 0;
  padding: 0 .65em;
  background: #FF750D;
  color: #1c1c1c;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  border-radius: 30px;
  pointer-events: none;
  z-index: 2;
}
.yo-am .menu-price small { margin-left: .3em; font-size: 10px; font-weight: 600; }
.yo-am li.has-price.has-kids > .menu-price { right: 3.4em; }
@media (max-width: 767px) {
  .yo-am .menu-price { font-size: 12px; }
}

/* Пагинация категорий: номера страниц в одну строку по центру */
ul.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin: 18px auto 8px;
  padding: 0;
  list-style: none;
}
ul.pagination > .page-item .page-link {
  min-width: 40px;
  text-align: center;
  margin-left: 0;
  border-radius: 6px;
}
.pagination-results {
  margin-bottom: 18px;
  font-size: 13px;
  color: #6b6b6b;
}