/*
Theme Name: Lentini
Template: joice

*/


body {
  --sb-track-color: #ffffff;
  --sb-thumb-color: #1e73be;
  --sb-size: 10px;
}

body::-webkit-scrollbar {
  width: var(--sb-size)
}

body::-webkit-scrollbar-track {
  background: var(--sb-track-color);
  border-radius: 10px;
}

body::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color);
  border-radius: 10px;
  
}

@supports not selector(::-webkit-scrollbar) {
  body {
    scrollbar-color: var(--sb-thumb-color)
                     var(--sb-track-color);
  }
}

@media only screen and (min-width: 1024px) {
    .variation-calc, .single_add_to_cart_button {
        max-width: 100% !important;
    }
}

.product .summary table.variations tr {
    display: initial;
}

.product .summary table.variations .reset_variations {
	top: 30px
}

.woocommerce div.product .cart.variations_form .tawcvs-swatches .swatch.swatch-shape-circle,
.woocommerce.single-product .cart.variations_form .tawcvs-swatches .swatch.swatch-shape-circle {
	border-radius: 0!important;
}
.pf-item > .widget_title,
.pf-item > .inner-wrap {
	background-color: transparent;
	border: none;
}

.pf-item > .inner-wrap {border-top: 1px solid #eeeeee;}

.en-quick-view[title="Visualizzazione rapida"] {
    display: none;
}

.disabled-hover-link:hover a {
    text-decoration: none!important;
    text-transform: none!important;
    color: initial!important;
}

.richiedi-info-form {
    margin-top: 20px;
    padding: 15px 15px 15px 0;
}

.et-clients .clients-item img {
    max-width: 100%;
    max-height: 100% !important;
}
/* EFFETTO CON SCALE E ROTAZIONE
 * .et-clients .clients-item img {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.et-clients .clients-item:hover img {
    transform: scale(1.5) rotate(5deg);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}
*/
.et-clients .clients-item img {
    transition: transform 0.3s ease-in-out;
}

.et-clients .clients-item:hover img {
    transform: scale(1.5);
}

.text-joolz {color: #78C6BB!important}
.text-blue {color: #1E73BE!important}
.text-orange {color: #ED7703!important}


.product-subcategories {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Griglia a 3 colonne */
    gap: 20px; /* Spazio tra gli elementi */
    list-style: none;
    padding: 0;
    margin: 0;
	align-items: center;
    justify-content: center;
}

.product-subcategories li {
    text-align: center; /* Centra immagine e testo */
}

.product-subcategories li img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.product-subcategories li a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: bold;
}

.product-subcategories li a:hover {
    color: #0073aa; /* Colore al passaggio del mouse */
}

@media (max-width: 768px) {
    .product-subcategories {
        grid-template-columns: repeat(2, 1fr); /* 2 colonne su tablet */
    }
}

@media (max-width: 480px) {
    .product-subcategories {
        grid-template-columns:  repeat(2, 1fr); /* 1 colonna su smartphone */
    }
}

#subcategory-search {
    padding: 5px;
    width: 250px;
	height: 40px;
    margin-bottom: 15px;
}

.category-empty {
    display: flex;
    padding: 20px;
    text-align: center;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.category-empty p {margin:0}

#pagination {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.page-button {
    margin: 0;
    display: block;
    padding: 0 4px;
    box-shadow: inset 0 0 0 1px #eeeeee!important;
	color: #111;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
    line-height: 36px;
    border-radius: 0;
    text-align: center;
    font-size: 12px;
    font-weight: 400;
    outline: 0;
    position: relative;
    overflow: hidden;
    background-color: #fff;
    transition: all 300ms ease-out;
}

.page-button.active {
    font-weight: bold;
	background-color: #1e73be;
	border: none;
    color: #fff;
}

.page-button:hover {
    background-color: #1e73be;
}


.et-product-search-toggle .search-box {
    padding-top: 25px;
}

.wishlist-shortcode {
    position: relative;
    display: inline-block;
}

.wishlist-link {
    text-decoration: none;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.wishlist-icon {
    position: relative;
    display: flex;
}

.wishlist-svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: #000;
    stroke-width: 1;
    transition: all 0.3s ease;
}

.wishlist-link:hover .wishlist-svg {
    fill: #1e73be; /* Colore cuoricino riempito */
    stroke: #1e73be;
}

.wishlist-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #1e73be;
    color: #fff;
    font-size: 10px;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.product a.yith-wcwl-add-to-wishlist-button.yith-wcwl-add-to-wishlist-button--anchor span {
    display: block;
}

.archive a.yith-wcwl-add-to-wishlist-button.yith-wcwl-add-to-wishlist-button--anchor span {
    display: none;
}

ul.products .product {
    position: relative;
}

.archive .yith-add-to-wishlist-button-block.yith-add-to-wishlist-button-block--initialized {
    position: absolute;
    z-index: 9;
	right: 15px;
}

.archive .yith-wcwl-add-to-wishlist-button.yith-wcwl-add-to-wishlist-button--anchor svg.yith-wcwl-icon-svg {
	width: 20px;
}

.hoarchiveme .yith-wcwl-add-to-wishlist-button.yith-wcwl-add-to-wishlist-button--anchor {
    margin: 0!important;
    width: 100%;
    justify-content: flex-end;
}

.yith-wcwl-share ul {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

 .yith-wcwl-share ul li {
    list-style: none;
}


/* Stile del loader */
#loader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 6px solid #ccc;
    border-top: 6px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 9999;
    display: none; /* Nascondi il loader di default */
}

/* Animazione del loader */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


a.post-twitter-share.twitter,
a.post-pinterest-share.pinterest,
a.post-linkedin-share.linkedin,
a.viber.post-viber-share
{
	display: none
}

@media(max-width: 480px) {
	.svg-mobile {
		width: 200px;
        height: auto;
	}
}


label[for="payment_method_wc_gateway_gestpay"] {
    display: flex !important;
    position: relative;
    align-items: center;
	gap: 15px;
}

div#gestpay-s2s-new-card {
    display: flex!important;
    flex-direction: column;
}

div#gestpay-s2s-new-card p,
div#gestpay-s2s-new-card p input {
    width: 100% !important;
	margin: 0;
}

div#gestpay-s2s-new-card p select {
	width: 100% !important;
	margin-bottom: 15px!important;
}

p#gestpay-cc-cvv_field {
    width: 100%;
    display: flex!important;
    align-items: flex-start;
    flex-direction: column;
}

#gestpay-cc-cvv_field input {
    width: 100%!important;
}

span.wpcf7-form-control.wpcf7-acceptance.optional {
    width: 100%;
    display: block;
}

span.wpcf7-form-control.wpcf7-acceptance.optional span.wpcf7-list-item {
    margin: 0;
}



span.wpcf7-form-control-wrap[data-name="privacy"] {
    width: 100%;
    display: flex;
}

span.wpcf7-form-control-wrap[data-name="privacy"] span.wpcf7-list-item {margin:0}


@media (orientation: landscape) and (height <= 480px), (width <= 480px) {
    .joinchat {
        --bottom: 60px!important
    }
}

.single h4.post-title:hover {
    color: inherit;
    cursor: default;
}

.archive a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart,
.archive a.button.product_type_simple,
.single form.cart {
	display: none!important;
}