/* ========================================
   ТАКОЖ В НАЯВНОСТІ
======================================== */

.also-available-section {
    width: 96%;
    margin: 40px auto 20px;
    padding: 25px 12px 14px;

    background: #ffffff;

    border-radius: 20px;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.10);

    box-sizing: border-box;
}


/* Карусель */

.also-available-carousel {
    width: 100%;
}


/* Один слайд */

.also-product-slide {
    padding: 0 6px 10px;

    box-sizing: border-box;
}


/* Карточка товара */

.also-product-card {
    display: flex;
    flex-direction: column;

    height: 100%;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e7e7e7;
    border-radius: 14px;

    box-shadow:
        0 3px 12px rgba(0, 0, 0, 0.08);

    box-sizing: border-box;
}


/* Фото */

.also-product-image-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;

    overflow: hidden;

    background: #f5f5f5;
}


.also-product-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* Название */

.also-product-title {
    margin: 12px 10px 8px;

    font-size: 17px;
    line-height: 1.25;
    font-weight: 800;

    color: #333333;

    text-align: center;
}


/* Цены */

.also-product-price {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 7px;

    margin: auto 8px 12px;
}


.also-product-old-price {
    font-size: 14px;
    font-weight: 600;

    color: #999999;

    text-decoration: line-through;
}


.also-product-new-price {
    font-size: 18px;
    font-weight: 900;

    color: #d92c2c;

    white-space: nowrap;
}


/* Кнопка */

.also-product-button {
    display: block;

    width: calc(100% - 20px);

    margin: 0 auto 12px;
    padding: 11px 6px;

    background: #f58220;

    border-radius: 10px;

    color: #ffffff;

    font-size: 15px;
    line-height: 1.2;
    font-weight: 800;

    text-align: center;
    text-decoration: none;

    box-sizing: border-box;
}


.also-product-button:active {
    transform: scale(0.98);
}


/* Точки Slick */

.also-available-section .slick-dots {
    position: static !important;

    height: 14px !important;

    margin: 8px 0 0 !important;
    padding: 0 !important;

    line-height: 1 !important;
}


.also-available-section .slick-dots li {
    width: 14px !important;
    height: 14px !important;

    margin: 0 2px !important;
}


.also-available-section .slick-dots li button {
    width: 14px !important;
    height: 14px !important;

    padding: 0 !important;
}

/* ========================================
   СТРЕЛКИ "ТАКОЖ В НАЯВНОСТІ"
======================================== */

.also-available-section {
    position: relative !important;
}

.also-available-section .slick-arrow {
    position: absolute !important;

    top: 42% !important;
    transform: translateY(-50%) !important;

    width: 48px !important;
    height: 48px !important;

    border-radius: 50% !important;
    border: 3px solid #ffffff !important;

    background: #f58220 !important;
    color: #ffffff !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    box-shadow: 0 4px 14px rgba(245, 130, 32, 0.45) !important;

    cursor: pointer !important;
    z-index: 20 !important;

    padding: 0 !important;
    font-size: 0 !important;
}

.also-available-section .slick-prev {
    left: 4px !important;
}

.also-available-section .slick-next {
    right: 4px !important;
}

.also-available-section .slick-arrow::before {
    display: none !important;
    content: none !important;
}

.also-available-section .slick-arrow::after {
    display: block !important;

    color: #ffffff !important;

    font-size: 42px !important;
    line-height: 1 !important;
    font-weight: 900 !important;

    transform: translateY(-2px) !important;
}

.also-available-section .slick-prev::after {
    content: "‹" !important;
}

.also-available-section .slick-next::after {
    content: "›" !important;
}

/* ========================================
   МЕЛОЧИ — ОДИНАКОВАЯ ВЫСОТА КАРТОЧЕК
   И КНОПКА БЕЗ ЧЁРНОЙ ОБВОДКИ
======================================== */

.also-available-slider .slick-track {
    display: flex !important;
}

.also-available-slider .slick-slide {
    height: inherit !important;
}

.also-available-slider .slick-slide > div {
    height: 100% !important;
}

.also-product-card {
    height: 100% !important;

    display: flex !important;
    flex-direction: column !important;
}

.also-product-card .also-product-title {
    min-height: 72px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    text-align: center !important;
}

.also-product-card .also-product-price {
    min-height: 32px !important;
}

.also-product-card .also-product-button {
    margin-top: auto !important;

    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}