/* ============================================================
   AKSHAR PRINT — Design System (global)
   ============================================================ */

:root {
    /* Brand */
    --primary: #0664AE;
    --primary-dark: #054A80;
    --primary-light: #0B7FD4;
    --primary-lighter: #EAF3FC;
    --gold: #FFCC2A;
    --gold-dark: #E6B800;
    --gold-light: #FFE680;
    --orange: #F58634;
    --pink: #ED297B;
    --cyan: #00AFF0;

    /* Neutrals */
    --ink-strong: #0B1220;
    --ink: #172033;
    --ink-soft: #4B5568;
    --ink-muted: #8590A2;
    --paper: #F6F7F9;
    --paper-dark: #EEF0F4;
    --white: #FFFFFF;
    --line: #E4E7EC;
    --line-dark: #D0D5DD;

    /* Status */
    --success: #12A150;
    --success-bg: #ECFDF3;
    --danger: #E5383B;
    --danger-bg: #FEF2F2;
    --warning: #D97706;
    --warning-bg: #FFFBEB;
    --info: #2563EB;

    /* Legacy aliases (older templates use these names) */
    --blue: var(--primary);
    --blue-dark: var(--primary-dark);
    --blue-lighter: var(--primary-lighter);
    --transition: all .2s ease;
    --transition-slow: all .45s cubic-bezier(.2,.7,.2,1);

    /* Type */
    --font-display: 'Manrope', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --font-mono: ui-monospace, 'SFMono-Regular', Consolas, monospace;

    /* Elevation */
    --shadow-xs: 0 1px 2px rgba(16,24,40,.05);
    --shadow-sm: 0 1px 3px rgba(16,24,40,.08), 0 1px 2px rgba(16,24,40,.04);
    --shadow-md: 0 6px 16px -4px rgba(16,24,40,.10), 0 2px 6px -2px rgba(16,24,40,.05);
    --shadow-lg: 0 16px 32px -8px rgba(16,24,40,.14), 0 4px 8px -4px rgba(16,24,40,.06);
    --shadow-xl: 0 24px 48px -12px rgba(16,24,40,.22);

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 999px;

    --header-h: 72px;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color .2s ease, background .2s ease, border-color .2s ease; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold-light); color: var(--ink-strong); }
:focus-visible { outline: 3px solid rgba(6,100,174,.35); outline-offset: 2px; }

/* ---------- LAYOUT ---------- */
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 880px; }
.page { padding-top: 28px; padding-bottom: 64px; }
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.hidden, [hidden] { display: none !important; }
.muted { color: var(--ink-muted); }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.2;
    color: var(--ink-strong);
    letter-spacing: -0.02em;
}
h1 { font-size: clamp(28px, 3.4vw, 40px); }
h2 { font-size: clamp(24px, 2.8vw, 34px); }
h3 { font-size: 19px; letter-spacing: -0.01em; }
h4 { font-size: 16px; letter-spacing: -0.01em; }
p { color: var(--ink-soft); line-height: 1.7; }

.page-title { margin-bottom: 6px; }
.page-sub { color: var(--ink-soft); margin-bottom: 24px; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--primary); margin-bottom: 10px;
}
.eyebrow.light { color: var(--gold); }
.regmark {
    width: 14px; height: 14px; border-radius: 50%; display: inline-block; position: relative;
    border: 1.5px solid currentColor;
}
.regmark::before, .regmark::after { content: ''; position: absolute; background: currentColor; }
.regmark::before { left: 50%; top: -4px; bottom: -4px; width: 1.5px; transform: translateX(-50%); }
.regmark::after { top: 50%; left: -4px; right: -4px; height: 1.5px; transform: translateY(-50%); }
.regmark.light { color: var(--gold); }

.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.section-heading h2 { margin: 0; }
.section-heading p { margin-top: 8px; max-width: 560px; }
.section-heading.center { flex-direction: column; align-items: center; text-align: center; }
.section-heading.center p { margin-left: auto; margin-right: auto; }

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 22px; border-radius: var(--radius-pill);
    font-weight: 700; font-size: 14px; line-height: 1.2; font-family: var(--font-body);
    border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn.disabled { opacity: .55; pointer-events: none; }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-xs { padding: 6px 10px; font-size: 12px; }
.btn-block { width: 100%; display: flex; }
.btn-icon { width: 40px; height: 40px; padding: 0; }

.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 1px 2px rgba(6,100,174,.3); }
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 8px 20px -6px rgba(6,100,174,.55); }
.btn-gold { background: var(--gold); color: var(--ink-strong); }
.btn-gold:hover { background: var(--gold-dark); box-shadow: 0 8px 20px -6px rgba(230,184,0,.6); }
.btn-dark { background: var(--ink-strong); color: #fff; }
.btn-dark:hover { background: #1d2939; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: #E07020; }
.btn-pink { background: var(--pink); color: #fff; }
.btn-pink:hover { background: #D31A68; }
.btn-ghost, .btn-secondary { background: #fff; border-color: var(--line-dark); color: var(--ink); }
.btn-ghost:hover, .btn-secondary:hover { border-color: var(--ink-muted); background: var(--paper); }
.btn-outline { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ink-strong); }
.btn-danger { background: var(--danger-bg); color: var(--danger); border-color: #FECACA; }
.btn-danger:hover { background: var(--danger); color: #fff; }
.btn-link { color: var(--primary); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.btn-link:hover { color: var(--primary-dark); gap: 9px; }

/* ---------- FORMS ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea, .input {
    width: 100%; padding: 11px 14px;
    border: 1.5px solid var(--line-dark); border-radius: var(--radius-md);
    font-size: 14px; background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus, .input:focus {
    border-color: var(--primary); outline: none; box-shadow: 0 0 0 4px rgba(6,100,174,.12);
}
.field input.error, .field textarea.error { border-color: var(--danger); }
.field .hint { font-size: 12px; color: var(--ink-muted); margin-top: 6px; }
.field.full { grid-column: 1 / -1; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 16px; }
.checkbox-label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; }
.checkbox-label input { width: 18px; height: 18px; accent-color: var(--primary); }

/* ---------- ALERTS ---------- */
.alert {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 13px 16px; border-radius: var(--radius-md); margin-bottom: 18px;
    font-size: 14px; font-weight: 500; border: 1px solid transparent; transition: opacity .3s;
}
.alert i { margin-top: 3px; }
.alert ul { padding-left: 4px; }
.alert-success { background: var(--success-bg); color: #05603A; border-color: #ABEFC6; }
.alert-error { background: var(--danger-bg); color: #B42318; border-color: #FECDCA; }
.alert-warning { background: var(--warning-bg); color: #93370D; border-color: #FEDF89; }
.alert-info { background: var(--primary-lighter); color: var(--primary-dark); border-color: #C7DDF3; }

/* ---------- BADGES ---------- */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: var(--radius-pill); font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.badge-gold { background: #FFF6D6; color: #8A6100; }
.badge-blue { background: var(--primary-lighter); color: var(--primary); }
.badge-green { background: var(--success-bg); color: #067647; }
.badge-red { background: var(--danger-bg); color: #B42318; }
.badge-pink { background: #FDF2F8; color: #C11574; }
.badge-gray { background: var(--paper-dark); color: var(--ink-soft); }

/* ---------- CARDS ---------- */
.card, .dash-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 24px; box-shadow: var(--shadow-xs);
}
.dash-card + .dash-card { margin-top: 20px; }
.dash-card h3, .card h3 { margin-bottom: 18px; }
.cutline { height: 0; border-top: 1px dashed var(--line-dark); margin: 18px 0; }

/* ---------- ANNOUNCEMENT BAR ---------- */
.utility-bar { background: var(--ink-strong); color: rgba(255,255,255,.82); font-size: 12.5px; }
.utility-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.utility-left { display: flex; align-items: center; gap: 22px; overflow: hidden; white-space: nowrap; }
.utility-left span { display: inline-flex; align-items: center; gap: 7px; }
.utility-left i { color: var(--gold); }
.utility-right { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.utility-right a { color: rgba(255,255,255,.82); display: inline-flex; align-items: center; gap: 6px; }
.utility-right a:hover { color: var(--gold); }

/* ---------- HEADER ---------- */
.site-header { background: rgba(255,255,255,.96); backdrop-filter: saturate(180%) blur(12px); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--line); }
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 11px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--cyan) 100%);
    color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 21px;
    box-shadow: inset 0 -3px 0 rgba(0,0,0,.12);
    position: relative;
}
.logo-mark::after { content: ''; position: absolute; right: -3px; top: -3px; width: 11px; height: 11px; border-radius: 50%; background: var(--gold); border: 2px solid #fff; }
.logo-text { font-family: var(--font-display); font-size: 19px; font-weight: 800; color: var(--ink-strong); letter-spacing: -0.02em; line-height: 1; }
.logo-text strong { color: var(--primary); }
.logo-text small { display: block; font-size: 10px; font-weight: 600; color: var(--ink-muted); letter-spacing: .14em; margin-top: 4px; }

.header-search { flex: 1; max-width: 560px; }
.header-search form {
    display: flex; align-items: center; background: var(--paper); border: 1.5px solid var(--line);
    border-radius: var(--radius-pill); padding: 4px 4px 4px 18px; transition: border-color .2s, background .2s, box-shadow .2s;
}
.header-search form:focus-within { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(6,100,174,.1); }
.header-search i.fa-magnifying-glass { color: var(--ink-muted); margin-right: 10px; }
.header-search input { border: none; background: transparent; padding: 8px 0; width: 100%; font-size: 14px; outline: none; }
.header-search button { padding: 9px 18px; background: var(--primary); border-radius: var(--radius-pill); color: #fff; font-size: 13px; font-weight: 700; }
.header-search button:hover { background: var(--primary-dark); }

.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.header-action {
    position: relative; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px;
    border-radius: var(--radius-md); color: var(--ink); font-size: 18px;
}
.header-action span.label { font-size: 13px; font-weight: 600; }
.header-action:hover { background: var(--paper); color: var(--primary); }
.action-badge {
    position: absolute; top: 4px; left: 24px;
    background: var(--pink); color: #fff; font-size: 10px; font-weight: 800;
    min-width: 18px; height: 18px; border-radius: 9px; display: flex; align-items: center; justify-content: center;
    padding: 0 5px; border: 2px solid #fff;
}
.action-badge:empty, .action-badge[data-count="0"] { display: none; }

.mobile-menu-btn { display: none; width: 44px; height: 44px; border-radius: var(--radius-md); align-items: center; justify-content: center; font-size: 19px; }
.mobile-menu-btn:hover { background: var(--paper); }

/* Category / main nav row */
.nav-row { border-top: 1px solid var(--line); background: #fff; }
.nav-row-inner { display: flex; align-items: center; gap: 4px; height: 50px; }
.main-nav { display: flex; align-items: center; gap: 2px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.main-nav::-webkit-scrollbar { display: none; }
.nav-link {
    display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; white-space: nowrap;
    font-size: 13.5px; font-weight: 600; color: var(--ink-soft); border-radius: var(--radius-sm);
}
.nav-link i { font-size: 12px; color: var(--ink-muted); }
.nav-link:hover { color: var(--primary); background: var(--primary-lighter); }
.nav-link:hover i { color: var(--primary); }
.nav-link.active { color: var(--primary); background: var(--primary-lighter); }
.nav-cta { display: flex; align-items: center; gap: 8px; padding-left: 12px; border-left: 1px solid var(--line); margin-left: 8px; }
.nav-cta .btn { padding: 8px 14px; font-size: 13px; }
.studio-pill { background: linear-gradient(135deg, var(--ink-strong), #1e293b); color: #fff; }
.studio-pill i { color: var(--gold); }
.studio-pill:hover { box-shadow: 0 8px 20px -8px rgba(11,18,32,.6); }

/* Mobile drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(11,18,32,.5); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 400; }
.drawer {
    position: fixed; top: 0; bottom: 0; left: 0; width: min(340px, 86vw); background: #fff; z-index: 401;
    transform: translateX(-100%); transition: transform .3s cubic-bezier(.2,.7,.2,1);
    display: flex; flex-direction: column; overflow-y: auto;
}
body.drawer-open .drawer { transform: none; }
body.drawer-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
body.drawer-open { overflow: hidden; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.drawer-head button { width: 38px; height: 38px; border-radius: 10px; font-size: 18px; }
.drawer-head button:hover { background: var(--paper); }
.drawer-search { padding: 14px 18px; }
.drawer-search form { display: flex; border: 1.5px solid var(--line-dark); border-radius: var(--radius-pill); padding: 4px 4px 4px 14px; }
.drawer-search input { border: 0; outline: 0; flex: 1; font-size: 14px; min-width: 0; }
.drawer-search button { background: var(--primary); color: #fff; border-radius: var(--radius-pill); padding: 8px 14px; }
.drawer-section { padding: 6px 10px 14px; }
.drawer-section h5 { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-muted); padding: 8px 10px; font-family: var(--font-body); }
.drawer-section a { display: flex; align-items: center; gap: 12px; padding: 11px 10px; border-radius: 10px; font-weight: 600; font-size: 14px; }
.drawer-section a i { width: 20px; text-align: center; color: var(--primary); }
.drawer-section a:hover { background: var(--paper); }

/* ---------- BREADCRUMB ---------- */
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--ink-muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--ink-soft); font-weight: 500; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb i { font-size: 9px; }
.breadcrumb span:last-child { color: var(--ink); font-weight: 600; }

/* ---------- PRODUCT CARDS (shared) ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.product-card {
    background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line);
    overflow: hidden; display: flex; flex-direction: column; position: relative;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-card-link { display: flex; flex-direction: column; flex: 1; }
.product-media { position: relative; aspect-ratio: 3/2; background: var(--paper-dark); overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.product-card:hover .product-media img { transform: scale(1.05); }
.product-badge {
    position: absolute; top: 12px; left: 12px; z-index: 1;
    background: #fff; color: var(--ink-strong); padding: 4px 10px; border-radius: var(--radius-pill);
    font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; box-shadow: var(--shadow-sm);
}
.product-badge.premium { background: var(--ink-strong); color: var(--gold); }
.product-badge.fast { background: var(--pink); color: #fff; }
.product-quick {
    position: absolute; right: 12px; bottom: 12px; z-index: 1; display: flex; gap: 6px;
    opacity: 0; transform: translateY(6px); transition: all .25s ease;
}
.product-card:hover .product-quick { opacity: 1; transform: none; }
.product-quick a, .product-quick button {
    height: 36px; padding: 0 12px; border-radius: var(--radius-pill); background: #fff; color: var(--ink-strong);
    display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; box-shadow: var(--shadow-md);
}
.product-quick a:hover, .product-quick button:hover { background: var(--ink-strong); color: #fff; }
.product-body { padding: 16px 16px 6px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.product-cat { font-size: 11px; font-weight: 700; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .08em; }
.product-body h3 { font-size: 15.5px; font-weight: 800; line-height: 1.35; letter-spacing: -0.01em; }
.product-rating { display: flex; align-items: center; gap: 6px; }
.stars { color: #D0D5DD; font-size: 11.5px; letter-spacing: 1px; }
.stars .filled { color: #F5B700; }
.review-count { font-size: 12px; color: var(--ink-muted); }
.price-row { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; padding-top: 6px; }
.price-from { font-size: 11px; color: var(--ink-muted); font-weight: 600; display: block; }
.price { font-size: 18px; font-weight: 800; color: var(--ink-strong); font-family: var(--font-display); }
.min-qty { font-size: 11.5px; color: var(--ink-muted); font-weight: 500; }
.product-actions { display: flex; gap: 8px; padding: 12px 16px 16px; }
.product-actions .btn { flex: 1; }
.product-actions .btn.btn-icon, .product-actions .wishlist-btn { flex: 0 0 40px; width: 40px; padding: 0; }
.wishlist-btn i.active { color: var(--pink); }

/* ---------- EMPTY STATE ---------- */
.empty-state { text-align: center; padding: 56px 24px; background: #fff; border-radius: var(--radius-lg); border: 1.5px dashed var(--line-dark); }
.empty-state .empty-icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 18px; display: flex; align-items: center; justify-content: center; background: var(--primary-lighter); color: var(--primary); font-size: 26px; }
.empty-state .regmark { width: 28px; height: 28px; margin: 0 auto 16px; color: var(--primary); }
.empty-state h3 { font-size: 20px; margin-bottom: 6px; }
.empty-state p { font-size: 14px; margin-bottom: 16px; }

/* ---------- ACCOUNT DASHBOARD ---------- */
.dash-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; margin-top: 8px; }
.dash-nav { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 10px; position: sticky; top: calc(var(--header-h) + 66px); }
.dash-nav .user-info { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 18px 10px 16px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.user-avatar { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--cyan)); color: #fff; font-size: 22px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.dash-nav .user-info strong { font-size: 15px; }
.dash-nav .user-info span { font-size: 12.5px; color: var(--ink-muted); word-break: break-all; }
.dash-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.dash-nav a i { width: 18px; text-align: center; color: var(--ink-muted); }
.dash-nav a:hover { background: var(--paper); color: var(--ink); }
.dash-nav a.active { background: var(--primary-lighter); color: var(--primary); }
.dash-nav a.active i { color: var(--primary); }
.dash-nav a.logout { color: var(--danger); }
.dash-nav a.logout i { color: var(--danger); }
.dash-content { min-width: 0; }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; }
.stat-card i { grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 12px; background: var(--primary-lighter); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.stat-card strong { font-size: 22px; font-family: var(--font-display); line-height: 1.1; }
.stat-card span { font-size: 12.5px; color: var(--ink-muted); }
a.stat-card:hover { border-color: var(--primary); }

/* Orders list */
.orders-list { display: flex; flex-direction: column; gap: 14px; }
.order-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.order-card-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; background: var(--paper); border-bottom: 1px solid var(--line); }
.order-card-header strong { display: block; font-size: 14.5px; }
.order-date { font-size: 12.5px; color: var(--ink-muted); }
.order-card-body { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; }
.order-items-preview { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.order-items-preview .oi { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; background: var(--paper); border-radius: 10px; padding: 4px 10px 4px 4px; }
.order-items-preview img { width: 32px; height: 32px; border-radius: 7px; object-fit: cover; }
.more-items { font-size: 12px; color: var(--ink-muted); }
.order-total strong { font-size: 18px; font-family: var(--font-display); }
.order-card-footer { display: flex; gap: 8px; padding: 0 20px 16px; flex-wrap: wrap; }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--ink-strong); color: rgba(255,255,255,.75); margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr; gap: 40px; padding: 64px 0 40px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; color: #fff; font-family: var(--font-display); font-size: 19px; font-weight: 800; }
.footer-logo .logo-mark::after { border-color: var(--ink-strong); }
.footer-tagline { font-size: 11px; color: var(--gold); letter-spacing: .16em; text-transform: uppercase; font-weight: 700; margin-bottom: 12px; }
.footer-desc { font-size: 13.5px; color: rgba(255,255,255,.6); line-height: 1.75; margin-bottom: 20px; max-width: 320px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 11px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.85); font-size: 15px; }
.footer-social a:hover { background: var(--gold); color: var(--ink-strong); }
.footer-col h4 { color: #fff; font-size: 13px; font-weight: 800; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .1em; font-family: var(--font-body); }
.footer-col a { display: block; font-size: 13.5px; color: rgba(255,255,255,.62); margin-bottom: 10px; }
.footer-col a:hover { color: var(--gold); }
.footer-contact p { display: flex; gap: 10px; font-size: 13.5px; color: rgba(255,255,255,.7); margin-bottom: 12px; line-height: 1.5; }
.footer-contact i { color: var(--gold); margin-top: 3px; width: 16px; }
.footer-contact a { color: rgba(255,255,255,.85); }
.footer-contact a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 12.5px; color: rgba(255,255,255,.45); }
.payment-icons { display: flex; gap: 10px; font-size: 26px; color: rgba(255,255,255,.5); align-items: center; }
.payment-icons .upi { font-size: 12px; font-weight: 800; letter-spacing: .04em; border: 1.5px solid rgba(255,255,255,.4); border-radius: 5px; padding: 2px 6px; }

/* Floating WhatsApp */
.wa-float {
    position: fixed; right: 20px; bottom: 20px; z-index: 300; width: 54px; height: 54px; border-radius: 50%;
    background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 27px;
    box-shadow: 0 10px 24px -6px rgba(37,211,102,.6); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- TOAST ---------- */
.toast-container { position: fixed; top: 20px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast {
    pointer-events: auto; display: flex; align-items: center; gap: 10px;
    background: var(--ink-strong); color: #fff; border-radius: var(--radius-md); padding: 13px 16px;
    box-shadow: var(--shadow-xl); font-size: 14px; font-weight: 500; max-width: 360px;
    animation: toastIn .3s cubic-bezier(.2,.7,.2,1); transition: opacity .3s, transform .3s;
}
.toast::before { font-family: 'Font Awesome 6 Free'; font-weight: 900; content: '\f05a'; color: #93C5FD; }
.toast-success::before { content: '\f058'; color: #4ADE80; }
.toast-error::before { content: '\f06a'; color: #F87171; }
.toast-warning::before { content: '\f071'; color: var(--gold); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px) scale(.97); } to { opacity: 1; transform: none; } }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1180px) {
    .header-action span.label { display: none; }
    .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
    .footer-contact { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 24px; }
    .footer-contact h4 { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
    .nav-row { display: none; }
    .mobile-menu-btn { display: flex; }
    .header-inner { gap: 12px; }
    .dash-layout { grid-template-columns: 1fr; }
    .dash-nav { position: static; display: flex; overflow-x: auto; padding: 6px; gap: 4px; }
    .dash-nav .user-info { display: none; }
    .dash-nav a { white-space: nowrap; }
}
@media (max-width: 768px) {
    :root { --header-h: 64px; }
    .utility-left span:nth-child(n+2) { display: none; }
    .utility-right .hide-sm { display: none; }
    .header-search { display: none; }
    .logo-text small { display: none; }
    .header-action { padding: 0 9px; }
    .section { padding: 52px 0; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 48px; }
    .footer-top > .footer-col:first-child { grid-column: 1 / -1; }
    .footer-contact { grid-template-columns: 1fr; }
    .dash-stats { grid-template-columns: 1fr; }
    .order-card-body { flex-direction: column; align-items: flex-start; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .product-body { padding: 12px 12px 4px; }
    .product-body h3 { font-size: 14px; }
    .product-actions { padding: 10px 12px 12px; }
    .product-quick { display: none; }
}
@media (max-width: 576px) {
    .wrap { padding: 0 16px; }
    .form-grid { grid-template-columns: 1fr; }
    .header-action.hide-xs { display: none; }
    .toast-container { left: 16px; right: 16px; }
    .toast { max-width: none; }
}
