/* =============================================================
   femxo-global.css
   Global stylesheet for Femxo Portal
   Combines:
   - Login page styles (scoped under body.login-page)
   - Admin/Dealer dashboard styles (scoped under .blinkit-dashboard)
   - Customer portal / front-end styles (hero, categories, products, etc.)
   Blinkit-inspired green/yellow theme + additional purple/blue accents.
   ============================================================= */

/* ========== ROOT VARIABLES ========== */
:root {
    /* Blinkit theme (admin/dealer) */
    --blinkit-green: #0c831f;
    --blinkit-green-dark: #087018;
    --blinkit-green-soft: #eaf7ec;
    --blinkit-yellow: #f7d747;
    --blinkit-yellow-soft: #fff8d9;
    --blinkit-red: #d93025;
    --blinkit-orange: #f59e0b;
    --blinkit-blue: #2563eb;
    --blinkit-dark: #1f1f1f;
    --blinkit-text: #1f1f1f;
    --blinkit-muted: #6b7280;
    --blinkit-border: #e7e7e7;
    --blinkit-bg: #f8f8f8;
    --blinkit-white: #ffffff;

    /* Customer portal accents */
    --primary-color: #667eea;
    --secondary-color: #764ba2;
}

/* ========== LOGIN PAGE STYLES ========== */
/* Only applied when body has class "login-page" */
body.login-page {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at 10% 15%, rgba(12, 131, 31, 0.07), transparent 28%);
    background-color: var(--blinkit-bg);
    color: var(--blinkit-text);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow-x: hidden;
    position: relative;
}

body.login-page::before {
    content: "";
    position: fixed;
    width: 330px;
    height: 330px;
    border-radius: 50%;
    background: rgba(248, 201, 0, 0.08);
    top: -180px;
    right: -120px;
    pointer-events: none;
}

body.login-page::after {
    content: "";
    position: fixed;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(12, 131, 31, 0.05);
    bottom: -170px;
    left: -120px;
    pointer-events: none;
}

/* Login container */
.login-page {
    width: 100%;
    position: relative;
    z-index: 2;
}

.login-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 34px 34px 26px;
    border: 1px solid var(--blinkit-border);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.09);
    position: relative;
    overflow: hidden;
}

.login-container::before {
    content: "";
    display: block;
    width: 100%;
    height: 4px;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(90deg, var(--blinkit-green) 0%, var(--blinkit-green) 70%, var(--blinkit-yellow) 70%, var(--blinkit-yellow) 100%);
}

.login-header {
    margin-bottom: 25px;
    text-align: center;
}

.login-logo-wrap {
    width: 88px;
    height: 88px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    border: 1px solid #dcebdc;
    background: var(--blinkit-green-soft);
    box-shadow: 0 8px 22px rgba(12, 131, 31, 0.08);
}

.login-logo {
    display: block;
    max-width: 68px;
    max-height: 68px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.login-header h1 {
    margin: 0;
    color: var(--blinkit-dark);
    font-size: 25px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -0.45px;
}

.login-header p {
    margin: 7px 0 0;
    color: var(--blinkit-muted);
    font-size: 13px;
    line-height: 1.5;
}

.login-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
    padding: 6px 11px;
    border-radius: 30px;
    background: var(--blinkit-yellow-soft);
    color: #6a5600;
    border: 1px solid #f2df7b;
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .4px;
    text-transform: uppercase;
}

.login-alert {
    border: 1px solid #f0c9cd;
    border-radius: 12px;
    background: #fff4f5;
    color: #a51e2b;
    padding: 12px 13px;
    margin-bottom: 18px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}

.login-alert .btn-close {
    padding: 12px;
}

.login-form-group {
    margin-bottom: 18px;
}

.login-form-label {
    display: block;
    margin-bottom: 7px;
    color: #3d3d3d;
    font-size: 12px;
    font-weight: 700;
}

.login-input-wrap {
    position: relative;
}

.login-input-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #929292;
    font-size: 14px;
    pointer-events: none;
    z-index: 3;
}

.login-input {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px 11px 40px;
    border: 1px solid #dcdcdc;
    border-radius: 11px;
    background: #ffffff;
    color: var(--blinkit-dark);
    font-size: 13px;
    line-height: 1.4;
    box-shadow: none;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.login-input::placeholder {
    color: #aaaaaa;
}

.login-input:hover {
    border-color: #cfcfcf;
}

.login-input:focus {
    border-color: var(--blinkit-green);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(12, 131, 31, .10);
}

.login-input:focus + .login-input-focus-icon {
    color: var(--blinkit-green);
}

.login-submit {
    width: 100%;
    min-height: 48px;
    margin-top: 2px;
    padding: 11px 16px;
    border: 1px solid var(--blinkit-green);
    border-radius: 11px;
    background: var(--blinkit-green);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .1px;
    box-shadow: none;
    transition: all .2s ease;
}

.login-submit:hover,
.login-submit:focus {
    border-color: var(--blinkit-green-dark);
    background: var(--blinkit-green-dark);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 9px 20px rgba(12, 131, 31, .16);
}

.login-submit:active {
    transform: translateY(0);
}

.login-footer {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #eeeeee;
    text-align: center;
}

.login-footer-text {
    margin: 0;
    color: #929292;
    font-size: 11px;
    line-height: 1.5;
}

.login-footer-link {
    color: var(--blinkit-green);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease;
}

.login-footer-link:hover,
.login-footer-link:focus {
    color: var(--blinkit-green-dark);
    text-decoration: underline;
}

.login-secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
    color: #9a9a9a;
    font-size: 10px;
}

.login-secure-note i {
    color: var(--blinkit-green);
    font-size: 11px;
}

/* Login responsive */
@media (max-width: 575.98px) {
    body.login-page {
        padding: 15px 10px;
    }
    .login-container {
        max-width: 100%;
        padding: 29px 20px 22px;
        border-radius: 16px;
    }
    .login-logo-wrap {
        width: 78px;
        height: 78px;
        border-radius: 17px;
    }
    .login-logo {
        max-width: 60px;
        max-height: 60px;
    }
    .login-header {
        margin-bottom: 21px;
    }
    .login-header h1 {
        font-size: 22px;
    }
    .login-header p {
        font-size: 12px;
    }
    .login-input {
        min-height: 46px;
    }
    .login-submit {
        min-height: 47px;
    }
}

@media (max-width: 374.98px) {
    body.login-page {
        padding: 10px 7px;
    }
    .login-container {
        padding: 25px 15px 20px;
        border-radius: 14px;
    }
    .login-logo-wrap {
        width: 70px;
        height: 70px;
        margin-bottom: 13px;
    }
    .login-logo {
        max-width: 52px;
        max-height: 52px;
    }
    .login-header h1 {
        font-size: 20px;
    }
    .login-header p {
        font-size: 11px;
    }
    .login-badge {
        font-size: 9px;
        padding: 5px 9px;
    }
    .login-form-label {
        font-size: 11px;
    }
    .login-input {
        min-height: 44px;
        padding-left: 37px;
        font-size: 12px;
    }
    .login-submit {
        min-height: 45px;
        font-size: 13px;
    }
}

@media (min-width: 1200px) {
    .login-container {
        max-width: 450px;
        padding: 38px 38px 28px;
    }
    .login-header h1 {
        font-size: 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .login-submit,
    .login-input,
    .login-footer-link {
        transition: none;
    }
}

/* ========== DASHBOARD / PORTAL STYLES ========== */
.blinkit-dashboard {
    background: var(--blinkit-bg);
    padding: 4px 4px 28px;
    border-radius: 18px;
    color: var(--blinkit-text);
}

.blinkit-dashboard * {
    box-sizing: border-box;
}

/* Page Header */
.blinkit-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
    padding: 4px 2px;
}

.blinkit-page-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.blinkit-page-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 14px;
    background: var(--blinkit-green-soft);
    color: var(--blinkit-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
}

.blinkit-page-title {
    margin: 0;
    font-size: 25px;
    line-height: 1.15;
    font-weight: 750;
    letter-spacing: -0.55px;
    color: var(--blinkit-text);
}

.blinkit-page-subtitle {
    margin: 4px 0 0;
    color: var(--blinkit-muted);
    font-size: 13px;
    font-weight: 500;
}

.blinkit-page-line {
    height: 1px;
    background: var(--blinkit-border);
    margin-bottom: 22px;
    border: 0;
}

/* Stats */
.blinkit-dashboard .stats-row {
    margin-left: -8px;
    margin-right: -8px;
}

.blinkit-dashboard .stats-row > [class*="col-"] {
    padding-left: 8px;
    padding-right: 8px;
}

.blinkit-stat-card {
    position: relative;
    overflow: hidden;
    min-height: 132px;
    margin-bottom: 16px;
    border: 1px solid var(--blinkit-border);
    border-radius: 16px;
    background: var(--blinkit-white);
    color: var(--blinkit-text);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.035);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.blinkit-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.07);
}

.blinkit-stat-card .card-body {
    position: relative;
    padding: 20px 18px;
    z-index: 2;
}

.blinkit-stat-card::before {
    content: "";
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
    z-index: 1;
}

.blinkit-stat-card::after {
    content: "";
    position: absolute;
    right: -25px;
    bottom: -35px;
    width: 105px;
    height: 105px;
    border-radius: 50%;
    background: rgba(12, 131, 31, 0.055);
    pointer-events: none;
    z-index: 0;
}

.blinkit-stat-card.stat-green {
    border-top: 3px solid var(--blinkit-green);
    background: linear-gradient(135deg, #f0faf1 0%, #ffffff 60%);
}

.blinkit-stat-card.stat-yellow {
    border-top: 3px solid var(--blinkit-yellow);
    background: linear-gradient(135deg, #fffbe6 0%, #ffffff 60%);
}

.blinkit-stat-card.stat-blue {
    border-top: 3px solid var(--blinkit-blue);
    background: linear-gradient(135deg, #eef4ff 0%, #ffffff 60%);
}

.blinkit-stat-card.stat-orange {
    border-top: 3px solid var(--blinkit-orange);
    background: linear-gradient(135deg, #fff4e5 0%, #ffffff 60%);
}

.blinkit-stat-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.blinkit-stat-label {
    margin: 0;
    font-size: 13px;
    font-weight: 650;
    color: var(--blinkit-muted);
    letter-spacing: 0.1px;
}

.blinkit-stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    background: var(--blinkit-green-soft);
    color: var(--blinkit-green);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.stat-yellow .blinkit-stat-icon {
    background: #fff9dd;
    color: #a27d00;
}

.stat-blue .blinkit-stat-icon {
    background: #eef4ff;
    color: var(--blinkit-blue);
}

.stat-orange .blinkit-stat-icon {
    background: #fff4e5;
    color: #d97706;
}

.blinkit-stat-number {
    margin: 0;
    font-size: 30px;
    line-height: 1;
    letter-spacing: -0.8px;
    font-weight: 780;
    color: var(--blinkit-text);
}

.blinkit-stat-caption {
    margin-top: 7px;
    font-size: 11.5px;
    color: #8a8a8a;
    font-weight: 500;
}

.blinkit-stat-card .stats-icon {
    display: none;
}

/* Generic Dashboard Cards */
.blinkit-dashboard .dashboard-card {
    border: 1px solid var(--blinkit-border);
    border-radius: 16px;
    background: var(--blinkit-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.035);
    overflow: hidden;
    height: 100%;
    position: relative;
}

.blinkit-dashboard .dashboard-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    /* background: linear-gradient(90deg, var(--blinkit-green), var(--blinkit-green-dark));
    z-index: 1; */
}

.blinkit-dashboard .dashboard-card .card-header {
    border-bottom: 1px solid #eeeeee;
    background: var(--blinkit-white);
    padding: 16px 18px;
}

.blinkit-dashboard .dashboard-card .card-header h5 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 720;
    color: var(--blinkit-text);
}

.blinkit-dashboard .dashboard-card .card-header h5 i {
    color: var(--blinkit-green);
}

.blinkit-dashboard .dashboard-card .card-body {
    padding: 19px 18px;
}

/* Revenue Section */
.blinkit-revenue-row {
    margin: 0 -8px;
}

.blinkit-revenue-row > [class*="col-"] {
    padding-left: 8px;
    padding-right: 8px;
}

.blinkit-revenue-box {
    height: 100%;
    border: 1px solid #ededed;
    border-radius: 13px;
    padding: 16px;
    background: #fafafa;
    position: relative;
    overflow: hidden;
}

.blinkit-revenue-box::after {
    content: "";
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(12, 131, 31, 0.03);
}

.blinkit-revenue-label {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--blinkit-muted);
}

.blinkit-revenue-value {
    margin: 0;
    font-size: 24px;
    line-height: 1;
    font-weight: 760;
    letter-spacing: -0.45px;
    color: var(--blinkit-text);
}

.blinkit-revenue-value.green {
    color: var(--blinkit-green);
}

/* Orders */
.blinkit-orders-card {
    margin-top: 4px;
}

.blinkit-orders-card .card-body {
    padding: 0;
}

.blinkit-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.blinkit-table {
    min-width: 760px;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.blinkit-table thead th {
    padding: 14px 18px;
    border-bottom: 1px solid #e9e9e9;
    background: #fafafa;
    color: #6f6f6f;
    font-size: 11.5px;
    font-weight: 720;
    text-transform: uppercase;
    letter-spacing: 0.45px;
    white-space: nowrap;
}

.blinkit-table tbody td {
    padding: 15px 18px;
    border-bottom: 1px solid #f0f0f0;
    color: var(--blinkit-text);
    font-size: 13px;
    font-weight: 500;
    vertical-align: middle;
    background: var(--blinkit-white);
}

.blinkit-table tbody tr:last-child td {
    border-bottom: 0;
}

.blinkit-table tbody tr {
    transition: background 0.16s ease;
}

.blinkit-table tbody tr:hover td {
    background: #fbfffc;
}

.blinkit-table tbody td:first-child {
    font-weight: 700;
    color: var(--blinkit-text);
}

.blinkit-table tbody td:nth-child(4) {
    font-weight: 750;
    color: var(--blinkit-green);
}

/* Badges in tables */
.blinkit-table .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 78px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 10.5px;
    line-height: 1;
    font-weight: 700;
    border: 1px solid transparent;
}

.blinkit-table .badge.bg-success {
    background: #e8f6eb;
    color: #087018;
    border-color: #cfead4;
}

.blinkit-table .badge.bg-warning {
    background: #fff6d9;
    color: #916f00;
    border-color: #f3e4a9;
}

.blinkit-table .badge.bg-danger {
    background: #ffeded;
    color: #bb2a20;
    border-color: #f5d0cd;
}

.blinkit-table .badge.bg-info {
    background: #edf5ff;
    color: #1f5ea8;
    border-color: #d5e5fa;
}

/* Action button */
.blinkit-table .btn-info {
    width: 48px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--blinkit-green);
    color: #fff;
    box-shadow: none;
    transition: background 0.15s ease, transform 0.15s ease;
}

.blinkit-table .btn-info:hover,
.blinkit-table .btn-info:focus {
    background: var(--blinkit-green-dark);
    color: #fff;
    transform: translateY(-1px);
}

.blinkit-empty-state {
    padding: 30px 18px;
    text-align: center;
    color: #888;
    font-size: 13px;
}

/* DataTables custom styles */
.blinkit-orders-card .dataTables_wrapper {
    width: 100%;
}

.blinkit-orders-card .dataTables_wrapper .dataTables_length,
.blinkit-orders-card .dataTables_wrapper .dataTables_filter {
    box-sizing: border-box;
    margin-bottom: 12px;
}

.blinkit-orders-card .dataTables_wrapper .dataTables_length {
    float: left;
    text-align: left;
}

.blinkit-orders-card .dataTables_wrapper .dataTables_filter {
    float: right;
    text-align: right;
}

.blinkit-orders-card .dataTables_wrapper::after {
    content: "";
    display: table;
    clear: both;
}

.blinkit-orders-card .dataTables_wrapper .dataTables_paginate {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    margin-top: 14px;
    padding-top: 0;
}

.blinkit-orders-card .dataTables_wrapper .dataTables_paginate .paginate_button {
    min-width: 76px;
    height: 38px;
    padding: 0 14px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d9e6dc;
    border-radius: 10px;
    background: #ffffff;
    color: var(--blinkit-green);
    font-size: 13px;
    font-weight: 650;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.blinkit-orders-card .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: var(--blinkit-green);
    border-color: var(--blinkit-green);
    color: #ffffff;
    transform: translateY(-1px);
}

.blinkit-orders-card .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.blinkit-orders-card .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
    opacity: 0.45;
    background: #f6f7f6;
    border-color: #e2e6e3;
    color: #7a807c;
    cursor: not-allowed;
    transform: none;
}

.blinkit-orders-card .dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: var(--blinkit-green);
    border-color: var(--blinkit-green);
    color: #ffffff;
    margin-left: 5px;
    margin-right: 5px;
}

.blinkit-orders-card .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: var(--blinkit-green-dark);
    border-color: var(--blinkit-green-dark);
    color: #ffffff;
}

/* Responsive dashboard */
@media (max-width: 991.98px) {
    .blinkit-dashboard {
        padding: 2px 0 24px;
    }
    .blinkit-page-title {
        font-size: 23px;
    }
    .blinkit-stat-card {
        min-height: 126px;
    }
}

@media (max-width: 767.98px) {
    .blinkit-dashboard {
        border-radius: 0;
    }
    .blinkit-page-header {
        margin-bottom: 16px;
    }
    .blinkit-page-title {
        font-size: 21px;
    }
    .blinkit-page-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        border-radius: 12px;
    }
    .blinkit-page-subtitle {
        display: none;
    }
    .blinkit-dashboard .stats-row > [class*="col-"] {
        width: 50%;
    }
    .blinkit-stat-card {
        min-height: 118px;
        margin-bottom: 12px;
        border-radius: 14px;
    }
    .blinkit-stat-card .card-body {
        padding: 16px 14px;
    }
    .blinkit-stat-label {
        font-size: 12px;
    }
    .blinkit-stat-number {
        font-size: 26px;
    }
    .blinkit-stat-icon {
        width: 33px;
        height: 33px;
        border-radius: 10px;
        font-size: 15px;
    }
    .blinkit-dashboard .dashboard-card {
        border-radius: 14px;
    }
    .blinkit-dashboard .dashboard-card .card-header {
        padding: 14px 15px;
    }
    .blinkit-dashboard .dashboard-card .card-body {
        padding: 15px;
    }
    .blinkit-revenue-row > [class*="col-"] {
        margin-bottom: 10px;
    }
    .blinkit-revenue-row > [class*="col-"]:last-child {
        margin-bottom: 0;
    }
    .blinkit-revenue-box {
        padding: 14px;
    }
    .blinkit-revenue-value {
        font-size: 22px;
    }
    /* DataTables mobile */
    .blinkit-orders-card .dataTables_wrapper .dataTables_length,
    .blinkit-orders-card .dataTables_wrapper .dataTables_filter {
        float: none;
        width: 100%;
        text-align: left;
    }
    .blinkit-orders-card .dataTables_wrapper .dataTables_filter {
        margin-top: 8px;
    }
    .blinkit-orders-card .dataTables_wrapper .dataTables_paginate {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .blinkit-dashboard .stats-row > [class*="col-"] {
        width: 100%;
    }
    .blinkit-stat-card {
        min-height: 108px;
    }
    .blinkit-page-title-wrap {
        gap: 10px;
    }
}

/* ========== CUSTOMER PORTAL / FRONT-END STYLES ========== */
/* These styles apply to the public-facing portal pages */
.top-bar {
    background: var(--primary-color);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar a {
    color: white;
    text-decoration: none;
}

.hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.category-card {
    background: white;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.product-card {
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-card .price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.dealer-profile-card {
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.dealer-profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
}

.stats-section h2 {
    font-weight: 700;
}

.page-header {
    background: #f8f9fa;
    border-bottom: 2px solid #e0e0e0;
}

.page-header h2 {
    font-weight: 700;
}

.footer {
    margin-top: 50px;
}

.footer .social-icons a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    transition: all 0.3s ease;
}

.footer .social-icons a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    padding: 10px 25px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

/* Responsive adjustments for customer portal */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0;
    }
    .hero-section h1 {
        font-size: 2rem;
    }
}

/* ========== CUSTOMER PORTAL BLINKIT STYLES ========== */
/* Blinkit-inspired frontend styles with green/yellow theme */

/* Hero Slider */
.blinkit-hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 500px;
    max-height: 800px;
    overflow: hidden;
    background: #0c831f;
}

.blinkit-slider-track {
    display: flex;
    flex-wrap: nowrap;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    width: 100%;
}

.blinkit-slide {
    flex: 0 0 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.blinkit-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 8s ease;
}

.blinkit-slide:hover .blinkit-slide-bg {
    transform: scale(1.05);
}

.blinkit-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(12, 131, 31, 0.6) 0%, rgba(10, 31, 13, 0.8) 100%);
    z-index: 1;
}

.blinkit-slide-content {
    position: relative;
    z-index: 2;
    color: white;
    width: 100%;
    padding: 2rem 0;
    text-align: left;
}

.blinkit-slide-content h1 {
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    font-size: 3.5rem;
    color: #fff;
}

.blinkit-slide-content .lead {
    font-size: 1.3rem;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    color: #fff;
}

.blinkit-slide-content .btn-primary {
    background: #0c831f;
    color: #fff;
    border: none;
    font-weight: 600;
    padding: 14px 35px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    border-radius: 12px;
}

.blinkit-slide-content .btn-primary:hover {
    background: #086b19;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.3);
}

.blinkit-slide-content .btn-outline-light {
    border: 2px solid #fff;
    color: #fff;
    font-weight: 600;
    padding: 14px 35px;
    transition: all 0.3s ease;
    border-radius: 12px;
    background: transparent;
}

.blinkit-slide-content .btn-outline-light:hover {
    background: #fff;
    color: #0c831f;
    transform: translateY(-3px);
}

/* Slider Controls */
.blinkit-slider-controls {
    position: absolute;
    bottom: 2.5rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    z-index: 10;
    pointer-events: none;
}

.blinkit-slider-controls > * { pointer-events: auto; }

.blinkit-dot-group {
    display: flex;
    gap: 0.75rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    padding: 0.6rem 1.4rem;
    border-radius: 40px;
    border: 1px solid rgba(255,255,255,0.15);
    align-items: center;
}

.blinkit-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 0;
}

.blinkit-dot.active {
    background: #ffffff;
    box-shadow: 0 0 16px rgba(255,255,255,0.5);
    transform: scale(1.25);
}

.blinkit-dot:hover:not(.active) { background: rgba(255, 255, 255, 0.7); }

.blinkit-arrow-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.blinkit-arrow-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255,255,255,0.4);
    transform: scale(1.05);
}

.blinkit-arrow-btn:active { transform: scale(0.92); }

.blinkit-slide-counter {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin: 0 0.25rem;
    pointer-events: none;
}

/* Category Cards */
.blinkit-category-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #e7e7e7;
    text-align: center;
    text-decoration: none;
    display: block;
    color: #1f1f1f;
}

.blinkit-category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #0c831f;
    color: #0c831f;
}

.blinkit-category-card i {
    color: #0c831f;
    font-size: 2.5rem;
}

.blinkit-category-card p {
    margin-top: 10px;
    font-weight: 600;
    color: #333;
}

/* Product Cards */
.blinkit-product-card {
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid #e7e7e7;
    overflow: hidden;
    background: #fff;
}

.blinkit-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    border-color: #0c831f;
}

.blinkit-product-image {
    height: 200px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blinkit-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blinkit-product-card:hover .blinkit-product-image img { transform: scale(1.05); }

.blinkit-product-image .no-image {
    font-size: 3rem;
    color: #ccc;
}

.blinkit-product-body {
    padding: 15px;
}

.blinkit-product-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #1f1f1f;
}

.blinkit-product-category {
    font-size: 0.8rem;
    color: #6b7280;
}

.blinkit-product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0c831f;
    margin: 8px 0;
}

.blinkit-btn-outline-primary {
    border: 1px solid #0c831f;
    color: #0c831f;
    font-weight: 500;
    background: transparent;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.blinkit-btn-outline-primary:hover {
    background: #0c831f;
    color: white;
}

/* Dealer Cards */
.blinkit-dealer-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
    border: 1px solid #e7e7e7;
    text-align: center;
}

.blinkit-dealer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #0c831f;
}

.blinkit-dealer-icon i {
    font-size: 3rem;
    color: #0c831f;
}

.blinkit-dealer-card h6 {
    font-weight: 600;
    margin-top: 10px;
    color: #1f1f1f;
}

.blinkit-dealer-card .btn-outline-primary {
    border-color: #0c831f;
    color: #0c831f;
    font-size: 0.85rem;
}

.blinkit-dealer-card .btn-outline-primary:hover {
    background: #0c831f;
    color: white;
}

/* Stats Section */
.blinkit-stats-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #0c831f 0%, #086b19 100%);
    color: white;
}

.blinkit-stats-section h2 {
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 5px;
    color: #fff;
}

.blinkit-stats-section p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0;
    color: #fff;
}

/* Section Title */
.blinkit-section-title {
    font-weight: 700;
    color: #1f1f1f;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    text-align: center;
}

.blinkit-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #0c831f;
    border-radius: 2px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .blinkit-hero-slider { height: 80vh; min-height: 400px; max-height: 600px; }
    .blinkit-slide-content h1 { font-size: 2.2rem; }
    .blinkit-slide-content .lead { font-size: 1rem; }
    .blinkit-slide-content .btn { padding: 10px 20px; font-size: 0.95rem; }
    .blinkit-product-image { height: 150px; }
    .blinkit-stats-section h2 { font-size: 1.8rem; }
    .blinkit-stats-section .col-6 { margin-bottom: 20px; }
    .blinkit-dot-group { gap: 0.5rem; padding: 0.4rem 1rem; }
    .blinkit-dot { width: 11px; height: 11px; }
    .blinkit-arrow-btn { width: 38px; height: 38px; font-size: 1.2rem; }
}

@media (max-width: 576px) {
    .blinkit-hero-slider { height: 70vh; min-height: 350px; }
    .blinkit-slide-content h1 { font-size: 1.8rem; }
    .blinkit-product-image { height: 120px; }
    .blinkit-category-card { padding: 15px 10px; }
    .blinkit-category-card i { font-size: 1.8rem; }
}

.btn-primary {
    background: linear-gradient(135deg, #0c831f 0%, #087018 100%) !important;
    border: none !important;
    padding: 10px 25px !important;
    color: #fff !important;
    font-weight: 600 !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
}
.btn-primary:hover {
    background: linear-gradient(135deg, #0e9425 0%, #0a7a1c 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(12,131,31,0.3) !important;
    color: #fff !important;
}
.btn-outline-primary {
    color: #0c831f !important;
    border-color: #0c831f !important;
    background: transparent !important;
    font-weight: 500 !important;
    border-radius: 10px !important;
    transition: all 0.3s ease !important;
}
.btn-outline-primary:hover {
    background: #0c831f !important;
    color: #ffffff !important;
    border-color: #0c831f !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(12,131,31,0.2) !important;
}