﻿:root {
    --primary: #0c831f;
    --primary-dark: #096418;
    --accent: #ffc107;
    --text: #1c1c1c;
    --text-light: #6b6b6b;
    --bg: #ffffff;
    --bg-light: #f7f7f7;
    --border: #e5e5e5;
    --radius: 10px;
    --shadow: 0 2px 12px rgba(0,0,0,0.06);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* HEADER */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-box {
    flex: 1;
    display: flex;
    max-width: 500px;
}

.search-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 8px 0 0 8px;
    font-size: 14px;
    outline: none;
}

    .search-input:focus {
        border-color: var(--primary);
    }

.search-btn {
    padding: 10px 18px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    font-weight: 600;
}

.nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

    .nav-link:hover {
        color: var(--primary);
    }

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--accent);
    color: #000;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--text);
}

/* CATEGORY NAV */
.cat-nav {
    background: var(--bg-light);
    border-top: 1px solid var(--border);
}

    .cat-nav .container {
        display: flex;
        gap: 20px;
        padding: 10px 16px;
        overflow-x: auto;
    }

.cat-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

    .cat-link:hover {
        color: var(--primary);
    }

/* HERO */
.hero {
    background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
    padding: 40px 0;
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: 30px;
}

.hero-text h1 {
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 12px;
}

    .hero-text h1 span {
        color: var(--primary);
    }

.hero-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 16px;
}

.hero-img img {
    max-width: 320px;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 11px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

    .btn-primary:hover {
        background: var(--primary-dark);
    }

.btn-add {
    background: var(--primary);
    color: #fff;
    padding: 6px 14px;
    font-size: 13px;
    width: 100%;
    text-align: center;
}

/* SECTIONS */
.section {
    padding: 40px 0;
}

.bg-light {
    background: var(--bg-light);
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

    .section-head h2 {
        font-size: 24px;
    }

.see-all {
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

/* CATEGORY GRID */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 16px;
}

.cat-card {
    text-align: center;
    text-decoration: none;
    color: var(--text);
    background: #fff;
    border-radius: var(--radius);
    padding: 14px;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}

    .cat-card:hover {
        transform: translateY(-3px);
    }

    .cat-card img {
        width: 70px;
        height: 70px;
        object-fit: contain;
        margin-bottom: 8px;
    }

    .cat-card span {
        font-size: 13px;
        font-weight: 600;
    }

/* PRODUCT GRID */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}

.product-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

    .product-card img {
        width: 100%;
        height: 140px;
        object-fit: cover;
    }

.product-info {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

    .product-info h3 {
        font-size: 14px;
        font-weight: 600;
    }

.unit {
    font-size: 12px;
    color: var(--text-light);
}

.price-row {
    display: flex;
    gap: 8px;
    align-items: baseline;
}

.price {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
}

.mrp {
    font-size: 12px;
    color: var(--text-light);
    text-decoration: line-through;
}

/* OFFERS */
.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.offer-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

    .offer-card img {
        width: 100%;
        height: 140px;
        object-fit: cover;
    }

.offer-info {
    padding: 12px;
}

    .offer-info h3 {
        font-size: 16px;
        margin-bottom: 4px;
    }

    .offer-info p {
        font-size: 13px;
        color: var(--text-light);
        margin-bottom: 8px;
    }

.coupon {
    display: inline-block;
    background: #fff8e1;
    color: #b8860b;
    border: 1px dashed var(--accent);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

/* TRUST */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.trust-card {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

    .trust-card i {
        font-size: 28px;
        color: var(--primary);
        margin-bottom: 10px;
    }

    .trust-card h4 {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .trust-card p {
        font-size: 13px;
        color: var(--text-light);
    }

/* FOOTER */
.footer {
    background: #1c1c1c;
    color: #ccc;
    padding: 40px 0 0;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
    padding-bottom: 24px;
}

.footer h4 {
    color: #fff;
    margin-bottom: 12px;
    font-size: 16px;
}

.footer a {
    display: block;
    color: #ccc;
    text-decoration: none;
    font-size: 13px;
    margin-bottom: 6px;
}

    .footer a:hover {
        color: var(--accent);
    }

.footer p {
    font-size: 13px;
    margin-bottom: 6px;
}

.footer-bottom {
    border-top: 1px solid #333;
    text-align: center;
    padding: 14px 0;
    font-size: 12px;
}

/* MOBILE */
@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
    }

    .search-box {
        order: 3;
        width: 100%;
        max-width: 100%;
        margin-top: 8px;
    }

    .nav {
        gap: 12px;
    }

    .nav-link span:not(.cart-count) {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .cat-nav {
        display: none;
    }

        .cat-nav.open {
            display: block;
        }

        .cat-nav .container {
            flex-wrap: wrap;
        }

    .hero-inner {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .hero-img img {
        max-width: 220px;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }

    .cat-grid {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    }
}

/* ============================================
   AUTH PAGES (Login/Signup)
   ============================================ */
.auth-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    min-height: calc(100vh - 300px);
    background: var(--bg-light);
}

.auth-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 420px;
    padding: 32px 28px;
}

    .auth-card h2 {
        font-size: 24px;
        margin-bottom: 6px;
    }

.auth-sub {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 16px;
}

    .form-group label {
        display: block;
        font-size: 13px;
        font-weight: 600;
        margin-bottom: 6px;
    }

.form-control {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
}

    .form-control:focus {
        border-color: var(--primary);
    }

.btn-block {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    margin-top: 8px;
}

.alert {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 16px;
}

.alert-error {
    background: #fdecea;
    color: #b71c1c;
    border: 1px solid #f5c6cb;
}

.val-error {
    color: #c62828;
    font-size: 12px;
    display: block;
    margin-top: 4px;
}

.auth-foot {
    text-align: center;
    font-size: 13px;
    color: var(--text-light);
    margin-top: 18px;
}

    .auth-foot a {
        color: var(--primary);
        font-weight: 600;
        text-decoration: none;
    }

/* ============================================
   ADMIN LOGIN
   ============================================ */
.admin-login-body {
    background: linear-gradient(135deg, #0c831f 0%, #096418 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.admin-login-wrap {
    width: 100%;
    max-width: 400px;
}

.admin-login-card {
    background: #fff;
    border-radius: 14px;
    padding: 34px 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.admin-login-brand {
    text-align: center;
    margin-bottom: 24px;
}

    .admin-login-brand i {
        font-size: 38px;
        color: var(--primary);
        margin-bottom: 8px;
    }

    .admin-login-brand h1 {
        font-size: 22px;
        margin-bottom: 4px;
    }

    .admin-login-brand p {
        font-size: 13px;
        color: var(--text-light);
    }

.admin-hint {
    text-align: center;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 16px;
}

    .admin-hint strong {
        color: var(--primary);
    }


/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 18px;
    flex-wrap: wrap;
}

    .breadcrumb a {
        color: var(--text-light);
        text-decoration: none;
    }

        .breadcrumb a:hover {
            color: var(--primary);
        }

    .breadcrumb i {
        font-size: 10px;
    }

    .breadcrumb span {
        color: var(--text);
        font-weight: 500;
    }

/* ============================================
   LISTING HEAD
   ============================================ */
.listing-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 8px;
}

    .listing-head h1 {
        font-size: 26px;
    }

.result-count {
    font-size: 13px;
    color: var(--text-light);
}

/* ============================================
   FILTER BAR
   ============================================ */
.filter-bar {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    align-items: flex-end;
    padding: 14px 16px;
    background: var(--bg-light);
    border-radius: var(--radius);
}

.filter-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 160px;
}

    .filter-item label {
        font-size: 12px;
        font-weight: 600;
        color: var(--text-light);
    }

.filter-select {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    background: #fff;
    outline: none;
    cursor: pointer;
    font-family: inherit;
}

    .filter-select:focus {
        border-color: var(--primary);
    }

.btn-clear {
    padding: 8px 14px;
    background: #fff;
    color: #c62828;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
    font-weight: 600;
}

    .btn-clear:hover {
        background: #fdecea;
    }

/* ============================================
   PRODUCT CARD EXTRAS
   ============================================ */
.product-link {
    text-decoration: none;
    color: inherit;
}

.product-img-wrap {
    position: relative;
    width: 100%;
    height: 140px;
    background: #f7f7f7;
    overflow: hidden;
}

    .product-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.badge-featured {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--accent);
    color: #000;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.wishlist-toggle {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255,255,255,0.9);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c62828;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

    .wishlist-toggle:hover {
        transform: scale(1.1);
    }

.product-card {
    position: relative;
}

.product-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px;
}

.btn-out-of-stock {
    background: #eee;
    color: #999;
    padding: 8px 14px;
    border-radius: 8px;
    width: 100%;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: not-allowed;
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    min-width: 40px;
    justify-content: center;
}

    .page-btn:hover {
        border-color: var(--primary);
        color: var(--primary);
    }

    .page-btn.active {
        background: var(--primary);
        color: #fff;
        border-color: var(--primary);
    }

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-light);
    border-radius: var(--radius);
}

    .empty-state i {
        font-size: 48px;
        color: var(--text-light);
        margin-bottom: 16px;
    }

    .empty-state h3 {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .empty-state p {
        color: var(--text-light);
        font-size: 14px;
    }

/* ============================================
   SEARCH PAGE
   ============================================ */
.search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

    .search-header h1 {
        font-size: 26px;
    }

.search-inline {
    display: flex;
    max-width: 420px;
    flex: 1;
}

.search-term {
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-light);
}

/* ============================================
   PRODUCT DETAILS
   ============================================ */
.pd-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.pd-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: #f7f7f7;
    aspect-ratio: 1;
}

    .pd-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .pd-image .badge-featured {
        top: 14px;
        left: 14px;
        font-size: 11px;
        padding: 4px 10px;
    }

.pd-info h1 {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 10px;
}

.pd-brand {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.pd-unit {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.pd-price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.pd-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

.pd-mrp {
    font-size: 18px;
    color: var(--text-light);
    text-decoration: line-through;
}

.pd-discount {
    background: #e8f5e9;
    color: var(--primary);
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
}

.pd-stock {
    font-size: 14px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pd-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 24px;
    padding: 14px;
    background: var(--bg-light);
    border-radius: 8px;
}

.pd-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.qty-picker {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

    .qty-picker button {
        background: var(--bg-light);
        border: none;
        width: 38px;
        height: 42px;
        font-size: 14px;
        cursor: pointer;
        color: var(--text);
        transition: background 0.2s;
    }

        .qty-picker button:hover {
            background: #e8f5e9;
            color: var(--primary);
        }

.qty-input {
    width: 50px;
    height: 42px;
    border: none;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    outline: none;
    background: #fff;
}

.btn-outline {
    background: #fff;
    color: var(--text);
    border: 1px solid var(--border);
}

    .btn-outline:hover {
        border-color: var(--primary);
        color: var(--primary);
    }

.btn-buy-now {
    background: #ff9f00;
    color: #fff;
    padding: 13px;
    font-size: 15px;
}

    .btn-buy-now:hover {
        background: #e68a00;
    }

.related-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

/* ============================================
   MOBILE — Listing
   ============================================ */
@media (max-width: 768px) {
    .pd-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pd-info h1 {
        font-size: 22px;
    }

    .pd-price {
        font-size: 26px;
    }

    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-item {
        min-width: 100%;
    }

    .listing-head h1, .search-header h1 {
        font-size: 22px;
    }

    .pd-actions {
        flex-direction: column;
        align-items: stretch;
    }

        .pd-actions .btn {
            width: 100%;
        }

    .qty-picker {
        justify-content: center;
        width: 100%;
    }
}



/* ============================================
   CART PAGE
   ============================================ */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    align-items: start;
}

.cart-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-item {
    display: grid;
    grid-template-columns: 70px 1fr auto auto auto;
    gap: 14px;
    align-items: center;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.cart-img {
    display: block;
}

    .cart-img img {
        width: 70px;
        height: 70px;
        object-fit: cover;
        border-radius: 8px;
        background: var(--bg-light);
    }

.cart-details h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}

.cart-details .unit {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.cart-price {
    display: flex;
    gap: 8px;
    align-items: baseline;
}

    .cart-price .price {
        font-size: 14px;
        color: var(--primary);
        font-weight: 700;
    }

    .cart-price .mrp {
        font-size: 12px;
        color: var(--text-light);
        text-decoration: line-through;
    }

.cart-qty {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    height: 36px;
}

.qty-btn {
    background: var(--bg-light);
    border: none;
    width: 32px;
    height: 36px;
    font-size: 12px;
    cursor: pointer;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .qty-btn:hover {
        background: #e8f5e9;
        color: var(--primary);
    }

.qty-value {
    width: 38px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 36px;
}

.cart-line-total {
    font-size: 15px;
    font-weight: 700;
    min-width: 80px;
    text-align: right;
}

.cart-remove {
    color: #c62828;
    text-decoration: none;
    font-size: 14px;
    padding: 6px;
    border-radius: 6px;
}

    .cart-remove:hover {
        background: #fdecea;
    }

.cart-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
    gap: 12px;
    flex-wrap: wrap;
}

/* ============================================
   CART SUMMARY
   ============================================ */
.cart-summary {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}

    .cart-summary h3 {
        font-size: 17px;
        margin-bottom: 16px;
        padding-bottom: 12px;
        border-bottom: 1px solid var(--border);
    }

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--text-light);
}

    .summary-row.total {
        font-size: 18px;
        font-weight: 700;
        color: var(--text);
        padding-top: 12px;
        margin-top: 12px;
        border-top: 1px solid var(--border);
        margin-bottom: 16px;
    }

.free-delivery-hint {
    background: #e8f5e9;
    color: var(--primary);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.summary-note {
    text-align: center;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.sticky {
    position: sticky;
    top: 90px;
}

/* ============================================
   CHECKOUT
   ============================================ */
.page-title {
    font-size: 26px;
    margin-bottom: 20px;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    align-items: start;
}

.checkout-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.checkout-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
}

.card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

    .card-head h3 {
        font-size: 16px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .card-head h3 i {
            color: var(--primary);
        }

.btn-link {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.address-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .address-list label {
        display: block;
        padding: 12px 14px;
        border: 1px solid var(--border);
        border-radius: 8px;
        cursor: pointer;
        font-size: 13px;
        line-height: 1.5;
    }

        .address-list input[type="radio"]:checked + label,
        .address-list label:has(input[type="radio"]:checked) {
            border-color: var(--primary);
            background: #f1f8e9;
        }

.default-badge {
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
    font-weight: 700;
}

.mini-empty {
    font-size: 13px;
    color: var(--text-light);
    padding: 10px 0;
}

.address-form {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed var(--border);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.slot-list, .payment-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.slot-list {
    flex-direction: row;
    flex-wrap: wrap;
}

    .slot-list label, .payment-list label {
        display: block;
        padding: 12px 14px;
        border: 1px solid var(--border);
        border-radius: 8px;
        cursor: pointer;
        font-size: 14px;
    }

        .slot-list label:has(input:checked), .payment-list label:has(input:checked) {
            border-color: var(--primary);
            background: #f1f8e9;
            font-weight: 600;
        }

.summary-items {
    margin-bottom: 10px;
    max-height: 220px;
    overflow-y: auto;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 6px 0;
    color: var(--text-light);
    gap: 8px;
}

.si-name {
    flex: 1;
}

    .si-name small {
        color: #999;
        margin-left: 4px;
    }

.si-total {
    font-weight: 600;
    color: var(--text);
}

.summary-divider {
    height: 1px;
    background: var(--border);
    margin: 10px 0;
}

.discount-row {
    color: var(--primary);
    font-weight: 600;
}

.remove-coupon {
    background: #fdecea;
    color: #c62828;
    border: none;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin-left: 6px;
    font-size: 12px;
    line-height: 1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.coupon-box {
    margin: 14px 0;
    padding-top: 14px;
    border-top: 1px dashed var(--border);
}

.coupon-input-row {
    display: flex;
    gap: 8px;
}

    .coupon-input-row .form-control {
        flex: 1;
    }

.coupon-msg {
    display: block;
    font-size: 12px;
    margin-top: 6px;
}

    .coupon-msg.error {
        color: #c62828;
    }

    .coupon-msg.success {
        color: var(--primary);
        font-weight: 600;
    }

/* ============================================
   ORDER SUCCESS
   ============================================ */
.success-hero {
    text-align: center;
    padding: 40px 20px;
    max-width: 640px;
    margin: 0 auto;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #e8f5e9;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 20px;
    animation: pop 0.4s ease-out;
}

@keyframes pop {
    0% {
        transform: scale(0);
    }

    70% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.success-hero h1 {
    font-size: 28px;
    margin-bottom: 8px;
}

.success-hero > p {
    color: var(--text-light);
    margin-bottom: 24px;
}

.success-order-box {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 18px;
    text-align: left;
    margin-bottom: 24px;
}

.sob-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    gap: 14px;
}

    .sob-row span:first-child {
        color: var(--text-light);
    }

    .sob-row strong {
        font-weight: 700;
    }

.sob-addr {
    text-align: right;
    max-width: 60%;
}

.success-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.success-timeline {
    max-width: 800px;
    margin: 30px auto 0;
    padding: 20px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

    .success-timeline h3 {
        text-align: center;
        margin-bottom: 20px;
        font-size: 18px;
    }

.timeline-mini {
    display: flex;
    justify-content: space-between;
    position: relative;
    gap: 4px;
}

    .timeline-mini::before {
        content: '';
        position: absolute;
        top: 22px;
        left: 5%;
        right: 5%;
        height: 2px;
        background: var(--border);
        z-index: 0;
    }

.tl-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 1;
    flex: 1;
}

.tl-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 16px;
}

.tl-step.active .tl-icon {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.tl-step span {
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
    font-weight: 500;
}

.tl-step.active span {
    color: var(--primary);
    font-weight: 700;
}

/* ============================================
   TRACK ORDER
   ============================================ */
.track-hero {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
    border-radius: var(--radius);
    margin-bottom: 24px;
}

    .track-hero h1 {
        font-size: 26px;
        margin-bottom: 6px;
    }

    .track-hero > p {
        color: var(--text-light);
        margin-bottom: 20px;
        font-size: 14px;
    }

.track-search {
    display: flex;
    max-width: 480px;
    margin: 0 auto;
}

.track-result {
    max-width: 800px;
    margin: 0 auto;
}

.track-summary {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 24px;
}

.ts-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px dashed var(--border);
}

    .ts-row:last-child {
        border-bottom: none;
    }

    .ts-row > span:first-child {
        color: var(--text-light);
    }

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.status-placed, .status-confirmed {
    background: #fff8e1;
    color: #b8860b;
}

.status-preparing, .status-packed {
    background: #e3f2fd;
    color: #1565c0;
}

.status-ofd {
    background: #f3e5f5;
    color: #6a1b9a;
}

.status-delivered {
    background: #e8f5e9;
    color: var(--primary);
}

.status-cancelled {
    background: #fdecea;
    color: #c62828;
}

.track-timeline {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}

    .track-timeline h3 {
        font-size: 18px;
        margin-bottom: 20px;
    }

.timeline-ul {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

    .timeline-ul::before {
        content: '';
        position: absolute;
        left: 21px;
        top: 10px;
        bottom: 10px;
        width: 2px;
        background: var(--border);
    }

    .timeline-ul li {
        display: flex;
        gap: 16px;
        padding: 12px 0;
        position: relative;
    }

.tl-dot {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    z-index: 1;
    flex-shrink: 0;
    font-size: 15px;
}

.tl-done .tl-dot {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.tl-body {
    flex: 1;
    padding-top: 6px;
}

    .tl-body h4 {
        font-size: 15px;
        margin-bottom: 2px;
    }

.tl-done .tl-body h4 {
    color: var(--primary);
}

.tl-pending .tl-body h4 {
    color: var(--text-light);
    font-weight: 500;
}

.tl-time {
    font-size: 12px;
    color: var(--text-light);
}

.tl-remarks {
    font-size: 12px;
    color: var(--text-light);
    font-style: italic;
    margin-top: 4px;
}

/* ============================================
   MOBILE — Cart, Checkout, Track
   ============================================ */
@media (max-width: 900px) {
    .cart-layout, .checkout-layout {
        grid-template-columns: 1fr;
    }

    .sticky {
        position: static;
    }
}

@media (max-width: 600px) {
    .cart-item {
        grid-template-columns: 60px 1fr auto;
        grid-template-areas:
            "img details remove"
            "img qty qty"
            "img total total";
        gap: 10px;
    }

    .cart-img {
        grid-area: img;
    }

    .cart-details {
        grid-area: details;
    }

    .cart-remove {
        grid-area: remove;
        align-self: start;
    }

    .cart-qty {
        grid-area: qty;
        justify-self: start;
        margin-top: 6px;
    }

    .cart-line-total {
        grid-area: total;
        text-align: left;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .success-hero h1 {
        font-size: 22px;
    }

    .timeline-mini {
        overflow-x: auto;
    }

    .tl-step {
        min-width: 60px;
    }

    .timeline-mini::before {
        display: none;
    }
}

/* ============================================
   ACCOUNT LAYOUT
   ============================================ */
.account-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    align-items: start;
}

.account-sidebar {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    position: sticky;
    top: 90px;
}

.acc-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 12px;
}

.acc-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e8f5e9;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.acc-user strong {
    display: block;
    font-size: 14px;
}

.acc-user small {
    color: var(--text-light);
    font-size: 12px;
}

.acc-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .acc-nav a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 12px;
        border-radius: 8px;
        color: var(--text);
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        transition: all 0.2s;
        cursor: pointer;
        border: none;
        background: none;
        width: 100%;
        text-align: left;
    }

        .acc-nav a:hover {
            background: var(--bg-light);
            color: var(--primary);
        }

        .acc-nav a.active {
            background: #e8f5e9;
            color: var(--primary);
            font-weight: 700;
        }

        .acc-nav a i {
            width: 18px;
        }

.account-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.account-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}

    .account-card .card-head h3 {
        font-size: 16px;
    }

.btn-sm {
    padding: 7px 12px;
    font-size: 12px;
}

.btn-block + .btn-block {
    margin-top: 8px;
}

/* ============================================
   QUICK STATS
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
}

.stat-box {
    text-align: center;
    padding: 18px 12px;
    background: var(--bg-light);
    border-radius: 8px;
}

.stat-num {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-lbl {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
}

/* ============================================
   ORDERS LIST
   ============================================ */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    transition: box-shadow 0.2s;
}

    .order-card:hover {
        box-shadow: var(--shadow);
    }

.oc-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.oc-label {
    font-size: 12px;
    color: var(--text-light);
    display: block;
}

.oc-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.oc-info {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

    .oc-info > div {
        display: flex;
        flex-direction: column;
        gap: 2px;
        font-size: 13px;
    }

.oc-lbl {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.oc-actions {
    display: flex;
    gap: 8px;
}

/* ============================================
   ORDER DETAILS
   ============================================ */
.od-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

    .od-header h1 {
        font-size: 24px;
        margin-bottom: 4px;
    }

.od-date {
    font-size: 13px;
    color: var(--text-light);
}

.od-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 20px;
    align-items: start;
}

.od-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    margin-bottom: 16px;
}

    .od-card:last-child {
        margin-bottom: 0;
    }

.od-items {
    display: flex;
    flex-direction: column;
}

.od-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border);
    font-size: 14px;
}

    .od-item:last-child {
        border-bottom: none;
    }

.oi-info strong {
    display: block;
    margin-bottom: 2px;
}

.oi-info small {
    color: var(--text-light);
    font-size: 12px;
}

.oi-total {
    font-weight: 700;
}

.od-addr {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.od-contact {
    font-size: 13px;
    padding-top: 10px;
    border-top: 1px dashed var(--border);
}

    .od-contact small {
        color: var(--text-light);
    }

.payment-meta {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed var(--border);
    font-size: 13px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

    .payment-meta i {
        color: var(--primary);
    }

.od-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ============================================
   ADDRESS CARDS
   ============================================ */
.address-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.address-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    position: relative;
}

    .address-card.is-default {
        border-color: var(--primary);
        background: #f8fdf8;
    }

.ac-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.ac-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 6px;
}

    .ac-label i {
        color: var(--primary);
    }

.ac-addr {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 12px;
}

.ac-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

/* ============================================
   OFFERS PAGE
   ============================================ */
.offers-hero {
    text-align: center;
    padding: 36px 20px;
    background: linear-gradient(135deg, #fff8e1, #fffde7);
    border-radius: var(--radius);
    margin-bottom: 28px;
}

    .offers-hero h1 {
        font-size: 26px;
        margin-bottom: 6px;
    }

    .offers-hero p {
        color: var(--text-light);
        font-size: 14px;
    }

.offer-img-wrap {
    width: 100%;
    height: 140px;
    background: var(--bg-light);
    overflow: hidden;
}

    .offer-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.offer-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

    .offer-meta .coupon {
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }

.min-order {
    font-size: 12px;
    color: var(--text-light);
}

.copy-btn {
    margin-top: 4px;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.contact-info h1 {
    font-size: 28px;
    margin-bottom: 6px;
}

.contact-sub {
    color: var(--text-light);
    margin-bottom: 24px;
}

.contact-card {
    display: flex;
    gap: 14px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
}

    .contact-card i {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #e8f5e9;
        color: var(--primary);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        flex-shrink: 0;
    }

    .contact-card strong {
        font-size: 14px;
        display: block;
        margin-bottom: 2px;
    }

    .contact-card p {
        font-size: 14px;
        margin-bottom: 2px;
    }

    .contact-card small {
        font-size: 12px;
        color: var(--text-light);
    }

.contact-form-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}

    .contact-form-card h2 {
        font-size: 18px;
        margin-bottom: 18px;
    }

/* ============================================
   ALERT SUCCESS
   ============================================ */
.alert-success {
    background: #e8f5e9;
    color: #1b5e20;
    border: 1px solid #c8e6c9;
}

/* ============================================
   MOBILE — Account
   ============================================ */
@media (max-width: 900px) {
    .account-layout {
        grid-template-columns: 1fr;
    }

    .account-sidebar {
        position: static;
    }

    .acc-nav {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 6px;
    }

        .acc-nav a {
            white-space: nowrap;
        }

    .od-grid {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .oc-info {
        gap: 14px;
    }

    .oc-actions {
        width: 100%;
    }

        .oc-actions .btn {
            flex: 1;
        }

    .stat-num {
        font-size: 18px;
    }

    .od-header h1 {
        font-size: 20px;
    }

    .account-content h1.page-title {
        font-size: 22px;
    }
}



.track-live {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-top: 20px;
}

    .track-live h3 {
        font-size: 18px;
        margin-bottom: 14px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .track-live h3 i {
            color: var(--primary);
        }

.live-updated {
    margin-top: 12px;
    font-size: 13px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Leaflet map tweaks */
#deliveryMap {
    z-index: 1;
    border-radius: 10px;
    overflow: hidden;
}

.leaflet-container {
    font-family: inherit;
}


/* ============================================
   LIVE DELIVERY TRACKING MAP
   ============================================ */
.track-live {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-top: 20px;
}

.track-live-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 10px;
}

    .track-live-head h3 {
        font-size: 18px;
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 0;
    }

        .track-live-head h3 i {
            color: var(--primary);
        }

.live-badge {
    background: #fdecea;
    color: #c62828;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: pulse 2s infinite;
}

    .live-badge i {
        font-size: 8px;
    }

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Progress bar */
.progress-wrap {
    background: #f8fafc;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

    .progress-info #progressPct {
        color: var(--primary);
        font-weight: 800;
    }

.progress-bar {
    height: 8px;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0c831f, #22c55e);
    width: 0%;
    transition: width 0.6s ease;
    border-radius: 10px;
}

.progress-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-light);
}

    .progress-meta span {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .progress-meta i {
        color: var(--primary);
    }

/* Map container */
#deliveryMap {
    z-index: 1;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
    margin-bottom: 12px;
}

/* Custom markers */
.map-marker {
    background: transparent !important;
    border: none !important;
}

.marker-pin {
    width: 40px;
    height: 40px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

    .marker-pin i {
        transform: rotate(45deg);
        font-size: 16px;
        color: #fff;
    }

.marker-store {
    background: #0c831f;
}

.marker-dest {
    background: #c62828;
}

.marker-boy {
    background: #1565c0;
    animation: boyPulse 1.5s infinite;
}

@keyframes boyPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(21,101,192,0.6);
    }

    70% {
        box-shadow: 0 0 0 14px rgba(21,101,192,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(21,101,192,0);
    }
}

.live-updated {
    font-size: 13px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
}

@media (max-width: 600px) {
    #deliveryMap {
        height: 280px !important;
    }

    .progress-meta {
        flex-direction: column;
        gap: 4px;
    }
}


.service-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 20px;
    align-items: start;
}

.pincode-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .pincode-list li {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 4px 0;
        border-bottom: 1px solid #f1f5f9;
    }

        .pincode-list li.active {
            background: #e8f5e9;
            border-radius: 8px;
        }

.pc-link {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    text-decoration: none;
    color: #1c1c1c;
    border-radius: 8px;
    font-size: 13px;
}

    .pc-link:hover {
        background: #f8fafc;
    }

.pc-code {
    font-weight: 800;
    color: #0c831f;
    font-size: 15px;
}

.pc-city {
    color: #64748b;
    flex: 1;
}

.pc-count {
    font-size: 11px;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 10px;
}

.pc-actions {
    display: flex;
    gap: 2px;
    padding-right: 6px;
}

.inline-form {
    background: #f8fafc;
    padding: 14px;
    border-radius: 10px;
    margin-bottom: 14px;
    border: 1px solid #e5e7eb;
}

@media (max-width: 900px) {
    .service-layout {
        grid-template-columns: 1fr;
    }
}

.service-msg {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
    margin-top: 8px;
}

.service-ok {
    background: #e8f5e9;
    color: #1b5e20;
    border: 1px solid #a5d6a7;
}

.service-no {
    background: #fdecea;
    color: #b71c1c;
    border: 1px solid #f5c6cb;
}


/* ============================================
   ZOMATO/BLINKIT STYLE MAP
   ============================================ */
.map-marker {
    background: transparent !important;
    border: none !important;
}

.marker-pin {
    width: 44px;
    height: 44px;
    border-radius: 50% 50% 50% 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25), 0 2px 4px rgba(0,0,0,0.15);
    position: relative;
    transition: transform 0.3s ease;
}

    .marker-pin::after {
        content: '';
        position: absolute;
        bottom: -6px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 8px solid currentColor;
    }

    .marker-pin i {
        font-size: 18px;
        color: #fff;
    }

.marker-store {
    background: linear-gradient(135deg, #0c831f, #16a34a);
    color: #0c831f;
}

.marker-dest {
    background: linear-gradient(135deg, #dc2626, #f43f5e);
    color: #dc2626;
}

.marker-boy {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: #1e40af;
    animation: boyFloat 1.8s ease-in-out infinite;
}

@keyframes boyFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

/* Custom leaflet popup */
.leaflet-popup-content-wrapper {
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    padding: 0;
    overflow: hidden;
}

.leaflet-popup-content {
    margin: 0;
    padding: 10px 14px;
    font-size: 13px;
    font-family: inherit;
}

.leaflet-popup-tip {
    display: none;
}

.leaflet-popup-close-button {
    color: #94a3b8 !important;
    padding: 6px !important;
}

/* Route line animation */
.leaflet-interactive {
    transition: stroke-dashoffset 0.5s ease;
}

/* ============================================
   PROGRESS BAR — ZOMATO STYLE
   ============================================ */
.progress-wrap {
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 18px;
    border: 1px solid #e5e7eb;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

    .progress-info #progressPct {
        color: #0c831f;
        font-weight: 800;
        font-size: 15px;
        background: #e8f5e9;
        padding: 3px 10px;
        border-radius: 12px;
    }

.progress-bar {
    height: 10px;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0c831f, #16a34a, #22c55e);
    width: 0%;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

    .progress-fill::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
        animation: shimmer 1.5s infinite;
    }

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.progress-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-light);
}

    .progress-meta span {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .progress-meta i {
        color: #0c831f;
    }









/* ============================================
   LIVE DELIVERY MAP — ZOMATO/BLINKIT STYLE
   ============================================ */
.track-live {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 22px;
    margin-top: 22px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.track-live-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 10px;
}

    .track-live-head h3 {
        font-size: 19px;
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 0;
        color: #1c1c1c;
    }

        .track-live-head h3 i {
            color: #0c831f;
            background: #e8f5e9;
            width: 38px;
            height: 38px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
        }

.live-badge {
    background: #fef2f2;
    color: #dc2626;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: pulseLive 2s infinite;
}

    .live-badge i {
        font-size: 8px;
        color: #dc2626;
    }

@keyframes pulseLive {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(220,38,38,0.4);
    }

    50% {
        opacity: 0.85;
        box-shadow: 0 0 0 6px rgba(220,38,38,0);
    }
}

/* Progress bar — Zomato style */
.progress-wrap {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 18px;
    border: 1px solid #e2e8f0;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1c1c1c;
}

    .progress-info #progressPct {
        color: #0c831f;
        font-weight: 900;
        font-size: 15px;
        background: #e8f5e9;
        padding: 3px 12px;
        border-radius: 12px;
    }

.progress-bar {
    height: 10px;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0c831f, #16a34a, #22c55e);
    width: 0%;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

    .progress-fill::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
        animation: shimmer 1.8s infinite;
    }

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.progress-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12.5px;
    color: #475569;
    font-weight: 600;
}

    .progress-meta span {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .progress-meta i {
        color: #0c831f;
    }

/* Map container */
#deliveryMap {
    z-index: 1;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    margin-bottom: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* Hide leaflet default marker shadow */
.leaflet-marker-icon.leaflet-div-icon {
    background: transparent;
    border: none;
}

/* Custom pin (Zomato style) */
.custom-pin {
    background: transparent !important;
    border: none !important;
}

.pin-body {
    width: 42px;
    height: 42px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    box-shadow: 0 6px 16px rgba(0,0,0,0.22);
    position: relative;
    z-index: 2;
}

    .pin-body i {
        transform: rotate(45deg);
        font-size: 17px;
        color: #fff;
    }

.pin-shadow {
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 8px;
    background: rgba(0,0,0,0.18);
    border-radius: 50%;
    filter: blur(3px);
}

.pin-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgba(59,130,246,0.35);
    animation: pinPulse 1.6s infinite;
    z-index: 1;
}

@keyframes pinPulse {
    0% {
        transform: translate(-50%,-50%) scale(0.6);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%,-50%) scale(2);
        opacity: 0;
    }
}

/* Popup — clean look */
.leaflet-popup-content-wrapper {
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    padding: 0;
    overflow: hidden;
}

.leaflet-popup-content {
    margin: 0;
    padding: 12px 16px;
    font-size: 13px;
    font-family: inherit;
    line-height: 1.4;
}

    .leaflet-popup-content b {
        color: #0c831f;
        font-size: 14px;
    }

    .leaflet-popup-content small {
        color: #64748b;
    }

.leaflet-popup-tip {
    display: none;
}

.leaflet-popup-close-button {
    color: #94a3b8 !important;
    padding: 6px !important;
    font-size: 16px !important;
}

.live-updated {
    font-size: 13px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-weight: 500;
}

@media (max-width: 600px) {
    #deliveryMap {
        height: 300px !important;
    }

    .progress-meta {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }

    .track-live {
        padding: 16px;
    }
}



/* Map picker */
.map-picker-hint {
    background: #e8f5e9;
    color: #0c831f;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.map-picker-wrap {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.btn-my-location {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: #fff;
    color: #0c831f;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 500;
}

    .btn-my-location:hover {
        background: #f1f8e9;
    }

.coords-display {
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

    .coords-display i {
        color: #0c831f;
    }

/* Custom pin for map picker */
.picker-pin {
    background: linear-gradient(135deg, #dc2626, #f43f5e);
    width: 40px;
    height: 40px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

    .picker-pin i {
        transform: rotate(45deg);
        color: #fff;
        font-size: 16px;
    }


/* Modal overlay */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.modal-box {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
    animation: modalIn 0.2s ease-out;
}

@keyframes modalIn {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

    .modal-head h3 {
        font-size: 17px;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .modal-head h3 i {
            color: #0c831f;
        }

.modal-close {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 20px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    text-decoration: none;
}

    .modal-close:hover {
        background: #f1f5f9;
        color: #1c1c1c;
    }

.modal-sub {
    color: #64748b;
    font-size: 13px;
    margin-bottom: 18px;
}

    .modal-sub strong {
        color: #0c831f;
    }


.btn-delivered {
    background: #16a34a;
    color: #fff;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
}

    .btn-delivered:hover {
        background: #15803d;
        transform: translateY(-1px);
    }

    .btn-delivered:active {
        transform: translateY(0);
    }



.track-boy {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 1px solid #93c5fd;
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 16px;
}

.tb-head {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #1e40af;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tb-body {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tb-avatar {
    width: 44px;
    height: 44px;
    background: #1e40af;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.tb-info {
    flex: 1;
    min-width: 0;
}

    .tb-info strong {
        display: block;
        font-size: 15px;
        margin-bottom: 2px;
    }

    .tb-info small {
        color: #64748b;
        font-size: 12px;
    }

.tb-call {
    background: #16a34a;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

    .tb-call:hover {
        background: #15803d;
    }

.pill-orange {
    background: #fff3e0;
    color: #e65100;
}


/* ============================================
   LIVE DELIVERY MAP — ZOMATO/BLINKIT STYLE
   ============================================ */
.track-live {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 22px;
    margin-top: 22px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.track-live-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 10px;
}

    .track-live-head h3 {
        font-size: 19px;
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 0;
        color: #1c1c1c;
    }

        .track-live-head h3 i {
            color: #0c831f;
            background: #e8f5e9;
            width: 38px;
            height: 38px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
        }

.live-badge {
    background: #fef2f2;
    color: #dc2626;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: pulseLive 2s infinite;
}

    .live-badge i {
        font-size: 8px;
        color: #dc2626;
    }

@keyframes pulseLive {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(220,38,38,0.4);
    }

    50% {
        opacity: 0.85;
        box-shadow: 0 0 0 6px rgba(220,38,38,0);
    }
}

/* Progress bar */
.progress-wrap {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 18px;
    border: 1px solid #e2e8f0;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1c1c1c;
}

    .progress-info #progressPct {
        color: #0c831f;
        font-weight: 900;
        font-size: 15px;
        background: #e8f5e9;
        padding: 3px 12px;
        border-radius: 12px;
    }

.progress-bar {
    height: 10px;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0c831f, #16a34a, #22c55e);
    width: 0%;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

    .progress-fill::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
        animation: shimmer 1.8s infinite;
    }

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.progress-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12.5px;
    color: #475569;
    font-weight: 600;
}

    .progress-meta span {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .progress-meta i {
        color: #0c831f;
    }

/* Map container */
#deliveryMap {
    z-index: 1;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    margin-bottom: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* Custom pin (Zomato style) */
.custom-pin {
    background: transparent !important;
    border: none !important;
}

.pin-body {
    width: 42px;
    height: 42px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    box-shadow: 0 6px 16px rgba(0,0,0,0.22);
    position: relative;
    z-index: 2;
}

    .pin-body i {
        transform: rotate(45deg);
        font-size: 17px;
        color: #fff;
    }

.pin-shadow {
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 8px;
    background: rgba(0,0,0,0.18);
    border-radius: 50%;
    filter: blur(3px);
}

.pin-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgba(59,130,246,0.35);
    animation: pinPulse 1.6s infinite;
    z-index: 1;
}

@keyframes pinPulse {
    0% {
        transform: translate(-50%,-50%) scale(0.6);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%,-50%) scale(2);
        opacity: 0;
    }
}

/* Popup */
.leaflet-popup-content-wrapper {
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    padding: 0;
    overflow: hidden;
}

.leaflet-popup-content {
    margin: 0;
    padding: 12px 16px;
    font-size: 13px;
    font-family: inherit;
    line-height: 1.4;
}

    .leaflet-popup-content b {
        color: #0c831f;
        font-size: 14px;
    }

    .leaflet-popup-content small {
        color: #64748b;
    }

.leaflet-popup-tip {
    display: none;
}

.leaflet-popup-close-button {
    color: #94a3b8 !important;
    padding: 6px !important;
    font-size: 16px !important;
}

.live-updated {
    font-size: 13px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-weight: 500;
}

/* ============================================
   DELIVERY BOY INFO
   ============================================ */
.track-boy {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 1px solid #93c5fd;
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 16px;
}

.tb-head {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #1e40af;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tb-body {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tb-avatar {
    width: 44px;
    height: 44px;
    background: #1e40af;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.tb-info {
    flex: 1;
    min-width: 0;
}

    .tb-info strong {
        display: block;
        font-size: 15px;
        margin-bottom: 4px;
    }

    .tb-info small {
        display: block;
        color: #475569;
        font-size: 12px;
        margin-bottom: 2px;
    }

        .tb-info small i {
            color: #1e40af;
            width: 14px;
        }

.tb-call {
    background: #16a34a;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

    .tb-call:hover {
        background: #15803d;
    }

@media (max-width: 600px) {
    #deliveryMap {
        height: 300px !important;
    }

    .progress-meta {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }

    .track-live {
        padding: 16px;
    }

    .tb-call {
        width: 100%;
        justify-content: center;
    }
}