#ns-opc-wrapper section {
  border: 1px solid #ccc;
  padding: 1.5rem;
  margin-bottom: 1rem;
  background: #f9f9f9;
  border-radius: 8px;
}

#ns-opc-wrapper h2 {
  margin-top: 0;
  font-size: 1.4rem;
  color: #333;
}

/* Geral */
#ns-onepage-checkout section {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
}

/* Títulos */
#ns-onepage-checkout h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #333;
}

/* Formulários */
#ns-onepage-checkout .form-group label {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

#ns-onepage-checkout input[type="text"],
#ns-onepage-checkout input[type="email"],
#ns-onepage-checkout input[type="password"],
#ns-onepage-checkout select {
  border-radius: 6px;
}

/* Botões */
#ns-onepage-checkout .btn {
  min-width: 130px;
}

/* Moradas */
.address-block {
  border: 1px solid #dee2e6;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  background-color: #f9f9f9;
}
.address-block label {
  display: block;
  cursor: pointer;
}

/* Transportadoras */
#shipping-section label, #payment-section label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  background-color: #f8f9fa;
}

/* Pagamento */
.payment-options-list .payment-option {
  cursor: pointer;
  transition: border-color 0.3s;
}
.payment-options-list .payment-option:hover {
  border-color: #007bff;
}
.payment-option input[type="radio"] {
  margin-right: 0.5rem;
}

/* Carrinho */
#cart-section .card {
  border: 1px solid #ddd;
  border-radius: 8px;
}

/* Condições */
#conditions-section {
  background-color: #fff3cd;
  border: 1px solid #ffeeba;
  padding: 1rem;
  border-radius: 8px;
}

/* Responsivo */
@media (max-width: 768px) {
  #ns-onepage-checkout {
    padding: 0.5rem;
  }
  #ns-onepage-checkout section {
    padding: 1rem;
  }
}

#checkout-loader {
  display: none;
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: rgba(255,255,255,0.6);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

#checkout-loader::before {
  content: "";
  width: 3rem;
  height: 3rem;
  border: 4px solid #007bff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

