/* ========================================
   BANNER CAROUSEL SECTION
   ======================================== */
.banner-carousel-section {
    padding: 40px 0;
    background: white;
}

.carousel-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-height: 400px;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 400px;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.carousel-caption {
    position: absolute;
    bottom: 30px;
    left: 30px;
    color: white;
    z-index: 2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.carousel-caption h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.carousel-caption p {
    font-size: 1.1rem;
    opacity: 0.95;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

/* ========================================
   ENHANCED CATEGORY GRID
   ======================================== */
.categories-section {
    padding: 30px 0;
    background: white;
    border-bottom: 1px solid #e0e0e0;
}

.categories-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: #1a1a1a;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 25px 15px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    border-color: #014A96;
    background: linear-gradient(135deg, #f0f8ff 0%, #e8f0ff 100%);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(1, 74, 150, 0.15);
}

.category-icon {
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.2);
}

.category-card span {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.95rem;
}

.categories-section-mobile {
    display: none;
}

/* ========================================
   DEAL OF THE DAY SECTION
   ======================================== */
.deal-of-day-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
}

.deal-of-day-wrapper {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.deal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.deal-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
}

.countdown {
    display: flex;
    gap: 20px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 12px;
    min-width: 100px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.countdown-number {
    font-size: 1.8rem;
    font-weight: 800;
}

.countdown-label {
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.9;
    margin-top: 5px;
}

.deal-products-scroll {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.deal-product-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.deal-product-card:hover {
    transform: translateY(-5px);
    border-color: #014A96;
    box-shadow: 0 10px 30px rgba(1, 74, 150, 0.15);
}

.deal-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.deal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.deal-product-card:hover .deal-image img {
    transform: scale(1.1);
}

.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF4757 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
}

.deal-info {
    padding: 15px;
}

.deal-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.deal-prices {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
}

.deal-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: #014A96;
}

.deal-original {
    font-size: 0.9rem;
    color: #6c757d;
    text-decoration: line-through;
}

.btn-deal {
    display: block;
    width: 100%;
    padding: 8px;
    background: #014A96;
    color: white;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-deal:hover {
    background: #013566;
    transform: scale(1.05);
}

/* ========================================
   PROMOTIONAL BANNERS
   ======================================== */
.promo-banner-section {
    padding: 30px 0;
    margin: 20px 0;
}

.promo-banner {
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.promo-banner-1 {
    background: linear-gradient(135deg, #14a085 0%, #0f8b6f 100%);
}

.promo-banner-2 {
    background: linear-gradient(135deg, #f66a6a 0%, #d63031 100%);
}

.promo-banner-3 {
    background: linear-gradient(135deg, #6c63ff 0%, #5f5ee8 100%);
}

.promo-banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.promo-content h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.promo-content p {
    font-size: 1rem;
    margin-bottom: 20px;
    opacity: 0.95;
}

.promo-btn {
    display: inline-block;
    background: white;
    padding: 10px 30px;
    border-radius: 20px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.promo-banner-1 .promo-btn {
    color: #14a085;
}

.promo-banner-2 .promo-btn {
    color: #f66a6a;
}

.promo-banner-3 .promo-btn {
    color: #6c63ff;
}

.promo-btn:hover {
    transform: scale(1.05);
}

/* ========================================
   BRAND SHOWCASE SECTION
   ======================================== */
.brands-showcase-section {
    padding: 50px 0;
    background: #f5f6f8;
}

.brands-carousel-wrapper {
    position: relative;
}

.brands-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.brand-card {
    background: white;
    padding: 30px 20px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.brand-card:hover {
    border-color: #014A96;
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(1, 74, 150, 0.15);
}

.brand-card a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #1a1a1a;
    text-decoration: none;
}

.brand-logo {
    font-weight: 700;
    font-size: 1.1rem;
    color: #014A96;
}

.brand-count {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0;
}

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */
@media (max-width: 900px) {
    .carousel-wrapper {
        min-height: 300px;
    }

    .carousel-slides {
        height: 300px;
    }

    .carousel-caption h3 {
        font-size: 1.5rem;
    }

    .carousel-caption p {
        font-size: 0.95rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 15px;
    }

    .deal-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .countdown {
        gap: 15px;
    }

    .countdown-item {
        padding: 12px 20px;
        min-width: 80px;
    }

    .countdown-number {
        font-size: 1.5rem;
    }

    .countdown-label {
        font-size: 0.8rem;
    }

    .deal-products-scroll {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }

    .deal-image {
        height: 140px;
    }

    .promo-banner {
        padding: 25px;
    }

    .promo-banner:hover {
        transform: translateY(-3px);
    }

    .promo-content h2 {
        font-size: 1.4rem;
    }

    .promo-content p {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }

    .brands-carousel {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 15px;
    }

    .brand-card {
        padding: 20px 15px;
    }
}

@media (max-width: 600px) {
    .carousel-wrapper {
        min-height: 220px;
    }

    .carousel-slides {
        height: 220px;
    }

    .carousel-caption {
        bottom: 15px;
        left: 15px;
    }

    .carousel-caption h3 {
        font-size: 1rem;
    }

    .carousel-caption p {
        font-size: 0.85rem;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }

    .categories-section {
        padding: 20px 0;
    }

    .categories-title {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
        gap: 10px;
    }

    .category-card {
        padding: 15px 10px;
    }

    .category-icon {
        font-size: 2rem;
    }

    .category-card span {
        font-size: 0.85rem;
    }

    .deal-of-day-section {
        padding: 20px 0;
    }

    .deal-of-day-wrapper {
        padding: 15px;
    }

    .deal-header {
        gap: 10px;
        margin-bottom: 15px;
    }

    .deal-header h2 {
        font-size: 1.3rem;
    }

    .countdown {
        gap: 10px;
    }

    .countdown-item {
        padding: 10px 15px;
        min-width: 65px;
    }

    .countdown-number {
        font-size: 1.2rem;
    }

    .countdown-label {
        font-size: 0.7rem;
    }

    .deal-products-scroll {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .deal-image {
        height: 120px;
    }

    .promo-banner-section {
        padding: 15px 0;
        margin: 10px 0;
    }

    .promo-banner {
        padding: 20px;
    }

    .promo-content h2 {
        font-size: 1.1rem;
    }

    .promo-content p {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }

    .promo-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .brands-showcase-section {
        padding: 30px 0;
    }

    .brands-carousel {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 10px;
    }

    .brand-card {
        padding: 15px 10px;
    }

    .brand-logo {
        font-size: 0.95rem;
    }

    .brand-count {
        font-size: 0.8rem;
    }
}
