

/* Start:/local/templates/kuhni/components/bitrix/catalog.element/detail_new/style.css?177709381919378*/
/* Детальная страница товара - стили с префиксом prod- */
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600&display=swap');

@font-face {
    font-family: 'Bebas Neue Cyrillic';
    src: url('/local/templates/.default/fonts/BebasNeueCyrillic.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

.prod-detail {
    font-family: 'Inter Tight', sans-serif;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0px 0px 0px 0;
}

.prod-detail-container {
    max-width: 1240px;
    margin: 0 auto;
}

/* Название товара над контейнером */
.prod-title {
    color: #303030;
    font-size: 48px;
    font-family: 'Bebas Neue Cyrillic', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    margin: 0 0 40px 0;
    line-height: 1.1;
    word-wrap: break-word;
    text-align: left;
}

.prod-detail-content {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

/* Левая колонка с галереей */
.prod-detail-gallery {
    display: flex;
    gap: 20px;
    flex: 0 0 calc(396px + 85px + 20px); /* ширина основной картинки + миниатюры + отступ */
    position: relative;
}

/* Вертикальный слайдер миниатюр */
.prod-gallery-thumbs {
    width: 85px;
    position: relative;
    display: flex;
    gap: 6px;
    height: 423px; /* Фиксированная высота как у основного изображения */
}

.prod-thumbs-wrapper {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 73px;
    height: 100%;
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE и Edge */
}

.prod-thumbs-wrapper::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.prod-thumb-item {
    width: 73px;
    height: 84px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
    overflow: hidden;
    flex-shrink: 0;
}

.prod-thumb-item:hover {
   /* border-color: #090909;*/
}

.prod-thumb-item.active {
   /* border-color: #ce2e2e;*/
}

.prod-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Вертикальный скроллбар */
.prod-thumbs-scrollbar {
    width: 4px;
    height: 100%;
    background: #F2F3F5;
    border-radius: 900px;
    position: relative;
    display: none; 
    flex-shrink: 0;
}

.prod-thumbs-scrollbar-thumb {
    width: 100%;
    background: #E1E1E1;
    border-radius: 900px;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.prod-thumbs-scrollbar-thumb:hover {
    background: #ce2e2e;
}

/* Основное изображение */
.prod-main-image {
    width: 396px;
    height: 389px;
    /*background: #F2F3F5;*/
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.prod-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.prod-no-image {
    color: #818084;
    font-size: 16px;
    text-align: center;
}

/* ===== БЕЙДЖИ (статусы товара) ===== */
.prod-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    position: absolute;
    top: 0px;
    left: 12px;
    z-index: 10;
    max-width: calc(100% - 24px);
}

.prod-badge {
    padding: 8px 10px;
    color: white;
    font-size: 14px;
    font-family: 'Inter Tight', sans-serif;
    font-weight: 500;
    border-radius: 2px;
    line-height: 1;
    white-space: nowrap;
}

.prod-badge--sale {
    background: #ce2e2e;
}

.prod-badge--stock {
    background: #303030;
}

.prod-badge--outstock {
    background: #818084;
}

.prod-badge--new {
    background: #4CAF50;
}

.prod-badge--hit {
    background: #FF9800;
}

.prod-badge--promo {
    background: #9C27B0;
}

.prod-badge--recommend {
    background: #2196F3;
}

.prod-badge--bestseller {
    background: #E91E63;
}

.prod-badge--exclusive {
    background: #673AB7;
}

.prod-badge--limited {
    background: #795548;
}

.prod-badge--gift {
    background: #FF4081;
}

.prod-badge--discount {
    background: #F44336;
}

.prod-badge--expected {
    background: #FFC107;
    color: #303030;
}

.prod-badge--outofstock {
    background: #9E9E9E;
}

/* Правая колонка с информацией */
.prod-detail-info {
    flex: 1;
    max-width: 715px;
    width: 715px;
    background: #F2F3F5;
    padding: 56px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    box-sizing: border-box;
}

/* Мета-информация (артикул и рейтинг) */
.prod-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    width: 100%;
}

.prod-article {
    color: #818084;
    font-size: 24px;
    font-family: 'Bebas Neue Cyrillic', sans-serif;
    font-weight: 400;
    word-wrap: break-word;
}

.prod-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.prod-rating-stars {
    display: flex;
    align-items: center;
    gap: 4px;
}

.prod-rating-value {
    color: #ce2e2e;
    font-size: 24px;
    font-family: 'Bebas Neue Cyrillic', sans-serif;
    font-weight: 400;
}

.prod-reviews-count {
    color: #090909;
    font-size: 24px;
    font-family: 'Bebas Neue Cyrillic', sans-serif;
    font-weight: 400;
}

/* Строка с ценами и ссылкой */
.prod-price-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    width: 100%;
}

/* Блок цен */
.prod-prices {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.prod-current-price {
    color: #ce2e2e;
    font-size: 48px;
    font-family: 'Bebas Neue Cyrillic', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
}

.prod-old-price {
    color: #090909;
    font-size: 32px;
    font-family: 'Bebas Neue Cyrillic', sans-serif;
    font-weight: 400;
    text-decoration: line-through;
    text-transform: uppercase;
    line-height: 1.2;
    white-space: nowrap;
}

.prod-discount {
    color: #fff;
    font-size: 16px;
    font-family: 'Inter Tight', sans-serif;
    font-weight: 600;
    background: #ff4444;
    padding: 4px 8px;
    border-radius: 4px;
    line-height: 1;
    white-space: nowrap;
}

/* Ссылка "Нашли дешевле?" */
.prod-price-match {
    flex-shrink: 0;
    width: 157px;
    text-align: right;
}

.prod-price-match-link {
    color: #ce2e2e;
    font-size: 24px;
    font-family: 'Bebas Neue Cyrillic', sans-serif;
    font-weight: 400;
    text-decoration: none;
    display: inline-block;
    line-height: 1.1;
    transition: opacity 0.2s ease;
}

.prod-price-match-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Описание товара с фиксированной высотой */
.prod-description {
    color: #818084;
    font-size: 16px;
    font-family: 'Inter Tight', sans-serif;
    font-weight: 400;
    line-height: 21.44px;
    height: 84px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
}

/* Блок действий (кнопки и счетчик) */
.prod-actions {
    display: flex;
    gap: 4px;
    width: 100%;
}

/* Счетчик количества */
.prod-quantity {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid #F2F3F5;
    height: 64px;
}

.prod-quantity-btn {
    width: 40px;
    height: 100%;
    border: none;
    background: none;
    color: #090909;
    font-size: 24px;
    font-weight: 400;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
}

.prod-quantity-btn:hover {
}

.prod-quantity-input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: none;
    text-align: center;
    font-size: 16px;
    font-family: 'Inter Tight', sans-serif;
    color: #818084;
    -moz-appearance: textfield;
    appearance: textfield;
}

.prod-quantity-input::-webkit-outer-spin-button,
.prod-quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.prod-quantity-input:focus {
    outline: none;
}

/* Кнопки */
.prod-btn {
    flex: 1 1 0;
    min-width: 0;
    height: 64px;
    padding: 0 1px;
    border: none;
    font-family: 'Bebas Neue Cyrillic', sans-serif;
    font-size: 24px;
    font-weight: 400;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

.prod-btn:hover {
    opacity: 0.9;
}

.prod-btn-primary {
    background: #ce2e2e;
    color: white;
}

.prod-btn-primary svg {
    fill: white;
    width: 16px;
    height: 18px;
    flex-shrink: 0;
}

.prod-btn-dark {
    background: #303030;
    color: white;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .prod-detail-content {
        flex-direction: column;
    }
    
    .prod-detail-gallery {
        flex: 0 0 auto;
        width: 100%;
        justify-content: center;
    }
    
    .prod-detail-info {
        max-width: none;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .prod-detail-gallery {
        flex-direction: column-reverse;
        align-items: center;
    }
    
    /* Адаптивность для мобильных устройств - ОБНОВЛЕНО */
    .prod-gallery-thumbs {
        width: 100%;
        height: 85px;
        flex-direction: row;
        gap: 6px;
    }
    
    .prod-thumbs-wrapper {
        flex-direction: row;
        width: calc(100% - 10px);
        height: 85px;
        overflow-x: auto;
        overflow-y: hidden;
    }
    
    .prod-thumbs-scrollbar {
        width: 100%;
        height: 4px;
        margin-top: 4px;
    }
    
    .prod-thumbs-scrollbar-thumb {
        width: 30%;
        height: 100%;
        top: 0;
        left: 0;
    }
    
    .prod-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .prod-price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .prod-price-match {
        width: auto;
        text-align: left;
    }
    
    .prod-actions {
        flex-wrap: wrap;
    }
    
    .prod-quantity {
        flex: 1 1 100%;
    }
    
    .prod-btn {
        flex: 1 1 calc(50% - 2px);
    }
    
    .prod-badges {
        top: 8px;
        left: 8px;
        gap: 4px;
    }
    
    .prod-badge {
        padding: 6px 8px;
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .prod-detail-info {
        padding: 30px;
    }
    
    .prod-title {
        font-size: 36px;
    }
    
    .prod-current-price {
        font-size: 36px;
    }
    
    .prod-old-price {
        font-size: 24px;
    }
    
    .prod-btn {
        font-size: 18px;
        padding: 0 15px;
    }
    
    .prod-actions {
        gap: 2px;
    }
}

@media (max-width: 480px) {
    .prod-actions {
        flex-direction: column;
        gap: 4px;
    }
    
    .prod-btn {
        width: 100%;
    }
}


/* ===== МОДАЛЬНОЕ ОКНО ДЛЯ УВЕЛИЧЕНИЯ ИЗОБРАЖЕНИЙ ===== */
.prod-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.prod-modal.active {
    display: block;
    opacity: 1;
}

.prod-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.prod-modal-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prod-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    z-index: 10000;
}

#prod-modal-image {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.prod-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 28px;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.prod-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.prod-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.prod-modal-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.prod-modal-prev {
    left: 20px;
}

.prod-modal-next {
    right: 20px;
}

.prod-modal-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 16px;
    font-family: 'Inter Tight', sans-serif;
    background: rgba(0, 0, 0, 0.5);
    padding: 6px 12px;
    border-radius: 20px;
    z-index: 10001;
}

/* Адаптивность для модального окна */
@media (max-width: 768px) {
    .prod-modal-nav {
        width: 40px;
        height: 40px;
    }
    
    .prod-modal-prev {
        left: 10px;
    }
    
    .prod-modal-next {
        right: 10px;
    }
    
    .prod-modal-close {
        top: 10px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .prod-modal-nav {
        width: 35px;
        height: 35px;
    }
    
    .prod-modal-prev {
        left: 5px;
    }
    
    .prod-modal-next {
        right: 5px;
    }
}


/* ========== БЛОК ТАБОВ ========== */
.prod-tabs-section {
    margin-top: 60px;
    width: 100%;
}

.prod-tabs-nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0;
    border-bottom: 1px solid #E1E1E1;
    width: 100%;
}

.prod-tab-item {
    padding-bottom: 13px;
    padding-left: 22.5px;
    padding-right: 22.5px;
    border-bottom: 1px solid #E1E1E1;
    cursor: pointer;
    transition: all 0.2s ease;
}

.prod-tab-item span {
    text-align: center;
    color: #E1E1E1;
    font-size: 24px;
    font-family: 'Bebas Neue Cyrillic', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.prod-tab-item:hover {
    border-bottom-color: #090909;
}

.prod-tab-item:hover span {
    color: #090909;
}

.prod-tab-active {
    border-bottom: 1px solid #ce2e2e;
}

.prod-tab-active span {
    color: #ce2e2e;
}

.prod-tabs-content {
    background: #F2F3F5;
    padding: 64px 56px;
    width: 100%;
    box-sizing: border-box;
}

.prod-tab-pane {
    display: none;
}

.prod-tab-pane-active {
    display: block;
}

.prod-tab-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 76px;
    align-content: flex-start;
}

.prod-tab-col {
    width: calc(50% - 38px);
    min-width: 448px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.prod-tab-title {
    color: #303030;
    font-size: 36px;
    font-family: 'Bebas Neue Cyrillic', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    word-wrap: break-word;
    line-height: 1.2;
}

.prod-tab-text {
    color: #818084;
    font-size: 16px;
    font-family: 'Inter Tight', sans-serif;
    font-weight: 400;
    line-height: 21.44px;
    word-wrap: break-word;
}

.prod-tab-list {
    margin: 0;
    padding-left: 20px;
    color: #818084;
    font-size: 16px;
    font-family: 'Inter Tight', sans-serif;
    font-weight: 400;
    line-height: 21.44px;
}

.prod-tab-list li {
    margin-bottom: 4px;
}

/* Стили для характеристик в табе */
.prod-props-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.prod-prop-row {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 4px;
    width: 100%;
}

.prod-prop-name {
    color: #818084;
    font-size: 16px;
    font-family: 'Inter Tight', sans-serif;
    font-weight: 400;
    white-space: nowrap;
}

.prod-prop-dots {
    flex: 1 1 0;
    height: 0px;
    border-bottom: 1px dashed #E1E1E1;
    position: relative;
    bottom: 3px;
}

.prod-prop-value {
    color: #818084;
    font-size: 16px;
    font-family: 'Inter Tight', sans-serif;
    font-weight: 400;
    white-space: nowrap;
    text-align: right;
}

/* Адаптивность для табов */
@media (max-width: 1200px) {
    .prod-tab-grid {
        gap: 40px;
    }
    
    .prod-tab-col {
        width: calc(50% - 20px);
        min-width: auto;
    }
}

@media (max-width: 992px) {
    .prod-tab-grid {
        flex-direction: column;
        gap: 40px;
    }
    
    .prod-tab-col {
        width: 100%;
    }
    
    .prod-tabs-nav {
        flex-wrap: wrap;
    }
    
    .prod-tab-item {
        flex: 1 1 auto;
        text-align: center;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .prod-tab-item span {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .prod-tabs-content {
        padding: 40px 20px;
    }
    
    .prod-tab-title {
        font-size: 28px;
    }
    
    .prod-prop-name,
    .prod-prop-value {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .prod-tab-item span {
        font-size: 18px;
    }
    
    .prod-prop-row {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .prod-prop-dots {
        display: none;
    }
    
    .prod-prop-name,
    .prod-prop-value {
        width: 100%;
        white-space: normal;
        text-align: left;
    }
    
    .prod-prop-value {
        font-weight: 500;
        margin-bottom: 12px;
    }
}

/* Дополнительные стили для табов */
.prod-tab-grid-single .prod-tab-col {
    width: 100%;
}

.prod-tab-list {
    margin: 0;
    padding-left: 20px;
    color: #818084;
    font-size: 16px;
    font-family: 'Inter Tight', sans-serif;
    font-weight: 400;
    line-height: 21.44px;
}

.prod-tab-list li {
    margin-bottom: 8px;
}

.prod-tab-list li:last-child {
    margin-bottom: 0;
}

/* Стили для HTML-контента в табах */
.prod-tab-text h1,
.prod-tab-text h2,
.prod-tab-text h3,
.prod-tab-text h4 {
    color: #303030;
    font-family: 'Bebas Neue Cyrillic', sans-serif;
    font-weight: 400;
    margin: 16px 0 16px 0;
}

.prod-tab-text p {
    margin: 0 0 16px 0;
}

.prod-tab-text p:last-child {
    margin-bottom: 0;
}

.prod-tab-text ul,
.prod-tab-text ol {
    margin: 0 0 16px 0;
    padding-left: 20px;
}

.prod-tab-text li {
    margin-bottom: 4px;
}
/* End */


/* Start:/local/templates/kuhni/css/product.css?177710731313343*/



/* Кнопка "В корзине" - после добавления товара */
.product-card__btn--in-cart {
    background: #c32a34 !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    color:#fff;
}

.product-card__btn--in-cart:hover {
    background: #c32a34 !important;
}

.product-card__btn--in-cart svg {
    display: none !important;
}



/* ===== Products Showcase — блок товаров на главной ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600&display=swap');

@font-face {
    font-family: 'Bebas Neue Cyrillic';
    src: url('/local/templates/.default/fonts/BebasNeueCyrillic.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Основной контейнер */
.products-showcase {
    padding: 60px 0;
    background-color: #ffffff;
    font-family: 'Inter Tight', sans-serif;
}

.products-showcase.similar-products {
     padding: 40px 0 0px 0;
}

.products-showcase.also-bought-products{
     padding: 40px 0 40px 0;
}
.products-showcase.popular {
     padding: 40px 0 40px 0;
}

.products-showcase__container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 0px;
}

/* Заголовочная часть */
.products-showcase__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}

.products-showcase__title {
    margin: 0;
    color: #303030;
    font-size: 48px;
    font-family: 'Bebas Neue Cyrillic', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1.1;
}

.products-showcase__btn-all {
    color: #ce2e2e;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    padding: 8px 16px;
    border-radius: 40px;
    border: 1px solid #ce2e2e;
    font-family: 'Inter Tight', sans-serif;
}

.products-showcase__btn-all:hover {
    background-color: #ce2e2e;
    color: white;
}

/* Сетка 5 колонок */
.products-showcase__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* ===== ОБНОВЛЕННЫЕ СТИЛИ КАРТОЧКИ ТОВАРА ===== */
/* Карточка товара */
.product-card {
    background: white;
    border-radius: 0px;
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
	box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, 0.1);
}

.product-card:hover {
    /*box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);*/
	box-shadow:0px 0px 2px 1px rgba(0, 0, 0, 0.05);
	background:#F2F3F5;
	cursor:pointer;
}

.product-card__inner {
    padding: 0px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
}

/* Блок изображения со слайдером */
.product-card__image-wrapper {
    position: relative;
    align-self: stretch;
    /*height: 271px;*/
    background: white;
    border-radius: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    flex-shrink: 0; /* не сжимается */
}

.product-card__image-slider {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-card__image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-card__image {
    /*width: 177px;*/
	width:100%;
    height: 232px;
	min-height:232px;
    /*object-fit: contain;*/
	 object-fit: cover;
    border-radius: 2px;
    display: none;
}

.product-card__image--active {
    display: block;
}

/* Индикаторы изображений (точки) */
.product-card__image-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    z-index: 3;
}

.product-card__dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #E1E1E1;
    cursor: pointer;
    transition: background 0.2s;
}

.product-card__dot:hover {
    background: #818084;
}

.product-card__dot--active {
    background: #818084;
}

/* Стрелки слайдера */
.product-card__slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 3;
    transition: background 0.2s;
    padding: 0;
}

.product-card__slider-arrow:hover {
    background: white;
}

.product-card__slider-arrow--prev {
    left: 8px;
}

.product-card__slider-arrow--next {
    right: 8px;
}

.product-card__slider-arrow svg {
    width: 8px;
    height: 12px;
}

/* Верхняя информация (артикул + рейтинг) */
.product-card__info-top {
    display: flex;
	padding:14px;
    justify-content: space-between;
    align-items: flex-end;
    align-self: stretch;
    height: 18px;
    flex-shrink: 0; /* не сжимается */
}

.product-card__articul {
    color: #bcbcbc;
    font-size: 18px;
    font-family: 'Bebas Neue Cyrillic', sans-serif;
    font-weight: 400;
    line-height: 1;
}

.product-card__rating {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 4px;
}

.product-card__rating-value {
    color: #ce2e2e;
    font-size: 18px;
    font-family: 'Bebas Neue Cyrillic', sans-serif;
    font-weight: 400;
    line-height: 1;
}

.product-card__rating-count {
    color: #090909;
    font-size: 18px;
    font-family: 'Bebas Neue Cyrillic', sans-serif;
    font-weight: 400;
    line-height: 1;
}

/* Блок цен */
.product-card__prices {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-self: stretch;
    flex-shrink: 0; /* не сжимается */
	padding:14px;
}

.product-card__price-label {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    align-self: stretch;
}

.product-card__price-label-text {
    color: #818084;
    font-size: 14px;
    font-family: 'Inter Tight', sans-serif;
    font-weight: 400;
}

.product-card__price-units {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.product-card__price-unit {
    color: #818084;
    font-size: 14px;
    font-family: 'Inter Tight', sans-serif;
    font-weight: 400;
    cursor: pointer;
    transition: color 0.2s;
}

.product-card__price-unit:hover {
    color: #ce2e2e;
}

.product-card__price-unit--active {
    color: #303030;
    font-weight: 500;
    cursor: default;
}

.product-card__price-unit--active:hover {
    color: #303030;
}

.product-card__price-values {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 8px;
    align-self: stretch;
}

.product-card__price-current {
    color: #ce2e2e;
    font-size: 32px;
    font-family: 'Bebas Neue Cyrillic', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1;
}

.product-card__price-old {
    color: #090909;
    font-size: 20px;
    font-family: 'Bebas Neue Cyrillic', sans-serif;
    font-weight: 400;
    text-decoration: line-through;
    text-transform: uppercase;
    line-height: 1.2;
    display: inline-block;
}

/* ===== ОБНОВЛЕННЫЕ СТИЛИ НАЗВАНИЯ ТОВАРА ===== */
.product-card__title {
    margin: 8px 14px;
    align-self: stretch;
    flex-shrink: 0; /* не сжимается, высота будет управляться JS */
    transition: height 0.1s ease;
    height: auto; /* по умолчанию авто */
    display: flex;
    align-items: flex-start;
}

/* Убираем ограничение по количеству строк */
.product-card__title-link {
    color: #303030;
    font-size: 16px;
    font-family: 'Inter Tight', sans-serif;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
    display: block; /* меняем с -webkit-box на block */
    overflow: visible; /* убираем скрытие */
    text-overflow: clip; /* убираем многоточие */
    line-height: 1.3;
    word-wrap: break-word; /* перенос длинных слов */
    overflow-wrap: break-word;
    width: 100%; /* занимает всю ширину родителя */
}

.product-card__title-link:hover {
    color: #ce2e2e;
}

/* Кнопки */
.product-card__actions {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 4px;
    align-self: stretch;
    flex-shrink: 0; /* не сжимается */
    margin-top: auto; /* прижимает кнопки к низу */
}

.product-card__btn {
    flex: 1;
    height: 40px !important; /* Фиксированная высота для обеих кнопок */
    padding: 10px 18px;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-family: 'Bebas Neue Cyrillic', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    line-height: 1;
    box-sizing: border-box;
}

.product-card__btn svg {
    flex-shrink: 0;
}

.product-card__btn span {
    color: white;
    line-height: 1;
}

.product-card__btn--buy {
    background: #ce2e2e;
}

.product-card__btn--buy:hover {
    background: #c32a34;
}

.product-card__btn--details {
    background: #303030;
    display: flex !important; /* Исправлено для a-ссылки */
}

.product-card__btn--details:hover {
    background: #4a4a4a;
}

/* Состояние кнопки "В корзине" */
.product-card__btn--in-cart {
    background: #c32a34;
}

.product-card__btn--in-cart:hover {
    background: #0a5a9e;
}

/* Бейджи */
.product-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    max-width: calc(100% - 24px);
}

.product-card__badge {
    padding: 8px 10px;
    color: white;
    font-size: 14px;
    font-family: 'Inter Tight', sans-serif;
    font-weight: 500;
    border-radius: 2px;
    line-height: 1;
    white-space: nowrap;
}

.product-card__badge--sale {
    background: #ce2e2e;
}

.product-card__badge--stock {
    background: #303030;
}

.product-card__badge--outstock {
    background: #818084;
}

/* Дополнительные стили для бейджей */
.product-card__badge--new {
    background: #4CAF50;
}

.product-card__badge--hit {
    background: #FF9800;
}

.product-card__badge--promo {
    background: #9C27B0;
}

.product-card__badge--recommend {
    background: #2196F3;
}

.product-card__badge--bestseller {
    background: #E91E63;
}

.product-card__badge--exclusive {
    background: #673AB7;
}

.product-card__badge--limited {
    background: #795548;
}

.product-card__badge--gift {
    background: #FF4081;
}

.product-card__badge--discount {
    background: #F44336;
}

.product-card__badge--expected {
    background: #FFC107;
    color: #303030;
}

.product-card__badge--outofstock {
    background: #9E9E9E;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .products-showcase__grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .products-showcase__title {
        font-size: 42px;
    }
}

@media (max-width: 992px) {
    .products-showcase__grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .products-showcase__title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .products-showcase {
        padding: 40px 0;
    }
    
    .products-showcase__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .products-showcase__title {
        font-size: 32px;
    }
    
    .products-showcase__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .product-card__image-wrapper {
        height: 220px;
    }
    
    .product-card__image {
        width: 150px;
        height: 150px;
    }
    
    .product-card__price-current {
        font-size: 28px;
    }
    
    .product-card__price-old {
        font-size: 18px;
    }
    
    .product-card__btn {
        padding: 10px 16px;
        font-size: 16px;
        height: 40px !important;
    }
    
    .product-card__badge {
        padding: 6px 8px;
        font-size: 12px;
    }
    
    .product-card__title {
        margin: 6px 0;
    }
}

@media (max-width: 576px) {
    .products-showcase__grid {
        grid-template-columns: 1fr;
    }
    
    .product-card__image-wrapper {
        height: 250px;
    }
    
    .product-card__image {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 480px) {
    .product-card__inner {
        padding: 8px;
    }
    
    .product-card__image-wrapper {
        height: 200px;
    }
    
    .product-card__image {
        width: 130px;
        height: 130px;
    }
    
    .product-card__title {
        margin: 4px 0;
    }
}
/* End */
/* /local/templates/kuhni/components/bitrix/catalog.element/detail_new/style.css?177709381919378 */
/* /local/templates/kuhni/css/product.css?177710731313343 */
