/**
 * WARNING: Do not change this file. Your changes will be lost.
 * 2026-10-01 10:57:25 */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');body.boxed {
}
@media (min-width: 768px) {
    .page-layout-1column .product-info-main, .page-layout-2columns-left .product-info-main, .page-layout-2columns-right .product-info-main, .page-layout-3columns .product-info-main,.page-product-downloadable .product-options-bottom {
        width: 49%;
    }
    .page-layout-1column .product.media, .page-layout-2columns-left .product.media, .page-layout-2columns-right .product.media, .page-layout-3columns .product.media,.page-product-downloadable .product-options-wrapper {
        width: 49%;
    }

    .page-layout-1column .column.main > .custom-block ~ .product-info-main, .page-layout-2columns-left .column.main > .custom-block ~ .product-info-main, .page-layout-2columns-right .column.main > .custom-block ~ .product-info-main, .page-layout-3columns .column.main > .custom-block ~ .product-info-main {
        width: 36.75%;
    }
    .page-layout-1column .column.main > .custom-block ~ .product.media, .page-layout-2columns-left .column.main > .custom-block ~ .product.media, .page-layout-2columns-right .column.main > .custom-block ~ .product.media, .page-layout-3columns .column.main > .custom-block ~ .product.media {
        width: 36.75%;
    }
}

/* ==========================================================================
   MASTER CSS CUSTOM - NONSOLODIVISE (FINAL ARCHITECT EDITION)
   ========================================================================== */

.page-wrapper .page-main {
    background-color: #f3f3f3;
}

/* --------------------------------------------------------------------------
   1. BASE STYLES & GLOBAL FIXES
   -------------------------------------------------------------------------- */
/* FIX CRITICO: Previene lo scroll orizzontale */
body, html {
    overflow-x: hidden !important;
    width: 100%;
}

.layout-fullwidth .container, 
.layout-fullwidth .block.category.event, 
.layout-fullwidth .footer.content, 
.layout-fullwidth .header.content, 
.layout-fullwidth .navigation, 
.layout-fullwidth .page-main, 
.layout-fullwidth .page-wrapper>.breadcrumbs >ul, 
.layout-fullwidth .page-wrapper>.page-bottom, 
.layout-fullwidth .page-wrapper>.widget, 
.layout-fullwidth .top-container {
    padding-left: 4.27vw; padding-right: 4.27vw;
}

@media (max-width: 575px){ html { font-size: 13.7143px; } body { font-size: 12px; line-height: 21px; } }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 { color: #222529; letter-spacing: normal; }
h2 { font-family: Poppins,sans-serif; font-weight: 700; font-size: 30px; line-height: 40px; letter-spacing: -.3px; color: #302e2a; margin: 0 0 32px 0; }
h3 { font-family: Poppins,sans-serif; font-weight: 700; font-size: 25px; line-height: 32px; color: #222329; margin: 0 0 20px 0; }
h4 { font-family: Poppins,sans-serif; font-weight: 700; font-size: 20px; line-height: 27px; color: #222329; margin: 0 0 14px 0; }
h5 { font-family: Poppins,sans-serif; font-weight: 700; font-size: 14px; line-height: 20px; color: #222329; margin: 0 0 14px 0; }
h6 { font-family: Poppins,sans-serif; font-weight: 600; font-size: 13px; line-height: 18px; color: #222329; margin: 0 0 14px 0; }
p { letter-spacing: 0; }

/* COLORS & BUTTONS */
html .heading-secondary, html .lnk-secondary, html .text-color-secondary { color: #ff7272; }
html .action.primary, html .btn { font-family: Poppins; font-weight: 700; line-height: 1.42857; padding: .8em 2em; }
html .action.primary { color: #fff; background-color: #000; border-color: #000 #000 #000; }
html .btn-modern { text-transform: uppercase; font-size: .75rem; padding: .75rem 1.5rem; font-weight: 600; height: auto; }
.btn-modern.btn-xl { font-size: 1.125em; font-weight: 700; padding: 1.125em 2.75em; }
.btn-flat { padding: 0!important; background: none!important; border: none!important; border-bottom: 1px solid transparent!important; box-shadow: none!important; text-transform: uppercase; font-size: .75rem; }
html .btn-dark { color: #fff; background-color: #222529; border-color: #222529 #222529 #0b0c0e; }
html .btn-light { color: #222529; background-color: #fff; border-color: #fff #fff #e6e6e6; }
html .background-color-secondary { background-color: #ff7272!important; }

/* --------------------------------------------------------------------------
   2. HEADER & NAVIGATION — ALLINEATO AI BORDI + UNA RIGA SOLA
   -------------------------------------------------------------------------- */
.cms-index-index .page-header.type3 { background-color: transparent; position: absolute; width: 100%; }
.page-header.type3 .navigation .level0 .level-top { font-family: Poppins; }
.page-header, .header, .header-v1, .header-v2, .header-v3, .header-v4, .header-v5, .header .header-content, .header .header-top, .header .header-middle, .header .header-bottom { background: #FFFFFF !important; border-bottom: 1px solid #e5e5e5 !important; }

/* ============================================
   MENU — RESET TOTALE E ALLINEAMENTO
   ============================================ */

/* ============================================
   ALLINEAMENTO BORDI: primo e ultimo link
   ============================================ */
.page-header .navigation:not(.side-megamenu) li.level0:first-child > a.level-top,
.page-header .navigation:not(.side-megamenu) li.level0:first-child > .level-top,
.page-header .navigation .ui-menu li.level0:first-child > a.level-top,
.page-header .navigation .ui-menu li.level0:first-child > .level-top,
.page-header .sw-megamenu li.level0:first-child > a.level-top,
.page-header .sw-megamenu li.level0:first-child > .level-top {
    padding-left: 0 !important;
}

.page-header .navigation:not(.side-megamenu) li.level0:last-child > a.level-top,
.page-header .navigation:not(.side-megamenu) li.level0:last-child > .level-top,
.page-header .navigation .ui-menu li.level0:last-child > a.level-top,
.page-header .navigation .ui-menu li.level0:last-child > .level-top,
.page-header .sw-megamenu li.level0:last-child > a.level-top,
.page-header .sw-megamenu li.level0:last-child > .level-top {
    padding-right: 0 !important;
}

/* ============================================
   MENU — BREAKPOINTS RESPONSIVE
   ============================================ */

/* Tablet landscape 992-1199px */
@media (min-width: 992px) and (max-width: 1199px) {
    .page-header .navigation:not(.side-megamenu) li.level0 > a.level-top,
    .page-header .navigation:not(.side-megamenu) li.level0 > .level-top,
    .page-header .navigation .ui-menu li.level0 > a.level-top,
    .page-header .navigation .ui-menu li.level0 > .level-top,
    .page-header .sw-megamenu li.level0 > a.level-top,
    .page-header .sw-megamenu li.level0 > .level-top {
        font-size: 11px !important;
        letter-spacing: -0.4px !important;
        padding: 14px 4px !important;
    }
}

/* Desktop piccolo 1200-1599px (incluso 1600x900) */
@media (min-width: 1200px) and (max-width: 1599px) {
    .page-header .navigation:not(.side-megamenu) li.level0 > a.level-top,
    .page-header .navigation:not(.side-megamenu) li.level0 > .level-top,
    .page-header .navigation .ui-menu li.level0 > a.level-top,
    .page-header .navigation .ui-menu li.level0 > .level-top,
    .page-header .sw-megamenu li.level0 > a.level-top,
    .page-header .sw-megamenu li.level0 > .level-top {
        font-size: 12px !important;
        letter-spacing: -0.3px !important;
        padding: 14px 6px !important;
    }
}

/* Desktop medio 1600-1919px */
@media (min-width: 1600px) and (max-width: 1919px) {
    .page-header .navigation:not(.side-megamenu) li.level0 > a.level-top,
    .page-header .navigation:not(.side-megamenu) li.level0 > .level-top,
    .page-header .navigation .ui-menu li.level0 > a.level-top,
    .page-header .navigation .ui-menu li.level0 > .level-top,
    .page-header .sw-megamenu li.level0 > a.level-top,
    .page-header .sw-megamenu li.level0 > .level-top {
        font-size: 13px !important;
        letter-spacing: 0 !important;
        padding: 16px 8px !important;
    }
}

/* Desktop largo 1920px+ */
@media (min-width: 1920px) {
    .page-header .navigation:not(.side-megamenu) li.level0 > a.level-top,
    .page-header .navigation:not(.side-megamenu) li.level0 > .level-top,
    .page-header .navigation .ui-menu li.level0 > a.level-top,
    .page-header .navigation .ui-menu li.level0 > .level-top,
    .page-header .sw-megamenu li.level0 > a.level-top,
    .page-header .sw-megamenu li.level0 > .level-top {
        font-size: 13px !important;
        letter-spacing: 0.2px !important;
        padding: 16px 10px !important;
    }
}

/* ============================================
   SUBMENU — STILE UNIFICATO
   ============================================ */
@media (min-width: 992px) {
    .page-header .navigation .submenu,
    .page-header .sw-megamenu .dropdown-menu,
    .page-header .sw-megamenu .children {
        background: #fff !important;
        padding: 12px 0 !important;
        min-width: 260px !important;
        box-shadow: 0 10px 25px rgba(0,0,0,0.08) !important;
        border: 1px solid rgba(0,0,0,0.06) !important;
    }
    
    .page-header .navigation .submenu li > a,
    .page-header .sw-megamenu .dropdown-menu li > a,
    .page-header .sw-megamenu .children li > a {
        display: block !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        line-height: 1.45 !important;
        letter-spacing: 0.2px !important;
        color: #4f4f4f !important;
        padding: 10px 18px !important;
        text-transform: none !important;
    }
    
    .page-header .navigation .submenu li > a:hover,
    .page-header .sw-megamenu .dropdown-menu li > a:hover,
    .page-header .sw-megamenu .children li > a:hover {
        color: #111 !important;
        background: #f7f7f7 !important;
    }
}

/* ============================================
   MENU MOBILE (<992px) — OFF CANVAS
   ============================================ */
@media (max-width: 991px) {
    .page-header .navigation:not(.side-megamenu) {
        display: none !important;
    }
    
    .page-header .navigation:not(.side-megamenu).active,
    .page-header .navigation:not(.side-megamenu).open {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 280px !important;
        max-width: 85vw !important;
        height: 100vh !important;
        background: #ffffff !important;
        z-index: 999999 !important;
        overflow-y: auto !important;
        box-shadow: 5px 0 15px rgba(0,0,0,0.3) !important;
        padding: 20px !important;
    }
    
    .page-header .navigation:not(.side-megamenu).active > ul,
    .page-header .navigation:not(.side-megamenu).open > ul {
        display: block !important;
        width: 100% !important;
    }
    
    .page-header .navigation:not(.side-megamenu).active .level0,
    .page-header .navigation:not(.side-megamenu).open .level0 {
        display: block !important;
        width: 100% !important;
        border-bottom: 1px solid #eee !important;
    }
    
    .page-header .navigation:not(.side-megamenu).active .level0 .level-top,
    .page-header .navigation:not(.side-megamenu).open .level0 .level-top {
        font-size: 14px !important;
        font-weight: 600 !important;
        padding: 14px 0 !important;
        display: block !important;
    }
}

/* --------------------------------------------------------------------------
   3. BREADCRUMBS & GENERAL BLOCKS
   -------------------------------------------------------------------------- */
.page-wrapper > .breadcrumbs { border-bottom: 1px solid #dfdfdf; margin-bottom: 35px; }
.page-wrapper > .breadcrumbs .items { font-size: 10px; font-weight: 700; letter-spacing: 1px; }
.page-wrapper > .breadcrumbs .items>li.home a { width: auto; text-indent: 0; }
.page-wrapper > .breadcrumbs .items>li.home a:after {display: none;}
.catalog-category-view .sidebar.sidebar-main .sidebar-content,.catalogsearch-result-index .sidebar.sidebar-main .sidebar-content { border: none; }
.sidebar .sidebar-content .block-category-list, .side-custom-block .custom-block,.filter-options-item,.filter-actions { padding: 0; margin-bottom: 30px; border: none; }
.filter-current {padding: 0;}
.block-category-list .block-title, .side-custom-block .custom-block h2, .filter-options-title,.filter .filter-current-subtitle { border-bottom: 2px solid #dfdfdf; font-family: Oswald; font-size: 14px; font-weight: 700; letter-spacing: .05em; line-height: 1; padding: 10px 0; margin-bottom: 10px; }
.block-category-list .block-title { padding-top: 0; }
.block-category-list .block-content ol li a { font-size: 12px; }
.side-custom-block .custom-block:last-child { margin-bottom: 0; }
.side-custom-block .custom-block h5 { margin-top: 0 !important; }
.prev-next-products a { font-size: 22px; width: 40px; height: 40px; line-height: 23px; padding: 9px; margin-left: 5px; border-radius: 30px; display: inline-block; text-align: center; text-decoration: none; color: #FFFF; background-color:  #222529; }

/* --------------------------------------------------------------------------
   4. SLIDERS & PRODUCT CARDS (SQUARED DESIGN)
   -------------------------------------------------------------------------- */
.owl-carousel .owl-stage-outer, 
.products-slider .owl-stage-outer, 
.product-carousel .owl-stage-outer { 
    overflow: visible !important; 
    padding-top: 10px !important; 
    padding-bottom: 40px !important; 
    margin-bottom: -40px !important; 
}

.product-item-info {
    background-color: #ffffff !important;
    border: 1px solid #eaeaea !important; 
    border-radius: 8px !important; 
    padding: 15px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important; 
    position: relative !important;
    z-index: 5 !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important; 
}

.product-item-info:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12) !important; 
    z-index: 10 !important;
    border-color: #eaeaea !important; 
}

.product-item { 
    padding: 0 10px !important; 
    margin-bottom: 10px !important; 
}

/* Fix Mobile */
@media (max-width: 768px) { 
    .product-item-info { 
        padding: 10px !important; 
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important; 
        border-radius: 0 !important; 
    } 
    .owl-carousel .owl-stage-outer { 
        padding-bottom: 30px !important; 
        margin-bottom: -30px !important; 
    } 
}

/* Griglia Desktop */
@media screen and (min-width: 768px) { 
    @media (min-width: 1200px), print { 
        .products-grid.columns6 .product-item { 
            width: 16.66666667%; 
            margin: 20px; 
            padding: 20px; 
        } 
    } 
}

/* Home Ads / Banner promozionali sotto slider */
#home_ads { 
    position: relative; 
    width: 100vw; 
    left: 50%; 
    margin-left: -50vw; 
    padding-left: 15px !important; 
    padding-right: 15px !important; 
    max-width: none !important; 
}

.porto-ibanner, .porto-ibanner img {
    border-radius: 0 !important;
}

@media (max-width: 767px) { 
    #home_ads { 
        width: auto !important; 
        left: auto !important; 
        margin-left: -15px !important; 
        margin-right: -15px !important; 
    } 
}

/* --------------------------------------------------------------------------
   5. TACTIKO TICKER (Green Corporate Version)
   -------------------------------------------------------------------------- */
div.widget.block.block-static-block:has(.tactiko-ticker-wrap),
div.widget.block.block-static-block:has(.tactiko-ticker-wrap) {
    margin: 0 !important; padding: 0 !important; position: relative !important; z-index: 1 !important;
}

.tactiko-ticker-wrap {
    display: block !important; position: relative !important; width: 100%;
    height: 32px; line-height: 32px;
    background-color: #077932; 
    overflow: hidden; box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border-bottom: 1px solid #055824;
    z-index: 1 !important; margin: 0 !important; padding: 0 !important;
}
.sticky-header .tactiko-ticker-wrap { display: none !important; }

@supports not selector(:has(a)) {
    .tactiko-ticker-wrap { margin-top: -30px !important; margin-bottom: -1em !important; }
    .widget.block-static-block { z-index: 1 !important; }
}

.tactiko-ticker-wrap .ticker-content { display: flex; width: fit-content; animation: tactiko-scroll 35s linear infinite; padding-left: 0; }

.tactiko-ticker-wrap .ticker-item { 
    white-space: nowrap; color: #ffffff; 
    font-family: 'Chakra Petch', sans-serif; 
    font-weight: 600; font-size: 11px;
    text-transform: uppercase; letter-spacing: 1.5px; 
    padding: 0 40px; display: flex; align-items: center; 
}

.tactiko-ticker-wrap .ticker-item i { font-size: 10px; margin-left: 40px; color: rgba(255,255,255,0.6); }

@keyframes tactiko-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.tactiko-ticker-wrap:hover .ticker-content { animation-play-state: paused; }

@media (max-width: 768px) { 
    .tactiko-ticker-wrap { height: 32px !important; line-height: 32px !important; } 
    .tactiko-ticker-wrap .ticker-item { font-size: 10px; padding: 0 20px; } 
}

/* --------------------------------------------------------------------------
   6. CLEANUP & GHOST ELEMENTS — BANNER AZZURRO FIX
   -------------------------------------------------------------------------- */

/* NASCONDI TUTTI I BANNER PROMOZIONALI E PANNELLI DI PORTO */
.promo-banner-strip, 
.block-promo-banner, 
.page-wrapper > .notices-wrapper, 
.page-wrapper > noscript, 
.page-wrapper > .global-notices,
.panel.wrapper,
.header.panel,
.page-header .panel.wrapper,
.page-header .header.panel,
.main-panel-top,
.header-top,
.top-panel,
.promo-banner,
.promo-bar,
.announcement-bar,
.notification-bar,
.page-wrapper > .panel.wrapper,
.page-wrapper > .header.panel,
.page-wrapper > [class*="panel"],
.page-wrapper > [class*="promo"],
.page-wrapper > [class*="banner"],
.page-wrapper > [class*="notification"],
.page-wrapper > [class*="announcement"],
.page-wrapper > div:first-child:not(.tactiko-ticker-wrap):not(.page-header):not(.header-container) {
    display: none !important; 
    height: 0 !important; 
    margin: 0 !important; 
    padding: 0 !important;
    visibility: hidden !important;
    overflow: hidden !important;
}

/* Selettore specifico per il banner azzurro di Porto */
.page-wrapper > div:first-of-type:not(.page-header):not(.header-container):not(.tactiko-ticker-wrap),
.page-wrapper > .page-header + div:not(.breadcrumbs):not(.main),
.page-wrapper > div[style*="background-color: rgb(0, 115, 170)"],
.page-wrapper > div[style*="background-color: #0073aa"],
.page-wrapper > div[style*="background: rgb(0, 115, 170)"],
.page-wrapper > div[style*="background: #0073aa"] {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

body { margin: 0 !important; padding: 0 !important; }
.page-wrapper { margin-top: 0 !important; padding-top: 0 !important; }
.header-container { margin-top: 0 !important; padding-top: 0 !important; top: 0 !important; }
.page-wrapper > .page.messages .messages { display: block !important; position: relative !important; z-index: 20 !important; margin: 0 !important; padding: 10px !important; }

/* --------------------------------------------------------------------------
   7. FOOTER
   -------------------------------------------------------------------------- */
.footer .widget,.widget { margin-bottom: 1.875rem; margin-top: 1.875rem; }
.footer .widget:first-child,.widget:first-child { margin-top: 0; }
.footer .widgettitle, .footer .widget-title { font-size: 1.1666em; font-weight: 700; }
.widget.contact-info ul, .widget.contact-info li { line-height: 1.8; }
.footer .follow-us .share-links a:not(:hover) { background: none; color: #525252; border: none; font-size: 18px; }
.footer .newsletter input,.footer .newsletter .action.subscribe { border-radius: 0; }
.footer .newsletter input { background: #f4f4f4; min-width: 271px; padding: 8px 12px; }
.footer .newsletter .action.subscribe { padding: .533rem .933rem; line-height: 1.42857; background-color: #222529; }
.footer .row.d-inline-flex { white-space: nowrap; margin-left: -3vw; margin-right: -3vw; }
.footer .row.d-inline-flex>div { padding-left: 3vw; padding-right: 3vw; }
.footer-middle > .container { padding-bottom: 1.55rem; }
.footer-middle > .container::after { left: 4.27vw; right: 4.27vw; border-color: #e7e7e7; }
.footer .contact-info .contact-details strong { color: #000; }
.footer-middle .widget.follow-us { display: none; }
.footer .footer-bottom { padding: 1.5rem 0 2rem; font-size: 1em; }
.page-footer .footer-top { width: 100vw; left: 50%; margin-left: -50vw; position: relative; }

/* --------------------------------------------------------------------------
   8. LAYOUT ARCHITECTURE & SIDEBAR (NATIVE FIX)
   -------------------------------------------------------------------------- */

/* A. DESKTOP (>= 992px) */
@media (min-width: 992px) {
    .page-layout-2columns-left .columns {
        display: -webkit-box !important; display: -ms-flexbox !important; display: flex !important;
        flex-wrap: wrap !important; flexDirection: row !important; justify-content: space-between !important;
    }
    .page-layout-2columns-left .sidebar-main,
    .page-layout-2columns-right .sidebar-main {
        -webkit-box-ordinal-group: 2 !important; order: 1 !important;
        width: 22% !important; flex: 0 0 22% !important;
        position: static !important; 
        display: block !important;
        padding-right: 20px !important;
        border-right: 1px solid #eee;
        z-index: 1 !important;
    }
    .page-layout-2columns-left .column.main {
        -webkit-box-ordinal-group: 3 !important; order: 2 !important;
        width: 76% !important; flex: 0 0 76% !important;
        padding-left: 20px !important;
    }
    .mobile-sidebar-overlay, .sidebar-overlay { display: none !important; }
}

/* B. MOBILE (< 992px) - SIDEBAR NATIVA */
@media (max-width: 991px) {
    
    .page-layout-2columns-left .columns { display: block !important; }
    
    .sidebar-main {
        display: block !important;
        position: fixed !important;
        top: 0 !important; left: 0 !important; bottom: 0 !important;
        width: 280px !important;
        max-width: 85vw !important;
        height: 100vh !important;
        background: #ffffff !important;
        z-index: 999999 !important;
        overflow-y: auto !important;
        box-shadow: 5px 0 15px rgba(0,0,0,0.3) !important;
        margin: 0 !important; padding: 20px !important;
        transform: translateX(-110%);
        transition: transform 0.3s ease-in-out;
    }

    body.sidebar-opened .sidebar-main,
    .sidebar-main.active,
    .sidebar-main.open {
        transform: translateX(0) !important;
    }

    .mobile-sidebar-overlay {
        position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
        background: rgba(0,0,0,0.6);
        z-index: 999990;
        display: none;
        backdrop-filter: blur(2px);
    }

    .sidebar-main .block, 
    .sidebar-main .block-content,
    .sidebar-main .filter-options {
        display: block !important;
        visibility: visible !important;
        height: auto !important;
        overflow: visible !important;
    }
    
    .sidebar-main .block.filter .filter-title { display: none !important; }
}

/* --------------------------------------------------------------------------
   9. TACTIKO GHOST BUTTONS
   -------------------------------------------------------------------------- */
body.cms-index-index .page-wrapper button.btn-modern.btn-dark,
body.cms-index-index .page-wrapper a.btn-modern.btn-dark,
body.cms-index-index .page-wrapper .owl-item .btn-modern,
body.cms-index-index .banner-content .btn-modern {
    background-color: transparent !important;
    background-image: none !important;
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
    font-family: 'Chakra Petch', sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: all 0.3s ease-in-out !important;
}

body.cms-index-index .page-wrapper button.btn-modern.btn-dark:hover,
body.cms-index-index .page-wrapper a.btn-modern.btn-dark:hover,
body.cms-index-index .page-wrapper .owl-item .btn-modern:hover {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    color: #000000 !important;
    text-decoration: none !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3) !important;
}

body.cms-index-index .btn-modern i,
body.cms-index-index .btn-modern.btn-dark i {
    color: inherit !important;
    padding-left: 5px !important;
}

/* ==============================================
   CLEANUP: RIMOZIONE LISTA CATEGORIE SIDEBAR
   ============================================== */
body.catalog-category-view .sidebar .block-category-list {
    display: none !important;
}

/* ==============================================
   CLEANUP: RIMOZIONE SIDE MEGAMENU
   ============================================== */
body.catalog-category-view .sidebar-main .side-megamenu,
body.catalog-category-view .sidebar-main .navigation.side-megamenu {
    display: none !important;
}

/* --- TACTIKO PROMO BANNER (WARRIOR STYLE) --- */
.tactiko-promo-section {
    position: relative;
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
    height: 600px; 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    margin-top: 60px;
    margin-bottom: 60px;
}

.tactiko-promo-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.tactiko-promo-content {
    position: relative;
    z-index: 10;
    width: 100%;
}

.promo-subtitle {
    font-family: 'Oxanium', sans-serif;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

.promo-title {
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 700;
    font-style: italic;
    color: #fff;
    font-size: 65px;
    line-height: 0.9;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.btn-tactiko-white {
    background-color: #fff;
    color: #000;
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    padding: 12px 35px;
    border: none;
    border-radius: 0;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-tactiko-white:hover {
    background-color: #000;
    color: #fff;
}

.promo-discount-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
}

.discount-box {
    position: relative;
    display: inline-flex;
    align-items: center;
    border-top: 3px solid #d32f2f;
    border-bottom: 3px solid #d32f2f;
    padding: 10px 0;
}

.discount-upto {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: #fff;
    font-family: 'Oxanium', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-left: 15px;
    text-transform: uppercase;
}

.discount-number {
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 700;
    font-size: 80px;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px #fff;
    text-transform: uppercase;
    margin-left: 10px;
}

@media (max-width: 992px) {
    .tactiko-promo-section { height: 500px; }
    .promo-title { font-size: 50px; }
    .discount-number { font-size: 60px; }
}

@media (max-width: 768px) {
    .tactiko-promo-section { height: auto; padding: 60px 0; }
    .promo-discount-wrapper { justify-content: flex-start; margin-top: 40px; }
    .promo-title { font-size: 40px; }
    .discount-box { padding: 5px 0; }
    .discount-number { font-size: 50px; }
}

/* LOGO FIX — UNICO BLOCCO DEFINITIVO */
.page-header.type3 .header-main .header-left .logo img,
.header-main .header-left strong.logo img,
body .logo img {
    display: block !important;
    height: 80px !important;
    width: auto !important;
    max-height: unset !important;
    max-width: none !important;
}

@media (max-width: 991px) {
    .page-header.type3 .header-main .header-left .logo img,
    .header-main .header-left strong.logo img,
    body .logo img {
        height: 60px !important;
    }
}

@media (max-width: 575px) {
    .page-header.type3 .header-main .header-left .logo img,
    .header-main .header-left strong.logo img,
    body .logo img {
        height: 50px !important;
    }
}

/* Rimuove la top bar blu del tema Porto */
.page-header .main-panel-top {
    display: none !important;
}

.page-header.type2 {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.footer-bottom {
    padding: 12px 0 12px !important;
}

.cms-index-index .home-slider {
  position: relative;
  margin-top: -50px !important;
  margin-bottom: -30px !important;
  z-index: 1;
}

/* FIX OVERLAY NERO HOME ADS */
#home_ads .porto-ibanner::before,
#home_ads .porto-ibanner:before {
    content: none !important;
    display: none !important;
    background: transparent !important;
    background-color: transparent !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

#home_ads .porto-ibanner {
    position: relative !important;
    overflow: hidden !important;
    background: transparent !important;
}

#home_ads .porto-ibanner-img,
#home_ads .porto-ibanner img {
    position: relative !important;
    z-index: 2 !important;
    display: block !important;
}

.layout-fullwidth footer.page-footer .footer-middle > .container {
    padding-left: 250px !important;
    padding-right: 250px !important;
}

@media (max-width: 1200px) {
    .layout-fullwidth footer.page-footer .footer-middle > .container {
        padding-left: 120px !important;
        padding-right: 120px !important;
    }
}

@media (max-width: 991px) {
    .layout-fullwidth footer.page-footer .footer-middle > .container {
        padding-left: 40px !important;
        padding-right: 40px !important;
    }
}

@media (max-width: 767px) {
    .layout-fullwidth footer.page-footer .footer-middle > .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

body.catalog-category-view .sub-category-listing {
    display: none !important;
}


.breadcrumbs {
  margin: 18px 0 26px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 13px;
  line-height: 1.5;
}

.breadcrumbs .items {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.breadcrumbs .item {
  color: #8a8a8a;
  font-weight: 400;
}

.breadcrumbs .item a {
  color: #7a7a7a;
  text-decoration: none;
  transition: color .2s ease;
}

.breadcrumbs .item a:hover {
  color: #222;
}

.breadcrumbs .item:not(:last-child):after {
  content: "/";
  margin-left: 6px;
  color: #b5b5b5;
}

.breadcrumbs .item:last-child {
  color: #444;
  font-weight: 500;
  max-width: 720px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.catalog-product-view .product.data.items {
  padding-top: 20px !important;
  padding-bottom:20px !imoportant;
}
/* ============================================ */
/* SIDEBAR CATALOGO - PADDING TOP SOLO PADRE    */
/* ============================================ */

/* Desktop: padding-top 40px SOLO sulla sidebar principale */
@media (min-width: 768px) {
    .sidebar.sidebar-main {
        padding-top: 40px !important;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
    .sidebar.sidebar-main {
        padding-top: 30px !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .sidebar.sidebar-main {
        padding-top: 20px !important;
    }
}

/* ============================================ */
/* FIX FONT-WEIGHT SOLO LINK INTERNI FILTRI     */
/* ============================================ */

/* SOLO i link/items dentro i filtri a 300 */
.filter-options-content .items .item a,
.block.filter .filter-options-content .items .item a,
.sidebar .filter-options-content .items .item a,
.items[class*="category_ids"]:not(.items-children) > .item > a,
.items[class*="category_ids"] > .item > a {
    font-weight: 300 !important;
}

/* I titoli rimangono a 600 (rimuovi eventuali override precedenti) */
.filter-options-item .filter-options-title,
.block.filter .filter-options-title,
.sidebar .filter-options-title {
    font-weight: 600 !important;
}


/* ============================================
   NSD NEWSLETTER — Sharp & Compact Edition
   ============================================ */

.nsd-newsletter-section,
div.nsd-newsletter-section,
footer .nsd-newsletter-section,
.page-footer .nsd-newsletter-section {
    width: 100%;
    margin: 0;
    padding: 0 !important;
    background: #077932 !important;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    border: none !important;
}

.nsd-newsletter-section::before,
.nsd-newsletter-section::after {
    display: none !important;
    content: none !important;
}

/* Container interno */
.nsd-newsletter-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 22px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    box-sizing: border-box;
}

/* --- Sinistra: Testo --- */
.nsd-newsletter-text {
    flex: 0 1 auto;
    text-align: left;
}

.nsd-newsletter-text h3 {
    margin: 0 0 6px 0;
    color: #ffffff;
    font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-align: left;
}

.nsd-newsletter-text p {
    margin: 0;
    color: rgba(255,255,255,0.75);
    font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 400;
    text-align: left;
}

/* --- Destra: Form --- */
.nsd-newsletter-form {
    flex: 0 0 auto;
    min-width: 360px;
}

.nsd-newsletter-form .form.subscribe {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
    margin: 0 0 10px 0;
    padding: 4px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 0 !important;
    width: 100%;
    box-sizing: border-box;
}

.nsd-newsletter-form .field.newsletter {
    margin: 0;
    flex: 1;
}

.nsd-newsletter-form .field.newsletter .control {
    width: 100%;
}

/* Input: BORDI NETTI */
.nsd-newsletter-form .field.newsletter .control input {
    width: 100%;
    height: 40px;
    padding: 0 14px;
    border: none;
    background: #ffffff;
    color: #1a1a1a;
    border-radius: 0 !important;
    box-shadow: none;
    font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
    font-size: 13px;
    font-weight: 400;
    text-align: left;
    outline: none;
    line-height: 40px;
    transition: box-shadow 0.2s ease;
}

.nsd-newsletter-form .field.newsletter .control input:focus {
    box-shadow: inset 0 0 0 2px rgba(7, 121, 50, 0.3);
}

.nsd-newsletter-form .field.newsletter .control input::placeholder {
    color: #888888;
    opacity: 1;
    font-weight: 400;
}

/* Bottone: BORDI NETTI */
.nsd-newsletter-form .actions {
    margin: 0;
    flex-shrink: 0;
}

.nsd-newsletter-form .actions button,
.nsd-newsletter-form .actions .action.subscribe {
    width: auto;
    height: 40px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #1a1a1a;
    color: #ffffff;
    border: none;
    border-radius: 0 !important;
    box-shadow: none;
    font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
    line-height: 1;
    white-space: nowrap;
}

.nsd-newsletter-form .actions button:hover {
    background: #000000;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.nsd-newsletter-form .actions button i,
.nsd-newsletter-form .actions button svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.nsd-newsletter-form .actions button:hover i,
.nsd-newsletter-form .actions button:hover svg {
    transform: translateX(3px);
}

/* Disclaimer */
.nsd-newsletter-disclaimer {
    margin: 10px 0 0 0;
    color: rgba(255,255,255,0.55);
    font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
    font-size: 10px;
    line-height: 1.4;
    text-align: right;
}

.nsd-newsletter-disclaimer a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 1px;
    transition: all 0.2s ease;
}

.nsd-newsletter-disclaimer a:hover {
    color: #ffffff;
    border-bottom-color: #ffffff;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
    .nsd-newsletter-inner {
        padding: 22px 30px;
        gap: 30px;
    }
    
    .nsd-newsletter-form {
        min-width: 300px;
    }
}

@media (max-width: 767px) {
    .nsd-newsletter-inner {
        flex-direction: column;
        align-items: center;
        padding: 28px 20px;
        gap: 20px;
    }
    
    .nsd-newsletter-text {
        text-align: center;
        width: 100%;
    }
    
    .nsd-newsletter-text h3,
    .nsd-newsletter-text p {
        text-align: center;
    }
    
    .nsd-newsletter-form {
        min-width: 100%;
        width: 100%;
    }
    
    .nsd-newsletter-form .form.subscribe {
        flex-direction: column;
        gap: 8px;
        background: transparent;
        border: none;
        border-radius: 0 !important;
        padding: 0;
    }
    
    .nsd-newsletter-form .field.newsletter .control input {
        height: 44px;
        border: 1px solid rgba(255,255,255,0.3);
        border-radius: 0 !important;
        background: #ffffff;
        padding: 0 16px;
        line-height: 44px;
        color: #1a1a1a;
    }
    
    .nsd-newsletter-form .field.newsletter .control input::placeholder {
        color: #888888;
    }
    
    .nsd-newsletter-form .actions button,
    .nsd-newsletter-form .actions .action.subscribe {
        width: 100%;
        height: 44px;
        border-radius: 0 !important;
    }
    
    .nsd-newsletter-disclaimer {
        text-align: center;
        margin-top: 12px;
    }
}
/* ============================================
   ELIMINA NEWSLETTER BASE DI MAGENTO
   ============================================ */

/* Nascondi il blocco newsletter base */
.footer.content > .block.newsletter,
.page-footer .footer.content > .block.newsletter,
.page-footer .footer.content .block.newsletter,
.footer.content .block.newsletter,
.block.newsletter {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: none !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -99999px !important;
    top: -99999px !important;
    clip: rect(0,0,0,0) !important;
    clip-path: inset(100%) !important;
    pointer-events: none !important;
}

/* Assicurati che la nostra custom sia visibile */
.footer.content .nsd-newsletter-section,
.page-footer .footer.content .nsd-newsletter-section,
.nsd-newsletter-sectiodn {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    opacity: 1 !important;
    position: relative !important;
    left: auto !important;
    top: auto !important;
    clip: auto !important;
    clip-path: none !important;
    pointer-events: auto !important;
}

.tactiko-promo-section {
    margin-bottom: 0 !important;
}

fieldset.review-fieldset legend.review-legend {
    display: none !important;
}


/* =========================================================
   MINI-CART: VERSIONE PIÙ RIFINITA
   ========================================================= */

.minicart-wrapper .block-minicart {
    width: 330px;
    padding: 20px 22px 22px;
    border: 0;
    border-radius: 0;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
    font-size: 13px;
    line-height: 1.45;
    color: #2a2f35;
}

/* Header */
.minicart-wrapper .block-minicart .block-title {
    margin: 0;
    padding: 0 0 16px;
    border-bottom: 1px solid #e8e8e8;
}

.minicart-wrapper .block-minicart .block-title strong {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.minicart-wrapper .block-minicart .block-title .text {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .2px;
}

.minicart-wrapper .block-minicart .block-title .qty {
    font-size: 12px;
    font-weight: 700;
}

.minicart-wrapper .block-minicart .actions .secondary {
    position: absolute;
    top: 20px;
    right: 22px;
}

.minicart-wrapper .block-minicart .actions .secondary .viewcart {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    color: #2a2f35;
}

.minicart-wrapper .block-minicart .actions .secondary .viewcart:hover {
    color: #0b7d38;
}

/* Lista prodotti */
.minicart-wrapper .block-minicart .minicart-items-wrapper {
    margin: 0;
    padding: 0;
    border: 0;
    max-height: 320px;
}

.minicart-wrapper .block-minicart .minicart-items {
    margin: 0;
    padding: 0;
}

.minicart-wrapper .block-minicart .minicart-items .product-item {
    padding: 16px 0 18px;
    border-bottom: 1px solid #e8e8e8;
}

.minicart-wrapper .block-minicart .product-item-name {
    margin: 0 36px 7px 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    color: #2a2f35;
}

.minicart-wrapper .block-minicart .product-item-pricing {
    margin-top: 6px;
}

.minicart-wrapper .block-minicart .price,
.minicart-wrapper .block-minicart .details-qty {
    font-size: 13px;
}

/* Subtotale */
.minicart-wrapper .block-minicart .subtotal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    padding: 16px 0 14px;
    border-bottom: 1px solid #e8e8e8;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.minicart-wrapper .block-minicart .subtotal .amount,
.minicart-wrapper .block-minicart .subtotal .price {
    font-size: 14px;
    font-weight: 700;
}

/* Checkout button */
.minicart-wrapper .block-minicart .actions .primary {
    margin: 16px 0 0;
}

.minicart-wrapper .block-minicart .action.primary.checkout {
    width: 100%;
    min-height: 48px;
    padding: 13px 16px;
    border: 0;
    border-radius: 0;
    background: #2a2f35;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    text-transform: uppercase;
    transition: background .2s ease, transform .2s ease;
}

.minicart-wrapper .block-minicart .action.primary.checkout:hover,
.minicart-wrapper .block-minicart .action.primary.checkout:focus {
    background: #0b7d38;
    transform: translateY(-1px);
    color: #fff;
}

/* Empty state */
.minicart-wrapper .block-minicart .subtitle.empty {
    display: block;
    margin: 0 0 12px;
    padding: 0;
}

.minicart-wrapper .block-minicart .minicart.empty.text {
    margin: 0 0 14px;
}

/* =========================================================
   CHECKOUT MAGENTO 2 — BLOCCO UNICO CONSOLIDATO
   ========================================================= */

/* --- Container generale --- */
.checkout-index-index .page-main,
.checkout-index-index .columns,
.checkout-index-index .column.main {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    box-sizing: border-box !important;
}

.checkout-index-index .checkout-container {
    max-width: 1380px !important;
    margin: 0 auto !important;
    padding: 36px 24px 70px !important;
    box-sizing: border-box !important;
    position: relative !important;
}

.checkout-index-index .checkout-container::after {
    content: "" !important;
    display: table !important;
    clear: both !important;
}

/* --- Login/Accedi in alto a destra --- */
.checkout-index-index .authentication-wrapper {
    width: auto !important;
    max-width: none !important;
    float: right !important;
    margin-top: 0 !important;
}

/* --- Progress bar: SOLO larghezza/margine, NIENTE layout dei cerchi --- */
.checkout-index-index .opc-progress-bar {
    max-width: 720px !important;
    margin: 0 0 30px !important;
}

/* --- Colonna sinistra (form) --- */
.checkout-index-index .opc-wrapper {
    width: calc(100% - 390px) !important;
    max-width: none !important;
    float: left !important;
    background: #fff;
    padding: 30px !important;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    box-sizing: border-box !important;
}

/* --- Colonna destra (sidebar riepilogo) --- */
.checkout-index-index .opc-sidebar {
    width: 340px !important;
    float: right !important;
    margin: 0 !important;
    background: #fff;
    padding: 25px !important;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    box-sizing: border-box !important;
    min-height: 0 !important;
}

.checkout-index-index .opc-block-summary {
    width: 100%;
    padding: 0;
}

.checkout-index-index .opc-block-summary > .title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

/* --- Titoli sezione (INDIRIZZO DI SPEDIZIONE, ecc) --- */
.checkout-index-index .step-title,
.checkout-index-index legend.step-title {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #222;
    border-bottom: 2px solid #d9534f;
    padding-bottom: 12px;
    margin-bottom: 25px !important;
}

/* --- Campi form --- */
.checkout-index-index .opc-wrapper .field {
    margin-bottom: 20px;
}

.checkout-index-index .opc-wrapper .field .label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 13px;
    color: #333;
}

.checkout-index-index .opc-wrapper .field input:not([type="radio"]):not([type="checkbox"]),
.checkout-index-index .opc-wrapper .field select,
.checkout-index-index .opc-wrapper .field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.checkout-index-index .opc-wrapper .field input:not([type="radio"]):not([type="checkbox"]):focus,
.checkout-index-index .opc-wrapper .field select:focus {
    border-color: #d9534f;
    outline: none;
    box-shadow: 0 0 0 2px rgba(217, 83, 79, 0.15);
}

.checkout-index-index .opc-wrapper .field._required .label::after,
.checkout-index-index .opc-wrapper .field.required .label::after {
    content: "*";
    color: #d9534f;
    margin-left: 4px;
}

/* --- Select personalizzate (Nazione, Provincia) --- */
.checkout-index-index .opc-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3cpath fill='%23999' d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 40px;
    cursor: pointer;
}

/* --- Pulsanti primari (Successivo, ecc) --- */
.checkout-index-index button.action.primary,
.checkout-index-index button.action-primary,
.checkout-index-index .button.action,
.checkout-index-index .action.continue,
.checkout-index-index .action.checkout,
.checkout-index-index button[data-role="opc-continue"] {
    background: #d9534f !important;
    border: none !important;
    color: #fff !important;
    padding: 14px 28px !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.checkout-index-index button.action.primary:hover,
.checkout-index-index button.action-primary:hover,
.checkout-index-index .button.action:hover,
.checkout-index-index .action.continue:hover,
.checkout-index-index .action.checkout:hover {
    background: #c9302c !important;
}

/* --- Metodi di spedizione: righe leggibili --- */
.checkout-index-index .table-checkout-shipping-method {
    width: 100%;
    border-collapse: collapse;
}

.checkout-index-index .table-checkout-shipping-method td {
    padding: 12px 10px;
    vertical-align: middle;
    border-bottom: 1px solid #eee;
}

/* --- Riepilogo ordine: prodotti --- */
.checkout-index-index .opc-sidebar .minicart-items .product-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.checkout-index-index .opc-sidebar .product-item-name {
    font-weight: 600;
    font-size: 14px;
    color: #222;
}

/* --- Responsive: sotto i 768px, colonne impilate --- */
@media (max-width: 768px) {
    .checkout-index-index .opc-wrapper,
    .checkout-index-index .opc-sidebar {
        width: 100% !important;
        float: none !important;
        margin-bottom: 20px !important;
    }
}


.free-shipping-note {
    padding-top: 20px;
}

.free-shipping-note > span {
    color: #d32f2f;
}

/* =========================================================
   FIX RIEPILOGO ORDINE — Rimuove comportamento a carosello
   ========================================================= */

/* Disattiva lo scroll orizzontale e il carosello nella lista prodotti */
.checkout-index-index .opc-sidebar .minicart-items-wrapper {
    overflow-x: visible !important;
    overflow-y: visible !important;
    max-height: none !important;
    width: 100% !important;
    white-space: normal !important;
}

.checkout-index-index .opc-sidebar .minicart-items {
    display: block !important;
    width: 100% !important;
}

.checkout-index-index .opc-sidebar .minicart-items .product-item {
    display: flex !important;
    align-items: flex-start !important;
    width: 100% !important;
    white-space: normal !important;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

/* Il nome del prodotto va a capo invece di essere tagliato */
.checkout-index-index .opc-sidebar .product-item-name,
.checkout-index-index .opc-sidebar .product-item-details {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    word-wrap: break-word !important;
    flex: 1;
}

/* Nasconde le frecce/scrollbar del carosello: qui non servono */
.checkout-index-index .opc-sidebar .slick-prev,
.checkout-index-index .opc-sidebar .slick-next,
.checkout-index-index .opc-sidebar .slick-dots,
.checkout-index-index .opc-sidebar .minicart-items-wrapper .action.prev,
.checkout-index-index .opc-sidebar .minicart-items-wrapper .action.next,
.checkout-index-index .opc-sidebar .minicart-items-wrapper::-webkit-scrollbar {
    display: none !important;
}

/* Immagine prodotto: dimensione fissa e coerente */
.checkout-index-index .opc-sidebar .product-item .product-image-container,
.checkout-index-index .opc-sidebar .product-item img {
    width: 60px !important;
    height: 60px !important;
    flex-shrink: 0;
}


/* pagina checkout css */

.checkout-index-index .opc-block-summary {
    width: 100%;
    padding: 30px;
}

.block-search input#search {
    color: #1a1a1a !important;
}

.block-search input#search::placeholder {
    color: #666666 !important;
    opacity: 1;
}


.price-box .old-price .price {
    color: #767676 !important;
    font-weight: 500 !important;
}

#nsd-review-form-wrapper .review-control-vote{
  position:relative;
  display:inline-block;
  height:24px;
  line-height:24px;
  overflow:visible;
}
#nsd-review-form-wrapper .review-control-vote label{
  top:0 !important;
  margin:0 !important;
  padding:0 !important;
  height:24px;
  line-height:24px !important;
}
#nsd-review-form-wrapper .review-control-vote label:before{
  top:0 !important;
  margin:0 !important;
  line-height:24px !important;
  vertical-align:top;
}
#nsd-review-form-wrapper .review-field-rating{
  display:flex;
  align-items:center;
}

/* =========================================================
   CHECKOUT: METODI DI PAGAMENTO (radio + etichetta + icona sulla stessa riga)
   ========================================================= */
.checkout-index-index .payment-method-title.field.choice {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start;
    gap: 12px;
    margin: 0;
    padding: 16px 0;
    text-align: left;
}

.checkout-index-index .payment-method-title.field.choice > *:not(input):not(label):not(img),
.checkout-index-index .payment-method-title.field.choice > *:not(input):not(label):not(img) > *:not(input):not(label):not(img) {
    display: contents !important;
}

.checkout-index-index .payment-method-title.field.choice input.radio {
    flex: 0 0 auto;
    width: auto;
    margin: 0;
    padding: 0;
    float: none;
    position: static;
}

.checkout-index-index .payment-method-title.field.choice label.label {
    flex: 0 1 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    width: auto !important;
    margin: 0;
    padding: 0;
    text-align: left;
    cursor: pointer;
}

.checkout-index-index .payment-method-title.field.choice label.label img {
    max-height: 32px;
    width: auto;
}

.checkout-index-index .payment-method-title.field.choice > img,
.checkout-index-index .payment-method-title.field.choice > *:not(input):not(label) > img,
.checkout-index-index .payment-method-title.field.choice > *:not(input):not(label) > *:not(input):not(label) > img {
    flex: 0 0 auto;
    max-height: 32px;
    width: auto;
    margin-left: auto;
    padding-left: 16px;
    float: none;
    position: static;
}
/* Nasconde l'intero contenuto del footer (link + info aziendali) */
.footer.content {
    display: none !important;
}

/* Se invece vuoi nascondere SOLO l'elenco link e lasciare le info aziendali */
.footer.links {
    display: none !important;
}

/* ============================================
   NASCONDI NEWSLETTER BASE DI MAGENTO
   ============================================ */

/* Selettore con massima specificità */
body .page-footer .footer.content > .block.newsletter,
body .page-footer .footer.content .block.newsletter,
html body .page-footer .footer.content .block.newsletter,
.page-footer .footer.content .block.newsletter,
.footer.content .block.newsletter,
.block.newsletter {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: none !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -99999px !important;
    top: -99999px !important;
    clip: rect(0,0,0,0) !important;
    clip-path: inset(100%) !important;
}

/* Se c'è anche un wrapper */
body .page-footer .footer.content > .block.newsletter + *,
body .page-footer .footer.content > .block.newsletter ~ * {
    /* Non toccare, potrebbe nascondere il footer */
}

/* Mostra SOLO la nostra custom */
body .page-footer .footer.content .nsd-newsletter-section,
.page-footer .footer.content .nsd-newsletter-section,
.footer.content .nsd-newsletter-section,
.nsd-newsletter-section {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    opacity: 1 !important;
    position: relative !important;
    left: auto !important;
    top: auto !important;
    clip: auto !important;
    clip-path: none !important;
}