#wps_wpr_order_notice:empty,
#wps_wpr_order_notice { display: none !important; }
.wps_wpr_cart_redemption__notice:empty { display: none !important; }

.product_cat-corsi-online {
    background-color: #eddfdb;
    padding: 15px;
    border-radius: 8px;
}
.banner{
	width:100% !important;
}


.product_cat-corsi-online .woocommerce-loop-product__title {
    color: #000000 !important;
}


.product_cat-corsi-online .product-excerpt {
    display: none;
}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link .onsale{
	z-index:999 !important;
}

/*.woocommerce-checkout .cart-collaterals {padding-top: 200px;}*/
.openmenu .mobile__menu {left: 0;}
.mobile__menu.openmenu {left: 0;}
.mobile__menu .mobile__menu__scroll {padding-bottom: 60px;}
@media screen and (max-width: 767px) {
.wpcsb-wrapper .wpcsb-container .wpcsb-product-action {padding-left: 40px;}
	.woocommerce .contain-shop ul.products li.product.outofstock:before {font-size:10px;}
.woocommerce ul.products li.product.product_cat-corsi-in-presenza:after, .woocommerce ul.products li.product.product_cat-corsi-online:after {
    width: calc(100% - 10px);
    left: 5px;
}	
.woocommerce ul.products li.product.product_cat-corsi-in-presenza h2.woocommerce-loop-product__title, .woocommerce ul.products li.product.product_cat-corsi-online h2.woocommerce-loop-product__title {
    font-size: 16px;
}
}
.single-product.product-cat-corsi-online .quantity {margin-right: 10px !important;}
.cross-sells ul.products li.product.product_cat-corsi-in-presenza a.button, .cross-sells ul.products li.product.product_cat-corsi-in-presenza .product-excerpt, .cross-sells ul.products li.product.product_cat-corsi-online a.button, .cross-sells ul.products li.product.product_cat-corsi-online .product-excerpt {
    display: none !important;
}
.woocommerce ul.products li.product.product_cat-corsi-in-presenza .price, .woocommerce ul.products li.product.product_cat-corsi-online .price {
    position: relative;
    z-index: 10;
}
.cross-sells ul.products li.product.product_cat-corsi-in-presenza a img, .cross-sells ul.products li.product.product_cat-corsi-online a img {margin-bottom: 0;}
.woocommerce .category-description h2 {font-size: 1.4em !important;}

.woocommerce-info.bec-info {
	background-color: #55b3a5 !important;
	color: white !important;
}
.woocommerce-info.bec-info:after {
 border: 1px dotted white !important;
}
ul.wc_payment_methods.payment_methods li.wc_payment_method {list-style: none !important;}
form.post-password-form {
    display: block;
    max-width: 480px;
    padding: 15px;
	  background-color: #EDDFDB;
    margin: 50px auto;
    padding: 20px;
    height: calc(100% - 40px);
    border: 1px dotted #D3353D;
    border-radius: 40px;
    color: #D3353D;
    box-shadow: 0 0 0 20px #EDDFDB;
	input[type="password"] {
		border: 1px solid #c6141a;
	}
	input[type="submit"] {
		background-color: #c6141a;
		border: none;
		color: white;
		padding: 16px 20px;
	}
}

body.woocommerce-cart .wcpay-express-checkout-wrapper {
    display: block !important;
}
#cmplz-document h2 {font-size: 1.4rem;color: #D3353D;}
#cmplz-document .cmplz-subtitle {font-weight: bold;}
p#ws_opt_in_field {margin-bottom: 30px; padding-left: 13px !important;}
p#ws_opt_in_field label {text-transform: none;}
.woocommerce-terms-and-conditions-wrapper {
	background-color: #f9f6ee;
	margin-bottom: 30px;
	padding: 10px;
	border-radius: 10px;
	p.form-row {
		margin-bottom: 0 !important;
	}
	label {font-weight: bold;}
}
.wcpay-express-checkout-wrapper {
	background-color: #dfc7c9;
  padding: 10px;
  border-radius: 30px;
}
.woocommerce .contain-shop ul.products li.product.outofstock:before {
    z-index: 100;
    line-height: 1.1;
    text-align: center;
	padding: 5px;
	border-radius: 5px;
	@media(max-width: 767px){
		width: 50px;
		padding: 2px;
	}
}
.item-post {
	h3 {line-height: 1;	}
	.entry-date, .cat-links {font-size: .8em;}
}
.product.post-31960, .product.post-37150, .product.post-37151, .product.post-37152, .product.post-37153, .product.post-37154, .product.post-37149 {
	> a:not(.button):before{
		content: ''NEW'';
		position: absolute;
		font-size: 12px;
		color: white;
		width: 40px;
		height: 40px;
		background-color: red;
		border-radius: 100%;
		display: flex;
		justify-content: center;
		align-items: center;
		top: 15px;
		left: 15px;
		z-index: 100;
		@media(max-width:767px){
			left: 5px;
			top: 5px;
			font-size: 10px;
			width: 30px;
			height: 30px;
		}
	}
}
.box-dotted-border {
	padding-bottom: 60px
}

/*filtri prodotti*/
.filters-group {
	@media(max-width:767px){
		.filter-title {
			padding: 5px 10px;
			border: 1px solid #c6141a;
			border-radius: 10px;
			width: fit-content;
			cursor: pointer;
		}
		.collapse-filters.collapse {
			display: none;
		}
	}
}

@media(max-width:767px){
.wp-block-media-text.has-media-on-the-right.reverse-mobile figure {
  grid-row: 2 !important;
}
	.wp-block-media-text.has-media-on-the-right.reverse-mobile .wp-block-media-text__content {
    grid-row: 1 !important;
	}
}

.container1 > .content {
    margin-top: 0px !important;
}

.product a.woocommerce-LoopProduct-link::before{
  content: none !important;     /* removes pseudo-element */
  background: none !important;  /* just in case */
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
}
/* [03.07] :not(.slick-slide): у каруселі Ti-potrebbe-piacere ширину карткам ставить slick, а не це правило */
.woocommerce ul.products li.product.product_cat-corsi-in-presenza:not(.slick-slide), .woocommerce ul.products li.product.product_cat-corsi-online:not(.slick-slide){
	
	    margin: 3px !important;
width: 32% !important;
	}

@media (max-width: 767px) {
   .woocommerce ul.products li.product a.woocommerce-LoopProduct-link .onsale {
		 width: 40px !important;
    height: 40px !important;
		 left:  unset !important; 
    right: 9px !important;
	}
/* [03.07] :not(.slick-slide): у каруселі Ti-potrebbe-piacere ширину карткам ставить slick, а не це правило */
.woocommerce ul.products li.product.product_cat-corsi-in-presenza:not(.slick-slide), .woocommerce ul.products li.product.product_cat-corsi-online:not(.slick-slide){
	
	    margin: 3px !important;
width: 47% !important;
	}
}

@media (min-width: 1600px) {
  .section-slideshow {
    height: auto !important;
  }
}

@font-face {
    font-family: ''High Empathy'';
    src: url(''/wp-content/uploads/fonts/High-Empathy.woff2'') format(''woff2''),
         url(''/wp-content/uploads/fonts/High-Empathy.woff'') format(''woff'');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* MIDA-1.5 banner legibility */
.section-slideshow .slick-slide h1,.section-slideshow .slick-slide h2,.section-slideshow .slick-slide h3,.section-slideshow .slick-slide h4,.section-slideshow .slick-slide p,.section-slideshow .slick-slide .btn,.section-slideshow .slick-slide a.button,.section-slideshow .slick-slide a{text-shadow:0 1px 10px rgba(0,0,0,.38);}

/* MIDA-1.6 mobile banner top offset */
@media (max-width:767px){.section-slideshow{margin-top:85px !important;}}

/* MIDA-1.5b category header legibility */
.woocommerce-products-header__title,.woocommerce-products-header .term-description,.woocommerce-products-header p,.woocommerce-products-header .page-title{text-shadow:0 1px 10px rgba(0,0,0,.45);}

/* MIDA-1.12 sale badge clip */
.featured-carousel .products li.product,.featured-carousel .woocommerce-LoopProduct-link{overflow:visible !important;}.featured-carousel .products li.product .onsale,.featured-carousel span.onsale{top:6px !important;right:6px !important;left:auto !important;z-index:3;}

/* MIDA-1.10 tablet raise banner2 copy */
@media (min-width:768px) and (max-width:1199px){.section-slideshow .banner-copy .banner-cta{bottom:136px !important;}.section-slideshow .banner-copy .description{bottom:180px !important;}}

/* MIDA-8.2 hide shipping notice in empty side cart */
.xoo-wsc-container:has(.xoo-wsc-empty-cart) .xoo-wsc-footer,.xoo-wsc-sc-cont:has(.xoo-wsc-empty-cart) .xoo-wsc-footer{display:none !important;}

/* MIDA-1.9 landscape candy banner fit */
@media (orientation:landscape) and (max-width:926px){.section-slideshow{margin-top:0 !important;}.candy-banner{min-height:275px !important;height:275px !important;}.candy-banner .banner-copy{position:absolute !important;height:100% !important;padding:0 !important;}.candy-banner .banner-copy h1{font-size:30px !important;line-height:1.05 !important;}.candy-banner .banner-copy .eyebrow{font-size:12px !important;}.candy-banner .banner-copy .description{position:absolute !important;bottom:46px !important;top:auto !important;font-size:12px !important;}.candy-banner .banner-cta{position:absolute !important;bottom:12px !important;top:auto !important;}}

/* MIDA-6.2 quick-view eye icon */
.woosq-btn .woosq-btn-icon{display:inline-block !important;width:18px;height:18px;background:url("data:image/svg+xml,%3Csvg xmlns=''http://www.w3.org/2000/svg'' viewBox=''0 0 24 24'' fill=''%23D3353D''%3E%3Cpath d=''M12 5c-7 0-10 7-10 7s3 7 10 7 10-7 10-7-3-7-10-7zm0 11a4 4 0 110-8 4 4 0 010 8z''/%3E%3C/svg%3E") center/contain no-repeat !important;}
.woosq-btn .woosq-btn-icon::before{content:none !important;}

/* MIDA-5.2 sort dropdown style */
.woocommerce-ordering select.orderby,select.orderby{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#FBF4EC;color:#D3353D;border:1px solid #D3353D;border-radius:8px;padding:9px 38px 9px 16px;font-weight:500;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns=''http://www.w3.org/2000/svg'' viewBox=''0 0 12 8'' fill=''none'' stroke=''%23D3353D'' stroke-width=''2''%3E%3Cpath d=''M1 1.5L6 6.5L11 1.5''/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:12px 8px;line-height:1.2;max-width:100%;}
.woocommerce-ordering select.orderby:hover{background-color:#F6E8DA;}
.woocommerce-ordering select.orderby:focus{outline:none;box-shadow:0 0 0 2px rgba(211,53,61,.25);}

/* MIDA-5.2b force border */
.woocommerce-ordering select.orderby,select.orderby{border:1px solid #D3353D !important;}

/* MIDA-8.4 gallery slider arrows */
.wvg-slider-prev-arrow,.wvg-slider-next-arrow,.wvg-thumbnail-prev-arrow,.wvg-thumbnail-next-arrow{display:flex !important;align-items:center;justify-content:center;}
.wvg-slider-prev-arrow::before,.wvg-slider-next-arrow::before,.wvg-thumbnail-prev-arrow::before,.wvg-thumbnail-next-arrow::before{font-family:Arial,Helvetica,sans-serif !important;color:#fff;font-size:18px;line-height:1;font-weight:700;}
.wvg-slider-prev-arrow::before,.wvg-thumbnail-prev-arrow::before{content:"\2039 " !important;}
.wvg-slider-next-arrow::before,.wvg-thumbnail-next-arrow::before{content:"\203A " !important;}

/* MIDA-2.3 2nd-level menu indicator */
ul.sub-menu:not(.sub-menu .sub-menu) > li.menu-item-has-children > a::after{content:"\203A " !important;font-family:Arial,Helvetica,sans-serif !important;font-weight:700;font-size:15px;color:inherit;display:inline-block;}
ul.sub-menu:not(.sub-menu .sub-menu) > li.menu-item-has-children:hover > a::after{content:"+" !important;}

/* MIDA-6.2b remove gallery zoom trigger */
.woo-variation-gallery-trigger,a.woo-variation-gallery-trigger{display:none !important;}

/* MIDA-10.2 checkout cart items no inner scroll */
body.page-id-28 .woocommerce-cart-form .wrapper,.woocommerce-cart-form span.wrapper{max-height:none !important;overflow-y:visible !important;height:auto !important;}

/* MIDA-2.2 compact mega menu on large screens */
@media (min-width:1200px){.navbar-nav .sub-menu > li > a,.menu .sub-menu li > a,.main-menu .sub-menu li > a{padding-top:6px !important;padding-bottom:6px !important;line-height:1.25 !important;}.navbar-nav .sub-menu,.menu .sub-menu{padding-top:6px !important;padding-bottom:6px !important;}}

/* MIDA-1.13 carousel arrows align to image center */
.featured-carousel .slick-prev,.featured-carousel .slick-next,.related .slick-prev,.related .slick-next,.cross-sells .slick-prev,.cross-sells .slick-next,.up-sells .slick-prev,.up-sells .slick-next{top:40% !important;transform:translateY(-50%) !important;}

/* MIDA-1.13b mobile arrows higher */
@media (max-width:767px){.featured-carousel .slick-prev,.featured-carousel .slick-next,.related .slick-prev,.related .slick-next,.cross-sells .slick-prev,.cross-sells .slick-next,.up-sells .slick-prev,.up-sells .slick-next{top:33% !important;}}

/* MIDA-1.12b sale badge overflow on related/cross sliders */
.related ul.products li.product,.related .woocommerce-LoopProduct-link,.cross-sells li.product,.cross-sells .woocommerce-LoopProduct-link,.up-sells li.product,.up-sells .woocommerce-LoopProduct-link,.woocommerce ul.products.slick-slider li.product,.woocommerce ul.products.slick-slider .woocommerce-LoopProduct-link{overflow:visible !important;}
.related .onsale,.cross-sells .onsale,.up-sells .onsale,ul.products.slick-slider .onsale{top:-8px !important;right:0px !important;left:auto !important;z-index:5;}

.sub-menu li a{color:#222 !important;}
.sub-menu li a i{background-color:#222 !important;}
.sub-menu li a:hover{color:#D3353D !important;}
.sub-menu li a:hover i{background-color:#D3353D !important;}


.slick-dots li button:before{background-color:#CFCFCF !important;opacity:1 !important;}
.slick-dots li.slick-active button:before{background-color:#D3353D !important;opacity:1 !important;}

/* MIDA-1.11 banner mobile: white stripe fix + slightly shorter */
@media (max-width:767px){
  .section-slideshow .item{height:calc(100svh - 120px) !important;}
  .section-slideshow.slick-dotted.slick-slider{margin-bottom:0 !important;}
}
/* MIDA-1.14 pre-init: hide overlapping slides before slick loads */
.section-slideshow:not(.slick-initialized) .item{display:none !important;}
.section-slideshow:not(.slick-initialized) .item:first-child{display:flex !important;}

/* MIDA-1.11b landscape banners: compact, no empty fields, dots inside */
@media (orientation:landscape) and (max-width:926px){
  .section-slideshow .item{height:calc(100svh - 55px) !important;min-height:180px !important;max-height:none !important;}
  .section-slideshow .slick-dots{bottom:8px !important;}
  .section-slideshow .item .wrap-content{padding:5px 15px !important;}
  .section-slideshow .item .wrap-content h2{font-size:22px !important;margin-bottom:2px !important;}
  .section-slideshow .item .wrap-content h3{font-size:12px !important;margin-bottom:4px !important;}
  .section-slideshow .item .wrap-content .get-button{margin-top:4px !important;}
  .section-slideshow .item .wrap-content .get-button a{padding:6px 18px !important;font-size:11px !important;}
}


/* === MIDA BATCH-2 FIXES === */

/* 6.1 Side cart: Effettua un ordine button RED */
a.xoo-wsc-ft-btn-cart {
  background-color: #D3353D !important;
  color: #fff !important;
  border-color: #D3353D !important;
}
a.xoo-wsc-ft-btn-cart:hover {
  background-color: #a8272e !important;
  border-color: #a8272e !important;
}

/* 6.2 Side cart: shipping text - normal case, black */
span.xoo-wsc-footer-txt {
  text-transform: none !important;
  color: #333 !important;
}

/* 6.3 Side cart: subtotal price number same size as label */
.xoo-wsc-ft-amt-subtotal .xoo-wsc-ft-amt-value,
.xoo-wsc-ft-amt-subtotal .xoo-wsc-ft-amt-value bdi,
.xoo-wsc-ft-amt-subtotal .xoo-wsc-ft-amt-value .amount {
  font-size: 1em !important;
  font-weight: 600 !important;
}

/* 8.4b Quick view: slick arrows visible in popup gallery */
#woosq-popup .slick-arrow {
  display: flex !important;
  opacity: 1 !important;
  z-index: 10 !important;
}
#woosq-popup .woo-variation-gallery-thumbnail-slider .slick-prev {
  left: -30px !important;
}
#woosq-popup .woo-variation-gallery-thumbnail-slider .slick-next {
  right: -30px !important;
}


/* === MIDA BATCH-3 FIXES === */

/* 1. BESTSELLERS carousel pre-init: hide overflow before slick loads */
.featured-carousel .products:not(.slick-initialized) li.product:not(:first-child) {
  display: none !important;
}

/* 3. Banner gap: zero out top spacing between banner and ticker */
.home .entry-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
#scrollingDiv {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* 4. Honey banner: landscape mobile fix */
@media (orientation: landscape) and (max-width: 950px) and (max-height: 520px) {
  .mdhm-banner { height: 100% !important; }
  .mdhm-video--desktop { display: block !important; }
  .mdhm-video--mobile { display: none !important; }
  .mdhm-content { transform: translateY(8px) !important; }
  .mdhm-pretitle {
    font-size: clamp(16px, 2.3vw, 20px) !important;
    line-height: 1.1 !important;
    margin-bottom: 5px !important;
  }
  .mdhm-title {
    font-size: clamp(44px, 6vw, 54px) !important;
    line-height: 0.95 !important;
    margin: 0 !important;
  }
  .mdhm-subtitle {
    font-size: clamp(12px, 1.65vw, 15px) !important;
    line-height: 1.35 !important;
    margin-top: 18px !important;
  }
  .mdhm-button {
    margin-top: 28px !important;
    font-size: clamp(12px, 1.6vw, 14px) !important;
    padding-bottom: 7px !important;
  }
}

/* 5. Candy banner: landscape mobile fix */
@media (orientation: landscape) and (max-height: 520px) {
  .candy-banner { min-height: 0 !important; height: 100% !important; }
  .candy-banner .desktop-art { display: grid !important; }
  .candy-banner .mobile-art { display: none !important; }
  .candy-banner .eyebrow { margin-top: 25px !important; font-size: 11px !important; }
  .candy-banner h1 { font-size: 28px !important; margin-top: 6px !important; }
  .candy-banner .description { top: 75px !important; font-size: 10px !important; }
  .candy-banner .banner-cta { bottom: 15px !important; font-size: 10px !important; }
}

/* === MIDA BATCH-5 FIXES === */

/* A. Breadcrumb: make Catalogo link clickable (override theme pointer-events:none) */
.woocommerce .woocommerce-breadcrumb a[href="https://mymida.it/catalogo/"],
.woocommerce-breadcrumb a[href="https://mymida.it/catalogo/"] {
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* C. Side cart subtotal: number 13px + bold (override inline .xoo-wsc-footer .amount:18px) */
.xoo-wsc-footer .xoo-wsc-ft-amt.xoo-wsc-ft-amt-subtotal .xoo-wsc-ft-amt-value,
.xoo-wsc-footer .xoo-wsc-ft-amt.xoo-wsc-ft-amt-subtotal .woocommerce-Price-amount.amount,
.xoo-wsc-footer .xoo-wsc-ft-amt.xoo-wsc-ft-amt-subtotal .woocommerce-Price-amount.amount bdi {
  font-size: 13px !important;
  font-weight: 600 !important;
}

/* D. Side cart shipping/footer text: black, sentence case (not uppercase/red) */
.xoo-wsc-footer span.xoo-wsc-footer-txt,
span.xoo-wsc-footer-txt {
  text-transform: none !important;
  color: #222 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
}

/* E. Main homepage slideshow: hide stacked slides before slick initializes */
.section-slideshow:not(.slick-initialized) > .item:not(:first-child) {
  display: none !important;
}
.section-slideshow:not(.slick-initialized) {
  overflow: hidden !important;
  max-height: calc(100vh - 125px);
}

/* F. Candy banner phone-landscape: CTA must clear the slideshow pagination dots */
@media (orientation: landscape) and (max-height: 520px) {
  .candy-banner .banner-cta {
    bottom: 34px !important;
  }
  .section-slideshow .slick-dots {
    bottom: 8px !important;
  }
}

/* === MIDA BATCH-6 FIXES === */

/* 1. Side cart "Effettua un ordine" button: PERMANENTLY red, hover darker red */
.xoo-wsc-footer a.xoo-wsc-ft-btn-cart,
a.xoo-wsc-btn.xoo-wsc-ft-btn-cart,
a.xoo-wsc-ft-btn-cart {
  background-color: #D3353D !important;
  background: #D3353D !important;
  color: #fff !important;
  border: 1px solid #D3353D !important;
}
.xoo-wsc-footer a.xoo-wsc-ft-btn-cart .amount,
a.xoo-wsc-ft-btn-cart .amount,
a.xoo-wsc-ft-btn-cart * {
  color: #fff !important;
}
.xoo-wsc-footer a.xoo-wsc-ft-btn-cart:hover,
a.xoo-wsc-btn.xoo-wsc-ft-btn-cart:hover,
a.xoo-wsc-ft-btn-cart:hover {
  background-color: #a8272e !important;
  background: #a8272e !important;
  border-color: #a8272e !important;
  color: #fff !important;
}

/* 2. Quick view gallery arrows: ALWAYS visible (like hover), red circle + white icon */
#woosq-popup .images .slick-arrow,
#woosq-popup .slick-slider .slick-arrow {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  background: #D3353D !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  z-index: 20 !important;
}
#woosq-popup .images .slick-arrow:before,
#woosq-popup .slick-slider .slick-arrow:before {
  opacity: 1 !important;
  background-color: #fff !important;
  width: 18px !important;
  height: 18px !important;
}
#woosq-popup .images .slick-prev,
#woosq-popup .slick-slider .slick-prev { left: 12px !important; right: auto !important; }
#woosq-popup .images .slick-next,
#woosq-popup .slick-slider .slick-next { right: 12px !important; left: auto !important; }

/* 4. Search/shop results: hide any genuinely empty product placeholder card */
.woocommerce ul.products li.product:empty,
.woocommerce .contain-shop ul.products li.product:empty {
  display: none !important;
}


/* === MIDA BATCH-7 FIXES === */

/* Quick view gallery: pagination DOTS always visible (not only on hover) */
#woosq-popup .images .slick-dots,
#woosq-popup .slick-slider .slick-dots {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}
#woosq-popup .images .slick-dots li button:before,
#woosq-popup .slick-slider .slick-dots li button:before {
  opacity: .4 !important;
  color: #D3353D !important;
}
#woosq-popup .images .slick-dots li.slick-active button:before,
#woosq-popup .slick-slider .slick-dots li.slick-active button:before {
  opacity: 1 !important;
  color: #D3353D !important;
}

/* Cart table: keep desktop layout on tablets too (iPad mini ~768-1024, like iPad Pro) */
@media (min-width: 601px) and (max-width: 1024px) {
  body.woocommerce-cart .woocommerce-cart-form { overflow-x: auto !important; }
  body.woocommerce-cart table.shop_table_responsive,
  body.woocommerce-cart table.cart { display: table !important; }
  body.woocommerce-cart table.shop_table_responsive thead { display: table-header-group !important; }
  body.woocommerce-cart table.shop_table_responsive tbody { display: table-row-group !important; }
  body.woocommerce-cart table.shop_table_responsive tr { display: table-row !important; }
  body.woocommerce-cart table.shop_table_responsive tr td,
  body.woocommerce-cart table.shop_table_responsive tr th {
    display: table-cell !important;
    text-align: left !important;
    width: auto !important;
  }
body.woocommerce-cart table.shop_table_responsive tr td::before { display: none !important; content: "" !important; }
}

/* MIDA-HEADER-1: remove duplicate desktop gap under the header on catalog pages */
@media (min-width: 992px) {
  body.tax-product_cat #content,
  body.post-type-archive-product #content,
  body.page-id-26 #content,
  body.single-product #content,
  body.page-template-theme-offerte-in-primo-piano #content,
  body.page-id-11676 #content {
    padding-top: 0 !important;
  }
}


/* === MIDA BATCH-8: Mega menu clean flyout + pre-init guards === */

/* 2nd-level item: relative so its submenu opens aligned right beside it (no hover gap) */
header#header .bottom-header .main-menu .mega-menu > li > .sub-menu > li {
  position: relative !important;
}
header#header .bottom-header .main-menu .mega-menu > li > .sub-menu > li.menu-item-has-children > a {
  position: relative !important;
  padding-right: 26px !important;
}
header#header .bottom-header .main-menu .mega-menu > li > .sub-menu > li.menu-item-has-children > a:after {
  content: "+" !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  background: none !important;
  background-color: transparent !important;
  color: #D3353D !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  width: auto !important;
  height: auto !important;
  position: absolute !important;
  top: 50% !important;
  right: 8px !important;
  left: auto !important;
  transform: translateY(-50%) !important;
}
header#header .bottom-header .main-menu .mega-menu > li > .sub-menu > li.menu-item-has-children:hover > a:after {
  content:"\2212 " !important;
  transform: translateY(-50%) !important;
}

/* 3rd-level panel: opens to the right, aligned to the item (slightly higher) */
header#header .bottom-header .main-menu .mega-menu > li > .sub-menu > li > ul.sub-menu {
  position: absolute !important;
  left: 100% !important;
  top: -6px !important;
  right: auto !important;
  width: 235px !important;
  min-width: 235px !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  background: #FAF6EE !important;
  box-shadow: 3px 3px 14px rgba(0,0,0,.12) !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 6px 0 !important;
  margin: 0 !important;
  transform: none !important;
  opacity: 1 !important;
  display: none !important;
}
header#header .bottom-header .main-menu .mega-menu > li > .sub-menu > li:hover > ul.sub-menu {
  display: block !important;
}
header#header .bottom-header .main-menu .mega-menu > li > .sub-menu > li > ul.sub-menu > li {
  position: relative !important;
  width: 100% !important;
  border-bottom: none !important;
}
header#header .bottom-header .main-menu .mega-menu > li > .sub-menu > li > ul.sub-menu > li > a {
  padding: 8px 26px 8px 16px !important;
}
header#header .bottom-header .main-menu .mega-menu > li > .sub-menu > li > ul.sub-menu > li.menu-item-has-children > a:after {
  content: "+" !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  background: none !important;
  background-color: transparent !important;
  color: #D3353D !important;
  font-size: 16px !important;
  line-height: 1 !important;
  width: auto !important;
  height: auto !important;
  position: absolute !important;
  top: 50% !important;
  right: 8px !important;
  left: auto !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
}
header#header .bottom-header .main-menu .mega-menu > li > .sub-menu > li > ul.sub-menu > li.menu-item-has-children:hover > a:after {
  content:"\2212 " !important;
  transform: translateY(-50%) !important;
}

/* 4th-level panel: opens to the right of its 3rd-level item */
header#header .bottom-header .main-menu .mega-menu > li > .sub-menu > li > ul.sub-menu > li > ul.sub-menu {
  position: absolute !important;
  left: 100% !important;
  top: -6px !important;
  right: auto !important;
  width: 215px !important;
  min-width: 215px !important;
  height: auto !important;
  overflow: visible !important;
  background: #FAF6EE !important;
  box-shadow: 3px 3px 14px rgba(0,0,0,.12) !important;
  border: none !important;
  padding: 6px 0 !important;
  margin: 0 !important;
  transform: none !important;
  opacity: 1 !important;
  display: none !important;
}
header#header .bottom-header .main-menu .mega-menu > li > .sub-menu > li > ul.sub-menu > li:hover > ul.sub-menu {
  display: block !important;
}
header#header .bottom-header .main-menu .mega-menu > li > .sub-menu > li > ul.sub-menu > li > ul.sub-menu > li {
  position: relative !important;
  width: 100% !important;
}

/* Pre-init guards: before slick.js initializes, show only the first item (no stacked duplicates) */
.section-slideshow:not(.slick-initialized) > .item:not(:first-child) { display: none !important; }
#scrollingDiv:not(.slick-initialized) > .item:not(:first-child) { display: none !important; }
#scrollingDiv:not(.slick-initialized) { white-space: nowrap; overflow: hidden !important; }


/* === MIDA BATCH-9: phone banner gap + quick-view arrow centering === */

/* Phone: force all banner slides to one uniform height (Certezza had min-height:600/calc-105,
   taller than the .item, so slick left a gap below the shorter Honeymoon slide) */
@media (max-width: 767px) {
  .section-slideshow .item {
    height: calc(100vh - 125px) !important;
    max-height: calc(100vh - 125px) !important;
    overflow: hidden !important;
  }
  .section-slideshow .item > .mida-certezza,
  .section-slideshow .item > .candy-banner,
  .section-slideshow .item > .mdhm-banner,
  .section-slideshow .item > section {
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
  }
  .section-slideshow { margin-bottom: 0 !important; }
  #scrollingDiv { margin-top: 0 !important; }
}

/* Quick view gallery arrows: center the arrow icon (was slightly off / crooked) */
#woosq-popup .images .slick-arrow,
#woosq-popup .slick-slider .slick-arrow {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
#woosq-popup .images .slick-arrow:before,
#woosq-popup .slick-slider .slick-arrow:before {
  width: 16px !important;
  height: 16px !important;
  margin: 0 auto !important;
  background-color: #fff !important;
  opacity: 1 !important;
  -webkit-mask-size: contain !important;
  mask-size: contain !important;
  -webkit-mask-position: center !important;
  mask-position: center !important;
  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;
}


/* === MIDA BATCH-10: banner item height (user request) + crisp quick-view chevrons === */

/* Phone: banner height — explicit value so slick fade does not collapse it (height:100% had collapsed it to 395px) */
@media (max-width: 767px) {
  .section-slideshow,
  .section-slideshow .slick-list,
  .section-slideshow .slick-track,
  .section-slideshow .item {
    height: calc(100vh - 125px) !important;
    min-height: 600px !important;
    max-height: 840px !important;
  }
}

/* Quick-view gallery arrows: crisp CSS chevron (the masked icon looked crooked) */
#woosq-popup .images .slick-arrow:before,
#woosq-popup .slick-slider .slick-arrow:before {
  content: "" !important;
  -webkit-mask: none !important;
  mask: none !important;
  background: none !important;
  width: 9px !important;
  height: 9px !important;
  border-top: 2px solid #fff !important;
  border-right: 2px solid #fff !important;
  border-left: 0 !important;
  border-bottom: 0 !important;
  border-radius: 1px !important;
  opacity: 1 !important;
}
#woosq-popup .images .slick-next:before,
#woosq-popup .slick-slider .slick-next:before {
  transform: rotate(45deg) !important;
  margin-left: -3px !important;
}
#woosq-popup .images .slick-prev:before,
#woosq-popup .slick-slider .slick-prev:before {
  transform: rotate(-135deg) !important;
  margin-right: -3px !important;
}


/* === MIDA BATCH-11: quick-view (predogliad) button -> clean outline eye SVG === */
.woosq-btn .woosq-btn-icon.woosq-icon-1::before,
.woosq-btn-icon.woosq-icon-1::before,
span.woosq-btn-icon::before {
  content: "" !important;
  display: block !important;
  width: 22px !important;
  height: 22px !important;
  background-color: transparent !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D3353D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  -webkit-mask: none !important;
  mask: none !important;
  font-family: inherit !important;
}


/* === MIDA BATCH-12: fix quick-view arrow chevron + eye icon centering === */

/* Arrows: kill the auto margins (resolved to 30px, shoving the chevron off-center) */
#woosq-popup .images .slick-arrow:before,
#woosq-popup .slick-slider .slick-arrow:before {
  margin: 0 !important;
  position: relative !important;
}
#woosq-popup .images .slick-next:before,
#woosq-popup .slick-slider .slick-next:before {
  transform: translateX(-1px) rotate(45deg) !important;
}
#woosq-popup .images .slick-prev:before,
#woosq-popup .slick-slider .slick-prev:before {
  transform: translateX(1px) rotate(-135deg) !important;
}

/* Eye icon (quick-view button): center it, nudge slightly left &amp; up per request */
.woosq-btn.woosq-btn-has-icon,
.woosq-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
}
.woosq-btn .woosq-btn-icon.woosq-icon-1,
.woosq-btn-icon.woosq-icon-1 {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  height: 22px !important;
  line-height: 1 !important;
}
.woosq-btn .woosq-btn-icon.woosq-icon-1::before,
.woosq-btn-icon.woosq-icon-1::before,
span.woosq-btn-icon::before {
  margin: 0 !important;
  position: relative !important;
  left: -1px !important;
  top: -1px !important;
}
/* === MIDA BATCH-BS: bestsellers carousel — add-to-cart button full card width === */
#BESTSELLERS ul.products li.product .button,
#BESTSELLERS ul.products li.product .added_to_cart,
.featured-carousel ul.products li.product .button,
.featured-carousel ul.products li.product .added_to_cart {
  display: flex !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  justify-content: center !important;
  align-items: center !important;
  box-sizing: border-box !important;
}

/* === MIDA BATCH-BS2: bestsellers — hide "Visualizza carrello" link so adding to cart doesn't shift the row === */
#BESTSELLERS ul.products li.product .added_to_cart,
.featured-carousel ul.products li.product .added_to_cart {
  display: none !important;
}

/* === MIDA BATCH-ORD: restore the down-chevron on the shop "Ordinamento" dropdown === */
.woocommerce-ordering { position: relative !important; }
.woocommerce-ordering::after {
  content: "" !important;
  position: absolute !important;
  right: 18px !important;
  top: 50% !important;
  width: 8px !important;
  height: 8px !important;
  border-right: 2px solid #D3353D !important;
  border-bottom: 2px solid #D3353D !important;
  transform: translateY(-70%) rotate(45deg) !important;
  pointer-events: none !important;
}

/* === MIDA BATCH-ORD2: chevron only on the real orderby select bar, not the sidebar sort-options list === */
.woocommerce-ordering:not(:has(select.orderby))::after {
  content: none !important;
  display: none !important;
}

/* === MIDA BATCH-BADGE: carousel discount badge anchored to the right edge so it never gets clipped === */
#BESTSELLERS ul.products li.product .onsale,
.featured-carousel ul.products li.product .onsale {
  left: auto !important;
  right: 12px !important;
}

/* === MIDA BATCH-BADGE2: slider top clearance so the discount badge isn't clipped === */
#BESTSELLERS .slick-list,
.featured-carousel .slick-list { padding-top: 14px !important; }
#BESTSELLERS ul.products li.product .onsale,
.featured-carousel ul.products li.product .onsale { top: 10px !important; right: 10px !important; }

/* === MIDA BATCH-BANNER: readability gradient under text on slideshow banners === */
.section-slideshow .item .mdhm-banner { position: relative !important; }
.section-slideshow .item .mdhm-banner::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 22%, rgba(0,0,0,0.5) 100%) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}
.section-slideshow .item .mdhm-banner .mdhm-content { position: relative !important; z-index: 2 !important; }

/* === MIDA BATCH-QV: quick-view title bold + grey gallery pagination dots === */
.woosq-product .product_title,
.woosq-popup .product_title,
.woosq .summary .product_title { font-weight: 700 !important; }

/* gallery pagination: inactive dots grey (were transparent), active = brand red */
.woosq-product .flex-control-nav li a,
.woosq-popup .flex-control-nav li a,
.woosq-product .slick-dots li button,
.woosq-product .woo-variation-gallery-slider .flex-control-nav li a {
  background-color: #c7c7c7 !important; opacity: 1 !important; border-color: #c7c7c7 !important;
}
.woosq-product .flex-control-nav li a.flex-active,
.woosq-popup .flex-control-nav li a.flex-active,
.woosq-product .slick-dots li.slick-active button {
  background-color: #c9011d !important; border-color: #c9011d !important;
}
.woosq-product .slick-dots li button::before { color: #c7c7c7 !important; opacity: 1 !important; }
.woosq-product .slick-dots li.slick-active button::before { color: #c9011d !important; }

/* === MIDA BATCH-MENU: catalog mega-menu — remove 3rd-level step (#6) + dark-grey dropdown text (#7) === */
/* #6: nested 3rd-level flyout aligns to its parent (was top:10px / left:150% = a step + gap) */
header#header .bottom-header .main-menu > ul > li ul.sub-menu li ul.sub-menu {
  left: 100% !important;
  top: 0 !important;
}
/* #7: dropdown text + chevron dark grey for readability (desktop) */
header#header .bottom-header .main-menu ul.sub-menu li > a { color: #333 !important; }
header#header .bottom-header .main-menu ul.sub-menu li > a i,
header#header .bottom-header .main-menu ul.sub-menu li > a::after,
header#header .bottom-header .main-menu ul.sub-menu li > a::before { color: #333 !important; }
/* #7: mobile burger dropdown text + chevron dark grey */
.mobile__menu nav ul li > a { color: #333 !important; }
.mobile__menu nav ul li > a i,
.mobile__menu nav ul li > a::after,
.mobile__menu nav ul li > a .toggle-submenu { color: #333 !important; }

/* === MIDA BATCH-MENU2: remove the semi-bold from catalog dropdown items (font-weight 500 -> 400) === */
header#header .bottom-header .main-menu ul.sub-menu li > a { font-weight: 400 !important; }

/* === MIDA BATCH-LOADER: replace woobewoo filter purple-"W" loader with a spinning circle === */
.woobewoo-filter-loader.spinner,
.woobewoo-filter-loader {
  background-image: none !important;
  background: none !important;
  width: 46px !important;
  height: 46px !important;
  border: 4px solid rgba(201,1,29,0.18) !important;
  border-top-color: #c9011d !important;
  border-radius: 50% !important;
  box-sizing: border-box !important;
  animation: mida-spin 0.8s linear infinite !important;
}
@keyframes mida-spin { to { transform: rotate(360deg); } }

/* === MIDA BATCH-QV2: quick-view gallery pagination dots ROUND (fix the square boxes from BATCH-QV) === */
.woosq-product .slick-dots li button,
.woosq-popup .slick-dots li button { background-color: transparent !important; }
.woosq-product .slick-dots li,
.woosq-product .slick-dots li button,
.woosq-popup .slick-dots li button,
.woosq-product .flex-control-nav li,
.woosq-product .flex-control-nav li a,
.woosq-popup .flex-control-nav li a,
.woosq-product .woo-variation-gallery-slider .flex-control-nav li a { border-radius: 50% !important; }

/* === MIDA BATCH-QV3: quick-view dots equal size — both are the ::before bullet, only colour differs === */
.woosq-product .slick-dots li button,
.woosq-product .slick-dots li.slick-active button,
.woosq-popup .slick-dots li button,
.woosq-popup .slick-dots li.slick-active button { background: none !important; background-color: transparent !important; }
.woosq-product .slick-dots li button::before,
.woosq-product .slick-dots li.slick-active button::before,
.woosq-popup .slick-dots li button::before,
.woosq-popup .slick-dots li.slick-active button::before {
  font-size: 13px !important; line-height: 13px !important; width: 13px !important; height: 13px !important; opacity: 1 !important;
}
.woosq-product .slick-dots li button::before,
.woosq-popup .slick-dots li button::before { color: #c7c7c7 !important; }
.woosq-product .slick-dots li.slick-active button::before,
.woosq-popup .slick-dots li.slick-active button::before { color: #c9011d !important; }

/* === MIDA BATCH-QV4: quick-view dot colour — grey inactive / red active (high specificity to beat theme) === */
html body .woosq-product .slick-dots li:not(.slick-active) button::before,
.woosq-popup .woosq-product .slick-dots li:not(.slick-active) button::before { color: #c7c7c7 !important; opacity: 1 !important; }
html body .woosq-product .slick-dots li.slick-active button::before,
.woosq-popup .woosq-product .slick-dots li.slick-active button::before { color: #c9011d !important; opacity: 1 !important; }

/* === MIDA BATCH-QV5: dots final — same size, distinguishable (grey/faded inactive vs full red active) === */
html body .woosq-product .slick-dots li:not(.slick-active) > button::before,
.woosq-popup .woosq-product .slick-dots li:not(.slick-active) > button::before { color: #bdbdbd !important; opacity: 0.5 !important; }
html body .woosq-product .slick-dots li.slick-active > button::before,
.woosq-popup .woosq-product .slick-dots li.slick-active > button::before { color: #c9011d !important; opacity: 1 !important; }

/* === MIDA BATCH-NOSORT: hide the duplicate sorting list in the side filter (top "Ordinamento" dropdown stays) === */
.woocommerce-ordering:not(:has(select.orderby)) { display: none !important; }

/* === MIDA BATCH-PROD: single product meta tidy (COD + stock each on its own line, like the reference) === */
body.single-product div.product .summary .mida-sku,
body.single-product div.product .summary .stock {
  display: block !important;
  float: none !important;
  clear: both !important;
  text-align: left !important;
  width: auto !important;
  max-width: none !important;
  margin: 6px 0 0 !important;
}
/* out-of-stock "Esaurito" as plain red text (not a colliding red box) */
body.single-product div.product .summary .stock.out-of-stock {
  background: none !important;
  background-color: transparent !important;
  color: #c9011d !important;
  padding: 0 !important;
  height: auto !important;
  line-height: 1.3 !important;
  font-size: inherit !important;
  font-weight: 600 !important;
}

/* === MIDA BATCH-PROD2: summary is flex-row — force COD + stock to full-width so they stack on own lines === */
body.single-product div.product .summary.entry-summary { flex-wrap: wrap !important; }
body.single-product div.product .summary .mida-sku,
body.single-product div.product .summary .stock {
  flex: 0 0 100% !important;
  width: 100% !important;

}

/* BATCH-MEC-BADGE */
body.single-product .mec-product-discount-badge { display: none !important; }
/* BATCH-PROD2-ORDER1 */
body.single-product div.product .summary .mida-sku,
body.single-product div.product .summary .stock { order: 1 !important; }
/* BATCH-CART-GAP */
@media (min-width:992px){
  body.woocommerce-cart main,
  body.woocommerce-checkout main,
  body.woocommerce-account main,
  body.single-product main,
  body.post-type-archive-product main,
  body.tax-product_cat main,
  body.page main {
    padding-top: 0 !important;
  }
}

/* BATCH-CART-SCROLL */
@media (min-width:992px){
  .xoo-wsc-products {
    max-height: 600px !important;
    overflow-y: auto !important;
  }
}

/* BATCH-CHECKOUT-CART-SCROLL */
@media (min-width:768px){
  body.woocommerce-checkout .woocommerce-cart-form {
    padding: 0 !important;
    max-height: min(600px, 70vh) !important;
    overflow-y: auto !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(165,100,100,0.25) transparent;
    /* clip scrollbar to rounded corners */
    clip-path: inset(0 round 50px 50px 0 0);
  }
  body.woocommerce-checkout .woocommerce-cart-form::-webkit-scrollbar { width: 5px; }
  body.woocommerce-checkout .woocommerce-cart-form::-webkit-scrollbar-track { background: transparent; }
  body.woocommerce-checkout .woocommerce-cart-form::-webkit-scrollbar-thumb { background-color: rgba(165,100,100,0.35); border-radius: 3px; }
}

/* BATCH-TABLET-PENNELLINO */
@media (min-width:600px) and (max-width:991px){
  h2.d-img-inline { line-height: 2.7 !important; }
  h2.d-img-inline img { height: 3.2em !important; width: auto !important; vertical-align: middle !important; position: relative !important; top: -0.5em !important; }
  .wp-block-spacer { height: 20px !important; max-height: 20px !important; }
}
@media (max-width:599px){
  .wp-block-spacer { height: 20px !important; max-height: 20px !important; }
}

/* BATCH-LOYALTY-COLS */
@media (min-width:600px){
  .wp-block-columns.container-fluid.gap-1.position-relative {
    flex-wrap: nowrap !important;
  }
  .wp-block-columns.container-fluid.gap-1.position-relative .wp-block-column {
    flex-basis: 50% !important;
    min-width: 0 !important;
    max-width: 50% !important;
  }
}

/* BATCH-BESTSELLERS-GAP */
@media (max-width:991px){
  .wp-block-group.featured-carousel {
    margin-top: 4px !important;
  }
}


/* BATCH-BREADCRUMB-ALIGN */
/* Desktop: centered (default) */
.woocommerce-breadcrumb {
  text-align: center !important;
}
/* Phone: left-aligned, pulled up tight under header */
@media (max-width: 767px) {
  .woocommerce-breadcrumb {
    text-align: left !important;
    margin-top: 0 !important;
    font-size: 15px !important;
  }
  .woocommerce .woocommerce-breadcrumb {
    order: 2;
    padding: 0px 15px 0 !important;
  }
}
/* Tablet: left-aligned, small top gap */
@media (min-width: 768px) and (max-width: 991px) {
  .woocommerce-breadcrumb {
    text-align: left !important;
    margin-top: 0 !important;
    font-size: 15px !important;
  }
  .woocommerce .woocommerce-breadcrumb {
    order: 2;
    padding: 5px 15px 0 !important;
  }
}

/* BATCH-HIDE-SIDECART-CHECKOUT */
.xoo-wsc-ft-btn-checkout { display: none !important; }
/* END-BATCH-HIDE-SIDECART-CHECKOUT */

/* BATCH-MOBILE-L3-FIX */
.mobile__menu li.menu-item ul.sub-menu {
  position: static !important;
  top: 0 !important;
  min-width: 0 !important;
  box-shadow: none !important;
}
/* END-BATCH-MOBILE-L3-FIX */

/* BATCH-CART-ATC-SIZE */
@media (max-width: 991px) {
  body.woocommerce-cart .add_to_cart_button {
    font-size: 11px !important;
  }
}
/* END-BATCH-CART-ATC-SIZE */

/* BATCH-CART-HIDE-NEWBADGE */
body.woocommerce-cart .new-badge-optimized {
  display: none !important;
}
/* END-BATCH-CART-HIDE-NEWBADGE */

/* BATCH-CART-CHECKOUT-LAYOUT */
/* BNPL message injected at priority 5 (before button) — flex order pushes it below button+express */
body.woocommerce-cart .wc-proceed-to-checkout {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}
body.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
  order: 1 !important;
}
body.woocommerce-cart .wc-proceed-to-checkout .wcpay-express-checkout-wrapper {
  order: 2 !important;
}
body.woocommerce-cart .wc-proceed-to-checkout #payment-method-message {
  order: 99 !important;
  margin-top: 4px !important;
}
/* END-BATCH-CART-CHECKOUT-LAYOUT */

/* BATCH-CHECKOUT-CART-TABLE */
/* Cart form product table on /pagamento/ — mirrors /carrello/ CSS but for body.woocommerce-checkout */

/* Tablet (577–1024px): force table display + 48px thumbnails */
@media (min-width:577px) and (max-width:1024px) {
  body.woocommerce-checkout .entry-content .container { max-width:100% !important; padding-left:12px !important; padding-right:12px !important; }
  body.woocommerce-checkout .woocommerce-cart-form { padding:6px !important; overflow-x:visible !important; }
  body.woocommerce-checkout .woocommerce-cart-form > .shop_table,
  body.woocommerce-checkout table.cart {
    display:table !important; width:100% !important; table-layout:fixed !important; min-width:0 !important;
  }
  body.woocommerce-checkout table.cart thead { display:table-header-group !important; }
  body.woocommerce-checkout table.cart tbody { display:table-row-group !important; }
  body.woocommerce-checkout table.cart tr { display:table-row !important; }
  body.woocommerce-checkout table.cart tr td,
  body.woocommerce-checkout table.cart tr th {
    display:table-cell !important; text-align:left !important; vertical-align:middle !important; width:auto !important;
    padding:10px 6px !important; font-size:14px !important; line-height:1.25 !important;
    word-break:break-word !important; overflow-wrap:anywhere !important; white-space:normal !important;
  }
  body.woocommerce-checkout table.cart tr td::before { display:none !important; }
  body.woocommerce-checkout table.cart th.product-remove,
  body.woocommerce-checkout table.cart td.product-remove { width:14px !important; padding-left:0 !important; padding-right:0 !important; text-align:center !important; }
  body.woocommerce-checkout table.cart th.product-thumbnail,
  body.woocommerce-checkout table.cart td.product-thumbnail { width:56px !important; text-align:center !important; }
  body.woocommerce-checkout table.cart td.product-thumbnail img { width:48px !important; height:auto !important; display:block !important; margin:0 auto !important; }
  body.woocommerce-checkout table.cart th.product-price,
  body.woocommerce-checkout table.cart td.product-price,
  body.woocommerce-checkout table.cart th.product-subtotal,
  body.woocommerce-checkout table.cart td.product-subtotal { width:90px !important; text-align:center !important; font-size:14px !important; }
  body.woocommerce-checkout table.cart th.product-quantity,
  body.woocommerce-checkout table.cart td.product-quantity { width:130px !important; text-align:center !important; }
}

/* Desktop (>=1025px): large 104px thumbnail */
@media (min-width:1025px) {
  body.woocommerce-checkout table.cart td.product-thumbnail { width:120px !important; }
  body.woocommerce-checkout table.cart td.product-thumbnail img { width:104px !important; height:auto !important; max-width:104px !important; display:block !important; }
}

/* Variation text: remove indent, inline — all screen sizes */
body.woocommerce-checkout .woocommerce-cart-form td.product-name dl.variation,
body.woocommerce-checkout .woocommerce-cart-form td.product-name .variation {
  margin:4px 0 0 !important; padding:0 !important;
  font-size:11px !important; line-height:1.35 !important; color:#777 !important;
  word-break:normal !important; overflow-wrap:break-word !important;
}
body.woocommerce-checkout .woocommerce-cart-form td.product-name dl.variation dt,
body.woocommerce-checkout .woocommerce-cart-form td.product-name dl.variation dd {
  display:inline !important; float:none !important; clear:none !important;
  margin:0 4px 0 0 !important; padding:0 !important; font-weight:400 !important; color:#777 !important;
}
body.woocommerce-checkout .woocommerce-cart-form td.product-name dl.variation dd p { display:inline !important; margin:0 !important; }
/* END BATCH-CHECKOUT-CART-TABLE */

/* BATCH-CHECKOUT-MOBILE-FIX */
/* Mobile (<=576px): compact table, no thumbnail */
@media (max-width:576px) {
  body.woocommerce-checkout .woocommerce-cart-form { padding:6px !important; overflow-x:visible !important; }
  body.woocommerce-checkout .woocommerce-cart-form > .shop_table,
  body.woocommerce-checkout table.cart {
    display:table !important; width:100% !important; table-layout:fixed !important; min-width:0 !important;
  }
  body.woocommerce-checkout table.cart thead { display:table-header-group !important; }
  body.woocommerce-checkout table.cart tbody { display:table-row-group !important; }
  body.woocommerce-checkout table.cart tr { display:table-row !important; }
  body.woocommerce-checkout table.cart tr td,
  body.woocommerce-checkout table.cart tr th {
    display:table-cell !important; vertical-align:middle !important; width:auto !important;
    padding:6px 2px !important; font-size:12px !important; line-height:1.25 !important;
    word-break:break-word !important; overflow-wrap:anywhere !important; white-space:normal !important;
  }
  body.woocommerce-checkout table.cart tr td::before { display:none !important; }
  body.woocommerce-checkout table.cart th.product-thumbnail,
  body.woocommerce-checkout table.cart td.product-thumbnail { display:none !important; }
  body.woocommerce-checkout table.cart th.product-remove,
  body.woocommerce-checkout table.cart td.product-remove { width:14px !important; padding-left:0 !important; padding-right:0 !important; text-align:center !important; }
  body.woocommerce-checkout table.cart th.product-price,
  body.woocommerce-checkout table.cart td.product-price,
  body.woocommerce-checkout table.cart th.product-subtotal,
  body.woocommerce-checkout table.cart td.product-subtotal { width:56px !important; text-align:center !important; font-size:10px !important; }
  body.woocommerce-checkout table.cart td.product-price .amount,
  body.woocommerce-checkout table.cart td.product-subtotal .amount { font-size:10px !important; white-space:nowrap !important; }
  body.woocommerce-checkout table.cart th.product-quantity,
  body.woocommerce-checkout table.cart td.product-quantity { width:72px !important; text-align:center !important; }
}
/* Bottom gap: collapse actions row + cart collaterals on checkout (all screens) */
body.woocommerce-checkout .woocommerce-cart-form td.actions { padding:0 !important; border:0 !important; height:0 !important; overflow:hidden !important; }
body.woocommerce-checkout .woocommerce-cart-form td.actions > * { display:none !important; }
body.woocommerce-checkout .woocommerce-cart-form { padding-bottom:0 !important; margin-bottom:0 !important; }
body.woocommerce-checkout .cart-collaterals { display:none !important; }
/* END BATCH-CHECKOUT-MOBILE-FIX */

/* BATCH-CHECKOUT-GAP-FIX */
@media (max-width:1024px) {
  body.woocommerce-checkout #order_review { padding-top:0 !important; margin-top:0 !important; }
  body.woocommerce-checkout .custom_point_checkout.woocommerce-info { margin-top:8px !important; margin-bottom:8px !important; }
  body.woocommerce-checkout .woocommerce-checkout-review-order-table { margin-bottom:8px !important; }
  body.woocommerce-checkout #payment { margin-top:0 !important; padding-top:0 !important; }
  body.woocommerce-checkout .woocommerce-form-coupon-toggle { margin-top:8px !important; }
}
/* END BATCH-CHECKOUT-GAP-FIX */

/* Checkout desktop: product name padding to prevent overlap with thumbnail */
@media (min-width:1025px) {
  body.woocommerce-checkout table.cart td.product-name,
body.woocommerce-checkout table.cart td.product-price { padding-left:14px !important; }
}

/* BATCH-CART-NAME-DESKTOP */
/* Cart page desktop: product name font size */
@media (min-width:1025px) {
  body.woocommerce-cart table.cart td.product-name a,
  body.woocommerce-cart table.cart td.product-name { font-size:15px !important; line-height:1.4 !important; }
}
/* Remove left margin from variation text everywhere */
.variation { margin-left:0 !important; }
dl.variation { margin-left:0 !important; }
/* END BATCH-CART-NAME-DESKTOP */

/* BATCH-CHECKOUT-HIDE-UPDATE */
body.woocommerce-checkout button[name=update_cart],
body.woocommerce-checkout input[name=update_cart],
body.woocommerce-checkout .woocommerce-cart-form td.actions,
body.woocommerce-checkout .woocommerce-cart-form .actions { display:none !important; height:0 !important; overflow:hidden !important; padding:0 !important; margin:0 !important; border:0 !important; }
/* END BATCH-CHECKOUT-HIDE-UPDATE */

/* BATCH-CHECKOUT-SECTION-GAP */
body.woocommerce-checkout .woocommerce-form-coupon-toggle { margin-top:12px !important; }
body.woocommerce-checkout .custom_point_checkout.woocommerce-info { margin-top:12px !important; }
body.woocommerce-checkout #order_review { margin-top:12px !important; }
/* END BATCH-CHECKOUT-SECTION-GAP */

/* BATCH-CART-CROSSSELLS-NO-QV */
body.woocommerce-cart .cross-sells .woosq-btn,
body.woocommerce-cart .mida-cross-sells .woosq-btn { display:none !important; }
/* END BATCH-CART-CROSSSELLS-NO-QV */


/* BATCH-KLARNA-CENTER-2 */
/* Desktop: full width + centered */
#payment-method-message {
  width: 100% !important;
  text-align: center !important;
}
#payment-method-message iframe,
#payment-method-message > * {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Mobile: spacing below before "Potresti essere interessato a..." */
@media (max-width: 1024px) {
  #payment-method-message {
    margin-bottom: 28px !important;
  }
}

/* BATCH-ORDER-TABLE-RADIUS */
.shop_table.woocommerce-checkout-review-order-table {
  padding: 0 !important;
  border-radius: 0 0 16px 20px !important;
}

/* BATCH-COUPON-WRAPPER */
/* Coupon toggle: add top spacing */
body.woocommerce-checkout .woocommerce-form-coupon-toggle {
  margin-top: 40px !important;
}

/* span.wrapper: reduce bottom padding (was 60px in theme) */
body.woocommerce-checkout .entry-content>.container>.woocommerce table.shop_table.cart tbody span.wrapper,
body.woocommerce-checkout .section-slideshow .item.slide2 .entry-content>.wrap-content>.woocommerce table.shop_table.cart tbody span.wrapper,
.section-slideshow .item.slide2 body.woocommerce-checkout .entry-content>.wrap-content>.woocommerce table.shop_table.cart tbody span.wrapper {
  padding-bottom: 20px !important;
}

/* BATCH-CART-TABLE-BORDER-RADIUS */
/* border-collapse:collapse prevents border-radius on table in Safari/iOS */
@media (min-width: 992px) {
  body.woocommerce-checkout .woocommerce-cart-form table.shop_table.cart {
    border-collapse: separate !important;
    border-spacing: 0 !important;
  }
}

/* BATCH-IPAD-CHECKOUT-RADII */
@media (min-width: 992px) and (max-width: 1199px) {
  .shop_table.woocommerce-checkout-review-order-table {
    border-radius: 0 0 38px 37px !important;
  }
  .woocommerce-cart-form {
    padding: 0 !important;
    border-radius: 43px 42px 0 0 !important;
  }
}

/* BATCH-CARTFORM-PADDING */
body.woocommerce-checkout .woocommerce-cart-form {
  padding: 0 !important;
}

/* BATCH-CART-CROSSSELL-BTN-FONT */
body.woocommerce-cart .mida-cross-sells .woocommerce ul.products li.product a.button,
body.woocommerce-cart .mida-cross-sells ul.products li.product a.button,
body.woocommerce-cart .mida-cross-sells ul.products li.product a.button.add_to_cart_button {
  font-size: 10px !important;
}
/* END-BATCH-CART-CROSSSELL-BTN-FONT */

/* BATCH-BESTSELLERS-HEADING-GAP */
@media (max-width: 991px) {
  /* heading + Trustpilot columns: drop bottom margin and tighten the stacked gap */
  #BESTSELLERS .wp-block-columns.mb-1 { margin-bottom: 0 !important; row-gap: 8px !important; gap: 8px !important; }
  #BESTSELLERS .wp-block-columns.mb-1 > .wp-block-column { margin-bottom: 0 !important; }
  #BESTSELLERS .wp-block-uagb-advanced-heading { margin-bottom: 0 !important; }
  /* slider hugs the heading */
  #BESTSELLERS .wp-block-group.featured-carousel { margin-top: 0 !important; }
}
/* END-BATCH-BESTSELLERS-HEADING-GAP */

/* BATCH-BESTSELLERS-SLICK-PC */
#BESTSELLERS .slick-list,
.featured-carousel .slick-list {
  padding-top: 0px !important;
}
/* END-BATCH-BESTSELLERS-SLICK-PC */

/* BATCH-IPAD-CHECKOUT-SYMMETRIC */
@media (min-width:992px) and (max-width:1199px){
  body.woocommerce-checkout .entry-content > .container{position:relative !important;padding-left:16px !important;padding-right:16px !important;box-sizing:border-box !important;}
  body.woocommerce-checkout .entry-content > .container > .woocommerce .woocommerce{right:16px !important;left:auto !important;width:calc(50% - 16px) !important;max-width:none !important;box-sizing:border-box !important;}
}
/* END-BATCH-IPAD-CHECKOUT-SYMMETRIC */

/* BATCH-TORINO-HEADER: fix hero behind header (overflow-x:hidden clips negative margin) */
body.page-template-torino .od-page {
  overflow-x: clip !important;
}
/* END-BATCH-TORINO-HEADER */
/* BATCH-MOBILE-HEADER-ICON-GAP */
@media (max-width: 767px) {
  #header .others {
    gap: 18px !important;
  }
}
/* END-BATCH-MOBILE-HEADER-ICON-GAP */



/* BATCH-SLIDESHOW-WRAP-LOCK */
/* Lock slick wrappers to the slide height so the running strip is always flush under the hero
   (no gap when the browser bookmarks bar changes the viewport height). Mobile <=767px already handled. */
@media (min-width: 768px) {
  .section-slideshow,
  .section-slideshow .slick-list,
  .section-slideshow .slick-track,
  .section-slideshow .slick-slide,
  .section-slideshow .slick-slide > div {
    height: calc(100vh - 125px) !important;
    min-height: 395px !important;
    max-height: 840px !important;
  }
}
@media (min-width: 992px) {
  .section-slideshow,
  .section-slideshow .slick-list,
  .section-slideshow .slick-track,
  .section-slideshow .slick-slide,
  .section-slideshow .slick-slide > div {
    height: calc(100vh - 110px) !important;
  }
}
/* END-BATCH-SLIDESHOW-WRAP-LOCK */


/* BATCH-TABLET-LANDSCAPE-PRODUCT (tablet landscape: tighten single-product notices + smaller breadcrumb) */
@media (min-width: 768px) and (max-width: 1199px) and (orientation: landscape) {
  .single-product .woocommerce-notices-wrapper { padding: 0 !important; }
  .woocommerce-breadcrumb { font-size: 10px !important; text-align: left !important; }
  .woocommerce .woocommerce-breadcrumb { order: 2; padding: 10px 15px 0 !important; }
}
/* END-BATCH-TABLET-LANDSCAPE-PRODUCT */




/* MIDA BATCH-84: breadcrumb padding on shop/category archives (mobile crumb sat flush under the banner; user request 2026-07-02) */
body.post-type-archive-product .woocommerce-breadcrumb,
body.tax-product_cat .woocommerce-breadcrumb {
  padding: 18px 20px 8px !important;
}

/* [05.07] Сторінка Corsi in presenza (33717): body-білий фон закінчується на висоті екрана і далі просвічував кремовий html-фон смугою просто під заголовком філософії. Тло всієї сторінки — біле. */
body.page-id-33717, body.page-id-33717 .entry-content{background:#fff !important}

/* [05.07] Сторінка Corsi in presenza: вертикальний планшет (600-767px) — картки курсів по 2 в ряд, як на горизонтальному (lista-corsi 2-up) */
@media (min-width: 600px) and (max-width: 767px){
  .container-corsi-mida .lista-corsi .col-12{width:50% !important;flex:0 0 50% !important;max-width:50% !important}
}

/* [05.07] Головна: декоративні кільця кнопки AL CATALOGO закінчувались впритул до Gummy-блока (рев'ю 1.5/1.6) — повітря під кільцями на всіх розширеннях (gummy-block-air) */
body.home .entry-content > .wp-block-group > .wp-block-media-text{margin-top:44px !important}


/* BATCH-85 (2026-07-06): carrello планшет - менший відступ над заголовком (док: великий відступ на ~842px) */
@media (min-width: 601px) and (max-width: 1024px) {
  body.woocommerce-cart header.header-page { padding-top: 10px !important; padding-bottom: 0 !important; }
  body.woocommerce-cart header.header-page .entry-title { margin-bottom: 4px !important; }
}

/* BATCH-86 (2026-07-06): експрес-оплата — не показувати порожню пігулку, поки WooPayments не поставив is-ready (кнопка реально відрендерена) */
.wcpay-express-checkout-wrapper { display: none !important; }
.wcpay-express-checkout-wrapper:has(#wcpay-express-checkout-element.is-ready) { display: flex !important; }

/* BATCH-87 (2026-07-07): /scuola/corsi-in-presenza-mida/ адаптив - заголовок "La filosofia" більший, підтекст менший (як пропорція десктопа 45/32) */
@media (max-width: 1024px) {
  .page-id-33717 h2.wp-elements-a935b35404b77f148dfd674b42d15d9a { font-size: clamp(28px, 4.4vw, 36px) !important; line-height: 1.15 !important; }
  .page-id-33717 h2.wp-elements-b55492a2aed1b774866e52f368cb8ed6 { font-size: clamp(17px, 2.9vw, 23px) !important; line-height: 1.3 !important; }
}

/* BATCH-88 (2026-07-07): /scuola/corsi-in-presenza-mida/ адаптив - центрування рядів карток (.row з ml/mr -10px у flex тягнувся лише вліво: 24px зліва vs 44px справа) */
@media (max-width: 1024px) {
  .page-id-33717 .lista-corsi.row { margin-left: 0 !important; margin-right: 0 !important; justify-content: center !important; }
}

/* BATCH-89 (2026-07-07): corsi-in-presenza-mida ДЕСКТОП - центрування неповних рядів карток (2 курси лишались зліва); разом з BATCH-88 покриває всі ширини */
@media (min-width: 1025px) {
  .page-id-33717 .lista-corsi.row { margin-left: 0 !important; margin-right: 0 !important; justify-content: center !important; }
}
/* BATCH-90 (10.07): carrello на вертикальному планшеті — Totale carrello стискався у вузьку
   колонку поруч із крос-селами (скрін Яни: слова ламаються, PROCEDI вузька). На <=991px
   прибираємо двоколонкову розкладку collaterals: тотали на всю ширину, крос-сели під ними.
   На >=992px страховка min-width, щоб контент слайдера не міг відтиснути тотали. */
@media (max-width: 991px){
  body.woocommerce-cart .cart-collaterals{display:block !important;}
  body.woocommerce-cart .cart-collaterals .cart_totals,
  body.woocommerce-cart .cart-collaterals .cross-sells{width:100% !important;max-width:100% !important;float:none !important;}
  body.woocommerce-cart .cart-collaterals .cross-sells{margin-top:36px;}
}
@media (min-width: 992px){
  body.woocommerce-cart .cart-collaterals .cart_totals{min-width:300px;}
  body.woocommerce-cart .cart-collaterals .cross-sells{min-width:0;}
}

/* BATCH-91 (10.07): типографіка (док "Форматування текстів"). Дизайн-система Figma: H2 The Seasons,
   H3 Manrope Medium 16, боді Manrope 14-16 — чорні жирні блоки були випадковими стилями контенту. */
/* п.1-3: SEO-блоки категорій — службовий текст: єдиний розмір, заголовки The Seasons як на Termini */
.category-description{font-size:15px;line-height:1.65;color:#3d3d3d;}
.category-description p,.category-description li{font-size:15px !important;line-height:1.65;}
.category-description span{font-size:inherit !important;color:inherit !important;font-family:inherit !important;}
body .category-description h2,body .category-description h3,body .category-description h4,body .category-description h5{font-family:"The Seasons",Georgia,serif !important;font-weight:300 !important;color:#1a1a1a !important;line-height:1.25 !important;text-transform:none !important;}
body .category-description h2{font-size:26px !important;margin:30px 0 12px;}
body .category-description h3{font-size:21px !important;margin:24px 0 10px;}
body .category-description h4,body .category-description h5{font-size:18px !important;margin:20px 0 8px;}
.category-description h2 strong,.category-description h3 strong,.category-description h4 strong{font-weight:inherit;}
.category-description strong,.category-description b{font-weight:600;}
/* п.4: текстові/policy сторінки — strong у заголовках не жирнить, єдиний H2, м якший болд */
body.page .entry-content h2 strong,body.page .entry-content h3 strong{font-weight:inherit;}
body:is(.page-id-3,.page-id-6057,.page-id-23860,.page-id-49711) .entry-content h2{font-family:"The Seasons",Georgia,serif;font-weight:300;font-size:30px;line-height:1.3;}
body:is(.page-id-3,.page-id-6057,.page-id-23860,.page-id-49711) .entry-content strong,body:is(.page-id-3,.page-id-6057,.page-id-23860,.page-id-49711) .entry-content b{font-weight:600;}
/* п.7: бокова корзина — назви товарів компактніші, не чорний жирний величезний */
.xoo-wsc-pname,.xoo-wsc-pname a{font-size:14px !important;font-weight:600 !important;line-height:1.35 !important;}

/* BATCH-92 (10.07): дрібні баги-5 */
/* п.8: прогрес-бар Mida Pro — на 0% стирчав обрізаний червоний хвостик; тепер мін-пілюля з відсотком по центру */
.mpp-cart-progress-bar-fill{min-width:46px;justify-content:center !important;padding-right:0 !important;}
/* п.6+9: планшет і телефон — плитки лояльності по 2 в ряд */
@media(max-width:991px){.mpp-cart-status-info{grid-template-columns:repeat(2,1fr) !important;gap:10px !important;}}
/* п.7: телефон — рядок "Periodo fino al: дата (дні)" охайним переносом */
@media(max-width:576px){
.mpp-cart-status-date{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 6px;}
.mpp-cart-status-date .mpp-cart-status-label{white-space:nowrap;}
/* п.5: мобільні крос-сели кошика — бейдж знижки вдвічі менший (не обрізається), крапки менші, кнопка нижча і відірвана від ціни */
body.woocommerce-cart .mida-cross-sells .onsale{min-width:0 !important;min-height:0 !important;width:30px !important;height:30px !important;line-height:30px !important;font-size:9px !important;padding:0 !important;border-radius:50% !important;top:0 !important;right:2px !important;}
body.woocommerce-cart .mida-cross-sells .slick-dots li{width:8px !important;height:8px !important;margin:0 3px !important;}
body.woocommerce-cart .mida-cross-sells .slick-dots li button{width:8px !important;height:8px !important;padding:0 !important;}
body.woocommerce-cart .mida-cross-sells .slick-dots li button:before{font-size:8px !important;line-height:8px !important;width:8px !important;height:8px !important;}
body.woocommerce-cart .mida-cross-sells ul.products li.product a.button{height:28px !important;font-size:11px !important;margin-top:12px !important;}
}

/* BATCH-93 (12.07): док "Розділи ПАРТНЕРАМ - баги" — mida-partner (41) і mida-store (9625) */
/* 41: баба не вилазить за плашку (клип по радіусу) + плашка з відступом знизу */
body.page-id-41 .uagb-block-c26aea83{overflow:hidden;}
body.page-id-41 .uagb-block-c26aea83{margin-bottom:40px;}
/* 41: банка (wp:cover) була вища за екран на планшеті — кап */
@media (max-width:1024px){
  body.page-id-41 .wp-block-cover.alignfull{min-height:60vh !important;}
}
/* 41: вертик. планшет/телефон — відірвати блоки-переваги і збільшити дрібний текст */
@media (max-width:1024px){
  body.page-id-41 .box-dotted-border{margin-bottom:14px;}
  body.page-id-41 .box-dotted-border p{font-size:15px;line-height:1.5;}
}
/* 41: фідбеки на планшеті — обидва скріни ВГОРУ, текст НИЖЧЕ, без накладань */
@media (min-width:600px) and (max-width:1024px){
  body.page-id-41 .wp-block-columns.reveal:has(img[src*="feedback"]){display:flex;flex-direction:column;gap:18px;}
  body.page-id-41 .wp-block-columns.reveal:has(img[src*="feedback"]) .wp-block-column{margin:0 !important;transform:none !important;flex-basis:auto !important;width:100%;}
  body.page-id-41 .wp-block-columns.reveal:has(img[src*="feedback"]) .wp-block-column:nth-child(1){order:1;}
  body.page-id-41 .wp-block-columns.reveal:has(img[src*="feedback"]) .wp-block-column:nth-child(3){order:2;}
  body.page-id-41 .wp-block-columns.reveal:has(img[src*="feedback"]) .wp-block-column:nth-child(2){order:3;}
  body.page-id-41 .wp-block-columns.reveal:has(img[src*="feedback"]) img{max-height:52vh;width:auto;margin:0 auto;display:block;}
}
/* 41: телефон — менша діра до футера (спейсери капнуті) */
@media (max-width:640px){
  body.page-id-41 .entry-content > .wp-block-spacer{max-height:36px;}
}
/* 9625: телефон — ширший текст-контейнер першого блоку (було 40px бокових) */
@media (max-width:640px){
  body.page-id-9625 .uagb-block-76582364{padding-left:22px !important;padding-right:22px !important;}
}
/* 9625: планшет — бабу більшою і до правого нижнього кута плашки */
@media (min-width:641px) and (max-width:1024px){
  body.page-id-9625 .uagb-block-c26aea83 .wp-block-uagb-image{display:flex;justify-content:flex-end;align-items:flex-end;height:100%;}
  body.page-id-9625 .uagb-block-c26aea83 .wp-block-uagb-image img{width:min(46vw,430px) !important;height:auto !important;margin:0 !important;}
}
/* 9625: LA NOSTRA SQUADRA (ACF best-team) на телефоні — менші відступи, фото крупніші */
@media (max-width:640px){
  body.page-id-9625 .team-block{padding-left:6px;padding-right:6px;}
  body.page-id-9625 .team-block .slick-slide{padding:0 5px !important;}
  body.page-id-9625 .team-block .slick-list{margin:0 -5px;}
  body.page-id-9625 .team-block .img img{width:100% !important;height:auto;}
}

/* BATCH-94 (2026-07-13, рев'ю п.15): кнопки .btn-red (SCOPRI IL CORSO на списку курсів та ін.) —
   без сірого кільця теми на active/focus (.btn:focus box-shadow rgba(0,0,0,.4) 4px) */
.btn-red:focus, .btn-red.focus,
.btn-red:not(:disabled):not(.disabled):active,
.btn-red:not(:disabled):not(.disabled).active,
.btn-red:not(:disabled):not(.disabled):active:focus {
  box-shadow: none !important;
  outline: none !important;
}

/* BATCH-95 (2026-07-14, рев'ю п.8): текстові сторінки (політики/регламенти) — сторінка БІЛА до футера,
   футер лишається бежевим (у нього власний фон). КОРІНЬ бага «половина сторінки жовта / на телефоні
   фон піднімається»: беж живе на html, а білий бокс body має height:100vh — на телефоні (де overflow
   body пропагується вьюпорту і body НЕ скрол-контейнер) білий закінчується через один екран і далі
   просвічує бежевий html. Фікс: на цих сторінках білим стає САМ html (канвас).
   Додати нову білу сторінку = дописати html:has(body.page-id-N) у список. */
html:has(body.page-id-3),
html:has(body.page-id-23860),
html:has(body.page-id-6057),
html:has(body.page-id-70),
html:has(body.page-id-30),
html:has(body.page-id-61),
html:has(body.page-id-59),
html:has(body.page-id-49368) {
  background: #fff !important;
}

/* === MIDA BATCH-96 (2026-07-14, docx «Розділи ПАРТНЕРАМ - баги»: пп. 2.4, 3.1-3.2, 10, 12.1, 15, 17, 18.1-18.2, 20, 21) === */

/* ДОПОВНЕННЯ BATCH-95: справжній регламент MIDA PRO = 49711 (condizioni-generali-formula-mida-pro);
   49368 — то ЛЕНДІНГ /mida-pro/ (лишається білим — п.20/21 хочуть той самий вигляд на всіх партнерських) */
html:has(body.page-id-49711) { background: #fff !important; }

/* 20/21: лендінги партнерів білі до футера (механізм як у BATCH-95: беж жив на html і «опускався»
   на висоту вікна); футер має власний беж і лишається */
html:has(body.page-id-41),
html:has(body.page-id-9625) { background: #fff !important; }

/* 21: mida-partner — блок 3 переваг (пілюлі) ПІСЛЯ геро лишається на бежевій стрічці на всю ширину
   (children .container: 0 spacer / 1 h1 / 2 spacer / 3 геро / 4 spacer / 5 пілюлі / 6 spacer / 7 cover) */
.page-id-41 .entry-content { overflow-x: clip; }
.page-id-41 .container > .wp-block-columns:nth-child(6) { position: relative; z-index: 0; padding: 34px 0; }
.page-id-41 .container > .wp-block-columns:nth-child(6)::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw;
  transform: translateX(-50%); background: #FAF6EE; z-index: -1;
}

/* 2.4: відстані ДО і ПІСЛЯ заголовка однакові.
   PRO: темовий h1 25/30 -> 28/28 (телефон 15/22 -> 20/20).
   partner (блоковий h1, десктоп було 10 зверху / 50 знизу) -> +40 зверху.
   store (десктоп 60/50) -> +10 знизу; планшет/телефон обох: 20/40 -> +20 зверху = 40/40. */
.page-id-49368 .header-page h1, .page-id-49368 main h1:first-of-type { margin-top: 28px; margin-bottom: 28px; }
@media (max-width: 600px) {
  .page-id-49368 .header-page h1, .page-id-49368 main h1:first-of-type { margin-top: 20px; margin-bottom: 20px; }
}
@media (min-width: 1025px) {
  .page-id-41 .entry-content h1.wp-block-heading { margin-top: 40px; }
  .page-id-9625 .entry-content h1.wp-block-heading { margin-bottom: 30px; }
}
@media (max-width: 1024px) {
  .page-id-41 .entry-content h1.wp-block-heading,
  .page-id-9625 .entry-content h1.wp-block-heading { margin-top: 20px; }
}

/* 3.1/3.2: PRO — рожева картка мала width:100vw і вилазила за правий край (планшети/телефон);
   width:auto = вписується в margins 16px з обох боків */
@media (max-width: 1024px) {
  .page-id-49368 .mida-pro-container { width: auto !important; max-width: none !important; }
}

/* 10: mida-partner планшет — дрібний текст у геро крупніше (було 12px) */
@media (min-width: 601px) and (max-width: 1024px) {
  .page-id-41 .uagb-block-c26aea83 p { font-size: 15px; }
}

/* 12.1: mida-partner планшет — фідбек-колонки не в стовпчик на пів сторінки:
   два скріни відгуків ПОРУЧ (48%+48%), текст під ними на всю ширину */
@media (min-width: 601px) and (max-width: 1024px) {
  /* 17.07 рев'ю 12: на ≤768 контейнер = flex-direction:column (коровий мобайл-стек) — 48% працював на ВИСОТУ, скріни складались у стовпчик; row повертає їх ПОРУЧ */
  .page-id-41 .wp-block-columns.reveal:not(.uag-hide-desktop):not(.uag-hide-tab) { display: flex; flex-direction: row !important; flex-wrap: wrap !important; column-gap: 4%; } /* 20.07 (22): без !important wrap програвав коровому nowrap!important -> три колонки в один ряд, текст за екраном */
  .page-id-41 .wp-block-columns.reveal:not(.uag-hide-desktop):not(.uag-hide-tab) > .wp-block-column.uag-hide-mob { flex-basis: 48% !important; flex-grow: 0; flex-shrink: 0; order: 1; }
  /* 20.07 (22): на 1024 колонка колапсувала в 0 — min-width гарантує повний рядок */
  .page-id-41 .wp-block-columns.reveal:not(.uag-hide-desktop):not(.uag-hide-tab) > .wp-block-column:not(.uag-hide-mob) { flex: 1 1 100% !important; min-width: 100%; order: 3; }
}

/* 15: mida-partner телефон — діра до футера: ховаємо фінальний спейсер останнього блока */
@media (max-width: 600px) {
  .page-id-41 .container > .wp-block-columns:last-child .wp-block-column > .wp-block-spacer:last-child { display: none; }
}

/* 17: mida-store планшет — «баба» більша і прижата вправо-вниз рожевої картки
   (те саме рішення, що затвердили для PRO п.4; uagb-4b4511ba є і на partner — скоуп по сторінці) */
@media (min-width: 601px) and (max-width: 1024px) {
  .page-id-9625 .uagb-block-92ebd9c1 { display: flex; align-items: stretch; justify-content: flex-end; }
  .page-id-9625 .uagb-block-4b4511ba,
  .page-id-9625 .uagb-block-4b4511ba .wp-block-uagb-image__figure { height: 100% !important; width: 100%; margin: 0; }
  .page-id-9625 .uagb-block-4b4511ba.wp-block-uagb-image .wp-block-uagb-image__figure img,
  .page-id-9625 .uagb-block-4b4511ba img { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: top right; }
}

/* 18.1/18.2: mida-store LA NOSTRA SQUADRA телефон — фото однакової висоти на весь бокс
   (бокс .img 300px, фото були 200-240 залежно від пропорцій і лишали діру до підпису) */
@media (max-width: 600px) {
  .page-id-9625 .team-block .item .img img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
}
/* === MIDA BATCH-97 (2026-07-14, «Дрібні баги-5»: пп. 2.1, 10, 11) === */

/* 11: у учасників Mida Pro в кошику малювалась «лінія» вгорі сторінки: декоративний
   .mpp-cart-status-banner::before (1px градієнт, absolute top:0) у frontend.css плагіна,
   а сам банер БЕЗ position:relative -> псевдоелемент якорився до предка і опинявся біля
   крихт. Якір повертаємо, декор прибираємо зовсім. */
.mpp-cart-status-banner { position: relative; }
.mpp-cart-status-banner::before { display: none !important; }

/* 10: банери категорій на десктопі показували ВЕРХ фото (суть — банка з написом — різалась);
   50% 75% підібрано на gel-da-ricostruzione: банка з "MIDA Nail Care" по центру смуги */
@media (min-width: 992px) {
  .tax-product_cat header.woocommerce-products-header { background-position: 50% 75% !important; }
}

/* 2.1: пошук без результатів — сірий інфо-бар над банером стає звичайним центрованим
   текстом ПІД банером (як «Il carrello è vuoto»); порядок міняє flex на site-main
   (на no-results сторінці в site-main лише крихти/банер/повідомлення — безпечно) */
body.search-no-results main.site-main { display: flex; flex-direction: column; }
body.search-no-results main.site-main > * { order: 0; }
body.search-no-results .woocommerce-no-products-found { order: 5; }
body.search-no-results .woocommerce-no-products-found .woocommerce-info {
  background: none !important; border: 0 !important; box-shadow: none !important;
  color: #444; font-size: 17px; text-align: center; padding: 44px 16px 24px; margin: 0; display: block;
}
body.search-no-results .woocommerce-no-products-found .woocommerce-info::before,
body.search-no-results .woocommerce-no-products-found .woocommerce-info::after { display: none !important; content: none !important; }
/* === MIDA BATCH-98 (2026-07-14, вечірні правки) === */

/* Минула дата курсу: woo-variation-swatches малює ХРЕСТ (svg-оверлей
   .variable-item-contents::before) на disabled-свотчі — за проханням Яни дата має бути
   ПРОСТО неактивною (сірою, opacity .4 лишається). Скоуп лише на атрибут дати курсу —
   хрести на кольорах/розмірах звичайних товарів не чіпаємо. */
.variable-items-wrapper[data-attribute_name="attribute_pa_data-corso"] .variable-item.disabled .variable-item-contents::before {
  display: none !important; background: none !important; content: none !important;
}

/* Математична капча логіна/реєстрації: акуратний рядок — лейбл + приклад + охайне поле
   (замість голого input із розʼїханим підкресленням) */
/* (label[for] плагін НЕ друкує — ternary-баг зʼїдає префікс розмітки; стилюємо по img+id) */
.wpcaptcha-captcha-img { vertical-align: middle !important; margin: 0 6px; }
input#wpcaptcha_captcha {
  width: 64px !important; padding: 6px 10px !important; border: 1px solid #d9c9c2 !important;
  border-radius: 6px !important; background: #fff !important; text-align: center;
  font-size: 15px !important; line-height: 1.2; display: inline-block; vertical-align: middle; margin: 0 0 0 6px;
}

/* BATCH-99 15.07: MIDA-1.12/1.12b — знято overflow:visible!important з 'li.product a img'
   (лишено на li/лінку для бейджів). visible на img вимикав UA-кліп object-fit:cover і
   лендскейпні фото курсів малювались поза квадратним боксом (кошик 4.1). */


/* BATCH-100 16.07 (рев'ю №20): цифра лічильника кошика жирніша — як на вішліст-серці (600 проти 300) */
.xoo-wsc-sc-count{font-weight:600 !important;}


/* BATCH-101 16.07 (рев'ю №10): банер категорії Gel da ricostruzione — показати банку MIDA (суть фото в нижній половині; 1920x800, лого ~y550) */
body.term-gel-da-ricostruzione-unghie .woocommerce-products-header{background-position:50% 78% !important;}


/* BATCH-102 (17.07, рев'ю 7): mida-store планшет 601-1024 — жінка (photo-partner-s-1, квадратна 568x574)
   була в колонці 276px з object-fit:cover + розтяжкою на всю висоту картки (598px) → боки зрізані,
   видно пів жінки. Фікс: колонка ширша (330px), фото contain (ціла жінка) і притиснуте вниз-вправо. */
@media (min-width: 601px) and (max-width: 1024px) {
  .page-id-9625 .wp-block-uagb-container.uagb-block-92ebd9c1 { width: 330px !important; min-width: 330px !important; flex-shrink: 0 !important; }
  .page-id-9625 .uagb-block-4b4511ba.wp-block-uagb-image .wp-block-uagb-image__figure img {
    height: 100% !important; object-fit: contain !important; object-position: bottom right !important;
  }
}
/* BATCH-103 (20.07): 2.4 рівні відступи до/після заголовків на лендінгах партнерок (десктоп/планшет; мобілка не чіпається) */
@media (min-width:768px){
/* mida-partner: H2 feedback було 77 зверху / 51 знизу -> 51/52 */
body.page-id-41 .entry-content .wp-block-columns:has(.wp-elements-199f30cc3f11ce365d7f9ea2671e0a39){margin-top:-26px !important;}
/* SQUADRA-правило знято 20.07: спейсер 60px видалено фізично (п.22) */
}
/* mida-partner: H1 було mt40/mb20 (чорнило 35/15 після зняття спейсерів) -> 30/30 = рівні 25/25 */
@media (min-width:768px){
body.page-id-41 .entry-content h1.wp-block-heading{margin-top:30px !important;margin-bottom:30px !important;}
}
@media (max-width:767px){
body.page-id-41 .entry-content h1.wp-block-heading{margin-top:24px !important;margin-bottom:24px !important;}
}
/* END BATCH-103 */

/* MIDA BATCH-104 (20.07.2026): unified landing H1 spacing
   Mida PRO, Diventa Partner and MIDA Store use equal top/bottom spacing
   at every viewport: 30px desktop/tablet, 24px mobile. */
body.page-id-49368 main#content > h1.mida-pro-page-title,
body.page-id-41 .entry-content > .container > h1.wp-block-heading,
body.page-id-9625 .entry-content > .container > h1.wp-block-heading {
  margin-top: 30px !important;
  margin-bottom: 30px !important;
}

@media (max-width: 767px) {
  body.page-id-49368 main#content > h1.mida-pro-page-title,
  body.page-id-41 .entry-content > .container > h1.wp-block-heading,
  body.page-id-9625 .entry-content > .container > h1.wp-block-heading {
    margin-top: 24px !important;
    margin-bottom: 24px !important;
  }
}
/* END MIDA BATCH-104 */

/* MIDA BATCH-105 (20.07.2026): unified landing H1 typography
   The three collaboration landing pages share one H1 font, size, weight,
   line-height, tracking and colour at every viewport. */
body.page-id-49368 main#content > h1.mida-pro-page-title,
body.page-id-41 .entry-content > .container > h1.wp-block-heading,
body.page-id-9625 .entry-content > .container > h1.wp-block-heading {
  font-family: "The Seasons", Georgia, serif !important;
  font-size: 30px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 100% !important;
  letter-spacing: 0.14px !important;
  text-align: center !important;
  text-transform: none !important;
  color: #d3353d !important;
}

body.page-id-49368 main#content > h1.mida-pro-page-title strong,
body.page-id-41 .entry-content > .container > h1.wp-block-heading strong,
body.page-id-9625 .entry-content > .container > h1.wp-block-heading strong {
  font-family: inherit !important;
  font-size: inherit !important;
  font-style: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
  color: inherit !important;
}

@media (min-width: 992px) {
  body.page-id-49368 main#content > h1.mida-pro-page-title,
  body.page-id-41 .entry-content > .container > h1.wp-block-heading,
  body.page-id-9625 .entry-content > .container > h1.wp-block-heading {
    font-size: 50px !important;
    line-height: 91% !important;
  }
}
/* END MIDA BATCH-105 */
