/* === PERSONALIZZAZIONE GLOBALE PULSANTI ASSOBAY === */

/* Tutti i pulsanti primari in tutto PrestaShop */
.btn-primary,
button.btn-primary,
input[type="submit"].btn-primary,
.btn.btn-primary,
.button.btn-primary,
a.btn-primary {
    background-color: #ffcc00 !important;
    border-color: #ffcc00 !important;
    color: #1d4665 !important;
    border-radius: 8px !important; /* Arrotondamento leggero */
}

/* Stati hover, focus e active per tutti i pulsanti primari */
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
button.btn-primary:hover,
button.btn-primary:focus,
button.btn-primary:active,
input[type="submit"].btn-primary:hover,
input[type="submit"].btn-primary:focus,
input[type="submit"].btn-primary:active,
.btn.btn-primary:hover,
.btn.btn-primary:focus,
.btn.btn-primary:active,
a.btn-primary:hover,
a.btn-primary:focus,
a.btn-primary:active {
    background-color: #0b7548 !important;  /* il tuo verde scuro */
    border-color:    #0b7548 !important;
    color:           #ffffff  !important;  /* testo bianco */
}

/* Pulsanti di invio form generici */
button[type="submit"],
input[type="submit"],
.btn[type="submit"] {
    background-color: #ffcc00 !important;
    border-color: #ffcc00 !important;
    color: #1d4665 !important;
    border-radius: 8px !important; /* Arrotondamento leggero */
}

button[type="submit"]:hover,
input[type="submit"]:hover,
.btn[type="submit"]:hover {
    background-color: #095a39 !important;
    border-color: #095a39 !important;
}

/* Link primari e testo primario */
.text-primary,
a.text-primary,
.link-primary {
    color: #ffcc00 !important;
}

.text-primary:hover,
a.text-primary:hover,
.link-primary:hover {
    color: #095a39 !important;
}

/* Badge e alert primari */
.badge-primary,
.alert-primary {
    background-color: #ffcc00 !important;
    border-color: #ffcc00 !important;
}

/* Elementi con classe primary generica */
.primary,
.bg-primary {
    background-color: #ffcc00 !important;
}

/* Border primary */
.border-primary {
    border-color: #ffcc00 !important;
}

/* Pulsanti specifici di PrestaShop Admin */
.btn.btn-primary.btn-sm,
.btn.btn-primary.btn-lg,
.material-icons.btn-primary {
    background-color: #ffcc00 !important;
    border-color: #ffcc00 !important;
    border-radius: 8px !important; /* Arrotondamento leggero */
}

/* Arrotondamento per tutti i pulsanti generici */
.btn,
button,
input[type="submit"],
input[type="button"],
.button {
    border-radius: 8px !important; /* Arrotondamento leggero per tutti i pulsanti */
}

/* Checkbox e radio button quando selezionati (se usano primary) */
.form-check-input:checked {
    background-color: #ffcc00 !important;
    border-color: #ffcc00 !important;
}

/* Progress bar primary */
.progress-bar,
.progress-bar-primary {
    background-color: #ffcc00 !important;
}

/* Dropdown toggle primary */
.dropdown-toggle.btn-primary {
    background-color: #ffcc00 !important;
    border-color: #ffcc00 !important;
}

.dropdown-toggle.btn-primary:hover {
    background-color: #095a39 !important;
    border-color: #095a39 !important;
}

/* Formattazione prezzi con colore personalizzato */
/* Dimensioni maggiori per i prezzi */
.product-price, .current-price, .price, .price-value, .product-price-and-shipping .price, .currency-value, .product-detail .current-price, .cart-summary-line .value, #cart-subtotal-products .value, #cart-subtotal-shipping .value, #cart-total .value, .js-subtotal .price, .product-total .value, .product-line-price, .cart-summary-products .price, .cart-detailed-totals .value, .checkout-summary-item-value, .current-price-value {
  font-size: 1.5rem !important;
  color: #1d4665 !important;
}

/* Dimensioni specifiche per la parte intera */
.price-integer {
  font-size: 2.5rem !important;
  color: #1d4665 !important;
}

.price-decimal {
  font-size: 1.125rem !important;
  color: #1d4665 !important;
}

.price-currency {
  font-size: 0.875rem !important;
  color: #1d4665 !important;
}

.price-comma {
  font-size: 2.5rem !important; /* Stessa dimensione dell'intero */
  color: #1d4665 !important;
}

/* Dimensione specifica per la pagina prodotto (più grande) */
.product-prices .product-price .price-integer {
  font-size: 2.5rem !important; /* Mantieni la dimensione che vuoi */
}

.product-prices .product-price .price-decimal {
  font-size: 1.3125rem !important; /* 75% di 1.75rem = 1.3125rem */
}

/* Dimensioni specifiche per i prezzi in miniature prodotto (più piccole) */
.product-miniature .product-price-and-shipping .price-integer {
  font-size: 2.5rem !important; /* Mantieni la dimensione standard */
}

.product-miniature .product-price-and-shipping .price-decimal {
  font-size: 1.125rem !important; /* 75% di 1.5rem */
}

.product-miniature .product-price-and-shipping .price-currency {
  font-size: 0.875rem !important;
}

.product-miniature .product-price-and-shipping .price-comma {
  font-size: 2.5rem !important; /* Stessa dimensione dell'intero */
}

.product-price-and-shipping .price-formatted[data-decimals-formatted="true"] {
  line-height: 1 !important;
  padding: 0 !important;
  margin: 0 !important;
  vertical-align: baseline !important;
}

.modal-header {
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
    background: #fff;
    position: relative;
}

.modal-header .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 21px;
    font-weight: bold;
    line-height: 1;
    color: #000;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.5;
}

.modal-header .close:hover {
    opacity: 0.75;
}

.modal-header .close span {
    font-size: 24px;
}

html body .header-top,
html body #search_widget,
html body .header-nav .header-top,
html body div.header-top,
html body section.header-top,
html body [class*="header-top"],
html body [id*="search_widget"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Nasconde anche eventuali container padre dell'header-top */
.header-nav .container .row:has(.header-top),
.header-container:has(.header-top) {
    display: none !important;
}