/**
 * Theme Name: Diemme
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */


.product-category .diemme-category-card-description {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.45;
}

.product-category .diemme-category-card-description p {
    margin: 0 0 0.6em;
}

.product-category .diemme-category-card-description p:last-child {
    margin-bottom: 0;
}
ul.horizontal-list:after{
	content:"";
	display:block;position:relative;clear:left;
}
ul.horizontal-list li{padding:6px 12px;float:left;}

/* read more delle categorie */
.diemme-product-category-description {
    margin-top: 18px;
    color: #282929;
    font-size: 16px;
    line-height: 1.4;
	background-color:#fff;
	border-radius:12px;
	padding:20px 25px;
}

.diemme-category-description-more {
    margin-top: 12px;
}

.diemme-category-description-toggle {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
	font-size:14px;
    border: 1px solid rgba(154,224,236,1);
    background-color: rgba(154,224,236,0);
    color: #292828;
    padding: 9px 16px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
	transition: var(--theme-transition);
}

.diemme-category-description-toggle:hover {
    background-color: rgba(154,224,236,1);
	color:#292828;
}
body.single-product article > :where(.related, .up-sells) {
  margin-top: 80px;
	padding-top:80px;
	border-top:1px solid #d6f0f5;
}
select, textarea, input:is([type="url"], [type="tel"], [type="text"], [type="time"], [type="date"], [type="datetime"], [type="datetime-local"], [type="email"], [type="number"], [type="search"], [type="password"]), .ct-pseudo-input, fieldset .wc-stripe-elements-field, .ff-inherit-theme-style .ff-el-form-control:not([size]):not([multiple]){background-color:#fff;}

textarea {
	--theme-form-field-border-radius: 20px;
}

#footer [data-id="text"] h3 {
	font-size: 17px;
	margin-bottom: 5px;
}
#header [data-row*="bottom"] [data-items*="primary"] #menu-categories-menu{position:relative;}
#header [data-row*="bottom"] [data-items*="primary"] #menu-categories-menu:before{
	content:"";
	position:absolute;
	top:50%;
	left:10%;right:10%;
	border-top:2px solid #9ae0ec;
}
#header [data-row*="bottom"] [data-items*="primary"] #menu-categories-menu > .menu-item {min-width:31%}
#header [data-row*="bottom"] [data-items*="primary"] #menu-categories-menu > .menu-item > a.ct-menu-link{border:2px solid #9ae0ec !important;}

body [data-products] .product figure {
  --product-element-spacing: 10px;
}
body [data-products="type-2"] .product{
	padding-inline: 10px;
  padding-bottom: 10px;
}
body [data-products] .woocommerce-loop-product__title, body [data-products] .woocommerce-loop-category__title{
	line-height:1.3;
}
body [data-products] .woocommerce-loop-category__title a{color:#3d8b98 !important;}
[data-products="type-2"] .product.product-category{border:2px solid #9ae0ec !important;}
[data-products="type-2"] .product.product-category .ct-media-container img{aspect-ratio:2/1 !important;}

[data-products="type-2"] .product .entry-meta li a{border:1px solid #9ae0ec !important;border-radius:20px;font-weight:400;font-size:11px;padding:2px 8px;color:#9ae0ec;margin:2px !important;}
[data-products="type-2"] .product .entry-meta li a:hover{border-color:#3d8b98 !important;color:#3d8b98 !important;}

.wp-block-blocksy-tax-query .wp-block-term a{display:block;background-color:#fff;height:auto !important;border-radius:6px;overflow:hidden;padding:10px;}
.wp-block-blocksy-tax-query .wp-block-term a img{width:auto;max-height:50px;}
[data-filter-criteria*="taxonomy"][data-frame="yes"] a .ct-media-container,[data-filter-criteria*="taxonomy"][data-frame="yes"] a:is(:hover, .active) .ct-media-container{background-color:#fff !important;border-radius:4px !important;}

@media (min-width:1000px) and (max-width:1170px){
	#header [data-row*="bottom"] [data-items*="primary"] #menu-categories-menu > .menu-item > a.ct-menu-link{font-size:14px !important;padding:0 15px !important;}
}
.ct-widget.is-layout-flow.widget_block
{width:100%;}
@media (max-width:767px){
	#header [data-row*="top"] .ct-contact-info .contact-info{display:none !important;}
	#header [data-row*="top"] .ct-contact-info{width:100%;}
	#header [data-row*="top"] .ct-contact-info ul{justify-content:space-between;width:100%;display:flex;}
}

body .woocommerce-tabs[data-type*="type-1"] .tabs{
	border-bottom:none
}
.woocommerce div.product div.woocommerce-tabs ul.tabs > li{
	position:relative;
	padding:0 15px;
	
}
.woocommerce div.product div.woocommerce-tabs ul.tabs > li:before{content:"";position:absolute;left:0;right:0;top:50%;border-top:2px solid #9ae0ec;}
.woocommerce div.product div.woocommerce-tabs ul.tabs > li a {display:block;border:2px solid #9ae0ec; border-radius:30px;padding:15px 30px;background-color:#fff;font-size:15px;}
.woocommerce div.product div.woocommerce-tabs ul.tabs > li.active a{color:#fff !important;background-color:#000 !important;}
.woocommerce div.product div.woocommerce-tabs ul.tabs > li a:hover,.woocommerce div.product div.woocommerce-tabs ul.tabs > li a:focus{
	background-color:#3d8b98;
	color:#fff;
}
@media (max-width:767px){
	.woocommerce div.product div.woocommerce-tabs ul.tabs > li:before{display:none;}
	.woocommerce div.product div.woocommerce-tabs ul.tabs > li{padding:5px 0;border:none !important;}
}
.woocommerce div.product div.woocommerce-tabs ul.tabs > li:first-child{padding-left:0;}
.woocommerce div.product div.woocommerce-tabs ul.tabs > li:last-child{padding-right:0;}
body .woocommerce-tabs[data-type] .tabs {
  --tab-background: transparent;
}
.woocommerce-tabs.wc-tabs-wrapper > article {
  margin-inline: auto;
  width: var(--theme-container-width);
  max-width: var(--theme-block-max-width);
}
body.woocommerce div.product div.woocommerce-tabs div.woocommerce-Tabs-panel.panel{
	background-color:#fff;
	border-radius:18px;
	padding:30px;
	margin-top:20px;
	min-height:160px
}
body.woocommerce div.product div.woocommerce-tabs #tab-description.woocommerce-Tabs-panel.panel img{border-radius:6px;height:auto !important;max-width:100%;}

.woocommerce-Tabs-panel ul.diemme-product-documents{
	list-style:none;
	padding:0;
}
.woocommerce-Tabs-panel ul.diemme-product-documents li{padding:10px 0;}
.woocommerce-Tabs-panel ul.diemme-product-documents li a{
	display:inline-block;
	position:relative;
	text-decoration:none !important;
	border-radius:28px;
	padding:12px 28px 12px 58px;
	background-color:#3d8b98;
	color:#fff;
	font-weight:600;
	font-size:17px;
	line-height:1.1;
}
.woocommerce-Tabs-panel ul.diemme-product-documents li a:hover,.woocommerce-Tabs-panel ul.diemme-product-documents li a:focus{background-color:#000;cursor:document;}

.woocommerce-Tabs-panel ul.diemme-product-documents li a:before{
	background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
content:"";width:1.4em;height:1.4em;
	display:inline-block;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 482.14 482.14'%3E%3Cg fill='white'%3E%3Cpath d='M302.598 0H108.967C80.661 0 57.652 23.025 57.652 51.315v379.509c0 28.289 23.009 51.315 51.315 51.315h264.205c28.274 0 51.315-23.026 51.315-51.315V121.449L302.598 0zM373.172 450.698H108.967c-10.97 0-19.891-8.905-19.891-19.874V51.315c0-10.953 8.921-19.858 19.891-19.858l181.874-.189v67.218c0 19.653 15.949 35.603 35.587 35.603l65.878-.189.725 296.925c0 10.968-8.889 19.873-19.859 19.873z'/%3E%3Cpath d='M297.413 246.059h-24.634v-73.058c0-7.414-6.004-13.42-13.411-13.42h-36.626c-7.392 0-13.396 6.006-13.396 13.42v73.058H184.71c-4.065 0-7.723 2.458-9.299 6.225-1.559 3.75-.709 8.085 2.191 10.978l56.327 56.335c3.94 3.94 10.323 3.94 14.247 0l56.359-56.335c2.884-2.893 3.736-7.228 2.191-10.978-1.574-3.767-5.246-6.225-9.313-6.225z'/%3E%3C/g%3E%3C/svg%3E");
	position:absolute;
	left:18px;top:50%;transform:translatey(-50%);
}
body [data-products="type-2"] .ct-woo-card-actions{
	border:none;
	border-block:none;
}
body [data-products="type-2"] figure, body [data-products="type-2"] .ct-woo-card-actions {
  width: calc(100% + 20px);
  margin-inline: -10px;
}
body [data-products="type-2"] .ct-woo-card-actions > * {padding:0;min-height: 40px;}
[data-products="type-2"] .ct-woo-card-actions .price:not(:only-child)::after{display:none;}
.ct-woo-card-actions .price.request-price{line-height:1.2;display:block;}
.ct-woo-card-actions .price.request-price:after{content:":";display:inline;}
[data-products="type-2"] .ct-woo-card-actions{border-top:1px solid #9ae0ec !important;border-bottom:1px solid #9ae0ec !important;}
body [data-products="type-2"] .ct-woo-card-actions a.button{margin:5px !important;background-color:#9ae0ec }
body [data-products="type-2"] .ct-woo-card-actions a.button:hover,body [data-products="type-2"] .ct-woo-card-actions a.button:focus{background-color:#3d8b98;color:#fff}

.ct-newsletter-subscribe-form-elements.ct-pseudo-input{background-color:transparent !important;}
.ct-newsletter-subscribe-form-elements.ct-pseudo-input [type="email"]{border-radius:30px;}

.ct-newsletter-subscribe-form-elements.ct-pseudo-input input[type="email"]{background-color:#111;}

select, textarea, input:is([type="url"], [type="tel"], [type="text"], [type="time"], [type="date"], [type="datetime"], [type="datetime-local"], [type="email"], [type="number"], [type="search"], [type="password"]), .ct-pseudo-input, fieldset .wc-stripe-elements-field, .ff-inherit-theme-style .ff-el-form-control:not([size]):not([multiple]){
	background-color:#fff;
}

body .ct-quick-view-card .entry-summary .ct-quick-more{background-color:#9ae0ec}
body .ct-quick-view-card .entry-summary .ct-quick-more:hover,body .ct-quick-view-card .entry-summary .ct-quick-more:focus{background-color:#3d8b98;color:#fff;}
body [data-products="type-2"] .ct-woo-card-actions:last-child {
  border-bottom: none;
  margin-bottom: -11px;
}
body #header [data-row*="bottom"]> div{border-width:20px !important}
[data-products="type-2"] .ct-woo-card-actions .price .woocommerce-Price-amount.amount{font-size:1.3em;color:#3d8b98;font-weight:700;}

.woocommerce ul.products li.diemme-loop-category-product-break {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
	flex-basis: 100% !important;
}

.products .product .ct-media-container img, .products .product .ct-media-container picture{
	aspect-ratio: 1/1 !important;
	object-fit: contain;
}
.products .product.product-category .ct-media-container img,.products .product.product-category .ct-media-container picture{
	aspect-ratio: 2/1 !important;
	object-fit: cover;
}
body .products .sale-price{flex-direction:column;min-width:100%;line-height:1;}
body .sale-price ins .woocommerce-Price-amount.amount bdi{color:#c81010;}
span.onsale[data-shape="type-2"],body .wc-block-components-product-sale-badge{background-color:#c81010;color:#fff;border: 1px solid #43454b;}
.button{line-height:1;}
.wc-block-components-product-image.wc-block-grid__product-image{background-color:#fff;border-radius:5px;overflow:hidden;}
.wc-block-components-product-image.wc-block-grid__product-image img{aspect-ratio:1/1;object-fit: contain !important;}
.has-small-font-size .wc-block-components-product-price ins{font-size:1.4em;}
.wp-block-woocommerce-product-collection.is-layout-flow{width:100%;}
:where(.wc-block-next-previous-buttons__button[aria-disabled="true"]) :where(.wc-block-next-previous-buttons__icon),:where(.wc-block-next-previous-buttons__icon--right){padding:0 !important;}
[data-menu] > ul > li.promo > a:before{
	position:absolute;
	border:1px solid #000 !important;
	opacity:1 !important;
	border-radius:4em;
	content:"";
	display:block;
	top:50%;
	left:0;right:0;
	transform:translatey(-50%);
	height:2em;
	background-color:transparent !important;
}
.meta-categories a{white-space:nowrap;}
.ct-footer [data-column] .gspb_map-wrapper{min-height:245px;}
.ct-search-form-inner.ct-pseudo-input{overflow:hidden;}
.tiered-pricing-wrapper h3 {margin:0 !important;font-size: 1.2em !important; font-weight: 600;}
.tiered-pricing-wrapper .tiered-pricing-table {border-radius:7px !important;overflow:hidden;}
.tiered-pricing-wrapper .tiered-pricing-table th,.tiered-pricing-wrapper .tiered-pricing-table td{padding:0.3em 0.6em !important;}

.entry-content ul.horizontal-list li {
  padding: 6px 12px 6px 0;
  float: left;
  margin-left: 15px;
}
#sidebar .is-product-collection-layout-list.wc-block-product-template.is-layout-flow > li.wc-block-product{
	padding: 10px 10px 10px 105px !important;
  position: relative;
  background: white;
  border-radius: 7px;
}
#sidebar .is-product-collection-layout-list.wc-block-product-template.is-layout-flow > li.wc-block-product .wc-block-components-product-image{position:absolute;width:80px;height:80px;margin:0;left:7px;top:calc(50% - 40px);}
#sidebar .is-product-collection-layout-list.wc-block-product-template.is-layout-flow > li.wc-block-product > * {margin:0 !important;}
#sidebar .is-product-collection-layout-list.wc-block-product-template.is-layout-flow > li.wc-block-product button {min-height: 33px !important;}