/*
Theme Name: Arti & Mestieri
Theme URI: 
Description: Child theme of Shoptimizer
Author: Kìpo Produzioni
Author URI: 
Template: shoptimizer
Version: 1.7
License:         	GNU General Public License v2 or later
License URI:     	http://www.gnu.org/licenses/gpl-2.0.html
*/


:root {
	--kipo-accent-color: #f7a404;
}

.woocommerce-store-notice {
	background: #f6233d;
}

.kp-maxwidth {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 20px;
}


.demo_store {
	z-index: 100;
}



.max-w-text {
	margin: 0 auto;
	max-width: 65ch;
}

a {
	cursor: pointer;
}


.woocommerce-products-header {
	margin-bottom: 2em !important;
}

.woocommerce-info, .woocommerce-noreviews, p.no-comments {
	background-color: var(--kipo-accent-color);
}


a:hover {
	text-decoration: none;
}

.hide {
	display: none !important;
}

body.page-id-7 .woocommerce-shipping-destination {
	display: none;
}

#menu-footer li {
	display: inline-block;
	margin-right: .735em;
}





/**
 * KP WHATSAPP BUTTON */

 /*
.product-template-default .kp_whatsapp {
	display: none !important;
}*/

.kp_whatsapp {
	position: fixed;
	bottom: 16px; 
	right: 16px;
	padding: 6px 8px;
	background-color: #12a348;
	border-radius: 30px;
	z-index: 8;
	/*display: none;*/
	transition: all .1s ease;
}

.kp_whatsapp a { 
	display: block;
	width: 100%;
	text-align: center;
	height: 100%;
	color: #eee;
	font-weight: 600;
	cursor: pointer !important;
	transition: all .2s ease;
	font-size: 18px;
}

.kp_whatsapp a span {
	display: none; /* Nascondo il testo su mobile */
}
@media (min-width: 576px) {
	.kp_whatsapp a {
		min-width: 200px;
	}
	
	.kp_whatsapp a span {
		display: inline; 
	}
}

.kp_whatsapp a svg {
	display: inline-block;
	height: 24px;
	width: 24px;
	vertical-align: middle;
}

.kp_whatsapp:hover {
	transform: scale(1.01);
}

.kp_whatsapp a:hover {
	color: #fff;
	text-decoration: none;
}

@media (min-width: 996px) {
	.kp_whatsapp {
		display: block;
	}
}




/**
 * KP BUTTON "Account Professionista" */


.logged-in .kp_account_professionista {
	display: none !important;
}

.kp_account_professionista {
	position: fixed;
	bottom: 64px; 
	right: 16px;
	padding: 6px 8px;
	background-color: #1248a3;
	border-radius: 30px;
	z-index: 8;
	transition: all .1s ease;
}

.kp_account_professionista a { 
	display: block;
	width: 100%;
	text-align: center;
	height: 100%;
	color: #eee;
	font-weight: 600;
	cursor: pointer !important;
	transition: all .2s ease;
	font-size: 18px;
}

@media (min-width: 576px) {
	.kp_account_professionista a {
		min-width: 200px;
	}
}

.kp_account_professionista:hover {
	transform: scale(1.01);
}

.kp_account_professionista a:hover {
	color: #fff;
	text-decoration: none;
}



/*utilities*/
.w-100{
	width: 100%;
	max-width: 100vw;
}

.text-center {
	text-align: center !important;
}

@media screen and (max-width: 1315px){
	.kp-px-2 {
		padding: 0 2em;
	}
}


@media screen and (max-width: 599px) {
		#loghi-homepage .wp-block-column {
			flex-basis: 33% !important;
	}
}

footer.copyright {
	padding-right: 8vw;
}

/* custom */
.copyright-bar-kipo {
	background-color: #251b5c;
	padding: 2rem 1rem .5rem;
	color: #dedede;
	font-size: 1.25rem;
	max-height: fit-content;
	display: inline-block;
	width: 100%;
}
.copyright-bar-kipo a,
.copyright-bar-kipo a:visited {
	color: #efefef;
}
.copyright-bar-kipo a:hover,
.copyright-bar-kipo a:active {
	color: var(--kipo-accent-color);
}

#footer-info-widget ul li {
	font-size: .9rem;
}
#footer-info-widget ul,
#footer-info-widget ol,
#footer-info-widget li {
	margin: 0;
}

/* liste in orizzontale */
dl.lista-orizzontale {
	list-style-type: none;
	margin: 0;
}
dl.lista-orizzontale li {
	display: inline;
	margin-right: .5rem;
	font-weight: 400;
	letter-spacing: 0.05rem;
	font-size: .767rem;
}


footer.site-footer a::after{
	border-bottom-color: transparent;
} 



.kp-img-center .wp-block-image img
{
	margin: auto;
}



.wrapper-aem-xl {
	padding: 1em;
}

header.woocommerce-products-header  {
	background-color: #fefefe !important;
	margin-bottom: .2em;
}


table.woocommerce-grouped-product-list .button {
	transition: all .075s linear;
}
table.woocommerce-grouped-product-list .button:hover {
	padding: .5rem 1rem;
	background-color: #d61037;
	color: #fff;
}


.wp-block-button__link {
	background-color: #3c2684;
	transition: all 0.3s ease;
}
.wp-block-button__link:hover {
	background-color: #d61037;
}


.wc-block-featured-category__title {
	font-weight: bold;
}


/* banner professionista */

/* body.logged-in .header-widget-region {
	display: none;
} */

/*body.user-role-customer #banner-professionista,
body.user-role-altro #banner-professionista,
body.user-role-professionista #banner-professionista,*/
/* 
body.logged-in #banner-professionista {
    display: none;
}

#banner-professionista {
	position: fixed !important;
	bottom: -1em;
	right: .65em;
	padding: .6em 0.75em 2em;
	max-width: 10.5em;
	height: auto;
	background: #E1DB35;
	color: #293845;
	border: .075em solid #E1DB35;
	border-radius: .2em;
	border-top: .375em solid var(--kipo-accent-color);
	display: block;
	text-decoration: none;
	transition: all 100ms linear;
	text-align: center;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 90%;
	line-height: 1.5;
	letter-spacing: 0.015em;
	z-index: 99;
	font-family: "Poppins", sans-serif;
}
@media only screen and (min-width: 992px) {
  #banner-professionista:hover {
	  padding-bottom: 3em;
  }
	.header-widget-region {
		height: 0;
	}
	
	body.product-template-default #banner-professionista {
	right: 30px;
  bottom: calc(30px + 3em);
	max-width: 233px;
	padding: .75em;
}
}



@media only screen and (max-width: 991px) {
	#banner-professionista {
		position: relative !important;
		bottom: auto;
		right: auto;
		padding: .6em .8em;
		max-width: 100%;
		z-index: 1;
	}
	#banner-professionista:hover {
		color: #101010;
		background: #fff71c !important;
	  border-color: #fff71c !important;
	  box-shadow: 0 0 5px #e0e0e0;
	}
} */



.button.product_type_variable.add_to_cart_button {
    background: #3d3d3d;
    padding: .5rem 1rem;
    color: #fff;
    border-radius: .5rem;
}

/*.button.product_type_variable.add_to_cart_button:hover
{
    background: #55a8f1;
    padding: .5rem 1rem;
    color: #fff;
    border-radius: .5rem;
}

.button.product_type_variable.add_to_cart_button:active
{
    background: #4486c0;
    padding: .5rem 1rem;
    color: #eee;
    border-radius: .5rem;
}*/



/** PRODOTTI RAGGRUPPATI - Opzioni*/

table.woocommerce-grouped-product-list .button {
	transition: all .075s linear;
}
table.woocommerce-grouped-product-list .button:hover {
	transform: scale(1.02);
	border-radius: .55rem;
	background-color: #d61037;
	color: #fff;
}

.woocommerce-grouped-product-list-item {
	position: relative;
}

.woocommerce-grouped-product-list-item::before {
	transition: all .075s linear;
	width: calc(100% + 1.7em);
	height: 85%;
	top: .25em;
	left: -.75em;
	border-radius: 8px;
	content: '';
	position: absolute;
	z-index: 0;
	pointer-events: none;
}

.woocommerce-grouped-product-list-item:first-of-type::before {
	height: 100%;
	top: -.35em;
}

.woocommerce-grouped-product-list-item:hover::before {
	background-color: rgba(100,100,100,.15);
}


/* IVA */
.woocommerce-price-suffix {
	color: #777;
}
/*
 * p.price::after {
 * content: "Tutti i prezzi sono compresi di iva";
 * font-size: .8rem;
 * color: #777;
 * margin-left: .5rem;
 * }
 */


select {
	font-family: "Rubik", sans-serif;
}





/*
 * colonne
 * */

@media (max-width: 576px) {
	.kp_invert-col-order--mobile {
		flex-direction: column-reverse;
	}
}



/** 
 * Tag Prodotto */
#secondary.widget-area .widget .tagcloud a, .widget-area .widget.widget_product_tag_cloud a {
	background: none;
	color: #282828;
	font-size: 13px !important;
}






/** Top Bar */

.top-bar-center {
	max-width: 100%;
}







/* home */

body.home .wp-block-buttons {justify-content: center;}









/**
 * menu 
 **/

.sub-menu-link {
	text-transform: uppercase !important;
	transition: transform .2s ease;
}

.sub-menu-link:hover {
	transform: scale(1.05);
	font-weight: bold !important;
}



/* woocommerce 
- info negozi wcpickup
- riga con cod, cat, tags
*/
.wps-store-details {
	text-align: left;
}

div.product .product_meta {
	display: none;
}


/*wc_pickup_store message*/
.shipping-pickup-store .message {
	text-align: left;
}


/* sostituisce z-index troppo alto del plugin di ricerca ajax
.apsw-search-wrap {
	z-index: 1 !important;
}*/

/*wp social chat
.qlwapp-description a,
.qlwapp-description a:visited
{
	color: #ffffff;
	font-weight: 500;
}

.qlwapp-description a:hover
{
	color: #111111;
}*/



/* Tab Descrizione su pagina prodotto singolo */
#tab-description,
#tab-scheda_tecnica { 
	max-width: 75ch; 
}





/* FAQ */

#below-content-faq {
  margin: 1rem auto;
  max-width: 65ch;
  text-align: center;
}

#below-content-faq details {
  text-align: left;
  width: 100%;
  padding: .5rem .75rem;
  cursor: pointer;
  background-color: #F6F6F6;
  margin: 5px auto;
  border-radius: 2px;
}
#below-content-faq details > summary {
  font-weight: bold;
  position: relative;
  list-style: none;
  color: #444;
  transition: all .2s ease;
}

#below-content-faq details > summary::-webkit-details-marker {
  display: none;
}

#below-content-faq details > summary:hover {
  text-decoration: underline;
  color: #000;
} 

#below-content-faq details > summary::after {
	position: absolute;
	content: '+';
	right: 0;
	top: 0;
	bottom: 0;
	color: #333;
	font-weight: bold;
}

#below-content-faq [open] summary::after {
  content: '–';
}


#below-content-faq details > p {
	padding: .5rem 1rem;
	font-size: 18px;
}




/** Banner pagamenti sicuri sotto al pulsante di acquisto */

#k_safe-payments-guarantee {
	padding: 1rem 0;
	width: 100%;
	box-sizing: border-box;
	margin: 3.8rem 0 2rem 0;
	color: #888;
	border-radius: 6px;
	display: block;
}

#k_safe-payments-guarantee .k_info-box {
	display: flex;
	flex-flow: row nowrap;
	align-content: flex-start;
	margin-bottom: 1rem;
	background: dodgerblue;
}

#k_safe-payments-guarantee .k_info-box div {
	padding: 5px 15px;
	border: 1px solid dodgerblue;
	display: flex;
	flex-flow: column wrap;
	justify-content: center;
	flex-grow: 1;
	background: #fff;
}


#k_safe-payments-guarantee .k_info-box div p {
	margin-bottom: 2px;
}

#k_safe-payments-guarantee .k_info-box svg {
	width: 64px;
	height: 100%;
	align-self: center;
}

#k_safe-payments-guarantee .k_payments-wrap {
	display: flex;
	flex-flow: row wrap;
	gap: 5px;
	padding: 10px;
	background: #fefefe;
	align-content: center;
	border-radius: 6px;
}	

#k_safe-payments-guarantee small {
	opacity: .9;
	padding-right: 1rem;
	float: right;
}