/* ============================================================
   MINLAP — Design System
   Black & white wholesale quick-commerce. Archivo (display) +
   Inter (body) + IBM Plex Mono (prices/data). Signature: the
   notched price-tag, used everywhere money is shown.
   ============================================================ */

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

:root {
    --ink: #111111;
    --ink-soft: #2b2b2b;
    --paper: #ffffff;
    --smoke: #f2f2f2;
    --smoke-deep: #e8e8e8;
    --line: #dedede;
    --mid: #767676;
    --danger: #b3261e;
    --danger-bg: #fbeceb;

    --radius: 4px;
    --radius-lg: 10px;
    --header-h: 60px;
    --max: 1240px;

    --f-display: 'Archivo', sans-serif;
    --f-body: 'Inter', -apple-system, sans-serif;
    --f-mono: 'IBM Plex Mono', monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--f-body);
    background: var(--paper);
    color: var(--ink);
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

h1, h2, h3 { font-family: var(--f-display); font-weight: 900; letter-spacing: -0.02em; margin: 0 0 12px; }
h1 { font-size: 30px; }
h2 { font-size: 20px; }
h3 { font-size: 16px; }
.muted { color: var(--mid); font-size: 13px; }
.mono { font-family: var(--f-mono); }

/* ============================================================
   Layout shell
   ============================================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    height: var(--header-h);
}
.header-inner {
    max-width: var(--max);
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 16px;
}
.site-logo {
    font-family: var(--f-display);
    font-weight: 900;
    font-size: 22px;
    letter-spacing: -0.03em;
    flex-shrink: 0;
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.site-logo .eta {
    font-family: var(--f-mono);
    font-size: 10px;
    font-weight: 600;
    background: var(--ink);
    color: var(--paper);
    padding: 2px 6px;
    border-radius: 3px;
    letter-spacing: 0;
}
.search-bar {
    flex: 1;
    max-width: 480px;
    display: none;
}
.search-bar form { display: flex; border: 1.5px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.search-bar input {
    flex: 1;
    border: none;
    padding: 9px 12px;
    font-size: 14px;
    font-family: var(--f-body);
    background: var(--paper);
}
.search-bar input:focus { outline: none; }
.search-bar button {
    border: none;
    background: var(--ink);
    color: var(--paper);
    padding: 0 16px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
}
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.icon-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
}
.icon-link:hover { background: var(--smoke); text-decoration: none; }
.icon-link svg { width: 20px; height: 20px; stroke: var(--ink); fill: none; stroke-width: 1.8; }
.cart-badge {
    position: absolute;
    top: 2px; right: 2px;
    background: var(--ink);
    color: var(--paper);
    font-family: var(--f-mono);
    font-size: 9px;
    font-weight: 700;
    min-width: 15px;
    height: 15px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    padding: 0 3px;
}
.hdr-text-link { font-size: 13px; font-weight: 600; padding: 8px 10px; }
.menu-toggle {
    display: flex;
    background: none; border: none; cursor: pointer;
    width: 38px; height: 38px; align-items: center; justify-content: center;
}
.menu-toggle svg { width: 22px; height: 22px; stroke: var(--ink); stroke-width: 1.8; fill: none; }

.mobile-drawer {
    display: none;
    position: fixed; inset: 0;
    z-index: 50;
    background: rgba(0,0,0,0.4);
}
.mobile-drawer.open { display: block; }
.mobile-drawer-panel {
    position: absolute; top: 0; right: 0; bottom: 0;
    width: 78%; max-width: 320px;
    background: var(--paper);
    padding: 20px;
    display: flex; flex-direction: column; gap: 4px;
}
.mobile-drawer-panel a, .mobile-drawer-panel .link-button {
    padding: 13px 6px;
    border-bottom: 1px solid var(--line);
    font-weight: 600;
    font-size: 15px;
    text-align: left;
    background: none; border: none; width: 100%; cursor: pointer; color: var(--ink);
}
.mobile-drawer-close { align-self: flex-end; background: none; border: none; font-size: 22px; cursor: pointer; padding: 6px; }

.site-main { max-width: var(--max); margin: 0 auto; padding: 20px 16px 90px; }
.link-button { background: none; border: none; color: inherit; cursor: pointer; padding: 0; font: inherit; }

/* ============================================================
   Buttons & forms
   ============================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--ink);
    color: var(--paper);
    border: 1.5px solid var(--ink);
    padding: 12px 20px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
    text-decoration: none;
}
.btn:hover { background: var(--ink-soft); text-decoration: none; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-outline { background: var(--paper); color: var(--ink); }
.btn-outline:hover { background: var(--smoke); }
.btn-block { width: 100%; }
.btn-auto { width: auto; }

.btn-sm {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 7px 12px;
    border: 1.5px solid var(--ink);
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    background: var(--paper);
    color: var(--ink);
}
.btn-sm:hover { background: var(--smoke); }
.btn-sm.filled { background: var(--ink); color: var(--paper); }
.btn-sm.filled:hover { background: var(--ink-soft); }
.btn-sm.danger { border-color: var(--danger); color: var(--danger); }
.btn-sm.danger:hover { background: var(--danger-bg); }

.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--ink); border-radius: var(--radius); }
.stepper button { background: none; border: none; width: 30px; height: 30px; font-size: 16px; font-weight: 700; cursor: pointer; }
.stepper input { width: 34px; border: none; text-align: center; font-family: var(--f-mono); font-weight: 600; font-size: 13px; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 6px; color: var(--ink-soft); }
.form-group input, .form-group select {
    width: 100%;
    padding: 11px 12px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: var(--f-body);
    background: var(--paper);
}
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--ink); }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }

.alert { padding: 12px 14px; border-radius: var(--radius); font-size: 13px; margin-bottom: 16px; border: 1.5px solid; }
.alert-error { background: var(--danger-bg); color: var(--danger); border-color: var(--danger); }
.alert-success { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ============================================================
   Cards & surfaces
   ============================================================ */

.card { background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 18px; }
.card-tight { padding: 14px; }

/* --- Price tag (signature element) --- */
.tag-price {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    font-family: var(--f-mono);
    font-weight: 700;
    font-size: 15px;
    background: var(--ink);
    color: var(--paper);
    padding: 3px 8px 3px 10px;
    border-radius: 3px;
    position: relative;
}
.tag-price::before {
    content: "";
    position: absolute;
    left: -1px; top: 50%;
    width: 6px; height: 6px;
    background: var(--paper);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.tag-price.lg { font-size: 22px; padding: 6px 14px 6px 16px; }
.tag-price.outline { background: var(--paper); color: var(--ink); border: 1.5px solid var(--ink); }
.tag-price.outline::before { background: var(--paper); border: 1.5px solid var(--ink); }

/* ============================================================
   Category chips
   ============================================================ */

.chip-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 12px; margin-bottom: 20px; scrollbar-width: none; }
.chip-row::-webkit-scrollbar { display: none; }
.chip {
    flex-shrink: 0;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    width: 78px;
    text-align: center;
}
.chip-icon {
    width: 68px; height: 68px;
    border: 2px solid var(--ink);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--f-display); font-weight: 900; font-size: 22px;
    background: var(--paper);
}
.chip:hover .chip-icon { background: var(--ink); color: var(--paper); text-decoration: none; }
.chip span { font-size: 11px; font-weight: 600; line-height: 1.2; }

.filter-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.pill {
    padding: 7px 14px;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}
.pill.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pill:hover { border-color: var(--ink); text-decoration: none; }

/* ============================================================
   Product grid & card
   ============================================================ */

.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 24px; }
.product-card {
    display: block;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: var(--ink);
    background: var(--paper);
    position: relative;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.product-card:hover { border-color: var(--ink); text-decoration: none; box-shadow: 0 6px 16px rgba(0,0,0,0.1); }
.product-card-image { aspect-ratio: 1; background: var(--smoke); display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.product-card-image img { width: 100%; height: 100%; object-fit: cover; }
.product-card-placeholder { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--mid); }
.product-card-placeholder svg { width: 26px; height: 26px; stroke: var(--mid); fill: none; stroke-width: 1.5; opacity: 0.6; }
.product-card-placeholder span { font-size: 10px; font-family: var(--f-mono); letter-spacing: 0.04em; }
.product-card-body { padding: 10px 10px 12px; }
.product-card-unit { font-size: 10px; color: var(--mid); font-family: var(--f-mono); margin-bottom: 2px; text-transform: uppercase; letter-spacing: 0.03em; }
.product-card-name { font-size: 13px; font-weight: 600; line-height: 1.3; margin-bottom: 10px; min-height: 34px; }
.product-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.wishlist-dot {
    position: absolute; top: 8px; right: 8px;
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(255,255,255,0.92);
    border: 1.5px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    z-index: 2;
}

/* Quick-add button — sits on the card, no need to open the product */
.quick-add-btn {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--paper);
    border: none;
    font-size: 19px;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    line-height: 1;
}
.quick-add-btn:hover { background: var(--ink-soft); }
.quick-add-strip { position: absolute; bottom: 10px; right: 10px; z-index: 2; }
.card-price-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 10px 12px; }
.stock-dot-row { display: flex; align-items: center; gap: 4px; font-size: 10px; color: var(--mid); font-family: var(--f-mono); margin-bottom: 6px; }
.stock-dot-row .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--ink); }
.stock-dot-row.out .dot { background: var(--danger); }
.stock-dot-row.out { color: var(--danger); }

.sort-bar { display: flex; gap: 4px; margin-bottom: 16px; flex-wrap: wrap; align-items: center; }
.sort-bar .muted { margin-right: 6px; }
.sort-bar a { font-size: 12px; padding: 6px 10px; border-radius: 999px; font-weight: 600; }
.sort-bar a.active { background: var(--ink); color: var(--paper); text-decoration: none; }

.catalog-layout { display: flex; gap: 24px; align-items: flex-start; }
.filters-sidebar { width: 200px; flex-shrink: 0; display: none; }
.filters-sidebar h3 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--mid); margin-bottom: 10px; font-family: var(--f-body); font-weight: 700; }
.filter-list { list-style: none; padding: 0; margin: 0 0 24px; }
.filter-list li { margin-bottom: 2px; }
.filter-list a { display: block; padding: 6px 0; color: var(--ink); font-size: 13px; }
.filter-list a.active { font-weight: 800; }
.catalog-main { flex: 1; min-width: 0; }

.pagination { display: flex; gap: 6px; margin-top: 20px; }
.pagination a { padding: 8px 13px; border: 1.5px solid var(--line); border-radius: var(--radius); font-size: 13px; font-weight: 600; font-family: var(--f-mono); }
.pagination a.active { background: var(--ink); color: var(--paper); border-color: var(--ink); text-decoration: none; }

/* ============================================================
   Hero
   ============================================================ */

.hero {
    padding: 26px 20px;
    background: var(--ink);
    color: var(--paper);
    border-radius: var(--radius-lg);
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 18px);
    pointer-events: none;
}
.hero h1 { font-size: 32px; max-width: 480px; color: var(--paper); position: relative; }
.hero p { color: #c9c9c9; font-size: 14px; max-width: 420px; position: relative; }
.hero-badges { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; position: relative; }
.hero-badge { border: 1.5px solid var(--paper); color: var(--paper); border-radius: 999px; padding: 6px 14px; font-size: 11px; font-weight: 700; font-family: var(--f-mono); }

/* ============================================================
   Product detail
   ============================================================ */

.product-detail { display: flex; flex-direction: column; gap: 24px; }
.product-detail-images { width: 100%; }
.product-detail-main-image { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-lg); border: 1.5px solid var(--line); background: var(--smoke); }
.product-thumbnails { display: flex; gap: 8px; margin-top: 8px; }
.product-thumbnails img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; border: 1.5px solid var(--line); }
.product-detail-info h1 { font-size: 22px; margin-bottom: 4px; }
.stock-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; margin: 8px 0; }
.stock-pill.in { background: var(--smoke); }
.stock-pill.out { background: var(--danger-bg); color: var(--danger); }
.stock-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ============================================================
   Cart & checkout
   ============================================================ */

.cart-layout, .checkout-layout { display: flex; flex-direction: column; gap: 20px; }
.cart-item {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}
.cart-item-image { width: 56px; height: 56px; border-radius: 6px; background: var(--smoke); overflow: hidden; }
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.cart-item-controls { display: flex; align-items: center; gap: 10px; grid-column: 2 / 4; margin-top: 8px; }

.summary-card { background: var(--smoke); border-radius: var(--radius-lg); padding: 18px; }
.summary-row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 13px; }
.summary-row.total { font-weight: 800; font-size: 15px; padding-top: 10px; margin-top: 6px; border-top: 1.5px solid var(--ink); font-family: var(--f-mono); }

.address-option {
    display: flex; gap: 10px; align-items: flex-start;
    padding: 13px; border: 1.5px solid var(--line); border-radius: var(--radius); margin-bottom: 8px; font-size: 13px;
}
.address-option:has(input:checked) { border-color: var(--ink); background: var(--smoke); }

/* Sticky mobile cart bar */
.mini-cart-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    background: var(--ink);
    color: var(--paper);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 30;
}
.mini-cart-bar a { color: var(--paper); font-weight: 700; font-size: 14px; }
.mini-cart-bar .mono { color: var(--paper); }

/* ============================================================
   Tables (orders/documents/etc)
   ============================================================ */

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 480px; }
.table th { text-align: left; padding: 10px 12px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--mid); border-bottom: 1.5px solid var(--ink); }
.table td { padding: 12px; border-bottom: 1px solid var(--line); }
.table tbody tr:hover { background: var(--smoke); }
.empty-cell { text-align: center; color: var(--mid); padding: 30px !important; }

/* ============================================================
   Status badges — monochrome: filled = done/positive,
   outline = in progress, red = only for cancel/reject
   ============================================================ */

.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; text-transform: capitalize; border: 1.5px solid var(--ink); }
.badge.b-outline { background: var(--paper); color: var(--ink); }
.badge.b-filled { background: var(--ink); color: var(--paper); }
.badge.b-danger { background: var(--danger-bg); color: var(--danger); border-color: var(--danger); }

/* ============================================================
   Auth (standalone) pages
   ============================================================ */

.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--paper); padding: 20px; }
.auth-card { width: 100%; max-width: 380px; }
.auth-card .auth-logo { font-family: var(--f-display); font-weight: 900; font-size: 26px; margin-bottom: 4px; }
.auth-card .subtitle { color: var(--mid); margin: 0 0 28px; font-size: 13px; }

/* ============================================================
   Utilities & responsive
   ============================================================ */

hr.rule { border: none; border-top: 1px solid var(--line); margin: 16px 0; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }

@media (min-width: 640px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 780px) {
    .search-bar { display: block; }
    .menu-toggle { display: none; }
    .hdr-text-link, .icon-link { display: flex; }
    .cart-item { grid-template-columns: 64px 1fr auto auto; }
    .cart-item-controls { grid-column: auto; margin-top: 0; }
    .mini-cart-bar { display: none !important; }
    .filters-sidebar { display: block; }
    .catalog-layout { flex-direction: row; }
    .checkout-layout { flex-direction: row; align-items: flex-start; }
    .checkout-main { flex: 2; }
    .checkout-aside { flex: 1; position: sticky; top: calc(var(--header-h) + 20px); min-width: 280px; }
    .cart-layout { flex-direction: row; align-items: flex-start; }
    .cart-items { flex: 2; }
    .cart-aside { flex: 1; position: sticky; top: calc(var(--header-h) + 20px); min-width: 300px; }
    .product-detail { flex-direction: row; gap: 40px; }
    .product-detail-images { max-width: 440px; }
}

@media (min-width: 1024px) {
    .product-grid { grid-template-columns: repeat(4, 1fr); }
    .hero { padding: 44px 40px; }
    .hero h1 { font-size: 48px; }
}

@media (max-width: 779px) {
    .site-main { padding-bottom: 100px; }
}

/* ============================================================
   Polish round — utility bar, rounded-square category tiles,
   store cards, bill breakdown, order timeline, account menu
   ============================================================ */

.utility-bar {
    background: var(--ink);
    color: #d0d0d0;
    font-size: 11px;
    padding: 6px 16px;
    display: none;
}
.utility-bar-inner { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.utility-bar a { color: #d0d0d0; margin-left: 18px; }
.utility-bar a:hover { color: var(--paper); text-decoration: none; }
.utility-bar .loc { display: flex; align-items: center; gap: 5px; }

/* Rounded-square category tiles (replaces circular chips on desktop nav row) */
.tile-row { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 24px; scrollbar-width: none; }
.tile-row::-webkit-scrollbar { display: none; }
.tile {
    flex-shrink: 0;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    width: 84px;
    text-align: center;
}
.tile-icon {
    width: 72px; height: 72px;
    border: 1.5px solid var(--line);
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--f-display); font-weight: 900; font-size: 24px;
    background: var(--smoke);
}
.tile:hover .tile-icon { background: var(--ink); color: var(--paper); border-color: var(--ink); text-decoration: none; }
.tile span { font-size: 11px; font-weight: 700; line-height: 1.2; }

/* Store cards (Top Stores / Category vendors) */
.store-row { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 24px; scrollbar-width: none; }
.store-row::-webkit-scrollbar { display: none; }
.store-card {
    flex-shrink: 0;
    width: 220px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 16px;
    color: var(--ink);
    background: var(--paper);
}
.store-card:hover { border-color: var(--ink); text-decoration: none; box-shadow: 0 6px 16px rgba(0,0,0,0.08); }
.store-card-icon {
    width: 44px; height: 44px; border-radius: 10px;
    background: var(--ink); color: var(--paper);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--f-display); font-weight: 900; font-size: 18px;
    margin-bottom: 10px;
}
.store-card h3 { font-size: 14px; margin-bottom: 4px; }
.store-card .muted { margin-bottom: 8px; }

.store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }

/* Bill / order summary breakdown */
.bill-card { background: var(--smoke); border-radius: var(--radius-lg); padding: 18px; }
.bill-card h3 { margin-top: 0; }
.bill-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 13px; }
.bill-row .mono { font-family: var(--f-mono); }
.bill-row.total { font-weight: 800; font-size: 16px; padding-top: 12px; margin-top: 8px; border-top: 1.5px solid var(--ink); font-family: var(--f-mono); }

/* Order status timeline */
.order-timeline { list-style: none; margin: 0; padding: 0; }
.order-timeline li {
    position: relative;
    padding: 0 0 22px 28px;
    border-left: 2px solid var(--line);
    margin-left: 6px;
}
.order-timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.order-timeline li::before {
    content: "";
    position: absolute;
    left: -7px; top: 0;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--ink);
    border: 2px solid var(--paper);
}
.order-timeline li.pending::before { background: var(--paper); border: 2px solid var(--line); }
.order-timeline .step-label { font-weight: 700; font-size: 13px; }
.order-timeline .step-time { font-size: 11px; color: var(--mid); font-family: var(--f-mono); margin-top: 2px; }

/* Account menu */
.account-menu { list-style: none; margin: 0; padding: 0; border: 1.5px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.account-menu li { border-bottom: 1px solid var(--line); }
.account-menu li:last-child { border-bottom: none; }
.account-menu a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 15px 18px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
}
.account-menu a:hover { background: var(--smoke); text-decoration: none; }
.account-menu .chevron { color: var(--mid); font-family: var(--f-mono); }
.account-header { display: flex; align-items: center; gap: 14px; padding: 20px; border: 1.5px solid var(--line); border-radius: var(--radius-lg); margin-bottom: 20px; }
.account-avatar {
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--ink); color: var(--paper);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--f-display); font-weight: 900; font-size: 20px;
    flex-shrink: 0;
}

@media (min-width: 780px) {
    .utility-bar { display: block; }
}

/* ============================================================
   MRP / discount display (Wave C)
   ============================================================ */
.price-block { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.mrp-strike { font-family: var(--f-mono); font-size: 11px; color: var(--mid); text-decoration: line-through; }
.discount-pill { font-family: var(--f-mono); font-size: 10px; font-weight: 700; color: var(--ink); background: var(--smoke); border: 1px solid var(--line); border-radius: 3px; padding: 1px 5px; }
.attr-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 8px; }
.attr-table td { padding: 6px 0; border-bottom: 1px solid var(--line); }
.attr-table td:first-child { color: var(--mid); width: 45%; }
