/* Dream Dairy Hisar — Zepto / Blinkit Quick-Commerce App Styling */
:root {
    --brand: #0d62b3;
    --brand-dark: #084785;
    --brand-light: #eff6ff;
    --brand-wave: #0284c7;
    --brand-accent-green: #10b981;
    --accent: #ffc220;
    --dark: #1c1c1c;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-400: #94a3b8;
    --gray-600: #475569;
    --gray-800: #1e293b;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.12);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f4f6f8;
    color: var(--dark);
    line-height: 1.4;
    padding-bottom: 90px; /* Space for bottom nav & cart bar */
}

/* App Shell (Mobile frame centered on desktop, fluid on phone) */
.app-container {
    max-width: 520px;
    margin: 0 auto;
    background: #ffffff;
    min-height: 100vh;
    box-shadow: 0 0 30px rgba(0,0,0,0.06);
    position: relative;
    overflow-x: hidden;
}

/* Top App Header (Zepto Style) */
.app-header {
    background: #ffffff;
    padding: 12px 16px 10px;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--gray-100);
}

/* App Header & Page Title Back Buttons */
.app-header-back-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--gray-200);
    background: #ffffff;
    color: var(--dark);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: all 0.15s ease;
    flex-shrink: 0;
    padding: 0;
    margin-right: 2px;
}
.app-header-back-btn:hover {
    background: var(--brand-light);
    border-color: var(--brand);
    color: var(--brand);
}
.app-header-back-btn:active {
    transform: scale(0.92);
}

.page-title-back-btn {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    border: 1.5px solid var(--gray-200);
    background: #ffffff;
    color: var(--dark);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.15s ease;
    flex-shrink: 0;
    text-decoration: none;
    padding: 0;
}
.page-title-back-btn:hover {
    background: var(--brand-light);
    border-color: var(--brand);
    color: var(--brand);
}
.page-title-back-btn:active {
    transform: scale(0.92);
}

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

.location-picker-btn {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    padding: 0;
    max-width: calc(100% - 130px);
}

.delivery-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: #fffae6;
    color: #b45309;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: var(--radius-full);
    margin-bottom: 2px;
    letter-spacing: 0.2px;
    line-height: 1.2;
}

.location-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--dark);
    display: inline-flex;
    align-items: center;
    gap: 3px;
    line-height: 1.2;
    max-width: 100%;
}

#activeSectorText {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 155px;
    display: inline-block;
    vertical-align: middle;
}

.loc-dropdown-icon {
    font-size: 0.62rem;
    color: var(--gray-500);
    flex-shrink: 0;
    margin-left: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-wallet-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fefce8;
    border: 1.5px solid #fde047;
    padding: 3px 10px 3px 5px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 4px rgba(202, 138, 4, 0.12);
}
.header-wallet-btn:hover {
    background: #fef9c3;
    border-color: #eab308;
    transform: translateY(-1px);
}

.wallet-icon-circle {
    width: 26px;
    height: 26px;
    background: #eab308;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    box-shadow: 0 2px 6px rgba(234, 179, 8, 0.35);
}

.wallet-text-group {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.1;
}

.wallet-text-label {
    font-size: 0.58rem;
    font-weight: 800;
    color: #854d0e;
    letter-spacing: 0.5px;
}

.wallet-text-val {
    font-size: 0.82rem;
    font-weight: 800;
    color: #713f12;
}

.user-profile-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gray-100);
    border: 1.5px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.user-profile-btn:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

/* Search Bar (Zepto / Blinkit Search) */
.search-wrapper {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 10px 14px 10px 38px;
    background: var(--gray-100);
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    color: var(--dark);
    outline: none;
    transition: all 0.2s;
}

.search-input:focus {
    background: #ffffff;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(13, 98, 179, 0.15);
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    pointer-events: none;
}

/* Quick Category Circular Pills */
.category-strip {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 14px 16px 6px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}
.category-strip::-webkit-scrollbar { display: none; }


.cat-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    min-width: 68px;
    cursor: pointer;
}

.cat-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--brand-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    border: 2px solid transparent;
    transition: transform 0.15s, border-color 0.15s;
    overflow: hidden;
}

.cat-chip.active .cat-circle {
    border-color: var(--brand);
    transform: scale(1.05);
}

.cat-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-name {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gray-800);
    text-align: center;
    white-space: nowrap;
}

/* Banner Carousel */
.promo-carousel {
    padding: 10px 16px;
}

.promo-card {
    background: linear-gradient(135deg, #0d62b3 0%, #0284c7 100%);
    border-radius: var(--radius-lg);
    padding: 14px 18px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 14px rgba(13, 98, 179, 0.25);
}

.promo-text h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.promo-text p {
    font-size: 0.78rem;
    opacity: 0.9;
}

.promo-badge {
    background: var(--accent);
    color: #713f12;
    font-weight: 800;
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    display: inline-block;
    margin-top: 6px;
}

/* Product Grid (Zepto / Blinkit 3-Column) */
.product-section {
    padding: 14px 16px;
    width: 100%;
    box-sizing: border-box;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 12px;
    width: 100%;
    box-sizing: border-box;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dark);
}

.section-subtitle {
    font-size: 0.78rem;
    color: var(--gray-400);
}

.product-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
}

@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px;
    }
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px;
    }
}

.product-card {
    background: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 6px 4px 6px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: transform 0.15s, box-shadow 0.15s;
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
}


.product-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.product-img-box {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 7px;
    overflow: hidden;
    position: relative;
    background: var(--gray-50);
    margin-bottom: 4px;
    cursor: pointer;
}

.product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}
.product-card:hover .product-img-box img {
    transform: scale(1.04);
}

.product-card .eta-chip {
    position: absolute;
    bottom: 3px;
    left: 3px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    font-size: 0.50rem;
    font-weight: 800;
    color: var(--gray-800);
    padding: 1px 3px;
    border-radius: 3px;
    box-shadow: var(--shadow-sm);
    line-height: 1.1;
    z-index: 2;
}

.product-card .wishlist-btn {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    cursor: pointer;
    font-size: 0.62rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 5;
    padding: 0;
}
.wishlist-btn:hover {
    transform: scale(1.15);
    color: #ef4444;
}
.wishlist-btn.active {
    color: #ef4444;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
}
.wishlist-btn.active i {
    animation: heartBeat 0.3s ease-in-out;
}
@keyframes heartBeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.35); }
    100% { transform: scale(1); }
}

.product-title {
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.18;
    margin-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 25px;
    word-break: break-word;
    cursor: pointer;
}

.product-hindi {
    font-size: 0.56rem;
    color: var(--gray-400);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.1;
    min-height: 12px;
}

/* ==========================================================================
   Zepto / Blinkit Standardized Card Pack Size & Variation Selector
   ========================================================================== */
.pack-select-wrapper {
    position: relative;
    width: 100%;
    height: 26px;
    margin-bottom: 6px;
    box-sizing: border-box;
}

.pack-select {
    width: 100% !important;
    height: 26px !important;
    background-color: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 6px !important;
    padding: 0 18px 0 6px !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    cursor: pointer !important;
    line-height: 24px !important;
    outline: none !important;
    transition: all 0.15s ease !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230d62b3' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 6px center !important;
    background-size: 10px 10px !important;
    box-sizing: border-box !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    display: block !important;
}

.pack-select:focus,
.pack-select:hover {
    border-color: #0d62b3 !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 2px rgba(13, 98, 179, 0.15) !important;
}

/* Single Pack Badge - EXACT SAME 26px height, font, and border styling as dropdown! */
.single-pack-badge {
    width: 100% !important;
    height: 26px !important;
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 6px !important;
    padding: 0 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    color: #334155 !important;
    margin-bottom: 6px !important;
    line-height: 24px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    box-sizing: border-box !important;
}

.product-footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    margin-top: auto;
    padding-top: 2px;
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.price-box {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 3px;
    justify-content: flex-start;
    line-height: 1.1;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden;
}


.current-price {
    font-size: 0.76rem;
    font-weight: 900;
    color: var(--dark);
}

.mrp-strike {
    font-size: 0.58rem;
    color: var(--gray-400);
    text-decoration: line-through;
}

/* Instant Add / Stepper Button (No Reload) */
.cart-action-box {
    width: 100%;
    min-width: 0;
}

.btn-add {
    background: #ffffff;
    color: var(--brand);
    border: 1.5px solid var(--brand);
    border-radius: 6px;
    padding: 2px 4px;
    font-size: 0.70rem;
    font-weight: 900;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.15s;
    width: 100%;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(13, 98, 179, 0.08);
    box-sizing: border-box;
}

.btn-add:hover {
    background: var(--brand);
    color: #ffffff;
}

.btn-add:active {
    background: var(--brand-light);
    transform: scale(0.96);
}

/* Modern Primary CTA Button for Forms & Empty States */
.btn-primary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #0d62b3 0%, #084785 100%);
    color: #ffffff !important;
    font-size: 0.92rem;
    font-weight: 800;
    padding: 12px 24px;
    min-height: 44px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    text-decoration: none !important;
    text-transform: none;
    box-shadow: 0 4px 14px rgba(13, 98, 179, 0.28);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 0.2px;
    box-sizing: border-box;
}

.btn-primary-action:hover {
    background: linear-gradient(135deg, #0b559c 0%, #063a6e 100%);
    box-shadow: 0 6px 18px rgba(13, 98, 179, 0.38);
    transform: translateY(-1.5px);
    color: #ffffff !important;
}

.btn-primary-action:active {
    transform: scale(0.98);
}

.stepper-box {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    background: var(--brand);
    color: #ffffff;
    border-radius: 6px;
    padding: 1px 4px;
    width: 100%;
    height: 28px;
    box-shadow: 0 1px 4px rgba(13, 98, 179, 0.25);
    box-sizing: border-box;
}
.stepper-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-weight: 900;
    font-size: 0.82rem;
    cursor: pointer;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}

.stepper-qty {
    font-size: 0.72rem;
    font-weight: 900;
    min-width: 14px;
    text-align: center;
    color: #ffffff;
}

/* Floating Bottom Cart Bar (Zepto / Blinkit Signature) */
.floating-cart-bar {
    position: fixed;
    bottom: calc(56px + env(safe-area-inset-bottom, 0px) + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(200%);
    width: calc(100% - 24px);
    max-width: 480px;
    background: var(--brand);
    color: #ffffff;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 8px 24px rgba(13, 98, 179, 0.4);
    z-index: 999;
    text-decoration: none;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-cart-bar.active {
    transform: translateX(-50%) translateY(0);
}

.cart-bar-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-bar-count {
    font-size: 0.82rem;
    opacity: 0.9;
}

.cart-bar-price {
    font-size: 1.05rem;
    font-weight: 800;
}

.cart-bar-cta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    font-weight: 800;
}

/* Bottom App Navigation Bar */
.bottom-app-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 520px;
    height: 56px;
    background: #ffffff;
    border-top: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 4px 0 env(safe-area-inset-bottom, 0px);
    z-index: 1000;
}

.nav-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--gray-600);
    font-size: 0.68rem;
    font-weight: 700;
    gap: 3px;
    position: relative;
    flex: 1;
}

.nav-tab.active {
    color: var(--brand);
}

.nav-tab svg {
    width: 22px;
    height: 22px;
}

.nav-badge {
    position: absolute;
    top: -3px;
    right: 22%;
    background: #ef4444;
    color: #ffffff;
    font-size: 0.6rem;
    font-weight: 800;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2px;
}

/* Modal for Hisar Location Selector */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    z-index: 2000;
    display: none;
    align-items: flex-end;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-sheet {
    background: #ffffff;
    width: 100%;
    max-width: 520px;
    border-radius: 22px 22px 0 0;
    padding: 20px 20px 40px;
    max-height: 85vh;
    overflow-y: auto;
    animation: slideUp 0.25s ease-out;
    position: relative;
    z-index: 2001;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.sheet-handle {
    width: 44px;
    height: 4px;
    background: var(--gray-200);
    border-radius: 2px;
    margin: 0 auto 16px;
}

.sector-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.15s;
}

.sector-option:hover, .sector-option.active {
    border-color: var(--brand);
    background: var(--brand-light);
}

/* Toast Notifications */
.app-toast {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
    z-index: 300;
    display: none;
    animation: fadeInDown 0.2s ease-out;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translate(-50%, -10px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

/* Zepto Checkout Coupons & Offers */
.checkout-offer-card {
    position: relative;
    background: #ffffff;
    border: 1.5px dashed var(--gray-300);
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}
.checkout-offer-card.eligible {
    border-color: var(--brand);
    background: #fcfdfc;
}
.checkout-offer-card.applied {
    border-color: var(--brand);
    background: #f0f9ff;
    border-style: solid;
    box-shadow: 0 2px 8px rgba(13, 98, 179, 0.12);
}
.checkout-offer-card.ineligible {
    opacity: 0.75;
    background: #f8fafc;
}

.applied-banner {
    background: #f0f9ff;
    border: 1.5px solid #bae6fd;
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

/* Delivery Slot Selection Cards */
.checkout-slot-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 13px;
    border: 1.5px solid var(--gray-200);
    background: #ffffff;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}
.checkout-slot-card:hover {
    border-color: #cbd5e1;
}
.checkout-slot-card.selected,
.checkout-slot-card:has(input[type="radio"]:checked) {
    border-color: var(--brand) !important;
    background: var(--brand-light) !important;
    box-shadow: 0 2px 8px rgba(6, 78, 59, 0.08);
}
.checkout-slot-card.selected .slot-title,
.checkout-slot-card:has(input[type="radio"]:checked) .slot-title {
    color: var(--brand) !important;
}
.checkout-slot-card.selected .slot-desc,
.checkout-slot-card:has(input[type="radio"]:checked) .slot-desc {
    color: var(--gray-700) !important;
}
.checkout-slot-card:not(.selected):not(:has(input[type="radio"]:checked)) .slot-title {
    color: var(--dark) !important;
}
.checkout-slot-card:not(.selected):not(:has(input[type="radio"]:checked)) .slot-desc {
    color: var(--gray-400) !important;
}
.checkout-slot-card input[type="radio"] {
    accent-color: var(--brand);
    width: 17px;
    height: 17px;
    cursor: pointer;
}

/* ================================================================
   ZEPTO 2-PANE COMPACT CATEGORY LAYOUT & PRODUCT GALLERY MODAL
   ================================================================ */
.category-layout {
    display: flex;
    height: calc(100vh - var(--app-header-height, 108px) - 58px);
    height: calc(100dvh - var(--app-header-height, 108px) - 58px);
    min-height: 400px;
    overflow: hidden;
    background: #ffffff;
    position: relative;
}

/* Left Navigation Rail (Categories) - Fixed / Sticky on Screen */
.cat-sidebar {
    width: 82px;
    min-width: 82px;
    height: 100%;
    max-height: 100%;
    background: #f8fafc;
    border-right: 1.5px solid var(--gray-200);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 70px;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
}
.cat-sidebar::-webkit-scrollbar { display: none; }

.cat-rail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 4px;
    cursor: pointer;
    border-left: 3.5px solid transparent;
    transition: all 0.18s ease;
    text-align: center;
    position: relative;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.cat-rail-item:hover {
    background: #f1f5f9;
}
.cat-rail-item.active {
    background: #ffffff;
    border-left-color: var(--brand);
    box-shadow: 2px 0 10px rgba(13, 98, 179, 0.08);
}

.cat-rail-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 4px;
    overflow: hidden;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.cat-rail-item.active .cat-rail-icon {
    border-color: var(--brand);
    background: #e8f5e9;
    transform: scale(1.08);
    box-shadow: 0 2px 8px rgba(13, 98, 179, 0.25);
}
.cat-rail-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-rail-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--gray-600);
    line-height: 1.15;
    max-width: 68px;
    word-break: break-word;
    transition: color 0.15s ease;
}
.cat-rail-item.active .cat-rail-label {
    color: var(--brand);
    font-weight: 800;
}

/* Right Products Feed */
.cat-feed {
    flex: 1;
    min-width: 0;
    height: 100%;
    max-height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 10px 10px 110px;
    background: #ffffff;
}

.feed-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
    padding: 2px 4px;
}
.feed-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--dark);
}
.feed-count {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gray-400);
}

/* Compact Product Cards - 2 Columns Per Row Strictly */
.compact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
}

@media (min-width: 480px) {
    .compact-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }
}

@media (min-width: 768px) {
    .compact-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }
}

@media (min-width: 1024px) {
    .compact-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }
}

.compact-card {
    background: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 8px 8px 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    min-width: 0;
    overflow: hidden;
}
.compact-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.compact-img-box {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: var(--gray-50);
    margin-bottom: 6px;
    cursor: pointer;
}
.compact-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}
.compact-card:hover .compact-img-box img {
    transform: scale(1.04);
}

.compact-card .eta-chip {
    position: absolute;
    bottom: 4px;
    left: 4px;
    font-size: 0.55rem;
    font-weight: 800;
    padding: 2px 4px;
    border-radius: 4px;
    line-height: 1.1;
    z-index: 2;
}

.compact-card .wishlist-btn {
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    font-size: 0.72rem;
    z-index: 5;
}

.compact-card .gallery-chip {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: rgba(15, 23, 42, 0.75);
    color: #ffffff;
    font-size: 0.52rem;
    font-weight: 800;
    padding: 2px 4px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    gap: 3px;
    cursor: pointer;
    line-height: 1.1;
    z-index: 2;
}

.compact-title {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.25;
    margin-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    cursor: pointer;
    height: 32px;
    word-break: break-word;
}
.compact-hindi {
    font-size: 0.65rem;
    color: var(--gray-400);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.compact-card .pack-select {
    width: 100%;
    padding: 3px 4px;
    font-size: 0.66rem;
    font-weight: 700;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    background: var(--gray-50);
    margin-bottom: 6px;
    height: 24px;
    outline: none;
    color: var(--gray-800);
    cursor: pointer;
}

.compact-card .single-pack-text {
    font-size: 0.66rem;
    color: var(--gray-600);
    font-weight: 700;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

/* Compact Card Product Footer */
.compact-card .product-footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin-top: auto;
    padding-top: 4px;
}

.compact-card .price-box {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 4px;
    justify-content: flex-start;
    line-height: 1.1;
}

.compact-card .current-price {
    font-size: 0.85rem;
    font-weight: 900;
    color: var(--dark);
}

.compact-card .mrp-strike {
    font-size: 0.65rem;
    color: var(--gray-400);
    text-decoration: line-through;
}

.compact-card .cart-action-box {
    width: 100%;
    min-width: 0;
}

.compact-card .btn-add {
    width: 100%;
    background: #ffffff;
    color: var(--brand);
    border: 1.5px solid var(--brand);
    border-radius: 7px;
    padding: 5px 8px;
    font-size: 0.72rem;
    font-weight: 900;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.compact-card .btn-add:hover {
    background: var(--brand);
    color: #ffffff;
}
.compact-card .btn-add:active {
    background: var(--brand-light);
    transform: scale(0.96);
}

.compact-card .stepper-box {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    background: var(--brand);
    color: #ffffff;
    border-radius: 6px;
    padding: 1px 3px;
    width: 100%;
    height: 24px;
    box-shadow: 0 1px 4px rgba(13, 98, 179, 0.25);
}

.compact-card .stepper-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 900;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.compact-card .stepper-qty {
    font-size: 0.68rem;
    font-weight: 900;
    min-width: 12px;
    text-align: center;
    color: #ffffff;
}

/* Product Details & Gallery Modal (Zepto Style Sheet) */
.product-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: none;
    align-items: flex-end;
    justify-content: center;
}
.product-modal-sheet {
    background: #ffffff;
    width: 100%;
    max-width: 520px;
    border-radius: 24px 24px 0 0;
    max-height: 90vh;
    overflow-y: auto;
    padding-bottom: 20px;
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.gallery-stage {
    position: relative;
    width: 100%;
    height: 260px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.gallery-stage img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.gallery-thumbs {
    display: flex;
    gap: 8px;
    padding: 10px 16px;
    overflow-x: auto;
    scrollbar-width: none;
    border-bottom: 1px solid var(--gray-100);
    background: #ffffff;
}
.gallery-thumbs::-webkit-scrollbar { display: none; }

.gallery-thumb-item {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    border: 2px solid var(--gray-200);
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    transition: all 0.15s ease;
}
.gallery-thumb-item.active {
    border-color: var(--brand);
    box-shadow: 0 0 0 1px var(--brand);
}
.gallery-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-thumb-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: #ef4444;
    color: #fff;
    font-size: 0.55rem;
    padding: 1px 3px;
    border-radius: 3px;
    font-weight: 800;
}

/* ================================================================
   BLINKIT / ZEPTO MULTI-ADDRESS SELECTOR MODAL STYLES
   ================================================================ */
.loc-modal-sheet {
    background: #ffffff;
    width: 100%;
    max-width: 520px;
    border-radius: 22px 22px 0 0;
    max-height: 88vh;
    overflow-y: auto;
    padding: 16px 18px 50px;
    animation: slideUp 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -8px 30px rgba(0,0,0,0.25);
    position: relative;
    z-index: 2001;
}

.loc-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
.loc-modal-title {
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--dark);
}
.loc-close-btn {
    background: var(--gray-100);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 0.95rem;
    color: var(--gray-600);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loc-search-box {
    position: relative;
    margin-bottom: 16px;
}
.loc-search-box i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 0.95rem;
}
.loc-search-input {
    width: 100%;
    padding: 11px 12px 11px 38px;
    background: #f8fafc;
    border: 1.5px solid var(--gray-200);
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--dark);
    outline: none;
    transition: border-color 0.2s;
}
.loc-search-input:focus {
    border-color: var(--brand);
    background: #ffffff;
}

.loc-action-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    margin-bottom: 10px;
    cursor: pointer;
    background: #ffffff;
    transition: all 0.15s ease;
}
.loc-action-row:hover {
    background: #f9fafb;
    border-color: #cbd5e1;
}
.loc-action-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}
.loc-gps-icon {
    background: #ecfdf5;
    color: #059669;
}
.loc-add-icon {
    background: var(--brand-light);
    color: var(--brand);
}
.loc-action-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--dark);
}
.loc-action-sub {
    font-size: 0.74rem;
    color: var(--gray-400);
    margin-top: 1px;
}
.loc-chevron {
    margin-left: auto;
    color: var(--gray-400);
    font-size: 0.8rem;
}

/* Saved Addresses List */
.loc-section-title {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 18px 0 10px;
}

.saved-address-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: 14px;
    margin-bottom: 10px;
    background: #ffffff;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}
.saved-address-card:hover {
    border-color: #94a3b8;
}
.saved-address-card.selected {
    border-color: var(--brand);
    background: #f0fdf4;
}
.addr-type-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f1f5f9;
    color: var(--gray-800);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.saved-address-card.selected .addr-type-icon {
    background: var(--brand);
    color: #ffffff;
}
.addr-body {
    flex: 1;
}
.addr-top-line {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 3px;
}
.addr-label {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--dark);
}
.addr-badge-default {
    background: #fef08a;
    color: #854d0e;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 4px;
}
.addr-badge-active {
    background: #e0f2fe;
    color: #0284c7;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 4px;
}
.addr-details-text {
    font-size: 0.77rem;
    color: var(--gray-600);
    line-height: 1.35;
    margin-bottom: 4px;
}
.addr-phone-text {
    font-size: 0.72rem;
    color: var(--gray-400);
    font-weight: 600;
}
.addr-delete-btn {
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    font-size: 0.85rem;
    padding: 4px 6px;
    border-radius: 6px;
}
.addr-delete-btn:hover {
    color: #ef4444;
    background: #fee2e2;
}

/* Inline Add Address Form inside Modal */
.add-address-form-box {
    background: #f8fafc;
    border: 1.5px solid var(--gray-200);
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 16px;
    display: none;
}
.add-address-form-box.active {
    display: block;
    animation: fadeIn 0.2s ease-in-out;
}
.type-pills-row {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}
.type-pill-btn {
    flex: 1;
    padding: 8px;
    border-radius: 10px;
    border: 1.5px solid var(--gray-200);
    background: #ffffff;
    font-size: 0.8rem;
    font-weight: 800;
    cursor: pointer;
    text-align: center;
    color: var(--dark);
    transition: all 0.15s ease;
}
.type-pill-btn.active {
    border-color: var(--brand);
    background: var(--brand-light);
    color: var(--brand);
}

/* Quick Hisar Sectors Grid */
.sector-chip-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 8px;
}
.sector-chip-item {
    padding: 9px 12px;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    background: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.15s ease;
}
.sector-chip-item:hover {
    border-color: var(--brand);
    background: var(--brand-light);
}
.sector-chip-item.active {
    border-color: var(--brand);
    background: var(--brand-light);
    font-weight: 800;
}
.sector-chip-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--dark);
}
.sector-chip-eta {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--brand);
}

/* ================================================================
   BLINKIT DEDICATED SEARCH SCREEN STYLES
   ================================================================ */
.search-screen-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--gray-100);
}
.search-back-btn {
    background: none;
    border: none;
    font-size: 1.15rem;
    color: var(--dark);
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-input-container {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}
.search-main-input {
    width: 100%;
    padding: 10px 65px 10px 38px;
    background: #f1f5f9;
    border: 1.5px solid transparent;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    outline: none;
    transition: all 0.2s ease;
}
.search-main-input:focus {
    background: #ffffff;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(13, 98, 179, 0.1);
}
.search-left-icon {
    position: absolute;
    left: 12px;
    color: var(--gray-400);
    font-size: 0.95rem;
    pointer-events: none;
}
.search-right-controls {
    position: absolute;
    right: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.search-clear-btn {
    background: var(--gray-200);
    border: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: var(--gray-600);
    font-size: 0.72rem;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.search-clear-btn.active {
    display: flex;
}
.search-mic-btn {
    background: none;
    border: none;
    color: var(--gray-600);
    font-size: 1rem;
    padding: 4px;
    cursor: pointer;
}
.search-mic-btn.listening {
    color: #ef4444;
    animation: pulse 1s infinite;
}

/* Recent Searches Pill Bar */
.recent-searches-box {
    padding: 14px 16px 10px;
    background: #ffffff;
    border-bottom: 1px solid var(--gray-100);
}
.recent-searches-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.recent-searches-label {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--dark);
}
.recent-searches-clear {
    background: none;
    border: none;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand);
    cursor: pointer;
}
.recent-chips-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.recent-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f8fafc;
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gray-800);
    cursor: pointer;
    transition: all 0.15s ease;
}
.recent-chip:hover {
    background: var(--brand-light);
    border-color: var(--brand);
    color: var(--brand);
}

/* Pulse animation for voice / live states */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* Modern Infinite Smooth Marquee Tickers */
.app-marquee-wrap {
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    user-select: none;
    display: flex;
    align-items: center;
}
.app-marquee-track {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 16px;
    animation: marqueeScroll 24s linear infinite;
}
.app-marquee-track:hover {
    animation-play-state: paused;
}
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.2px;
}

/* Horizontal Card Carousels (Category & Deal of the Day) */
.horiz-cards-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 16px 14px 16px;
    scroll-padding: 0 16px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    box-sizing: border-box;
    width: 100%;
}
.horiz-cards-scroll::-webkit-scrollbar {
    display: none;
}

.horiz-card-item {
    flex: 0 0 calc((100% - 16px) / 3);
    width: calc((100% - 16px) / 3);
    max-width: calc((100% - 16px) / 3);
    min-width: 0;
    box-sizing: border-box;
    background: #ffffff;
    border: 1.5px solid var(--gray-200);
    border-radius: 14px;
    padding: 8px 6px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.horiz-card-item:hover {
    border-color: #cbd5e1;
    box-shadow: var(--shadow-md);
}
.horiz-card-item .product-footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin-top: auto;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}
.horiz-card-item .price-box {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
    line-height: 1.15;
}
.horiz-card-item .cart-action-box {
    width: 100% !important;
    min-width: 0 !important;
    margin: 2px 0 0 0 !important;
}
.horiz-card-item .btn-add {
    width: 100% !important;
    min-width: 0 !important;
    height: 28px !important;
    padding: 2px 4px !important;
    font-size: 0.70rem !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    color: var(--brand) !important;
    border: 1.5px solid var(--brand) !important;
    border-radius: 6px !important;
    box-shadow: 0 1px 3px rgba(13, 98, 179, 0.08) !important;
    box-sizing: border-box !important;
}
.horiz-card-item .btn-add:hover {
    background: var(--brand) !important;
    color: #ffffff !important;
}
.horiz-card-item .btn-add:active {
    transform: scale(0.97) !important;
}
.horiz-card-item .stepper-box {
    width: 100% !important;
    min-width: 0 !important;
    height: 28px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-radius: 6px !important;
    background: var(--brand) !important;
    color: #ffffff !important;
    padding: 1px 4px !important;
    box-sizing: border-box !important;
}
.horiz-card-item .stepper-btn {
    width: 22px !important;
    height: 22px !important;
    font-size: 0.82rem !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    line-height: 1 !important;
}
.horiz-card-item .stepper-qty {
    font-size: 0.72rem !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    text-align: center !important;
}
.deal-fire-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #dc2626;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 900;
    padding: 2px 7px;
    border-radius: 6px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    box-shadow: 0 2px 6px rgba(220,38,38,0.35);
}

/* ==========================================================
   PRODUCT DETAIL PAGE BUY / ADD TO CART & STEPPER BUTTONS
   ========================================================== */
#detailCartActionBox,
.detail-cart-action-box {
    width: auto !important;
    min-width: 135px !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
}

#detailCartActionBox .btn-add,
.detail-cart-action-box .btn-add {
    width: auto !important;
    min-width: 135px !important;
    height: 44px !important;
    padding: 0 20px !important;
    font-size: 0.95rem !important;
    font-weight: 900 !important;
    background: var(--brand) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 14px rgba(13, 98, 179, 0.35) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.15s ease !important;
}

#detailCartActionBox .btn-add:hover,
.detail-cart-action-box .btn-add:hover {
    background: var(--brand-dark) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(13, 98, 179, 0.45) !important;
}

#detailCartActionBox .btn-add:active,
.detail-cart-action-box .btn-add:active {
    transform: scale(0.97) !important;
}

#detailCartActionBox .stepper-box,
.detail-cart-action-box .stepper-box {
    width: auto !important;
    min-width: 135px !important;
    height: 44px !important;
    background: var(--brand) !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    padding: 4px 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-shadow: 0 4px 14px rgba(13, 98, 179, 0.35) !important;
}

#detailCartActionBox .stepper-btn,
.detail-cart-action-box .stepper-btn {
    width: 32px !important;
    height: 32px !important;
    font-size: 1.35rem !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    transition: background 0.15s ease !important;
    line-height: 1 !important;
}

#detailCartActionBox .stepper-btn:hover,
.detail-cart-action-box .stepper-btn:hover {
    background: rgba(255, 255, 255, 0.25) !important;
}

#detailCartActionBox .stepper-btn:active,
.detail-cart-action-box .stepper-btn:active {
    background: rgba(255, 255, 255, 0.4) !important;
}

#detailCartActionBox .stepper-qty,
.detail-cart-action-box .stepper-qty {
    font-size: 1.1rem !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    min-width: 24px !important;
    text-align: center !important;
}

/* ==========================================================
   PWA APP INSTALL BOTTOM POPUP BANNER
   ========================================================== */
.pwa-install-banner {
    position: fixed;
    bottom: 74px; /* Right above mobile bottom-app-nav */
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 20px);
    max-width: 440px;
    z-index: 999;
    animation: pwaSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pwaSlideUp {
    from {
        opacity: 0;
        transform: translate(-50%, 25px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.pwa-banner-card {
    position: relative;
    background: #ffffff;
    border: 1.5px solid #bae6fd;
    border-radius: 14px;
    padding: 10px 12px;
    box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.18), 0 8px 12px -6px rgba(0, 0, 0, 0.12);
}

.pwa-close-btn {
    position: absolute;
    top: 6px;
    right: 8px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    font-size: 13px;
    color: #64748b;
    cursor: pointer;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, background 0.2s;
    line-height: 1;
}

.pwa-close-btn:hover {
    color: #ef4444;
    background: #fee2e2;
    border-color: #fca5a5;
}

.pwa-banner-body {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-right: 20px;
}

.pwa-banner-icon-wrap {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    overflow: hidden;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pwa-app-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pwa-banner-info {
    flex: 1;
    min-width: 0;
}

.pwa-app-title {
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pwa-app-subtitle {
    font-size: 11px;
    color: #64748b;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pwa-install-btn {
    flex-shrink: 0;
    background: #0d62b3;
    color: #ffffff;
    font-weight: 800;
    font-size: 12px;
    padding: 7px 14px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(13, 98, 179, 0.35);
    transition: transform 0.15s, background 0.2s;
    text-decoration: none;
}

.pwa-install-btn:hover {
    background: #084785;
    transform: translateY(-1px);
    color: #ffffff;
}

.pwa-install-btn:active {
    transform: scale(0.96);
}

/* iOS instructions modal */
.pwa-ios-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1000;
}

.pwa-ios-modal-card {
    background: #ffffff;
    border-radius: 18px;
    max-width: 340px;
    width: 100%;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    border: 1px solid #e2e8f0;
}

/* Promotional Center Modal */
.promo-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1000;
    animation: fadeIn 0.25s ease;
}

.promo-modal-box {
    background: #ffffff;
    border-radius: 20px;
    max-width: 360px;
    width: 100%;
    padding: 24px 20px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    text-align: center;
    animation: scaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes scaleUp {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.promo-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: #f1f5f9;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 16px;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-modal-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 14px;
    border-radius: 16px;
    background: #f0f9ff;
    border: 2px solid #bae6fd;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.promo-modal-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.promo-modal-sub {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.45;
    margin-bottom: 18px;
}

.promo-modal-btn {
    display: block;
    width: 100%;
    background: #0d62b3;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 12px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(13, 98, 179, 0.3);
}

.promo-modal-btn:hover {
    background: #084785;
    color: #ffffff;
}

/* Floating Banner */
.promo-floating-banner {
    position: fixed;
    bottom: 74px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 20px);
    max-width: 440px;
    z-index: 999;
    animation: pwaSlideUp 0.35s ease forwards;
}

.promo-floating-card {
    position: relative;
    background: #ffffff;
    border: 1.5px solid #38bdf8;
    border-radius: 14px;
    padding: 10px 12px;
    box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.18);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ==========================================================================
   Comprehensive Branded Site Footer & Bottom Spacing
   ========================================================================== */
.app-site-footer {
    background: #08203d; /* Royal Deep Navy Blue matching logo */
    color: #94a3b8;
    padding: 24px 16px 85px; /* extra bottom padding for bottom-app-nav */
    border-top: 3px solid #0d62b3;
    font-size: 0.82rem;
    line-height: 1.5;
    position: relative;
    z-index: 10;
}

.footer-top-brand {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 14px;
    margin-bottom: 16px;
}

.footer-badges-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 18px;
}

.footer-badge-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-badge-item .badge-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.footer-badge-item .badge-info strong {
    display: block;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
}

.footer-badge-item .badge-info span {
    font-size: 0.64rem;
    color: #94a3b8;
    line-height: 1.2;
    display: block;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 22px;
}

.footer-col {
    min-width: 0;
}

.footer-col-title {
    font-size: 0.80rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.footer-col-title::before {
    content: '';
    width: 3px;
    height: 12px;
    background: #38bdf8;
    border-radius: 2px;
    display: inline-block;
    flex-shrink: 0;
}

.footer-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-link-list li a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.74rem;
    line-height: 1.35;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    word-break: break-word;
    transition: color 0.15s ease, transform 0.15s ease;
}

.footer-link-list li a:hover {
    color: #38bdf8;
    transform: translateX(3px);
}

.footer-link-list li a i {
    font-size: 0.65rem;
    color: #38bdf8;
    width: 12px;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-customer-care {
    margin-bottom: 22px;
}

.footer-contact-block {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: 9px 10px;
    text-decoration: none;
    color: inherit;
    min-width: 0;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.footer-contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(56, 189, 248, 0.3);
}

.footer-contact-item i {
    font-size: 0.95rem;
    color: #38bdf8;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-contact-item .contact-lbl {
    font-size: 0.65rem;
    color: #94a3b8;
    line-height: 1.2;
    margin-bottom: 2px;
}

.footer-contact-item .contact-val {
    font-size: 0.74rem;
    font-weight: 700;
    color: #ffffff;
    word-break: break-word;
    line-height: 1.25;
}

@media (min-width: 768px) {
    .footer-links-grid {
        gap: 32px;
    }
    .footer-contact-block {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }
}

.footer-policies-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 0;
    margin-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    font-size: 0.72rem;
}

.footer-policies-bar a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-policies-bar a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-policies-bar span {
    color: #475569;
}

.footer-copyright-row {
    text-align: center;
    font-size: 0.72rem;
    color: #94a3b8;
    line-height: 1.4;
}

/* ==========================================================================
   3 Animated Floating Action Buttons (Call, WhatsApp, Factory Tour)
   ========================================================================== */
.app-floating-actions {
    position: fixed;
    bottom: 74px; /* Right above 56px bottom-app-nav */
    right: 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    z-index: 995;
    pointer-events: none;
    transition: bottom 0.28s ease, transform 0.28s ease;
}

/* When sticky cart bar is active, raise floating buttons higher */
.app-floating-actions.has-cart-bar {
    bottom: 126px;
}

/* On desktop with centered 520px container, anchor near right edge */
@media (min-width: 560px) {
    .app-floating-actions {
        right: calc(50% - 245px);
    }
}

.floating-btn {
    pointer-events: auto;
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff !important;
    border: 2.5px solid #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
    cursor: pointer;
    user-select: none;
}

.floating-btn:hover {
    transform: scale(1.12);
    color: #ffffff !important;
}

.floating-btn:active {
    transform: scale(0.92);
}

.floating-btn-icon {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* 1. Factory Tour Button (Glowing Rose Video Theme with Beacon & Pulse) */
.floating-btn.btn-tour {
    background: linear-gradient(135deg, #f43f5e, #be123c);
    animation: tourPulse 2.8s infinite;
}

.floating-live-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #fbbf24;
    color: #78350f;
    font-size: 0.55rem;
    font-weight: 900;
    padding: 1px 4px;
    border-radius: 999px;
    border: 1.5px solid #ffffff;
    letter-spacing: 0.2px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    animation: liveBadgeGlow 1.8s infinite alternate;
}

/* 2. Call Button (Royal Logo Blue with Phone Ring Wiggle) */
.floating-btn.btn-call {
    background: linear-gradient(135deg, #0d62b3, #084785);
    animation: callWiggle 3.5s infinite;
}

/* 3. WhatsApp Button (Vibrant WhatsApp Green with Gentle Pulse) */
.floating-btn.btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    animation: waPulse 2.4s infinite;
}

/* Tooltip Labels (Slides out on hover / clear on desktop) */
.floating-btn-tooltip {
    position: absolute;
    right: 58px;
    background: rgba(15, 23, 42, 0.94);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-btn-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    border-width: 5px 0 5px 5px;
    border-style: solid;
    border-color: transparent transparent transparent rgba(15, 23, 42, 0.94);
}

.floating-btn:hover .floating-btn-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Keyframe Animations */
@keyframes waPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7), 0 4px 16px rgba(0, 0, 0, 0.25);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(37, 211, 102, 0), 0 4px 16px rgba(0, 0, 0, 0.25);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 4px 16px rgba(0, 0, 0, 0.25);
    }
}

@keyframes callWiggle {
    0%, 100% {
        transform: rotate(0deg) scale(1);
        box-shadow: 0 0 0 0 rgba(13, 98, 179, 0.5), 0 4px 16px rgba(0, 0, 0, 0.25);
    }
    8% {
        transform: rotate(-14deg) scale(1.05);
        box-shadow: 0 0 0 4px rgba(13, 98, 179, 0.4), 0 4px 16px rgba(0, 0, 0, 0.25);
    }
    16% {
        transform: rotate(14deg) scale(1.05);
    }
    24% {
        transform: rotate(-10deg) scale(1.03);
    }
    32% {
        transform: rotate(10deg) scale(1.03);
    }
    40% {
        transform: rotate(0deg) scale(1);
        box-shadow: 0 0 0 10px rgba(13, 98, 179, 0), 0 4px 16px rgba(0, 0, 0, 0.25);
    }
}

@keyframes tourPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.7), 0 4px 16px rgba(0, 0, 0, 0.25);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(244, 63, 94, 0), 0 4px 16px rgba(0, 0, 0, 0.25);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(244, 63, 94, 0), 0 4px 16px rgba(0, 0, 0, 0.25);
    }
}

@keyframes liveBadgeGlow {
    from {
        transform: scale(1);
        background: #fbbf24;
    }
    to {
        transform: scale(1.12);
        background: #f59e0b;
    }
}




/* Mobile Defaults for Header elements */
.desktop-header-logo {
    display: none !important;
}
.desktop-header-cart {
    display: none !important;
}
.header-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
.header-left-col {
    flex: 1;
    min-width: 0;
}
.header-center-col.search-wrapper {
    width: 100% !important;
    order: 3 !important;
    margin-top: 10px !important;
}
.header-right-col {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* Product Details Page (product.php) Mobile Defaults (< 900px) */
.product-page-container {
    padding: 12px 16px 100px;
    max-width: 600px;
    margin: 0 auto;
}
.product-showcase-grid {
    display: block;
}
.product-gallery-column {
    display: block;
    width: 100%;
}
.product-info-column {
    display: block;
    width: 100%;
}
.product-specs-desktop-grid {
    display: block;
}
.product-recommendations-wrapper {
    margin: 0 -16px 20px;
}

/* ==========================================================================
   DREAM DAIRY — COMPREHENSIVE FULL-WIDTH DESKTOP LAYOUT (>= 900px)
   Full-screen width canvas, 5 products in a row everywhere, clean UI
   ========================================================================== */
@media (min-width: 900px) {

    /* 1. ROOT CANVAS & APP CONTAINER — 100% FULL WIDTH */
    body {
        background-color: #f0f4f8 !important;
        padding-bottom: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .app-container {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 100vh !important;
        margin: 0 !important;
        background: #f0f4f8 !important;
        box-shadow: none !important;
        overflow-x: hidden !important;
    }

    /* 2. STICKY TOP HEADER — FULL WIDTH, LOGO LEFT, SEARCH CENTER, ACTIONS RIGHT */
    .app-header {
        position: sticky !important;
        top: 0 !important;
        z-index: 500 !important;
        background: #ffffff !important;
        border-bottom: 1px solid var(--gray-200) !important;
        padding: 0 32px !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .header-top {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 10px 0 !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 20px !important;
    }

    .header-left-col {
        display: flex !important;
        align-items: center !important;
        gap: 14px !important;
        flex-shrink: 0 !important;
    }

    /* Desktop Logo */
    .desktop-header-logo {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        text-decoration: none !important;
        margin-right: 8px !important;
        flex-shrink: 0 !important;
    }
    .desktop-header-logo img {
        width: 44px !important;
        height: 44px !important;
        object-fit: contain !important;
        border-radius: 10px !important;
        background: #ffffff !important;
        padding: 2px !important;
        box-shadow: 0 2px 6px rgba(0,0,0,0.08) !important;
        border: 1px solid var(--gray-200) !important;
    }
    .desktop-header-brand-info {
        display: flex !important;
        flex-direction: column !important;
        line-height: 1.1 !important;
    }
    .desktop-header-title {
        font-size: 1.25rem !important;
        font-weight: 900 !important;
        color: #0d62b3 !important;
        letter-spacing: -0.3px !important;
    }
    .desktop-header-tag {
        font-size: 0.65rem !important;
        font-weight: 800 !important;
        color: #0d62b3 !important;
        background: #eff6ff !important;
        border: 1px solid #bfdbfe !important;
        padding: 1px 6px !important;
        border-radius: 4px !important;
        width: fit-content !important;
        margin-top: 2px !important;
    }

    .location-picker-btn {
        min-width: 190px !important;
        max-width: 240px !important;
    }

    #activeSectorText {
        max-width: 200px !important;
    }

    /* SEARCH BAR IN CENTER */
    .header-center-col.search-wrapper {
        display: block !important;
        flex: 1 1 540px !important;
        max-width: 650px !important;
        margin: 0 auto !important;
        order: 2 !important;
        position: relative !important;
        width: auto !important;
    }

    .search-input {
        height: 44px !important;
        font-size: 0.92rem !important;
        background: #f8fafc !important;
        border: 1.5px solid var(--gray-200) !important;
        border-radius: 12px !important;
        padding-left: 42px !important;
    }

    .search-icon {
        font-size: 1rem !important;
        left: 14px !important;
    }

    .search-input:focus {
        background: #ffffff !important;
        border-color: var(--brand) !important;
        box-shadow: 0 0 0 3px rgba(13, 98, 179, 0.12) !important;
    }

    /* ACTIONS ON RIGHT */
    .header-right-col {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        flex-shrink: 0 !important;
        order: 3 !important;
        margin-left: 0 !important;
    }

    .desktop-header-cart {
        display: inline-flex !important;
        align-items: center !important;
        gap: 8px !important;
        background: #0d62b3 !important;
        color: #ffffff !important;
        padding: 8px 16px !important;
        border-radius: 20px !important;
        font-size: 0.84rem !important;
        font-weight: 800 !important;
        text-decoration: none !important;
        transition: all 0.2s ease !important;
        box-shadow: 0 2px 6px rgba(13,98,179,0.2) !important;
    }
    .desktop-header-cart:hover {
        background: #084785 !important;
        transform: translateY(-1px) !important;
        color: #ffffff !important;
    }
    .desktop-cart-counter {
        background: #ef4444 !important;
        color: #fff !important;
        font-size: 0.70rem !important;
        font-weight: 800 !important;
        padding: 1px 6px !important;
        border-radius: 999px !important;
    }

    /* 3. DESKTOP SECONDARY NAV STRIP */
    .desktop-nav-strip {
        display: flex !important;
        background: #ffffff !important;
        border-bottom: 1px solid var(--gray-200) !important;
        padding: 0 32px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .desktop-nav-strip-inner {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
        overflow-x: auto !important;
    }

    .desktop-nav-link {
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        padding: 10px 18px !important;
        font-size: 0.86rem !important;
        font-weight: 700 !important;
        color: var(--gray-600) !important;
        text-decoration: none !important;
        border-bottom: 2.5px solid transparent !important;
        transition: all 0.15s ease !important;
        white-space: nowrap !important;
    }

    .desktop-nav-link:hover {
        color: var(--brand) !important;
        border-bottom-color: var(--brand) !important;
    }

    .desktop-nav-link.active {
        color: var(--brand) !important;
        border-bottom-color: var(--brand) !important;
        font-weight: 800 !important;
    }

    /* 4. MAIN CONTENT CANVAS — FULL WIDTH */
    .desktop-main {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px 32px 60px !important;
        box-sizing: border-box !important;
    }

    /* 5. TOP CATEGORIES STRIP ON HOME */
    .category-strip {
        display: flex !important;
        justify-content: space-between !important;
        overflow-x: visible !important;
        padding: 18px 0 !important;
        width: 100% !important;
    }

    .cat-chip {
        flex: 1 !important;
        max-width: 130px !important;
    }

    .cat-circle {
        width: 72px !important;
        height: 72px !important;
        border-radius: 50% !important;
        margin-bottom: 8px !important;
    }

    .cat-name {
        font-size: 0.82rem !important;
        font-weight: 800 !important;
    }

    /* 6. HERO PROMO BANNER */
    .promo-carousel {
        padding: 10px 0 16px !important;
        width: 100% !important;
    }

    .promo-card {
        padding: 24px 36px !important;
        border-radius: 18px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 7. QUICK PROMO TILES (4 IN A ROW) */
    .promo-links-strip {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 16px !important;
        padding: 0 0 16px 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 8. PRODUCT GRIDS — STRICTLY 5 PRODUCTS PER ROW */
    .product-grid {
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        gap: 16px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .compact-grid {
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        gap: 16px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 9. HORIZONTAL PRODUCT CAROUSELS (Deal of the Day, Spotlights, Recently Viewed) -> 5 IN A ROW */
    .horiz-cards-scroll {
        display: flex !important;
        gap: 16px !important;
        overflow-x: auto !important;
        padding: 8px 0 18px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .horiz-card-item {
        flex: 0 0 calc((100% - 4 * 16px) / 5) !important;
        width: calc((100% - 4 * 16px) / 5) !important;
        max-width: calc((100% - 4 * 16px) / 5) !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        border-radius: 14px !important;
        padding: 12px 10px !important;
        background: #ffffff !important;
        transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    }

    .horiz-card-item:hover,
    .product-card:hover {
        transform: translateY(-3px) !important;
        box-shadow: 0 8px 24px rgba(0,0,0,0.08) !important;
    }

    .horiz-card-item div[style*="height: 90px"] {
        height: 130px !important;
    }

    .horiz-card-item img {
        max-height: 110px !important;
    }

    .product-card {
        border-radius: 14px !important;
        padding: 12px 10px !important;
        background: #ffffff !important;
        border: 1px solid var(--gray-200) !important;
        box-shadow: 0 1px 3px rgba(0,0,0,0.03) !important;
        transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    }

    .product-img-box {
        aspect-ratio: 1/1 !important;
        max-height: 200px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #f8fafc !important;
        border-radius: 10px !important;
        margin-bottom: 8px !important;
    }

    .product-img-box img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }

    .product-title {
        font-size: 0.84rem !important;
        height: 34px !important;
        line-height: 1.25 !important;
    }

    .product-hindi {
        font-size: 0.70rem !important;
        margin-bottom: 6px !important;
    }

    .current-price {
        font-size: 0.95rem !important;
    }

    .btn-add {
        height: 32px !important;
        font-size: 0.82rem !important;
        border-radius: 8px !important;
    }

    .stepper-box {
        height: 32px !important;
    }

    /* 10. PRODUCT SECTIONS & HEADERS */
    .product-section {
        padding: 20px 0 !important;
        width: 100% !important;
    }

    .section-title {
        font-size: 1.3rem !important;
    }

    /* 11. HIDE MOBILE BOTTOM NAV BAR */
    .bottom-app-nav {
        display: none !important;
    }

    /* 12. FLOATING BAR & ACTIONS ON DESKTOP */
    .floating-cart-bar {
        max-width: 520px !important;
        bottom: 24px !important;
        border-radius: 16px !important;
    }

    .app-floating-actions {
        bottom: 32px !important;
        right: 32px !important;
    }

    /* 13. FULL-WIDTH FOOTER */
    .app-site-footer {
        width: 100% !important;
        border-radius: 0 !important;
    }

    .footer-top-brand,
    .footer-badges-grid,
    .footer-links-grid,
    .footer-bottom-row,
    .footer-copyright-row {
        max-width: 100% !important;
        padding-left: 32px !important;
        padding-right: 32px !important;
    }

    .footer-badges-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 16px !important;
    }

    .footer-links-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 24px !important;
    }

    /* 14. MODALS CENTERED */
    .modal-overlay {
        align-items: center !important;
    }

    .modal-sheet,
    .loc-modal-sheet {
        border-radius: 20px !important;
        max-height: 80vh !important;
        width: 540px !important;
    }

    .sheet-handle {
        display: none !important;
    }

    /* 15. CENTERED UTILITY & FORM PAGES (Login, Partner B2B, Referral, Wallet, Cart, Checkout) */
    .desktop-card-page {
        margin: 36px auto 60px !important;
        background: #ffffff !important;
        border-radius: 20px !important;
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06) !important;
        border: 1px solid var(--gray-200) !important;
        box-sizing: border-box !important;
    }

    .login-page-card {
        max-width: 480px !important;
        padding: 40px 36px !important;
    }

    .partner-page-card {
        max-width: 780px !important;
        padding: 36px 40px !important;
    }

    .referral-page-card {
        max-width: 780px !important;
        padding: 36px 40px !important;
    }

    .wallet-page-card {
        max-width: 780px !important;
        padding: 32px 36px !important;
    }

    .checkout-page-card {
        max-width: 780px !important;
        padding: 32px 36px !important;
    }

    .account-page-card {
        max-width: 780px !important;
        padding: 32px 36px !important;
    }

    /* 16. PRODUCT DETAILS PAGE (product.php) DESKTOP 2-COLUMN SHOWCASE */
    .product-page-container {
        max-width: 1320px !important;
        margin: 24px auto 60px !important;
        padding: 0 32px 60px !important;
    }

    .product-top-nav {
        margin-bottom: 20px !important;
    }

    .product-showcase-grid {
        display: grid !important;
        grid-template-columns: 480px 1fr !important;
        gap: 36px !important;
        align-items: start !important;
        margin-bottom: 32px !important;
    }

    .product-gallery-column {
        position: sticky !important;
        top: 96px !important;
    }

    .product-gallery-card {
        padding: 24px !important;
        border-radius: 20px !important;
        margin-bottom: 0 !important;
    }

    .product-main-img-box {
        height: 420px !important;
        max-height: 420px !important;
    }

    .product-main-img-box img {
        max-height: 380px !important;
    }

    .product-info-column {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }

    .product-info-card {
        padding: 24px !important;
        border-radius: 20px !important;
        margin-bottom: 0 !important;
    }

    .product-detail-title {
        font-size: 1.65rem !important;
        line-height: 1.3 !important;
    }

    .product-specs-card {
        margin-bottom: 32px !important;
        padding: 28px !important;
        border-radius: 20px !important;
    }

    .product-specs-desktop-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 32px !important;
    }

    .product-recommendations-wrapper {
        margin: 36px 0 28px !important;
    }

    .product-recommendations-wrapper .horiz-cards-scroll {
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        gap: 16px !important;
        overflow-x: visible !important;
        padding: 0 !important;
    }

    .product-recommendations-wrapper .horiz-card-item {
        width: 100% !important;
        flex: none !important;
    }
}

