/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

:root {
    --desk-limit: 12;
    --tab-limit: 8;
    --mob-limit: 6;
	--1: 1vw;
	--1_5: 1.5vw;
	--2: 2vw;
	--3: 3vw;
}
h1, h2, h3, h4, h5, h6 {
	font-size: inherit;
    color: inherit;
    font-family: inherit;
    font-weight: inherit;
    line-height: inherit;
    margin-block-end: 0;
    margin-block-start: 0;
}
p { margin-block-end: 0; }
.elementor-menu-cart__container { min-width: 30vw!important; }
.inverti-immagine img {	filter: invert(1) brightness(2) contrast(1.2); }

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt.disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt.disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:disabled[disabled], .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:disabled[disabled]:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt.disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt.disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:disabled[disabled], .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:disabled[disabled]:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt.disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt.disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:disabled[disabled], .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:disabled[disabled]:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt.disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt.disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:disabled[disabled], .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:disabled[disabled]:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt.disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt.disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:disabled[disabled], :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:disabled[disabled]:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt.disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt.disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:disabled[disabled], :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:disabled[disabled]:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt.disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt.disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:disabled[disabled], :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:disabled[disabled]:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt.disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt.disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:disabled[disabled], :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:disabled[disabled]:hover { background-color: var(--e-global-color-secondary); }
.added_to_cart.wc-forward {	margin-left: 5%; }
.woocommerce-Address-title .edit { font-size: 130%!important }
.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .shop_table { font-size: var(--e-global-typography-text-font-size); }
.woocommerce-cart .product-name a { color: var(--e-global-color-primary)!Important; }
.woocommerce div.product form.cart .button { border-radius: 7px; }
small, .shortcode-box-price { font-size: 80%; }
.shortcode-box-price { color: #565656; }
.woocommerce-error, .woocommerce-info, .woocommerce-message { margin-bottom: 0; }
.product-loop-img img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
  height: auto;
}
.pulsanti-bianchi a {color: #fff!important;}
.cart-package-description, .cart-package-description span {	font-size: var(--e-global-typography-970d9ae-font-size)!Important; }
.thin-text-slide { font-weight: 100!important; }
.toggle-show { display: none; }

.cart_totals h3 {
    font-family: var(--e-global-typography-accent-font-family), Sans-serif;
    font-size: var(--e-global-typography-accent-font-size);
    font-weight: var(--e-global-typography-accent-font-weight);	
}

.elementor-widget-woocommerce-cart .woocommerce .input-text.qty {
	min-height: 37px;
}

/* Nasconde Baixens a ci non ha diritti */
body.baixens-hidden .baixens {
    display: none !important;
}

/* Nascondi il checkbox nativo */
.elementor-acceptance-field {
  opacity: 0;
  position: absolute;
  width: 0;
  height: 0;
}

/* Stile del label per sembrare un checkbox moderno */
.elementor-field-option label {
  position: relative;
  cursor: pointer;
  user-select: none;
  display: inline-block;
  padding-left: var(--1_5);
  font-size: 70%;
}

/* Crea la casella finta */
.elementor-field-option label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: var(--1);
  height: var(--1);
  border: 2px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  transition: all 0.2s;
}

/* Stato selezionato */
.elementor-acceptance-field:checked + label::before {
  background-color: #4caf50;
  border-color: #4caf50;
}

/* Aggiungi un segno di spunta */
.elementor-acceptance-field:checked + label::after {
  content: "✔";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  left: 2px;
}

/* Hover effetto */
.elementor-field-option label:hover::before { border-color: #4caf50; }
.my-loop-filters {
	display: flex;
    flex-wrap: wrap;
	gap: 3%;
}

.back-to-top:not(.visible) { display: none; }
.back-to-top.visible { display: block; }

.custom-flex-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3vw 2vw;
}
.custom-flex-item {
    width: 13.2vw;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.custom-flex-item .elementor-heading-title, .custom-flex-item h2 a {
    font-family: var(--e-global-typography-f614d57-font-family), Sans-serif;
    font-size: var(--e-global-typography-f614d57-font-size)!Important;
    font-weight: 500;	
}
.custom-flex-item img {
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: var(--e-global-color-secondary);	
}



/* Item della griglia */
.custom-grid-item {
  width: 100%;
box-sizing: border-box;
}




@media (min-width: 480px) {
	.newsletter .elementor-field-group-privacy { position: absolute; bottom: 0;	}
}

/* Tablet */
@media (max-width: 1024px) {
	:root {
		--1: 2vw;
		--1_5: 3vw;
		--2: 4vw;
		--3: 6vw;
	}
	.elementor-menu-cart__container { min-width: 50vw!important; }
  .custom-grid-wrapper { flex: 1 1 calc(25% - 4vw); }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
  	--1: 4vw;
  	--1_5: 6vw;
  	--2: 8vw;
  	--3: 12vw;
  }
  .griglia-prodotti .elementor-grid .e-loop-item { display: none; }
  .griglia-prodotti .elementor-grid .e-loop-item:nth-child(-n+var(--mob-limit)) { display: block; }
  .elementor-field-option label::before {top: 16%}
  .elementor-acceptance-field:checked + label::after { top: 6%; left: 3%; transform: none;}
  .newsletter .elementor-field-group-privacy {padding: 3% 0;}
	.elementor-menu-cart__container {
		min-width: 90vw!important;
		margin-right: -21vw;
		margin-top: 6vw;
	}
	:is(.elementor-widget-woocommerce-product-add-to-cart,.woocommerce div.product .elementor-widget-woocommerce-product-add-to-cart,.elementor-widget-wc-add-to-cart,.woocommerce div.product .elementor-widget-wc-add-to-cart) form.cart.variations_form .woocommerce-variation-add-to-cart, :is(.elementor-widget-woocommerce-product-add-to-cart,.woocommerce div.product .elementor-widget-woocommerce-product-add-to-cart,.elementor-widget-wc-add-to-cart,.woocommerce div.product .elementor-widget-wc-add-to-cart) form.cart:not(.grouped_form):not(.variations_form) { flex-wrap: wrap!important;	}
	.woocommerce div.product form.cart div.quantity { width: 30%; }
	.woocommerce div.product form.cart .button { width: 67%; }
	.added_to_cart.wc-forward {
		margin-left: 0;
		margin-top: 5%;
		padding: 5%!important;
		border: 1px solid #ddd;
		background: var(--e-global-color-primary);
		color: #fff;
		width: 100%;
		text-align: center;		
	}
	.elementor-widget-woocommerce-cart .e-cart-section { padding: 0; }
	.elementor-widget-woocommerce-cart .woocommerce table.cart tr {padding: 5%;}
	.elementor-widget-woocommerce-cart .woocommerce table.cart td.product-remove {
		position: absolute;
		background: #fff!important;
		border-radius: 50%;
		width: 10vw;
		height: 10vw;
		display: flex;
		align-items: center;
		justify-content: center;
		border: 1px solid #ddd;
	}
	.elementor-widget-woocommerce-cart .woocommerce table.shop_table .product-remove a {display: block; text-align: center; color: red !important; line-height: 0.85em !important}
	.woocommerce #content table.cart .product-thumbnail, .woocommerce table.cart .product-thumbnail, .woocommerce-page #content table.cart .product-thumbnail, .woocommerce-page table.cart .product-thumbnail {
		display: block;
		padding: 0;
		border: 1px solid #ddd;
	}
	.elementor-widget-woocommerce-cart .product-thumbnail :before { display: none }
	.woocommerce #content table.cart img, .woocommerce table.cart img, .woocommerce-page #content table.cart img, .woocommerce-page table.cart img { width: 100%; }
  .custom-grid-wrapper { flex: 1 1 calc(50% - 5vw); }
}