/* ============================================================
   Door Pe Store — Global CSS (main.css)
   Path: app/dist/assets/vendor/css/main.css
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* ── Brand Colors ── */
    --yellow:        #f8c200;
    --yellow-dark:   #e6b800;
    --yellow-light:  #fff9e6;

    --green:         #0c831f;   /* primary green (Blinkit discount green) */
    --green-dark:    #0b5e42;   /* deep green (auth pages) */
    --green-mid:     #059669;
    --green-light:   #eafbec;
    --green-bg:      #f0faf5;   /* very light green bg */

    /* ── Header ── */
    --header-bg:     #0c831f;   /* GREEN header instead of pure yellow */
    --header-text:   #ffffff;
    --header-sub:    rgba(255,255,255,0.75);
    --logo-bg:       #f8c200;   /* yellow logo box on green header */
    --logo-icon-clr: #1a1a1a;

    /* ── Neutrals ── */
    --white:         #ffffff;
    --bg:            #f2f2f2;
    --card-bg:       #ffffff;
    --border:        #e8e8e8;

    /* ── Text ── */
    --text-primary:  #1a1a1a;
    --text-sec:      #666666;
    --text-muted:    #999999;

    /* ── Commerce ── */
    --red:           #d32f2f;
    --orange:        #ff6900;

    /* ── Shadows & Radius ── */
    --shadow-sm:     0 1px 4px rgba(0,0,0,0.08);
    --shadow-md:     0 4px 12px rgba(0,0,0,0.10);
    --radius-sm:     8px;
    --radius-md:     12px;
    --radius-lg:     16px;
    --header-h:      56px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.5;
    -webkit-tap-highlight-color: transparent;
    padding-bottom: 70px; /* space for mobile bottom nav */
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

/* ── Typography helpers ── */
.fw-700 { font-weight: 700 !important; }
.fw-800 { font-weight: 800 !important; }

/* ── Header ── */
.dps-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: var(--header-bg);
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.header-top {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
}

/* On mobile: logo stays left, actions pushed to far right */
@media (max-width: 767px) {
    .header-top {
        justify-content: space-between;
        gap: 8px;
    }
}

/* Logo */
.dps-logo {
    display: flex; align-items: center; gap: 8px;
    text-decoration: none; flex-shrink: 0;
}
.logo-box {
    width: 36px; height: 36px;
    background: var(--logo-bg);        /* yellow box on green header */
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--logo-icon-clr); font-size: 1.1rem;
    flex-shrink: 0;
}
.logo-box.sm { width: 28px; height: 28px; font-size: 0.85rem; border-radius: 8px; }
.logo-name { display: block; font-weight: 800; font-size: 0.95rem; color: #fff; line-height: 1.1; }
.logo-sub  { display: block; font-size: 0.65rem; color: var(--header-sub); font-weight: 500; }

/* Address */
.header-address {
    display: flex; align-items: center; gap: 6px;
    flex-shrink: 0; cursor: pointer;
    color: #fff;
    min-width: 0; max-width: 180px;
}
.header-address i { font-size: 1rem; flex-shrink: 0; color: var(--yellow); }
.addr-label { font-size: 0.65rem; font-weight: 600; color: var(--header-sub); line-height: 1; }
.addr-val   { font-size: 0.8rem; font-weight: 700; color: #fff; line-height: 1.2;
              white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }

/* Search */
.header-search-wrap { flex: 1; min-width: 0; position: relative; }
.search-bar {
    display: flex; align-items: center;
    background: #fff;
    border-radius: 10px;
    padding: 0 12px;
    height: 40px;
    gap: 8px;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}
.search-bar:focus-within { border-color: var(--yellow); }
.search-icon-left { color: #999; font-size: 0.95rem; flex-shrink: 0; }
.search-input {
    flex: 1; border: none; outline: none;
    font-size: 0.88rem; font-family: 'Inter', sans-serif;
    background: transparent; color: var(--text-primary);
    min-width: 0;
}
.search-input::placeholder { color: #aaa; }
.search-clear { background: none; border: none; color: #999; padding: 0; font-size: 1rem; }

/* Mobile search row */
.header-search-mobile {
    padding: 0 10px 8px;
    position: relative;
}
.header-search-mobile .search-bar {
    height: 38px;
}

/* Search Dropdown */
.search-dropdown {
    position: absolute; top: calc(100% + 4px);
    left: 0; right: 0;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    z-index: 1050;
    max-height: 400px; overflow-y: auto;
}
.sdrop-section-title {
    font-size: 0.7rem; font-weight: 700; color: var(--text-muted);
    padding: 8px 14px 4px; text-transform: uppercase; letter-spacing: .04em;
}
.sdrop-item {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 14px; cursor: pointer;
    transition: background 0.15s;
    border-bottom: 1px solid #f5f5f5;
}
.sdrop-item:hover { background: var(--yellow-light); }
.sdrop-item:last-child { border-bottom: none; }
.sdrop-img {
    width: 38px; height: 38px; border-radius: 8px;
    object-fit: cover; border: 1px solid var(--border);
    flex-shrink: 0; background: #f5f5f5;
}
.sdrop-img-placeholder {
    width: 38px; height: 38px; border-radius: 8px;
    background: #f5f5f5; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    color: #ccc; font-size: 1.1rem;
}
.sdrop-name  { font-size: 0.82rem; font-weight: 600; color: var(--text-primary); }
.sdrop-meta  { font-size: 0.72rem; color: var(--text-muted); }
.sdrop-price { font-size: 0.82rem; font-weight: 700; color: var(--green); margin-left: auto; flex-shrink:0; }
.sdrop-tag   { font-size: 0.75rem; font-weight: 600; padding: 6px 14px; cursor:pointer; }
.sdrop-tag:hover { background: var(--yellow-light); }
.sdrop-empty { padding: 20px; text-align: center; color: var(--text-muted); font-size: 0.82rem; }

/* Header Actions */
.header-actions {
    display: flex; align-items: center; gap: 6px; flex-shrink: 0;
    margin-left: auto; /* push to right on mobile */
}
.hdr-btn {
    position: relative;
    background: rgba(255,255,255,0.15); border: none;
    width: 38px; height: 38px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: #fff;
    transition: background 0.15s;
    text-decoration: none;
}
.hdr-btn:hover { background: rgba(255,255,255,0.25); color: #fff; }
.badge-count {
    position: absolute; top: -4px; right: -4px;
    background: var(--yellow); color: #1a1a1a;
    font-size: 0.6rem; font-weight: 800;
    width: 16px; height: 16px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 1.5px solid var(--green);
}
.hdr-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; color: #fff;
    overflow: hidden; padding: 0;
}
.hdr-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hdr-avatar::after { display: none !important; }

/* Login button — yellow on green header */
.hdr-login-btn {
    background: var(--yellow); color: #1a1a1a;
    border: none; border-radius: 8px;
    padding: 7px 14px; font-size: 0.82rem; font-weight: 800;
    text-decoration: none; display: flex; align-items: center;
    transition: all 0.2s; white-space: nowrap;
}
.hdr-login-btn:hover { background: var(--yellow-dark); color: #1a1a1a; transform: translateY(-1px); }

/* Dropdown menu */
.dps-dropdown {
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    min-width: 180px;
    padding: 6px 0;
}
.dps-dropdown .dropdown-header {
    padding: 8px 14px 6px;
    font-size: 0.82rem; color: var(--text-primary);
}
.dps-dropdown .dropdown-item {
    padding: 8px 14px; font-size: 0.82rem;
    display: flex; align-items: center;
    color: var(--text-primary);
}
.dps-dropdown .dropdown-item:hover { background: var(--yellow-light); }

/* ── Category Nav Bar ── */
.category-nav {
    background: #fff;
    border-top: 1px solid rgba(0,0,0,0.08);
    overflow: hidden;
}
.cat-nav-inner {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.cat-nav-inner::-webkit-scrollbar { display: none; }
.cat-nav-item {
    white-space: nowrap;
    padding: 9px 16px;
    font-size: 0.78rem; font-weight: 600;
    color: var(--text-sec);
    border-bottom: 2px solid transparent;
    cursor: pointer; transition: all 0.15s;
    text-decoration: none;
    flex-shrink: 0;
}
.cat-nav-item:hover, .cat-nav-item.active {
    color: var(--green);
    border-bottom-color: var(--green);
}

/* ── Header Spacer ── */
#headerSpacer {
    height: var(--header-h);
    min-height: 130px; /* safe fallback until JS measures real header */
}
@media (min-width: 768px) {
    #headerSpacer { min-height: 100px; }
}

/* ── Cart Offcanvas ── */
.dps-offcanvas {
    width: 360px !important;
    border-left: 1px solid var(--border);
}
.dps-offcanvas .offcanvas-header {
    background: var(--green);
    padding: 14px 16px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    color: #fff;
}
.dps-offcanvas .offcanvas-title { color: #fff; }
.dps-offcanvas .btn-close { filter: invert(1); }
.cart-item-count {
    background: var(--yellow); color: #1a1a1a;
    font-size: 0.7rem; font-weight: 700;
    padding: 1px 7px; border-radius: 10px;
}
.cart-empty {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    height: 100%; padding: 40px 20px; text-align: center;
}
.cart-empty i { font-size: 3.5rem; color: #ddd; margin-bottom: 12px; }
.cart-empty-title { font-weight: 700; font-size: 1rem; margin-bottom: 6px; }
.cart-empty-sub { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 20px; }
.cart-item {
    display: flex; gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    background: #fff;
}
.cart-item-img {
    width: 56px; height: 56px; border-radius: 8px;
    object-fit: cover; border: 1px solid var(--border);
    flex-shrink: 0; background: #f5f5f5;
}
.cart-item-img-ph {
    width: 56px; height: 56px; border-radius: 8px;
    background: #f5f5f5; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    color: #ccc; font-size: 1.5rem;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 0.82rem; font-weight: 600; color: var(--text-primary);
                  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-unit { font-size: 0.72rem; color: var(--text-muted); }
.cart-item-price { font-size: 0.88rem; font-weight: 800; color: var(--text-primary); margin-top: 4px; }
.cart-item-mrp   { font-size: 0.72rem; color: var(--text-muted); text-decoration: line-through; margin-left: 4px; }
.qty-ctrl {
    display: flex; align-items: center; gap: 0;
    border: 1.5px solid var(--yellow); border-radius: 8px;
    overflow: hidden; margin-top: 6px; width: fit-content;
}
.qty-btn {
    background: var(--yellow); border: none;
    width: 28px; height: 26px;
    font-size: 1rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: background 0.15s;
}
.qty-btn:hover { background: var(--yellow-dark); }
.qty-val {
    width: 32px; text-align: center;
    font-size: 0.82rem; font-weight: 700;
    background: #fff; border: none; outline: none;
    padding: 0; height: 26px; line-height: 26px;
}
.cart-item-remove {
    background: none; border: none;
    color: #bbb; font-size: 1rem; padding: 2px;
    align-self: flex-start; transition: color 0.15s;
}
.cart-item-remove:hover { color: var(--red); }

/* Cart Footer */
.cart-footer {
    padding: 14px 16px;
    border-top: 1px solid var(--border);
    background: #fff;
}
.cart-subtotal {
    display: flex; justify-content: space-between;
    font-size: 0.9rem; font-weight: 600;
    margin-bottom: 8px;
}
.free-delivery-note {
    font-size: 0.75rem; color: var(--green);
    font-weight: 600; margin-bottom: 10px;
}
.btn-checkout {
    display: flex; align-items: center; justify-content: center;
    width: 100%; padding: 13px;
    background: var(--yellow); color: #1a1a1a;
    border: none; border-radius: var(--radius-sm);
    font-size: 0.92rem; font-weight: 800;
    text-decoration: none;
    transition: background 0.2s;
}
.btn-checkout:hover { background: var(--yellow-dark); color: #1a1a1a; }

/* ── Main Content ── */
.dps-main { max-width: 1280px; margin: 0 auto; padding: 0 12px 16px; }

/* ── Promise Bar ── */
.promise-bar {
    display: flex; gap: 0;
    background: #fff;
    border-radius: var(--radius-sm);
    margin: 12px 0 0;
    overflow: hidden;
    border: 1px solid var(--border);
}
.promise-item {
    flex: 1; display: flex; align-items: center;
    justify-content: center; gap: 6px;
    padding: 10px 8px;
    font-size: 0.72rem; font-weight: 600;
    color: var(--text-primary);
    border-right: 1px solid var(--border);
}
.promise-item:last-child { border-right: none; }
.promise-item i { font-size: 0.95rem; color: var(--green); }

/* ── Sections ── */
.dps-section { margin-top: 20px; }
.section-header {
    display: flex; justify-content: space-between;
    align-items: center; margin-bottom: 12px;
}
.section-title {
    font-size: 1rem; font-weight: 800;
    color: var(--text-primary);
}
.see-all {
    font-size: 0.78rem; font-weight: 700;
    color: var(--green); text-decoration: none;
    display: flex; align-items: center; gap: 3px;
}
.see-all:hover { text-decoration: underline; }

/* ── Product Card ── */
.product-card {
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
    cursor: pointer;
    position: relative;
    display: flex; flex-direction: column;
}
.product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.prod-img-wrap {
    position: relative;
    padding-top: 100%; /* square */
    background: #f9f9f9;
    overflow: hidden;
}
.prod-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 8px;
    transition: transform 0.3s;
}
.product-card:hover .prod-img { transform: scale(1.04); }
.prod-img-placeholder {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    color: #ddd; font-size: 2.5rem;
}
.disc-badge {
    position: absolute; top: 8px; left: 8px;
    background: var(--green); color: #fff;
    font-size: 0.65rem; font-weight: 800;
    padding: 2px 7px; border-radius: 20px;
    line-height: 1.4;
}
.wish-btn {
    position: absolute; top: 6px; right: 6px;
    background: rgba(255,255,255,0.9);
    border: none; border-radius: 50%;
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem; color: #ccc;
    transition: all 0.2s; z-index: 1;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.wish-btn.active, .wish-btn:hover { color: #e53935; }
.wish-btn.active { background: #fff0f0; }

.prod-body { padding: 8px 10px 10px; flex: 1; display: flex; flex-direction: column; }
.prod-name {
    font-size: 0.8rem; font-weight: 600;
    color: var(--text-primary); line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden; margin-bottom: 2px;
}
.prod-unit { font-size: 0.7rem; color: var(--text-muted); margin-bottom: 6px; }
.prod-price-row {
    display: flex; align-items: center; gap: 4px;
    margin-bottom: 8px;
}
.prod-price { font-size: 0.9rem; font-weight: 800; color: var(--text-primary); }
.prod-mrp   { font-size: 0.72rem; color: var(--text-muted); text-decoration: line-through; }

/* ADD / Qty control on card */
.prod-add-btn {
    display: flex; align-items: center; justify-content: center;
    background: var(--yellow); border: 2px solid var(--yellow-dark);
    border-radius: 8px; padding: 7px; width: 100%;
    font-size: 0.82rem; font-weight: 800; color: #1a1a1a;
    transition: all 0.15s; margin-top: auto;
}
.prod-add-btn:hover { background: var(--yellow-dark); }
.prod-qty-ctrl {
    display: flex; align-items: center;
    border: 2px solid var(--yellow); border-radius: 8px;
    overflow: hidden; width: 100%; margin-top: auto;
}
.prod-qty-btn {
    background: var(--yellow); border: none;
    flex: 0 0 34px; height: 32px;
    font-size: 1.1rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: background 0.15s;
}
.prod-qty-btn:hover { background: var(--yellow-dark); }
.prod-qty-val {
    flex: 1; text-align: center;
    font-size: 0.85rem; font-weight: 800;
    background: #fff;
}

/* ── Products Row (horizontal scroll) ── */
.products-row {
    display: flex; gap: 10px;
    overflow-x: auto; padding-bottom: 6px;
    scrollbar-width: none; -ms-overflow-style: none;
}
.products-row::-webkit-scrollbar { display: none; }
.products-row .product-card { flex: 0 0 150px; }
@media (min-width: 576px) { .products-row .product-card { flex: 0 0 170px; } }
@media (min-width: 768px) { .products-row .product-card { flex: 0 0 190px; } }

/* ── Products Grid ── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
@media (min-width: 576px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .products-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 992px) { .products-grid { grid-template-columns: repeat(5, 1fr); } }

/* ── Skeletons ── */
.skeleton-wrap { display: flex; gap: 10px; overflow: hidden; }
.cat-skeleton {
    flex: 0 0 80px; height: 90px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
    border-radius: var(--radius-md);
}
.prod-skeleton {
    flex: 0 0 150px; height: 220px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
    border-radius: var(--radius-md);
}
@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}


/* ══════════════════════════════════════════════════
   PAGE LOADER — shared (green bg, yellow logo)
══════════════════════════════════════════════════ */
#pageLoader {
    position: fixed; inset: 0; z-index: 9999;
    background: #0c831f;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    overflow: hidden;
    transition: opacity 0.5s ease;
}
/* Loader hidden via inline styles in main.js */
.pl-circle { position:absolute; border-radius:50%; background:rgba(255,255,255,0.06); pointer-events:none; }
.pl-c1 { width:300px;height:300px;top:-80px;left:-80px;animation:plFloat 6s ease-in-out infinite; }
.pl-c2 { width:200px;height:200px;bottom:-60px;right:-60px;animation:plFloat 8s ease-in-out infinite reverse; }
.pl-c3 { width:130px;height:130px;top:40%;right:10%;background:rgba(248,194,0,0.12);animation:plFloat 5s ease-in-out infinite 1s; }
@keyframes plFloat { 0%,100%{transform:translateY(0) scale(1);}50%{transform:translateY(-20px) scale(1.05);} }
.loader-card {
    background: rgba(255,255,255,0.10);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-radius: 28px; padding: 38px 48px;
    display: flex; flex-direction: column; align-items: center; gap: 14px;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 20px 60px rgba(0,0,0,0.2); min-width: 240px;
}
.loader-logo {
    width:76px;height:76px;background:var(--yellow);border-radius:24px;
    display:flex;align-items:center;justify-content:center;
    font-size:2.2rem;color:var(--green-dark);
    box-shadow:0 12px 36px rgba(248,194,0,0.4);
    animation:loaderBounce 1.6s cubic-bezier(0.36,0.07,0.19,0.97) infinite;
    border:3px solid rgba(255,255,255,0.3);
}
@keyframes loaderBounce {
    0%,100%{transform:translateY(0) rotate(0deg);}
    20%{transform:translateY(-10px) rotate(-3deg);}
    40%{transform:translateY(0px) rotate(3deg);}
    60%{transform:translateY(-5px) rotate(0deg);}
}
.loader-brand { font-size:1.2rem;font-weight:900;color:#fff;letter-spacing:-0.3px;text-align:center; }
.loader-sub   { font-size:0.72rem;font-weight:500;color:rgba(255,255,255,0.7);text-align:center;margin-top:-8px; }
.loader-progress-wrap { width:160px;height:4px;background:rgba(255,255,255,0.2);border-radius:4px;overflow:hidden;margin-top:6px; }
.loader-progress-bar  { height:100%;width:40%;background:var(--yellow);border-radius:4px;animation:loaderProgress 1.4s ease-in-out infinite; }
@keyframes loaderProgress { 0%{width:0%;margin-left:0;}50%{width:60%;margin-left:20%;}100%{width:0%;margin-left:100%;} }

/* ── Footer ── */
.dps-footer {
    background: #1a1a1a; color: #fff;
    padding: 20px 16px; margin-top: 30px;
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.footer-name   { font-weight: 800; font-size: 1rem; }
.footer-links  { display: flex; gap: 16px; margin-bottom: 10px; }
.footer-links a { font-size: 0.82rem; color: #aaa; }
.footer-links a:hover { color: var(--yellow); }
.footer-copy   { font-size: 0.72rem; color: #666; }

/* ── Mobile Bottom Nav ── */
.mobile-bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: #fff; z-index: 900;
    display: flex;
    border-top: 1px solid var(--border);
    box-shadow: 0 -2px 8px rgba(0,0,0,0.06);
}
.mob-nav-item {
    flex: 1; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 2px; padding: 8px 4px;
    font-size: 0.6rem; font-weight: 600;
    color: var(--text-muted); text-decoration: none;
    border: none; background: none; position: relative;
    transition: color 0.15s;
}
.mob-nav-item i { font-size: 1.2rem; }
.mob-nav-item.active, .mob-nav-item:hover { color: var(--green); }
.mob-nav-item.active i { color: var(--green); }
.mob-badge {
    position: absolute; top: 4px;
    background: var(--green); color: #fff;
    font-size: 0.55rem; font-weight: 800;
    min-width: 14px; height: 14px;
    border-radius: 7px; padding: 0 3px;
    display: flex; align-items: center; justify-content: center;
    left: 50%; transform: translateX(4px);
}

/* ── Toast ── */
.dps-toast-wrap {
    position: fixed; bottom: 80px; left: 50%;
    transform: translateX(-50%); z-index: 9999;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.dps-toast {
    background: #1a1a1a; color: #fff;
    padding: 9px 18px; border-radius: 20px;
    font-size: 0.82rem; font-weight: 600;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
    animation: toastIn 0.3s ease;
    display: flex; align-items: center; gap: 7px;
    white-space: nowrap;
}
.dps-toast.success i { color: #4caf50; }
.dps-toast.error   i { color: #f44336; }
@keyframes toastIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Utility ── */
.text-green  { color: var(--green) !important; }
.text-red    { color: var(--red) !important; }
.text-yellow { color: var(--yellow-dark) !important; }
.bg-yellow   { background: var(--yellow) !important; }

/* ── Logout Confirm Modal ── */
/* Override Bootstrap modal centering to ensure it works on mobile */
#logoutModal .modal-dialog {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100% - 1rem);
    margin: 0.5rem auto;
    max-width: 300px !important;
    width: calc(100% - 32px);
}
#logoutModal .modal-content {
    border: none;
    border-radius: 18px !important;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
#logoutModal .modal-body { padding: 24px 20px 16px !important; }
#logoutModal .modal-footer {
    display: flex !important;
    border: none !important;
    padding: 0 !important;
    border-top: 1px solid #eee !important;
}
.logout-modal-btn {
    flex: 1; padding: 14px; border: none; background: #fff;
    font-size: .9rem; font-weight: 600; cursor: pointer;
    font-family: inherit; transition: background .15s;
}
.logout-modal-btn:first-child { border-right: 1px solid #eee; color: #666; }
.logout-modal-btn.confirm { color: #ef4444; font-weight: 800; }
.logout-modal-btn:hover { background: #f9f9f9; }
