/* ==================== CSS RESET & ROOT VARIABLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #2e7d32;
    --primary-green-light: #4caf50;
    --primary-green-dark: #1b5e20;
    --secondary-orange: #ff9800;
    --secondary-orange-light: #ffb74d;
    --accent-red: #e53935;
    --accent-blue: #1976d2;
    --white: #ffffff;
    --off-white: #f5f5f5;
    --light-gray: #e0e0e0;
    --medium-gray: #9e9e9e;
    --dark-gray: #424242;
    --black: #212121;
    --gradient-primary: linear-gradient(135deg, #2e7d32 0%, #66bb6a 100%);
    --gradient-hero: linear-gradient(135deg, #1b5e20 0%, #2e7d32 50%, #43a047 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.16);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 50%;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--off-white);
    color: var(--black);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #c8e6c9; border-radius: 3px; }

/* ============================================================ */
/* ==================== NAVBAR ================================ */
/* ============================================================ */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 25px;
    background: linear-gradient(135deg, #1b5e20, #2e7d32, #43a047);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    gap: 12px;
}

.nav-left {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    font-size: 1.6rem;
    color: var(--white);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.site-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    white-space: nowrap;
}

.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 0;
}

.page-title {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.cart-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.cart-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 18px;
    height: 18px;
    background: var(--accent-red);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==================== MAIN CONTENT ==================== */
.main-content {
    flex: 1;
    padding: 20px 15px 40px;
    min-height: calc(100vh - 65px);
}

.container {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

/* ==================== SUMMARY CARD ==================== */
.summary-card {
    background: linear-gradient(135deg, #1b5e20, #2e7d32, #43a047);
    border-radius: 14px;
    padding: 22px;
    margin-bottom: 16px;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(46, 125, 50, 0.3);
}

.summary-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.summary-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.summary-info h2 {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 4px;
}

.summary-count {
    font-size: 2.2rem;
    font-weight: 700;
}

.summary-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item { text-align: center; }

.stat-number {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.stat-label { font-size: 0.75rem; opacity: 0.8; }

/* ==================== FILTER SECTION ==================== */
.filter-section { margin-bottom: 16px; }

.filter-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.filter-tabs::-webkit-scrollbar { display: none; }

.filter-tab {
    padding: 10px 18px;
    background: var(--white);
    border: 2px solid #eee;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    color: var(--dark-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.filter-tab:hover {
    border-color: var(--primary-green-light);
    color: var(--primary-green);
}

.filter-tab.active {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: var(--white);
}

/* ==================== ORDERS LIST ==================== */
.orders-section {
    background: var(--white);
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.order-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 18px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #eee;
}

.order-card:hover {
    border-color: rgba(46, 125, 50, 0.15);
    box-shadow: 0 2px 12px rgba(46, 125, 50, 0.08);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
    gap: 12px;
}

.order-id-section {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
}

.order-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.order-id-info { min-width: 0; overflow: hidden; }

.order-id-info h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.order-date { font-size: 0.75rem; color: var(--medium-gray); }

.order-status {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.3px;
}

.order-status.delivered { background: rgba(46, 125, 50, 0.1); color: var(--primary-green); }
.order-status.pending,
.order-status.processing,
.order-status.shipped,
.order-status.confirmed { background: rgba(255, 152, 0, 0.1); color: var(--secondary-orange); }
.order-status.cancelled { background: rgba(229, 57, 53, 0.1); color: var(--accent-red); }

.order-items-preview {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.item-preview {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: var(--white);
    border-radius: 8px;
    font-size: 0.78rem;
    color: var(--dark-gray);
    border: 1px solid #eee;
}

.item-preview img {
    width: 26px;
    height: 26px;
    object-fit: cover;
    border-radius: 4px;
}

.more-items {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.75rem;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px dashed var(--light-gray);
    gap: 12px;
}

.order-total {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-green-dark);
    white-space: nowrap;
    flex-shrink: 0;
}

.order-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 13px 16px;
    min-width: 130px;
    border: none;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
    outline: none;
    flex: 1;
}

.action-btn:active { transform: scale(0.97); }

.action-btn.primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.2);
}

.action-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.action-btn.secondary {
    background: var(--white);
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.action-btn.secondary:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.2);
}

/* ==================== EMPTY STATE ==================== */
.empty-state { padding: 50px 20px; text-align: center; }
.empty-content { max-width: 350px; margin: 0 auto; }

.empty-icon {
    width: 90px;
    height: 90px;
    background: var(--off-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.empty-icon i { font-size: 2.5rem; color: var(--light-gray); }
.empty-content h3 { font-size: 1.15rem; color: var(--dark-gray); margin-bottom: 8px; }
.empty-content p { color: var(--medium-gray); margin-bottom: 22px; line-height: 1.6; font-size: 0.85rem; }

.shop-now-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 13px 16px;
    min-width: 130px;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.2);
}

.shop-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.shop-now-btn:active { transform: scale(0.97); }

/* ==================== MODAL ==================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.modal-overlay.active { display: flex; }

.modal-container {
    background: var(--white);
    border-radius: 14px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    border-bottom: 1px solid var(--light-gray);
}

.modal-header h2 { font-size: 1.15rem; color: var(--black); }

.modal-close {
    width: 34px;
    height: 34px;
    min-width: 34px;
    background: var(--off-white);
    border: none;
    border-radius: var(--radius-full);
    color: var(--dark-gray);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modal-close:hover { background: var(--accent-red); color: var(--white); }

.modal-body { padding: 22px; }
.order-detail-section { margin-bottom: 20px; }

.order-detail-section h3 {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.order-detail-section h3 i { color: var(--primary-green); font-size: 0.85rem; }

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--off-white);
    font-size: 0.85rem;
}

.detail-row:last-child { border-bottom: none; }
.detail-label { color: var(--medium-gray); }
.detail-value { font-weight: 600; color: var(--black); }

.order-items-list { display: flex; flex-direction: column; gap: 8px; }

.order-item-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #eee;
}

.order-item-detail img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 8px;
}

.item-info { flex: 1; min-width: 0; overflow: hidden; }

.item-name {
    font-weight: 600;
    color: var(--black);
    margin-bottom: 2px;
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-qty { font-size: 0.75rem; color: var(--medium-gray); }

.item-price {
    font-weight: 700;
    color: var(--primary-green-dark);
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ==================== TOAST ==================== */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--white);
    color: var(--dark-gray);
    padding: 12px 18px;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3000;
    max-width: 420px;
    width: 90%;
    border-left: 4px solid var(--primary-green);
}

.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast.success { border-left-color: var(--primary-green); }
.toast.error { border-left-color: var(--accent-red); }
.toast.info { border-left-color: var(--accent-blue); }

.toast-content { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.toast-content i { font-size: 1.1rem; flex-shrink: 0; }
.toast.success .toast-content i { color: var(--primary-green); }
.toast.error .toast-content i { color: var(--accent-red); }
.toast.info .toast-content i { color: var(--accent-blue); }
.toast-content span { font-size: 0.85rem; font-weight: 500; }

.toast-close {
    background: none;
    border: none;
    color: #bdbdbd;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    width: 24px;
    height: 24px;
    transition: all 0.2s;
}

.toast-close:hover { background: var(--off-white); color: #757575; }

/* ==================== LOADING ==================== */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5000;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.loading-overlay.hidden { opacity: 0; pointer-events: none; visibility: hidden; }
.loading-spinner { display: flex; flex-direction: column; align-items: center; gap: 16px; }

.spinner {
    width: 42px;
    height: 42px;
    border: 4px solid var(--light-gray);
    border-top-color: var(--primary-green);
    border-radius: var(--radius-full);
    animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }
.loading-spinner span { color: #757575; font-size: 0.9rem; font-weight: 500; }

/* ==================== FOOTER ==================== */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 24px 20px;
    text-align: center;
    margin-top: auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-logo i { color: var(--primary-green-light); }
.footer-content p { color: var(--medium-gray); font-size: 0.82rem; }

.footer-bottom {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--dark-gray);
    font-size: 0.78rem;
    color: var(--medium-gray);
}

.hidden { display: none !important; }

/* ============================================================== */
/* ==================== RESPONSIVE — TABLET ≤768px ============== */
/* ============================================================== */
@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        padding: 12px 14px 10px;
        gap: 0;
    }

    .nav-left { flex-shrink: 0; }
    .site-name { font-size: 1.15rem; }
    .logo-icon { font-size: 1.4rem; }

    .nav-right {
        margin-left: auto;
        gap: 8px;
    }

    .back-btn {
        padding: 7px 12px;
        font-size: 0.78rem;
        gap: 5px;
        border-radius: 8px;
    }

    .back-btn span { font-size: 0.75rem; }

    .cart-link {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }

    /* Row 2 — Page Title */
    .nav-center {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 8px;
        padding-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .page-title { font-size: 0.95rem; gap: 6px; }

    .main-content { padding: 12px 10px 30px; }
    .summary-card { padding: 18px; }
    .summary-stats { gap: 10px; }
    .stat-number { font-size: 1.1rem; }
    .stat-label { font-size: 0.7rem; }

    .order-header {
        flex-direction: column;
        gap: 10px;
    }

    .order-status { align-self: flex-start; }

    .order-footer {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .order-actions { width: 100%; }
    .action-btn { min-width: unset; width: 100%; }
    .shop-now-btn { width: 100%; min-width: unset; }
    .modal-overlay { padding: 10px; }
    .modal-container { max-width: 100%; max-height: 88vh; }
    .toast { width: 94%; bottom: 16px; }
    .footer { padding: 20px 15px; }
    .footer-logo { font-size: 1rem; }
}

/* ============================================================== */
/* ==================== RESPONSIVE — MOBILE ≤480px ============== */
/* ============================================================== */
@media (max-width: 480px) {
    .navbar {
        padding: 10px 12px 8px;
    }

    .site-name { font-size: 1rem; }
    .logo-icon { font-size: 1.25rem; }

    /* Icon-only back button */
    .back-btn span { display: none; }

    .back-btn {
        width: 34px;
        height: 34px;
        padding: 0;
        justify-content: center;
        border-radius: var(--radius-full);
        font-size: 0.85rem;
        gap: 0;
    }

    .cart-link {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }

    .cart-count {
        width: 16px;
        height: 16px;
        font-size: 0.6rem;
        top: -4px;
        right: -4px;
    }

    .nav-right { gap: 6px; }

    .nav-center {
        margin-top: 6px;
        padding-top: 8px;
    }

    .page-title { font-size: 0.88rem; }

    .summary-card { padding: 14px; }

    .summary-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
        font-size: 1.3rem;
    }

    .summary-count { font-size: 1.8rem; }
    .summary-info h2 { font-size: 0.82rem; }
    .summary-stats { gap: 8px; }
    .stat-number { font-size: 1rem; }

    .filter-tab { padding: 8px 14px; font-size: 0.75rem; }
    .orders-section { padding: 14px; }
    .order-card { padding: 14px; }

    .order-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 1.1rem;
    }

    .order-id-info h3 { font-size: 0.82rem; }
    .order-date { font-size: 0.7rem; }
    .order-status { font-size: 0.62rem; padding: 3px 10px; }

    .item-preview { padding: 4px 8px; font-size: 0.72rem; }
    .item-preview img { width: 22px; height: 22px; }
    .order-total { font-size: 0.95rem; }

    .action-btn { padding: 12px 14px; font-size: 0.82rem; }
    .shop-now-btn { padding: 12px 14px; font-size: 0.82rem; }

    .modal-header { padding: 14px 16px; }
    .modal-header h2 { font-size: 1rem; }
    .modal-body { padding: 16px; }
    .detail-row { font-size: 0.8rem; }

    .order-item-detail { gap: 10px; padding: 8px 10px; }
    .order-item-detail img { width: 38px; height: 38px; }
    .item-name { font-size: 0.8rem; }
    .item-price { font-size: 0.85rem; }

    .footer { padding: 18px 12px; }
    .footer-logo { font-size: 0.95rem; }
    .footer-content p { font-size: 0.78rem; }
    .footer-bottom { font-size: 0.72rem; margin-top: 12px; padding-top: 12px; }
}

/* ============================================================== */
/* ==================== RESPONSIVE — VERY SMALL ≤340px ========== */
/* ============================================================== */
@media (max-width: 340px) {
    .navbar { padding: 8px 8px 6px; }
    .site-name { font-size: 0.85rem; }
    .logo-icon { font-size: 1.1rem; }

    .back-btn {
        width: 30px;
        height: 30px;
        font-size: 0.78rem;
    }

    .cart-link {
        width: 30px;
        height: 30px;
        font-size: 0.82rem;
    }

    .cart-count { width: 14px; height: 14px; font-size: 0.55rem; }
    .nav-right { gap: 5px; }

    .nav-center { margin-top: 5px; padding-top: 7px; }
    .page-title { font-size: 0.8rem; gap: 5px; }

    .summary-card { padding: 12px; }

    .summary-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        font-size: 1.1rem;
    }

    .summary-count { font-size: 1.5rem; }
    .summary-info h2 { font-size: 0.78rem; }
    .summary-stats { gap: 6px; }
    .stat-number { font-size: 0.9rem; }
    .stat-label { font-size: 0.62rem; }

    .order-card { padding: 10px; }

    .order-icon {
        width: 34px;
        height: 34px;
        min-width: 34px;
        font-size: 1rem;
    }

    .order-id-info h3 { font-size: 0.75rem; }
    .filter-tab { padding: 6px 12px; font-size: 0.7rem; }
    .action-btn, .shop-now-btn { padding: 10px; font-size: 0.75rem; }

    .modal-header { padding: 12px 14px; }
    .modal-header h2 { font-size: 0.92rem; }
    .modal-body { padding: 14px; }

    .footer { padding: 14px 10px; }
    .footer-logo { font-size: 0.85rem; }
    .footer-content p { font-size: 0.72rem; }
    .footer-bottom { font-size: 0.65rem; }
}

/* ==================== PRINT ==================== */
@media print {
    .navbar, .footer, .toast, .loading-overlay, .modal-overlay,
    .filter-section, .order-actions { display: none !important; }
    body { background: var(--white); }
    .orders-section { box-shadow: none; border: 1px solid #ddd; }
    .order-card { break-inside: avoid; }
}