.kaho-related-slider-wrapper {
    position: relative;
    padding: 60px 0;
}

.kaho-related-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.kaho-related-title-wrap {
    flex: 1;
    max-width: 70%;
}

.kaho-related-title-wrap h2 {
    margin: 0 0 15px 0;
    font-size: 36px;
    font-weight: 700;
}

.kaho-related-title-wrap p {
    margin: 0;
    line-height: 1.6;
    color: #666;
    font-size: 16px;
}

.kaho-related-nav {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.kaho-related-nav .swiper-button-next,
.kaho-related-nav .swiper-button-prev {
    position: static;
    width: 50px;
    height: 50px;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    background: #fff;
    color: #333;
    transition: all 0.3s ease;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/*.kaho-related-nav .swiper-button-next {*/
/*    background: #e66b3b;*/
    /* Orange as per image */
/*    border-color: #e66b3b;*/
/*    color: #fff;*/
/*}*/

.kaho-related-nav .swiper-button-next:after,
.kaho-related-nav .swiper-button-prev:after {
    display: none;
    /* Hide default Swiper icons */
}

.kaho-related-nav img {
    width: 20px;
    height: 20px;
}

.kaho-related-nav .swiper-button-next:hover img,
.kaho-related-nav .swiper-button-prev:hover img {
    filter: brightness(0) invert(1);
}

.kaho-related-nav .swiper-button-next:hover,
.kaho-related-nav .swiper-button-prev:hover {
    background: #e66b3b;
    border-color: #e66b3b;
}

/* Product Cards */
.kaho-product-card {
    display: block;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1/1;
    text-decoration: none;
    transition: transform 0.3s ease;
    border-radius: 24px;
    /* Matches rounded corners in image */
}

.kaho-product-card:hover {
    transform: translateY(-5px);
}

.kaho-product-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.kaho-product-overlay {
    position: absolute;
    inset: 0;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.5));
}

.kaho-product-arrow {
    align-self: flex-end;
    width: 32px;
    height: 32px;
    color: #fff;
    opacity: 0.9;
}

.kaho-product-arrow svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.5;
}

.kaho-product-title {
    margin: 0;
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Swiper Breakpoints handling is in JS */
.kaho-related-products {
    overflow: hidden;
    padding-top: 10px;
    /* Space for hover transform */
    margin-top: -10px;
    /* Offset padding */
    opacity: 0;
    transition: opacity 0.5s ease;
}

.kaho-related-products.swiper-initialized {
    opacity: 1;
}

/* Pre-initialization layout to prevent vertical stacking */
.kaho-related-products:not(.swiper-initialized) .swiper-wrapper {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    /* Matches default spaceBetween */
}

.kaho-related-products:not(.swiper-initialized) .swiper-slide {
    flex: 0 0 300px;
    /* Rough estimate for pre-init width */
}

@media (max-width: 768px) {
    .kaho-related-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 20px;
    }

    .kaho-related-nav {
        align-self: flex-end;
    }

    .kaho-product-title {
        font-size: 20px;
    }
}