:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #06b6d4;
    --accent: #8b5cf6;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --light: #e2e8f0;
    --dark: #0f172a;
    --darker: #020617;
    --bg: #f1f5f9;
    --card-bg: #fff;
    --text: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: var(--primary); transition: color 0.2s; }
a:hover { color: var(--accent); }

/* ===== ANIMAÇÕES ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animate-fadeInUp { animation: fadeInUp 0.5s ease-out; }
.animate-fadeIn { animation: fadeIn 0.4s ease-out; }

/* ===== SKELETON LOADING ===== */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

/* ===== NAVBAR ===== */
.navbar-cprint {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 0.5rem 0;
    box-shadow: 0 1px 0 rgba(255,255,255,0.05), 0 4px 20px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 1030;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.navbar-cprint .navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff !important;
    letter-spacing: -0.02em;
}
.navbar-cprint .navbar-brand img {
    height: 34px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}
.navbar-cprint .nav-link {
    color: rgba(255,255,255,0.7) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.4rem 0.9rem !important;
    transition: all 0.2s;
    border-radius: var(--radius-sm);
    position: relative;
}
.navbar-cprint .nav-link:hover {
    color: #fff !important;
    background: rgba(255,255,255,0.08);
}
.navbar-cprint .nav-link.active {
    color: #fff !important;
    background: rgba(99, 102, 241, 0.25);
}
.navbar-cprint .carrinho-badge {
    background: linear-gradient(135deg, var(--danger), #f97316);
    color: #fff;
    border-radius: 50px;
    padding: 2px 8px;
    font-size: 0.65rem;
    font-weight: 700;
    margin-left: 5px;
    position: relative;
    top: -2px;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    animation: pulse 2s infinite;
}

.navbar-cprint .carrinho-fixo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.12);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    transition: background 0.2s;
}
.navbar-cprint .carrinho-fixo:hover {
    background: rgba(255,255,255,0.2);
}
.navbar-cprint .carrinho-fixo .carrinho-badge {
    position: absolute;
    top: -2px;
    right: -4px;
    font-size: 0.6rem;
    padding: 1px 6px;
    animation: pulse 2s infinite;
}
.navbar-cprint .navbar-toggler {
    border-color: rgba(255,255,255,0.25);
    padding: 0.35rem 0.5rem;
}
.navbar-cprint .navbar-toggler:focus {
    box-shadow: 0 0 0 0.15rem rgba(255,255,255,0.15);
}
.navbar-cprint .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
@media (max-width: 991px) {
    .navbar-cprint .carrinho-badge {
        position: absolute;
        top: 0;
        right: 0;
        font-size: 0.6rem;
        padding: 1px 6px;
    }
    .navbar-cprint .navbar-collapse {
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        border-radius: var(--radius);
        padding: 1rem;
        margin-top: 0.5rem;
        border: 1px solid rgba(255,255,255,0.06);
    }
}

/* ===== FOOTER ===== */
.footer-cprint {
    background: linear-gradient(135deg, var(--dark), var(--darker));
    color: rgba(255,255,255,0.6);
    padding: 3rem 0 2rem;
    margin-top: auto;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    position: relative;
}
.footer-cprint::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99,102,241,0.3), rgba(6,182,212,0.3), transparent);
}
.footer-cprint strong { color: #fff; }
.footer-cprint a { color: rgba(255,255,255,0.7); }
.footer-cprint a:hover { color: #fff; }

/* ===== CARDS PRODUTO ===== */
.produto-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.5s ease-out;
    border: 1px solid var(--border);
}
.produto-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99,102,241,0.15);
}
.produto-card .img-wrapper {
    height: 220px;
    overflow: hidden;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.produto-card .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.produto-card:hover .img-wrapper img {
    transform: scale(1.1);
}
.produto-card .card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.produto-card .card-title {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
    line-height: 1.3;
    color: var(--text);
}
.produto-card .card-text {
    color: var(--text-muted);
    font-size: 0.85rem;
    flex: 1;
    line-height: 1.5;
}
.produto-card .preco {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0.6rem 0;
    letter-spacing: -0.02em;
}
.produto-card .btn-comprar {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
    color: #fff;
    border: none;
    padding: 0.7rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    width: 100%;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.produto-card .btn-comprar:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(99,102,241,0.35);
}
.produto-card .btn-comprar:active {
    transform: scale(0.98);
}

/* ===== PÁGINA DO PRODUTO ===== */
.produto-detalhe .img-principal {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
    cursor: zoom-in;
}
.produto-detalhe .img-principal:hover {
    transform: scale(1.015);
}
.produto-detalhe .preco-destaque {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
}
.produto-detalhe .estoque-info {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.produto-detalhe .qty-input {
    width: 80px;
    text-align: center;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 0.5rem;
    font-weight: 600;
    transition: border-color 0.2s;
}
.produto-detalhe .qty-input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}

/* ===== CARRINHO ===== */
.carrinho-item {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-bottom: 0.8rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.25s;
    animation: fadeInUp 0.4s ease-out;
    border: 1px solid var(--border);
}
.carrinho-item:hover {
    box-shadow: var(--shadow);
    border-color: rgba(99,102,241,0.1);
}
.carrinho-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius);
    transition: transform 0.3s;
}
.carrinho-item img:hover { transform: scale(1.08); }
.carrinho-item .item-info { flex: 1; }
.carrinho-item .item-nome { font-weight: 700; font-size: 1rem; }
.carrinho-item .item-preco { color: var(--primary); font-weight: 600; }
.carrinho-item .qty-control {
    display: flex;
    align-items: center;
    gap: 6px;
}
.carrinho-item .qty-control input {
    width: 60px;
    text-align: center;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.35rem;
    font-weight: 600;
    transition: border-color 0.2s;
}
.carrinho-item .qty-control input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}
.carrinho-item .btn-remove {
    color: var(--danger);
    background: rgba(239,68,68,0.08);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.2s;
}
.carrinho-item .btn-remove:hover {
    background: rgba(239,68,68,0.2);
    transform: scale(1.1);
}
.carrinho-resumo {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    position: sticky;
    top: 80px;
    border: 1px solid var(--border);
}
.carrinho-resumo .total {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
}
.carrinho-resumo .btn-finalizar {
    background: linear-gradient(135deg, var(--success), #059669);
    color: #fff;
    border: none;
    padding: 0.85rem;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1.1rem;
    width: 100%;
    transition: all 0.3s;
    cursor: pointer;
}
.carrinho-resumo .btn-finalizar:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16,185,129,0.35);
}
.carrinho-resumo .btn-finalizar:active {
    transform: translateY(0);
}

/* ===== CHECKOUT ===== */
.checkout-form .form-control {
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 0.7rem 1rem;
    transition: all 0.2s;
    font-size: 0.95rem;
}
.checkout-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
    outline: none;
}
.checkout-form label {
    font-weight: 600;
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
    color: var(--text);
}

/* ===== ENTREGA OPTIONS ===== */
.entrega-option {
    background: var(--card-bg);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}
.entrega-option:hover {
    border-color: var(--primary);
    background: rgba(99,102,241,0.02);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.entrega-option.active {
    border-color: var(--primary);
    background: rgba(99,102,241,0.06);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}
.entrega-option .fw-bold { font-size: 0.95rem; }

/* ===== ENTREGA INFO ===== */
.entrega-info {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 0.9rem 1.1rem;
    border: 1px solid var(--border);
}

/* ===== PEDIDO SUCESSO ===== */
.pedido-sucesso-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    animation: fadeInUp 0.5s ease-out;
    border: 1px solid var(--border);
}
.pedido-sucesso-card .pix-qr {
    max-width: 280px;
    margin: 1.5rem auto;
    padding: 1rem;
    background: #fff;
    border: 3px dashed var(--border);
    border-radius: var(--radius-md);
}
.pedido-sucesso-card .pix-qr img { width: 100%; }
.pedido-sucesso-card .pix-copia-cola {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 0.8rem 1rem;
    word-break: break-all;
    font-family: 'Fira Code', 'Cascadia Code', monospace;
    font-size: 0.85rem;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.2s;
}
.pedido-sucesso-card .pix-copia-cola:hover {
    background: #ecfdf5;
    border-color: var(--success);
}
.pedido-sucesso-card .status-badge {
    display: inline-block;
    padding: 0.3rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ===== ADMIN ===== */
.admin-sidebar {
    background: linear-gradient(180deg, var(--dark), #1e293b);
    min-height: 100vh;
    padding: 1.5rem 0;
}
@media (min-width: 992px) {
    .admin-sidebar.offcanvas {
        position: static !important;
        visibility: visible !important;
        transform: none !important;
        z-index: auto !important;
        border: none !important;
    }
    .admin-sidebar.offcanvas .btn-close {
        display: none !important;
    }
}
.admin-sidebar .nav-link {
    color: rgba(255,255,255,0.6);
    padding: 0.7rem 1.5rem;
    border-left: 3px solid transparent;
    transition: all 0.2s;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.admin-sidebar .nav-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.04);
    border-left-color: rgba(255,255,255,0.2);
}
.admin-sidebar .nav-link.active {
    color: #fff;
    background: rgba(99,102,241,0.12);
    border-left-color: var(--primary);
}
.admin-sidebar .nav-link i {
    font-size: 1.1rem;
    width: 1.4rem;
    text-align: center;
}
.admin-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.3s;
    border: 1px solid var(--border);
}
.admin-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(99,102,241,0.15);
}
.admin-card .numero {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.03em;
}
.admin-card .rotulo {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
}

/* ===== FLASH MESSAGES ===== */
.alert {
    border-radius: var(--radius);
    border: none;
    padding: 0.9rem 1.3rem;
    animation: fadeInUp 0.3s ease-out;
    font-size: 0.9rem;
}

/* ===== BOTÃO VOLTAR AO TOPO ===== */
.btn-topo {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(99,102,241,0.35);
    z-index: 999;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}
.btn-topo:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(99,102,241,0.45);
    color: #fff;
}
.btn-topo.visible { display: flex; }

/* ===== DARK MODE ===== */
.dark-mode {
    --bg: #0f172a;
    --card-bg: #1e293b;
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --light: #334155;
    --border: #334155;
}
.dark-mode body { background: var(--bg); color: var(--text); }
.dark-mode .produto-card,
.dark-mode .carrinho-item,
.dark-mode .carrinho-resumo,
.dark-mode .pedido-sucesso-card,
.dark-mode .admin-card,
.dark-mode .entrega-option { background: var(--card-bg); border-color: var(--border); }
.dark-mode .form-control { background: var(--dark); color: var(--text); border-color: var(--border); }
.dark-mode .entrega-info { background: var(--card-bg); }
.dark-mode .navbar-cprint {
    background: rgba(2, 6, 23, 0.95);
    border-bottom-color: rgba(255,255,255,0.04);
}
.dark-mode .footer-cprint {
    background: linear-gradient(135deg, #020617, #0f172a);
}
.dark-mode .checkout-form .form-control { background: var(--card-bg); }
.dark-mode .pix-copia-cola:hover { background: rgba(16,185,129,0.1); }

/* ===== AVISO DE FUNCIONAMENTO ===== */
.aviso-compra-card {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border: 1px solid #c7d2fe;
    border-top: 4px solid var(--primary);
    border-radius: var(--radius);
    box-shadow: 0 2px 8px rgba(99,102,241,0.08);
    animation: fadeInUp 0.5s ease-out;
}
.aviso-compra-card img {
    display: block;
    max-width: 100%;
    height: auto;
}
.dark-mode .aviso-compra-card {
    background: linear-gradient(135deg, #1e1b4b 0%, #172554 100%);
    border-color: #3730a3;
}

/* ===== BADGES DESCONTO ===== */
.badge-desconto {
    background: linear-gradient(135deg, var(--danger), #f97316);
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(239,68,68,0.3);
    animation: pulse 2s infinite;
}

/* ===== STATUS BADGES ===== */
.status-aguardando_pagamento { background: #fef3c7; color: #92400e; }
.status-pago { background: #d1fae5; color: #065f46; }
.status-em_separacao { background: #dbeafe; color: #1e40af; }
.status-enviado { background: #e0e7ff; color: #3730a3; }
.status-entregue { background: #10b981; color: #fff; }
.status-cancelado { background: #fee2e2; color: #991b1b; }
.status-aberto { background: #f3e8ff; color: #6d28d9; }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #128C7E);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: float 3s ease-in-out infinite;
}
.whatsapp-float:hover {
    transform: scale(1.12) rotate(-5deg);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55);
    color: #fff;
}

/* ===== TOGGLE DARK MODE ===== */
.btn-dark-mode {
    position: fixed;
    bottom: 90px;
    left: 20px;
    width: 44px;
    height: 44px;
    background: var(--dark);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    z-index: 999;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}
.btn-dark-mode:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

/* ===== CURTIDAS ===== */
.btn-curtir, .btn-curtir-card {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    padding: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-curtir:hover i, .btn-curtir-card:hover i {
    transform: scale(1.15);
}
.btn-curtir.curtido, .btn-curtir-card.curtido {
    color: #ef4444;
}
.btn-curtir.curtido i, .btn-curtir-card.curtido i {
    color: #ef4444;
}
.btn-curtir i, .btn-curtir-card i {
    font-size: 1.1rem;
    transition: all 0.2s;
}
.btn-curtir .curtidas-count, .btn-curtir-card .curtidas-count {
    font-variant-numeric: tabular-nums;
}
.curtidas-card {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ===== BOTÕES GENÉRICOS ===== */
.btn-primary, .btn-success, .btn-info, .btn-warning, .btn-danger {
    border-radius: var(--radius) !important;
    font-weight: 600 !important;
    padding: 0.6rem 1.4rem !important;
    transition: all 0.25s !important;
    border: none !important;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent)) !important;
}
.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(99,102,241,0.35) !important;
    transform: translateY(-1px);
}
.btn-success {
    background: linear-gradient(135deg, var(--success), #059669) !important;
}
.btn-success:hover {
    box-shadow: 0 6px 20px rgba(16,185,129,0.35) !important;
    transform: translateY(-1px);
}
.btn-outline-primary {
    border: 2px solid var(--primary) !important;
    color: var(--primary) !important;
    border-radius: var(--radius) !important;
    font-weight: 600 !important;
    transition: all 0.25s !important;
}
.btn-outline-primary:hover {
    background: var(--primary) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(99,102,241,0.25) !important;
}

/* ===== CARDS GENÉRICOS ===== */
.card {
    border-radius: var(--radius) !important;
    border: 1px solid var(--border) !important;
    box-shadow: var(--shadow-sm) !important;
    transition: all 0.25s;
}
.card:hover {
    box-shadow: var(--shadow) !important;
}

/* ===== SALDO / CRÉDITO ===== */
.saldo-card {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 2px solid #86efac;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: all 0.3s;
}
.saldo-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.saldo-card .saldo-valor {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--success);
    letter-spacing: -0.02em;
}
.dark-mode .saldo-card {
    background: linear-gradient(135deg, #064e3b, #065f46);
    border-color: #059669;
}
.dark-mode .saldo-card .saldo-valor { color: #6ee7b7; }

/* ===== INFO BOX READ-ONLY ===== */
.info-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
}
.info-value {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text);
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0.75rem;
}

/* ===== SPINNER OVERLAY ===== */
.spinner-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

/* ===== BANNER ===== */
#bannerSlider .carousel-item > div {
    height: 120px;
}
@media (min-width: 768px) {
    #bannerSlider .carousel-item > div {
        height: 240px;
    }
    #bannerSlider h5 {
        font-size: 1.5rem;
    }
    #bannerSlider small {
        font-size: 0.95rem;
    }
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
    .produto-card .img-wrapper { height: 160px; }
    .carrinho-item { flex-wrap: wrap; }
    .carrinho-item img { width: 60px; height: 60px; }
    .produto-detalhe .preco-destaque { font-size: 1.6rem; }
    .pedido-sucesso-card { padding: 1.5rem; }
    .whatsapp-float { width: 52px; height: 52px; font-size: 1.5rem; bottom: 15px; right: 15px; }
    .btn-topo { bottom: 75px; right: 15px; width: 40px; height: 40px; font-size: 1rem; }
    .btn-dark-mode { bottom: 75px; left: 15px; width: 40px; height: 40px; font-size: 1rem; }
    .saldo-card .saldo-valor { font-size: 1.6rem; }
}

/* ===== MOBILE 2 COLUNAS ===== */
@media (max-width: 575px) {
    .produto-card .img-wrapper { height: 140px; }
    .produto-card .card-body { padding: 0.75rem; }
    .produto-card .card-title { font-size: 0.9rem; }
    .produto-card .preco { font-size: 1.1rem; }
    .produto-card .btn-comprar { font-size: 0.8rem; padding: 0.5rem; }
}

/* ===== DIA DOS PAIS ===== */
.dia-dos-pais-banner {
    background: linear-gradient(135deg, #0b3d5f 0%, #1a6b8a 50%, #2c8cb3 100%);
    border-bottom: 3px solid #5dade2;
    color: #fff;
    padding: 12px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.dia-dos-pais-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 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.03'%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");
    pointer-events: none;
}

.dia-dos-pais-banner .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.dia-dos-pais-banner i.bi-gift-fill {
    color: #85c1e9;
    font-size: 1.3rem;
    animation: pulse 1.5s infinite;
}

.dia-dos-pais-banner span {
    font-size: 0.9rem;
}

.btn-dia-dos-pais {
    display: inline-block;
    padding: 6px 18px;
    background: linear-gradient(135deg, #1a6b8a, #0b3d5f);
    color: #fff !important;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.btn-dia-dos-pais:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(26, 107, 138, 0.4);
}

.dia-dos-pais-section {
    background: linear-gradient(135deg, #eaf2f8 0%, #d4e6f1 100%);
    border: 2px solid #85c1e9;
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.dia-dos-pais-section::before {
    content: '\F4B2';
    font-family: 'bootstrap-icons';
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 8rem;
    color: rgba(26, 107, 138, 0.06);
}

.dia-dos-pais-section h3 {
    font-weight: 900;
    color: #0b3d5f;
    margin-bottom: 0.5rem;
}

.dia-dos-pais-section h3 i {
    color: #1a6b8a;
}

.dia-dos-pais-section p {
    color: #2c3e50;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.dia-dos-pais-section .btn-dia-dos-pais {
    font-size: 1rem;
    padding: 10px 30px;
}

@media (max-width: 575px) {
    .dia-dos-pais-banner span {
        font-size: 0.8rem;
    }
    .dia-dos-pais-section {
        padding: 1.5rem;
    }
    .dia-dos-pais-section h3 {
        font-size: 1.2rem;
    }
}
