/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
    --orange: #EF8509;
    --orange-dark: #d96d10;
    --black: #1D1D1B;
    --bg-light: #f5f5f5;
    --bg-mid: #efefef;
    --text-muted: #666;
    --text-dark: #444;
    --border-light: #e5e5e5;
}

/* =============================================
   BASE
   ============================================= */

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: "Roboto", sans-serif;
    overflow-x: hidden;
}

a {
    font-family: "Roboto Condensed", sans-serif;
}

    a:hover {
        color: #fff;
    }

h1, h2, h3, h4, h5, h6,
p {
    font-family: "Roboto Condensed", sans-serif;
}

p {
    font-size: 17px !important;
}

/* Focus ring */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

form textarea, form input[type=text], form input[type=password], form input[type=datetime], form input[type=datetime-local], form input[type=date], form input[type=month], form input[type=time], form input[type=week], form input[type=number], form input[type=email], form input[type=url], form input[type=search], form input[type=tel], form input[type=color] {
    border-radius: 0;
}

/* =============================================
   BOTTONI
   ============================================= */

.tf-btn {
    font-size: 16px;
    border-radius: 0;
}

    .tf-btn:hover {
        background-color: var(--orange-dark) !important;
        color: white !important;
    }

    .tf-btn.btn-white:hover {
        background-color: var(--orange-dark) !important;
        color: white !important;
    }

    .tf-btn.btn-white {
        background-color: var(--white) !important;
        color: #111 !important;
        border: 1px solid #ef8509;
    }

    .tf-btn.btn-orange {
        background: var(--orange);
        color: #fff;
        padding: 14px 18px;
        border-radius: 0;
        font-weight: 400;
    }

        .tf-btn.btn-orange:hover {
            background: #000;
        }

.btn-outline {
    border: 1px solid var(--orange);
    padding: 8px 14px;
    display: inline-block;
    font-size: 15px;
    color: #000;
    transition: background 0.3s, color 0.3s;
}

    .btn-outline:hover {
        background: var(--orange);
        color: #fff;
    }

/* =============================================
   SECTION TITLES  (unica definizione)
   ============================================= */

/* Titolo con sottolineatura arancione (default: left) */
.section-title {
    font-size: 34px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
}

    .section-title::after {
        content: "";
        display: block;
        width: 70px;
        height: 4px;
        background: var(--orange);
        margin-top: 10px;
    }

/* Variante bianca (centrata – usata su sfondi scuri/colorati) */
.section-title-white {
    font-size: 34px;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
}

    .section-title-white::after {
        content: "";
        display: block;
        width: 70px;
        height: 4px;
        background: #fff;
        margin: 10px auto 0;
    }

/* Titolo sezione con stile swiper (homepage "Categorie", ecc.) */
.sect-title .s-title {
    font-size: 36px;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    margin-bottom: 40px;
}

    .sect-title .s-title::after {
        content: "";
        display: block;
        width: 80px;
        height: 3px;
        background: var(--orange);
        margin-top: 10px;
    }

/* =============================================
   HEADER
   ============================================= */

.header-fixed {
    display: flex;
    align-items: center;
}

.header-right {
    justify-content: left;
}

.box-nav-menu {
    gap: 60px;
}

.logo-site img {
    height: 70px;
    width: auto;
    object-fit: contain;
    aspect-ratio: 4;
}

.item-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.link:hover {
    color: var(--orange) !important;
}

@media (min-width: 1600px) {
    .tf-header.style-5 .header-right {
        margin-left: 0;
    }
}

/* =============================================
   MENU DROPDOWN
   ============================================= */

.menu-item {
    position: relative;
}

.tf-header {
    position: relative;
}

.sub-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(36px) !important;
    transition: all 0.25s ease;
    z-index: 9999;
}

    .menu-item:hover > .sub-menu,
    .sub-menu:hover {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) !important;
    }

/* Spazio invisibile anti-bug hover */
.menu-item::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px;
}

/* =============================================
   SLIDER HERO
   ============================================= */

.slider-overlay-wrap {
    position: relative;
}

.slider-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-dark {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 180px;
    width: 30%;
    height: 100%;
    background: rgba(240, 133, 12, 0.75);
    z-index: 2;
}

@media(max-width:1800px){
    .slider-overlay {
        left: 0;
        width: 40%;
    }
}

.slider-content {
    position: absolute;
    inset: 0;
}

.content-box {
    position: relative;
    z-index: 3;
    max-width: 400px;
    padding-top: 200px;
    color: #fff;
}

    .content-box h2 {
        font-size: 56px;
        font-weight: 600;
        line-height: 1.2;
        margin-bottom: 20px;
        color: #fff;
    }

    .content-box p {
        font-size: 20px !important;
        line-height: 1.4;
        margin-bottom: 40px;
    }

/* =============================================
   CATEGORIE
   ============================================= */
.card-product_wrapper {
    aspect-ratio: 2;
}


.category-section .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.widget-collection {
    background: #fff;
    border: 1px solid var(--border-light);
    transition: border 0.3s;
    text-align: center;
}

    .widget-collection:hover,
    .widget-collection.active {
        border-color: var(--orange);
    }

    .widget-collection .collection_name {
        transition: .3s linear;
        padding: 5px
    }

    .widget-collection:hover .collection_name, .widget-collection.active .collection_name {
        background: var(--orange);
        color: #fff;
    }

    .widget-collection.style-circle .collection_image {
        border-radius: 0;
    }

h5, .h5 {
    font-size: clamp(18px, 3vw, 20px) !important;
    line-height: clamp(24px, 4vw, 27px);
}

.collection_image {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .collection_image img {
        max-height: 160px;
        width: auto;
    }

.collection_name {
    margin-top: 10px;
    font-size: 18px;
    color: #000;
}

.hover-img .img-style > img {
    object-fit: contain;
    padding-top: 20px;
}

.tf-sw-pagination {
    display: none !important;
}
/* =============================================
   MAPPA
   ============================================= */

.map-section {
    background: var(--bg-light);
    overflow: hidden;
}

.map-box {
    background: var(--orange);
    padding: 80px 200px;
    z-index: 2;
    width: 100%;
    right: 250px;
}

    .map-box h2 {
        color: #fff;
        font-size: 52px;
        font-weight: 700;
        line-height: 1.2;
        margin-bottom: 30px;
    }

.map-image {
    position: relative;
    z-index: 3;
    margin-left: -120px;
}

    .map-image img {
        width: 100%;
        max-width: 800px;
        opacity: 0.9;
    }
/* =============================================
   PRODOTTI HOME
   ============================================= */

.prodotti-home {
    background: var(--bg-light);
}

.arrow-box {
    background: var(--orange);
    color: #fff;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-card {
    background: transparent;
    border: none;
    text-align: center;
}

    .custom-card img {
        max-height: 160px;
        object-fit: contain;
        margin-bottom: 20px;
    }

    .custom-card .name-product {
        font-size: 18px;
        font-weight: 700;
        text-transform: uppercase;
        margin-bottom: 10px;
    }

    .custom-card p {
        font-size: 15px !important;
        color: var(--text-muted);
        max-width: 260px;
        margin-bottom: 20px;
    }

.prodotti-home .swiper-slide {
    padding: 10px 0;
}
/* =============================================
   ABOUT
   ============================================= */

.about-text h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

    .about-text h2 span {
        color: var(--orange);
    }

.about-text p {
    font-size: 15px !important;
    color: #555;
    margin-bottom: 15px;
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.about-boxes {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .about-boxes .box {
        background: #e9e9e9;
        padding: 20px;
        transition: all 0.3s ease;
    }

        .about-boxes .box:hover {
            transform: translateX(5px);
        }

        /* ATTIVO */
        .about-boxes .box.active {
            background: var(--orange);
            color: #fff;
        }

        /* TESTO */
        .about-boxes .box p {
            font-size: 14px !important;
            margin-top: 10px;
            max-height: 0;
            overflow: hidden;
            transition: all 0.3s ease;
            opacity: 0;
        }

        /* QUANDO APERTO */
        .about-boxes .box.active p {
            max-height: 200px;
            opacity: 1;
        }

/* HEADER */
.box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

    /* ICONA */
    .box-header .icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: var(--orange);
        color: #fff;
        font-size: 14px;
        font-weight: bold;
        transition: transform 0.3s ease;
        flex-shrink: 0;
    }

/* Icona nel box attivo (sfondo arancione): cerchio bianco semitrasparente */
.box.active .box-header .icon {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* Rotazione quando aperto */
.box.active .icon {
    transform: rotate(180deg);
}

.box-header h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: #1D1D1B;
}

.box.active .box-header h4 {
    color: #fff;
}
/* =============================================
   STAND / EVENTI
   ============================================= */

.stand-section {
    background: var(--bg-mid);
}

.stand-header h2 {
    font-size: 40px;
    font-weight: 800;
    text-transform: uppercase;
}

    .stand-header h2 span {
        color: var(--orange);
    }

.stand-header p {
    max-width: 700px;
    margin: 15px auto 40px;
    color: var(--text-muted);
    font-size: 15px !important;
}

.stand-video {
    margin-bottom: 30px;
}

    .stand-video iframe {
        width: 100%;
        min-width: 900px;
        height: 600px;
        border: none;
    }

.stand-banner {
    background: var(--orange);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
    margin: 20px auto 40px;
    max-width: 900px;
}

.banner-content h3 {
    margin: 0;
    font-size: 26px;
}

.banner-content p {
    margin: 5px 0 0;
    font-size: 14px !important;
}

.stand-events {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.event-card {
    display: block;
    background: #fff;
    padding: 10px;
    transition: transform 0.3s;
}

    .event-card img {
        width: 100%;
        height: auto;
    }

    .event-card:hover {
        transform: translateY(-5px);
    }
/* =============================================
   NEWS
   ============================================= */

.news-section {
    background: var(--bg-mid);
}

.news-header h2 {
    font-size: 36px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.news-header span {
    color: var(--orange);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 100px;
}

.news-card {
    display: block;
    background: transparent;
    text-decoration: none;
    position: relative;
    padding-bottom: 30px;
    transition: transform 0.3s;
}

    .news-card:hover {
        transform: translateY(-5px);
    }

.news-image img {
    width: 100%;
    height: 200px;
    object-fit: contain;
}

.news-card:hover .news-image img {
    opacity: 0.9;
}

.news-content {
    padding: 15px 0;
}

    .news-content h3 {
        font-size: 14px;
        font-weight: 800;
        text-transform: uppercase;
        margin-bottom: 10px;
        color: #000;
    }

    .news-content p {
        font-size: 13px !important;
        color: var(--text-muted);
    }
/* Freccia decorativa (riutilizzata da .news-arrow e .video-arrow) */
.news-arrow,
.video-arrow {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-bottom: 40px solid var(--orange);
}

    .news-arrow::after,
    .video-arrow::after {
        content: "→";
        position: absolute;
        bottom: 5px;
        right: -35px;
        color: #fff;
        font-size: 16px;
    }

.news-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .news-arrow i {
        color: #fff;
        font-size: 18px;
        line-height: 1;
        top: 25px;
        right: 10px;
        position: relative;
    }

.video-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .video-arrow i {
        color: #fff;
        font-size: 18px;
        line-height: 1;
        top: 25px;
        right: 10px;
        position: relative;
    }

/* =============================================
   VIDEO (griglia + card)
   ============================================= */

.video-section {
    background: var(--bg-mid);
}

.video-header h2 {
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 30px;
    position: relative;
}

    .video-header h2::after {
        content: "";
        display: block;
        width: 60px;
        height: 3px;
        background: var(--orange);
        margin-top: 10px;
    }
/* Griglia video (homepage e tab prodotto – unica definizione) */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.video-card {
    position: relative;
    display: block;
    transition: transform 0.3s;
}

    .video-card:hover {
        transform: translateY(-5px);
    }
/* Iframe responsive all'interno della card */
.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

    .video-wrapper iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: none;
    }

.video-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--orange);
    color: #fff;
    padding: 10px;
    font-size: 18px;
}
/* =============================================
   FOOTER
   ============================================= */

.custom-footer {
    background: var(--black);
    color: #fff;
    padding: 100px 0 10px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

    .footer-top h2 {
        font-size: 32px;
        font-weight: 800;
        text-transform: uppercase;
    }

        .footer-top h2 span {
            color: var(--orange);
        }

.newsletter-box {
    display: flex;
}

    .newsletter-box input {
        padding: 15px;
        border: none;
        width: 350px;
        background: #F1F1F1;
        color: #000;
    }

    .newsletter-box button {
        background: var(--orange);
        border: none;
        color: #fff;
        padding: 15px;
        cursor: pointer;
    }

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 120px;
}

.footer-col h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-col p {
    font-size: 16px !important;
    color: #ccc;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 10px;
}

    .footer-social a {
        background: var(--orange);
        width: 45px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
    }

.footer-bottom-custom {
    border-top: 1px solid #333;
    padding-top: 15px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 16px;
    margin-bottom: 10px;
}

    .footer-links a {
        color: #aaa;
    }

.footer-copy {
    font-size: 12px;
    color: #777;
}
/* =============================================
   PAGE TITLE (has-bg)
   ============================================= */

.s-page-title.has-bg::after {
    background: rgba(0, 0, 0, 0.5) !important;
}

.text-orange {
    color: #ef8509;
    font-weight: 700 !important;
}

.s-page-title .title-page {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: 1px;
}

.breadcrumbs-page li {
    font-size: 14px;
}
/* =============================================
   PRODUCT DETAIL
   ============================================= */

.product-title {
    font-size: 42px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
}

    .product-title::after {
        content: "";
        display: block;
        width: 80px;
        height: 4px;
        background: var(--orange);
        margin-top: 10px;
    }

.product-description {
    font-size: 16px !important;
    color: #555;
    line-height: 1.6;
}

.product-meta {
    background: var(--bg-light);
    padding: 20px;
    border-left: 4px solid var(--orange);
    margin-top: 30px;
}

    .product-meta p {
        margin: 5px 0;
        font-size: 14px !important;
    }

.product-image img {
    max-height: 400px;
    object-fit: contain;
    transition: transform 0.3s;
}

    .product-image img:hover {
        transform: scale(1.05);
    }
/* TABS */
.custom-tabs .nav-link {
    border: none;
    font-weight: 600;
    color: #000;
    margin-right: 20px;
    position: relative;
}

    .custom-tabs .nav-link.active {
        color: #000;
        font-size: 22px;
    }

        .custom-tabs .nav-link.active::after {
            content: "";
            position: absolute;
            bottom: -1px;
            left: 0;
            width: 100%;
            height: 4px;
            background: var(--orange);
        }
/* Lista check */
.lista-check {
    list-style: none;
    padding: 0;
}

    .lista-check li {
        position: relative;
        padding-left: 20px;
        margin-bottom: 12px;
    }

        .lista-check li::before {
            content: "▲";
            color: var(--orange);
            position: absolute;
            left: 0;
            font-size: 10px;
        }
/* Specifiche */
.spec-box {
    background: var(--bg-light);
    padding: 20px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 14px;
}

    .spec-item i {
        color: var(--orange);
    }
/* Form configurazione */
.form-configurazione input,
.form-configurazione textarea {
    width: 100%;
    border: none;
    background: #eee;
    padding: 12px;
    margin-bottom: 10px;
}

.form-configurazione textarea {
    height: 120px;
}
/* =============================================
   MODELLI
   ============================================= */

.models-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
}

.model-card {
    text-align: left;
}

    .model-card img {
        max-height: 220px;
        object-fit: contain;
        margin-bottom: 30px;
        width: 100%;
    }

.model-info {
    text-align: center;
}

.model-weight {
    font-size: 11px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 5px;
}

.model-info h4 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 10px;
}

.model-badge {
    background: var(--orange);
    color: #fff;
    font-size: 10px;
    padding: 3px 6px;
    position: absolute;
    top: 10px;
    left: 10px;
}
/* =============================================
   ACCESSORI
   ============================================= */

.accessori-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.accessori-grid {
    display: flex;
    gap: 40px;
    padding: 20px 60px;
    width: 100%;
    overflow: hidden;
}

.accessorio-item {
    flex: 0 0 20%;
    text-align: center;
}

    .accessorio-item img {
        height: 150px;
        object-fit: contain;
        margin-bottom: 10px;
    }

    .accessorio-item h4 {
        font-size: 16px;
        font-weight: 800;
        margin-bottom: 10px;
    }

.btn-accessorio {
    display: inline-block;
    border: 1px solid var(--orange);
    color: var(--orange);
    font-size: 12px;
    padding: 6px 12px;
    text-decoration: none;
    transition: 0.3s;
}

    .btn-accessorio:hover {
        background: var(--orange);
        color: #fff;
    }

.accessori-arrow {
    position: absolute;
    background: var(--orange);
    color: #fff;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    flex-shrink: 0;
}

    .accessori-arrow.left {
        left: 0;
    }

    .accessori-arrow.right {
        right: 0;
    }
/* =============================================
   CATEGORIE CORRELATE (card)
   ============================================= */

.category-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

    .category-card img {
        width: 100%;
        height: 300px;
        object-fit: contain;
        transition: transform 0.3s;
    }

    .category-card:hover img {
        transform: scale(1.05);
    }

    .category-card p {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 10px;
        background: rgba(0,0,0,0.6);
        color: #fff;
        font-weight: 600;
    }
/* =============================================
   AZIENDA PAGE
   ============================================= */

.azienda-section {
    background: var(--bg-light);
}

    .azienda-section p {
        font-size: 15px !important;
        color: var(--text-dark);
        line-height: 1.7;
        margin-bottom: 15px;
    }

    .azienda-section img {
        border-radius: 4px;
    }

.azienda-fiera {
    background: #fff;
    padding: 60px 0;
}

    .azienda-fiera h4 {
        font-weight: 700;
        margin-bottom: 15px;
    }

    .azienda-fiera img {
        border-radius: 6px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }
/* Presenza mondiale */
.azienda-mondo {
    background: url("../images/bg-corteccia.webp");
    padding: 80px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.world-map {
    max-width: 500px;
}

.azienda-mondo h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.numero {
    font-size: 90px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.paesi {
    color: var(--orange);
    font-weight: 700;
    letter-spacing: 1px;
}

.azienda-mondo::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('/images/texture-dark.jpg');
    opacity: 0.2;
    z-index: 0;
}

.azienda-mondo .container {
    position: relative;
    z-index: 2;
}
/* Valori */
.azienda-valori {
    background: var(--orange);
    padding: 80px 0;
}

.valore-box {
    color: #fff;
    padding: 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

    .valore-box::before {
        content: "";
        position: absolute;
        inset: 0;
        background: none;
        opacity: 0;
        transition: 0.4s;
    }

    .valore-box:hover::before {
        opacity: 1;
    }

    .valore-box:hover {
        transform: translateY(-10px) scale(1.03);
    }

    .valore-box i {
        font-size: 60px;
        margin-bottom: 15px;
        display: inline-block;
        transition: 0.4s;
    }

    .valore-box:hover i {
        transform: rotate(10deg) scale(1.2);
    }

    .valore-box h4 {
        font-size: 20px;
        font-weight: 700;
    }

    .valore-box p {
        font-size: 16px !important;
        opacity: 0.8;
    }

/* =============================================
   AZIENDA NUMERI
   ============================================= */

.azienda-numeri {
    background: #fff;
    padding: 70px 0;
}

.numero-stat {
    font-size: 64px;
    line-height: 1;
    font-weight: 900;
    color: var(--orange);
    margin-bottom: 12px;
    font-family: "Roboto Condensed", sans-serif;
}

.numero-label {
    font-size: 17px !important;
    color: var(--text-dark);
    margin: 0;
}

/* lascio .numero solo per la sezione mondo */
.azienda-mondo .numero {
    font-size: 120px;
    font-weight: 900;
    color: #fff;
    line-height: 1.4;
}
/* =============================================
   SOCIAL ICON FIX
   ============================================= */

.tf-social-icon .social-youtube::after {
    background: var(--youtube-cl);
}

.tf-social-icon .social-youtube:hover {
    color: var(--white);
}

    .tf-social-icon .social-youtube:hover::after {
        opacity: 1;
        visibility: visible;
    }

.tf-social-icon .social-linkedin::after {
    background: var(--linked_in-cl);
}

.tf-social-icon .social-linkedin:hover {
    color: var(--white);
}

    .tf-social-icon .social-linkedin:hover::after {
        opacity: 1;
        visibility: visible;
    }
/* =============================================
   STICKY SIDEBAR
   ============================================= */

.sticky-top {
    top: 90px !important;
}
/* =============================================
   MISC
   ============================================= */

.row-demo {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.demo-item .demo-img img {
    aspect-ratio: 1;
    object-fit: contain;
    height: 100px
}
/* =============================================
   RESPONSIVE — TABLET  (769px – 1200px)
   ============================================= */

@media (min-width: 769px) and (max-width: 1200px) {
    /* Slider */
    .content-box h2 {
        font-size: 40px;
    }

    .content-box p {
        font-size: 16px !important;
    }
    /* Categorie */
    .category-section .swiper-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
    /* News & Video */
    .news-grid,
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 40px;
    }
    /* Modelli */
    .models-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    /* Mappa */
    .map-box {
        width: 100%;
        right: 0;
        padding: 40px;
    }

    .map-image {
        margin-left: 0;
    }
    /* Numero azienda */
    .numero {
        font-size: 70px;
    }
}
/* =============================================
   RESPONSIVE — MOBILE  (≤ 768px)
   ============================================= */

@media (max-width: 768px) {
    /* Header */
    .box-nav-menu {
        gap: 20px;
    }

    .logo-site img {
        height: 50px;
    }
    /* Dropdown: nascosto su mobile */
    .sub-menu {
        display: none !important;
    }

    .slider-bg img {
        height: 400px;
    }

    .slider-overlay {
        width: 100%;
        left: 0;
    }

    .content-box {
        padding: 60px 20px;
        max-width: 100%;
    }

        .content-box h2 {
            font-size: 28px;
        }

        .content-box p {
            font-size: 14px !important;
        }
    /* Categorie */
    .category-section .swiper-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
    /* Mappa */
    .map-box {
        width: 100%;
        right: 0;
        padding: 30px;
        text-align: center;
    }

        .map-box h2 {
            font-size: 28px;
        }

    .map-image {
        margin-left: 0;
        margin-top: 20px;
        text-align: center;
    }
    /* Prodotti */
    .custom-card img {
        max-height: 120px;
    }

    .custom-card .name-product {
        font-size: 16px;
    }
    /* About */
    .about-text {
        text-align: center;
    }

    .about-image img {
        max-width: 250px;
        margin: 0 auto;
        display: block;
    }
    /* Stand */
    .stand-banner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .stand-events {
        grid-template-columns: 1fr;
    }
    /* News */
    .news-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
    /* Video */
    .video-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
    /* Footer */
    .footer-top {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .newsletter-box input {
        width: 100%;
    }
    /* Product detail */
    .product-title {
        font-size: 28px;
    }
    /* Modelli */
    .models-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    /* Accessori */
    .accessorio-item {
        flex: 0 0 45%;
    }
    /* Azienda */
    .section-title,
    .section-title-white {
        font-size: 26px;
    }

    .numero {
        font-size: 50px;
    }

    .world-map {
        margin-bottom: 30px;
    }

    .azienda-mondo {
        text-align: center;
    }
    /* About sezione azienda */
    .about-section .row {
        gap: 30px;
    }
}
/* =============================================
   RESPONSIVE — SMALL MOBILE  (≤ 480px)
   ============================================= */

@media (max-width: 480px) {

    .stand-video iframe {
        height: 200px;
    }

    .accessori-grid {
        padding: 20px 40px;
    }

    .accessori-arrow {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .models-grid {
        grid-template-columns: 1fr;
    }

    .news-image img,
    .video-card .video-wrapper {
        height: auto;
    }
}


#video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

    #video-bg iframe {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100%;
        height: 200%;
        transform: translate(-50%, -50%);
        pointer-events: none;
    }

.article-blog.type-space-2 .entry_name {
    margin-bottom: 12px;
    color: #111;
    font-size: 28px;
    font-weight: 600;
}

.icon-img {
    height: 60px;
}
/* DETTAGLI TECNICI - CUSTOM */

.custom-check .check-item {
    position: relative;
    padding-left: 25px;
    margin-bottom: 18px;
}

    .custom-check .check-item::before {
        content: "";
        position: absolute;
        left: 0;
        top: 6px;
        width: 0;
        height: 0;
        border-left: 10px solid var(--orange);
        border-top: 6px solid transparent;
        border-bottom: 6px solid transparent;
    }

.custom-check p {
    margin: 0;
    font-size: 15px !important;
    color: var(--text-dark);
    line-height: 1.6;
}


/* SPECIFICHE - STILE COME SCREEN */

.custom-spec {
    background: transparent;
    padding: 0;
}

.spec-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 14px;
}

    .spec-row:last-child {
        border-bottom: none;
    }

    .spec-row i {
        color: #999;
        font-size: 16px;
        min-width: 20px;
    }

    .spec-row span {
        color: #333;
    }

.mb-4 {
    margin-bottom: 1rem !important;
}

/* =============================================
   RESPONSIVE FIX COMPLETO — AGRIFOREST
   Breakpoints: 1200px (tablet large), 992px (tablet), 
                768px (mobile), 480px (mobile small)
   ============================================= */

/* =============================================
   HEADER — MOBILE / TABLET
   ============================================= */

@media (max-width: 1200px) {
    .box-nav-menu {
        gap: 24px;
    }

    .logo-site img {
        height: 55px;
    }

    .tf-btn.btn-orange {
        padding: 10px 14px;
        font-size: 14px;
    }
}

@media (max-width: 991px) {
    .slider-overlay {
        left: 0;
        width: 45%;
    }

    .header-fixed {
        height: 65px;
    }

    .logo-site img {
        height: 48px;
    }

    /* Nascondi nav desktop su tablet/mobile */
    .box-navigation.d-none.d-xl-block {
        display: none !important;
    }

    /* Il secondo header (sticky) usa lo stesso layout */
    .tf-header .header-inner_wrap {
        padding: 0 16px;
    }
}

@media (max-width: 768px) {
    .header-fixed {
        height: 60px;
    }

    .logo-site img {
        height: 42px;
    }

    .tf-btn.btn-orange {
        padding: 8px 12px;
        font-size: 13px;
    }

    /* Offcanvas mobile menu */
    .mobile-menu {
        list-style: none;
        padding: 0;
        margin: 0 0 24px;
    }

        .mobile-menu li {
            border-bottom: 1px solid #eee;
        }

            .mobile-menu li a {
                display: block;
                padding: 12px 0;
                font-size: 16px;
                color: #1D1D1B;
                text-decoration: none;
            }

        .mobile-menu .collapse li {
            border-bottom: none;
        }

            .mobile-menu .collapse li a {
                padding: 8px 0 8px 16px;
                font-size: 14px;
                color: #555;
            }

    .offcanvas-body .tf-btn.btn-orange {
        display: block;
        text-align: center;
        margin-top: 16px;
        width: 100%;
    }
}

/* =============================================
   HERO SLIDER — MOBILE / TABLET
   ============================================= */

@media (max-width: 1200px) {

    .slider-overlay {
        left: 0;
        width: 45%;
    }

    .content-box {
        padding-top: 140px;
        max-width: 360px;
    }

        .content-box h2 {
            font-size: 44px;
        }
}

@media (max-width: 991px) {

    .slider-overlay {
        left: 0;
        width: 55%;
    }

    .content-box {
        padding-top: 100px;
    }

        .content-box h2 {
            font-size: 36px;
        }

        .content-box p {
            font-size: 16px !important;
        }
}

@media (max-width: 768px) {

    .slider-overlay {
        width: 100%;
        left: 0;
        background: rgba(240, 133, 12, 0.65);
    }

    .content-box {
        padding: 80px 20px 40px;
        max-width: 100%;
    }

        .content-box h2 {
            font-size: 28px;
            line-height: 1.3;
        }

        .content-box p {
            font-size: 14px !important;
            margin-bottom: 24px;
        }

    #video-bg iframe {
        height: 300%;
    }
}

@media (max-width: 480px) {

    .content-box {
        padding: 60px 16px 30px;
    }

        .content-box h2 {
            font-size: 24px;
        }
}

/* =============================================
   SEZIONE CATEGORIE — MOBILE / TABLET
   ============================================= */

@media (max-width: 1200px) {
    .category-section .swiper-wrapper {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
}

@media (max-width: 991px) {
    .category-section .swiper-wrapper {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }

    .collection_name {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .category-section .swiper-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .collection_image {
        height: 120px;
    }

        .collection_image img {
            max-height: 120px;
        }

    .collection_name {
        font-size: 13px;
        margin-top: 6px;
    }
}

@media (max-width: 480px) {
    .category-section .swiper-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

/* =============================================
   SEZIONE MAPPA MONDO — MOBILE / TABLET
   ============================================= */

@media (max-width: 1200px) {
    .map-box {
        width: 100%;
        right: 0;
        padding: 50px 40px;
    }

        .map-box h2 {
            font-size: 38px;
        }

    .map-image {
        margin-left: -60px;
    }
}

@media (max-width: 991px) {
    .map-box {
        padding: 40px 30px;
    }

        .map-box h2 {
            font-size: 30px;
        }

    .map-image {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .map-box {
        width: 100%;
        right: 0;
        padding: 30px 20px;
        text-align: center;
        margin-bottom: 20px;
    }

        .map-box h2 {
            font-size: 26px;
            line-height: 1.3;
        }

    .map-image {
        margin: 0 auto;
        text-align: center;
    }

        .map-image img {
            max-width: 100%;
        }
}

/* =============================================
   PRODOTTI IN EVIDENZA (SWIPER CARDS)
   ============================================= */

@media (max-width: 991px) {
    .card-product_wrapper {
        aspect-ratio: 1.5;
    }

    .custom-card .name-product {
        font-size: 16px;
    }

    .custom-card p {
        font-size: 13px !important;
    }
}

@media (max-width: 768px) {
    .card-product_wrapper {
        aspect-ratio: 1;
    }

    .custom-card img {
        max-height: 140px;
    }

    .custom-card .name-product {
        font-size: 15px;
    }

    .btn-outline {
        font-size: 13px;
        padding: 6px 12px;
    }
}

/* =============================================
   SEZIONE ABOUT (HOME)
   ============================================= */

@media (max-width: 991px) {
    .about-text h2 {
        font-size: 28px;
    }

    .about-boxes .box {
        padding: 14px;
    }
}

@media (max-width: 768px) {
    .about-text {
        text-align: center;
        margin-bottom: 24px;
    }

        .about-text h2 {
            font-size: 24px;
        }

    .about-image {
        text-align: center;
        margin-bottom: 24px;
    }

        .about-image img {
            max-width: 220px;
            margin: 0 auto;
            display: block;
        }

    .about-boxes {
        margin-top: 16px;
    }
}

/* =============================================
   STAND / EVENTI — MOBILE / TABLET
   ============================================= */

@media (max-width: 1200px) {
    .stand-video iframe {
        min-width: 0;
        width: 100%;
        height: 480px;
    }
}

@media (max-width: 991px) {
    .stand-header h2 {
        font-size: 32px;
    }

    .stand-video iframe {
        height: 400px;
    }

    .stand-banner {
        max-width: 100%;
        padding: 24px 28px;
    }

    .stand-events {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .stand-header h2 {
        font-size: 26px;
    }

    .stand-header p {
        font-size: 14px !important;
        margin-bottom: 24px;
    }

    .stand-video {
        margin: 0 -15px 24px;
    }

        .stand-video iframe {
            height: 240px;
            min-width: 0;
            width: 100%;
        }

    .stand-banner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 20px;
        margin: 16px 0 24px;
    }

    .banner-content h3 {
        font-size: 20px;
    }

    .stand-events {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stand-video iframe {
        height: 200px;
    }
}

/* =============================================
   NEWS — MOBILE / TABLET
   ============================================= */

@media (max-width: 1200px) {
    .news-grid {
        padding: 0 40px;
        gap: 20px;
    }
}

@media (max-width: 991px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 20px;
        gap: 20px;
    }

    .news-header h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: fr;
        padding: 0;
        gap: 24px;
    }

    .news-image img {
        height: 220px;
    }

    .news-content h3 {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .news-image img {
        height: 180px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        padding: 0;
        gap: 24px;
    }
}

/* =============================================
   VIDEO GRID — MOBILE / TABLET
   ============================================= */

@media (max-width: 991px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .video-header h2 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* =============================================
   FOOTER — MOBILE / TABLET
   ============================================= */

@media (max-width: 1200px) {
    .custom-footer {
        padding: 70px 0 10px;
    }

    .footer-top h2 {
        font-size: 26px;
    }

    .newsletter-box input {
        width: 280px;
    }
}

@media (max-width: 991px) {
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        margin-bottom: 50px;
    }

    .footer-top {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .newsletter-box {
        width: 100%;
        justify-content: center;
    }

        .newsletter-box input {
            width: 260px;
        }
}

@media (max-width: 768px) {
    .custom-footer {
        padding: 50px 0 10px;
    }

    .footer-top {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        margin-bottom: 30px;
    }

        .footer-top h2 {
            font-size: 22px;
        }

    .newsletter-box {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0;
    }

        .newsletter-box input {
            width: 100%;
            font-size: 14px;
            padding: 12px;
        }

        .newsletter-box button {
            width: 100%;
            padding: 12px;
            font-size: 14px;
        }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
        margin-bottom: 32px;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 8px;
        align-items: center;
        text-align: center;
        font-size: 11px;
        margin-bottom: 16px;
    }

    .footer-copy {
        font-size: 11px;
        padding-bottom: 16px;
    }
}

@media (max-width: 480px) {
    .footer-top h2 {
        font-size: 20px;
    }

    .footer-col h4 {
        font-size: 14px;
    }

    .footer-col p, .footer-links a {
        font-size: 14px !important;
    }

    .footer-social a {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
}

/* =============================================
   PAGE TITLE / BREADCRUMB — MOBILE / TABLET
   ============================================= */

@media (max-width: 991px) {
    .s-page-title .title-page {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .s-page-title .title-page {
        font-size: 24px;
        letter-spacing: 0;
    }

    .breadcrumbs-page li {
        font-size: 12px;
    }
}

/* =============================================
   PRODUCT DETAIL — MOBILE / TABLET
   ============================================= */

@media (max-width: 1200px) {
    .product-title {
        font-size: 34px;
    }
}

@media (max-width: 991px) {
    .product-title {
        font-size: 28px;
    }

    .product-description {
        font-size: 14px !important;
    }

    .product-image img {
        max-height: 320px;
    }

    .icon-img {
        height: 48px;
    }
}

@media (max-width: 768px) {
    .product-title {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .product-description {
        font-size: 13px !important;
    }

    .product-image img {
        max-height: 240px;
    }

    .icon-img {
        height: 38px;
    }

    .d-flex.justify-content-center.flex-wrap.gap-3 {
        gap: 10px !important;
    }

    /* Tabs */
    .custom-tabs .nav-link {
        font-size: 13px;
        margin-right: 10px;
        padding: 8px 0;
    }

    /* Specifiche */
    .spec-row {
        font-size: 13px;
    }

    /* Form configurazione */
    .form-configurazione input,
    .form-configurazione textarea {
        font-size: 14px;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .product-title {
        font-size: 20px;
    }

    .icon-img {
        height: 32px;
    }

    .custom-tabs .nav-link {
        font-size: 12px;
        margin-right: 8px;
    }
}

/* =============================================
   MODELLI GRID — MOBILE / TABLET
   ============================================= */

@media (max-width: 1200px) {
    .models-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 28px;
    }
}

@media (max-width: 991px) {
    .models-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .model-card img {
        max-height: 180px;
    }

    .model-info h4 {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .models-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .model-card img {
        max-height: 150px;
    }

    .model-info h4 {
        font-size: 17px;
    }

    .model-info .tf-btn {
        font-size: 12px;
        padding: 8px 12px;
    }
}

@media (max-width: 320px) {
    .models-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {


    .model-card img {
        max-height: 200px;
    }
}

/* =============================================
   ACCESSORI — MOBILE / TABLET
   ============================================= */

@media (max-width: 991px) {
    .accessorio-item {
        flex: 0 0 28%;
    }

        .accessorio-item img {
            height: 120px;
        }
}

@media (max-width: 768px) {
    .accessori-grid {
        padding: 10px 44px;
        gap: 24px;
    }

    .accessorio-item {
        flex: 0 0 42%;
    }

        .accessorio-item img {
            height: 100px;
        }

        .accessorio-item h4 {
            font-size: 14px;
        }

    .btn-accessorio {
        font-size: 11px;
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {
    .accessori-grid {
        padding: 10px 40px;
        gap: 16px;
    }

    .accessorio-item {
        flex: 0 0 50%;
    }

    .accessori-arrow {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}

/* =============================================
   CATEGORIE CORRELATE — MOBILE
   ============================================= */

@media (max-width: 768px) {
    .category-card img {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .category-card img {
        height: 180px;
    }
}

/* =============================================
   SEZIONE TITOLI — MOBILE / TABLET
   ============================================= */

@media (max-width: 991px) {
    .section-title,
    .section-title-white {
        font-size: 28px;
    }

    .sect-title .s-title {
        font-size: 28px;
        margin-bottom: 28px;
    }
}

@media (max-width: 768px) {
    .section-title,
    .section-title-white {
        font-size: 22px;
    }

        .section-title::after,
        .section-title-white::after {
            width: 50px;
            height: 3px;
        }

    .sect-title .s-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
}

/* =============================================
   PAGINA AZIENDA — MOBILE / TABLET
   ============================================= */

@media (max-width: 1200px) {
    .numero-stat {
        font-size: 52px;
    }
}

@media (max-width: 991px) {
    .numero-stat {
        font-size: 44px;
    }

    .numero-label {
        font-size: 15px !important;
    }

    .azienda-mondo h3 {
        font-size: 24px;
    }

    .azienda-mondo .numero {
        font-size: 70px;
    }

    .world-map {
        max-width: 380px;
    }

    .valore-box i {
        font-size: 48px;
    }

    .valore-box h4 {
        font-size: 17px;
    }

    .valore-box p {
        font-size: 14px !important;
    }
}

@media (max-width: 768px) {
    .azienda-section p {
        font-size: 14px !important;
    }

    .numero-stat {
        font-size: 36px;
    }

    .numero-label {
        font-size: 13px !important;
    }

    .azienda-numeri {
        padding: 44px 0;
    }

    /* Mondo */
    .azienda-mondo {
        text-align: center;
        padding: 50px 0;
    }

        .azienda-mondo .numero {
            font-size: 56px;
        }

        .azienda-mondo h3 {
            font-size: 20px;
        }

    .world-map {
        max-width: 280px;
        margin: 0 auto 24px;
    }

    /* Valori */
    .azienda-valori {
        padding: 50px 0;
    }

    .valore-box {
        padding: 20px;
        text-align: center;
        margin-bottom: 8px;
    }

        .valore-box i {
            font-size: 42px;
        }

        .valore-box h4 {
            font-size: 16px;
        }

    /* Fiera */
    .azienda-fiera {
        padding: 40px 0;
    }

    /* About sezione azienda */
    .about-section .row {
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .azienda-mondo .numero {
        font-size: 48px;
    }

    .numero-stat {
        font-size: 32px;
    }

    .valore-box i {
        font-size: 36px;
    }
}

/* =============================================
   ROW-DEMO (MENU DROPDOWN) — NON MOSTRATO SU TABLET/MOBILE
   ============================================= */

@media (max-width: 1200px) {
    .row-demo {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

@media (max-width: 991px) {
    .row-demo {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

/* =============================================
   FLAT-SPACING — PADDING VERTICALE ADATTIVO
   ============================================= */

@media (max-width: 991px) {
    .flat-spacing {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

@media (max-width: 768px) {
    .flat-spacing {
        padding-top: 36px;
        padding-bottom: 36px;
    }
}

@media (max-width: 480px) {
    .flat-spacing {
        padding-top: 28px;
        padding-bottom: 28px;
    }
}

/* =============================================
   UTILITY — OVERFLOW & CONTAINER
   ============================================= */

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Assicura che nessuna sezione sfori */
    section {
        overflow-x: hidden;
    }
}

.tf-header .header-inner_wrap {
    padding: 20px 0; /* aumenta o diminuisci qui */
}

@media (max-width: 1199px) {
    body {
        padding-bottom: 0;
    }
}
/* BOX CONFIGURATORE */
.configuratore-box {
    text-align: center;
}

/* TITOLO ARANCIONE */
.configuratore-title {
    display: block;
    background: linear-gradient(180deg, #f39c12, #d97706);
    color: #000;
    font-weight: 800;
    padding: 14px;
    border-radius: 10px;
    font-size: 18px;
    margin-bottom: 15px;
    text-align: center;
    text-decoration: none;
    box-shadow: inset 0 1px 0 #fff, 0 3px 6px rgba(0,0,0,0.3);
    transition: all 0.2s ease;
}

    .configuratore-title:hover {
        transform: translateY(-2px);
        box-shadow: inset 0 1px 0 #fff, 0 5px 10px rgba(0,0,0,0.4);
        color: #000;
    }


/* BOTTONI GENERICI */
.btn-config {
    display: inline-block;
    background: linear-gradient(180deg, #f2f2f2, #cfcfcf);
    padding: 10px 18px;
    border-radius: 8px;
    color: #000;
    font-weight: 600;
    text-decoration: none;
    box-shadow: inset 0 1px 0 #fff, 0 2px 4px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
}

    .btn-config:hover {
        transform: translateY(-2px);
        box-shadow: inset 0 1px 0 #fff, 0 4px 8px rgba(0,0,0,0.3);
        background: #e6890c;
    }

/* DOWNLOAD PIÙ GRANDE */
.btn-download {
    padding: 10px 20px;
}

/* GRUPPO BOTTONI */
.configuratore-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

#video-bg iframe {
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.widget-collection {
    display: grid;
    gap: 12px;
}

.header-actions {
    gap: 18px;
}

.header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .header-icon img {
        display: block;
        max-height: 42px;
        width: auto;
    }

.sub-menu {
    min-width: max-content;
}

.sub-menu_link {
    font-size: 15px
}

.article-blog .entry_image img {
    object-fit: contain;
    width: 100%;
    max-height: 350px;
}

.cfg-content {
    width: 100%;
}

.cfg-type-bar {
    flex-wrap: wrap;
    gap: 25px;
}

.cfg-card.consigliato::before{
    content:none!important
}

#cfg-form .cfg-form-field {
    width: 100%;
    color: #333;
    font-family: inherit;
    font-size: 12px !important;
    font-weight: 400;
}

    #cfg-form .cfg-form-field::placeholder {
        color: #b8c2d8;
        opacity: 1;
    }

    /* Compatibilità browser */
    #cfg-form .cfg-form-field::-webkit-input-placeholder {
        color: #b8c2d8;
        opacity: 1;
    }

    #cfg-form .cfg-form-field::-moz-placeholder {
        color: #b8c2d8;
        opacity: 1;
    }