/* ===========================
   HEISER ATACADO - DESIGN SYSTEM
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #eff6ff;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --bg: #f1f5f9;
    --surface: #ffffff;
    --border: #e2e8f0;
    --text: #0f172a;
    --text-muted: #64748b;
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08);
    --shadow: 0 4px 16px rgba(0, 0, 0, .08);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, .12);
    --nav-h: 68px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ===== TOP NAVBAR ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--nav-h);
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    padding: 0 2rem;
    gap: 2rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    text-decoration: none;
    flex-shrink: 0;
}

.navbar-brand .brand-icon {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.navbar-brand .brand-name {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--text);
    letter-spacing: -.04em;
}

.navbar-brand .brand-sub {
    font-size: .6rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: .1em;
    display: block;
    margin-top: -2px;
}

.navbar-nav {
    display: flex;
    gap: .25rem;
    list-style: none;
    flex: 1;
}

.navbar-nav a {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .5rem .9rem;
    border-radius: var(--radius-sm);
    font-size: .875rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    transition: all .18s;
}

.navbar-nav a:hover {
    background: var(--bg);
    color: var(--text);
}

.navbar-nav a.active {
    background: var(--primary-light);
    color: var(--primary);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-shrink: 0;
}

.nav-icon-btn {
    position: relative;
    width: 42px;
    height: 42px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    color: var(--text);
    transition: all .18s;
}

.nav-icon-btn:hover {
    background: white;
    box-shadow: var(--shadow-sm);
}

.nav-icon-btn .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger);
    color: white;
    font-size: .6rem;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.user-chip {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .4rem .75rem .4rem .4rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 100px;
    cursor: pointer;
    text-decoration: none;
    transition: all .18s;
}

.user-chip:hover {
    background: white;
    box-shadow: var(--shadow-sm);
}

.user-chip .avatar {
    width: 30px;
    height: 30px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-size: .8rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-chip .user-name {
    font-size: .85rem;
    font-weight: 700;
    color: var(--text);
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ===== MOBILE HEADER ===== */
.mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .9rem 1rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 900;
}

.mobile-menu-btn {
    background: none;
    border: none;
    padding: .4rem;
    cursor: pointer;
    color: var(--text);
    border-radius: var(--radius-sm);
}

.mobile-menu-btn:hover {
    background: var(--bg);
}

@media (min-width: 1024px) {
    .navbar {
        display: flex;
    }

    .mobile-header {
        display: none;
    }
}

@media (max-width: 1023px) {
    .navbar {
        display: none;
    }
}

/* ===== MOBILE DRAWER ===== */
.drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(4px);
    z-index: 1998;
}

.drawer-overlay.open {
    display: block;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: -100%;
    height: 100vh;
    width: min(320px, 85vw);
    background: var(--surface);
    z-index: 1999;
    transition: left .3s cubic-bezier(.4, 0, .2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-drawer.open {
    left: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.25rem 1rem;
    border-bottom: 1px solid var(--border);
}

.drawer-close {
    background: var(--bg);
    border: none;
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .18s;
}

.drawer-close:hover {
    background: var(--border);
}

.drawer-nav {
    padding: 1rem;
}

.drawer-nav-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .8rem 1rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: .9rem;
    transition: all .18s;
    margin-bottom: .25rem;
}

.drawer-nav-item:hover {
    background: var(--bg);
    color: var(--text);
}

.drawer-nav-item.active {
    background: var(--primary-light);
    color: var(--primary);
}

.drawer-search {
    padding: .75rem 1rem;
    border-top: 1px solid var(--border);
}

/* ===== LAYOUT ===== */
.page-layout {
    display: flex;
    min-height: calc(100vh - var(--nav-h));
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
    padding: 1.5rem;
    gap: 1.5rem;
}

/* ===== SIDEBAR ===== */
.sidebar {
    width: 240px;
    flex-shrink: 0;
    display: none;
    flex-direction: column;
    gap: 1.25rem;
}

@media (min-width: 1024px) {
    .sidebar {
        display: flex;
    }
}

.sidebar-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
}

.sidebar-title {
    font-size: .65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--text-muted);
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid var(--border);
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box input {
    width: 100%;
    height: 42px;
    background: var(--bg);
    border: 1.5px solid transparent;
    border-radius: var(--radius-sm);
    padding: 0 .75rem 0 2.5rem;
    font-size: .875rem;
    font-weight: 500;
    color: var(--text);
    outline: none;
    transition: all .2s;
}

.search-box input:focus {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .1);
}

.search-box .search-icon {
    position: absolute;
    left: .75rem;
    color: var(--text-muted);
    pointer-events: none;
}

.search-box .search-btn {
    position: absolute;
    right: 4px;
    width: 34px;
    height: 34px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .18s;
}

.search-box .search-btn:hover {
    background: var(--primary-dark);
}

.cat-list {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}

.cat-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .6rem .9rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-muted);
    font-size: .875rem;
    font-weight: 600;
    transition: all .18s;
}

.cat-item:hover {
    background: var(--bg);
    color: var(--text);
}

.cat-item.active {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 700;
}

.cat-item .cat-count {
    margin-left: auto;
    font-size: .7rem;
    font-weight: 700;
    background: var(--bg);
    color: var(--text-muted);
    padding: .1rem .5rem;
    border-radius: 100px;
}

.cat-item.active .cat-count {
    background: var(--primary);
    color: white;
}

/* ===== MAIN CONTENT ===== */
.main {
    flex: 1;
    min-width: 0;
}

.results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: .75rem;
}

.results-title {
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: -.035em;
    color: var(--text);
}

.results-count {
    font-size: .8rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--surface);
    border: 1px solid var(--border);
    padding: .3rem .85rem;
    border-radius: 100px;
}

/* ===== PRODUCT GRID ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1.25rem;
}

@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: .75rem;
    }
}

/* ===== PRODUCT CARD ===== */
.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .25s cubic-bezier(.4, 0, .2, 1), box-shadow .25s cubic-bezier(.4, 0, .2, 1);
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.card-image {
    background: var(--bg);
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

@media (max-width: 600px) {
    .card-image {
        height: 130px;
    }
}

.card-image img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
    transition: transform .3s;
}

.product-card:hover .card-image img {
    transform: scale(1.06);
}

.no-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    color: #cbd5e1;
}

.no-image span {
    font-size: .7rem;
    font-weight: 600;
}

.offer-pill {
    position: absolute;
    top: .75rem;
    right: .75rem;
    background: var(--danger);
    color: white;
    font-size: .6rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: .25rem .7rem;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: .3rem;
    box-shadow: 0 3px 10px rgba(239, 68, 68, .35);
}

.card-body {
    padding: .85rem;
    display: flex;
    flex-direction: column;
    gap: .55rem;
    flex: 1;
}

.cat-pill {
    display: inline-flex;
    align-items: center;
    background: var(--primary-light);
    color: var(--primary);
    font-size: .62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
    padding: .25rem .65rem;
    border-radius: 100px;
    width: fit-content;
}

.product-name {
    font-size: .82rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.1em;
}

.price-block {
    background: var(--bg);
    border-radius: var(--radius-sm);
    padding: .6rem .75rem;
}

.price-label {
    font-size: .56rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-muted);
    margin-bottom: .15rem;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: .5rem;
}

.price-main {
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--success);
    letter-spacing: -.03em;
}

@media (max-width: 600px) {
    .price-main {
        font-size: .95rem;
    }
}

.price-old {
    font-size: .75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: line-through;
}

.stock-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .75rem;
    color: var(--text-muted);
    font-weight: 600;
}

.stock-badge {
    font-size: .68rem;
    font-weight: 800;
    padding: .2rem .65rem;
    border-radius: 100px;
    color: white;
}

.stock-high {
    background: var(--success);
}

.stock-med {
    background: var(--warning);
    color: var(--text);
}

.stock-low {
    background: var(--danger);
}

.add-row {
    display: flex;
    gap: .4rem;
    margin-top: auto;
}

.qty-input {
    width: 52px;
    height: 38px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: .85rem;
    font-weight: 800;
    color: var(--text);
    background: var(--bg);
    outline: none;
    transition: all .18s;
    flex-shrink: 0;
}

.qty-input:focus {
    border-color: var(--primary);
    background: white;
}

.btn-add {
    flex: 1;
    height: 38px;
    min-width: 0;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .03em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .3rem;
    transition: all .2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-add:hover {
    background: var(--primary-dark);
    transform: scale(1.02);
}

.btn-add:active {
    transform: scale(.98);
}

.btn-add:disabled {
    background: var(--border);
    color: var(--text-muted);
    cursor: not-allowed;
    transform: none;
}

/* ===== EMPTY STATE ===== */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 5rem 2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.empty-icon {
    width: 72px;
    height: 72px;
    background: var(--bg);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.empty-state h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: .5rem;
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* ===== PAGINATION ===== */
.pagination-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .4rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.page-btn {
    height: 38px;
    min-width: 38px;
    padding: 0 .75rem;
    border: 1.5px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    font-size: .85rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .18s;
}

.page-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.page-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, .3);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .625rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: .875rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all .18s;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ===== UTILITIES ===== */
.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.gap-2 {
    gap: .5rem;
}

.w-full {
    width: 100%;
}

.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: .25rem;
}

.hidden {
    display: none;
}

/* ===== FLOAT CART (mobile) ===== */
.float-cart {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37, 99, 235, .4);
    text-decoration: none;
    z-index: 800;
    transition: transform .2s;
}

.float-cart:hover {
    transform: scale(1.08);
}

.float-cart .badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--danger);
    color: white;
    font-size: .62rem;
    font-weight: 900;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

@media (min-width: 1024px) {
    .float-cart {
        display: none;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    animation: fadeUp .4s ease both;
}

/* ===== CART PAGE ===== */
.cart-page {
    padding: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.cart-title {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -.04em;
    margin-bottom: 1.5rem;
}

.cart-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: .9rem 1rem;
    display: grid;
    grid-template-columns: 48px 1fr auto auto;
    grid-template-areas:
        "thumb info sub remove"
        "thumb controls controls remove";
    gap: .4rem .75rem;
    align-items: center;
    margin-bottom: .75rem;
}

@media (max-width: 500px) {
    .cart-item {
        grid-template-columns: 44px 1fr auto;
        grid-template-areas:
            "thumb info remove"
            "thumb controls controls";
        gap: .4rem .6rem;
        padding: .75rem;
    }

    .cart-item-subtotal {
        display: none;
    }
}

.cart-item-thumb {
    grid-area: thumb;
    width: 44px;
    height: 44px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-info {
    grid-area: info;
    min-width: 0;
    overflow: hidden;
}

.cart-item-name {
    font-weight: 800;
    font-size: .82rem;
    margin-bottom: .1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-price {
    font-size: .72rem;
    color: var(--text-muted);
    font-weight: 600;
}

.cart-item-controls {
    grid-area: controls;
    display: flex;
    align-items: center;
    gap: .4rem;
}

.cart-item-subtotal {
    grid-area: sub;
    font-size: .9rem;
    font-weight: 900;
    white-space: nowrap;
    text-align: right;
}

.cart-remove {
    grid-area: remove;
    background: none;
    border: none;
    color: var(--danger);
    cursor: pointer;
    padding: .25rem;
    border-radius: 6px;
    transition: background .18s;
    align-self: start;
}

.cart-remove:hover {
    background: #fef2f2;
}

.qty-ctrl {
    width: 32px;
    height: 32px;
    border: 1.5px solid var(--border);
    background: var(--bg);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    transition: all .18s;
}

.qty-ctrl:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.cart-item-subtotal {
    font-size: 1.1rem;
    font-weight: 900;
    min-width: 80px;
    text-align: right;
}

.cart-remove {
    background: none;
    border: none;
    color: var(--danger);
    cursor: pointer;
    padding: .25rem;
    border-radius: 6px;
    transition: background .18s;
}

.cart-remove:hover {
    background: #fef2f2;
}

.cart-summary {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .9rem 0;
    border-top: 1px solid var(--border);
}

.cart-total-label {
    font-weight: 700;
    color: var(--text-muted);
}

.cart-total-value {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--success);
    letter-spacing: -.05em;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-muted);
    margin-bottom: .4rem;
}

.form-control {
    width: 100%;
    height: 48px;
    background: var(--bg);
    border: 1.5px solid transparent;
    border-radius: var(--radius-sm);
    padding: 0 1rem;
    font-size: .9rem;
    font-weight: 600;
    color: var(--text);
    outline: none;
    transition: all .2s;
    font-family: inherit;
}

.form-control:focus {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .1);
}

textarea.form-control {
    height: auto;
    padding: .75rem 1rem;
    resize: none;
}

.btn-checkout {
    width: 100%;
    height: 56px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: .02em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    transition: all .2s;
    margin-top: 1.5rem;
}

.btn-checkout:hover {
    background: var(--primary-dark);
    transform: scale(1.01);
    box-shadow: 0 8px 24px rgba(37, 99, 235, .3);
}

/* ===== ORDERS PAGE ===== */
.orders-page {
    padding: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.order-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.order-code {
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: -.03em;
}

.order-date {
    font-size: .75rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: .2rem;
}

.status-badge {
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
    padding: .3rem .85rem;
    border-radius: 100px;
}

.status-pendente {
    background: #fef3c7;
    color: #92400e;
}

.status-aprovado {
    background: #d1fae5;
    color: #065f46;
}

.status-cancelado {
    background: #fee2e2;
    color: #991b1b;
}

.order-info {
    background: var(--bg);
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-bottom: 1rem;
    font-size: .82rem;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: .75rem;
    border-top: 1px solid var(--border);
}

.order-total {
    font-size: 1.2rem;
    font-weight: 900;
}

/* ===== LOGIN PAGE ===== */
.auth-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
}

.auth-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-lg);
}

.auth-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo .brand-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 1rem;
    background: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.auth-logo h1 {
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: -.04em;
}

.auth-logo p {
    color: var(--text-muted);
    font-size: .875rem;
    margin-top: .25rem;
}