/*
Theme Name:   xstore-child
Theme URI:    https://xstore.8theme.com
Description:  XStore is a multi-purpose theme that offers the ultimate WordPress and WooCommerce synergy, providing a comprehensive, all-in-one solution.
Author:       8theme
Author URI:   https://www.8theme.com
Template:     xstore
Version:      1.0
Text Domain:  xstore-child
Tags: e-commerce, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, custom-logo, featured-images, full-width-template, threaded-comments, accessibility-ready, rtl-language-support, footer-widgets, sticky-post, theme-options, translation-ready, ecommerce, woocommerce, shop, elementor, business, corporate, blog, news, light, dark
*/




/**HOMEPAGE**/

/* Menu categorie */

.cliv-category-menu-aziende-e-uffici , .cliv-category-menu-aziende-e-uffici a, .cliv-category-menu-aziende-e-uffici a span  {
	color: #5E2C11CC !important;
	fill: #5E2C11CC !important;
	font-weight: 500;
}

.cliv-category-menu-pubblica-amministrazione, .cliv-category-menu-pubblica-amministrazione a, .cliv-category-menu-pubblica-amministrazione a span {
	color: #243274CC !important;
	fill: #243274CC !important;
	font-weight: 500;

}

.cliv-category-menu-sanita, .cliv-category-menu-sanita a, .cliv-category-menu-sanita a span {
	color: #247456CC !important;
	fill: #247456CC !important;
	font-weight: 500;
}


/* home slider categorie */

#cliv-categories-slider-home .categories-mask{
	height:60px;
}

/** BLOG **/

/*
.blog .content {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
}

.blog .et_blog-ajax{
	max-width:70%;
}*/


/*singolo post del blog*/
.single-post article.blog-post .wp-picture.blog-hover-zoom img{
	max-width: 50%;
	width: 50%;
}

.single-post .comment-respond{
	display:none;
}

/*
.blog .blog-post{
	min-width: 400px;
	max-width: 400px;
	border:1px solid #9E9D9D !important;
	border-radius: 8px !important;
	margin: 10px 8px;
	padding: 10px 5px;
	/*min-height: 600px;
	height: 450px;
}

@media screen and (max-width: 600px) {
 	.blog .blog-post {
		min-height: none;
		height: auto;  
		max-width: 95% !important;
		width: 95% !important;
		margin-left: 5% !important;
	}
	
	.blog .content .hfeed {
		display: flex !important;
		flex-direction:column !important;;
		justify-content: center !important;
		align-items: center !important;
		width:100% !important;
		min-width:100% !important;
	}
}

*/
/*** PAGINA CHI SIAMO ***/

.cliv-img-shadow-right{
	-webkit-box-shadow: 7px 7px 0px 3px #0589c6; 
	box-shadow: 7px 7px 0px 3px #0589c6;
}

.cliv-img-shadow-left{
	-webkit-box-shadow: -7px 7px 0px 3px #0589c6; 
	box-shadow: -7px 7px 0px 3px #0589c6;
}


/*** PAGINE SETTORE ***/

.cliv-settore-container .categories-mask{
	left: 18px !important;
    right: 18px !important;
	height:60px;
	display:flex;
	align-items:center;
	justify-content:center;
}


/** PAGINE PRODOTTO **/
.single-product .product_title{
	text-transform:none !important;
}


/*Richiesta Preventivo Plugin*/
/* pagina prodotto */
.woocommerce.single-product .product .yith-ywraq-add-to-quote{
	width:100% !important;
	display:block !important;
}

.woocommerce.single-product .yith-ywraq-add-to-quote .button{
	width: 100% !important;
	display: flex !important;
	line-height:0;
	justify-content: center;
	align-items: center;
	border: 3px solid #0589C6 !important;
	background-color: white !important;
	color: #0589C6 !important;
	border-radius: 30px 30px 30px 30px !important;
	height: 46px !important;
	padding: 16px !important;
}

.woocommerce.single-product .yith-ywraq-add-to-quote .button:hover{

	border: 3px solid #F69946 !important;
	color: #F69946 !important;

}

.woocommerce.single-product .yith_ywraq_add_item_product_message, .woocommerce.single-product .yith_ywraq_add_item_response_message{
	font-size: 17px !important;
}

.woocommerce.single-product .yith_ywraq_add_item_browse_message{
	font-size: 25px;
	font-weight: 800;
}


/* pagina richiesta preventivo */

.page-id-4928 th {
	display:none;
} 

.page-id-4928 tr {
	max-height: 150px;
	height: 150px;
	border-bottom: 1px solid #0589C6 !important;
} 

.page-id-4928 td.product-remove {
	min-height: 150px !Important;
	display: flex !important;
	align-items: center !important;
}

.page-id-4928 td.product-remove a{
	font-size: 45px;
	color: #0589C6 !important;
}

.page-id-4928 td.product-thumbnail img{
	width: 150px !important;
}

.page-id-4928 td.product-name[data-title="Prodotto"]{
	min-height: 150px !Important;
	align-items: center !important;
	font-size: 19px;
}


@media screen and (min-width: 600px) {
	/*QUI*/
	
	.page-id-4928 td.product-name[data-title="Prodotto"]{
		display: flex !important;
	}
}


.page-id-4928 td.product-remove {
	min-height: 150px !Important;
	display: flex !important;
	align-items: center !important;
}

.page-id-4928 td.product-quantity .quantity{
	margin-top: 40px !important;
}


@media screen and (max-width: 600px) {
	.page-id-4928 td.product-thumbnail img{
		min-width: 90px !important;
	}
	
	
	.page-id-4928 table{
		overflow-x: scroll;
	}
	
	table.shop_table.ywraq_responsive .product-remove {
        max-width: 100% !important;
        padding: 10px;
    }
	
	.page-id-4928 .product-name a{
		font-size: 15px !important;
	}
	
}


/*CHECKOUT PAGE*/
/* ============ COUPON TOGGLE (banner cliccabile) ============ */
.etheme-elementor-cart-checkout-page-coupon .woocommerce-form-coupon-toggle .woocommerce-info{
  margin: 0 0 14px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px dashed rgba(0,0,0,.18);
  background: rgba(0,0,0,.035);
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 12px;
  font-weight: 600;
  line-height: 1.3;
  max-width: auto;

}

/* testino "Hai un coupon?" più leggibile */
.etheme-elementor-cart-checkout-page-coupon .woocommerce-form-coupon-toggle .woocommerce-info{
  font-size: 15px;
}

/* link trasformato in pulsante */
.etheme-elementor-cart-checkout-page-coupon a.showcoupon{
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.15);
  background: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: left;
  gap: 8px;
  white-space: nowrap;
  max-width: auto;
}

/* freccia / icona */
.etheme-elementor-cart-checkout-page-coupon a.showcoupon::after{
  content: "▾";
  font-size: 14px;
  transform: translateY(-1px);
  transition: transform .2s ease;
}

/* hover/focus ben visibili */
.etheme-elementor-cart-checkout-page-coupon a.showcoupon:hover{
  border-color: rgba(0,0,0,.25);
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
}
.etheme-elementor-cart-checkout-page-coupon a.showcoupon:focus-visible{
  outline: 3px solid rgba(0,0,0,.25);
  outline-offset: 2px;
}

/* ============ BOX COUPON APERTO ============ */
.etheme-elementor-cart-checkout-page-coupon .checkout_coupon{
  margin-top: 10px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
}

/* layout input + bottone più “moderno” e responsivo */
.etheme-elementor-cart-checkout-page-coupon .checkout_coupon .form-row{
  margin: 0;
}
.etheme-elementor-cart-checkout-page-coupon .checkout_coupon{
  display: flex;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: end;
}

/* input più evidente */
.etheme-elementor-cart-checkout-page-coupon #coupon_code{
  height: 44px;
  border-radius: 10px;
  padding: 0 12px;
  border: 1px solid rgba(0,0,0,.18);
}
.etheme-elementor-cart-checkout-page-coupon #coupon_code:focus{
  outline: none;
  border-color: rgba(0,0,0,.35);
  box-shadow: 0 0 0 4px rgba(0,0,0,.07);
}

/* bottone coerente con altezza input */
.etheme-elementor-cart-checkout-page-coupon .checkout_coupon button[name="apply_coupon"]{
  height: 44px;
  border-radius: 10px;
  padding: 0 16px;
  font-weight: 700;
}

/* mobile: input e bottone a colonna */
@media (max-width: 640px){
  .etheme-elementor-cart-checkout-page-coupon .woocommerce-form-coupon-toggle .woocommerce-info{
    flex-direction: column;
    align-items: flex-start;
  }
  .etheme-elementor-cart-checkout-page-coupon .checkout_coupon{
    grid-template-columns: 1fr;
  }
  .etheme-elementor-cart-checkout-page-coupon a.showcoupon{
    width: 100%;
    justify-content: center;
  }
}
/* ====== OVERRIDE: il blocco non deve coprire tutta la pagina ====== */

/* il wrapper diventa "a contenuto" */
.etheme-elementor-cart-checkout-page-coupon{
  display: inline-block;
  width: fit-content;      /* shrink-to-content */
  max-width: 100%;         /* non sforare mai */
}

/* il banner (woocommerce-info) NON deve essere largo 100% */
.etheme-elementor-cart-checkout-page-coupon .woocommerce-form-coupon-toggle .woocommerce-info{
  display: inline-flex;    /* invece di flex (block) */
  width: auto;
  justify-content: flex-start;  /* non "left" */
  align-items: center;          /* non "left" */
}

/* il box che si apre resta "a contenuto" */
.etheme-elementor-cart-checkout-page-coupon .checkout_coupon{
  display: inline-flex;
  width: auto;
  max-width: 100%;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap; /* se lo spazio è poco va a capo */
}

/* input con larghezza ragionevole (non infinito) */
.etheme-elementor-cart-checkout-page-coupon #coupon_code{
  width: 350px;
  max-width: 100%;
}

/* bottone */
.etheme-elementor-cart-checkout-page-coupon .checkout_coupon button[name="apply_coupon"]{
  width: 100%;
}

/* mobile: torna a 100% per essere usabile */
@media (max-width: 640px){
  .etheme-elementor-cart-checkout-page-coupon{
    display: block;
    width: 100%;
  }

  .etheme-elementor-cart-checkout-page-coupon .woocommerce-form-coupon-toggle .woocommerce-info,
  .etheme-elementor-cart-checkout-page-coupon .checkout_coupon{
    display: flex;
    width: 100%;
  }

  .etheme-elementor-cart-checkout-page-coupon #coupon_code{
    width: 100%;
  }
}



/*Blocchi prodotti/ pagina prodotti */
/* Rimuovo l'icona */


.post-type-archive-product .yith-ywraq-add-to-quote, .post-type-archive-product .clear, .page-id-2857 .yith-ywraq-add-to-quote ,.page-id-2857 .clear, .woocommerce.single-product .product #cliv-crossell .yith-ywraq-add-to-quote, .woocommerce.single-product .product #cliv-upsell .yith-ywraq-add-to-quote, .product .yith-ywraq-add-to-quote, .woocommerce.single-product .product .clear{
	display:none !important;
}



/**PAGINA CARRELLO **/
.page-id-2436 .return-shop{
	margin-top: 15px;
}




	

/* Whatsapp Icon */
.joinchat{
	--bottom: 80px !important;
	--sep: 2px !important;
}


.joinchat{
	--bottom: 80px !important;
}

@media (orientation: landscape) and (height <= 480px), (width <= 480px) {
    .joinchat {
        --bottom: 125px !important;
		--sep: 2px !important;
    }
	
}
