/**
 * Landing 2.0 - Other Products Block
 * "Other products in this collection" carousel
 */

.landing-2-other-products {
    background-color: #f5f5f5;
    padding: 80px 0;
}

.landing-2-other-products__wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header with title and View All button */
.landing-2-other-products__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.landing-2-other-products__title {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 300;
    margin: 0;
    color: #333;
}

.landing-2-other-products__view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 1px solid #333;
    border-radius: 25px;
    background: transparent;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.landing-2-other-products__view-all:hover {
    background: #333;
    color: #fff;
}

.landing-2-other-products__view-all svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.landing-2-other-products__view-all:hover svg {
    transform: translateX(4px);
}

/* Carousel Container */
.landing-2-other-products__carousel {
    position: relative;
    overflow: hidden;
}

.landing-2-other-products__track {
    display: flex;
    gap: 24px;
    transition: transform 0.4s ease;
}

/* Product Card */
.landing-2-other-products__card {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 300px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.landing-2-other-products__card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

/* Card Image Container */
.landing-2-other-products__image-container {
    position: relative;
    aspect-ratio: 4/3;
    background: #fafafa;
    overflow: hidden;
}

.landing-2-other-products__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

/* Wishlist Heart Icon */
.landing-2-other-products__wishlist {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.landing-2-other-products__wishlist:hover {
    opacity: 1;
}

.landing-2-other-products__wishlist svg {
    width: 24px;
    height: 24px;
    stroke: #666;
    stroke-width: 1.5;
    fill: none;
}

.landing-2-other-products__wishlist.is-active svg {
    fill: #e53935;
    stroke: #e53935;
}

/* Price Overlay */
.landing-2-other-products__price {
    position: absolute;
    bottom: 12px;
    left: 12px;
    font-size: 13px;
    color: #666;
}

/* Card Info */
.landing-2-other-products__info {
    padding: 20px;
}

.landing-2-other-products__product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.landing-2-other-products__product-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.landing-2-other-products__sku {
    font-size: 12px;
    color: #999;
    white-space: nowrap;
}

/* Card Buttons */
.landing-2-other-products__buttons {
    display: flex;
    gap: 12px;
}

.landing-2-other-products__btn {
    flex: 1;
    padding: 12px 16px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.landing-2-other-products__btn--details {
    background: transparent;
    border: 1px solid #333;
    color: #333;
}

.landing-2-other-products__btn--details:hover {
    background: #333;
    color: #fff;
}

.landing-2-other-products__btn--configure {
    background: #333;
    border: 1px solid #333;
    color: #fff;
}

.landing-2-other-products__btn--configure:hover {
    background: #555;
    border-color: #555;
}

/* Navigation Controls */
.landing-2-other-products__controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}

/* Progress Bar */
.landing-2-other-products__progress {
    flex: 1;
    height: 3px;
    background: #ddd;
    border-radius: 2px;
    margin-right: 24px;
    overflow: hidden;
}

.landing-2-other-products__progress-bar {
    height: 100%;
    background: #333;
    border-radius: 2px;
    transition: width 0.4s ease;
}

/* Navigation Arrows */
.landing-2-other-products__nav {
    display: flex;
    gap: 12px;
}

.landing-2-other-products__nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.landing-2-other-products__nav-btn:hover:not(:disabled) {
    border-color: #333;
    background: #333;
}

.landing-2-other-products__nav-btn:hover:not(:disabled) svg {
    stroke: #fff;
}

.landing-2-other-products__nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.landing-2-other-products__nav-btn svg {
    width: 20px;
    height: 20px;
    stroke: #333;
    stroke-width: 2;
    fill: none;
}

/* Responsive */
@media (max-width: 1200px) {
    .landing-2-other-products__card {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 768px) {
    .landing-2-other-products {
        padding: 60px 0;
    }

    .landing-2-other-products__wrapper {
        padding: 0 20px;
    }

    .landing-2-other-products__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .landing-2-other-products__card {
        flex: 0 0 calc(100% - 40px);
        min-width: 280px;
    }

    .landing-2-other-products__controls {
        flex-direction: column;
        gap: 20px;
    }

    .landing-2-other-products__progress {
        width: 100%;
        margin-right: 0;
    }
}
