#masthead {
  a.nav-top-link:hover {
    color: #db1b29 !important;
  }
}

#wide-nav {
  background-image: linear-gradient(to right, #ed0501, #990303);

  * {
    color: #000;
  }

  .icon-box-left .icon-box-img + .icon-box-text {
    padding-left: 5px;
  }

  .icon-inner {
    display: flex;
  }
}

.accordion {
  .accordion-title {
    text-transform: uppercase;
    border: unset !important;

    &.active {
      color: var(--fs-color-alert);
    }
  }

  .accordion-item {
    border: solid 1px var(--fs-color-alert);
    border-radius: 15px;
    margin-bottom: 15px;

    &:last-child {
      margin-bottom: 0;
    }
  }
}

.w-90 {
  max-width: 90% !important;
  margin: auto;
}

.button.primary,
#place_order {
  background-image: linear-gradient(to right, #ed0501, #990303);
  color: #fff;
  border: solid 2px #990303;
}

/* =========================================
   Estilos do Dialog (Modal)
========================================= */
dialog#comprar {
  border: none;
  border-radius: 10px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  padding: 30px;
  max-width: 700px;
  width: 90%;
  background: #ffffff;
}

/* Backdrop com Blur */
dialog#comprar::backdrop {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px); /* Suporte para Safari */
}

/* Cabeçalho do Modal */
.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f0f0f0;
}

.dialog-header h3 {
  font-size: 1.4rem;
  color: #333;
  font-weight: 600;
}

/* Botão de Fechar no padrão da imagem (Redondo) */
#fechar-comprar {
  background: transparent;
  border: 1px solid #dcdcdc;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  color: #888;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

#fechar-comprar:hover {
  border-color: #999;
  color: #333;
  background-color: #f9f9f9;
}

/* =========================================
   Grid e Cards
========================================= */
.variations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.variation-card {
  border: 1px solid #eaeaea;
  border-radius: 10px;
  padding: 25px 20px;
  text-align: center;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;

  /* Flexbox para empurrar o form sempre pro final do card */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.variation-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  border-color: #dcdcdc;
}

/* Imagem do Card (Escudo) */
.variation-card img {
  max-width: 80px;
  height: auto;
  margin: 0 auto 15px auto;
  display: block;
}

/* Título e Descrição */
.variation-card h4 {
  margin: 0 0 10px 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
}

.variation-card .description {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 20px;
  line-height: 1.4;
}

/* Preço */
.variation-card .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 25px;
}

/* =========================================
   Formulário (Input e Botão Lado a Lado)
========================================= */
.add-to-cart-container {
  display: flex;
  gap: 10px; /* Espaço entre o input e o botão */
  width: 100%;
  align-items: stretch; /* Faz o botão e o input terem a mesma altura */
}

/* Input de Quantidade */
.add-to-cart-container input[type="number"] {
  width: 70px;
  border: 1px solid #dcdcdc;
  border-radius: 8px; /* Combinando com o estilo do botão */
  padding: 10px;
  text-align: center;
  font-size: 1rem;
  color: #333;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.add-to-cart-container input[type="number"]:focus {
  border-color: #b50000;
}

/* Botão Comprar (Baseado no vermelho da imagem) */
.add-to-cart-container button {
  flex: 1; /* Faz o botão ocupar todo o espaço restante ao lado do input */
  background-color: #b30000; /* Vermelho padrão da imagem */
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-transform: uppercase;
  transition:
    background-color 0.2s ease,
    transform 0.1s ease;
  box-sizing: border-box;
}

.add-to-cart-container button:hover {
  background-color: #900000;
}

.add-to-cart-container button:active {
  transform: scale(0.98);
}

p#billing_country_field {
  display: none;
}

p#billing_address_1_field {
  width: 100%;
}

#billing_address_2_field > label,
#shipping_address_2_field > label {
  opacity: 1 !important;
  width: auto !important;
}

p#billing_address_2_field {
  width: 100%;
}

@media print {
  html *,
  html {
    background-color: white !important;
  }

  #print-area .show-on-print {
    display: block !important;
  }

  #print-area .show-on-print img {
    max-width: 150px;
    height: auto;
  }

  #print-area .hide-on-print,
  #footer,
  #header,
  .my-account-header,
  .my-account .large-3.col.col-border {
    display: none !important;
  }

  #print-area p {
    font-size: 80%;
  }
}

.woocommerce-billing-fields {
  border: unset !important;
  padding: 0;
}

.voucher-wrapper {
	ul {
	  margin-left: 20px;
	}

	ul li {
	  margin-bottom: 5px;
	}
}
