.cube-slider-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin-top: 20px;
}
.cube-slider-container .swiper {
    width: 95vw;
    max-width: 500px;
    aspect-ratio: 16 / 9;
}
.cube-slider-container .swiper-slide {
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    display: flex;
    justify-content: center;
    align-items: center;
}
.cube-slider-container .swiper-button-next,
.cube-slider-container .swiper-button-prev {
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
}
.cube-slider-container .swiper-button-next:after,
.cube-slider-container .swiper-button-prev:after {
    font-size: 16px;
}
.desktop-only {
    display: block;
}
.mobile-only {
    display: none;
}
@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
    .mobile-only {
        display: block;
    }
    .cube-slider-container {
        padding: 15px;
        margin-top: 10px;
    }
    .cube-slider-container .swiper {
        width: 90vw;
        max-width: 400px;
    }
    .cube-slider-container .swiper-button-next,
    .cube-slider-container .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    .cube-slider-container .swiper-button-next:after,
    .cube-slider-container .swiper-button-prev:after {
        font-size: 14px;
    }
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1000;
}
.menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 1rem;
}
.menu.left {
    flex: 1;
    justify-content: flex-end;
    padding-right: 2rem;
}
.menu.right {
    flex: 1;
    justify-content: flex-start;
    padding-left: 2rem;
}
.logo {
    flex: 0 0 auto;
    text-align: center;
}
.logo img {
    height: 60px;
    width: auto;
}
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f8f9fa;
    color: black !important;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    margin-right: 0.5rem;
}
.social-icon:hover {
	background-color: black;
    color: #f6d287 !important;
    transform: translateY(-2px);
}
.hamburgers {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1002;
}
.hamburgers span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: black;
    margin: 4px 0;
    transition: all 0.3s ease;
    transform-origin: center;
    position: relative;
}
.hamburgers.active span:nth-child(1) {
    transform: rotate(45deg);
    position: absolute;
}
.hamburgers.active span:nth-child(2) {
    opacity: 0;
}
.hamburgers.active span:nth-child(3) {
    transform: rotate(-45deg);
    position: absolute;
}
.side-menu {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 1001;
    overflow-y: auto;
    display: block !important; /* Forza display block */
}
.side-menu.active {
    right: 0;
}
.side-menu-header {
    padding: 2rem;
    border-bottom: 1px solid #eee;
    display: block !important;
}
.side-menu-header h2 {
    color: #333;
    margin-bottom: 0.5rem;
}
.side-menu-content {
    padding: 2rem;
    display: block !important;
}
.side-menu-nav {
    list-style: none !important;
    margin: 0;
    padding: 0;
    display: block !important; /* Forza display block invece di flex */
    flex-direction: column !important;
}
.side-menu-nav li {
    margin-bottom: 1rem;
    display: block !important; /* Forza display block invece di flex */
    width: 100%;
}
.side-menu-nav a {
    display: block !important;
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    transition: color 0.3s ease;
    width: 100%;
}
.side-menu-nav a:hover {
    color: #f6d287;
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}
.overlay.active {
    opacity: 1;
    visibility: visible;
}
.menu-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 1rem;
}
.main-menu {
    display: flex;
    gap: 2rem;
    padding: 0.5rem 1.5rem;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 16px;
    font-weight: 600;
    color: #000;
    list-style: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.main-menu li a {
    text-decoration: none;
    color: #000;
}
.top-banner {
    background-color: black;
    text-align: center;
    padding: 10px 0;
}
.top-banner a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
}
.navbar-wrappers {
    background-color: white;
}
.navbar-desktop {
    display: block;
}
.navbar-mobile {
    display: none;
}
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1002;
}
.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: black;
    margin: 4px 0;
    transition: all 0.3s ease;
    transform-origin: center;
    position: relative;
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    position: absolute;
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    position: absolute;
}
.mobile-menu {
    display: none;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    border-top: 1px solid #eee;
}
.mobile-menu.show {
    display: flex;
}
.mobile-menu a {
    padding: 18px 20px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    display: block;
    text-align: left;
}
.mobile-menu a:hover {
    background-color: #f8f8f8;
    color: #000;
    padding-left: 25px;
}
.mobile-menu a:last-child {
    border-bottom: none;
}
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f6d287;
    color: black;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.social-icon:hover {
    background-color: black;
    color: #f6d287 !important;
}
@media (max-width: 768px) {
    .navbar-desktop {
        display: none;
    }
    .navbar-mobile {
        display: block;
    }
    .navbar-mobile .navbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1rem;
        position: relative;
    }
    .mobile-left-icons {
        display: flex;
        align-items: center;
        list-style: none;
    }
    .mobile-left-icons a {
        color: #333;
        font-size: 18px;
        transition: color 0.3s ease;
    }
    .mobile-left-icons a:hover {
        color: #666;
    }
    .logo {
        flex: 1;
        display: flex;
        justify-content: center;
    }
    .logo img {
        max-height: 60px;
        height: auto;
    }
    .hamburger {
        display: flex;
    }
    .mobile-menu {
        top: calc(100% + 1px);
        animation: slideDown 0.3s ease-out;
    }
    .mobile-menu.show {
        animation: slideDown 0.3s ease-out;
    }
    .mobile-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.3);
        z-index: 999;
    }
    .mobile-overlay.show {
        display: block;
    }
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.cubeSwiper {
    will-change: transform;
    contain: paint;
    width: 100%;
    height: 300px; /* o altro valore responsive */
    overflow: hidden;
    position: relative;
}
@media (max-width: 768px) {
    .cubeSwiper {
        height: 250px;
    }
}
@font-face {
    font-family: 'RageItalic';
    src: url('fonts/rage-italic.woff2') format('woff2'),
         url('fonts/rage-italic.woff') format('woff');
    font-style: normal;
    font-weight: normal;
}
