/* Pedidos.css - Rediseño Premium con Glassmorphism (Dark Blue Theme) */

#tmOrdersPage {
    --ord-primary: #0f172a;
    --ord-accent: #e11d48;
    --ord-success: #10b981;
    --ord-warning: #f59e0b;
    --ord-info: #0ea5e9;
    --ord-bg-gradient: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    --ord-glass: rgba(255, 255, 255, 0.85);
    --ord-glass-border: rgba(255, 255, 255, 0.5);
    --ord-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.05), 0 10px 15px -5px rgba(0, 0, 0, 0.03);
    
    font-family: 'Outfit', sans-serif;
    color: #1e293b;
}

/* Hero Section Refinada - Sincronizada con Carrito */
#tmOrdersPage .tmo-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2.5rem;
    border-radius: 24px;
    color: #ffffff;
    background: linear-gradient(135deg, #020617 0%, #0f172a 100%);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.3);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

#tmOrdersPage .tmo-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    border-radius: 50%;
}

#tmOrdersPage .tmo-title {
    margin: 0;
    font-weight: 800;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    letter-spacing: -0.03em;
    color: #ffffff !important;
}

#tmOrdersPage .tmo-sub {
    color: #e2e8f0;
    opacity: 1;
    margin-top: 0.75rem;
    font-size: 1.05rem;
    max-width: 600px;
    line-height: 1.6;
    font-weight: 400;
    border-left: 3px solid var(--ord-accent);
    padding-left: 1rem;
}

#tmOrdersPage .tmo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.25rem;
    border-radius: 100px;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Empty State */
#tmOrdersPage .tmo-empty {
    text-align: center;
    background: var(--ord-glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--ord-glass-border);
    border-radius: 30px;
    padding: 5rem 2rem;
    box-shadow: var(--ord-shadow);
    margin: 2rem auto;
    max-width: 860px;
}

#tmOrdersPage .tmo-empty i {
    font-size: 4rem;
    background: linear-gradient(135deg, var(--ord-primary), #334155);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

#tmOrdersPage .tmo-empty h2 {
    font-weight: 800;
    font-size: 2rem;
    color: #0f172a;
}

/* Toolbar & Filters */
#tmOrdersPage .tmo-toolbar {
    max-width: 860px;
    margin: 0 auto 1.5rem auto;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.03);
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(15, 23, 42, 0.05);
}

#tmOrdersPage .tmo-filter-summary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

#tmOrdersPage .tmo-filter-pill {
    background: #fff;
    color: var(--ord-primary);
    padding: 6px 16px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

#tmOrdersPage .tmo-filter-btn {
    background: var(--ord-primary);
    color: white;
    padding: 8px 18px;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s;
    border: none;
}

#tmOrdersPage .tmo-filter-btn:hover {
    background: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(15, 23, 42, 0.2);
}

/* Panel de Filtros Premium */
#tmOrdersPage .tmo-filters-panel {
    max-width: 860px;
    margin: 0 auto 1.5rem auto;
    background: var(--ord-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--ord-glass-border);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: var(--ord-shadow);
}

#tmOrdersPage .filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

#tmOrdersPage .filter-opt {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #fff;
    transition: all 0.2s;
    cursor: pointer;
}

#tmOrdersPage .filter-opt:hover {
    border-color: var(--ord-primary);
    background: #f8fafc;
}

/* Barra de Estados */
#tmOrdersPage .tmo-status-legend {
    max-width: 860px;
    margin: 0 auto 2rem auto;
    padding: 1.25rem;
    background: white;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
}

#tmOrdersPage .legend-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem 2.5rem;
}

#tmOrdersPage .legend-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

#tmOrdersPage .legend-line {
    width: 40px;
    height: 6px;
    border-radius: 10px;
}

#tmOrdersPage .legend-line.pendiente { background: #94a3b8; }
#tmOrdersPage .legend-line.pagado { background: var(--ord-success); }
#tmOrdersPage .legend-line.entregado { background: var(--ord-info); }
#tmOrdersPage .legend-line.cancelado { background: var(--ord-accent); }

/* Buscador */
#tmOrdersPage .tmo-searchbar {
    max-width: 860px;
    margin: 0 auto 2rem auto;
}

#tmOrdersPage .tmo-search {
    background: white;
    border-radius: 16px;
    padding: 0.75rem 1.25rem;
    box-shadow: var(--ord-shadow);
    border: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s;
}

#tmOrdersPage .tmo-search:focus-within {
    border-color: var(--ord-primary);
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
}

#tmOrdersPage .tmo-search i { color: #94a3b8; font-size: 1.2rem; }

#tmOrdersPage .tmo-search-input {
    border: none;
    outline: none;
    width: 100%;
    font-weight: 600;
    color: var(--ord-primary);
}

/* Grid de Tarjetas de Pedido */
#tmOrdersPage .tmo-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 860px;
    margin: 0 auto;
}

#tmOrdersPage .tmo-card {
    background: var(--ord-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--ord-glass-border);
    border-left: 6px solid var(--ord-primary);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--ord-shadow);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#tmOrdersPage .tmo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1);
}

#tmOrdersPage .tmo-card-head {
    padding: 1.25rem 1.5rem;
    background: rgba(15, 23, 42, 0.03);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

#tmOrdersPage .tmo-pill {
    background: var(--ord-primary);
    color: white;
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.8rem;
    margin-right: 10px;
}

#tmOrdersPage .tmo-card-title strong {
    font-size: 1.1rem;
    color: var(--ord-primary);
}

#tmOrdersPage .tmo-card-meta {
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 600;
}

#tmOrdersPage .tmo-status-bar {
    height: 4px;
    width: 100%;
}
#tmOrdersPage .tmo-status-bar.pendiente { background: #cbd5e1; }
#tmOrdersPage .tmo-status-bar.pagado { background: var(--ord-success); }
#tmOrdersPage .tmo-status-bar.entregado { background: var(--ord-info); }
#tmOrdersPage .tmo-status-bar.cancelado { background: var(--ord-accent); }

#tmOrdersPage .tmo-card-body {
    padding: 1.5rem;
}

#tmOrdersPage .tmo-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

#tmOrdersPage .tmo-total span { color: #64748b; font-weight: 700; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.05em; }
#tmOrdersPage .tmo-total strong { color: var(--ord-primary); font-size: 1.5rem; font-weight: 900; }

#tmOrdersPage .tmo-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

#tmOrdersPage .btn-brand {
    background: var(--ord-primary);
    color: white;
    font-weight: 800;
    border-radius: 12px;
    padding: 10px 20px;
}

#tmOrdersPage .btn-outline-success {
    border-radius: 12px;
    font-weight: 800;
}

/* Hover Panel (Items Preview) */
#tmOrdersPage .tmo-hover-panel {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 1rem 1.5rem;
    max-height: 0;
    opacity: 0;
    transition: all 0.4s ease;
}

#tmOrdersPage .tmo-card:hover .tmo-hover-panel {
    max-height: 400px;
    opacity: 1;
}

#tmOrdersPage .tmo-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

#tmOrdersPage .tmo-item-row {
    padding: 8px 0;
    border-bottom: 1px dashed #e2e8f0;
    display: flex;
    justify-content: space-between;
}

#tmOrdersPage .tmo-item-desc { font-weight: 700; color: #334155; }
#tmOrdersPage .tmo-item-right { font-weight: 800; color: var(--ord-primary); }

/* Pager Premium */
#tmOrdersPage .tmo-page-summary {
    max-width: 860px;
    margin: 2rem auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#tmOrdersPage .tmo-pager {
    display: flex;
    gap: 8px;
    background: white;
    padding: 5px;
    border-radius: 14px;
    box-shadow: var(--ord-shadow);
    border: 1px solid #f1f5f9;
    align-items: center;
}

#tmOrdersPage .tmo-pg-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: white;
    color: var(--ord-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

#tmOrdersPage .tmo-pg-btn:hover:not(:disabled) {
    background: var(--ord-primary);
    color: white;
}

#tmOrdersPage .tmo-pg-label { font-weight: 700; padding: 0 10px; color: #64748b; }

/* Responsive adjustments */
@media (max-width: 768px) {
    #tmOrdersPage .tmo-hero {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    #tmOrdersPage .tmo-hero-right { order: -1; }
    #tmOrdersPage .tmo-toolbar { flex-direction: column; gap: 1rem; text-align: center; }
}

/* ====== PEDIDOS DETALLE (Sincronizado con Dark Blue) ====== */
#tmPedidoDetalle {
    --det-primary: #0f172a;
    --det-accent: #e11d48;
    --det-success: #10b981;
    --det-warning: #f59e0b;
    --det-info: #0ea5e9;
    --det-glass: rgba(255, 255, 255, 0.85);
    --det-glass-border: rgba(255, 255, 255, 0.5);
    --det-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.05), 0 10px 15px -5px rgba(0, 0, 0, 0.03);
}

#tmPedidoDetalle .tmd-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2.5rem;
    border-radius: 24px;
    color: #ffffff;
    background: linear-gradient(135deg, #020617 0%, #0f172a 100%);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.3);
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

#tmPedidoDetalle .tmd-title {
    margin: 0;
    font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    letter-spacing: -0.03em;
    color: #ffffff !important;
}

#tmPedidoDetalle .tmd-sub {
    color: #e2e8f0;
    opacity: 1;
    margin-top: 0.5rem;
    font-size: 1rem;
    font-weight: 400;
}

#tmPedidoDetalle .tmd-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.25rem;
    border-radius: 100px;
    font-weight: 800;
    font-size: 1.1rem;
}

#tmPedidoDetalle .tmd-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 100px;
    background: #f1f5f9;
    color: #475569;
    font-weight: 800;
    font-size: 0.9rem;
    border: 1px solid #e2e8f0;
}

#tmPedidoDetalle.status-pagado .tmd-status-pill { background: #ecfdf5; color: #059669; border-color: #10b981; }
#tmPedidoDetalle.status-entregado .tmd-status-pill { background: #f0f9ff; color: #0284c7; border-color: #0ea5e9; }
#tmPedidoDetalle.status-cancelado .tmd-status-pill { background: #fff1f2; color: #e11d48; border-color: #f43f5e; }

/* Tarjeta Principal de Detalle */
#tmPedidoDetalle .tmd-card {
    background: var(--det-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--det-glass-border) !important;
    border-radius: 24px !important;
    overflow: hidden;
    box-shadow: var(--det-shadow);
    margin-top: 1rem;
}

#tmPedidoDetalle .tmd-actions-title {
    font-weight: 800;
    color: var(--det-primary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

#tmPedidoDetalle .tmd-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

#tmPedidoDetalle .tmd-btn {
    border: 1px solid #e2e8f0;
    background: white;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

#tmPedidoDetalle .tmd-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

#tmPedidoDetalle .tmd-btn.pagado:hover:not(:disabled) { background: #ecfdf5; color: #059669; border-color: #10b981; }
#tmPedidoDetalle .tmd-btn.entregado:hover:not(:disabled) { background: #f0f9ff; color: #0284c7; border-color: #0ea5e9; }
#tmPedidoDetalle .tmd-btn.cancelado:hover:not(:disabled) { background: #fff1f2; color: #e11d48; border-color: #f43f5e; }

/* Tabla de Ítems Detalle */
#tmPedidoDetalle .tmd-table thead th {
    background: #f8fafc;
    color: #64748b;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 1rem;
    border-bottom: 2px solid #f1f5f9;
}

#tmPedidoDetalle .tmd-table tbody td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid #f1f5f9;
}

#tmPedidoDetalle .tmd-badge-soft {
    background: #f1f5f9;
    color: #475569;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.8rem;
}

#tmPedidoDetalle .tmd-desc-title { font-weight: 700; color: var(--det-primary); }

#tmPedidoDetalle .tmd-table tfoot {
    background: rgba(15, 23, 42, 0.03);
}

#tmPedidoDetalle .tmd-table tfoot th {
    padding: 1.5rem 1rem;
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--det-primary);
}

#tmPedidoDetalle .tmd-cta {
    margin-top: 2rem;
    border-top: 1px solid #f1f5f9;
    padding-top: 1.5rem;
}

/* ============================================================
   STATUS CHIP — tarjetas de lista (Pedidos)
   ============================================================ */
#tmOrdersPage .tmo-card-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

#tmOrdersPage .tmo-status-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    border: 1px solid transparent;
}

#tmOrdersPage .tmo-status-chip.pendiente { background: #f1f5f9; color: #475569; border-color: #cbd5e1; }
#tmOrdersPage .tmo-status-chip.pagado    { background: #ecfdf5; color: #059669; border-color: #6ee7b7; }
#tmOrdersPage .tmo-status-chip.entregado { background: #eff6ff; color: #1d4ed8; border-color: #93c5fd; }
#tmOrdersPage .tmo-status-chip.cancelado { background: #fff1f2; color: #e11d48; border-color: #fda4af; }

/* Colored left border per status */
#tmOrdersPage .tmo-card.status-pendiente { border-left-color: #94a3b8; }
#tmOrdersPage .tmo-card.status-pagado    { border-left-color: #10b981; }
#tmOrdersPage .tmo-card.status-entregado { border-left-color: #3b82f6; }
#tmOrdersPage .tmo-card.status-cancelado { border-left-color: #e11d48; }

/* ============================================================
   STEPPER — progreso de estatus (PedidoDetalle)
   ============================================================ */
#tmPedidoDetalle .tmd-stepper {
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    background: white;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

#tmPedidoDetalle .tmd-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 80px;
}

#tmPedidoDetalle .tmd-step-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #cbd5e1;
    font-size: 1.25rem;
    border: 2px solid #e2e8f0;
    transition: all 0.3s;
}

#tmPedidoDetalle .tmd-step.received .tmd-step-icon {
    background: #fffbeb;
    color: #d97706;
    border-color: #fbbf24;
}

#tmPedidoDetalle .tmd-step.received .tmd-step-label { color: #d97706; }

#tmPedidoDetalle .tmd-step.done .tmd-step-icon {
    background: #ecfdf5;
    color: #059669;
    border-color: #10b981;
}

#tmPedidoDetalle .tmd-step.active .tmd-step-icon {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

#tmPedidoDetalle .tmd-step-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #94a3b8;
    text-align: center;
    white-space: nowrap;
}

#tmPedidoDetalle .tmd-step.done .tmd-step-label   { color: #059669; }
#tmPedidoDetalle .tmd-step.active .tmd-step-label { color: #1d4ed8; }

#tmPedidoDetalle .tmd-connector {
    flex: 1;
    height: 3px;
    background: #e2e8f0;
    margin: 0 6px 24px 6px;
    border-radius: 4px;
    transition: background 0.4s;
}

#tmPedidoDetalle .tmd-connector.done { background: #10b981; }

/* Cancelado banner */
#tmPedidoDetalle .tmd-cancelled-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff1f2;
    color: #be123c;
    border: 1px solid #fda4af;
    border-radius: 16px;
    padding: 1rem 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* ============================================================
   ACTION BUTTONS REDISEÑADOS — PedidoDetalle
   ============================================================ */
#tmPedidoDetalle .tmd-next-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    color: #0f172a;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

#tmPedidoDetalle .tmd-action-grid {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

#tmPedidoDetalle .tmd-action-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 18px;
    border-radius: 16px;
    border: 2px solid transparent;
    background: white;
    text-align: left;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    min-width: 210px;
    flex: 1 1 auto;
}

#tmPedidoDetalle .tmd-action-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

#tmPedidoDetalle .tmd-action-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

#tmPedidoDetalle .tmd-action-btn.action-pagado   { background: #f0fdf4; border-color: #86efac; }
#tmPedidoDetalle .tmd-action-btn.action-entregado { background: #eff6ff; border-color: #93c5fd; }
#tmPedidoDetalle .tmd-action-btn.action-cancelar  { background: #fff1f2; border-color: #fda4af; }

#tmPedidoDetalle .tmd-action-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

#tmPedidoDetalle .action-pagado .tmd-action-icon    { background: #16a34a; color: #fff; }
#tmPedidoDetalle .action-entregado .tmd-action-icon { background: #1d4ed8; color: #fff; }
#tmPedidoDetalle .action-cancelar .tmd-action-icon  { background: #e11d48; color: #fff; }

#tmPedidoDetalle .tmd-action-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

#tmPedidoDetalle .tmd-action-title {
    font-weight: 800;
    font-size: 0.9rem;
    color: #0f172a;
    line-height: 1.2;
}

#tmPedidoDetalle .tmd-action-hint {
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.3;
}

/* ============================================================
   RESPONSIVE — nuevos elementos
   ============================================================ */
@media (max-width: 576px) {
    #tmPedidoDetalle .tmd-stepper    { padding: 1rem; }
    #tmPedidoDetalle .tmd-step       { min-width: 56px; }
    #tmPedidoDetalle .tmd-step-icon  { width: 42px; height: 42px; font-size: 1rem; }
    #tmPedidoDetalle .tmd-step-label { font-size: 0.7rem; }
    #tmPedidoDetalle .tmd-action-btn { min-width: 100%; flex: 1 1 100%; }

    #tmOrdersPage .tmo-card-head { flex-wrap: wrap; gap: 6px; }
    #tmOrdersPage .tmo-card-right { align-items: flex-start; }
}
