/* css/style.css */
:root {
    --primary-color: #006ce1;
    --secondary-color: #6c757d;
    --navbar-color: #ffffff;
    --primary-hover: #0056b3;
    --success-color: #198754;
    --bg-light: #f8f9fa;
    --card-shadow: 0 8px 30px rgba(0,0,0,0.04);
    --card-shadow-hover: 0 12px 40px rgba(0,0,0,0.08);
    --radius-lg: 20px;
    --radius-md: 14px;
}

/* --- DYNAMIC THEME OVERRIDES --- */
.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.btn-primary { 
    background-color: var(--primary-color) !important; 
    border-color: var(--primary-color) !important; 
    color: #fff !important;
    box-shadow: 0 4px 15px color-mix(in srgb, var(--primary-color) 40%, transparent) !important;
}
.btn-primary:active { transform: scale(0.98); }
.btn-outline-primary { 
    color: var(--primary-color) !important; 
    border-color: var(--primary-color) !important; 
}
.btn-outline-primary:hover { 
    background-color: var(--primary-color) !important; 
    color: #fff !important; 
}
.text-secondary { color: var(--secondary-color) !important; }
.bg-secondary { background-color: var(--secondary-color) !important; }

/* Premium Utilities */
.glass-effect {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: #333;
}

/* Navbar */
.navbar {
    border-bottom: 1px solid rgba(0,0,0,0.05);
    background: var(--navbar-color) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1080 !important;
}

.navbar-brand {
    font-size: 1.4rem;
    letter-spacing: -0.5px;
}

/* Categorias */
.categorias-wrapper {
    background: white;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    z-index: 1070; /* Abaixo do navbar e busca */
}

/* Utilitários Sticky */
.sticky-search {
    position: sticky;
    top: 66px; /* Altura média do navbar */
    z-index: 1075;
    transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}

.sticky-categories {
    position: sticky;
    top: 114px; /* Navbar + Busca */
    z-index: 1070;
    transition: top 0.3s ease;
}

/* Estado Colapsado (Scroll Down) */
body.header-collapsed .sticky-search {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    top: 0; /* Evita que ocupe espaço no sticky */
}

body.header-collapsed .sticky-categories {
    top: 66px; /* Sobe para o lugar da busca logo abaixo do navbar */
}

#btnSearchNavbar {
    width: 38px;
    height: 38px;
    padding: 0;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

#btnSearchNavbar:hover {
    background: rgba(0,0,0,0.05);
}

body.header-collapsed #btnSearchNavbar {
    display: flex !important;
}

#categorias-list {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Scrollbar elegante para desktop */
#categorias-list::-webkit-scrollbar {
    height: 4px;
}

#categorias-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

#categorias-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

#categorias-list::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.btn-filter {
    border: none;
    background: #f0f2f5;
    color: #65676b;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-filter.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--primary-color) 40%, transparent);
}

/* Produto Card Estilos */
.produto-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.produto-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover) !important;
}

.produto-img-container {
    aspect-ratio: 1 / 1;
    width: 100%;
    background-color: #f8f9fa;
    background-image: radial-gradient(circle at center, #f0f2f5 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.produto-img-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
    transition: transform 0.5s ease;
    cursor: pointer;
}

.produto-card:hover .produto-img-container img {
    transform: scale(1.06);
}

.badge-cat {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

/* Typography and Price */
.produto-titulo {
    font-weight: 700;
    font-size: 1.05rem;
    color: #111827;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
    line-height: 1.3;
}
.empty-state-icon {
    font-size: 3rem;
    color: #dee2e6;
    margin-bottom: 1rem;
}

/* Forçar Modais e Carrinho a ficarem acima das barras de busca (1080) */
.modal {
    z-index: 1100 !important;
}
.modal-backdrop {
    z-index: 1099 !important;
}
.offcanvas {
    z-index: 9999 !important;
    border-radius: 20px 0 0 20px;
}
.offcanvas-backdrop {
    z-index: 9990 !important;
}



.preco {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.2;
}

/* === Preço Promocional === */
.preco-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
}

.preco-antigo {
    text-decoration: line-through;
    color: #adb5bd;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.2;
}

.preco-promo {
    color: #e53935;
    font-weight: 800;
    font-size: 1.15rem;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.badge-promo {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: linear-gradient(135deg, #e53935, #ef5350);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(229,57,53,0.35);
    animation: promoPulse 2.5s ease-in-out infinite;
    white-space: nowrap;
}

@keyframes promoPulse {
    0%, 100% { box-shadow: 0 2px 6px rgba(229,57,53,0.35); }
    50% { box-shadow: 0 2px 12px rgba(229,57,53,0.6); }
}

.unidade-text {
    font-size: 0.8rem;
    color: #8d949e;
}

/* Botão Adicionar */
.btn-add {
    background: #fff;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 50px;
    padding: 6px 14px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    font-size: 0.75rem;
    white-space: nowrap;
}

.btn-add:hover {
    background: var(--primary-color);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--primary-color) 30%, transparent);
}

.btn-add:active {
    transform: scale(0.95);
}

/* Floating Action Button (FAB) for Mobile Cart */
.cart-fab {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px color-mix(in srgb, var(--primary-color) 50%, transparent);
    z-index: 1000;
    transition: transform 0.2s;
    border: none;
}

.cart-fab:active {
    transform: scale(0.9);
}

.cart-fab .badge-fab {
    position: absolute;
    top: 0;
    right: 0;
    background: #ff3b30;
    color: white;
    border-radius: 50%;
    min-width: 24px;
    height: 24px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 2px solid white;
}

/* Hide Navbar cart button on small screens since we have FAB */
@media (max-width: 768px) {
    .nav-cart-btn {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .cart-fab {
        display: none !important;
    }
}

/* Carrinho Items */

.carrinho-item-img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    background: #f0f2f5;
}

.btn-qtd {
    background: #f0f2f5;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-weight: bold;
}

.qtd-value {
    font-weight: 600;
    margin: 0 12px;
}

/* Store Hours Badge */
.badge-status {
    font-size: 0.75rem;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
}
.badge-aberto { background: #e7f5ed; color: #198754; }
.badge-fechado { background: #feebeb; color: #dc3545; }

/* Bottom Navigation Bar */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: var(--navbar-color);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1030;
    padding-bottom: env(safe-area-inset-bottom);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Esconder barra ao abrir modais ou carrinho para não sobrepor botões de ação */
body.modal-open .bottom-nav,
body.offcanvas-open .bottom-nav,
.offcanvas.show ~ .bottom-nav {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.bottom-nav .nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    color: #8e8e93;
    padding: 10px 0;
    transition: all 0.2s;
    outline: none;
}

.bottom-nav .nav-item i {
    font-size: 1.3rem;
    margin-bottom: 2px;
    pointer-events: none;
}

.bottom-nav .nav-item span {
    font-size: 0.65rem;
    font-weight: 600;
    pointer-events: none;
}

.bottom-nav .nav-item.active {
    color: var(--primary-color);
}

/* Central Cart Highlight */
.nav-item-cart-wrapper {
    width: 75px;
    height: 100%;
    display: flex;
    justify-content: center;
    position: relative;
}

.nav-item-cart {
    position: absolute;
    top: -25px;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border: 5px solid white;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    transition: transform 0.2s, background 0.2s;
    box-shadow: 0 6px 16px color-mix(in srgb, var(--primary-color) 40%, transparent);
}

.nav-item-cart:active {
    transform: scale(0.9);
}

.nav-item-cart .badge {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 0.65rem;
    padding: 0.35em 0.5em;
    border: 2px solid var(--primary-color);
}

/* Modal Pedidos Styling */
.pedido-card-cliente {
    background: white;
    border-radius: 12px;
    border: 1px solid #eee;
    margin-bottom: 12px;
    padding: 12px;
    transition: all 0.2s;
}

.pedido-card-cliente:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Padding safe for body */
@media (max-width: 768px) {
    body {
        padding-bottom: 80px;
    }
}

/* === Carrossel de Banners === */
#banner-container {
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
    border-radius: 12px;
    /* Aspect-ratio responsivo: 16:7 em desktop, 16:9 em mobile */
    aspect-ratio: 16 / 7;
    width: 100%;
    background: #f0f2f5;
}

@media (max-width: 768px) {
    #banner-container {
        aspect-ratio: 16 / 9;
    }
}

#banner-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform;
}

.banner-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#banner-indicators {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.indicator {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.indicator.active {
    background: #ffffff;
    width: 20px;
    border-radius: 4px;
}

/* === KDS (Kitchen Display System) === */
.kds-card {
    border: none;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
}
.kds-card:hover { transform: translateY(-2px); }

.kds-card-header {
    padding: 12px 16px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.kds-card-body {
    padding: 16px;
    flex-grow: 1;
}

.kds-timer {
    font-family: 'Monaco', 'Consolas', monospace;
    font-weight: 800;
    font-size: 1.1rem;
    padding: 2px 8px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #475569;
}

/* KDS Status & Alerts */
.kds-card.status-p { border-left: 6px solid #fbbf24; } /* Pendente */
.kds-card.status-a { border-left: 6px solid #3b82f6; } /* Preparando */

.kds-timer.warning { background: #fef3c7; color: #92400e; animation: pulse-warning 2s infinite; }
.kds-timer.danger { background: #fee2e2; color: #991b1b; animation: pulse-danger 1s infinite; }

/* Card level alerts */
.kds-card.warning { 
    background-color: #fffbeb !important; 
    border: 2px solid #fbbf24 !important;
    box-shadow: 0 10px 25px -5px rgba(251, 191, 36, 0.3);
}
.kds-card.warning .kds-card-header { background: #fef3c7; border-bottom-color: #fcd34d; }

.kds-card.danger { 
    background-color: #fef2f2 !important; 
    border: 2px solid #ef4444 !important;
    box-shadow: 0 10px 30px -5px rgba(239, 68, 68, 0.4);
    animation: card-shake 0.5s cubic-bezier(.36,.07,.19,.97) both infinite;
    animation-play-state: paused; /* Só balança se o tempo for MUITO alto? Ou deixa parado pra não cansar? Vou deixar pulso de borda */
}
.kds-card.danger {
    animation: danger-pulse 2s infinite;
}
.kds-card.danger .kds-card-header { background: #fee2e2; border-bottom-color: #fecaca; }

@keyframes danger-pulse {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

@keyframes pulse-warning {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}
@keyframes pulse-danger {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); background: #fecaca; }
}

.kds-item {
    padding: 8px 0;
    border-bottom: 1px dashed #e2e8f0;
}
.kds-item:last-child { border-bottom: none; }
.smallest { font-size: 0.7rem; line-height: 1.2; }

.kds-card-footer {
    padding: 12px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

/* --- GLOBAL DARK THEME --- */
body.dark-theme {
    background-color: #12141d !important;
    color: #f8f9fa;
}

body.dark-theme .navbar,
body.dark-theme .categorias-wrapper,
body.dark-theme .sticky-search,
body.dark-theme .sticky-categories,
body.dark-theme .produto-card,
body.dark-theme .bg-white,
body.dark-theme .modal-content,
body.dark-theme .offcanvas,
body.dark-theme .bottom-nav,
body.dark-theme .bg-light {
    background-color: #1a1d28 !important;
    color: #f8f9fa !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

body.dark-theme .text-dark,
body.dark-theme .navbar-brand,
body.dark-theme .produto-titulo,
body.dark-theme h1, body.dark-theme h2, body.dark-theme h3, body.dark-theme h4, body.dark-theme h5, body.dark-theme h6,
body.dark-theme .modal-title {
    color: #ffffff !important;
}

body.dark-theme .text-muted,
body.dark-theme .label-text,
body.dark-theme .form-text {
    color: rgba(255, 255, 255, 0.5) !important;
}

body.dark-theme .form-control,
body.dark-theme .form-select {
    background-color: #242833 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}

body.dark-theme .form-control::placeholder {
    color: rgba(255, 255, 255, 0.3) !important;
}

body.dark-theme .list-group-item {
    background-color: transparent !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

body.dark-theme .btn-filter {
    background: #242833;
    color: rgba(255, 255, 255, 0.7);
}

body.dark-theme .btn-filter.active {
    background: var(--primary-color);
    color: #fff;
}

body.dark-theme .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

body.dark-theme .checkout-input {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}

body.dark-theme .checkout-details-box {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Subcategory Pills Styles */
#subcategorias-container {
    background: #ffffff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 -5px 10px -5px rgba(0, 0, 0, 0.02);
}
.sub-btn-filter {
    background: #f1f3f5;
    color: #495057;
    border: 1px solid #e9ecef;
    font-size: 0.75rem;
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
    white-space: nowrap;
    outline: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.sub-btn-filter:hover {
    background: #e9ecef;
    color: #212529;
}
.sub-btn-filter.active {
    background: var(--primary-color) !important;
    color: #ffffff !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 4px 10px color-mix(in srgb, var(--primary-color) 20%, transparent) !important;
}
body.dark-theme .sub-btn-filter {
    background: #242833;
    color: #b9bbbe;
    border-color: #2d313f;
}
body.dark-theme .sub-btn-filter:hover {
    background: #2d313f;
    color: #ffffff;
}
body.dark-theme .sub-btn-filter.active {
    background: var(--primary-color) !important;
    color: #ffffff !important;
    border-color: var(--primary-color) !important;
}
body.dark-theme #subcategorias-container {
    background: #18191a !important;
    border-bottom-color: #242526;
}

/* ============================================================
   CROSS-SELL PRO (UPSELLING SYSTEM) CSS RULES
   ============================================================ */
.upsell-section-title {
    color: #212529;
}

body.dark-theme .upsell-section-title,
.checkout-moderno .upsell-section-title {
    color: #ffffff !important;
}

.upsell-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
    padding: 4px 2px;
}
.upsell-scroll::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

.upsell-card {
    flex: 0 0 135px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.upsell-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border-color: rgba(16, 185, 129, 0.3);
}

.upsell-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
    background-image: radial-gradient(circle at center, #f0f2f5 0%, #f8f9fa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.upsell-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
    transition: transform 0.5s ease;
}

.upsell-card:hover .upsell-img-wrapper img {
    transform: scale(1.06);
}

.upsell-title {
    color: #212529;
    font-size: 0.78rem;
    margin: 0;
    line-height: 1.3;
}

.upsell-price {
    color: #10b981; /* Emerald Green */
    font-size: 0.85rem;
    margin-top: 2px;
}

.btn-upsell {
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
    color: #059669 !important;
    background: rgba(16, 185, 129, 0.04) !important;
    font-weight: 700 !important;
    font-size: 0.72rem !important;
    transition: all 0.2s ease-in-out !important;
    padding: 5px 0 !important;
}

.btn-upsell:hover {
    background: #10b981 !important;
    color: #ffffff !important;
    border-color: #10b981 !important;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3) !important;
}

.btn-upsell:active {
    transform: scale(0.96) !important;
}

/* === DARK THEME SUPPORT === */
body.dark-theme .upsell-card {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.07) !important;
    box-shadow: none !important;
}

body.dark-theme .upsell-card:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(16, 185, 129, 0.5) !important;
}

body.dark-theme .upsell-title {
    color: #f8f9fa !important;
}

body.dark-theme .upsell-price {
    color: #34d399 !important; /* Brighter Emerald for Dark Theme */
}

body.dark-theme .btn-upsell {
    border-color: rgba(52, 211, 153, 0.3) !important;
    color: #34d399 !important;
    background: rgba(52, 211, 153, 0.05) !important;
}

body.dark-theme .btn-upsell:hover {
    background: #34d399 !important;
    color: #12141d !important;
    border-color: #34d399 !important;
    box-shadow: 0 4px 12px rgba(52, 211, 153, 0.4) !important;
}

body.dark-theme .upsell-img-wrapper {
    background: #12141d !important;
}

/* === CHECKOUT MODERNO / OFFCANVAS SUPPORT === */
.checkout-moderno .upsell-card {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.07) !important;
    box-shadow: none !important;
}

.checkout-moderno .upsell-card:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(16, 185, 129, 0.5) !important;
}

.checkout-moderno .upsell-title {
    color: #f8f9fa !important;
}

.checkout-moderno .upsell-price {
    color: #34d399 !important;
}

.checkout-moderno .btn-upsell {
    border-color: rgba(52, 211, 153, 0.3) !important;
    color: #34d399 !important;
    background: rgba(52, 211, 153, 0.05) !important;
}

.checkout-moderno .btn-upsell:hover {
    background: #34d399 !important;
    color: #12141d !important;
    border-color: #34d399 !important;
    box-shadow: 0 4px 12px rgba(52, 211, 153, 0.4) !important;
}

.checkout-moderno .upsell-img-wrapper {
    background: #12141d !important;
}
