@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//www.marinigerardi.it/shop/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=8.4.1") format("woff2");
	font-display:block;
}

: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: 16px;
	--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: 600;
	font-size: 24px;
	line-height: 32px;
	color: rgb(33,33,33);
}
strong, b {
	font-family: "Nunito Sans", Arial, Helvetica, sans-serif;
	font-weight: 600;
}
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: 26px;
	line-height: 32px;
}
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);
}
.product-labels .product-label.out-of-stock {
	background-color: rgb(87,151,178);
	color: rgb(255,255,255);
}
.product-labels .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);
}

/*
Theme Name: Woodmart Child
Description: Versione definitiva 2026 - Ottimizzata per Rank Math, Performance & Checkout
Author: MG Studio
Template: woodmart
Version: 1.1.0
*/

/* ==========================================================================
   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)
   ========================================================================== */

/* Blocca l'altezza dell'header per evitare shift durante il caricamento */
@media (min-width: 1025px) {
    .whb-header {
        min-height: 150px;
    }
}

/* Dimensioni fisse Logo Desktop */
.site-logo img {
    width: 150px;
    height: auto;
    display: block;
    content-visibility: auto;
}

/* Dimensioni fisse Logo Mobile */
@media (max-width: 991px) {
    .whb-column_mobile3 .site-logo img {
        width: 180px;
        height: auto;
        display: block;
    }
}

/* ==========================================================================
   3. PAGINA PRODOTTO SINGOLO (PERFORMANCE & LAYOUT)
   ========================================================================== */

/* Evita il salto della galleria prodotto */
@media (min-width: 992px) {
    .woocommerce-product-gallery {
        min-height: 600px;
    }
}

.woocommerce-product-gallery img {
    aspect-ratio: 4 / 3;
    width: 100%;
    height: auto;
    background-color: #f5f5f5;
    object-fit: cover;
}

/* Spazio riservato per descrizione breve */
.woocommerce-product-details__short-description {
    min-height: 100px;
}

/* Bottone Aggiungi al Carrello */
.woocommerce .single_add_to_cart_button {
    background: #76aac1;
    width: 75%;
    height: 45px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.woocommerce .single_add_to_cart_button:hover {
    color: #ffffff;
    background-color: #5797b2;
}

/* Bottone Buy Now (Acquista Ora) */
body .wd-buy-now-btn {
    color: #ffffff;
    background-color: #f79e1b;
    display: block;
    min-width: 100%;
    margin-top: 10px;
    font-weight: 600;
}

body .wd-buy-now-btn:hover {
    background-color: #f7821b;
}

/* Contrasto Testi Summary */
.single-product .summary .price, 
.single-product .summary .entry-title {
    color: #222;
}

/* ==========================================================================
   4. CHECKOUT: STILE CAMPI P.IVA E PEC (Creati in PHP)
   ========================================================================== */

#billing_piva_field, 
#billing_pec_field {
    margin-bottom: 20px;
}

#billing_piva_field label, 
#billing_pec_field label {
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 5px;
}

/* Liste errori Parsley (se usi Builderius o CPO) */
.uni-builderius-container .parsley-errors-list li { 
    background-color: #76aac1 !important; 
    color: white;
    padding: 6px;
    margin-top: 5px;
    border-radius: 4px;
    font-size: 0.85em;
}

/* ==========================================================================
   5. RANK MATH BREADCRUMBS & TIPOGRAFIA
   ========================================================================== */

/* Selettori specifici per Rank Math e WoodMart */
.rank-math-breadcrumb, 
.rank-math-breadcrumb a, 
.wd-breadcrumbs, 
.wd-breadcrumbs a,
.breadcrumb-last {
    color: #333 !important;
    font-size: 0.92em;
    text-decoration: none;
}

.rank-math-breadcrumb a:hover, 
.wd-breadcrumbs a:hover {
    color: #76aac1;
}

/* Categorie prodotto WoodMart */
.wd-product-cats a {
    color: #444;
    text-transform: uppercase;
    font-size: 0.85em;
    letter-spacing: 0.5px;
}

/* Titoli prodotti correlati */
.product-grid-item .wd-entities-title a {
    color: #000;
    font-weight: 500;
}

/* ==========================================================================
   6. OTTIMIZZAZIONE LCP (DISABILITA ANIMAZIONI)
   ========================================================================== */

/* Rimuove animazioni WPBakery su prodotto per caricamento immediato */
.single-product .wpb_animate_when_almost_visible,
.single-product .wpb_start_animation {
    opacity: 1 !important;
    visibility: visible !important;
    animation: none !important;
    transform: none !important;
    transition: none !important;
}

/* Varianti Immagine CPO */
.uni-cpo-option-label__image {
    width: 60px;
    height: 45px;
    object-fit: cover;
    display: inline-block;
    border: 1px solid #ddd;
}
.single-product .summary-inner > p.price:first-of-type {
    display: none !important;
}