/*
Theme Name: Blocksy Lunelli Child
Theme URI: https://lunelli.it
Description: Child theme personalizzato per Lunelli Specialità Alimentari - Include tutti gli stili custom e la nuova homepage
Author: Lunelli / DigiStyle.it
Author URI: https://lunelli.it
Template: blocksy
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blocksy-lunelli-child
*/

/* ======================================================================
   LUNELLI SHOP – MASTER CSS v3.0 (SAFE MODE)
   Sezioni incluse: Archive, Category, Tag, Product, Sidebar, Header,
   Breadcrumb, Shop Grid, Buttons, Animazioni, Slider fix, Meta
   *NESSUNA MODIFICA ALLA HOME*
====================================================================== */


/* ======================================================================
   0. BRAND VARIABLES
====================================================================== */

:root {
    --lunelli-red: #7D3031;      /* Rosso Lunelli ufficiale */
    --lunelli-gold: #A1864B;     /* Oro Pantone 872C */
    --lunelli-dark: #4A1A1D;     /* Testo scuro premium */
    --lunelli-soft-dark: #6B4B4D; /* Testo secondario */
    --lunelli-light-border: rgba(0,0,0,0.06);
    --lunelli-text: #4A1A1D;
    --lunelli-crumb: #6f6256;
    --lunelli-crumb-sep: #A1864B;
}



/* ======================================================================
   1. HERO TITLE – ARCHIVE CATEGORIE / TAG
====================================================================== */

body.archive .entry-header .page-title {
    font-family: "Bitter", serif !important;
    font-weight: 700 !important;
    font-size: 52px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: var(--lunelli-red) !important;
    line-height: 1.1 !important;

    display: inline-block !important;
    position: relative !important;
    margin-bottom: -50px !important;
    padding-bottom: 0 !important;
}

/* Linea oro sotto il titolo */
body.archive .entry-header .page-title::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--lunelli-gold);
    border-radius: 2px;
}



/* ======================================================================
   2. TAG / CATEGORIA – DESCRIZIONE PERSONALIZZATA
====================================================================== */

.page-description.ct-hidden-sm p {
    font-family: "Bitter", serif !important;
    font-size: 20px !important;
    line-height: 1.7 !important;
    color: var(--lunelli-dark) !important;

    margin: 10px 0 0 0 !important;
    padding-left: 26px !important;
    max-width: 900px !important;
    position: relative !important;
}

/* Linea verticale oro */
.page-description.ct-hidden-sm p::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    height: calc(100% - 12px);
    width: 4px;
    background-color: var(--lunelli-gold);
    border-radius: 2px;
}



/* ======================================================================
   3. SIDEBAR CATEGORIE (Accordion Premium)
====================================================================== */

.ct-sidebar .widgettitle {
    font-family: "Bitter", serif !important;
    font-size: 22px;
    font-weight: 700;
    color: var(--lunelli-red);
    text-transform: uppercase;
    margin-bottom: 12px;
}

/* Macro categorie */
.wc-block-product-categories-list--depth-0 > .wc-block-product-categories-list-item {
    padding: 6px 0;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--lunelli-light-border);
}

/* Link macro categoria */
.wc-block-product-categories-list--depth-0 > .wc-block-product-categories-list-item > a {
    font-size: 18px;
    font-weight: 700 !important;
    color: var(--lunelli-red) !important;
    text-decoration: none;
    display: block;
    padding: 3px 0 !important;
    transition: .25s ease;
}

.wc-block-product-categories-list--depth-0 > .wc-block-product-categories-list-item > a:hover {
    color: var(--lunelli-gold) !important;
    transform: translateX(4px);
}

/* Freccia */
.ct-sidebar .wc-block-product-categories-list-item > a::after {
    content: "›";
    position: absolute;
    right: 0;
    top: 1px;
    font-size: 16px;
    color: var(--lunelli-red);
    opacity: 0.75;
    transition: .25s ease;
}

.current-cat::after,
.current-cat-parent::after {
    transform: rotate(90deg);
}

/* Sottocategorie */
.wc-block-product-categories-list--depth-1,
.wc-block-product-categories-list--depth-2 {
    padding-left: 14px !important;
    border-left: 2px solid rgba(161,134,75,0.35);
    margin-top: 2px !important;
}

.wc-block-product-categories-list--depth-1 a,
.wc-block-product-categories-list--depth-2 a {
    font-size: 15px;
    color: #4a4a4a;
    padding: 4px 0 !important;
    transition: .25s ease;
}

.wc-block-product-categories-list--depth-1 a:hover,
.wc-block-product-categories-list--depth-2 a:hover {
    color: var(--lunelli-gold) !important;
    transform: translateX(4px);
}



/* ======================================================================
   4. CATEGORY CARDS (ARCHIVE / SHOP)
====================================================================== */

.products .product-category {
    background: #fff;
    border: 1px solid rgba(161,134,75,0.28);
    border-radius: 14px;
    padding: 28px 20px 32px;
    text-align: center;
    transition: all .28s ease;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.products .product-category:hover {
    transform: translateY(-6px);
    border-color: var(--lunelli-gold);
    box-shadow: 0 10px 28px rgba(0,0,0,0.14);
}

/* Immagine */
.products .product-category figure {
    overflow: hidden !important;
}

.products .product-category figure img {
    transform: scale(1.30);
    transition: .30s ease;
}

/* Titolo categoria */
.products .product-category .woocommerce-loop-category__title {
    font-family: "Bitter", serif !important;
    font-size: 22px !important;
    font-weight: 700;
    color: var(--lunelli-red) !important;
}

/* Nessun count */
.products .product-category mark.count {
    display: none !important;
}



/* ======================================================================
   5. SHOP GRID (PRODOTTI)
====================================================================== */

ul.products li.product a img {
    width: 360px !important;
    max-width: 100%;
    transition: .3s ease;
}

ul.products li.product a:hover img {
    transform: scale(1.05);
}

/* Nome prodotto */
ul.products li.product .woocommerce-loop-product__title {
    font-family: "Bitter", serif !important;
    font-size: 20px !important;
    color: var(--lunelli-dark) !important;
    font-weight: 650 !important;
    margin-top: 10px !important;

    position: relative;
    padding-bottom: 8px;
}

/* Linea oro */
ul.products li.product .woocommerce-loop-product__title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background-color: var(--lunelli-gold);
    border-radius: 2px;
}

/* Prezzo SEMPRE visibile */
ul.products li.product .price {
    display: block !important;
    opacity: 1 !important;
    font-size: 19px !important;
    font-weight: 650 !important;
    color: var(--lunelli-dark) !important;
    margin-top: -7px !important;
    margin-bottom: 3px !important;
}

/* Pulsante */
ul.products li.product .button {
    background-color: var(--lunelli-red) !important;
    padding: 14px 20px !important;
    font-size: 18px !important;
    border-radius: 14px !important;
    display: inline-block !important;
    margin-top: 3px !important;
    transition: .25s ease;
}

ul.products li.product .button:hover {
    background-color: var(--lunelli-gold) !important;
    transform: scale(1.07);
}



/* ======================================================================
   6. ANIMAZIONI
====================================================================== */

ul.products li.product {
    opacity: 0;
    transform: translateY(12px);
    animation: lunelliFadeUp .5s ease-out forwards;
}

@keyframes lunelliFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* ======================================================================
   7. SINGLE PRODUCT PAGE
====================================================================== */

.single-product .product_title {
    font-family: "Bitter", serif !important;
    font-size: 42px !important;
    font-weight: 700 !important;
    color: var(--lunelli-dark) !important;
    margin-bottom: 10px !important;
    padding-bottom: 12px;
    position: relative;
}

.single-product .product_title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 90px;
    height: 4px;
    background: var(--lunelli-gold);
    border-radius: 2px;
}

/* Prezzo */
.single-product .price {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: var(--lunelli-red) !important;
}

/* Descrizione */
.single-product .woocommerce-product-details__short-description {
    border-left: 4px solid var(--lunelli-gold);
    padding-left: 18px;
    margin-bottom: 25px;
    color: var(--lunelli-dark) !important;
    font-size: 17px;
    line-height: 1.55;
}

/* Bottone */
.single-product .single_add_to_cart_button {
    background-color: var(--lunelli-red) !important;
    font-size: 20px !important;
    padding: 16px 32px !important;
    border-radius: 14px !important;
    transition: .25s ease !important;
}

.single-product .single_add_to_cart_button:hover {
    background-color: var(--lunelli-gold) !important;
    transform: scale(1.04);
}

/* Meta prodotto */
.single-product .product_meta {
    margin-top: 25px;
    font-size: 16px;
    color: var(--lunelli-soft-dark);
}

.single-product .product_meta a {
    color: var(--lunelli-red) !important;
}

.single-product .product_meta a:hover {
    color: var(--lunelli-gold) !important;
}



/* ======================================================================
   8. HEADER & MENU
====================================================================== */

#header .ct-menu-link {
    font-family: "Bitter", serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-transform: uppercase;
    padding: 10px 14px;
    transition: .25s ease;
}

#header .ct-menu-link:hover {
    color: var(--lunelli-gold) !important;
    transform: scale(1.08);
}



/* ======================================================================
   9. BREADCRUMB
====================================================================== */

.ct-breadcrumbs {
    font-family: "Bitter", serif !important;
    font-size: 16px !important;
    color: #6a6a6a !important;
    margin-bottom: 18px !important;
}

.ct-breadcrumbs a:hover {
    color: var(--lunelli-gold) !important;
}



/* ======================================================================
   10. MINI CART + ACCOUNT FIX (COLORI)
====================================================================== */

.ct-header-account-dropdown a.ct-menu-link {
    color: var(--lunelli-dark) !important;
}

.ct-header-account-dropdown a.ct-menu-link:hover {
    color: var(--lunelli-gold) !important;
}



/* ======================================================================
   11. FOOTER
====================================================================== */

#footer {
    margin-top: 40px !important;
}

/* =========================================================
   LUNELLI — CSS OPTIMIZED 2.0 (output identico)
   ========================================================= */

/* =========================================================
   1) FONT UNIFORMI (Bitter)
   ========================================================= */
   
body,
.woocommerce,
.woocommerce-page,
.ct-sidebar,
.ct-sidebar *,
.wp-block-woocommerce-product-categories,
.wp-block-woocommerce-product-categories *{
  font-family:"Bitter", serif !important;
  color:var(--lunelli-dark);
}

h1,h2,h3,h4,h5,h6,
.woocommerce div.product .product_title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering select,
.woocommerce .woocommerce-breadcrumb,
.ct-breadcrumbs{
  font-family:"Bitter", serif !important;
}

#header .ct-menu-link,
#header .menu > li > a,
.header-menu-1 a{
  font-family:"Bitter", serif !important;
  font-weight:700 !important;
  letter-spacing:.6px;
}

/* =========================================================
   2) SIDEBAR — CATEGORIE (accordion pulito, NO :has, Woo Blocks)
   ========================================================= */
.ct-sidebar .wp-block-woocommerce-product-categories{
  --lunelli-cat-indent:14px;
  --lunelli-cat-gap:6px;
}

.ct-sidebar .wp-block-woocommerce-product-categories .wc-block-product-categories-list{
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
}

.ct-sidebar .wp-block-woocommerce-product-categories .wc-block-product-categories-list-item{
  margin:0 !important;
  padding:0 !important;
}

.ct-sidebar .wp-block-woocommerce-product-categories .wc-block-product-categories-list-item > a{
  display:block !important;
  text-decoration:none !important;
  line-height:1.2 !important;
  padding:var(--lunelli-cat-gap) 0 !important;
  color:var(--lunelli-dark) !important;
}

/* TOP LEVEL */
.ct-sidebar .wp-block-woocommerce-product-categories
.wc-block-product-categories-list--depth-0 > .wc-block-product-categories-list-item > a{
  font-size:18px !important;
  font-weight:700 !important;
  color:var(--lunelli-red) !important;
  padding:10px 18px 10px 0 !important;
  position:relative !important;
}

.ct-sidebar .wp-block-woocommerce-product-categories
.wc-block-product-categories-list--depth-0 > .wc-block-product-categories-list-item > a::after{
  content:"›";
  position:absolute;
  right:0;
  top:50%;
  transform:translateY(-50%);
  transition:transform .25s ease, color .25s ease;
  color:currentColor;
  opacity:.75;
}

.ct-sidebar .wp-block-woocommerce-product-categories
.wc-block-product-categories-list--depth-0 > .wc-block-product-categories-list-item > a.current-cat::after{
  transform:translateY(-50%) rotate(90deg);
  color:var(--lunelli-gold);
  opacity:1;
}

/* SUBLEVEL container */
.ct-sidebar .wp-block-woocommerce-product-categories
.wc-block-product-categories-list--depth-1,
.ct-sidebar .wp-block-woocommerce-product-categories
.wc-block-product-categories-list--depth-2{
  padding-left:var(--lunelli-cat-indent) !important;
  margin:2px 0 10px 0 !important;
  border-left:1px solid rgba(0,0,0,.08);
}

/* sublevel links */
.ct-sidebar .wp-block-woocommerce-product-categories
.wc-block-product-categories-list--depth-1 > .wc-block-product-categories-list-item > a,
.ct-sidebar .wp-block-woocommerce-product-categories
.wc-block-product-categories-list--depth-2 > .wc-block-product-categories-list-item > a{
  font-size:15px !important;
  font-weight:600 !important;
  color:var(--lunelli-dark) !important;
  padding:6px 0 !important;
}

.ct-sidebar .wp-block-woocommerce-product-categories
.wc-block-product-categories-list--depth-1 > .wc-block-product-categories-list-item > a:hover,
.ct-sidebar .wp-block-woocommerce-product-categories
.wc-block-product-categories-list--depth-2 > .wc-block-product-categories-list-item > a:hover{
  color:var(--lunelli-red) !important;
}

.ct-sidebar .wp-block-woocommerce-product-categories a.current-cat{
  color:var(--lunelli-red) !important;
}

/* ACCORDION: chiusi di default */
.ct-sidebar .wp-block-woocommerce-product-categories
.wc-block-product-categories-list--depth-0 > .wc-block-product-categories-list-item > ul,
.ct-sidebar .wp-block-woocommerce-product-categories
.wc-block-product-categories-list--depth-1 > .wc-block-product-categories-list-item > ul{
  max-height:0;
  overflow:hidden;
  opacity:0;
  transform:translateY(-4px);
  transition:max-height .35s ease, opacity .25s ease, transform .25s ease;
}

/* apri quando current-cat (depth 0 e 1) */
.ct-sidebar .wp-block-woocommerce-product-categories
.wc-block-product-categories-list--depth-0 > .wc-block-product-categories-list-item > a.current-cat + ul,
.ct-sidebar .wp-block-woocommerce-product-categories
.wc-block-product-categories-list--depth-1 > .wc-block-product-categories-list-item > a.current-cat + ul{
  max-height:900px;
  overflow:visible;
  opacity:1;
  transform:translateY(0);
}

/* keep-open anche per current-cat-parent (override finale) */
.ct-sidebar .wp-block-woocommerce-product-categories
.wc-block-product-categories-list--depth-0 > .wc-block-product-categories-list-item > a.current-cat-parent + ul,
.ct-sidebar .wp-block-woocommerce-product-categories
.wc-block-product-categories-list--depth-1 > .wc-block-product-categories-list-item > a.current-cat-parent + ul{
  max-height:900px !important;
  overflow:visible !important;
  opacity:1 !important;
  transform:translateY(0) !important;
}

/* fallback touch */
@media (hover:none){
  .ct-sidebar .wp-block-woocommerce-product-categories
  .wc-block-product-categories-list--depth-0 > .wc-block-product-categories-list-item > ul{
    max-height:900px;
    overflow:visible;
    opacity:1;
    transform:none;
  }
}

/* FIX FINALE sidebar */
.ct-sidebar .wp-block-woocommerce-product-categories
.wc-block-product-categories-list--depth-1 > .wc-block-product-categories-list-item > a::after,
.ct-sidebar .wp-block-woocommerce-product-categories
.wc-block-product-categories-list--depth-2 > .wc-block-product-categories-list-item > a::after{
  content:none !important;
}

.ct-sidebar .wp-block-woocommerce-product-categories
.wc-block-product-categories-list--depth-1 .wc-block-product-categories-list-item__name,
.ct-sidebar .wp-block-woocommerce-product-categories
.wc-block-product-categories-list--depth-2 .wc-block-product-categories-list-item__name{
  color:#6b6b6b !important;
  font-weight:500 !important;
}

.ct-sidebar .wp-block-woocommerce-product-categories
.wc-block-product-categories-list--depth-1 a:hover .wc-block-product-categories-list-item__name,
.ct-sidebar .wp-block-woocommerce-product-categories
.wc-block-product-categories-list--depth-2 a:hover .wc-block-product-categories-list-item__name{
  color:var(--lunelli-dark) !important;
}

.ct-sidebar .wp-block-woocommerce-product-categories
.wc-block-product-categories-list--depth-1 a.current-cat .wc-block-product-categories-list-item__name,
.ct-sidebar .wp-block-woocommerce-product-categories
.wc-block-product-categories-list--depth-2 a.current-cat .wc-block-product-categories-list-item__name{
  color:var(--lunelli-dark) !important;
  font-weight:700 !important;
}

.ct-sidebar .wp-block-woocommerce-product-categories
.wc-block-product-categories-list--depth-1 a.current-cat,
.ct-sidebar .wp-block-woocommerce-product-categories
.wc-block-product-categories-list--depth-2 a.current-cat{
  padding-left:8px !important;
  border-left:3px solid var(--lunelli-gold);
}

/* =========================================================
   3) SHOP LOOP — UNDER ACTIONS (stato attuale)
   ========================================================= */

/* nasconde elementi originali */
.woocommerce ul.products li.product .ct-woo-card-actions,
.woocommerce ul.products li.product .entry-meta{
  display:none !important;
}

/* slot + overlay bottoni (VERSIONE ATTUALE) */
.woocommerce ul.products li.product{
  position:relative !important;
  padding-bottom:58px !important;
  overflow:visible !important;
}

.woocommerce ul.products li.product .lunelli-under-actions{
  position:absolute !important;
  left:0 !important;
  right:0 !important;
  bottom:6px !important;
  height:52px !important;

  display:flex !important;
  flex-direction:row !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  justify-content:center !important;

  margin:0 !important;
  padding:0 !important;
  overflow:visible !important;

  gap:8px !important;
  opacity:0 !important;
  transform:translateY(-8px) !important;
  transition:opacity .3s ease, transform .3s ease !important;
  z-index:10 !important;
}

.woocommerce ul.products li.product:hover .lunelli-under-actions{
  opacity:1 !important;
  transform:translateY(0) !important;
}

.woocommerce ul.products li.product .lunelli-under-actions .button{
  background-color:var(--lunelli-red) !important;
  color:#fff !important;
  font-family:"Bitter", serif !important;
  font-size:15px !important;
  font-weight:700 !important;
  text-transform:uppercase !important;
  letter-spacing:.3px !important;

  padding:13px 20px !important;
  border:none !important;
  border-radius:999px !important;

  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;

  text-decoration:none !important;
  cursor:pointer !important;
  transition:background .2s ease, transform .15s ease, box-shadow .2s ease !important;
  box-shadow:0 5px 15px rgba(125,48,49,.20) !important;
  white-space:nowrap !important;

  margin:0 !important;
  position:relative !important;
}

.woocommerce ul.products li.product .lunelli-under-actions .button:hover{
  background-color:var(--lunelli-gold) !important;
  transform:scale(1.05) !important;
  box-shadow:0 6px 22px rgba(161,134,75,.32) !important;
}

.woocommerce ul.products li.product .lunelli-under-actions .button:active{
  transform:scale(.98) !important;
}

.woocommerce ul.products li.product .lunelli-under-actions .button.loading{
  pointer-events:none !important;
  opacity:.65 !important;
}

.woocommerce ul.products li.product .lunelli-under-actions .button::before{
  content:"" !important;
  display:inline-block !important;
  width:20px !important;
  height:20px !important;
  background-repeat:no-repeat !important;
  background-size:contain !important;
  background-position:center !important;
  flex-shrink:0 !important;
}

.woocommerce ul.products li.product .lunelli-under-actions .button.add_to_cart_button::before,
.woocommerce ul.products li.product .lunelli-under-actions .button.product_type_simple::before,
.woocommerce ul.products li.product .lunelli-under-actions .button.product_type_variable::before{
  background-image:url('data:image/svg+xml;charset=utf-8,%3Csvg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="white"%3E%3Cpath stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 3h2l.4 2M7 13h10l4-8H5.4M7 13L5.4 5M7 13l-2.293 2.293c-.63.63-.184 1.707.707 1.707H17m0 0a2 2 0 100 4 2 2 0 000-4zm-8 2a2 2 0 11-4 0 2 2 0 014 0z"/%3E%3C/svg%3E') !important;
}

.woocommerce ul.products li.product .lunelli-under-actions .button.added::before{
  background-image:url('data:image/svg+xml;charset=utf-8,%3Csvg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="white"%3E%3Cpath stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"/%3E%3C/svg%3E') !important;
}

/* =========================================================
   4) GRID PRODUCTS — titolo DOPO immagine
   ========================================================= */
.woocommerce ul.products li.product .woocommerce-loop-product__link{
  display:flex !important;
  flex-direction:column !important;
  flex-grow:1 !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__link .woocommerce-loop-product__title{
  order:2 !important;
  margin-top:14px !important;
  margin-bottom:0 !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__link .attachment-woocommerce_thumbnail{
  order:1 !important;
}

.woocommerce ul.products li.product .price{
  order:3 !important;
  margin-top:8px !important;
  margin-bottom:8px !important;
}

/* =========================================================
   5) GALLERY PRODUCT (SINGOLO) — grandezza + aspect
   ========================================================= */
.single-product .woocommerce-product-gallery{
  max-width:560px !important;
  margin:0 auto !important;
}

.single-product .woocommerce-product-gallery__wrapper{
  aspect-ratio:1 / 1 !important;
  overflow:hidden;
}

.single-product .woocommerce-product-gallery__image{
  width:100% !important;
  height:100% !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}

.single-product .woocommerce-product-gallery__image img{
  width:auto !important;
  height:auto !important;
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
}

@media (max-width:768px){
  .single-product .woocommerce-product-gallery{
    max-width:100% !important;
  }
}

/* =========================================================
   6) PRODUCT TITLE LOOP — clamp + produttore clickabile
   ========================================================= */
.woocommerce ul.products>li.product .woocommerce-loop-product__title{
  display:block!important;
  padding:0!important;
  position:relative!important;
}
.woocommerce ul.products>li.product .woocommerce-loop-product__title > a[href*="/produttore/"]{
  font-size:.77em!important;
  display:block!important;
  font-weight:600!important;
  color:#999!important;
  text-decoration:none!important;
  opacity:.70!important;
  transition:opacity .2s ease,text-decoration .2s ease!important;
}
@media (hover:hover){
  .woocommerce ul.products>li.product .woocommerce-loop-product__title > a[href*="/produttore/"]:hover{
    opacity:1!important;
    text-decoration:underline!important;
  }
}

/* Titolo: clamp (vincono queste regole nel tuo CSS attuale) */
.woocommerce ul.products>li.product .woocommerce-loop-product__title{
  font-size:1.15em!important;
  line-height:1.15!important;
  text-align:center!important;

  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:3!important;
  overflow:hidden!important;
}

/* =========================================================
   7) BREADCRUMB (SINGOLO) — Blocksy ct-breadcrumbs
   ========================================================= */
.single-product .hero-section .ct-breadcrumbs{
  background:transparent!important;
  margin:0 0 16px!important;
  padding:10px 0 8px!important;

  font-family:"Bitter", serif!important;
  font-size:13.75px!important;
  line-height:1.2!important;
  letter-spacing:.02em!important;
  text-transform:none!important;

  color:var(--lunelli-crumb)!important;
  border-bottom:1px solid rgba(161,134,75,.18)!important;
}

.single-product .hero-section .ct-breadcrumbs a{
  color:var(--lunelli-crumb)!important;
  text-decoration:none!important;
  font-weight:600!important;
  transition:color .15s ease, text-decoration-color .15s ease;
}
.single-product .hero-section .ct-breadcrumbs a:hover{
  color:var(--lunelli-gold)!important;
  text-decoration:underline!important;
  text-decoration-thickness:1px;
  text-underline-offset:2px;
}
.single-product .hero-section .ct-breadcrumbs .ct-separator{
  color:var(--lunelli-crumb-sep)!important;
  opacity:.95!important;
  width:9px!important;
  height:9px!important;
  margin:0 8px!important;
  transform:translateY(.5px);
}
.single-product .hero-section .ct-breadcrumbs .last-item,
.single-product .hero-section .ct-breadcrumbs .last-item [itemprop="name"]{
  color:var(--lunelli-red)!important;
  font-weight:700!important;
}
.single-product .hero-section .ct-breadcrumbs .last-item a{
  pointer-events:none!important;
}
@media (max-width:768px){
  .single-product .hero-section .ct-breadcrumbs{
    font-size:12px!important;
    margin-bottom:12px!important;
    padding:8px 0 7px!important;
  }
  .single-product .hero-section .ct-breadcrumbs .ct-separator{
    margin:0 6px!important;
  }
}

/* =========================================================
   8) TRUST STRIP (SINGOLO) — versione finale che vincola nel tuo CSS
   ========================================================= */
.single-product .lunelli-trust{
  margin:12px 0 14px!important;
  padding:10px 12px!important;
  border-radius:12px!important;
  border:1px solid rgba(161,134,75,.18)!important;
  background:transparent!important;
  display:flex!important;
  gap:12px!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex-wrap:wrap!important;
}

.single-product .lunelli-trust-item{
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  font-family:"Bitter", serif!important;
  color:var(--lunelli-text)!important;
  font-size:13.25px!important;
  line-height:1.2!important;

  padding:6px 10px!important;
  border-radius:999px!important;
  background:rgba(161,134,75,.06)!important;
  border:1px solid rgba(161,134,75,.12)!important;
}

.single-product .lunelli-trust-ico{
  width:24px!important;
  height:24px!important;
  border-radius:999px!important;
  border:1px solid rgba(161,134,75,.30)!important;
  background-color:#fff!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:15px 15px!important;
  flex-shrink:0!important;
}

/* =========================================================
   9) SINGLE — TITOLO + PRODUTTORE (SOTTO H1)
   ========================================================= */
.single-product .product_title{
  font-family:"Bitter", serif!important;
  font-size:50px!important;
  font-weight:600!important;
  letter-spacing:-0.02em!important;
  line-height:1.15!important;
  margin-bottom:5px!important;
}

.single-product .lunelli-producer-tag{
  margin:6px 0 14px!important;
  font-family:"Bitter", serif!important;
  font-size:13px!important;
  line-height:1.2!important;
  color:#6f6256!important;
}
.single-product .lunelli-producer-tag a{
  text-decoration:none!important;
  color:inherit!important;
}
.single-product .lunelli-producer-tag a:hover{
  color:var(--lunelli-gold)!important;
  text-decoration:underline!important;
  text-underline-offset:2px;
}
.single-product .lunelli-producer-tag strong{
  font-weight:700!important;
  color:var(--lunelli-red)!important;
}

/* =========================================================
   10) SINGLE — "ABBELLIMENTI" (Hero / Foto / Summary / Prezzo / Correlati)
   ========================================================= */
.single-product .site-main{
  background:linear-gradient(
    to bottom,
    rgba(161,134,75,.04),
    rgba(255,255,255,0)
  );
}

.single-product .woocommerce-product-gallery__image img{
  border-radius:14px!important;
  box-shadow:0 24px 60px rgba(0,0,0,.14)!important;
  background:#fff;
}

.single-product .summary{
  padding:28px 28px 32px!important;
  background:rgba(255,255,255,.85);
  border-radius:18px;
}

.single-product p.price{
  font-size:28px!important;
  letter-spacing:-0.01em;
}

/* correlati */
.single-product .related{
  margin-top:80px!important;
  padding-top:60px;
  border-top:1px solid rgba(161,134,75,.25);
}
.single-product .related h2{
  font-family:"Bitter", serif;
  font-size:22px;
  margin-bottom:28px;
}

/* Un filo più di aria sopra/sotto e ritmo nella colonna destra */
.single-product .summary{
  padding: 30px 30px 34px !important;
}
.single-product .product_title{ margin-bottom: 6px !important; }
.single-product .lunelli-producer-tag{ margin-bottom: 14px !important; }
.single-product p.price{ margin: 0 0 14px !important; }
.single-product .lunelli-trust{ margin: 0 0 16px !important; }
.single-product .woocommerce-product-details__short-description{ margin: 0 0 20px !important; }

.single-product .lunelli-howto{
  margin: 14px 0 0 !important;
  padding: 14px 14px 10px !important;
  border: 1px solid rgba(161,134,75,.18) !important;
  border-radius: 14px !important;
  background: rgba(161,134,75,.04) !important;
}
.single-product .lunelli-howto-title{
  font-family:"Bitter", serif !important;
  font-weight:700 !important;
  font-size:14px !important;
  color: var(--lunelli-red) !important;
  margin-bottom: 8px !important;
}
.single-product .lunelli-howto ul{
  margin:0 !important;
  padding-left: 18px !important;
}
.single-product .lunelli-howto li{
  margin: 0 0 6px !important;
  color: var(--lunelli-text) !important;
  font-size: 13.5px !important;
}

.single-product .lunelli-cta-note{
  margin-top: 10px !important;
  font-family:"Bitter", serif !important;
  font-size: 12.5px !important;
  color: #6f6256 !important;
}
