﻿/*------------------------------------------
	uri: http://www.offique.com, v.1
------------------------------------------*/
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: "Inter", sans-serif;
            line-height: 1.6;
            color: #333;
            overflow-x: hidden;
        }
        :root {
            --boder-color: #e9ecef; 
        }

/* Scala tipografica proporzionale basata su H2 */

        h1 {
            font-size: clamp(2.813rem, 2.5149rem + 0.9921vw, 4.375rem)
                /* 45px 70px | 480px 3000px */
            ;
            line-height: 1;
            font-weight: bold;
            color: #333;
            margin: 0 0 clamp(1.875rem, 1.0417rem + 2.7778vw, 3.125rem) /* 30px 50px | 480px 1200px */ 0;
            letter-spacing: -0.15rem;
        }

        h2 {
            font-size: clamp(1.750rem, 1.3690rem + 1.2698vw, 3.750rem) /* 28px 60px | 480px 3000px */;
            font-weight: bold;
            line-height: 0.9;
            color: #333;
            margin: 0 0 0.5rem 0;
            letter-spacing: -0.1rem;
        }

        h3 {
            font-size: clamp(1.8rem, 2.7vw, 3.8rem);
            font-weight: bold;
            line-height: 0.95;
            color: #333;
            margin: 0 0 0.4rem 0;
            letter-spacing: -0.08rem;
        }

        h4 {
            font-size: clamp(1.4rem, 2.1vw, 2.9rem);
            font-weight: 600;
            line-height: 1;
            color: #333;
            margin: 0 0 0.3rem 0;
            letter-spacing: -0.05rem;
        }

        h5 {
            font-size: clamp(1.1rem, 1.6vw, 2.2rem);
            font-weight: 600;
            line-height: 1.1;
            color: #333;
            margin: 0 0 0.25rem 0;
            letter-spacing: -0.02rem;
        }

        p {
            margin-bottom: 0.8rem;
        }

        a {
            color: #03c0ff;
        }
        ul, ol {
            margin: 0 0 0 20px;
        }
        th {
            text-align: left;
            padding: 4px;
            background: #EAEAEA;
            border-bottom: 1px solid #CCCCCC;
            border-right: 1px solid #CCCCCC;
        }
        /* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  background: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  height: 90px;
  display: flex;
  align-items: center;
}

.header-placeholder {
  height: 90px;
  width: 100%;
  position: relative;
}


        .nav-container {
            width: 100%;
            max-width: none;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 20px;
        }

        .nav-left {
            display: flex;
            align-items: center;
            gap: clamp(2rem, 5vw, 4rem);
        }

        .logo {
            display: flex;
            align-items: center;
            flex-shrink: 0;
        }

        .logo img {
            height: 90px;
        }

        .nav-category {
            display: flex;
            align-items: center;
            height: 68px;
        }

        .nav-category a {
            height: 68px;
            width: 48px;
            margin: 0 20px;
        }

        .nav-category a:hover,
        .nav-category a.corrente {
            border-bottom: 4px solid #6a7f93;
        }

        .nav-category img {
            width: 48px;
            height: 64px;
            cursor: pointer;
        }

        .nav-right {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-shrink: 0;
        }

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

        .container-interna {
            max-width: 1200px;
            margin: 0 auto;
            padding: 120px 20px 20px 20px;
        }

        .container-header {
            max-width: 1200px;
            margin: 0 auto;
            padding: 140px 50px 50px 50px;
        }

        .search-container {
            position: relative;
            min-width: clamp(180px, 20vw, 320px);
            padding-right: 5px; 
        }
        #form-ricerca {
            height: 45px;
        }
        .search-input {
            padding: clamp(8px, 1.5vw, 12px) clamp(15px, 3vw, 20px) clamp(8px, 1.5vw, 12px) clamp(40px, 8vw, 50px);
            border: 1px solid #ddd;
            border-radius: 25px;
            width: 100%;
            outline: none;
            font-size: clamp(0.85rem, 1.4vw, 1rem);
            transition: all 0.3s ease;
        }

        .search-input:focus {
            border-color: #ff4444;
            box-shadow: 0 0 0 3px rgba(255, 68, 68, 0.1);
        }

        .cart-icon, .user-icon {
            width: 50px;
            height: 50px;
            cursor: pointer;
            flex-shrink: 0;
            padding: 0;
        }

        .search-icon {
            width: 30px;
            height: 30px;
            cursor: pointer;
            flex-shrink: 0;
            padding: 0;
        }

        .search-icon {
            position: absolute;
            left: clamp(8px, 2vw, 15px);
            top: 50%;
            transform: translateY(-50%);
        }


        /* Hamburger Menu */
        .hamburger-menu {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
        }

        .hamburger-menu img {
            width: 50px;
            height: 50px;
        }

        /* Mobile Panel Menu */
        .mobile-panel {
            display: block;
            position: fixed;
            top: 0;
            right: -450px;
            width: clamp(350px, 30vw, 450px);
            height: 100vh;
            background: white;
            box-shadow: -2px 0 20px rgba(0,0,0,0.15);
            z-index: 1001;
            transition: right 0.3s ease-in-out;
            overflow-y: auto;
        }

        .mobile-panel-header {
            padding: clamp(1rem, 4vw, 1.5rem);
            border-bottom: 1px solid #eee;
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 90px;
        }

        .close-panel {
            background: none;
            border: none;
            cursor: pointer;
            padding: 8px;
            border-radius: 6px;
            transition: background-color 0.3s ease;
        }


        .close-panel:hover img {
            opacity: 1;
        }

        .mobile-panel-content {
            padding: 35px;
        }

        .mobile-category-section {
            margin-bottom: clamp(1.5rem, 4vw, 2rem);
        }

        .mobile-category-title {
            font-size: clamp(1rem, 2.5vw, 1.1rem);
            font-weight: bold;
            margin-bottom: clamp(0.8rem, 2vw, 1rem);
            color: #333;
        }

        .mobile-category-items {
            display: flex;
            flex-direction: column;
            gap: clamp(0.8rem, 2vw, 1rem);
        }

        .mobile-category-item {
            display: flex;
            align-items: center;
            gap: clamp(0.8rem, 2vw, 1rem);
            padding: clamp(0.5rem, 1.5vw, 0.8rem);
            border-radius: 8px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .mobile-category-item:hover {
            background-color: rgba(255, 68, 68, 0.05);
        }

        .mobile-category-item img {
            width: clamp(24px, 6vw, 32px);
            height: clamp(24px, 6vw, 32px);
            opacity: 0.7;
        }

        .mobile-category-item:hover img {
            opacity: 1;
        }

        .mobile-category-item span {
            font-size: clamp(0.9rem, 2.2vw, 1rem);
            color: #333;
        }

        .mobile-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            z-index: 1000;
        }

        .mobile-overlay.active {
            display: block;
        }

    /* Hamburger Menu - NOW VISIBLE ON ALL SCREEN SIZES */
    .hamburger-menu {
            display: flex;
            background: none;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
        }


        /* Mobile Panel Menu - ENHANCED FOR DESKTOP - RIGHT SIDE */
        .mobile-panel {
            position: fixed;
            top: 0;
            right: -450px;
            width: clamp(350px, 30vw, 450px);
            height: 100vh;
            background: white;
            box-shadow: -2px 0 20px rgba(0,0,0,0.15);
            z-index: 1001;
            transition: right 0.3s ease-in-out;
            overflow-y: auto;
            display: block;
        }

        .mobile-panel.open {
            right: 0 !important;
        }

        .mobile-panel-header {
            padding: clamp(1.5rem, 4vw, 2rem);
            border-bottom: 1px solid #eee;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: #f8f9fa; 
        }

        .close-panel {
            background: none;
            border: none;
            cursor: pointer;
            padding: 0px;
            transition: all 0.3s ease;
        }

        .close-panel:hover {
            transform: rotate(90deg);
        }

        .close-panel img {
            width: 50px;
            height: 50px;
            opacity: 0.7;
        }

        .close-panel:hover img {
            opacity: 1;
        }

        .mobile-panel-content {
            padding: 35px;
        }

        .mobile-category-section {
            margin-bottom: clamp(2rem, 4vw, 2.5rem);
        }

        .mobile-category-title {
            font-size: clamp(1.1rem, 2.5vw, 1.3rem);
            font-weight: bold;
            margin-bottom: clamp(1rem, 2vw, 1.2rem);
            color: #333;
            letter-spacing: 0.5px;
        }

        .mobile-category-items {
            display: flex;
            flex-direction: column;
            gap: clamp(0.3rem, 1vw, 0.5rem);
        }

        .mobile-category-item {
            display: flex;
            align-items: center;
            gap: clamp(1rem, 2vw, 1.2rem);
            padding: clamp(0.8rem, 1.5vw, 1rem);
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            color: #333;
            background-color: #f2f2f2;

        }

        .mobile-category-item:hover {
            transform: translateX(5px);
            border-right: 3px solid #e73c25;
        }

        .mobile-category-item img {
            width: clamp(28px, 6vw, 36px);
            height: clamp(28px, 6vw, 36px);
            opacity: 0.7;
            transition: all 0.3s ease;
        }

        .mobile-category-item:hover img {
            opacity: 1;
            transform: scale(1.1);
        }

        .mobile-category-item span {
            font-size: clamp(0.95rem, 2.2vw, 1.1rem);
            color: #333;
            font-weight: 500;
        }

        /* NEW: Submenu items */
        .mobile-submenu {
            margin-left: clamp(2rem, 4vw, 3rem);
            margin-top: clamp(0.5rem, 1vw, 0.8rem);
            border-left: 2px solid rgba(255, 68, 68, 0.2);
            padding-left: clamp(1rem, 2vw, 1.2rem);
        }

        .mobile-submenu-item {
            display: block;
            padding: clamp(0.5rem, 1vw, 0.8rem) 0;
            color: #666;
            text-decoration: none;
            font-size: clamp(0.9rem, 2vw, 1rem);
            transition: all 0.3s ease;
        }

        .mobile-submenu-item:hover {
            color: #ff4444;
            transform: translateX(3px);
        }

        /* NEW: Special sections */
        .mobile-special-section {
            background: linear-gradient(135deg, #ff4444 0%, #ff6b6b 100%);
            color: white;
            padding: clamp(1.5rem, 3vw, 2rem);
            border-radius: 12px;
            margin-bottom: clamp(1.5rem, 3vw, 2rem);
        }

        .mobile-special-section h3 {
            font-size: clamp(1.1rem, 2.5vw, 1.3rem);
            margin-bottom: clamp(0.8rem, 1.5vw, 1rem);
        }

        .mobile-cta-button {
            display: inline-block;
            padding: clamp(8px, 1.5vw, 12px) clamp(20px, 3vw, 24px);
            background: rgba(255,255,255,0.2);
            color: white;
            border: 2px solid white;
            border-radius: 25px;
            text-decoration: none;
            font-size: clamp(0.85rem, 1.4vw, 0.95rem);
            font-weight: 500;
            transition: all 0.3s ease;
            backdrop-filter: blur(5px);
        }

        .mobile-cta-button:hover {
            background: white;
            color: #ff4444;
            transform: translateY(-2px);
        }

        .mobile-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.6);
            z-index: 1000;
            backdrop-filter: blur(3px);
        }

        .mobile-overlay.active {
            display: block;
        }


    

        /* Responsive Design */
        @media (max-width: 1200px) {
            .nav-container {
            }
            
            .nav-left {
                gap: clamp(1.5rem, 4vw, 3rem);
            }
        }

        @media (max-width: 992px) {
            .nav-container {
            }
            
            .nav-left {
                gap: clamp(1rem, 3vw, 2rem);
            }
            
        .nav-category img {
            width: 70px;
            height: 70px;
            cursor: pointer;
        }
            .nav-right {
            }
        }

        /* TABLET - Hide search when space gets tight */
    @media (max-width: 1100px) {
        .nav-right .search-container {
            display: none !important;
        }
    }

    @media (max-width: 768px) {
    /* HIDE ALL HEADER ELEMENTS EXCEPT LOGO AND HAMBURGER */
    .nav-center .nav-category {
        display: none !important;
    }

    /* SHOW ONLY HAMBURGER MENU IN RIGHT SECTION */
    .hamburger-menu {
        display: flex !important;
    }

    /* KEEP HEADER LAYOUT: LOGO LEFT, HAMBURGER RIGHT */
    .nav-container {
        justify-content: space-between;
    }

    .nav-left {
        justify-content: flex-start;
        flex: none;
        gap: 0;
    }

    .nav-right {
        display: flex !important;
        justify-content: flex-end;
        align-items: center;
        gap: 10px;
    }

    /* MOBILE PANEL ADJUSTMENTS */
    .mobile-panel {
        width: clamp(300px, 85vw, 400px);
        right: -100vw;
    }

    .mobile-panel.open {
        right: 0 !important;
    }

    }

    /* SMALLER MOBILE SCREENS */
    @media (max-width: 576px) {
    .mobile-panel {
        width: 100vw;
        right: -100vw;
    }
    .nav-center .nav-category,
    .nav-right .user-icon {
        display: none !important;
    }



    }


        /* Print styles */
        @media print {
            .header {
                position: static;
            }

        }


        /* Hero Section */
        .hero {
            height: 880px;
            min-height: 600px;
            display: flex;
            color: white;
            position: relative;
            width: 100vw;
            padding: 2rem;
        }


	    .hero {
	        padding:0 !important;
	    }
	    .royalSlider {
    	    position: relative !important;
	        width:100vw !important;
	        height:880px !important;
	    }
	    .royalSlider img {
	        width:100vw !important;
	        height:880px !important;
	        margin:0 !important;
	    }
		.royalcover {
		    background-repeat:no-repeat;
		    background-size:cover;
		    background-position:center;
		    height: 100%;
		}	    
	    .rsABlock-container-flex {
	        position: relative !important;
	        top: 91px;
			left: auto;
			right:auto;
			bottom:auto;
	        height: calc(100% - 165px);
	        z-index: 15;
	        width: 100%;
	        max-width: 1200px;
	        margin: 0 auto;
	        padding:50px;
	        display: flex !important;
	        flex-wrap: wrap;
	        flex-direction: column;
	    }

	    @media only screen and (max-width: 575px) {
/*
	        .rsABlock-container-flex {
	            padding:50px 0;
	        }
*/
	    }

	    .rsABlock-container-flex.top {
	        justify-content: flex-start;
	    }

	    .rsABlock-container-flex.center {
	        justify-content: center;
	    }

	    .rsABlock-container-flex.bottom {
	        justify-content: flex-end;
	    }

	    .rsABlock-container-flex.sx {
	        align-items: flex-start;
	    }

	    .rsABlock-container-flex.cx {
	        align-items: center;
	    }

	    .rsABlock-container-flex.dx {
	        align-items: flex-end;
	    }
        .rsABlock.rsABlock-flex {
            position: relative;
            height: auto;
            min-height: 170px;
            max-width: 700px;
            width: fit-content;
            padding: 40px;
            color:#fff;
            margin-top:inherit;
            left: auto;
            top: auto;
            text-align: inherit;
        }

        .rsABlock.rsABlock-flex.sx {
            text-align: left;
        }

        .rsABlock.rsABlock-flex.cx {
            text-align: center;
        }

        .rsABlock.rsABlock-flex.dx {
            text-align: right;
        }

        .rsABlock-flex.show {
            opacity: 1;
        }

		.royalSlider .shadow-top {
		    position: absolute;
		    top: 0;
		    left: 0;
		    width: 100%;
		    height: 100%;
		    max-height: 100%;
		    display: block;
		    background:rgba(0,0,0,0.65);
		    opacity: 1;
		}

        .hero-container {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            max-width: 1600px;
            margin: 0 auto;
        }

        .hero-content {
            max-width: 800px;
            width: auto;
            text-align: left;
        }


        .rsABlock-container-flex h1,
        .rsABlock-container-flex h2 {
            font-size: clamp(2rem, 6vw, 4rem);
            font-weight: bold;
            margin-bottom: clamp(1rem, 3vw, 1.2rem);
            line-height: 1.2;
            color:#fff;
        }

        .rsABlock-container-flex p {
            font-size: clamp(1rem, 2vw, 1.2rem);
            margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
            line-height: 1.1;
            max-width: 500px;
            font-weight: 300;
            color:#fff;
        }

        .rsABlock-container-flex .cta-button {
            display: inline-block;
            padding: clamp(11px, 2vw, 10px) clamp(30px, 5vw, 40px);
            font-size: clamp(1rem, 2vw, 1.2rem);
            background: transparent;
            color: #fff;
            border: 2px solid #fff;
            border-radius: 71px;
            text-decoration: none;
            font-weight: 300;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .rsABlock-container-flex .cta-button:hover {
            background: white;
            color: #333;
        }

     
@media (max-width: 768px) {
 

    /* HERO ADJUSTMENTS */
    .hero {
        background-attachment: scroll;
        padding: 1rem;
        margin-top: 70px; /* Account for fixed header */
    }

    .hero-container {
        align-items: center;
        justify-content: center;
    }

    .hero-content {
        max-width: none;
        width: 100%;
    }
}

/* SMALLER MOBILE SCREENS */
@media (max-width: 576px) {

    .hamburger-menu {
        padding: clamp(8px, 2vw, 12px);
    }

    .hamburger-menu img {
        width: clamp(28px, 4vw, 36px);
        height: clamp(28px, 4vw, 36px);
    }
}

        /* High DPI displays */
        @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
            .hero {
                background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://placehold.co/3840x2160/2c2c2c/ffffff.png?text=Modern+Office+Interior+4K');
            }
        }

        /* Landscape orientation on mobile */
        @media (max-width: 768px) and (orientation: landscape) {
            .hero {
                height: 100vh;
                min-height: 500px;
            }

            .hero h1 {
                font-size: clamp(1.8rem, 5vw, 3rem);
            }
        }

        /* Print styles */
        @media print {

            .hero {
                height: auto;
                min-height: 400px;
                background-attachment: scroll;
            }
        }

/* Products Section */
.products-section {
    width: 100%;
    padding: clamp(3rem, 8vw, 3rem) 0;
}

.products-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 45px 0 clamp(1rem, 3vw, 2rem);
}

.products-container {
    max-width: 1600px;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 75px;
}

.products-text {
    flex: 0 0 auto;
    width: clamp(280px, 25vw, auto);
}

.products-text h2 {
    font-size: clamp(2.3rem, 3.5vw, 5rem);
    font-weight: bold;
    line-height: 0.9;
    color: #333;
    margin: 0;
    text-align: right;
    letter-spacing: -0.1rem;
}

.products-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(2rem, 4vw, 2.9rem);
    max-width: clamp(200px, 40vw, 912px);
    width: 100%;
}

@media (min-width: 1200px) {
    .products-grid {
    gap: 45px;
}
.products-section {
    width: 100%;
    padding:  45px 0;

}
}
.product-card {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    cursor: pointer;
    container-type: inline-size;
}

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

.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: clamp(1rem, 2vw, 1.8rem);
    color: white;
}

.product-overlay h3 {
    font-size: 12cqi; /* 12% della larghezza del contenitore */
    font-weight: 600;
    margin: 0;
    line-height: 1;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    color: #fff;
}

@supports not (font-size: 1cqi) {
    .product-overlay h3 {
        font-size: clamp(1.2rem, 5vw, 2.8rem);
    }
    
    @media (max-width: 992px) {
        .product-overlay h3 {
            font-size: clamp(1.1rem, 5.5vw, 2.4rem);
        }
    }
    
    @media (max-width: 768px) {
        .product-overlay h3 {
            font-size: clamp(1rem, 6vw, 2rem);
        }
    }
    
    @media (max-width: 600px) {
        .product-overlay h3 {
            font-size: clamp(0.9rem, 7vw, 1.8rem);
        }
    }
    
    @media (max-width: 480px) {
        .product-overlay h3 {
            font-size: clamp(0.8rem, 8vw, 1.5rem);
        }
    }
}

@media (max-width: 1350px) {

    .products-container {
        gap: clamp(2rem, 6vw, 4rem);
    }
    
    .products-text {
        width: clamp(250px, 30vw, 320px);
    }
}

/* Landscape orientation on tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
    }
}
@media (max-width: 768px) {
    .products-container {
        flex-direction: column;
        gap: clamp(2rem, 5vw, 3rem);
        align-items: center;
        text-align: center;
    }

    .products-section {
        padding: clamp(2rem, 6vw, 2rem) 0;
    }
    
    .products-wrapper {
        padding: 0 clamp(0.8rem, 5vw, 2rem);
    }
    

    .products-text h2 {
        text-align: center;
    }
    
    .product-overlay h3{
         text-align: start;
    }
    
    .products-text {
        width: 100%;
        max-width: 500px;
    }
    
    .products-grid {
        max-width: 100vw;
        width: 100%;
    }

}

@media (max-width: 480px) {
    

    .products-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    
    .product-card {
        aspect-ratio: 1/1;
    }
    .products-grid {
       gap: clamp(0.8rem, 5vw, 2rem);
    }
}

/* Very small screens */
@media (max-width: 320px) {
    .products-section {
        padding: clamp(1rem, 4vw, 2rem) 0;
    }
    
    .products-wrapper {
        padding: 0 clamp(0.3rem, 1.5vw, 0.8rem);
    }
}


/* Ergonomia Section */
.ergonomia-section {
    width: 100%;
    background-color: white;
    border-top: 1px solid var(--boder-color);
}

.ergonomia-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 clamp(1rem, 3vw, 2rem);
}

.ergonomia-container {
    max-width: 1600px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: clamp(3rem, 8vw, 6rem);
    justify-content: center;
}

.ergonomia-image {
    flex: 1;
    max-width: 600px;
}

.ergonomia-image img {
    width: 100%;
    height: auto;
    display: block;
}

.ergonomia-content {
    flex: 1;
    max-width: 600px;
}

.ergonomia-content h2 {
    font-size: clamp(2.3rem, 3.5vw, 5rem);
    font-weight: bold;
    line-height: 0.9;
    color: #333;
    margin: 0;
    letter-spacing: -0.1rem;
    margin: 0 0 clamp(1.5rem, 4vw, 2rem) 0;
}

.ergonomia-content p {
        text-align: left;
        color: #444;
        margin-bottom: 40px;
        max-width: 600px;
        font-weight: 400;
        font-size: clamp(1.000rem, 0.9167rem + 0.2778vw, 1.125rem) /* 16px 18px | 480px 1200px */;
        line-height: 24px;
    }

.cta-button {
    display: inline-block;
    padding: clamp(11px, 2vw, 10px) clamp(30px, 5vw, 40px);
    font-size: clamp(1rem, 2vw, 1.2rem);
    background: #ffffffd0;
    color: #333;
    border: 2px solid #333;
    border-radius: 70px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    width: fit-content;
}

.cta-button:hover {
    background: #333;
    color: white;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .ergonomia-container {
        gap: clamp(2rem, 6vw, 4rem);
    }
}

@media (max-width: 768px) {

    .ergonomia-container {
        flex-direction: column;
        gap: clamp(2rem, 5vw, 3rem);
        text-align: center;
        padding-bottom: 2rem;
    }
    .ergonomia-section {
    }
    
    .ergonomia-wrapper {
        padding: 0;
    }
    .ergonomia-content {
        padding: 0 clamp(0.8rem, 5vw, 2rem);
    }
    .ergonomia-image {
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .ergonomia-image {
        max-width: 100%;
    }
}

/* Ultra-wide screens */
@media (min-width: 1920px) {
    .ergonomia-section {
        /* padding: clamp(4rem, 8vw, 8rem) 0; */
    }
}

/* Very small screens */
@media (max-width: 320px) {
    .ergonomia-section {
        padding: clamp(1rem, 4vw, 2rem) 0;
    }
    
    .ergonomia-wrapper {
        padding: 0 clamp(0.3rem, 1.5vw, 0.8rem);
    }
}

/* Landscape orientation on tablets */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .ergonomia-container {
        flex-direction: row;
    }
    
    .ergonomia-image {
        order: 1;
    }
    
    .ergonomia-content {
        order: 2;
        text-align: left;
    }
}

/* ============================================
   FRECCIA ANIMATA PER OGNI PRODOTTO
   ============================================ */

/* Modifica il product-item per supportare position relative */
.product-item {
    flex: 0 0 auto;
    min-width: 280px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    position: relative; /* AGGIUNTO */
}

/* Contenitore della freccia nel prodotto */
.product-arrow-container {
    position: relative;
    width: 100%;
    cursor: pointer;
    opacity: 1;
    display: flex;
    height: 70px;
    justify-content: end;
    padding: 0 clamp(1rem, 2.5vw, 1.5rem);
    align-items: center;
}

/* Mostra freccia al hover del prodotto */
.product-item:hover .product-arrow-container {
    opacity: 1;
}

.product-arrow-svg {
    width: 40px;
    height: 100%;

}

.product-item:hover .product-arrow-svg {
    transform: scale(1.1);
}

/* Contenitore dell'immagine che appare in hover */
.product-hover-image-container {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 70px;
    overflow: hidden;
    pointer-events: none;
    z-index: 5;
}

.product-hover-image {
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Animazione dell'immagine quando si fa hover sulla freccia */
.product-item:hover .product-hover-image {
    right: 0;
}
/* Responsive per mobile */

/* ============================================
   I PIÙ VENDUTI SECTION - CSS ORIGINALE
   ============================================ */

/* Main Section */
.bestsellers-section {
    width: 100%;
    padding: clamp(2rem, 8vw, 1rem) 0;
    background-color: #fafafa;
}

/* Wrapper - Centers 1600px container */
.bestsellers-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
}

/* Container - Max 1600px centered */
.bestsellers-container {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: clamp(2rem, 5vw, 3rem);
    padding: 0 0 0 clamp(3rem, 10vw, 12rem);
    position: relative;
}

/* Left Section - Title + Controls */
.bestsellers-left {
    flex: 0 0 auto;
    width: clamp(200px, 20vw, 300px);
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 4vw, 3rem);
    height: 100%;
    justify-content: space-between;
}

.bestsellers-title h2 {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: bold;
    color: #333;
    margin: 0;
    text-align: end;
    padding-right: 10px
}

/* Large screens - AGGIORNATO */
@media (max-width: 1200px) {
    .bestsellers-container {
        gap: clamp(1.5rem, 4vw, 2.5rem);
    }
    
    .products-slider {
        left: calc(clamp(200px, 20vw, 300px) + clamp(1.5rem, 4vw, 2.5rem));
        -webkit-overflow-scrolling: touch;
    }
    
    /* Gestione intelligente dello spazio titolo */
    .bestsellers-left {
        width: clamp(180px, 18vw, 280px);
    }
    
    .bestsellers-title h2 {
        font-size: clamp(1.6rem, 3.2vw, 2.6rem);
    }
}
/* Range 1200px-1500px - TITOLO RIDOTTO */
@media (min-width: 1201px) and (max-width: 1500px) {
    .bestsellers-title h2 {
        font-size: clamp(1.8rem, 2.8vw, 2.4rem);
    }
    
    .bestsellers-left {
        width: clamp(200px, 18vw, 280px);
    }
}

/* Media query per schermi medi (tablet landscape) */
@media (min-width: 769px) and (max-width: 1024px) {
    .bestsellers-title h2 {
        font-size: clamp(1.8rem, 2.8vw, 2.2rem);
        letter-spacing: -0.01rem;
        line-height: 1;
    }
    
    .bestsellers-left {
        max-width: clamp(160px, 16vw, 240px);
    }
}

/* Media query per schermi più piccoli (tablet portrait) */
@media (min-width: 481px) and (max-width: 768px) {
    .bestsellers-title h2 {
        font-size: 28px;
    }
    
    .bestsellers-container {
        gap: clamp(1.5rem, 4vw, 2.5rem);
    }
}

/* Mobile tablets - TITOLO RUOTATO */
@media (max-width: 768px) {
    .bestsellers-section {
        padding: 35px 0 15px;
    }
    
    .bestsellers-container {
        padding: 0 clamp(0.8rem, 5vw, 2rem);
        flex-direction: column;
        gap: 0;
    }
    
    /* Titolo ruotato per occupare meno spazio */
    .bestsellers-left {
        width: auto;
        gap: clamp(1rem, 2.5vw, 1.5rem);
        align-items: center;
        justify-content: space-between;
        height: auto;
        padding-bottom: 25px;
    }
    
    .bestsellers-title {
        height: auto;
        max-height: 200px;
        overflow: hidden;
    }
    
    .bestsellers-title h2 {
        font-size: clamp(1.8rem, 2.8vw, 2.6rem);
        margin: 0;
        line-height: 1.3;
        word-break: break-word;
        hyphens: auto;
    }
    /* Frecce in linea orizzontale */
    .slider-controls {
        flex-direction: row;
        gap: clamp(0.5rem, 1vw, 0.8rem);
        justify-content: center;
        align-items: center;
        display: none; 
    }
    
    .products-slider {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        padding: 0 clamp(0.8rem, 5vw, 2rem);
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .bullet-indicators {
        display: flex !important;
        width: auto;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }
    .product-badge {
        width: 40px;
        height: 40px;
    }

}
/* Small mobile phones - AGGIUNTA FUNZIONALITÀ MOBILE */
    @media (max-width: 480px) {
        /* Layout mobile: titolo sopra */
        .bestsellers-container {
            flex-direction: column;
            gap: 0;
            position: static;
        }
        
        .bestsellers-left {
            width: 100%;
            align-items: flex-start;
            text-align: left;
            gap: clamp(1rem, 2vw, 1.5rem);
            position: static;
            flex: 1;
        }
        /* Nascondi frecce su mobile */
        .slider-controls {
            display: none;
        }
        
        /* Abilita scorrimento touch */
        .products-slider {
            width: 100vw;
            margin-left: calc(-50vw + 50%);
            padding: 0 clamp(0.8rem, 5vw, 2rem);
            overflow-x: auto;
            overflow-y: hidden;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }
        
        .products-slider::-webkit-scrollbar {
            display: none;
        }
        
        .products-track {
            gap: clamp(0.8rem, 1.5vw, 1rem);
            transition: none;
            transform: none !important;
        }
        
        .product-item {
            width: clamp(200px, 80vw, 260px);
        }
        
        /* Mostra bullet indicators su mobile */
        .bullet-indicators {
            display: flex !important;
            width: auto;
            position: relative;
            left: 50%;
            transform: translateX(-50%);
        
        }
        .product-badge {
            width: 35px;
            height: 35px;
        }
    }

    /* Very small screens */
    @media (max-width: 320px) {
        .bestsellers-section {
            padding: clamp(1rem, 4vw, 2rem) 0;
        }
        
        .bestsellers-container {
            padding: 0 clamp(0.3rem, 1.5vw, 0.8rem);
        }
        
        .products-slider {
            padding: 0 clamp(0.3rem, 1.5vw, 0.8rem);
        }
        
        .product-item {
            width: clamp(180px, 85vw, 240px);
        }
    }

    /* Ultra-wide screens */
    @media (min-width: 1920px) {
        .bestsellers-section {
            padding: clamp(2rem, 8vw, 1rem) 0;
        }
    }

/* Slider Controls */
.slider-controls {
    display: flex;
    gap: clamp(0.8rem, 1.5vw, 1rem);
    justify-content: flex-end;
}

.slider-nav {
    flex: 0 0 auto;
    width: 50px;
    height: 50px;
    background: #08c6ff;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: clamp(18px, 4vw, 24px);
    color: #666;
    font-weight: bold;
}
.slider-nav img {
    height: 50%;
    width: 50%;
}

.slider-nav:hover {
    background: #ffda00;
    border-color: #999;
    color: #333;
}

.slider-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.slider-nav span {
    line-height: 1;
    margin-top: -2px;
}

/* Products Slider - Wide extending from container */
.products-slider {
    top: 0;
    overflow: hidden;
    width: auto;
}

/* Products Track */
.products-track {
    display: flex;
    gap: clamp(1rem, 2vw, 1.3rem);
    transition: transform 0.3s ease;
    width: max-content;
    padding-right: clamp(1rem, 2vw, 1.5rem);
}

.products-track a {
    text-decoration:none;
}

/* Product Item */
.product-item {
    flex: 0 0 auto;
    min-width: 280px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.product-image {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    overflow: hidden;
    padding: 4rem 2rem 2rem 2rem;
}

.product-image img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    display: block;
}

.product-badge {
    position: absolute;
    top: clamp(0.8rem, 2vw, 1rem);
    right: clamp(0.8rem, 2vw, 1rem);
    width: clamp(30px, 5vw, 50px);
    height: clamp(30px, 5vw, 50px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-badge img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}   

.product-info {
    padding: clamp(1rem, 2.5vw, 1.5rem) 2rem;
    text-align: center;
}

.product-info h3 {
    font-size: clamp(1.1rem, 2.2vw, 1.3rem);
    font-weight: 600;
    color: #00BFFF;
    margin: 0 0 clamp(0.8rem, 1.5vw, 1rem) 0;
}

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

.original-price {
    font-size: clamp(0.8rem, 1.4vw, 0.95rem);
    color: #999;
}

.offique-price {
    font-size: clamp(0.9rem, 1.6vw, 1.1rem);
    color: #333;
    font-weight: 600;
}



% { transform: translateX(4px); }
}

/* ============================================
   RESPONSIVE DESIGN - CODICE ORIGINALE
   ============================================ */

   
/* Large screens - AGGIORNATO */
@media (max-width: 1200px) {
    .bestsellers-container {
        gap: clamp(1.5rem, 4vw, 2.5rem);
    }
    
    .products-slider {
        left: calc(clamp(200px, 20vw, 300px) + clamp(1.5rem, 4vw, 2.5rem));
        -webkit-overflow-scrolling: touch;
    }
    
    /* Gestione intelligente dello spazio titolo */
    .bestsellers-left {
        width: clamp(180px, 18vw, 280px);
    }
    
    .bestsellers-title h2 {
        font-size: clamp(1.6rem, 3.2vw, 2.6rem);
    }
}
/* Range 1200px-1500px - TITOLO RIDOTTO */
@media (min-width: 1201px) and (max-width: 1500px) {
    .bestsellers-title h2 {
        font-size: clamp(1.8rem, 2.8vw, 2.4rem);
    }
    
    .bestsellers-left {
        width: clamp(200px, 18vw, 280px);
    }
}

/* Media query per schermi medi (tablet landscape) */
@media (min-width: 769px) and (max-width: 1024px) {
    .bestsellers-title h2 {
        font-size: clamp(1.8rem, 2.8vw, 2.2rem);
        letter-spacing: -0.01rem;
        line-height: 1;
    }
    
    .bestsellers-left {
        max-width: clamp(160px, 16vw, 240px);
    }
}

/* Media query per schermi più piccoli (tablet portrait) */
@media (min-width: 481px) and (max-width: 768px) {
    .bestsellers-title h2 {
        font-size: 28px;
    }
    
    .bestsellers-container {
        gap: clamp(1.5rem, 4vw, 2.5rem);
    }
}

/* Mobile tablets - TITOLO RUOTATO */
@media (max-width: 768px) {
    .bestsellers-section {
        padding: 35px 0 15px;
    }
    
    .bestsellers-container {
        padding: 0 clamp(0.8rem, 5vw, 2rem);
        flex-direction: column;
        gap: 0;
    }
    
    /* Titolo ruotato per occupare meno spazio */
    .bestsellers-left {
        width: auto;
        gap: clamp(1rem, 2.5vw, 1.5rem);
        align-items: center;
        justify-content: space-between;
        height: auto;
        padding-bottom: 25px;
    }
    
    .bestsellers-title {
        height: auto;
        max-height: 200px;
        overflow: hidden;
    }
    
    .bestsellers-title h2 {
        font-size: clamp(1.8rem, 2.8vw, 2.6rem);
        margin: 0;
        line-height: 1.3;
        word-break: break-word;
        hyphens: auto;
    }
    
    /* Frecce in linea orizzontale */
    .slider-controls {
        flex-direction: row;
        gap: clamp(0.5rem, 1vw, 0.8rem);
        justify-content: center;
        align-items: center;
        display: none; 
    }
    
    .products-slider {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        padding: 0 clamp(0.8rem, 5vw, 2rem);
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .product-badge {
        width: 50px;
        height: 50px;
    }
}


/* ============================================
   FUNZIONALITÀ MOBILE AGGIUNTE - SOLO SOTTO 480PX
   ============================================ */

/* Small mobile phones - AGGIUNTA FUNZIONALITÀ MOBILE */
@media (max-width: 480px) {
    /* Layout mobile: titolo sopra */
    .bestsellers-container {
        flex-direction: column;
        gap: 0;
        position: static;
    }
    
    .bestsellers-left {
        width: 100%;
        align-items: flex-start;
        text-align: left;
        gap: clamp(1rem, 2vw, 1.5rem);
        position: static;
        flex: 1;
    }
    
    /* Nascondi frecce su mobile */
    .slider-controls {
        display: none;
    }
    
    /* Abilita scorrimento touch */
    .products-slider {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        padding: 0 clamp(0.8rem, 5vw, 2rem);
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .products-slider::-webkit-scrollbar {
        display: none;
    }
    
    .products-track {
        gap: clamp(0.8rem, 1.5vw, 1rem);
        transition: none;
        transform: none !important;
    }
    
    .product-item {
        width: clamp(200px, 80vw, 260px);
    }
    

    .product-badge {
        width: 50px;
        height: 50px;
    }
}

/* Very small screens */
@media (max-width: 320px) {
    .bestsellers-section {
        padding: clamp(1rem, 4vw, 2rem) 0;
    }
    
    .bestsellers-container {
        padding: 0 clamp(0.3rem, 1.5vw, 0.8rem);
    }
    
    .products-slider {
        padding: 0 clamp(0.3rem, 1.5vw, 0.8rem);
    }
    
    .product-item {
        width: clamp(180px, 85vw, 240px);
    }
}

/* Ultra-wide screens */
@media (min-width: 1920px) {
    .bestsellers-section {
        padding: clamp(2rem, 8vw, 1rem) 0;
    }
}
/* Contenitore fisso che mostra sempre 5 bullet */
.bullet-indicators-wrapper {
    width: 110px; /* 5 bullet da 12px + 4 gap da 10px = 90px + padding */
    height: 12px;
    margin: 20px auto 0;
    position: relative;
    overflow: hidden;
    display: none; /* Nascosto di default */
}

.bullet-indicators {
    display: flex;
    gap: 10px;
    transition: transform 0.3s ease;
    position: absolute;
    left: 0;
    top: 0;
}

.bullet {
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    padding: 0;
}

.bullet.active {
    background-color: #00BFFF;
}


/* Mostra solo su mobile */
@media (max-width: 768px) {
    .bullet-indicators-wrapper {
        display: block !important;
    }
}

/* ============================================
   PERCHÉ SCEGLIERE OFFIQUE - CSS
   ============================================ */

/* Main Section */
.why-choose-section {
    width: 100%;
    background-color: #fcfcfc;
}

/* Wide Wrapper */
.why-choose-wrapper {
    width: 100%;
    /* padding: 0 clamp(1rem, 3vw, 2rem); */
    display: flex;
    flex-direction: column;
    /* gap: clamp(3rem, 6vw, 5rem); */
    max-width: 1600px;
    margin: 0 auto;
}

/* Hero Block - Full Width Top */
.hero-block {
    display: flex;
    align-items: center;
    gap: clamp(2rem, 4vw, 4rem);
    width: 100%;
    justify-content: center;
    border-radius: 0;
}

.hero-content {
    flex: 1;
    max-width: 700px;
}

.hero-content h3 {
    font-size: clamp(2.5rem, 5vw, 3rem);
    font-weight: bold;
    line-height: 1;
    color: #333;
    margin: 0 0 clamp(1.5rem, 3vw, 2rem) 0;
}


.hero-image {
    flex: 1;
    max-width: 900px;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
}

/* Cards Row - 3 Equal Cards */
.cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
}

/* Info Cards with Background Images */
.info-card {
    position: relative;
    height: clamp(300px, 40vw, 400px);
    border-radius: 0;
    overflow: hidden;
    cursor: pointer;
}

.card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-top: 1px solid #e9ecef;
}

/* Card centrale - bordi specifici */
.info-card:nth-child(2) .card-background {
    border-left: 1px solid #e9ecef;
    border-right: 1px solid #e9ecef;
}

@media (max-width: 993px) {
    .info-card:nth-child(2) .card-background {
        border-left: 1px solid #e9ecef;
        border-right: 0;
    }
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(45deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%); */
    display: flex;
    align-items: start;
    padding: clamp(1.5rem, 3vw, 4rem);
}

.card-content {
    color: white;
    display: flex;
    flex-direction: column;
    gap: clamp(0.8rem, 1.5vw, 1rem);
    justify-content: space-between;
    height: 100%;
}

.card-content h3 {
    font-size: clamp(2.5rem, 5vw, 3rem);
    line-height: 1;
}

.card-content p {
    font-size: clamp(0.9rem, 1.6vw, 1.4rem);
    margin: 0;
    line-height: 1.5;
    color: #333;
}

.card-cta {
    display: inline-block;
    padding: clamp(8px, 1.5vw, 12px) clamp(20px, 3vw, 30px);
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid white;
    border-radius: 25px;
    text-decoration: none;
    font-size: clamp(0.8rem, 1.4vw, 0.95rem);
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    align-self: flex-start;
    backdrop-filter: blur(5px);
}

.card-cta:hover {
    background: white;
    color: #333;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Large tablets */
@media (max-width: 1200px) {
    .why-choose-wrapper {
        gap: clamp(2rem, 5vw, 4rem);
    }
    
    .hero-block {
        gap: clamp(2rem, 5vw, 4rem);
    }
}

/* Tablets */
@media (max-width: 992px) {
    .why-choose-wrapper {
    }
    .hero-content {
        max-width: 100%;
        width: 100%;
        padding: 0 clamp(1.5rem, 2.5vw, 2rem);
    }
    .hero-block {
        flex-direction: column;
        text-align: start;
        gap: clamp(2rem, 4vw, 3rem);
        padding-bottom: 2rem;
    }
    .hero-content h3 {
        margin: 0 0 6vw 0;
    }
    .cards-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-card:last-child {
        grid-column: 1 / -1;
    }
}

/* Mobile tablets */
@media (max-width: 768px) {
    .why-choose-section {
        padding: 0;
    }
    
    .why-choose-wrapper {
        padding: 0;
        gap: clamp(2rem, 4vw, 3rem);
    }
    
    .hero-block {
        padding: 0;
    }
    
    .cards-row {
        grid-template-columns: 1fr;
    }
    
    .info-card:last-child {
        grid-column: 1;
    }
    
    .info-card {
        height: clamp(300px, 50vw, 350px);
    }
    .hero-block {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }
    .hero-content {
        max-width: none !important;
        width: 100%;
        padding: 0 50px 50px;
    }
    .hero-content h3 {
        margin: 0 0 15vw;
    }
    .card-overlay {
        padding: 50px;
    }
}

/* Small mobile phones */
@media (max-width: 480px) {

    .why-choose-section {
        padding: 0;
    }
    
    .why-choose-wrapper {
        padding: 0;
        gap: clamp(1.5rem, 4vw, 2rem);
    }

    .hero-block {
        padding: 0;
        gap: clamp(1.5rem, 3vw, 2rem);
    }
    .info-card {
        height: clamp(300px, 28vw, 300px);
    }
    
    .card-overlay {
        padding: clamp(1.5rem, 2.5vw, 2rem);
    }

    .hero-content {
        padding: 0 clamp(1.5rem, 2.5vw, 2rem) clamp(1.5rem, 2.5vw, 2rem);

    }
    .hero-content h3 {
        margin: 0 0 120px;
    }
}

/* Ultra-wide screens */
@media (min-width: 1920px) {
    .why-choose-section {
        /* padding: clamp(4rem, 8vw, 8rem) 0; */
    }
    
    /* .why-choose-wrapper {
        max-width: 2000px;
    } */
}

/* ========================================== */
/* 3. CSS DA AGGIUNGERE AL TUO STYLE */
/* ========================================== */

/* Cart Icon Badge */
.cart-icon-container {
    position: relative;
    display: flex;
    cursor: pointer;
    align-items: center;
}

.cart-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: #e74c3c;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Cart Panel Overlay */
.cart-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1500;
    backdrop-filter: blur(3px);
}

.cart-overlay.active {
    display: block;
}

/* Cart Panel */
.cart-panel {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 20px rgba(0,0,0,0.15);
    z-index: 1501;
    transition: right 0.3s ease-in-out;
    overflow-y: auto;
    display: block;
}

.cart-panel.open {
    right: 0 !important;
}

/* Cart Panel Header */
.cart-panel-header {
    padding: clamp(1.5rem, 4vw, 2rem);
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    position: sticky;
    top: 0;
    z-index: 10;
    height: 90px;
}

.cart-panel-title img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.cart-panel-title {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Cart Panel Content */
.cart-panel-content {
    padding: clamp(1rem, 3vw, 1.5rem);
}

/* Cart Item */
.cart-item {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid #ecf0f1;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-item-name {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
    line-height: 1.3;
}

.cart-item-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cart-item-price {
    font-weight: bold;
    color: #27ae60;
    font-size: 1.1rem;
    margin: 5px 0;
}

/* Product Controls (stesse classi del checkout) */
    .product-controls {
        display: flex;
        flex-direction: row;
        gap: 10px;
        align-items: center;
    }

    .quantity-controls {
        display: flex;
        align-items: center;
        gap: 8px;
        background: #f8f9fa;
        border-radius: 500px;
        padding: 5px;
    }

    .qty-btn-checkout,
    .qty-btn {
        width: 30px;
        height: 30px;
        border: none;
        background: #3498db;
        color: white;
        border-radius: 50%;
        cursor: pointer;
        font-size: 1.2rem;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.3s ease;
    }

    .qty-btn-checkout:hover,
    .qty-btn:hover {
        background: #2980b9;
    }

    .qty-btn-checkout:disabled,
    .qty-btn:disabled {
        background: #bdc3c7;
        cursor: not-allowed;
    }

    .quantity {
        min-width: 30px;
        text-align: center;
        font-weight: bold;
        color: #2c3e50;
    }

    .remove-btncheckout,
    .remove-btn {
        width: 25px;
        height: 25px;
        border: none;
        background: #fff;
        border-radius: 50%;
        cursor: pointer;
        font-size: 1.2rem;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.3s ease;
    }


/* Cart Summary */
.cart-summary {
    padding: 20px 0;
    border-top: 2px solid #ecf0f1;
    margin-top: 20px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 5px 0;
}

.cart-summary-row.total {
    border-top: 1px solid #ecf0f1;
    padding-top: 15px;
    font-weight: bold;
    font-size: 1.2rem;
    color: #27ae60;
}

/* Cart Actions */
.cart-actions {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-cart-checkout {
    width: 100%;
    background: #e67e22;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cart-checkout:hover {
    background: #d35400;
    transform: translateY(-1px);
}

.btn-continue-shopping {
    width: 100%;
    background: transparent;
    color: #666;
    border: 2px solid #ecf0f1;
    padding: 12px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-continue-shopping:hover {
    border-color: #3498db;
    color: #3498db;
}

/* Cart Empty State */
.cart-empty {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.cart-empty-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cart-panel {
        right: -100vw;
    }

    .cart-panel.open {
        right: 0 !important;
    }
}

@media (max-width: 576px) {
    .cart-panel {
        width: 100vw;
        right: -100vw;
    }
}











.floating-contact {
        display: none ;
}

@media (max-width: 1024px) {
        /* Container del pulsante floating */
        .floating-contact {
            position: fixed;
            bottom: 15px;
            right: 15px;
            z-index: 1000;
            display: block; /* Nascosto di default */
        }
    /* Pulsante principale */
    .main-button {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: #c4bebe;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        position: relative;
        z-index: 1001;
    }

    .main-button:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    }

    .main-button.active {
        transform: rotate(45deg);
        background: linear-gradient(135deg, #acabab, #dddcdc);
    }

    /* Icona del pulsante principale */
    .main-button svg {
        width: 20px;
        height: 20px;
        fill: white;
        transition: transform 0.3s ease;
    }

    .main-button.active svg {
        transform: rotate(180deg);
    }

    /* Menu espandibile */
    .contact-menu {
        position: absolute;
        bottom: 0;
        right: 0;
        pointer-events: none;
    }

    .contact-menu.active {
        pointer-events: all;
    }

    /* Pulsanti del menu */
    .menu-item {
        position: absolute;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        transform: scale(0);
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
        text-decoration: none;
        color: white;
        font-size: 18px;
    }

    .menu-item.active {
        transform: scale(1);
    }

    /* Posizioni dei pulsanti quando attivi - uno sopra all'altro */
    .menu-item:nth-child(1) {
        bottom: 80px;
        right: 0px;
        background: linear-gradient(135deg, #2ecc71, #27ae60);
        transition-delay: 0.1s;
    }

    .menu-item:nth-child(2) {
        bottom: 150px;
        right: 0px;
        background: linear-gradient(135deg, #25D366, #128C7E);
        transition-delay: 0.2s;
    }

    .menu-item:nth-child(3) {
        bottom: 220px;
        right: 0px;
        background: linear-gradient(135deg, #3498db, #2980b9);
        transition-delay: 0.3s;
    }
    .menu-item.closing {
        transform: scale(0);
        opacity: 0;
    }

    /* Delay inverso */
    .menu-item.closing:nth-child(1) {
        transition-delay: 0.3s;
    }
    .menu-item.closing:nth-child(2) {
        transition-delay: 0.2s;
    }
    .menu-item.closing:nth-child(3) {
        transition-delay: 0.1s;
    }



    .menu-item svg {
        width: 20px;
        height: 20px;
        fill: white;
    }

    /* Overlay per chiudere il menu */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: transparent;
        z-index: 999;
        display: none;
    }

    .menu-overlay.active {
        display: block;
    }
}


/* Animazione di pulsazione per attirare l'attenzione */
/* @keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(160, 156, 156, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(240, 234, 234, 0.8);
    }
    100% {
        box-shadow: 0 4px 15px rgba(255, 255, 255, 0.4);
    }
} */

.main-button:not(.active) {
}

        #footer-scroller {
            overflow: hidden;
            width: 100%;
            height: 160px;
            position: relative;
        }
        
        .overlay-left, .overlay-right {
            position: absolute;
            top: 0;
            width: 50px;
            height: 100%;
            z-index: 1;
        }
        
        .overlay-left {
            left: 0;
            background: linear-gradient(to right, white, transparent);
        }
        
        .overlay-right {
            right: 0;
            background: linear-gradient(to left, white, transparent);
        }
        
        #footer-scroller-core {
            height: 100%;
        }
        
        .scrollWrapper {
            height: 100%;
            display: flex;
            align-items: center;
        }
        
        .scrollableArea {
            background: #fff;
            display: flex;
            align-items: center;
            animation: scroll 120s linear infinite;
            gap: 50px;
        }
        
        .scrollableArea img {
            height: 160px;
            flex-shrink: 0;
        }
        
        .hand {
            cursor: pointer;
        }
        
        @keyframes scroll {
            0% {
                transform: translateX(0%);
            }
            100% {
                transform: translateX(-50%);
            }
        }

        /* ============================================
           FOOTER SECTION - STILE PULITO
           ============================================ */
        .footer-section {
            width: 100%;
            background-color: #f8f9fa;
            border-top: 1px solid #e9ecef;
            padding: clamp(2.5rem, 5vw, 4rem) 0;
        }

        .footer-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 clamp(1rem, 3vw, 2rem);
            display: grid;
            grid-template-columns: 1fr auto;
            gap: clamp(3rem, 6vw, 5rem);
            align-items: start;
        }

        /* ============================================
           LEFT SECTION - COMPANY INFO
           ============================================ */
        .footer-left {
            display: flex;
            flex-direction: column;
            gap: clamp(1.8rem, 3.5vw, 2.5rem);
        }

        .company-info {
            color: #666;
            font-size: clamp(0.85rem, 1.4vw, 0.95rem);
            line-height: 1.6;
        }

        .brand-name {
            margin-bottom: 1rem;
            font-size: clamp(0.9rem, 1.5vw, 1rem);
        }

        .company-info strong {
            color: #333;
            font-weight: 600;
        }

        .company-details {
            display: flex;
            flex-direction: column;
            gap: 0.3rem;
        }

        .company-details p {
            margin: 0;
        }

        /* ============================================
           LEGAL LINKS - MIGLIORATO
           ============================================ */
        .legal-links {
            display: flex;
            flex-wrap: wrap;
            gap: clamp(0.8rem, 1.5vw, 1rem);
            align-items: center;
            font-size: clamp(0.8rem, 1.3vw, 0.9rem);
        }

        .legal-link {
            color: #666;
            text-decoration: none;
            padding: 0.4rem 0;
            border-bottom: 1px solid transparent;
            transition: all 0.3s ease;
            position: relative;
        }

        .legal-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 1px;
            bottom: 0;
            left: 0;
            background-color: #007bff;
            transition: width 0.3s ease;
        }

        .legal-link:hover {
            color: #007bff;
            border-bottom: none;
        }

        .legal-link:hover::after {
            width: 100%;
        }

        .separator {
            color: #ccc;
            font-weight: 300;
            margin: 0 0.2rem;
        }

        /* ============================================
           SOCIAL MEDIA - ELEGANTE
           ============================================ */
        .social-media {
            display: flex;
            gap: clamp(0.8rem, 1.5vw, 1rem);
            align-items: center;
        }

        .social-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: clamp(40px, 5vw, 45px);
            height: clamp(40px, 5vw, 45px);
            border-radius: 50%;
            text-decoration: none;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            background: rgba(255, 255, 255, 0.8);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            position: relative;
            overflow: hidden;
        }

        .social-link::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            transform: scale(0);
            transition: transform 0.3s ease;
        }


        .social-link svg {
            width: clamp(20px, 3vw, 24px);
            height: clamp(20px, 3vw, 24px);
            transition: transform 0.3s ease;
            position: relative;
            z-index: 1;
        }

        /* ============================================
           RIGHT SECTION - CERTIFICATIONS & PAYMENTS
           ============================================ */
        .footer-right {
            display: flex;
            flex-direction: column;
            gap: clamp(2rem, 4vw, 3rem);
            align-items: flex-end;
            min-width: 300px;
        }

        /* ============================================
           CERTIFICATIONS - CLEAN DESIGN
           ============================================ */
        .certifications {
            display: flex;
            gap: clamp(0.8rem, 1.5vw, 1.2rem);
            align-items: center;
        }

        .cert-item img {
            height: clamp(40px, 6vw, 50px);
            width: auto;
        }

        /* ============================================
           PAYMENT METHODS - MODERN GRID
           ============================================ */
        .payment-methods {
            display: flex;
            gap: 0;
            align-items: center;
            flex-wrap: wrap;
            justify-content: flex-end;
        }

        .payment-item img {
            height: clamp(35px, 4vw, 45px);
            width: auto;
            border-radius: 6px;
            transition: all 0.3s ease;
        }

        /* ============================================
           SHIPPING SELECTOR - IMPROVED & ORGANIZED
           ============================================ */
        .shipping-selector {
            align-self: stretch;
            min-width: 320px;
        }

        .shipping-dropdown {
            position: relative;
            width: 100%;
        }

        .shipping-button {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: clamp(0.9rem, 1.8vw, 1.2rem) clamp(1.2rem, 2.2vw, 1.6rem);
            background: #333;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: clamp(0.9rem, 1.5vw, 1rem);
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            font-family: inherit;
            position: relative;
            overflow: hidden;
        }

        .shipping-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
            transition: left 0.5s ease;
        }

        .shipping-button:hover::before {
            left: 100%;
        }

        .shipping-text {
            font-weight: 500;
            flex: 1;
            text-align: left;
            display: flex;
            align-items: center;
            gap: 0.8rem;
        }

        .selected-flag {
            width: 24px;
            height: auto;
            border-radius: 3px;
            object-fit: cover;
        }

        .change-text {
            color: #ccc;
            font-size: clamp(0.85rem, 1.4vw, 0.95rem);
            text-decoration: underline;
            margin-right: 0.8rem;
            transition: color 0.3s ease;
        }

        .shipping-button:hover .change-text {
            color: white;
        }

        .arrow-icon {
            transition: transform 0.3s ease;
            opacity: 0.7;
            transform: rotate(180deg);
        }

        .shipping-button.active .arrow-icon {
            transform: rotate(0deg);
        }

        .shipping-button:hover .arrow-icon {
            opacity: 1;
        }

        /* ============================================
           DROPDOWN MENU - ORGANIZED GRID LAYOUT
           ============================================ */
        .select-items {
            position: absolute;
            bottom: calc(100% + 12px);
            left: 0;
            right: 0;
            background: white;
            border: 1px solid #ddd;
            border-radius: 12px;
            box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.15);
            overflow-y: hidden;
            overflow-x: auto;
            opacity: 0;
            visibility: hidden;
            transform: translateY(12px);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 1000;
            backdrop-filter: blur(10px);
            max-height: 500px;
        }

        .select-items.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        /* ============================================
           SEARCH CONTAINER
           ============================================ */
        .search-container-footer {
            position: relative;
            padding: 1rem;
            border-bottom: 1px solid #f0f0f0;
            background: #fafafa;
        }

        .country-search {
            width: 100%;
            padding: 0.8rem 1rem 0.8rem 2.5rem;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 0.9rem;
            outline: none;
            transition: all 0.3s ease;
            font-family: inherit;
        }

        .country-search:focus {
            border-color: #007bff;
            box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
        }

        .search-icon-lang {
            position: absolute;
            left: 1.8rem;
            top: 50%;
            transform: translateY(-50%);
            color: #666;
            pointer-events: none;
        }

        /* ============================================
           COUNTRIES GRID - 2 COLUMNS LAYOUT
           ============================================ */
        .countries-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            max-height: 300px;
            overflow-y: auto;
            padding: 0.5rem 0;
        }

        /* Custom Scrollbar */
        .countries-grid::-webkit-scrollbar {
            width: 6px;
        }

        .countries-grid::-webkit-scrollbar-track {
            background: #f1f1f1;
        }

        .countries-grid::-webkit-scrollbar-thumb {
            background: #ccc;
            border-radius: 3px;
        }

        .countries-grid::-webkit-scrollbar-thumb:hover {
            background: #999;
        }

        .select-item {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            padding: 0.75rem 1rem;
            color: #333;
            cursor: pointer;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            border-bottom: 1px solid transparent;
            position: relative;
            margin: 0 0.5rem;
            border-radius: 6px;
        }

        .select-item:hover {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            color: #007bff;
            transform: translateX(4px);
        }

        .select-item.selected {
            background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
            color: white;
            font-weight: 600;
        }

        .select-item img {
            width: 20px;
            height: auto;
            border-radius: 3px;
            object-fit: cover;
            flex-shrink: 0;
        }

        .select-item a {
            color: #333;
            text-decoration: none;
        }
        
        .select-item a:hover {
            color: #007bff;
            text-decoration: none;
        }

        .flag-placeholder {
            width: 20px;
            height: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            flex-shrink: 0;
        }

        /* ============================================
           NO RESULTS MESSAGE
           ============================================ */
        .no-results {
            padding: 2rem;
            text-align: center;
            color: #666;
            font-style: italic;
        }

        /* ============================================
           RESPONSIVE DESIGN - MOBILE FIRST
           ============================================ */

        /* Large Tablets */
        @media (max-width: 1200px) {
            .footer-container {
                gap: clamp(2.5rem, 5vw, 4rem);
            }
            
            .footer-right {
                min-width: 280px;
            }
        }

        /* Medium Tablets */
        @media (max-width: 992px) {
            .footer-container {
                grid-template-columns: 1fr;
                gap: clamp(2.5rem, 4vw, 3.5rem);
                text-align: center;
            }
            
            .footer-right {
                align-items: center;
                min-width: auto;
                width: 100%;
            }
            
            .legal-links {
                justify-content: center;
            }
            
            .social-media {
                justify-content: center;
            }
            
            .certifications {
                justify-content: center;
            }
            
            .payment-methods {
                justify-content: center;
            }

            .shipping-selector {
                min-width: auto;
                max-width: 400px;
                margin: 0 auto;
            }
            .shipping-button {
                min-width:400px
            }
        }

        /* Small Tablets */
        @media (max-width: 768px) {
            .footer-section {
                padding: clamp(2rem, 4vw, 3rem) 0;
            }
            
            .footer-container {
                padding: 0 clamp(1rem, 2.5vw, 1.5rem);
                gap: clamp(2rem, 3vw, 2.5rem);
            }
            
            .legal-links {
                flex-direction: column;
                gap: clamp(0.8rem, 1.5vw, 1rem);
                text-align: center;
            }
            
            .separator {
                display: none;
            }
            
            .shipping-selector {
                min-width: auto;
                max-width: 400px;
                margin: 0 auto;
            }

            .countries-grid {
                grid-template-columns: 1fr;
                max-height: 250px;
            }

            .select-item {
                padding: 1rem;
                font-size: 1rem;
            }
        }

        /* Mobile Phones */
        @media (max-width: 576px) {
            .footer-section {
                padding: clamp(1.5rem, 3vw, 2.5rem) 0;
            }
            
            .footer-container {
                padding: 0 clamp(0.8rem, 2vw, 1.2rem);
                gap: clamp(1.5rem, 2.5vw, 2rem);
            }
            
            .footer-left {
                gap: clamp(1.5rem, 2.5vw, 2rem);
            }
            
            .footer-right {
                gap: clamp(1.5rem, 2.5vw, 2rem);
            }
            
            .certifications {
                flex-wrap: wrap;
                justify-content: center;
                gap: clamp(0.6rem, 1.2vw, 0.8rem);
            }
            
            .payment-methods {
                flex-wrap: wrap;
                justify-content: center;
                gap: clamp(0.5rem, 1vw, 0.6rem);
            }
            
            .social-media {
                flex-wrap: wrap;
                justify-content: center;
                gap: clamp(0.6rem, 1.2vw, 0.8rem);
            }
        }

        /* Small Mobile */
        @media (max-width: 480px) {
            .shipping-button {
                min-width:auto;
            }
            .company-info {
                text-align: center;
            }
            
            .certifications {
                gap: 0.5rem;
            }
            
            .cert-item img {
                height: clamp(40px, 5vw, 40px);
            }
            
            .payment-methods {
                gap: 0.4rem;
            }
            
            .payment-item img {
                height: 35px;
            }

            .countries-grid {
                max-height: 200px;
            }

            .select-item {
                margin: 0 0.25rem;
                padding: 0.9rem 0.8rem;
            }
        }

        .footer-section {
            clear: both;
        }

        /* Ultra-wide screens */
        @media (min-width: 1920px) {
            .footer-section {
                padding: clamp(4rem, 6vw, 5rem) 0;
            }
            
            .footer-container {
                max-width: 1600px;
                padding: 0 3rem;
            }
        }

        /* Very small screens */
        @media (max-width: 320px) {
            .footer-container {
                padding: 0 clamp(0.6rem, 1.5vw, 1rem);
            }
            
            .company-info {
                font-size: clamp(0.8rem, 1.2vw, 0.85rem);
            }
            
            .legal-links {
                font-size: clamp(0.75rem, 1.1vw, 0.8rem);
            }
            
            .shipping-button {
                padding: 0.8rem 1rem;
                font-size: 0.85rem;
            }
        }

        /* ============================================
           ANIMATION ENHANCEMENTS
           ============================================ */
        .select-item {
            transform-origin: left center;
        }

        .countries-grid {
            animation: fadeInUp 0.3s ease-out;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* ============================================
           ACCESSIBILITY IMPROVEMENTS
           ============================================ */
        .select-item:focus {
            outline: 2px solid #007bff;
            outline-offset: 2px;
        }

        .country-search:focus {
            outline: none;
        }

        /* High contrast mode support */
        @media (prefers-contrast: high) {
            .footer-section {
                border-top: 2px solid #000;
            }
            
            .legal-link:hover {
                background: #000;
                color: #fff;
            }
            
            .shipping-button {
                border: 2px solid #000;
            }
        }

        /* Reduced motion support */
        @media (prefers-reduced-motion: reduce) {
            *,
            *::before,
            *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
                scroll-behavior: auto !important;
            }
        }

        /* Dark mode support (se necessario) */
        @media (prefers-color-scheme: dark) {
            .footer-section {
                background-color: #1a1a1a;
                border-top-color: #333;
            }
            
            .company-info,
            .legal-link {
                color: #ccc;
            }
            
            .company-info strong {
                color: #fff;
            }
            
            .legal-link:hover {
                color: #4dabf7;
            }
            
            .social-link {
                background: rgba(255, 255, 255, 0.1);
            }
            
            .cert-item img,
            .payment-item img {
                filter: brightness(0.9);
            }
            
            .select-items {
                background: #2a2a2a;
                border-color: #444;
            }
            
            .select-item {
                color: #ccc;
                border-bottom-color: #333;
            }
            
            .select-item:hover {
                background: #333;
                color: #4dabf7;
            }

        }

        .section-products {
            background-color: #fafafa;
            border-top: 1px solid #e9ecef;
            border-bottom: 1px solid #e9ecef;
        }

        .products-grid-container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .products-grid-container .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, 300px);
            width: 100%;
            justify-content: center;
            max-width: 100%;
            gap: 0;
        }

        .products-grid-container .products-grid a {
            text-decoration:none;
        }

        @media (max-width: 1199px) {
            .products-grid-container .products-grid {
                grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
                justify-content: stretch; /* o center, a seconda di cosa vuoi */
            }
        }

        .products-grid-container .product-item {
            width: 100%;
            background: white;
            overflow: hidden;
            cursor: pointer;
            position: relative;
            border-right: 1px solid #e9ecef;
            border-bottom: 1px solid #e9ecef;
            border-radius: 0px;
        }

        .products-grid-container .product-image {
            position: relative;
            width: 100%;
            display: flex;
            justify-content: center;
            overflow: hidden;
            padding: 4rem 2rem 2rem 2rem;
        }        

        .products-grid-container .product-image img {
            width: 150px;
            height: 150px;
            object-fit: cover;
            display: block;
        }

        .products-grid-container .product-badge {
            position: absolute;
            top: clamp(0.8rem, 2vw, 1rem);
            right: clamp(0.8rem, 2vw, 1rem);
            width: clamp(30px, 5vw, 40px);
            height: clamp(30px, 5vw, 40px);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .products-grid-container .product-badge img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .products-grid-container .product-info {
            padding: 1rem;
            text-align: center;
        }

        .products-grid-container .product-info h3 {
            font-size: clamp(1.1rem, 2.2vw, 1.3rem);
            font-weight: 600;
            color: #00BFFF;
            margin: 0 0 clamp(0.8rem, 1.5vw, 1rem) 0;
        }

        .products-grid-container .product-pricing {
            display: flex;
            flex-direction: column;
        }

        .products-grid-container .original-price {
            font-size: clamp(0.8rem, 1.4vw, 0.95rem);
            color: #999;
        }

        .products-grid-container .offique-price {
            color: #333;
            font-weight: 600;
            line-height: 1;
        }

        .products-grid-container .product-hover-image-container {
            position: absolute;
            bottom: 0;
            right: inherit;
            display: flex;
            justify-content: center;
            align-items: center;
            pointer-events: none;
            z-index: 5;
            opacity: 0;
            transition: opacity 0.5s ease-in-out;
        }

        /* Immagine centrata e arrotondata */
        .products-grid-container .product-hover-image {
            position: relative;
            width: auto;
            height: auto;
            border-radius: 5px;
            /* object-fit: cover; */
            /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); */
            transition: transform 0.3s ease;
            opacity: 0;
        }

        /* Al hover mostra il contenitore e l'immagine */
        .products-grid-container .product-item:hover .product-hover-image-container {
            opacity: 1;
        }

        .products-grid-container .product-item:hover .product-hover-image {
            opacity: 1;
        }


        /* Responsive Grid */
        @media (max-width: 1200px) {
            .products-grid {
                grid-template-columns: repeat(auto-fit, calc(50% - clamp(1rem, 2vw, 1.45rem)));
                max-width: 600px;
            }
        }

        @media (max-width: 768px) {

            
            .products-grid {
                grid-template-columns: repeat(auto-fit, calc(50% - clamp(1rem, 2vw, 1.45rem)));
            }

            .products-grid-container .product-badge {
                width: 35px;
                height: 35px;
            }
        }

        @media (max-width: 480px) {
            .products-grid {
                grid-template-columns: repeat(auto-fit, 100%);
            }
        }

        @media (max-width: 320px) {

            .products-grid {
                grid-template-columns: 1fr;
                justify-items: center;
            }
            
            .products-grid-container .product-item {
                width: 280px;
                max-width: calc(100vw - 2rem);
            }
        }
        .price-strike {
            text-decoration: line-through;
            color: #888;
        }


        .product-item:hover .product-arrow-svg {
            display: none;
        }

    .subtitle {
        text-align: left;
        color: #444;
        margin-bottom: 40px;
        max-width: 600px;
        font-weight: 400;
        font-size: clamp(1.000rem, 0.9167rem + 0.2778vw, 1.125rem) /* 16px 18px | 480px 1200px */;
        line-height: 24px;
    }




















































        .gallery-photo-section {
            display: flex;
            position: sticky;
            top: 90px;
            left: 0;
            margin: 0px;
            align-self: flex-start; 
        }

        .gallery-sidebar {
            width: 80px;
            padding: 20px 5px;
            flex-direction: column;
            align-items: center;
            position: relative;
            z-index: 25;
            display:none;
        }

        .nav-arrow-up {
            background: none;
            border: none;
            font-size: 14px;
            color: #666;
            cursor: pointer;
            padding: 8px;
            margin-bottom: 15px;
            font-size: 30px;
            height: 50px;
            width: 50px;
        }

        .nav-arrow-up:hover {
            color: #007bff;
        }

        .gallery-for-thumbs {
            width:60px;
        }

        .gallery-thumbs {

/*            display: flex;
            flex-direction: column;
            gap: 12px;
            max-height: 600px;
            min-height: 400px;
            overflow-y: auto;
            scrollbar-width: none;
            -ms-overflow-style: none;
*/
        }

        .gallery-thumbs::-webkit-scrollbar {
            display: none;
        }

        .gallery-thumb {
            width: 60px;
            height: 60px;
            border: 2px solid transparent;
            cursor: pointer;
            /* transition: all 0.3s ease; */
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            padding: 3px;
        }
        .gallery-thumb a {
            width: 100%;
            height: 100%;
        }

        .gallery-thumb:hover,
        .gallery-thumb.active {
            border-color: #b8b8b8;
            border-radius: 13px;
            padding: 3px;
        }

        .gallery-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 8px;
        }

        .nav-arrow-down {
            background: none;
            border: none;
            font-size: 14px;
            color: #666;
            cursor: pointer;
            padding: 8px;
            margin-top: 15px;
            font-size: 30px;
            height: 50px;
            width: 50px;
        }

        .nav-arrow-down:hover {
            color: #007bff;
        }

        .main-image-section {
            flex: 1;
            padding: 40px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .chair-image-container {
            max-width: 100%;
            width: 100%;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .main-chair-image {
            width: 100%;
            height: auto;
            max-height: 500px;
            object-fit: contain;
        }

        .video-button {
            background: #ff0000;
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 25px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            margin-top: 20px;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: all 0.3s ease;
            max-width: fit-content;
        }

        .video-button:hover {
            background: #cc0000;
            transform: translateY(-2px);
        }
        .gallery-button {
            background: #ff0000;
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 25px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            margin-top: 20px;
            display: none;
            align-items: center;
            gap: 8px;
            transition: all 0.3s ease;
            max-width: fit-content;
        }

        .gallery-button:hover {
            background: #cc0000;
            transform: translateY(-2px);
        }

        .video-button::before {
            content: '▶';
            font-size: 20px;
        }

        /* SEZIONE 2: Configuratore (33%) */
        .configurator-section {
            padding: 25px;
            overflow-y: auto;
            background: #f8f9fa;
        }

        .config-title {
            font-size: clamp(2.3rem, 3.5vw, 3.3rem);
            margin-bottom: 30px;
            /* color: #333;
            font-size: 1.3rem;
            position: sticky;
            top: 0;
            z-index: 10; */
        }

        .config-thumbnails {
            display: flex;
            gap: 8px;
            margin-bottom: 25px;
        }

        .config-thumb {
            width: 50px;
            height: 60px;
            border: 2px solid transparent;
            cursor: pointer;
            background: #f8f9fa;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .config-thumb.active {
            border-color: #007bff;
        }

        .config-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 4px;
        }

        .attributo-container,
        .color-group {
        }

        .color-group-title {
            font-size: 0.85rem;
            color: #666;
            margin-bottom: 10px;
            font-weight: 600;
        }

        .color-options {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
        }

        .color-option {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: 2px solid transparent;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .color-option:hover {
            transform: scale(1.1);
            border-color: #333;
        }

        img.attributo-selezionato-corrente,
        .color-option.active {
            border-color: #007bff;
            box-shadow: 0 0 5px 2px rgba(0,123,255,0.3);
        }

        .red { background: #dc3545; }
        .green { background: #28a745; }
        .lime { background: #8bc34a; }
        .brown { background: #8b4513; }
        .cyan { background: #17a2b8; }
        .blue { background: #007bff; }
        .purple { background: #6f42c1; }
        .olive { background: #6b8e23; }
        .navy { background: #000080; }
        .teal { background: #008080; }
        .violet { background: #8a2be2; }
        .tan { background: #d2b48c; }

        .current-config {
            padding: 25px 0;

        }

        .current-config-title {
            font-size: clamp(2.2rem, 3vw, 2.8rem);            
            font-weight: bold;
            margin-bottom: 12px;
            color: #333;
        }

        .config-list {
            list-style: none;
            color: #666;
            padding: 0;
        }

        .config-list li {
            margin-bottom: 4px;
            padding-left: 10px;
            position: relative;
        }

        .config-list li::before {
            content: '•';
            position: absolute;
            left: 0;
        }
        .warranty-download-section {
            text-align: center;
            padding: 20px 20px 20px 0;
            margin-top: 30px;
            border-top: 1px solid #e9ecef;
        }

        .warranty-info {
            display: flex;
            align-items: center;
            justify-content: start;
            margin-bottom: 20px;
        }

        .warranty-circle {
            width: 50px;
            height: 50px;
            border: 2px solid #ddd;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #999;
            font-size: 1.2rem;
            font-weight: bold;
            margin-right: 15px;
        }

        .warranty-text {
            text-align: left;
            font-size: 0.9rem;
            color: #999;
        }

        .download-section {
            margin-bottom: 20px;
        }

        .download-title {
            font-weight: bold;
            margin-bottom: 10px;
            color: #333;
            text-align: left;
        }

        .download-item {
            display: flex;
            align-items: center;
            justify-content: start;
            background: white;
            border: 1px solid #ddd;
            border-radius: 8px;
            padding: 15px;
            cursor: pointer;
            transition: all 0.3s ease;
            max-width: 300px;
            margin: 0 0 10px 0;
        }

        .download-item:hover {
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

        .download-item a {
            text-decoration: none;
        }

        .pdf-icon {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 12px;
            color: white;
            font-size: 0.7rem;
            font-weight: bold;
        }
        .pdf-icon img {
            width: 100%;
            height: 100%;
        }


        .download-item span {
            color: #333;
            font-size: 0.85rem;
        }

        .made-in-section {
            display: flex;
            align-items: center;
            justify-content: start;
            gap: 10px;
        }

        .made-in-text {
            text-align: right;
            font-size: 0.7rem;
            color: #999;
        }

        .usa-text {
            font-weight: bold;
        }

        .usa-flag {
            width: 40px;
            height: auto;
            border: 1px solid #ddd;
        }




































.cart-section {
    background: white;
    display: flex;
    flex-direction: column;
    padding: 15px;
    position: sticky;
    top: 90px;
    left: 0;
    margin: 0px;
    align-self: flex-start;
}

.price-section {
    background: #00C0FF;
    color: white;
    padding: 15px;
    text-align: center;
    position: relative;
    border-radius: 8px 8px 0 0;
}

.price-section::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 90%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: #00C0FF 10px solid;
}

.price-main {
    font-size: 1.6rem;
    font-weight: bold;
    margin: 0;
}

.price-details-card {
    background: #f5f5f5;
    padding: 20px;
    margin: 0;
    font-size: 0.8rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    align-items: flex-end;
    flex-direction: column;
}

.price-original {
    text-decoration: line-through;
    color: #666;
    font-size: 1.7rem;
}

.price-current {
    color: #00bcd4;
    font-weight: bold;
    font-size: 1.7rem;
}

.price-text {
    font-size: 1.2rem;
}

.discount {
    color: #00bcd4;
    font-weight: bold;
    font-size: 1.7rem;
}

#articolo-prezzo-sconto-qta {
    font-weight: 900;
    color: #053968;
}

.shipping-info {
    text-align: end;
    margin: 15px 0;
    color: #666;
}
.shipping-price {
    font-size: 1.1rem;
    line-height: 1;
    margin: 0 0 5px 0;
}
.shipping-included {
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
    line-height: 1;
}

.ready-delivery {
    background: #ddd;
    padding: 20px;
    border-radius: 0 0 8px 8px;
    text-align: center;
    font-weight: bold;
    color: #333;
    margin-top: 2px;
}

.cart-controls {
    padding: 15px 0 0 0;
    flex: 1;
}
.quantity-container {
/*
    display: flex;
*/
}
.quantity-section {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 15px;
    margin-bottom: 15px;
    background: #00C0FF;
    padding: 15px;
    border-radius: 8px;
    min-width: 195px;
    max-width: 200px;
    max-height: 60px;
    float: left;
}

.quantity-btn {
    width: 35px;
    height: 35px;
    border: none;
    background: white;
    color: #00bcd4;
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quantity-display {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    min-width: 40px;
    text-align: center;
}

.savings-icon {
    color: white;
    font-size: 20px;
}

.add-to-cart-btn {
   width: 100%;
    background: #333;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    clear: both;
    height: 60px;
    font-family: "Inter", sans-serif;
}

.add-to-cart-btn:hover {
    background: #000;
}

.paypal-info {
    text-align: center;
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 20px;
}

.paypal-link {
    text-decoration: underline;
}

.coupon-section {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.coupon-title {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
}

.coupon-highlight {
    color: #ff6b35;
    font-weight: bold;
}

.coupon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.coupon-icon {
    font-size: 24px;
    color: #00bcd4;
}

.coupon-box {
    border: 2px dashed #ccc;
    padding: 10px 15px;
    border-radius: 6px;
    background: white;
    text-align: center;
}

.coupon-text {
    color: #00bcd4;
    font-weight: bold;
    font-size: 0.8rem;
    line-height: 1.2;
}

.xxx {
    color: #333;
}

.coupon-word {
    color: #00bcd4;
    font-size: 1rem;
}

.coupon-scissors {
    font-size: 18px;
    color: #666;
}
.brand-info img {
    width: 100%;
    max-width: 200px;
}
.brand-info2 img {
    width: 100%;
    max-width: 200px;
}






































.main-container {
    display: grid;
    grid-template-columns: clamp(500px, 33vw, 900px) 1fr 300px;
    margin: 0 auto;
    background: white;
}



@media (max-width: 1100px) {


    .main-container {
        grid-template-columns: 1fr 1fr;
    }

}
@media (max-width: 1100px) {
    
    .main-container {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 800px) {

    .main-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;

    }

}
      /* Responsive */
@media (max-width: 1024px) {

    .gallery-photo-section {
        border-right: none;
        border-bottom: 1px solid #e9ecef;
        flex-direction: column;
        position: relative;
        top: inherit;
    }

    .gallery-sidebar {
        order: 2;
        height: auto;
        width: 100%;
        flex-direction: row;
        padding: 15px 10px;
        background: #f8f9fa;
        justify-content: center;
        align-items: center;
        max-width: 98vw;
    }

    .nav-arrow-up {
        order: 1;
        margin-bottom: 0;
        margin-right: 15px;
        transform: rotate(-90deg);
    }

    .nav-arrow-down {
        order: 3;
        margin-top: 0;
        margin-left: 15px;
        transform: rotate(-90deg);
    }

    .gallery-thumbs {
        order: 2;
        flex-direction: row;
        height: auto;
        overflow-x: auto;
        overflow-y: hidden;
        max-height: none;
        gap: 10px;
        padding: 0 10px;
        justify-content: flex-start;
        scroll-behavior: smooth;
    }

    .gallery-thumb {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
    }

    .main-image-section {
        order: 1;
        width: 100%;
        padding: 20px;
        background: white;
    }

    .chair-image-container {
        max-width: 100%;
        width: 100%;
    }

    .main-chair-image {
        width: 100%;
        max-height: 40vh;
        object-fit: contain;
    }

    .video-button {
        font-size: 14px;
        padding: 10px 20px;
    }

    .configurator-section {
        height: auto;
        border-right: none;
        border-bottom: 1px solid #e9ecef;
        position: relative;
        top: auto;
        padding: 50px;
    }

    .cart-section {
        height: auto;
        position: relative;
        top: auto;
    }
    .savings-icon {
        display: none;
    }

    .quantity-container {
    display: flex;
    justify-content: center;
    }
    .align-mobile {
        display: flex;
        flex-direction: row;
    }

    .cart-controls {
    padding: 12px 0 0 0;
    flex: 1;
}
} 

.bottoni {
    margin:20px 0 0 0;
}

@media (max-width: 1024px) {
    .bottoni {
        display: flex;
        flex-direction: row;
    }
    .gallery-button {
            display: flex;
            margin-right: 20px;
    }
    .gallery-sidebar {  
        display:none;
    }
}
@media (max-width: 480px) {
    .main-image-section {
        padding: 15px;
    }

    .main-chair-image {
        max-height: 50vh;
    }

    .gallery-thumbs {
        padding: 0 5px;
        gap: 8px;
    }

    .gallery-thumb {
        width: 50px;
        height: 50px;
    }
}

























































.brand-info2 {
    display: none;
}
.product-header {
    display: flex;
    align-items: start;
    gap: 40px;
    border-bottom: 1px solid #e9ecef;
    justify-content: center;
    padding-top:90px;
}   

.product-title {
   font-size: 3.9rem;
   color: #333;
   min-width: 30%;
   background: white;
   padding:  40px 20px 20px 20px;
   display: flex;
    justify-content: end;
    align-items: start;
}

.header-right {
    display: flex;
    flex-direction: row;
    flex:1;
    background: #fafafa;
    padding: 40px;
    justify-content: space-between;
}
.product-description {
   flex: 1;
   font-size: 1rem;
   line-height: 1.6;
   color: #666;
   width: 60%;
   max-width: 600px;
}
.product-description p:last-child {
    margin-bottom: 0;
}

.brand-info {
   display: flex;
   flex-direction: column;
   align-items: flex-end;
   gap: 20px;
   min-width: 220px;
}

.herman-miller-logo {
   display: flex;
   align-items: center;
   gap: 8px;
}

.logo-circle {
   width: 30px;
   height: 30px;
   background: #ff4444;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   color: white;
   font-size: 12px;
}

.logo-text {
   font-weight: bold;
   color: #333;
   font-size: 1.1rem;
}

.designer-info {
   display: flex;
   align-items: center;
   gap: 12px;
}

.designer-photo {
   width: 50px;
   height: 50px;
   background: #ddd;
   border-radius: 50%;
   background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><circle cx="25" cy="25" r="25" fill="%23ddd"/><circle cx="25" cy="20" r="8" fill="%23999"/><path d="M10 40 Q25 30 40 40" fill="%23999"/></svg>');
   background-size: cover;
}

.designer-details {
   text-align: right;
}

.designer-label {
   font-size: 0.8rem;
   color: #999;
   margin-bottom: 2px;
}

.designer-name {
   font-size: 0.9rem;
   font-weight: bold;
   color: #333;
}

@media (max-width: 1024px) {
    .warranty-download-section {
        padding: 20px 0 0 0;
    }
    .product-description {
    max-width: 100%;
}
    .header-right {
    }
   .product-header {
       flex-direction: column;
       gap: 20px;
       padding: 120px 0px 0px 0px;
   }
   
   .product-title {
       font-size: 2.5rem;
       min-width: auto;
       padding:0 0 0 40px;
   }
   
   .brand-info {

       display: none;
   }
   .designer-info {
    padding:20px 0 0 0;
    }
   .brand-info2 {
    display: flex;
    width: 100%;
    justify-content: start;
    padding: 20px 0 0 0;
    flex-direction: column;
   }
   .designer-details {
       text-align: left;
   }
}
@media (max-width: 480px) {
    .brand-info2 {
        flex-direction: column;
    }
}

.color-option:hover {
            transform: scale(1.1);
            border-color: #333;
        }

        .color-option.active {
            border-color: #007bff;
            box-shadow: 0 0 0 2px rgba(0,123,255,0.3);
        }

        /* Tooltip per anteprima colori */
        .color-tooltip {
            position: absolute;
            background: white;
            border: 2px solid #e0e0e0;
            border-radius: 12px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
            padding: 15px;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            pointer-events: none;
            min-width: 200px;
            text-align: center;
        }

        .color-tooltip.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(-5px);
        }

        .color-tooltip::before {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-left: 8px solid transparent;
            border-right: 8px solid transparent;
            border-top: 8px solid #e0e0e0;
        }

        .color-tooltip::after {
            content: '';
            position: absolute;
            bottom: -6px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-left: 8px solid transparent;
            border-right: 8px solid transparent;
            border-top: 8px solid white;
        }

        .tooltip-color-preview {
            width: 140px;
            height: 140px;
            border-radius: 50%;
            border: 3px solid #fff;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            margin: 0 auto 10px;
        }

        .tooltip-color-name {
            font-size: 12px;
            font-weight: 600;
            color: #333;
            text-transform: capitalize;
        }

        /* Responsive per tooltip */
        @media (max-width: 768px) {
            .color-tooltip {
                min-width: 100px;
                padding: 12px;
            }
            
            .tooltip-color-preview {
                width: 60px;
                height: 60px;
                margin: 0 auto 8px;
            }
            
            .tooltip-color-name {
                font-size: 11px;
            }
        }

        @media (max-width: 480px) {
            .color-tooltip {
                min-width: 90px;
                padding: 10px;
            }
            
            .tooltip-color-preview {
                width: 50px;
                height: 50px;
                margin: 0 auto 6px;
            }
            
            .tooltip-color-name {
                font-size: 10px;
            }
        }




































.attributi-categorie {
    clear:both;
    margin-bottom: 30px;
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;    
}

.attributi-categoria-on {
    display: flex;
    flex-direction: row;
    max-width: 600px;
    width: 100%;
    flex-wrap: wrap;
    padding-left: 5px;
}

.attributi-categorie h3 {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 10px;
    letter-spacing: 0;
    padding-left: 5px;
}

.attributo-container {
/*
    background: White;
*/
    width: 37px;
    height: 52px;
    margin-top: 1px;
    float: left;
    margin-right: 6px;
}
/*
.attributo-selezionato, .attributo-selezionato-corrente {
    background: White;
    width: 37px;
    height: 6px;
    margin-top: 1px;
    float: left;
}
*/
.attributo-selezionato {
    line-height: 1.2;
    font-size: 16px;
    font-family: "Inter", sans-serif;
    color: #333;
}
.tooltip-main {
    display: none;
}

.tooltip-attributo {
    font-size: 11px;
    height: 265px;
    width: 212px;
}

.tooltip-containter {
    padding: 15px;
}

.tooltip-containter-titolo {
    height: 50px;
}

.tooltip-status {
    padding-bottom: 4px;
}

.attributo-immagine {
    float: left;
    width: 37px;
    height: 37px;
}

.attributo-immagine img {
    border-radius: 50%;
}

.attributi-variazioni-status {
    font-size: 13px;
    color: #6c7e8d;
    font-weight: normal;
    letter-spacing: 0;
}

#configurazione-corrente h3 {
    font-size: clamp(2.2rem, 3vw, 2.8rem);
    font-weight: bold;
    margin-bottom: 12px;
    color: #333;
    clear: both;
}

#articolo-colonna-immagine {
/*
    height: 523px;
*/
    display: flex;
    justify-content: center;
    max-width: 439px;
    width: 100%;
    position: relative;
}

#articolo-colonna-immagine-combinazioni {
    position: relative;
    height: 523px;
/*
    display: flex;
    justify-content: center;
    max-width: 439px;
*/
    width: 100%;
}

#combinazioni-container {
    position: relative;
    height: 460px;
/*
    max-width: 0;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
*/
}

.combinazione-immagine {
    position: absolute;
    top: 0;
    right: 0;
/*
    left:auto;
    bottom:auto;
    z-index: 0;
    background: #fff;
    width: 100%;
    max-width: 439px;
    height: 523px;
    color: #fff;
*/
}



.articolo-video {
    display: none;
    padding: 20px 20px 20px 0;
    z-index: 1;
}






































































.discount-container {
    position: relative;
    padding: 0 0px 0 15px;
    flex: 1;
    display: flex;
    height: 60px;
    margin: 0 0 15px 0;
}

.discount-icon {
    cursor: pointer;
    width: 60px;
    max-height: 60px;
    height: 100%;
    max-width: 80px;
}

#discount-table {
    min-width: 250px;
}

.discount-table {
    position: absolute;
    bottom: 100%;
    right: 25%;
    margin-bottom: 10px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    min-width: 220px;
}

.discount-container:hover .discount-table {
    opacity: 1;
    visibility: visible;
}

.discount-table::before {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #e0e0e0;
}

.discount-table::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 0;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid white;
}

.table-header {
    background-color: #f8f9fa;
    color: #6c757d;
    padding: 12px 15px;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid #e0e0e0;
    border-radius: 6px 6px 0 0;
}

.table-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
}

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

.quantity-range {
    color: #333;
    font-weight: 500;
}

.discount-percent {
    background-color: #e8f5e8;
    color: #28a745;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 12px;
}

.table-footer {
    background-color: #f8f9fa;
    color: #6c757d;
    padding: 10px 15px;
    font-size: 12px;
    text-align: center;
    font-style: italic;
    border-radius: 0 0 6px 6px;
}
@media  (max-width: 1024px) {
    .discount-container {
    position: relative;
    padding: 0 20px 20px 20px;
    flex: 1;
    width: 120px;
}
.add-to-cart-btn {
    max-height: 70px;
    padding: 0;
}
    .quantity-section {
        min-width: 160px;
        margin-bottom: 12px;
    }
}







.specifications-section {
    padding: 60px 40px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    border-bottom: 1px solid #e9ecef;
    max-width: 1200px;
    margin: 0 auto;
}

.specifications-title {
    min-width: 300px;
    display: flex;
    justify-content: end;
}

.specifications-title h2 {
    font-size: clamp(2.3rem, 3.5vw, 3rem);
    /* font-weight: 300; */
    line-height: 1.1;
    margin: 0;
    text-align: right;
}

.specifications-content {
    flex: 1;
    border-left: 5px solid #ddd;
    padding-left: 40px;
}

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

.specifications-list li {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
    padding-left: 20px;
    position: relative;
}

.specifications-list li::before {
    content: '•';
    color: #666;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}
@media (max-width: 900px) {

.specifications-title {
    min-width: 200px;
    display: flex;
    justify-content: end;
}
}
@media (max-width: 650px) {
    .specifications-section {
        flex-direction: column;
        gap: 30px;
        padding: 40px 20px;
    }
    
    .specifications-title {
        min-width: auto;
    }
    
    .specifications-title h2 {
        font-size: 2rem;
        text-align: start;
    }
    
    .specifications-content {
        border-left: none;
        border-top: 5px solid #ddd;
        padding-left: 0;
        padding-top: 30px;
    }
}

#coupon-slide-container {
    width: 100%;
}

#coupon-slide-container-inner {
    width: 246px;
    background-color: #0498b4;
    padding: 20px;
    float: left;
}

#articolo-coupon {
    width:100%;
    max-width:270px;
}

#articolo-coupon img {
    width:100%;
    max-width:270px;
}

#coupon-slide-form {
    color: White;
}

#coupon-slide-form input {
    background: #fff;
    padding: 5px;
    font-size: 17px;
    margin-bottom: 8px;
    border: 1px solid #eee;
    width: 236px;
    height: 31px;
}

#coupon-slide-form span.addendi {
    font-size: 18px;
    color: #007183;
}

#coupon-slide-form p {
    font-size: 14px;
    color: #007183;
}

#coupon-slide-form input[type="submit"] {
    background: #007183;
    color: #fff;
    width: 100%;
    display: block;
/*
    width: 100px;
    float: right;
*/
    clear: both;
}

#coupon-slide-form-status {
    margin-top: 12px;
    text-align: left;
    color: #cc0000;
    margin-right: 10px;
    clear: both;
/*
    width: 130px;
*/
}



















































































        .header-checkout {
            text-align: start;
            background: white;
            padding: 120px 30px 30px 30px;
        }

        .header-checkout h1 {
            font-size: 2.5rem;
            color: #2c3e50;
            margin-bottom: 15px;
            font-weight: 300;
        }

        .header-checkout p {
            color: #666;
            font-size: 1.1rem;
        }

        .header-checkout a {
            color: #e67e22;
            text-decoration: none;
            cursor: pointer;
        }

        .header-checkout a:hover {
            text-decoration: underline;
        }

        .checkout-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            border-top: 1px solid #ecf0f1;
        }

        .form-section {
            background: white;
            padding: 30px;
            border-right: 1px solid #ecf0f1;
        }

        .section-header {
            display: flex;
            align-items: center;
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 2px solid #ecf0f1;
        }

        .section-number {
            background: #3498db;
            color: white;
            width: 35px;
            height: 35px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            margin-right: 15px;
            font-size: 1.1rem;
            box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
        }

        .section-title {
            font-size: 1.3rem;
            color: #2c3e50;
            font-weight: 500;
        }

        .billing-options {
            display: flex;
            gap: 30px;
            margin-bottom: 25px;
            padding: 15px;
            background: #f8f9fa;
            border-radius: 8px;
            border: 2px solid #ecf0f1;
        }

        .radio-option {
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            padding: 5px 10px;
            border-radius: 5px;
            transition: background 0.3s ease;
        }

        .radio-option:hover {
            background: rgba(52, 152, 219, 0.1);
        }

        .radio-option input[type="radio"] {
            accent-color: #3498db;
            transform: scale(1.2);
        }

        .radio-option label {
            cursor: pointer;
            font-weight: 500;
            color: #2c3e50;
        }

        .form-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin-bottom: 20px;
        }

        .form-group {
            display: flex;
            flex-direction: column;
            position: relative;
        }

        .form-group.full-width {
            grid-column: 1 / -1;
        }

        .company-only,
        .private-only,
        .password-fields,
        .shipping-address-section {
            transition: all 0.3s ease;
        }

        .company-only.hidden,
        .private-only.hidden,
        .password-fields.hidden,
        .shipping-address-section.hidden {
            display: none;
        }

        .password-fields {
            margin: 15px 0;
            padding: 15px;
            background: #f8f9fa;
            border: 1px solid #ecf0f1;
        }

        .shipping-address-section {
            margin-top: 30px;
            padding: 25px;
            background: #f8f9fa;
            border: 1px solid #ecf0f1;
        }

        .shipping-info-notice {
            margin: 10px 0;
        }

        .form-group label {
            margin-bottom: 5px;
            color: #555;
            font-weight: 500;
        }
        
        .comment-section label {
            margin-bottom: 5px;
            color: #555;
            font-weight: 500;
        }

        .form-group input,
        .form-group select {
            padding: 12px;
            border: 2px solid #ecf0f1;
            border-radius: 5px;
            font-size: 1rem;
            transition: border-color 0.3s ease;
            display: block;
        }

        .form-group input:focus,
        .form-group select:focus {
            outline: none;
            border-color: #3498db;
        }

        .form-group input.error,
        .form-group select.error {
            border-color: #e74c3c;
        }

        .error-message {
            color: #e74c3c;
            font-size: 0.85rem;
            margin-top: 5px;
            display: none;
        }

        .error-message.show {
            display: block;
        }

        .shipping-info {
            border-radius: 5px;
            margin: 20px 0;
        }

        .shipping-method {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 10px;
        }

        .shipping-method input[type="radio"] {
            accent-color: #3498db;
        }

        .delivery-time {
            color: #666;
            font-size: 0.9rem;
            text-align: left;
        }

        .payment-methods-checkout {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .payment-option {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px;
            border: 2px solid #ecf0f1;
            border-radius: 5px;
            transition: border-color 0.3s ease;
        }

        .payment-option:hover {
            border-color: #3498db;
        }

        .payment-option input[type="radio"] {
            accent-color: #3498db;
        }

        .coupon-section {
            margin-top: 20px;
        }

        .coupon-input {
            display: flex;
            gap: 10px;
            margin-top: 10px;
        }

        .coupon-input input {
            flex: 1;
            padding: 12px;
            border: 2px solid #ecf0f1;
            border-radius: 5px;
        }

        .btn-coupon {
            background: #e67e22;
            color: white;
            border: none;
            padding: 12px 20px;
            border-radius: 5px;
            cursor: pointer;
            font-weight: 500;
            transition: background 0.3s ease;
        }

        .btn-coupon:hover {
            background: #d35400;
        }

        .order-summary {
            background: white;
            padding: 30px;
            height: fit-content;
            position: sticky;
            top: 20px;
        }

        .product-checkout {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 20px;
            padding-bottom: 20px;
            border-bottom: 1px solid #ecf0f1;
        }

        .product-checkout .product-image {
            width: 100px;
            height: 100px;
            background: #f8f9fa;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
        }

        .product-info {
            flex: 1;
        }

        .product-name {
            font-weight: 500;
            margin-bottom: 5px;
        }

        .product-controls {
            display: flex;
            flex-direction: row;
            gap: 10px;
            align-items: center;
        }

        .quantity-controls {
            display: flex;
            align-items: center;
            gap: 8px;
            background: #f8f9fa;
            border-radius: 500px;
            padding: 5px;
        }
/*
        .qty-btn {
            width: 30px;
            height: 30px;
            border: none;
            background: #3498db;
            color: white;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.2rem;
            font-weight: bold;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.3s ease;
        }

        .qty-btn:hover {
            background: #2980b9;
        }

        .qty-btn:disabled {
            background: #bdc3c7;
            cursor: not-allowed;
        }
*/
        .quantity {
            min-width: 30px;
            text-align: center;
            font-weight: bold;
            color: #2c3e50;
        }

        .remove-btn {
            width: 25px;
            height: 25px;
            border: none;
            background: #fff;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.2rem;
            font-weight: bold;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.3s ease;
        }

        .product-price {
            font-weight: bold;
            color: #2c3e50;
            font-size: 1.2rem;
        }

        .price-breakdown {
            margin-bottom: 20px;
        }

        .price-row-checkout {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
            padding: 5px 0;
        }

        .price-row-checkout.total,
        .price-row.total {
            border-top: 2px solid #ecf0f1;
            padding-top: 15px;
            font-weight: bold;
            font-size: 1.2rem;
            color: #27ae60;
        }

        .comment-section {
            margin-bottom: 20px;
        }

        .comment-section textarea {
            width: 100%;
            padding: 12px;
            border: 2px solid #ecf0f1;
            border-radius: 5px;
            resize: vertical;
            min-height: 80px;
            margin-top: 5px;
            font-family: "Inter", sans-serif;
        }

        .btn-order {
            width: 100%;
            background: #e67e22;
            color: white;
            border: none;
            padding: 15px;
            border-radius: 5px;
            font-size: 1.1rem;
            font-weight: 500;
            cursor: pointer;
            transition: background 0.3s ease;
        }

        .btn-order:hover {
            background: #d35400;
        }

        .account-options {
            margin-top: 20px;
        }

        .checkbox-option {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            margin-bottom: 10px;
        }

        .checkbox-option input[type="checkbox"] {
            margin-top: 3px;
            accent-color: #3498db;
        }

        .article-name-checkout {
            font-weight: 600;
            margin-bottom: 5px;
            text-align: left;
        }

        .comment-section textarea::placeholder {
            font-family: 'inter', sans-serif;
            font-size: 14px;
            font-style: italic;
            color: #999;
            opacity: 1; /* Per Firefox */
        }

        /* Stili per il Modal di Login */
        .login-modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(5px);
        }

        .login-modal.show {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .modal-content {
            background: white;
            padding: 0;
            border-radius: 8px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
            width: 100%;
            max-width: 450px;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
            margin: 20px;
        }

        .modal-close {
            position: absolute;
            top: 15px;
            right: 20px;
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: #666;
            z-index: 1001;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: background-color 0.3s ease;
        }

        .modal-close:hover {
            background-color: #f0f0f0;
            color: #333;
        }

        /* Stili del form di login nel modal */
        .login-container-modal {
            padding: 50px;
            position: relative;
            overflow: hidden;
        }

        .login-header-modal {
            text-align: center;
            margin-bottom: 40px;
        }

        .login-header-modal h1 {
            font-size: 2rem;
            color: #2c3e50;
            margin-bottom: 15px;
            font-weight: 400;
        }

        .login-header-modal p {
            color: #666;
            font-size: 1rem;
        }

        .form-section-modal {
            transition: transform 0.3s ease, opacity 0.3s ease;
        }

        .form-section-modal.hidden {
            transform: translateX(-100%);
            opacity: 0;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            pointer-events: none;
        }

        .form-section-modal.show-reset {
            transform: translateX(100%);
            opacity: 0;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            pointer-events: none;
        }

        #form-login .btn-login, 
        #form-pwd .btn-reset {
            width: 100%;
            background: #e67e22;
            color: white;
            border: none;
            padding: 15px;
            border-radius: 5px;
            font-size: 1.1rem;
            font-weight: 500;
            cursor: pointer;
            transition: background 0.3s ease;
            margin-bottom: 15px;
        }

        #form-pwd  #email-error,
        #form-login #email-error {
            display:none;
        }

        #form-pwd .form-links a,
        #form-login .form-links a {
            color: #3498db;
            text-decoration: none;
            font-size: 0.95rem;
            transition: color 0.3s ease;
            cursor: pointer;
        }

        .reset-section-modal {
            transform: translateX(100%);
            opacity: 0;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            transition: transform 0.3s ease, opacity 0.3s ease;
            pointer-events: none;
            padding: 0 50px;
        }

        .reset-section-modal.active {
            transform: translateX(0);
            opacity: 1;
            position: relative;
            pointer-events: auto;
            padding: 0;
        }

        .form-group-modal {
            margin-bottom: 25px;
            position: relative;
        }

        .form-group-modal label {
            display: block;
            margin-bottom: 8px;
            color: #555;
            font-weight: 500;
            font-size: 0.95rem;
        }

        .form-group-modal input {
            width: 100%;
            padding: 12px 15px;
            border: 2px solid #ecf0f1;
            border-radius: 5px;
            font-size: 1rem;
            transition: border-color 0.3s ease;
        }

        .form-group-modal input:focus {
            outline: none;
            border-color: #3498db;
        }

        .form-group-modal input.error {
            border-color: #e74c3c;
        }

        .error-message-modal {
            color: #e74c3c;
            font-size: 0.85rem;
            margin-top: 5px;
            display: none;
        }

        .error-message-modal.show {
            display: block;
        }

        .success-message-modal {
            color: #27ae60;
            font-size: 0.9rem;
            margin-top: 10px;
            display: none;
            text-align: center;
            padding: 10px;
            background: #d4edda;
            border-radius: 5px;
            border: 1px solid #c3e6cb;
        }

        .success-message-modal.show {
            display: block;
        }

        .password-toggle-modal {
            position: absolute;
            right: 15px;
            top: 38px;
            cursor: pointer;
            color: #666;
            user-select: none;
            display: flex;
            align-items: center;
        }

        .password-toggle-modal::before {
            content: "👁";
            font-size: 18px;
            opacity: 0.6;
            transition: opacity 0.3s ease;
        }

        .password-toggle-modal:hover::before {
            opacity: 0.8;
        }

        .form-actions-modal {
            margin-top: 30px;
        }

        .btn-login-modal, .btn-reset-modal {
            width: 100%;
            background: #e67e22;
            color: white;
            border: none;
            padding: 15px;
            border-radius: 5px;
            font-size: 1.1rem;
            font-weight: 500;
            cursor: pointer;
            transition: background 0.3s ease;
            margin-bottom: 15px;
        }

        .btn-login-modal:hover, .btn-reset-modal:hover {
            background: #d35400;
        }

        .btn-login-modal:disabled, .btn-reset-modal:disabled {
            background: #bdc3c7;
            cursor: not-allowed;
        }

        .form-links-modal {
            text-align: center;
        }

        .form-links-modal a {
            color: #3498db;
            text-decoration: none;
            font-size: 0.95rem;
            transition: color 0.3s ease;
            cursor: pointer;
        }

        .form-links-modal a:hover {
            color: #2980b9;
            text-decoration: underline;
        }

        .back-to-login-modal {
            margin-top: 20px;
            text-align: center;
        }

        .back-to-login-modal a {
            color: #3498db;
            text-decoration: none;
            font-size: 0.9rem;
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }

        .back-to-login-modal a:hover {
            text-decoration: underline;
        }

        /* Loader per il modal */
        .loader-modal {
            display: none;
            width: 20px;
            height: 20px;
            border: 3px solid #f3f3f3;
            border-top: 3px solid #e67e22;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        
        /* Responsive Design */
        @media (max-width: 1000px) {
            .container {
                padding: 10px;
            }

            .header h1 {
                font-size: 2rem;
            }

            .checkout-container {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .form-section,
            .order-summary {
                padding: 20px;
            }

            .form-grid {
                grid-template-columns: 1fr;
                gap: 15px;
            }

            .billing-options {
                flex-direction: column;
                gap: 10px;
            }

            .coupon-input {
                flex-direction: column;
            }

            .footer-links {
                flex-direction: column;
                gap: 10px;
            }

            .payment-logos {
                flex-wrap: wrap;
            }
        }

        @media (max-width: 600px) {
            .modal-content {
                margin: 10px;
                max-width: calc(100% - 20px);
            }

            .login-container-modal {
                padding: 30px 20px;
            }

            .reset-section-modal {
                padding: 0 20px;
            }

            .reset-section-modal.active {
                padding: 0;
            }

            .login-header-modal h1 {
                font-size: 1.5rem;
            }

            .btn-login-modal, .btn-reset-modal {
                font-size: 1rem;
            }
        }

        @media (max-width: 480px) {
            .header-checkout {
                padding: 20px;
            }

            .header-checkout h1 {
                font-size: 1.5rem;
            }

            .form-section,
            .order-summary {
                padding: 15px;
            }

            .section-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }

            .section-number {
                align-self: flex-start;
            }

            .product-controls {
                flex-direction: row;
                align-items: center;
                gap: 15px;
            }

            .quantity-controls {
                padding: 3px;
            }

            .qty-btn {
                width: 25px;
                height: 25px;
                font-size: 1rem;
            }

            .remove-btn {
                width: 20px;
                height: 20px;
                font-size: 1rem;
            }
        }


        span.error {
            color: Red !important;
            font-size: 12px !important;
            margin-left: 5px;
        }


        .login-container {
            background: white;
            padding: 50px;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            width: 100%;
            max-width: 450px;
            position: relative;
            overflow: hidden;
        }

        .login-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .login-header h1 {
            font-size: 2rem;
            color: #2c3e50;
            margin-bottom: 15px;
            font-weight: 400;
        }

        .login-header p {
            color: #666;
            font-size: 1rem;
        }

        .form-section {
            transition: transform 0.3s ease, opacity 0.3s ease;
        }

        .container-interna.flex {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .form-login .form-group {
            margin-bottom: 25px;
            position: relative;
        }

        .form-login .form-group label {
            display: block;
            margin-bottom: 8px;
            color: #555;
            font-weight: 500;
            font-size: 0.95rem;
        }

        .form-login .form-group input {
            width: 100%;
            padding: 12px 15px;
            border: 2px solid #ecf0f1;
            border-radius: 5px;
            font-size: 1rem;
            transition: border-color 0.3s ease;
        }

        .form-login .form-group input:focus {
            outline: none;
            border-color: #3498db;
        }

        .form-login .form-group input.error {
            border-color: #e74c3c;
        }




        .user-account .breadcrumb {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
            margin-bottom: 30px;
            font-size: 0.9rem;
        }

        .user-account .breadcrumb a {
            color: #666;
            text-decoration: none;
            transition: all 0.3s ease;
            position: relative;
            padding: 10px;
            border-radius: 6px;
            white-space: nowrap;
            background-color: #f7f7f7;
        }

        .user-account .breadcrumb a.active {
            color: #2c3e50;
            font-weight: 600;
            background-color: #e3f2fd;
        }

        .user-account .page-title {
            font-size: clamp(1.5rem, 4vw, 2.5rem);
            color: #2c3e50;
            font-weight: 300;
            margin-bottom: 0.5rem;
            padding: 0 0 0 10px;
        }

        .orders-container {
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            overflow: hidden;
        }

        .orders-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 0.9rem;
        }

        .orders-table thead {
            background: #f8f9fa;
            border-bottom: 2px solid #ecf0f1;
        }

        .orders-table th {
            padding: 1rem 0.75rem;
            text-align: left;
            font-weight: 600;
            color: #555;
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .orders-table td {
            padding: 1.25rem 0.75rem;
            border-bottom: 1px solid #ecf0f1;
            vertical-align: middle;
            white-space: nowrap;
        }

        .orders-table td.order-number {
            color: #3498db;
            font-weight: 600;
        }

        .orders-table td.order-date {
            color: #666;
        }
        .orders-table td.payment-method {
            color: #555;
            font-weight: 500;
        }
        .orders-table .order-total {
            font-weight: 700;
            color: #2c3e50;
            font-size: 1.2rem;
            text-align: right;
            min-width: 150px;
        }

        .orders-table td .status-processing {
            background: #fff3cd;
            color: #856404;
        }
        .orders-table td .order-status {
            display: inline-block;
            padding: 0.4rem 0.8rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .orders-table td .btn-details {
            background: #e67e22;
            color: white;
            border: none;
            padding: 0.6rem 1.5rem;
            border-radius: 6px;
            font-size: 0.85rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }


        .user-account .subtitle {
            padding: 0 0 0 10px;
            color: #666;
            font-size: 0.95rem;
        }

        .user-account .data-container {
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            padding: 2rem;
            overflow: hidden;
        }

        .user-account .form-section {
            margin-bottom: 2rem;
            padding-bottom: 2rem;
            border-bottom: 1px solid #ecf0f1;
        }

        .user-account .form-row {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 1rem;
            align-items: center;
            margin-bottom: 1.5rem;
            padding: 0.5rem 0;
        }

        .user-account .form-label {
            font-weight: 500;
            color: #555;
            text-align: right;
            padding-right: 1rem;
            margin: 20px 0 10px 0;
        }


        .user-account .form-input {
            margin: 10px 0 20px 0;
        }

        .user-account .form-input .userSelect {
            appearance: none;
            -webkit-appearance: none;
            -moz-appearance: none;

            background-image: url(/assets/img/select.svg);
            background-repeat: no-repeat;
            background-position: right 20px center;
            background-size: 16px;

            padding-right: 50px;
            cursor: pointer;
            width: 50%;
        }

        .user-account .form-input .userInput, 
        .user-account .form-input .userSelect, 
        .user-account .form-input input, 
        .user-account .form-input select, 
        .user-account .form-input textarea {
            padding: 0.8rem 1rem;
            border: 1px solid #ddd;
            border-radius: 6px;
            font-size: 0.9rem;
            color: #333;
            background-color: white;
            transition: all 0.3s ease;
            width: 100%;
        }

        .user-account .btn-update {
            background: #e67e22;
            color: white;
            border: none;
            padding: 0.8rem 2rem;
            border-radius: 6px;
            font-size: 0.9rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin: 1rem auto 0 auto;
            display: block;
        }







        .address-container {
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            overflow: hidden;
            margin-bottom: 2rem;
        }

        .address-cards {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
            gap: 1.5rem;
            padding: 1.5rem;
            max-width: 100%;
        }

        .address-card .btn-details {
            background: #e67e22;
            color: white;
            border: none;
            padding: 0.8rem 2rem;
            border-radius: 6px;
            font-size: 0.9rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin: 1rem auto 0 auto;
            display: block;
        }

        .address-card {
            background: white;
            border: 1px solid #ecf0f1;
            border-radius: 8px;
            padding: 1.5rem;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
        }

        .address-card-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .address-card-name {
            font-size: 1.2rem;
            font-weight: 700;
            color: #2c3e50;
        }

        .address-card-body {
            display: grid;
            gap: 0.75rem;
        }

        .address-card-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.5rem 0;
            border-bottom: 1px solid #f0f0f0;
        }

        .address-card-label {
            font-weight: 500;
            color: #666;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            min-width: 120px;
        }

        .address-card-value {
            font-weight: 500;
            text-align: right;
            flex: 1;
        }


            .user-icon-link {
                display: flex;
                align-items: center;
            }

        #configurazione-corrente-content {

        }
        .download-item a {
            color: #03c0ff;
            font-weight: 500;
            font-size: 18px;
            text-decoration: none;
        }
        .download-item a:hover {
            color: #0f7da1;
        }










.mobile-brands-toggle {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.toggle-icon {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.mobile-brands-toggle.active .toggle-icon {
    transform: rotate(180deg);
}


.brands-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.brand-tag {
    display: inline-block;
    padding: 6px 13px;
    background-color: #f2f2f2;
    border-radius: 10px;
    color: #333;
    font-size: 16px;
    text-decoration: none;
    white-space: nowrap;
    font-size: clamp(0.95rem, 2.2vw, 1.1rem);
    color: #333;
    font-weight: 500;
    border-left: 3px solid transparent;

}
.brand-tag:hover {
    background-color: rgba(255, 68, 68, 0.05);
    border-left: 3px solid #ff4444;
}

.brand-tag:active {
    transform: scale(0.95);
}


/* Info Section */
.mobile-info-section {
}

.mobile-info-items {
    display: flex;
    flex-direction: column;
}

.mobile-info-link {
    display: block;
    padding: 14px 16px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.mobile-info-link:last-child {
    border-bottom: none;
}

.mobile-info-link span {
    font-size: 16px;
}

.mobile-info-link:hover {
    background-color: #f5f5f5;
}

.mobile-info-link:active {
    background-color: #e8e8e8;
}

#faq-accordion {
    margin-left: -50px;
}

#faq-accordion .accordion-header {
    background: White;
    border: 0;
    border-top: 1px solid #e5e5e5;
    border-radius: 0;
    width: 879px;
    padding: 7px 0;
}

#faq-accordion .accordion-header span.title {
    font-size: 30px;
    margin-left: 55px;
    display: block;
    letter-spacing: -1px;
    font-family: "Inter", sans-serif;
    color: #333;
}

#faq-accordion .accordion-header img {
    float: left;
    margin-top: 18px;
    margin-right: 15px;
}

#faq-accordion .accordion-content {
    background: White;
    border: 0;
    padding-top: 10px;
    margin-left: 70px;
    font-size: 18px;
    font-size: regular;
}

#faq-accordion .accordion-content p {
    margin: 0;
}

.toggle-icon img{
    height: 50px;
}

.testo-statico p {
    margin-bottom: 1.2rem;
}





.blog-title {
    margin:20px 0 10px 0;
    font-weight: 600;
}

.blog-box {
    border: 1px solid #eee;
    border-radius: 10px;
}

.blog-box a {
    text-decoration: none;
    color: #03c0ff;
}

.blog-box div {
    padding:20px;
}

.blog-box h5 {
    color:#03c0ff;
    margin: 0 0 15px 0;
    font-size: 18px;
}



    .blur {
        -webkit-filter:blur(5px);
        filter:blur(5px);
        -webkit-transition: all 0.5s ease-out;
        -moz-transition: all 0.5s ease-out;
        -ms-transition: all 0.5s ease-out;
        -o-transition: all 0.5s ease-out;
        transition: all 0.5s ease-out;
    }

    #overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color:rgba(0,0,0,0.8);
        opacity:1;
        z-index:70000;
    }

/*--- popup video ---*/
    .div-media {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width:640px;
        height:520px;
        display:none;
        z-index:71000;
        overflow:hidden;
    }
    
    .div-media div {
    }
    
    .div-media-close {
        top:10px;
        right:10px;
        position:fixed;
        z-index:72000;
        width:50px;
    }

/*--- ! ---*/


