/* Reset e Configurações Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Glassmorphism Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease;
}

.navbar-brand {
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand img {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.navbar-brand:hover img {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.nav-link {
    position: relative;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 8px 12px !important;
}

.nav-link:hover {
    background: rgba(74, 222, 128, 0.1);
    transform: translateY(-1px);
}

.nav-link i {
    transition: all 0.3s ease;
}

.nav-link:hover i {
    color: #16a34a !important;
    transform: scale(1.1);
}

/* Efeito de brilho nos ícones */
.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-link:hover::before {
    opacity: 1;
}

/* Badge do carrinho com glassmorphism */
#cartCount {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Estilos para o Modal PIX */
.pix-code-section .input-group {
    max-width: 400px;
    margin: 0 auto;
}

.pix-code-section .form-control {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    background-color: #f8f9fa;
    border: 2px solid #dee2e6;
}

.pix-code-section .form-control:focus {
    border-color: #4ade80;
    box-shadow: 0 0 0 0.2rem rgba(74, 222, 128, 0.25);
}

#pixQrCode {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 220px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px dashed #dee2e6;
}

#pixQrCode canvas {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.order-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
}

.pix-info .alert {
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
}

/* Animação para o botão de copiar */
#copyPixBtn {
    transition: all 0.3s ease;
}

#copyPixBtn:hover {
    transform: scale(1.05);
    background-color: #4ade80;
    border-color: #4ade80;
    color: white;
}

/* Estilos para o Modal de Pedidos Recentes */
.pedido-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.3s ease;
}

.pedido-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(74, 222, 128, 0.3) !important;
}

.pedido-numero .badge {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%) !important;
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.4);
}

.pedido-items-list {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 0.5rem;
}

.pedido-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.pedido-item:hover {
    background: rgba(74, 222, 128, 0.1);
    border-color: rgba(74, 222, 128, 0.3);
    transform: translateX(5px);
}

.pedido-item .badge {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    color: #333 !important;
    font-weight: 600;
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.empty-pedidos-icon {
    color: rgba(255, 255, 255, 0.5);
}

#pedidosLoading .spinner-border {
    color: #4ade80;
}

/* Estilos para botões de PIX nos pedidos */
.copiar-pix-btn {
    transition: all 0.3s ease;
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
}

.copiar-pix-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(74, 222, 128, 0.3);
}

.copiar-pix-btn.btn-success {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%) !important;
    border-color: #22c55e !important;
    color: white !important;
}

/* Responsividade para o modal de pedidos */
@media (max-width: 768px) {
    .pedido-card .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
    }
    
    .pedido-card .text-end {
        text-align: left !important;
        margin-top: 10px;
    }
    
    .pedido-item {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.5rem;
    }
    
    .pedido-item .d-flex:last-child {
        width: 100%;
        justify-content: space-between;
    }
}

/* Estilos para seleção de regras de preço */
.price-rule-item {
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.price-rule-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-color: #4ade80;
}

.price-rule-item.selected {
    border-color: #4ade80;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%) !important;
    color: #065f46;
}

.price-rule-item.selected .badge {
    background-color: #065f46 !important;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #ffffff;
    min-height: 100vh;
}

/* Navbar Customizada */
.navbar {
    backdrop-filter: blur(15px);
    background: linear-gradient(135deg, rgba(69, 44, 99, 0.95) 0%, rgba(102, 45, 145, 0.95) 100%) !important;
    border-bottom: 2px solid rgba(102, 45, 145, 0.3);
    box-shadow: 0 4px 20px rgba(69, 44, 99, 0.3);
}

.navbar-brand {
    font-size: 1.5rem;
    transition: all 0.3s ease;
    color: #ffffff !important;
}

.navbar-brand:hover {
    transform: scale(1.05);
    color: #c4a7e7 !important;
}

.nav-link {
    transition: all 0.3s ease;
    position: relative;
    color: #ffffff !important;
}

.nav-link:hover {
    color: #c4a7e7 !important;
    transform: translateY(-2px);
}

/* Banner de Promoção */
.promo-banner {
    background: linear-gradient(135deg, #452c63 0%, #662d91 50%, #8b5cf6 100%);
    box-shadow: 0 10px 30px rgba(69, 44, 99, 0.4);
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 45, 145, 0.3);
}

.promo-banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(69, 44, 99, 0.6);
    background: linear-gradient(135deg, #662d91 0%, #8b5cf6 50%, #a855f7 100%);
}

.countdown-timer {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    display: inline-block;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Seção de Marcas */
.brands-scroll {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding: 1rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.brands-scroll::-webkit-scrollbar {
    display: none;
}

.brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.brand-item:hover {
    transform: translateY(-5px);
}

.brand-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #452c63 0%, #662d91 100%);
    box-shadow: 0 4px 15px rgba(69, 44, 99, 0.3);
    border: 1px solid rgba(102, 45, 145, 0.3);
}

.brand-item:hover .brand-logo {
    background: linear-gradient(135deg, #662d91 0%, #8b5cf6 100%) !important;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(69, 44, 99, 0.5);
    border-color: rgba(139, 92, 246, 0.5);
}

.brand-name {
    font-size: 0.8rem;
    font-weight: 500;
    color: #e2e8f0;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Cards de Produtos */
.product-card {
    background: linear-gradient(135deg, rgba(69, 44, 99, 0.1) 0%, rgba(102, 45, 145, 0.1) 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(69, 44, 99, 0.2);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    position: relative;
    border: 1px solid rgba(102, 45, 145, 0.2);
    backdrop-filter: blur(10px);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(69, 44, 99, 0.4);
    border-color: rgba(102, 45, 145, 0.4);
    background: linear-gradient(135deg, rgba(102, 45, 145, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
}

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: linear-gradient(45deg, #452c63, #662d91);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #dc3545 0%, #ff6b6b 100%);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(220, 53, 69, 0.3);
}

.product-info {
    padding: 1rem;
}

.product-name {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #4ade80;
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.rating-star {
    color: #fbbf24;
    font-size: 0.8rem;
}

.rating-text {
    font-size: 0.8rem;
    color: #cbd5e1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Botões de adicionar ao carrinho */
.add-to-cart-btn {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 0.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.add-to-cart-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #15803d 0%, #16a34a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
    color: white;
}

.add-to-cart-btn:disabled {
    background: linear-gradient(135deg, #6b7280 0%, #9ca3af 100%);
    color: #d1d5db;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 8px rgba(107, 114, 128, 0.2);
    opacity: 0.7;
}

.add-to-cart-btn:disabled:hover {
    background: linear-gradient(135deg, #6b7280 0%, #9ca3af 100%);
    transform: none;
    box-shadow: 0 2px 8px rgba(107, 114, 128, 0.2);
    color: #d1d5db;
}

/* Loading Animation */
.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(69, 44, 99, 0.2);
    border-top: 4px solid #662d91;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Fade In Animation */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

/* Modal do Produto */
.modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 1px solid rgba(102, 45, 145, 0.3);
    color: #ffffff;
}

.modal-header {
    border-bottom: 1px solid rgba(102, 45, 145, 0.3);
}

.modal-title {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-close {
    filter: invert(1);
}

/* Status do Estoque */
.stock-status {
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    background: rgba(69, 44, 99, 0.1);
    border: 1px solid rgba(102, 45, 145, 0.2);
    display: inline-block;
}

.stock-status .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}



/* Preço Calculado */
.calculated-price {
    background: linear-gradient(135deg, rgba(69, 44, 99, 0.1) 0%, rgba(102, 45, 145, 0.1) 100%) !important;
    border: 1px solid rgba(102, 45, 145, 0.3);
    color: #e2e8f0;
}

.calculated-price .h5 {
    color: #4ade80 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Botão Adicionar ao Carrinho */
#modalAddToCartBtn:disabled {
    background: linear-gradient(135deg, #6b7280 0%, #9ca3af 100%) !important;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: 0 2px 5px rgba(107, 114, 128, 0.3) !important;
}

#modalAddToCartBtn:disabled:hover {
    background: linear-gradient(135deg, #6b7280 0%, #9ca3af 100%) !important;
    transform: none !important;
}

.price-rules {
    background: linear-gradient(135deg, rgba(69, 44, 99, 0.1) 0%, rgba(102, 45, 145, 0.1) 100%);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid rgba(102, 45, 145, 0.2);
}

.price-rules h6 {
    color: #4ade80 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Regras de Preço Selecionáveis */
.price-rule-item {
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 45, 145, 0.3);
    background: linear-gradient(135deg, rgba(69, 44, 99, 0.2) 0%, rgba(102, 45, 145, 0.2) 100%);
    color: #e2e8f0;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.price-rule-item:hover {
    background: linear-gradient(135deg, rgba(102, 45, 145, 0.3) 0%, rgba(139, 92, 246, 0.3) 100%) !important;
    transform: translateX(5px);
    border-color: #8b5cf6;
    box-shadow: 0 4px 15px rgba(69, 44, 99, 0.4);
}

.price-rule-item.selected {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.3) 0%, rgba(34, 197, 94, 0.3) 100%) !important;
    border-color: #4ade80;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(74, 222, 128, 0.4);
}

.price-rule-item.selected span {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    font-weight: 600;
}

.price-rule-item.selected small {
    color: #d1fae5 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    font-weight: 500;
}

.price-rule-item .badge {
    font-size: 0.9rem !important;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #452c63 0%, #662d91 100%) !important;
    box-shadow: 0 2px 8px rgba(69, 44, 99, 0.4);
}

.price-rule-item.selected .badge {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%) !important;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.4);
}

.price-rule-item span {
    color: #f1f5f9 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    font-weight: 500;
}

.price-rule-item small {
    color: #cbd5e1 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    font-weight: 400;
}

/* Separador OU */
.custom-quantity .text-center {
    position: relative;
}

.custom-quantity .text-center::before,
.custom-quantity .text-center::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: rgba(102, 45, 145, 0.3);
}

.custom-quantity .text-center::before {
    left: 0;
}

.custom-quantity .text-center::after {
    right: 0;
}

/* Quantidade Personalizada */
.custom-quantity {
    background: rgba(69, 44, 99, 0.05);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(102, 45, 145, 0.2);
}

.custom-quantity .input-group {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(69, 44, 99, 0.2);
}

.custom-quantity .btn {
    border: 1px solid rgba(102, 45, 145, 0.3);
    background: linear-gradient(135deg, #452c63 0%, #662d91 100%);
    color: white;
    transition: all 0.3s ease;
}

.custom-quantity .btn:hover {
    background: linear-gradient(135deg, #662d91 0%, #8b5cf6 100%);
    transform: translateY(-1px);
}

.custom-quantity .form-control {
    border: 1px solid rgba(102, 45, 145, 0.3);
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    font-weight: 600;
    text-align: center;
}

.custom-quantity .form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(102, 45, 145, 0.25);
    border-color: #662d91;
}

/* Responsividade */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .promo-banner {
        padding: 1.5rem !important;
    }
    
    .brand-logo {
        width: 50px;
        height: 50px;
    }
    
    .brand-name {
        font-size: 0.7rem;
    }
    
    .product-card {
        margin-bottom: 1rem;
    }
    
    .product-info {
        padding: 0.75rem;
    }
    
    .product-name {
        font-size: 0.8rem;
    }
    
    .product-price {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .promo-banner h2 {
        font-size: 1.5rem;
    }
    
    .brands-scroll {
        gap: 1rem;
    }
    
    .brand-logo {
        width: 45px;
        height: 45px;
    }
}

/* Scrollbar Customizada */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(69, 44, 99, 0.1);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #452c63 0%, #662d91 100%);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #662d91 0%, #8b5cf6 100%);
}

/* Utilitários */
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shadow-hover {
    transition: box-shadow 0.3s ease;
}

.shadow-hover:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Animações de entrada */
.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

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

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

/* Modal do Usuário */
.user-menu {
    display: flex;
    flex-direction: column;
}

.user-menu-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    color: #e2e8f0;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.user-menu-item:hover {
    background-color: rgba(102, 45, 145, 0.2);
    color: #4ade80;
    transform: translateX(5px);
}

.user-menu-item.text-danger:hover {
    background-color: rgba(220, 53, 69, 0.2);
    color: #f87171;
}

.user-avatar {
    display: flex;
    justify-content: center;
}

/* Responsividade do Modal */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 1rem;
    }
    
    .user-menu-item {
        padding: 1rem 0;
    }
}

/* Melhorias para textos em tema escuro */
.text-success {
    color: #4ade80 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.text-muted {
    color: #cbd5e1 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.text-warning {
    color: #fbbf24 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.text-danger {
    color: #f87171 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Melhorias para badges e elementos de destaque */
.badge.bg-success {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%) !important;
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.badge.bg-warning {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%) !important;
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.badge.bg-danger {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%) !important;
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Modal do Carrinho */
.cart-item-card {
    background: linear-gradient(135deg, rgba(69, 44, 99, 0.1) 0%, rgba(102, 45, 145, 0.1) 100%);
    border: 1px solid rgba(102, 45, 145, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.cart-item-card:hover {
    background: linear-gradient(135deg, rgba(102, 45, 145, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    border-color: rgba(102, 45, 145, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(69, 44, 99, 0.2);
}

.cart-product-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(45deg, #452c63, #662d91);
    box-shadow: 0 4px 10px rgba(69, 44, 99, 0.3);
}

.cart-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-product-info h6 {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
}

.cart-product-info p {
    color: #cbd5e1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-size: 0.9rem;
}

.cart-quantity-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cart-quantity-info .badge {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
}

.cart-quantity-info small {
    color: #cbd5e1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-size: 0.8rem;
}

.cart-price-info {
    text-align: right;
}

.cart-price-info .fw-bold {
    color: #4ade80;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-size: 1.1rem;
}

.cart-price-info .btn {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.cart-price-info .btn:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.4);
}

/* Carrinho Vazio */
.empty-cart-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(69, 44, 99, 0.1) 0%, rgba(102, 45, 145, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(102, 45, 145, 0.3);
}

.empty-cart-icon i {
    font-size: 3rem;
    color: #cbd5e1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

#emptyCart .text-muted {
    color: #cbd5e1 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Resumo do Carrinho */
.cart-summary {
    background: linear-gradient(135deg, rgba(69, 44, 99, 0.1) 0%, rgba(102, 45, 145, 0.1) 100%) !important;
    border: 1px solid rgba(102, 45, 145, 0.3);
    color: #e2e8f0;
}

.cart-summary h6 {
    color: #4ade80 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.cart-summary .text-muted {
    color: #cbd5e1 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.cart-summary .fw-medium {
    color: #f1f5f9 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.cart-summary .fw-bold {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.cart-summary hr {
    border-color: rgba(102, 45, 145, 0.3);
}

/* Responsividade do Modal do Carrinho */
@media (max-width: 768px) {
    .cart-item-card {
        padding: 1rem;
    }
    
    .cart-product-image {
        width: 60px;
        height: 60px;
    }
    
    .cart-product-info h6 {
        font-size: 0.9rem;
    }
    
    .cart-product-info p {
        font-size: 0.8rem;
    }
    
    .cart-quantity-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .cart-price-info .fw-bold {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .cart-item-card {
        padding: 0.75rem;
    }
    
    .cart-product-image {
        width: 50px;
        height: 50px;
    }
    
    .cart-product-info h6 {
        font-size: 0.8rem;
    }
    
    .cart-product-info p {
        font-size: 0.7rem;
    }
    
    .cart-quantity-info .badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
    
    .cart-quantity-info small {
        font-size: 0.7rem;
    }
    
    .cart-price-info .fw-bold {
        font-size: 0.9rem;
    }
    
    .cart-price-info .btn {
        width: 28px;
        height: 28px;
    }
    
    .empty-cart-icon {
        width: 80px;
        height: 80px;
    }
    
    .empty-cart-icon i {
        font-size: 2rem;
    }
}
