/* =========================
   MODERN REDESIGN 2026
   ========================= */

/* --- Paleta de Colores Nueva --- */
@import url('https://fonts.googleapis.com/css2?family=Syncopate:wght@400;700&family=Outfit:wght@100;300;400;700;900&display=swap');

:root {
    --primary-color: #3483fa;
    --secondary-color: #2D3277;
    --accent-color: #F8F9FA;
    --text-dark: #212529;
    --text-light: #6c757d;
    --gradient-hero: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    --accent: #4dabf7;
    --accent-glow: rgba(77, 171, 247, 0.5);
    --bg-dark: #050810;
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.1);
}

/* --- Global Background Coverage --- */
html,
body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg-dark) !important;
    font-family: 'Outfit', sans-serif !important;
    overflow-x: hidden;
    /* Default cursor restored for better UX */
    color: white;
    padding-bottom: 0 !important;
    /* Force remove old footer padding */
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

/* --- Animations --- */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.transition-transform {
    transition: transform 0.5s ease;
}

/* --- Glassmorphism Utilities --- */
.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

.glass-card {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* --- Glass Header --- */
/* --- ZENITH CURSOR REFINED --- */
.zenith-cursor {
    display: none;
    /* Removed primary custom cursor */
}

.zenith-cursor-follower {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(77, 171, 247, 0.15) 0%, transparent 70%);
    border: none;
    position: fixed;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background 0.3s;
}

.zenith-cursor-follower.active {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(77, 171, 247, 0.25) 0%, transparent 70%);
}

/* --- CINEMATIC GRAIN --- */
.cinematic-grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://grainy-gradients.vercel.app/noise.svg");
    opacity: 0.04;
    pointer-events: none;
    z-index: 99997;
}

.glass-header {
    background: rgba(77, 171, 247, 0.25) !important;
    /* Celeste semi-transparente */
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    z-index: 10000 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.nav-links li a {
    color: white !important;
}

.nav-links li a:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

/* --- Hero Section Redefined --- */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.text-shadow-lg {
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

.opacity-90 {
    opacity: 0.9;
}

/* Decorative Shapes */
.shape-blob {
    position: absolute;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.3;
    animation: blob-bounce 10s infinite alternate;
}

.shape-blob-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: #ff00cc;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
}

.shape-blob-2 {
    bottom: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: #33ccff;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

/* --- INTERACTIVE DIGITAL LOGO --- */
.interactive-logo-container {
    perspective: 1000px;
    margin-bottom: 2.5rem;
    display: inline-block;
    cursor: default;
}

.logo-v6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 6rem;
    line-height: 1;
    position: relative;
    letter-spacing: -2px;
    background: linear-gradient(to bottom, #fff 40%, rgba(255, 255, 255, 0.4));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}

.logo-v6::before {
    content: 'BONAMIGO';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(45deg, #4dabf7, #3483fa);
    -webkit-background-clip: text;
    background-clip: text;
    filter: blur(20px);
    opacity: 0;
    transition: opacity 0.5s;
}

.interactive-logo-container:hover .logo-v6 {
    transform: translateZ(50px) rotateX(10deg);
    letter-spacing: 5px;
    filter: drop-shadow(0 0 30px rgba(77, 171, 247, 0.5));
}

.interactive-logo-container:hover .logo-v6::before {
    opacity: 0.8;
}

.logo-dot {
    display: inline-block;
    color: #4dabf7;
    -webkit-text-fill-color: #4dabf7;
    animation: blink 2s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
        transform: scale(1.2);
    }

    50% {
        opacity: 0.3;
        transform: scale(0.8);
    }
}

@media (max-width: 768px) {
    .logo-v6 {
        font-size: 4rem;
    }
}

@keyframes blob-bounce {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(50px, 50px) rotate(20deg);
    }
}

/* --- CATALOG V5: LUXURY MINIMALISM --- */

.catalog-wrapper {
    padding: 8rem 0;
    position: relative;
}

.shop-title {
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 0.9;
    margin-bottom: 2rem;
    color: white;
}

.shop-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

/* Redesigned Product Card */
.product-card-v5 {
    position: relative;
    border-radius: 0;
    /* Sharp, high-fashion look */
    background: transparent;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    margin-bottom: 4rem;
}

.product-image-container {
    position: relative;
    aspect-ratio: 4/5;
    background: #111;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.product-card-v5:hover .product-image-container img {
    transform: scale(1.08);
}

/* Protective Overlays for Text/Icon Contrast */
.product-overlay-top,
.product-overlay-bottom {
    position: absolute;
    left: 0;
    right: 0;
    height: 40%;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.4s ease;
}

.product-overlay-top {
    top: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, transparent 100%);
}

.product-overlay-bottom {
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
}

/* Badge Nuevo */
.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff4d4d;
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(255, 77, 77, 0.3);
}

/* Action Buttons V5 (Floating Icons) */
.product-actions-v5 {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 5;
}

.btn-action-v5 {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(52, 131, 250, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-action-v5:hover {
    transform: scale(1.1) rotate(5deg);
    background: #4dabf7 !important;
    box-shadow: 0 8px 20px rgba(77, 171, 247, 0.4);
}

/* Modify behavior on hover */
.product-card-v5:hover .product-overlay-bottom {
    height: 60%;
    opacity: 1;
}

.product-info-v5 {
    text-align: left;
    padding-top: 5px;
}

.product-name-v5 {
    font-size: 1.4rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.product-price-v5 {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
}

/* Category Filter V5 - Professional Responsive */
.filter-v5 {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 0;
    margin-bottom: 3rem;
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(to right, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
}

.filter-v5::-webkit-scrollbar {
    display: none;
}

.filter-item-v5 {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    text-decoration: none;
    white-space: nowrap;
    padding: 10px 24px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.filter-item-v5:hover {
    color: white;
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.filter-item-v5.active {
    color: white;
    background: linear-gradient(135deg, #4dabf7 0%, #3483fa 100%);
    border: none;
    box-shadow: 0 10px 20px rgba(52, 131, 250, 0.3);
}

@media (max-width: 768px) {
    .filter-v5 {
        gap: 0.8rem;
        padding: 1rem 0;
        margin-bottom: 2rem;
        margin-left: -15px;
        /* Bleed to edges */
        margin-right: -15px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .filter-item-v5 {
        font-size: 0.75rem;
        padding: 8px 18px;
    }
}


/* --- STELLAR GLASS MODAL V6 --- */
.modal-ultra-v5 .modal-dialog {
    max-width: 1100px;
    margin: 1.75rem auto;
}

.modal-ultra-v5 .modal-content {
    background: rgba(10, 15, 30, 0.7) !important;
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 40px !important;
    min-height: auto;
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5), 0 0 40px rgba(77, 171, 247, 0.1);
}

.modal-v5-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    min-height: 600px;
}

@media (max-width: 991px) {
    .modal-v5-grid {
        grid-template-columns: 1fr;
    }

    .modal-ultra-v5 .modal-dialog {
        margin: 10px;
        max-width: calc(100% - 20px);
    }

    .modal-v5-media {
        min-height: 350px;
    }
}

.modal-v5-media {
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 3rem;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-v5-media img {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
    animation: floatImage 4s ease-in-out infinite;
}

@keyframes floatImage {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.modal-v5-details {
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-v5-name {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: white;
    line-height: 1.1;
}

.modal-v5-price {
    font-size: 1.8rem;
    color: #4dabf7;
    margin-bottom: 2rem;
    font-weight: 700;
}

.modal-v5-desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    font-size: 1rem;
    font-weight: 300;
}

.modal-v5-action-bar {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-v5-primary {
    flex-grow: 1;
    background: linear-gradient(135deg, #4dabf7 0%, #3483fa 100%);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(77, 171, 247, 0.3);
}

.btn-v5-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(77, 171, 247, 0.5);
    filter: brightness(1.1);
}

.quantity-control-v5 {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 5px;
    min-width: 150px;
    height: 55px;
    /* Added explicit height */
}

.quantity-control-v5 input {
    width: 60px !important;
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    text-align: center !important;
    font-weight: 800 !important;
    font-size: 1.4rem !important;
    /* Slightly smaller to fit better */
    opacity: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 45px !important;
    line-height: 45px !important;
    outline: none !important;
    box-shadow: none !important;
}

.quantity-control-v5 input::-webkit-outer-spin-button,
.quantity-control-v5 input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

.quantity-btn {
    background: transparent;
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.2s;
}

.quantity-btn:hover {
    color: #4dabf7;
}

.color-dot {
    width: 35px;
    height: 35px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.color-dot.active {
    border-color: #4dabf7;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(77, 171, 247, 0.5);
}

.color-dot.active::after {
    content: '✓';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}


/* Premium Buttons */
.btn-primary {
    background: linear-gradient(45deg, #1e3c72, #4dabf7) !important;
    border: none !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #4dabf7, #1e3c72);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(77, 171, 247, 0.4) !important;
}

/* Footer Fixes */
.footer {
    background: rgba(0, 0, 0, 0.4) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
}

.footer p {
    margin-bottom: 0;
}

/* General Text Overrides for Dark Theme */
.text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

.text-dark {
    color: white !important;
}

.text-primary {
    color: #4dabf7 !important;
}

/* Fallback for AOS if it fails to load or init */
[data-aos] {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

/* Ensure fade-in doesn't kill content */
.fade-in {
    opacity: 1 !important;
    animation: none !important;
}

/* --- MODERN GLASS CART SIDEBAR --- */
#carrito {
    position: fixed !important;
    top: 0 !important;
    right: -500px !important;
    /* Fully hide it */
    height: 100vh !important;
    background: rgba(5, 8, 16, 0.9) !important;
    backdrop-filter: blur(40px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(40px) saturate(200%) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
    width: 450px !important;
    color: white !important;
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.8) !important;
    transition: right 0.6s cubic-bezier(0.23, 1, 0.32, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    z-index: 20000 !important;
}

#carrito.show {
    right: 0 !important;
}

@media (max-width: 576px) {
    #carrito {
        width: 100% !important;
    }
}

.carrito-header {
    background: rgba(255, 255, 255, 0.03) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 2rem !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.carrito-header h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: -0.02em;
    margin: 0;
    color: #ffffff !important;
    text-transform: none !important;
}

.carrito-close {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: all 0.3s;
    line-height: 1;
    cursor: pointer;
}

.carrito-close:hover {
    background: #4dabf7 !important;
    transform: rotate(90deg) scale(1.1);
    border-color: #4dabf7 !important;
}

.carrito-body {
    padding: 2rem !important;
    flex-grow: 1;
    overflow-y: auto !important;
}

/* Custom Scrollbar for Cart Body */
.carrito-body::-webkit-scrollbar {
    width: 6px;
}

.carrito-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

.carrito-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.cart-item {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 20px !important;
    padding: 1.25rem !important;
    margin-bottom: 1.25rem !important;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex !important;
    align-items: center !important;
}

.cart-item:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    transform: translateX(-5px);
    border-color: rgba(77, 171, 247, 0.3) !important;
}

.cart-item img {
    width: 70px !important;
    height: 70px !important;
    border-radius: 15px !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    margin-right: 1.5rem !important;
}

.cart-item .fw-bold {
    font-size: 1.15rem !important;
    color: #ffffff !important;
    margin-bottom: 0.25rem;
}

.cart-item .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.95rem !important;
}

.btn-remove {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.4) !important;
    border-radius: 12px !important;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem !important;
    transition: all 0.3s !important;
    padding: 0 !important;
}

.btn-remove:hover {
    background: #ff4d4d !important;
    color: white !important;
    border-color: #ff4d4d !important;
    transform: scale(1.1);
}

.carrito-footer {
    background: rgba(255, 255, 255, 0.02) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 2.5rem !important;
}

.carrito-total {
    margin-bottom: 2rem !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-label {
    font-family: 'Outfit', sans-serif;
    color: rgba(255, 255, 255, 0.5) !important;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.85rem;
}

.total-amount {
    font-size: 2.2rem !important;
    font-weight: 800 !important;
    color: rgba(255, 255, 255, 0.02) !important;
    letter-spacing: -0.02em !important;
}

#cart-total {
    color: #ffffff !important;
}

/* Force dark theme on potential legacy container overrides */
#cart-items {
    background: transparent !important;
}

.cart-item div,
.cart-item span,
.cart-item h3 {
    color: #ffffff !important;
}

.checkout-btn {
    width: 100%;
    background: linear-gradient(135deg, #4dabf7 0%, #3483fa 100%) !important;
    color: white !important;
    border: none !important;
    padding: 22px !important;
    border-radius: 20px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    box-shadow: 0 15px 35px rgba(77, 171, 247, 0.4) !important;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
    display: block !important;
    visibility: visible !important;
}

.checkout-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(77, 171, 247, 0.6) !important;
    filter: brightness(1.1);
}

/* --- RESPONSIVE HEADER & NAVIGATION --- */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 30px;
    height: 100%;
}

.mobile-toggle {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    font-size: 1.8rem;
    padding: 5px 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    outline: none !important;
}

.mobile-toggle:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

/* Navigation Links - Desktop */
.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    padding: 10px 15px;
    border-radius: 10px;
    transition: all 0.3s;
}

@media (max-width: 768px) {
    .header-container {
        padding: 10px 20px;
    }

    #main-nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(5, 8, 16, 0.95);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        transition: left 0.5s cubic-bezier(0.23, 1, 0.32, 1);
        z-index: 9999;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    #main-nav.active {
        left: 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .nav-links li a {
        font-size: 2rem;
        font-weight: 800;
        letter-spacing: 2px;
        text-transform: uppercase;
    }

    /* Hero Responsive */
    .catalog-wrapper {
        padding: 4rem 1.5rem;
    }

    .shop-title {
        font-size: 4rem;
        word-break: break-word;
    }

    /* Modal Mobile Fixes */
    .modal-v5-name {
        font-size: 2.2rem;
    }

    .modal-v5-details {
        padding: 2.5rem;
    }

    .modal-v5-action-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .quantity-control-v5 {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .shop-title {
        font-size: 3rem;
    }

    .product-name-v5 {
        font-size: 1.2rem;
    }
}

/* Ensure Logo is responsive */
/* --- MOBILE MENU REFINEMENTS --- */
.mobile-toggle {
    display: none !important;
    /* Hide on Desktop */
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 12px;
    color: white !important;
    cursor: pointer;
    z-index: 10001;
    padding: 0;
}

.mobile-toggle svg {
    width: 28px;
    height: 28px;
    stroke: white;
}

.btn-close-menu {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-close-menu:hover {
    background: #ff4d4d;
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex !important;
        /* Show ONLY on mobile */
    }

    #main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: #050810;
        backdrop-filter: blur(40px) saturate(200%);
        -webkit-backdrop-filter: blur(40px) saturate(200%);
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        padding: 100px 30px 40px;
        transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        z-index: 20000;
        display: flex !important;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }

    #main-nav.active {
        left: 0;
    }

    .nav-links {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        width: 100%;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links li a {
        padding: 15px 0 !important;
        font-size: 1.4rem !important;
        display: block;
        width: 100%;
    }

    /* Modal Mobile Fixes */
    .modal-ultra-v5 .btn-close {
        background-color: #ff4d4d !important;
        opacity: 1 !important;
        width: 35px !important;
        height: 35px !important;
        border-radius: 50% !important;
        margin: 15px !important;
        box-shadow: 0 5px 15px rgba(255, 77, 77, 0.4) !important;
    }

    .modal-content {
        border-radius: 25px !important;
    }

    .modal-v5-name {
        font-size: 1.8rem !important;
        margin-top: 10px;
    }

    .modal-v5-media {
        padding: 1.5rem !important;
    }
}

/* Header Container Desktop Tweaks */
.header-container {
    height: 80px;
}

.logo img {
    max-height: 45px !important;
}

/* Fix for possible overlap */
.sticky-top {
    z-index: 10000 !important;
}