
/* ================================
   🎨 PALETA DE CORES EXPLÍCITA
   ================================ */
:root {
  /* === CORES PRINCIPAIS === */
  --primary: #FFD700;              /* Dourado principal */
  --secondary: #FFD700;            /* Dourado secundário */
  --success: #28a745;              /* Verde sucesso */
  --danger: #dc3545;               /* Vermelho erro */
  --warning: #ffc107;              /* Amarelo alerta */
  --info: #17a2b8;                 /* Azul informação */
  --light: #fff;                /* Branco gelo */
  --dark: #000000;                 /* Preto absoluto */

  /* === TEXTO === */
  --bs-body-color: #FF00D0;        /* Texto padrão */
  --bs-heading-color: #FF00D0;     /* Títulos */
  --bs-secondary-color:#FF00D0f;   /* Texto secundário (.text-muted, etc.) */
  --bs-link-color: #FFD700;        /* Cor dos links */
  --bs-link-hover-color: #e5c100;  /* Hover dos links */

  /* === BOTÕES === */
  --bs-btn-color: #000000;                 /* Texto dos botões */
  --bs-btn-bg: #FFD700;                    /* Fundo dos botões */
  --bs-btn-border-color: #FFD700;          /* Borda dos botões */
  --bs-btn-hover-color: #000000;           /* Texto no hover */
  --bs-btn-hover-bg: #e5c100;              /* Fundo hover */
  --bs-btn-hover-border-color: #e5c100;    /* Borda hover */
  --bs-btn-active-color: #FFD700;          /* Texto ativo */
  --bs-btn-active-bg: #ffdf33;             /* Fundo ativo */
  --bs-btn-active-border-color: #ffdf33;   /* Borda ativa */

  /* === FUNDO / LAYOUT === */
  --bs-body-bg: #000000;           /* Fundo principal */
  --bs-card-bg: #000000;           /* Fundo dos cards */
  --bs-modal-bg: #000000;          /* Fundo dos modais */
  --bs-offcanvas-bg: #000000;      /* Fundo offcanvas */
  --bs-navbar-bg: #000000;         /* Fundo navbar */
  --bs-footer-bg: #000000;         /* Fundo rodapé */
  --bs-input-bg: #111111;          /* Fundo inputs */

  /* === BORDAS / SOMBRAS === */
  --bs-border-color: #FFD700;              /* Cor padrão de borda */
  --bs-border-color-translucent: rgba(255,215,0,0.3);
  --bs-focus-ring-color: rgba(255,215,0,0.4);
  --bs-box-shadow: 0 10px 30px rgba(0,0,0,0.6);

  /* === PLACEHOLDER / DETALHES === */
  --bs-placeholder-color: #aaaaaa;        /* Placeholder texto */
  --bs-form-control-color: #ffffff;       /* Texto de input */
  --bs-form-control-bg: #111111;          /* Fundo input */
  --bs-form-control-border-color: #FFD700; /* Borda input */
}

/* =====================================================
            A PARTIR DAQUI É O SEU CSS ORIGINAL 
   ===================================================== */

@import url('style.css');


/* style.css - VERSÃO REFINADA, ELEGANTE E SUAVE (2025) - AJUSTE SOMENTE DE CORES (preto, branco, dourado) */

:root {
    --primary: #FFD700;
    --secondary: #FFD700; /* unificado: laranja -> dourado */
    --text: #ffffff;
    --bg: #000000;
    --card-bg: #000000; /* era #111111 */
    --border-gold: rgba(255, 215, 0, 0.2);
    --shadow: 0 10px 30px rgba(0,0,0,0.5);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Suave e natural */
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg) !important;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 56px;
}
/* NAVBAR */
.navbar {
    background: transparent !important;
    transition: var(--transition-smooth);
    padding: 0.5rem 0;
}
.navbar-brand .small-logo {
    height: 30px;
    max-width: 120px;
    object-fit: contain;
    border-radius: 8px;
    transition: var(--transition-smooth);
}
.navbar-brand .small-logo:hover { transform: scale(1.05); }
.nav-link {
    color: var(--text) !important;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-smooth);
    position: relative;
    margin: 0 0.5rem;
}
.nav-link:hover, .nav-link.active { color: var(--primary) !important; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-smooth);
}
.nav-link:hover::after { width: 100%; }
/* SEARCH BAR */
.navbar .search-form {
    position: relative;
    max-width: 300px;
    margin-left: auto;
    margin-right: 1rem;
}
.navbar .search-input {
    background: var(--card-bg);
    border: 1px solid var(--border-gold);
    color: var(--text);
    border-radius: 25px;
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    width: 100%;
}
.navbar .search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255,215,0,0.2);
}
.navbar .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    fill: var(--text);
    opacity: 0.7;
    transition: var(--transition-smooth);
}
.navbar .search-input:focus + .search-icon {
    opacity: 1;
    fill: var(--primary);
}
/* AUTOCOMPLETE DROPDOWN */
.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-gold);
    border-radius: 0 0 25px 25px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1050;
    display: none;
    box-shadow: var(--shadow);
}
.autocomplete-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid var(--border-gold);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
}
.autocomplete-item:hover {
    background: rgba(255,215,0,0.1);
    color: var(--primary);
}
.autocomplete-item:last-child { border-bottom: none; }
.autocomplete-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 0.75rem;
}
.autocomplete-item-info { flex: 1; }
.autocomplete-item-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text);
}
.autocomplete-item-price {
    color: var(--secondary);
    font-size: 0.85rem;
}
/* CARROSSEL */
.carousel {
    height: 80vh;
    width: 100vw;
    position: relative;
    top: 0;
    left: 0;
    z-index: 0;
    background: var(--bg);
}
.carousel-inner, .carousel-item {
    height: 100%;
    background: var(--bg);
}
.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
    transition: var(--transition-smooth);
}
.carousel-item:hover img { filter: brightness(1); }
.carousel-control-prev, .carousel-control-next {
    width: 5%;
    filter: invert(1);
}
.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    transition: var(--transition-smooth);
}
.carousel-indicators .active {
    background: var(--primary);
    transform: scale(1.2);
}
/* SEÇÃO DE PRODUTOS (REFINADA: MAIS BONITA E SUAVE) */
.products-section {
    padding: 4rem 0;
    background: var(--bg);
}
.section-title {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(255,215,0,0.3);
}
.product-card-wrapper {
    transition: var(--transition-smooth);
}
.product-card {
    background: linear-gradient(145deg, var(--card-bg), rgba(255,215,0,0.02)); /* Gradiente sutil para elegância */
    border: 1px solid var(--border-gold);
    border-radius: 20px; /* Mais arredondado */
    overflow: hidden;
    height: 100%;
    transition: var(--transition-smooth);
    padding: 1rem; /* Espaçamento interno suave */
}
.product-card:hover {
    transform: translateY(-8px) scale(1.02); /* Elevação + leve zoom suave */
    box-shadow: 0 20px 40px rgba(255,215,0,0.15); /* Sombra dourada suave */
    border-color: var(--primary);
    background: linear-gradient(145deg, var(--card-bg), rgba(255,215,0,0.05)); /* Brilho no hover */
}
.product-image {
    position: relative;
    height: 220px; /* Altura maior para melhor visual */
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 1rem;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}
.product-card:hover .product-image img {
    transform: scale(1.08); /* Zoom mais sutil e suave */
    filter: brightness(1.05); /* Leve brilho */
}
.category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #000;
    padding: 0.4rem 0.8rem;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(255,215,0,0.3); /* Sombra para profundidade */
    transition: var(--transition-smooth);
}
.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6); /* Mais opaco para elegância */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}
.product-card:hover .product-overlay {
    opacity: 1;
    backdrop-filter: blur(5px); /* Blur suave para modernidade */
}
.card-body {
    padding: 0; /* Sem padding extra, já no card */
}
.card-title {
    color: #FFD700;
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}
.card-text {
    color: #fff;
    font-size: 0.92rem;
    margin-bottom: 1.25rem;
    line-height: 1.5; /* Mais legível */
}
/* MODAL DE DETALHES DO PRODUTO (NOVO: Fundo escuro, galeria suave) */
.modal-content {
    background: var(--card-bg) !important;
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    color: var(--text);
}
.modal-header {
    border-bottom: 1px solid var(--border-gold);
    color: var(--text);
}
.modal-title {
    color: var(--primary);
    font-weight: 600;
}
.modal-body {
    background: var(--card-bg) !important;
    color: var(--text);
    max-height: 80vh; /* Aumentado para caber o carousel maior + conteúdo */
    overflow-y: auto; /* Permite scroll no conteúdo */
    padding: 1.5rem; /* Padding maior para melhor espaçamento */
}
.modal-body .carousel {
    height: 500px; /* Ajustado para ~500px de altura - ideal para visualização detalhada das imagens (quase quadrado em modal de ~500-600px largura) */
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1rem; /* Espaço abaixo do carousel para o conteúdo */
    width: 100%; /* Garante largura total para proporção ~500x500 */
}
.modal-body .carousel img {
    height: 100%;
    width: 100%; /* Preenchimento total para manter ~500x500 */
    object-fit: cover; /* Mantém proporção sem distorcer - corta bordas se necessário */
    border-radius: 15px;
}
.modal-body .product-price {
    color: var(--secondary);
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center; /* Centraliza preço para melhor visual */
    margin: 1rem 0;
}
.modal-body .product-desc {
    text-align: justify;
    line-height: 1.7;
    margin: 1rem 0;
}
.modal-body .add-to-cart-modal {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #000;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: bold;
    width: 100%;
    transition: var(--transition-smooth);
    display: block; /* Garante visibilidade do botão */
    margin-top: 1rem; /* Espaço acima do botão */
}
.modal-body .add-to-cart-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255,215,0,0.3);
}
/* CARRINHO OFFCANVAS (FIX: FUNDO PRETO CONSISTENTE) */
.offcanvas {
    background: var(--card-bg) !important; /* Garantia explícita para offcanvas */
    border-left: 1px solid var(--border-gold);
}
.offcanvas-body {
    background: var(--card-bg) !important; /* Fundo preto para o corpo inteiro */
    color: #fff; /* Texto branco para legibilidade */
}
.cart-item {
    border-bottom: 1px solid var(--border-gold);
    padding: 1rem 0;
    background: var(--card-bg) !important; /* Fundo preto para cada item de produto */
    border-radius: 8px; /* Bordas arredondadas sutis */
    margin-bottom: 0.5rem; /* Espaçamento entre itens */
    transition: var(--transition-smooth);
}
.cart-item:hover {
    background: rgba(255, 215, 0, 0.05) !important; /* Hover dourado sutil, mas escuro */
}
.cart-quantity {
    width: 60px;
    background: rgba(255,255,255,0.08);
    color: var(--text);
    border: 1px solid var(--border-gold);
    text-align: center;
    border-radius: 8px;
    transition: var(--transition-smooth);
}
.cart-quantity:focus { border-color: var(--primary); }
.btn-qty {
    background: var(--secondary);
    color: #000;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 1rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    margin: 0 0.5rem;
}
.btn-qty:hover {
    background: var(--primary);
    transform: scale(1.1);
}
.btn-remove-item {
    background: #000; /* era #dc3545 */
    color: #fff;
    border-radius: 25px;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    border: 1px solid var(--border-gold);
}
.btn-remove-item:hover { transform: scale(1.1); background: var(--primary); color: #000; }
.cart-total {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary);
    text-align: center;
    margin: 1rem 0;
    background: var(--card-bg) !important; /* Garantia para o total */
}
.btn-finalize {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #000;
    border: none;
    padding: 0.75rem;
    border-radius: 25px;
    width: 100%;
    font-weight: bold;
    margin-bottom: 0.5rem;
    transition: var(--transition-smooth);
}
.btn-finalize:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-clear-cart {
    background: #000; /* era #6c757d */
    color: #fff;
    border: 1px solid var(--border-gold);
    padding: 0.75rem;
    border-radius: 25px;
    width: 100%;
    transition: var(--transition-smooth);
}
.btn-clear-cart:hover { background: var(--primary); color: #000; }
/* FLASH MESSAGE DE SUCESSO (cores ajustadas para dourado/branco) */
.flash-success {
    background: linear-gradient(135deg, rgba(255,215,0,0.2), rgba(255,215,0,0.2));
    border: 1px solid rgba(255,215,0,0.3);
    color: #ffffff;
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0;
    text-align: center;
    animation: fadeIn 0.5s ease-in;
}
/* ANIMAÇÕES */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes highlight {
    0% { background: rgba(255, 215, 0, 0.1); transform: scale(1); }
    50% { background: rgba(255, 215, 0, 0.3); transform: scale(1.02); }
    100% { background: transparent; transform: scale(1); }
}
.product-card-wrapper.highlight {
    animation: highlight 2s ease-in-out;
    border: 2px solid var(--primary) !important;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}
.cart-icon {
    margin-right: 0.5rem;
    vertical-align: middle;
    transition: fill var(--transition-smooth);
}
.nav-link:hover .cart-icon { fill: var(--primary); }
/* RESPONSIVO */
@media (max-width: 991.98px) {
    .navbar {
        background: #000000 !important;
        backdrop-filter: none !important;
    }
   
    .navbar-collapse {
        background: #000000 !important;
        padding: 1rem;
        border-radius: 0 0 10px 10px;
        margin-top: 0.5rem;
        box-shadow: var(--shadow);
    }
   
    .navbar-nav .nav-link {
        color: var(--text) !important;
        padding: 0.75rem 1rem !important;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--border-gold);
        margin: 0.25rem 0;
    }
   
    .navbar-nav .nav-link:hover {
        background: rgba(255, 215, 0, 0.15);
        color: var(--primary) !important;
        border-radius: 5px;
    }
   
    .search-icon { width: 12px !important; height: 12px !important; }
    .cart-icon { width: 18px; height: 18px; }
    .search-form { margin-top: 1rem; max-width: 100%; }
    .search-input { border-radius: 20px; padding: 0.75rem; font-size: 0.9rem; }
}
@media (max-width: 768px) {
    .carousel { height: 200px; }
    .carousel-inner, .carousel-item { height: 200px; }
    .section-title { font-size: 1.8rem; }
    .small-logo { height: 25px; max-width: 100px; }
    .products-section { padding: 2rem 0; }
    .product-card:hover { transform: translateY(-4px) scale(1.01); } /* Hover mais leve no mobile */
    body { padding-top: 50px; }
    .product-card { max-width: 100%; }
    .product-image { height: 180px; } /* Ajuste para mobile */
   
    .modal-body .carousel { 
        height: 350px; /* Ajustado para mobile */
    }
    .modal-body { 
        padding: 1rem; /* Padding reduzido no mobile */
        max-height: 70vh; /* Ajuste para telas menores */
    }
}
/* FOOTER - ELEGÂNCIA E SUAVIDADE (2025) */
.footer {
    background: linear-gradient(135deg, var(--bg), var(--card-bg));
    color: var(--text);
    padding: 3rem 0 2rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border-gold);
    position: relative;
    overflow: hidden;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.5;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}
.footer-logo {
    max-width: 150px;
    height: auto;
    filter: brightness(1.2) drop-shadow(0 4px 8px rgba(255,215,0,0.3));
    transition: var(--transition-smooth);
    margin-bottom: 1rem;
}
.footer-logo:hover {
    transform: scale(1.05) rotate(2deg);
    filter: brightness(1.5);
}
.footer-section h4 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-shadow: 0 1px 4px rgba(255,215,0,0.3);
}
.footer-section p {
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}
.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}
.social-icon {
    width: 32px;
    height: 32px;
    fill: var(--text);
    opacity: 0.7;
    transition: var(--transition-smooth);
    border-radius: 50%;
    background: var(--card-bg);
    padding: 0.5rem;
}
.social-icon:hover {
    fill: var(--primary);
    opacity: 1;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(255,215,0,0.3);
}
.contact-info a {
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}
.contact-info a:hover {
    color: var(--primary);
    text-shadow: 0 0 8px rgba(255,215,0,0.5);
}
.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-gold);
    opacity: 0.6;
    font-size: 0.9rem;
}
/* RESPONSIVO PARA FOOTER */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .social-links {
        gap: 0.8rem;
    }
    .social-icon {
        width: 28px;
        height: 28px;
        padding: 0.4rem;
    }
}
/* === Floating cart button (added) === */
.floating-cart{
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 56px; height: 56px;
  background: rgba(0,0,0,0.85);
  color: #fff;
  border: 1px solid rgba(255,215,0,0.5);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
  z-index: 10000;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.floating-cart:hover{ transform: translateY(-2px) scale(1.03); box-shadow: 0 8px 22px rgba(0,0,0,0.35); }
.floating-cart .badge{ position: absolute; top: -6px; right: -6px; }
/* === Fly-to-Cart image (added) === */
.flying-image{
  position: fixed;
  z-index: 10001;
  border-radius: 10px;
  pointer-events: none;
  transition: transform .8s ease-in-out, opacity .8s ease-in-out;
  transform: translate(0,0) scale(1);
  opacity: 1;
}
/* === Pulse for floating badge (added) === */
@keyframes cartPulse{ 0%{transform:scale(1)} 50%{transform:scale(1.25)} 100%{transform:scale(1)} }
#floatingCartBadge.pulse{ animation: cartPulse .3s ease-in-out; }
/* ==== OVERRIDES DE BOOTSTRAP (sem mudar a estrutura do seu CSS) ====
   Isso permite alterar cores no seu arquivo normal sem depender do SCSS do Bootstrap.
--------------------------------------------------------------------- */
:root{
  --bs-body-color: #ffffff;
  --bs-secondary-color: #ffffff;
  --bs-secondary-color-rgb: 255,255,255;
  --bs-card-title-color: #ffffff;
}
.text-muted,
.text-body-secondary,
.text-secondary,
.link-secondary,
.nav-link.disabled,
.form-text{
  --bs-text-opacity: 1;
  color: #ffffff !important;
  opacity: 1 !important;
}
.card-title{ color:#ffffff !important; }

/* === OVERRIDE DEFINITIVO DO BOOTSTRAP PARA TEXTO === */
:root {
  --bs-secondary-color: #ffffff !important; /* força branco global */
  --bs-secondary-color-rgb: 255,255,255 !important;
}

.text-muted,
.text-body-secondary,
.text-secondary,
.link-secondary,
.nav-link.disabled,
.form-text {
  color: #ffffff !important;
  opacity: 1 !important;
  --bs-text-opacity: 1 !important;