/* CUSTOM PRODUCT SLIDER - MODERN HORIZONTAL DESIGN */

.custom-product-slider-section {
    margin: 40px 0;
    padding: 30px 0;
    background: #f9f9f9;
    border-top: 3px solid #ff6b35;
    border-bottom: 3px solid #ff6b35;
    clear: both;
}

.slider-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.custom-product-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px; /* Space for navigation arrows */
}

.custom-product-slider-wrapper {
    overflow: hidden;
    border-radius: 0;
}

.custom-product-slider {
    display: flex;
    gap: 10px;
    transition: transform 0.3s ease;
    will-change: transform;
}

/* Individual Product Item - Minimalist */
.slider-product-item {
    flex: 0 0 120px;
    background: white;
    border: 1px solid #e0e0e0;
    border-bottom: 2px solid #e0e0e0;
    padding: 10px;
    text-align: center;
    transition: transform 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.slider-product-item:hover {
    transform: translateY(-2px);
    border-color: #ff6b35;
    border-bottom-color: #ff6b35;
}

.slider-product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Product Image - Minimalist */
.slider-product-image {
    width: 100%;
    height: 100px;
    overflow: hidden;
    margin-bottom: 8px;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info */
.slider-product-info {
    padding: 0;
}

.slider-product-name {
    font-size: 11px;
    font-weight: 500;
    color: #333;
    margin: 0 0 5px 0;
    line-height: 1.2;
    min-height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Price Section - Inline and Minimalist */
.slider-product-price {
    margin: 3px 0;
    text-align: center;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.slider-regular-price {
    color: #999;
    font-size: 9px;
    font-weight: 400;
    display: block;
    text-align: center;
    line-height: 1.1;
    position: relative;
}

.slider-regular-price::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #999;
    transform: translateY(-50%);
}

.slider-sale-price {
    color: #e74c3c;
    font-weight: 600;
    font-size: 12px;
    display: block;
    text-align: center;
    line-height: 1.1;
}

.slider-current-price {
    color: #333;
    font-weight: 600;
    font-size: 12px;
    display: block;
    text-align: center;
    line-height: 1.1;
}

/* Price row for vertical display */
.slider-price-row {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1px;
    min-height: 28px;
}

/* Package Info - Minimalist */
.slider-package-info {
    background: #ff6b35;
    color: white;
    padding: 3px 6px;
    font-size: 9px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-top: 5px;
    border-radius: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Navigation Arrows */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: #ff6b35;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background-color 0.2s ease, transform 0.2s ease;
    user-select: none;
}

.slider-nav:hover {
    background: #e55a2b;
    transform: translateY(-50%) scale(1.1);
}

.slider-nav-prev {
    left: 0;
}

.slider-nav-next {
    right: 0;
}

.slider-nav:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: translateY(-50%) scale(1);
}

/* Responsive Design - Minimalist */
@media (max-width: 1024px) {
    .custom-product-slider-container {
        padding: 0 40px;
    }
    
    .slider-product-item {
        flex: 0 0 110px;
    }
    
    .slider-title {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .custom-product-slider-section {
        margin: 25px 0;
        padding: 20px 0;
    }
    
    .custom-product-slider-container {
        padding: 0 35px;
    }
    
    .slider-product-item {
        flex: 0 0 100px;
        padding: 8px;
    }
    
    .slider-product-image {
        height: 80px;
    }
    
    .slider-product-name {
        font-size: 10px;
        min-height: 20px;
    }
    
    .slider-title {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .slider-nav {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .custom-product-slider-container {
        padding: 0 30px;
    }
    
    .slider-product-item {
        flex: 0 0 90px;
        padding: 6px;
    }
    
    .slider-product-image {
        height: 70px;
    }
    
    .slider-product-name {
        font-size: 9px;
        min-height: 18px;
    }
    
    .slider-sale-price,
    .slider-current-price {
        font-size: 10px;
    }
    
    .slider-regular-price {
        font-size: 7px;
    }
    
    .slider-package-info {
        font-size: 8px;
        padding: 2px 4px;
    }
    
    .slider-title {
        font-size: 18px;
    }
}

/* Animation for smooth sliding */
.custom-product-slider.sliding {
    transition: transform 0.3s ease;
}

