/* ===== VARIABLES ===== */
:root {
    --purple: #667eea;
    --purple-dark: #764ba2;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
}

/* ===== PREMIUM TOAST NOTIFICATION SYSTEM ===== */
.premium-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.premium-toast {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 320px;
    max-width: 420px;
    padding: 16px 18px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: auto;
    overflow: hidden;
    position: relative;
}

.premium-toast::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: 4px 0 0 4px;
}

.premium-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.premium-toast.hiding {
    transform: translateX(120%);
    opacity: 0;
}

/* Toast Types */
.premium-toast.error::before { background: linear-gradient(180deg, #ef4444, #dc2626); }
.premium-toast.success::before { background: linear-gradient(180deg, #10b981, #059669); }
.premium-toast.warning::before { background: linear-gradient(180deg, #f59e0b, #d97706); }
.premium-toast.info::before { background: linear-gradient(180deg, #667eea, #764ba2); }

/* Toast Icon */
.premium-toast-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.premium-toast.error .premium-toast-icon {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    color: #ef4444;
}

.premium-toast.success .premium-toast-icon {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    color: #10b981;
}

.premium-toast.warning .premium-toast-icon {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    color: #f59e0b;
}

.premium-toast.info .premium-toast-icon {
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    color: #667eea;
}

/* Toast Content */
.premium-toast-content {
    flex: 1;
    min-width: 0;
}

.premium-toast-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
    line-height: 1.3;
}

.premium-toast-message {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
    word-wrap: break-word;
}

/* Toast Close Button */
.premium-toast-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    border: none;
    background: #f1f5f9;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 0.7rem;
    transition: all 0.2s;
    opacity: 0;
}

.premium-toast:hover .premium-toast-close {
    opacity: 1;
}

.premium-toast-close:hover {
    background: #e2e8f0;
    color: #64748b;
}

/* Toast Progress Bar */
.premium-toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(0, 0, 0, 0.08);
    width: 100%;
}

.premium-toast-progress-bar {
    height: 100%;
    border-radius: 0 2px 2px 0;
    transition: width linear;
}

.premium-toast.error .premium-toast-progress-bar { background: #ef4444; }
.premium-toast.success .premium-toast-progress-bar { background: #10b981; }
.premium-toast.warning .premium-toast-progress-bar { background: #f59e0b; }
.premium-toast.info .premium-toast-progress-bar { background: #667eea; }

/* Mobile Responsive */
@media (max-width: 480px) {
    .premium-toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }
    
    .premium-toast {
        min-width: auto;
        max-width: none;
        width: 100%;
        padding: 10px 14px;
        gap: 10px;
        border-radius: 12px;
    }
    
    .premium-toast-icon {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        font-size: 0.85rem;
    }
    
    .premium-toast-title {
        font-size: 0.82rem;
        margin-bottom: 1px;
    }
    
    .premium-toast-message {
        font-size: 0.78rem;
        line-height: 1.3;
    }
}

/* ===== PREMIUM CONFIRM DIALOG ===== */
.premium-confirm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.premium-confirm-overlay.show {
    opacity: 1;
}

.premium-confirm-box {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    max-width: 360px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.premium-confirm-overlay.show .premium-confirm-box {
    transform: scale(1) translateY(0);
}

.premium-confirm-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.5rem;
}

.premium-confirm-icon.warning {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #f59e0b;
}

.premium-confirm-icon.danger {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #ef4444;
}

.premium-confirm-icon.info {
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    color: #667eea;
}

.premium-confirm-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.5rem;
}

.premium-confirm-message {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0 0 1.5rem;
    line-height: 1.5;
}

.premium-confirm-actions {
    display: flex;
    gap: 0.75rem;
}

.premium-confirm-btn {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.premium-confirm-btn.cancel {
    background: #f1f5f9;
    color: #64748b;
}

.premium-confirm-btn.cancel:hover {
    background: #e2e8f0;
    color: #475569;
}

.premium-confirm-btn.confirm {
    background: #ef4444;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.premium-confirm-btn.confirm:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* ===== FLOATING CART PILL ===== */
.floating-cart-pill {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px 10px 12px;
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
    border-radius: 50px;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.45);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: white;
    border: none;
    font-family: inherit;
}

.floating-cart-pill.has-items {
    animation: pillSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cart-pill-badge.empty {
    display: none;
}

@keyframes pillSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.floating-cart-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.55);
    color: white;
}

.cart-pill-icon {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    position: relative;
}

.cart-pill-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    background: #ef4444;
    border-radius: 50%;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--purple);
}

.cart-pill-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.cart-pill-label {
    font-size: 0.65rem;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cart-pill-total {
    font-size: 1rem;
    font-weight: 700;
}

/* Mobile responsive */
@media (max-width: 480px) {
    .floating-cart-pill {
        bottom: 20px;
        right: 20px;
        padding: 8px 12px 8px 10px;
    }
    
    .cart-pill-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .cart-pill-total {
        font-size: 0.9rem;
    }
}

/* ===== SUPPORT STATUS INDICATOR ===== */
.support-status-float {
    position: fixed;
    bottom: 90px;
    right: 30px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.support-status-float.online {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.support-status-float.offline {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.support-status-float .status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: white;
    animation: supportPulse 1.5s infinite;
}

.support-status-float.offline .status-dot {
    animation: none;
    opacity: 0.7;
}

@keyframes supportPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.85); }
}

/* ===== QUICK CART SIDEBAR ===== */
.cart-sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    background: white;
    z-index: 1051;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-sidebar-header {
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-sidebar-title {
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.cart-sidebar-close:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}

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

.cart-sidebar-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: #94a3b8;
}

.cart-sidebar-empty i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.cart-sidebar-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.85rem;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    position: relative;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.cart-sidebar-item-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.cart-sidebar-item-info {
    flex: 1;
    min-width: 0;
}

.cart-sidebar-item-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-sidebar-item-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--purple);
}

.cart-sidebar-item-qty {
    font-size: 0.75rem;
    color: #64748b;
}

.cart-sidebar-item-remove {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 0.8rem;
    padding: 0.25rem;
    transition: all 0.2s;
}

.cart-sidebar-item-remove:hover {
    color: #ef4444;
}

.cart-sidebar-footer {
    padding: 1rem 1.5rem 1.5rem;
    background: white;
    border-top: 1px solid #e2e8f0;
}

.cart-sidebar-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.cart-sidebar-total-label {
    font-size: 0.9rem;
    color: #64748b;
}

.cart-sidebar-total-value {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cart-sidebar-balance {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 1rem;
}

.cart-sidebar-balance-value {
    font-weight: 600;
}

.cart-sidebar-balance-value.sufficient {
    color: #10b981;
}

.cart-sidebar-balance-value.insufficient {
    color: #ef4444;
}

.cart-sidebar-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-sidebar-checkout {
    flex: 1;
    padding: 0.9rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.btn-sidebar-checkout:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.35);
}

.btn-sidebar-checkout:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
}

.btn-sidebar-view-cart {
    padding: 0.9rem 1.25rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #475569;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.btn-sidebar-view-cart:hover {
    background: #e2e8f0;
    color: #1e293b;
}

/* ===== CLIENT DATA MODAL - Higher z-index when opened from toast ===== */
#clientDataModal {
    z-index: 10601 !important;
}

/* Solo aplicar z-index alto al backdrop cuando clientDataModal está abierto */
body.modal-open #clientDataModal ~ .modal-backdrop {
    z-index: 10600 !important;
}

/* ===== CUSTOM MODAL BACKDROP - Solución Premium Definitiva ===== */
.custom-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.55);
    z-index: 9999; /* Por encima de TODO incluyendo navbar */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s ease;
    pointer-events: none;
}

.custom-modal-backdrop.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Bloquear scroll cuando el modal estÃƒÂ¡ abierto - Robusto */
body.modal-detail-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    left: 0 !important;
    touch-action: none !important;
    overscroll-behavior: none !important;
}

/* Asegurar que el modal estÃƒÂ© sobre el backdrop personalizado */
#detailModal {
    z-index: 10000;
}

/* ===== ANIMACIONES PREMIUM PARA MODAL ===== */
#detailModal .modal-dialog,
#clientDataModal .modal-dialog {
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                opacity 0.15s ease !important;
}

#detailModal.fade .modal-dialog,
#clientDataModal.fade .modal-dialog {
    transform: scale(0.95) translateY(10px);
    opacity: 0;
}

#detailModal.show .modal-dialog,
#clientDataModal.show .modal-dialog {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* AnimaciÃƒÂ³n suave para elementos internos */
#detailModal.show .modal-platform-icon,
#clientDataModal.show .modal-platform-icon {
    animation: modalIconBounce 0.25s ease 0.05s both;
}

@keyframes modalIconBounce {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

#detailModal.show .modal-platform-name,
#clientDataModal.show .modal-platform-name {
    animation: modalFadeUp 0.2s ease 0.08s both;
}

#detailModal.show .product-specs,
#clientDataModal.show .product-specs {
    animation: modalFadeUp 0.2s ease 0.1s both;
}

@keyframes modalFadeUp {
    0% { transform: translateY(15px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* ===== SMART CART TOAST - Premium Experience ===== */

/* Bloquear scroll cuando el toast estÃƒÂ¡ abierto */
body.toast-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
}

.smart-toast-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 10500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.smart-toast-overlay.show {
    opacity: 1;
    visibility: visible;
}

.quick-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255,255,255,0.1);
    padding: 0;
    z-index: 10501;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    width: 380px;
    max-width: 92vw;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.quick-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

/* Success Header */
.toast-success-header {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    padding: 1.25rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.toast-success-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.toast-success-icon {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

.toast-success-icon i {
    font-size: 1.75rem;
    color: white;
    animation: checkMark 0.4s ease-out 0.2s both;
}

@keyframes checkMark {
    0% { transform: scale(0) rotate(-45deg); opacity: 0; }
    100% { transform: scale(1) rotate(0); opacity: 1; }
}

.toast-success-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.toast-success-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Cart Items List */
.toast-cart-items {
    max-height: 35vh;
    overflow-y: auto;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    flex: 1 1 auto;
    min-height: 0;
}

.toast-cart-items::-webkit-scrollbar {
    width: 4px;
}

.toast-cart-items::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 2px;
}

.toast-cart-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    border: 1px solid #e2e8f0;
}

.toast-cart-item:last-child {
    margin-bottom: 0;
}

.toast-item-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-top: 0.1rem;
}

/* New 2-row layout for toast items */
.toast-item-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast-item-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.toast-item-bottom-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.toast-item-info {
    flex: 1;
    min-width: 0;
}

.toast-item-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.15rem;
}

.toast-item-price {
    font-size: 0.8rem;
    color: #64748b;
}

.toast-item-subtotal {
    font-size: 0.95rem;
    font-weight: 800;
    color: #10b981;
    white-space: nowrap;
}

.toast-item-controls {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: #f1f5f9;
    border-radius: 10px;
    padding: 0.2rem;
}

.toast-qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: #e2e8f0;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: all 0.2s;
}

.toast-qty-btn:hover {
    background: #6366f1;
    color: white;
}

.toast-qty-btn.remove:hover {
    background: #ef4444;
}

.toast-item-qty {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    min-width: 22px;
    text-align: center;
}

.toast-qty-input {
    width: 36px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    border: none;
    background: transparent;
    padding: 0;
    -moz-appearance: textfield;
}

.toast-qty-input::-webkit-outer-spin-button,
.toast-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.toast-qty-input:focus {
    outline: none;
    background: white;
    border-radius: 4px;
}

/* Manual Product Usernames List */
.toast-manual-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    overflow: hidden;
    background: white;
}

.toast-manual-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e2e8f0;
}

.toast-manual-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
}

.toast-manual-title {
    flex: 1;
}

.toast-manual-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #1e293b;
}

.toast-manual-meta {
    font-size: 0.75rem;
    color: #64748b;
}

.toast-usernames-list {
    padding: 0.5rem;
}

.toast-username-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 0.35rem;
    transition: all 0.2s;
}

.toast-username-item:hover {
    background: #f1f5f9;
}

.toast-username-item:last-child {
    margin-bottom: 0;
}

.toast-username-avatar {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.7rem;
}

.toast-username-text {
    flex: 1;
    font-size: 0.85rem;
    font-weight: 500;
    color: #334155;
    font-family: 'Monaco', 'Consolas', monospace;
}

.toast-username-remove {
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    transition: all 0.2s;
}

.toast-username-remove:hover {
    background: #fee2e2;
    color: #ef4444;
}

.toast-add-username-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.6rem;
    border: 2px dashed #cbd5e1;
    background: transparent;
    color: #64748b;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 0.35rem;
}

.toast-add-username-btn:hover {
    border-color: #667eea;
    color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.toast-max-limit-hint {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.75rem;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px dashed #f59e0b;
    border-radius: 8px;
    color: #92400e;
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: 0.35rem;
}

.toast-max-limit-hint i {
    color: #f59e0b;
}

.toast-manual-subtotal {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0.75rem;
    background: #f1f5f9;
    border-top: 1px solid #e2e8f0;
    font-size: 0.8rem;
}

.toast-manual-subtotal-label {
    color: #64748b;
}

.toast-manual-subtotal-value {
    font-weight: 700;
    color: #1e293b;
}

/* Cart Summary - Compact */
.toast-cart-summary {
    padding: 0.65rem 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    flex-shrink: 0;
    border-top: 1px solid #e2e8f0;
}

.toast-summary-compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.toast-summary-total {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.toast-summary-total-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
}

.toast-summary-total-value {
    font-size: 1.15rem;
    font-weight: 800;
    color: #10b981;
}

.toast-summary-balance {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.78rem;
    color: #64748b;
    background: #e2e8f0;
    padding: 0.25rem 0.6rem;
    border-radius: 8px;
    font-weight: 600;
}

.toast-summary-balance i {
    font-size: 0.7rem;
    color: #6366f1;
}

/* Actions */
.toast-actions {
    padding: 0.85rem 1rem;
    display: flex;
    gap: 0.6rem;
    flex-shrink: 0;
}

.btn-toast-action {
    flex: 1;
    padding: 0.8rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-toast-secondary {
    background: #f1f5f9;
    color: #475569;
}

.btn-toast-secondary:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

.btn-toast-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-toast-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.btn-toast-checkout {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.btn-toast-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
}

/* Close Button */
.quick-toast-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
}

.quick-toast-close:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

/* Confetti Animation */
.toast-confetti {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100px;
    pointer-events: none;
    overflow: hidden;
}

.confetti-piece {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    animation: confettiFall 1s ease-out forwards;
}

@keyframes confettiFall {
    0% { 
        transform: translateY(0) rotate(0deg); 
        opacity: 1; 
    }
    100% { 
        transform: translateY(100px) rotate(720deg); 
        opacity: 0; 
    }
}

/* ===== CHECKOUT PROCESSING OVERLAY ===== */
.checkout-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.checkout-overlay.active {
    opacity: 1;
    visibility: visible;
}

.checkout-spinner {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(255,255,255,0.2);
    border-top-color: var(--purple);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.checkout-text {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
}

/* ===== PAYMENT METHOD MODAL - PREMIUM DESIGN ===== */
.payment-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    padding: 1rem;
}

.payment-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.payment-modal {
    background: white;
    border-radius: 24px;
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
}

.payment-modal-overlay.active .payment-modal {
    transform: scale(1) translateY(0);
}

.payment-modal-header {
    padding: 2.5rem 1.5rem 3rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.payment-modal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 250px;
    height: 250px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.payment-modal-header::after {
    content: '';
    position: absolute;
    bottom: -55px;
    left: -15%;
    right: -15%;
    height: 90px;
    background: white;
    border-radius: 50%;
}

.payment-modal-icon {
    width: 90px;
    height: 90px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2.5rem;
    color: white;
    position: relative;
    z-index: 1;
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.payment-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.payment-modal-header h3 i {
    display: none;
}

.payment-modal-header p {
    margin: 0.5rem 0 0;
    opacity: 0.9;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    position: relative;
    z-index: 1;
}

.payment-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
}

.payment-modal-close:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}

.payment-modal-body {
    padding: 1rem 1.5rem 1.5rem;
    flex: 1;
    overflow-y: auto;
}

.payment-summary {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(102, 126, 234, 0.15);
}

.payment-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
}

.payment-summary-row.total {
    border-top: 2px solid rgba(102, 126, 234, 0.15);
    margin-top: 0.5rem;
    padding-top: 0.75rem;
}

.payment-summary-label {
    color: #64748b;
    font-size: 0.9rem;
}

.payment-summary-value {
    font-weight: 600;
    color: #1e293b;
}

.payment-summary-value.total {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.payment-methods-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.payment-method-option {
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.1rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.25s;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    background: white;
}

.payment-method-option:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.payment-method-option.selected {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.05) 100%);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

.payment-method-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.payment-method-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    flex-shrink: 0;
}

.payment-method-icon.wallet {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.payment-method-icon.crypto {
    background: linear-gradient(135deg, #f7931a 0%, #e3a500 100%);
}

.payment-method-info {
    flex: 1;
    min-width: 0;
}

.payment-method-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.2rem;
}

.payment-method-desc {
    font-size: 0.78rem;
    color: #64748b;
}

.payment-method-balance {
    font-size: 0.75rem;
    color: #10b981;
    font-weight: 600;
    margin-top: 0.25rem;
}

.payment-method-balance.insufficient {
    color: #ef4444;
}

.payment-method-check {
    width: 24px;
    height: 24px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: all 0.2s;
    flex-shrink: 0;
}

.payment-method-option.selected .payment-method-check {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
    font-size: 0.7rem;
}

.payment-method-badge {
    position: absolute;
    top: -8px;
    right: 12px;
    background: linear-gradient(135deg, #f7931a 0%, #e3a500 100%);
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.crypto-icons-mini {
    display: flex;
    gap: 0.25rem;
    margin-top: 0.35rem;
}

.crypto-icons-mini span {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    font-weight: 700;
    color: white;
}

/* Crypto Providers Mini Tags */
.crypto-providers-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.35rem;
}

.provider-mini {
    font-size: 0.6rem;
    font-weight: 600;
    padding: 0.15rem 0.4rem;
    border-radius: 6px;
    white-space: nowrap;
}

.provider-mini.binance {
    background: rgba(243, 186, 47, 0.15);
    color: #b8860b;
}

.provider-mini.kucoin {
    background: rgba(35, 175, 145, 0.15);
    color: #1a9e7a;
}

.provider-mini.crypto {
    background: rgba(100, 116, 139, 0.15);
    color: #64748b;
}

.payment-modal-footer {
    padding: 1.25rem 1.5rem;
    background: linear-gradient(to top, #f8fafc 60%, transparent);
    border-top: 1px solid rgba(0,0,0,0.04);
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.btn-payment-cancel {
    flex: 1;
    padding: 0.85rem 1rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.btn-payment-cancel:hover {
    border-color: #667eea;
    color: #667eea;
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.btn-payment-confirm {
    flex: 1;
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(102, 126, 234, 0.3);
}

.btn-payment-confirm:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-payment-confirm:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-payment-confirm.coinpal {
    background: linear-gradient(135deg, #f7931a 0%, #e3a500 100%);
    box-shadow: 0 4px 14px rgba(247, 147, 26, 0.3);
}

.btn-payment-confirm.coinpal:hover:not(:disabled) {
    box-shadow: 0 6px 20px rgba(247, 147, 26, 0.4);
}

.btn-payment-confirm.hybrid {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-payment-confirm.hybrid:hover:not(:disabled) {
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* Hybrid Payment Styles */
.payment-method-icon.hybrid {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.payment-method-badge.hybrid-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.hybrid-breakdown {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.hybrid-wallet-part {
    color: #667eea;
    background: rgba(102, 126, 234, 0.12);
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
}

.hybrid-crypto-part {
    color: #b8860b;
    background: rgba(247, 147, 26, 0.12);
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
}

.hybrid-plus {
    color: #94a3b8;
    font-weight: 700;
}

.checkout-subtext {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}
    border-radius: 50%;
    background: white;
    animation: supportPulse 1.5s infinite;
}

.support-status-float.offline .status-dot {
    animation: none;
    opacity: 0.7;
}

@keyframes supportPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.85); }
}

/* ===== CATALOG NAVIGATION - PREMIUM ===== */
.catalog-nav {
    margin-bottom: 1.5rem;
}

.catalog-nav-track {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    padding: 4px 2px;
}
.catalog-nav-track::-webkit-scrollbar { display: none; }

.catalog-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: none;
    border-radius: 12px;
    background: white;
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.nav-item-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #94a3b8;
    font-size: 0.65rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.nav-item-label {
    letter-spacing: 0.01em;
    transition: color 0.3s;
}

.nav-item-count {
    font-size: 0.58rem;
    background: #eef0f4;
    color: #94a3b8;
    padding: 2px 7px;
    border-radius: 6px;
    font-weight: 700;
    line-height: 1.4;
    transition: all 0.3s ease;
}

/* Hover */
.catalog-nav-item:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-1px);
    color: #334155;
}
.catalog-nav-item:hover .nav-item-icon {
    background: color-mix(in srgb, var(--nav-color, #667eea) 12%, white);
    color: var(--nav-color, #667eea);
}

/* Active */
.catalog-nav-item.active {
    background: var(--nav-color, #667eea);
    color: white;
    box-shadow: 0 4px 16px color-mix(in srgb, var(--nav-color, #667eea) 45%, transparent),
                0 1px 3px rgba(0,0,0,0.1);
}
.catalog-nav-item.active .nav-item-icon {
    background: rgba(255,255,255,0.2);
    color: white;
}
.catalog-nav-item.active .nav-item-count {
    background: rgba(255,255,255,0.2);
    color: white;
}

/* ===== CATALOG GROUPS - PREMIUM ===== */
#catalogContainer {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.catalog-group {
    padding-bottom: 1.5rem;
    position: relative;
    animation: groupSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.catalog-group:last-child {
    padding-bottom: 0;
}
.catalog-group.group-hidden {
    display: none;
}
.catalog-group.group-solo .catalog-group-header {
    display: none;
}

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

/* Group Header */
.catalog-group-header {
    margin-bottom: 1rem;
    position: relative;
}

.group-header-line {
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        color-mix(in srgb, var(--line-color, #667eea) 25%, transparent) 0%, 
        color-mix(in srgb, var(--line-color, #667eea) 8%, transparent) 100%
    );
    z-index: 0;
}

.group-header-content {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
    padding-right: 12px;
    width: fit-content;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
}

.group-header-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--icon-color, #667eea) 12%, white);
    color: var(--icon-color, #667eea);
    font-size: 0.75rem;
    flex-shrink: 0;
    border: 1.5px solid color-mix(in srgb, var(--icon-color, #667eea) 20%, transparent);
}

.group-header-info {
    min-width: 0;
}

.group-header-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.3;
    letter-spacing: 0.01em;
}

.group-header-desc {
    font-size: 0.7rem;
    color: #94a3b8;
    margin: 0;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
}

.group-header-badge {
    font-size: 0.65rem;
    color: color-mix(in srgb, var(--badge-color, #667eea) 70%, #334155);
    font-weight: 500;
    white-space: nowrap;
    margin-left: 4px;
    padding-right: 4px;
}

/* ===== PLATFORM CARDS ===== */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.platform-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    border: none !important;
    outline: none !important;
}

.platform-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.platform-card:focus,
.platform-card:active {
    border: none !important;
    outline: none !important;
}

.platform-card-header {
    padding: 2.5rem 1.5rem 3rem;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.platform-card-header::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -15%;
    right: -15%;
    height: 80px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 -1px 0 white;
}

.platform-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2.2rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    transition: transform 0.3s;
}

.platform-card:hover .platform-icon {
    transform: scale(1.1) rotate(5deg);
}

.platform-name {
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0;
    position: relative;
    z-index: 1;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    letter-spacing: -0.5px;
}

.platform-card-body {
    padding: 1.25rem 1.5rem 1.5rem;
    text-align: center;
    position: relative;
    z-index: 2;
    background: white;
    margin-top: -1px;
}

.platform-price-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.platform-price {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.platform-duration {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 500;
}

.platform-stock {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.platform-stock.in-stock {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.2) 100%);
    color: #059669;
}

.platform-stock.out-of-stock {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.2) 100%);
    color: #dc2626;
}

.card-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-details {
    flex: 1;
    padding: 0.7rem 1rem;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.85rem;
    color: #64748b;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.btn-details:hover {
    border-color: var(--purple);
    color: var(--purple);
    background: rgba(102, 126, 234, 0.05);
}

.btn-quick-add {
    flex: 2;
    padding: 0.7rem 1rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.btn-quick-add.available {
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
    color: white;
}

.btn-quick-add.available:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-quick-add.unavailable {
    background: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
}

.btn-quick-add.in-cart {
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    color: white;
}

/* ===== CARD BADGES ===== */
.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 0.3rem 0.7rem;
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 3;
    letter-spacing: 0.5px;
}

.card-badge-right {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 0.3rem 0.7rem;
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 3;
    letter-spacing: 0.5px;
}

.badge-popular {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1a1a2e;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
}

.badge-new {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.badge-offer {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
    animation: pulseOffer 1.5s infinite;
    /* Borde blanco para contraste en fondos rojos */
    border: 2px solid white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

@keyframes pulseOffer {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.badge-manual {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

/* Precios con oferta */
.platform-price-old {
    font-size: 0.9rem;
    font-weight: 500;
    color: #999;
    text-decoration: line-through;
    margin-right: 0.3rem;
}

.platform-price.offer {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Stock para entrega manual */
.platform-stock.manual-delivery {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.2) 100%);
    color: #d97706;
}

/* BotÃƒÂ³n agregar para productos manuales */
.btn-quick-add.manual {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
}

/* ===== DETAIL MODAL ===== */
.modal-backdrop.show {
    opacity: 0.7;
}

.detail-modal .modal-dialog {
    max-width: 460px;
    margin: 1.5rem auto;
    display: flex;
    align-items: center;
    min-height: calc(100% - 3rem);
}

.detail-modal .modal-content {
    border: none;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0,0,0,0.25);
    max-height: calc(100vh - 3rem);
    overflow-y: auto;
}

.detail-modal .modal-header {
    border: none;
    padding: 0;
    position: relative;
}

.modal-platform-header {
    padding: 2.5rem 1.5rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 0;
    width: 100%;
}

.modal-platform-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 250px;
    height: 250px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.modal-platform-header::after {
    content: '';
    position: absolute;
    bottom: -55px;
    left: -15%;
    right: -15%;
    height: 90px;
    background: white;
    border-radius: 50%;
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border: none;
    color: white;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
}

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

.modal-platform-icon {
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2.8rem;
    color: white;
    position: relative;
    z-index: 1;
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.modal-platform-name {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    margin: 0;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.detail-modal .modal-body {
    padding: 1rem 1.5rem 1rem;
}

/* Product Specs - Ficha Técnica */
.product-specs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    flex: 1 1 auto;
    min-width: 100px;
    max-width: 200px;
}

.spec-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple);
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.spec-content {
    display: flex;
    flex-direction: column;
}

.spec-label {
    font-size: 0.6rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    font-weight: 600;
    white-space: nowrap;
}

.spec-value {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
}

/* Product Badges */
.product-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.85rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-badge.badge-renovable {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.15) 100%);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.product-badge.badge-garantia {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.15) 100%);
    color: #2563eb;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.product-badge.badge-panel {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(139, 92, 246, 0.15) 100%);
    color: #7c3aed;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

/* Support Info */
.support-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.support-info.support-manual {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #fcd34d;
}

.support-info.support-auto {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border: 1px solid #6ee7b7;
}

.support-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.support-manual .support-icon {
    color: #f59e0b;
}

.support-auto .support-icon {
    color: #10b981;
}

.support-content {
    display: flex;
    flex-direction: column;
}

.support-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 600;
}

.support-manual .support-label {
    color: #92400e;
}

.support-auto .support-label {
    color: #065f46;
}

.support-value {
    font-size: 0.85rem;
    font-weight: 700;
}

.support-manual .support-value {
    color: #78350f;
}

.support-auto .support-value {
    color: #047857;
}

/* Description */
.modal-section {
    margin-bottom: 1rem;
}

.modal-section-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-section-title i {
    color: var(--purple);
}

.modal-description {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.7;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    white-space: pre-line;
}

/* Notice/Aviso */
.modal-notice {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #fcd34d;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-top: 1rem;
}

.modal-notice-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.modal-notice-header i {
    color: #f59e0b;
    font-size: 1rem;
}

.modal-notice-header span {
    font-size: 0.85rem;
    font-weight: 700;
    color: #92400e;
}

.modal-notice-text {
    font-size: 0.8rem;
    color: #78350f;
    line-height: 1.5;
}

/* Modal Footer - DiseÃƒÂ±o Premium Equilibrado */
.detail-modal .modal-footer {
    border: none;
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 0.75rem;
    background: linear-gradient(to top, #f8fafc 60%, transparent);
    border-top: 1px solid rgba(0,0,0,0.04);
}

.modal-footer-actions {
    display: flex;
    flex: 1;
    min-width: 0;
}

/* BotÃƒÂ³n TÃƒÂ©rminos y Condiciones - Izquierda, Prominente */
.btn-modal-terms {
    flex: 1;
    padding: 0.85rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.85rem;
    background: white;
    color: #475569;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.btn-modal-terms:hover {
    border-color: #667eea;
    color: #667eea;
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.btn-modal-terms:active {
    transform: translateY(0);
}

.btn-modal-terms i {
    font-size: 0.9rem;
}

/* BotÃƒÂ³n Agregar al Carrito - Derecha, AcciÃƒÂ³n Principal */
.btn-modal-add {
    flex: 1;
    padding: 0.85rem 1rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.85rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
    white-space: nowrap;
}

.btn-modal-add:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

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

.btn-modal-add:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-modal-add.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.btn-modal-add i {
    font-size: 0.9rem;
}

/* Responsive: en mÃƒÂ³viles apilar verticalmente */
@media (max-width: 420px) {
    .detail-modal .modal-footer {
        flex-direction: column;
        gap: 0.6rem;
    }
    
    .btn-modal-terms,
    .modal-footer-actions {
        width: 100%;
    }
}

/* ===== CLIENT DATA MODAL (Para productos manuales) ===== */
.client-data-modal .modal-dialog {
    max-width: 420px;
    margin: 1.5rem auto;
    display: flex;
    align-items: center;
    min-height: calc(100% - 3rem);
}

.client-data-modal .modal-content {
    border: none;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0,0,0,0.25);
    max-height: calc(100vh - 3rem);
    overflow-y: auto;
}

.client-data-modal .modal-header {
    border: none;
    padding: 0;
    position: relative;
}

.client-data-modal .modal-body {
    padding: 1.25rem 1.5rem 1.5rem;
}

.client-data-modal .modal-footer {
    border: none;
    padding: 0 1.5rem 1.5rem;
    display: flex;
    gap: 0.75rem;
}

/* Form Inputs en modal */
.client-input-group {
    margin-bottom: 1rem;
}

.client-input-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.5rem;
}

.client-input-label i {
    color: var(--purple);
    font-size: 0.9rem;
}

.client-input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.2s;
    background: #f8fafc;
}

.client-input:focus {
    outline: none;
    border-color: var(--purple);
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

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

.client-input-hint {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.client-input-hint i {
    font-size: 0.7rem;
}

/* Info badges en modal de datos */
.delivery-info-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border: 1px solid #93c5fd;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.delivery-info-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.delivery-info-content {
    display: flex;
    flex-direction: column;
}

.delivery-info-label {
    font-size: 0.65rem;
    color: #1e40af;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 600;
}

.delivery-info-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e3a8a;
}

/* Botones del modal */
.btn-modal-add-cart {
    flex: 1;
    padding: 0.9rem 1.5rem;
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-modal-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.35);
}

.btn-modal-add-cart:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-modal-cancel {
    padding: 0.9rem 1.25rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-modal-cancel:hover {
    background: #e2e8f0;
    color: #475569;
}

/* Error en input */
.client-input.input-error {
    border-color: #ef4444;
    background: #fef2f2;
}

.input-error-msg {
    color: #dc2626;
    font-size: 0.75rem;
    margin-top: 0.3rem;
    display: none;
}

.input-error-msg.show {
    display: block;
}

.btn-modal-terms:hover {
    border-color: var(--purple);
    color: var(--purple);
    background: rgba(102, 126, 234, 0.05);
}

/* Empty state */
.empty-catalog {
    text-align: center;
    padding: 4rem 2rem;
    color: #94a3b8;
}

.empty-catalog i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-catalog h4 {
    color: #64748b;
    margin-bottom: 0.5rem;
}

/* ===== TABLET - Modal centrado con bordes redondeados ===== */
@media (min-width: 576px) and (max-width: 991.98px) {
    .detail-modal .modal-dialog,
    #detailModal .modal-dialog {
        max-width: 440px !important;
        margin: 1.5rem auto !important;
        height: auto !important;
        min-height: auto !important;
    }
    
    .detail-modal .modal-content,
    #detailModal .modal-content {
        border-radius: 20px !important;
        height: auto !important;
        max-height: calc(100vh - 3rem) !important;
        overflow: hidden !important;
    }
    
    .detail-modal .modal-body,
    #detailModal .modal-body {
        max-height: calc(100vh - 280px) !important;
        overflow-y: auto !important;
    }
    
    .modal-platform-header {
        padding: 2rem 1.25rem 2.25rem !important;
    }
    
    .modal-platform-header::after {
        height: 70px !important;
        bottom: -40px !important;
    }
    
    .modal-platform-icon {
        width: 85px !important;
        height: 85px !important;
        font-size: 2.4rem !important;
    }
    
    .modal-platform-name {
        font-size: 1.5rem !important;
    }
    
    .product-specs {
        justify-content: center !important;
    }
    
    .spec-item {
        padding: 0.65rem !important;
    }
    
    .detail-modal .modal-footer,
    #detailModal .modal-footer {
        position: relative !important;
        flex-direction: row !important;
    }
    
    .btn-modal-terms span {
        display: inline !important;
    }
}

/* ===== RESPONSIVE MÃƒâ€œVIL OPTIMIZADO ===== */
@media (max-width: 991.98px) {
    .main-container {
        padding: 0.75rem !important;
        padding-bottom: 100px !important;
    }
    
    /* Category nav mobile */
    .catalog-nav {
        margin-bottom: 1rem;
    }
    .catalog-nav-item {
        padding: 6px 12px;
        font-size: 0.73rem;
        gap: 6px;
        border-radius: 10px;
    }
    .nav-item-icon {
        width: 24px;
        height: 24px;
        border-radius: 6px;
        font-size: 0.58rem;
    }
    .nav-item-count {
        font-size: 0.52rem;
        padding: 1px 5px;
    }
    .catalog-group {
        padding-bottom: 1rem;
    }
    .group-header-icon {
        width: 26px;
        height: 26px;
        font-size: 0.65rem;
        border-radius: 7px;
    }
    .group-header-title {
        font-size: 0.82rem;
    }
    .group-header-desc {
        display: none;
    }
    .group-header-badge {
        font-size: 0.6rem;
    }
    .group-header-content {
        gap: 8px;
    }
    .section-count {
        font-size: 0.65rem;
    }
    
    /* Grid de plataformas - 2 columnas en tablet/mÃƒÂ³vil */
    .platforms-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }
    
    /* Cards de plataforma */
    .platform-card {
        border-radius: 16px !important;
    }
    
    .platform-card-header {
        padding: 1.5rem 0.75rem 1.75rem !important;
        min-height: auto !important;
    }
    
    .platform-card-header::after {
        bottom: -40px !important;
        height: 60px !important;
    }
    
    .platform-icon {
        width: 55px !important;
        height: 55px !important;
        font-size: 1.5rem !important;
        border-radius: 14px !important;
        margin-bottom: 0.65rem !important;
    }
    
    .platform-name {
        font-size: 0.88rem !important;
        margin-top: 0 !important;
        line-height: 1.2 !important;
    }
    
    .platform-card-body {
        padding: 0.875rem 0.75rem !important;
    }
    
    .platform-price {
        font-size: 1.35rem !important;
    }
    
    .price-period {
        font-size: 0.75rem !important;
    }
    
    .stock-badge {
        font-size: 0.7rem !important;
        padding: 0.25rem 0.5rem !important;
    }
    
    .card-actions {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }
    
    .btn-details, 
    .btn-quick-add {
        width: 100% !important;
        padding: 0.65rem 0.75rem !important;
        font-size: 0.8rem !important;
        border-radius: 10px !important;
    }
    
    .modal-features {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }
    
    .modal-stats {
        gap: 0.75rem !important;
        flex-wrap: wrap !important;
    }
    
    .modal-quantity-section {
        flex-wrap: wrap !important;
        gap: 0.75rem !important;
    }
}

/* ===== MÃƒâ€œVIL PEQUEÃƒâ€˜O - Modal a pantalla completa ===== */
@media (max-width: 575.98px) {
    /* ===== MODAL PREMIUM MOBILE - Experiencia Flotante ===== */
    .detail-modal .modal-dialog,
    .client-data-modal .modal-dialog,
    #detailModal .modal-dialog,
    #clientDataModal .modal-dialog {
        margin: 12px !important;
        max-width: calc(100% - 24px) !important;
        height: calc(100% - 24px) !important;
        max-height: calc(100dvh - 24px) !important;
        padding: 0 !important;
    }
    
    .detail-modal .modal-content,
    .client-data-modal .modal-content,
    #detailModal .modal-content,
    #clientDataModal .modal-content {
        border-radius: 24px !important;
        height: 100% !important;
        max-height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        box-shadow: 
            0 25px 50px -12px rgba(0, 0, 0, 0.35),
            0 0 0 1px rgba(255, 255, 255, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
        overflow: hidden !important;
        border: none !important;
    }
    
    /* ===== HEADER PREMIUM COMPACTO ===== */
    .detail-modal .modal-header,
    .client-data-modal .modal-header,
    #detailModal .modal-header,
    #clientDataModal .modal-header {
        padding: 0 !important;
        flex-shrink: 0 !important;
        border-radius: 0 !important;
        overflow: visible !important;
        border: none !important;
    }
    
    .modal-platform-header {
        padding: 1.75rem 1rem 2rem !important;
        border-radius: 0 !important;
    }
    
    .modal-platform-icon {
        width: 65px !important;
        height: 65px !important;
        font-size: 1.75rem !important;
        margin-bottom: 0.65rem !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important;
    }
    
    .modal-platform-name {
        font-size: 1.3rem !important;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    }
    
    .modal-close-btn {
        width: 36px !important;
        height: 36px !important;
        top: 14px !important;
        right: 14px !important;
        background: rgba(255, 255, 255, 0.2) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        border-radius: 50% !important;
        transition: all 0.2s ease !important;
    }
    
    .modal-close-btn:hover {
        background: rgba(255, 255, 255, 0.35) !important;
        transform: scale(1.1) !important;
    }
    
    .modal-platform-header::after {
        height: 55px !important;
        bottom: -32px !important;
    }
    
    /* ===== BODY PREMIUM SCROLLEABLE ===== */
    .detail-modal .modal-body,
    .client-data-modal .modal-body,
    #detailModal .modal-body,
    #clientDataModal .modal-body {
        padding: 1rem 1.25rem 1.25rem !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        flex: 1 !important;
        -webkit-overflow-scrolling: touch !important;
        overscroll-behavior: contain !important;
        scrollbar-width: thin !important;
        scrollbar-color: rgba(0,0,0,0.15) transparent !important;
        background: #ffffff !important;
    }
    
    /* Scrollbar personalizada WebKit */
    .detail-modal .modal-body::-webkit-scrollbar,
    #detailModal .modal-body::-webkit-scrollbar {
        width: 5px !important;
    }
    
    .detail-modal .modal-body::-webkit-scrollbar-track,
    #detailModal .modal-body::-webkit-scrollbar-track {
        background: transparent !important;
    }
    
    .detail-modal .modal-body::-webkit-scrollbar-thumb,
    #detailModal .modal-body::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.12) !important;
        border-radius: 10px !important;
    }
    
    .detail-modal .modal-body::-webkit-scrollbar-thumb:hover,
    #detailModal .modal-body::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 0, 0, 0.25) !important;
    }
    
    /* ===== SPECS PREMIUM GRID ===== */
    .product-specs {
        justify-content: center !important;
        gap: 0.6rem !important;
        margin-bottom: 1rem !important;
    }
    
    .spec-item {
        padding: 0.65rem 0.5rem !important;
        flex-direction: column !important;
        text-align: center !important;
        gap: 0.4rem !important;
        background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
        border-radius: 14px !important;
        border: 1px solid rgba(0, 0, 0, 0.04) !important;
    }
    
    .spec-icon {
        width: 34px !important;
        height: 34px !important;
        font-size: 0.85rem !important;
        margin: 0 auto !important;
        background: white !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    }
    
    .spec-label {
        font-size: 0.58rem !important;
        text-transform: uppercase !important;
        letter-spacing: 0.3px !important;
        color: #94a3b8 !important;
    }
    
    .spec-value {
        font-size: 0.8rem !important;
        font-weight: 700 !important;
        color: #1e293b !important;
    }
    
    /* ===== BADGES PREMIUM ===== */
    .product-badges {
        gap: 0.35rem !important;
        margin-bottom: 1rem !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
    }
    
    .product-badge {
        padding: 0.35rem 0.5rem !important;
        font-size: 0.6rem !important;
        border-radius: 20px !important;
        font-weight: 600 !important;
        white-space: nowrap !important;
    }
    
    /* ===== SUPPORT INFO PREMIUM ===== */
    .support-info {
        padding: 0.75rem 1rem !important;
        margin-bottom: 1rem !important;
        border-radius: 16px !important;
    }
    
    .support-icon {
        width: 38px !important;
        height: 38px !important;
        font-size: 1rem !important;
    }
    
    /* ===== SECTIONS PREMIUM ===== */
    .modal-section {
        margin-bottom: 1rem !important;
    }
    
    .modal-section-title {
        font-size: 0.75rem !important;
        margin-bottom: 0.6rem !important;
        font-weight: 700 !important;
        color: #64748b !important;
    }
    
    .modal-description {
        font-size: 0.82rem !important;
        line-height: 1.6 !important;
        color: #475569 !important;
        background: #f8fafc !important;
        padding: 0.85rem 1rem !important;
        border-radius: 12px !important;
        border-left: 3px solid #3b82f6 !important;
    }
    
    /* ===== NOTICE PREMIUM ===== */
    .modal-notice {
        padding: 0.85rem 1rem !important;
        margin-bottom: 0 !important;
        border-radius: 14px !important;
        background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%) !important;
        border: 1px solid rgba(245, 158, 11, 0.2) !important;
    }
    
    .modal-notice-header {
        margin-bottom: 0.35rem !important;
    }
    
    .modal-notice-header i {
        font-size: 0.8rem !important;
    }
    
    .modal-notice-header span {
        font-size: 0.78rem !important;
        font-weight: 700 !important;
    }
    
    .modal-notice-text {
        font-size: 0.72rem !important;
        line-height: 1.5 !important;
        color: #92400e !important;
    }
    
    /* ===== FOOTER PREMIUM FLOTANTE ===== */
    .detail-modal .modal-footer,
    .client-data-modal .modal-footer,
    #detailModal .modal-footer,
    #clientDataModal .modal-footer {
        padding: 1rem !important;
        flex-shrink: 0 !important;
        background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0.98) 100%) !important;
        border-top: none !important;
        box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.08) !important;
        flex-direction: row !important;
        gap: 0.75rem !important;
        position: sticky !important;
        bottom: 0 !important;
        z-index: 10 !important;
        border-radius: 0 0 24px 24px !important;
    }
    
    /* BotÃƒÂ³n TÃƒÂ©rminos - Visible y elegante */
    .btn-modal-terms {
        padding: 0.85rem 1rem !important;
        font-size: 0.75rem !important;
        border-radius: 14px !important;
        flex: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.4rem !important;
        background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
        border: 1px solid #e2e8f0 !important;
        color: #475569 !important;
        font-weight: 600 !important;
        transition: all 0.2s ease !important;
        text-decoration: none !important;
    }
    
    .btn-modal-terms:hover {
        background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%) !important;
        transform: translateY(-1px) !important;
    }
    
    .btn-modal-terms span {
        display: inline !important;
        white-space: nowrap !important;
    }
    
    .btn-modal-terms i {
        margin: 0 !important;
        font-size: 0.85rem !important;
    }
    
    /* BotÃƒÂ³n Agregar - Prominente */
    .modal-footer-actions {
        flex: 1 !important;
    }
    
    .btn-modal-add {
        padding: 0.85rem 1rem !important;
        font-size: 0.8rem !important;
        border-radius: 14px !important;
        width: 100% !important;
        font-weight: 700 !important;
        box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35) !important;
        transition: all 0.2s ease !important;
    }
    
    .btn-modal-add:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45) !important;
    }
    
    .modal-features {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }
    
    .modal-stats {
        gap: 0.75rem !important;
        flex-wrap: wrap !important;
    }
    
    .modal-quantity-section {
        flex-wrap: wrap !important;
        gap: 0.75rem !important;
    }
    
    /* Toast responsive - siempre centrado, flex layout preserved */
    .quick-toast {
        width: calc(100% - 2rem) !important;
        max-width: 400px !important;
        top: 50% !important;
        left: 50% !important;
        bottom: auto !important;
        right: auto !important;
        transform: translate(-50%, -50%) scale(0.95) !important;
        border-radius: 20px !important;
        max-height: 85vh !important;
        /* CRITICAL: Keep flex layout so actions stay at bottom as sticky footer */
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
    }
    
    .quick-toast .toast-cart-items {
        max-height: 30vh !important;
        overflow-y: auto !important;
        flex: 1 1 auto !important;
        min-height: 0 !important;
        padding: 0.5rem 0.75rem !important;
    }
    
    .quick-toast.show {
        transform: translate(-50%, -50%) scale(1) !important;
    }
    
    .toast-success-header {
        padding: 0.75rem 1rem !important;
        flex-shrink: 0 !important;
    }
    
    .toast-success-icon {
        width: 40px !important;
        height: 40px !important;
        margin-bottom: 0.4rem !important;
    }
    
    .toast-success-icon i {
        font-size: 1.15rem !important;
    }

    .toast-success-title {
        font-size: 0.95rem !important;
    }
    
    .toast-product-preview {
        padding: 0.875rem 1rem !important;
    }
    
    /* Items más visibles en móvil */
    .toast-cart-item {
        padding: 0.65rem !important;
        gap: 0.6rem !important;
        border-radius: 10px !important;
    }

    .toast-item-icon {
        width: 40px !important;
        height: 40px !important;
        border-radius: 10px !important;
        font-size: 1rem !important;
    }

    .toast-item-name {
        font-size: 0.85rem !important;
    }

    .toast-item-price {
        font-size: 0.78rem !important;
    }

    .toast-item-subtotal {
        font-size: 0.9rem !important;
    }

    .toast-qty-btn {
        width: 30px !important;
        height: 30px !important;
        font-size: 0.75rem !important;
    }

    .toast-item-qty {
        font-size: 0.9rem !important;
        min-width: 20px !important;
    }
    
    .toast-qty-input {
        width: 32px !important;
        font-size: 0.9rem !important;
    }
    
    .toast-cart-summary {
        padding: 0.65rem 0.75rem !important;
        flex-shrink: 0 !important;
    }

    .toast-actions {
        padding: 0.65rem 0.75rem !important;
        flex-direction: column !important;
        gap: 0.4rem !important;
        flex-shrink: 0 !important;
    }
    
    .btn-toast-action {
        width: 100% !important;
        padding: 0.7rem !important;
        font-size: 0.82rem !important;
    }
    
    /* Cart sidebar */
    .cart-sidebar {
        width: 100% !important;
        max-width: 100vw !important;
        right: -100% !important;
    }
    
    .cart-sidebar.open {
        right: 0 !important;
    }
    
    /* Support status */
    .support-status-float {
        bottom: 100px !important;
        right: 1rem !important;
        padding: 0.5rem 0.75rem !important;
        font-size: 0.7rem !important;
    }
    
    /* Empty state */
    .empty-catalog {
        padding: 2rem 1rem !important;
    }
    
    .empty-catalog i {
        font-size: 3rem !important;
    }
    
    .empty-catalog h4 {
        font-size: 1.1rem !important;
    }
    
    /* Grid y cards responsive - mÃƒÂ³vil */
    .main-container {
        padding: 0.5rem !important;
        padding-bottom: 100px !important;
    }
    
    /* 2 columnas en mÃƒÂ³vil pequeÃƒÂ±o - compacto pero legible */
    .platforms-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
    }
    
    .platform-card {
        border-radius: 14px !important;
    }
    
    .platform-card-header {
        padding: 1.25rem 0.5rem 1.5rem !important;
    }
    
    .platform-card-header::after {
        bottom: -35px !important;
        height: 50px !important;
    }
    
    .platform-icon {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.25rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .platform-name {
        font-size: 0.78rem !important;
        line-height: 1.15 !important;
        padding: 0 0.1rem !important;
    }
    
    .platform-card-body {
        padding: 0.65rem 0.5rem !important;
    }
    
    .platform-price {
        font-size: 1.15rem !important;
    }
    
    .price-period {
        font-size: 0.68rem !important;
    }
    
    .stock-badge {
        font-size: 0.62rem !important;
        padding: 0.2rem 0.4rem !important;
    }
    
    .card-actions {
        gap: 0.4rem !important;
    }
    
    .btn-details, 
    .btn-quick-add {
        padding: 0.55rem 0.5rem !important;
        font-size: 0.72rem !important;
        border-radius: 8px !important;
    }
    
    .btn-details i,
    .btn-quick-add i {
        font-size: 0.7rem !important;
    }
}

/* Landscape mode - optimizado para modales de catÃƒÂ¡logo */
@media (max-width: 991.98px) and (orientation: landscape) {
    /* Modal flotante en landscape */
    .detail-modal .modal-dialog,
    .client-data-modal .modal-dialog,
    #detailModal .modal-dialog,
    #clientDataModal .modal-dialog {
        margin: 10px !important;
        max-width: calc(100% - 20px) !important;
        height: calc(100% - 20px) !important;
        max-height: calc(100dvh - 20px) !important;
    }
    
    .detail-modal .modal-content,
    .client-data-modal .modal-content,
    #detailModal .modal-content,
    #clientDataModal .modal-content {
        max-height: 100% !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        border-radius: 20px !important;
        overflow: hidden !important;
    }
    
    .detail-modal .modal-header,
    #detailModal .modal-header {
        width: 35% !important;
        max-width: 200px !important;
        height: 100% !important;
        flex-shrink: 0 !important;
        border-radius: 20px 0 0 0 !important;
    }
    
    .modal-platform-header {
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        padding: 1rem !important;
        border-radius: 20px 0 0 0 !important;
    }
    
    .modal-platform-header::after {
        display: none !important;
    }
    
    .modal-platform-icon {
        width: 55px !important;
        height: 55px !important;
        font-size: 1.4rem !important;
    }
    
    .modal-platform-name {
        font-size: 1rem !important;
    }
    
    .detail-modal .modal-body,
    #detailModal .modal-body {
        flex: 1 !important;
        height: calc(100% - 55px) !important;
        max-height: calc(100% - 55px) !important;
        overflow-y: auto !important;
    }
    
    .detail-modal .modal-footer,
    #detailModal .modal-footer {
        width: 100% !important;
        border-radius: 0 0 20px 20px !important;
    }
    
    .product-specs {
        justify-content: center !important;
    }
}

/* Pantallas muy pequeÃƒÂ±as - optimizaciÃƒÂ³n extra */
@media (max-width: 380px) {
    /* Modal con mÃƒÂ¡rgenes mÃƒÂ¡s compactos */
    .detail-modal .modal-dialog,
    #detailModal .modal-dialog {
        margin: 8px !important;
        max-width: calc(100% - 16px) !important;
        height: calc(100% - 16px) !important;
    }
    
    .detail-modal .modal-content,
    #detailModal .modal-content {
        border-radius: 20px !important;
    }
    
    .modal-platform-header {
        padding: 1.25rem 0.75rem 1.5rem !important;
        border-radius: 20px 20px 0 0 !important;
    }
    
    .modal-platform-icon {
        width: 55px !important;
        height: 55px !important;
        font-size: 1.5rem !important;
    }
    
    .modal-platform-name {
        font-size: 1.15rem !important;
    }
    
    /* Specs en 3 columnas ultra compactas */
    .product-specs {
        gap: 0.4rem !important;
    }
    
    .spec-item {
        padding: 0.5rem 0.35rem !important;
        border-radius: 10px !important;
    }
    
    .spec-icon {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.7rem !important;
    }
    
    .spec-label {
        font-size: 0.5rem !important;
    }
    
    .spec-value {
        font-size: 0.7rem !important;
    }
    
    /* Footer compacto */
    .detail-modal .modal-footer,
    #detailModal .modal-footer {
        padding: 0.75rem !important;
        gap: 0.5rem !important;
        border-radius: 0 0 20px 20px !important;
    }
    
    .btn-modal-terms {
        padding: 0.7rem 0.65rem !important;
        font-size: 0.7rem !important;
        border-radius: 12px !important;
    }
    
    .btn-modal-add {
        padding: 0.7rem 0.75rem !important;
        font-size: 0.75rem !important;
        border-radius: 12px !important;
    }
}

/* ===== DESACTIVAR HOVER ANIMATIONS EN DISPOSITIVOS TÁCTILES ===== */
@media (hover: none) {
    .platform-card:hover,
    .platform-card:hover .platform-icon,
    .floating-cart-pill:hover,
    .catalog-nav-item:hover,
    .btn-quick-add.available:hover {
        transform: none !important;
    }

    /* Desactivar animación de entrada del modal de detalles en móvil */
    #detailModal .modal-dialog,
    #clientDataModal .modal-dialog {
        transition: none !important;
    }

    #detailModal.fade .modal-dialog,
    #clientDataModal.fade .modal-dialog {
        transform: none !important;
        opacity: 1 !important;
    }

    #detailModal.show .modal-dialog,
    #clientDataModal.show .modal-dialog {
        transform: none !important;
    }

    #detailModal.show .modal-platform-icon,
    #clientDataModal.show .modal-platform-icon,
    #detailModal.show .modal-platform-name,
    #clientDataModal.show .modal-platform-name,
    #detailModal.show .product-specs,
    #clientDataModal.show .product-specs {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}
</style>
