/**
 * Theme Name:        Libriusati Theme
 * Description:       Tema wordpress per Libriusati
 * Version:           1.0.0
 * Author:            Leone Design
 * Author URI:        https://leonedesign.it
 * Text Domain:       galianotheme
 * Domain Path:       /assets/lang
 * Tested up to:      6.4
 * Requires at least: 6.2
 * Requires PHP:      7.4
 * License:           GNU General Public License v2.0 or later
 * License URI:       https://www.gnu.org/licenses/gpl-2.0.html
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=GFS+Didot&display=swap');

nav.navbar{
background: white;
}
nav.navbar{
	padding:0;
}
.header-desk{
	display:flex;
	flex-direction:column;
	margin:0;
	padding:0 !important;
}
.header-desk .logo {
    display: flex;
    justify-content: center;
    align-items: center;
}
.header-bar{
    width: 100%;
    display: flex;	
	justify-content: space-around;
}
ul.topmenu,
ul.topmenu li {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Stile del menu orizzontale */
ul.topmenu {
    display: flex;/* Rende il menu un flex container */
	padding:10px;
}

ul.topmenu li {
    margin-right: 20px; /* Aggiunge spazio tra gli elementi del menu */
	font-family:'Inter',sans-serif;
	font-size:18px;
	
}

ul.topmenu li:last-child {
    margin-right: 0; /* Rimuove il margine destro dall'ultimo elemento del menu */
}

ul.topmenu li a {
    text-decoration: none; /* Rimuove la sottolineatura dai link */
    color: #333; /* Colore del testo dei link */
}
.central-bar-first, .central-bar-last {
    width: 30%;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.buttonLibri{
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-transform: uppercase;
    background: #D87700;
    color: white;
	font-size: 18px;
}
.sezione-boxata{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 80%;
    margin: auto;

}
.woocommerce div.product div.images.woocommerce-product-gallery {
    position: relative;
    max-width: 30%;
    margin-top: 50px;
}
.woocommerce-page div.product div.summary{
    width:55%;
}

.product-header{
    left: 0;
}
/*.woocommerce div.product div.summary {
    margin-top: 50px;
}*/
.product_title{
    font-family: "GFS Didot", serif;
    font-weight: 500;
    font-size: 30px;
    color:white;
	text-transform:uppercase;
}
.custom-title-section{
    height: 30vh;
    display: flex;
    flex-direction: column;
    margin-bottom:20px;
    
	padding-top:50px;
}
.product-header{
    height: 30vh;

}
.title-autore{
    font-family: "Inter",sans-serif;
    font-size: 18px;
    color:white;
    font-weight: 300;;
}
.title-autore span{
    font-size: 15px;
    margin-left:5px;
    font-weight: 100;
}
.title-descrizione{
    font-size: 20px;
    font-family: "Inter",sans-serif;
    font-weight: 700;
}
.woocommerce-product-details__short-description{
    font-family: "Inter",sans-serif;
    font-size: 14px;
    line-height: 15px;
}
.condizioni-libro{
    font-size: 18px;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    
}
.condizioni-libro strong{
    font-weight: 800;
}
.swiper-container-condizioni .swiper-slide{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}
.sezione-foto-condizioni {
    width: 80%;
    margin: auto;
    position: relative;
    overflow: hidden;
    padding: 50px;
    background: #f3f3f3;
    border-radius: 20px;
	
}
.swiper-container-condizioni .swiper-slide h4{
    font-size: 22px;
    font-family: "Inter", sans-serif;
    font-weight: 500;
}
.swiper-container-condizioni .swiper-slide img{
    max-width: 50%;
}
.woocommerce div.product div.images img {
    border-radius: 10px;
}
.vendor-section-wrapper{
    margin-top:150px !important;
    width: 80%;
    margin: auto;
}
.vendor-info{
    display: flex;
    flex-direction: column;
    background-color: #0169B4;
    border-radius: 20px;
}
.section-vendor-info{
    margin-top: -50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.name-vendor-info{
    font-family: "Inter",sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: white;
}
.button-scopri-vendor-info{
    background-color: transparent;
    font-family: "Inter",sans-serif;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    border:1px solid white;
    font-size: 15px;
}
.button-contatta-vendor-info{
background-color: #D87700;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}

.name-vendor-info i {
    border: 1px solid;
    border-radius: 50%;
    padding: 5px;
    margin-left: 10px;
}
.titolo-prodotti-vendor-info{
    font-family: "Inter",sans-serif;
    font-weight: 500;
    font-size: 24px;
    margin-bottom: 50px;
    display: flex;
    justify-content: space-between;

}
.titolo-prodotti-vendor-info a{
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 20px;
    text-decoration: underline !important;
    color:black;
}
.vendor-products img{
    height: 80%;
    width: 100%;
}
.vendor-products h4{
    color:white;
    text-decoration: none;

}
.vendor-products .product-item{
    max-width: 25%;
    }

.product-item {
    position: relative;
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s ease;
    max-height: 500px;
}
.product-item:hover {
    transform: scale(1.05);
}

.product-info-container {
    position: absolute;
    bottom: 1%;
    left: 2%;
    width: 96%;
    padding: 15px;
    background: rgb(0 0 0 / 40%);
    color: #fff;
    text-align: left;
    box-sizing: border-box;
    border-radius: 10px;
}

.product-info-container h4 {
    font-family: "Inter",sans-serif;
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.product-info-container p {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}

.product-cta-buttons {
    display: flex;
    gap: 10px;
}
.product-cta-buttons a{
    font-size: 11px !important;
    font-weight: 500 !important;
    font-family: "Inter",sans-serif;
}


.product-cta-buttons a.button:hover {
    background-color: #005f8d;
}

.product-cta-buttons a.button:nth-child(2) {
    background-color: #28a745;
}

.product-cta-buttons a.button:nth-child(2):hover {
    background-color: #218838;
}
button.button-whatsapp-vendor {
    background-color: #25D366;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    border: 0;
}
.product_meta .dokan-vendor-info-wrap{
    display: none;
}
.custom-title-section .dokan-vendor-name h5{
	color:white !important;
}
.dokan-vendor-info-wrap{
	border:0 !important;
	padding:10px 0 !important;
}
.summary .price{
    color:black !important;
    font-size: 35px !important;
    font-weight: 600;
}
.related {
    width: 80%;
    margin: auto;
    margin-top:50px

}
.related h2{
    font-family: "Inter",sans-serif;
    margin-bottom: 10px;
}
.custom-product-container .vendor-info{
    background: none;
}
.product-title a{
    color:black;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
}
.custom-product-container .product-author{
    text-transform: uppercase;

}
.custom-product-container .product-price{
        color: black !important;
            font-size: 30px !important;
            font-weight: 600;
}
.archive .products, .page-template-page-promozioni .products,.page-template-page-bestsellers .products {
        display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            gap: 20px;
}
/* RCP Product Styles */
.rcp-product {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.rcp-product:hover {
    transform: scale(1.05);
    z-index: 10;
}

.rcp-product .rcp-product-image {
    position: relative;
    overflow: hidden;
}

.rcp-product .rcp-product-image img {
    transition: transform 0.3s ease;
}

.rcp-product .rcp-product-image:hover img {
    transform: scale(1.1);
}

.rcp-product .rcp-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.rcp-product:hover .rcp-overlay {
    opacity: 1;
    pointer-events: auto;
}

.rcp-product .rcp-overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
}

.rcp-product .rcp-toggle-buttons {
    margin-bottom: 10px;
}

.rcp-product .rcp-toggle-button {
    background: rgba(255, 255, 255, 0.3);
    border: none;
    padding: 5px 10px;
    margin: 0 5px;
    border-radius: 20px;
    color: #fff;
    cursor: pointer;
}

.rcp-product .rcp-toggle-button.active {
    background: rgba(255, 255, 255, 0.7);
    color: #000;
}

.rcp-product .rcp-overlay-info .rcp-content-description {
    display: none;
}

.rcp-product .rcp-overlay-info .active {
    display: block;
}

.rcp-more-button {
    background: #fff;
    color: #000;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 20px;
    margin-top: 10px;
    display: inline-block;
}

.rcp-more-button:hover {
    background: #000;
    color: #fff;
}

.container-search-form{
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    align-items: flex-end;
}
.label-search{
    display: flex;
    flex-direction: column;
    width: 100%;
    font-family: "Inter",sans-serif;
    
}
.label-search-button{
    width:10%
}
.label-search label{
    font-weight: 600;
    font-size: 20px;
    
}
#book-search-form h3{
    font-weight: 700;
    font-family: "Inter",sans-serif;
}
#book-search-form {
    background-color: white;
    padding: 20px;
    margin-bottom: 20px;
    margin-top: 50px;
    border-radius: 20px;
}

/* Stile per il contenitore della ricerca */
.header-search {
    position: relative;
}

/* Stile per l'input di ricerca */
#instant-search-input {
    width: 300px;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Stile per i risultati della ricerca */
#instant-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #ccc;
    border-top: none;
    max-height: 300px;
    overflow-y: auto;
    z-index: 9999;
    display: none;
    /* Nascondi inizialmente */
}

/* Stile per ogni risultato */
.instant-search-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.instant-search-item:last-child {
    border-bottom: none;
}

.instant-search-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    margin-right: 10px;
}

.instant-search-item .title {
    font-size: 14px;
    font-weight: bold;
}

.instant-search-item .price {
    margin-left: auto;
    font-size: 14px;
    color: #28a745;
}

/* Effetto hover sui risultati */
.instant-search-item:hover {
    background-color: #f8f8f8;
}
/* Stile per l'indicatore di caricamento */
#instant-search-loading {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 10px;
    border: 1px solid #ccc;
    border-top: none;
    z-index: 9999;
    font-style: italic;
}
/* Stili per il contenitore principale */

.content-wrapper {
    display: flex;
    flex-wrap: nowrap;
	background:#f2f2f2;
}

/* Quando la sidebar è attiva */

.content-wrapper.with-sidebar .main-content {
    flex-grow: 1;
    padding: 20px;
    
    /* Deve corrispondere alla larghezza della sidebar */
    padding-top: 100px;
    /* Altezza dell'header */
    padding-bottom: 50px;
    /* Altezza del footer */
}

.content-wrapper.with-sidebar .main-content {
    flex-grow: 1;
    padding: 20px;
    margin-left: 15%;
    /* Deve corrispondere alla larghezza della sidebar */
}

/* Quando la sidebar non è attiva */
.content-wrapper.no-sidebar .main-content {
    /*flex-grow: 1;*/
	width:80%;
	margin:auto;
	
}


/* Quando la sidebar è attiva */
.content-wrapper.with-sidebar .sidebar {
    background-color: #f0f0f0;
    position: absolute;
	width:15%;
    display: flex;
    flex-direction: column;
	max-height: 80vh;
}

.content-wrapper.with-sidebar .sidebar .sidebar-content {
    flex: 1 1 auto;
	max-height: 80vh;
    overflow:hidden;
}

/* Opzionale: Nascondi la sidebar quando non è attiva */
.content-wrapper.no-sidebar .sidebar {
    display: none;
}
/*.content-wrapper.no-sidebar .boxato{
    width: 80%;
    margin: auto;
}*/
/* Stili per il footer */
#site-footer {
  background-color: #d9d9d9;
  padding: 40px 0;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 80%;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-column {
  width: 20%;
  padding: 40px 10px;
  box-sizing: border-box;
	display:flex;
	flex-direction:column;
	align-items: center;
}
.footer-column-40 {
    width: 40%;
    padding: 0 40px;
    display: flex;
    box-sizing: border-box;
    flex-direction: column;
    justify-content: center;
    
}

.footer-logo img {
  max-width: 100%;
  height: auto;
}

.footer-text {
  margin-top: 20px;
  color: #333;
 text-align:center;
	    font-size: 14px;

}

ul.footer-menu {
  list-style: none;
  padding: 0;
}

.footer-menu li {
  margin-bottom: 0px;
}

.footer-menu a {
  text-decoration: none;
  color: #333;
}

.footer-contacts {
  list-style: none;
  padding: 0;
}

.footer-contacts li {
  margin-bottom: 0px;
  color: #333;
}

.footer-social {
  margin-top: 20px;
}

.footer-social a {
  margin-right: 10px;
  color: #D87700;
  text-decoration: none;
  font-size: 18px;
}

.footer-social a:hover {
  color: #0073aa; /* Colore al passaggio del mouse */
}
.footer-column h3{
	text-transform:uppercase;
	font-size:18px;
}
.woocommerce ul.products li.product a img{
	margin:0;
}
.forminfo input, .forminfo textarea{
	width:100%;
	padding: 15px;
}
.forminfo{
	font-family:"Inter",sans-serif;
}
.forminfo input[type="submit"] {
    background: #D87700;
    color: white;
    border: white;
	padding:5px;
}
.forminfo input[type="checkbox"]{
	width:20px;
}
.woocommerce ul.products::before {
	content:none;
}
.woocommerce-main-content{
	display:flex;
	background:#f2f2f2;
}
.woocommerce-main-content .woocommerce-search-bar{
	width:80%;
}
#shop-sidebar {
    margin: 50px 20px 20px 20px;
    padding: 10px;
    border: 1px solid white;
    background: white;
    border-radius: 20px;
	height:fit-content;
}
.titolo-sezione-fotocondizioni{
	font-family:"Inter",sans-serif;
	padding:10px 0 20px;
}
.sezione-singola-condizioni{
	width:33%;
}
.sezione-fotocondizioni{
	display:flex;
	flex-direction:row;
	gap:50px;
}
.sezione-singola-condizioni img{
	width:70%;
}
.sub-menu {
    display: none;
    position: absolute;
    left: -50%;
    top: 100%;
    list-style: none;
    padding: 10px;
    margin: 0;
    background-color: #fff;
    border: 1px solid #ddd;
	z-index:999;
	border-radius:10px;
}

.sub-menu li {
    margin: 0;
}

.sub-menu a {
    padding: 10px;
    width: 150px;
    display: block;
    text-align: left;
}

li.menu-item-has-children > a::after {
    content: '\f107'; /* Font Awesome angle-down */
    font-family: "Font Awesome 5 Free"; 
    font-weight: 900;
    margin-left: 10px;
    font-size: 12px;
    cursor: pointer;
    transition: transform 0.3s ease; /* Aggiungi una transizione per l'effetto rotazione */
}
li.menu-item-has-children.open > a::after {
    content: '\f106'; /* Font Awesome angle-up */
}
.menu-item-has-children{
	position:relative
}
ul.sub-menu li a {
    font-size: 16px;
    padding: 5px 10px;
    color: #d87700;
    font-family: 'Inter',sans-serif;
    font-weight: 300;
}
.widget {
    margin: 30px 0;
	width: 80%;
}
.sidebar-content .widget{
	width:95%;
	margin:0px;
}
.sidebar-content img{
	width:100%;
	height:18vh;
}
.widget_block {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.section-vendor-info a {
    width: 50%;
	margin: 10px 0;
}
.central-bar-last{
	justify-content: center;
}
.woocommerce .woocommerce-breadcrumb{
	display:none;
}
.woocommerce-info{
	margin-bottom:10px;
}
.internofooter{
	width:80%
}
.widget h3 {
    font-weight: 700;
    font-family: "Inter",sans-serif;
}
.titolo-isbnsearch{
	font-family:"Inter",sans-serif;
}



/* Stile per il titolo della pagina */
.woocommerce-MyAccount-content h2 {
    font-size: 24px;
    color: #444;
    border-bottom: 2px solid #0071a1;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* Stile per le tabelle degli ordini, indirizzi, etc. */
.woocommerce-MyAccount-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.woocommerce-MyAccount-content table th,
.woocommerce-MyAccount-content table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.woocommerce-MyAccount-content table th {
    background: #0071a1;
    color: #fff;
    font-weight: bold;
}

.woocommerce-MyAccount-content table tr:last-child td {
    border-bottom: none;
}

/* Stile per i pulsanti */
.woocommerce-Button,
button.button,
input[type="submit"].button {
    background-color: #0071a1;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.woocommerce-Button:hover,
button.button:hover,
input[type="submit"].button:hover {
    background-color: #005f8b;
}

/* Stile per il menu delle sezioni del My Account */
.woocommerce-MyAccount-navigation {
    margin-bottom: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-MyAccount-navigation ul li {
    border-bottom: 1px solid #eee;
}

.woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 15px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li a:hover {
    background-color: #0071a1;
    color: #fff;
}

/* Stile per i form di login e registrazione */
.woocommerce form.login,
.woocommerce form.register {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.woocommerce form .form-row input.input-text {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Migliora la leggibilità dei link */



#dokan-secondary{
	display:none;
}
/* Stile per i messaggi di WooCommerce */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.woocommerce-message {
    background-color: #e0f4e0;
    color: #4a8c4a;
}

.woocommerce-error {
    background-color: #f4e0e0;
    color: #c44d4d;
}

.woocommerce-info {
    background-color: #e0e8f4;
    color: #4a6c8c;
}

/* Stile della pagina di registrazione personalizzata */
.registration-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

/* Stile per la colonna del form di registrazione */
.registration-form-wrapper {
    flex: 1;
    padding: 40px;
    background-color: #f9f9f9;
}

.registration-form-wrapper form {
    max-width: 400px;
    margin: 0 auto;
}

.already-registered {
    margin-top: 20px;
    font-size: 16px;
}

.already-registered a {
    color: #0071a1;
    text-decoration: underline;
}

.already-registered a:hover {
    color: #005f8b;
}

/* Stile per la colonna con l'immagine */
.registration-image-wrapper {
    flex: 1;
    background-color: #0071a1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.registration-image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 10px 0 0 10px;
}
button.single_add_to_cart_button.button.alt {
    padding: 6px 20px;
    border: none;
    border-radius: 5px;
    text-transform: uppercase;
    background: #D87700 !important;
    color: white;
    font-size: 18px;
}
.dokan-single-store .profile-frame .profile-info-box .profile-info-img{
	height:40vh !important;
	object-fit:cover;
}
.dokan-store-tabs{
	width:80%;
	margin:auto;
}
.seller-items{
		width:80%;
	margin:auto;
}
.dokan-store-products-filter-area.dokan-clearfix{
			width:80%;
	margin:auto;
}
.woocommerce-breadcrumb{
	display:none;
}
.buttonLibri a{
	color:white;
	text-decoration:none;
}
/* Responsività per dispositivi mobili */
@media (max-width: 768px) {
  .footer-column,
  .footer-column-40 {
    width: 100%;
    margin-bottom: 20px;
  }
}

