@font-face {
  /* inserisci anche nel SVG lato guida in formato base-64 converti ttf con https://transfonter.org/ */
  font-family: Brush;
  src: 	url('/wp-content/plugins/cmt-custom-product/fonts/Bastian_Script.ttf') format('truetype'), 
		url('/wp-content/plugins/cmt-custom-product/fonts/Bastian_Script.otf') format('opentype');
}
body.modal-open {
    overflow: hidden;
}
#cmt_custom_product {
	display:none;
	margin-top:15px;
}
.single_variation_wrap .wc-block-components-quantity-selector {
	display:none !important;
}
.single_variation_wrap .woocommerce-variation-price {
	font-size: 1.25rem;
    font-weight: 600;
	flex-wrap: wrap;
}

.option_check_wrap .disabled {
	position:relative;
}
.option_check_wrap label.disabled::before {
	content:' ';
	position: absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background:rgb(255 255 255 / 60%);
	z-index:1;
}

.label_cmt_config_check .disabled::after {
	content:'NON DISPONIBILE';
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    background: #dc1010;
    padding: 2px 5px;
    border-radius: 5px;
    color: #FFF;
	font-size:0.7em;
	font-weight:900;
	border:solid 2px;
	z-index:2;
	width: max-content;
}



.wc-block-components-product-details__tipo, 
.woocommerce-checkout-review-order-table .product-attribute {
	display:none !important;
}
.wc-block-grid__product-image {
	margin-bottom:0;
}
.cmt_list_custom_type_badge_container {
	text-align:center;
	position:relative;
	margin-top:-20px;
}
.cmt_list_custom_type_badge {
	display:inline-flex;
	align-items:center;
	top:10px;
	right:10px;
	font-size:0.7rem;
	border:solid 1px;
	border-radius:20px;
	padding:5px;
	margin:0;
	background:#FFF;
	font-weight:600;
	
}
.cmt_list_custom_type_badge img {width:20px;margin-left:5px;}

.cmt_increment_price_configurator {
	background:var(--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple);
	padding:3px 6px;
	border-radius:5px;
	color:var(--wp--preset--color--base);
	display:inline-block;
	margin-top:5px;
}
.wrapTextOption .cmt_increment_price_configurator {
	margin-top:0;
	margin-left:5px;
	font-size:0.8rem;
}

.option_wrap {
	border:solid 1px;
	margin-bottom:15px;
	border-radius:15px;
}
.cmt_custom_type {
	display:flex;
	align-items:start;
}
.cmt_custom_type input {
	margin: 5px 5px 0px 0px;
}
#pa_custom_type_custom {
	margin-top:7px;
}
.wc-block-grid__product-price .cmt_custom_price_string {
	font-size:0.8em !important;
	display: flex;
    align-items: center;
    gap: 6px;
}
li.wc-block-product .wc-block-grid__product-price .cmt_custom_price_string {
	justify-content:center;
}

.wp-block-woocommerce-product-template .cmt_custom_price_string {
	font-size:inherit;
}

.cmt_custom_price_string > span {
	background:var(--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple);
	padding:3px 6px;
	border-radius:5px;
	color:var(--wp--preset--color--base);
	display:inline-block;
}

.option_numero_ricami input.cmt_config_check {
	/*display:none;*/
	opacity: 0;
}
.option_numero_ricami label {
	padding-left:0 !important;
}
.option_numero_ricami label:before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='2' /%3E%3C/svg%3E");
  display: inline-block;
  width: 24px;
  height: 24px;
  vertical-align: middle;
}
.cmt-alert {
	margin-bottom: 15px;
    padding: 10px 15px;
    border-radius: 15px;
    display: flex;
	justify-content:space-between;
	border:solid 1px;
	font-size:1rem;
}
.cmt-alert strong{
	margin-right:5px;
}
.cmt-alert.cmt-alert-warning > div {
	display:flex;
}
.cmt-alert.cmt-alert-warning > div:before {
  content: '';
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24' aria-hidden='true' focusable='false'%3E%3Cpath fill='%23cc1818' d='M12 3.2c-4.8 0-8.8 3.9-8.8 8.8 0 4.8 3.9 8.8 8.8 8.8 4.8 0 8.8-3.9 8.8-8.8 0-4.8-4-8.8-8.8-8.8zm0 16c-4 0-7.2-3.3-7.2-7.2C4.8 8 8 4.8 12 4.8s7.2 3.3 7.2 7.2c0 4-3.2 7.2-7.2 7.2zM11 17h2v-6h-2v6zm0-8h2V7h-2v2z'%3E%3C/path%3E%3C/svg%3E");
  background-size: 24px 24px;
  background-position: center;
  background-repeat: no-repeat;
  width: 24px;
  height: 24px;
  display: inline-block;
  margin-right: 8px;
}
.cmt-alert.cmt-alert-success > div:before {
  content: '';
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24' aria-hidden='true' focusable='false'%3E%3Cpath fill='%234ab866' d='M12 3.2c-4.8 0-8.8 3.9-8.8 8.8 0 4.8 3.9 8.8 8.8 8.8 4.8 0 8.8-3.9 8.8-8.8 0-4.8-4-8.8-8.8-8.8zm0 16c-4 0-7.2-3.3-7.2-7.2C4.8 8 8 4.8 12 4.8s7.2 3.3 7.2 7.2c0 4-3.2 7.2-7.2 7.2zM11 17h2v-6h-2v6zm0-8h2V7h-2v2z'%3E%3C/path%3E%3C/svg%3E");
  background-size: 24px 24px;
  background-position: center;
  background-repeat: no-repeat;
  width: 24px;
  height: 24px;
  display: inline-block;
  margin-right: 8px;
}
.cmt-alert.cmt-alert-warning {
	background-color: #fff0f0;
    border-color: #cc1818;
}
.cmt-alert.cmt-alert-success {
	background-color: #f4fff7;
    border-color: #4ab866;
}
.option_wrap  {
	/*white-space: nowrap;
	text-overflow: ellipsis*/
}
.cmt-alert .alertUrl {
	margin-left:15px;
	text-decoration:none !important;
	text-transform:uppercase;
	padding:0 5px;
	border-radius:5px;
	font-size:0.8rem;
	font-weight:600;
	display:flex;
	align-items:center;
	white-space: nowrap;
	text-overflow: ellipsis
}
.cmt-alert.cmt-alert-warning .alertUrl {
	color:#FFF;
	background:#dc1010;
}
.cmt-alert.cmt-alert-warning .alertUrl:hover {
	background:#b40000;
}

.cmt-alert.cmt-alert-success .alertUrl {
	color:#FFF;
	background:#4ab866;
}
.cmt-alert.cmt-alert-success .alertUrl:hover {
	background:#398d4f;
}

.cmt-swatches {
	padding: 20px 20px 0 0;
    display: inline-flex;
    border-radius: 100%;
    border: solid 1px;
    margin-right: 5px;
	background-size: cover;
	background-position: center;
}

.option_numero_ricami input:checked + label:before {
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Crect x='3' y='3' width='18' height='18' rx='2' fill='%23fff' stroke='currentColor' stroke-width='2' /%3E%3Cpath d='M5 13l4 4L19 7' stroke='currentColor' stroke-width='2' /%3E%3C/svg%3E");
}
.option_description {
	font-size:0.9rem;
}
.label_variante {
	display:inline-flex;
	flex-direction:column;
	cursor:pointer;
}
.iconaConfiguratore {
	width:25px;
	height:25px !important;
}
.optionTextWrap {
	display:inline-flex;
	align-items:center;
	gap:0.5rem;
	font-weight: 500;
}
.countStep {
	font-weight:900;
	margin-right:10px;
}
.imageOptionSelected {
	display:inline-block;
	width:40px;
	height:40px;
	border-radius:100%;
	overflow:hidden;
	border: solid;
}
.imageOptionSelected img {
	width:100%;
	height:100%;
	object-fit:cover;
}
.option_title {
	display:flex;
	justify-content:space-between;
	align-items:center;
	margin-bottom:0 !important;
	cursor:pointer;
	padding:10px;
}
.option_wrap_flex {
	display:grid;
	gap:0.5rem;
	grid-template-columns: repeat(7, 1fr);
	padding:10px;
}
.wrap_numero_ricami {
	 display:grid;
	gap:1rem;
	grid-template-columns: repeat(2, 1fr);
}

.thumbImageSelector {
	display:grid;
	gap:0.5rem;
}
.imgContainer {
	position:relative;
	padding-bottom:100%;
	margin-bottom:15px;
}
.thumbImageSelectorContainer {
	margin-bottom:15px;
}
.cmt_variation_price_text {
	font-weight:100;
	margin-right:10px;
}
.cmt_number_of_items strong {
	text-decoration:underline;
}
.alert-procuct-in-cart {
	align-items:center;
}
.alert-procuct-in-cart .alertUrl {
	font-size:0.6rem;
	line-height:1;
	padding:5px;
}
.alert-procuct-in-cart .gridFlex {
	display:flex;
	gap:0px;
	justify-content:center;
}
.alert-procuct-in-cart .reopenImageLink {
	text-decoration:none;
	display:flex;
	align-items:center;
	flex-direction:column;
	justify-content:center;

}
.wrapImageOption .cmt_increment_price_configurator {
	position:absolute;
	bottom:-6px;
	left: 50%;
	transform: translateX(-50%);
	width: max-content;
	margin-top:0
}
.reopenImageLink img {
	width:100%;
	max-width:80px !important;
}
@media (max-width:769px) {
	.option_wrap_flex {
		grid-template-columns: repeat(3, 1fr);
		gap:1rem 0.5rem;
	}
	.option_wrap {
		white-space: initial;
	}
	.wrap_numero_ricami {
		grid-template-columns: repeat(1, 1fr);
	}
	.alert-procuct-in-cart .reopenImageLink {
		min-width:100px;
	}
	.alert-procuct-in-cart {
		flex-direction:column;
	}
	.alert-procuct-in-cart .gridFlex {
		flex-wrap: wrap;
	}
	
	/*.testo_ricamo_view {
		font-size:0.8rem;
	}*/
	/*.optionName {display:none}*/
	.label_cmt_config_check {padding-bottom:0 !important}
	.optionImageContainer {margin-bottom:0 !important}
	
	.wrap_ricamo {flex-direction:column}
	.wrap_ricamo .optionName, .label_numero_ricami .optionName {display:initial}
	.label_ricamo {padding-bottom:5px !important;}
	
	.cmt-alert, .cmt-alert > div {
		flex-direction:column;
		text-align: center;
	}
	.cmt-alert.cmt-alert-warning > div:before, .cmt-alert.cmt-alert-success > div:before {
		width:40px;
		height:40px;
		background-size: 40px;
		margin:auto;
	}
	.cmt-alert .alertUrl {
		margin:auto;
		margin-top:10px;
	}
	
	
}

.wrap_ricamo  {
	display: flex;
}
.wp-block-woocommerce-product-image-gallery  {
	position:sticky !important;
	top:15px;
}
.variations {
	display: none !important;
}
.showInputText {
	min-width:200px;
	width: -webkit-fill-available;
	margin-bottom:10px;
	border-radius:5px;
}
.label_cmt_config_check {
	font-size:0.7rem;
	display:block;
	border-radius:5px;
	padding-bottom:5px;
	cursor:pointer;
	margin-bottom:0 !important;
	background:#FFF
}
.option_check_wrap {
	position:relative;
	text-align:center;
}
.cmt_config_check {
	position:absolute;
	z-index:-1;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	margin:0;
}
.label_cmt_config_check .optionImageContainer {
	width:100%;
	height:100%;
	position: relative;
	padding-bottom: 100%;
	border-radius: 100%;
    overflow: hidden;
}
.label_cmt_config_check .optionImageContainer img {
	width:100%;
	height:100%;
	object-fit:cover;
	position: absolute;
	left: 0;
	top: 0;
	
}

.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container, .wp-block-navigation.items-justified-right .wp-block-page-list>.has-child .wp-block-navigation__submenu-container, .wp-block-navigation.items-justified-space-between .wp-block-page-list>.has-child:last-child .wp-block-navigation__submenu-container, .wp-block-navigation.items-justified-space-between>.wp-block-navigation__container>.has-child:last-child .wp-block-navigation__submenu-container {
	left:0;
	right:auto
}

ul.submenu_tappetini {
	display: grid !important;
    grid-template-columns: repeat(6, 1fr);
    gap: 1px;
	white-space: nowrap;

}
.overflow-hidden {
	overflow:hidden;
}

ul.submenu_tappetini li:hover {
	color:var(--wp--preset--color--accent-1);
}


.wc-block-components-product-details li {margin-bottom:5px}
.woocommerce-checkout-review-order-table  .product-image .product-quantity {}
.woocommerce-checkout-review-order-table .variation-svgCode {display:none !important}
.wp-block-woocommerce-checkout-order-summary-cart-items-block ul.wc-block-components-product-details {font-size:0.8rem}
.woocommerce-checkout-review-order-table .variation p {margin:0;}
.woocommerce-checkout-review-order-table .variation {display: grid;grid-template-columns: minmax(auto, 50%) 1fr;row-gap: 5px;font-size:0.8rem;align-items:center}
.woocommerce-checkout-review-order-table .variation dt {grid-column: 1;}
.woocommerce-checkout-review-order-table .variation dd {grid-column: 2;margin-left: 0;}
.woocommerce-checkout-review-order-table .product-review img {display:none}
.woocommerce-form-coupon-toggle.couponCheckout {margin-top:15px;}

.variations_form {
	display:block !important
}
.wrapTextOption {
	overflow:hidden;
	border:solid 3px #CCC;
}
.roundedOption {
	border-radius:100%;
	border:solid 5px #CCC;
	margin-bottom:5px;
	position:relative;
}

.cmt_config_check:checked + .label_cmt_config_check .roundedOption {
	border: solid 5px var(--wp--preset--color--accent-1);
	box-shadow: 0 0 10px var(--wp--preset--color--accent-1);
}

.cmt_config_check:checked + .label_cmt_config_check .roundedOption:after {
	/*content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23007bff' stroke='%23fff' stroke-width='1'/%3E%3Cpath d='M5 8.5l3 3 5-5' stroke='%23fff' stroke-width='2' fill='none'/%3E%3C/svg%3E");	position:absolute;
	top:0;*/
}

.cmt_config_check:checked + .label_cmt_config_check.wrapImageOption  {
	color: var(--wp--preset--color--accent-1);
}

.cmt_config_check:checked + .label_cmt_config_check.wrapTextOption {
	border: solid 3px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.75);
}

.cmt_config_check:checked + .label_ricamo {
	border: solid 3px var(--wp--preset--color--accent-1) !important;
	box-shadow: 0 0 10px var(--wp--preset--color--accent-1) !important;
	background:var(--wp--preset--color--accent-1);
	color:#FFF;
}

.cmt_config_check:checked + .label_cmt_config_check {
	font-weight:600;
}
.inlineFlexOption {
	display:inline-flex;
}
.label_ricamo {
	font-size:1rem;
	width:auto;
	background:#FFF;
	padding:5px 10px;
}
.option_ricamo {
	width:auto;
}
.option_numero_ricami {
	text-align:start;
}
.option_numero_ricami label {
	display:inline-block;
}
.option_wrap_flex.checkbox {
	flex-direction:column;
}
.option_wrap_flex.checkbox .cmt_config_check {
	left:0;
	top:5px;
	transform: none;
}
.option_wrap_flex.checkbox label {
	width:auto;
	padding:0 0 0 20px;
	text-align:start;
	font-size:1rem;
	border:none !important;
	box-shadow:none !important;
}
.show_input {
	text-align:start;
	display:none;
}
.zoomImg800 {
	width: 800px !important;
	height: 800px !important;
}


.svg-icon-wrapper {
	width:100%;
	height:100%;
	display:block;
}

.cmt_product_image {
	position:absolute;
	top:0;
	opacity:0;
	z-index:-1;
	transition: opacity 250ms;
	width:100%;
	height:100%;
}
.cmt_product_image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.cmt_product_image.active {
	opacity:1;
	z-index:1;
}
.cmt_product_image_thumb {
	position:absolute;
	opacity:0.5;
	width:100%;
	height:100%;
}
.cmt_product_image_thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.cmt_product_image_thumb.active {
	opacity:1;
}
.cmt_product_image_thumb {
	cursor:pointer;
}

.testo_ricamo_view {
	/*font-family: Arial, sans-serif;*/
	font-size:40px;
	/*line-height:1rem*/
}
@media(max-width:768px) {
	/*.testo_ricamo_view {
		font-size:0.6rem;
	}*/	
}
/*
#container_text_ricamo_lato_guida {
	position:absolute;
	bottom:25%;
	left:26%;
	writing-mode: vertical-rl;
	text-orientation: sideways-right;
}*/
/*
#container_text_ricamo_lato_passeggero {
	position:absolute;
	bottom:21%;
	right:26%;
	transform: rotate(180deg);
	writing-mode: vertical-rl;
	text-orientation: sideways-right;
}
*/
/*
#container_text_ricamo_lato_posteriore_sx {
	position:absolute;
	bottom:15%;
	left: 50%;
	transform: translate(-50%);
} 
#container_text_ricamo_lato_posteriore_dx {
	position:absolute;
	bottom:15%;
	left: 50%;
	transform: translate(-50%);
}
*/
.wc-block-components-product-details__svg-code {display:none !important}
.wp-block-navigation .wp-block-navigation-item, .wp-block-navigation-item__content {text-decoration:none !important}

/** MODAL BLOCCO RICERCA **/
.cmtModal_searchProducts {
	position: fixed;
	top: 0; left: 0;
	width: 100%; height: 100%;
	background: rgba(0,0,0,0.5);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	z-index: 9999;
	backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px); /* Safari */
}
.cmtModalPadd_searchProducts {padding:20px;min-width:768px;}
.cmtModalContainer_searchProducts {
	display:flex;align-items:center;justify-content:center;width:100%;height:100%;  transform: translateY(-30px);
  transition: transform 0.3s ease;
}
.closeModal_searchProducts {
	position: absolute;
    top: -17px;
    right: -17px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    background: var(--wp--preset--color--accent-1);
	color:#FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
}

.cmtModal_searchProducts.show {
  opacity: 1;
  visibility: visible;
}

.cmtModal_searchProducts.show .cmtModalContainer_searchProducts {
  transform: translateY(0);
}

.search-container ul {
	margin:0;
	margin: 0;
    text-align: center;
    justify-content: center;
    flex-direction: row;
}

@media (max-width: 768px) {
	.cmtModalPadd_searchProducts {min-width:auto;}
}

/** CLASSI BLOCCO DI RICERCA */
.cmt_negative_margin_search_block {margin-top:  -75px;max-width:768px;}

.form-home-title {
	color:var(--wp--preset--color--accent-1);
	margin-top:0;
	text-align:center
}
.search-container {
  max-width: inherit !important;
  margin: 0 auto;
  padding: 25px;
  background-color: #FFF;
  border: 5px solid var(--wp--preset--color--accent-1);
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  
}

.column-home-number h4 {
	display:flex;
	align-items:center;
	justify-content:center;
	padding: 0;
    width: 100px;
    height: 100px;
	font-size:50px;
}
.column-home-number h6 {
	margin-top:-25px;
	margin-bottom:15px
}

.search-row {
  display: flex;
  gap:30px;
}

.search-field {

}

.search-field label {
  display: block;
  margin-bottom: 10px;
}

.search-field select {
  width: 100%;
  padding: 10px;
  border: 1px solid #0e71b4;
  border-radius: 5px;
  font-size: 16px;
}

.search-button {
  width: 20%;
  margin: 10px;
  text-align: center;
}

.select-cerca-home {
    padding: 15px!important;
}

.search-button button {
  padding: 16px 20px;
  background-color: #0e71b4;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  font-size: 16px;
}

.search-button button:hover {
  background-color: #23527c;
}

/* Reset base */
select.custom-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    border: 2px solid var(--wp--preset--color--accent-1);
    padding: 10px 40px 10px 15px;
    font-size: 16px;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
    background-image: none;
	cursor:pointer;
}

/* Wrapper per freccia */
.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.custom-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='currentColor' d='M5.23 7.21a.75.75 0 0 1 1.06.02L10 10.94l3.71-3.71a.75.75 0 0 1 1.08 1.04l-4.25 4.25a.75.75 0 0 1-1.06 0L5.21 8.27a.75.75 0 0 1 .02-1.06z'/></svg>");
    background-repeat: no-repeat;
    background-size: contain;
}

/*@media only screen and (max-width: 768px) {*/
@media (max-width: 768px) {
    .search-field {width: 100%!important;}
    .search-button {width: 100%!important;}
	.search-row {flex-direction:column}
	.cmt-result-count {max-width:70%}
}

/** FINE CLASSI BLOCCO DI RICERCA */

.fixed-top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.title-home {
	font-weight:900;
	text-shadow: 3px 3px 0 var(--wp--preset--color--accent-1);
}

.home-slider {
}


/* NASCONDO QTY SCHEDA PRODOTTO E CARRELLO */
/*.woocommerce div.product form.cart .quantity {
  display: none!important;
}

.wc-block-components-quantity-selector {
  display: none!important;
}
*/