:root {
	--wd-text-font: "Nunito Sans", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(51,51,51);
	--wd-text-font-size: 17px;
	--wd-title-font: "Nunito Sans", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: rgb(34,34,34);
	--wd-entities-title-font: "Nunito Sans", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: rgb(34,34,34);
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Nunito Sans", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Montserrat", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: rgb(51,51,51)33333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Montserrat", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: #5797B2;
	--wd-alternative-color: #fbbc34;
	--btn-default-font-family: "Nunito Sans", Arial, Helvetica, sans-serif;
	--btn-default-font-weight: 600;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: rgb(232,232,232);
	--btn-accented-bgcolor: #76AAC1;
	--btn-accented-bgcolor-hover: #5797B2;
	--wd-form-brd-width: 1px;
	--notices-success-bg: rgb(87,151,178);
	--notices-success-color: #fff;
	--notices-warning-bg: rgb(221,153,51);
	--notices-warning-color: #fff;
	--wd-link-color: rgb(26,115,232);
	--wd-link-color-hover: rgb(13,71,161);
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: rgb(196,196,196);
	background-image: url(https://www.marinigerardi.it/shop/wp-content/uploads/2021/02/armchair-with-linen-fabric-flowers-botticelli-spring-grey.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: rgb(34,34,34);
	background-image: none;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: scroll;
	background-position: center center;
}
html .product-image-summary-wrap .product_title, html .wd-single-title .product_title {
	font-family: "Nunito Sans", Arial, Helvetica, sans-serif;
	font-weight: 700;
	font-size: 24px;
	line-height: 32px;
	color: rgb(33,33,33);
}
strong, b {
	font-family: "Nunito Sans", Arial, Helvetica, sans-serif;
	font-weight: 600;
	color: rgb(0,0,0);
}
html .product-image-summary-wrap .summary-inner > .price, html .wd-single-price .price {
	font-family: "Lato", Arial, Helvetica, sans-serif;
	font-weight: 700;
	font-size: 35px;
	line-height: 40px;
}
html .wd-nav.wd-nav-main > li > a {
	font-family: "Lato", Arial, Helvetica, sans-serif;
	font-weight: 700;
	font-size: 16px;
}
body, [class*=color-scheme-light], [class*=color-scheme-dark], .wd-search-form[class*="wd-header-search-form"] form.searchform, .wd-el-search .searchform {
	--wd-form-brd-color: rgb(118,170,193);
	--wd-form-brd-color-focus: rgb(83,160,193);
}
.wd .product-label.out-of-stock {
	background-color: rgb(87,151,178);
	color: rgb(255,255,255);
}
.wd .product-label.attribute-label:not(.label-with-img) {
	background-color: rgb(87,151,178);
	color: rgb(255,255,255);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
.wd-builder-off .wd-fbt.wd-design-side {
	--wd-form-width: 400px;
}
:root{
--wd-container-w: 1400px;
--wd-form-brd-radius: 0px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 0px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-default-box-shadow-active: none;
--btn-default-bottom: 0px;
--btn-accented-brd-radius: 0px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--btn-accented-box-shadow-active: none;
--btn-accented-bottom: 0px;
--wd-brd-radius: 0px;
}

@media (min-width: 1400px) {
[data-vc-full-width]:not([data-vc-stretch-content]),
:is(.vc_section, .vc_row).wd-section-stretch {
padding-left: calc((100vw - 1400px - var(--wd-sticky-nav-w) - var(--wd-scroll-w)) / 2);
padding-right: calc((100vw - 1400px - var(--wd-sticky-nav-w) - var(--wd-scroll-w)) / 2);
}
}


.wd-page-title {
background-color: rgb(89,89,89);
}

/* ==========================================================================
   1. STILI GENERALI E FIX INTERFACCIA
   ========================================================================== */

/* Fix profondità PhotoSwipe (Lightbox Galleria) */
div.pswp { 
    z-index: 9999; 
}

.pswp__bg {
    background: #000;
    opacity: 0.8 !important;
}

/* Nasconde input tecnici attribuzione ordine */
.wc-order-attribution-inputs {
    display: none !important;
}

/* Nasconde Dashicons per utenti non loggati (migliora Pagespeed) */
body:not(.logged-in) .dashicons {
    display: none;
}

/* ==========================================================================
   2. STABILITÀ HEADER E LOGO (OTTIMIZZAZIONE CLS)
   ========================================================================== */

@media (min-width: 1025px) {
    .whb-header {
        min-height: auto; /* lascia crescere liberamente */
    }
}

.site-logo img {
    width: 150px;
    height: auto;
    display: block;
    /* content-visibility: auto rimosso — penalizza il LCP del logo */
}

@media (max-width: 991px) {
    .whb-column_mobile3 .site-logo img {
        width: 180px;
        height: auto;
        display: block;
    }
}

/* ==========================================================================
   4. CHECKOUT E TIPOGRAFIA
   ========================================================================== */

#billing_piva_field, 
#billing_pec_field {
    margin-bottom: 20px;
}

.rank-math-breadcrumb, 
.rank-math-breadcrumb a, 
.wd-breadcrumbs, 
.wd-breadcrumbs a {
    color: #333 !important;
    font-size: 0.92em;
    text-decoration: none;
}

/* ==========================================================================
   5. FIX LCP E PULIZIA
   ========================================================================== */

.single-product .wpb_animate_when_almost_visible,
.single-product .wpb_start_animation {
    opacity: 1 !important;
    visibility: visible !important;
    animation: none !important;
    transform: none !important;
}

/* ==========================================================================
   6. RIMOZIONE BARRA MESSAGGI E CONTRASTO FOOTER
   ========================================================================== */

/* Nasconde solo i messaggi di testo WooCommerce per prevenire sbalzi di layout (CLS) */
.woocommerce-message {
    display: none !important;
}

/* Colpisce specificamente i tag grassetto nel footer */
.footer-container.color-scheme-light strong, 
.footer-container.color-scheme-light b,
.footer-container.color-scheme-light .widget-title,
.footer-container.color-scheme-light span[style*="font-weight: bold"],
.footer-container.color-scheme-light span[style*="font-weight:bold"] {
    color: #ffffff !important;
}
/* Cambia colore al pulsante ACQUISTA ORA */
.wd-buy-now-btn {
    background-color: #f79e1b !important; /* Colore di sfondo */
    color: #ffffff !important;           /* Colore del testo */
    border-color: #f79e1b !important;    /* Eventuale bordo */
}

/* Effetto hover (quando ci passi sopra col mouse) */
.wd-buy-now-btn:hover {
    background-color: #f7821b !important;
    border-color: #f7821b !important;
}
