/* ============================================
   SLIDER COMPONENTS - CLEAN & SIMPLE
   ============================================ */

/* Slider Header Styles */
.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.slider-header-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

/* Slider Navigation Buttons */
.slider-nav {
    display: flex;
    gap: 15px;
    background: transparent;
    border:none;

}

.slider-nav-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    z-index: 10;
}

.slider-nav-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

.slider-nav-btn:active {
    transform: scale(0.95);
}

/* Slider Container - Let Slick handle everything */
.slider-container {
    width: 100%;
}

/* Clean Swiper styles - NO CONFLICTS */
.swiper-container-wrapper {
    width: 100%;
    overflow: hidden;
}

.trend-slider-swiper,
.new-downloads-swiper {
    width: 100% !important;
    padding: 0;
    overflow: hidden;
}

.trend-slider-swiper .swiper-wrapper,
.new-downloads-swiper .swiper-wrapper {
    display: flex !important;
    align-items: stretch;
}

/* Card Standardization - NO BACKGROUND + HOVER */
.trend-slider-swiper .swiper-slide,
.new-downloads-swiper .swiper-slide {
    width: 260px !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    flex-shrink: 0 !important;
}

.trend-slider-swiper .slider-card,
.new-downloads-swiper .slider-card {
    width: 260px !important;
    height: 360px !important; /* Reduced from 380px to 320px */
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding: 16px !important;
    border-radius: 8px !important;
    background: transparent !important; /* No background by default */
    border: 1px solid transparent !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
}

/* Hover effect */
.trend-slider-swiper .slider-card:hover,
.new-downloads-swiper .slider-card:hover {
    background: #262626 !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
}

/* Card Image Standardization - SMALLER SIZE */
.trend-slider-swiper .homepage_line_content_box_square,
.new-downloads-swiper .homepage_line_content_box_square {
    width: 228px !important; /* 260px - 32px padding */
    height: 180px !important; /* Reduced from 228px to 180px */
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border-radius: 8px !important;
    position: relative !important;
    display: block !important;
    margin-bottom: 12px !important; /* Reduced margin */
    overflow: hidden !important;
    flex-shrink: 0 !important;
}

/* Position child elements absolutely within the square */
.trend-slider-swiper .homepage_line_content_box_square > *,
.new-downloads-swiper .homepage_line_content_box_square > * {
    position: absolute !important;
}

.trend-slider-swiper .homepage_line_content_box_square_fav,
.new-downloads-swiper .homepage_line_content_box_square_fav {
    top: 10px !important;
    right: 10px !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(0, 0, 0, 0.5) !important;
    color: white !important;
}

.trend-slider-swiper .homepage_line_content_box_square_center,
.new-downloads-swiper .homepage_line_content_box_square_center {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 96, 0, 0.9) !important;
    color: white !important;
    font-size: 18px !important;
}

/* Card Content Standardization - COMPACT HEIGHTS */
.trend-slider-swiper .homepage_line_content_top,
.new-downloads-swiper .homepage_line_content_top {
    height: 22px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 6px !important;
}

.trend-slider-swiper .homepage_line_content_center,
.new-downloads-swiper .homepage_line_content_center {
    height: 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 6px !important;
    overflow: hidden !important;
}

.trend-slider-swiper .homepage_line_content_bottom_text,
.new-downloads-swiper .homepage_line_content_bottom_text {
    height: 18px !important;
    display: flex !important;
    align-items: center !important;
    margin-bottom: 8px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.trend-slider-swiper .add-to-cart-btn,
.new-downloads-swiper .add-to-cart-btn {
    height: 36px !important;
    margin-top: auto !important;
    flex-shrink: 0 !important;
}

/* Slider Item Styles */
.slider-item {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.slider-card {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

/* Slick Slider Basic Overrides */
.slider-container .slick-slide {
    height: auto;
    padding: 0 10px;
    box-sizing: border-box;
}

.slider-container .slick-slide > div {
    height: 100%;
    width: 100%;
}

.slider-container .slick-list {
    overflow: hidden !important;
    margin: 0 -10px;
    padding: 0 !important;
}

.slider-container .slick-track {
    display: flex !important;
    align-items: stretch;
}

/* Responsive - REMOVED OLD SLICK RULES FOR SWIPER SLIDERS */

/* Add to Cart Button */
.add-to-cart-btn {
    width: 100%;
    padding: 7px 12px;
    margin-top: 15px;
    background: black;
    border: 1px solid transparent;
    background-image: linear-gradient(black, black), linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.15);
}

.add-to-cart-btn:hover {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    border: 2px solid transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.25);
}

.add-to-cart-btn:active {
    transform: translateY(0);
}

.add-to-cart-btn i {
    font-size: 16px;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Tablets */
@media (max-width: 768px) {
    .slider-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .slider-nav {
        gap: 10px;
    }
    
    .add-to-cart-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .slider-header-title {
        font-size: 20px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .slider-header-title {
        font-size: 18px;
    }
}
