/*
Theme Name: Otter MyMenu
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Alessandro Bonacina
Author URI: https://alessandrobonacina.com/
Description: Tema child basato su Kadence, personalizzato ed ottimizzato per bar che offrono ordinazione al tavolo, con pagamento tramite smartphone.
Tags: translation-ready,two-columns,right-sidebar,left-sidebar,footer-widgets,blog,custom-logo,custom-background,custom-menu,rtl-language-support,editor-style,threaded-comments,custom-colors,featured-images,wide-blocks,full-width-template,theme-options,e-commerce
Version: 1.2.6.1724079774
Updated: 2024-08-19 17:02:54

*/

html {
    scroll-behavior: smooth;
}
:is(.woocommerce, .page-template-page-tavolo) ul.products li.product h3,
:is(.woocommerce, .page-template-page-tavolo) ul.products li.product .woocommerce-loop-product__title,
:is(.woocommerce, .page-template-page-tavolo) ul.products li.product .woocommerce-loop-category__title {
    font-size: 1.4rem !important;
	color: #000 !important;
}
:is(.woocommerce, .page-template-page-tavolo) ul.products:not(.woo-archive-btn-button) li:where(:not(.woo-archive-btn-button) ) .button:not(.kb-button) {
    font-size: 1rem !important;
    font-weight: 500 !important;
    color: #fff !important;
    background-color: var(--global-palette1) !important;
    padding: 0.5rem 1.5rem !important;
}
.hero-menu-tavolo {
    padding: 8rem 2rem 4rem 2rem;
    display: flex;
    justify-content: center;
}
/* INIZIO STICKY */
.sticky-container {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 11;
    margin-inline: calc(50% - 50vw);
}
.sticky-container nav#navigazione-menu {
    overflow: auto;
    background-color: var(--global-palette3);
    padding: 1rem;
}
nav#navigazione-menu ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 1.5rem;
    flex-wrap: nowrap;
    margin: 0;
}
nav#navigazione-menu ul li a {
    line-height: inherit;
    font-size: 1.1rem;
    text-decoration: none;
    color: #000;
    background-color: #fff;
    -moz-transition: 300ms ease-in-out;
    -webkit-transition: 300ms ease-in-out;
    -o-transition: 300ms ease-in-out;
    transition: 300ms ease-in-out;
    clip-path: polygon(0 20%, 10% 0, 100% 0, 100% 20%, 100% 80%, 90% 100%, 0% 100%, 0% 100%);
    padding: 0.5rem 0.85rem;
}
nav#navigazione-menu ul li a:hover {
    background-color: var(--global-palette2);
	color: #fff;
}
.sticky-container .ricerca {
    display: flex;
    justify-content: center;
    background-color: var(--global-palette3);
    gap: 2rem;
    flex-wrap: wrap;
    padding: 0 1rem 1rem;
}
.sticky-container .ricerca form div {
    background-color: transparent !important;
}
.sticky-container .ricerca .facetwp-facet {
    display: flex;
    width: -webkit-fill-available;
    margin: 0 auto;
}
.sticky-container .ricerca .facetwp-facet > div {
    width: min(400px, 100%);
    margin: 0 auto;
}
.sticky-container .ricerca .facetwp-facet .fs-label-wrap .fs-label {
    line-height: normal;
    color: #000;
    padding: 0.5rem 2rem 0.35rem 0.5rem;
}
.sticky-container .ricerca .facetwp-facet .fs-dropdown * {
    z-index: 99;
}
.sticky-container .ricerca .facetwp-facet .fs-dropdown .fs-search {
    background-color: var(--global-palette2);
    padding: 0.5rem;
}
.sticky-container .ricerca .facetwp-facet .fs-dropdown .fs-search input {
    color: #000;
}
.sticky-container .ricerca .facetwp-facet .fs-dropdown .fs-options {
    overflow: auto;
    color: #000 !important;
    max-height: max-content;
    padding-block: 0.5rem;
}
.sticky-container .ricerca .facetwp-facet .fs-dropdown .fs-options .fs-option.selected .fs-option-label {
    color: var(--global-palette1);
}
.sticky-container .ricerca .facetwp-facet .fs-wrap.multiple .fs-option.selected .fs-checkbox i {
    background-color: var(--global-palette1);
}
/* FINE STICKY */
:is(div.product-category, section.product-category) {
    display: flex;
    position: relative;
    background-color: var(--global-palette1);
    flex-direction: column;
    gap: 2rem;
    padding-inline: 15%;
    margin-inline: calc(50% - 50vw);
    padding-block: 4rem;
}
:is(div.product-category, section.product-category) h2 {
    color: #fff;
}
:is(div.product-category, section.product-category):nth-child(even) {
    background-color: var(--global-palette2);
}
:is(div.product-category, section.product-category) .section_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
:is(div.product-category, section.product-category) .section_header a {
    line-height: 1;
    text-decoration: none;
    color: #fff;
    background-color: #212121 !important;
    padding: 0.75rem 1.25rem 0.5rem;
}
:is(div.product-category, section.product-category) .section_header a:hover {
    color: var(--global-palette2);
}
:is(div.product-category, section.product-category) ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-gap: 2rem;
	list-style: none;
	margin: 0;
}
.woocommerce :is(div.product-category, section.product-category) ul.products img,
.woocommerce-page :is(div.product-category, section.product-category) ul.products img {
	width: 100%;
	margin: 0;
}
.woocommerce :is(div.product-category, section.product-category) ul.products li.product .entry-content-wrap {
	margin: 0;
	padding: 1rem;
}
.woocommerce :is(div.product-category, section.product-category) ul.products li.product .price {
	font-size: 0.95rem;
	font-weight: 600;
}
.woocommerce ul.products li.product .product-action-wrap {
    margin-top: 0;
}
/* INGREDIENTI */
details.ingredienti {
    position: relative;
    display: flex;
    margin: -2rem 0 1rem auto;
    text-align: right;
    width: 100%;
    justify-content: flex-end;
}
details.ingredienti > summary {
	font-size: 0.8rem;
	text-align: right;
}
details.ingredienti > summary + p {
    margin-block: 0.5rem;
    padding-inline-start: 1.5rem;
    position: absolute;
    width: -webkit-fill-available;
    right: 0;
    top: 1.25rem;
    background-color: var(--global-palette1);
    color: #fff;
    padding: 0.5rem 2rem;
    font-size: 0.85rem;
    margin-inline: -2rem -2rem;
    min-height: 4rem;
}
details > summary:first-of-type {
    list-style: none;
}
details[open] > summary:first-of-type {
    list-style-type: none;
}
details :is(.dashicons-info:before:hover, summary:hover, .dashicons-info:before:active, summary:active, .dashicons-info:before:focus, summary:focus, .dashicons-info:before:focus-visible, summary:focus-visible),
details[open] :is(.dashicons-info:before, summary) {
	color: var(--global-palette2);
	cursor: pointer;
}

/* FINE INGREDIENTI */
.woocommerce :is(div.product-category, section.product-category):nth-child(odd) ul.products:not(.woo-archive-btn-button)  span.onsale {
    color: var(--global-palette3);
    background-color: var(--global-palette2);
}
span.woocommerce-Price-amount.amount {
    font-size: 1.1rem;
    color: var(--global-palette4);
}
.woocommerce :is(div.product-category, section.product-category):nth-child(even) ul.products:not(.woo-archive-btn-button) li:where(:not(.woo-archive-btn-button) ) .button:not(.kb-button) {
    color: #fff;
    background-color: var(--global-palette1);
}
@media (max-width: 767px) {
	nav#navigazione-menu ul {
		justify-content: flex-start;
		gap: 2rem;
	}
	nav#navigazione-menu ul li a {
		line-height: normal;
		font-size: 0.95rem;
		width: max-content;
		display: block;
		padding: 0.6rem 1.2rem;
	}
	:is(div.product-category, section.product-category) {
		padding-inline: 6%;
	}
	:is(div.product-category, section.product-category) ul.products {
		display: grid;
		grid-template-columns: 1fr;
		grid-gap: 1.5rem !important;
	}
	:is(div.product-category, section.product-category) ul.products li {
		display: grid !important;
        grid-template-areas: "a a b b b";
        grid-template-columns: repeat(5, 1fr);
	}
	:is(div.product-category, section.product-category) ul.products li.loop-entry .entry-content-wrap {
        padding: 1rem !important;
		grid-area: b;
    }
	.woocommerce :is(div.product-category, section.product-category) ul.products img, .woocommerce-page :is(div.product-category, section.product-category) ul.products img {
    	grid-area: a;
		height: 100%;
        object-fit: cover;
	}
	:is(div.product-category, section.product-category) ul.products li.loop-entry .entry-content-wrap h2.woocommerce-loop-product__title {
		font-size: 1.3rem;
	}
	details.ingredienti {
		position: unset;
		margin: 0 !important;
		text-align: left;
		justify-content: flex-start;
	}
	details.ingredienti > summary {
		text-align: left;
	}
	details.ingredienti > summary + p {
		margin: 0;
		width: -webkit-fill-available;
		right: 0;
		top: 0;
		padding: 0.75rem;
		font-size: 0.75rem;
		min-height: 1rem;
		height: 40%;
	}
	:is(div.product-category, section.product-category) ul.products li.product details.ingredienti + .product-action-wrap {
		margin: -1rem auto 0 0 !important;
	}
	:is(div.product-category, section.product-category) ul.products li.loop-entry .entry-content-wrap a.add_to_cart_button {
		font-size: 0.75rem;
		padding: 0.25rem 0.5rem;
		line-height: normal;
		display: flex;
        justify-content: flex-end;
        max-width: fit-content;
        margin-inline: auto 0;
	}
	.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp {
		background-color: transparent;
		margin-block-end: 2rem;
	}
	.woocommerce ul.products:not(.products-list-view), .wp-site-blocks .wc-block-grid:not(.has-2-columns):not(.has-1-columns) .wc-block-grid__products {
		-moz-column-gap: 1rem;
		-webkit-column-gap: 1rem;
		-o-column-gap: 1rem;
		column-gap: 1rem;
		grid-row-gap: 1rem;
	}
	.woocommerce ul.products li.product .entry-content-wrap {
		padding: 1rem 0.75rem 1.5rem;
		margin: 0;
	}
	.woocommerce ul.products li.product h3, .woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product .woocommerce-loop-category__title {
		font-size: 1.1rem;
	}
	.woocommerce ul.products:not(.woo-archive-btn-button) li:where(:not(.woo-archive-btn-button) ) .button:not(.kb-button) {
		display: block;
		width: 100% !important;
		line-height: 1;
		font-size: 0.95rem !important;
		text-align: center;
		padding: 0.5rem !important;
	}
}
/* CART */
.woocommerce-cart .kadence-woo-cart-form-wrap {
    padding: 4rem 2rem;
}
/* CHECKOUT */
.woocommerce-checkout #main .woocommerce {
    margin-block-end: 4rem;
}
.woocommerce-checkout form[name="checkout"] {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.woocommerce-checkout form[name="checkout"] #customer_details {
	padding: 0 !important;
}
.woocommerce-checkout form[name="checkout"] #customer_details .col-1 {
    display: none;
}
.woocommerce-checkout form[name="checkout"] #customer_details .col-2 {
    width: min(600px, 100%);
}
.woocommerce-checkout form[name="checkout"] #customer_details .col-2 h3 {
    display: none;
}
.woocommerce-checkout form[name="checkout"] .woocommerce-checkout-review-order {
	padding: 0 !important;
}
.woocommerce-checkout form[name="checkout"] #customer_details #additional_table_number_field {
    position: relative;
}
.woocommerce-checkout form[name="checkout"] #customer_details #additional_table_number_field:before {
    content: 'Se non vedi il numero del tuo tavolo, compilalo';
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    transform: translateY(100%);
    font-size: 0.8rem;
    color: #fff;
    background-color: var(--global-palette1);
    line-height: 1;
    padding: 0.35rem 1rem;
	text-align: right;
}
.woocommerce-checkout form[name="checkout"] #customer_details input#additional_table_number {
    text-align: right;
    border: 0;
    border-bottom: 2px solid var(--global-palette1);
    border-radius: 0;
    line-height: inherit;
    padding: 0.5rem 1rem 0;
    font-size: 1.5rem;
    color: var(--global-palette1);
    font-weight: 600;
    box-shadow: inset -8px 8px 10px rgba(0, 0, 0, 0.05);
}
.woocommerce-checkout form[name="checkout"] h3#order_review_heading {
	padding: 0 !important;
	margin-block: 3rem 2rem !important;
}
@media (max-width: 767px) {
	.woocommerce-checkout form[name="checkout"] #customer_details #additional_table_number_field:before {
		width: 100%;
		transform: translateY(98%);
		font-size: 0.7rem;
	}
	.woocommerce-checkout form[name="checkout"] h3#order_review_heading {
		margin-block: 2rem !important;
	}
}
/* COUPON */
.woocommerce-form-coupon-toggle {
    margin: -2rem auto 2rem auto !important;
    text-align: center;
    border: 5px solid var(--global-palette2) !important;
	width: min(600px, 100%);
}
.woocommerce-form-coupon-toggle .woocommerce-info {
    margin: 0 !important;
    border: none !important;
    background-color: var(--global-palette1) !important;
	color: #fff !important;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem !important; 
}
.woocommerce-form-coupon-toggle .woocommerce-info:before {
	content: none !important;
}
.woocommerce-form-coupon-toggle .woocommerce-info * {
    color: #fff !important;
}
form.checkout_coupon.woocommerce-form-coupon {
    width: min(600px, 100%);
    margin-inline: auto !important;
}

/* HEADER MOBILE */
@media (max-width: 767px) {
	.header-mobile-cart-wrap .header-cart-inner-wrap .header-cart-button span.header-cart-label {
		text-indent: -999px;
	}
}