/* ========================
   Modern E-commerce Hero Slider
   Matches Screenshot Design
   ======================== */

.hero-slider-section {
    position: relative;
    background: #ffffff;
    min-height: 500px;
    overflow: hidden;
    padding: 20px 0;
}

.hero-main-slider {
    height: auto;
}

.hero-slide-item {
    position: relative;
    padding: 20px 0;
    min-height: 400px;
    display: flex !important;
    align-items: center;
}

/* Hero Cards Container */
.hero-cards-container {
    display: flex;
    gap: 12px;
    padding: 0 15px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
}

/* Individual Hero Product Cards */
.hero-product-card {
    position: relative;
    min-width: 260px;
    max-width: 260px;
    height: 350px;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;

    transition: all 0.3s ease;
    overflow: hidden;
    flex-shrink: 0;
}

.hero-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

/* Card Content */
.card-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
}

/* Unique Badge */
.unique-badge {
    position: absolute;
    top: 15px;
    left: 15px;

    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Offer Badge */
.offer-badge {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Product Title */
.product-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.2;
}

/* Product Image Container */
.product-image {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    position: relative;
}

.hero-product-img {
    max-width: 180px;
    max-height: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Brand Logos */
.brand-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: flex-start;
    margin-top: auto;
}

.brand-name {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 4px 8px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Navigation Dots */
.hero-navigation {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
}

.hero-dots {
    display: flex;
    gap: 8px;
}

.nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: #ff6b35;
    transform: scale(1.2);
}

.nav-dot:hover {
    background: rgba(255, 107, 53, 0.7);
    transform: scale(1.1);
}

/* Slider Controls */
.hero-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    z-index: 20;
    pointer-events: none;
}

.hero-prev-btn,
.hero-next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-prev-btn {
    left: 20px;
}

.hero-next-btn {
    right: 20px;
}

.hero-prev-btn:hover,
.hero-next-btn:hover {
    background: #ff6b35;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.hero-prev-btn i,
.hero-next-btn i {
    font-size: 18px;
    color: #333;
    transition: color 0.3s ease;
}

.hero-prev-btn:hover i,
.hero-next-btn:hover i {
    color: white;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .hero-product-card {
        min-width: 240px;
        max-width: 240px;
        height: 320px;
    }

    .hero-cards-container {
        gap: 10px;
    }
}

@media (max-width: 1200px) {
    .hero-product-card {
        min-width: 220px;
        max-width: 220px;
        height: 300px;
    }

    .offer-badge {
        font-size: 16px;
    }

    .product-title {
        font-size: 20px;
    }

    .hero-product-img {
        max-width: 150px;
        max-height: 120px;
    }
}

@media (max-width: 992px) {
    .hero-cards-container {
        padding: 0 10px;
        gap: 8px;
    }

    .hero-product-card {
        min-width: 200px;
        max-width: 200px;
        height: 280px;
        padding: 15px;
    }

    .offer-badge {
        font-size: 15px;
    }

    .product-title {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .hero-product-img {
        max-width: 130px;
        max-height: 100px;
    }

    .brand-name {
        font-size: 10px;
        padding: 3px 6px;
    }
}

@media (max-width: 768px) {
    .hero-slider-section {
        padding: 15px 0;
        min-height: 320px;
    }

    .hero-cards-container {
        padding: 0 5px;
        gap: 6px;
        overflow-x: scroll;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .hero-cards-container::-webkit-scrollbar {
        display: none;
    }

    .hero-product-card {
        min-width: 180px;
        max-width: 180px;
        height: 250px;
        padding: 12px;
    }

    .unique-badge {
        font-size: 10px;
        padding: 3px 8px;
    }

    .offer-badge {
        font-size: 13px;
    }

    .product-title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .hero-product-img {
        max-width: 100px;
        max-height: 80px;
    }

    .brand-name {
        font-size: 9px;
        padding: 2px 5px;
    }

    .hero-navigation {
        bottom: 10px;
    }

    .hero-prev-btn,
    .hero-next-btn {
        width: 40px;
        height: 40px;
    }

    .hero-prev-btn {
        left: 10px;
    }

    .hero-next-btn {
        right: 10px;
    }

    .hero-prev-btn i,
    .hero-next-btn i {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .hero-cards-container {
        padding: 0;
        gap: 4px;
    }

    .hero-product-card {
        min-width: 160px;
        max-width: 160px;
        height: 220px;
        padding: 10px;
    }

    .offer-badge {
        font-size: 12px;
    }

    .product-title {
        font-size: 14px;
    }

    .hero-product-img {
        max-width: 80px;
        max-height: 60px;
    }

    .brand-name {
        font-size: 8px;
        padding: 2px 4px;
    }
}

/* Slick Slider Overrides */
.slick-list {
    overflow: visible;
}

.slick-track {
    display: flex;
    align-items: center;
}

.slick-slide {
    height: inherit;
}

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

/* Hide default slick arrows */
.slick-prev,
.slick-next {
    display: none !important;
}

/* Animation Effects */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-product-card {
    animation: slideInUp 0.6s ease-out;
}

.hero-product-card:nth-child(1) {
    animation-delay: 0.1s;
}
.hero-product-card:nth-child(2) {
    animation-delay: 0.2s;
}
.hero-product-card:nth-child(3) {
    animation-delay: 0.3s;
}
.hero-product-card:nth-child(4) {
    animation-delay: 0.4s;
}
.hero-product-card:nth-child(5) {
    animation-delay: 0.5s;
}
