.container {
    max-width: 1248px;
    width: 100%;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
}

/* --- 100% Clone Styling --- */

/* Top Search Bar */
/* --- Header Refinements --- */

/* Half-size Search Box */
.dz-search-box {
    max-width: 450px; /* Constrains search to roughly half size */
    background: #f1f4f9;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    height: 40px;
    cursor: text;
}

/* Live Stats / Useful Info Section */
.dz-header-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 15px;
    border-left: 1px solid #e2e8f0;
}

.dz-stat-item {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.dz-stat-val {
    font-weight: 800;
    font-size: 0.9rem;
    color: #10b981; /* Emerald Green */
}

.dz-stat-lbl {
    font-size: 0.7rem;
    color: #718096;
    text-transform: uppercase;
    font-weight: 600;
}

/* Auth Buttons */
.dz-auth-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dz-login-link {
    text-decoration: none;
    color: #4a5568;
    font-weight: 700;
    font-size: 0.85rem;
}

.dz-register-btn {
    background-color: #2458e0;
    color: #fff;
    font-weight: 800;
    font-size: 0.82rem;
    padding: 8px 18px;
    border-radius: 4px;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
    transition: 0.2s;
}

.dz-register-btn span {
    font-size: 0.65rem;
    font-weight: 600;
    opacity: 0.9;
    text-transform: uppercase;
}

.dz-register-btn:hover {
    background-color: #1a44b5;
    color: #fff;
}

/* Blue Login Button */
.dz-login-btn {
    background-color: #2458e0 !important;
    color: #fff !important;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 4px;
    border: none;
}
.dz-login-btn:hover { background-color: #1a44b5 !important; }

/* Navigation Links */
.dz-nav-item {
    text-decoration: none;
    color: #4a5568;
    font-size: 0.82rem;
    font-weight: 500;
    transition: color 0.2s;
}
.dz-nav-item:hover { color: #EB1C24; }
.dz-nav-item i { font-size: 1rem; vertical-align: middle; color: #1a202c; }

/* Special Event Button (Mother's Day) */
.dz-special-btn {
    background-color: #2b579a !important; /* Specific Dark Blue */
    color: #fff !important;
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 50px; /* Pill Shape */
    padding: 6px 20px;
    border: none;
}
.dz-special-btn:hover { background-color: #1f4276 !important; }

/* Country Switcher Toggle */
.dz-country-toggle {
    background: none;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    color: #4a5568;
}

/* Notification Badge */
.dz-notify-trigger { position: relative; cursor: pointer; }
.dz-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #EB1C24;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 5px;
    border-radius: 50px;
    line-height: 1;
}

/* Burger lines */
.dz-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #333;
    margin: 4px 0;
}

/* --- Banner Section Layout --- */
.g-main-banner {
    background: #fff;
    padding: 20px 0;
}

/* Main Carousel - 70% Width on Desktop */
.carousel-main {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.carousel-main .carousel-item img {
    height: 360px;
    object-fit: cover;
}

/* Custom Dots */
.carousel-indicators-dz {
    position: relative !important;
    margin: 0 !important;
    padding: 10px 0;
    justify-content: flex-start !important;
    background: #fff;
    overflow-x: auto;
}

.carousel-indicators-dz [data-bs-target] {
    width: auto !important;
    height: auto !important;
    text-indent: 0 !important;
    background: transparent !important;
    border: none !important;
    color: #718096;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 5px 15px;
    white-space: nowrap;
    opacity: 1 !important;
}

.carousel-indicators-dz .active {
    color: #EB1C24 !important;
    border-bottom: 2px solid #EB1C24 !important;
}

/* --- Top Picks (Right Column) --- */
.top-picks-container {
    height: 100%;
}

.top-picks-card {
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    height: 360px;
    position: relative;
    color: white;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tp-logo {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 10px;
    padding: 5px;
    margin-bottom: 15px;
}

.tp-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.tp-title span { color: #ffd166; }

.tp-desc {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 20px;
}

.tp-grab-btn {
    display: inline-block;
    background: white;
    color: #1F2937;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 8px 20px;
    border-radius: 50px;
    width: fit-content;
}

/* Heading below banner */
.g-home-h1 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1A202C;
    margin-top: 30px;
}
/* --- Banner Section Layout --- */
.hero-banner-section {
    background: #F7F7F8;
    padding: 20px 0;
}

/* Main Carousel - Left Column */
.carousel-main-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.carousel-main-container .carousel-item img {
    height: 360px;
    object-fit: cover;
    width: 100%;
}

/* Custom Text Indicators */
.carousel-indicators-dz {
    position: relative !important;
    margin: 0 !important;
    padding: 10px 0;
    justify-content: flex-start !important;
    background: #fff;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
}

.carousel-indicators-dz::-webkit-scrollbar { display: none; } /* Chrome/Safari */

.carousel-indicators-dz [data-bs-target] {
    width: auto !important;
    height: auto !important;
    text-indent: 0 !important;
    background: transparent !important;
    border: none !important;
    color: #718096;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 8px 16px;
    white-space: nowrap;
    opacity: 1 !important;
    transition: all 0.2s;
    border-bottom: 2px solid transparent !important;
}

.carousel-indicators-dz .active {
    color: #EB1C24 !important; /* Brand Red */
    border-bottom: 2px solid #EB1C24 !important;
}

/* --- Top Picks (Right Column) --- */
.top-picks-card {
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    height: 360px;
    position: relative;
    color: white;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}

.top-picks-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
    z-index: 1;
}

.tp-content {
    position: relative;
    z-index: 2;
}

.tp-logo {
    width: 54px;
    height: 54px;
    background: white;
    border-radius: 10px;
    padding: 6px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.tp-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 5px;
    line-height: 1.2;
}

.tp-title span { color: #ffd166; }

.tp-desc {
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 20px;
    line-height: 1.4;
}

.tp-grab-btn {
    display: inline-block;
    background: white;
    color: #1a202c;
    font-weight: 800;
    font-size: 0.7rem;
    padding: 8px 22px;
    border-radius: 50px;
    width: fit-content;
    text-transform: uppercase;
}

/* --- Marketplace Heading & Sub-Banner Refactored --- */

/* Marketplace Heading Section */
/* --- Centered Marketplace Header with Decorative Lines --- */
.dz-marketplace-header {
    background: #fff;
    padding: 20px 0 20px; /* Increased top padding for better breathing room */
    text-align: center;
}

.dz-main-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px; /* Space between the text and the lines */
    font-family: 'Instrument Sans', -apple-system, sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: #1a202c;
    margin: 0;
    letter-spacing: -0.01em;
    text-transform: capitalize;
}

/* The Green Lines */
.dz-main-heading::before,
.dz-main-heading::after {
    content: "";
    flex: 1; /* Allows lines to grow and fill available space */
    height: 2px;
    background-color: #10b981; /* Premium Emerald Green */
    max-width: 100px; /* Prevents lines from being too long on desktop */
    border-radius: 2px;
}

@media (max-width: 768px) {
    .dz-main-heading {
        font-size: 1.1rem;
        gap: 10px;
    }
    .dz-main-heading::before,
    .dz-main-heading::after {
        max-width: 40px; /* Shorter lines on mobile */
    }
}

/* Popular Offers Section */
.dz-daily-offers-wrap {
    background: #FFF;
    padding: 30px 0;
}

.dz-section-label {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: #1a202c;
    margin-bottom: 30px;
}

/* Grid System */
.dz-offer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* 100% Match Card Design */
.dz-promo-card {
    position: relative;
    border-radius: 16px;
    height: 380px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Lift Interaction */
.dz-promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.1);
}

/* Background Image Scale Interaction */
.dz-card-image {
    height: 200px;
    width: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.dz-promo-card:hover .dz-card-image {
    transform: scale(1.1);
}

/* The Solid White "Cut-out" Box */
.dz-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px;
    height: 200px;
    border-radius: 24px 24px 0 0; /* The Cloud Curve */
    display: flex;
    flex-direction: column;
    z-index: 2;
}

/* Floating Merchant Logo Circle */
.dz-merchant-badge {
    position: absolute;
    top: -30px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dz-merchant-badge img {
    max-width: 100%;
    object-fit: contain;
}

.dz-merchant-init {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    font-weight: 900;
    font-size: 1.1rem;
}

/* Typography & Button */
.dz-card-content .dz-tag {
    margin-top: 25px;
    font-weight: 800;
    color: #3182ce;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.dz-card-content .dz-desc {
    font-size: 0.9rem;
    font-weight: 500;
    color: #4a5568;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dz-redeem-action {
    margin-top: auto;
    background: #4299e1;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    width: 100%;
    transition: background 0.2s;
}

.dz-promo-card:hover .dz-redeem-action {
    background: #2b6cb0;
}

@media (max-width: 991px) {
    .dz-offer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .dz-offer-grid { grid-template-columns: 1fr; }
    .dz-main-heading { text-align: center; }
}
/* --- DZ Cashback Steps Banner --- */
.dz-cashback-steps-wrap {
    background: linear-gradient(90deg, #004d7a 0%, #001a33 100%);
    border-radius: 16px;
    padding: 20px 30px;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin: 20px 0;
}

/* Big "3 Easy Steps" Text */
.dz-steps-headline {
    display: flex;
    align-items: center;
    gap: 15px;
}

.dz-steps-headline .dz-number-3 {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    font-family: 'Instrument Sans', sans-serif;
}

.dz-steps-headline .dz-text-stack {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.1;
    text-transform: capitalize;
}

/* Individual Step Styling */
.dz-step-item {
    text-align: center;
    position: relative;
}

.dz-step-icon {
    width: 50px;
    height: 50px;
    background: #f37021; /* Step Orange */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
}

.dz-step-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 5px;
}

.dz-step-desc {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    max-width: 150px;
    margin: 0 auto;
}

/* Dashed Connectors */
.dz-step-connector {
    position: absolute;
    top: 25px;
    right: -40%;
    width: 80%;
    border-top: 2px dashed rgba(255, 255, 255, 0.3);
    z-index: 1;
}

/* Redeem Section (Right Side) */
.dz-redeem-info {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 30px;
}

.dz-redeem-title {
    color: #ffd166; /* Gold text */
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.dz-redeem-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 991px) {
    .dz-step-connector { display: none; }
    .dz-redeem-info { border-left: none; padding-left: 0; margin-top: 30px; text-align: center; }
    .dz-steps-headline { justify-content: center; margin-bottom: 30px; }
}
/* --- Top Coupons Section --- */
.dz-top-coupons-wrap {
    background: #FFFFFF;
    padding: 30px 0;
}

.dz-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.dz-section-title {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    color: #1a202c;
}

/* Filter Pills */
.dz-filter-pills {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.dz-filter-btn {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #4a5568;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.dz-filter-btn.active {
    background: #4299e1;
    color: #fff;
    border-color: #4299e1;
}

/* Coupon Card Design */
.dz-coupon-ticket {
    background: #fff;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Top Part of Card */
.dz-ticket-main {
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-grow: 1;
}

.dz-discount-value {
    width: 90px;
    text-align: center;
    flex-shrink: 0;
}

.dz-discount-value h4 {
    font-weight: 900;
    color: #3182ce; /* Brand Blue */
    margin: 0;
    font-size: 1.6rem;
    line-height: 1;
}

.dz-discount-value span {
    font-weight: 800;
    font-size: 0.85rem;
    color: #3182ce;
}

/* Vertical Dashed Line */
.dz-dashed-divider {
    width: 1px;
    height: 60px;
    border-left: 2px dashed #e2e8f0;
}

.dz-ticket-desc {
    font-size: 0.9rem;
    font-weight: 500;
    color: #2d3748;
    line-height: 1.5;
}

/* Bottom Part of Card (Footer) */
.dz-ticket-footer {
    background: #fcfdfe;
    border-top: 1px solid #f1f5f9;
    padding: 12px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dz-store-logo-sm {
    height: 32px;
    max-width: 90px;
    object-fit: contain;
}

.dz-view-link {
    font-size: 0.82rem;
    font-weight: 700;
    color: #4299e1;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dz-view-link:hover { color: #2b6cb0; }

/* --- DZ Trending Offer Banner --- */
.dz-banner-section {
    padding: 30px 0;
    background: #f8fafc;
}

.dz-section-title-sm {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: #1a202c;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

/* Exact Container for the Ad Image */
.dz-banner-wrapper {
    border-radius: 12px;
    overflow: hidden;
    background: #f8fafc;
    transition: transform 0.3s ease;
}

.dz-banner-wrapper:hover {
    transform: translateY(-3px); /* Subtle lift for ads */
}

.dz-banner-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

@media (max-width: 768px) {
    .dz-banner-section {
        padding: 20px 0;
    }
    .dz-section-title-sm {
        font-size: 1.1rem;
        justify-content: center;
    }
}

/* --- Popular Categories Modern Grid --- */
.dz-popular-cats-section {
    background: #fff;
    padding: 30px 0;
}

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

.dz-cat-item {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid #edf2f7;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.dz-cat-item:hover {
    border-color: #10b981; /* Matches your green theme lines */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-3px);
}

.dz-cat-icon-wrap {
    font-size: 1.3rem;
    color: #4a5568;
    margin-right: 15px;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.dz-cat-item:hover .dz-cat-icon-wrap {
    color: #10b981;
}

.dz-cat-info-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.dz-cat-name-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: #2d3748;
}

.dz-cat-count-badge {
    font-size: 0.72rem;
    font-weight: 800;
    color: #718096;
    background: #f7fafc;
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid #edf2f7;
}

.dz-cat-item:hover .dz-cat-count-badge {
    background: #ecfdf5;
    color: #10b981;
    border-color: #d1fae5;
}

@media (max-width: 991px) { .dz-cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .dz-cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .dz-cat-grid { grid-template-columns: 1fr; } }

/* --- Deals Of The Day Section --- */
.dz-deals-section {
    background: #fff;
    padding: 30px 0;
}

.dz-title-text {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    color: #1a202c;
}

/* Individual Deal Card */
.dz-deal-card {
    background: #fff;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
}

.dz-deal-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

/* Top Tinted Image Area */
.dz-deal-img-wrap {
    background: #f0f4f8; /* The subtle blue/grey tint */
    height: 170px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px;
}

/* Overlapping Merchant Circle (Top Left) */
.dz-deal-merchant-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    z-index: 5;
}

.dz-deal-merchant-badge img {
    max-width: 100%;
    object-fit: contain;
}

/* Overlapping Discount Badge (Center Seam) */
.dz-deal-discount-tag {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #4299e1; /* Blue badge */
    color: #fff;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 6px 20px;
    border-radius: 4px;
    z-index: 10;
}

/* Content Area */
.dz-deal-content {
    padding: 30px 20px 20px; /* Top padding extra for the badge overlap */
    text-align: center;
}

.dz-deal-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #2d3748;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dz-deal-by {
    font-size: 0.78rem;
    color: #a0aec0;
    font-weight: 600;
    margin-bottom: 15px;
}

.dz-deal-price-row {
    font-size: 1.5rem;
    font-weight: 900;
    color: #1a202c;
}

.dz-deal-price-row strike {
    font-size: 0.9rem;
    color: #a0aec0;
    font-weight: 600;
    margin-left: 8px;
}
/* --- DZ Merchants Directory Layout --- */
.dz-merchants-page {
    background: #f8fafc;
    padding-bottom: 50px;
}

/* 1. Page Header Section */
.dz-intro-section {
    background: #fff;
    padding: 30px 0;
    border-bottom: 1px solid #edf2f7;
}

.dz-stats-list {
    display: flex;
    gap: 40px;
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
}

.dz-stat-val {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a202c;
    margin: 0;
}

.dz-stat-label {
    font-size: 0.85rem;
    color: #718096;
    margin: 0;
}

/* 2. Layout Grid */
.dz-main-content-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    margin-top: 30px;
}

/* 3. Sidebar Navigation */
.dz-sidebar-nav {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    border: 1px solid #edf2f7;
}

.dz-side-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    text-decoration: none;
    color: #4a5568;
    font-weight: 600;
    border-radius: 8px;
    margin-bottom: 5px;
    transition: all 0.2s;
}

.dz-side-link img { width: 22px; height: 22px; }

.dz-side-link:hover, .dz-side-link.active {
    background: #3182ce;
    color: #fff;
}

.dz-side-link.active img { filter: brightness(0) invert(1); }

/* 4. Trending Merchants Cards */
.dz-trending-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.dz-trending-card {
    background: #fff;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.2s;
}

.dz-trending-card:hover { transform: translateY(-5px); }

.dz-trending-img-box {
    height: 140px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #fff;
    padding: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.dz-trending-info {
    padding: 15px;
}

.dz-trending-info .title {
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 5px;
}

.dz-offers-meta {
    font-size: 0.75rem;
    color: #718096;
    display: flex;
    gap: 10px;
}

@media (max-width: 991px) {
    .dz-main-content-grid { grid-template-columns: 1fr; }
    .dz-trending-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════════
   STORES A–Z PAGE  (stl-* classes)
═══════════════════════════════════════════════════ */

/* A-Z alphabet strip */
.stl-az-wrap {
    background: #fff;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    padding: 14px 0;
    margin-bottom: 4px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.stl-az-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
}

.stl-az-btn {
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    border: 1.5px solid #d1d5db;
    background: #fff;
    border-radius: 8px;
    font-weight: 700;
    font-size: .8rem;
    cursor: pointer;
    color: #374151;
    transition: all .15s ease;
    line-height: 1;
}

.stl-az-btn:hover:not(.stl-az-unavailable) {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.stl-az-btn.active {
    background: #e63946;
    border-color: #e63946;
    color: #fff;
}

.stl-az-unavailable {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

/* Simple A-Z store card */
.stl-store-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px 12px;
    text-decoration: none;
    color: inherit;
    transition: border-color .2s, box-shadow .2s, transform .2s;
    height: 100%;
}

.stl-store-card:hover {
    border-color: #e63946;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    transform: translateY(-2px);
    color: inherit;
}

.stl-sc-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-weight: 900;
    font-size: .95rem;
    color: #fff;
    background: #3E80DD;
}

.stl-sc-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
    background: #fff;
    border-radius: 10px;
}

.stl-sc-name {
    font-weight: 700;
    font-size: .88rem;
    color: #111827;
    line-height: 1.3;
}

.stl-sc-count {
    font-size: .75rem;
    color: #6b7280;
    margin-top: 2px;
}

/* Top stores section divider */
.stl-section-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stl-section-title::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, #e63946 0%, transparent 100%);
}

/* Grid heading with letter badge */
.stl-grid-letter-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #e63946;
    color: #fff;
    border-radius: 8px;
    font-weight: 900;
    font-size: 1rem;
    margin-right: 8px;
}

@media (max-width: 575px) {
    .stl-az-strip { gap: 3px; }
    .stl-az-btn { min-width: 28px; height: 28px; font-size: .72rem; padding: 0 5px; }
    .stl-sc-logo { width: 40px; height: 40px; font-size: .8rem; }
    .stl-sc-name { font-size: .82rem; }
    .stl-sc-count { font-size: .7rem; }
    .stl-az-wrap { top: 56px; } /* offset for mobile nav */
}
/* Minimalist Merchant Card */
.dz-simple-merchant-card {
    display: block;
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    padding: 15px 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dz-simple-merchant-card:hover {
    border-color: #3182ce;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.dz-merchant-name {
    font-weight: 700;
    color: #2d3748;
    font-size: 1rem;
    margin-bottom: 2px;
}

.dz-merchant-meta {
    font-size: 0.8rem;
    color: #718096;
    font-weight: 500;
}

/* Category Trending Cards */
.dz-cat-trending-card {
    transition: all 0.2s ease;
    color: #2d3748;
}
.dz-cat-trending-card:hover {
    border-color: #e63946 !important;
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.12) !important;
    transform: translateY(-2px);
    color: #e63946;
}
.dz-cat-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: #fff3f4;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dz-cat-icon-box i {
    font-size: 2rem;
    color: #e63946;
}
.dz-cat-name {
    font-size: 1rem;
    color: #2d3748;
}
.dz-cat-trending-card:hover .dz-cat-name {
    color: #e63946;
}
.dz-merchant-details {
    display: flex;
    align-items: center;
}
/* --- DZ Category Header Section --- */
.dz-category-intro {
    background: #fff;
    padding: 30px 0;
    border-bottom: 1px solid #edf2f7;
}

/* Breadcrumb Styling */
.dz-breadcrumb {
    font-size: 0.8rem;
    color: #718096;
    margin-bottom: 20px;
}
.dz-breadcrumb a { text-decoration: none; color: #4a5568; }

/* The Main Header Split */
.dz-header-flex {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Left: Icon Box (The Plane) */
.dz-cat-icon-container {
    width: 240px;
    height: 140px;
    background: #fff;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.dz-cat-icon-container img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Right: Text Content */
.dz-cat-header-info h1 {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 800;
    font-size: 2.2rem;
    color: #1a202c;
    margin-bottom: 5px;
}

.dz-cat-header-info p {
    font-size: 1rem;
    color: #4a5568;
    font-weight: 500;
}

/* 2. Filter Tabs (The Pill Navigation) */
.dz-filter-nav {
    display: flex;
    background: #f1f5f9;
    padding: 6px;
    border-radius: 12px;
    width: fit-content;
    gap: 5px;
}

.dz-tab-pill {
    padding: 10px 24px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #2d3748;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    background: transparent;
}

.dz-tab-pill span {
    font-weight: 500;
    color: #3182ce;
    margin-left: 4px;
}

/* Active State Match (White card inside grey pill) */
.dz-tab-pill.active {
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    color: #3182ce;
}

@media (max-width: 768px) {
    .dz-header-flex { flex-direction: column; text-align: center; }
    .dz-filter-nav { width: 100%; overflow-x: auto; }
}
/* --- DZ Premium Row Card (No Logo) --- */
.dz-row-card {
    background: #fff;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.2s ease;
}

/* Header Meta: Store (Left) | Usage + Expiry (Right) */
.dz-meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.78rem;
    font-weight: 700;
}

.dz-meta-left { color: #2d3748; text-transform: uppercase; letter-spacing: 0.05em; }
.dz-meta-right { display: flex; gap: 15px; color: #718096; }

/* Main Body Layout: Two Columns */
.dz-row-body {
    display: grid;
    grid-template-columns: 1fr 220px; /* Info | CTA */
    gap: 25px;
    align-items: flex-start;
}

.dz-row-title { font-weight: 800; font-size: 1.15rem; color: #1a202c; line-height: 1.3; }
.dz-row-desc { font-size: 0.88rem; color: #4a5568; margin-top: 6px; }

/* ── The "Half-Hidden" Coupon Button ── */
.dz-cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.dz-coupon-trigger {
    display: flex;
    width: 100%;
    height: 46px;
    text-decoration: none;
    border-radius: 8px;
    overflow: hidden;
    border: 2px dashed #3182ce;
    background: #f0f7ff;
}

.dz-code-preview {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3182ce;
    font-family: 'Monaco', monospace;
    font-weight: 800;
    font-size: 1rem;
}

.dz-btn-solid {
    background: #3182ce;
    color: #fff;
    width: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.dz-verified-status {
    font-size: 0.7rem;
    font-weight: 700;
    color: #10b981;
    text-transform: uppercase;
}
/* --- DZ Popular Stores Bento Layout --- */
.dz-stores-portal-wrap {
    background: #fff;
    padding: 40px 0;
}

.dz-bento-layout {
    display: flex;
    gap: 15px;
}

/* 1. Left Featured Column */
.dz-store-featured-main {
    width: 280px;
    height: 380px;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.8) 100%), var(--bg-img);
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    position: relative;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none;
    flex-shrink: 0;
    overflow: hidden;
}

.dz-store-featured-main .dz-feat-logo {
    width: 120px;
    margin-bottom: 15px;
    background: #fff;
    padding: 8px;
    border-radius: 8px;
}

.dz-store-featured-main .dz-feat-label {
    color: #ffd166;
    font-weight: 800;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 2. Right High-Density Grid */
.dz-mini-stores-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    flex-grow: 1;
}

.dz-mini-store-box {
    background: #fff;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 15px;
}

.dz-mini-store-box:hover {
    border-color: #EB1C24;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.dz-mini-logo-wrap {
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.dz-mini-logo-wrap img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: 0.3s;
}

.dz-mini-store-box:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.dz-mini-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: #4a5568;
}

/* Mobile Responsiveness */
@media (max-width: 1200px) {
    .dz-mini-stores-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 991px) {
    .dz-bento-layout { flex-direction: column; }
    .dz-store-featured-main { width: 100%; height: 220px; }
}
/* --- DZ Premium Subscribe Bar --- */
.dz-subscribe-section {
    background: #0f172a; /* Dark Navy / Slate 900 */
    padding: 40px 0;
    margin-top: 50px;
}

.dz-subscribe-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Left Content Area */
.dz-sub-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dz-sub-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #10b981; /* Emerald Green Icon */
}

.dz-sub-title {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 4px;
}

.dz-sub-text {
    font-size: 0.95rem;
    color: #94a3b8;
    margin: 0;
}

/* Form Styling */
.dz-sub-form-wrap {
    display: flex;
    background: #fff;
    padding: 6px;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.dz-sub-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 20px;
    font-size: 0.95rem;
    color: #1a202c;
    outline: none;
}

.dz-sub-submit-btn {
    background: #10b981; /* Verified Green */
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dz-sub-submit-btn:hover {
    background: #059669;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .dz-subscribe-inner { flex-direction: column; text-align: center; }
    .dz-sub-content { flex-direction: column; }
    .dz-sub-form-wrap { max-width: 100%; }
}
/* --- DZ Telegram Invite Section --- */
.dz-tg-invite-wrap {
    background: #f0f9ff; /* Very light sky blue */
    padding: 60px 0;
    margin: 0;
}

.dz-tg-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

/* Left Content */
.dz-tg-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    color: #0088cc;
    border: 1px solid #e0f2fe;
    margin-bottom: 20px;
}

.dz-live-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: dz-pulse 2s infinite;
}

@keyframes dz-pulse {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

.dz-tg-heading {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 900;
    font-size: 2.2rem;
    color: #0f172a;
    line-height: 1.2;
}

.dz-tg-heading em {
    color: #0088cc;
    font-style: normal;
}

/* Step Flow */
.dz-tg-steps {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
}

.dz-tg-step {
    flex: 1;
    display: flex;
    gap: 10px;
}

.dz-step-circle {
    width: 28px;
    height: 28px;
    background: #0088cc;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.dz-step-txt {
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    line-height: 1.4;
}

/* Right Side: Reward Card */
.dz-reward-card {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 20px 40px rgba(0, 136, 204, 0.1);
    border: 1px solid #e0f2fe;
}

.dz-tier-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 10px;
    background: #f8fafc;
    transition: transform 0.2s;
}

.dz-tier-item:hover {
    transform: scale(1.03);
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.dz-tier-amount {
    font-weight: 900;
    color: #1a202c;
    font-size: 1.1rem;
}

/* CTAs */
.dz-btn-tg {
    background: #0088cc;
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.2s;
}

.dz-btn-tg:hover { background: #0077b5; color: #fff; transform: translateY(-2px); }

@media (max-width: 991px) {
    .dz-tg-inner { grid-template-columns: 1fr; text-align: center; }
    .dz-tg-steps { flex-direction: column; align-items: flex-start; }
    .dz-tg-badge { justify-content: center; }
}
/* --- DZ Filter Sidebar Architecture --- */
.dz-sidebar-sticky {
    position: sticky;
    top: 90px;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #edf2f7;
}

/* 1. Filter Search Input */
.dz-filter-search-wrap {
    position: relative;
    margin-bottom: 25px;
}

.dz-filter-search-wrap i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.dz-filter-search-input {
    width: 100%;
    padding: 10px 15px 10px 40px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    outline: none;
}

/* 2. Scrollable Checkbox Lists */
.dz-filter-group {
    margin-bottom: 30px;
}

.dz-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 800;
    font-size: 0.95rem;
    color: #1a202c;
    cursor: pointer;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.dz-filter-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
    max-height: 180px; /* Specific height from image */
    overflow-y: auto;
    scrollbar-width: thin;
}

.dz-filter-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
    cursor: pointer;
}

.dz-filter-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1.5px solid #cbd5e1;
    cursor: pointer;
}

.dz-filter-label {
    font-size: 0.9rem;
    color: #4a5568;
    font-weight: 500;
}

/* 3. "More About" Section */
.dz-about-sidebar h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: #2d3748;
    margin-bottom: 12px;
}

.dz-about-sidebar p {
    font-size: 0.85rem;
    color: #718096;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 4. Stats Footer */
.dz-sidebar-stats {
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
    margin-top: 20px;
}

.dz-stat-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
}

/* ── Radio inputs inside dz-filter-item ─────────────── */
.dz-filter-item input[type="radio"] {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1.5px solid #cbd5e1;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: #e63946;
}

/* Visual radio dot for non-form browse links */
.dz-radio-dot {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    flex-shrink: 0;
    background: #fff;
    transition: border-color .15s, background .15s;
}
.dz-radio-dot.is-checked {
    border-color: #e63946;
    background: #e63946;
    box-shadow: inset 0 0 0 3px #fff;
}

/* ── Deals grid card ────────────────────────────────── */
.dz-deal-grid-card {
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}
.dz-deal-grid-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,.10) !important;
    transform: translateY(-2px);
}

.dz-deal-grid-badges {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    padding: 10px 10px 0;
    min-height: 28px;
}
.dz-deal-badge {
    font-size: .72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    line-height: 1.6;
}
.dz-deal-badge.badge-off {
    background: #d1fae5;
    color: #065f46;
}
.dz-deal-badge.badge-code {
    background: #fef3c7;
    color: #92400e;
}

.dz-deal-grid-store {
    display: flex;
    align-items: center;
    font-size: .78rem;
    font-weight: 600;
    color: #4a5568;
    padding: 6px 10px 4px;
    gap: 2px;
}

.dz-deal-grid-title {
    font-size: .88rem;
    font-weight: 700;
    color: #1a202c;
    padding: 6px 10px 8px;
    line-height: 1.4;
}

.dz-deal-grid-price {
    padding: 0 10px 8px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

/* ── View toggle buttons ────────────────────────────── */
.dz-view-toggle {
    display: flex;
    gap: 4px;
}
.dz-view-btn {
    width: 36px;
    height: 36px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all .15s;
}
.dz-view-btn:hover {
    border-color: #e63946;
    color: #e63946;
}
.dz-view-btn.active {
    background: #e63946;
    border-color: #e63946;
    color: #fff;
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE — Home Page
   ═══════════════════════════════════════════════════════════════ */

/* ── Hero Banner ────────────────────────────────────────────── */
@media (max-width: 991px) {
    /* Stack carousel and top-picks vertically */
    .hero-banner-section .row { flex-direction: column; }

    /* Full-width carousel image on tablet/mobile */
    .carousel-main-container .carousel-item img {
        height: 220px;
    }

    /* Top-picks shorter on mobile */
    .top-picks-card { height: 200px; padding: 20px; }
    .tp-title { font-size: 1.1rem; }
    .tp-desc  { font-size: 0.8rem; margin-bottom: 12px; }
}

@media (max-width: 575px) {
    .carousel-main-container .carousel-item img { height: 160px; }
    .top-picks-card { height: 160px; padding: 16px; }

    /* Indicator tabs wrap on tiny screens */
    .carousel-indicators-dz [data-bs-target] {
        font-size: 0.7rem;
        padding: 5px 10px;
    }
}

/* ── Tagline Bar ─────────────────────────────────────────────── */
@media (max-width: 768px) {
    .grb-tagline-bar { padding: 12px 0; }
    .grb-tagline-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .grb-tagline-text { font-size: 0.82rem; }
    .grb-tagline-stats { flex-wrap: wrap; gap: 8px; }
    .grb-ts strong { font-size: 1rem; }
}

/* ── Cashback Steps (3-step banner) ─────────────────────────── */
@media (max-width: 991px) {
    .dz-cashback-steps-wrap { padding: 20px 16px; }
    .dz-steps-headline { justify-content: center; margin-bottom: 16px; }
    .dz-steps-headline .dz-number-3 { font-size: 3.5rem; }
    .dz-redeem-info { text-align: center; margin-top: 16px; }
}

@media (max-width: 575px) {
    .dz-step-item { text-align: center; }
    .dz-step-icon { margin: 0 auto 8px; }
    .dz-step-connector { display: none !important; }
}

/* ── Popular Offers (promo cards) ───────────────────────────── */
@media (max-width: 991px) {
    .dz-offer-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .dz-promo-card { height: 320px; }
    .dz-card-image { height: 160px; }
    .dz-card-content { height: 180px; }
}

@media (max-width: 575px) {
    .dz-offer-grid { grid-template-columns: 1fr; }
    .dz-promo-card { height: 300px; }
}

/* ── Top Coupons Section ─────────────────────────────────────── */
@media (max-width: 575px) {
    .dz-filter-pills { gap: 6px; }
    .dz-filter-btn { font-size: 0.78rem; padding: 6px 10px; }
    .dz-coupon-ticket { padding: 14px; }
    .dz-discount-value h4 { font-size: 1.6rem; }
}

/* ── Deals of the Day ───────────────────────────────────────── */
@media (max-width: 575px) {
    .dz-deal-card .dz-deal-img-wrap { height: 160px; }
    .dz-deal-name { font-size: 0.85rem; }
}

/* ── Popular Stores (Bento) ─────────────────────────────────── */
@media (max-width: 991px) {
    .dz-bento-layout { flex-direction: column; gap: 16px; }
    .dz-store-featured-main { width: 100%; height: 180px; }
    .dz-mini-stores-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 575px) {
    .dz-mini-stores-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .dz-mini-store-box { height: 90px; padding: 10px; }
    .dz-mini-logo-wrap { height: 35px; margin-bottom: 6px; }
    .dz-mini-name { font-size: 0.72rem; }
}

/* ── Trending Banner ─────────────────────────────────────────── */
@media (max-width: 575px) {
    .dz-banner-wrapper img { max-height: 80px !important; }
    .dz-banner-dynamic { padding: 14px !important; gap: 12px !important; }
    .dz-banner-dynamic .fs-5 { font-size: 0.9rem !important; }
}

/* ── Popular Categories Grid ─────────────────────────────────── */
@media (max-width: 575px) {
    .dz-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .dz-cat-item { padding: 10px 8px; }
    .dz-cat-icon-wrap { width: 36px; height: 36px; font-size: 1rem; }
    .dz-cat-name-text { font-size: 0.75rem; }
}

/* ── Subscribe Section ───────────────────────────────────────── */
@media (max-width: 768px) {
    .dz-subscribe-inner { flex-direction: column; text-align: center; gap: 20px; }
    .dz-sub-content { flex-direction: column; align-items: center; }
    .dz-sub-form-wrap { max-width: 100%; flex-direction: column; border-radius: 8px; gap: 6px; }
    .dz-sub-input { padding: 10px 14px; border-radius: 6px; }
    .dz-sub-submit-btn { width: 100%; justify-content: center; border-radius: 6px; }
}

/* ── Telegram Section ────────────────────────────────────────── */
@media (max-width: 991px) {
    .dz-tg-inner { grid-template-columns: 1fr; text-align: center; gap: 24px; }
    .dz-tg-heading { font-size: 1.6rem; }
    .dz-tg-steps { flex-direction: column; align-items: center; }
    .dz-tg-badge { margin: 0 auto 16px; }
    .dz-reward-card { max-width: 400px; margin: 0 auto; }
}

@media (max-width: 575px) {
    .dz-tg-heading { font-size: 1.3rem; }
    .dz-tg-invite-wrap { padding: 30px 0; }
    .dz-tier-amount { font-size: 0.95rem; }
}

/* ── Section Headers ─────────────────────────────────────────── */
@media (max-width: 575px) {
    .dz-section-title { font-size: 1rem; }
    .dz-section-header { margin-bottom: 12px; }
    .dz-deals-section .dz-title-text { font-size: 1rem; }
}

/* ── Sidebar Deals Page ─────────────────────────────────────── */
@media (max-width: 991px) {
    .dz-sidebar-sticky {
        position: static;
        margin-bottom: 20px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE NAV — Hamburger, Header, Drawer
   ═══════════════════════════════════════════════════════════════ */

/* ── Hamburger button ───────────────────────────────────────── */
.dz-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: #f1f5f9 !important;   /* always-visible bg so button is clear on any header colour */
    border: none;
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s;
}

.dz-burger:hover { background: #e2e8f0 !important; }

.dz-burger-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #1a202c !important;   /* override any lower-specificity white/light rule */
    border-radius: 2px;
    transition: transform 0.28s ease, opacity 0.2s ease, width 0.2s ease;
    transform-origin: center;
}

/* Animate to X when open */
.dz-burger.open .dz-burger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.dz-burger.open .dz-burger-bar:nth-child(2) { opacity: 0; width: 0; }
.dz-burger.open .dz-burger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile search icon ─────────────────────────────────────── */
.dz-mobile-search-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #4a5568;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s;
}
.dz-mobile-search-icon:hover { background: #e2e8f0; color: #1a202c; }

/* ── Drawer close button ────────────────────────────────────── */
.nmd-close-btn {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 2;
}
.nmd-close-btn:hover { background: rgba(255,255,255,0.2); }

/* ── Drawer override: must be visible (outside d-none parent now) ── */
.nav-mobile-drawer {
    display: block;          /* always in DOM, opacity controls visibility */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0f172a;
    z-index: 1050;
    overflow-y: auto;
    padding: 64px 0 32px;   /* top padding = header height */
    opacity: 0;
    transform: translateX(-100%);
    transition: opacity 0.28s ease, transform 0.28s ease;
    pointer-events: none;
}

.nav-mobile-drawer.open {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.nav-mobile-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1049;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.nav-mobile-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* ── Header height on mobile ────────────────────────────────── */
@media (max-width: 991px) {
    /* Make container a positioning context so logo can be truly centred */
    .dz-header-main .container {
        min-height: 56px;
        position: relative;
    }

    /* Centre the logo absolutely between left/right controls */
    .dz-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        flex-grow: 0 !important;
        margin: 0 !important;
    }
    .dz-logo img { width: 110px; height: 34px; }

    /* Hide old dz-burger span bars (replaced by dz-burger-bar) */
    .dz-burger > span:not(.dz-burger-bar) { display: none; }
}

/* On desktop, hide the new burger */
@media (min-width: 992px) {
    .dz-burger { display: none; }
    .nav-mobile-drawer,
    .nav-mobile-overlay { display: none !important; }
}
