/* ========================
   ODM - Cyber Theme Styles
   Version: 2.0
   Author: Occhi della Madonna
======================== */

:root {
    --neon-pink: #ff2a6d;
    --neon-blue: #05d9e8;
    --neon-purple: #d500f9;
    --cyber-yellow: #f9f002;
    --dark-bg: #0d0221;
    --darker-bg: #070113;
    --grid-color: rgba(5, 217, 232, 0.1);
    --header-height: 70px;
    --header-expanded-height: 100px;
    --primary-color: #05d9e8;
    --bg-color: #0d0221;
    --transition-speed: 0.4s;
}
/* Base Mobile Styles */
html {
    position: relative;
    min-height: 100%;
    font-size: 16px;
    scroll-padding-top: var(--header-height);
}



body {
    background-color: var(--dark-bg);
    color: #fff;
    font-family: 'Rajdhani', 'Orbitron', sans-serif;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    padding-top: var(--header-height);
}

main {
    padding-top: 70px;
}

/* ===== HEADER & NAVBAR ===== */
.cyber-header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(10, 10, 18, 0.98) 0%, rgba(13, 2, 33, 0.95) 100%);
    box-shadow: 0 4px 15px rgba(211, 0, 197, 0.3);
    transition: all var(--transition-speed) cubic-bezier(0.65, 0, 0.35, 1);
    height: var(--header-height);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    margin: 0;
    border: none;
}

.cyber-header-top-bar,
.cyber-header-bottom-bar {
    height: 0.5px;
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--neon-blue), var(--neon-purple), transparent);
    background-size: 200% 100%;
    animation: gradientFlow 3s linear infinite;
}

.cyber-header-top-bar {
    box-shadow: 0 2px 10px var(--neon-blue);
}

.cyber-header-bottom-bar {
    position: absolute;
    bottom: 0;
    box-shadow: 0 -2px 10px var(--neon-purple);
}

.cyber-navbar {
    background: transparent !important;
    padding: 0;
    height: 100%;
}

.cyber-nav-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4rem;
    position: relative;
}

/* Logo */
.logo-container {
    position: relative;
    z-index: 10;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.odm-logo {
    height: 50px;
    transition: all var(--transition-speed) cubic-bezier(0.65, 0, 0.35, 1);
    filter: drop-shadow(0 0 2px var(--neon-blue)) brightness(3);
}

.logo-glow {
    position: absolute;
    width: 150%;
    height: 100%;
    background: radial-gradient(circle at center, var(--neon-blue) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: -1;
    border-radius: 50%;
}

.logo-container:hover .odm-logo {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px var(--neon-blue)) brightness(1.5);
}

.logo-container:hover .logo-glow {
    opacity: 0.6;
}

/* Navigation */
.cyber-nav-links {
    display: flex;
    gap: 4rem;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
    list-style: none;
}

.cyber-link {
    color: white !important;
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    padding: 0.5rem 1rem !important;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
    background: transparent;
    border: none;
}

.link-text {
    position: relative;
    z-index: 2;
    transition: all 0.5s ease;
}

.link-hover {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--neon-pink);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.cyber-link:hover .link-text {
    text-shadow: 0 0 10px var(--neon-blue);
    transform: translateY(-3px);
}

.cyber-link:hover .link-hover {
    transform: scaleX(1);
    transform-origin: left;
}

/* Social Links */
.cyber-social-links {
    display: flex;
    gap: 2.5rem;
    margin-left: 2rem;
}

    .cyber-social-links a {
        color: white;
        font-size: 1.2rem;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

        .cyber-social-links a::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
            transition: 0.5s;
        }

        .cyber-social-links a:hover {
            color: var(--dark-bg);
            background: var(--neon-blue);
            box-shadow: 0 0 15px var(--neon-blue);
            transform: translateY(-3px);
        }

            .cyber-social-links a:hover::before {
                left: 100%;
            }

/* Toggler Button */
.cyber-toggler .toggler-bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background: #fff;
    transition: all .3s ease;
}

/* Stato "chiuso" (menu hamburger) */
.cyber-toggler.collapsed .top-bar {
    transform: rotate(0) translateY(0);
}

.cyber-toggler.collapsed .middle-bar {
    opacity: 1;
}

.cyber-toggler.collapsed .bottom-bar {
    transform: rotate(0) translateY(0);
}

/* Stato "aperto" (mostra X) */
.cyber-toggler:not(.collapsed) .top-bar {
    transform: rotate(45deg) translateY(8px);
}

.cyber-toggler:not(.collapsed) .middle-bar {
    opacity: 0;
}

.cyber-toggler:not(.collapsed) .bottom-bar {
    transform: rotate(-45deg) translateY(-8px);
}

/* ===== BANNER ===== */
.welcome-banner {
    height: auto;
    min-height: 80vh; /* Altezza minima invece di fissa */
}

.welcome-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    z-index: 2;
    padding: 0 1rem;
}

    .welcome-content h1 {
        font-family: "Tulpen One", sans-serif;
        font-weight: 800;
        font-style: normal;
        font-size: clamp(5rem, 10vw, 8rem);
        margin-bottom: 3rem;
        background: linear-gradient(90deg, #fff, var(--neon-blue));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

.light-beam {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 10%, rgba(255, 42, 109, 0.1) 50%, transparent 90%);
    pointer-events: none;
    z-index: 2;
    animation: beam 8s infinite alternate;
}

.barcode-effect {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: repeating-linear-gradient(90deg, #000, #000 2px, var(--neon-pink) 2px, var(--neon-pink) 4px);
    opacity: 0.7;
}

/* ===== CARDS & PRODUCTS ===== */
.cyber-card {
    background: rgba(13, 2, 33, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid var(--neon-blue);
    box-shadow: 0 0 15px rgba(5, 217, 232, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 0;
    will-change: transform, box-shadow;
    backface-visibility: hidden;
    position: relative;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

    .cyber-card:hover {
        box-shadow: 0 0 25px rgba(5, 217, 232, 0.5);
        transform: translateY(-5px);
    }

    .cyber-card .card-title {
        font-family: 'Orbitron', sans-serif;
        color: var(--neon-blue);
        border-bottom: 1px solid var(--neon-blue);
        padding-bottom: 10px;
        margin-bottom: 1rem;
        font-size: 1.2rem;
    }

.card-body {
    padding: 1rem;
}

.card-text {
    color: #aaa;
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.badge-cyber {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
}

/* Product Viewer */
.product-viewer {
    height: 250px;
    background: rgba(7, 1, 19, 0.7);
    border: 1px solid var(--neon-purple);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform, box-shadow;
    backface-visibility: hidden;
    border-radius: 20px;
}

    .product-viewer:hover {
        box-shadow: 0 0 30px rgba(5, 217, 232, 0.5);
        transform: translateY(-5px) scale(1.02);
    }

    .product-viewer::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at var(--x) var(--y), rgba(255, 42, 109, 0.3), transparent 70%);
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.3s;
    }

    .product-viewer:hover::after {
        opacity: 1;
    }

/* ===== BUTTONS ===== */
.btn-neon {
    background: transparent;
    color: var(--neon-blue);
    border: 2px solid var(--neon-blue);
    border-radius: 0;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 0 10px var(--neon-blue);
    padding: 0.4rem 0.5rem;
    font-size: 0.8rem;
    will-change: transform, box-shadow;
    backface-visibility: hidden;
}

    .btn-neon:hover {
        color: var(--dark-bg);
        background: var(--neon-blue);
        box-shadow: 0 0 20px var(--neon-blue), 0 0 40px var(--neon-blue);
        transform: translateY(-2px);
    }

    .btn-neon::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
        transition: 0.5s;
    }

    .btn-neon:hover::before {
        left: 100%;
    }

.preorder-btn {
    padding: 0.4rem 0.5rem;
    font-size: 0.8rem;
}

/* ===== FORM ELEMENTS ===== */
.color-options {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.color-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s;
}

    .color-option.selected {
        background: rgba(5, 217, 232, 0.2);
        border: 1px solid var(--neon-blue);
    }

.color-swatch {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-bottom: 4px;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.color-option.selected .color-swatch {
    border-color: var(--neon-blue);
    transform: scale(1.1);
}

.quantity-btn {
    background: rgba(5, 217, 232, 0.1);
    color: var(--neon-blue);
    border: 1px solid var(--neon-blue);
    width: 40px;
    transition: all 0.3s;
}

    .quantity-btn:hover {
        background: var(--neon-blue);
        color: var(--dark-bg);
    }

#quantity {
    max-width: 60px;
    background: rgba(5, 217, 232, 0.05);
    color: white;
    border: 1px solid var(--neon-blue);
}

/* ===== LAYOUT ===== */
.container {
    max-width: 100%;
    padding: 0 2rem;
    margin: 0 auto;
}

.cyber-products-container {
    padding: 3rem 0;
    max-width: 100%;
    margin: 0 auto;
}

    .cyber-products-container .row {
        margin-left: 0;
        margin-right: 0;
    }

.cyber-section-title {
    border-top: 1px solid var(--neon-blue);
    border-bottom: 1px solid var(--neon-blue);
    padding: 15px 30px;
    display: inline-block;
}

.cyber-title-underline {
    height: 2px;
    width: 100px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
    margin: 10px auto;
}

/* ===== SUCCESS ANIMATION ===== */
.success-animation {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.checkmark {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: block;
    stroke-width: 4;
    stroke: var(--neon-blue);
    stroke-miterlimit: 10;
    animation: fill 0.4s ease-in-out 0.4s forwards, scale 0.3s ease-in-out 0.9s both;
}

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 4;
    stroke-miterlimit: 10;
    stroke: var(--neon-blue);
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

.holographic-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(5, 217, 232, 0.2) 0%, transparent 70%);
    animation: pulse 2s infinite;
    border-radius: 50%;
}

.neon-text-green {
    color: #05e8b0;
    text-shadow: 0 0 5px #05e8b0, 0 0 10px #05e8b0;
}

.neon-flicker {
    animation: flicker 0.5s infinite alternate;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 1600px) {
    .container {
        max-width: 95%;
    }
}

@media (max-width: 1199px) {
    .product-viewer {
        height: 250px !important;
    }
}

@media (max-width: 992px) {
    :root {
        --header-height: 80px;
    }

    .cyber-nav-container {
        flex-wrap: wrap;
        padding: 0 1rem;
    }

    .odm-logo {
        height: 50px;
    }

    /* Mobile Navigation */
    .navbar-collapse {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: linear-gradient(to bottom, rgba(13, 2, 33, 0.98) 0%, rgba(7, 1, 19, 0.97) 100%);
        padding: 1rem;
        transform: translateY(-150%);
        transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
        z-index: 999;
    }

        .navbar-collapse.show {
            transform: translateY(0);
        }

    .cyber-nav-links {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .cyber-social-links {
        margin: 2rem auto 0;
        justify-content: center;
    }

    .cyber-link {
        font-size: 1rem;
        padding: 0.75rem !important;
    }

    .cyber-products-container .col-xl-6,
    .cyber-products-container .col-lg-6,
    .cyber-products-container .col-md-6 {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
}

@media (max-width: 768px) {
    .welcome-banner {
        width: 100%;
        margin-left: 0;
        height: 60vh;
    }

    .welcome-content h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .cyber-products-container {
        padding: 1.5rem 0;
    }
}

@media (max-width: 576px) {
    :root {
        --header-height: 70px;
    }

    .odm-logo {
        height: 40px;
    }

    .cyber-nav-container {
        padding: 0 0.5rem;
    }

    .container {
        padding: 0 1rem;
    }

    .welcome-content h1 {
        font-size: 1.8rem;
    }

    .btn-neon {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .cyber-products-container .col-sm-12 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .cyber-card {
        margin: 0 0 15px 0;
    }
}

/* === MODALE ALLUNGATA === */
.cyber-modal-wide {
    max-width: 900px; /* Larghezza aumentata */
}

.cyber-cardPre {
    background: rgba(13, 2, 33, 0.95);
    border: 1px solid var(--neon-blue);
    border-radius: 0;
    box-shadow: 0 0 30px rgba(5, 217, 232, 0.5);
    width: 100%;
}

.cyber-product-info {
    background: linear-gradient(to right, rgba(7, 1, 19, 0.9), rgba(13, 2, 33, 0.7));
    border-right: 1px solid var(--neon-purple);
    backdrop-filter: blur(5px);
}

.cyber-price-display {
    font-size: 2.5rem;
    font-family: 'Orbitron', sans-serif;
    margin: 1rem 0;
}

.price-currency {
    color: var(--neon-blue);
    margin-right: 5px;
}

.price-value {
    text-shadow: 0 0 10px var(--neon-pink);
}

.cyber-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, var(--neon-blue), transparent);
    margin: 1.5rem 0;
}

/* Form migliorato */
.cyber-form-group {
    margin-bottom: 1.5rem;
}

.cyber-label {
    color: var(--neon-blue);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
}

.cyber-input {
    background: rgba(5, 217, 232, 0.05);
    border: 1px solid var(--neon-blue);
    color: white;
    border-radius: 0;
    padding: 0.75rem;
}

    .cyber-input:focus {
        background: rgba(5, 217, 232, 0.1);
        border-color: var(--neon-pink);
        box-shadow: 0 0 10px var(--neon-pink);
        color: white;
    }

canvas {
    position: fixed; /* Posiziona il canvas in modo che occupi tutta la pagina */
    top: 0;
    left: 0;
}

/*CSS Welcome.cshtml*/

/*CSS Welcome.cshtml*/
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden; /* Solo per orizzontale */
    overflow-y: auto; /* Permetti scrolling verticale */
    color: #fff;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1; /* Mettilo dietro al contenuto */
    pointer-events: none; /* Permetti interazione con elementi sotto */
}

.logo {
    filter: invert(1) grayscale(100%) contrast(100%);
}

:root {
    --primary-color: #05d9e8;
    --bg-color: #000;
    --transition-speed: 0.3s;
}

/* Effetto di transizione */
.transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease;
}

    .transition-overlay.active {
        opacity: 1;
    }

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: relative;
    z-index: 10;
}

.logo-container2 {
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.logo {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.enter-btn {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 30px;
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 30px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

    .enter-btn:hover {
        background: #fff;
        color: #000;
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
    }

.hologram-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(5, 217, 232, 0.1), rgba(255, 42, 109, 0.1));
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
}



/* Media Queries per dispositivi mobili */
@media (max-width: 768px) {
    .logo-container2 {
        width: 150px;
        height: 150px;
    }

    .enter-btn {
        bottom: 30px;
        padding: 10px 25px;
        font-size: 16px;
    }

    .container {
        height: 60vh;
    }
}

@media (max-width: 576px) {
    .logo-container2 {
        width: 120px;
        height: 120px;
    }

    .enter-btn {
        bottom: 20px;
        padding: 8px 20px;
        font-size: 14px;
    }

    .container {
        height: 50vh;
    }
}

@media (max-height: 600px) {
    .container {
        height: 50vh;
    }

    .enter-btn {
        bottom: 15px;
    }
}

/* ===== KEYFRAMES ===== */

@keyframes gradientFlow {
    0% {
        background-position: 100% 50%;
    }

    100% {
        background-position: -100% 50%;
    }
}

@keyframes beam {
    0% {
        opacity: 0.1;
    }

    100% {
        opacity: 0.3;
    }
}

@keyframes flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        text-shadow: 0 0 5px var(--neon-blue);
    }

    20%, 24%, 55% {
        text-shadow: none;
    }
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {
    0%, 100% {
        transform: none;
    }

    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0 0 0 100px transparent;
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }
}

/*Details CSS*/
.product-details-container {
    color: #e0e0e0;
    position: relative;
    overflow: hidden;
}

.cyber-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
    margin: 1.5rem 0;
    border: none;
}

/* AGGIUNGI QUESTI STILI PER LA GALLERIA WEBP */
.main-image-container {
    position: relative;
    border: 1px solid rgba(255, 20, 147, 0.3);
    margin-bottom: 15px;
    overflow: hidden;
    background: #0a0514;
}

    .main-image-container img {
        width: 100%;
        height: auto;
        transition: transform 0.5s ease;
        display: block;
    }

.thumbnail-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.thumbnail-item {
    width: 80px;
    height: 80px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    background: #0a0514;
    overflow: hidden;
}

    .thumbnail-item:hover {
        border-color: rgba(0, 255, 255, 0.5);
    }

    .thumbnail-item.active {
        border-color: #ff1493;
        box-shadow: 0 0 10px rgba(255, 20, 147, 0.7);
    }

    .thumbnail-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Stili aggiuntivi per il formato WEBP */
picture {
    display: block;
    width: 100%;
    height: 100%;
}

/* Stili per prodotti correlati */
.related-products {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #2a2a2a;
}

.related-product-card {
    background: #0d0d0d;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .related-product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 249, 255, 0.1);
    }

.related-product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-product-info {
    padding: 15px;
    flex-grow: 1;
    background-color: var(--dark-bg);
    position: relative; /* Aggiunto per contesto di sovrapposizioni */
    z-index: 2; /* Assicura che sia sopra gli elementi decorativi */
}

.related-product-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #fff;
}

.related-product-price {
    font-size: 1.2rem;
    color: #ff10f0;
    font-weight: bold;
    margin-top: auto;
}

.product-price {
    font-size: 2.25rem;
    font-weight: 700;
    margin: 1rem 0;
}

.product-description {
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Color Options */
.color-options {
    display: flex;
    gap: 0.75rem;
    margin: 1rem 0;
}

.color-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

    .color-option::after {
        content: '';
        position: absolute;
        top: -4px;
        left: -4px;
        right: -4px;
        bottom: -4px;
        border-radius: 50%;
        border: 1px solid transparent;
        transition: all 0.3s ease;
    }

    .color-option.active, .color-option:hover {
        transform: scale(1.1);
    }

        .color-option.active::after {
            border-color: var(--neon-blue);
        }

/* Size Options */
.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.size-option {
    border: 1px solid var(--neon-purple);
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 50px;
}

    .size-option.active, .size-option:hover {
        background-color: var(--neon-purple);
        color: #000;
        font-weight: bold;
    }

/* Quantity Control */
.quantity-control {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
}

.quantity-btn {
    background: var(--neon-purple);
    color: #000;
    border: none;
    width: 40px;
    height: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .quantity-btn:hover {
        background: var(--neon-pink);
    }

.quantity-input {
    width: 70px;
    text-align: center;
    height: 40px;
    border: 1px solid var(--neon-purple);
    background: transparent;
    color: white;
    font-weight: bold;
    margin: 0 0.5rem;
}

/* Pre-order Button */
.btn-preorder {
    background: linear-gradient(45deg, var(--neon-pink), var(--neon-purple));
    color: #000;
    font-weight: bold;
    border: none;
    padding: 0.75rem 1.5rem;
    width: 100%;
    transition: all 0.3s ease;
    margin: 1.5rem 0;
}

    .btn-preorder:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(255, 0, 255, 0.4);
    }

/* Tech Specs */
.tech-specs {
    margin: 2rem 0;
}

.spec-item {
    display: flex;
    margin-bottom: 0.75rem;
}

.spec-label {
    font-weight: bold;
    color: var(--neon-blue);
    min-width: 120px;
}

.spec-value {
    flex-grow: 1;
}

/* Reviews Section */
.reviews-section {
    margin: 3rem 0;
}

.review-card {
    background: rgba(30, 30, 60, 0.5);
    border: 1px solid var(--neon-purple);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.review-author {
    font-weight: bold;
    color: var(--neon-blue);
}

.review-date {
    color: #777;
    font-size: 0.9rem;
}

.review-rating {
    color: var(--neon-yellow);
    margin-bottom: 0.5rem;
}

/* Modal Styles */
.cyber-modal .modal-content {
    background: #0f0f1a;
    border: 1px solid var(--neon-purple);
    color: #e0e0e0;
    width: 100%;
}

.cyber-modal .modal-header {
    border-bottom: 1px solid var(--neon-purple);
    position: relative;
}

    .cyber-modal .modal-header::before {
        content: '';
        position: absolute;
        bottom: -1px;
        left: 0;
        width: 100%;
        height: 1px;
        background: linear-gradient(90deg, var(--neon-pink), var(--neon-blue));
    }

.cyber-modal .modal-title {
    font-weight: 700;
}

.cyber-modal .modal-footer {
    border-top: 1px solid var(--neon-purple);
}

.cyber-modal .btn-close {
    filter: invert(1);
}

.preorder-form .form-control {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--neon-purple);
    color: white;
}

    .preorder-form .form-control:focus {
        background: rgba(0, 0, 0, 0.5);
        border-color: var(--neon-blue);
        color: white;
        box-shadow: 0 0 0 0.25rem rgba(0, 255, 255, 0.1);
    }

.preorder-form .form-label {
    color: var(--neon-blue);
    font-weight: bold;
}

/* Success Modal */
.success-modal .modal-content {
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%);
    border: 1px solid var(--neon-green);
}

.success-modal .modal-header {
    border-bottom: 1px solid var(--neon-green);
}

.success-icon {
    font-size: 4rem;
    color: var(--neon-green);
    margin: 1rem 0;
}

/* Stile per il modal di successo */
.success-modal .modal-content {
    background-color: #0d0208;
    border: 1px solid #00ff41;
    border-radius: 0;
}

.success-icon i {
    color: #00ff41;
    animation: pulse 1.5s infinite;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .product-title {
        font-size: 1.75rem;
    }

    .product-price {
        font-size: 1.75rem;
    }

    .thumbnail-item {
        width: 60px;
        height: 60px;
    }
}

/* Glitch Effect */

@keyframes glitch {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-3px, 3px);
    }

    40% {
        transform: translate(-3px, -3px);
    }

    60% {
        transform: translate(3px, 3px);
    }

    80% {
        transform: translate(3px, -3px);
    }

    100% {
        transform: translate(0);
    }
}

/* Grid Background */
.content-wrapper {
    position: relative;
    z-index: 1;
}

/* Stile per i badge */
.badge-cyber {
    background: var(--neon-purple);
    color: #000;
    font-weight: bold;
}

/* Stile per i pulsanti nel modale */
.btn-neon-blue {
    background: var(--neon-blue);
    color: #000;
    font-weight: bold;
}

.btn-neon-pink {
    background: var(--neon-pink);
    color: #000;
    font-weight: bold;
}

.btn-neon-green {
    background: var(--neon-green);
    color: #000;
    font-weight: bold;
}

/* Stile per il prezzo totale nel modale */
.total-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--neon-pink);
    margin-top: 1rem;
}

@media (min-width: 1400px) {
    .cyber-modal .modal-xl {
        max-width: 1140px;
    }
}

@media (min-width: 1600px) {
    .cyber-modal .modal-xl {
        max-width: 1300px;
    }
}

/* Ottimizzazione per il form */
.preorder-form .form-control {
    padding: 0.75rem;
}

.preorder-form .form-label {
    margin-bottom: 0.5rem;
}

/* Spaziatura tra le righe del form */
.preorder-form .row {
    margin-bottom: 0.75rem;
}

/* Stile pulsante PayPal */
.paypal-button-container {
    border-radius: 0 !important;
    margin-bottom: 1rem;
}

.paypal-button {
    background: #0d0208 !important;
    border: 1px solid #00F9FF !important;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.progress {
    height: 5px;
    background-color: #0d0208;
    border: 1px solid #00ff41;
}

.progress-bar {
    background-color: #00ff41;
}

/* Stile per il modal di errore */
.error-modal .modal-content {
    background-color: #0d0208;
    border: 1px solid #ff073a;
    border-radius: 0;
}

.error-icon i {
    color: #ff073a;
    animation: pulse 1.5s infinite;
}

.text-neon-red {
    color: #ff073a;
    text-shadow: 0 0 5px #ff073a, 0 0 10px #ff073a;
}

/* Stile per il link della guida alle taglie */
.size-guide-link {
    display: inline-block;
    padding: 30px 30px;
    background-color: rgba(5, 217, 232, 0.2);
    color: var(--neon-blue) !important;
    border: 1px solid var(--neon-blue);
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin: 5px 0;
    text-decoration: none;
}

#sizeGuide {
    background-color: var(--dark-bg); /* colore scuro per il background */
    color: white; /* colore chiaro per il testo */
    border: 1px solid #444;
    border-radius: 12px;
    padding: 20px;
    margin-top: 50px;
    transition: all 0.3s ease-in-out;
}

    #sizeGuide table {
        width: 100%;
        border-collapse: collapse;
    }

    #sizeGuide .table {
        background-color: transparent;
        color: white;
        font-size: 0.95rem;
    }

        #sizeGuide .table thead.table-light {
            background-color: #f8f9fa;
            color: #343a40;
            font-weight: 600;
        }

        #sizeGuide .table td,
        #sizeGuide .table th {
            border: 1px solid #dee2e6;
            padding: 0.75rem;
            text-align: center;
            vertical-align: middle;
        }

/* Image Effects */
.image-container {
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
}

.cyber-image {
    width: 100%;
    transition: transform 0.5s ease;
    filter: brightness(0.9) contrast(1.1);
}

.neon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 20, 147, 0.1) 0%, rgba(0, 255, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cyber-card:hover .cyber-image {
    transform: scale(1.05);
}

.cyber-card:hover .neon-overlay {
    opacity: 1;
}

/* Text Effects */
.related-product-title {
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    position: relative;
}

/* Rating Stars */
.neon-star {
    color: #ff0;
    text-shadow: 0 0 5px #ff0, 0 0 10px #ff0, 0 0 20px #ff0;
}

.rating-pulse {
    position: absolute;
    width: calc(100% * (var(--rating)/5));
    height: 100%;
    background: rgba(255, 255, 0, 0.1);
    top: 0;
    left: 0;
    z-index: -1;
    animation: pulse 2s infinite;
}

/* Price Style */
.price-container {
    position: relative;
}

.related-product-price {
    color: #0ff;
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.7);
}

.price-currency {
    position: absolute;
    top: -5px;
    right: -15px;
    color: #ff1493;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Cyber Button */
.btn-cyber {
    position: relative;
    background: transparent;
    color: #0ff;
    border: none;
    padding: 8px 20px;
    overflow: hidden;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-glitch {
    color: #0ff;
    position: absolute;
    top: 8px;
    left: 20px;
    z-index: 1;
    opacity: 0;
}

.btn-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #0ff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.btn-cyber:hover .btn-border {
    transform: scaleX(1);
}

.btn-neon:hover .btn-text,
.btn-neon:hover .btn-glitch {
    color: #05d9e8;
}

/* Animations */
@keyframes glitch-effect {
    0% {
        clip: rect(30px, 9999px, 10px, 0)
    }

    20% {
        clip: rect(15px, 9999px, 100px, 0)
    }

    40% {
        clip: rect(50px, 9999px, 30px, 0)
    }

    60% {
        clip: rect(2px, 9999px, 80px, 0)
    }

    80% {
        clip: rect(70px, 9999px, 5px, 0)
    }

    100% {
        clip: rect(25px, 9999px, 55px, 0)
    }
}

@keyframes glitch-effect-small {
    0% {
        transform: translate(2px, 0)
    }

    20% {
        transform: translate(-2px, 1px)
    }

    40% {
        transform: translate(1px, -1px)
    }

    60% {
        transform: translate(-1px, 0)
    }

    80% {
        transform: translate(1px, 1px)
    }

    100% {
        transform: translate(-2px, -1px)
    }
}

@keyframes pulse {
    0% {
        opacity: 0.1;
    }

    50% {
        opacity: 0.3;
    }

    100% {
        opacity: 0.1;
    }
}

@keyframes text-glitch {
    0% {
        transform: translate(0)
    }

    20% {
        transform: translate(-2px, 2px)
    }

    40% {
        transform: translate(-2px, -2px)
    }

    60% {
        transform: translate(2px, 2px)
    }

    80% {
        transform: translate(2px, -2px)
    }

    100% {
        transform: translate(0)
    }
}

/* Stili per le frecce di navigazione */
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 60px;
    background: rgba(10, 5, 20, 0.7);
    border: none;
    color: #0ff;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

    .gallery-arrow:hover {
        background: rgba(255, 20, 147, 0.7);
        color: white;
        box-shadow: 0 0 15px rgba(255, 20, 147, 0.5);
    }

.prev-arrow {
    left: 15px;
}

.next-arrow {
    right: 15px;
}

/* Effetto neon al hover */
.gallery-arrow:hover i {
    text-shadow: 0 0 5px #0ff, 0 0 10px #0ff, 0 0 20px #0ff;
    animation: arrow-pulse 0.5s infinite alternate;
}

@keyframes arrow-pulse {
    from {
        opacity: 1;
    }

    to {
        opacity: 0.7;
    }
}

.main-image-container {
    touch-action: pan-y;
    user-select: none;
    position: relative;
    outline: none;
}

    .main-image-container.gallery-focused {
        box-shadow: 0 0 0 2px rgba(255, 20, 147, 0.7);
    }

/* Effetto hover per mobile */
@media (hover: none) {
    .gallery-arrow {
        background: rgba(255, 20, 147, 0.5);
    }
}
/* Ottimizzazione mobile */
@media (max-width: 768px) {
    .gallery-arrow {
        width: 30px;
        height: 50px;
        font-size: 1.2rem;
    }

    .thumbnail-item {
        width: 60px;
        height: 60px;
    }
}
/* Stili per il modale a tutto schermo centrato */
#imageModal {
    --modal-transition-duration: 0.3s;
    --arrow-size: 50px;
    --arrow-mobile-size: 40px;
    --counter-opacity: 0.8;
}

    #imageModal .modal-dialog {
        max-width: 100vw;
        max-height: 100vh;
        margin: 0;
        width: 100%;
        pointer-events: none; /* Permette il click-through sugli elementi */
    }

    #imageModal .modal-content {
        background-color: rgba(0, 0, 0, 0.98) !important;
        min-height: 100vh;
        border: none;
        border-radius: 0;
    }

    /* Stili per l'immagine */
    #imageModal .modal-body {
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }

#modalImage {
    max-height: 90vh;
    max-width: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
    cursor: zoom-in;
    transform-origin: center center;
}

    #modalImage.zoomed {
        cursor: grab;
        transform: scale(2);
    }

        #modalImage.zoomed:active {
            cursor: grabbing;
        }

/* Stili per le frecce */
#imageModal .btn-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: var(--arrow-size);
    height: var(--arrow-size);
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.7;
    transition: all 0.2s ease;
    z-index: 10;
    pointer-events: auto;
}

    #imageModal .btn-arrow:hover {
        opacity: 1;
        background-color: rgba(0, 0, 0, 0.8);
        transform: translateY(-50%) scale(1.1);
    }

    #imageModal .btn-arrow:active {
        transform: translateY(-50%) scale(0.95);
    }

#prevImageBtn {
    left: 20px;
}

#nextImageBtn {
    right: 20px;
}

/* Contatore immagini */
#imageCounter {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    opacity: var(--counter-opacity);
    transition: opacity 0.2s ease;
    z-index: 10;
}

#imageModal:hover #imageCounter {
    opacity: 1;
}

/* Pulsante chiudi */
#imageModal .btn-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 11;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    filter: brightness(0) invert(1);
}

    #imageModal .btn-close:hover {
        opacity: 1;
    }

/* Loading spinner */
.modal-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    color: rgba(255, 255, 255, 0.7);
}

/* Adattamento per mobile */
@media (max-width: 768px) {
    #imageModal .btn-arrow {
        width: var(--arrow-mobile-size);
        height: var(--arrow-mobile-size);
        opacity: 0.9;
    }

    #modalImage {
        max-height: 80vh;
    }

    #imageCounter {
        bottom: 10px;
        font-size: 0.8rem;
    }

    #imageModal .btn-close {
        top: 10px;
        right: 10px;
        width: 30px;
        height: 30px;
    }
}

.cyber-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    color: #05d9e8;
}

.contacts-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    text-shadow: 0 0 10px #05d9e8;
}

.contacts-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #ff2a6d;
    border-bottom: 1px solid #05d9e8;
    padding-bottom: 0.5rem;
}

.contacts-card {
    background: rgba(5, 217, 232, 0.05);
    border: 1px solid #05d9e8;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(5, 217, 232, 0.3);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease; /* Aggiunto transition per animazione fluida */
}

    .contacts-card:hover {
        box-shadow: 0 0 25px rgba(5, 217, 232, 0.5); /* Effetto pił intenso al hover */
        transform: translateY(-3px); /* Leggero sollevamento */
        border-color: #ff2a6d; /* Cambio colore bordo */
    }

.contacts-card-body {
    padding: 1.5rem;
}

.contacts-mt {
    margin-top: 1.5rem;
}

.contacts-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contacts-icon {
    margin-right: 1rem;
    color: #ff2a6d;
    width: 1.5rem;
    text-align: center;
}

.contacts-social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.contacts-social-link {
    color: #05d9e8;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

    .contacts-social-link:hover {
        color: #ff2a6d;
        transform: scale(1.2);
        text-shadow: 0 0 10px #ff2a6d;
    }

.contacts-hours {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contacts-hour-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px dashed rgba(5, 217, 232, 0.3);
}

@media (max-width: 768px) {
    .contacts-hours {
        grid-template-columns: 1fr;
    }

    .contacts-container {
        padding: 1rem;
    }
}

/* Stili per il banner privacy */
.privacy-banner {
    z-index: 1000;
    border-top: 1px solid var(--neon-blue);
    box-shadow: 0 -5px 15px rgba(5, 217, 232, 0.3);
    background: rgba(0, 0, 0, 0.9);
    color: var(--neon-blue);
}

    .privacy-banner a {
        color: var(--neon-pink);
        text-decoration: underline;
    }

    .privacy-banner .btn-accept {
        background: var(--neon-blue);
        color: #000;
        font-weight: bold;
        border: none;
    }

        .privacy-banner .btn-accept:hover {
            background: var(--neon-pink);
            color: #000;
        }

.welcome-banner {
    overflow: hidden;
    height: 80vh;
}

.media-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.start-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    transition: transform 1.5s ease, opacity 1.5s ease;
}

    .start-image.slide-out {
        transform: translateX(-100%);
        opacity: 0;
    }

    .start-image.slide-in {
        transform: translateX(0);
        opacity: 1;
    }

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.audio-control {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
}

.btn-audio {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--neon-pink);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .btn-audio:hover {
        background: var(--neon-pink);
        transform: scale(1.1);
    }

    .btn-audio[aria-pressed="true"] {
        background: var(--neon-pink);
    }

        .btn-audio[aria-pressed="true"] i {
            color: black;
        }

/* Aggiungi al tuo CSS */
img[loading="lazy"] {
    background-color: #f0f0f0;
    background-image: linear-gradient(45deg, #e0e0e0 25%, transparent 25%, transparent 75%, #e0e0e0 75%, #e0e0e0), linear-gradient(45deg, #e0e0e0 25%, transparent 25%, transparent 75%, #e0e0e0 75%, #e0e0e0);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

    img[loading="lazy"][src] {
        background: none;
        opacity: 1;
    }
/* Stili per lo zoom e pan */
#modalImage {
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: zoom-in;
    max-height: 90vh;
    max-width: 90vw;
    transform-origin: center center;
}

    #modalImage.zoomed {
        cursor: grab;
    }

/* Stili per mobile */
@media (max-width: 768px) {
    .btn-arrow {
        padding: 15px;
        font-size: 1.5rem;
    }

    #modalImage {
        max-height: 80vh;
        max-width: 95vw;
    }
}

/* Stili per le frecce di navigazione */
.btn-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    cursor: pointer;
}

    .btn-arrow:hover {
        background-color: rgba(0, 0, 0, 0.8);
    }

#prevImageBtn {
    left: 20px;
}

#nextImageBtn {
    right: 20px;
}

@media (max-width: 576px) {
    #sizeGuide table th,
    #sizeGuide table td {
        font-size: 0.8rem; /* testo pił piccolo */
        padding: 0.4rem;
    }

        #sizeGuide table td small {
            display: block; /* manda a capo i pollici */
            font-size: 0.7rem;
        }
}

img[data-src] {
    background-color: #111; /* o un blur base64 inline */
    min-height: 150px;
}

.privacy-banner {
    background: #0b0b0e;
    color: #eee;
    border-top: 1px solid #333;
    z-index: 1035;
}

    .privacy-banner .btn {
        border-radius: .5rem;
    }

.btn-accept-all {
    background: #00e5a8;
    color: #000;
    font-weight: 700;
}

.btn-reject {
    background: #1f1f28;
    color: #fff;
}

.btn-customize {
    background: #111827;
    color: #fff;
}

.consent-badge {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1036;
    background: #111827;
    color: #fff;
    border: 1px solid #333;
    border-radius: 999px;
    padding: .5rem .75rem;
    font-size: .9rem;
    display: flex;
    align-items: center;
    gap: .4rem;
    cursor: pointer;
}

    .consent-badge i {
        font-size: 1rem;
    }

.form-switch .form-check-input {
    cursor: pointer;
}

.consent-list small {
    color: #aaa;
}

.consent-locked {
    opacity: .6;
}



.navbar-toggler:focus {
    box-shadow: 0 0 0 2px #9457EB !important;
}

.product-viewer.loading {
    position: relative;
}

    .product-viewer.loading::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 30px;
        height: 30px;
        margin: -15px 0 0 -15px;
        border: 2px solid #05d9e8;
        border-top: 2px solid transparent;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

.product-viewer.loaded::after {
    display: none;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.image-loading-spinner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10;
    border-radius: 0.375rem;
}

.product-img-wrap {
    position: relative;
    min-height: 200px;
}