.km-dark-section {
    position: relative;
    margin-top: 150px;
    padding-top: 160px;
    padding-bottom: 160px;
    background-color: #232323;
    background: linear-gradient(180deg, rgba(35, 35, 35, 0.82) 0%, rgba(20, 20, 20, 0.90) 80%, rgba(10, 10, 10, 0.95) 100%), url('/local/assets/images/background_main.webp') center/cover no-repeat;
    margin-left: calc(50% - 50vw);
    width: 100vw;
    max-width: 100vw;
}

.km-in-stock-container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 64px;
    box-sizing: border-box;
    width: 100%;
}

.km-in-stock-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 56px;
    line-height: 79px;
    letter-spacing: -1.68px;
    color: #FFFFFF;
    margin-bottom: 40px;
}

.km-in-stock-slider {
    margin-top: 40px;
    width: 100%;
}

.km-product-card {
    width: 647px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.swiper-slide.km-product-card {
    width: 647px;
    box-sizing: border-box;
}

.km-product-card__img-wrp {
    position: relative;
    width: 100%;
    height: 390px;
    background: linear-gradient(360deg, rgba(47, 47, 47, 0.6) 19.23%, rgba(88, 88, 88, 0.6) 100%);
    backdrop-filter: blur(5.85px);
    -webkit-backdrop-filter: blur(5.85px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.km-product-card__img {
    max-width: 390px;
    max-height: 390px;
    object-fit: contain;
}

.km-product-card__badge {
    position: absolute;
    left: 24px;
    top: 24px;
    background-color: #CD1719;
    padding: 8px 12px;
    color: #FFF;
    font-family: 'Geologica', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 25.6px;
}

.km-product-card__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 22px;
    line-height: 26.4px;
    color: #FFFFFF;
    margin-top: 24px;
    margin-bottom: 0;
    transition: 0.3s;
}

.km-product-card:hover .km-product-card__title {
    color: #CD1719;
}

.km-product-card__attrs {
    margin-top: 24px;
}

.km-product-card__attr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid #a1a1a1;
}

.km-product-card__attr:last-child {
    border-bottom: 1px solid #a1a1a1;
}

.km-product-card__attr-name {
    font-family: 'Geologica', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 25.6px;
    color: #FFFFFF;
}

.km-product-card__attr-value {
    font-family: 'Geologica', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 25.6px;
    color: #FFFFFF;
}

.km-in-stock-btn-wrp {
    margin-top: 40px;
    width: 100%;
}

.km-in-stock-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 20px 16px 24px;
    gap: 8px;
    width: 100%;
    height: 64px;
    border: 1px solid #FFFFFF;
    background-color: transparent;
    color: #FFFFFF;
    font-family: 'Geologica', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    box-sizing: border-box;
}

.km-in-stock-btn:hover {
    background-color: #FFFFFF;
    color: #333333;
}

.km-in-stock-prev:hover {
    background: rgba(255, 255, 255, 0.4) !important;
}
.km-in-stock-next:hover {
    background: #e0e0e0 !important;
}

.km-in-stock-nav .swiper-button-disabled {
    opacity: 0.5;
    cursor: not-allowed !important;
}

@media (max-width: 1800px) {
    .km-in-stock-container {
        padding: 0 15px;
    }
}

@media (max-width: 1023px) {
    .swiper-slide.km-product-card,
    .km-product-card {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        box-sizing: border-box !important;
    }
    .km-product-card__img-wrp {
        width: 100% !important;
        max-width: 100% !important;
        height: 280px;
    }
    .km-product-card__img {
        max-width: 100%;
        max-height: 260px;
    }
    .km-product-card__attrs {
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .km-product-card__attr {
        width: 100% !important;
        box-sizing: border-box !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 16px;
        padding: 14px 0 !important;
    }
    .km-product-card__attr-name {
        font-size: 14px;
        color: #A1A1A1;
        flex: 1 1 auto;
    }
    .km-product-card__attr-value {
        font-size: 15px;
        font-weight: 500;
        color: #FFFFFF;
        text-align: right;
        flex: 0 0 auto;
    }
    .km-in-stock-slider {
        overflow: hidden !important;
    }
}

@media (max-width: 768px) {
    .km-dark-section {
        margin-top: 64px;
        padding-top: 64px;
        padding-bottom: 64px;
        margin-left: 0;
        width: 100%;
        max-width: 100%;
    }
    .km-in-stock-container {
        padding: 0 16px;
    }
    .km-in-stock-title {
        font-size: 28px;
        line-height: 36px;
        letter-spacing: -0.5px;
        margin-bottom: 20px;
    }
    .km-product-card__title {
        font-size: 18px;
        line-height: 24px;
        margin-top: 16px;
    }
    .km-in-stock-btn {
        width: 100%;
        max-width: 320px;
        height: 48px;
        font-size: 14px;
        padding: 0 20px;
    }
}

