/*
Theme Name: my_child_theme
Description: tema child per il sito
Author: Laura Parisi
Template: generatepress
Version: 1.0.0
*/
/* Add your custom CSS below */




@import url('https://fonts.googleapis.com/css2?family=Baskervville&display=swap'); 
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');


/* wrapper per sito (inserita funzione in function.php) */

.site-wrapper {
 	max-width: 1920px;
	margin-inline: auto;
}


/* Font per titoli */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Baskervville', serif;
    text-transform: uppercase;
    color: #483143;
}

/* Font per paragrafi */
p {
    font-family: 'Open Sans', sans-serif;
}

/***********************************************************************************/
/* __________________********* START BLOG *********______________________________ */ 


/* _______________ Inizio menu categorie BLOG____________________ */

.page-id-12 .wp-block-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    font-family: 'Baskervville', serif;
    list-style-type: none;
    padding: 0;
    margin-top: 20px;
    text-transform: uppercase;
}

.page-id-12 .wp-block-list li {
    width: 22%; /* Quattro categorie per riga */
    margin-bottom: 20px;
    text-align: center;
    color: #483143;
}

.page-id-12 .wp-block-list li a {
    color: #483143; /* Colore dei link */
    margin: 2px;
    line-height: 30px; /*spazio dedicato al testo*/
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

.page-id-12 .wp-block-list li a:hover {
    color: #483143; /* Colore dei link al passaggio del mouse */
    background-color: #F0F0F0;
    height: 30px;
}

.page-id-12 .wp-block-list li a:active {
    color: #483143; /* Colore dei link al passaggio del mouse */
    background-color: #F0F0F0;
    height: 30px;
}

/* Ottimizzazione per dispositivi mobili */

@media (max-width: 768px) {
    .page-id-12 .wp-block-list {
        flex-direction: column;
        /* Disposizione verticale su mobile */
        align-items: flex-start;
        /* Centra le voci in colonna */
    }
    
    .page-id-12 .wp-block-list li {
        width: 100%;
        margin-bottom: 10px; /*larghezza completa delle voci di menu */
        margin-left: -6%;
    }

}

/* _______________Fine menu categorie BLOG____________________ */

        body.page-id-12 h3 {
            font-family: 'Open Sans', sans-serif;
            color: #483143;
        }


/* __________________********* END BLOG *********______________________________ */ 
/********************************************************************************/


/* __________________********* COOKIE POLICY *********______________________________ */


        body.page-id-348 h2,
        body.page-id-348 h5 {
            font-family: 'Open Sans', sans-serif;
            color: #483143;
        }
        
        body.page-id-348 a {
            text-decoration: none;   
        } 

        body.page-id-348 a:hover, 
        body.page-id-348 a:active {
            background-color: #E8E8E8; 
            color: #483143;
            text-decoration: none;   
        } 
        
/* __________________********* PRIVACY POLICY *********______________________________ */

        body.page-id-392 h2,
        body.page-id-392 h4,
        body.page-id-392 h5 {
            font-family: 'Open Sans', sans-serif;
            color: #483143;
        }
        
        body.page-id-392 a {
            text-decoration: none;   
        } 

        body.page-id-392 a:hover, 
        body.page-id-392 a:active {
            background-color: #E8E8E8; 
            color: #483143;
            text-decoration: none;   
        } 

/* __________________********* STILI CONTACT FORM 7 *********__________________________ */


.wpcf7-form {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="number"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
      	background-color: #f3f3f3;
}

.wpcf7-form input[type="submit"] {
    background-color: #483143;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase; 
} 

.wpcf7-form input[type="submit"]:hover {
   background-color: #dcc9b0;
  
} 



/* __________________********* START CONTATTI (ID 344) *********____________________________ */ 

        body.page-id-344 h3 {
            font-family: 'Open Sans', sans-serif;
            color: #483143;
        }
        
        /* Stili specifici per la pagina con ID 344 */
        body.page-id-344 .gb-container {
            display: flex;
            justify-content: center;
            align-items: center; margin: 0 auto; 
            /*flex-direction: column; /* Se vuoi che gli elementi siano allineati verticalmente */
         
        }


/* __________________********* START ABOUT US (ID 696) *********____________________________ */ 

        /* Stili specifici per la pagina con ID 696 */
        body.page-id-696 .gb-container {
            display: flex;
            justify-content: center;
            align-items: center; margin: 0 auto; 
            /*flex-direction: column; /* per far sì che gli elementi siano allineati verticalmente */
         
        }
        


/******************************************************************************************************/


/* __________________********* START SHORTCODE WOOCOMMERCE inseriti nella pagina myaccount *********____________________________ *


/* shrotcode [hello_user] */
.welcome-message {
    font-size: 1.5rem;
    color: #483143;
    text-align: center;
    margin-top: 10px;
}

/*____________________________________________________________________________*/

/* shortcode [my_addresses] */
.woocommerce-Address {
    font-family: 'Open Sans', sans-serif;
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #F0F0F0;
    border-radius: 8px;
}

.woocommerce-Address h2 {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #483143;
    margin-bottom: 10px;
}
 
.woocommerce-Address a {
    background-color: #F8F8F8;
    color: #483143;
    font-size: 14px;
    padding: 8px;
    border: 1px solid #ddd;
    margin-right:10px;
    margin-bottom:10px;
    border-radius: 5px;
    text-decoration: none;
    text-transform: uppercase;
} 

.woocommerce-Address a:hover, .woocommerce-Address a:active {
    background-color: #E8E8E8; 
    color: #483143;
    text-decoration: none;   
} 
        
.woocommerce-Address-actions a {
    background-color: #F3F3F3;
    color: #483143;
    font-size: 14px;
    padding: 8px;
    border: 1px solid #ddd;
    margin-right:10px;
    margin-bottom:10px;
    border-radius: 5px;
    text-decoration: none;
    text-transform: uppercase;
}

.woocommerce-Address-actions a:hover {
    background-color: #E8E8E8; 
}

/*____________________________________________________________________________*/

 /*shortcode logout */
.logout-button {
    background-color:  #f3f3f3;; 
    color: #483143;
    border: 1px solid #ddd;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase; 
    text-decoration: none;
    margin-top:30px;
    margin-left: 40%;
}

.logout-button:hover {
    background-color: #E8E8E8; 
    text-decoration: none;
}

/*____________________________________________________________________________*/

/* shortcode account */
.edit-account-sections {
    display: grid;
    gap: 20px;
}

.account-box {
    background-color: #f3f3f3;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    max-width: 600px;
    margin: 0 auto;
}

.woocommerce-EditAccountForm fieldset {
    border: none;
}

.woocommerce-form-row {
    margin-bottom: 15px;
}

.woocommerce-form-row label {
    display: block;
    /*font-weight: bold;*/
    color: #483143;
    text-transform: uppercase; 
}

.woocommerce-form-row input[type="password"],
.woocommerce-form-row input[type="text"],
.woocommerce-form-row input[type="email"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
    background-color: #f3f3f3;
}

.woocommerce-Button {
    background-color:  #E0E0E0; 
    color: #483143;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase; 
}

.woocommerce-Button:hover {
    background-color: #f3f3f3;
    color: #483143;
}

/*____________________________________________________________________________*/

/* Shortcode notifiche WooCommerce [woocommerce_notices] */
.woocommerce-notices-wrapper {
    margin: 20px 0;
    padding: 10px;
}

.woocommerce-message {
    background-color: #f3f3f3;
    border: 1px solid #483143;
    border-radius: 5px;
    padding: 15px;
    color: #483143;
    font-weight: 600;
}

.woocommerce-error {
    background-color: #FDECEC;
    border-left: 4px solid #C43C3C;
    padding: 15px;
    color: #C43C3C;
    border-radius: 8px;
    font-weight: 600;
}

.woocommerce-info {
    background-color: #EAF2FD;
    border-left: 4px solid #3172C6;
    padding: 15px;
    color: #3172C6;
    border-radius: 8px;
    font-weight: 600;
}


.woocommerce-message .button { /* stile pulsante "continua acquisti" */
    background-color: #E0E0E0; 
    color: #483143;
    border: 1px solid #483143;
    padding: 8px 16px;
    text-transform: uppercase;
    font-size: 0.9rem;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
}


.woocommerce-message .button:hover {
    background-color: #f3f3f3;
    color: #483143;
     border: 1px solid #483143;
    text-decoration: none;
} 

/*____________________________________________________________________________*/

/* Shortcode login [custom_woocommerce_login] */
.woocommerce-form-login {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.woocommerce-form-login h2 {
    font-size: 1.5rem;
    color: #483143;
    text-align: center;
    margin-bottom: 15px;
}

.woocommerce-form-row {
    margin-bottom: 15px;
}

.woocommerce-form-row label {
    font-weight: 600;
    color: #483143;
    margin-bottom: 5px;
    display: block;
}

.woocommerce-form-row input[type="text"],
.woocommerce-form-row input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
}

.woocommerce-form-row input[type="text"]:focus,
.woocommerce-form-row input[type="password"]:focus {
    border-color: #483143;
    outline: none;
}

.woocommerce-form-login__submit {
    background: #483143;
    color: #fff;
    padding: 10px 15px;
    text-transform: uppercase;
    border: none;
    border-radius: 6px;
    width: 100%;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.woocommerce-form-login__submit:hover {
    background: #2d1f2f;
}

.woocommerce-LostPassword {
    text-align: right;
    margin-top: 10px;
}

.woocommerce-LostPassword a {
    color: #483143;
    text-decoration: none;
    font-size: 0.9rem;
}

.woocommerce-LostPassword a:hover {
    text-decoration: underline;
}

/*____________________________________________________________________________*/

/* Shortcode register [custom_woocommerce_register] */
.woocommerce-registration-form {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.woocommerce-registration-form h2 {
    text-align: center;
    color: #483143;
}

.woocommerce-registration-form form {
    display: flex;
    flex-direction: column;
}

.woocommerce-registration-form label {
    font-weight: 600;
    margin-bottom: 5px;
    color: #483143;
}

.woocommerce-registration-form input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 15px;
}

.woocommerce-registration-form button {
    background-color: #483143;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
}

.woocommerce-registration-form button:hover {
    background-color: #5a4265;
}





/* __________________********* START CSS HEADER *********________________ */

body {
  font-family: "Open Sans", sans-serif;
  background-color: #ffffff;
}
.site-header {
  position: sticky; /* Rende l'header sticky (non funziona O.O)*/
  top: 0;
  z-index: 1000; /* per avere l'header sopra tutti gli altri elementi */
  background-color: #ffffff;
  text-align: center;
  margin-top: 20px;
  padding: 20px;
}
.site-branding img {
  max-width: 150px; /* grandezza max  per il logo */
}
.menu-toggler {
  position: absolute;
  top: 50%;
  left: 10%; /* sposta l'icona del menu sulla destra */
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: #483143;
}
.menu-toggler span.material-symbols-rounded {
  font-size: 2.5rem; /* Modifica la dimensione dell'icona */
}
/* Menu Toggler - Stati di focus e attivo */
.menu-toggler:focus span.material-symbols-rounded,
.menu-toggler:active span.material-symbols-rounded {
  color: #483143 !important; /* Mantiene il colore sempre visibile */
  background: transparent !important; /* Evita cambiamenti indesiderati */
}

.sidebar {
  position: fixed;
  left: 0;
  top: 135px; 
  width: 173px;
  height: 100%;
  background-color: #f3f3f3;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 1000;
  padding: 20px;
}
.sidebar.open {
  transform: translateX(0);
}

.sidebar a {
  display: block;
  margin: 0 30px 10px 20px;
  text-decoration: none;
  text-transform: uppercase;
}

.sidebar a:hover,
.sidebar a:active {
  background-color: #e8e8e8;
  color: #483143;
  text-decoration: none;
}

.nav-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  width: 100%;
}

.nav-item {
  margin-bottom: 10px;
  width: 100%;
}
.nav-link {
  color: #483143;
  font-size: 1.2rem;
  display: block;
  padding: 10px 15px;
  width: 100%;
  border-radius: 8px;
  transition: background 0.3s ease;
  text-decoration: none;
}
.nav-link:hover {
  background-color: #ddd;
  text-decoration: none;
}

 /******** shop account carrello *******/
.main-navigation {
  display: flex;
  justify-content: space-between;
  right: 10%;
  position: absolute;
  top: 40%;
}
.account-menu {
  display: flex;
  list-style: none;
  right: 20%;
}
.account-menu li {
  margin: 0 20px; /* spazio tra le due icone */
  text-decoration: none;
  text-transform: uppercase;
}

.account-menu li a:hover,
.account-menu li a:active {
  color: #483143;
  text-decoration: none;
  background-color: #f0f0f0;
}

.account-menu li a span.material-symbols-rounded {
  font-size: 20px;
  color: #483143;
}

.shop-link {
  position: absolute;
  top: 30%;
  left: 20%; /* move to the right of the menu-toggler */
  transform: translateY(-50%);
  text-decoration: none;
  list-style: none;
  margin-top:2%;
}

.shop-link a {
      text-decoration: none;
}    

.shop-link ul {
  list-style-type: none;
  font-weight: 600;
  text-decoration: none;
}

.shop-link li {
  color: #483143;
  text-decoration: none;
  text-transform: uppercase;
}

.shop-link li a:hover,
.shop-link li a:active {
  color: #483143;
  text-decoration: none;
  background-color: #f0f0f0;
}

/* Stile per dispositivi mobili */

@media only screen and (max-width: 768px) {
    
    .shop-link {
        display: none;  /* Nascondi il link Shop sui dispositivi mobili */
    }
    
    .main-navigation {
        display: flex;
        justify-content: flex-end; /* Allinea le icone a destra */
        position: absolute;
        top: 40%;
        right: 10%;
    }

    .account-menu {
        display: flex !important; /* Assicura che l'account-menu sia sempre visibile */
        flex-direction: row;  /* Mantieni le icone orizzontali anche su mobile */
        padding: 5px;
        background: null;
    }
    
    .account-menu li {
       margin-left: 5%;
    }

    .menu-toggler {
        display: block;
        z-index: 1001; /* Mantieni visibile sopra tutto */
    }
}