/* ==========================================================================
   JAMI-E.COM — CSS personalizzato (child theme)
   Ex "CSS aggiuntivo" del Customizer.
   ATTENZIONE: l'ordine delle sezioni è quello originale e conta per la
   cascata. Aggiungere le regole nuove in fondo alla sezione giusta, senza
   spostare blocchi esistenti.
   ========================================================================== */


/* ==========================================================================
   LAYOUT GENERALE / ADMIN BAR
   ========================================================================== */

/* Quando sei loggata, sposta l'header sotto la admin bar */
body.admin-bar #header {
    top: 32px !important;
}

.wdt-shop-cart-widget.activate-sidebar-widget {
    z-index: 9999999999 !important;
}

/* La admin bar diventa più alta sotto 782px di larghezza */
@media screen and (max-width: 782px) {
    body.admin-bar #header {
        top: 46px !important;
    }
}

.woocommerce-cart-form,
.woocommerce-checkout-header,
#post-166,
#post-116,
#post-164,
#post-165,
#post-1791,
.single-post, .post-type-archive {
    margin-top: 50px !important;
}

@media screen and (max-width: 990px) {
    .woocommerce-cart-form,
    .woocommerce-checkout-header,
    #post-166,
    #post-116,
    #post-164,
    #post-165,
	#post-1791,
    .single-post, .post-type-archive {
        margin-top: 120px !important;
    }
}


/* ==========================================================================
   FONT E TIPOGRAFIA
   ========================================================================== */

@font-face {
	font-family: 'Geometria';
	font-style: normal;
	font-weight: 300;
	src: url('https://www.jami-e.com/wp-content/uploads/2026/05/Geometria-Light.woff2') format('woff2');
	font-display: swap;
}
@font-face {
	font-family: 'Geometria';
	font-style: italic;
	font-weight: 300;
	src: url('https://www.jami-e.com/wp-content/uploads/2026/05/Geometria-LightItalic.woff2') format('woff2');
	font-display: swap;
}
@font-face {
	font-family: 'Geometria';
	font-style: normal;
	font-weight: 400;
	src: url('https://www.jami-e.com/wp-content/uploads/2026/05/Geometria-Regular.woff2') format('woff2');
	font-display: swap;
}
@font-face {
	font-family: 'Geometria';
	font-style: italic;
	font-weight: 400;
	src: url('https://www.jami-e.com/wp-content/uploads/2026/05/Geometria-Italic.woff2') format('woff2');
	font-display: swap;
}
@font-face {
	font-family: 'Geometria';
	font-style: normal;
	font-weight: 100;
	src: url('https://www.jami-e.com/wp-content/uploads/2026/05/Geometria-Thin.woff2') format('woff2');
	font-display: swap;
}
@font-face {
	font-family: 'Geometria';
	font-style: italic;
	font-weight: 100;
	src: url('https://www.jami-e.com/wp-content/uploads/2026/05/Geometria-ThinItalic.woff2') format('woff2');
	font-display: swap;
}
@font-face {
	font-family: 'Geometria';
	font-style: normal;
	font-weight: 200;
	src: url('https://www.jami-e.com/wp-content/uploads/2026/05/Geometria-ExtraLight.woff2') format('woff2'),
		url('https://www.jami-e.com/wp-content/uploads/2026/05/Geometria-ExtraLightItalic.woff2') format('woff2');
		font-display: swap;
}
@font-face {
	font-family: 'Geometria';
	font-style: italic;
	font-weight: 200;
	src: url('https://www.jami-e.com/wp-content/uploads/2026/05/Geometria-ExtraLightItalic.woff2') format('woff2');
	font-display: swap;
}
@font-face {
	font-family: 'Geometria';
	font-style: normal;
	font-weight: 700;
	src: url('https://www.jami-e.com/wp-content/uploads/2026/07/Geometria-Bold.woff2') format('woff2');
	font-display: swap;
}

:root {
    --wdtFontTypo_Base: "Geometria Light", Arial, Helvetica, sans-serif;
    --wdtFontTypo_Alt: "Geometria Light", Arial, Helvetica, sans-serif;
    --wdtFontTypo_H1: "Geometria Light", Arial, Helvetica, sans-serif;
    --wdtFontTypo_H2: "Geometria ExtraLight", Arial, Helvetica, sans-serif;
    --wdtFontTypo_H3: "Geometria Light", Arial, Helvetica, sans-serif;
    --wdtFontTypo_H4: "Geometria Light", Arial, Helvetica, sans-serif;
    --wdtFontTypo_H5: "Geometria Light", Arial, Helvetica, sans-serif;
    --wdtFontTypo_H6: "Geometria Light", Arial, Helvetica, sans-serif;
    --wdtFontWeight_Ext: 400;
    --wdtPadding_Btn: 10px 25px;
    --wdtInputPadding: 10px 25px;
}

.testo-navbar p {
    font-family: "Geometria Regular", Arial, Helvetica, sans-serif !important;
    margin-bottom: 0;
    font-size: 10px;
}

.nota-topbar a {
    text-transform: uppercase;
    text-decoration: none !important;
}

.icona-topbar .elementor-icon-wrapper {
    line-height: 1em;
}

.wdt-button {
    font-size: 12px !important;
}

body {
    font-family: "Geometria Light", Arial, Helvetica, sans-serif !important;
    font-size: 16px !important;
}

.light p,
#post-3 strong {
    font-family: "Geometria Light", Arial, Helvetica, sans-serif !important;
}

p,
.wdt-content-description,
.woocommerce-Tabs-panel--description,
#footer a,
#post-3 li {
    font-family: "Geometria Light", Arial, Helvetica, sans-serif !important;
    line-height: 1.8;
}

.wdt-button-holder.wdt-button-size-nm .wdt-button {
    font-weight: 400 !important;
}

strong {
    font-family: "Geometria Bold", Arial, Helvetica, sans-serif !important;
}

dt {
    font-weight: 400 !important;
}

h2 {
    font-size: max(0.75rem, clamp(2.5rem, 1.9539rem + 2.3301vw, 4.75rem) * 0.7) !important;
    letter-spacing: 0.2em !important;
}

.sezione-titolo-caratteristiche h2 {
    font-family: "Geometria ExtraLight";
}

.cta-testo h2 {
    letter-spacing: 0 !important;
}

#formati h2 {
    font-size: max(0.75rem, clamp(2.5rem, 1.9539rem + 2.3301vw, 4.75rem) * 0.5) !important;
}

.woocommerce-Tabs-panel h2,
.woocommerce-Address h2,
#post-3 h2,
.widgettitle,
.entry-summary h2,
#post-1823 h2,
#post-1838 h2,
.woocommerce-order-details h2,
.woocommerce-customer-details h2,
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
    font-size: 24px !important;
    letter-spacing: 0 !important;
}

.cpiw_main_inner h3 {
    font-size: 12px;
    color: #67432C !important;
    line-height: 1.8;
    margin: 0 0 10px;
    text-align: left;
}

.wdt-shop-cart-widget[class*="sidebar"] .wdt-shop-cart-widget-content .product_list_widget li a:not(.remove),
.variation {
    font-size: 12px !important;
    font-family: "Geometria Regular", Arial, Helvetica, sans-serif !important;
}

.variation-Tipologia {
    line-height: 1.8em;
}

.product-loop-filters-area-content-inner h2 {
    font-size: 16px !important;
    padding: 10px !important;
}

#footer h5 {
    font-family: "Geometria Regular" !important;
    font-size: 16px !important;
}

.wdt-terms-condition-lbl {
    font-size: 12px !important;
}

.woocommerce-result-count,
.product-loop-filters-area-title {
    text-transform: uppercase;
    font-family: "Geometria Regular" !important;
    font-size: 12px;
}

.testo-basso {
    margin-top: auto;
}

.testo-storia {
    max-width: 26.5rem !important;
}

.woocommerce #customer_login.col2-set h2 {
    text-transform: uppercase;
}

.jpos__title {
    text-transform: uppercase;
}


/* ==========================================================================
   HEADER
   ========================================================================== */

.home #header-wrapper,
.page-id-5197 #header-wrapper {
    margin-bottom: 0;
}

.mobile-menu {
    top: 0 !important;
    z-index: 9999;
}

.mobile-menu ul li a {
    border: none !important;
}

@media screen and (min-width: 1200px) {
    .mobile-menu {
        top: 20px !important;
    }
}

.mobile-nav-container .menu-trigger > i:before {
    top: -5px;
}

.mobile-nav-container .menu-trigger > i:after {
    top: 5px;
}

.wdt-header-menu .wdt-primary-nav > li > a {
    padding: 10px !important;
    margin: 0 !important;
}

#header .elementor-icon-list-icon,
.wdt-user-authlink-menu-icon svg,
.mobile-nav-container .menu-trigger > i {
    color: #87674F;
}

@media screen and (max-width: 390px) {
    .wdt-logo-container img {
        max-width: 120px !important;
    }
}

.wdt-header-menu .menu-container {
    display: none;
}

.elementor-widget-wdt-header-menu > .elementor-widget-container,
.elementor-widget-wdt-header-menu > .elementor-widget-container > .wdt-header-menu,
.elementor-widget-wdt-header-menu > .elementor-widget-container > .wdt-header-menu > .mobile-nav-container {
    display: inline-flex;
}

@media screen and (min-width: 1280px) {
    .mobile-menu,
    .mobile-menu > ul,
    .mobile-menu > ul ul.children,
    .mobile-menu > ul ul.sub-menu,
    .mobile-menu > ul ul.children > li > ul,
    .mobile-menu > ul ul.sub-menu > li > ul {
        right: auto !important;
        left: 0 !important;
    }

    .mobile-menu.nav-is-visible {
        animation-name: slide-in-left;
    }
}

.mobile-menu {
    max-width: 350px;
}

.mobile-menu ul > li > a:not(.menu-item-object-wdt_mega_menus ul li a),
.mobile-menu ul ul > li > a:not(.menu-item-object-wdt_mega_menus ul li a) {
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 2px;
    line-height: 50px;
}

.mobile-menu ul > li > a:not(.menu-item-object-wdt_mega_menus ul li a):hover,
.mobile-menu ul ul > li > a:not(.menu-item-object-wdt_mega_menus ul li a):hover {
    background-color: #87674F;
}

.mobile-menu ul li.current-menu-item > a {
    background-color: #87674F !important;
}
/* LOGO PER LINGUA – header (vale per entrambi i template) */
html:is([lang^="de"], [lang^="en"], [lang^="fr"], [lang^="da"]) #header .wdt-logo-container a {
  display: inline-block;
  background: url("https://www.jami-e.com/wp-content/uploads/2026/11/Jamie-a-taste-of-Nature.png") center / contain no-repeat;
}
html:is([lang^="de"], [lang^="en"], [lang^="fr"], [lang^="da"]) #header .wdt-logo-container img {
  opacity: 0;
}

/* bianco: solo nel template trasparente e solo prima dello scroll */
html:is([lang^="de"], [lang^="en"], [lang^="fr"], [lang^="da"]) #header:not(.jamie-scrolled) .header-3217 .wdt-logo-container a {
  background-image: url("https://www.jami-e.com/wp-content/uploads/2026/11/Jamie-a-taste-of-Nature_White.png");
}
/* Header fisso con comparsa/scomparsa allo scroll */
#header-wrapper.header-top-absolute {
    position: relative !important;
}

#header {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: transparent;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

#header.jamie-scrolled {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#header.jamie-hidden {
    transform: translateY(-100%);
}

/* Icone bianche su home (1334) e pagina 5197 con header trasparente */
.page-id-1334 .menu-trigger.menu-trigger-icon,
.page-id-1334 .wdt-user-authlink-menu-icon > *,
.page-id-1334 .elementor-widget-icon-list ul.elementor-icon-list-items li.elementor-icon-list-item a,
.page-id-1334 .trp-language-item-name,
.page-id-1334 .trp-language-item:hover .trp-language-item-name,
.page-id-1334 .mobile-nav-container .menu-trigger > i,
.page-id-1334 #header .elementor-icon-list-icon,
.page-id-1334 .wdt-user-authlink-menu-icon svg,
.page-id-5197 .menu-trigger.menu-trigger-icon,
.page-id-5197 .wdt-user-authlink-menu-icon > *,
.page-id-5197 .elementor-widget-icon-list ul.elementor-icon-list-items li.elementor-icon-list-item a,
.page-id-5197 .trp-language-item-name,
.page-id-5197 .trp-language-item:hover .trp-language-item-name,
.page-id-5197 .mobile-nav-container .menu-trigger > i,
.page-id-5197 #header .elementor-icon-list-icon,
.page-id-5197 .wdt-user-authlink-menu-icon svg{
    color: #fff;
}

.jamie-scrolled .menu-trigger.menu-trigger-icon,
.jamie-scrolled .wdt-user-authlink-menu-icon > *,
.jamie-scrolled .wdt-shop-menu-cart-icon,
.jamie-scrolled .wdt-search-icon > *,
.jamie-scrolled a,
.jamie-scrolled .trp-language-item-name,
.jamie-scrolled .mobile-nav-container .menu-trigger > i,
.jamie-scrolled .elementor-icon-list-icon,
.jamie-scrolled .wdt-user-authlink-menu-icon svg {
    color: #87674F !important;
}

.page-id-1334 .trp-shortcode-switcher,
.page-id-5197 .trp-shortcode-switcher {
    background-color: transparent;
    border-color: #fff !important;
}

.page-id-1334 .trp-shortcode-arrow path,
.page-id-5197 .trp-shortcode-arrow path {
    stroke: #fff;
}

.jamie-scrolled .trp-shortcode-switcher {
    background-color: #fff;
    border-color: #87674F !important;
}

.jamie-scrolled .trp-shortcode-arrow path {
    stroke: #87674F;
}


/* ==========================================================================
   PULSANTI
   ========================================================================== */

.wdt-carousel-holder .wdt-carousel-pagination-wrapper .wdt-swiper-pagination.swiper-pagination-bullets .swiper-pagination-bullet:before {
    border-color: #fff !important;
}

.wdt-advanced-slider-3 .wdt-carousel-holder .wdt-carousel-pagination-wrapper .wdt-swiper-pagination.swiper-pagination-bullets .swiper-pagination-bullet:after {
    background-color: #fff;
}

.pincode_city_and_state div {
    text-align: right;
}

.cpiw_inner .cpiwcheckbtn {
    border: none;
}

#wdt-button-e24ae6b > a {
	outline: 1px solid #4e3c31 !important
}
#wdt-button-e24ae6b > a:hover {
	outline: 1px solid rgba(245, 239, 230, 0.6) !important
}

body > div.wdt-search-form-container.show > div {
    transition: none !important;
    background-image: none !important;
    background-color: #87674F !important;
    border-radius: 50px !important;
}

body > div.wdt-search-form-container.show > div:hover,
body > div.wdt-shop-cart-widget.activate-sidebar-widget.wdt-shop-cart-widget-active > div.wdt-shop-cart-widget-inner > div.wdt-shop-cart-widget-header > h3 > a:hover {
    background-color: #f5efe6 !important;
}

body > div.wdt-shop-cart-widget.activate-sidebar-widget.wdt-shop-cart-widget-active > div.wdt-shop-cart-widget-inner > div.wdt-shop-cart-widget-header > h3 > a {
    transition: none !important;
    background-image: none !important;
    background-color: #87674F !important;
}

/* 1. Disattiva i blocchi di sfondo animati del tema */
.wdt-products-carousel-container .wc_inline_buttons a::after,
.wdt-products-carousel-container .product-buttons-wrapper a::after,
.woocommerce-page .products .button::after,
.woocommerce-page .products .wdt-button::after,
.woocommerce-page .product .single_add_to_cart_button::after,
#yith-quick-view-modal .single_add_to_cart_button::after,
#yith-quick-view-modal .checkpincodebutton::after,
.checkpincodebutton::after,
.wdt-quickview-wrapper .single_add_to_cart_button::after,
.woocommerce-page .button.wc-backward::after,
.wdt-contact-form .submit-button input[type="submit"]::after,
.cpiw_inner .cpiwcheckbtn::after,
button.button::after,
.wc-proceed-to-checkout a::after,
.woocommerce-mini-cart__buttons a::after,
.woocommerce a.button:not([class*="yith-"])::before,
.error404 .wdt-button::before,
body:not(.woocommerce-page) .wdt-shop-cart-widget[class*="sidebar"] .wdt-shop-cart-widget-content .woocommerce-mini-cart-footer p.buttons a::before {
    content: none !important;
    display: none !important;
    transition: none !important;
    transform: none !important;
}

/* Colore icona Quick View nella griglia prodotti */
a.yith-wcqv-button::before {
    color: #87674F !important;
    transition: none !important;
}

a:hover.yith-wcqv-button::before {
    color: #F5EFE6 !important;
    transition: none !important;
    background-color: #87674F;
}

/* 2. Elimina transizione fluida (prodotti + Quick View) */
.wdt-products-carousel-container .wc_inline_buttons a,
.wdt-products-carousel-container .product-buttons-wrapper a,
.woocommerce-page .products .button,
.woocommerce-page .products .wdt-button,
.woocommerce-page .product .single_add_to_cart_button,
#yith-quick-view-modal .single_add_to_cart_button,
#yith-quick-view-modal .checkpincodebutton,
.checkpincodebutton,
.wdt-quickview-wrapper .single_add_to_cart_button,
.wdt-quickview-wrapper .checkpincodebutton,
.wdt-contact-form .submit-button input[type="submit"],
.cpiw_inner .cpiwcheckbtn,
.wdt-products-carousel-container .wc_inline_buttons a::before,
.wdt-products-carousel-container .product-buttons-wrapper a::before,
.woocommerce-page .products .button::before,
.woocommerce-page .products .wdt-button::before,
.woocommerce-page .product .single_add_to_cart_button::before,
#yith-quick-view-modal .single_add_to_cart_button::before,
.checkpincodebutton::before,
.woocommerce-page .button.wc-backward,
.woocommerce-page .button.wc-backward::before,
.wdt-contact-form .submit-button input[type="submit"]::before,
.cpiw_inner .cpiwcheckbtn::before,
.wc-proceed-to-checkout a::before,
.woocommerce-mini-cart__buttons a::before,
.error404 .wdt-button::before,
.do-open-order-drawer,
.jpos__apply {
    transition: none !important;
    background-image: none !important;
    animation: none !important;
}

/* 3. Colori stato normale */
.wdt-products-carousel-container .wc_inline_buttons a,
.wdt-products-carousel-container .product-buttons-wrapper a,
.woocommerce-page .products .button,
.woocommerce-page .products .wdt-button,
.woocommerce-page .product .single_add_to_cart_button,
#yith-quick-view-modal .single_add_to_cart_button,
#yith-quick-view-modal .checkpincodebutton,
.checkpincodebutton,
.wdt-quickview-wrapper .single_add_to_cart_button,
.wdt-quickview-wrapper .checkpincodebutton,
.woocommerce-page .button.wc-backward,
.wpcf7-submit,
.cpiw_inner .cpiwcheckbtn,
button.button,
.woocommerce-mini-cart__buttons a,
.woocommerce a.button,
.error404 .wdt-button,
.cpiwcheckbtn,
.do-open-order-drawer,
button.jpos__apply,
button.jpos-banner__reset,
.forminator-button {
    background-color: #87674F !important;
    color: #F5EFE6 !important;
    border: none !important;
    border-radius: 3px !important;
    background-image: none !important;
}

input[type="button"] {
    background-image: none !important;
    margin: 0;
}

.woocommerce table.shop_table tr a,
.woocommerce table.cart td.product-name a:not(.button) {
    color: #87674F !important;
}

/* 4. Colori stato hover */
.wdt-products-carousel-container .wc_inline_buttons a:hover,
.wdt-products-carousel-container .product-buttons-wrapper a:hover,
.woocommerce-page .products .button:hover,
.woocommerce-page .products .wdt-button:hover,
.woocommerce-page .product .single_add_to_cart_button:hover,
#yith-quick-view-modal .single_add_to_cart_button:hover,
#yith-quick-view-modal .checkpincodebutton:hover,
.checkpincodebutton:hover,
.wdt-quickview-wrapper .single_add_to_cart_button:hover,
.wdt-quickview-wrapper .checkpincodebutton:hover,
.woocommerce-page .button.wc-backward:hover,
.wpcf7-submit:hover,
.cpiw_inner .cpiwcheckbtn:hover,
.showcoupon:hover,
button.button:hover,
.wc-proceed-to-checkout a:hover,
.woocommerce-mini-cart__buttons a:hover,
.woocommerce a.button:hover,
body > .wdt-search-form-container .wdt-search-form-close,
.error404 .wdt-button:hover,
.cpiwcheckbtn:hover,
.single-product form.cart.do-type-box button.do-type-box__submit:hover:not(:disabled),
.do-open-order-drawer:hover,
.jpos__apply:hover,
.jpos-banner__reset:hover,
.forminator-button:hover {
    background-color: #F5EFE6 !important;
    color: #87674F !important;
    transition: none !important;
    border: none !important;
    border-radius: 3px !important;
}

.single_add_to_cart_button,
.wpcf7-submit {
    border: none !important;
    border-radius: 3px !important;
}

.woocommerce-info a.button {
    padding: 10px !important;
    border-radius: 3px !important;
}

.error404 .wdt-button:hover {
    border: 1px solid #87674F !important;
}

/* Pulsante mostra/nascondi password (.show-password-input) */
.password-input .show-password-input,
.password-input .show-password-input::before,
.password-input .show-password-input::after {
    transition: none !important;
    animation: none !important;
}

.password-input .show-password-input {
    background-color: #F5EFE6 !important;
    background-image: none !important;
}

.password-input .show-password-input::before {
    color: #F5EFE6 !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
}

.password-input .show-password-input:hover {
    background-color: #F5EFE6 !important;
}

.woocommerce .woocommerce-message .button {
    padding: 10px;
}

.button-cta .wdt-button {
    border-color: #87674F;
}

.button-cta .wdt-button:hover {
    border-color: #4e3c31;
}

.woocommerce-mini-cart__buttons a.wc-forward:hover {
    color: #f5efe6 !important;
}


/* ==========================================================================
   PRODOTTI — MINICART
   ========================================================================== */

.wdt-shop-cart-widget-content,
.woocommerce-mini-cart__buttons,
.wdt-shop-cart-widget[class*="sidebar"] .wdt-shop-cart-widget-content .woocommerce-mini-cart-footer {
    background-color: #f5efe6 !important;
}

.wdt-shop-cart-widget[class*="sidebar"] .wdt-shop-cart-widget-header,
.wdt-shop-cart-widget[class*="sidebar"] .wdt-shop-cart-widget-content .woocommerce-mini-cart-footer p.buttons a.checkout,
.wdt-shop-cart-widget[class*="sidebar"] .wdt-shop-cart-widget-content .product_list_widget li a.remove,
.wdt-shop-cart-widget[class*="sidebar"] .wdt-shop-cart-widget-content .woocommerce-mini-cart-footer p.buttons a:not(.checkout),
.wdt-shop-cart-widget[class*="sidebar"] .wdt-shop-cart-widget-header h3 a,
.wdt-shop-cart-widget[class*="sidebar"] .wdt-shop-cart-widget-content .woocommerce-mini-cart-footer p.buttons a:hover,
.wdt-shop-cart-widget.cart-notification-widget .wdt-shop-cart-widget-close-button {
    background-color: #87674F !important;
}

.wdt-shop-cart-widget-overlay {
    backdrop-filter: blur(8px) !important;
}

.wdt-shop-cart-widget.activate-sidebar-widget {
    max-width: 600px !important;
    width: 100% !important;
}

.wdt-shop-cart-widget-content dl.variation dt,
.wdt-shop-cart-widget-content dl.variation dd {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wdt-shop-cart-widget-content dl.variation dd p {
    display: inline !important;
    margin: 0 !important;
}

.woocommerce-mini-cart-item a,
.variation {
    text-transform: uppercase !important;
}

.variation {
    margin-top: -20px;
}

.do-stepper {
    background: transparent;
    border-color: #87674f;
}

.do-stepper .do-stepper__dec,
.do-stepper .do-stepper__inc,
.do-stepper--mini .do-stepper__unit {
    color: #87674f !important;
}

.do-stepper .do-stepper__dec:hover:not(:disabled),
.do-stepper .do-stepper__inc:hover:not(:disabled) {
    background: #87674f !important;
    color: #F5EFE6 !important;
}

.do-stepper--mini .do-stepper__val {
    font-weight: 400;
}

.wdt-shop-cart-widget[class*="sidebar"] .wdt-shop-cart-widget-content .product_list_widget li {
    border: none !important;
}

.jamie-cart-tipologia {
    display: block;
    font-size: 13px;
    font-weight: 400;
    opacity: .75;
    margin-top: 2px;
}

.checkout-review-order-title a .jamie-cart-tipologia {
    float: none !important;
    display: block !important;
    width: auto !important;
    margin: 2px 0 0 !important;
}

/* Minicart — layout a griglia */
.wdt-shop-cart-widget-content .woocommerce-mini-cart-item {
    display: grid !important;
    grid-template-columns: 100px 1fr auto !important;
    grid-template-areas:
        "img name remove"
        "img variation variation"
        "img qty qty" !important;
    column-gap: 20px !important;
    align-items: start !important;
    position: relative !important;
}

.wdt-shop-cart-widget-content .woocommerce-mini-cart-item .remove {
    grid-area: remove !important;
}

.wdt-shop-cart-widget-content .woocommerce-mini-cart-item > a:has(img) {
    grid-area: img !important;
    float: none !important;
}

.wdt-shop-cart-widget-content .woocommerce-mini-cart-item > a:not(:has(img)) {
    grid-area: name !important;
}

.wdt-shop-cart-widget-content .woocommerce-mini-cart-item dl.variation {
    grid-area: variation !important;
}

.wdt-shop-cart-widget-content .woocommerce-mini-cart-item .do-qty-select--minicart,
.wdt-shop-cart-widget-content .woocommerce-mini-cart-item span.quantity {
    grid-area: qty !important;
    margin-top: 4px !important;
}

.do-qty-select--minicart {
    max-width: 100px !important;
    padding: 2px 20px !important;
    height: 30px !important;
}

.wdt-shop-cart-widget-content .woocommerce-mini-cart-item img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

/* Icona cestino al posto della × */
a.remove_from_cart_button {
    font-size: 0 !important;
    line-height: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background-color: #999999;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 3v1H4v2h16V4h-5V3H9zM5 8v12a2 2 0 002 2h10a2 2 0 002-2V8H5zm4 3h2v7H9v-7zm4 0h2v7h-2v-7z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 3v1H4v2h16V4h-5V3H9zM5 8v12a2 2 0 002 2h10a2 2 0 002-2V8H5zm4 3h2v7H9v-7zm4 0h2v7h-2v-7z'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

a.remove_from_cart_button:hover {
    background-color: #e74c3c;
}


/* ==========================================================================
   PRODOTTI — QUICK VIEW E GRIGLIA
   ========================================================================== */

.woocommerce .yith-quick-view .yith-quick-view-content.woocommerce div.summary .single_add_to_cart_button {
    border-radius: 3px;
}

#yith-quick-view-content .product_meta {
    display: none !important;
}

.wcct_btn_wrapper {
    border-radius: 3px;
}

body[class*="woocommerce"] .yith-wcqv-wrapper #yith-quick-view-content > div.product > .type-product .entry-summary .summary-content .product_title {
    text-transform: uppercase;
    font-size: 22px;
}

.yith-quick-view-content.woocommerce div.summary .single_add_to_cart_button {
    border-radius: 3px;
    border: none;
    background-color: #87674F !important;
}

.woocommerce ul.products.product-style-default.product-hover-thumb-fade-border li.product .product-thumb .image:before,
.woocommerce ul.products.product-style-default.product-hover-thumb-fade-border li.product .product-thumb .image:after,
.woocommerce a.button {
    border: none !important;
    border-radius: 3px !important;
}

.woocommerce a.button {
    font-family: 'Geometria Light', Arial, Helvetica, sans-serif !important;
}

.woocommerce-checkout #payment div.form-row.place-order > #place_order:after,
.woocommerce a.button:not([class*="yith-"]):before,
.woocommerce button.button:after,
.woocommerce a.button.alt:not([class*="yith-"]):before,
.woocommerce button.button.alt:after,
.woocommerce a.button.disabled:after,
.woocommerce a.button:disabled:after,
.woocommerce a.button:disabled[disabled]:after,
.woocommerce button.button.disabled:after,
.woocommerce button.button:disabled:after,
.woocommerce button.button:disabled[disabled]:after,
.woocommerce a.button.alt.disabled:after,
.woocommerce a.button.alt:disabled:after,
.woocommerce a.button.alt[disabled]:disabled:after,
.woocommerce button.button.alt.disabled:after,
.woocommerce button.button.alt:disabled:after,
.woocommerce button.button.alt[disabled]:disabled:after,
.woocommerce ul.products li.product .product-thumb .product-buttons-wrapper.product-button a:before,
#place_order:hover,
.showcoupon:hover {
    background-color: #F5EFE6;
    border-radius: 3px !important;
}

/* padding-top 0 era in una regola separata più in basso: unificato qui */
.woocommerce ul.products.product-padding-content li.product .product-details {
    padding: 0 0 15px !important;
    text-align: left !important;
}

.woocommerce ul.products li.product .product-details .product-title h5 a {
    font-family: 'Geometria Regular';
    text-transform: uppercase;
    font-size: 12px;
}


/* ==========================================================================
   PRODOTTI — SCHEDA PRODOTTO
   ========================================================================== */

.woocommerce-breadcrumb,
.woocommerce-breadcrumb a {
    text-transform: uppercase;
    font-family: 'Geometria Regular';
    font-size: 12px !important;
}

.product_title.entry-title {
    font-size: 35px !important;
}

.product_title.entry-title,
.woocommerce div.product .wdt-product-tabs .woocommerce-tabs ul.tabs li a {
    text-transform: uppercase;
    letter-spacing: 2px;
}

.woocommerce div.product .summary.wdt-product-summary .product-button form.cart {
    flex-wrap: wrap;
}

.woocommerce div.product div.images ol.flex-control-nav {
    justify-content: left;
}

/* Affianca quantità e pulsante */
.single-product form.cart {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 15px;
}

.single-product form.cart .quantity {
    flex: 0 0 140px;
    margin: 0 !important;
}

:where(.woocommerce) .select2-container .select2-selection--single .select2-selection__rendered {
    padding: 0;
}

.single-product form.cart::before,
.single-product form.cart::after {
    content: none !important;
}

.single-product form.cart .single_add_to_cart_button {
    flex: 1;
    margin: 0 !important;
}

/* Il widget CAP va sotto */
.single-product form.cart > .cpiw_widget,
.single-product form.cart > .cpiw_inner,
.single-product form.cart > .pincode_not_availabels {
    flex: 0 0 100%;
}

.jabon-login-message {
	margin: 0 !important;
}

/* ==========================================================================
   CHECK PINCODE (CAP)
   ========================================================================== */

.cpiw_main {
    background-color: #FFF !important;
    margin: 0;
    padding: 0;
}

.single-product .do-type-box__cpiw .cpiw_inner_first {
    gap: 14px;
}

.inner {
    background: #fff;
}
.jamie-cap-box__title {
	text-transform: uppercase;
}

/* "Controlla" e "Sì, consegnamo a... / Modifica": colonna destra = 50% */
.do-type-box__cpiw .cpiw_inner_first,
.do-type-box__cpiw .pincode_city_and_state {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 50% !important;
    gap: 14px !important;
    align-items: center !important;
    box-sizing: border-box !important;
}

.do-type-box__cpiw .cpiw_inner_first .checkpincode,
.do-type-box__cpiw .cpiw_inner_first .checkpincodebutton {
    width: 50% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.do-type-box__cpiw .pincode_city_and_state .cpiwcheckbtn {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.pincode_city_and_state {
    padding: 0;
}

.do-type-box__cpiw .pincode_city_and_state p {
    margin: 0 !important;
}

/* Messaggio "non raggiunto": testo sopra, pulsante sotto */
.do-type-box__cpiw .pincode_not_availabels {
    display: block !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
    border: none;
    font-size: 12px;
    color: #67432C !important;
}

.do-type-box__cpiw .pincode_not_availabels p {
    margin: 0 0 14px !important;
}

.do-type-box__cpiw .pincode_not_availabels .cpiwcheckbtn {
    display: block !important;
    width: 50% !important;
    margin: auto !important;
    box-sizing: border-box !important;
}

.cpiw_inner_inner {
    border: none;
}

.pincode_city_and_state {
    color: #87674F !important;
}

.checkpincode {
    border-color: #87674F !important;
}

.checkpincodebutton {
    background-color: #87674F;
    border: none !important;
}

.checkpincodebutton:hover {
    color: #4E3C31 !important;
    border: none !important;
    background-image: none !important;
}

/* Avviso prima, poi campo + pulsante */
.cpiw_widget .cpiw_main .cpiw_main_inner {
    order: 1;
}

.cpiw_widget .cpiw_main .cpiw_inner_first {
    order: 2;
}

.cpiw_widget .cpiw_main > div:last-child {
    order: 3; /* messaggio "campo vuoto" */
}


/* ==========================================================================
   PRODOTTI — TAB, CARATTERISTICHE, AVVISI
   ========================================================================== */

.tab-imballo-table td {
    background-color: #F5EFE6 !important;
}

.caratteristiche-dessert {
    min-height: 230px !important;
    padding: 25px 20px !important;
    border-radius: 20px;
    position: relative;
    border: 1px solid transparent;
    transition: border-color 1s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.caratteristiche-dessert:hover {
    border-color: var(--wdtPrimaryColor);
}

.elementor-widget-icon-box .elementor-icon svg {
    width: 1em;
    height: 1em;
    display: block;
}

.elementor-widget-icon-box .elementor-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.elementor-widget-icon-box {
    min-height: 1px;
    opacity: 1;
    transform: none;
}

.woocommerce-info a {
    color: #fff !important;
    background-color: #87674F;
    border-radius: 3px;
    box-shadow: none !important;
}

.dettagli-prodotti {
    margin: 0 auto !important;
}

.do-type-box__cart-link {
    color: #008800 !important;
}

@media screen and (min-width: 1650px) {
    .single-product .container,
    .category #main > .container {
        max-width: 1920px;
    }
}


/* ==========================================================================
   PRODOTTI — ARCHIVIO
   ========================================================================== */

.post-type-archive .container,
.tax-product_cat .container {
    max-width: 100%;
}

.woocommerce-ordering,
.widget .select2-container {
    width: 100% !important;
}

.product-loop-sorting {
    border-bottom: none !important;
    margin-bottom: 10px !important;
    padding-top: 10px;
}

@media only screen and (max-width: 767px) {
    .woocommerce .product-loop-sorting > .product-loop-sorting-item, .woocommerce .product-loop-sorting > .product-loop-sorting-item-group, .woocommerce .product-loop-sorting > .product-loop-sorting-item-group > .product-loop-sorting-item {
        display: inline-block;
        margin: 5px 0;
        width: auto;
    }
}
/* ==========================================================================
   DICONO DI NOI / BLOG (griglia)
   ========================================================================== */

.swiper-fade .swiper-slide h5 {
    text-transform: uppercase !important;
}

.wdt-simple-style.wdt-post-entry.entry-grid-layout .blog-entry,
.wdt-simple-style.wdt-post-entry.entry-list-layout .blog-entry {
    border: none;
    background-color: #F5EFE6;
}

.entry-title a {
    text-transform: uppercase;
}


/* ==========================================================================
   FOOTER
   ========================================================================== */

#footer .elementor-widget-heading .elementor-heading-title,
#footer .wdt-accordion-toggle-holder .wdt-accordion-toggle-title-holder,
#footer .wdt-accordion-toggle-holder .wdt-accordion-toggle-title-holder.ui-state-hover,
#footer .wdt-accordion-toggle-holder .wdt-accordion-toggle-title-holder.ui-state-active {
    text-transform: uppercase;
}

.link-footer .elementor-icon-list-text {
    color: #4E3C31 !important;
}

#footer .wdt-accordion-toggle-holder .wdt-accordion-toggle-title-holder,
#footer .wdt-accordion-toggle-holder .wdt-accordion-toggle-title-holder.ui-state-hover,
#footer .wdt-accordion-toggle-holder .wdt-accordion-toggle-title-holder.ui-state-active {
    background: none;
}

#footer .elementor-icon-list-item {
    padding: 0 !important;
}

#footer .elementor-icon-list-icon,
#footer a:not(.button):not(.elementor-button) {
    color: #87674F !important;
    border-color: #87674F;
}

#footer a::before {
    background-color: #87674F;
}

#footer .wdt-accordion-toggle-holder .wdt-accordion-toggle-wrapper {
    border-color: #87674F;
}
/* LOGO PER LINGUA – footer */
html:is([lang^="de"], [lang^="en"], [lang^="fr"], [lang^="da"]) #footer .wdt-logo-container a {
  display: inline-block;
  background: url("https://www.jami-e.com/wp-content/uploads/2026/11/Jamie-a-taste-of-Nature.png") center / contain no-repeat;
}
html:is([lang^="de"], [lang^="en"], [lang^="fr"], [lang^="da"]) #footer .wdt-logo-container img {
  opacity: 0;
}

/* ==========================================================================
   PAGINA ORDINA / POPUP / CHI SIAMO
   ========================================================================== */

.do-product-table {
    margin-bottom: 0;
}

.do-actions {
    margin: 0;
    background-color: #f5efe6;
    border-radius: 0;
    border: none;
    text-transform: uppercase;
}

button.pum-close.popmake-close {
    background-image: none !important;
}

.pum-theme-lightbox .pum-container {
    border: 5px solid #4E3C31;
}

.wdt-icon-box-style-b .wdt-icon-box-holder .wdt-content-item .wdt-content-title h5,
.wdt-icon-box-style-b .wdt-icon-box-holder .wdt-content-item .wdt-content-title h5 a {
    text-transform: uppercase !important;
}

.advanced-video,
.advanced-video .elementor-wrapper {
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100% !important;
    padding-bottom: 0 !important;
}

.advanced-video video,
.advanced-video iframe {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}


/* ==========================================================================
   COMPLIANZ / ONETAP
   ========================================================================== */

#cmplz-document {
    max-width: 100%;
}

#cmplz-document h2 {
    font-size: clamp(2.125rem, 1.8942rem + 1.0256vw, 3.125rem);
}

#cmplz-document p,
#cmplz-document,
#cmplz-document li {
    font-size: 16px;
}

@media screen and (max-width: 991px) {
    #cmplz-manage-consent .cmplz-manage-consent {
        right: 15px;
    }
}

.onetap-container-toggle .onetap-toggle img.design-size1 {
    width: 40px !important;
    height: 40px !important;
}

button.onetap-toggle {
    background-image: none !important;
}

@media screen and (max-width: 768px) {
    .onetap-container-toggle .onetap-toggle img.design-size1 {
        width: 36px !important;
        height: 36px !important;
        margin-right: 2px;
    }
}

@media screen and (min-width: 576px) and (max-width: 768px) {
    .onetap-container-toggle .onetap-toggle {
        margin-bottom: 50px !important;
    }
}


/* ==========================================================================
   VARIE
   ========================================================================== */

.wp-block-heading {
    text-transform: uppercase !important;
    font-size: 28px;
}

th {
    text-transform: uppercase;
}

/* Nascondi colonne prezzi e spedizioni */
.product-total,
.product-price {
    display: none !important;
}

tfoot,
.cart_totals h2,
.cart_totals .shop_table {
    display: none !important;
}

#footer .elementor-widget-icon-list:not(.wdt-copyrght-iconlist) ul.elementor-icon-list-items li.elementor-icon-list-item a:hover span.elementor-icon-list-text {
    transform: none;
}


/* ==========================================================================
   MIO ACCOUNT — LAYOUT
   ========================================================================== */

.woocommerce-account .wdt-three-fourth {
    float: none !important;
    width: 100% !important;
    max-width: 700px !important;
    margin: 0 auto !important;
}

.woocommerce-account .wdt-one-fourth {
    float: none !important;
    display: inline-block;
    vertical-align: top;
}

.woocommerce-account .woocommerce {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.woocommerce-MyAccount-content {
    max-width: 800px;
}

.woocommerce table.shop_table thead th,
.woocommerce-page table.shop_table thead th {
    font-size: 20px;
}

.woocommerce table.shop_table td,
.woocommerce-page table.shop_table td,
.woocommerce table.shop_table thead th,
.woocommerce-page table.shop_table thead th {
    padding: 10px;
}

.woocommerce-orders-table__cell-order-number {
    background-color: #F5EFE6 !important;
}

.woocommerce-orders-table__cell-order-number a:hover {
    color: #F5EFE6 !important;
}

#post-166 > div > div.column.wdt-three-fourth > div > table > tbody > tr > td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions > a {
    color: #F5EFE6 !important;
}

#post-166 > div > div.column.wdt-three-fourth > div > table > tbody > tr > td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions > a:hover {
    color: #87674F !important;
}

.woocommerce-MyAccount-navigation-link--downloads {
    display: none;
}

.woocommerce-Address-title h2 {
    margin: 0 !important;
}

.jamie-azioni-form-indirizzo {
    padding-top: 30px;
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
}

.jamie-azioni-form-indirizzo button,
.jamie-azioni-form-indirizzo a.button {
    margin: 0 !important;
    box-sizing: border-box;
    line-height: normal;
}


/* ==========================================================================
   PULSANTI — BORDO INTERNO (OUTLINE)
   ========================================================================== */

.wdt-button,
.woocommerce-page .products .button,
.woocommerce-page .product .single_add_to_cart_button,
#yith-quick-view-modal .single_add_to_cart_button,
.woocommerce a.button,
button.button,
.wpcf7-submit,
.cpiw_inner .cpiwcheckbtn,
.checkpincodebutton,
#place_order,
.wc-proceed-to-checkout a,
.woocommerce-mini-cart__buttons a,
.do-pdf-btn,
.woocommerce-info a,
.cpiwcheckbtn,
.jpos__apply,
.jpos-banner__reset,
.forminator-button {
    border-radius: 3px !important;
    outline: 1px solid rgba(245, 239, 230, 0.6) !important;
    outline-offset: -4px !important;
}

.btn-slidehome .wdt-button {
    outline: 1px solid rgba(255, 255, 255, 1) !important;
}

.wdt-button:hover,
.woocommerce-page .products .button:hover,
.woocommerce-page .product .single_add_to_cart_button:hover,
#yith-quick-view-modal .single_add_to_cart_button:hover,
.woocommerce a.button:hover,
button.button:hover,
.wpcf7-submit:hover,
.cpiw_inner .cpiwcheckbtn:hover,
.checkpincodebutton:hover,
#place_order:hover,
.wc-proceed-to-checkout a:hover,
.woocommerce-mini-cart__buttons a:hover,
.do-pdf-btn:hover,
.woocommerce-info a:hover,
.cpiwcheckbtn:hover,
.jpos__apply:hover,
.jpos-banner__reset:hover,
.forminator-button:hover {
    outline-color: rgba(78, 60, 49, 0.6) !important;
}

.wdt-posts-list-wrapper .wdt-button {
    outline: none !important;
}

.forminator-button:hover {
    box-shadow: none !important;
}

/* Ripristino icona Quick View (tonda, senza outline) */
.woocommerce a.button.yith-wcqv-button,
.woocommerce a.yith-wcqv-button,
a.yith-wcqv-button.yith-wcqv-button,
.woocommerce a.button.yith-wcqv-button:hover,
a.yith-wcqv-button.yith-wcqv-button:hover {
    border-radius: 50% !important;
    outline: none !important;
}

.woocommerce ul.products.vertical-position-top-right li.product .product-wrapper .product-thumb .product-thumb-content .product-icons .wc_inline_buttons .wc_btn_inline:before {
    background-color: #87674F !important;
    border-color: #87674F !important;
}

div.wcqv_btn_wrapper.wc_btn_inline::after {
    border-left: solid 8px #87674F !important;
}

.checkpincodebutton {
    padding: 10px 0 !important;
}


/* ==========================================================================
   STICKY, ZOOM SFONDI, ICON BOX
   ========================================================================== */

.testo-sticky {
    margin: auto !important;
}

@media (min-width: 1025px) {
    .elementor-element-e0453ea {
        position: sticky !important;
        top: 100px; /* distanza dall'header */
        align-self: flex-start !important;
    }
}

.zoom-background {
    overflow: hidden !important;
    background-size: 250% !important;
    transition: background-size 0.5s ease;
}

.zoom-background:hover {
    background-size: 260% auto !important;
}

.zoom-background2 {
    overflow: hidden !important;
    background-size: 100% !important;
    transition: background-size 0.5s ease;
}

.zoom-background2:hover {
    background-size: 110% auto !important;
}

/* Icon box #6601a9c: 3 colonne sopra 1024px, 1 colonna sotto
   (sostituisce 12 media query che davano lo stesso risultato) */
#wdt-icon-box-6601a9c .wdt-column-wrapper:not(.wdt-snap-scroll-enabled) .wdt-column {
    width: 33.33% !important;
}

#wdt-icon-box-6601a9c .wdt-column-wrapper.wdt-snap-scroll-enabled .wdt-column {
    flex: 0 0 33.33% !important;
}

@media only screen and (max-width: 1024px) {
    #wdt-icon-box-6601a9c .wdt-column-wrapper:not(.wdt-snap-scroll-enabled) .wdt-column {
        width: 100% !important;
    }

    #wdt-icon-box-6601a9c .wdt-column-wrapper.wdt-snap-scroll-enabled .wdt-column {
        flex: 0 0 100% !important;
    }
}


/* ==========================================================================
   404
   ========================================================================== */

body.error404 div.wrapper:after {
    background-image: none;
    background-color: rgba(255, 255, 255, 0.6);
}

.error404 h2 {
    padding-left: 15px;
}


/* ==========================================================================
   CHATY / ONETAP — POSIZIONAMENTO
   ========================================================================== */

/*#chaty-widget-0 .chaty-widget {
    z-index: 999999;
}

@media screen and (min-width: 1025px) {
    .chaty-i-trigger .chaty-channel {
        bottom: 70px !important;
        right: 20px !important;
    }
}

@media screen and (max-width: 1024px) {
    .chaty-i-trigger .chaty-channel {
        bottom: 60px !important;
        right: 18px !important;
    }
}

@media screen and (max-width: 992px) {
    .chaty-i-trigger .chaty-channel {
        right: -6px !important;
    }
}

@media screen and (max-width: 768px) {
    .chaty-i-trigger .chaty-channel {
        bottom: 78px !important;
    }
}

@media screen and (max-width: 575px) {
    .chaty-i-trigger .chaty-channel {
        bottom: 87px !important;
    }
}

:root {
    --jamie-lift-height: 50px;
}

.onetap-container-toggle .onetap-toggle,
[id^="chaty-widget-"],
[id^="chaty-widget-"] .chaty-widget {
    transition: bottom 0.35s ease !important;
}

body.jamie-widgets-up .onetap-container-toggle .onetap-toggle {
    bottom: calc(30px + var(--jamie-lift-height)) !important;
}

body.jamie-widgets-up [id^="chaty-widget-"],
body.jamie-widgets-up [id^="chaty-widget-"] .chaty-widget {
    bottom: calc(55px + var(--jamie-lift-height)) !important;
}

/* ==========================================================================
   CHATY / ONETAP — DIMENSIONI E ALLINEAMENTO (fonte: OneTap via JS)
   ========================================================================== */
:root {
    --jamie-fab-size: 52px;     /* sovrascritta da JS con la misura reale di OneTap */
    --jamie-fab-right: 20px;    /* idem */
    --jamie-ot-bottom: 30px;    /* distanza da fondo di OneTap a riposo */
    --jamie-fab-gap: 12px;      /* spazio tra OneTap e Chaty */
    --jamie-lift-height: 50px;  /* aggiornata dal JS del banner cookie */
	--jamie-chaty-adj-x: 0px;   /* calcolate dal JS */
    --jamie-chaty-adj-y: 0px;
}

#chaty-widget-0 .chaty-widget { z-index: 999999; }

/* Chaty: stessa misura, stesso bordo destro, impilato sopra OneTap */
.chaty-i-trigger .chaty-channel {
    width: var(--jamie-chaty-size, var(--jamie-fab-size)) !important;
    height: var(--jamie-chaty-size, var(--jamie-fab-size)) !important;
    min-width: var(--jamie-chaty-size, var(--jamie-fab-size)) !important;
    min-height: var(--jamie-chaty-size, var(--jamie-fab-size)) !important;
    right: calc(var(--jamie-fab-right) + var(--jamie-chaty-adj-x)) !important;
    bottom: calc(var(--jamie-ot-bottom) + var(--jamie-fab-size) + var(--jamie-fab-gap) + var(--jamie-chaty-adj-y)) !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;          /* nascosto finché JS non ha misurato */
    transition: none !important;
}
/* A misura completata: dissolvenza + transizione solo per il lift */
html.jamie-fab-ready .chaty-i-trigger .chaty-channel {
    opacity: 1 !important;
    transition: opacity 0.25s ease, bottom 0.35s ease !important;
}

/* Finché non è pronto, OneTap non anima (misura stabile) */
html:not(.jamie-fab-ready) .onetap-container-toggle .onetap-toggle {
    transition: none !important;
}
/* Elementi interni, tooltip escluso */
.chaty-i-trigger .chaty-channel :is(a, button, .chaty-icon, .chaty-svg, svg):not(.on-hover-text):not(.on-hover-text *) {
    width: var(--jamie-chaty-size, var(--jamie-fab-size)) !important;
    height: var(--jamie-chaty-size, var(--jamie-fab-size)) !important;
    min-width: var(--jamie-chaty-size, var(--jamie-fab-size)) !important;
    min-height: var(--jamie-chaty-size, var(--jamie-fab-size)) !important;
    max-width: var(--jamie-chaty-size, var(--jamie-fab-size)) !important;
    max-height: var(--jamie-chaty-size, var(--jamie-fab-size)) !important;
    margin: 0 !important;
}

/* Tooltip: dimensioni libere */
.chaty-i-trigger .chaty-channel .on-hover-text {
    width: auto !important;
    height: auto !important;
    max-width: 21em !important;
}

/* Colori: sfondo #F5EFE6, icona #87674F */
.chaty-i-trigger .chaty-channel .color-element,
.chaty-i-trigger .chaty-channel svg circle {
    fill: #F5EFE6 !important;
}
.chaty-i-trigger .chaty-channel svg path {
    fill: #87674F !important;
    stroke: #87674F !important;
}

/* OneTap: solo transizione e lift (posizione base lasciata al plugin) */
.onetap-container-toggle .onetap-toggle {
    transition: bottom 0.35s ease !important;
}

/* Lift sopra il banner cookie: entrambi dalla stessa variabile */
body.jamie-widgets-up .onetap-container-toggle .onetap-toggle {
    bottom: calc(var(--jamie-ot-bottom) + var(--jamie-lift-height)) !important;
}
body.jamie-widgets-up .chaty-i-trigger .chaty-channel {
    bottom: calc(var(--jamie-ot-bottom) + var(--jamie-lift-height) + var(--jamie-fab-size) + var(--jamie-fab-gap) + var(--jamie-chaty-adj-y)) !important;
}


/* ==========================================================================
   TRANSLATEPRESS
   ========================================================================== */

.trp-shortcode-switcher {
    padding: 0 !important;
}
/* Nasconde il testo "ITA" nel blocco visibile e in quello di misura */
.trp-shortcode-switcher__wrapper .trp-language-item__current .trp-language-item-name {
  font-size: 0;
  line-height: 0;
}

/* Dimensioni fisse per il pulsante, uguali nei due blocchi */
.trp-shortcode-switcher__wrapper .trp-language-item__current {
  min-width: 32px;
  min-height: 32px;
  box-sizing: border-box;
}

/* Il globo al posto del nome, bianco con header trasparente, colorato su hheader normale */
.trp-shortcode-switcher__wrapper .trp-language-item__current::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
	background-color: #87674F;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20M12 2a15 15 0 0 1 0 20M12 2a15 15 0 0 0 0 20'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20M12 2a15 15 0 0 1 0 20M12 2a15 15 0 0 0 0 20'/%3E%3C/svg%3E") no-repeat center / contain;
}
.page-id-1334 .trp-shortcode-switcher__wrapper .trp-language-item__current::before, .page-id-5197 .trp-shortcode-switcher__wrapper .trp-language-item__current::before{
	background-color: #fff;
}
.jamie-scrolled .trp-shortcode-switcher__wrapper .trp-language-item__current::before {
	background-color: #87674F;
}

/* Rimuove bordo e padding dal wrapper dello switcher */
.trp-shortcode-switcher__wrapper {
  --border: none !important;
  --border-width: 0;
  --border-color: transparent;
  --border-radius: 0;
  border: none;
  padding: 0;
}

/*Nascondi freccia */
.trp-shortcode-arrow{
	display: none;
}


/* 1. Elimina i paragrafi vuoti aggiunti attorno allo shortcode */
.elementor-element-daa05fb p:empty {
  display: none;
}
.elementor-element-daa05fb {
  line-height: 1;
}

/* 2. Centra in verticale switcher, social, login e carrello */
.elementor-element-d98594c {
  align-items: center;
}

/* 3. Switcher senza spostamenti residui */
.elementor-element-daa05fb .trp-current-language-item__wrapper {
  display: flex;
  align-items: center;
  margin-top: 0 !important;
}

/* 4. Padding solo sulle voci della tendina, non sul pulsante del globo */
@media screen and (max-width: 768px) {
  .trp-switcher-dropdown-list .trp-language-item {
    padding: 5px;
  }
}
/* ==========================================================================
   CARRELLO
   ========================================================================== */

.select2-container,
.woocommerce-cart-form .product-quantity .select2-container.do-qty-select--cart .select2-selection {
    width: 100% !important;
}

.shop_table {
    background-color: #F5EFE6;
    border: none !important;
}

.shop_table th {
    text-transform: uppercase !important;
    font-size: 12px !important;
    border-bottom: solid 1px #86674F;
}

.woocommerce table.shop_table,
table td {
    border: none !important;
}

.woocommerce table.cart td.product-name a:not(.button),
.woocommerce table.cart td.product-price,
.woocommerce table.cart td.product-subtotal {
    font-family: "Geometria Regular", Arial, Helvetica, sans-serif;
    text-transform: uppercase;
}

.woocommerce table.shop_table tr a:hover,
.woocommerce table.cart td.product-name a:not(.button):hover {
    background-color: transparent;
}

.coupon {
    padding: 20px !important;
    background-color: #F5EFE6;
    border: none !important;
}

.coupon label {
    font-family: "Geometria Regular", Arial, Helvetica, sans-serif !important;
    text-transform: uppercase;
    font-size: clamp(0.875rem, 0.8528rem + 0.1227vw, 1rem) !important;
    color: #87674F !important;
}

.cart_totals {
    padding: 0 !important;
    border: none !important;
}

.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
    border: none;
    text-transform: uppercase;
    font-size: 12px;
    font-family: "Geometria Regular";
}
.woocommerce-message,
.woocommerce-info {
    color: #87674F !important;
}


/* ==========================================================================
   MAILCHIMP
   ========================================================================== */

.wdt-mailchimp-subscription-button-holder,
.wdt-mailchimp-holder.wdt-template-type3 .wdt-mailchimp-wrapper .wdt-mailchimp-subscribe-form .wdt-mailchimp-subscription-button-holder button[type="submit"] {
    background-color: #87674f !important;
    background-image: none !important;
}

/* NB: il primo selettore non ha :hover, quindi si applica sempre (vedi note) */
.wdt-mailchimp-subscription-button-holder,
.wdt-mailchimp-holder.wdt-template-type3 .wdt-mailchimp-wrapper .wdt-mailchimp-subscribe-form .wdt-mailchimp-subscription-button-holder button[type="submit"]:hover {
    background-color: transparent !important;
    color: #87674f;
    border: 1px solid #87674f;
}


/* ==========================================================================
   RECENSIONI (TRUSTINDEX)
   ========================================================================== */

.ti-profile-img {
    display: none;
}

.ti-footer {
    background-color: #fff;
    margin-top: 5px !important;
    border-radius: 12px;
}

@media (min-width: 768px) {
    .ti-widget.ti-goog .ti-widget-container {
        align-items: stretch !important;
    }

    .ti-widget.ti-goog .ti-footer .ti-row {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        box-sizing: border-box;
        padding: 20px;
    }
}

#recensioni .ti-widget-container {
    margin-left: auto;
    margin-right: auto;
}

/* Da tablet fino a 1200px: footer + 2 schede */
@media screen and (min-width: 768px) and (max-width: 1200px) {
    #recensioni .ti-widget-container {
        max-width: 1000px;
    }

    #recensioni .ti-widget-container .ti-footer {
        flex: 0 0 36% !important;
        max-width: 36% !important;
        padding-right: 16px;
    }

    #recensioni .ti-widget-container .ti-reviews-container {
        flex: 0 0 64% !important;
        max-width: 64% !important;
    }

    #recensioni .ti-widget-container .ti-review-item {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
    }

    /* Box Google: contenuto che sta dentro la card */
    #recensioni .ti-footer .ti-row {
        padding: 16px;
    }

    #recensioni .ti-footer .ti-profile-details,
    #recensioni .ti-footer .ti-rating-text {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    #recensioni .ti-footer .ti-header-write-btn {
        padding: 8px 12px;
        font-size: 13px;
        white-space: normal;
        text-align: center;
    }
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
    #recensioni .ti-reviews-container-wrapper {
        margin: 0 8px 0 16px !important;
    }

    #recensioni .ti-footer .ti-row {
        width: 100%;
        min-width: 0;
        overflow: hidden;
    }
}
/* Oltre 1200px: come prima */
@media screen and (min-width: 1201px) {
    #recensioni .ti-widget-container {
        max-width: 1000px;
    }
}

@media screen and (min-width: 1600px) {
    #recensioni .ti-widget-container {
        max-width: 1150px;
    }
}

/* Testo più leggibile */
#recensioni .ti-review-content {
    font-size: 16px;
}

#recensioni .ti-name {
    font-size: 16px;
}

#recensioni .ti-date {
    font-size: 14px;
}

#recensioni .ti-widget.ti-goog .ti-controls .ti-next:hover,
#recensioni .ti-widget.ti-goog .ti-controls .ti-next:focus,
#recensioni .ti-widget.ti-goog .ti-controls .ti-prev:hover,
#recensioni .ti-widget.ti-goog .ti-controls .ti-prev:focus {
    background-color: #87674f !important;
    outline-color: #87674f !important;
}
@media screen and (min-width: 768px) {
    #recensioni .ti-widget-container {
        align-items: stretch !important;
    }

    #recensioni .ti-footer {
        display: flex;
        flex-direction: column;
        margin-top: 5px;   /* compensa il padding-top del wrapper delle recensioni */
        margin-bottom: 1px;
    }

    #recensioni .ti-footer .ti-row {
        flex: 1;
    }
}
/* Altezze uguali: box Google e recensioni */
@media screen and (min-width: 635px) {
    #recensioni .ti-widget-container {
        align-items: stretch !important;
    }

    /* Box Google: riempie tutta l'altezza */
    #recensioni .ti-footer {
        display: flex;
        flex-direction: column;
        margin-top: 5px;      /* compensa il padding-top del wrapper */
        margin-bottom: 1px;
    }

    #recensioni .ti-footer .ti-row {
        flex: 1;
    }

    /* Recensioni: schede alte quanto il contenitore */
    #recensioni .ti-reviews-container {
        display: flex;
        flex-direction: column;
    }

    #recensioni .ti-reviews-container-wrapper {
        flex: 1;
        align-items: stretch;
    }

    #recensioni .ti-review-item {
        display: flex;
    }

    #recensioni .ti-review-item > .ti-inner {
        flex: 1;
    }
}

/* Spazio tra box Google e recensioni (sotto i 1024px il widget usa margine negativo) */
@media screen and (min-width: 635px) and (max-width: 1023px) {
    #recensioni .ti-reviews-container-wrapper {
        margin: 0 8px 0 16px !important;
    }

    #recensioni .ti-footer .ti-row {
        width: 100%;
        min-width: 0;
        overflow: hidden;
    }
}

/* ==========================================================================
   CHECKOUT
   ========================================================================== */

@media screen and (min-width: 1060px) {
    #customer_details,
    .woocommerce-checkout-order-review-wrap {
        width: 49% !important;
    }

    #customer_details {
        margin-right: 10px;
    }

    .woocommerce-checkout-order-review-wrap {
        margin-left: 10px;
    }
}

@media screen and (min-width: 550px) {
    .woocommerce-billing-fields .form-row-first,
    .woocommerce-billing-fields .form-row-last,
    .woocommerce-shipping-fields .form-row-first,
    .woocommerce-shipping-fields .form-row-last,
    .woocommerce-MyAccount-content .form-row-first,
    .woocommerce-MyAccount-content .form-row-last {
        width: 48% !important;
        float: left !important;
        clear: none !important;
    }

    .woocommerce-billing-fields .form-row-first,
    .woocommerce-shipping-fields .form-row-first {
        margin-right: 4% !important;
    }

    .woocommerce-billing-fields .form-row-wide,
    .woocommerce-shipping-fields .form-row-wide {
        width: 100% !important;
        float: none !important;
        clear: both !important;
    }

    .woocommerce-billing-fields .form-row-third,
    .woocommerce-shipping-fields .form-row-third {
        width: 31.33% !important;
        float: left !important;
        clear: none !important;
    }

    .woocommerce-billing-fields .jamie-third-1,
    .woocommerce-billing-fields .jamie-third-2,
    .woocommerce-shipping-fields .jamie-third-1,
    .woocommerce-shipping-fields .jamie-third-2 {
        margin-right: 3% !important;
    }

    .woocommerce-billing-fields .jamie-third-3,
    .woocommerce-shipping-fields .jamie-third-3 {
        margin-right: 0 !important;
    }

    .woocommerce-billing-fields .form-row-wide::after,
    .woocommerce-shipping-fields .form-row-wide::after {
        content: "";
        display: table;
        clear: both;
    }

    .woocommerce-billing-fields .form-row-first,
    .woocommerce-billing-fields .jamie-third-1,
    .woocommerce-shipping-fields .form-row-first,
    .woocommerce-shipping-fields .jamie-third-1 {
        clear: both !important;
    }

    #billing_address_2_field .screen-reader-text,
    #shipping_address_2_field .screen-reader-text {
        position: static !important;
        visibility: hidden !important;
        width: auto !important;
        height: auto !important;
        margin: 10px 0 0 0 !important;
        padding: 0 !important;
        clip: auto !important;
        clip-path: none !important;
        overflow: visible !important;
        white-space: normal !important;
    }
}

.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error,
.woocommerce .woocommerce-message {
    padding: 10px 0 !important;
    background-color: #fff !important;
    border-bottom: 1px solid;
    box-shadow: none;
    width: 600px;
    max-width: 100%;
    text-align: left;
}
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message {
	    color: #87674F;
}

/* Info e message: testo a sinistra, pulsante a destra */
.woocommerce-info,
.woocommerce-message {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.woocommerce-info .button,
.woocommerce-message .button,
.woocommerce-info .showcoupon {
    order: 2;
    margin-left: auto;
    float: none;
}

#do-order-form .woocommerce-info {
    background-color: transparent !important;
}

.woocommerce-info [role="button"] {
    margin: 0 10px;
}

.woocommerce-info::before {
    display: none;
}

#customer_details {
    border: none !important;
}

span.optional {
    display: none !important;
}

.woocommerce-checkout-order-review-wrap {
    background-color: #F5EFE6;
    border: none;
}

.checkout-review-order-details {
    padding: 0 !important;
}

.checkout-review-order-title a {
    text-transform: uppercase !important;
}

strong.product-quantity {
    font-family: "Geometria Light", Arial, Helvetica, sans-serif !important;
    color: #87674f;
}

.woocommerce form .form-row .input-text,
.woocommerce form .form-row select,
.select2-container--default .select2-selection--single {
    background-color: transparent;
    border-color: #87674f !important;
    border-radius: 3px !important;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
    padding: 10px;
}

.select2-results__option,
.select2-container.select2-container--default .select2-selection--single,
.select2-container.select2-container--default .select2-selection--multiple {
    line-height: 42px;
}


/* ==========================================================================
   MIO ACCOUNT — FORM
   ========================================================================== */

.woocommerce-MyAccount-content .form-row-third {
    float: left;
    width: 32% !important;
    margin-right: 2%;
    clear: none;
}

.woocommerce-MyAccount-content .form-row-third.jamie-third-3 {
    margin-right: 0;
}

@media (max-width: 768px) {
    .woocommerce-MyAccount-content .form-row-third {
        float: none;
        width: 100%;
        margin-right: 0;
    }

    .woocommerce-address-fields__field-wrapper .form-row {
        width: 100% !important;
    }
}

/* 1) Dati aziendali: 2 colonne, ordine invariato */
form:has(#save_dati_aziendali_nonce) fieldset {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border: 0;
    padding: 0;
}

form:has(#save_dati_aziendali_nonce) fieldset legend {
    flex: 0 0 100% !important;
}

form:has(#save_dati_aziendali_nonce) fieldset .form-row-wide {
    flex: 0 0 48% !important;
    width: 48% !important;
}

/* 2) Dettagli account: riordino + affiancamento */
form:has(#save-account-details-nonce) {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

form:has(#save-account-details-nonce) .clear {
    display: none;
}

form:has(#save-account-details-nonce) fieldset {
    display: contents;
}

form:has(#save-account-details-nonce) fieldset legend {
    display: none;
}

/* Riga 1: Nome / Cognome / Nome visualizzato */
form:has(#save-account-details-nonce) p:has(#account_first_name)   { order: 1; flex: 0 0 32% !important; width: 32% !important; }
form:has(#save-account-details-nonce) p:has(#account_last_name)    { order: 2; flex: 0 0 32% !important; width: 32% !important; }
form:has(#save-account-details-nonce) p:has(#account_display_name) { order: 3; flex: 0 0 32% !important; width: 32% !important; }

/* Riga 2: Email / Telefono */
form:has(#save-account-details-nonce) p:has(#account_email) { order: 4; flex: 0 0 48% !important; width: 48% !important; }
form:has(#save-account-details-nonce) p:has(#billing_phone) { order: 5; flex: 0 0 48% !important; width: 48% !important; }

/* Riga 3: Codice Fiscale */
form:has(#save-account-details-nonce) p:has(#billing_codice_fiscale) { order: 6; flex: 0 0 100% !important; width: 100% !important; }

/* Riga 4: Password attuale / Nuova password / Conferma */
form:has(#save-account-details-nonce) p:has(#password_current) { order: 7; flex: 0 0 32% !important; width: 32% !important; align-self: flex-end; }
form:has(#save-account-details-nonce) p:has(#password_1)       { order: 8; flex: 0 0 32% !important; width: 32% !important; align-self: flex-end; }
form:has(#save-account-details-nonce) p:has(#password_2)       { order: 9; flex: 0 0 32% !important; width: 32% !important; align-self: flex-end; margin-bottom: 20px !important; }

/* Riga finale: bottone + campi nascosti */
form:has(#save-account-details-nonce) > p:last-of-type { order: 10; flex: 0 0 100% !important; }

/* 4) Indirizzi di consegna (aggiungi/modifica): CAP / Città / Provincia in riga */
form:has(#salva_indirizzo_consegna_nonce) {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

form:has(#salva_indirizzo_consegna_nonce) p:has([name="etichetta"]) { order: 1; flex: 0 0 100% !important; width: 100% !important; }
form:has(#salva_indirizzo_consegna_nonce) p:has([name="address_1"]) { order: 2; flex: 0 0 100% !important; width: 100% !important; }
form:has(#salva_indirizzo_consegna_nonce) p:has([name="postcode"])  { order: 3; flex: 0 0 32% !important;  width: 32% !important; }
form:has(#salva_indirizzo_consegna_nonce) p:has([name="city"])      { order: 4; flex: 0 0 32% !important;  width: 32% !important; }
form:has(#salva_indirizzo_consegna_nonce) p:has([name="state"])     { order: 5; flex: 0 0 32% !important;  width: 32% !important; }
form:has(#salva_indirizzo_consegna_nonce) p.jamie-azioni-form-indirizzo { order: 6; flex: 0 0 100% !important; width: 100% !important; }

#account_display_name_description {
    display: none;
}


/* ==========================================================================
   FILTRI SHOP
   ========================================================================== */

.product-loop-sorting {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.product-loop-sorting-item-group {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
    align-items: center !important;
    flex: 0 0 auto !important;
}

.product-loop-filters-area-title {
    white-space: nowrap !important;
}

/* Il dropdown di Select2 viene appeso a <body>, fuori dal pannello filtri:
   deve stare sopra all'overlay (99998) e al pannello (99999) */
.select2-dropdown {
    z-index: 999999 !important;
}

.product-loop-filters-area-content .select2-container {
    width: 100% !important;
}

.jamie-filters-reset-wrapper {
    margin-top: 10px;
    text-align: right;
}

.jamie-filters-reset {
    font-size: 12px;
    text-transform: uppercase;
    text-decoration: underline;
    cursor: pointer;
    color: #87674F;
}

.jamie-filters-reset:hover {
    color: #4E3C31;
}

/* Pannello filtri laterale stile minicart
   (lo sfondo è definito più sotto in "Widget area") */
.product-loop-filters-area-content {
    display: block !important; /* resta sempre nel DOM, mai display:none */
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    height: 100vh !important;
    width: 100%;
    max-width: 420px;
    z-index: 99999 !important;
    overflow-y: auto;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.35s ease;
    padding: 30px;
}

.product-loop-filters-area-content:not(.hide) {
    transform: translateX(0);
}

.product-loop-filters-area-content.hide {
    pointer-events: none;
}

.product-loop-filters-area-content .widget {
    max-width: 100%;
}

.tax-product_cat #primary > div:nth-child(3) > div:nth-child(3) {
    display: none;
}

/* Overlay di sfondo, stesso stile del minicart */
.jamie-filters-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 20, 20, 0.3);
    backdrop-filter: blur(8px);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease;
}

.jamie-filters-overlay.jamie-filters-overlay-active {
    opacity: 1;
    visibility: visible;
}

.product-loop-filters-area-content-inner {
    display: flex !important;
    flex-direction: column !important;
    gap: 25px !important;
}

.product-loop-filters-area-content-inner > aside {
    width: 100% !important;
    flex: 0 0 auto !important;
}

@media screen and (max-width: 480px) {
    .product-loop-filters-area-content {
        max-width: 100%;
    }
}


/* ==========================================================================
   MINICART — QUANTITÀ + CESTINO (override per pagine non WooCommerce)
   ========================================================================== */

/* Template a 3 righe, senza area "remove" separata */
body:not(.woocommerce-page) .wdt-shop-cart-widget[class*="sidebar"] .wdt-shop-cart-widget-content .product_list_widget li.woocommerce-mini-cart-item {
    grid-template-areas:
        "img name name"
        "img variation variation"
        "img qty qty" !important;
}

/* Il wrapper prende il posto della select e affianca quantità e cestino */
body:not(.woocommerce-page) .wdt-shop-cart-widget[class*="sidebar"] .wdt-shop-cart-widget-content .product_list_widget li .do-minicart-qty-remove-wrap {
    grid-area: qty;
    display: flex;
    align-items: center;
    gap: 8px;
}

body:not(.woocommerce-page) .wdt-shop-cart-widget[class*="sidebar"] .wdt-shop-cart-widget-content .product_list_widget li a.remove.remove_from_cart_button {
    position: static !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background-color: #999999;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 3v1H4v2h16V4h-5V3H9zM5 8v12a2 2 0 002 2h10a2 2 0 002-2V8H5zm4 3h2v7H9v-7zm4 0h2v7h-2v-7z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 3v1H4v2h16V4h-5V3H9zM5 8v12a2 2 0 002 2h10a2 2 0 002-2V8H5zm4 3h2v7H9v-7zm4 0h2v7h-2v-7z'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

body:not(.woocommerce-page) .wdt-shop-cart-widget[class*="sidebar"] .wdt-shop-cart-widget-content .product_list_widget li a.remove.remove_from_cart_button:hover {
    background-color: #e74c3c;
}

/* Quantità + cestino sotto la tipologia, nella colonna del testo */
.woocommerce-mini-cart-item .do-minicart-qty-remove-wrap {
    grid-column: 2 / -1;
    grid-row: auto;
    justify-self: start;
    align-self: start;
}


/* ==========================================================================
   BEAF — SLIDER ALTO QUANTO LE COLONNE
   ========================================================================== */

.bafg-fit {
    align-self: stretch;
    justify-content: center;
}

.bafg-fit .elementor-widget-shortcode,
.bafg-fit .elementor-shortcode,
.bafg-fit .bafg-twentytwenty-wrapper {
    width: 100%;
}

.bafg-fit .bafg-twentytwenty-container {
    width: 100% !important;
    max-width: 100% !important;
}

.bafg-fit .twentytwenty-container img {
    width: 100% !important;
    max-width: none !important;
    height: var(--bafg-h, auto) !important;
    object-fit: cover;
    object-position: var(--bafg-pos, center);
}

div.wdt-content-title-group.below {
    display: none;
}


/* ==========================================================================
   QUICK VIEW (YITH) — MODALE
   ========================================================================== */

/* Il wrapper ha height inline calcolata da YITH: lasciamola libera */
@media (min-width: 1025px) {
    #yith-quick-view-modal .yith-wcqv-wrapper {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%);
        width: min(1000px, 92vw) !important;
        height: auto !important;
        max-height: 90vh;
        overflow-y: auto;
        overscroll-behavior: contain;
    }
}

/* Swatch Tipologia: mostra sempre tutte le opzioni */
#yith-quick-view-modal .variable-items-wrapper {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#yith-quick-view-modal .variable-items-wrapper .variable-item {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Riga quantità + pulsante */
#yith-quick-view-modal .woocommerce-variation-add-to-cart {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 12px;
}

#yith-quick-view-modal .quantity.quantity-with-plusminus {
    display: flex !important;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    align-items: stretch;
    width: auto !important;
    margin: 0 !important;
}

#yith-quick-view-modal .quantity .minus,
#yith-quick-view-modal .quantity .plus {
    flex: 0 0 44px;
    width: 44px;
    height: 48px;
    padding: 0;
}

#yith-quick-view-modal .quantity input.qty {
    flex: 0 0 64px;
    width: 64px;
    height: 48px;
    margin: 0;
    text-align: center;
}

#yith-quick-view-modal .single_add_to_cart_button {
    flex: 1 1 auto;
    height: 48px;
    margin: 0 !important;
}

/* Widget CAP sotto, a tutta larghezza */
#yith-quick-view-modal .cpiw_widget,
#yith-quick-view-modal .pincode_not_availabel {
    flex: 0 0 100%;
}

/* Quick View disattivata sotto 1025px */
@media (max-width: 1024px) {
    .yith-wcqv-button,
    a.yith-wcqv-button,
    button.yith-wcqv-button,
    .product-buttons-wrapper.product-icons {
        display: none !important;
    }

    /* Rete di sicurezza se il modal venisse aperto in altro modo */
    #yith-quick-view-modal,
    .yith-quick-view {
        display: none !important;
    }
}

/* Trustindex: 3 recensioni per riga da desktop */
@media (min-width: 1025px) {
    .ti-widget.ti-goog .ti-review-item {
        width: 33.3333% !important;
        flex: 0 0 33.3333% !important;
        max-width: 33.3333% !important;
    }
}


/* ==========================================================================
   DRAWER ORDINE (DESSERT ORDERS)
   ========================================================================== */

#do-drawer-title {
    font-size: 16px !important;
    margin: auto;
}

.do-product-table thead {
    border-bottom: solid 1px #86674F;
}

#do-order-form > div.do-drawer__scroll > table > tbody > tr:nth-child(1) > td.col-img {
    padding-top: 8px;
}

.do-drawer .do-summary p {
    font-family: "Geometria Regular" !important;
    color: #86674F;
    text-align: center;
}


/* ==========================================================================
   OMBRE TESTO SLIDER HOME
   ========================================================================== */

.testo-ombra h2 {
    text-shadow: 0.7px 0.7px 1px rgba(0, 0, 0, 0.3);
}

.btn-slidehome .wdt-button-text,
.elementor-5137 .testo-ombra h2 {
    text-shadow: 0.7px 0.7px 1px rgba(0, 0, 0, 0.8);
}

.btn-slidehome:hover .wdt-button-text {
    text-shadow: none !important;
}

.wdt-content-media-group {
    margin-bottom: -10px !important;
}


/* ==========================================================================
   TABELLA SPECIFICHE PRODOTTO (.jm-spec)
   ========================================================================== */

.jm-spec {
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #67432C;
}

.jm-spec__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid #87674f;
}

.jm-spec__row:last-child {
    border-bottom: 1px solid #87674f;
}

.jm-spec dt {
    margin: 0;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #67432C;
}

.jm-spec dd {
    margin: 0;
    text-align: right;
}

@media (max-width: 767px) {
    .jm-spec {
        font-size: 13px;
    }
}

/* Riga che contiene i 3 box: colonne alte uguali */
.e-flexbox-base:has(> .e-flexbox-base .jm-spec) {
    align-items: stretch;
}

/* Ogni box: impilato in verticale */
.e-flexbox-base:has(> .elementor-widget-html .jm-spec) {
    display: flex;
    flex-direction: column;
}

/* Il widget HTML con la tabella va in fondo */
.elementor-widget-html:has(.jm-spec) {
    margin-top: auto;
}


/* ==========================================================================
   ALLINEAMENTO PULSANTE ORDINA (1024–1200px)
   ========================================================================== */

@media (min-width: 1024px) and (max-width: 1200px) {

    /* Colonne stepper: si dividono lo spazio che avanza */
    .cart.do-type-box .do-type-box__col {
        flex: 1 1 0;
        min-width: 0;
        width: auto;
    }

    /* Colonna pulsante: solo la larghezza del testo */
    .cart.do-type-box .do-type-box__col--btn {
        flex: 0 0 auto;
        width: auto;
    }

    /* Pulsante compatto */
    .cart.do-type-box .do-type-box__submit {
        width: auto !important;
        min-width: 0 !important;
        padding: 0 !important;
    }

    /* Stepper: occupa tutta la colonna */
    .cart.do-type-box .do-stepper {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-sizing: border-box;
        overflow: hidden;
    }

    /* Pulsanti − e + */
    .cart.do-type-box .do-stepper__dec,
    .cart.do-type-box .do-stepper__inc {
        flex: 0 0 auto;
        width: 30px !important;
        min-width: 30px;
        font-size: 12px;
    }

    /* Valore centrale */
    .cart.do-type-box .do-stepper__val {
        flex: 1 1 auto;
        min-width: 0;
        text-align: center;
        font-size: 12px;
    }

    /* Unità di misura nascosta per guadagnare spazio */
    .cart.do-type-box .do-stepper__unit {
        display: none;
    }

    .single-product form.cart.do-type-box .do-type-box__col--btn {
        flex: 1 1 140px !important;
    }
}


/* ==========================================================================
   BLOG
   ========================================================================== */

.single-entry-author {
    display: none !important;
}

/* Breadcrumb articoli */
.single-post .jamie-post-breadcrumb {
    width: 100%;
    margin: 0 0 20px;
    text-align: left;
}

.category .jamie-post-breadcrumb {
    grid-column: 1 / -1;
    flex: 0 0 100%;
    position: static !important;
}

/* Archivio categorie: griglia a 4 colonne */
.category .tpl-blog-holder {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
}

.category .tpl-blog-holder > .grid-sizer {
    display: none;
}

.category .tpl-blog-holder > .wdt-post-entry {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0;
    float: none !important;
}

/* Altezze uguali gestite dalla griglia, non da matchHeight */
.category .tpl-blog-holder > .wdt-post-entry > article {
    min-height: 0 !important;
    height: 100%;
}

@media (max-width: 1280px) {
    .category .tpl-blog-holder {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .category .tpl-blog-holder {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .category .tpl-blog-holder {
        grid-template-columns: 1fr;
    }
}

.single-post .entry-thumb.single-preview-img,
.single-post .entry-thumb.single-preview-img .blog-image {
    width: 100%;
}

.single-post .entry-thumb.single-preview-img .blog-image img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
}


/* ==========================================================================
   WIDGET AREA (sidebar blog + pannello filtri)
   ========================================================================== */

.product-loop-filters-area-content {
    background-color: #F5EFE6 !important;
}

.widget {
    background-color: transparent;
    border: none;
    margin-bottom: 0;
    padding-bottom: 10px;
}

.widgettitle {
    background-color: transparent;
    padding: 0;
    font-size: 14px !important;
    text-transform: uppercase !important;
    border-bottom: 1px solid;
    margin-bottom: 14px;
}

.widget #searchform input[type="text"] {
    padding: 10px;
    font-size: 12px;
}

.cat-item {
    font-size: 14px;
}

.widget.widget_categories ul li > a {
    padding-bottom: 0;
}

.widget .recent-posts-widget li .post-details {
    margin-left: 0;
}

.widget .post-date {
    font-size: 12px;
}

.recent-posts-widget .entry-title {
    font-size: 12px;
}

.product-loop-filters-area-content-inner {
    border: none !important;
}

.product-loop-filters-area-content .widget {
    padding: 0;
}

.product-loop-filters-area-content-inner .widgettitle {
    display: none;
}

.product-loop-filters-area-content-inner .select2-container--default .select2-selection--single {
    border: none;
    border-bottom: 1px solid;
}

.select2-container .select2-dropdown {
    background-color: #F5EFE6;
    box-shadow: none !important;
}

.page-id-165 .select2-container .select2-dropdown,
.page-id-166 .select2-container .select2-dropdown {
    background-color: #fff;
    box-shadow: none !important;
}

.select2-container--open .select2-dropdown.select2-dropdown--below {
    margin-top: 0;
}

/* Tabella valori nutrizionali */
.val-nut th:nth-child(odd),
.val-nut td:nth-child(odd) {
    text-align: left;
}

.val-nut th:nth-child(even),
.val-nut td:nth-child(even) {
    text-align: right;
}


/* ==========================================================================
   INDIRIZZO DI FATTURAZIONE — CHECKOUT + MIO ACCOUNT
   ========================================================================== */

.woocommerce form .woocommerce-billing-fields__field-wrapper,
.woocommerce form .woocommerce-address-fields__field-wrapper {
    display: flex !important;
    flex-wrap: wrap;
    column-gap: 3%;
    align-items: flex-start;
}

.woocommerce form .woocommerce-billing-fields__field-wrapper::before,
.woocommerce form .woocommerce-billing-fields__field-wrapper::after,
.woocommerce form .woocommerce-address-fields__field-wrapper::before,
.woocommerce form .woocommerce-address-fields__field-wrapper::after {
    display: none;
}

.woocommerce form .woocommerce-billing-fields__field-wrapper > .form-row,
.woocommerce form .woocommerce-address-fields__field-wrapper > .form-row {
    float: none !important;
    clear: none !important;
    margin-right: 0 !important;
    width: auto !important;
    flex: 1 1 100%;
    order: 50;
}

/* Ordine fisso, indipendente dal Paese scelto */
#billing_first_name_field     { order: 1; }
#billing_last_name_field      { order: 2; }
#billing_company_field        { order: 3; }
#billing_address_1_field      { order: 4; }
#billing_address_2_field      { order: 5; }
#billing_postcode_field       { order: 6; }
#billing_city_field           { order: 7; }
#billing_state_field          { order: 8; }
#billing_country_field        { order: 9; }
#billing_phone_field          { order: 10; }
#billing_email_field          { order: 11; }
#billing_codice_fiscale_field { order: 12; }
#billing_piva_field           { order: 13; }
#billing_pec_field            { order: 14; }
#billing_sdi_field            { order: 15; }

@media screen and (min-width: 550px) {
    /* Terzi: nome, cognome, società — P.IVA, PEC, SDI */
    #billing_first_name_field,
    #billing_last_name_field,
    #billing_company_field,
    #billing_piva_field,
    #billing_pec_field,
    #billing_sdi_field {
        flex: 1 1 31%;
    }

    /* Metà: via/appartamento — telefono/email */
    #billing_address_1_field,
    #billing_address_2_field,
    #billing_phone_field,
    #billing_email_field {
        flex: 1 1 48%;
    }

    /* Quarti: CAP, città, provincia, paese (se uno è nascosto, gli altri si allargano) */
    #billing_postcode_field,
    #billing_city_field,
    #billing_state_field,
    #billing_country_field {
        flex: 1 1 22%;
    }
}

/* I campi possono restringersi fino alla loro larghezza base */
.woocommerce form .woocommerce-billing-fields__field-wrapper > .form-row,
.woocommerce form .woocommerce-address-fields__field-wrapper > .form-row {
    min-width: 0;
}

/* Select2: mai più larghe del campo, testo lungo troncato con … */
.woocommerce-billing-fields__field-wrapper .select2-container,
.woocommerce-address-fields__field-wrapper .select2-container {
    width: 100% !important;
    max-width: 100%;
}

.woocommerce-billing-fields__field-wrapper .select2-selection__rendered,
.woocommerce-address-fields__field-wrapper .select2-selection__rendered {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* ==========================================================================
   MIO ACCOUNT — AVVISI E INDIRIZZI
   ========================================================================== */

/* Avviso "Conferma indirizzo e-mail" */
.woocommerce-account .woocommerce-info {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 24px;
    width: 100%;
}

.woocommerce-account .woocommerce-info::after {
    display: none !important;
}

.woocommerce-account .woocommerce-info .button {
    float: none !important;
    order: 2;
    margin: 0 !important;
    flex-shrink: 0;
    white-space: nowrap;
}

/* Schermi stretti: testo sopra, pulsante sotto */
@media (max-width: 600px) {
    .woocommerce-account .woocommerce-info {
        flex-wrap: wrap !important;
    }
}

.woocommerce-Address,
.woocommerce-account .woocommerce-Address address,
.woocommerce-account .woocommerce-Address-title {
    border: none !important;
    outline: none !important;
    padding: 0 !important;
}

.woocommerce-account .woocommerce-Address address {
    font-style: normal;
}

/* Link "Modifica indirizzo" stile pulsante */
.woocommerce-account .woocommerce-Address-title a.edit {
    display: inline-block;
    float: none;
    margin-top: 10px;
    padding: 6px 12px;
    background: #87674F;
    color: #fff !important;
    text-transform: uppercase;
    text-decoration: none !important;
    font-size: 12px;
    border: none;
    border-radius: 3px;
    outline: 1px solid rgba(245, 239, 230, 0.6) !important; /* filetto interno come gli altri pulsanti */
    outline-offset: -4px !important;
}

.woocommerce-account .woocommerce-Address-title a.edit:hover {
    background: #F5EFE6;
    color: #4e3c31 !important;
    outline-color: rgba(78, 60, 49, 0.6) !important;
}

.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3,
.woocommerce-MyAccount-content legend {
    text-transform: uppercase !important;
}

.variations .label {
    background-color: #fff !important;
}

.woocommerce-MyAccount-content .woocommerce-order-details,
.woocommerce-MyAccount-content .woocommerce-customer-details .woocommerce-column,
.woocommerce-customer-details .woocommerce-column__title,
.woocommerce-customer-details address {
    border: none !important;
    padding: 0 !important;
}

.woocommerce-MyAccount-content .woocommerce-table--order-details {
    padding: 0 20px;
}


/* ==========================================================================
   LISTA ARTICOLI (WIDGET POST ELEMENTOR)
   ========================================================================== */

.wdt-posts-list-wrapper .tpl-blog-holder .wdt-post-entry.wdt-one-fourth {
    width: 25% !important;
}

.wdt-posts-list-wrapper .tpl-blog-holder .grid-sizer {
    display: none !important;
}

/* Tablet: 2 colonne */
@media (min-width: 768px) and (max-width: 1024px) {
    .wdt-posts-list-wrapper .tpl-blog-holder .wdt-post-entry.wdt-one-fourth {
        width: 50% !important;
    }
}

.woocommerce-checkout-header {
    padding: 0 2%;
}

@media (max-width: 767px) {
  /* contenitore: altezza naturale, scroll libero */
  #wdt-advanced-carousel-swiper-cbaf225.jamie-stack {
    height: auto;
    overflow: visible;
    touch-action: auto;
  }
  #wdt-advanced-carousel-swiper-cbaf225.jamie-stack .swiper-wrapper {
    display: block;
    height: auto;
    transform: none !important;
  }
  /* ogni slide = uno schermo */
  #wdt-advanced-carousel-swiper-cbaf225.jamie-stack .swiper-slide {
    width: 100% !important;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    background: #000;
  }
  #wdt-advanced-carousel-swiper-cbaf225 .swiper-slide .elementor > .e-con.e-parent {
    --min-height: 100svh !important;
    min-height: 100vh !important;
    min-height: 100svh !important;
    height: 100%;
    will-change: transform;
  }
  /* i pallini non servono più */
  .wdt-advanced-slider-3 .wdt-carousel-pagination-wrapper {
    display: none;
  }
	  @supports (animation-timeline: view()) {
    #wdt-advanced-carousel-swiper-cbaf225.jamie-stack .swiper-slide {
      view-timeline: --jamie-slide block;
    }

    /* sfondo (immagine, video, overlay) fermo rispetto allo schermo */
    #wdt-advanced-carousel-swiper-cbaf225.jamie-stack .swiper-slide .elementor > .e-con.e-parent {
      animation: jamie-bg-fixed linear both;
      animation-timeline: --jamie-slide;
      animation-range: cover 0% cover 100%;
    }

    /* titolo e pulsante: scorrono normalmente con la slide */
    #wdt-advanced-carousel-swiper-cbaf225.jamie-stack .swiper-slide .e-con.e-parent > .elementor-element,
    #wdt-advanced-carousel-swiper-cbaf225.jamie-stack .swiper-slide .e-con.e-parent > .e-con-inner {
      animation: jamie-content-scroll linear both;
      animation-timeline: --jamie-slide;
      animation-range: cover 0% cover 100%;
    }
  }
}
@keyframes jamie-bg-fixed {
  from { transform: translate3d(0, -100dvh, 0); }
  to   { transform: translate3d(0, 100svh, 0); }
}
@keyframes jamie-content-scroll {
  from { transform: translate3d(0, 100dvh, 0); }
  to   { transform: translate3d(0, -100svh, 0); }
}

/* ==========================================================================
   ICONE HEADER ALLIINEAMENTO
   ========================================================================== */

/* Contenitore: tutto centrato, allineato a destra, mai a capo */
.header-azioni {
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: nowrap !important;
}

.header-azioni > .elementor-widget {
  flex: 0 0 auto !important;
  width: auto !important;
}

/* Stesso box per switcher, social e icone */
.header-lingua,
.header-social,
.header-icone {
  height: 40px;
  display: flex;
  align-items: center;
  align-self: center !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Switcher: niente paragrafi vuoti né interlinea del testo */
.header-lingua {
  line-height: 1;
}
.header-lingua p:empty {
  display: none;
}

/* Icone login/carrello, compreso il livello .woocommerce */
.header-icone .elementor-widget-container,
.header-icone .woocommerce,
.header-icone .wdt-header-icons-list {
  display: flex;
  align-items: center;
  height: 100%;
}

/* Social: icone centrate, senza offset né testo vuoto */
.header-social {
  --icon-vertical-offset: 0px;
}
.header-social .elementor-icon-list-item,
.header-social .elementor-icon-list-item > a,
.header-social .elementor-icon-list-icon {
  display: flex !important;
  align-items: center !important;
  top: 0 !important;
  line-height: 1 !important;
}
.header-social .elementor-icon-list-text {
  display: none;
}
/* Freccia nascosta */
.trp-shortcode-switcher__wrapper .trp-shortcode-arrow {
  display: none;
}

/* Anchor e overlay: stessa altezza a tutti i breakpoint */
.trp-shortcode-switcher__wrapper .trp-shortcode-anchor {
  display: block;
}

.trp-shortcode-switcher__wrapper .trp-current-language-item__wrapper {
  display: flex !important;
  align-items: center;
  height: 40px;
  margin: 0 !important;
  padding: 0 !important;
}

/* Pulsante del globo: centrato, senza padding (anche quello laterale di TranslatePress) */
.trp-shortcode-switcher__wrapper .trp-language-switcher .trp-language-item__current {
  display: flex !important;
  align-items: center;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
}
/*globo più in basso*/
@media screen and (max-width: 1024px) {
.trp-shortcode-switcher__wrapper .trp-language-item__current::before {
  transform: translateY(2px);
}
}
/* Padding solo sulle voci della tendina */
@media screen and (max-width: 400px) {
  .trp-switcher-dropdown-list .trp-language-item {
    padding: 5px;
  }
}

/* ==========================================================================
   ORDINE CONFERMATO - PAGINA
   ========================================================================== */

.ti-footer  {
	padding: 20px !important;
}
.ti-profile-details {
	width: 100%;
}
.woocommerce-order-received .order_details {
	padding: 20px !important;
}

.woocommerce-order-received .woocommerce-column, .woocommerce-order-details {
	border: none !important;
}
.woocommerce-order-received .woocommerce-order-overview__total.total, .woocommerce-order-received .woocommerce-order-overview__payment-method.method {
	display: none !important;
}

/* ==========================================================================
   ARCHIVIO — REGOLE DISATTIVATE (conservate per riferimento, non attive)
   ========================================================================== */

/* Icona CAP nel campo
.cpiw_inner_first .checkpincode {
    background-image: url("https://www.jami-e.com/wp-content/uploads/2026/10/image.png");
    background-repeat: no-repeat;
    background-position: 10px center;
    background-size: 20px 20px;
    padding-left: 40px;
}
*/

/* Checkout: campi a quarti (dentro @media min-width 550px)
.woocommerce-billing-fields .form-row-quarter,
.woocommerce-shipping-fields .form-row-quarter {
    width: 22.75% !important;
    float: left !important;
    clear: none !important;
    margin-right: 3% !important;
}
.woocommerce-billing-fields .jamie-quarter-1,
.woocommerce-shipping-fields .jamie-quarter-1 {
    clear: both !important;
}
.woocommerce-billing-fields .jamie-quarter-4,
.woocommerce-shipping-fields .jamie-quarter-4 {
    margin-right: 0 !important;
}
*/

/* Mio account: metà per nome/cognome e via/appartamento
.woocommerce-address-fields #billing_first_name_field,
.woocommerce-address-fields #billing_last_name_field,
.woocommerce-address-fields #billing_address_1_field,
.woocommerce-address-fields #billing_address_2_field {
    width: calc((100% - 20px) / 2) !important;
}
*/

/* Mio account: modifica indirizzo fatturazione "come checkout"
   (sostituito dalla sezione "Indirizzo di fatturazione")
form:has(#woocommerce-edit-address-nonce) .woocommerce-address-fields__field-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
form:has(#woocommerce-edit-address-nonce) #billing_first_name_field,
form:has(#woocommerce-edit-address-nonce) #billing_last_name_field,
form:has(#woocommerce-edit-address-nonce) #billing_company_field,
form:has(#woocommerce-edit-address-nonce) #billing_postcode_field,
form:has(#woocommerce-edit-address-nonce) #billing_city_field,
form:has(#woocommerce-edit-address-nonce) #billing_state_field {
    flex: 0 0 32% !important;
    width: 32% !important;
}
form:has(#woocommerce-edit-address-nonce) #billing_phone_field,
form:has(#woocommerce-edit-address-nonce) #billing_email_field {
    flex: 0 0 48% !important;
    width: 48% !important;
}
*/