@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter/Inter.ttf') format('truetype');
    font-display: swap;
    font-style: normal;
    font-weight: 0 900;
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope/Manrope.ttf') format('truetype');
    font-display: swap;
    font-style: normal;
    font-weight: 0 900;
}

@font-face {
    font-family: 'DMSerifDisplay';
    src: url('../fonts/dmserifdisplay/DMSerifDisplay.ttf') format('truetype');
    font-display: swap;
    font-style: normal;
    font-weight: 400;
}

:root {
    --font-heading: 'Manrope', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    font-family: var(--font-body);
}

button,
input,
textarea,
select {
    font-family: inherit;
}


.page-title.style-2 .paralaximg{
    min-height: 400px;
}

.cls-item .image.no-circle{
    width: auto;
    height: auto;
    border-radius: 0;
}

input[type=checkbox]{
    height: auto;
    margin-right: 5px;
}

.container.map {
    border-radius:28px;
}

.max-3-lines{
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.subitems{
    font-size: 14px;
    /* Tree-like sub-menu indentation + connector line */
    --subitems-line-color: var(--line);
    --subitems-line-width: 1px;
    --subitems-line-left: 6px;
    --subitems-padding-left: 18px;

    padding-left: var(--subitems-padding-left);
    position: relative;
}

.subitems li{
    margin-bottom: 6px !important;
    position: relative;
}

/* vertical line for the whole subitems block */
.subitems::before{
    content: "";
    position: absolute;
    left: var(--subitems-line-left);
    top: 0.2em;
    bottom: 0.2em;
    width: var(--subitems-line-width);
    background: var(--subitems-line-color);
    opacity: 0.9;
    pointer-events: none;
}

/* horizontal connectors from the vertical line to each item */
.subitems > li::before{
    content: "";
    position: absolute;
    left: var(--subitems-line-left);
    top: 0.9em;
    width: calc(var(--subitems-padding-left) - var(--subitems-line-left));
    height: var(--subitems-line-width);
    background: var(--subitems-line-color);
    opacity: 0.9;
    pointer-events: none;
}

.category-description{
    border:  1px solid  var(--line);
    border-radius: 28px;
    padding: 28px;
}

.tf-product-media-main .item img{
    aspect-ratio: 1/1;
    width: 100%;
    height: auto;
}

.icon-pdf > svg{
    color: #fff;
    fill: #fff;
    font-size: inherit;
}

.box-nav-ul .sub-menu{
    min-width: 300px;
}

#product-detail .card-product .card-product-wrapper img,
#product-archive .card-product .card-product-wrapper img{
    display: block;
    height: 100%;
    width: 100%;
    object-fit: contain;
    aspect-ratio: 1 / 1;
}

#search-form-overlay{
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9998;
}

.search-form{
    z-index: 9999;
}

.search-form input{
    min-width: 60vw;
}

#search-form-overlay.active{
    display: flex;
}

#search-form-close{
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 32px;
    cursor: pointer;
    color: #fff;
}

@media screen and (max-width: 768px){
    .search-form input{
        min-width: 90vw;
    }
}

/* Categories: Swiper-like horizontal drag */
.tf-categories-swiper.wrap-categories{
    display: block; /* override theme flex on .wrap-categories */
    overflow: hidden; /* Swiper expects hidden overflow on container */
}

.tf-categories-swiper .swiper-slide{
    height: auto;
}

#footer .footer-menu_item{
    color: #fff;
}

#news-insight-home .relatest-post-item .image a{
    height: 100%;
}

#news-insight-home .relatest-post-item .image img{
    height: 100%;
    object-fit: cover;
}

.catalogo-categorie .active{
    text-decoration: underline;
}

.blog-detail-wrap .image-wrap.centered{
    display: flex;
    justify-content: center;
}

.categories-item:not(.categories-item.style-3).style-2 .img-style.quadrato{
    border-radius: 8px;
}

.btn-whatsapp{
    background-color: #25d366;
    color: #fff;
}

.btn-black{
    background-color: #000;
    color: #fff;
}

.gallery-card img{
    border-radius: 8px;
}

.custom-bg-dark{
    background-color: #1f1f1f;
}
.custom-bg-dark h3,
.custom-bg-dark p{
    color: #fff !important;
}

.btn-white{
    background-color: #fff;
    color: #1f1f1f;
}

.title-categories{
    font-size: 18px;
    font-weight: 400;
}

.menu-item .item-link{
    font-weight: 500;
}

.header-right{
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 32px;
}

.tf-slideshow.style-default .box-content.bigger{
    max-width: 768px;
}

.slide-microcopy{
    font-size: 12px;
    line-height: 18px;
}

@media screen and (max-width: 768px){
    .slide-title{
        font-size: 30px;
    }
    .slide-desc{
        font-size: 14px;
    }
    .tf-slideshow .wrap-slider {
        height: 450px;
    }
}

ul.list-circle {
    list-style-type: circle;
    margin-block-start: 15px;
    margin-block-end: 15px;
    padding-inline-start: 15px;
}

ul.list-circle li {
    list-style-type: circle;

}

/* START: Brand Slider*/

.brands-swiper {
    width: 100%;
    overflow: hidden;
}

.brands-swiper .swiper-wrapper {
    align-items: stretch;
}

.brands-swiper .swiper-slide {
    height: auto;
}

.brand-card {
    background: #f7f7f5;
    border-radius: 16px;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.brand-card:hover {
    transform: translateY(-3px);
}

.brand-logo {
    display: block;
    width: 100%;
}

.brands-pagination {
    position: static;
    margin-top: 28px;
}

.brands-pagination .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    opacity: 0.25;
    background: #000;
}

.brands-pagination .swiper-pagination-bullet-active {
    opacity: 1;
}

@media (max-width: 991px) {
    .brand-card {
        padding: 22px 26px;
    }

}
/* END: Brand Slider*/

/* START: Light CTA*/
.cta-light-section {
    background: #fff;
}

.cta-light-box {
    background: #f7f7f5;
    border-radius: 24px;
    padding: 56px 64px;
    gap: 32px;
}


.btn-outline-dark {
    background: transparent;
    color: #000;
    border: 1px solid rgba(0, 0, 0, 0.18);
}

.btn-outline-dark:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

@media (max-width: 767px) {
    .cta-light-box {
        padding: 36px 24px;
        border-radius: 18px;
    }

    .cta-light-actions {
        width: 100%;
    }

    .cta-light-actions .tf-btn {
        width: 100%;
        justify-content: center;
    }
}
/* END: Light CTA*/

.page-title .paralaximg{
    background-position: right !important;
}

.product-description{
    font-size: 13px;
    line-height: 1.3;
}

.bigger-spacing li{
    margin-bottom: 10px;
}

@media screen and (max-width: 768px){
    .sub-nav-menu a{
        font-size: 14px;
    }
}

#mobile-toolbar.hidden{
    display: none;
}

.tf-product-info-desc{
     ul {
        margin-top: 0;
        margin-bottom: 1rem;
        padding-left: 1rem;
         list-style-type: circle;
         color: var(--Secondary);
    }
    li {
        list-style-type: circle;
    }
}

.blog-detail-wrap .content h2{
    margin: 0.5em 0 0.3em;
}

.relatest-post-item.style-row.style-2 .content {
    justify-content: center;
}

.img-icon-hover {
    transition: filter 0.3s ease;
}

.img-icon-hover:hover {
    filter: brightness(0) saturate(100%) invert(48%) sepia(9%) saturate(663%) hue-rotate(349deg) brightness(91%) contrast(86%);
}

.testimonial-item .text-onsurface{
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-faqs{
    max-width: 970px;
    margin: 0 auto;
    padding: 0 60px;
}

@media (max-width: 991px) {
    .blog-faqs {
        padding: 15px 15px 0;
    }
}



.tf-timeline {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
}

.tf-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    left: 135px;
    width: 1px;
    height: 100%;
    background: #ddd8ce;
}

.tf-timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 45px;
    padding: 0 0 42px;
}

.tf-timeline-item:last-child {
    padding-bottom: 0;
}

.tf-timeline-year {
    position: relative;
    padding-top: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #7a6548;
}

.tf-timeline-year::after {
    content: "";
    position: absolute;
    top: 16px;
    right: 28px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #7a6548;
    box-shadow: 0 0 0 8px #efede7;
}

.tf-timeline-content {
    position: relative;
    padding: 36px;
    border-radius: 20px;
    background: #f7f7f5;
}
.tf-strength-card {
    height: 100%;
    padding: 38px 32px;
    border-radius: 20px;
    background: #f7f7f5;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tf-strength-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(34, 34, 32, 0.08);
}

.tf-strength-icon {
    margin-bottom: 24px;
    width: 72px;
    height: 72px;
}

@media (max-width: 767px) {
    .tf-timeline {
        margin-top: 45px;
    }

    .tf-timeline::before {
        left: 8px;
    }

    .tf-timeline-item {
        grid-template-columns: 1fr;
        gap: 16px;
        padding-left: 34px;
    }

    .tf-timeline-year {
        padding-top: 0;
    }

    .tf-timeline-year::after {
        left: -32px;
        right: auto;
        top: 5px;
    }

    .tf-timeline-content {
        padding: 28px 24px;
    }
}

.mt_40{
    margin-top: 40px;
}

.heading-section.spacing-5{
    gap: 32px;
}

@media screen and (max-width: 768px){
    #home-hero-slider .wrap-slider{
        border-radius: 0 !important;
    }
}

