

/* 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/css/product.css?177710731313343 */
