@media (max-width: 760px) {
  body:has(.cf-site) .xoo-wsc-basket {
    display: none !important;
  }
}

/* Allineamento dei wrapper WooCommerce nativi nelle pagine di servizio. */
.cf-site .cf-utility .woocommerce #qodef-woo-page {
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  padding-inline: 0 !important;
}
.cf-site .cf-utility .woocommerce #customer_details {
  margin-inline: 0 !important;
  padding: 0 !important;
}
.cf-site .cf-utility .woocommerce #customer_details > :is(.col-1, .col-2) {
  padding: 0 !important;
}

/* Carrello mobile: ogni dato occupa la riga intera, con etichetta sopra il valore. */
@media (max-width: 760px) {
body.page-id-5068 .cf-site .cf-utility .woocommerce #qodef-woo-page .woocommerce-cart-form {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    padding-inline: 0;
  }
  body.page-id-5068 .cf-site .cf-utility .woocommerce #qodef-woo-page .woocommerce-cart-form table.shop_table_responsive,
  body.page-id-5068 .cf-site .cf-utility .woocommerce #qodef-woo-page .woocommerce-cart-form table.shop_table_responsive > tbody,
  body.page-id-5068 .cf-site .cf-utility .woocommerce #qodef-woo-page .woocommerce-cart-form table.shop_table_responsive > tbody > tr {
    box-sizing: border-box;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
  }
  body.page-id-5068 .cf-site .cf-utility .woocommerce #qodef-woo-page .woocommerce-cart-form table.shop_table_responsive > thead,
  body.page-id-5068 .cf-site .cf-utility .woocommerce #qodef-woo-page .woocommerce-cart-form table.shop_table_responsive > tbody > tr > th {
    display: none !important;
  }
  body.page-id-5068 .cf-site .cf-utility .woocommerce #qodef-woo-page .woocommerce-cart-form table.shop_table_responsive > tbody > tr {
    margin-bottom: 24px;
  }
  body.page-id-5068 .cf-site .cf-utility .woocommerce #qodef-woo-page .woocommerce-cart-form table.shop_table_responsive > tbody > tr > td:not(.product-thumbnail) {
    box-sizing: border-box;
    display: block !important;
    float: none !important;
    width: 100% !important;
    min-width: 0;
    max-width: 100% !important;
    padding: 14px 12px !important;
    text-align: left !important;
    vertical-align: top;
  }
  body.page-id-5068 .cf-site .cf-utility .woocommerce #qodef-woo-page .woocommerce-cart-form table.shop_table_responsive > tbody > tr > td.product-thumbnail {
    display: none !important;
  }
  body.page-id-5068 .cf-site .cf-utility .woocommerce #qodef-woo-page .woocommerce-cart-form table.shop_table_responsive > tbody > tr > td:not(.product-thumbnail)::before {
    content: attr(data-title);
    display: block !important;
    float: none !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 0 6px !important;
    padding: 0 !important;
    font: 700 12px/1.4 Arial, sans-serif;
    text-align: left !important;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
  }
  body.page-id-5068 .cf-site .cf-utility .woocommerce #qodef-woo-page .woocommerce-cart-form table.shop_table_responsive > tbody > tr > td.product-name,
  body.page-id-5068 .cf-site .cf-utility .woocommerce #qodef-woo-page .woocommerce-cart-form table.shop_table_responsive > tbody > tr > td.product-name > a {
    font-size: 17px !important;
    line-height: 1.5 !important;
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
  }
  body.page-id-5068 .cf-site .cf-utility .woocommerce #qodef-woo-page .woocommerce-cart-form table.shop_table_responsive > tbody > tr > td.actions::before,
  body.page-id-5068 .cf-site .cf-utility .woocommerce #qodef-woo-page .woocommerce-cart-form table.shop_table_responsive > tbody > tr > td.product-remove::before,
  body.page-id-5068 .cf-site .cf-utility .woocommerce #qodef-woo-page .woocommerce-cart-form table.shop_table_responsive > tbody > tr > td.product-thumbnail::before {
    display: none !important;
  }
  body.page-id-5068 .cf-site .cf-utility .woocommerce #qodef-woo-page .woocommerce-cart-form .quantity .qty {
    box-sizing: border-box;
    width: 84px !important;
    min-width: 0;
    max-width: 100%;
    min-height: 48px;
    text-align: center;
  }
  body.page-id-5068 .cf-site .cf-utility .woocommerce #qodef-woo-page .woocommerce-cart-form .coupon {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    float: none !important;
    width: 100% !important;
    max-width: 100%;
    margin: 0 0 14px;
  }
  body.page-id-5068 .cf-site .cf-utility .woocommerce #qodef-woo-page .woocommerce-cart-form .coupon input.input-text,
  body.page-id-5068 .cf-site .cf-utility .woocommerce #qodef-woo-page .woocommerce-cart-form .coupon .button,
  body.page-id-5068 .cf-site .cf-utility .woocommerce #qodef-woo-page .woocommerce-cart-form table.shop_table_responsive td.actions > .button {
    box-sizing: border-box;
    float: none !important;
    width: 100% !important;
    max-width: 100%;
    min-height: 48px;
    margin-inline: 0;
  }
  body.page-id-5068 .cf-site .cf-utility .woocommerce #qodef-woo-page .woocommerce-cart-form :is(button.button, input.button, a.button, a.remove) {
    min-height: 48px !important;
  }
  body.page-id-5068 .cf-site .cf-utility .woocommerce #qodef-woo-page .woocommerce-cart-form a.remove {
    min-width: 48px !important;
  }
}

/* Altezze naturali del carrello e pulsanti coerenti con Casa Frantoio. */
.cf-site .cf-utility .woocommerce #qodef-woo-page :is(a.button, button.button, input.button, #place_order) {
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid #243c31;
  background: #243c31;
  color: #fffcf7;
  font: 700 13px/1.5 Arial, sans-serif;
  letter-spacing: normal;
  text-transform: none;
}
.cf-site .cf-utility .woocommerce #qodef-woo-page :is(a.button, button.button, input.button, #place_order):hover {
  border-color: #1b3026;
  background: #1b3026;
  color: #fffcf7;
}
@media (max-width: 760px) {
  body.page-id-5068 .cf-site .cf-utility .woocommerce #qodef-woo-page .woocommerce-cart-form table.shop_table_responsive,
  body.page-id-5068 .cf-site .cf-utility .woocommerce #qodef-woo-page .woocommerce-cart-form table.shop_table_responsive > tbody,
  body.page-id-5068 .cf-site .cf-utility .woocommerce #qodef-woo-page .woocommerce-cart-form table.shop_table_responsive > tbody > tr,
  body.page-id-5068 .cf-site .cf-utility .woocommerce #qodef-woo-page .woocommerce-cart-form table.shop_table_responsive > tbody > tr > td {
    height: auto !important;
    min-height: 0;
    max-height: none;
  }
}


/* Rifinitura responsive e inquadrature — 17 novembre 2026. */
/* Proposte di rifinitura. Da fondere nel CSS globale dopo verifica visiva live.
   Non modifica testi, immagini, prezzi, ordini o gestione del consenso. */

/* Il menu aperto deve stare sopra i contenuti, mantenendo visibile lo skip link. */
body .cf-site .cf-site-header {
  position: relative;
  z-index: 20;
}
body .cf-site .cf-skip {
  z-index: 50;
}
body .cf-site .cf-site-header :is(.cf-header-inner, .cf-desktop-nav) {
  min-width: 0;
}
body .cf-site .cf-desktop-nav > a[aria-current="page"],
body .cf-site .cf-mobile-menu nav > a[aria-current="page"] {
  color: var(--rosa, #efab98);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

/* Passaggio al menu compatto anche sui tablet: il solo display non basta,
   perché tutte le regole del componente originale iniziano a760px. */
@media (max-width: 980px) {
  body .cf-site .cf-site-header .cf-header-inner {
    min-height: 92px;
    gap: 20px;
  }
  body .cf-site .cf-site-header .cf-logo img {
    width: 148px;
  }
  body .cf-site .cf-site-header .cf-desktop-nav {
    display: none;
  }
  body .cf-site .cf-site-header .cf-mobile-menu {
    display: block;
  }
  body .cf-site .cf-site-header .cf-mobile-menu summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid #8c9c8d;
    font-size: 13px;
    line-height: 1.4;
    list-style: none;
    cursor: pointer;
  }
  body .cf-site .cf-site-header .cf-mobile-menu summary::-webkit-details-marker {
    display: none;
  }
  body .cf-site .cf-site-header .cf-mobile-menu summary::after {
    content: "+";
    font-size: 22px;
    line-height: 1;
  }
  body .cf-site .cf-site-header .cf-mobile-menu[open] summary::after {
    content: "−";
  }
  body .cf-site .cf-site-header .cf-mobile-menu nav {
    position: absolute;
    z-index: 30;
    left: var(--bordo-pagina, 18px);
    right: var(--bordo-pagina, 18px);
    display: flex;
    flex-direction: column;
    max-height: max(160px, calc(100svh - 144px));
    margin-top: 12px;
    padding: 10px 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--verde-scuro, #1b3026);
    border: 1px solid #819080;
  }
  body .cf-site .cf-site-header .cf-mobile-menu nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    flex-shrink: 0;
    padding-block: 8px;
    border-bottom: 1px solid #536458;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
  }
  body .cf-site .cf-site-header .cf-mobile-menu nav a:last-child {
    border-bottom: 0;
  }
  body .cf-site .cf-site-header .cf-mobile-menu nav a[aria-current="page"] {
    text-decoration: underline;
  }
}
@media (max-width: 760px) {
  body .cf-site .cf-site-header .cf-logo img {
    width: 137px;
  }
}

/* Recapiti e link informativi leggibili e selezionabili anche con il pollice. */
body .cf-site .cf-site-footer .cf-footer-contacts a,
body .cf-site .cf-site-footer .cf-footer-nav a,
body .cf-site .cf-site-footer .cf-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
body .cf-site .cf-site-footer .cf-footer-bottom {
  font-size: 12px;
  line-height: 1.6;
}
body .cf-site .cf-site-footer .cf-footer-copy {
  line-height: 1.7;
}

/* Campi del modulo contatti: dimensione del testo coerente e area messaggio. */
body .cf-site .cf-contact-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
body .cf-site .cf-contact-form textarea,
body .cf-site .cf-contact-form select {
  min-height: 48px;
  font-size: 16px;
  line-height: 1.5;
}
body .cf-site .cf-contact-form textarea {
  min-height: 160px;
  resize: vertical;
}
body .cf-site .cf-utility button.cky-banner-element {
  min-height: 48px;
  max-width: 100%;
  padding: 12px 18px;
  border: 1px solid var(--verde, #243c31);
  border-radius: 0;
  background: var(--verde, #243c31);
  color: var(--bianco, #fffcf7);
  font: 700 14px/1.5 Arial, sans-serif;
  text-align: center;
  cursor: pointer;
}
body .cf-site .cf-utility button.cky-banner-element:focus-visible {
  outline: 3px solid var(--terracotta, #835346);
  outline-offset: 4px;
}

/* Colonna di lettura delle tre informative. Non nasconde i titoli duplicati:
   quelli vanno corretti nel markup, mantenendo un solo H1. */
body:is(.page-id-3, .page-id-6320, .page-id-6858) .cf-site .cf-breadcrumb,
body:is(.page-id-3, .page-id-6320, .page-id-6858) .cf-site .cf-page-heading,
body:is(.page-id-3, .page-id-6320, .page-id-6858) .cf-site .cf-utility {
  width: min(100%, 940px);
}
body:is(.page-id-3, .page-id-6320, .page-id-6858) .cf-site .cf-page-heading {
  padding-bottom: 28px;
}
body:is(.page-id-3, .page-id-6320, .page-id-6858) .cf-site .cf-page-heading h1 {
  max-width: 24ch;
  font-size: clamp(40px, 4.8vw, 64px);
}
body:is(.page-id-3, .page-id-6320, .page-id-6858) .cf-site #cf-main > section.cf-section {
  padding-top: 24px;
}
body:is(.page-id-3, .page-id-6320, .page-id-6858) .cf-site .cf-utility :is(p, ul, ol) {
  max-width: 80ch;
}


/* Convertino — proposte inquadrature 17/11/2026.
 * Aggiunta al CSS corrente; da integrare e verificare nel browser prima del rilascio.
 * Nessun file fotografico modificato. Foto e fasce restano senza bordi laterali.
 */

/* Fotografie panoramiche dei passaggi: formato coerente con gruppi e impianti. */
body .cf-site .cf-process-card .cf-card-photo,
body .cf-site .cf-route-step .cf-card-photo,
body.page-id-7126 .cf-site .cf-grid-three > .cf-card-photo {
  height: auto;
  aspect-ratio: 3 / 2;
}

/* Punti focali per allegato, delimitati al contesto fotografico. */
body .cf-site .cf-family-photo .wp-image-7108 { object-position: 50% 42%; }
body .cf-site .cf-card-photo .wp-image-7109 { object-position: 78% 50%; }
body .cf-site .cf-card-photo .wp-image-7110 { object-position: 50% 50%; }
body .cf-site .cf-card-photo .wp-image-7111 { object-position: 50% 30%; }
body .cf-site .cf-card-photo .wp-image-7112 { object-position: 55% 48%; }
body .cf-site .cf-card-photo .wp-image-7113 { object-position: 50% 50%; }
body .cf-site .cf-card-photo .wp-image-7116 { object-position: 50% 42%; }
body .cf-site .cf-family-photo .wp-image-7116 { object-position: 50% 42%; }
body .cf-site .cf-card-photo .wp-image-7117 { object-position: 50% 10%; }
body .cf-site .cf-card-photo .wp-image-7118,
body .cf-site .cf-card-photo .wp-image-7119 { object-position: 50% 50%; }
body .cf-site .cf-gallery .wp-image-7120 { object-position: 50% 50%; }
body .cf-site .cf-gallery .wp-image-7121 { object-position: 50% 53%; }
body .cf-site .cf-card-photo .wp-image-7122 { object-position: 50% 44%; }
body .cf-site .cf-invitation-photo .wp-image-7115 { object-position: 60% 48%; }
body .cf-site .cf-contact-intro .wp-image-7115 { object-position: 65% 48%; }

/* Bottiglia: la proporzione originale evita compromessi fra tappo ed etichetta. */
body .cf-site .cf-shop-photo {
  min-height: 0;
  aspect-ratio: 2 / 3;
  overflow: hidden;
}
body .cf-site .cf-shop-photo .wp-image-7114 { object-position: 50% 50%; }

/* Accoglienza nella sezione grande Degustazioni: conserva viso e piatto. */
body.page-id-5867 .cf-site .cf-family-photo {
  min-height: 0;
  aspect-ratio: 4 / 5;
}
body.page-id-5867 .cf-site .cf-family-photo .wp-image-7117 {
  object-position: 50% 20%;
}

/* Hero Partner panoramica: priorità al volto. Il piatto non entra nel panorama.
 * Da controllare in particolare fra 768 e 980 px, dove il testo può avvicinarsi al viso.
 */
@media (min-width: 761px) {
  body.page-id-6055 .cf-site .cf-detail-hero .cf-hero-media .wp-image-7117 {
    object-position: 50% 8%;
  }
}

@media (max-width: 760px) {
  /* Home: il volto rientra dal bordo destro. Il sollevamento va verificato a320px.
   * L'altezza extra equivale allo spostamento, evitando una fascia scoperta in fondo.
   */
  body .cf-site .cf-home-hero .cf-hero-media { overflow: hidden; }
  body .cf-site .cf-home-hero .cf-hero-media .wp-image-7107 {
    object-position: 92% 45%;
    height: calc(100% + 80px);
    top: -80px;
    bottom: auto;
  }

  /* Dettagli: immagine sopra e testo su fascia verde, entrambi a tutta larghezza.
   * Copre sia la sezione che è essa stessa una griglia, sia la griglia annidata Partner.
   */
  body .cf-site .cf-detail-hero.cf-hero-grid,
  body .cf-site .cf-detail-hero > .cf-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  body .cf-site .cf-detail-hero.cf-hero-grid::after,
  body .cf-site .cf-detail-hero > .cf-hero-grid::after {
    display: none;
  }
  body .cf-site .cf-detail-hero .cf-hero-media {
    position: relative;
    inset: auto;
    z-index: 0;
    order: 0;
    width: 100%;
    min-height: 0;
    aspect-ratio: 3 / 2;
    overflow: hidden;
  }
  body .cf-site .cf-detail-hero .cf-hero-media .cf-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
  }
  body .cf-site .cf-detail-hero .cf-hero-media .wp-image-7112 {
    object-position: 55% 48%;
  }
  body .cf-site .cf-detail-hero .cf-hero-copy {
    order: 1;
    min-height: 0;
    width: 100%;
    margin: 0;
    justify-content: flex-start;
    padding: 38px var(--bordo-pagina, 18px) 42px;
    background: var(--verde, #243c31);
    color: var(--bianco, #fffcf7);
  }
  body.page-id-6055 .cf-site .cf-detail-hero .cf-hero-media {
    aspect-ratio: 4 / 5;
  }
  body.page-id-6055 .cf-site .cf-detail-hero .cf-hero-media .wp-image-7117 {
    object-position: 50% 20%;
  }

  /* Pannelli Esperienze: gesti visibili prima della descrizione e dell'azione.
   * Il bordo pagina resta zero sulla foto; il testo usa lo stesso gutter del sito.
   */
  body .cf-site .cf-experience-card {
    min-height: 0;
    justify-content: flex-start;
  }
  body .cf-site .cf-experience-card::after { display: none; }
  body .cf-site .cf-experience-card .cf-card-photo {
    position: relative;
    inset: auto;
    order: 0;
    width: 100%;
    aspect-ratio: 3 / 2;
  }
  body .cf-site .cf-experience-card .cf-box-body {
    order: 1;
    width: 100%;
    padding: 36px var(--bordo-pagina, 18px) 42px;
    background: var(--verde-scuro, #1b3026);
  }
}


/* 2. Catalogo: parent e figli diretti confermati nel DOM. */

:is(body.woocommerce-shop, body.single-product, body.tax-product_cat):has(.cf-commerce-header) #qodef-woo-page .qodef-woo-product-list ul.products > li.product > .qodef-e-inner {
  width:100%;
  height:auto !important;
}

:is(body.woocommerce-shop, body.single-product, body.tax-product_cat):has(.cf-commerce-header) #qodef-woo-page .qodef-woo-product-list ul.products > li.product > .qodef-e-inner > .qodef-woo-product-content {
  box-sizing:border-box;
  display:flex !important;
  flex-direction:column;
  align-items:flex-start;
  width:100%;
  height:auto !important;
  min-height:0;
  margin:0;
  padding:20px 0 0;
  overflow:visible;
  text-align:left !important;
}

:is(body.woocommerce-shop, body.single-product, body.tax-product_cat):has(.cf-commerce-header) #qodef-woo-page .qodef-woo-product-list ul.products > li.product .qodef-woo-product-content .qodef-woo-product-title,
:is(body.woocommerce-shop, body.single-product, body.tax-product_cat):has(.cf-commerce-header) #qodef-woo-page .qodef-woo-product-list ul.products > li.product .qodef-woo-product-content .qodef-woo-product-title a {
  margin:0 0 12px !important;
  color:#243c31 !important;
  font-family:"Convertino Seasons",Georgia,serif;
  font-size:clamp(28px,2.6vw,34px) !important;
  font-weight:400;
  line-height:1.15;
  letter-spacing:-.015em;
  text-align:left !important;
  text-decoration:none;
  text-transform:none;
  text-wrap:balance;
}

:is(body.woocommerce-shop, body.single-product, body.tax-product_cat):has(.cf-commerce-header) #qodef-woo-page .qodef-woo-product-list ul.products > li.product .qodef-woo-product-content p {
  margin:0 0 10px;
  color:#263c31;
  font:400 14px/1.6 Arial,sans-serif;
  text-align:left !important;
}

:is(body.woocommerce-shop, body.single-product, body.tax-product_cat):has(.cf-commerce-header) #qodef-woo-page .qodef-woo-product-list ul.products > li.product > .qodef-e-inner > .qodef-woo-product-content > .price,
:is(body.woocommerce-shop, body.single-product, body.tax-product_cat):has(.cf-commerce-header) #qodef-woo-page .qodef-woo-product-list ul.products > li.product:hover > .qodef-e-inner > .qodef-woo-product-content > .price {
  position:static !important;
  display:block !important;
  max-width:100%;
  margin:16px 0 18px !important;
  color:#243c31;
  font:700 20px/1.4 Arial,sans-serif;
  text-align:left !important;
  opacity:1 !important;
  visibility:visible !important;
  transform:none !important;
  transition:none;
}

:is(body.woocommerce-shop, body.single-product, body.tax-product_cat):has(.cf-commerce-header) #qodef-woo-page .qodef-woo-product-list ul.products > li.product > .qodef-e-inner > .qodef-woo-product-content > a.button.product_type_variable.add_to_cart_button,
:is(body.woocommerce-shop, body.single-product, body.tax-product_cat):has(.cf-commerce-header) #qodef-woo-page .qodef-woo-product-list ul.products > li.product:hover > .qodef-e-inner > .qodef-woo-product-content > a.button.product_type_variable.add_to_cart_button {
  position:static !important;
  inset:auto !important;
  display:inline-flex !important;
  justify-content:center;
  align-items:center;
  align-self:flex-start;
  width:auto !important;
  max-width:100%;
  min-height:48px;
  margin:0 !important;
  padding:13px 20px;
  border:1px solid #243c31;
  border-radius:0;
  background:#243c31 !important;
  color:#fffcf7 !important;
  font:700 13px/1.5 Arial,sans-serif;
  letter-spacing:normal;
  text-transform:none;
  white-space:normal;
  text-decoration:none;
  opacity:1 !important;
  visibility:visible !important;
  transform:none !important;
  pointer-events:auto !important;
}

:is(body.woocommerce-shop, body.single-product, body.tax-product_cat):has(.cf-commerce-header) #qodef-woo-page .qodef-woo-product-list ul.products > li.product > .qodef-e-inner > .qodef-woo-product-content > a.button.product_type_variable.add_to_cart_button:hover {
  border-color:#1b3026;
  background:#1b3026 !important;
}

:is(body.woocommerce-shop, body.single-product, body.tax-product_cat):has(.cf-commerce-header) #qodef-woo-page .qodef-woo-product-list ul.products > li.product :is(a,button):focus-visible {
  outline:3px solid #835346;
  outline-offset:4px;
}

:is(body.woocommerce-shop, body.single-product, body.tax-product_cat):has(.cf-commerce-header) #qodef-woo-page .qodef-woo-product-list ul.products > li.product .qodef-woo-product-image img {
  height:clamp(340px,35vw,500px);
  object-fit:contain;
}


/* 3. Prodotto: vere colonne sul wrapper, galleria nel wrapper immagine. */

body.single-product:has(.cf-commerce-header) #qodef-woo-page.qodef--single div.product .qodef-woo-single-inner {
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:start;
  gap:clamp(32px,4.6vw,64px);
  width:100%;
  margin:0 !important;
  padding:0;
}

body.single-product:has(.cf-commerce-header) #qodef-woo-page.qodef--single div.product .qodef-woo-single-inner > .qodef-woo-single-image,
body.single-product:has(.cf-commerce-header) #qodef-woo-page.qodef--single div.product .qodef-woo-single-inner > .summary.entry-summary {
  box-sizing:border-box;
  float:none !important;
  width:auto !important;
  min-width:0;
  max-width:none;
  margin:0 !important;
  padding:0 !important;
}

body.single-product:has(.cf-commerce-header) #qodef-woo-page.qodef--single div.product .qodef-woo-single-image .woocommerce-product-gallery {
  float:none !important;
  width:100% !important;
  max-width:100%;
  margin:0;
}

body.single-product:has(.cf-commerce-header) #qodef-woo-page.qodef--single div.product .summary.entry-summary h1.product_title {
  max-width:28ch;
  margin:0 0 16px;
  color:#243c31 !important;
  font-family:"Convertino Seasons",Georgia,serif;
  font-size:clamp(34px,3.4vw,48px) !important;
  font-weight:400;
  line-height:1.1;
  letter-spacing:-.02em;
  text-transform:none;
  text-wrap:balance;
}

body.single-product:has(.cf-commerce-header) #qodef-woo-page.qodef--single div.product .summary.entry-summary > .price {
  margin:12px 0 20px;
  text-align:left;
}

body.single-product:has(.cf-commerce-header) #qodef-woo-page.qodef--single div.product .summary.entry-summary > .woocommerce-product-details__short-description {
  max-width:58ch;
  margin:24px 0 16px !important;
  color:#263c31;
  font:400 16px/1.65 Arial,sans-serif;
}

body.single-product:has(.cf-commerce-header) #qodef-woo-page.qodef--single div.product .summary.entry-summary > .woocommerce-product-details__short-description p {
  margin:0 0 14px;
}

body.single-product:has(.cf-commerce-header) #qodef-woo-page.qodef--single div.product .summary.entry-summary form.variations_form.cart {
  margin:0;
}

body.single-product:has(.cf-commerce-header) #qodef-woo-page.qodef--single div.product .summary.entry-summary .variations label {
  color:#243c31;
  font:700 14px/1.5 Arial,sans-serif;
}

body.single-product:has(.cf-commerce-header) #qodef-woo-page.qodef--single div.product .summary.entry-summary form.cart button.single_add_to_cart_button {
  max-width:100%;
  min-height:52px;
  padding:14px 20px;
  border:1px solid #243c31;
  border-radius:0;
  background:#243c31 !important;
  color:#fffcf7 !important;
  font:700 14px/1.5 Arial,sans-serif;
  letter-spacing:normal !important;
  text-transform:none !important;
  white-space:normal;
}

body.single-product:has(.cf-commerce-header) #qodef-woo-page.qodef--single div.product .summary.entry-summary form.cart button.single_add_to_cart_button:not(:disabled):hover {
  border-color:#1b3026;
  background:#1b3026 !important;
}

body.single-product:has(.cf-commerce-header) #qodef-woo-page.qodef--single div.product .summary.entry-summary > .product_meta {
  margin-top:24px;
  color:#536052;
  font:400 13px/1.6 Arial,sans-serif;
}

body.single-product:has(.cf-commerce-header) #qodef-woo-page.qodef--single div.product .woocommerce-tabs {
  margin-top:40px;
  padding-top:0;
}

body.single-product:has(.cf-commerce-header) #qodef-woo-page.qodef--single div.product .woocommerce-tabs > ul {
  display:flex;
  flex-wrap:wrap;
  gap:6px 24px;
  margin:0 0 24px;
  padding:0;
}

body.single-product:has(.cf-commerce-header) #qodef-woo-page.qodef--single div.product .woocommerce-tabs > ul > li {
  float:none;
  max-width:100%;
  margin:0;
}

body.single-product:has(.cf-commerce-header) #qodef-woo-page.qodef--single div.product .woocommerce-tabs > ul > li > a {
  display:inline-flex;
  align-items:center;
  min-height:48px;
  max-width:100%;
  font-size:17px;
  line-height:1.4;
  white-space:normal;
}


/* 4. Utility: sola leggibilità. Non sostituisce i reset strutturali esistenti. */

:is(body.page-id-5068,body.page-id-5069,body.page-id-5070) .cf-site .cf-page-heading {
  padding-block:24px 32px;
}

:is(body.page-id-5068,body.page-id-5069,body.page-id-5070) .cf-site .cf-page-heading h1 {
  font-size:clamp(36px,4.4vw,56px);
  line-height:1.1;
}

body .cf-site .cf-utility .woocommerce form .form-row label {
  color:#263c31;
  font-size:14px;
  font-weight:700;
  line-height:1.5;
}

body .cf-site .cf-utility .woocommerce :is(input[type="text"],input[type="email"],input[type="tel"],input[type="password"],input[type="number"],input[type="url"],input[type="search"],select) {
  min-height:52px;
  font-size:16px !important;
  line-height:1.4;
}

body .cf-site .cf-utility .woocommerce textarea {
  font-size:16px;
  line-height:1.5;
}

body .cf-site .cf-utility .woocommerce :is(.woocommerce-info,.woocommerce-message,.woocommerce-error) {
  overflow-wrap:anywhere;
  font-size:15px;
  line-height:1.6;
}

body .cf-site .cf-utility .woocommerce .woocommerce-MyAccount-navigation a {
  font-size:14px;
  line-height:1.5;
  overflow-wrap:anywhere;
}

body.page-id-5069 .cf-site .cf-utility .woocommerce #order_review table.shop_table {
  font-size:15px;
  line-height:1.5;
}

body.page-id-6846:has(.cf-commerce-header) .cf-commerce-intro .cf-lead {
  font-size:16px;
  line-height:1.6;
}

@media (max-width: 980px) {
  body.single-product:has(.cf-commerce-header) #qodef-woo-page.qodef--single div.product .qodef-woo-single-inner {
    grid-template-columns:minmax(0,1fr);
    gap:24px;
  }
}

@media (max-width: 760px) {
  :is(body.woocommerce-shop, body.single-product, body.tax-product_cat):has(.cf-commerce-header) #qodef-woo-page .qodef-woo-product-list ul.products > li.product .qodef-woo-product-content .qodef-woo-product-title,
  :is(body.woocommerce-shop, body.single-product, body.tax-product_cat):has(.cf-commerce-header) #qodef-woo-page .qodef-woo-product-list ul.products > li.product .qodef-woo-product-content .qodef-woo-product-title a {
    font-size:clamp(26px,7.8vw,32px) !important;
  }
  :is(body.woocommerce-shop, body.single-product, body.tax-product_cat):has(.cf-commerce-header) #qodef-woo-page .qodef-woo-product-list ul.products > li.product .qodef-woo-product-image img {
    height:clamp(300px,90vw,390px);
  }
  :is(body.woocommerce-shop, body.single-product, body.tax-product_cat):has(.cf-commerce-header) #qodef-woo-page .qodef-woo-product-list ul.products > li.product > .qodef-e-inner > .qodef-woo-product-content > a.button.product_type_variable.add_to_cart_button,
  :is(body.woocommerce-shop, body.single-product, body.tax-product_cat):has(.cf-commerce-header) #qodef-woo-page .qodef-woo-product-list ul.products > li.product:hover > .qodef-e-inner > .qodef-woo-product-content > a.button.product_type_variable.add_to_cart_button {
    align-self:stretch;
    width:100% !important;
  }
  body.single-product:has(.cf-commerce-header) #qodef-woo-page.qodef--single div.product .summary.entry-summary h1.product_title {
    font-size:clamp(30px,8.5vw,38px) !important;
  }
  body.single-product:has(.cf-commerce-header) #qodef-woo-page.qodef--single div.product .summary.entry-summary form.cart button.single_add_to_cart_button {
    width:100%;
  }
  body.single-product:has(.cf-commerce-header) #qodef-woo-page.qodef--single div.product .woocommerce-tabs > ul {
    gap:4px 18px;
  }
}


/* Solo related del prodotto: annulla la larghezza al 25% del tema. */
body.single-product:has(.cf-commerce-header) #qodef-woo-page section.related.products > div.qodef-woo-product-list > ul.products.columns-4 > li.product {
  width: 100% !important;
  min-width: 0;
  max-width: none !important;
  float: none !important;
  justify-self: stretch;
}

/* Titoli delle informative: gerarchia leggibile senza enfasi eccessiva. */
body:is(.page-id-3,.page-id-6320,.page-id-6858) .cf-site .cf-utility h2 {font-size:clamp(26px,3vw,34px);line-height:1.2;text-transform:none;overflow-wrap:anywhere;}
body:is(.page-id-3,.page-id-6320,.page-id-6858) .cf-site .cf-utility h3 {font-size:clamp(22px,2.5vw,28px);line-height:1.25;text-transform:none;}

/* Il paragrafo vuoto inserito da wpautop prima del layout non deve creare una fascia. */
body:has(> .cf-site) > p:empty {display:none;}
/* Partner: il ritratto conserva il proprio formato anche nei monitor larghi. */
@media (min-width:761px) {
  body.page-id-6055 .cf-site .cf-detail-hero > .cf-hero-grid {grid-template-columns:minmax(0,1fr) minmax(0,1fr);}
  body.page-id-6055 .cf-site .cf-detail-hero > .cf-hero-grid::after {display:none;}
  body.page-id-6055 .cf-site .cf-detail-hero .cf-hero-copy {width:100%;margin:0;min-height:0;padding:clamp(42px,5.5vw,88px);background:var(--verde,#243c31);}
  body.page-id-6055 .cf-site .cf-detail-hero .cf-hero-media {position:relative;inset:auto;width:100%;min-height:0;aspect-ratio:4/5;overflow:hidden;}
  body.page-id-6055 .cf-site .cf-detail-hero .cf-hero-media .wp-image-7117 {object-position:50% 20%;}
  body.page-id-6055 .cf-site .cf-detail-hero h1 {font-size:clamp(40px,4.4vw,64px);}
}

/* Marchi chiari su fascia verde, senza riquadri individuali. */
body.page-id-6055 .cf-site section.cf-soft:has(.cf-partner-logos) {background:var(--verde,#243c31);color:var(--bianco,#fffcf7);}
body.page-id-6055 .cf-site section.cf-soft:has(.cf-partner-logos) h2 {color:var(--bianco,#fffcf7);}
body.page-id-6055 .cf-site section.cf-soft:has(.cf-partner-logos) .cf-kicker {color:var(--rosa,#efab98);}
/* Form contatti: etichette persistenti e testo16px su tutti i campi. */
body.page-id-6267 .cf-site .cf-contact-form .wpcf7-form :is(input[type=text],input[type=email],textarea,select) {min-height:52px;font:400 16px/1.5 Arial,sans-serif;}
body.page-id-6267 .cf-site .cf-contact-form .wpcf7-form textarea {min-height:160px;resize:vertical;}
body.page-id-6267 .cf-site .cf-contact-form .cf-field-label {display:block;margin:0 0 8px;color:var(--testo,#263c31);font:700 14px/1.5 Arial,sans-serif;}
body.page-id-6267 .cf-site .cf-contact-form .qodef-input-message {clear:both;}
body.page-id-6267 .cf-site .cf-contact-form .wpcf7-acceptance label {display:flex;align-items:flex-start;gap:10px;min-height:48px;font:400 14px/1.5 Arial,sans-serif;}
body.page-id-6267 .cf-site .cf-contact-form .wpcf7-acceptance input[type=checkbox] {flex:0 0 20px;width:20px;height:20px;margin:2px 0 0;}
body.page-id-6267 .cf-site .cf-contact-form .wpcf7-submit {min-height:52px;padding:14px 24px;background:var(--verde,#243c31);color:var(--bianco,#fffcf7);font:700 14px/1.5 Arial,sans-serif;}
@media(max-width:760px){
  body.single-product:has(.cf-commerce-header) #qodef-woo-page.qodef--single div.product .summary.entry-summary form.cart .woocommerce-variation-add-to-cart {flex-wrap:wrap;align-items:center;gap:12px;}
  body.single-product:has(.cf-commerce-header) #qodef-woo-page.qodef--single div.product .summary.entry-summary form.cart .woocommerce-variation-add-to-cart button.single_add_to_cart_button {flex:0 0 100%;width:100%;margin:0;}
  body.single-product:has(.cf-commerce-header) #qodef-woo-page.qodef--single div.product .summary.entry-summary form.cart .woocommerce-variation-add-to-cart .quantity {flex:0 0 auto;}
}

/* Carrello laterale: gerarchia dei pulsanti e totale con separatore leggibile. */
body:has(.cf-site) a.xoo-wsc-ft-btn.xoo-wsc-btn {min-height:48px;padding:12px 18px;border:1px solid #243c31;background:#faf6ee;color:#243c31;font:700 14px/1.5 Arial,sans-serif;letter-spacing:normal;text-transform:none;}
body:has(.cf-site) a.xoo-wsc-ft-btn.xoo-wsc-btn.xoo-wsc-ft-btn-checkout {background:#243c31;color:#fffcf7;}
body:has(.cf-site) a.xoo-wsc-ft-btn.xoo-wsc-btn:hover {background:#1b3026;color:#fffcf7;border-color:#1b3026;}
body:has(.cf-site) a.xoo-wsc-ft-btn-checkout .amount::before {content:" · ";}
body.page-id-5069 .cf-site .cf-utility .woocommerce #order_comments {font-size:16px;line-height:1.5;min-height:140px;}
body.page-id-5069 .cf-site .cf-utility .woocommerce .select2-selection__rendered {font-size:16px;}

/* Modulo con etichette: rimuove le icone decorative che interferivano con i bordi. */
body.page-id-6267 .cf-site .cf-contact-form :is(.qodef-input-name,.qodef-input-email)::before,
body.page-id-6267 .cf-site .cf-contact-form :is(.qodef-input-name,.qodef-input-email)::after {content:none;display:none;}
/* Mappa: testo e recapiti leggibili anche nel popup stretto dello smartphone. */
body.page-id-6267 .cf-site .gmpInfoWindowtitle {color:#243c31 !important;font-size:18px !important;line-height:1.35 !important;}
body.page-id-6267 .cf-site .gm-style-iw-d .egm-marker-iw,
body.page-id-6267 .cf-site .gm-style-iw-d .egm-marker-iw a {white-space:normal;overflow-wrap:anywhere;word-break:break-word;}

/* Checkout desktop: il tema limitava tutti i dettagli a metà della colonna disponibile. */
body.page-id-5069 .cf-site .cf-utility .woocommerce #customer_details {float:none !important;width:100% !important;max-width:100%;}
body.page-id-5069 .cf-site .cf-utility .woocommerce #order_review,
body.page-id-5069 .cf-site .cf-utility .woocommerce #order_review_heading {float:none !important;width:100% !important;max-width:100%;margin-inline:0 !important;padding-inline:0 !important;}
body:is(.page-id-5068,.page-id-5069,.page-id-5070) .cf-site .cf-utility .woocommerce #qodef-woo-page {padding-block:0 !important;}

/* Convertino — proposta mobile Home e pulsanti, 17 novembre2026.
 * Appendere al CSS globale corrente e verificare live prima di confermare.
 * Desktop, testi, URL, foto originali e comportamento dei pulsanti invariati.
 */

/* Angoli morbidi e coerenti sulle sole azioni, senza arrotondare foto/sezioni. */
body .cf-site :is(.cf-button, .cf-mobile-menu summary, .wpcf7-submit, button.cky-banner-element),
body .cf-site .woocommerce :is(a.button, button.button, input.button, #place_order),
body:has(.cf-commerce-header) #qodef-woo-page :is(a.button, button.button, input.button, button.single_add_to_cart_button),
body:has(.cf-site) a.xoo-wsc-ft-btn.xoo-wsc-btn {
  border-radius: 10px !important;
}

/* Il picture seleziona l'immagine mobile; fallback desktop originale invariato. */
body.page-id-6215 .cf-site .cf-home-hero .cf-hero-media > picture {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 760px) {
  /* Foto panoramica a tutta larghezza; nessun titolo sovrapposto al volto. */
  body.page-id-6215 .cf-site .cf-home-hero .cf-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  body.page-id-6215 .cf-site .cf-home-hero .cf-hero-grid::after {
    display: none;
  }
  body.page-id-6215 .cf-site .cf-home-hero .cf-hero-media {
    position: relative;
    inset: auto;
    order: 0;
    z-index: 0;
    width: 100%;
    min-height: 0;
    aspect-ratio: 3 / 2;
    margin: 0;
    overflow: hidden;
  }
  body.page-id-6215 .cf-site .cf-home-hero .cf-hero-media > picture > .cf-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
  }
  body.page-id-6215 .cf-site .cf-home-hero .cf-hero-copy {
    order: 1;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 34px var(--bordo-pagina, 18px) 38px;
    justify-content: flex-start;
    background: var(--verde, #243c31);
    color: var(--bianco, #fffcf7);
  }
  body.page-id-6215 .cf-site .cf-home-hero h1 {
    font-size: clamp(42px, 11.4vw, 62px);
    max-width: 15ch;
  }
  body.page-id-6215 .cf-site .cf-home-hero .cf-hero-foot {
    padding-block: 20px;
    gap: 10px;
  }

  /* Tutta la famiglia: foto reale nel flusso, proporzione originale2/3.
   * Non dipende dall'altezza di un'immagine assoluta né da un ritaglio cover.
   */
  body.page-id-6215 .cf-site #cf-home-storia .cf-family-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  body.page-id-6215 .cf-site #cf-home-storia .cf-family-photo {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    margin: 0;
    overflow: hidden;
  }
  body.page-id-6215 .cf-site #cf-home-storia .cf-family-photo .wp-image-7108 {
    display: block;
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    max-width: 100%;
    aspect-ratio: 1267 / 1900;
    object-fit: contain;
    object-position: 50% 50%;
  }
}

/* CANDIDATO NON APPLICATO. Comunicazione semplice, senza pop-up o overlay. */
.cf-site .cf-bf-offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px clamp(18px, 3vw, 38px);
  background: #ece4d6;
  color: #243c31;
  font-family: Arial, sans-serif;
}
.cf-site .cf-bf-offer strong {
  display: block;
  font-size: 17px;
  line-height: 1.4;
}
.cf-site .cf-bf-offer p {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.55;
}
.cf-site .cf-bf-offer .cf-button {
  flex-shrink: 0;
  border-radius: 10px;
}
body.single-product:has(.cf-commerce-header) #qodef-woo-page .summary .cf-bf-product-note {
  margin: 0 0 20px;
  color: #835346;
  font: 400 14px/1.55 Arial, sans-serif;
}
@media (max-width: 600px) {
  .cf-site .cf-bf-offer {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .cf-site .cf-bf-offer .cf-button { width: 100%; }
}

/* La nota nella home accompagna il racconto, senza un ulteriore riquadro. */
body .cf-site .cf-shop-copy .cf-bf-offer { margin-top:20px; padding:18px 0; border-top:1px solid #d9d0c1; background:transparent; }
body .cf-site.cf-commerce-intro .cf-bf-offer { margin-top:24px; }
body.page-id-6846 button.vi-woo-orders-tracking-form-search-tracking-number-btnclick {border-radius:10px !important;}

/* Un collegamento al carrello accanto al Menu sui telefoni. */
@media (max-width: 760px) {
  body .cf-site .cf-site-header .cf-header-inner:has(> .cf-desktop-nav a:where([href^="/cart/"], [href^="https://www.convertinocasafrantoio.it/cart/"])) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0 clamp(6px, 2vw, 14px);
  }

  /* wpautop può inserire un paragrafo vuoto dopo il logo e interruzioni tra i link. */
  body .cf-site .cf-site-header .cf-header-inner > p,
  body .cf-site .cf-site-header .cf-desktop-nav p {
    display: contents;
  }

  body .cf-site .cf-site-header .cf-header-inner > br,
  body .cf-site .cf-site-header .cf-header-inner > p > br,
  body .cf-site .cf-site-header .cf-desktop-nav br,
  body .cf-site .cf-site-header .cf-desktop-nav a:not(:where([href^="/cart/"], [href^="https://www.convertinocasafrantoio.it/cart/"])) {
    display: none;
  }

  body .cf-site .cf-site-header .cf-header-inner > .cf-logo {
    grid-area: 1 / 1;
    min-width: 0;
    max-width: 100%;
    justify-self: start;
  }

  body .cf-site .cf-site-header .cf-header-inner > .cf-logo img {
    max-width: 100%;
    height: auto;
  }

  body .cf-site .cf-site-header .cf-header-inner > .cf-desktop-nav:has(a:where([href^="/cart/"], [href^="https://www.convertinocasafrantoio.it/cart/"])) {
    display: flex;
    grid-area: 1 / 2;
    gap: 0;
    justify-self: end;
  }

  body .cf-site .cf-site-header .cf-header-inner > .cf-mobile-menu {
    grid-area: 1 / 3;
  }

  body .cf-site .cf-site-header .cf-desktop-nav a:where([href^="/cart/"], [href^="https://www.convertinocasafrantoio.it/cart/"]) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 48px;
    color: var(--bianco, #fffcf7);
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 4px;
  }

  body .cf-site .cf-site-header .cf-desktop-nav:has(a:where([href^="/cart/"], [href^="https://www.convertinocasafrantoio.it/cart/"])) ~ .cf-mobile-menu nav a:where([href^="/cart/"], [href^="https://www.convertinocasafrantoio.it/cart/"]) {
    display: none;
  }
}
