/* --- Variabili di Sistema & Palette Luxury --- */
:root {
    --bg-dark: #070709;
    --bg-darker: #0b0b0f;
    --bg-card: #111116;
    --sapphire-blue: #0f52ba;
    --sapphire-glow: rgba(15, 82, 186, 0.25);
    --silver: #a0a0a5;
    --silver-light: #e0e0e5;
    --text-main: #ffffff;
    --text-muted: #777780;
    --border-color: #1f1f28;
    --border-hover: #0f52ba;
}

/* --- Reset & Base Globale --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    width: 100%;
}

/* --- Trust Bar Superiore --- */
.trust-bar {
    background-color: var(--bg-darker);
    color: var(--silver-light);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 10px;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--border-color);
    text-transform: uppercase;
    text-align: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* --- Header Sticky & Glassmorphism --- */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;
    background-color: rgba(7, 7, 9, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    width: 100%;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.play-icon {
    color: var(--sapphire-blue);
    font-size: 1.1rem;
    text-shadow: 0 0 12px var(--sapphire-blue);
}

.logo h1 {
    font-size: 1rem;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin: 0;
    line-height: 1;
}

.logo .subtitle {
    color: var(--silver);
    font-size: 0.7rem;
    font-weight: 300;
    letter-spacing: 1px;
    margin-left: 2px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.main-nav a {
    color: var(--silver);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--text-main);
}

.user-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.user-actions a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-login {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--silver-light) !important;
}

.btn-login:hover {
    border-color: var(--sapphire-blue);
    color: var(--text-main) !important;
}

.cart {
    background-color: var(--sapphire-blue);
    color: #fff !important;
    border: 1px solid var(--sapphire-blue);
    box-shadow: 0 0 15px var(--sapphire-glow);
}

.cart:hover {
    background-color: #0c4399;
}

/* --- Barra di Ricerca Header --- */
.search-form {
    display: flex;
    align-items: center;
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    transition: border-color 0.3s;
    width: 240px;
}

.search-form:focus-within {
    border-color: var(--sapphire-blue);
    box-shadow: 0 0 10px var(--sapphire-glow);
}

.search-form input {
    width: 100%;
    padding: 8px 12px;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 0.8rem;
    outline: none;
}

.search-form input::placeholder {
    color: var(--text-muted);
}

.search-form button {
    background: transparent;
    border: none;
    color: var(--silver);
    padding: 0 10px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.search-form button:hover {
    color: var(--text-main);
}

/* --- Pulsante Hamburger (Nascosto su Desktop) --- */
.hamburger-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    padding: 0;
}

.hamburger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-nav-header {
    display: none;
}

.nav-overlay {
    display: none;
}

/* --- Hero Section --- */
.hero {
    text-align: center;
    padding: 120px 20px;
    background: radial-gradient(circle at center, var(--sapphire-glow) 0%, transparent 70%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-content h2 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--text-main);
    max-width: 900px;
}

.btn-primary {
    display: inline-block;
    background-color: var(--text-main);
    color: var(--bg-dark);
    padding: 14px 32px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
    background-color: var(--silver-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
}

/* --- Prodotti & Griglia --- */
.products-section {
    padding: 60px 40px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.section-header {
    margin-bottom: 40px;
}

.section-header h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
    width: 100%;
}

.product-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px var(--sapphire-glow);
}

.product-image {
    width: 100%;
    height: 300px;
    background-color: #0e0e12;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.category-badge {
    font-size: 0.65rem;
    color: var(--sapphire-blue);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.product-info h4 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--text-main);
    line-height: 1.4;
    flex-grow: 1;
}

.price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--silver-light);
    margin-bottom: 15px;
}

.btn-add-cart {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-add-cart:hover {
    background-color: var(--sapphire-blue);
    border-color: var(--sapphire-blue);
    box-shadow: 0 0 15px var(--sapphire-glow);
}

/* --- Pagina Singolo Prodotto --- */
.single-product-page {
    padding: 60px 40px;
    max-width: 1300px;
    margin: 0 auto;
    min-height: 75vh;
    width: 100%;
}

.product-container {
    display: flex;
    gap: 50px;
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.product-gallery {
    flex: 1;
    min-width: 0;
}

.product-gallery img.main-image {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    object-fit: cover;
    max-height: 480px;
}

.product-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.product-details h2 {
    font-size: 2.2rem;
    font-weight: 600;
    margin: 10px 0 15px;
    color: var(--text-main);
}

.product-details .price {
    font-size: 1.8rem;
    color: var(--sapphire-blue);
    font-weight: 700;
    margin-bottom: 20px;
}

.product-details .description {
    color: var(--silver);
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.size-selector {
    margin-bottom: 25px;
}

.size-selector label {
    display: block;
    margin-bottom: 10px;
    color: var(--silver-light);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 1.5px;
}

.size-selector select {
    width: 100%;
    padding: 14px;
    background-color: var(--bg-dark);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color 0.3s;
}

.size-selector select:focus {
    outline: none;
    border-color: var(--sapphire-blue);
    box-shadow: 0 0 10px var(--sapphire-glow);
}

.btn-add-cart-large {
    width: 100%;
    text-align: center;
    padding: 16px;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    margin-top: auto;
    background-color: var(--sapphire-blue);
    color: white;
    border-radius: 6px;
    font-weight: 600;
    box-shadow: 0 0 20px var(--sapphire-glow);
    transition: all 0.3s ease;
}

.btn-add-cart-large:hover {
    background-color: #0c4399;
}


/* =========================================================
   MEDIA QUERIES PER TABLET E SMARTPHONE (HAMBURGER MENU MOBILE)
   ========================================================= */

@media screen and (max-width: 1024px) {
    .search-form {
        display: none; 
    }
}

@media screen and (max-width: 768px) {
    .main-header {
        flex-direction: column !important;
        padding: 12px 15px !important;
        gap: 12px !important;
    }

    .hamburger-btn {
        display: flex !important;
    }

    .header-left {
        display: flex;
        align-items: center;
        gap: 15px;
        width: 100%;
        justify-content: flex-start;
    }

    /* Cassetto laterale mobile nascosto di default */
    .main-nav {
        position: fixed !important;
        top: 0 !important;
        left: -280px !important;
        width: 280px !important;
        height: 100vh !important;
        background-color: var(--bg-card) !important;
        border-right: 1px solid var(--border-color) !important;
        z-index: 2000 !important;
        display: flex !important;
        flex-direction: column !important;
        transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
        padding: 20px !important;
    }

    .main-nav.active {
        left: 0 !important;
    }

    .mobile-nav-header {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        font-weight: 600;
        font-size: 1.1rem;
        margin-bottom: 30px;
        padding-bottom: 15px;
        border-bottom: 1px solid var(--border-color);
        color: var(--text-main);
    }

    .close-menu-btn {
        background: transparent;
        border: none;
        color: var(--silver);
        font-size: 1.2rem;
        cursor: pointer;
    }

    .main-nav ul {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
    }

    .main-nav a {
        font-size: 1rem !important;
        display: block;
        padding: 8px 0;
        background: transparent !important;
        border: none !important;
    }

    .nav-overlay.active {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(4px);
        z-index: 1500;
    }

    .user-actions {
        width: 100% !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    .product-container {
        flex-direction: column !important;
        padding: 20px !important;
        gap: 25px !important;
    }

    .product-gallery, .product-details {
        width: 100% !important;
    }

    .products-section, .single-product-page {
        padding: 30px 15px !important;
    }
}

@media screen and (max-width: 480px) {
    .trust-bar {
        font-size: 0.6rem;
        letter-spacing: 0.5px;
    }

    .products-grid {
        grid-template-columns: 1fr !important;
    }

    .hero {
        padding: 80px 15px;
    }

    .user-actions a {
        padding: 6px 10px;
        font-size: 0.75rem;
    }
}
/* =====================================================================
   HUBPLAY STUDIOS — STOREFRONT V2
   Premium storefront layer. Kept separate to preserve legacy page styles.
   ===================================================================== */
:root {
    --surface-soft: #0c0c11;
    --surface-raised: #121218;
    --surface-hover: #17171f;
    --blue-soft: rgba(15, 82, 186, 0.12);
    --green: #34d399;
    --amber: #f6c453;
    --danger: #ff6b6b;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --shadow-deep: 0 24px 70px rgba(0,0,0,.36);
}

html { scroll-behavior: smooth; }
body { line-height: 1.45; }
body.menu-open { overflow: hidden; }
a { color: inherit; }
button, input, select { font: inherit; }
img { max-width: 100%; }
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Top bars */
.promo-banner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 7px 18px;
    text-align: center;
    background: var(--sapphire-blue);
    color: #fff;
    font-size: .69rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.promo-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 12px rgba(255,255,255,.8);
}
.store-trust-strip {
    min-height: 34px;
    padding: 8px max(18px, calc((100vw - 1320px)/2));
    display: flex;
    justify-content: center;
    gap: clamp(22px, 6vw, 84px);
    color: #aaaab3;
    background: #09090c;
    border-bottom: 1px solid var(--border-color);
    font-size: .64rem;
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.store-trust-strip span::before {
    content: '•';
    color: var(--sapphire-blue);
    margin-right: 9px;
}

/* Header */
.store-header {
    position: sticky;
    top: 0;
    z-index: 1200;
    background: rgba(7,7,9,.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-color);
}
.store-header-main {
    max-width: 1440px;
    min-height: 74px;
    margin: 0 auto;
    padding: 13px 28px;
    display: grid;
    grid-template-columns: auto minmax(240px, 460px) auto;
    gap: 28px;
    align-items: center;
}
.store-logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #fff;
    text-decoration: none;
    flex-shrink: 0;
}
.store-logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #1c67d7, #0b3e8b);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 8px 24px rgba(15,82,186,.22), inset 0 1px rgba(255,255,255,.2);
}
.store-logo-copy { display: flex; flex-direction: column; line-height: 1; }
.store-logo-copy strong { font-size: .86rem; letter-spacing: .15em; }
.store-logo-copy small { margin-top: 5px; color: #8f8f99; font-size: .58rem; font-weight: 600; letter-spacing: .27em; }
.store-search {
    min-width: 0;
    height: 45px;
    display: grid;
    grid-template-columns: 38px 1fr auto;
    align-items: center;
    padding-left: 10px;
    background: #0c0c11;
    border: 1px solid #24242e;
    border-radius: 12px;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.store-search:focus-within {
    border-color: rgba(15,82,186,.8);
    background: #0f0f15;
    box-shadow: 0 0 0 3px rgba(15,82,186,.11);
}
.store-search-icon {
    position: relative;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    color: transparent;
    font-size: 0;
    line-height: 1;
    transform: none;
    justify-self: center;
}
.store-search-icon::before {
    content: '';
    width: 13px;
    height: 13px;
    border: 1.8px solid #787883;
    border-radius: 50%;
    box-sizing: border-box;
    display: block;
}
.store-search-icon::after {
    content: '';
    position: absolute;
    width: 7px;
    height: 1.8px;
    border-radius: 999px;
    background: #787883;
    right: 1px;
    bottom: 3px;
    transform: rotate(45deg);
    transform-origin: center;
}
.store-search input {
    min-width: 0;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    padding: 0 8px;
    font-size: .82rem;
}
.store-search input::placeholder { color: #686872; }
.store-search button {
    align-self: stretch;
    border: 0;
    border-left: 1px solid #24242e;
    background: transparent;
    color: #d8d8df;
    padding: 0 15px;
    cursor: pointer;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
}
.store-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    min-width: max-content;
}
.store-action-link, .store-cart-link {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 10px;
    text-decoration: none;
    font-size: .73rem;
    font-weight: 600;
    transition: .2s ease;
}
.store-action-link {
    padding: 0 10px;
    color: #c7c7ce;
    border: 1px solid transparent;
}
.store-action-link:hover { color: #fff; background: #121218; border-color: #252530; }
.store-action-link > span:first-child { font-size: 1rem; color: #a5a5ae; }
.store-action-link b {
    min-width: 18px;
    height: 18px;
    display: inline-grid;
    place-items: center;
    border-radius: 20px;
    background: #1e1e27;
    color: #fff;
    font-size: .61rem;
}
.store-cart-link {
    padding: 0 13px;
    background: #f3f3f6;
    color: #08080b;
    border: 1px solid #f3f3f6;
}
.store-cart-link:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(255,255,255,.08); }
.store-cart-link b {
    min-width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #111117;
    color: #fff;
    font-size: .62rem;
}
.store-category-nav {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 28px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    border-top: 1px solid rgba(255,255,255,.035);
    overflow-x: auto;
    scrollbar-width: none;
}
.store-category-nav::-webkit-scrollbar { display: none; }
.store-category-nav a {
    position: relative;
    padding: 12px 0 10px;
    white-space: nowrap;
    text-decoration: none;
    color: #8d8d97;
    font-size: .69rem;
    font-weight: 650;
    letter-spacing: .095em;
    text-transform: uppercase;
    transition: color .2s;
}
.store-category-nav a:hover, .store-category-nav a.active { color: #fff; }
.store-category-nav a.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--sapphire-blue);
    border-radius: 2px 2px 0 0;
}
.store-category-nav .admin-nav-link { margin-left: auto; color: #5e5e68; }
.hamburger-btn { display: none; }
.mobile-nav { display: none; }

/* Shared buttons / headings */
.eyebrow {
    display: inline-block;
    color: #6d9eea;
    font-size: .66rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .19em;
    text-transform: uppercase;
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f2f2f5;
    background: #f2f2f5;
    color: #08080b;
    text-decoration: none;
    font-weight: 700;
    border-radius: 10px;
    transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255,255,255,.09); }
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #2b2b35;
    background: rgba(255,255,255,.025);
    color: #d9d9df;
    text-decoration: none;
    font-weight: 700;
    border-radius: 10px;
    transition: .2s;
}
.btn-ghost:hover { color: #fff; border-color: #4a4a57; background: rgba(255,255,255,.045); }
.btn-large { min-height: 50px; padding: 0 22px; font-size: .78rem; }

/* Homepage hero */
.store-hero {
    position: relative;
    max-width: 1440px;
    min-height: 650px;
    margin: 0 auto;
    padding: 76px 56px 68px;
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
    gap: 56px;
    align-items: center;
    overflow: hidden;
}
.store-hero::before {
    content: '';
    position: absolute;
    width: 620px;
    height: 620px;
    top: -250px;
    left: 12%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15,82,186,.13), transparent 67%);
    pointer-events: none;
}
.store-hero-copy { position: relative; z-index: 2; }
.store-hero-copy h1 {
    max-width: 680px;
    margin: 18px 0 22px;
    color: #f7f7fa;
    font-size: clamp(3rem, 5.4vw, 5.75rem);
    line-height: .94;
    letter-spacing: -.055em;
    font-weight: 750;
}
.store-hero-copy h1 em { color: #8f8f99; font-style: normal; font-weight: 420; }
.store-hero-copy > p {
    max-width: 590px;
    color: #9a9aa4;
    font-size: .98rem;
    line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-proof {
    margin-top: 46px;
    padding-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    border-top: 1px solid #22222b;
}
.hero-proof span { color: #7f7f8a; font-size: .66rem; line-height: 1.45; text-transform: uppercase; letter-spacing: .04em; }
.hero-proof b { display: block; color: #d9d9df; font-size: .62rem; margin-bottom: 4px; }
.store-hero-visual {
    position: relative;
    min-height: 510px;
    border-radius: 34px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.035), transparent 55%),
        radial-gradient(circle at 75% 20%, rgba(15,82,186,.28), transparent 36%),
        #0c0c11;
    border: 1px solid #1d1d26;
    overflow: hidden;
    isolation: isolate;
}
.store-hero-visual::before {
    content: 'STUDIOS';
    position: absolute;
    left: -16px;
    bottom: 16px;
    z-index: 0;
    color: rgba(255,255,255,.022);
    font-size: clamp(5rem, 10vw, 10rem);
    font-weight: 900;
    letter-spacing: -.08em;
    pointer-events: none;
}
.hero-product {
    position: absolute;
    z-index: 2;
    display: block;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    background: #111116;
    border: 1px solid #2a2a34;
    box-shadow: var(--shadow-deep);
}
.hero-product img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s cubic-bezier(.16,1,.3,1); }
.hero-product:hover img { transform: scale(1.035); }
.hero-product-main { width: 65%; height: 78%; left: 8%; top: 9%; border-radius: 26px; transform: rotate(-2.5deg); }
.hero-product-small { width: 38%; height: 48%; right: 5%; bottom: 6%; border-radius: 22px; transform: rotate(4deg); }
.hero-product-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 52px 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    background: linear-gradient(transparent, rgba(0,0,0,.85));
}
.hero-product-info small { color: #d0d0d6; font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; }
.hero-product-info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .8rem; }
.hero-product-info b { margin-top: 4px; font-size: .74rem; }
.hero-placeholder { display: grid; place-items: center; color: #3f3f49; font-size: 2.5rem; font-weight: 900; letter-spacing: .08em; text-align: center; }
.hero-orbit { position: absolute; z-index: 1; border: 1px solid rgba(91,143,226,.16); border-radius: 50%; }
.hero-orbit-one { width: 380px; height: 380px; right: -175px; top: -120px; }
.hero-orbit-two { width: 230px; height: 230px; right: -75px; top: -46px; }

.category-ribbon {
    max-width: 1328px;
    margin: 0 auto 10px;
    padding: 20px 0;
    display: grid;
    grid-template-columns: 100px 1fr;
    align-items: center;
    border-top: 1px solid #1d1d26;
    border-bottom: 1px solid #1d1d26;
}
.category-ribbon-label { color: #64646e; font-size: .63rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.category-ribbon-links { display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.category-ribbon-links::-webkit-scrollbar { display: none; }
.category-ribbon-links a {
    min-width: max-content;
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 10px 14px;
    color: #c6c6ce;
    background: #0d0d12;
    border: 1px solid #20202a;
    border-radius: 10px;
    text-decoration: none;
    font-size: .72rem;
    font-weight: 600;
    transition: .2s;
}
.category-ribbon-links a span { color: #676772; }
.category-ribbon-links a:hover { color: #fff; border-color: #343440; transform: translateY(-1px); }

/* Catalog */
.products-section.store-catalog {
    max-width: 1384px;
    padding: 82px 28px 70px;
}
.catalog-heading {
    margin-bottom: 30px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
}
.catalog-heading h2, .utility-heading h1, .related-heading h2, .faq-heading h2, .values-intro h2 {
    margin: 9px 0 5px;
    color: #f3f3f6;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.06;
    letter-spacing: -.035em;
}
.catalog-heading p, .utility-heading p, .faq-heading p { color: #777782; font-size: .82rem; }
.sort-control { display: flex; align-items: center; gap: 10px; color: #787883; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.sort-control select {
    min-width: 176px;
    height: 42px;
    padding: 0 32px 0 12px;
    border: 1px solid #262630;
    border-radius: 10px;
    background: #101015;
    color: #dbdbe1;
    outline: 0;
    cursor: pointer;
    font-size: .72rem;
}
.premium-grid.products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.product-card.premium-card {
    position: relative;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
.product-card.premium-card:hover { transform: none; box-shadow: none; }
.product-media-link { position: relative; display: block; text-decoration: none; }

/* FIX ALTEZZA CARD GRIGLIA */
.premium-card .product-image {
    position: relative;
    aspect-ratio: 4 / 5;
    height: auto;
    border-radius: 17px;
    overflow: hidden;
    background: #101015;
    border: 1px solid #1f1f28;
}
.premium-card .product-image img { 
    width: 100%; 
    height: 100%; 
    object-fit: contain;
    transition: transform .7s cubic-bezier(.16,1,.3,1), filter .35s; 
    display: block;
}
/* FINE FIX */

.product-card-overlay {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(8,8,11,.76);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: .7rem;
    font-weight: 650;
    opacity: 0;
    transform: translateY(8px);
    transition: .25s;
}
.premium-card:hover .product-card-overlay { opacity: 1; transform: translateY(0); }
.product-badges { position: absolute; top: 12px; left: 12px; z-index: 3; pointer-events: none; }
.stock-badge, .product-media-status {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 0 9px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.stock-badge.new-badge, .product-media-status.new-badge { color: #dffbef; background: rgba(12,76,53,.82); border: 1px solid rgba(52,211,153,.28); }
.stock-badge.low-stock, .product-media-status.low-stock { color: #fff2c9; background: rgba(100,72,17,.86); border: 1px solid rgba(246,196,83,.28); }
.stock-badge.sold-out, .product-media-status.sold-out { color: #ffe4e4; background: rgba(91,28,28,.88); border: 1px solid rgba(255,107,107,.3); }
.premium-card .product-info { padding: 14px 2px 0; }
.product-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.premium-card .category-badge { margin: 0; color: #777785; font-size: .58rem; letter-spacing: .13em; }
.product-card-arrow { color: #4f4f59; font-size: .78rem; transition: .2s; }
.premium-card:hover .product-card-arrow { color: #fff; transform: translate(2px,-2px); }
.product-title-link { display: block; color: inherit; text-decoration: none; }
.premium-card .product-info h3 {
    min-height: 2.6em;
    margin: 7px 0 11px;
    color: #e8e8ed;
    font-size: .9rem;
    font-weight: 580;
    line-height: 1.3;
}
.product-price-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.premium-card .price { margin: 0; color: #fff; font-size: .88rem; font-weight: 720; }
.product-price-row > span { color: #65656f; font-size: .6rem; }
.empty-state {
    grid-column: 1 / -1;
    padding: 80px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #0c0c11;
    border: 1px dashed #272731;
    border-radius: 20px;
}
.empty-state > span { color: #5d8ed9; font-size: .62rem; font-weight: 800; letter-spacing: .17em; }
.empty-state h3 { margin: 12px 0 8px; color: #efeff3; font-size: 1.4rem; }
.empty-state p { max-width: 450px; margin-bottom: 22px; color: #777782; font-size: .82rem; }
.empty-state .btn-primary { min-height: 44px; padding: 0 18px; font-size: .72rem; }
.pagination { margin-top: 48px; display: flex; justify-content: center; gap: 7px; }
.pagination a {
    min-width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    border: 1px solid #25252e;
    border-radius: 10px;
    color: #83838d;
    background: #0e0e13;
    text-decoration: none;
    font-size: .73rem;
    font-weight: 650;
}
.pagination a:hover, .pagination a.active { color: #fff; border-color: var(--sapphire-blue); background: rgba(15,82,186,.18); }

/* Homepage values */
.store-values {
    max-width: 1328px;
    margin: 44px auto 120px;
    padding: 64px 0;
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: 70px;
    border-top: 1px solid #1e1e27;
    border-bottom: 1px solid #1e1e27;
}
.values-intro h2 { margin-top: 13px; font-size: clamp(2.3rem,4vw,4.4rem); }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #202029; border: 1px solid #202029; border-radius: 18px; overflow: hidden; }
.values-grid article { min-height: 190px; padding: 27px; background: #0b0b10; }
.values-grid article > span { color: #4f80cc; font-size: .62rem; font-weight: 800; letter-spacing: .13em; }
.values-grid h3 { margin: 30px 0 8px; color: #e8e8ed; font-size: .94rem; }
.values-grid p { color: #767680; font-size: .77rem; line-height: 1.65; }

/* FAQ */
.premium-faq {
    max-width: 1120px;
    margin: 0 auto 120px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: 70px;
}
.faq-heading { position: sticky; top: 150px; align-self: start; }
.faq-list { border-top: 1px solid #23232c; }
.faq-list details { border-bottom: 1px solid #23232c; }
.faq-list summary {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    color: #d9d9df;
    cursor: pointer;
    list-style: none;
    font-size: .86rem;
    font-weight: 580;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: #686873; font-size: 1.2rem; transition: transform .2s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { padding: 0 42px 24px 0; color: #81818b; font-size: .79rem; line-height: 1.72; }

/* Product detail V2 */
.product-page-v2 { max-width: 1400px; margin: 0 auto; padding: 28px 28px 110px; }
.product-breadcrumb {
    min-height: 36px;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    color: #666670;
    font-size: .65rem;
    white-space: nowrap;
}
.product-breadcrumb a { color: #777782; text-decoration: none; }
.product-breadcrumb a:hover { color: #fff; }
.product-breadcrumb span:last-child { overflow: hidden; text-overflow: ellipsis; }
.product-shell {
    margin-top: 14px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(390px, .9fr);
    gap: 50px;
    align-items: start;
}
.product-gallery-v2 { min-width: 0; }
.product-main-media {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0f0f14;
    border: 1px solid #1e1e27;
    border-radius: 22px;
}
.product-main-media > img { 
    width: 100%; 
    height: auto; 
    object-fit: contain; 
    cursor: zoom-in; 
    display: block;
}
.product-media-status { position: absolute; z-index: 3; left: 16px; top: 16px; }
.gallery-arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    width: 42px;
    height: 42px;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.13);
    background: rgba(8,8,11,.68);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 1.7rem;
    cursor: pointer;
    transition: .2s;
}
.gallery-arrow:hover { background: rgba(8,8,11,.9); border-color: rgba(255,255,255,.25); }
.gallery-prev { left: 14px; }
.gallery-next { right: 14px; }
.gallery-count {
    position: absolute;
    right: 15px;
    bottom: 15px;
    padding: 7px 10px;
    border-radius: 20px;
    background: rgba(8,8,11,.72);
    color: #7f7f89;
    border: 1px solid rgba(255,255,255,.1);
    backdrop-filter: blur(8px);
    font-size: .62rem;
}
.gallery-count b { color: #fff; }
.product-thumbnails { margin-top: 12px; display: flex; gap: 9px; overflow-x: auto; padding-bottom: 3px; scrollbar-width: thin; scrollbar-color: #292934 transparent; }
.thumbnail-btn {
    width: 72px;
    height: 82px;
    flex: 0 0 auto;
    padding: 0;
    overflow: hidden;
    border: 1px solid #22222b;
    border-radius: 10px;
    background: #101015;
    cursor: pointer;
    opacity: .62;
    transition: .2s;
}
.thumbnail-btn img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumbnail-btn:hover, .thumbnail-btn.active { opacity: 1; border-color: #6a6a76; }
.product-buy-panel {
    position: sticky;
    top: 146px;
    min-width: 0;
    padding: 12px 0 0;
}
.product-buy-panel h1 {
    margin: 13px 0 12px;
    color: #f4f4f7;
    font-size: clamp(2rem, 3.3vw, 3.35rem);
    line-height: 1.03;
    letter-spacing: -.045em;
    font-weight: 690;
}
.product-price-line { display: flex; align-items: baseline; gap: 12px; margin-bottom: 15px; }
.product-price-large { color: #fff; font-size: 1.3rem; font-weight: 750; }
.product-price-line > span { color: #5e5e68; font-size: .61rem; }
.availability-line {
    min-height: 37px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 0 16px;
    border-bottom: 1px solid #22222b;
    color: #c8c8cf;
    font-size: .71rem;
}
.availability-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(52,211,153,.52); }
.availability-dot.unavailable { background: var(--danger); box-shadow: none; }
.availability-line small { color: #686872; }
.purchase-form { margin-top: 24px; }
.purchase-label-row { margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.purchase-label-row label { color: #bdbdc5; font-size: .69rem; font-weight: 700; letter-spacing: .055em; text-transform: uppercase; }
.purchase-label-row a { color: #70707b; font-size: .65rem; text-underline-offset: 3px; }
.size-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 7px; }
.size-option { position: relative; cursor: pointer; }
.size-option input { position: absolute; opacity: 0; pointer-events: none; }
.size-option span {
    min-height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid #2a2a34;
    border-radius: 9px;
    background: #0d0d12;
    color: #a4a4ae;
    font-size: .69rem;
    font-weight: 650;
    transition: .18s;
}
.size-option:hover span { color: #fff; border-color: #51515e; }
.size-option input:checked + span { color: #fff; border-color: var(--sapphire-blue); background: rgba(15,82,186,.16); box-shadow: 0 0 0 2px rgba(15,82,186,.09); }
.size-option input:focus-visible + span { outline: 2px solid #75a6f0; outline-offset: 2px; }
.purchase-actions-row { margin-top: 14px; display: grid; grid-template-columns: 110px 1fr; gap: 9px; }
.qty-control {
    height: 50px;
    display: grid;
    grid-template-columns: 34px 1fr 34px;
    align-items: center;
    overflow: hidden;
    border: 1px solid #292932;
    border-radius: 11px;
    background: #0d0d12;
}
.qty-control button { height: 100%; border: 0; background: transparent; color: #adadb6; cursor: pointer; font-size: 1rem; }
.qty-control button:hover { color: #fff; background: #15151c; }
.qty-control input { width: 100%; border: 0; outline: 0; background: transparent; color: #fff; text-align: center; font-size: .77rem; }
.add-to-cart-cta {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    border: 1px solid #f0f0f3;
    border-radius: 11px;
    background: #f0f0f3;
    color: #070709;
    cursor: pointer;
    font-size: .76rem;
    font-weight: 760;
    letter-spacing: .03em;
    transition: .2s;
}
.add-to-cart-cta:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 12px 28px rgba(255,255,255,.08); }
.add-to-cart-cta span { font-size: 1rem; }
.wishlist-form { margin-top: 8px; }
.wishlist-form button {
    width: 100%;
    height: 44px;
    border: 1px solid #272731;
    border-radius: 10px;
    background: transparent;
    color: #90909b;
    cursor: pointer;
    font-size: .7rem;
    font-weight: 600;
    transition: .2s;
}
.wishlist-form button:hover { color: #fff; border-color: #464653; background: #101015; }
.sold-out-cta { width: 100%; height: 50px; margin-top: 22px; border: 1px solid #282832; border-radius: 11px; background: #111116; color: #5e5e68; font-weight: 700; text-transform: uppercase; }
.purchase-assurances { margin-top: 26px; padding: 18px 0; border-top: 1px solid #22222b; border-bottom: 1px solid #22222b; display: grid; gap: 14px; }
.purchase-assurances > div { display: grid; grid-template-columns: 27px 1fr; gap: 9px; align-items: start; }
.purchase-assurances > div > span { color: #6698e5; font-size: .8rem; }
.purchase-assurances p { display: flex; flex-direction: column; gap: 2px; }
.purchase-assurances strong { color: #c8c8cf; font-size: .68rem; font-weight: 650; }
.purchase-assurances small { color: #666671; font-size: .62rem; line-height: 1.4; }
.product-info-accordions { border-bottom: 1px solid #22222b; }
.product-info-accordions details { border-top: 1px solid #22222b; scroll-margin-top: 160px; }
.product-info-accordions details:first-child { border-top: 0; }
.product-info-accordions summary {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #adadb6;
    cursor: pointer;
    list-style: none;
    font-size: .69rem;
    font-weight: 650;
}
.product-info-accordions summary::-webkit-details-marker { display: none; }
.product-info-accordions summary span { color: #5d5d68; font-size: 1rem; transition: .2s; }
.product-info-accordions details[open] summary span { transform: rotate(45deg); }
.product-info-accordions p { padding: 0 0 17px; color: #74747f; font-size: .7rem; line-height: 1.7; }
.product-info-accordions p a { color: #a7a7b0; }
.related-products-section { margin-top: 110px; padding-top: 54px; border-top: 1px solid #202029; }
.related-heading { margin-bottom: 24px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.related-heading > a { color: #84848e; text-decoration: none; font-size: .7rem; }
.related-heading > a:hover { color: #fff; }
.related-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.product-lightbox {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: rgba(0,0,0,.94);
    backdrop-filter: blur(12px);
}
.product-lightbox.active { display: flex; }
.product-lightbox img { max-width: 92vw; max-height: 90vh; max-height: 90dvh; object-fit: contain; }
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50%;
    background: rgba(255,255,255,.04);
    color: #fff;
    cursor: pointer;
    font-size: 1.6rem;
}
.mobile-purchase-bar { display: none; }

/* Utility / Wishlist */
.utility-page { max-width: 1384px; min-height: 70vh; margin: 0 auto; padding: 70px 28px 100px; }
.utility-heading { margin-bottom: 34px; }
.standalone-empty { margin-top: 30px; }
.wishlist-card { position: relative; }
.wishlist-remove-form { position: absolute; z-index: 8; top: 11px; right: 11px; }
.wishlist-remove-form button {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    background: rgba(8,8,11,.75);
    backdrop-filter: blur(8px);
    color: #b4b4bc;
    cursor: pointer;
    font-size: 1rem;
}
.wishlist-remove-form button:hover { color: #fff; background: rgba(100,24,24,.85); border-color: rgba(255,107,107,.25); }

/* Footer */
.store-footer {
    margin-top: 80px;
    padding: 0 max(24px, calc((100vw - 1328px)/2));
    background: #08080b;
    border-top: 1px solid #1e1e27;
}
.footer-newsletter {
    padding: 72px 0;
    display: grid;
    grid-template-columns: 1fr minmax(360px, .8fr);
    gap: 60px;
    align-items: end;
    border-bottom: 1px solid #1d1d26;
}
.footer-newsletter h2 { margin: 9px 0 9px; color: #f0f0f3; font-size: clamp(2rem,3.5vw,3.4rem); line-height: 1; letter-spacing: -.045em; }
.footer-newsletter p { color: #70707b; font-size: .78rem; }
.footer-newsletter-form { height: 52px; display: grid; grid-template-columns: 1fr auto; background: #0d0d12; border: 1px solid #272731; border-radius: 12px; overflow: hidden; }
.footer-newsletter-form:focus-within { border-color: #4c6f9f; }
.footer-newsletter-form input { min-width: 0; padding: 0 16px; border: 0; outline: 0; background: transparent; color: #fff; font-size: .76rem; }
.footer-newsletter-form input::placeholder { color: #595963; }
.footer-newsletter-form button { padding: 0 18px; border: 0; border-left: 1px solid #272731; background: #f0f0f3; color: #070709; cursor: pointer; font-size: .71rem; font-weight: 750; }
.footer-newsletter-form button span { margin-left: 9px; }
.footer-grid { padding: 60px 0 54px; display: grid; grid-template-columns: 1.4fr repeat(3, .7fr); gap: 55px; }
.footer-brand p { max-width: 310px; margin: 22px 0 18px; color: #6f6f79; font-size: .73rem; line-height: 1.65; }
.footer-support-link { color: #b7b7bf; font-size: .7rem; text-underline-offset: 4px; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-column h3 { margin-bottom: 6px; color: #d4d4da; font-size: .67rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-column a { color: #71717c; text-decoration: none; font-size: .7rem; transition: color .2s; }
.footer-column a:hover { color: #fff; }
.footer-bottom { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #1d1d26; color: #51515c; font-size: .62rem; }
.footer-bottom > div { display: flex; gap: 22px; }
.floating-support {
    position: fixed;
    z-index: 1500;
    right: 22px;
    bottom: 22px;
    height: 44px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 13px 0 7px;
    border: 1px solid #2a2a34;
    border-radius: 30px;
    background: rgba(13,13,18,.92);
    backdrop-filter: blur(12px);
    color: #d2d2d9;
    text-decoration: none;
    box-shadow: 0 12px 34px rgba(0,0,0,.28);
    font-size: .67rem;
}
.floating-support > span { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; background: rgba(15,82,186,.2); color: #76a7ef; font-weight: 800; }
.back-to-top {
    position: fixed;
    z-index: 1490;
    right: 22px;
    bottom: 74px;
    width: 42px;
    height: 42px;
    border: 1px solid #2a2a34;
    border-radius: 50%;
    background: rgba(13,13,18,.92);
    color: #aaaab4;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .2s;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* Responsive storefront */
@media (max-width: 1180px) {
    .store-header-main { grid-template-columns: auto minmax(200px,1fr) auto; gap: 17px; }
    .store-action-label { display: none; }
    .store-hero { grid-template-columns: .9fr 1.1fr; padding-left: 34px; padding-right: 34px; gap: 34px; }
    .category-ribbon, .store-values { margin-left: 28px; margin-right: 28px; }
    .premium-grid.products-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .product-shell { gap: 32px; grid-template-columns: minmax(0,1.05fr) minmax(350px,.95fr); }
    .related-grid { grid-template-columns: repeat(4,minmax(0,1fr)) !important; }
}

@media (max-width: 900px) {
    .store-trust-strip { gap: 24px; overflow-x: auto; justify-content: flex-start; padding-left: 18px; padding-right: 18px; white-space: nowrap; scrollbar-width: none; }
    .store-header-main { min-height: 66px; grid-template-columns: auto minmax(0,1fr) auto; padding: 10px 16px; gap: 12px; }
    .store-header-main > .store-search { display: none; }
    .store-category-nav { display: none; }
    .hamburger-btn {
        width: 34px;
        height: 34px;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
        border: 0;
        background: transparent;
        padding: 0;
    }
    .hamburger-btn span { width: 17px; height: 1px; background: #d7d7dd; }
    .store-header-main > .store-logo { justify-self: start; min-width: 0; }
    .store-logo-copy strong { letter-spacing: .12em; }
    .store-logo-copy small { letter-spacing: .23em; }
    .store-actions .store-action-link { display: none; }
    .store-actions { min-width: auto; justify-self: end; }
    .store-cart-link span { display: none; }
    .store-cart-link { position: relative; width: 42px; min-width: 42px; height: 42px; padding: 0; background: transparent; border: 1px solid #2a2a34; border-radius: 12px; color: transparent; overflow: visible; }
    .store-cart-link::before { content: ''; width: 17px; height: 14px; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border: 1.7px solid #aeb0bb; border-radius: 4px 4px 6px 6px; box-sizing: border-box; }
    .store-cart-link::after { content: ''; position: absolute; left: 50%; top: calc(50% - 8px); width: 10px; height: 6px; border: 1.7px solid #aeb0bb; border-bottom: 0; border-radius: 8px 8px 0 0; transform: translateX(-50%); box-sizing: border-box; }
    .store-cart-link b { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px; border: 2px solid #09090d; background: #f2f2f5; color: #08080b; font-size: .58rem; line-height: 1; }
    .mobile-nav {
        position: fixed;
        display: block;
        z-index: 3000;
        top: 0;
        left: 0;
        width: min(88vw, 370px);
        height: 100dvh;
        padding: 18px;
        background: #0b0b0f;
        border-right: 1px solid #24242d;
        transform: translateX(-104%);
        transition: transform .35s cubic-bezier(.16,1,.3,1);
        overflow-y: auto;
    }
    .mobile-nav.active { transform: translateX(0); }
    .mobile-nav-header { display: flex !important; align-items: center; justify-content: space-between; margin: 0 0 24px; padding: 0 0 18px; border-bottom: 1px solid #22222b; }
    .close-menu-btn { width: 36px; height: 36px; border: 1px solid #292933; border-radius: 50%; background: transparent; color: #b6b6bf; cursor: pointer; font-size: 1.15rem; }
    .mobile-search { height: 46px; display: grid; grid-template-columns: 1fr auto; margin-bottom: 22px; border: 1px solid #272731; border-radius: 10px; overflow: hidden; background: #0f0f14; }
    .mobile-search input { min-width: 0; padding: 0 12px; border: 0; outline: 0; background: transparent; color: #fff; font-size: .76rem; }
    .mobile-search button { padding: 0 12px; border: 0; border-left: 1px solid #272731; background: transparent; color: #a2a2ac; font-size: .68rem; }
    .mobile-nav-links { display: flex; flex-direction: column; }
    .mobile-nav-links a { min-height: 48px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #1c1c24; color: #cbCBD2; text-decoration: none; font-size: .8rem; }
    .mobile-nav-links a span { color: #62626d; }
    .mobile-nav-links hr { margin: 18px 0 4px; border: 0; border-top: 1px solid #25252e; }
    .nav-overlay { position: fixed; inset: 0; z-index: 2500; display: block; background: rgba(0,0,0,.66); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: .25s; }
    .nav-overlay.active { opacity: 1; visibility: visible; }

    .store-hero { min-height: auto; grid-template-columns: 1fr; padding: 60px 24px 30px; }
    .store-hero-copy h1 { max-width: 720px; font-size: clamp(3.2rem,10vw,5.6rem); }
    .store-hero-visual { min-height: 520px; }
    .hero-product-main { width: 62%; }
    .hero-product-small { width: 36%; }
    .category-ribbon { margin: 10px 24px 0; grid-template-columns: 1fr; gap: 12px; }
    .products-section.store-catalog { padding: 65px 24px; }
    .premium-grid.products-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .store-values { margin: 30px 24px 95px; grid-template-columns: 1fr; gap: 35px; }
    .premium-faq { grid-template-columns: 1fr; gap: 32px; }
    .faq-heading { position: static; }

    .product-page-v2 { padding: 20px 18px 100px; }
    .product-shell { grid-template-columns: 1fr; gap: 28px; }
    .product-main-media { height: auto; }
    .product-buy-panel { position: static; padding-top: 4px; }
    .related-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }

    .footer-newsletter { grid-template-columns: 1fr; gap: 28px; }
    .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
    .footer-column:last-child { grid-column: 2 / 4; }

    /* Modificato qui per rimuovere il conflitto mobile vs tablet */
    .catalog-heading { align-items: flex-start; }
    .catalog-controls { flex-wrap: wrap; }
}

@media (max-width: 760px) {
    .store-header-main { padding-right: max(14px, calc(14px + env(safe-area-inset-right))); }
    .store-actions { margin-left: auto; }
}

@media (max-width: 600px) {
    .promo-banner { min-height: 30px; font-size: .57rem; letter-spacing: .1em; }
    .store-trust-strip { min-height: 30px; font-size: .55rem; }
    .store-logo-mark { width: 34px; height: 34px; border-radius: 9px; }
    .store-logo-copy strong { font-size: .72rem; }
    .store-logo-copy small { font-size: .49rem; }

    .store-hero { padding-top: 48px; }
    .store-hero-copy h1 { font-size: clamp(2.8rem,14vw,4.5rem); }
    .store-hero-copy > p { font-size: .86rem; }
    .hero-actions { display: grid; grid-template-columns: 1fr; }
    .hero-proof { grid-template-columns: 1fr; gap: 10px; margin-top: 32px; }
    .hero-proof span { display: grid; grid-template-columns: 30px 1fr; align-items: center; }
    .hero-proof b { margin: 0; }
    .store-hero-visual { min-height: 420px; border-radius: 24px; }
    .hero-product-main { width: 72%; height: 74%; left: 4%; top: 8%; border-radius: 18px; }
    .hero-product-small { width: 40%; height: 42%; right: 2%; bottom: 4%; border-radius: 16px; }

    .sort-control { width: 100%; justify-content: space-between; }
    .sort-control select { flex: 1; }
    .products-section.store-catalog { padding-left: 14px; padding-right: 14px; }
    .premium-grid.products-grid { gap: 11px; }
    
    /* FIX ALTEZZA CARD GRIGLIA SU MOBILE */
    .premium-card .product-image { border-radius: 12px; aspect-ratio: 4 / 5; }
    /* FINE FIX */

    .premium-card .product-info { padding-top: 10px; }
    .premium-card .product-info h3 { margin-top: 5px; font-size: .78rem; }
    .premium-card .category-badge { font-size: .52rem; }
    .premium-card .price { font-size: .78rem; }
    .product-price-row > span { display: none; }
    .product-card-overlay { display: none; }
    .product-badges { top: 8px; left: 8px; }
    .stock-badge { min-height: 22px; padding: 0 7px; font-size: .51rem; }

    .store-values { padding: 45px 0; margin-left: 14px; margin-right: 14px; }
    .values-grid { grid-template-columns: 1fr; }
    .values-grid article { min-height: 155px; }
    .premium-faq { padding: 0 14px; margin-bottom: 85px; }
    .faq-list summary { min-height: 68px; font-size: .79rem; }

    .product-page-v2 { padding-left: 12px; padding-right: 12px; }
    .product-breadcrumb { padding: 0 3px; }
    .product-main-media { min-height: 0; height: auto; aspect-ratio: auto; border-radius: 15px; }
    .gallery-arrow { width: 37px; height: 37px; }
    .product-thumbnails { margin-top: 8px; }
    .thumbnail-btn { width: 58px; height: 66px; }
    .product-buy-panel h1 { font-size: 2.2rem; }
    .size-grid { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 5px; }
    .size-option span { min-height: 42px; font-size: .62rem; }
    .purchase-actions-row { grid-template-columns: 98px 1fr; }
    .related-products-section { margin-top: 75px; padding-top: 40px; }
    
    .mobile-purchase-bar {
        position: fixed;
        z-index: 1450;
        left: 10px;
        right: 10px;
        bottom: 10px;
        min-height: 62px;
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 10px;
        padding: 8px 8px 8px 13px;
        border: 1px solid #31313b;
        border-radius: 14px;
        background: rgba(12,12,17,.94);
        backdrop-filter: blur(18px);
        box-shadow: 0 18px 50px rgba(0,0,0,.42);
    }
    .mobile-purchase-bar > div { min-width: 0; display: flex; flex-direction: column; }
    .mobile-purchase-bar small { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #777782; font-size: .58rem; }
    .mobile-purchase-bar strong { color: #fff; font-size: .78rem; }
    .mobile-purchase-bar button { height: 44px; padding: 0 14px; border: 0; border-radius: 9px; background: #f0f0f3; color: #08080b; font-size: .68rem; font-weight: 750; }
    .floating-support { display: none; }
    .back-to-top { right: 14px; bottom: 82px; }

    .utility-page { padding: 55px 14px 90px; }
    .footer-newsletter { padding: 55px 0; }
    .footer-newsletter-form { grid-template-columns: 1fr; height: auto; overflow: visible; border: 0; background: transparent; gap: 8px; }
    .footer-newsletter-form input { height: 48px; border: 1px solid #272731; border-radius: 10px; background: #0d0d12; }
    .footer-newsletter-form button { height: 48px; border: 0; border-radius: 10px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px 24px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-column:last-child { grid-column: auto; }
    .footer-bottom { padding: 24px 0; align-items: flex-start; flex-direction: column; }
    .footer-bottom > div { flex-wrap: wrap; gap: 10px 18px; }
}

@media (max-width: 380px) {
    .store-header-main { gap: 9px; padding-left: 10px; padding-right: 10px; }
    .store-logo-copy { display: none; }
    .premium-grid.products-grid { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr !important; }
    .size-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
    .purchase-actions-row { grid-template-columns: 1fr; }
    .qty-control { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-column:last-child { grid-column: auto; }
}

/* ===== Storefront V5 polish: catalog controls, touch UX, motion ===== */
.catalog-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    position: relative;
}
.catalog-filter-panel { position: relative; }
.catalog-filter-panel > summary {
    height: 42px;
    min-width: 112px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid #262630;
    border-radius: 10px;
    background: #101015;
    color: #d4d4db;
    cursor: pointer;
    list-style: none;
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    user-select: none;
}
.catalog-filter-panel > summary::-webkit-details-marker { display: none; }
.catalog-filter-panel > summary b {
    min-width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #f2f2f5;
    color: #08080b;
    font-size: .58rem;
}
.catalog-filter-panel > summary i { margin-left: auto; color: #686873; font-style: normal; transition: transform .2s; }
.catalog-filter-panel[open] > summary { border-color: #41414e; background: #15151b; }
.catalog-filter-panel[open] > summary i { transform: rotate(180deg); }
.catalog-filter-form {
    position: absolute;
    z-index: 120;
    top: calc(100% + 10px);
    right: 0;
    width: min(620px, 90vw);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 18px;
    border: 1px solid #2a2a34;
    border-radius: 16px;
    background: rgba(12,12,17,.98);
    box-shadow: 0 28px 80px rgba(0,0,0,.48);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
.catalog-filter-form > label { display: grid; gap: 7px; color: #858590; font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; }
.catalog-filter-form select,
.catalog-filter-form input {
    width: 100%;
    min-width: 0;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #292934;
    border-radius: 10px;
    outline: 0;
    background: #09090d;
    color: #efeff3;
    font-size: .76rem;
    text-transform: none;
    letter-spacing: 0;
}
.catalog-filter-form select:focus,
.catalog-filter-form input:focus { border-color: #4e7fc5; box-shadow: 0 0 0 3px rgba(15,82,186,.12); }
.price-filter-input { position: relative; }
.price-filter-input i { position: absolute; z-index: 1; left: 12px; top: 50%; transform: translateY(-50%); color: #6f6f79; font-style: normal; font-size: .72rem; }
.price-filter-input input { padding-left: 28px; }
.catalog-filter-actions { grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding-top: 2px; }
.catalog-filter-actions a,
.catalog-filter-actions button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border-radius: 9px;
    font-size: .69rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}
.catalog-filter-actions a { color: #8b8b95; border: 1px solid #292933; background: transparent; }
.catalog-filter-actions button { border: 1px solid #f2f2f4; background: #f2f2f4; color: #09090c; }

.card-wishlist-form { position: absolute; z-index: 12; top: 10px; right: 10px; margin: 0; }
.card-wishlist-btn {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 50%;
    background: rgba(9,9,13,.72);
    color: #ededf2;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 28px rgba(0,0,0,.2);
    cursor: pointer;
    font-size: 1.05rem;
    line-height: 1;
    transition: transform .18s, background .18s, color .18s, border-color .18s;
}
.card-wishlist-btn:hover { transform: scale(1.06); background: rgba(20,20,27,.9); border-color: rgba(255,255,255,.25); }
.card-wishlist-btn.saved { color: #fff; background: rgba(15,82,186,.78); border-color: rgba(126,174,255,.45); }

.add-to-cart-cta:disabled {
    cursor: not-allowed;
    opacity: .52;
    filter: saturate(.45);
    transform: none !important;
}
.wishlist-form button.saved { color: #bcd5ff; border-color: rgba(107,168,255,.28); background: rgba(15,82,186,.08); }
.product-main-media { touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.product-main-media img { -webkit-user-drag: none; }
.mobile-purchase-bar { transition: opacity .2s, transform .24s, visibility .2s; }
.mobile-purchase-bar.is-hidden { opacity: 0; visibility: hidden; transform: translateY(16px); pointer-events: none; }

/* Motion is added only after JS is available, so content never stays hidden when JS is off. */
.js-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .7s cubic-bezier(.16,1,.3,1); }
.js-reveal.is-visible { opacity: 1; transform: none; }
.js-reveal.reveal-delay-1 { transition-delay: .05s; }
.js-reveal.reveal-delay-2 { transition-delay: .1s; }
.js-reveal.reveal-delay-3 { transition-delay: .15s; }

.store-values, .premium-faq, .related-products-section { content-visibility: auto; contain-intrinsic-size: 800px; }

@media (hover: none) {
    .premium-card:hover .product-image img { transform: none; }
    .premium-card:hover .product-card-overlay { opacity: 0; transform: translateY(8px); }
    .category-ribbon-links a:hover { transform: none; }
    .customer-btn:hover { transform: none; }
}

@media (max-width: 900px) {
    .catalog-heading { align-items: flex-end; }
    .catalog-controls { flex-wrap: wrap; }
}

@media (max-width: 600px) {
    .catalog-controls { width: 100%; display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
    .catalog-filter-panel { width: 100%; }
    .catalog-filter-panel > summary { width: 100%; justify-content: flex-start; }
    .catalog-filter-form {
        position: static;
        width: calc(200% + 10px);
        margin-top: 9px;
        grid-template-columns: 1fr 1fr;
        padding: 14px;
        border-radius: 13px;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .sort-control { width: 100%; display: grid; grid-template-columns: auto 1fr; }
    .sort-control select { min-width: 0; width: 100%; }
    .card-wishlist-form { top: 7px; right: 7px; }
    .card-wishlist-btn { width: 34px; height: 34px; font-size: .95rem; }
    .mobile-purchase-bar { bottom: max(10px, env(safe-area-inset-bottom)); }
}

@media (max-width: 430px) {
    .catalog-filter-form { width: calc(200% + 10px); grid-template-columns: 1fr; }
    .catalog-filter-actions { grid-column: 1; }
    .catalog-filter-actions > * { flex: 1; }
}

@media (max-width: 380px) {
    .catalog-controls { grid-template-columns: 1fr; }
    .catalog-filter-form { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto !important; }
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .js-reveal { opacity: 1 !important; transform: none !important; }
}

/* iOS notch / landscape refinements for the shopping surfaces */
@media (max-width: 900px) {
    .mobile-nav {
        padding-left: max(18px, env(safe-area-inset-left));
        padding-right: max(18px, env(safe-area-inset-right));
    }
    .store-hero,
    .products-section.store-catalog,
    .premium-faq,
    .product-page-v2 {
        padding-left: max(18px, env(safe-area-inset-left));
        padding-right: max(18px, env(safe-area-inset-right));
    }
}

@media (max-width: 600px) {
    .store-hero,
    .products-section.store-catalog,
    .premium-faq,
    .product-page-v2 {
        padding-left: max(12px, env(safe-area-inset-left));
        padding-right: max(12px, env(safe-area-inset-right));
    }
    .catalog-filter-form input,
    .catalog-filter-form select { font-size: 16px; min-height: 44px; }
}

.size-option.size-unavailable{opacity:.42;cursor:not-allowed}.size-option.size-unavailable span{text-decoration:line-through}.size-option.size-unavailable input{pointer-events:none}

.mobile-logout-form{margin:0}.mobile-logout-form button{width:100%;min-height:48px;display:flex;align-items:center;justify-content:space-between;border:0;border-bottom:1px solid #1c1c24;background:transparent;color:#ff8585;font:inherit;font-size:.8rem;padding:0;cursor:pointer}.mobile-logout-form button span{color:#62626d}

.newsletter-consent{grid-column:1/-1;display:flex;gap:8px;align-items:flex-start;color:#777783;font-size:.68rem;line-height:1.45;margin-top:7px}.newsletter-consent input{margin-top:2px;flex:0 0 auto}.newsletter-consent a{color:#b8b8c0}


/* UI HOTFIX 2026-09-14: branding, newsletter layout and form-control visibility */
.store-logo-mark {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 38% 50%, rgba(15,82,186,.22), transparent 52%), #050a12;
    border: 1px solid rgba(32,116,255,.28);
    box-shadow: 0 8px 24px rgba(15,82,186,.18), inset 0 1px rgba(255,255,255,.06);
}
.store-logo-mark::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    transform: translate(-38%, -50%);
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 11px solid #1787ff;
    filter: drop-shadow(0 0 4px rgba(23,135,255,.95)) drop-shadow(0 0 9px rgba(15,82,186,.7));
}
.store-logo-mark::before {
    content: '';
    position: absolute;
    inset: 7px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15,82,186,.23), transparent 68%);
}

.footer-newsletter-form {
    height: auto;
    min-height: 52px;
    grid-template-columns: minmax(0,1fr) auto;
    grid-template-rows: 52px auto;
    gap: 9px 0;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
}
.footer-newsletter-form > input[type="email"] {
    grid-column: 1;
    grid-row: 1;
    height: 52px;
    padding: 0 16px;
    border: 1px solid #272731;
    border-right: 0;
    border-radius: 12px 0 0 12px;
    background: #0d0d12;
}
.footer-newsletter-form > input[type="email"]:focus {
    border-color: #4c6f9f;
    box-shadow: 0 0 0 3px rgba(15,82,186,.11);
}
.footer-newsletter-form > button {
    grid-column: 2;
    grid-row: 1;
    height: 52px;
    border: 1px solid #272731;
    border-left: 0;
    border-radius: 0 12px 12px 0;
}
.newsletter-consent {
    grid-column: 1 / -1;
    grid-row: 2;
    min-width: 0;
    margin-top: 0;
    padding: 0 2px;
}
.newsletter-consent input {
    appearance: none;
    -webkit-appearance: none;
    width: 17px;
    height: 17px;
    margin: 1px 0 0;
    flex: 0 0 17px;
    border: 1px solid #3b3b47;
    border-radius: 5px;
    background: #09090d;
    display: grid;
    place-items: center;
    cursor: pointer;
}
.newsletter-consent input:checked { background: #f1f1f3; border-color: #f1f1f3; }
.newsletter-consent input:checked::after { content: '✓'; color: #08080b; font-size: 11px; font-weight: 900; line-height: 1; }
.newsletter-consent span { min-width: 0; }

@media (max-width: 700px) {
    .footer-newsletter-form {
        grid-template-columns: 1fr;
        grid-template-rows: 48px 48px auto;
        gap: 8px;
    }
    .footer-newsletter-form > input[type="email"] {
        grid-column: 1; grid-row: 1; height: 48px;
        border: 1px solid #272731; border-radius: 10px;
    }
    .footer-newsletter-form > button {
        grid-column: 1; grid-row: 2; height: 48px;
        border: 0; border-radius: 10px;
    }
    .newsletter-consent { grid-column: 1; grid-row: 3; padding: 2px 1px 0; }
}


/* UI HOTFIX 2 2026-09-14: newsletter control alignment + stable category navigation */
.newsletter-consent {
    align-items: center;
    gap: 9px;
    min-height: 20px;
    line-height: 1.45;
}
.newsletter-consent input {
    width: 17px;
    min-width: 17px;
    height: 17px;
    min-height: 17px;
    margin: 0;
    align-self: center;
}
.newsletter-consent span {
    display: block;
    line-height: 1.45;
}

.category-ribbon-links a,
.category-ribbon-links a:hover,
.category-ribbon-links a:active,
.category-ribbon-links a:focus {
    min-height: 38px;
    justify-content: center;
    transform: none;
    -webkit-transform: none;
    line-height: 1;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.category-ribbon-links a.active,
.category-ribbon-links a[aria-current="page"] {
    color: #fff;
    border-color: #3d567c;
    background: #111722;
    box-shadow: inset 0 0 0 1px rgba(107,168,255,.06);
}
.category-ribbon-filtered {
    margin-top: 20px;
}

@media (max-width: 700px) {
    .newsletter-consent {
        align-items: flex-start;
    }
    .newsletter-consent input {
        margin-top: 1px;
        align-self: flex-start;
    }
    .category-ribbon-filtered {
        margin-top: 10px;
    }
}

@media (max-width: 420px) {
    .store-header-main { gap: 10px; padding-left: 12px; padding-right: max(12px, calc(12px + env(safe-area-inset-right))); }
    .store-logo { gap: 8px; }
    .store-logo-copy strong { font-size: .68rem; }
    .store-logo-copy small { margin-top: 4px; font-size: .46rem; letter-spacing: .2em; }
    .store-cart-link { width: 40px; min-width: 40px; height: 40px; }
    .store-cart-link b { top: -3px; right: -3px; min-width: 17px; height: 17px; }
}

/* ===== FINAL RESPONSIVE OVERRIDES AFTER LEGACY LAYER ===== */
@media (max-width: 768px) {
    .nav-overlay.active {
        inset: 0;
        width: auto;
        height: auto;
        min-height: 100dvh;
        z-index: 2500;
    }
    .products-section.store-catalog {
        padding: 65px max(18px, env(safe-area-inset-right)) 80px max(18px, env(safe-area-inset-left)) !important;
    }

    /* ===== FIX DEFINITIVO CENTRATURA MOBILE ===== */
    .catalog-heading, .related-heading {
        align-items: center !important;
        flex-direction: column !important;
        text-align: center !important;
        width: 100%;
    }
    .catalog-heading > div:first-child, .related-heading > div:first-child {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .products-section.store-catalog {
        padding: 55px max(12px, env(safe-area-inset-right)) 70px max(12px, env(safe-area-inset-left)) !important;
    }
    .premium-grid.products-grid { gap: 11px !important; }
}

/* ===== NEWSLETTER CHECKBOX FINAL POLISH ===== */
.newsletter-consent {
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.newsletter-consent input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    width: 18px;
    min-width: 18px;
    height: 18px;
    min-height: 18px;
    flex: 0 0 18px;
    margin: 1px 0 0;
    padding: 0;
    border: 1px solid #41414d;
    border-radius: 5px;
    background: #0a0a0f;
    box-sizing: border-box;
    display: block;
    cursor: pointer;
    transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.newsletter-consent input[type="checkbox"]::after {
    content: '' !important;
    position: absolute;
    left: 50%;
    top: 47%;
    width: 4px;
    height: 8px;
    border: solid #08080b;
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -58%) rotate(45deg) scale(.7);
    transform-origin: center;
    opacity: 0;
    transition: opacity .12s ease, transform .12s ease;
    box-sizing: border-box;
}
.newsletter-consent input[type="checkbox"]:checked {
    background: #f1f1f3;
    border-color: #f1f1f3;
    box-shadow: 0 0 0 1px rgba(255,255,255,.04);
}
.newsletter-consent input[type="checkbox"]:checked::after {
    opacity: 1;
    transform: translate(-50%, -58%) rotate(45deg) scale(1);
}
.newsletter-consent input[type="checkbox"]:focus-visible {
    outline: 2px solid #6ba8ff;
    outline-offset: 3px;
}
.newsletter-consent span {
    min-width: 0;
    padding-top: 1px;
}
@media (max-width: 700px) {
    .newsletter-consent { gap: 9px; }
    .newsletter-consent input[type="checkbox"] { margin-top: 1px; }
}

/* ===== NEWSLETTER DELIVERY FEEDBACK 2026-09-14 ===== */
.newsletter-feedback {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 2px;
    padding: 10px 12px;
    border: 1px solid #2d2d38;
    border-radius: 9px;
    background: #0c0c11;
    color: #b8b8c2;
    font-size: .69rem;
    line-height: 1.45;
}
.newsletter-feedback.success { border-color: rgba(55, 197, 112, .32); color: #9eddb8; background: rgba(23, 92, 52, .10); }
.newsletter-feedback.pending { border-color: rgba(64, 139, 255, .32); color: #aac9ff; background: rgba(26, 79, 160, .10); }
.newsletter-feedback.error { border-color: rgba(255, 103, 103, .34); color: #ffb0b0; background: rgba(133, 38, 38, .10); }