/* ==========================================================================
   BOTÕES PRINCIPAIS (OURO VELHO / CHAMPAGNE MATE SEMI-TRANSPARENTE)
   ========================================================================== */
.btn-primary {
  background: rgba(186, 162, 129, 0.90) !important;
  border-color: rgba(186, 162, 129, 0.95) !important;
  color: white !important;
}

.btn-primary:hover {
  background: rgba(150, 129, 100, 0.95) !important;
  border-color: rgba(150, 129, 100, 1) !important;
}

/* ==========================================================================
   CHECKBOXES E INPUTS SELECIONADOS (REMOVE O AZUL BOOTSTRAP 5 NATIVO)
   ========================================================================== */
input, select, textarea {
  accent-color: #baa281 !important;
}

body .form-check-input:checked {
  background-color: rgba(186, 162, 129, 0.50) !important; 
  border-color: rgba(186, 162, 129, 0.80) !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://w3.org' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e") !important;
}

body .form-check-input:focus {
  border-color: #baa281 !important;
  box-shadow: 0 0 0 0.25rem rgba(186, 162, 129, 0.25) !important;
}

/* ==========================================================================
   ETIQUETAS / FLAGS DE PRODUTO (PÁGINAS DE LISTAGEM E MATRIZ)
   ========================================================================== */

/* 1. Reset Global das Flags com fundo (Força o Glassmorphism com opacidade de 50%) */
body .product-flags .product-flag,
body .product-flags .badge,
body [class*="product-flag--"],
body .product-flags [class*="bg-"],
body .product-flags [class*="text-bg-"] {
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  border: 0 !important; 
  box-shadow: none !important;
  --bs-bg-opacity: 0.50 !important; 
}

/* 2. ETIQUETAS DE PROMOÇÃO / SALDOS / BADGES COM FUNDO */
body .product-flags .product-flag.on-sale,
body .product-flags .product-flag--on-sale,
body .product-flags .discount-product,
body .product-flags .bg-warning,
body .product-flags .text-bg-warning,
body .product-flags .on-sale {
  background-color: rgba(186, 162, 129, 0.50) !important;
  background: rgba(186, 162, 129, 0.50) !important; 
  color: #ffffff !important;
  --bs-badge-color: #ffffff !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4) !important;
}

/* 3. ETIQUETA DE NOVIDADE */
body .product-flags .product-flag.new,
body .product-flags .product-flag--new,
body .product-flags .bg-success,
body .product-flags .text-bg-success,
body .product-flags .bg-info,
body .product-flags .text-bg-info,
body .product-flags .new {
  background-color: rgba(186, 162, 129, 0.50) !important;
  background: rgba(186, 162, 129, 0.50) !important;
  color: #ffffff !important;
  --bs-badge-color: #ffffff !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4) !important;
}

/* 4. ETIQUETA DE ESGOTADO */
body .product-flags .product-flag.out-of-stock,
body .product-flags .product-flag--out-of-stock,
body .product-flags .bg-secondary,
body .product-flags .text-bg-secondary,
body .product-flags .bg-danger,
body .product-flags .text-bg-danger,
body .product-flags .out-of-stock {
  background-color: rgba(75, 75, 75, 0.50) !important;
  background: rgba(75, 75, 75, 0.50) !important;
  color: #ffffff !important;
  --bs-badge-color: #ffffff !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4) !important;
}

/* ==========================================================================
   TEXTO GLOBAL E LINKS DO CORPO DO SITE
   ========================================================================== */
body,
h1, h2, h3, h4, h5, h6,
a {
  color: #443f3a !important;
}

/* ==========================================================================
   REMOVE AZUL RESTANTE DO BOOTSTRAP / HUMMINGBIRD
   ========================================================================== */
:root {
  --bs-primary: #baa281 !important;
  --bs-primary-rgb: 186, 162, 129 !important;
  --bs-link-color: #baa281 !important;
  --bs-link-hover-color: #968164 !important;
}

.bg-primary,
.text-bg-primary,
.text-primary,
.link-primary {
  background-color: #baa281 !important;
  color: #ffffff !important;
}

body .badge {
  background-color: rgba(203, 180, 148, 0.50) !important; 
  color: #fff !important;
  border: none !important;
}

.product-miniature .see-details a {
  color: #968164 !important;
}

/* ==========================================================================
   BOTÕES OUTLINE
   ========================================================================= */
.btn.btn-outline-primary,
.btn-outline-primary {
  color: #baa281 !important;
  border-color: #baa281 !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:active,
.btn-outline-primary:focus {
  background-color: rgba(150, 129, 100, 0.90) !important;
  border-color: rgba(150, 129, 100, 1) !important;
  color: #ffffff !important;
}

/* ==========================================================================
   FORMULÁRIOS
   ========================================================================== */
input:focus,
select:focus,
textarea:focus {
  border-color: #baa281 !important;
  box-shadow: 0 0 0 0.25rem rgba(186, 162, 129, 0.25) !important;
}

/* ==========================================================================
   RODAPÉ PROTEGIDO (ALTO CONTRASTE SOBRE O FUNDO PRETO)
   ========================================================================== */
#footer h3,
#footer .block-footer-title,
.footer h3,
.footer .footer-title,
.footer .block-categories h3 {
  color: #ffffff !important;
}

#footer a,
.footer a,
.footer .footer-links a,
.footer .account-list a,
.footer .category-list a,
.footer-container a {
  color: #e2ded8 !important;
}

#footer a:hover,
.footer a:hover,
.footer .footer-links a:hover,
.footer-container a:hover {
  color: #baa281 !important;
}

#footer p,
#footer li,
.footer p,
.footer li,
.footer .contact-form,
.footer .block-contact {
  color: #c7c2bc !important;
}

/* ==========================================================================
   CAIXA DE TEXTO SOBRE O SLIDER (ULTRA TRANSPARENTE - 15%)
   ========================================================================== */
body .carousel-caption,
body .carousel-box,
body .image-caption,
body .caption-content,
body .swiper-caption {
  background-color: rgba(255, 255, 255, 0.15) !important; /* Fundo reduzido para 15% */
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(6px) !important; /* Leve desfoque para manter o contraste das letras */
  -webkit-backdrop-filter: blur(6px) !important;
  border: none !important; 
  box-shadow: none !important; 
}

/* Caso a caixa nativa utilize fundo escuro em vez de claro */
body .carousel-caption.bg-dark,
body .carousel-box.bg-dark {
  background: rgba(0, 0, 0, 0.15) !important;
}


/* Altera o fundo do bloco de confiança apenas na página inicial da sua loja */
#index .blockreassurance.blockreassurance--dark {
    background-color: #555555  !important; /* Cor vermelha para o teste rápido */
    background: #555555  !important;
}
