
:root {
    /* Palette Colori */
    --color-bg-body: #F7F5F0;      /* Beige caldo 'Vieni.ch' style */
    --color-bg-card: #FFFFFF;      /* Bianco puro per contrasto */
    --color-primary: #1A4D2E;      /* Verde Scuro Elegante */
    --color-primary-hover: #143D24;
    --color-secondary: #D6E8D9;    /* Verde chiarissimo/Salvia */
    --color-accent: #E8F5E9;       /* Verde quasi bianco per sfondi leggeri */
    --color-text-main: #2C332E;    /* Grigio scuro (quasi nero) */
    --color-text-muted: #6B7A70;   /* Grigio verdastro */
    --color-border: #E0E0E0;
    
    /* UI Style */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 50px;
	--radius-card: 20px;       /* Curvatura schede */
    
    /* Ombreggiature "Soft 2026" */
    --shadow-soft: 0 10px 40px -10px rgba(26, 77, 46, 0.08);
    --shadow-hover: 0 20px 50px -10px rgba(26, 77, 46, 0.15);
    --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.03);
    
    /* Typography */
    --font-heading: 'Inter', sans-serif; /* Assicurati di importare il font se non c'Ă¨ */
}

/* ==========================================================================
   2. RESET & STILI GLOBALI
   ========================================================================== */

body {
    background-color: var(--color-bg-body) !important;
    color: var(--color-text-main) !important;
    font-family: var(--font-heading);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-primary-hover);
}

/* Titoli eleganti */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    color: var(--color-primary);
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Pulsanti "Pill" Moderni */
.btn-primary, .btn-secondary {
    border-radius: var(--radius-pill) !important;
    padding: 12px 30px !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(26, 77, 46, 0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-primary {
    background-color: var(--color-primary) !important;
    color: #fff !important;
	
}


@media (min-width: 768px) {
  .flex-md-grow-0 {
    flex-grow: 10 !important;
  }
}


.btn-primary:hover {
    background-color: var(--color-primary-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 77, 46, 0.3);
}

.btn-secondary {
    background-color: var(--color-secondary) !important;
    color: var(--color-primary) !important;
}

/* Campi Form (Input) */
.form-control, .input-group-text {
    background-color: var(--color-bg-card);
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    padding: 12px 15px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.form-control:focus {
    background-color: #fff;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 4px rgba(214, 232, 217, 0.5);
}




/* ==========================================================================
   3. LOGO
   ========================================================================== */

.header-bottom__h1 {
  font-size: unset;
  width: 200px!important;
  margin-left: 8px!important;
}










/* ==========================================================================
   3. HEADER & NAVIGAZIONE
   ========================================================================== */

#header {
     background-color: var(--color-bg-body) !important;
    box-shadow: none;
    margin-bottom: 2rem;
	  box-shadow: var(--shadow-soft);
}

/* Barra superiore pulita */
.header-nav {
    background: var(--color-primary);
    color: #fff;
    font-size: 0.8rem;
    padding: 8px 0;
}



/* =========================
       SUBMENU STYLES 
       ========================= */
    .submenu {
        position: absolute;
        top: 120%; /* Distanza per l'animazione */
        left: 0;
        min-width: 220px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 16px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        padding: 8px;
        list-style: none;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
    }

    
    .has-submenu:hover .submenu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        top: 100%;
    }

    .has-submenu:hover .submenu-toggle .material-icons {
        transform: rotate(180deg);
        color: #1A4D2E;
    }

    .submenu li a {
        padding: 12px 16px !important;
        font-size: 0.9rem;
        border-radius: 10px !important;
        white-space: nowrap;
    }

    .submenu li a:hover {
        background: rgba(26, 77, 46, 0.06) !important;
        color: #1A4D2E !important;
        padding-left: 20px !important; /* Effetto spostamento Apple */
    }

    /* =========================
       RESPONSIVE
       ========================= */
    @media (max-width: 768px) {
        .custom-top-menu {
            flex-direction: column;
            align-items: flex-start;
            width: 100%;
        }
        
        .submenu {
            position: static;
            opacity: 1;
            visibility: visible;
            transform: none;
            box-shadow: none;
            border: none;
            background: transparent;
            padding-left: 20px;
            display: none; /* In mobile lo apriresti con un click */
        }

        .has-submenu:hover .submenu {
            display: block;
        }
    }






   /* ==========================================================
   RESET & HIDE ELEMENTS
   ========================================================== */
#_desktop_contact_link {
    display: none;
}

@media (max-width: 991px) {
    .header-top, 
    #_desktop_contact_link {
        display: none !important;
    }

    
    .main-menu__additionnals {
        margin-top: 0 !important;      /* Rimuove la spinta verso il basso */
        position: static !important;   /* Rimuove eventuali ancoraggi fissi */
        padding-top: 0 !important;
        background: transparent !important; /* Rimuove lo sfondo grigio se presente */
    }

    .offcanvas-body {
        display: block !important;     /* Disattiva il flex che spinge i contenuti */
        overflow-y: auto !important;   /* Permette lo scorrimento naturale di tutto il blocco */
    }
}

/* ==========================================================
   DESKTOP: PILL STYLE (Centrato con Radius)
   ========================================================== */
@media (min-width: 992px) {
    .header-top {
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 12px 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        margin: 20px auto;
        border-radius: 50px; 
        max-width: 85%;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    }
}

.custom-top-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.custom-top-menu li {
    position: relative;
}

.custom-top-menu li a {
    text-decoration: none;
    color: #111;
   
   
    font-size: 0.95rem;
    padding: 6px;
    border-radius: 12px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 6px;
}

.custom-top-menu li a:hover {
    background: #F7F5F0;
    color: #1A4D2E;
}

/* Submenu Desktop */
.custom-top-menu .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    padding: 8px;
    margin-top: 10px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ==========================================================
   MOBILE: LOOK PREMIUM (Natural Flow)
   ========================================================== */
@media (max-width: 991px) {
    .main-menu__additionnals .custom-top-menu {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0;
        border-top: 1px solid #eee; 
        padding-top: 10px;
        margin-top: 10px;
        margin-bottom: 20px;
    }

    .main-menu__additionnals .custom-top-menu li {
        border-bottom: 1px solid #f8f8f8;
    }

    .main-menu__additionnals .custom-top-menu li a {
        padding: 5px; 
        font-size: 1.05rem;
        font-weight: 400;
        border-radius: 0;
        background: transparent !important;
        justify-content: space-between;
    }

    .main-menu__additionnals .material-icons {
        font-size: 18px;
        color: #999;
    }

    /* Submenu Mobile */
    .main-menu__additionnals .submenu {
        position: static;
        display: none;
        background: #fcfcfc;
        box-shadow: none;
        border: none;
        padding: 0 0 5px 15px;
        transform: none;
        opacity: 1;
        visibility: visible;
    }

    .has-submenu.is-open .submenu {
        display: block;
    }

    .has-submenu.is-open .material-icons {
        transform: rotate(180deg);
        color: #1A4D2E;
    }

    .main-menu__additionnals .submenu li a {
        padding: 8px 0 !important;
        font-size: 0.95rem !important;
        color: #666 !important;
    }
}







/* ==========================================================================
   MEGA MENU 2026 - VERSIONE UNIFICATA SENZA CONFLITTI
   ========================================================================== */



.main-menu__tree>li>a {
    outline-offset: -.5rem;
    padding: 1rem!important;
}


.main-menu__tree__item:hover .main-menu__tree__link[data-depth="0"] {
    background-color: rgba(26, 77, 46, 0.08) !important;
    color: #1A4D2E !important; 
	border-radius: 20px;
	
}





/* 1. RESET STRUTTURALE */
.js-menu-desktop { position: static !important; width: 100% !important; }
ul#top-menu.main-menu__tree {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 15px !important;
    height: 80px !important;
    margin: 0 !important;
}




/* Mostra il mega menu all'hover dell'item padre */
.main-menu__tree__item:hover .menu-container.js-sub-menu {
    display: block !important;
}



/* 5. RESET TOTALE SOTTOLISTE (Elimina box bianchi e posizionamenti errati) */
.menu-container ul.submenu, 
.menu-container ul[data-depth="2"], 
.menu-container ul[data-depth="3"] {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 15px 0 0 0 !important;
    display: flex !important;
    flex-direction: column !important;
    min-width: unset !important;
}



/* 7. LINK VERDI (Depth 2 e 3) */
.menu-container a.main-menu__tree__link[data-depth="2"],
.menu-container a.main-menu__tree__link[data-depth="3"] {
    color: #1A4D2E !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    padding: 6px 0 !important;
    white-space: nowrap !important;
    display: block !important;
    text-decoration: none !important;
}

.menu-container a.main-menu__tree__link[data-depth]:hover {
    opacity: 0.6 !important;
    
}

/* Rimuove pallini o icone residue */
.menu-container li { list-style: none !important; }



























/* --- 4. MENU MOBILE OFFCANVAS (Lo "Store" 2026) --- */
.main-menu__offcanvas {
    z-index: 1060 !important; /* Piů alto dello sticky header */
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    border-radius: 0 25px 25px 0 !important;
    box-shadow: 25px 0 60px rgba(0,0,0,0.1) !important;
    border: none !important;
}

/* Header del Menu */
.offcanvas-header {
    padding: 20px 25px !important;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.btn-close {
    background-color: #f1f1f1 !important;
    border-radius: 50%;
    opacity: 1 !important;
    padding: 10px !important;
}


/* ==========================================================
   Buonsapore NAV 2026 - MOBILE
   ========================================================== */

/* Contenitore Lista: Piů aria, meno costrizione */
.menu__list {
    padding: 8px 12px !important; /* Ridotto per massimizzare lo spazio */
    list-style: none;
    background: transparent;
}

.menu__list li {
    margin-bottom: 4px; /* Spazio minimo per un look coeso */
    position: relative;
    perspective: 1000px;
}

/* Link del Menu: Minimalismo e precisione tipografica */
.menu__link {
    display: flex !important;
    align-items: center;
    padding: 12px 16px !important; /* Padding ottimizzato per il tap */
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(5px);
    border-radius: 12px !important; /* Radius piů morbido e moderno */
    color: #000000 !important;
    font-size: 0.98rem;
    font-weight: 500 !important; /* Peso medio per eleganza */
    text-decoration: none !important;
    border: 1px solid rgba(0,0,0,0.03) !important; /* Hairline border */
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); /* Animazione Apple-style */
}

/* Interazione: Feedback tattile visivo */
.menu__link:hover, .menu__link:active {
    background: #ffffff !important;
    border-color: rgba(0,0,0,0.1) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transform: translateX(4px); /* Segue il movimento dell'occhio */
}

/* Icona di navigazione: Sottile e integrata */
.main-menu__toggle-child {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    width: 24px;
    height: 24px;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

/* Intestazioni Categorie: Micro-typography */
.main-menu__title.h5 {
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 2px; /* Aumentato per leggibilitŕ premium */
    padding: 24px 0 8px 16px !important;
    opacity: 0.8;
}

/* Selettori Lingua/Valuta: Look integrato */
#_mobile_language_selector, #_mobile_currency_selector {
    margin: 10px 16px;
    font-size: 0.85rem;
    color: #444;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 8px;
}

/* Backdrop: Focus assoluto sul menu */
.offcanvas-backdrop {
    backdrop-filter: blur(12px) saturate(180%); /* Effetto vetro realistico */
    background-color: rgba(255, 255, 255, 0.4) !important; /* Light mode premium */
}

/* Animazione "Flow" 2026: Entrata fluida non lineare */
.offcanvas.show .menu__list li {
    animation: menuFlowIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

@keyframes menuFlowIn {
    from { 
        opacity: 0; 
        transform: translateX(-15px) skewX(-2deg); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0) skewX(0); 
    }
}

/* Staggered Delay per effetto cascata */
.menu__list li:nth-child(n) { animation-delay: calc(0.04s * var(--item-index, 1)); }

/* Utility per rendere l'animazione dinamica (se supportato dallo script) */
.menu__list li:nth-child(1) { --item-index: 1; }
.menu__list li:nth-child(2) { --item-index: 2; }
.menu__list li:nth-child(3) { --item-index: 3; }
.menu__list li:nth-child(4) { --item-index: 4; }
.menu__list li:nth-child(5) { --item-index: 5; }









/* pulsante B2B */
.header-top__right.col-md-7 li {
    background-color: var(--color-primary);
    padding: 10px 15px !important;
    border-radius: 4px !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    border: 1px solid transparent;
}

/* Stile del link interno */
.header-top__right.col-md-7 li a {
    color: white !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 14px;
}

/* --- EFFETTO HOVER --- */
.header-top__right.col-md-7 li:hover {
    background-color: var(--color-primary);
	color: var(--color-secondary);
    transform: translateY(-2px);           /* Si alza leggermente */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15); /* Ombra profonda */
    border-color: rgba(255, 255, 255, 0.2);
}

/* Effetto al click (pressione) */
.header-top__right.col-md-7 li:active {
    transform: translateY(0);
    filter: brightness(0.9);
}









/* ==========================================================
   BUONSAPORE EDITORIAL SLIDE GALLERY 2026
   ========================================================== */
/* Gallery Container Fix */
.bs-gallery-wrapper {
  margin: 60px 0;
  position: relative;
}

.bs-carousel-inner {
  border-radius: 24px !important;
  height: 500px !important;
  background: #f1f1f1;
}

.carousel-item, .bs-slide-image {
  height: 500px !important;
}

.bs-slide-image {
  background-size: cover;
  background-position: center;
  width: 100%;
}

.bs-slide-caption {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 20px 30px;
  border-radius: 15px;
  max-width: 300px;
  z-index: 10;
}

/* Fix Controlli: sempre visibili sopra le immagini */
.bs-control {
  z-index: 20 !important;
  border: none;
  background: white !important;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  cursor: pointer;
}

.carousel-control-prev.bs-control { left: 20px !important; }
.carousel-control-next.bs-control { right: 20px !important; }

.bs-control .material-icons {
  color: #1A4D2E;
  font-size: 24px;
}

.bs-mt-80 { margin-top: 80px; }






















/* Titoli Sezioni Home (es. Prodotti Popolari) */
.products-section-title {
    text-align: center;
    position: relative;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.products-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--color-secondary);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* ==========================================================================
   5. SCHEDE PRODOTTO (GRID)
   ========================================================================== */

/* Container prodotti: usa Flexbox per adattarsi fluidamente */
#products .products, 
.featured-products .products,
.product-accessories .products {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px; /* Bilancia il padding delle card */
    justify-content: flex-start;
}

/* Configurazione Responsiva delle Card */
.product-miniature,
.js-product-miniature {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 15px;
    margin: 10px; /* Gap uniforme */
    
    /* Desktop (Default): 3 Colonne */
    width: calc(33.33% - 20px); 
    
    background: var(--color-bg-card);
    border-radius: var(--radius-card);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

/* Tablet: 3 Colonne */
@media (max-width: 1199px) {
    .product-miniature, .js-product-miniature {
        width: calc(33.33% - 20px);
    }
}

/* Tablet Small: 2 Colonne */
@media (max-width: 991px) {
    .product-miniature, .js-product-miniature {
        width: calc(50% - 20px);
    }
}

/* Mobile: 1 Colonna (o 2 se preferisci, qui impostato a 1 per leggibilitĂ ) */
@media (max-width: 575px) {
    .product-miniature, .js-product-miniature {
        width: calc(100% - 20px);
        margin-bottom: 15px;
    }
}

/* Hover effect */
.product-miniature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-secondary);
}

/* Thumbnail */
.product-miniature .thumbnail-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: #fff;
    margin-bottom: 10px;
}

.product-miniature img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.product-miniature:hover img {
    transform: scale(1.05);
}











/* Info prodotto */
.product-description {
    padding: 1.5rem;
    text-align: center;
}

.product-title a {
    color: var(--color-text-main);
    font-weight: 600;
    font-size: 1.1rem;
}

.product-price-and-shipping {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

/* Badge sconti */
.product-flag {
    background: var(--color-secondary);
    color: var(--color-primary);
    box-shadow: none;
    border-radius: 4px;
    padding: 5px 10px;
    top: 15px;
    left: 15px;
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 800;
}

/* ==========================================================================
   6. PAGINA PRODOTTO DETTAGLIO
   ========================================================================== */

/* Layout immagini */
.product-cover img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.product-images img {
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
}

.product-images img:hover, .product-images img.selected {
    border-color: var(--color-primary);
}

/* Blocco acquisto */
.product-actions {
    background: var(--color-bg-card);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    margin-top: 1rem;
}

.product-prices .current-price {
    color: var(--color-primary);
    font-size: 2.5rem;
}

/* Tab Descrizione e Recensioni */
.tabs {
    margin-top: 4rem;
    background: var(--color-bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.nav-tabs {
    border-bottom: 2px solid var(--color-border);
}

.nav-tabs .nav-link {
    border: none;
    color: var(--color-text-muted);
    font-weight: 600;
    padding: 1rem 1.5rem;
    background: transparent;
}

.nav-tabs .nav-link.active {
    color: var(--color-primary);
    border-bottom: 3px solid var(--color-primary);
    background: transparent;
}

/* Stile Recensioni (Se usi il modulo standard productcomments) */
#product-comments-list-header {
    background: var(--color-accent);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.grade-stars .star-content {
    color: #FFC107; /* Giallo Oro per le stelle */
}

/* ==========================================================================
   7. CHECKOUT & CARRELLO
   ========================================================================== */

/* Cart Summary Card */
.cart-summary {
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    border: none;
    padding: 20px;
}

.checkout-process .card {
    border: none;
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.step-title {
    text-transform: uppercase;
    color: var(--color-primary);
    letter-spacing: 1px;
    font-size: 1.2rem;
}

/* Steps attivi */
.checkout-step.-current {
    background-color: #fff;
    border-left: 4px solid var(--color-primary);
    padding-left: 20px;
}

/* Footer Checkout */
.footer-container {
    background: var(--color-primary);
    color: #fff;
    margin-top: 4rem;
    padding: 3rem 0;
    border-top-left-radius: 40px; /* Angolo moderno */
    border-top-right-radius: 40px;
}

/* ==========================================================================
   8. MOBILE OPTIMIZATIONS
   ========================================================================== */
   
@media (max-width: 767px) {
    body {
        font-size: 16px; /* Testo leggibile */
    }
    
	
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .product-miniature {
        box-shadow: 0 2px 8px rgba(0,0,0,0.05); /* Meno ombra su mobile per performance */
    }
    
    /* Sticky Add to cart su mobile (Opzionale - molto moderno) */
    .product-add-to-cart {
        padding-bottom: 0;
    }
}

/* -- TABS ORIZZONTALI (NO ACCORDION) -- */
/* Sovrascriviamo gli stili accordion del tema base */
.product__infos {
    margin-top: 4rem;
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
}

/* Navigazione Tab */
.nav-tabs {
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 30px;
    justify-content: center; /* Centrati */
}

.nav-tabs .nav-link {
    border: none;
    background: transparent;
    color: var(--t-muted);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 15px 25px;
    border-radius: var(--radius-btn);
    margin: 0 5px;
}

.nav-tabs .nav-link.active, .nav-tabs .nav-link:hover {
    color: var(--c-primary);
    background-color: var(--c-secondary);
}

/* Contenuto Tab */
.tab-content {
    color: var(--t-muted);
    line-height: 1.8;
    font-size: 1rem;
}

/* Se il tema forza gli accordion su mobile, li puliamo */
.accordion-item {
    border: none !important;
    background: transparent !important;
}
.accordion-button {
    background: transparent !important;
    box-shadow: none !important;
    color: var(--c-primary) !important;
    font-weight: bold;
}
.accordion-button:not(.collapsed) {
    background: transparent !important;
    color: var(--c-primary) !important;
}





/* ==========================================================
   CONTAINER QUANTITY
   ========================================================== */
.product-quantity,
.qty,
#quantity_wanted_p {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap; /* permette a mobile di adattarsi */
}

/* ==========================================================
   QUANTITY BUTTON GROUP â€“ APPLE 2026
   ========================================================== */
.quantity-button,
.js-quantity-button,
.bootstrap-touchspin,
.qty .input-group {
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-start;
    background: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 4px 6px;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    width: auto; /* fondamentale per avere width automatica */
    max-width: 100%; /* non uscire dal container */
}

/* Pulsanti + / - */
.quantity-button button,
.js-quantity-button button,
.bootstrap-touchspin button,
.bootstrap-touchspin .btn-touchspin,
.qty button {
    background: transparent !important;
    border: none !important;
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--color-text-main) !important;
    font-weight: 400 !important;
    font-size: 20px !important;
    cursor: pointer !important;
    border-radius: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    overflow: hidden;
    flex-shrink: 0; /* impedisce che i pulsanti si allunghino */
}

/* Input quantitĂ  */
.quantity-button input,
.js-quantity-button input,
.bootstrap-touchspin input,
.qty input,
#quantity_wanted {
    background: transparent !important;
    border: none !important;
    width: auto !important;      /* width automatica */
    min-width: 56px !important;  /* minimo leggibile */
    max-width: 80px !important;  /* non troppo grande */
    height: 44px !important;
    text-align: center !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    color: var(--color-text-main) !important;
    padding: 0 4px !important;
    margin: 0 !important;
    -webkit-appearance: none;
    -moz-appearance: textfield;
    box-shadow: none !important;
    outline: none !important;
    font-variant-numeric: tabular-nums;
}

/* Hover pulsanti */
.quantity-button button:hover,
.js-quantity-button button:hover,
.bootstrap-touchspin button:hover {
    background: rgba(26, 77, 46, 0.06) !important;
    transform: scale(1.05);
}

/* Selezionato / Active */
.quantity-button button:active,
.js-quantity-button button:active,
.bootstrap-touchspin button:active {
    background: rgba(26, 77, 46, 0.12) !important;
    transform: scale(0.95);
}

/* Responsive: mobile piena larghezza */
@media (max-width: 575px) {
    .quantity-button,
    .js-quantity-button,
    .bootstrap-touchspin {
        width: 100%; /* piena larghezza sul mobile */
        justify-content: space-between;
    }

    .quantity-button input,
    .js-quantity-button input,
    .bootstrap-touchspin input {
        width: auto !important; /* auto dentro container mobile */
        flex: 1;                /* occupa spazio restante */
        min-width: 60px !important;
        max-width: none !important;
    }
}













/* ==========================================================================
   MOBILE FIXES
   ========================================================================== */

@media (max-width: 767px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .product-miniature .product-description {
        padding: 0.75rem;
    }
    
    .product-miniature h3 a {
        font-size: 0.9rem;
    }
    
    .product-price-and-shipping {
        font-size: 1rem;
    }
}




/* Product info block */
.product-information,
.left-block {
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: 2rem;
}

.product-prices {
    background: var(--color-accent);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
    border-left: 5px solid var(--color-primary);
}

.product-prices .current-price,
.product-price .current-price {
    color: var(--color-primary);
    font-size: 2.5rem;
    font-weight: 900;
}

@media (max-width: 767px) {
    .product-prices .current-price {
        font-size: 2rem;
    }
}



/* ==========================================================================
   BREADCRUMBS: 
   ========================================================================== */

/* Wrapper esterno */
.breadcrumb__wrapper {
    padding: 10px 0;
    background-color: transparent;
    margin-bottom: 30px;
}

/* La "pillola" dei breadcrumbs */
.breadcrumb {
    display: inline-flex !important;
    align-items: center;
    background: rgba(255, 255, 255, 0.7); /* Vetro bianco */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 6px 18px !important;
    border-radius: 12px; /* Angoli leggermente arrotondati stile Apple */
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    list-style: none;
    margin: 0;
}

/* Singolo elemento */
.breadcrumb-item {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
}

/* Il link */
.breadcrumb-item a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: var(--color-primary);
}

/* Separatore SLASH "/" */
.breadcrumb-item + .breadcrumb-item::before {
    content: "/" !important; /* Slash classico */
    padding: 0 10px;
    color: rgba(0, 0, 0, 0.2); /* Grigio leggero per non disturbare */
    font-weight: 300;
    font-size: 0.9rem;
}

/* Pagina attuale (Ultimo elemento) */
.breadcrumb-item:last-child {
    color: var(--color-primary);
    font-weight: 600;
}

/* Mobile: scroll orizzontale se il percorso Ă¨ lungo */
@media (max-width: 767px) {
    .breadcrumb {
        white-space: nowrap;
        overflow-x: auto;
        display: flex !important;
        max-width: 100%;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Nasconde scrollbar Firefox */
    }
    .breadcrumb::-webkit-scrollbar {
        display: none; /* Nasconde scrollbar Chrome/Safari */
    }
}




/* ==========================================================================
   ALERT INFO: GREEN & WHITE CUSTOM STYLE
   ========================================================================== */

.alert-info {
    
    --bs-alert-bg: #FFFFFF;                       /* Sfondo Bianco */
    --bs-alert-color: var(--color-primary);        /* Testo Verde Scuro (#1A4D2E) */
    --bs-alert-border-color: var(--color-secondary); /* Bordo Verde Salvia (#D6E8D9) */
    --bs-alert-link-color: var(--color-primary-hover);
    
    
    background-color: var(--bs-alert-bg) !important;
    color: var(--bs-alert-color) !important;
    border: 1px solid var(--bs-alert-border-color) !important;
    
    border-radius: var(--radius-md); /* Arrotondato come le tue card */
    box-shadow: 0 4px 15px rgba(26, 77, 46, 0.05); /* Ombra leggerissima verde */
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
}


.alert-info i, .alert-info .material-icons {
    color: var(--color-primary);
    margin-right: 10px;
}


.alert-info a, .alert-info .alert-link {
    color: var(--bs-alert-link-color) !important;
    font-weight: 700;
    text-decoration: underline;
}


















/* ==========================================================
   ICONE PAGINA PRODOTTO RECENSIONI
   ========================================================== */
.product__additional-info {
    color: #1c1c1e;
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    
}

/* --- Social Sharing --- */
.social-sharing {
    margin-bottom: 24px;
}

.social-sharing span {
    font-weight: 600;
    font-size: 14px;
    display: block;
    margin-bottom: 12px;
    color: #1c1c1e;
}

.social-sharing ul {
    display: flex;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.social-sharing li a {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* Nascondiamo il testo ma lasciamo accessibilitĂ  */
.social-sharing li a.text-hide {
    color: transparent;
    font-size: 0;
}

/* Icone via pseudo-elemento */
.social-sharing li a::before {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

/* Piattaforme */
.social-sharing li.facebook a::before {
    content: "f";
    font-family: Arial, Helvetica, sans-serif;
}

.social-sharing li.twitter a::before {
    content: "đť•Ź";
    font-family: Arial, Helvetica, sans-serif;
}

.social-sharing li.pinterest a::before {
    content: "P";
    font-family: Arial, Helvetica, sans-serif;
}

/* Colori */
.social-sharing li.facebook a { background: #1877F2; }
.social-sharing li.twitter a { background: #1DA1F2; }
.social-sharing li.pinterest a { background: #E60023; }


/* --- Comments Section --- */
.product-comments-additional-info {
    border-top: 1px solid #e5e5e7;
    padding-top: 20px;
}

.comments-note {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    gap: 8px;
}

.grade-stars .stars {
    color: #ff9500;
    font-size: 18px;
}

.average-grade {
    font-size: 14px;
    color: #8e8e93;
}

/* --- Links Review Buttons --- */
.page-product .product-comments-additional-info .additional-links .link-comment,
.additional-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    margin-right: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: #1c1c1e;
    background: #f2f2f7;
    border-radius: 14px;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Hover effetto Apple */
.page-product .product-comments-additional-info .additional-links .link-comment:hover,
.additional-links a:hover {
    background: #e0e0e5;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.1);
}

/* Material Icons */
.additional-links i.material-icons,
.link-comment i.material-icons {
    font-size: 18px;
    color: #6e6e73;
    display: inline-flex;
    align-items: center;
}

/* AccessibilitĂ : aria-label per pulsanti */
.additional-links a,
.link-comment {
    aria-label: "Pulsante azione";
}

/* --- Responsive --- */
@media (max-width: 480px) {
    .social-sharing ul {
        gap: 8px;
    }
    .additional-links a,
    .page-product .product-comments-additional-info .additional-links .link-comment {
        width: 100%;
        justify-content: center;
    }
}



.page-product #product-comments-list .comment {
  background-color: white;
  border-bottom: 3px solid var(--bs-gray-200);
  margin-top: 10px;
  padding: 1rem;
  border-radius: 20px;
}



/* ==========================================================
   PRODUCT VARIANTS â€“ 
   ========================================================== */



/* Container lista */
.page-product .product__variants .radio-variants {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.form-check {
  padding-left:0px!important;
}


.product__variants{
	margin-bottom: 3rem!important;
}



/* Nasconde radio nativo */
.page-product .product__variants input[type="radio"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

/* IL PULSANTE (Stile 2026) */
.page-product .product__variants .radio-label {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 60px !important;
    padding: 12px 24px !important;
    cursor: pointer !important;
    
    /* Design */
    background: #ffffff !important;
    border: 1px solid #d2d2d7 !important;
    border-radius: 14px !important; /* Angoli piĂą morbidi ma non a pillola */
    
    /* Tipografia */
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #1d1d1f !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    
    /* Shadow leggera iniziale */
    box-shadow: 0 1px 2px rgba(0,0,0,0.05) !important;
}

/* HOVER: Effetto sollevamento */
.page-product .product__variants .radio-label:hover {
    background-color: #f5f5f7 !important;
    border-color: #86868b !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
}

/* SELEZIONATO: High Contrast & Depth */
.page-product .product__variants input[type="radio"]:checked + .radio-label {
    background-color: var(--color-primary)!important;
    color: #ffffff !important;
    border-color: #1d1d1f !important;
    font-weight: 600 !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15) !important;
    transform: scale(1.02) !important;
}

/* ACTIVE: Effetto pressione al click */
.page-product .product__variants .radio-label:active {
    transform: scale(0.96) !important;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1) !important;
}

/* Focus accessibile */
.page-product .product__variants input[type="radio"]:focus-visible + .radio-label {
    outline: 2px solid #0071e3 !important;
    outline-offset: 3px !important;
}

/* Variante non disponibile */
.page-product .product__variants input[type="radio"]:disabled + .radio-label {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
    background: #f5f5f7 !important;
    border-style: dashed !important;
    text-decoration: line-through !important;
}

/* ==========================================================
   RESPONSIVE (MOBILE OPTIMIZED)
   ========================================================== */

@media (max-width: 767px) {
    .page-product .product__variants .radio-variants {
        gap: 8px !important;
    }
    
    .page-product .product__variants .radio-label {
        padding: 14px 18px !important; /* Touch area piĂą grande */
        font-size: 16px !important;
        flex: 1 1 calc(50% - 8px); /* Due varianti per riga su mobile */
        min-width: 0 !important;
    }
}







/* ==========================================================
   SEARCH WIDGET 

   ========================================================== */

#search_widget {
    --search-height: 56px;
    --search-max-width: 700px; /* Molto piĂą lunga e imponente */
    --search-bg: #f5f5f7;
    --search-accent: #1A4D2E; /* Il tuo verde scuro */
    
    position: relative;
    max-width: var(--search-max-width) !important;
    width: 100%;
    margin: 0 auto !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#search_widget form {
    display: flex !important;
    align-items: center !important;
    background: var(--search-bg) !important;
    border-radius: 18px !important; /* Angoli super-ellipse */
    padding: 0 8px 0 24px !important; /* Spazio generoso a sinistra */
    height: var(--search-height) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

/* Input di testo: Ora ha spazio libero */
#search_widget input[type="search"] {
    flex: 1 !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    color: #1d1d1f !important;
    height: 100% !important;
    width: 100%;
    padding: 0 !important;
}

#search_widget input::placeholder {
    color: #86868b;
    font-weight: 400;
}

/* Icona Lente: Trasformata in bottone a DESTRA (risolve l'errore) */
#search_widget .search.js-search-icon {
    position: relative !important; /* Rimuove sovrapposizioni errate */
    order: 2 !important; /* La sposta dopo l'input */
    background: var(--search-accent) !important;
    color: #ffffff !important;
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    margin-left: 12px !important;
    font-size: 22px !important;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease !important;
}

#search_widget .search.js-search-icon:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* Icona Cancella (X) */
#search_widget .clear {
    order: 1 !important;
    font-size: 20px !important;
    color: #86868b;
    cursor: pointer;
    margin-right: 10px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

#search_widget input:not(:placeholder-shown) ~ .clear {
    opacity: 1;
}

/* STATO FOCUS: Effetto espansione luminosa */
#search_widget:focus-within {
    max-width: 750px !important;
    transform: translateY(-2px);
}

#search_widget:focus-within form {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12) !important;
}

/* DROPDOWN RISULTATI (Stile Glassmorphism) */
#search_widget .search-widgets__dropdown {
    position: absolute !important;
    top: calc(100% + 15px) !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 20px !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15) !important;
    z-index: 9999 !important;
    padding: 15px !important;
}

/* MOBILE */
@media (max-width: 767px) {
    #search_widget {
        --search-height: 50px;
    }
    #search_widget form {
        padding: 0 6px 0 16px !important;
    }
}





/* ==========================================================
   BUONSAPORE â€“ CHI SIAMO
   ========================================================== */

.buonsapore-about-clean {
    background: #ffffff !important;
    color: #1a1a1a;   
    line-height: 1.8;
	padding-top: 30px;
}

.bs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.bs-section {
    padding: 90px 0;
}

/* Tipografia */
.bs-subtitle {
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 24px;
}

.bs-title {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 0;
     color: var(--color-primary)!important;
}

.bs-heading {
    font-size: 1.85rem;
    font-weight: 700;
    margin-bottom: 28px;
    letter-spacing: -0.01em;
     color: var(--color-primary)!important;
}

.bs-divider {
    width: 50px;
    height: 2px;
    background: #1A4D2E;
    margin: 45px auto;
}

.bs-text {
    font-size: 1.05rem;
    color: #4a4a4a;
    margin-bottom: 22px;
}

/* Liste */
.bs-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.bs-list li {
    padding-left: 28px;
    position: relative;
    margin-bottom: 14px;
    font-weight: 500;
    font-size: 1rem;
}

.bs-list li::before {
    content: "â€”"; /* Segno minimale */
    position: absolute;
    left: 0;
    color: #1A4D2E;
    font-weight: bold;
}

/* Immagini */
.bs-image-wrapper {
    overflow: hidden;
    border-radius: 2px; /* Angoli decisi e professionali */
    background: #f1f1f1;
}

.bs-img-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    background: #e5e5e5;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.bs-image-wrapper:hover .bs-img-placeholder {
    transform: scale(1.04);
}

/* Sezione Valori */
.bs-values {
    background: #fafafa;
    border-top: 1px solid #f0f0f0;
}

.bs-value-item {
    padding: 40px 20px;
}

.bs-number {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: #1A4D2E;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
}

.bs-value-item h4 {
    font-weight: 700;
    margin-bottom: 18px;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.12em;
}

.bs-value-item p {
    font-size: 0.95rem;
    color: #666;
}

/* Utility */
.bs-mb-100 { margin-bottom: 100px; }

/* Responsive */
@media (max-width: 768px) {
    .bs-section { padding: 50px 0; }
    .bs-title { font-size: 2.1rem; }
    .bs-mb-100 { margin-bottom: 60px; }
    .bs-heading { font-size: 1.6rem; }
}





/* ==========================================================
   BUONSAPORE â€“ CONTACT & HOURS 2026
   ========================================================== */

/* Icone Contatti */
.bs-contact-icon {
    font-size: 40px !important;
    color: #1A4D2E;
    margin-bottom: 20px;
}

.bs-contact-link {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1A4D2E;
    text-decoration: none;
    transition: opacity 0.2s;
}

.bs-contact-link:hover {
    opacity: 0.7;
    color: #1A4D2E;
}

/* Griglia Orari */
.bs-hours-list {
    margin-top: 30px;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.bs-hour-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.1rem;
}

.bs-hour-row:last-child {
    border-bottom: none;
}

.bs-hour-row span {
    font-weight: 400;
    opacity: 0.9;
}

.bs-hour-row strong {
    font-weight: 600;
}

.bs-mt-20 {
    margin-top: 20px;
}

/* Mobile Fix */
@media (max-width: 768px) {
    .bs-hour-row {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
}

/* ==========================================================
   BUONSAPORE – CARDS & JS LIGHTBOX SYSTEM
   ========================================================== */

/* Spaziature */
.bs-p-section { padding: 80px 0; }
.bs-mb-80 { margin-bottom: 80px; }
.bs-p-card { padding: 30px 25px !important; }

/* Stile Card */
.bs-event-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    height: 100%; /* Rende tutte le card alte uguali */
    display: flex;
    flex-direction: column;
}

.bs-event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

/* Immagine Card */
.bs-event-img {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.bs-event-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffffff;
    color: #1A4D2E;
    font-weight: 700;
    font-size: 11px;
    padding: 6px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.bs-event-body {
    flex-grow: 1; /* Spinge il contenuto per allineare */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bs-event-body h4 {
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #111;
}

/* Pulsante Trigger */
.bs-lightbox-trigger {
    background: transparent;
    border: 1px solid #e0e0e0;
    color: #1A4D2E;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    transition: all 0.2s;
    width: fit-content;
    font-size: 0.9rem;
    cursor: pointer;
}

.bs-lightbox-trigger:hover {
    background: #1A4D2E;
    color: #fff;
    border-color: #1A4D2E;
}

/* =========================
   LIGHTBOX JAVASCRIPT STYLE
   ========================= */
.bs-custom-lightbox {
    display: none; /* Nascosto di default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85); /* Sfondo scuro elegante */
    backdrop-filter: blur(10px); /* Effetto vetro sfocato */
    z-index: 999999; /* Sopra a tutto */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bs-lightbox-inner {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    animation: bsZoomIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bs-full-img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    display: block;
}

.bs-close-btn-fixed {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: white;
    font-size: 50px;
    line-height: 1;
    cursor: pointer;
    z-index: 1000000;
    opacity: 0.8;
    transition: transform 0.2s;
}

.bs-close-btn-fixed:hover {
    transform: scale(1.1);
    opacity: 1;
}

@keyframes bsZoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}







/* ==========================================================
   PRESS & INTERVIEWS STYLE 2026
   ========================================================== */

.bs-press-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 30px;
    height: 100%;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.bs-press-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.bs-press-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.bs-press-year {
   font-size: 1.9rem;

   color: var(--color-primary);
  
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.bs-press-header i {
    color: #1A4D2E;
    font-size: 24px;
}

.bs-press-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
    line-height: 1.4;
    min-height: 50px;
}

.bs-press-subtitle {
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

/* Bottone PDF */
.bs-press-btn {
    background: #1A4D2E;
    color: #fff !important;
    text-decoration: none !important;
    padding: 12px 20px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: auto;
}

/* Link singoli per liste */
.bs-press-link-item {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #444 !important;
    text-decoration: none !important;
    font-weight: 500;
    font-size: 0.95rem;
    transition: padding-left 0.2s;
}

.bs-press-link-item:hover {
    padding-left: 5px;
    color: #1A4D2E !important;
}

/* Card Archivio Dark */
.bs-press-card.dark-mode {
    background: #1A4D2E;
}
.bs-press-card.dark-mode .bs-press-year { color: #fff; opacity: 0.2; }
.bs-press-card.dark-mode .bs-press-header i { color: #fff; }
.bs-press-link-item.white {
    color: rgba(255,255,255,0.8) !important;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.bs-press-link-item.white:hover {
    color: #fff !important;
}


/* ==========================================================
   VIDEO GALLERY 2026
   ========================================================== */

.bs-video-card {
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0,0,0,0.07);
    border: 1px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
}

.bs-video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

/* Container Responsivo per Video (Mantiene proporzione 16:9) */
.bs-video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    background: #000;
}

.bs-video-container iframe,
.bs-video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

/* Info Sotto il Video */
.bs-video-info {
    padding: 25px;
}

.bs-video-tag {
    display: inline-block;
    background: #f5f5f7;
    color: #1A4D2E;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 12px;
    border-radius: 12px;
    margin-bottom: 12px;
}

.bs-video-info h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
}

.bs-video-info p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Effetto al passaggio del mouse sul video */
.bs-video-card:hover .bs-video-container {
    filter: brightness(1.1);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .bs-video-info { padding: 20px; }
    .bs-video-info h4 { font-size: 1.1rem; }
}



/* STILE 2026 B2B */
    .b2b-page-wrapper {
        background-color: #fdfaf7;
	margin-top: 20px;
		padding: 10px;
        
        color: #4a4a4a;
    }

    /* TYPOGRAPHY */
    .text-gold { color: #d4a373; }
    .text-gradient {
        background: linear-gradient(90deg, #1a3c34, #2c5e52);
        -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    }
    .badge-2026 {
        background: #eaddcf; color: #1a3c34; padding: 6px 14px;
        border-radius: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    }

    /* STICKY BAR */
    .b2b-sticky-bar {
        position: sticky; top: 0; z-index: 1000;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid #eee;
        backdrop-filter: blur(5px);
    }
    .btn-b2b-login {
        background: #1a3c34 !important; border: none; color: #fff !important;
        border-radius: 4px; padding: 10px 20px; font-weight: 600; text-transform: uppercase; font-size: 12px;
        transition: 0.3s;
    }
    .btn-b2b-login:hover { background: #d4a373 !important; }

    /* PROFESSIONAL CARDS CSS - IL CUORE DELLA RICHIESTA */
    .b2b-pro-card {
        background: #fff;
        border: 1px solid #eee;
        border-left: 4px solid #d4a373; /* Bordo laterale Oro */
        border-radius: 4px; /* Angoli leggermente smussati ma professionali */
        box-shadow: 0 5px 15px rgba(0,0,0,0.03);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .b2b-pro-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(26, 60, 52, 0.08);
        border-left-color: #1a3c34; /* Cambio colore al passaggio mouse */
    }

    /* Highlight Card (Punti di Forza) */
    .highlight-card {
        background: #fff;
        border-left: 4px solid #1a3c34;
    }
    
    /* Footer Card */
    .bg-dark-green {
        background: #1a3c34;
        border: none;
        border-radius: 8px;
    }

    /* ICONE QUADRATE */
    .icon-square {
        min-width: 50px; height: 50px;
        background: #f8f5f2; color: #1a3c34;
        border-radius: 8px;
        display: flex; align-items: center; justify-content: center;
    }

    /* LISTE */
    .custom-list { list-style: none; padding: 0; margin: 0; }
    .custom-list li { margin-bottom: 12px; display: flex; align-items: center; font-size: 0.95rem; }
    .custom-list li i { margin-right: 10px; font-size: 20px; }

    /* Responsive */
    @media (max-width: 768px) {
        .display-4 { font-size: 2rem; }
        .b2b-pro-card { padding: 25px !important; }
    }






.buonsapore-about-clean {
    color: #333;
    line-height: 1.8;
    background-color: #fff;
}

/* Allineamento Boxed */
.bs-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Tipografia */
.bs-subtitle {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #d4a373;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.bs-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
     color: var(--color-primary-hover);
    font-weight: 700;
    line-height: 1.2;
	text-align: center;
}

.bs-heading {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
     color: var(--color-primary-hover);
    margin-bottom: 1.5rem;
}

.bs-divider {
    width: 40px;
    height: 2px;
    background: #d4a373;
    margin: 20px auto;
}

/* GALLERY CSS PURE (Minimal & Premium) */
.bs-gallery-wrapper {
    position: relative;
    margin: 40px 0;
    border-radius: 20px;
    overflow: hidden;
}

.bs-gallery-scroll {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.bs-gallery-scroll::-webkit-scrollbar { display: none; }

.bs-gallery-item {
    flex: 0 0 100%;
    scroll-snap-align: start;
    height: 550px;
    position: relative;
}

.bs-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: 0.3s;
    z-index: 10;
}

.bs-arrow:hover { background: #fff; color: #1A4D2E; }
.bs-prev { left: 20px; }
.bs-next { right: 20px; }

/* Elementi di Stile */
.bs-image-wrapper img {
    border-radius: 15px; /* Arrotondamento leggero 2026 */
}

.bs-highlight-box {
    background-color: #f9f9f9;
    padding: 30px;
    border-left: 3px solid #1A4D2E;
    margin-top: 25px;
}

.bs-number {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: #d4a373;
    opacity: 0.2;
    display: block;
    margin-bottom: -30px;
}

/* Sezione B2B RE-INTEGRATA */
.bs-card-premium {
    background-color: #1a4d2e;
    border-radius: 30px;
    padding: 60px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.bs-card-premium .material-icons.bg-icon {
    position: absolute;
    right: -50px;
    bottom: -50px;
    font-size: 300px;
    color: rgba(255,255,255,0.05);
    pointer-events: none;
}

.bs-list-b2b {
    list-style: none;
    padding: 0;
}

.bs-list-b2b li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.bs-list-b2b i {
    background: #fff;
    color: #1a4d2e;
    padding: 12px;
    font-size: 20px;
    border-radius: 50%;
    margin-right: 20px;
}

/* Spaziature Helper */
.bs-mb-80 { margin-bottom: 80px; }
.bs-mb-100 { margin-bottom: 100px; }

@media (max-width: 991px) {
    .bs-title { font-size: 2.2rem; }
    .bs-gallery-item { height: 350px; }
    .bs-card-premium { padding: 40px 20px; }
}


/* --- CONFIGURAZIONE SOCIAL 2026 --- */
    :root {
        --bg-glass: rgba(255, 255, 255, 0.8);
        --radius-xl: 30px;
        --shadow-premium: 0 20px 40px rgba(0,0,0,0.06);
        --fb-color: #0866FF;
        --ig-gradient: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2397 75%, #ad38e7 100%);
    }

    .social-section-2026 {
        padding: 60px 0;
        font-family: 'Inter', system-ui, -apple-system, sans-serif;
    }

    .social-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
       
    }

    /* --- COLONNA COMUNE --- */
    .social-card {
        background: var(--bg-glass);
        backdrop-filter: blur(10px);
        border-radius: var(--radius-xl);
        padding: 40px;
        box-shadow: var(--shadow-premium);
        border: 1px solid rgba(255,255,255,0.4);
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .social-card:hover {
        transform: translateY(-10px);
    }

    .social-header h2 {
        font-weight: 800;
        font-size: 2.5rem;
        margin-bottom: 10px;
        letter-spacing: -1px;
    }

    .social-tagline {
        font-size: 1.1rem;
        color: #666;
        margin-bottom: 30px;
        line-height: 1.5;
    }

    /* --- BOTTONI PREMIUM --- */
    .social-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 15px 30px;
        border-radius: 50px;
        text-decoration: none !important;
        font-weight: 700;
        color: white !important;
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-size: 0.9rem;
    }

    .btn-fb { background: var(--fb-color); }
    .btn-ig { background: var(--ig-gradient); }

    .social-btn:hover {
        filter: brightness(1.1);
        box-shadow: 0 10px 20px rgba(0,0,0,0.15);
        transform: scale(1.05);
    }

    /* --- GRIGLIA PREVIEW FOTO --- */
    .photo-preview {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        margin-top: 30px;
    }

    .photo-item {
        aspect-ratio: 1/1;
        background: #eee;
        border-radius: 15px;
        overflow: hidden;
        position: relative;
    }

    .photo-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .photo-item:hover img {
        transform: scale(1.1);
    }

    /* --- RESPONSIVE --- */
    @media (max-width: 991px) {
        .social-wrapper {
            grid-template-columns: 1fr;
            padding: 0 20px;
        }
        
        .social-header h2 { font-size: 2rem; }
    }



/* --- BENTO BOX WHITE 2026 --- */
    .bs-bento-white {
        background: #ffffff;
        border-radius: 28px;
        border: 1px solid #eeeeee;
        overflow: hidden;
        display: flex;
        flex-wrap: wrap; /* Per il responsive */
        min-height: 480px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    }

    /* --- GALLERY ENGINE (FIXED) --- */
    .bs-col-gallery {
        flex: 0 0 45%; /* Occupa il 45% fisso */
        background: #f9f9f9;
        padding: 20px;
        position: relative;
    }

    .bs-gallery-viewport {
        width: 100%;
        height: 100%;
        border-radius: 20px;
        overflow: hidden; /* Taglia le immagini fuori dal raggio */
        position: relative;
    }

    .bs-gallery-tray {
        display: flex !important; /* Forza l'allineamento orizzontale */
        flex-direction: row !important;
        width: 100%;
        height: 100%;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
    }
    .bs-gallery-tray::-webkit-scrollbar { display: none; }

    .bs-slide {
        flex: 0 0 100% !important; /* Forza ogni slide a essere 100% del contenitore */
        width: 100% !important;
        height: 100% !important;
        scroll-snap-align: start;
    }

    .bs-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    /* Navigazione */
    .bs-nav-overlay {
        position: absolute;
        top: 35px;
        right: 35px;
        z-index: 5;
        display: flex;
        gap: 8px;
    }
    .bs-nav-overlay a {
        width: 36px;
        height: 36px;
        background: rgba(255,255,255,0.9);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #1A4D2E !important;
        text-decoration: none !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        transition: 0.3s;
    }
    .bs-nav-overlay a:hover { transform: scale(1.1); background: #fff; }

    /* --- CONTENUTO (DESTRA) --- */
    .bs-col-content {
        flex: 0 0 55%;
        padding: 50px 45px;
        display: flex;
        flex-direction: column;
    }

    .bs-content-header {
        margin-bottom: 30px;
    }

    .bs-label {
        color: #1A4D2E;
        font-weight: 800;
        text-transform: uppercase;
        font-size: 0.75rem;
        letter-spacing: 1.5px;
        opacity: 0.5;
    }

    .bs-main-title {
        font-size: 2.6rem;
        font-weight: 800;
        color: #111;
        line-height: 1.1;
        margin-top: 10px;
    }

    /* Adattamento Responsive */
    @media (max-width: 991px) {
        .bs-col-gallery, .bs-col-content { flex: 0 0 100%; }
        .bs-col-gallery { height: 350px; }
        .bs-main-title { font-size: 2rem; }
    }




    /* --- NUOVA SEZIONE EVENTI 2026 --- */
    .bs-event-section {
        background: #fdfdfd; /* Sfondo quasi bianco per distinguersi */
        border-radius: 36px;
        padding: 50px 30px; /* Padding generoso per respiro */
        margin-top: 40px; /* Spazio dalla sezione precedente */
        box-shadow: 0 15px 45px rgba(0,0,0,0.05); /* Ombra premium */
        overflow: hidden; /* Nasconde elementi fuori dai bordi arrotondati */
        border: 1px solid #eee;
    }

    /* Header Novitŕ con Icona */
    .bs-event-header {
        text-align: center;
        margin-bottom: 50px;
    }
    .bs-event-header .material-icons {
        font-size: 60px; /* Icona grande e d'impatto */
        color: #1A4D2E;
        opacity: 0.8;
        margin-bottom: 15px;
        display: block;
    }
    .bs-event-header h2 {
        font-size: 2.8rem;
        font-weight: 800;
        color: #222;
        letter-spacing: -1px;
        line-height: 1.1;
        margin-bottom: 10px;
    }
    .bs-event-header p {
        font-size: 1.1rem;
        color: #666;
        max-width: 700px;
        margin: 0 auto;
        line-height: 1.6;
    }

    /* Gallery CSS-Only (riutilizzata e ottimizzata) */
    .bs-event-gallery-wrapper {
        position: relative;
        height: 350px; /* Altezza fissa per la gallery */
        border-radius: 24px;
        overflow: hidden;
        background: #f0f0f0;
        margin-bottom: 40px; /* Spazio sotto la gallery */
    }

    .bs-event-gallery-container {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        height: 100%;
        scrollbar-width: none; /* Nasconde scrollbar Firefox */
    }
    .bs-event-gallery-container::-webkit-scrollbar { display: none; } /* Nasconde scrollbar Chrome/Safari */

    .bs-event-gallery-item {
        flex: 0 0 100%;
        width: 100%;
        scroll-snap-align: start;
        height: 100%;
    }
    .bs-event-gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    /* Freccine discrete per desktop (CSS-only) */
    .bs-event-nav-arrows {
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 8px;
        z-index: 10;
    }
    .bs-event-nav-arrows a {
        width: 10px;
        height: 10px;
        background: rgba(0,0,0,0.2);
        border-radius: 50%;
        transition: all 0.3s ease;
        opacity: 0.8;
        text-decoration: none; /* Importante per gli anchor link */
        display: block; /* Per far funzionare il hover */
    }
    .bs-event-nav-arrows a:hover {
        background: #1A4D2E;
        transform: scale(1.2);
    }
    /* Rendere le freccine visibili solo su hover del wrapper (opzionale) */
    /* .bs-event-gallery-wrapper:hover .bs-event-nav-arrows a { opacity: 1; } */


    /* Contenuto Testuale degli Eventi */
    .bs-event-content h3 {
        font-size: 2rem;
        color: #1A4D2E;
        font-weight: 700;
        margin-bottom: 20px;
        text-align: center;
    }
    .bs-event-content p {
        font-size: 1rem;
        line-height: 1.7;
        color: #444;
        margin-bottom: 25px;
        text-align: center;
    }

    /* Pulsante CTA Verde Scuro */
    .bs-event-cta {
        display: block;
        width: fit-content;
        margin: 0 auto;
        padding: 15px 35px;
        background-color: #1A4D2E; /* Verde brand scuro */
        color: #ffffff !important;
        text-decoration: none !important;
        border-radius: 50px;
        font-weight: 700;
        font-size: 1rem;
        letter-spacing: 0.5px;
        transition: all 0.3s ease;
        box-shadow: 0 8px 20px rgba(26,77,46,0.2);
    }
    .bs-event-cta:hover {
        background-color: #2F804B; /* Un po' piů chiaro in hover */
        transform: translateY(-2px);
        box-shadow: 0 12px 25px rgba(26,77,46,0.3);
    }

    /* Responsive adjustments */
    @media (max-width: 767px) {
        .bs-event-section { padding: 30px 15px; border-radius: 24px; }
        .bs-event-header .material-icons { font-size: 45px; }
        .bs-event-header h2 { font-size: 2rem; }
        .bs-event-header p { font-size: 0.95rem; }
        .bs-event-gallery-wrapper { height: 250px; border-radius: 18px; }
        .bs-event-nav-arrows { display: none; } /* Su mobile si usa lo swipe */
        .bs-event-content h3 { font-size: 1.5rem; }
        .bs-event-content p { text-align: left; }
    }










/* --- SEZIONE EVENTI HOME --- */

.bs-event-section {
        position: relative; /* Necessario per il posizionamento del bollino */
        background: #ffffff;
        border-radius: 36px;
        padding: 60px 30px;
        margin: 50px 0 50px 25px; /* Margine sinistro per far sporgere il bollino */
        box-shadow: 0 15px 45px rgba(0,0,0,0.05);
        border: 1px solid #eee;
    }

    /* --- BOLLINO POSIZIONATO SOPRA L'ANGOLO (STILE GIFT) --- */
    .bs-event-seal {
        position: absolute;
        top: -20px; /* Esce fuori dal bordo superiore */
        left: -25px; /* Esce fuori dal bordo sinistro */
        width: 110px;
        height: 110px;
        background: #1A4D2E;
        color: #ffffff !important;
        border-radius: 50%;
        display: flex;
        flex-items: center;
        justify-content: center;
        text-transform: uppercase;
        font-weight: 900;
        font-size: 0.75rem;
        letter-spacing: 2px;
        transform: rotate(-15deg);
        box-shadow: 0 8px 25px rgba(26,77,46,0.4);
        z-index: 100;
        border: 2px dashed rgba(255,255,255,0.4);
        outline: 5px solid #1A4D2E;
        display: flex;
        align-items: center;
        text-align: center;
    }

    /* --- SLIDE ALTA DEFINIZIONE --- */
    .bs-event-gallery-wrapper {
        position: relative;
        height: 550px; /* Altezza come richiesto */
        border-radius: 24px;
        overflow: hidden;
        margin-bottom: 40px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    .bs-event-gallery-container {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        height: 100%;
        scrollbar-width: none;
    }
    .bs-event-gallery-container::-webkit-scrollbar { display: none; }
    .bs-event-gallery-item { flex: 0 0 100%; width: 100%; scroll-snap-align: start; }
    .bs-event-gallery-item img { width: 100%; height: 100%; object-fit: cover; }

    /* --- HEADER E CONTENUTO --- */
    .bs-event-header {
        text-align: center;
        margin-bottom: 30px;
    }
    .bs-event-header h2 {
        font-size: 2.5rem;
        font-weight: 900;
        color: #111;
        margin-bottom: 15px;
    }
    .bs-event-content {
        text-align: center;
        max-width: 800px;
        margin: 0 auto;
    }
    .bs-event-content h3 {
        font-size: 1.8rem;
        color: #1A4D2E;
        font-weight: 700;
        margin-bottom: 20px;
    }
    .bs-event-content p {
        font-size: 1.05rem;
        line-height: 1.8;
        color: #444;
        margin-bottom: 35px;
    }

    /* --- CTA RADIUS 30 --- */
    .bs-event-cta {
        display: inline-block;
        padding: 16px 45px;
        background-color: #1A4D2E;
        color: #ffffff !important;
        text-decoration: none !important;
        border-radius: 30px; /* Richiesto */
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        transition: all 0.3s ease;
        box-shadow: 0 10px 20px rgba(26,77,46,0.2);
    }
    .bs-event-cta:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 25px rgba(26,77,46,0.3);
    }

    /* MOBILE */
    @media (max-width: 767px) {
        .bs-event-section { margin-left: 15px; padding: 40px 20px; }
        .bs-event-gallery-wrapper { height: 350px; }
        .bs-event-header h2 { font-size: 1.8rem; }
        .bs-event-seal { width: 90px; height: 90px; font-size: 0.65rem; left: -15px; }
    }







    /* REGALI HOMEPAGE */


    .bs-gift-clean-section {
        position: relative;
        background: #ffffff;
        border-radius: 36px;
        padding: 50px 30px;
        margin-top: 40px;
        
        box-shadow: 0 15px 45px rgba(0,0,0,0.05);
        border: 1px solid #eee;
    }

    /* BOLLINO POSIZIONATO SOPRA L'ANGOLO */
    .bs-gift-seal {
        position: absolute;
        top: -20px;
        left: -25px;
        width: 110px;
        height: 110px;
        background: #1A4D2E;
        color: #ffffff !important;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-transform: uppercase;
        font-weight: 900;
        font-size: 0.7rem;
        letter-spacing: 1.5px;
        transform: rotate(-15deg);
        box-shadow: 0 8px 20px rgba(26,77,46,0.3);
        z-index: 100;
        border: 2px dashed rgba(255,255,255,0.4);
        outline: 5px solid #1A4D2E;
    }

    /* SLIDE ALTA (3 FOTO) */
    .bs-gift-gallery-wrapper {
        position: relative;
        height: 550px; 
        border-radius: 24px;
        overflow: hidden;
        background: #f0f0f0;
        margin-bottom: 50px; 
    }
    .bs-gift-gallery-container {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        height: 100%;
        scrollbar-width: none;
    }
    .bs-gift-gallery-container::-webkit-scrollbar { display: none; }
    .bs-gift-gallery-item { flex: 0 0 100%; width: 100%; scroll-snap-align: start; }
    .bs-gift-gallery-item img { width: 100%; height: 100%; object-fit: cover; }

    /* GRIGLIA 4 COLONNE CON BORDI DIVISORI */
    .bs-gift-grid-links {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        margin-bottom: 50px;
    }
    .bs-gift-col {
        text-align: center;
        padding: 20px;
        border-right: 1px solid #eee; /* Linea di divisione */
    }
    .bs-gift-col:last-child {
        border-right: none;
    }
    .bs-gift-col h4 {
        font-size: 1.2rem;
        font-weight: 800;
        color: #111;
        margin-bottom: 25px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    /* CTA CON RADIUS 30 */
    .bs-gift-cta-btn {
        display: inline-block;
        padding: 12px 25px;
        background-color: #1A4D2E;
        color: #ffffff !important;
        text-decoration: none !important;
        border-radius: 30px; /* Come richiesto */
        font-weight: 700;
        font-size: 0.8rem;
        text-transform: uppercase;
        transition: background 0.3s;
    }
    .bs-gift-cta-btn:hover {
        background-color: #256b41;
    }

    /* TESTO IN BASSO (STILE EVENTS) */
    .bs-gift-footer-content {
        text-align: center;
        max-width: 800px;
        margin: 0 auto;
      
    }
    .bs-gift-footer-content h3 {
        font-size: 2rem;
        color: #1A4D2E;
        font-weight: 700;
        margin-bottom: 20px;
    }
    .bs-gift-footer-content p {
        font-size: 1rem;
        line-height: 1.7;
        color: #444;
        margin-bottom: 30px;
    }

    /* RESPONSIVE */
    @media (max-width: 991px) {
        .bs-gift-grid-links { grid-template-columns: repeat(2, 1fr); }
        .bs-gift-col:nth-child(2) { border-right: none; }
        .bs-gift-col { border-bottom: 1px solid #eee; padding: 30px 10px; }
    }
    @media (max-width: 767px) {
        .bs-gift-grid-links { grid-template-columns: 1fr; }
        .bs-gift-col { border-right: none; border-bottom: 1px solid #eee; }
        .bs-gift-gallery-wrapper { height: 350px; }
    }



/* PASTICCERIA HOME */



/* GRID */
.bs-premium-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  margin-bottom: 60px;
}

/* CARD */
.bs-premium-card {
  display: flex;
  flex-direction: column;
  border-right: 1px solid #eee;
  background: #fff;
	justify-content: space-between;
}
.bs-premium-card:last-child {
  border-right: none;
}

/* IMMAGINI */
.bs-premium-img {
  position: relative;
  height: 360px;
}
.bs-premium-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .6s ease;
}
.bs-premium-img .hover {
  opacity: 0;
}
.bs-premium-card:hover .hover {
  opacity: 1;
}
.bs-premium-card:hover .main {
  opacity: 0;
}

/* CONTENUTO */
.bs-premium-content {
  padding: 35px 30px;
  text-align: center;
  flex-grow: 1;
}
.bs-premium-content h4 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 15px;
}
.bs-premium-content p {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: .95rem;
  color: #555;
  line-height: 1.7;
}

/* CTA FISSA IN BASSO */
.bs-premium-cta-wrapper {
  text-align: center;
  margin-bottom: 30px; /* spazio dal fondo card */
}

/* HOVER CTA ULTRA DELICATO */
.bs-gift-cta-btn {
  transition: all .3s ease;
}
.bs-premium-card:hover .bs-gift-cta-btn {
   background-color: #256b41;
}

/* RESPONSIVE */
@media(max-width:991px){
  .bs-premium-grid{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:767px){
  .bs-premium-grid{grid-template-columns:1fr;}
  .bs-premium-img{height:280px;}
}
