/*
  Theme Name: Ink Garage Supply Theme Pro Child
  Theme URI: https://www.inkgaragesupply.com/
  Version: 1.0.0
  Template: Divi
  Author: Giandomenico Ciabattoni (Opus Multi)
  Author URI: https://www.graphic-designer.it/
  Description: Template realizzato su misura per InkGarageSupply
  Text Domain: ink-garage-supply-theme-pro-child
  License: GNU General Public License v2 or later
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/




/* PULSANTE CARRELLO */
.custom-add-to-cart-button-wrapper {
    text-align: center;
    margin-top: 12px;
}

/* Wrapper pulsante */
.custom-add-to-cart-button-wrapper {
    text-align: center;
    margin-top: 12px;
}

/* Pulsante Acquista Ora */
.custom-buy-now-button {
	display: inline-flex;
    justify-content: center;
    width: 100%;
    text-align: center;
	margin-top: 20px; /* distanza dal testo sopra */
    background-color: #016065;
    color: #fff !important;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    transition: background-color 0.3s ease;
    box-shadow: none;
    text-decoration: none;
}

/* Hover: solo cambio colore */
.custom-buy-now-button:hover {
    background-color: #01464a;
}

/* Rimuove qualsiasi icona predefinita */
.custom-buy-now-button::after,
.custom-buy-now-button::before {
    content: none !important;
    display: none !important;
}

/* Nasconde "Vedi il Carrello" di WooCommerce */
.woocommerce a.added_to_cart {
    display: none !important;
}

/* TOLGO FRECCE SU VARIABILE */
/* Rimuove la freccetta Divi nei prodotti variabili */
.et_pb_wc_add_to_cart form.cart .variations td.value span:after {
    content: none !important;
    display: none !important;
    background: none !important;
    border: none !important;
}



/* Stile PAGINAZIONE prodotti WOOCOMMERCE */
.woocommerce-pagination {
  text-align: center;
  margin: 40px 0;  /* spazio sopra e sotto */
}

/* Stile link paginazione (non attivo) */
.woocommerce-pagination a {
  display: inline-block;
  margin: 0px 5px !important;
  padding: 8px 14px;
  background-color: #016065;
  color: #fff !important;
  border: 0px solid #016065;
  border-radius: 2px;
  text-decoration: none;
  font-size: 16px;
  transition: background-color 0.3s, color 0.3s;
}

/* Hover link paginazione */
.woocommerce-pagination a:hover {
  background-color: #016065;
  color: #ffffff;
}

/* Stile pagina attiva */
.woocommerce-pagination .current {
  display: inline-block;
  margin: 0 5px;
  padding: 8px 14px;
  background-color: #016065;
  color: #ffffff;
  border: 0px solid #016065;
  border-radius: 5px;
  font-size: 16px;
font-weight: 900 !important;
}

/* Stile elementi disabilitati (prev/next) */
.woocommerce-pagination .disabled {
  display: inline-block;
  margin: 0 5px;
  padding: 8px 14px;
  background-color: #f8f8f8;
  color: #999999;
  border: 0px solid #dddddd;
  border-radius: 2px;
  cursor: default;
}
.woocommerce nav.woocommerce-pagination ul {
  border: 0px solid #fff;}

.woocommerce nav.woocommerce-pagination ul li {
  border-right: 0px solid #fff;}

/* Sistemo il PREZZO SCONTATO scontato */
.woocommerce ul.products li.product .price del, .woocommerce-page ul.products li.product .price del {
    color: #d20c0c !important;
    font-size: 29px;
  margin: 0 !important;}

/* --- Hover su etichette filtro HUSKY --- */
.woof_list_label .woof_label_term:hover {
    background-color: #016065 !important;
    color: #ffffff !important;
    transition: all 0.3s ease;
}

/* (Opzionale) Mantiene testo bianco anche se l'etichetta è attiva/selezionata */
.woof_list_label .woof_label_term.checked {
    background-color: #016065 !important;
    color: #ffffff !important;
}

/* --- Pulsante filtro HUSKY nel modulo testo con classe .filtro-husky --- */
.filtro-husky .woof_submit_search_form_container input[type="submit"],
.filtro-husky .woof_submit_search_form_container button {
    background-color: #016065 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 8px 20px !important;
    font-size: 12px !important;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    font-family: inherit !important; /* evita che usi ETmodules (sorgente della freccia) */
}

/* Hover */
.filtro-husky .woof_submit_search_form_container input[type="submit"]:hover,
.filtro-husky .woof_submit_search_form_container button:hover {
    background-color: #024b4f !important;
}

/* --- Disattiva completamente le pseudo-icone di Divi --- */
.filtro-husky .woof_submit_search_form_container input[type="submit"]:after,
.filtro-husky .woof_submit_search_form_container button:after,
.filtro-husky .woof_submit_search_form_container input[type="submit"]:before,
.filtro-husky .woof_submit_search_form_container button:before,
.filtro-husky .et_pb_button:after,
.filtro-husky .et_pb_button:hover:after {
    content: "" !important;
    display: none !important;
    font-family: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}



/* Titolo dei post SIDEBAR in POST */
.sidebar-articoli .wp-block-latest-posts__post-title {
    color: #0073aa !important;
font-weight: 700;
text-transform: Uppercase;
  line-height: 0.3 !important;
}


/* Testo riassunto */
.sidebar-articoli .wp-block-latest-posts__post-excerpt {
    color: #555555 !important;
}

/* Link "Leggi tutto" */
.sidebar-articoli .wp-block-latest-posts__read-more {
    
    font-weight: 700;
}

/* Hover (facoltativo) */
.sidebar-articoli .wp-block-latest-posts__post-title:hover,
.sidebar-articoli .wp-block-latest-posts__read-more:hover {
    color: #000000 !important;
}

/* Stile prodotti elenco */
.woocommerce ul.product_list_widget li img {
    float: left;
    margin-left: 4px;
    width: 80px;
    height: auto;
    box-shadow: none;
    margin-top: -16px;
  margin-right: 16px;
}

/* Stile CAMPO DI RICERCA FIBOSEARCH */

.fibosearch-custom .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input {
  border: 1px solid #000 !important;
}

/* ---------- CONTAINER GENERALE MODULO LOGIN WOOCOMMERCE ---------- *//* ---------- CONTAINER DEL FORM ---------- */
.woocommerce form.woocommerce-form-login {
    max-width: 420px !important;
    margin: 50px auto !important;
    padding: 35px !important;
    background-color: #f8f8f8 !important;
    border-radius: 12px !important;
    border: 1px solid #e5e5e5 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
}

/* ---------- LABEL ---------- */
.woocommerce-form-login label {
    display: block !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin-bottom: 6px !important;
}

/* ---------- CAMPI DI INPUT ---------- */
.woocommerce-form-login input.input-text {
    width: 100% !important;
    padding: 12px 15px !important;
    border-radius: 8px !important;
    border: 1px solid #ccc !important;
    background-color: #fff !important;
    transition: all 0.2s ease !important;
    font-size: 15px !important;
}

.woocommerce-form-login input.input-text:focus {
    border-color: #016065 !important;
    box-shadow: 0 0 0 3px rgba(1,96,101,0.15) !important;
    outline: none !important;
}

/* ---------- CHECKBOX "RICORDAMI" ---------- */
.woocommerce-form-login .woocommerce-form__label-for-checkbox {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 14px !important;
    margin-top: 10px !important;
}

/* ---------- LINK "PASSWORD DIMENTICATA" ---------- */
.woocommerce-form-login .woocommerce-LostPassword {
    text-align: right !important;
    margin-top: 10px !important;
}

.woocommerce-form-login .woocommerce-LostPassword a {
    color: #016065 !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.woocommerce-form-login .woocommerce-LostPassword a:hover {
    text-decoration: underline !important;
    color: #014a4f !important;
}

/* ---------- BOTTONE ACCEDI ---------- */
.woocommerce-form-login button.button {
    width: 100% !important;
    padding: 12px !important;
    border-radius: 8px !important;
    background-color: #016065 !important;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    border: none !important;
    cursor: pointer !important;
    margin-top: 20px !important;
    transition: all 0.25s ease !important;
}

.woocommerce-form-login button.button:hover {
    background-color: #014a4f !important;
    transform: translateY(-1px) !important;
}

/* ---------- MESSAGGI DI ERRORE ---------- */
.woocommerce-error, .woocommerce-message {
    border-radius: 10px !important;
    border: 1px solid #016065 !important;
    background-color: rgba(1,96,101,0.05) !important;
    color: #016065 !important;
    padding: 15px 20px !important;
    margin-bottom: 25px !important;
    font-weight: 500 !important;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 480px) {
    .woocommerce form.woocommerce-form-login {
        padding: 25px !important;
    }
}
/* ALLINEO AL CENTRO --Accedi-- */
.et_pb_text_1 h2 {text-align: center;}


/* ---------- MENU x ACCOUNT ---------- */
.woocommerce-MyAccount-navigation {
    margin-bottom: 30px;
}

/* Lista delle voci */
.woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Link singolo voce */
.woocommerce-MyAccount-navigation ul li a {
    display: flex;
    align-items: center;
    gap: 10px;              /* spazio tra icona e testo */
    padding: 12px 18px;
    margin-bottom: 8px;
    background-color: #f8f8f8; /* 🔹 Colore sfondo normale */
    border-radius: 10px;
    font-weight: 600;
    border: 1px solid #e5e5e5;
    text-decoration: none;
    color: #016065;         /* 🔹 Colore testo normale */
    transition: all 0.2s ease;
    position: relative;
}

/* ---------- Icona SVG con cerchio fisso e icona più piccola ---------- */
.woocommerce-MyAccount-navigation ul li a::before {
    content: "";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;             /* dimensione cerchio */
    height: 32px;
    background-color: #016065; /* cerchio fisso */
    border-radius: 50%;
    padding: 4px;            /* distanza tra icona e bordo cerchio */
    transition: all 0.3s ease;

    /* SVG più piccola dentro il cerchio */
    background-size: 60% auto; /* 60% della larghezza del cerchio */
    background-repeat: no-repeat;
    background-position: center;
}

/* ---------- Hover ---------- */
.woocommerce-MyAccount-navigation ul li a:hover::before {
    transform: scale(1.1);   /* leggero ingrandimento cerchio */
}

.woocommerce-MyAccount-navigation ul li a:hover {
    background-color: #016065;   /* 🔹 Sfondo hover link */
    color: #ffffff !important;   /* 🔹 Colore testo hover */
}

/* Voce attiva */
.woocommerce-MyAccount-navigation ul li.is-active a {
    background-color: #016065;   /* 🔹 Sfondo voce attiva */
    color: #ffffff !important;   /* 🔹 Colore testo voce attiva */
}

/* ---------- Icone SVG  ---------- */

/* Dashboard */
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--dashboard a::before {
    background-image: url('https://www.inkgaragesupply.com/wp-content/uploads/2025/10/bacheca.svg'); 
}

/* Ordini */
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--orders a::before {
    background-image: url('https://www.inkgaragesupply.com/wp-content/uploads/2025/10/ecommerce.svg'); 
}

/* Indirizzi */
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--edit-address a::before {
    background-image: url('https://www.inkgaragesupply.com/wp-content/uploads/2025/10/indirizzo.svg'); 
}

/* Account */
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--edit-account a::before {
    background-image: url('https://www.inkgaragesupply.com/wp-content/uploads/2025/10/account.svg'); 
}

/* Metodo di pagamento */
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--payment-methods a::before {
    background-image: url('https://www.inkgaragesupply.com/wp-content/uploads/2025/11/pagamento.svg'); 
}

/* Logout */
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a::before {
    background-image: url('https://www.inkgaragesupply.com/wp-content/uploads/2025/10/logout.svg'); 
}

/* Wishlist (se presente) */
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--yith-wishlist a::before {
    background-image: url('https://www.inkgaragesupply.com/wp-content/uploads/2025/10/whish.svg'); 
}

/* -------------- FINE MENU ACCOUNT ----------- */

/* Applica solo alla COLONNA FLEX MENU che ha la classe col-moduli-orizzontali */
.et_pb_column.col-moduli-orizzontali {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 30px !important;
  flex-wrap: nowrap !important;
  text-align: center !important;
}

/* Ogni modulo interno (blurb) */
.col-moduli-orizzontali .et_pb_module {
  flex: 0 0 auto !important;
  margin: 0 !important;
  text-align: center !important;
}

/* === Tablet (Divi breakpoint: 980px) === */
@media (max-width: 980px) {
  .et_pb_column.col-moduli-orizzontali {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 20px !important;
  }
}

/* === Mobile (Divi breakpoint: 767px) === */
@media (max-width: 767px) {
  .et_pb_column.col-moduli-orizzontali {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 16px !important;
  }
}



/* STILE MENU -- Applica solo alla colonna che ha la classe col-moduli-orizzontali */
.et_pb_column.col-moduli-orizzontali {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 30px !important;
  flex-wrap: nowrap !important;
  text-align: center !important;
}

/* Ogni modulo interno (blurb) */
.col-moduli-orizzontali .et_pb_module {
  flex: 0 0 auto !important;
  margin: 0 !important;
  text-align: center !important;
}

/* === Tablet (Divi breakpoint: 980px) === */
@media (max-width: 980px) {
  .et_pb_column.col-moduli-orizzontali {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 20px !important;
  }
}

/* === Mobile (Divi breakpoint: 767px) === */
@media (max-width: 767px) {
  .et_pb_column.col-moduli-orizzontali {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 6px !important;
  }
}

/* IMPOSTO PULSANTI X SOTTOCATEGORIE PRODOTTI  */

/* Contenitore generale */
.custom-subcategories-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Link singolo (pulsante) */
.custom-subcategories-list .subcategory-button {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #1ddbb4;
    padding: 10px 16px;
    border-radius: 50px;
    text-decoration: none !important;
    color: #fff !important;
    transition: all 0.2s ease-in-out;
    font-size: 12px;
    font-weight: 600;
}

/* Immagine della sottocategoria */
.custom-subcategories-list .subcategory-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

/* Nome della sottocategoria */
.custom-subcategories-list .subcategory-name {
    color: #fff !important;
    font-size: 12px;
    font-weight: 600;
}

/* Hover */
.custom-subcategories-list .subcategory-button:hover {
    background: #016065;
    transform: translateY(-2px);
    color: #fff !important;
}



