/* --- VERTICAL SPLIT CAROUSEL SECTION --- */
.carousel-section {
    width: 100%;
    position: relative;
    z-index: 2;
    cursor: default;
}

/* Internal Section Wrapper & Header Styling */
.carousel-wrapper {
    width: 100%;
    padding: 20px 0;
    box-sizing: border-box;
}

.carousel-header {
    width: 100%;
    padding: 0 20px 16px 20px;
    box-sizing: border-box;
}

.carousel-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
    padding: 0;
    line-height: 1.2;
    text-transform: none;
    letter-spacing: normal;
}

.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 20px;
    box-sizing: border-box;
    cursor: default;
}

/* Left Navigation - Squash Balls Indicator */
.carousel-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    user-select: none;
    cursor: default;
    flex-shrink: 0;
}

.carousel-ball {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: #000000;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    cursor: pointer;
    opacity: 0.4;
    transform: scale(0.75);
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    padding: 0;
    outline: none;
}

/* Double Yellow Dots inside each navigation ball */
.carousel-ball::before,
.carousel-ball::after {
    content: '';
    position: absolute;
    top: 35%;
    width: 3px;
    height: 3px;
    background-color: #e6b800;
    border-radius: 50%;
    opacity: 0.5;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.carousel-ball::before { left: 28%; }
.carousel-ball::after  { right: 28%; }

/* Adjacent / Adjacent-distance ball state */
.carousel-ball.is-adjacent {
    opacity: 0.7;
    transform: scale(0.85);
}

/* Active Focused Ball */
.carousel-ball.is-active {
    opacity: 1;
    transform: scale(1.15);
    border-color: var(--kliq-main, #f7c107);
    box-shadow: 0 0 10px rgba(247, 193, 7, 0.4), 0 2px 6px rgba(0,0,0,0.6);
}

.carousel-ball.is-active::before,
.carousel-ball.is-active::after {
    opacity: 1;
}

.carousel-ball:hover:not(.is-active) {
    opacity: 0.9;
    transform: scale(0.95);
}

/* Viewport and Track */
.carousel-viewport {
    height: 250px;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.15);
    flex: 1;
    width: 100%;
    max-width: 100%;
    cursor: default;
}

.carousel-track {
    display: flex;
    flex-direction: column;
    width: 100%;
    transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
    will-change: transform;
    cursor: default;
}

.carousel-card {
    height: 250px;
    width: 100%;
    background: #000000;
    border-left: 8px solid var(--kliq-main, #f7c107);
    border-radius: 10px;
    padding: 12px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.15);
    transition: filter 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box;
}

.carousel-track.in-motion .carousel-card {
    filter: blur(2px);
    transform: scaleY(1.04);
}

.carousel-text-content {
    position: relative;
    z-index: 2;
    flex: 1;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.carousel-card h3 {
    color: var(--kliq-main, #f7c107);
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    font-weight: 800;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

.carousel-card p {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.carousel-card p strong {
    color: var(--kliq-main, #f7c107);
    font-weight: 700;
}

/* Background Image Container */
.carousel-card-product {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 70%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    background: transparent;
    border: none;
    pointer-events: none;
}

.carousel-card-product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

.carousel-card-product img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
    pointer-events: none;
}

.carousel-card:hover .carousel-card-product img {
    transform: scale(1.05);
}

/* Mobile Adjustments */
@media (max-width: 650px) {
    .carousel-header {
        padding: 0 10px 12px 10px;
    }
    .carousel-title {
        font-size: 1.35rem;
    }
    .carousel-container {
        gap: 10px;
        padding: 0 10px;
    }
    .carousel-ball {
        width: 18px;
        height: 18px;
    }
    
    .carousel-viewport {
        height: 250px; /* Increased from 150px so text fits */
    }
    
    .carousel-card {
        height: 250px; /* Matches viewport height for clean vertical sliding */
        padding: 12px 16px;
    }
    
    .carousel-text-content {
        max-width: 100%;
    }
    
    .carousel-card-product {
        width: 90%;
        opacity: 0.4;
    }
}