/* ================================================================
   10 MINUTES — Centralized Design System
   Brand: 10 Minutes | Delivery in 10 Minutes
   Colors: Red primary, Orange accent, White bg, Light grey sections
   ================================================================ */

:root {
    /* Brand Colors */
    --tm-primary: #ef1d25;
    --tm-primary-dark: #d9151d;
    --tm-primary-light: #fef2f2;
    --tm-secondary: #ff7a00;
    --tm-secondary-light: #fff7ed;
    --tm-success: #22c55e;
    --tm-success-light: #f0fdf4;
    --tm-warning: #f59e0b;
    --tm-warning-light: #fffbeb;
    --tm-danger: #ef4444;
    --tm-danger-light: #fef2f2;
    --tm-info: #3b82f6;
    --tm-info-light: #eff6ff;

    /* Neutrals */
    --tm-text: #1f2937;
    --tm-text-secondary: #4b5563;
    --tm-muted: #6b7280;
    --tm-border: #e5e7eb;
    --tm-border-light: #f3f4f6;
    --tm-background: #f8fafc;
    --tm-bg-alt: #f1f5f9;
    --tm-white: #ffffff;

    /* Typography */
    --tm-font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --tm-font-size-base: 0.875rem;
    --tm-font-size-sm: 0.75rem;
    --tm-font-size-lg: 1rem;
    --tm-font-size-xl: 1.25rem;
    --tm-font-size-2xl: 1.5rem;
    --tm-font-size-3xl: 1.875rem;

    /* Spacing */
    --tm-radius-sm: 8px;
    --tm-radius: 12px;
    --tm-radius-lg: 16px;
    --tm-radius-xl: 20px;

    /* Shadows */
    --tm-shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --tm-shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.08), 0 1px 2px -1px rgba(0, 0, 0, 0.08);
    --tm-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.07);
    --tm-shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.08);
    --tm-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.08);

    /* Sidebar */
    --tm-sidebar-width: 260px;
    --tm-sidebar-collapsed: 72px;
    --tm-sidebar-bg: #ffffff;
    --tm-sidebar-hover: #fef2f2;
    --tm-sidebar-active: #ef1d25;
    --tm-sidebar-text: #6b7280;
    --tm-sidebar-text-active: #ef1d25;
    --tm-topbar-height: 64px;

    /* Transitions */
    --tm-transition: all 0.2s ease;
}

/* ================================================================
   BASE OVERRIDES
   ================================================================ */

body {
    font-family: var(--tm-font-family);
    color: var(--tm-text);
    background-color: var(--tm-background);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--tm-text);
    font-weight: 700;
}

a {
    color: var(--tm-primary);
    transition: var(--tm-transition);
}

a:hover {
    color: var(--tm-primary-dark);
}

/* ================================================================
   BUTTONS
   ================================================================ */

.btn-tm-primary {
    background-color: var(--tm-primary);
    border-color: var(--tm-primary);
    color: #fff !important;
    font-weight: 600;
    border-radius: var(--tm-radius-sm);
    transition: var(--tm-transition);
}

.btn-tm-primary:hover {
    background-color: var(--tm-primary-dark);
    border-color: var(--tm-primary-dark);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: var(--tm-shadow-md);
}

.btn-tm-secondary {
    background-color: var(--tm-secondary);
    border-color: var(--tm-secondary);
    color: #fff !important;
    font-weight: 600;
    border-radius: var(--tm-radius-sm);
    transition: var(--tm-transition);
}

.btn-tm-secondary:hover {
    background-color: #e96e00;
    border-color: #e96e00;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: var(--tm-shadow-md);
}

.btn-tm-success {
    background-color: var(--tm-success);
    border-color: var(--tm-success);
    color: #fff !important;
    font-weight: 600;
    border-radius: var(--tm-radius-sm);
}

.btn-tm-success:hover {
    background-color: #16a34a;
    border-color: #16a34a;
    color: #fff !important;
}

.btn-tm-danger {
    background-color: var(--tm-danger);
    border-color: var(--tm-danger);
    color: #fff !important;
    font-weight: 600;
    border-radius: var(--tm-radius-sm);
}

.btn-tm-danger:hover {
    background-color: #dc2626;
    border-color: #dc2626;
    color: #fff !important;
}

.btn-tm-outline {
    background-color: #fff;
    border: 2px solid var(--tm-primary);
    color: var(--tm-primary);
    font-weight: 600;
    border-radius: var(--tm-radius-sm);
}

.btn-tm-outline:hover {
    background-color: var(--tm-primary);
    color: #fff;
}

.btn-tm-light {
    background-color: var(--tm-border-light);
    border-color: var(--tm-border);
    color: var(--tm-text);
    font-weight: 600;
    border-radius: var(--tm-radius-sm);
}

.btn-tm-light:hover {
    background-color: var(--tm-border);
    color: var(--tm-text);
}

/* ================================================================
   CARDS
   ================================================================ */

.tm-card {
    background: #fff;
    border: 1px solid var(--tm-border);
    border-radius: var(--tm-radius);
    box-shadow: var(--tm-shadow-xs);
    transition: var(--tm-transition);
}

.tm-card:hover {
    box-shadow: var(--tm-shadow-sm);
}

.tm-card-flat {
    background: #fff;
    border: 1px solid var(--tm-border);
    border-radius: var(--tm-radius);
}

.tm-card-body {
    padding: 1.25rem;
}

.tm-card-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--tm-border);
    font-weight: 700;
    color: var(--tm-text);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tm-card-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--tm-text);
    margin: 0;
}

/* ================================================================
   KPI / STAT CARDS
   ================================================================ */

.tm-stat-card {
    background: #fff;
    border: 1px solid var(--tm-border);
    border-radius: var(--tm-radius);
    padding: 1.25rem;
    box-shadow: var(--tm-shadow-xs);
    transition: var(--tm-transition);
    height: 100%;
}

.tm-stat-card:hover {
    box-shadow: var(--tm-shadow);
    transform: translateY(-2px);
}

.tm-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--tm-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.tm-stat-icon-primary { background: var(--tm-primary-light); color: var(--tm-primary); }
.tm-stat-icon-secondary { background: var(--tm-secondary-light); color: var(--tm-secondary); }
.tm-stat-icon-success { background: var(--tm-success-light); color: var(--tm-success); }
.tm-stat-icon-warning { background: var(--tm-warning-light); color: var(--tm-warning); }
.tm-stat-icon-danger { background: var(--tm-danger-light); color: var(--tm-danger); }
.tm-stat-icon-info { background: var(--tm-info-light); color: var(--tm-info); }

.tm-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--tm-text);
    line-height: 1.2;
}

.tm-stat-label {
    font-size: 0.75rem;
    color: var(--tm-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.tm-stat-trend {
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.tm-stat-trend-up { color: var(--tm-success); }
.tm-stat-trend-down { color: var(--tm-danger); }

/* ================================================================
   BADGES
   ================================================================ */

.tm-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.tm-badge-pending { background: var(--tm-warning-light); color: #92400e; }
.tm-badge-processing { background: var(--tm-info-light); color: #1e40af; }
.tm-badge-packed { background: #f3e8ff; color: #6b21a8; }
.tm-badge-dispatched { background: var(--tm-secondary-light); color: #9a3412; }
.tm-badge-delivered { background: var(--tm-success-light); color: #166534; }
.tm-badge-completed { background: var(--tm-success-light); color: #166534; }
.tm-badge-cancelled { background: var(--tm-danger-light); color: #991b1b; }
.tm-badge-active { background: var(--tm-success-light); color: #166534; }
.tm-badge-inactive { background: var(--tm-border-light); color: var(--tm-muted); }
.tm-badge-blocked { background: var(--tm-danger-light); color: #991b1b; }
.tm-badge-online { background: var(--tm-success-light); color: #166534; }
.tm-badge-offline { background: var(--tm-border-light); color: var(--tm-muted); }
.tm-badge-busy { background: var(--tm-warning-light); color: #92400e; }
.tm-badge-approved { background: var(--tm-success-light); color: #166534; }
.tm-badge-rejected { background: var(--tm-danger-light); color: #991b1b; }

.tm-badge-success { background: var(--tm-success-light); color: #166534; }
.tm-badge-warning { background: var(--tm-warning-light); color: #92400e; }
.tm-badge-danger { background: var(--tm-danger-light); color: #991b1b; }
.tm-badge-info { background: var(--tm-info-light); color: #1e40af; }
.tm-badge-primary { background: var(--tm-primary-light); color: var(--tm-primary); }
.tm-badge-muted { background: var(--tm-border-light); color: var(--tm-muted); }

/* ================================================================
   TABS
   ================================================================ */

.tm-tab-btn {
    border: none;
    border-radius: 8px 8px 0 0;
    padding: 0.5rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--tm-muted);
    background: transparent;
    transition: all 0.2s;
}

.tm-tab-btn.active {
    color: var(--tm-primary);
    background: #fff;
    border-bottom: 2px solid var(--tm-primary);
}

.tm-tab-btn:hover {
    color: var(--tm-primary);
}

/* ================================================================
   TABLES
   ================================================================ */

.tm-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.tm-table thead th {
    background: var(--tm-border-light);
    color: var(--tm-text-secondary);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--tm-border);
    white-space: nowrap;
}

.tm-table tbody td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--tm-border-light);
    font-size: 0.8rem;
    color: var(--tm-text);
    vertical-align: middle;
}

.tm-table tbody tr {
    transition: var(--tm-transition);
}

.tm-table tbody tr:hover {
    background: var(--tm-primary-light);
}

.tm-table tbody tr:last-child td {
    border-bottom: none;
}

/* Responsive table wrapper */
.tm-table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--tm-radius);
}

/* ================================================================
   FORMS
   ================================================================ */

.tm-form-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--tm-text);
    margin-bottom: 0.375rem;
}

.tm-form-control {
    border: 1px solid var(--tm-border);
    border-radius: var(--tm-radius-sm);
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: var(--tm-text);
    transition: var(--tm-transition);
    background: #fff;
}

.tm-form-control:focus {
    border-color: var(--tm-primary);
    box-shadow: 0 0 0 3px rgba(239, 29, 37, 0.1);
    outline: none;
}

.tm-form-select {
    border: 1px solid var(--tm-border);
    border-radius: var(--tm-radius-sm);
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: var(--tm-text);
    background: #fff;
}

.tm-form-select:focus {
    border-color: var(--tm-primary);
    box-shadow: 0 0 0 3px rgba(239, 29, 37, 0.1);
    outline: none;
}

.tm-input-group {
    position: relative;
}

.tm-input-group .tm-input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--tm-muted);
    font-size: 1rem;
    pointer-events: none;
}

.tm-input-group .tm-form-control {
    padding-left: 2.25rem;
}

/* ================================================================
   SIDEBAR (Admin / Vendor / Rider panels)
   ================================================================ */

.tm-sidebar {
    width: var(--tm-sidebar-width);
    background: var(--tm-sidebar-bg);
    border-right: 1px solid var(--tm-border);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    transition: width 0.25s ease, transform 0.25s ease;
    overflow: hidden;
}

.tm-sidebar-brand {
    height: var(--tm-topbar-height);
    display: flex;
    align-items: center;
    padding: 0 1.25rem;
    border-bottom: 1px solid var(--tm-border);
    flex-shrink: 0;
}

.tm-sidebar-brand img {
    max-height: 36px;
    width: auto;
}

.tm-sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 0.75rem 0;
    scrollbar-width: thin;
    scrollbar-color: var(--tm-border) transparent;
}

.tm-sidebar-nav::-webkit-scrollbar {
    width: 4px;
}

.tm-sidebar-nav::-webkit-scrollbar-thumb {
    background: var(--tm-border);
    border-radius: 4px;
}

.tm-sidebar-section-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--tm-muted);
    padding: 0.75rem 1.25rem 0.25rem;
}

.tm-sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.625rem 1.25rem;
    color: var(--tm-sidebar-text);
    font-size: 0.825rem;
    font-weight: 600;
    transition: var(--tm-transition);
    border-left: 3px solid transparent;
    white-space: nowrap;
}

.tm-sidebar-link:hover {
    background: var(--tm-sidebar-hover);
    color: var(--tm-sidebar-text-active);
    border-left-color: var(--tm-primary);
    text-decoration: none;
}

.tm-sidebar-link.active {
    background: var(--tm-primary-light);
    color: var(--tm-primary);
    border-left-color: var(--tm-primary);
    font-weight: 700;
}

.tm-sidebar-link i {
    font-size: 1.25rem;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.tm-sidebar-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.tm-sidebar-submenu.open {
    max-height: 500px;
}

.tm-sidebar-submenu .tm-sidebar-link {
    padding-left: 3.25rem;
    font-size: 0.78rem;
    font-weight: 600;
}

.tm-sidebar-toggle {
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--tm-radius-sm);
    transition: var(--tm-transition);
}

.tm-sidebar-toggle:hover {
    background: var(--tm-border-light);
}

/* Collapsed sidebar */
.tm-sidebar.collapsed {
    width: var(--tm-sidebar-collapsed);
}

.tm-sidebar.collapsed .tm-sidebar-link span,
.tm-sidebar.collapsed .tm-sidebar-section-label,
.tm-sidebar.collapsed .tm-sidebar-brand .brand-text {
    display: none;
}

.tm-sidebar.collapsed .tm-sidebar-link {
    justify-content: center;
    padding: 0.625rem 0;
}

/* ================================================================
   MOBILE BOTTOM NAVIGATION — defined once below (see line ~1193)
   ================================================================ */

/* ================================================================
   TOPBAR
   ================================================================ */

.tm-topbar {
    height: var(--tm-topbar-height);
    background: #fff;
    border-bottom: 1px solid var(--tm-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.25rem;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.tm-topbar-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tm-topbar-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tm-topbar-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--tm-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tm-muted);
    transition: var(--tm-transition);
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
}

.tm-topbar-icon-btn:hover {
    background: var(--tm-border-light);
    color: var(--tm-text);
}

.tm-topbar-icon-btn i {
    font-size: 1.25rem;
}

.tm-topbar-notification-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    background: var(--tm-primary);
    border-radius: 50%;
    border: 2px solid #fff;
}

.tm-topbar-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    transition: var(--tm-transition);
}

.tm-topbar-avatar:hover {
    transform: scale(1.05);
    box-shadow: var(--tm-shadow);
}

/* ================================================================
   MAIN CONTENT AREA
   ================================================================ */

.tm-main-content {
    margin-left: var(--tm-sidebar-width);
    min-height: 100vh;
    transition: margin-left 0.25s ease;
    display: flex;
    flex-direction: column;
}

.tm-main-content.collapsed {
    margin-left: var(--tm-sidebar-collapsed);
}

.tm-content-body {
    flex: 1;
    padding: 1.5rem;
}

.tm-content-body-flush {
    flex: 1;
    padding: 0;
}

/* ================================================================
   PAGE HEADER
   ================================================================ */

.tm-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tm-page-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--tm-text);
    margin: 0;
}

.tm-page-subtitle {
    font-size: 0.8rem;
    color: var(--tm-muted);
    margin: 0;
}

/* ================================================================
   BREADCRUMBS
   ================================================================ */

.tm-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--tm-muted);
    margin-bottom: 0.5rem;
}

.tm-breadcrumb a {
    color: var(--tm-muted);
    text-decoration: none;
}

.tm-breadcrumb a:hover {
    color: var(--tm-primary);
}

.tm-breadcrumb i {
    font-size: 0.7rem;
}

.tm-breadcrumb .active {
    color: var(--tm-text);
    font-weight: 600;
}

/* ================================================================
   EMPTY STATES
   ================================================================ */

.tm-empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
}

.tm-empty-state-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--tm-border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: var(--tm-muted);
}

.tm-empty-state-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--tm-text);
    margin-bottom: 0.5rem;
}

.tm-empty-state-text {
    font-size: 0.825rem;
    color: var(--tm-muted);
    margin-bottom: 1.25rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* ================================================================
   ANIMATIONS
   ================================================================ */

@keyframes tmFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.tm-fade-in {
    animation: tmFadeIn 0.3s ease-out;
}

/* ================================================================
   DROPDOWN MENUS
   ================================================================ */

.tm-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid var(--tm-border);
    border-radius: var(--tm-radius);
    box-shadow: var(--tm-shadow-md);
    padding: 0.5rem 0;
    z-index: 1050;
}

.tm-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.82rem;
    color: var(--tm-text);
    text-decoration: none;
    transition: var(--tm-transition);
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.tm-dropdown-item:hover {
    background: var(--tm-border-light);
    color: var(--tm-primary);
}

.tm-dropdown-divider {
    height: 1px;
    background: var(--tm-border);
    margin: 0.5rem 0;
}

/* ================================================================
   NOTIFICATIONS
   ================================================================ */

.tm-notification-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: var(--tm-transition);
    border-bottom: 1px solid var(--tm-border);
}

.tm-notification-item:last-child {
    border-bottom: none;
}

.tm-notification-item:hover {
    background: var(--tm-border-light);
}

.tm-notification-item.unread {
    background: var(--tm-primary-light);
}

.tm-notification-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

/* ================================================================
   SIDEBAR EXTRAS
   ================================================================ */

.tm-sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1035;
    opacity: 0;
    visibility: hidden;
    transition: var(--tm-transition);
}

.tm-sidebar-backdrop.show {
    opacity: 1;
    visibility: visible;
}

/* Mobile sidebar — see full responsive block below at @media (max-width: 991.98px) */

/* ================================================================
   SKELETON LOADING
   ================================================================ */

.tm-skeleton {
    background: linear-gradient(90deg, var(--tm-border-light) 25%, var(--tm-border) 50%, var(--tm-border-light) 75%);
    background-size: 200% 100%;
    animation: tm-skeleton-loading 1.5s infinite;
    border-radius: var(--tm-radius-sm);
}

@keyframes tm-skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.tm-skeleton-text {
    height: 12px;
    margin-bottom: 8px;
    border-radius: 4px;
}

.tm-skeleton-text:last-child {
    margin-bottom: 0;
    width: 60%;
}

/* ================================================================
   PROGRESS / TRACKING
   ================================================================ */

.tm-tracking-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    position: relative;
    padding-bottom: 2rem;
}

.tm-tracking-step:last-child {
    padding-bottom: 0;
}

.tm-tracking-step::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 32px;
    bottom: 0;
    width: 2px;
    background: var(--tm-border);
}

.tm-tracking-step:last-child::before {
    display: none;
}

.tm-tracking-step.completed::before {
    background: var(--tm-success);
}

.tm-tracking-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
    font-size: 1rem;
    border: 2px solid var(--tm-border);
    background: #fff;
    color: var(--tm-muted);
}

.tm-tracking-step.completed .tm-tracking-icon {
    background: var(--tm-success);
    border-color: var(--tm-success);
    color: #fff;
}

.tm-tracking-step.active .tm-tracking-icon {
    background: var(--tm-primary);
    border-color: var(--tm-primary);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(239, 29, 37, 0.15);
}

.tm-tracking-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--tm-text);
    margin: 0;
}

.tm-tracking-step.completed .tm-tracking-title {
    color: var(--tm-success);
}

.tm-tracking-step.active .tm-tracking-title {
    color: var(--tm-primary);
}

.tm-tracking-time {
    font-size: 0.7rem;
    color: var(--tm-muted);
    margin: 2px 0 0;
}

/* ================================================================
   PRODUCT CARD — full definition below in Public Frontend section
   ================================================================ */

/* ================================================================
   CHARTS
   ================================================================ */

.tm-chart-container {
    position: relative;
    width: 100%;
}

.tm-chart-container canvas {
    max-width: 100%;
}

/* ================================================================
   MOBILE BOTTOM NAV
   ================================================================ */

.tm-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--tm-border);
    z-index: 1030;
    padding: 0.25rem 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

.tm-bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 0.5rem 0.25rem;
    color: var(--tm-muted);
    font-size: 0.65rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--tm-transition);
    position: relative;
}

.tm-bottom-nav-item:hover,
.tm-bottom-nav-item.active {
    color: var(--tm-primary);
    text-decoration: none;
}

.tm-bottom-nav-item i {
    font-size: 1.25rem;
}

.tm-bottom-nav-badge {
    position: absolute;
    top: 2px;
    right: 50%;
    margin-right: -20px;
    width: 16px;
    height: 16px;
    background: var(--tm-primary);
    color: #fff;
    font-size: 0.55rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ================================================================
   MISC UTILITIES
   ================================================================ */

.tm-divider {
    height: 1px;
    background: var(--tm-border);
    margin: 1rem 0;
    border: none;
}

.tm-avatar-sm {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.tm-avatar-md {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.tm-avatar-lg {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

/* Tablet and below */
@media (max-width: 991.98px) {
    .tm-sidebar {
        transform: translateX(-100%);
        z-index: 1050;
    }

    .tm-sidebar.show {
        transform: translateX(0);
    }

    .tm-main-content {
        margin-left: 0 !important;
    }

    .tm-sidebar-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 1045;
    }

    .tm-sidebar-backdrop.show {
        display: block;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .tm-content-body {
        padding: 1rem;
        padding-bottom: 4.5rem;
    }

    .tm-bottom-nav {
        display: flex;
    }

    .tm-page-title {
        font-size: 1.1rem;
    }

    .tm-stat-value {
        font-size: 1.25rem;
    }

    .tm-table thead {
        display: none;
    }

    .tm-table tbody tr {
        display: block;
        border: 1px solid var(--tm-border);
        border-radius: var(--tm-radius-sm);
        margin-bottom: 0.75rem;
        padding: 0.5rem;
    }

    .tm-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid var(--tm-border-light);
        padding: 0.5rem;
        font-size: 0.8rem;
    }

    .tm-table tbody td::before {
        content: attr(data-label);
        font-weight: 700;
        color: var(--tm-muted);
        font-size: 0.7rem;
        text-transform: uppercase;
    }

    .tm-table tbody tr:last-child td {
        border-bottom: none;
    }

    .tm-hide-mobile {
        display: none !important;
    }
}

/* Small mobile */
@media (max-width: 375px) {
    .tm-content-body {
        padding: 0.75rem;
    }

    .tm-stat-card {
        padding: 1rem;
    }
}

/* ================================================================
   ANIMATIONS
   ================================================================ */

.tm-slide-in {
    animation: tmSlideIn 0.3s ease;
}

@keyframes tmSlideIn {
    from { opacity: 0; transform: translateX(-12px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ================================================================
   SCROLLBAR
   ================================================================ */

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--tm-border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--tm-muted);
}

/* ===== Quick Action Card ===== */
.tm-quick-action {
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.tm-quick-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
}

/* ===== Meta Label/Value ===== */
.tm-meta-label {
    font-size: 0.7rem;
    color: var(--tm-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.tm-meta-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--tm-text);
}

/* ===== Public Frontend Sections ===== */
.tm-section {
    padding: 1.5rem 0;
}

.tm-section-header {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tm-section-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--tm-text);
    margin: 0;
}

.tm-section-subtitle {
    font-size: 0.85rem;
    color: var(--tm-muted);
    margin: 0.25rem 0 0;
}

.tm-section-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--tm-primary);
    text-decoration: none;
}

.tm-section-link:hover {
    color: var(--tm-primary-dark, #c5151c);
}

@media (max-width: 576px) {
    .tm-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* ===== How It Works ===== */
.tm-how-it-works {
    background: linear-gradient(135deg, #fff5f5, #fef2f2);
    border-top: 1px solid var(--tm-border);
}

.tm-how-it-works-card {
    text-align: center;
    padding: 1.5rem 1rem;
    background: #fff;
    border-radius: var(--tm-radius);
    box-shadow: var(--tm-shadow-xs);
    transition: var(--tm-transition);
    height: 100%;
}

.tm-how-it-works-card:hover {
    box-shadow: var(--tm-shadow);
    transform: translateY(-3px);
}

.tm-how-it-works-card h6 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--tm-text);
    margin: 0.75rem 0 0.25rem;
}

.tm-how-it-works-card p {
    font-size: 0.78rem;
    color: var(--tm-muted);
    margin: 0;
}

.tm-how-it-works-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tm-primary), var(--tm-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.5rem;
    color: #fff;
}

/* ================================================================
   PUBLIC FRONTEND — HEADER
   ================================================================ */

.tm-public-header {
    position: sticky;
    top: 0;
    z-index: 1040;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}

.tm-public-header-top {
    padding: 0.625rem 0;
    border-bottom: 1px solid var(--tm-border);
}

.tm-public-header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.tm-public-header-logo img {
    max-height: 40px;
    width: auto;
}

.tm-public-header-search {
    flex: 1;
    max-width: 560px;
}

.tm-public-search-form {
    display: flex;
    align-items: center;
    background: var(--tm-bg-alt);
    border: 1.5px solid var(--tm-border);
    border-radius: 12px;
    padding: 0.25rem;
    transition: var(--tm-transition);
}

.tm-public-search-form:focus-within {
    border-color: var(--tm-primary);
    box-shadow: 0 0 0 3px rgba(239, 29, 37, 0.1);
}

.tm-public-search-icon {
    color: var(--tm-muted);
    font-size: 1.1rem;
    margin-left: 0.625rem;
}

.tm-public-search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.5rem 0.625rem;
    font-size: 0.85rem;
    color: var(--tm-text);
    outline: none;
    font-family: inherit;
}

.tm-public-search-btn {
    background: linear-gradient(135deg, var(--tm-primary), var(--tm-secondary));
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1.25rem;
    font-size: 0.82rem;
    font-weight: 600;
    transition: var(--tm-transition);
    white-space: nowrap;
}

.tm-public-search-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.tm-public-header-actions {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.tm-public-header-location {
    background: var(--tm-bg-alt);
    border: 1.5px solid var(--tm-border);
    border-radius: 10px;
    padding: 0.5rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--tm-text);
    cursor: pointer;
    transition: var(--tm-transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.tm-public-header-location i {
    font-size: 1.05rem;
    color: var(--tm-primary);
}

.tm-public-header-location:hover {
    border-color: var(--tm-primary);
    background: var(--tm-primary-light, #fef2f2);
}

.tm-public-header-location.detecting {
    color: var(--tm-muted);
}

.tm-public-header-location.detecting i {
    animation: tmSpin 1s linear infinite;
}

.tm-public-header-location.error {
    color: #ef4444;
    border-color: #ef4444;
}

.tm-public-header-location.success {
    color: var(--tm-success);
    border-color: var(--tm-success);
}

@keyframes tmSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.tm-public-header-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tm-text);
    text-decoration: none;
    position: relative;
    transition: var(--tm-transition);
    background: none;
    border: none;
    cursor: pointer;
}

.tm-public-header-icon-btn:hover {
    background: var(--tm-bg-alt);
    color: var(--tm-primary);
}

.tm-public-header-icon-btn i {
    font-size: 1.3rem;
}

.tm-public-header-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    background: var(--tm-primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #fff;
}

.tm-public-header-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--tm-border);
}

.tm-hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 4px 0;
}

.tm-hamburger span {
    width: 22px;
    height: 2px;
    background: var(--tm-text);
    border-radius: 2px;
    transition: var(--tm-transition);
}

/* ===== Public Navigation Bar ===== */

.tm-public-nav {
    background: #fff;
    border-bottom: 1px solid var(--tm-border);
}

.tm-public-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.125rem;
    flex-wrap: nowrap;
    overflow: visible;
}

.tm-public-nav-list::-webkit-scrollbar {
    display: none;
}

.tm-public-nav-item {
    position: relative;
    white-space: nowrap;
}

.tm-public-nav-item a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.625rem 0.875rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--tm-text);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--tm-transition);
}

.tm-public-nav-item a i {
    font-size: 1.05rem;
}

.tm-public-nav-item a:hover {
    background: var(--tm-primary-light, #fef2f2);
    color: var(--tm-primary);
}

.tm-public-nav-item.active a {
    color: var(--tm-primary);
    font-weight: 700;
}

.tm-public-nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0.875rem;
    right: 0.875rem;
    height: 2px;
    background: var(--tm-primary);
    border-radius: 2px;
}

.tm-public-nav-dropdown:hover .tm-public-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tm-public-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid var(--tm-border);
    border-radius: 12px;
    box-shadow: var(--tm-shadow-md);
    padding: 1rem;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--tm-transition);
    max-width: calc(100vw - 2rem);
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--tm-border) transparent;
}

.tm-public-dropdown-menu::-webkit-scrollbar {
    width: 5px;
}

.tm-public-dropdown-menu::-webkit-scrollbar-thumb {
    background: var(--tm-border);
    border-radius: 4px;
}

.tm-public-dropdown-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--tm-text);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--tm-transition);
}

.tm-dropdown-grid {
    min-width: 420px;
}

@media (max-width: 1200px) {
    .tm-dropdown-grid {
        min-width: 360px;
    }
}

@media (max-width: 1024px) {
    .tm-dropdown-grid {
        min-width: 300px;
    }
}

@media (max-width: 992px) {
    .tm-dropdown-grid {
        min-width: 260px;
    }
}

.tm-public-dropdown-link:hover {
    background: var(--tm-bg-alt);
    color: var(--tm-primary);
}

.tm-dropdown-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.tm-public-header-mobile-search {
    padding: 0.625rem 1rem;
    border-bottom: 1px solid var(--tm-border);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tm-public-header-mobile-search .tm-public-search-form {
    border-radius: 10px;
    flex: 1;
}

.tm-public-header-mobile-search .tm-public-search-btn {
    padding: 0.5rem 0.875rem;
}

.tm-public-header-mobile-location {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1.5px solid var(--tm-border);
    background: var(--tm-bg-alt);
    color: var(--tm-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--tm-transition);
    flex-shrink: 0;
    font-size: 1.1rem;
}

.tm-public-header-mobile-location:hover {
    border-color: var(--tm-primary);
}

.tm-public-header-mobile-location.detecting i {
    animation: tmSpin 1s linear infinite;
}

.tm-public-header-mobile-location.success {
    color: var(--tm-success);
    border-color: var(--tm-success);
}

.tm-public-header-mobile-location.error {
    color: #ef4444;
    border-color: #ef4444;
}

/* ================================================================
   PUBLIC FRONTEND — MOBILE SIDEBAR OFFCANVAS
   ================================================================ */

.tm-public-offcanvas {
    max-width: 320px;
    background: #fff;
    border: none;
}

.tm-public-offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, var(--tm-primary), var(--tm-secondary));
}

.tm-public-offcanvas-header .btn-close {
    filter: invert(1);
}

.tm-public-offcanvas-body {
    padding: 0;
    overflow-y: auto;
}

.tm-public-offcanvas-profile {
    text-align: center;
    padding: 1.5rem 1rem;
    border-bottom: 1px solid var(--tm-border);
}

.tm-public-offcanvas-profile img,
.tm-public-offcanvas-avatar-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 0.5rem;
    border: 3px solid var(--tm-border-light);
}

.tm-public-offcanvas-avatar-placeholder {
    background: var(--tm-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tm-muted);
    font-size: 1.5rem;
}

.tm-public-offcanvas-profile h6 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
    color: var(--tm-text);
}

.tm-public-offcanvas-profile p {
    font-size: 0.78rem;
    color: var(--tm-muted);
    margin: 0.25rem 0 0;
}

.tm-public-offcanvas-wallet {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 0.5rem;
    padding: 0.375rem 0.875rem;
    background: var(--tm-primary-light, #fef2f2);
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--tm-primary);
    text-decoration: none;
}

.tm-public-offcanvas-nav {
    padding: 0.5rem 0;
}

.tm-public-offcanvas-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.625rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--tm-text);
    text-decoration: none;
    transition: var(--tm-transition);
    border-left: 3px solid transparent;
}

.tm-public-offcanvas-nav a i {
    font-size: 1.15rem;
    color: var(--tm-muted);
    width: 24px;
    text-align: center;
}

.tm-public-offcanvas-nav a:hover,
.tm-public-offcanvas-nav a.active {
    background: var(--tm-primary-light, #fef2f2);
    color: var(--tm-primary);
    border-left-color: var(--tm-primary);
}

.tm-public-offcanvas-nav a:hover i,
.tm-public-offcanvas-nav a.active i {
    color: var(--tm-primary);
}

.tm-public-offcanvas-section-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--tm-muted);
    padding: 0.75rem 1.25rem 0.25rem;
}

.tm-public-offcanvas-logout {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--tm-border);
}

/* ================================================================
   PUBLIC FRONTEND — MAIN CONTENT
   ================================================================ */

.tm-public-main {
    flex: 1;
    min-height: calc(100vh - 200px);
    padding-bottom: 4rem;
    overflow-x: hidden;
}

@media (max-width: 991px) {
    .tm-public-main {
        padding-bottom: 5rem;
    }
}

/* ================================================================
   PUBLIC FRONTEND — HERO
   ================================================================ */

.tm-hero {
    background: linear-gradient(135deg, #fef2f2 0%, #fff7ed 50%, #ffedd5 100%);
    padding: 2.5rem 0;
    position: relative;
    overflow: hidden;
}

.tm-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(239, 29, 37, 0.08), transparent 70%);
    border-radius: 50%;
}

.tm-hero-content {
    position: relative;
    z-index: 1;
}

.tm-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.375rem 0.875rem;
    background: #fff;
    border: 1px solid var(--tm-border);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--tm-primary);
    margin-bottom: 1rem;
    box-shadow: var(--tm-shadow-xs);
}

.tm-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--tm-text);
    margin-bottom: 0.75rem;
}

.tm-hero-title .tm-hero-highlight {
    background: linear-gradient(135deg, var(--tm-primary), var(--tm-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tm-hero-subtitle {
    font-size: 1.05rem;
    color: var(--tm-muted);
    margin-bottom: 1.5rem;
    max-width: 500px;
}

.tm-hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tm-hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.tm-hero-stat {
    text-align: left;
}

.tm-hero-stat-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--tm-text);
}

.tm-hero-stat-label {
    font-size: 0.78rem;
    color: var(--tm-muted);
}

.tm-hero-image {
    position: relative;
    z-index: 1;
    text-align: center;
}

.tm-hero-image img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 767px) {
    .tm-hero {
        padding: 1.5rem 0;
    }
    .tm-hero-title {
        font-size: 1.75rem;
    }
    .tm-hero-subtitle {
        font-size: 0.9rem;
    }
    .tm-hero-stats {
        gap: 1rem;
    }
    .tm-hero-stat-num {
        font-size: 1.15rem;
    }
}

/* ================================================================
   PUBLIC FRONTEND — PRODUCT CARD
   ================================================================ */

.tm-product-card {
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    position: relative;
}

.tm-product-card:hover {
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
    border-color: #fecaca;
}

.tm-product-card-img-wrap {
    position: relative;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.tm-product-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tm-product-card:hover .tm-product-card-img {
    transform: scale(1.08);
}

/* ===== Product Card Image Slider ===== */
.tm-product-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.tm-product-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}
.tm-product-slider-track::-webkit-scrollbar {
    display: none;
}
.tm-product-slider-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    scroll-snap-align: start;
}
.tm-product-slider-slide .tm-product-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Don't zoom on hover for slider images (looks janky during scroll) */
.tm-product-card:hover .tm-product-slider .tm-product-card-img {
    transform: none;
}
.tm-product-slider-prev,
.tm-product-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.2s;
    font-size: 14px;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.tm-product-slider-prev { left: 6px; }
.tm-product-slider-next { right: 6px; }
.tm-product-card:hover .tm-product-slider-prev,
.tm-product-card:hover .tm-product-slider-next {
    opacity: 1;
}
.tm-product-slider-dots {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
    z-index: 5;
}
.tm-product-slider-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.tm-product-slider-dot.active {
    background: #fff;
    transform: scale(1.3);
}

.tm-product-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.62rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #ef4444, #f87171);
    z-index: 2;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.35);
    letter-spacing: 0.3px;
}

/* Wishlist Heart Button */
.tm-wishlist-heart {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: all 0.2s ease;
    color: #94a3b8;
    font-size: 1rem;
    padding: 0;
}
.tm-wishlist-heart:hover {
    transform: scale(1.15);
    background: #fff;
    color: #ef4444;
}
.tm-wishlist-heart.active {
    color: #ef4444;
    background: #fff;
}
.tm-wishlist-heart.active i {
    animation: tm-heart-pop 0.35s ease;
}
.tm-wishlist-heart:disabled {
    opacity: 0.6;
    cursor: wait;
}
@keyframes tm-heart-pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.35); }
    100% { transform: scale(1); }
}

.tm-product-card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.25s;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 14px;
    z-index: 1;
}

.tm-product-card:hover .tm-product-card-img-overlay {
    opacity: 1;
}

.tm-product-card-quick-view {
    background: rgba(255, 255, 255, 0.95);
    color: #1f2937;
    padding: 6px 18px;
    border-radius: 22px;
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s;
}

.tm-product-card-quick-view:hover {
    transform: scale(1.06);
    background: #fff;
    color: #ef4444;
}

.tm-product-card-wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tm-muted);
    border: none;
    cursor: pointer;
    z-index: 2;
    transition: var(--tm-transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tm-product-card-wishlist:hover,
.tm-product-card-wishlist.active {
    color: #ef4444;
    background: #fff;
    transform: scale(1.1);
}

.tm-product-card-body {
    padding: 0.7rem 0.8rem 0.8rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tm-product-card-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
    min-height: 2.1em;
}

.tm-product-card-cat {
    font-size: 0.68rem;
    color: #94a3b8;
    margin: 0 0 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tm-product-card-cat i {
    font-size: 0.7rem;
}

/* Rating row */
.tm-product-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 0 5px;
}

.tm-product-card-rating-badge {
    background: #16a34a;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 4px;
    line-height: 1.4;
}

.tm-product-card-rating-stars {
    display: flex;
    gap: 1px;
    font-size: 0.68rem;
    line-height: 1;
}

.tm-product-card-rating-text {
    font-size: 0.65rem;
    color: #94a3b8;
    font-weight: 600;
}

.tm-product-card-rating-new {
    gap: 6px;
}

.tm-product-card-new-badge {
    background: #dbeafe;
    color: #2563eb;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tm-star-active { color: #fbbf24; }
.tm-star-inactive { color: #e2e8f0; }

/* Price row */
.tm-product-card-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-top: auto;
    margin-bottom: 6px;
}

.tm-product-card-price-info {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.tm-product-card-price {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1f2937;
    line-height: 1;
}

.tm-product-card-mrp {
    font-size: 0.72rem;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 500;
}

.tm-product-card-discount {
    font-size: 0.68rem;
    font-weight: 700;
    color: #16a34a;
}

.tm-product-card-add-btn {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: linear-gradient(135deg, #ef4444, #f87171);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.25);
}

.tm-product-card-add-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.4);
}

/* Buy Now button - full width */
.tm-product-card-buy-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 7px 10px;
    border-radius: 10px;
    background: #fff;
    color: #ef4444;
    border: 1.5px solid #fecaca;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.tm-product-card-buy-btn:hover {
    background: linear-gradient(135deg, #ef4444, #f87171);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.tm-product-card-buy-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.tm-product-card-buy-btn i {
    font-size: 0.85rem;
}

@media (max-width: 576px) {
    .tm-product-card-body {
        padding: 0.55rem 0.6rem 0.65rem;
    }

    .tm-product-card-name {
        font-size: 0.74rem;
    }

    .tm-product-card-price {
        font-size: 0.95rem;
    }

    .tm-product-card-add-btn {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }

    .tm-product-card-buy-btn {
        font-size: 0.68rem;
        padding: 6px 8px;
    }
}

/* ================================================================
   PUBLIC FRONTEND — CATEGORY GRID
   ================================================================ */

.tm-category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

@media (min-width: 576px) {
    .tm-category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

@media (min-width: 768px) {
    .tm-category-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 992px) {
    .tm-category-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* ================================================================
   PUBLIC FRONTEND — CATEGORY CARD
   ================================================================ */

.tm-category-card {
    background: #fff;
    border: 1px solid var(--tm-border);
    border-radius: 14px;
    padding: 1rem 0.75rem;
    text-align: center;
    transition: var(--tm-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tm-category-card:hover {
    box-shadow: var(--tm-shadow);
    transform: translateY(-3px);
    border-color: var(--tm-primary);
}

.tm-category-card-img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 0.5rem;
    background: var(--tm-bg-alt);
}

.tm-category-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tm-primary-light, #fef2f2), #fff7ed);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    font-size: 1.5rem;
    color: var(--tm-primary);
}

.tm-category-card-name {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--tm-text);
    margin: 0;
}

/* ================================================================
   PUBLIC FRONTEND — STORE CARD
   ================================================================ */

.tm-store-card {
    background: #fff;
    border: 1px solid var(--tm-border);
    border-radius: 14px;
    overflow: hidden;
    transition: var(--tm-transition);
    height: 100%;
}

.tm-store-card:hover {
    box-shadow: var(--tm-shadow-md);
    transform: translateY(-3px);
}

.tm-store-card-banner {
    height: 100px;
    background: linear-gradient(135deg, var(--tm-primary-light, #fef2f2), #fff7ed);
    position: relative;
}

.tm-store-card-logo {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    border: 3px solid #fff;
    position: absolute;
    bottom: -28px;
    left: 1rem;
    background: #fff;
}

.tm-store-card-body {
    padding: 2rem 1rem 1rem;
}

.tm-store-card-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--tm-text);
    margin: 0 0 4px;
}

.tm-store-card-meta {
    font-size: 0.72rem;
    color: var(--tm-muted);
    margin: 0 0 0.5rem;
}

.tm-store-card-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0.25rem 0.5rem;
    background: #f0fdf4;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--tm-success);
}

/* ================================================================
   PUBLIC FRONTEND — FOOTER
   ================================================================ */

.tm-public-footer {
    background: #fff;
    border-top: 1px solid var(--tm-border);
    flex-shrink: 0;
}

.tm-public-footer-main {
    padding: 2.5rem 0 1.5rem;
}

.tm-public-footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.tm-public-footer-brand p {
    font-size: 0.82rem;
    color: var(--tm-muted);
    margin: 0 0 1rem;
    line-height: 1.5;
}

.tm-public-footer-social {
    display: flex;
    gap: 8px;
}

.tm-public-footer-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--tm-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tm-text);
    text-decoration: none;
    transition: var(--tm-transition);
    font-size: 1.1rem;
}

.tm-public-footer-social-btn:hover {
    background: var(--tm-primary);
    color: #fff;
    transform: translateY(-2px);
}

.tm-public-footer-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--tm-text);
    margin-bottom: 0.75rem;
}

.tm-public-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tm-public-footer-links li {
    margin-bottom: 0.5rem;
}

.tm-public-footer-links a {
    font-size: 0.78rem;
    color: var(--tm-muted);
    text-decoration: none;
    transition: var(--tm-transition);
}

.tm-public-footer-links a:hover {
    color: var(--tm-primary);
    padding-left: 4px;
}

.tm-public-footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tm-public-footer-contact li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--tm-muted);
    margin-bottom: 0.5rem;
}

.tm-public-footer-contact i {
    color: var(--tm-primary);
    font-size: 1rem;
}

.tm-public-footer-app {
    display: flex;
    gap: 8px;
    margin-top: 1rem;
}

.tm-public-footer-app-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 0.75rem;
    background: var(--tm-text);
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    transition: var(--tm-transition);
    flex: 1;
    min-width: 0;
}

.tm-public-footer-app-btn:hover {
    transform: translateY(-2px);
    color: #fff;
    opacity: 0.9;
}

.tm-public-footer-app-btn i {
    font-size: 1.3rem;
    flex-shrink: 0;
    line-height: 1;
}

.tm-public-footer-app-btn span {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.tm-public-footer-app-btn small {
    font-size: 0.6rem;
    opacity: 0.8;
    display: block;
    line-height: 1.2;
}

.tm-public-footer-app-btn strong {
    font-size: 0.72rem;
    line-height: 1.2;
}

.tm-public-footer-bottom {
    border-top: 1px solid var(--tm-border);
    padding: 1rem 0;
    text-align: center;
}

.tm-public-footer-bottom p {
    font-size: 0.75rem;
    color: var(--tm-muted);
    margin: 0;
}

/* ================================================================
   PUBLIC FRONTEND — CART OFFCANVAS
   ================================================================ */

.tm-cart-offcanvas {
    max-width: 420px;
    width: 100%;
}

.tm-cart-offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--tm-border);
}

.tm-cart-offcanvas-header h5 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.tm-cart-offcanvas-body {
    padding: 1rem;
    overflow-y: auto;
    flex: 1;
}

.tm-cart-offcanvas-footer {
    border-top: 1px solid var(--tm-border);
    padding: 1rem 1.25rem;
}

/* ===== Why 10 Minutes ===== */

.tm-why-card {
    text-align: center;
    padding: 1.5rem 1rem;
    background: #fff;
    border: 1px solid var(--tm-border);
    border-radius: 14px;
    transition: var(--tm-transition);
    height: 100%;
}

.tm-why-card:hover {
    box-shadow: var(--tm-shadow);
    transform: translateY(-3px);
    border-color: var(--tm-primary);
}

.tm-why-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--tm-primary-light, #fef2f2), #fff7ed);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    font-size: 1.5rem;
    color: var(--tm-primary);
}

.tm-why-card h6 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--tm-text);
    margin: 0 0 0.25rem;
}

.tm-why-card p {
    font-size: 0.75rem;
    color: var(--tm-muted);
    margin: 0;
}

/* ===== Testimonials ===== */

.tm-testimonial-card {
    background: #fff;
    border: 1px solid var(--tm-border);
    border-radius: 14px;
    padding: 1.5rem;
    height: 100%;
    transition: var(--tm-transition);
}

.tm-testimonial-card:hover {
    box-shadow: var(--tm-shadow);
}

.tm-testimonial-stars {
    color: #fbbf24;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.tm-testimonial-text {
    font-size: 0.82rem;
    color: var(--tm-text);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.tm-testimonial-user {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.tm-testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.tm-testimonial-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--tm-text);
    margin: 0;
}

.tm-testimonial-role {
    font-size: 0.72rem;
    color: var(--tm-muted);
    margin: 0;
}

/* ===== FAQ Accordion ===== */

.tm-faq-item {
    background: #fff;
    border: 1px solid var(--tm-border);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.tm-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--tm-text);
    cursor: pointer;
    transition: var(--tm-transition);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
}

.tm-faq-question:hover {
    color: var(--tm-primary);
}

.tm-faq-question i {
    font-size: 1.25rem;
    transition: transform 0.2s;
    flex-shrink: 0;
    margin-left: 1rem;
}

.tm-faq-item.open .tm-faq-question i {
    transform: rotate(180deg);
}

.tm-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.tm-faq-item.open .tm-faq-answer {
    max-height: 300px;
}

.tm-faq-answer-inner {
    padding: 0 1.25rem 1rem;
    font-size: 0.82rem;
    color: var(--tm-muted);
    line-height: 1.5;
}

/* ===== App Download Section ===== */

.tm-app-download {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tm-app-download::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(239, 29, 37, 0.15), transparent 70%);
    border-radius: 50%;
}

.tm-app-download h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
    position: relative;
}

.tm-app-download p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    position: relative;
}

.tm-app-download-btns {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tm-app-download-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--tm-transition);
    position: relative;
    min-width: 180px;
}

.tm-app-download-btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.tm-app-download-btn i {
    font-size: 1.75rem;
    flex-shrink: 0;
    line-height: 1;
}

.tm-app-download-btn span {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    text-align: left;
}

.tm-app-download-btn small {
    font-size: 0.65rem;
    opacity: 0.8;
    display: block;
    line-height: 1.2;
}

.tm-app-download-btn strong {
    font-size: 0.85rem;
    line-height: 1.2;
}

/* ===== Promo Banner ===== */

.tm-promo-banner {
    background: linear-gradient(135deg, var(--tm-primary), var(--tm-secondary));
    border-radius: 16px;
    padding: 1.5rem 2rem;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.tm-promo-banner h5 {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
}

.tm-promo-banner p {
    font-size: 0.82rem;
    opacity: 0.9;
    margin: 0.25rem 0 0;
}

.tm-promo-banner .btn {
    background: #fff;
    color: var(--tm-primary);
    border: none;
    font-weight: 700;
    padding: 0.625rem 1.5rem;
    border-radius: 10px;
    white-space: nowrap;
}

.tm-promo-banner .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

/* ================================================================
   PUBLIC FRONTEND — RESPONSIVE
   ================================================================ */

@media (max-width: 1280px) {
    .tm-public-header-container,
    .tm-public-footer-container {
        max-width: 100%;
        padding: 0 1rem;
    }
}

@media (min-width: 992px) and (max-width: 1280px) {
    .tm-public-nav-item a {
        padding: 0.5rem 0.625rem;
        font-size: 0.78rem;
        gap: 4px;
    }

    .tm-public-nav-item a i {
        font-size: 0.95rem;
    }

    .tm-public-header-search {
        max-width: 320px;
    }

    .tm-public-search-btn {
        padding: 0.5rem 1rem;
        font-size: 0.78rem;
    }

    .tm-public-header-location {
        padding: 0.4rem 0.625rem;
        font-size: 0.72rem;
    }

    .tm-public-header-location span {
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (max-width: 991px) {
    .tm-public-header-search {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .tm-public-header-container {
        padding: 0 0.625rem;
        gap: 0.5rem;
    }

    .tm-public-header-logo img {
        max-height: 32px;
    }

    .tm-public-header-icon-btn {
        width: 38px;
        height: 38px;
    }

    .tm-public-header-icon-btn i {
        font-size: 1.15rem;
    }

    .tm-hero-title {
        font-size: 1.5rem;
    }

    .tm-section-title {
        font-size: 1.05rem;
    }

    .tm-app-download {
        padding: 2rem 1.25rem;
    }

    .tm-app-download h3 {
        font-size: 1.25rem;
    }

    .tm-app-download p {
        font-size: 0.82rem;
        margin-bottom: 1.5rem;
    }

    .tm-app-download-btn {
        padding: 0.625rem 1rem;
        gap: 8px;
        min-width: 140px;
    }

    .tm-app-download-btn i {
        font-size: 1.4rem;
    }

    .tm-app-download-btn small {
        font-size: 0.58rem;
    }

    .tm-app-download-btn strong {
        font-size: 0.75rem;
    }

    .tm-public-footer-app-btn {
        padding: 0.4rem 0.5rem;
        gap: 5px;
    }

    .tm-public-footer-app-btn i {
        font-size: 1.1rem;
    }

    .tm-public-footer-app-btn small {
        font-size: 0.55rem;
    }

    .tm-public-footer-app-btn strong {
        font-size: 0.65rem;
    }

    .tm-promo-banner {
        padding: 1rem 1.25rem;
        text-align: center;
        justify-content: center;
    }
}

/* ================================================================
   STYLE.CSS GLOBAL RESET OVERRIDES (for panel-layout pages)
   style.css loads before 10min-theme.css now, but its global
   resets still affect elements. These scoped rules ensure
   proper styling within tm-content-body.
   ================================================================ */

/* Body text color: style.css forces color #747794 on body,html */
.tm-content-body {
    color: var(--tm-text);
}

/* Links: style.css makes all links red, bold, 500ms transition */
.tm-content-body a {
    color: var(--tm-primary);
    font-weight: 600;
    transition-duration: 200ms;
}

.tm-content-body a:hover {
    color: var(--tm-primary-dark);
}

/* Paragraphs: style.css forces color #747794 and 0.875rem */
.tm-content-body p {
    color: var(--tm-text);
    font-size: inherit;
}

/* List reset: style.css removes list-style and sets font-size */
.tm-content-body ul {
    list-style: disc;
}

.tm-content-body ol {
    list-style: decimal;
}

/* Headings: style.css forces color #020310 and font-weight 700 */
.tm-content-body h1,
.tm-content-body h2,
.tm-content-body h3,
.tm-content-body h4,
.tm-content-body h5,
.tm-content-body h6 {
    color: var(--tm-text);
    font-weight: 700;
}

/* ================================================================
   BOOTSTRAP CARD OVERRIDES (for panel-layout pages)
   style.css forces border:0 !important on .card — these restore
   the ability to have borders where needed while respecting
   explicit border:none / border-0 usage
   ================================================================ */

.tm-content-body .card {
    border: 1px solid var(--tm-border) !important;
    background: #fff;
}

/* Respect cards that explicitly don't want borders */
.tm-content-body .card.border-0,
.tm-content-body .card[style*="border: none"],
.tm-content-body .card[style*="border:none"],
.tm-content-body .modal-content,
.tm-content-body .modal .card {
    border: none !important;
}

/* Modal content should never have card border override */
.tm-content-body .modal-content {
    border: none !important;
}

/* ================================================================
   PANEL PAGE UTILITY STYLES
   ================================================================ */

.tm-content-body .text-muted {
    color: var(--tm-muted) !important;
}

/* Form control base — only if not inline-styled */
.tm-content-body .form-control:not([style*="border"]):not([style*="padding"]) {
    border: 1px solid var(--tm-border);
    border-radius: var(--tm-radius-sm);
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    height: auto;
    transition: var(--tm-transition);
}

.tm-content-body .form-control:focus {
    border-color: var(--tm-primary);
    box-shadow: 0 0 0 3px rgba(239, 29, 37, 0.1);
    outline: none;
}

/* style.css forces border-color #f1f1f2 !important on .border and .list-group-item */
.tm-content-body .border,
.tm-content-body .border-start,
.tm-content-body .border-right,
.tm-content-body .border-bottom,
.tm-content-body .border-top,
.tm-content-body .list-group-item {
    border-color: var(--tm-border) !important;
}

/* style.css forces .card .card-body padding to 1rem — respect inline styles */
.tm-content-body .card .card-body[style*="padding"] {
    padding: unset;
}

/* Alert overrides */
.tm-content-body .alert {
    border-radius: var(--tm-radius-sm);
    border: 1px solid transparent;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
}

/* Badge overrides for Bootstrap badges */
.tm-content-body .badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.35em 0.65em;
    border-radius: 20px;
}

/* style.css forces border:0 on all .btn — restore borders for outline buttons */
.tm-content-body .btn-outline-primary,
.tm-content-body .btn-outline-secondary,
.tm-content-body .btn-outline-success,
.tm-content-body .btn-outline-danger,
.tm-content-body .btn-outline-warning,
.tm-content-body .btn-outline-info,
.tm-content-body .btn-outline-dark,
.tm-content-body .btn-outline-light {
    border-width: 1px;
}

/* style.css removes box-shadow on .btn — allow tm buttons to have shadows */
.tm-content-body .btn-tm-primary:hover,
.tm-content-body .btn-tm-outline:hover {
    box-shadow: 0 4px 12px rgba(239, 29, 37, 0.25);
}

/* ================================================================
   SWEETALERT2 OVERRIDES
   ================================================================ */

.swal2-popup {
    width: 20em !important;
    padding: 1.25em !important;
    font-size: 0.9rem !important;
    border-radius: 12px !important;
}

.swal2-title {
    font-size: 1.15em !important;
    padding: 0 !important;
    margin-bottom: 0.3em !important;
}

.swal2-html-container {
    font-size: 0.88em !important;
    margin: 0.4em 0 0 !important;
    padding: 0 0.5em !important;
}

.swal2-icon {
    transform: scale(0.6) !important;
    margin: -0.5em auto -0.5em !important;
}

.swal2-actions {
    margin-top: 0.75em !important;
}

.swal2-styled {
    padding: 0.4em 1.5em !important;
    font-size: 0.85em !important;
    border-radius: 6px !important;
}

.swal2-timer-progress-bar-container {
    height: 3px !important;
}

.swal2-close {
    font-size: 1.5em !important;
}

/* ================================================================
   ADD TO CART BUTTON STYLES
   ================================================================ */

/* Product card add-to-cart (icon-only "+" button) */
.product-card .product-add-to-cart,
.product-card .add-to-cart-btn {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: #fff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    transition: all 0.2s ease;
    min-height: unset !important;
}

.product-card .product-add-to-cart:hover,
.product-card .add-to-cart-btn:hover {
    background: linear-gradient(135deg, #DC2626, #B91C1C);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.45);
    color: #fff;
}

.product-card .product-add-to-cart:active,
.product-card .add-to-cart-btn:active {
    transform: scale(0.95);
}

/* Full-width text add-to-cart button (for flash sale, product detail, etc.) */
.btn-add-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #EF4444, #DC2626);
    border: none;
    border-radius: 25px;
    transition: all 0.25s ease;
    min-height: 38px !important;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
}

.btn-add-cart:hover {
    background: linear-gradient(135deg, #DC2626, #B91C1C);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.4);
}

.btn-add-cart:active {
    transform: translateY(0);
}

.btn-add-cart.btn-add-cart-outline {
    background: transparent;
    color: #EF4444;
    border: 1.5px solid #EF4444;
    box-shadow: none;
}

.btn-add-cart.btn-add-cart-outline:hover {
    background: #EF4444;
    color: #fff;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35);
}

.btn-add-cart.w-100 {
    width: 100%;
}

/* Horizontal product card add-to-cart */
.horizontal-product-card .product-add-to-cart,
.horizontal-product-card .add-to-cart-btn {
    position: static;
    width: auto;
    height: auto;
    border-radius: 25px;
    padding: 5px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #EF4444;
    background: transparent;
    border: 1.5px solid #EF4444;
    box-shadow: none;
    margin-top: 8px;
    display: inline-flex;
    min-height: 34px !important;
}

.horizontal-product-card .product-add-to-cart:hover,
.horizontal-product-card .add-to-cart-btn:hover {
    color: #fff;
    background: #EF4444;
    box-shadow: 0 3px 8px rgba(239, 68, 68, 0.3);
    transform: translateY(-1px);
}

/* Flash sale card add-to-cart */
.flash-sale-card .product-add-to-cart {
    position: static;
    width: 100%;
    height: auto;
    border-radius: 25px;
    padding: 6px 12px;
    margin-top: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #EF4444, #DC2626);
    min-height: 32px !important;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.25);
}

.flash-sale-card .product-add-to-cart:hover {
    background: linear-gradient(135deg, #DC2626, #B91C1C);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(239, 68, 68, 0.4);
}

/* Dark mode support */
[theme-color=dark] .btn-add-cart {
    background: linear-gradient(135deg, #F87171, #EF4444);
}

[theme-color=dark] .btn-add-cart.btn-add-cart-outline {
    color: #FCA5A5;
    border-color: #FCA5A5;
    background: transparent;
}

[theme-color=dark] .btn-add-cart.btn-add-cart-outline:hover {
    background: #FCA5A5;
    color: #000;
}

/* ================================================================
   FOOTER NAV ICON COLORS
   ================================================================ */

.footer-nav-area .suha-footer-nav ul li a i,
.footer-nav-area .suha-footer-nav ul li a span.cart-count,
.footer-nav-area .suha-footer-nav ul li .help-btn-footer i {
    color: #ef4444 !important;
}

.footer-nav-area .suha-footer-nav ul li a:hover i,
.footer-nav-area .suha-footer-nav ul li.active a i,
.footer-nav-area .suha-footer-nav ul li a:hover span.cart-count,
.footer-nav-area .suha-footer-nav ul li.active a span.cart-count {
    color: #b91c1c !important;
}

/* ================================================================
   HELP CHAT POPUP
   ================================================================ */

.help-popup-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 92%;
    max-width: 400px;
    height: 520px;
    max-height: 85vh;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: none;
    flex-direction: column;
    z-index: 9999;
    opacity: 0;
    overflow: hidden;
}

.help-popup-container.show {
    animation: popupSlideIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.help-popup-container.hide {
    animation: popupSlideOut 0.25s ease-in forwards;
}

.help-popup-header {
    background: linear-gradient(135deg, #EF4444 0%, #B91C1C 100%);
    padding: 16px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 16px 16px 0 0;
}

.help-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.help-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.help-header-info h6 {
    margin: 0;
    color: white;
    font-size: 15px;
    font-weight: 600;
}

.help-status {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: helpPulse 2s infinite;
}

.help-close-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.2s;
}

.help-close-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

.help-chat-area {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.chat-messages-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-message {
    display: flex;
    gap: 10px;
    animation: messageSlide 0.3s ease-out;
}

.chat-message.assistant {
    align-items: flex-start;
}

.chat-message.user {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.chat-message.assistant .message-avatar {
    background: linear-gradient(135deg, #EF4444 0%, #B91C1C 100%);
    color: white;
}

.chat-message.user .message-avatar {
    background: linear-gradient(135deg, #EF4444 0%, #B91C1C 100%);
    color: white;
}

.message-content {
    max-width: 78%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.chat-message.user .message-content {
    align-items: flex-end;
}

.message-bubble {
    padding: 12px 16px;
    border-radius: 16px;
    word-wrap: break-word;
    line-height: 1.5;
}

.chat-message.assistant .message-bubble {
    background: white;
    border-radius: 4px 16px 16px 16px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.chat-message.user .message-bubble {
    background: linear-gradient(135deg, #EF4444 0%, #B91C1C 100%);
    color: white !important;
    border-radius: 16px 4px 16px 16px;
}

.chat-message.user .message-bubble p {
    color: white !important;
}

.message-bubble p {
    margin: 0;
    font-size: 13px;
}

.message-time {
    font-size: 10px;
    color: #94a3b8;
    padding: 0 4px;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    background: white;
    border-radius: 4px 16px 16px 16px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: #cbd5e1;
    border-radius: 50%;
    animation: helpTyping 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

.quick-actions-box {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px;
    margin: 4px 0 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.quick-box-title {
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.quick-box-title i {
    color: #EF4444;
    font-size: 15px;
}

.quick-box-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.quick-box-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.quick-box-btn i {
    font-size: 18px;
    color: #EF4444;
}

.quick-box-btn span {
    font-size: 10px;
    color: #475569;
    font-weight: 500;
}

.quick-box-btn:hover {
    background: linear-gradient(135deg, #EF4444 0%, #B91C1C 100%);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
}

.quick-box-btn:hover i,
.quick-box-btn:hover span {
    color: #fff;
}

.help-quick-actions-footer {
    background: #fff;
    border-top: 1px solid #e2e8f0;
    padding: 8px 12px;
    border-radius: 0 0 16px 16px;
    position: relative;
}

.help-quick-actions-footer::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 30px;
    background: linear-gradient(90deg, transparent, #fff);
    border-radius: 0 0 16px 0;
    pointer-events: none;
}

.quick-actions-scroll {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 2px;
    padding-right: 20px;
    -webkit-overflow-scrolling: touch;
}

.quick-actions-scroll::-webkit-scrollbar {
    height: 3px;
}

.quick-actions-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.quick-actions-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.quick-action-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    padding: 6px 12px;
    background: #f0f0ff;
    border: 1px solid #e0e0f6;
    border-radius: 20px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 500;
    color: #4f46e5;
    transition: all 0.2s;
    flex-shrink: 0;
}

.quick-action-chip i {
    font-size: 14px;
}

.quick-action-chip:hover {
    background: linear-gradient(135deg, #EF4444 0%, #B91C1C 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.help-input-area {
    padding: 12px 16px 16px;
    background: white;
    border-top: 1px solid #e2e8f0;
}

.help-input-wrapper {
    display: flex;
    gap: 10px;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 4px;
}

.help-input-wrapper input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 12px;
    font-size: 13px;
    outline: none;
    color: #334155;
}

.help-input-wrapper input::placeholder {
    color: #94a3b8;
}

.help-send-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: linear-gradient(135deg, #EF4444 0%, #B91C1C 100%);
    color: white;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s;
}

.help-send-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.help-input-hint {
    font-size: 10px;
    color: #94a3b8;
    text-align: center;
    margin: 8px 0 0 0;
}

.help-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    display: none;
    z-index: 9998;
}

.help-backdrop.show {
    animation: helpBackdropFadeIn 0.35s ease-out forwards;
}

.help-backdrop.hide {
    animation: helpBackdropFadeOut 0.25s ease-in forwards;
}

/* Order card styles in chat */
.help-chat-area .order-card {
    background: white;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-top: 8px;
}

.help-chat-area .order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.help-chat-area .order-id {
    font-weight: 600;
    font-size: 13px;
    color: #334155;
}

.help-chat-area .order-status {
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.help-chat-area .status-completed {
    background: #dcfce7;
    color: #166534;
}

.help-chat-area .status-pending {
    background: #fef3c7;
    color: #92400e;
}

.help-chat-area .status-processing {
    background: #FEE2E2;
    color: #1e40af;
}

.help-chat-area .status-cancelled {
    background: #fee2e2;
    color: #991b1b;
}

.help-chat-area .order-items {
    font-size: 11px;
    color: #64748b;
    margin-bottom: 6px;
    line-height: 1.4;
}

.help-chat-area .order-total {
    font-size: 14px;
    font-weight: 700;
    color: #334155;
}

.help-chat-area .order-date {
    font-size: 10px;
    color: #94a3b8;
    margin-top: 6px;
}

.help-chat-area .order-view-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 11px;
    color: #EF4444;
    text-decoration: none;
    font-weight: 500;
}

.help-chat-area .order-view-link:hover {
    text-decoration: underline;
}

/* Help chat animations */
@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes popupSlideOut {
    from {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
}

@keyframes helpBackdropFadeIn {
    from {
        opacity: 0;
        background: rgba(0, 0, 0, 0);
    }
    to {
        opacity: 1;
        background: rgba(0, 0, 0, 0.5);
    }
}

@keyframes helpBackdropFadeOut {
    from {
        opacity: 1;
        background: rgba(0, 0, 0, 0.5);
    }
    to {
        opacity: 0;
        background: rgba(0, 0, 0, 0);
    }
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes helpTyping {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-6px);
    }
}

@keyframes helpPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Help chat scrollbar */
.help-chat-area::-webkit-scrollbar {
    width: 5px;
}

.help-chat-area::-webkit-scrollbar-track {
    background: transparent;
}

.help-chat-area::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.help-chat-area::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Help chat responsive */
@media (max-width: 480px) {
    .help-popup-container {
        width: 96%;
        height: 90vh;
        max-height: 600px;
        border-radius: 12px;
    }

    .quick-actions-scroll {
        gap: 5px;
    }

    .quick-action-chip {
        padding: 5px 10px;
        font-size: 10px;
    }

    .quick-box-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .help-popup-header {
        padding: 14px 16px;
    }

    .help-avatar {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
}

/* ==========================================================================
   POLICY PAGE STYLES (shared across all tm-policy-* pages)
   ========================================================================== */
.tm-policy-hero { padding: 2rem 1rem; }
.tm-policy-hero__icon { width: 64px; height: 64px; margin: 0 auto 14px; background: linear-gradient(135deg, var(--tm-primary), #7c3aed); border-radius: 18px; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(239,29,37,0.25); }
.tm-policy-hero__icon i { font-size: 1.8rem; color: #fff; }
.tm-policy-hero__title { font-weight: 800; font-size: 1.3rem; color: var(--tm-text); margin-bottom: 6px; letter-spacing: -0.3px; }
.tm-policy-hero__subtitle { font-size: 0.85rem; color: var(--tm-muted); max-width: 500px; margin: 0 auto; }
.tm-policy-content h6 { font-weight: 700; font-size: 0.92rem; color: var(--tm-text); margin-top: 1.25rem; margin-bottom: 0.5rem; }
.tm-policy-content p { font-size: 0.85rem; color: var(--tm-muted); line-height: 1.65; margin-bottom: 0.75rem; }
.tm-policy-content ul { font-size: 0.85rem; color: var(--tm-muted); line-height: 1.65; padding-left: 1.25rem; margin-bottom: 0.75rem; }
.tm-policy-content li { margin-bottom: 4px; }
.tm-policy-content strong { color: var(--tm-text); }
.tm-policy-alert { background: #fef3c7; border: 1px solid #fde68a; border-radius: 12px; padding: 14px 16px; font-size: 0.84rem; color: #92400e; margin-bottom: 1rem; display: flex; gap: 8px; align-items: flex-start; }
.tm-policy-alert i { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }
.tm-policy-info-card { background: #f8fafc; border: 1px solid var(--tm-border); border-radius: 14px; padding: 16px 18px; margin-top: 1.5rem; }
.tm-policy-info-card h6 { font-weight: 700; font-size: 0.9rem; color: var(--tm-text); margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.tm-policy-info-card h6 i { color: var(--tm-primary); }
.tm-policy-info-card p { font-size: 0.82rem; color: var(--tm-muted); margin-bottom: 4px; }

/* ==========================================================================
   LEGACY POLICY PAGE STYLES (shared base for old-style policy pages)
   ========================================================================== */
.policy-header { padding: 20px 0; }
.policy-icon { width: 80px; height: 80px; border-radius: 50%; background-color: rgba(98, 90, 250, 0.1); display: flex; align-items: center; justify-content: center; margin: 0 auto; }
.policy-icon i { font-size: 32px; }
.step-number { width: 30px; height: 30px; border-radius: 50%; background-color: #EF4444; color: white; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: bold; }
.contact-info-card { border: 1px solid #e9ecef; border-radius: 10px; transition: transform 0.2s ease; }
.contact-info-card:hover { transform: translateY(-3px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); }
.policy-update { background-color: rgba(98, 90, 250, 0.05); border: 1px solid rgba(98, 90, 250, 0.1); }
.alert { border-radius: 10px; }
.card { border: 1px solid #e9ecef; border-radius: 10px; transition: transform 0.2s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); }
.agreement-header { padding: 20px 0; }
.agreement-icon { width: 80px; height: 80px; border-radius: 50%; background-color: rgba(98, 90, 250, 0.1); display: flex; align-items: center; justify-content: center; margin: 0 auto; }
.agreement-icon i { font-size: 32px; }
.support-hero { padding: 20px 0; }
.support-icon { width: 80px; height: 80px; border-radius: 50%; background-color: rgba(98, 90, 250, 0.1); display: flex; align-items: center; justify-content: center; margin: 0 auto; }
.support-icon i { font-size: 32px; }
.channel-icon { width: 50px; height: 50px; border-radius: 50%; background-color: rgba(98, 90, 250, 0.1); display: flex; align-items: center; justify-content: center; margin: 0 auto; }
.channel-icon i { font-size: 24px; }
.officer-card { border-left: 4px solid #EF4444; }
.officer-avatar { width: 60px; height: 60px; border-radius: 50%; background-color: rgba(98, 90, 250, 0.1); display: flex; align-items: center; justify-content: center; }
.officer-avatar i { font-size: 24px; color: #EF4444; }
.timeline-icon { width: 40px; height: 40px; border-radius: 50%; background-color: rgba(98, 90, 250, 0.1); display: flex; align-items: center; justify-content: center; }
.timeline-icon i { font-size: 18px; color: #EF4444; }
.contact-icon { width: 40px; height: 40px; border-radius: 50%; background-color: rgba(98, 90, 250, 0.1); display: flex; align-items: center; justify-content: center; }
.contact-icon i { font-size: 18px; color: #EF4444; }
.agreement-acceptance { background-color: rgba(98, 90, 250, 0.05); border: 1px solid rgba(98, 90, 250, 0.1); }
.point-item { padding: 10px; background-color: rgba(255, 255, 255, 0.7); border-radius: 8px; }
.hours-item { padding: 15px; border: 1px solid #e9ecef; border-radius: 10px; }

/* ==========================================================================
   ABOUT US PAGE STYLES
   ========================================================================== */
.tm-content-text { font-size: 0.85rem; color: var(--tm-muted); line-height: 1.65; margin-bottom: 10px; }
.tm-mission-icon { width: 48px; height: 48px; border-radius: 14px; background: rgba(239,29,37,0.1); display: flex; align-items: center; justify-content: center; }
.tm-mission-icon i { font-size: 1.4rem; color: var(--tm-primary); }
.tm-service-item { background: #fff; border: 1px solid var(--tm-border); border-radius: 14px; padding: 18px 12px; transition: all 0.3s ease; height: 100%; }
.tm-service-item:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,0.08); border-color: var(--tm-primary); }
.tm-service-item i { font-size: 1.6rem; color: var(--tm-primary); margin-bottom: 8px; }
.tm-service-item h6 { font-weight: 700; font-size: 0.85rem; color: var(--tm-text); margin-bottom: 4px; }
.tm-service-item p { font-size: 0.76rem; color: var(--tm-muted); margin: 0; }
.tm-value-icon { width: 40px; height: 40px; border-radius: 12px; background: rgba(239,29,37,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tm-value-icon i { font-size: 1.15rem; color: var(--tm-primary); }
.tm-achievement-item { background: #fff; border: 1px solid var(--tm-border); border-radius: 14px; padding: 18px 12px; text-align: center; }
.tm-achievement-item h4 { font-weight: 800; font-size: 1.5rem; color: var(--tm-primary); margin-bottom: 4px; }
.tm-achievement-item p { font-size: 0.76rem; color: var(--tm-muted); margin: 0; }

/* ==========================================================================
   CONTACT PAGE STYLES
   ========================================================================== */
.tm-contact-card { display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem; background: #fff; border: 1px solid var(--tm-border); border-radius: 14px; transition: var(--tm-transition); }
.tm-contact-card:hover { box-shadow: var(--tm-shadow); transform: translateY(-2px); }
.tm-contact-card-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.tm-contact-card h6 { font-size: 0.9rem; font-weight: 700; color: var(--tm-text); margin: 0 0 2px; }
.tm-contact-card p { font-size: 0.78rem; color: var(--tm-muted); margin: 0; }
.tm-contact-card a { font-size: 0.82rem; font-weight: 600; color: var(--tm-primary); text-decoration: none; }
.tm-contact-form-wrap { background: #fff; border: 1px solid var(--tm-border); border-radius: 16px; padding: 2rem; }
.tm-contact-form-wrap h3 { font-size: 1.25rem; font-weight: 800; color: var(--tm-text); margin-bottom: 1.25rem; }
.tm-form-label { font-size: 0.82rem; font-weight: 600; color: var(--tm-text); margin-bottom: 0.375rem; display: block; }
.tm-input-wrap { position: relative; }
.tm-input-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--tm-muted); font-size: 1rem; pointer-events: none; }
.tm-form-input { width: 100%; padding: 0.625rem 0.875rem 0.625rem 2.5rem; border: 1.5px solid var(--tm-border); border-radius: 10px; font-size: 0.85rem; color: var(--tm-text); background: var(--tm-bg-alt); transition: var(--tm-transition); outline: none; font-family: inherit; }
.tm-form-input:focus { border-color: var(--tm-primary); box-shadow: 0 0 0 3px rgba(239, 29, 37, 0.1); background: #fff; }
.tm-form-textarea { width: 100%; padding: 0.625rem 0.875rem; border: 1.5px solid var(--tm-border); border-radius: 10px; font-size: 0.85rem; color: var(--tm-text); background: var(--tm-bg-alt); transition: var(--tm-transition); outline: none; font-family: inherit; resize: vertical; }
.tm-form-textarea:focus { border-color: var(--tm-primary); box-shadow: 0 0 0 3px rgba(239, 29, 37, 0.1); background: #fff; }
.tm-form-error { font-size: 0.75rem; color: var(--tm-danger); display: block; margin-top: 0.25rem; }
.is-invalid { border-color: var(--tm-danger) !important; }
@media (max-width: 576px) { .tm-contact-form-wrap { padding: 1.25rem; } }

/* ==========================================================================
   CONTACT US PAGE STYLES (alternate contact page)
   ========================================================================== */
.tm-contact-hero { background: linear-gradient(135deg, var(--tm-primary) 0%, #dc2626 60%, #b91c1c 100%); border-radius: 20px; padding: 28px 20px 24px; text-align: center; position: relative; overflow: hidden; }
.tm-contact-hero__circle { position: absolute; border-radius: 50%; }
.tm-contact-hero__circle--1 { top: -30px; right: -30px; width: 120px; height: 120px; background: rgba(255,255,255,0.08); }
.tm-contact-hero__circle--2 { bottom: -20px; left: -20px; width: 80px; height: 80px; background: rgba(255,255,255,0.06); }
.tm-contact-hero__icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; position: relative; z-index: 1; }
.tm-contact-hero__icon i { font-size: 1.5rem; color: #fff; }
.tm-contact-hero__title { color: #fff; font-weight: 700; margin-bottom: 4px; font-size: 1.1rem; position: relative; z-index: 1; }
.tm-contact-hero__subtitle { color: rgba(255,255,255,0.85); font-size: 0.8rem; margin: 0; position: relative; z-index: 1; }
.tm-contact-info-card { background: #fff; border-radius: 14px; padding: 14px 12px; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,0.04); border: 1px solid var(--tm-border); height: 100%; transition: transform 0.2s ease; }
.tm-contact-info-card:hover { transform: translateY(-2px); }
.tm-contact-info-icon { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; }
.tm-contact-info-icon i { font-size: 1.15rem; }
.tm-contact-info-card h6 { font-size: 0.8rem; font-weight: 700; color: var(--tm-text); margin-bottom: 4px; }
.tm-contact-info-card p { font-size: 0.72rem; color: var(--tm-muted); margin: 0; line-height: 1.45; }
.tm-contact-card-icon { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tm-contact-card-icon i { font-size: 1rem; }
.tm-contact-social-btn { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: transform 0.2s; }
.tm-contact-social-btn:hover { transform: translateY(-3px) scale(1.05); }
.tm-contact-social-btn i { font-size: 1.25rem; }

/* ==========================================================================
   FAQ PAGE STYLES
   ========================================================================== */
.tm-faq-section-header { font-size: 0.95rem; font-weight: 700; color: var(--tm-text); margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.tm-faq-section-header i { color: var(--tm-primary); font-size: 1.1rem; }
.tm-faq-accordion { border-radius: 12px; overflow: hidden; }
.tm-faq-item { border: 1px solid var(--tm-border) !important; border-radius: 12px !important; margin-bottom: 8px; overflow: hidden; background: #fff; }
.tm-faq-btn { font-size: 0.88rem; font-weight: 600; color: var(--tm-text); padding: 14px 16px; }
.tm-faq-btn:focus { box-shadow: none; }
.tm-faq-btn:not(.collapsed) { color: var(--tm-primary); background: #fef2f2; }
.tm-faq-btn::after { font-size: 1.1rem; }
.tm-faq-body { font-size: 0.84rem; color: var(--tm-muted); line-height: 1.6; padding: 12px 16px 16px; }

/* ==========================================================================
   OUR TEAM PAGE STYLES
   ========================================================================== */
.tm-team-hero { position: relative; border-radius: 24px; overflow: hidden; background: linear-gradient(135deg, var(--tm-primary) 0%, #7c3aed 50%, #db2777 100%); box-shadow: 0 10px 40px rgba(239,29,37,0.25); }
.tm-team-hero__bg { position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(255,255,255,0.06) 0%, transparent 50%), radial-gradient(circle at 50% 20%, rgba(255,255,255,0.05) 0%, transparent 50%); }
.tm-team-hero__content { position: relative; padding: 2.5rem 1.5rem; text-align: center; color: #fff; }
.tm-team-hero__icon { width: 72px; height: 72px; margin: 0 auto 14px; background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); border: 2px solid rgba(255,255,255,0.2); border-radius: 20px; display: flex; align-items: center; justify-content: center; }
.tm-team-hero__icon i { font-size: 2rem; color: #fff; }
.tm-team-hero__title { font-weight: 800; font-size: 1.6rem; margin-bottom: 6px; letter-spacing: -0.5px; }
.tm-team-hero__subtitle { font-size: 0.88rem; opacity: 0.85; margin: 0 auto 20px; max-width: 420px; }
.tm-team-hero__stats { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.tm-team-hero__stat { display: flex; flex-direction: column; align-items: center; }
.tm-team-hero__stat-num { font-size: 1.4rem; font-weight: 800; color: #fff; }
.tm-team-hero__stat-label { font-size: 0.68rem; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.5px; }
.tm-team-hero__stat-divider { width: 1px; height: 28px; background: rgba(255,255,255,0.2); }
.tm-team-intro { font-size: 0.88rem; color: var(--tm-muted); line-height: 1.6; max-width: 600px; margin: 0 auto; }
.tm-team-section-header { display: flex; align-items: center; gap: 16px; margin-bottom: 1.25rem; }
.tm-team-section-header__line { flex: 1; height: 2px; background: linear-gradient(90deg, transparent, var(--tm-border), transparent); }
.tm-team-section-header__title { font-weight: 700; font-size: 1rem; color: var(--tm-text); white-space: nowrap; margin: 0; display: flex; align-items: center; gap: 6px; }
.tm-team-section-header__title i { color: var(--tm-primary); font-size: 1.1rem; }
.tm-team-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.06); border: 1px solid var(--tm-border); transition: all 0.35s cubic-bezier(0.4,0,0.2,1); height: 100%; }
.tm-team-card:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.12); transform: translateY(-6px); border-color: transparent; }
.tm-team-card__top { height: 56px; position: relative; overflow: hidden; }
.tm-team-card__pattern { position: absolute; inset: 0; background-image: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.15) 0%, transparent 40%), radial-gradient(circle at 70% 50%, rgba(255,255,255,0.1) 0%, transparent 40%); }
.tm-team-card__body { padding: 0 18px 22px; text-align: center; margin-top: -28px; position: relative; }
.tm-team-card__image { width: 180px; height: 230px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; box-shadow: 0 6px 16px rgba(0,0,0,0.12); border: 4px solid #fff; overflow: hidden; position: relative; }
.tm-team-card__image img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.tm-team-card__name { font-weight: 700; font-size: 0.92rem; color: var(--tm-text); margin-bottom: 4px; }
.tm-team-card__role { font-size: 0.74rem; color: var(--tm-primary); font-weight: 600; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.3px; }
.tm-team-card__person { font-size: 0.95rem; color: #fff; font-weight: 700; margin-bottom: 10px; padding: 4px 14px; background: linear-gradient(135deg, var(--tm-primary) 0%, #7c3aed 100%); border-radius: 20px; display: inline-block; letter-spacing: 0.2px; box-shadow: 0 3px 10px rgba(239,29,37,0.25); }
.tm-team-card__bio { font-size: 0.78rem; color: var(--tm-muted); line-height: 1.55; margin-bottom: 14px; }
.tm-team-card__social { display: flex; justify-content: center; gap: 8px; }
.tm-team-social-btn { width: 34px; height: 34px; border-radius: 50%; background: #f3f4f6; display: flex; align-items: center; justify-content: center; color: var(--tm-muted); text-decoration: none; transition: all 0.25s ease; }
.tm-team-social-btn:hover { background: var(--tm-primary); color: #fff; transform: scale(1.12) translateY(-2px); box-shadow: 0 4px 12px rgba(239,29,37,0.3); }
.tm-team-social-btn i { font-size: 1rem; }
.tm-value-card { background: #fff; border-radius: 16px; padding: 22px 18px; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,0.05); border: 1px solid var(--tm-border); transition: all 0.3s ease; height: 100%; }
.tm-value-card:hover { box-shadow: 0 8px 20px rgba(0,0,0,0.08); transform: translateY(-3px); }
.tm-value-card__icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.tm-value-card__icon i { font-size: 1.4rem; }
.tm-value-card__title { font-weight: 700; font-size: 0.88rem; color: var(--tm-text); margin-bottom: 6px; }
.tm-value-card__desc { font-size: 0.76rem; color: var(--tm-muted); line-height: 1.5; margin: 0; }
.tm-team-cta { background: linear-gradient(135deg, #fef2f2 0%, #fef3c7 50%, #fdf2f8 100%); border: 1px solid #fecaca; border-radius: 20px; padding: 2.5rem 1.5rem; text-align: center; margin-bottom: 1.5rem; position: relative; overflow: hidden; }
.tm-team-cta::before { content: ''; position: absolute; top: -50%; right: -10%; width: 280px; height: 280px; background: radial-gradient(circle, rgba(239,29,37,0.08) 0%, transparent 70%); border-radius: 50%; }
.tm-team-cta__content { position: relative; z-index: 1; }
.tm-team-cta__icon { width: 60px; height: 60px; margin: 0 auto 14px; background: linear-gradient(135deg, var(--tm-primary) 0%, #7c3aed 100%); border-radius: 16px; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(239,29,37,0.3); }
.tm-team-cta__icon i { font-size: 1.6rem; color: #fff; }
.tm-team-cta__title { font-weight: 700; font-size: 1.15rem; color: var(--tm-text); margin-bottom: 8px; }
.tm-team-cta__desc { font-size: 0.84rem; color: var(--tm-muted); max-width: 380px; margin: 0 auto 18px; line-height: 1.6; }
.tm-team-cta__btn { display: inline-flex; align-items: center; padding: 12px 28px; background: linear-gradient(135deg, var(--tm-primary) 0%, #7c3aed 100%); color: #fff; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: 0.86rem; transition: all 0.3s ease; box-shadow: 0 4px 14px rgba(239,29,37,0.3); }
.tm-team-cta__btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(239,29,37,0.4); color: #fff; }
@media (min-width: 768px) { .tm-team-hero__title { font-size: 1.9rem; } .tm-team-hero__content { padding: 3rem 2.5rem; } }

/* ================================================================
   ORDER CARD
   ================================================================ */

.tm-order-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}

.tm-order-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.tm-order-card-header {
    padding: 14px 16px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.tm-order-card-id {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1e293b;
}

.tm-order-card-date {
    font-size: 0.68rem;
    color: #94a3b8;
}

.tm-order-card-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.tm-order-card-status i {
    font-size: 0.75rem;
}

.tm-order-card-code {
    margin: 0 16px 8px;
    padding: 8px 12px;
    border-radius: 10px;
    background: #fffbeb;
    border: 1px dashed rgba(245, 158, 11, 0.25);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tm-order-card-code i {
    color: #d97706;
    font-size: 0.95rem;
}

.tm-order-card-code-label {
    font-size: 0.72rem;
    color: #92400e;
    font-weight: 500;
}

.tm-order-card-code-value {
    font-size: 0.88rem;
    font-weight: 800;
    color: #92400e;
    letter-spacing: 3px;
}

.tm-order-card-items {
    padding: 0 16px 10px;
}

.tm-order-card-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
}

.tm-order-card-item-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid #f1f5f9;
    flex-shrink: 0;
}

.tm-order-card-item-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f1f5f9;
    flex-shrink: 0;
}

.tm-order-card-item-placeholder i {
    color: #cbd5e1;
    font-size: 1rem;
}

.tm-order-card-item-info {
    flex: 1;
    min-width: 0;
}

.tm-order-card-item-name {
    font-size: 0.78rem;
    font-weight: 600;
    color: #334155;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tm-order-card-item-vendor {
    font-size: 0.65rem;
    color: #dc2626;
    font-weight: 500;
}

.tm-order-card-item-vendor i,
.tm-order-card-item-admin i {
    font-size: 0.65rem;
}

.tm-order-card-item-admin {
    font-size: 0.65rem;
    color: #64748b;
    font-weight: 500;
}

.tm-order-card-item-qty {
    font-size: 0.7rem;
    color: #94a3b8;
}

.tm-order-card-item-price {
    font-size: 0.78rem;
    font-weight: 700;
    color: #EF4444;
    flex-shrink: 0;
}

.tm-order-card-more {
    text-align: center;
    padding: 4px 0;
}

.tm-order-card-more span {
    font-size: 0.7rem;
    color: #94a3b8;
    font-weight: 500;
}

.tm-order-card-footer {
    padding: 10px 16px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f1f5f9;
    flex-wrap: wrap;
    gap: 8px;
}

.tm-order-card-pay-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tm-order-card-pay-method {
    display: flex;
    align-items: center;
    gap: 4px;
}

.tm-order-card-pay-method i {
    font-size: 0.85rem;
}

.tm-order-card-pay-method span {
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 500;
}

.tm-order-card-pay-status {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 6px;
}

.tm-order-card-total {
    text-align: right;
}

.tm-order-card-total-label {
    font-size: 0.65rem;
    color: #94a3b8;
    display: block;
}

.tm-order-card-total-value {
    font-size: 0.95rem;
    font-weight: 800;
    color: #1e293b;
}

.tm-order-card-actions {
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
    border-top: 1px solid #f1f5f9;
    flex-wrap: wrap;
}

.tm-order-card-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 7px 14px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: var(--tm-transition);
}

.tm-order-card-action-btn i {
    font-size: 0.85rem;
}

.tm-order-card-action-btn-primary {
    background: linear-gradient(135deg, #EF4444, #dc2626);
    color: #fff;
}

.tm-order-card-action-btn-primary:hover {
    color: #fff;
    opacity: 0.9;
}

.tm-order-card-action-btn-success {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
}

.tm-order-card-action-btn-success:hover {
    color: #fff;
    opacity: 0.9;
}

.tm-order-card-action-btn-muted {
    background: #f1f5f9;
    color: #94a3b8;
}

@media (max-width: 480px) {
    .tm-order-card-header {
        padding: 12px 12px 8px;
    }

    .tm-order-card-items {
        padding: 0 12px 8px;
    }

    .tm-order-card-footer {
        padding: 8px 12px;
    }

    .tm-order-card-actions {
        padding: 8px 12px;
        justify-content: center;
    }

    .tm-order-card-action-btn {
        flex: 1;
        justify-content: center;
    }
}
@media (min-width: 992px) { .tm-team-hero__title { font-size: 2.1rem; } .tm-team-hero__content { padding: 3.5rem 3rem; } }

/* ================================================================
   ORDERS PAGE — TAB SWITCHER & EMPTY STATES
   ================================================================ */

.tm-orders-tab-switcher {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    background: #fff;
    border-radius: 14px;
    padding: 4px;
    border: 1px solid var(--tm-border);
}

.tm-orders-tab {
    flex: 1;
    padding: 9px 0;
    border: none;
    border-radius: 11px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s;
    background: transparent;
    color: var(--tm-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    white-space: nowrap;
}

.tm-orders-tab.active {
    background: linear-gradient(135deg, var(--tm-primary), #dc2626);
    color: #fff;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.tm-orders-tab-count {
    background: rgba(255, 255, 255, 0.25);
    padding: 1px 6px;
    border-radius: 8px;
    font-size: 0.65rem;
    margin-left: 2px;
}

.tm-orders-tab:not(.active) .tm-orders-tab-count {
    background: rgba(100, 116, 139, 0.15);
}

.tm-orders-empty-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.tm-orders-empty-icon i {
    font-size: 2rem;
}

@media (max-width: 576px) {
    .tm-orders-tab-switcher {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .tm-orders-tab-switcher::-webkit-scrollbar {
        display: none;
    }

    .tm-orders-tab {
        flex: 0 0 auto;
        padding: 8px 14px;
        font-size: 0.72rem;
    }
}
