/* ============================================================
   MILLZOO — Modern Marketplace Homepage Styles
   Flipkart / Amazon / Meesho-inspired Premium Clean UI
   ============================================================ */

/* Outer wrapper */
.homepage-wrapper {
    background-color: #f1f3f6;
    padding-bottom: 32px;
}

.home-section {
    margin-top: 14px;
    margin-bottom: 14px;
}

.container-fluid-banner {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 6px 20px 0 20px;
}

/* ============================================================
   0. FLIPKART SIGNATURE TOP CATEGORY SHOWCASE STRIP
   ============================================================ */
.top-category-showcase-section {
    position: relative;
    margin-bottom: 2px;
}

.top-cat-box {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    padding: 14px 20px;
    border: 1px solid #edf2f7;
}

.top-cat-scroll-track {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.top-cat-scroll-track::-webkit-scrollbar {
    display: none;
}

.top-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    flex-shrink: 0;
    min-width: 80px;
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.top-cat-item:hover {
    transform: translateY(-4px);
}

.top-cat-icon-capsule {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.25s ease;
    overflow: hidden;
}

.top-cat-item:hover .top-cat-icon-capsule {
    transform: scale(1.08);
    box-shadow: 0 8px 18px rgba(40, 116, 240, 0.22);
}

.top-cat-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.top-cat-name {
    font-size: 12.5px;
    font-weight: 600;
    color: #1e293b;
    text-align: center;
    white-space: nowrap;
    transition: color 0.15s ease;
}

.top-cat-item:hover .top-cat-name {
    color: #2874f0;
}

/* ============================================================
   1. HERO TOP 4-CARD CAROUSEL SHOWCASE (AUTO-SCROLL + DOTS)
   ============================================================ */
.hero-spotlight-section {
    position: relative;
    margin-top: 8px;
    margin-bottom: 8px;
    width: 100%;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.hero-carousel-wrapper {
    position: relative;
    width: 100%;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.hero-carousel-viewport {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 12px 0;
    margin-top: -8px;
    margin-bottom: -8px;
    box-sizing: border-box;
    background: transparent;
    border: none;
    box-shadow: none;
    cursor: grab;
    user-select: none;
}

.hero-carousel-wrapper.is-grabbing,
.hero-carousel-wrapper.is-grabbing * {
    cursor: grabbing !important;
    user-select: none !important;
}

.hero-carousel-track {
    display: flex;
    gap: 8px;
    width: max-content;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
    align-items: stretch;
    background: transparent;
    padding: 2px 0;
}

.hero-spotlight-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    aspect-ratio: 16 / 9;
    display: block;
    text-decoration: none;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.2s ease;
    user-select: none;
    cursor: pointer;
    flex-shrink: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    transform-origin: center center;
    -webkit-user-drag: none;
}

.hero-spotlight-card:hover {
    transform: translateY(-5px);
    box-shadow: none !important;
    background: transparent !important;
    z-index: 5;
}

.hero-spotlight-card:active {
    transform: scale(0.965);
    transition: transform 0.12s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.spotlight-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: transparent !important;
    border-radius: 14px;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.2s ease;
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
}

.hero-spotlight-card:hover .spotlight-card-img {
    transform: scale(1.04);
}

.hero-spotlight-card:active .spotlight-card-img {
    filter: brightness(0.94);
}

/* "Ad" Badge in Bottom Right Corner */
.card-ad-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.58);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1;
    padding: 3px 6px;
    border-radius: 4px;
    letter-spacing: 0.3px;
    pointer-events: none;
    z-index: 5;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Bottom Dot Indicators (Interactive Click & Morph Animation) */
.hero-cards-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 10px;
    margin-bottom: 2px;
}

.hero-card-dot {
    border: none;
    outline: none;
    cursor: pointer;
    background: #cbd5e1;
    height: 7px;
    width: 7px;
    border-radius: 50%;
    padding: 0;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    -webkit-tap-highlight-color: transparent;
}

.hero-card-dot:hover:not(.active) {
    background: #94a3b8;
    transform: scale(1.35);
}

.hero-card-dot:active {
    transform: scale(0.75);
    transition: transform 0.08s ease;
}

.hero-card-dot.active {
    width: 24px;
    border-radius: 5px;
    background: linear-gradient(90deg, #2874f0, #0052cc);
    box-shadow: 0 2px 8px rgba(40, 116, 240, 0.45);
    transform: scale(1.05);
}

.hero-card-dot.active:active {
    transform: scale(0.9);
}

/* Tablet Screens: 2x2 grid */
@media (max-width: 991px) {
    .hero-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .hero-spotlight-card {
        border-radius: 14px;
        aspect-ratio: 16 / 9;
    }
}

/* Mobile Screens: 2x2 compact grid with minimal edge gap */
@media (max-width: 576px) {
    .container-fluid-banner {
        padding: 4px 6px 0 6px;
    }

    .hero-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .hero-spotlight-card {
        border-radius: 10px;
        aspect-ratio: 16 / 9;
    }

    .card-ad-badge {
        bottom: 5px;
        right: 5px;
        font-size: 9px;
        padding: 2px 4px;
    }

    .hero-cards-dots {
        gap: 5px;
        margin-top: 8px;
    }

    .hero-card-dot {
        height: 5px;
        width: 5px;
    }

    .hero-card-dot.active {
        width: 16px;
    }
}

/* Hero Perks / Trust Highlights Strip */
.hero-perks-strip {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    padding: 14px 24px;
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid #edf2f7;
}

.hero-perk-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.hero-perk-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.perk-shipping {
    background: #e0f2fe;
    color: #0284c7;
}

.perk-genuine {
    background: #fef3c7;
    color: #d97706;
}

.perk-returns {
    background: #dcfce7;
    color: #16a34a;
}

.perk-security {
    background: #ede9fe;
    color: #7c3aed;
}

.hero-perk-text strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
}

.hero-perk-text span {
    font-size: 11px;
    color: #64748b;
    margin-top: 2px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-perk-divider {
    width: 1px;
    height: 30px;
    background: #e2e8f0;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    padding: 9px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #ffffff;
}

/* Hero Controls */
.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 60px;
    background: rgba(255, 255, 255, 0.92);
    border: none;
    border-radius: 4px;
    color: #1e293b;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    z-index: 10;
    opacity: 0;
    transition: all 0.25s ease;
}

.hero-slider:hover .hero-nav-btn {
    opacity: 1;
}

.hero-nav-btn.prev {
    left: 8px;
}

.hero-nav-btn.next {
    right: 8px;
}

.hero-nav-btn:hover {
    background: #ffffff;
    color: #2874f0;
    transform: translateY(-50%) scale(1.05);
}

.hero-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.hero-dot.active {
    width: 26px;
    background: #ffffff;
}

/* ============================================================
   2. DEALS OF THE DAY / FLASH SALE (Flipkart Style)
   ============================================================ */
.deals-box {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
    padding: 0;
    width: calc(((100% - (3 * 8px)) / 4) * 3 + (2 * 8px));
    margin-left: 0;
    margin-right: auto;
    box-sizing: border-box;
}

.deals-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 12px;
    margin-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
}

.deals-title-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.deals-title-badge {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fee2e2;
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.2);
}

.deals-heading {
    font-size: 19px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.2;
}

.deals-sub {
    font-size: 12px;
    color: #64748b;
    margin: 2px 0 0 0;
}

.deals-timer-area {
    display: flex;
    align-items: center;
    gap: 16px;
}

.timer-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.timer-num {
    background: #dc2626;
    color: #ffffff;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 13px;
    font-weight: 700;
}

.timer-colon {
    font-weight: 800;
    color: #dc2626;
}

.btn-deals-view-all {
    background: #2874f0;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(40, 116, 240, 0.25);
    transition: background 0.2s ease;
}

.btn-deals-view-all:hover {
    background: #1259c7;
}

/* Deals Carousel */
.deals-carousel-wrapper {
    position: relative;
    margin-top: 10px;
}

.deals-track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 2px 8px 2px;
}

.deals-track::-webkit-scrollbar {
    display: none;
}

.deal-card {
    flex: 0 0 calc((100% - (3 * 10px)) / 4);
    min-width: calc((100% - (3 * 10px)) / 4);
    max-width: calc((100% - (3 * 10px)) / 4);
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 8px;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.deal-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.deal-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 6 / 4;
    background: #f8fafc;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.deal-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.deal-card:hover .deal-image-wrap img {
    transform: scale(1.06);
}

.deal-discount-pill {
    position: absolute;
    top: 6px;
    left: 6px;
    background: #388e3c;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.deal-info {
    margin-top: 6px;
}

.deal-brand {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    color: #878787;
    letter-spacing: 0.4px;
    display: block;
}

.deal-title {
    font-size: 12px;
    font-weight: 600;
    color: #212121;
    margin: 2px 0 4px 0;
    line-height: 1.3;
    height: 32px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.deal-title a {
    color: inherit;
    text-decoration: none;
}

.deal-title a:hover {
    color: #2874f0;
}

.deal-pricing {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 6px;
}

.deal-curr-price {
    font-size: 14.5px;
    font-weight: 800;
    color: #212121;
}

.deal-mrp {
    font-size: 11px;
    color: #878787;
    text-decoration: line-through;
}

.deal-progress-wrap {
    margin-bottom: 6px;
}

.deal-progress-bar {
    width: 100%;
    height: 5px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.deal-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff9f00 0%, #ff5722 100%);
    border-radius: 4px;
}

.deal-progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #64748b;
    margin-top: 2px;
    font-weight: 600;
}

.deal-btn-cart {
    width: 100%;
    background: #ff9f00;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 6px 8px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: background 0.2s ease;
}

.deal-btn-cart:hover {
    background: #e68e00;
}

.deals-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 54px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    color: #334155;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: all 0.2s ease;
}

.deals-nav-btn.prev {
    left: -12px;
}

.deals-nav-btn.next {
    right: -12px;
}

.deals-nav-btn:hover {
    background: #2874f0;
    color: #ffffff;
    border-color: #2874f0;
}

/* ============================================================
   3. 4-QUAD MULTI-CATEGORY SHOWCASE (Flipkart & Amazon)
   ============================================================ */
.quad-grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.quad-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.quad-card-header {
    margin-bottom: 12px;
}

.quad-title {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.25;
}

.quad-subtitle {
    font-size: 12px;
    font-weight: 700;
    color: #388e3c;
    display: inline-block;
    margin-top: 2px;
}

.quad-items-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.quad-item {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.quad-item-img {
    aspect-ratio: 6 / 4;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.quad-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.quad-item:hover .quad-item-img img {
    transform: scale(1.08);
}

.quad-item-name {
    font-size: 12px;
    font-weight: 500;
    color: #334155;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.quad-item-price {
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
    margin-top: 2px;
}

.quad-card-footer {
    margin-top: 14px;
    font-size: 13px;
    font-weight: 700;
    color: #2874f0 !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.quad-card-footer:hover {
    gap: 10px;
    text-decoration: underline;
}

/* ============================================================
   4. INTERACTIVE BANK OFFERS & COUPONS STRIP
   ============================================================ */
.coupon-strip-section {
    background: transparent;
}

.coupon-strip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.coupon-header-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
}

.coupon-header-title i {
    color: #2874f0;
}

.coupon-header-hint {
    font-size: 12px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
}

.coupon-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.coupon-card {
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.coupon-card:hover {
    border-color: #2874f0;
    background: #f8fbff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 116, 240, 0.12);
}

.coupon-card-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.coupon-tag-badge {
    font-size: 9px;
    font-weight: 800;
    background: #e0e7ff;
    color: #3730a3;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.coupon-code-box {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    padding: 3px 8px;
    border-radius: 4px;
}

.coupon-code-text {
    font-family: monospace;
    font-weight: 800;
    font-size: 13px;
    color: #1e293b;
    letter-spacing: 0.5px;
}

.coupon-copy-icon {
    font-size: 12px;
    color: #64748b;
}

.coupon-card:hover .coupon-copy-icon {
    color: #2874f0;
}

.coupon-card-divider {
    width: 1px;
    height: 36px;
    background: #e2e8f0;
}

.coupon-card-right {
    flex: 1;
    min-width: 0;
}

.coupon-benefit {
    font-size: 12px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.25;
}

.coupon-sub {
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
}

.coupon-terms {
    font-size: 11px;
    color: #64748b;
    margin: 2px 0 0 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================================
   5 & 7. PRODUCT SLIDER SECTIONS (Trending & Bestsellers)
   ============================================================ */
.slider-panel-box {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    padding: 16px 20px;
}

.slider-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f3f6;
    margin-bottom: 8px;
}

.slider-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-icon-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.header-icon-badge.fire {
    background: #fff1f2;
    color: #f43f5e;
}

.header-icon-badge.star {
    background: #fefce8;
    color: #eab308;
}

.header-icon-badge.crown {
    background: #fdf4ff;
    color: #c026d3;
}

.header-icon-badge.store {
    background: #eff6ff;
    color: #2563eb;
}

.slider-heading {
    font-size: 19px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.2;
}

.slider-sub {
    font-size: 12px;
    color: #64748b;
    margin: 2px 0 0 0;
}

.slider-view-all {
    background: #2874f0;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 6px rgba(40, 116, 240, 0.2);
    transition: background 0.2s ease;
}

.slider-view-all:hover {
    background: #1259c7;
}

.slider-track-container {
    position: relative;
}

.product-scroll-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 10px 4px;
}

.product-scroll-track::-webkit-scrollbar {
    display: none;
}

.product-scroll-track .product-card {
    min-width: 220px;
    max-width: 220px;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 1.5px 4px rgba(0, 0, 0, 0.28), 0 1px 2px rgba(0, 0, 0, 0.2);
}

.product-scroll-track .product-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.36), 0 1.5px 3px rgba(0, 0, 0, 0.24);
}

.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 54px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    color: #334155;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: all 0.2s ease;
}

.slider-nav-btn.prev {
    left: -12px;
}

.slider-nav-btn.next {
    right: -12px;
}

.slider-nav-btn:hover {
    background: #2874f0;
    color: #ffffff;
    border-color: #2874f0;
}

/* ============================================================
   6. MID-PAGE DUAL PROMOTIONAL BANNERS
   ============================================================ */
.mid-promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.mid-promo-card {
    border-radius: 10px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: #ffffff !important;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mid-promo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.promo-electronics {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #2563eb 100%);
}

.promo-fashion {
    background: linear-gradient(135deg, #4a044e 0%, #701a75 50%, #d946ef 100%);
}

.mid-promo-content {
    max-width: 60%;
    z-index: 2;
}

.mid-promo-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 3px 10px;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
}

.mid-promo-content h3 {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px 0;
    line-height: 1.2;
}

.mid-promo-content p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.82);
    margin: 0 0 14px 0;
    line-height: 1.4;
}

.mid-promo-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.25);
    padding: 6px 14px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
    transition: all 0.2s ease;
}

.mid-promo-card:hover .mid-promo-cta {
    background: #ffffff;
    color: #0f172a;
}

.mid-promo-art {
    width: 110px;
    height: 110px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.promo-art-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================================
   8. FEATURED PRODUCTS (Full Grid Showcase)
   ============================================================ */
.featured-grid-section {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    padding: 20px;
}

.section-title-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f3f6;
}

.section-title-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-main-heading {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.2;
}

.section-main-sub {
    font-size: 12px;
    color: #64748b;
    margin: 2px 0 0 0;
}

.section-link-more {
    color: #2874f0 !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.section-link-more:hover {
    text-decoration: underline;
}

.featured-products-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    row-gap: 20px;
}

.featured-products-grid .product-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 1.5px 4px rgba(0, 0, 0, 0.28), 0 1px 2px rgba(0, 0, 0, 0.2);
}

.featured-products-grid .product-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.36), 0 1.5px 3px rgba(0, 0, 0, 0.24);
}

/* ============================================================
   9. TOP VERIFIED SELLERS (Marketplace Spotlight)
   ============================================================ */
.sellers-spotlight-section {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    padding: 20px;
}

.seller-cta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534 !important;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.seller-cta-pill:hover {
    background: #16a34a;
    color: #ffffff !important;
}

.sellers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.seller-store-card {
    border: 1px solid #eef2f6;
    border-radius: 8px;
    padding: 16px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
    background: #ffffff;
}

.seller-store-card:hover {
    border-color: #2874f0;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(40, 116, 240, 0.12);
}

.seller-avatar-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2874f0 0%, #1e3a8a 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
    box-shadow: 0 3px 8px rgba(40, 116, 240, 0.25);
}

.seller-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.seller-store-name {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.2;
}

.seller-verified-badge {
    color: #2874f0;
    font-size: 13px;
}

.seller-stats-row {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 10px;
}

.seller-stats-row span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.seller-score {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.seller-rating-pill {
    background: #388e3c;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.seller-trust-label {
    font-size: 11px;
    font-weight: 600;
    color: #059669;
}

.seller-visit-btn {
    border-top: 1px solid #f1f5f9;
    padding-top: 10px;
    font-size: 12px;
    font-weight: 700;
    color: #2874f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ============================================================
   10. POPULAR BRANDS
   ============================================================ */
.brands-box {
    background: #ffffff;
    border-radius: 8px;
    padding: 16px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.brands-box-header {
    margin-bottom: 12px;
}

.brands-title {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.brands-title i {
    color: #f59e0b;
}

.brands-subtitle {
    font-size: 12px;
    color: #64748b;
}

.brands-pills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.brand-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 6px 14px;
    text-decoration: none;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.brand-pill-btn:hover {
    background: #ffffff;
    border-color: #2874f0;
    color: #2874f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(40, 116, 240, 0.1);
}

.brand-initial {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: #1e293b;
}

.brand-pill-btn:hover .brand-initial {
    background: #2874f0;
    color: #ffffff;
}

/* ============================================================
   11. MILLZOO TRUST & ASSURANCE STRIP
   ============================================================ */
.trust-strip-section {
    background: #ffffff;
    border-radius: 8px;
    padding: 20px 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.trust-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.trust-icon-box.delivery {
    background: #eff6ff;
    color: #2563eb;
}

.trust-icon-box.shield {
    background: #f0fdf4;
    color: #16a34a;
}

.trust-icon-box.returns {
    background: #fffbeb;
    color: #d97706;
}

.trust-icon-box.support {
    background: #fdf4ff;
    color: #c026d3;
}

.trust-text h4 {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 2px 0;
}

.trust-text p {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    line-height: 1.35;
}

/* ============================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ============================================================ */
@media (max-width: 1400px) {
    .featured-products-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1200px) {
    .quad-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .coupon-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-products-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .sellers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .featured-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .top-cat-box {
        padding: 10px 12px;
        border-radius: 8px;
    }

    .top-cat-icon-capsule {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    .top-cat-item {
        min-width: 64px;
        gap: 5px;
    }

    .top-cat-name {
        font-size: 11px;
    }

    .hero-perks-strip {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 12px 14px;
    }

    .hero-perk-divider {
        display: none;
    }

    .hero-perk-text strong {
        font-size: 12px;
    }

    .hero-perk-text span {
        display: none;
    }

    .hero-slider {
        aspect-ratio: 16 / 9;
        min-height: 220px;
    }

    .hero-slide-overlay {
        padding: 0 20px;
        background: linear-gradient(90deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.85) 60%, rgba(15, 23, 42, 0.4) 100%);
    }

    .hero-title {
        font-size: 22px;
    }

    .hero-desc {
        font-size: 13px;
        margin-bottom: 16px;
    }

    .btn-hero-primary {
        padding: 8px 16px;
        font-size: 12px;
    }

    .btn-hero-secondary {
        display: none;
    }

    .hero-nav-btn {
        display: none;
    }

    .deals-box {
        width: 100%;
    }

    .deal-card {
        flex: 0 0 calc((100% - 10px) / 2);
        min-width: calc((100% - 10px) / 2);
        max-width: calc((100% - 10px) / 2);
    }

    .deals-heading {
        font-size: 16px;
    }

    .quad-grid-container {
        grid-template-columns: 1fr;
    }

    .coupon-cards-grid {
        grid-template-columns: 1fr;
    }

    .mid-promo-grid {
        grid-template-columns: 1fr;
    }

    .featured-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sellers-grid {
        grid-template-columns: 1fr;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .featured-products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .product-scroll-track .product-card {
        min-width: 168px;
        max-width: 168px;
    }

    .deal-card {
        min-width: 168px;
        max-width: 168px;
        padding: 8px;
    }

    .deal-curr-price {
        font-size: 14px;
    }

    .deal-btn-cart {
        padding: 6px;
        font-size: 11px;
    }

    .hero-perks-strip {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}