/*!
Theme Name: Artebit
Theme URI: https://www.artebit.net/
Author: Artebit
Author URI: https://www.artebit.net/
Description: A basic starter theme for WP made well
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: artebit
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/


body {
    color: #555;
    font-family: "Open Sans", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    font-size: 1rem
}

.altfont, h1, h2, h3, h4 {
    font-family: Roboto, sans-serif;
    font-weight: 700;
    color: #110707
}

h2 {
    font-size: 3.2rem;
    line-height: 3.4rem
}

a {
    text-decoration: none
}

.mySwiper .swiper-slide {
    height: 560px;
    position: relative;
    font-size: 1rem;
    font-weight: 400
}

.mySwiper .swiper-slide a {
    height: 560px;
    display: block
}

.mySwiper .swiper-slide .titolo_ {
    font-weight: 600;
    font-size: 54px;
    font-family: Roboto, sans-serif
}

.navbar_main {
    background-color: #e2e2e2
}

.bt_ountline {
    border: 2px solid #fff;
    color: #fff;
    display: inline-block;
    background: 0 0;
    text-decoration: none;
    border-radius: 3px;
    fill: #fff;
    font-size: 15px;
    line-height: 1;
    padding: 12px 24px;
    text-align: center;
    transition: .3s
}

a.bt_blu_grande, a.bt_blu_piccolo,button.bt_blu_grande, button.bt_blu_piccolo, p.bt_blu_grande a, p.bt_blu_piccolo a {
    border: none;
    color: #fff !important;
    background: #29ABE2;
    text-decoration: none;
    border-radius: 3px;
    line-height: 1;
    padding: 12px 24px;
    text-align: center;
    transition: .3s;
    font-family: "Roboto", Sans-serif;
    font-size: 25px;
    font-weight: 500;
}

a.bt_blu_grande:hover, a.bt_blu_piccolo:hover,button.bt_blu_grande:hover, button.bt_blu_piccolo:hover, p.bt_blu_grande a:hover, p.bt_blu_piccolo a:hover {
    background-color: #0E72B4;
    color: #fff !important;
}

a.bt_blu_piccolo, button.bt_blu_piccolo, p.bt_blu_piccolo a {
    font-size: 18px;
    padding: 8px 16px;
}

.sf_white {
    background-color: #F0F0F0;
}

.sf_white h3 {
    font-size: 24px;
    font-weight: 500;
    color: #2476C2;
}

.sf_white ul {
    list-style: none;
}

.sf_white ul li {
    margin-bottom: 5px;
}

.sf_blu.list_line ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sf_blu.list_line li {
    font-size: 17px;
    text-align: center;
}

.sf_blu.list_line li:after {
    content: " ";
    display: block;
    margin: 15px auto;
    width: 60px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
}

.sf_blu.list_line li:last-child:after {
    display: none;
}

.sf_blu {
    background-color: #0E72B4;
    color: #fff;
    text-align: justify;
    font-size: 18px;
    line-height: 28.8px;
}

.sf_blu a {
    color: #84cae7;
}

.sf_blu h1 {
    font-family: "Roboto", Sans-serif;
    font-size: 30px;
    font-weight: 500;
    color: #FFFFFF;
}

.sf_blu h2 {
    font-family: "Roboto", Sans-serif;
    font-size: 24px;
    font-weight: 500;
    color: #FFFFFF;
}

body .iubenda-tp-alert-btn[data-tp-float][data-tp-float=bottom-right], body .iubenda-tp-alert-btn[data-tp-float][data-tp-float=top-right], body .iubenda-tp-btn[data-tp-float][data-tp-float=bottom-right], body .iubenda-tp-btn[data-tp-float][data-tp-float=top-right], body .iubenda-uspr-btn[data-tp-float][data-tp-float=bottom-right], body .iubenda-uspr-btn[data-tp-float][data-tp-float=top-right] {
    right: auto !important;
    left: 0 !important
}

.hero-text {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 2.2s, transform 1.2s
}

.swiper-slide-active .hero-text {
    opacity: 1;
    transform: translateY(0)
}

.logo {
    width: 150px
}

.swiper-button-next, .swiper-button-prev {
    color: #fff;
    font-weight: 700;
    transition: opacity .3s;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    opacity: .7
}

.swiper-button-prev {
    left: 10px
}

.swiper-button-next {
    right: 10px
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 25px
}

#navbarMain a.nav-link {
    display: inline-block;
    border-right: 1px solid #ccc;
    padding-right: 18px;
    margin-right: 10px;
    font-size: 18px;
    font-weight: 500;
    color: #666;
}

#navbarMain li._contact a.nav-link {
    margin-left: 10px;
    background-color: #78bfe3;
    padding: 8px 15px;
    border-radius: 3px;
    color: #fff;
}

.icon_top {
    font-size: 28px;
}

.icon_top a {
    color: #333;
    display: inline-block;
    margin-right: 25px;
}

.icon_top a:last-child {
    margin-right: 0;
}


#navbarMain a.nav-link:hover, #navbarMain a.nav-link.active {
    color: #0071bc;
}

#navbarMain a.nav-link.active {
    font-weight: 700;
}



.navbar.navbar-gradient.navbar_fixed.active {
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, .9) 0, rgba(255, 255, 255, .7) 100%) !important;
    border-bottom: 1px solid #eee
}

.bt_top a, .btn.btn-outline-warning {
    color: #fff;
    background: rgba(151, 130, 113, .92);
    border: none !important
}

.bt_top a:hover, .btn.btn-outline-warning:hover {
    background: #978271;
    border: none !important
}

.bt_top a {
    padding: 8px 16px 6px !important;
    border-radius: 4px;
    color: #fff
}

.bt_top a:hover {
    background: #342d26;
    color: #fff
}

.altfont {
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666
}


.max_w {
    max-width: 600px;
    padding-left: 15px;
    margin-top: 25px
}

body {
    color: #666
}

.btn.btn-info {
    border: none;
    padding: 0;
    background-color: transparent;
    font-size: 18px;
    color: #978271;
    text-transform: uppercase;
    font-family: "Playfair Display", serif;
    letter-spacing: 1px;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: .3s
}

.btn.btn-info:hover {
    color: #000;
    transition: .3s
}

.btn.btn-info svg {
    width: 25px;
    height: 25px;
    margin-right: 9px;
    transition: .3s
}

.btn.btn-info:hover svg {
    transition: .3s;
    transform: translateX(5px)
}

.reveal-text {
    opacity: .25;
    will-change: opacity
}

.slide-up-box {
    will-change: transform
}

.img_abs_sf {
    margin-top: -400px;
    opacity: .11;
    position: absolute;
    left: -100px;
    top: 0
}

.accordion-item .accordion-body {
    padding-bottom: 40px
}

.accordion-item button.accordion-button {
    border: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    font-size: 60px;
    font-weight: 300;
    color: #978271;
    padding-bottom: 40px;
    padding-top: 30px
}

.accordion-item {
    border: none !important;
    border-bottom: 1px solid #dee2e6 !important
}

.accordion-item:last-child {
    border-bottom: none !important
}

.accordion-item .accordion-body h2 {
    font-family: "Noto Sans Syriac", sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    line-height: 26px;
    margin-top: 30px
}

.accordion-item .accordion-body ul {
    list-style: none;
    padding-left: 15px
}

.accordion-item .accordion-body ul li::before {
    content: "•";
    color: #978271;
    font-weight: 700;
    display: inline-block;
    width: 1em;
    margin-right: 4px
}

.btn.btn-primary {
    background-color: #978271;
    border-color: #978271
}

.accordion-item .accordion-body ul li {
    margin-bottom: 8px
}

.parallax-section {
    position: relative;
    min-height: 50vh;
    width: 100%;
    overflow: hidden;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, .2);
    z-index: 0
}

.parallax-section .text-white {
    color: #000 !important
}

@media (max-width: 768px) {
    .parallax-section {
        background-attachment: scroll
    }
}

.map-container {
    width: 100%;
    height: 450px;
    overflow: hidden;
    filter: grayscale(100%) invert(0) contrast(123%)
}

.map-container iframe {
    width: 100%;
    height: 100%
}

.gallery_luoghi figure {
    position: relative;
    overflow: hidden;
    border-radius: 3px;
    width: 100%;
    filter: grayscale(100%) brightness(1.5);
    transition: filter .5s ease-in-out, transform .3s;
    will-change: filter
}

.gallery_luoghi figure:hover {
    filter: grayscale(0) brightness(1)
}

.gallery_luoghi figure img {
    display: block;
    opacity: 0;
    pointer-events: none
}

.photos-grid {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 16px
}

.photo {
    overflow: hidden;
    border-radius: 12px
}

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

.photo.is-portrait {
    aspect-ratio: 3/4
}

.photo.is-landscape {
    aspect-ratio: 4/3
}

.photo.is-square {
    aspect-ratio: 1/1
}

@media (max-width: 768px) {
    .photos-grid {
        grid-template-columns:1fr
    }
}

.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp {
    background: 0 0;
    padding: 10px;
    border-radius: 10px;
    max-width: 260px
}

.dgwt-wcas-search-wrapp {
    max-width: 260px !important
}

/* Rimuove i margini e i float nativi che disturbano Swiper */
.swiper-prodotti-home .products {
    display: flex !important;
    margin: 0 !important;
}

.swiper-prodotti-home .swiper-slide {
    height: auto; /* Per uniformare l'altezza delle card */
}

/* Fix per i prodotti WooCommerce che hanno larghezze percentuali fisse */
.swiper-prodotti-home .swiper-slide li.product {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

.swiper-prodotti-home .swiper-slide .add_to_cart_button, .swiper-prodotti-home .swiper-slide .price, .swiper-prodotti-home .swiper-slide .en_stok_loop, .swiper-prodotti-home .wlfmc-add-button.wlfmc-addtowishlist {
    display: none !important;
}

.woocommerce ul.products li.product a img {
    width: auto;
    padding: 3px;
    background: #fff;
    margin: 0 !important;
}

.woocommerce ul.products li.product a img.emoji {
    margin: 0 0px 0 6px !important;
}


.swiper-prodotti-home .woocommerce-loop-product__title {
    background: #f5f7fd;
    font-weight: 400;
    font-size: 14px !important;
    text-align: center;
    padding: 8px 12px !important;
    line-height: 1.4;
    border-radius: 0 0 10px 10px;
    min-height: 60px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-prodotti-home .berocket_better_labels.berocket_better_labels_image {
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #f5f7fd;
}

.swiper-prodotti-home div.br_alabel > span {
    display: block;
    line-height: 74px !important;
    height: 50px !important;
    width: 100px !important;
    left: -35pX;
    top: -8px;
    right: auto;
    padding: 0;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.line_brand {
    display: flex;
    align-items: center;
}

.line_brand figure {
    margin: 0;
    padding: 0 20px;
}

.line_brand h3 {
    margin-right: 30px;
    margin-bottom: 0;
    white-space: nowrap;
}

.line_brand img {
    width: 100%;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt {
    background-color: #0071bc !important;
    color: #fff !important;
    transition: all 0.4s;
}


.loop_woo a.add_to_cart_button {
    background-color: #0071bc;
    color: #fff;
    position: absolute;
    width: 94%;
    left: 0;
    bottom: -220px;
    margin: 0 3%;
    opacity: 0;
    transition: all 0.4s;
}

.checkout-button.button,#cModal button {
    background-color: #0071bc !important;
    color: #fff !important;
    transition: all 0.4s;
}

#cModal button {
    padding:6px 12px;
    border:none;
    margin-top:12px;
    border-radius:4px;
}

.loop_woo a.add_to_cart_button:hover, .checkout-button.button:hover,#cModal button:hover {
    background-color: #054d7c !important;
    color: #fff !important;
}

.loop_woo .woocommerce ul.products li.product:hover h2.woocommerce-loop-product__title {
    transition: all 0.22s;
    position: relative;
    z-index: 999;
    margin-top: -50px;
    background-color: #fff;
}


.loop_woo .woocommerce ul.products li.product {
    text-align: center;
    position: relative;
    overflow-y: hidden;
}

.loop_woo .woocommerce ul.products li.product:hover a.add_to_cart_button {
    display: inline-block !important;
    opacity: 1;
    transition: all 0.4s;
    width: 90%;
    left: 0;
    bottom: 20px;
    margin: 0 5%;
}

.loop_woo .woocommerce ul.products li.product:hover a.add_to_cart_button.added {
    display: none !important;
}

.woocommerce ul.products li.product .button {
    margin-top: 10px;
}

.loop_woo a, .single_prod a {
    color: #333;
    text-decoration: none !important;
}

.loop_woo a .price, .single_prod .price {
    font-size: 20px !important;
    display: inline-block;
    text-align: center;
}


.single_prod .single_add_to_cart_button.button {
    background-color: #065f9c !important;
}

.single_prod .single_add_to_cart_button.button:hover {
    background-color: #06446e !important;
}

.loop_woo a .price del bdi, .single_prod .price del bdi {
    color: #777;
}

.single_prod .wcpbc-price {
    color: #333 !important;
    font-size: 22px;
    display: inline-block;
    margin: 30px 0;
}

.single_prod .wcpbc-price ins {
    text-decoration: none !important;
}

.single_prod .product_meta > span {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
}

.single_prod .product_meta > span a {
    color: #065f9c !important;
}

.single_prod .stock {
    margin-top: 30px;
    color: #29abe2 !important;
}

.single_prod .stock.in-stock {
    color: #29abe2 !important;
}

.single_prod .stock.available-on-backorder {
    color: #29abe2 !important;
}

.single_prod {
    background: #fafafa;
}

.single_prod h1 {
    font-family: "Roboto", Sans-serif;
    font-size: 22px;
    font-weight: 600;
}


.loop_woo h2.woocommerce-loop-product__title {
    font-size: 14px;
    line-height: 18px;
    font-weight: 400;
    text-align: center;
    margin-top: 10px;
    min-height: 53px;
    transition: all 0.22s;
}

.loop_woo h2.woocommerce-loop-product__title span {
    font-family: "Roboto Condensed", Sans-serif;
    font-size: 15px;
    font-weight: 400;
}

.woocommerce ul.products li.product .star-rating {
    display: none;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none;
}

.loop_woo .woocommerce ul.products li.product {
    box-shadow: rgba(99, 99, 99, 0.1) 0px 2px 8px 0px;
    padding: 20px;
    border-radius: 8px;
}

.loop_woo .berocket_better_labels_position.berocket_better_labels_position_left {
    margin: 6px 0 0 6px;
}

.footer_top {
    background-color: #000;
    color: #ccc;
    font-size: 14px;
}

.footer_top a {
    color: #ccc;
}

.footer_top p {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 17px;
    color: #fff;
    margin-bottom: 20px;
}

.footer_top ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer_top ul li {
    margin-bottom: 6px;
}

.footer_top .social a {
    color: #fff;
    display: inline-block;
    font-size: 40px;
    margin-right: 8px;
}

.footer_top .newsletter input, .footer_top .newsletter button {
    width: 100%;
    padding: 10px;
    background-color: #eee;
    border: none;
    border-radius: 2px;
    color: #000;
}

.footer_top .newsletter button {
    background-color: #fff;
}

.footer_top .newsletter form {
    border-top: 1px solid #555;
    padding-top: 30px;
}

.footer_bottom {
    background-color: #2b2b2b;
    color: #ccc;
}

.footer_bottom svg {
    width: 40px;
    margin-right: 5px;
    fill: #fff;
    color: #fff;
}

.t_big {
    font-size: 18px;
}

.home-custom-grid ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px 20px !important;
    margin: 20px 0 !important;
    padding: 0 !important;
}

/* Reset per i temi che usano float o larghezze fisse */
.home-custom-grid ul.products::before,
.home-custom-grid ul.products::after {
    display: none !important;
}

.home-custom-grid ul.products li.product {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

@media (max-width: 992px) {
    .home-custom-grid ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

.page-header-top {
    background-color: #0071bc;
    padding: 36px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header-top h1 {
    text-transform: uppercase;
    color: #fff;
    font-size: 54px;
    text-align: center;
}

.custom-blog-grid {
    display: grid;
    grid-template-columns: 1;
    gap: 20px;
    margin: 20px 0;
}

.blog-item {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Immagine */
.blog-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.blog-thumb:hover img {
    transform: scale(1.05);
}

/* Titolo */
.blog-title {
    padding: 15px 15px 5px;
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.4;
    min-height: 60px; /* Uniforma come abbiamo fatto per i prodotti */
    display: flex;
    align-items: center;
}

.blog-title a {
    text-decoration: none;
    color: #333;
}

/* Bottone */
.blog-button-wrapper {
    padding: 15px;
    margin-top: auto; /* Spinge il bottone sempre in fondo */
}

.blog-button {
    display: inline-block;
    background-color: #000; /* Cambia con il tuo colore */
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    width: 100%;
}

/* Responsive */
@media (max-width: 1024px) {
    .custom-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .custom-blog-grid {
        grid-template-columns: 1fr;
    }
}

:root {
    --filter-primary: #222;
    --filter-accent: #0073aa; /* Colore check/bordi */
    --filter-bg: #f9f9f9;
}

.product-filter {
    display: flex;
    flex-direction: column;
}

.filter-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 16px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 16px;
}

.filter-group {
    margin-bottom: 30px;
}

/* Gestione Checkbox Desktop */
.filter-options.desktop-only {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    transition: color 0.2s;
    margin-bottom: 10px;
}

.filter-checkbox input {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: var(--filter-accent);
    border-color: #ddd;
}

.filter-checkbox:hover {
    color: var(--filter-accent);
}

/* Gestione Select Mobile */
.mobile-only select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: white;
}

/* Logica di visualizzazione Responsive */
.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }

    .desktop-only {
        display: none;
    }

    .product-filter {
        flex-direction: row; /* Se vuoi i filtri affiancati su mobile */
        flex-wrap: wrap;
        gap: 15px;
    }

    .filter-group {
        flex: 1 1 calc(50% - 15px); /* Due colonne su mobile */
    }
}

.filter-actions {
    padding-top: 15px;
}

.reset-button {
    background: transparent;
    border: 1px solid #999;
    color: #666;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 13px;
    border-radius: 4px;
    width: 100%; /* Su mobile occupa tutto lo spazio */
    transition: all 0.2s;
}

.reset-button:hover {
    background: #666;
    color: #fff;
}

.shop-toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

#filter-orderby {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
}

.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    margin-bottom: 20px;
}

.promo-button {
    background: #fff;
    border: 2px solid #e52e2e;
    color: #e52e2e;
    padding: 7px 15px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.promo-button.is-active {
    background: #e52e2e;
    color: #fff;
    box-shadow: 0 0 10px rgba(229, 46, 46, 0.4);
}

.promo-button:hover {
    transform: scale(1.05);
}

.icon_prodotto svg {
    width: 56px;
    margin-right: 7px;
    fill: #7A7A7A;
}

.woocommerce-tabs.wc-tabs-wrapper {
    padding-top: 40px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    border: 1px solid #cbd5e0;
    background-color: #f7fafc;
    color: #515151;
    display: inline-block;
    position: relative;
    z-index: 0;
    border-radius: 4px 4px 0 0;
    margin: 0 3px;
    padding: 0 1em;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li:before, .woocommerce div.product .woocommerce-tabs ul.tabs li:after {
    display: none;
}

.woocommerce div.product .woocommerce-tabs .panel h2:first-child {
    display: none;
}

.woocommerce div.product .woocommerce-tabs .panel h3, .woocommerce div.product .woocommerce-tabs .panel h2 {
    font-size: 22px;
    margin-top: 30px;
}

.related.products h2 {
    font-size: 24px;
    padding-bottom: 10px;
}

.related.products .woocommerce-loop-product__title, .related.products .price {
    background-color: #fff;
}

.cart-contents {
    position: relative;
}

.cart-contents .cart-count {
    background-color: #d9534f;
    color: #fff;
    font-size: 12px;
    width: 18px;
    height: 18px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    position: absolute;
    right: -10px;
}

.shop_table.cart.woocommerce-cart-form__contents {
    margin-top: 40px;
}

.shop_table.cart.woocommerce-cart-form__contents a {
    color: #333;
}

.shop_table.cart.woocommerce-cart-form__contents button {
    background-color: #edf2f7;
    font-weight: 400;
}

.woocommerce #content table.cart td.actions .input-text, .woocommerce table.cart td.actions .input-text, .woocommerce-page #content table.cart td.actions .input-text, .woocommerce-page table.cart td.actions .input-text {
    width: 110px;
}

.woocommerce table.shop_table td {
    padding: 14px 12px;
}

.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals {
    float: none;
    width: 100%;
}

.woocommerce .cart-collaterals .cart_totals h2, .woocommerce-page .cart-collaterals .cart_totals h2 {
    font-size: 24px;
}

.info-box-tva-wrap {
    background-color: #FFFDCF;
    height: 54px;
    overflow-y: hidden;
}


.info-box-tva {
    padding: 15px;
    font-size: 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.tva-label {
    color: #0066AC;
    font-weight: 700;
    font-size: 16px;
}

.typewriter-text {
    display: inline-block;
    overflow: hidden; /* Nasconde il testo che non è ancora "scritto" */
    white-space: nowrap; /* Impedisce al testo di andare a capo durante l'animazione */
    margin: 0;
    width: fit-content;
    max-width: 0;
    font-weight: 500;
    color: #29abe2;
    /* Animazione:
       - typing: scrive il testo
       - blink-caret: fa lampeggiare il cursore
    */
    animation: typing 5s steps(72, end) infinite alternate,
    blink-caret .75s step-end infinite;
}

/* Effetto Scrittura */
@keyframes typing {
    from {
        max-width: 0;
    }
    to {
        max-width: 100%;
    }
}

@keyframes blink-caret {
    50% {
        border-color: transparent;
    }
}

/* Effetto Cursore Lampeggiante */
@keyframes blink-caret {
    from, to {
        border-color: transparent
    }
    50% {
        border-color: #222;
    }
}

/* Responsive: su mobile l'effetto potrebbe tagliare il testo se troppo lungo */
@media (max-width: 768px) {
    .typewriter-text {
        white-space: normal; /* Permette il ritorno a capo */
        border-right: none; /* Rimuove il cursore per evitare glitch visivi */
        animation: none; /* Opzionale: disattiva l'animazione su mobile per leggibilità */
    }
}

.checkout.woocommerce-checkout h3 {
    font-size: 20px;
    margin-top: 20px;
}

.woocommerce form .form-row .input-text, .woocommerce form .form-row select,
:where(.woocommerce) .select2-container .select2-dropdown, :where(.woocommerce) .select2-container .select2-selection {
    border-color: #ddd;
    padding: 10px 12px;
}

.woocommerce-result-count,.woocommerce-ordering {
    display: none;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) ul.products li.product .price {
    color: #333;
}

#cModal label {

}

#cModal  input, #cModal  textarea {
   display: block;
    padding: 8px 14px;
    border: 1px solid #ccc;
    width: 100%;
    margin-bottom:8px;
    border-radius:4px;
}

.box_blu {
    padding:10px 16px;
    background-color:#2e76af;
    color:#fff;
}