/* Font Face - Beauty Swing */
@font-face {
    font-family: 'Beauty Swing';
    src: url('fonts/beauty_swing/Beauty Swing Personal Use Only.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Reset y Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #fff;
    --secondary-color: #000;
    --accent-color: #ccc;
    --text-light: #bbb;
    --border-color: rgba(255, 255, 255, 0.2);
    --bg-light: #111;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--primary-color);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--secondary-color);
    position: relative;
}

/* ==========================================
   BACKGROUND ANIMATIONS - Partículas Flotantes
   ========================================== */

.background-animations {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background: transparent;
}

/* Shapes suaves de fondo */
.animated-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.04;
    filter: blur(80px);
    animation: shapeFloat 30s infinite ease-in-out;
    will-change: transform, opacity;
}

.shape-1 {
    width: clamp(200px, 30vw, 500px);
    height: clamp(200px, 30vw, 500px);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.6) 0%, transparent 70%);
    top: 5%;
    left: 5%;
    animation-delay: 0s;
}

.shape-2 {
    width: clamp(150px, 25vw, 400px);
    height: clamp(150px, 25vw, 400px);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, transparent 70%);
    top: 40%;
    right: 10%;
    animation-delay: -8s;
}

.shape-3 {
    width: clamp(250px, 35vw, 600px);
    height: clamp(250px, 35vw, 600px);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    bottom: 5%;
    left: 15%;
    animation-delay: -15s;
}

.shape-4 {
    width: clamp(180px, 20vw, 350px);
    height: clamp(180px, 20vw, 350px);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, transparent 70%);
    top: 60%;
    left: 60%;
    animation-delay: -22s;
}

.shape-5, .shape-6, .shape-7, .shape-8 {
    display: none;
}

@keyframes shapeFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.04;
    }
    25% {
        transform: translate(50px, -30px) scale(1.15);
        opacity: 0.06;
    }
    50% {
        transform: translate(-30px, 40px) scale(0.9);
        opacity: 0.03;
    }
    75% {
        transform: translate(40px, 20px) scale(1.1);
        opacity: 0.05;
    }
}

/* ==========================================
   PARTÍCULAS FLOTANTES - Sistema Mejorado
   ========================================== */

.animated-particles {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    will-change: transform, opacity;
    animation: particleRise linear infinite;
}

/* Tamaños variados de partículas */
.particle:nth-child(odd) {
    width: 3px;
    height: 3px;
    box-shadow: 
        0 0 6px rgba(255, 255, 255, 0.9),
        0 0 12px rgba(255, 255, 255, 0.5),
        0 0 20px rgba(255, 255, 255, 0.3);
}

.particle:nth-child(even) {
    width: 2px;
    height: 2px;
    box-shadow: 
        0 0 4px rgba(255, 255, 255, 0.8),
        0 0 8px rgba(255, 255, 255, 0.4);
}

/* Partículas más grandes cada 5 */
.particle:nth-child(5n) {
    width: 4px;
    height: 4px;
    box-shadow: 
        0 0 8px rgba(255, 255, 255, 1),
        0 0 16px rgba(255, 255, 255, 0.6),
        0 0 24px rgba(255, 255, 255, 0.3);
}

/* Distribución horizontal responsiva */
.particle:nth-child(1) { left: 3%; }
.particle:nth-child(2) { left: 8%; }
.particle:nth-child(3) { left: 13%; }
.particle:nth-child(4) { left: 18%; }
.particle:nth-child(5) { left: 23%; }
.particle:nth-child(6) { left: 28%; }
.particle:nth-child(7) { left: 33%; }
.particle:nth-child(8) { left: 38%; }
.particle:nth-child(9) { left: 43%; }
.particle:nth-child(10) { left: 48%; }
.particle:nth-child(11) { left: 53%; }
.particle:nth-child(12) { left: 58%; }
.particle:nth-child(13) { left: 63%; }
.particle:nth-child(14) { left: 68%; }
.particle:nth-child(15) { left: 73%; }
.particle:nth-child(16) { left: 78%; }
.particle:nth-child(17) { left: 83%; }
.particle:nth-child(18) { left: 88%; }
.particle:nth-child(19) { left: 93%; }
.particle:nth-child(20) { left: 97%; }

/* Duraciones y delays variados para efecto orgánico */
.particle:nth-child(1) { animation-duration: 18s; animation-delay: 0s; }
.particle:nth-child(2) { animation-duration: 22s; animation-delay: -3s; }
.particle:nth-child(3) { animation-duration: 16s; animation-delay: -1s; }
.particle:nth-child(4) { animation-duration: 25s; animation-delay: -7s; }
.particle:nth-child(5) { animation-duration: 20s; animation-delay: -2s; }
.particle:nth-child(6) { animation-duration: 17s; animation-delay: -5s; }
.particle:nth-child(7) { animation-duration: 23s; animation-delay: -9s; }
.particle:nth-child(8) { animation-duration: 19s; animation-delay: -4s; }
.particle:nth-child(9) { animation-duration: 21s; animation-delay: -11s; }
.particle:nth-child(10) { animation-duration: 24s; animation-delay: -6s; }
.particle:nth-child(11) { animation-duration: 18s; animation-delay: -8s; }
.particle:nth-child(12) { animation-duration: 26s; animation-delay: -13s; }
.particle:nth-child(13) { animation-duration: 15s; animation-delay: -2s; }
.particle:nth-child(14) { animation-duration: 22s; animation-delay: -10s; }
.particle:nth-child(15) { animation-duration: 19s; animation-delay: -4s; }
.particle:nth-child(16) { animation-duration: 27s; animation-delay: -15s; }
.particle:nth-child(17) { animation-duration: 16s; animation-delay: -1s; }
.particle:nth-child(18) { animation-duration: 23s; animation-delay: -7s; }
.particle:nth-child(19) { animation-duration: 20s; animation-delay: -12s; }
.particle:nth-child(20) { animation-duration: 25s; animation-delay: -3s; }

/* Partículas adicionales 21-30 */
.particle:nth-child(21) { left: 6%; animation-duration: 21s; animation-delay: -14s; }
.particle:nth-child(22) { left: 16%; animation-duration: 17s; animation-delay: -5s; }
.particle:nth-child(23) { left: 26%; animation-duration: 24s; animation-delay: -9s; }
.particle:nth-child(24) { left: 36%; animation-duration: 19s; animation-delay: -16s; }
.particle:nth-child(25) { left: 46%; animation-duration: 22s; animation-delay: -2s; }
.particle:nth-child(26) { left: 56%; animation-duration: 18s; animation-delay: -11s; }
.particle:nth-child(27) { left: 66%; animation-duration: 26s; animation-delay: -7s; }
.particle:nth-child(28) { left: 76%; animation-duration: 15s; animation-delay: -18s; }
.particle:nth-child(29) { left: 86%; animation-duration: 23s; animation-delay: -4s; }
.particle:nth-child(30) { left: 96%; animation-duration: 20s; animation-delay: -13s; }

/* Animación principal: subir con movimiento lateral ondulante */
@keyframes particleRise {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    5% {
        opacity: 0.9;
        transform: translateY(95vh) translateX(5px) scale(1);
    }
    15% {
        transform: translateY(85vh) translateX(-8px) scale(1.1);
    }
    25% {
        transform: translateY(75vh) translateX(12px) scale(0.95);
        opacity: 1;
    }
    35% {
        transform: translateY(65vh) translateX(-6px) scale(1.05);
    }
    45% {
        transform: translateY(55vh) translateX(10px) scale(1);
    }
    55% {
        transform: translateY(45vh) translateX(-10px) scale(1.1);
        opacity: 0.9;
    }
    65% {
        transform: translateY(35vh) translateX(8px) scale(0.9);
    }
    75% {
        transform: translateY(25vh) translateX(-5px) scale(1);
        opacity: 0.7;
    }
    85% {
        transform: translateY(15vh) translateX(6px) scale(1.05);
        opacity: 0.5;
    }
    95% {
        transform: translateY(5vh) translateX(-3px) scale(0.8);
        opacity: 0.2;
    }
    100% {
        transform: translateY(-5vh) translateX(0) scale(0.5);
        opacity: 0;
    }
}

/* ==========================================
   RESPONSIVE - Partículas
   ========================================== */

/* Tablets */
@media (max-width: 1024px) {
    .particle:nth-child(odd) {
        width: 2.5px;
        height: 2.5px;
    }
    .particle:nth-child(even) {
        width: 1.5px;
        height: 1.5px;
    }
    .particle:nth-child(5n) {
        width: 3.5px;
        height: 3.5px;
    }
}

/* Móviles */
@media (max-width: 768px) {
    .particle {
        animation-duration: 15s !important;
    }
    .particle:nth-child(odd) {
        width: 2px;
        height: 2px;
        box-shadow: 
            0 0 4px rgba(255, 255, 255, 0.9),
            0 0 8px rgba(255, 255, 255, 0.4);
    }
    .particle:nth-child(even) {
        width: 1.5px;
        height: 1.5px;
        box-shadow: 
            0 0 3px rgba(255, 255, 255, 0.8);
    }
    .particle:nth-child(5n) {
        width: 3px;
        height: 3px;
    }
    
    /* Ocultar algunas partículas en móvil para mejor rendimiento */
    .particle:nth-child(4),
    .particle:nth-child(8),
    .particle:nth-child(12),
    .particle:nth-child(16) {
        display: none;
    }
    
    /* Shapes más pequeños en móvil */
    .shape {
        opacity: 0.03;
        filter: blur(60px);
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {
    .particle:nth-child(2),
    .particle:nth-child(6),
    .particle:nth-child(10),
    .particle:nth-child(14),
    .particle:nth-child(18) {
        display: none;
    }
    
    .shape-3, .shape-4 {
        display: none;
    }
}

/* Partículas especiales "estrella" - brillan más */
.particle:nth-child(5),
.particle:nth-child(10),
.particle:nth-child(15),
.particle:nth-child(20),
.particle:nth-child(25),
.particle:nth-child(30) {
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 1);
    box-shadow: 
        0 0 10px rgba(255, 255, 255, 1),
        0 0 20px rgba(255, 255, 255, 0.8),
        0 0 30px rgba(255, 255, 255, 0.6),
        0 0 40px rgba(255, 255, 255, 0.4);
    animation-name: particleRiseStar;
}

/* Animación especial para partículas estrella - con pulso */
@keyframes particleRiseStar {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    5% {
        opacity: 1;
        transform: translateY(95vh) translateX(8px) scale(1.2);
    }
    10% {
        transform: translateY(90vh) translateX(-5px) scale(0.8);
    }
    20% {
        transform: translateY(80vh) translateX(15px) scale(1.3);
        opacity: 1;
    }
    30% {
        transform: translateY(70vh) translateX(-10px) scale(0.9);
    }
    40% {
        transform: translateY(60vh) translateX(12px) scale(1.2);
        opacity: 0.9;
    }
    50% {
        transform: translateY(50vh) translateX(-15px) scale(1);
    }
    60% {
        transform: translateY(40vh) translateX(10px) scale(1.1);
        opacity: 0.8;
    }
    70% {
        transform: translateY(30vh) translateX(-8px) scale(0.85);
    }
    80% {
        transform: translateY(20vh) translateX(5px) scale(1);
        opacity: 0.5;
    }
    90% {
        transform: translateY(10vh) translateX(-3px) scale(0.7);
        opacity: 0.3;
    }
    100% {
        transform: translateY(-5vh) translateX(0) scale(0.3);
        opacity: 0;
    }
}

/* Reducir animaciones si el usuario prefiere */
@media (prefers-reduced-motion: reduce) {
    .particle,
    .shape {
        animation: none;
        opacity: 0.3;
    }
    .particle {
        top: 50%;
    }
}

/* Asegurar que el contenido esté por encima de las animaciones */
main,
.hero,
section {
    position: relative;
    z-index: 1;
}

.header {
    position: fixed;
    z-index: 1000;
}

.footer {
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 40px);
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(12px, 2vw, 20px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo a {
    display: inline-block;
    text-decoration: none;
}

.logo-image {
    height: 100px;
    width: auto;
    max-width: 500px;
    object-fit: contain;
    display: block;
}

.logo-text {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 400;
    text-transform: lowercase;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    opacity: 0.7;
}

.nav-link.login {
    font-weight: 500;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    min-height: 100dvh; /* Soporte para navegadores modernos */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: clamp(100px, 12vh, 140px) 0 clamp(40px, 6vh, 80px);
    text-align: center;
    position: relative;
    width: 100%;
}

.hero-content {
    max-width: 100%;
    width: 100%;
    margin-bottom: 60px;
    padding: 0 clamp(16px, 4vw, 40px);
}

.hero-title {
    font-size: clamp(48px, 8vw, 120px);
    font-weight: 300;
    letter-spacing: -2px;
    margin-bottom: 30px;
    margin-top: 30px;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 100%;
}

.hero-title-main {
    font-family: 'Beauty Swing', 'Times New Roman', 'Times', serif;
    font-weight: normal;
    font-size: 1em;
    line-height: 1.2;
}

.hero-title-sub {
    font-size: 0.5em;
    color: var(--primary-color);
    font-weight: 300;
    letter-spacing: 3px;
    margin-top: 5px;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 100%;
    width: 100%;
    margin: 0 auto 40px;
    padding: 0 clamp(16px, 4vw, 40px);
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary-color);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    opacity: 0.6;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

.hero-slider {
    position: relative;
    width: 100vw;
    max-width: 100%;
    height: clamp(280px, 50vh, 480px);
    margin-top: clamp(20px, 4vh, 40px);
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: clamp(26px, 4.2vw, 44px);
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 6px;
    font-size: clamp(12px, 1.6vw, 16px);
    font-weight: 500;
    opacity: 0;
    transform: translateY(90px) scale(1.05);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #070707;
    animation: fadeUpSlide var(--slider-duration, 20s) infinite;
    animation-fill-mode: both;
    animation-play-state: paused;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 0;
}

.hero-slide-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: -1;
    filter: brightness(0.9) contrast(1.05);
    transform: scale(1.04);
    pointer-events: none;
}

.hero-slide-label {
    position: relative;
    z-index: 1;
    letter-spacing: 8px;
}

.hero-slide-1 {
    background-image:
        radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.25) 0%, transparent 45%),
        linear-gradient(135deg, rgba(14, 14, 14, 0.25) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.hero-slide-2 {
    background-image:
        radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.2) 0%, transparent 40%),
        linear-gradient(145deg, rgba(18, 18, 18, 0.25) 0%, rgba(0, 0, 0, 0.75) 100%),
        linear-gradient(160deg, #121212 0%, #060606 100%);
}

.hero-slide-3 {
    background-image:
        radial-gradient(circle at 40% 78%, rgba(255, 255, 255, 0.22) 0%, transparent 42%),
        linear-gradient(140deg, rgba(18, 18, 18, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%),
        linear-gradient(160deg, #161616 0%, #050505 100%);
}

.hero-slide-4 {
    background-image:
        radial-gradient(circle at 60% 30%, rgba(255, 255, 255, 0.18) 0%, transparent 45%),
        linear-gradient(150deg, rgba(20, 20, 20, 0.3) 0%, rgba(0, 0, 0, 0.75) 100%),
        linear-gradient(170deg, #141414 0%, #080808 100%);
}

.hero-slide-5 {
    background-image:
        radial-gradient(circle at 30% 60%, rgba(255, 255, 255, 0.2) 0%, transparent 40%),
        linear-gradient(130deg, rgba(16, 16, 16, 0.25) 0%, rgba(0, 0, 0, 0.8) 100%),
        linear-gradient(155deg, #151515 0%, #070707 100%);
}

/* Los delays se establecen dinámicamente desde JavaScript */

@keyframes fadeUpSlide {
    0% {
        opacity: 0;
        transform: translateY(90px) scale(1.05);
        z-index: 1;
    }
    2% {
        opacity: 1;
        transform: translateY(0) scale(1);
        z-index: 3;
    }
    28% {
        opacity: 1;
        transform: translateY(0) scale(1);
        z-index: 3;
    }
    30% {
        opacity: 0;
        transform: translateY(-60px) scale(0.96);
        z-index: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-60px) scale(0.96);
        z-index: 1;
    }
}

.hero-slider:not(.is-ready) .hero-slide {
    opacity: 0;
    transform: translateY(90px) scale(1.05);
    animation-play-state: paused;
}

.hero-slider:not(.is-ready) .hero-slide-1 {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    animation-play-state: paused;
}

.hero-slider.is-ready .hero-slide {
    animation-play-state: running;
}

/* Intro Section */
.intro-section {
    padding: 100px 20px;
    background: transparent;
    color: var(--primary-color);
}

.intro-text {
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 300;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
    color: var(--primary-color);
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: lowercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--primary-color);
}

.intro-section .btn-primary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    display: block;
    width: fit-content;
    margin: 0 auto;
}

.intro-section .btn-primary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

/* Section Titles */
.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 300;
    text-align: center;
    margin-bottom: 60px;
    text-transform: lowercase;
    letter-spacing: -1px;
    color: var(--primary-color);
}

/* Botones */
.btn-outline {
    display: inline-block;
    padding: 14px 32px;
    border: 1px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
}

.btn-outline:hover,
.btn-outline:focus-visible {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* Store Section */
.store-section {
    padding: 100px 20px;
    background: transparent;
    position: relative;
}

.store-intro {
    max-width: 780px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
}

.store-status {
    text-align: center;
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 30px;
}

.store-status.is-error {
    color: #ff7b7b;
}

.store-filters {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.search-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 16px 50px 16px 20px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.45);
    color: var(--primary-color);
    font-size: 15px;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    pointer-events: none;
}

.filters-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-select {
    padding: 14px 20px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.45);
    color: var(--primary-color);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: border 0.3s ease, box-shadow 0.3s ease;
    min-width: 200px;
}

.filter-select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.filter-select option {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 10px;
}

.results-count {
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.store-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
    font-size: 18px;
    letter-spacing: 1px;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.store-card {
    position: relative;
    background: var(--bg-light);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease, border 0.5s ease;
    min-height: 100%;
}

.store-card.is-hovered {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.store-card-media {
    position: relative;
    height: 240px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.08) 0%, rgba(0, 0, 0, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 24px;
}

.store-card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1.0);
    transition: transform 0.6s ease;
    display: block;
}

.store-card.is-hovered .store-card-image {
    transform: scale(1.08);
}

.placeholder-dark {
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 14px;
}

.store-card-tag {
    display: inline-block;
    align-self: flex-start;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.store-card-body {
    padding: 28px 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: var(--primary-color);
    text-align: center;
}

.store-card-title {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: -0.4px;
    text-transform: lowercase;
    line-height: 1.4;
}

.store-card-description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
    flex: 1;
    text-align: center;
}

.store-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.store-card-price {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
}

.store-card .btn-outline {
    border-radius: 999px;
}

.admin-section {
    padding: 100px 20px;
    background: var(--secondary-color);
}

.admin-note {
    text-align: center;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 40px;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.admin-form,
.admin-products {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 32px;
}

.admin-form fieldset {
    border: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.admin-form legend {
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.admin-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.admin-products h3 {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.admin-product-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.admin-product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
}

.admin-product-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.admin-product-info strong {
    font-size: 16px;
    letter-spacing: 1px;
}

.admin-product-info span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1px;
}

.admin-product-actions {
    display: flex;
    gap: 12px;
}

.btn-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 999px;
    border: 1px solid rgba(255, 80, 80, 0.6);
    background: rgba(255, 80, 80, 0.15);
    color: #ff7b7b;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 11px;
    cursor: pointer;
    transition: background 0.3s ease, border 0.3s ease;
}

.btn-danger:hover,
.btn-danger:focus-visible {
    background: rgba(255, 80, 80, 0.3);
    border-color: rgba(255, 80, 80, 0.8);
}

.admin-disabled {
    opacity: 0.45;
    pointer-events: none;
}

/* Cart Section */
.cart-section {
    padding: 100px 20px;
    background: transparent;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 40px;
}

.cart-items {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 32px;
    min-height: 300px;
}

.cart-empty {
    margin: 0;
    color: var(--text-light);
}

.cart-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cart-item {
    display: grid;
    grid-template-columns: minmax(0, 2fr) auto auto;
    gap: 24px;
    align-items: center;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.cart-item-info h4 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 6px;
}

.cart-item-info span {
    font-size: 14px;
    color: var(--text-light);
}

.cart-item-controls {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 999px;
    padding: 6px 12px;
}

.qty-btn {
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 18px;
    width: 28px;
    height: 28px;
    line-height: 1;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.qty-btn:hover,
.qty-btn:focus-visible {
    background: rgba(255, 255, 255, 0.15);
}

.cart-item-qty {
    min-width: 20px;
    text-align: center;
    font-size: 14px;
    letter-spacing: 1px;
}

.cart-item-total {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    font-weight: 500;
}

.remove-item {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.remove-item:hover,
.remove-item:focus-visible {
    color: var(--primary-color);
}

.cart-summary {
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: fit-content;
}

.cart-summary-row,
.cart-summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    letter-spacing: 1px;
}

.cart-summary-total {
    font-size: 18px;
    font-weight: 500;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Checkout Section */
.checkout-section {
    padding: 100px 20px;
    background: transparent;
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 48px;
    align-items: start;
}

.checkout-summary {
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    color: var(--primary-color);
}

.checkout-summary h3,
.checkout-form h3 {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 1px;
}

.checkout-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.checkout-list li {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    color: var(--text-light);
}

.checkout-totals {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 15px;
}

.checkout-totals > div {
    display: flex;
    justify-content: space-between;
}

.checkout-total {
    font-size: 18px;
    font-weight: 600;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.checkout-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: opacity 0.3s ease, pointer-events 0.3s ease;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.form-grid label {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
}

.form-grid input,
.form-grid textarea {
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.45);
    color: var(--primary-color);
    font-size: 15px;
    transition: border 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.form-grid input:focus,
.form-grid textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.form-grid input.field-valid,
.form-grid textarea.field-valid {
    border-color: rgba(76, 175, 80, 0.6);
    background: rgba(76, 175, 80, 0.08);
}

.form-grid input.field-valid:focus,
.form-grid textarea.field-valid:focus {
    border-color: rgba(76, 175, 80, 0.8);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.15);
}

.form-grid input.field-invalid,
.form-grid textarea.field-invalid {
    border-color: rgba(255, 80, 80, 0.6);
    background: rgba(255, 80, 80, 0.08);
}

.form-grid input.field-invalid:focus,
.form-grid textarea.field-invalid:focus {
    border-color: rgba(255, 80, 80, 0.8);
    box-shadow: 0 0 0 3px rgba(255, 80, 80, 0.15);
}

.field-error {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #ff7b7b;
    letter-spacing: 0.5px;
    text-transform: none;
    animation: fadeIn 0.3s ease;
}

.form-wide {
    grid-column: 1 / -1;
}

.checkout-note {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Shipping Section */
.shipping-section {
    margin-top: clamp(20px, 3vh, 30px);
    padding-top: clamp(20px, 3vh, 30px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.shipping-section h3 {
    font-size: clamp(16px, 2vw, 18px);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
    margin-bottom: clamp(16px, 2vh, 24px);
}

.shipping-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.shipping-method {
    cursor: pointer;
}

.shipping-method input {
    display: none;
}

.shipping-method-content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.shipping-method-content svg {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.shipping-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.shipping-name {
    font-weight: 500;
    color: var(--text-light);
}

.shipping-detail {
    font-size: 13px;
    color: var(--text-muted);
}

.shipping-price {
    font-weight: 600;
    color: var(--text-light);
    white-space: nowrap;
}

.shipping-method input:checked + .shipping-method-content {
    border-color: var(--text-light);
    background: rgba(255, 255, 255, 0.08);
}

.shipping-method input:checked + .shipping-method-content svg {
    color: var(--text-light);
}

.shipping-method:hover .shipping-method-content {
    border-color: rgba(255, 255, 255, 0.3);
}

.shipping-address {
    margin-top: 24px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.shipping-address h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.shipping-address.hidden {
    display: none;
}

/* Points Section */
.points-section {
    margin-top: clamp(20px, 3vh, 30px);
    padding: clamp(20px, 3vh, 30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.points-section h3 {
    font-size: clamp(16px, 2vw, 18px);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
    margin-bottom: clamp(16px, 2vh, 24px);
    display: flex;
    align-items: center;
    gap: 10px;
}

.points-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.points-balance {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.points-icon {
    font-size: 32px;
}

.points-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.points-count {
    font-size: 28px;
    font-weight: 700;
    color: #ffd700;
}

.points-label {
    font-size: 14px;
    color: var(--text-muted);
}

.points-value {
    font-size: 13px;
    color: var(--text-muted);
}

.points-redeem {
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.points-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 15px;
}

.points-checkbox input {
    width: 20px;
    height: 20px;
    accent-color: #ffd700;
}

.points-slider-container {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.points-slider-container input[type="range"] {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
}

.points-slider-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #ffd700;
    border-radius: 50%;
    cursor: pointer;
}

.points-slider-info {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 14px;
}

.points-slider-info #pointsDiscount {
    color: #4ade80;
    font-weight: 600;
}

.points-earn-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 12px 16px;
    background: rgba(74, 222, 128, 0.1);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-muted);
}

.points-earn-info strong {
    color: #4ade80;
}

.points-earn-info svg {
    color: #4ade80;
    flex-shrink: 0;
}

/* Payment Section */
.payment-section {
    margin-top: clamp(20px, 3vh, 30px);
    padding-top: clamp(20px, 3vh, 30px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Payment Request Button (Google Pay / Apple Pay) */
.payment-request-container {
    margin-bottom: clamp(20px, 3vh, 30px);
    padding: clamp(16px, 2vh, 20px);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.payment-request-container #payment-request-button {
    width: 100%;
    height: 48px;
    border-radius: 8px;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.payment-request-container #payment-request-button:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(0, 0, 0, 0.5);
}

.payment-request-container #payment-request-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.payment-section h3 {
    font-size: clamp(16px, 2vw, 18px);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
    margin-bottom: clamp(16px, 2vh, 24px);
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 1.5vh, 16px);
    margin-bottom: clamp(20px, 3vh, 30px);
}

.payment-method {
    display: flex;
    align-items: center;
    padding: clamp(14px, 2vh, 18px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(0, 0, 0, 0.4);
}

.payment-method input[type="radio"] {
    margin-right: clamp(12px, 1.5vw, 16px);
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.payment-method input[type="radio"]:checked + .payment-method-content {
    color: var(--primary-color);
}

.payment-method:has(input[type="radio"]:checked) {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
}

.payment-method-content {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.5vw, 14px);
    flex: 1;
    color: var(--text-light);
    font-size: clamp(14px, 1.8vw, 16px);
    transition: color 0.3s ease;
}

.payment-method-content svg {
    width: clamp(20px, 2.5vw, 24px);
    height: clamp(20px, 2.5vw, 24px);
    stroke: currentColor;
}

/* Stripe Payment Element */
.stripe-payment-container {
    margin-top: clamp(20px, 3vh, 30px);
    padding: clamp(16px, 2vh, 20px);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#card-element {
    padding: clamp(12px, 1.5vh, 16px);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#card-errors {
    color: #ff4444;
    font-size: clamp(12px, 1.5vw, 14px);
    margin-top: clamp(10px, 1.5vh, 14px);
    padding: clamp(8px, 1vh, 12px);
    background: rgba(255, 68, 68, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 68, 68, 0.3);
    display: none;
}

#card-errors:not(:empty) {
    display: block;
}

/* Transfer Info */
.transfer-info {
    margin-top: clamp(20px, 3vh, 30px);
    padding: clamp(16px, 2vh, 20px);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.transfer-info p {
    color: var(--text-light);
    font-size: clamp(14px, 1.8vw, 16px);
    margin-bottom: clamp(12px, 1.5vh, 16px);
    line-height: 1.6;
}

.bank-details {
    margin-top: clamp(16px, 2vh, 20px);
    padding: clamp(16px, 2vh, 20px);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.bank-details p {
    margin-bottom: clamp(10px, 1.5vh, 14px);
    font-family: 'Courier New', monospace;
    font-size: clamp(13px, 1.6vw, 15px);
}

.bank-details strong {
    color: var(--primary-color);
    font-weight: 600;
}

.transfer-note {
    margin-top: clamp(16px, 2vh, 20px);
    padding-top: clamp(16px, 2vh, 20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: clamp(12px, 1.5vw, 14px);
    font-style: italic;
    color: var(--text-light);
    opacity: 0.8;
}

.form-message {
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--primary-color);
    font-size: 14px;
    letter-spacing: 1px;
}

.form-message.success {
    background: rgba(76, 175, 80, 0.18);
    border: 1px solid rgba(76, 175, 80, 0.35);
}

.product-feature-content h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 300;
    margin-bottom: 30px;
    text-transform: lowercase;
    letter-spacing: -1px;
}

.product-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* Login/Register Section */
.login-section {
    padding: clamp(120px, 15vh, 180px) 20px clamp(60px, 8vh, 100px) 20px;
    margin-top: clamp(80px, 10vh, 120px);
    background: transparent;
    color: var(--primary-color);
}

.login-intro {
    text-align: center;
    font-size: clamp(16px, 2vw, 20px);
    margin-bottom: clamp(30px, 4vh, 50px);
    color: var(--text-color);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.login-container {
    max-width: 600px;
    margin: 0 auto;
}

.register-form,
.login-form {
    background: rgba(255, 255, 255, 0.02);
    padding: clamp(30px, 4vw, 50px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.login-form {
    display: none;
}

.login-form:not([hidden]) {
    display: block;
}

.login-switch {
    text-align: center;
    margin-top: clamp(20px, 3vh, 30px);
    font-size: clamp(14px, 1.8vw, 16px);
    color: var(--text-color);
}

.switch-link {
    color: var(--primary-color);
    text-decoration: underline;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.switch-link:hover {
    opacity: 0.8;
}

.login-section .form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(20px, 3vh, 30px);
    margin-bottom: clamp(25px, 4vh, 35px);
}

.login-section label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: clamp(14px, 1.8vw, 16px);
    color: var(--text-color);
}

.login-section label input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    cursor: pointer;
}

.login-section label.form-wide {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}

.login-section label.form-wide span {
    flex: 1;
    line-height: 1.5;
}

.login-section label.form-wide a {
    color: var(--primary-color);
    text-decoration: underline;
}

.login-section input[type="text"],
.login-section input[type="email"],
.login-section input[type="tel"],
.login-section input[type="password"] {
    width: 100%;
    padding: clamp(12px, 1.5vw, 16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary-color);
    font-size: clamp(14px, 1.8vw, 16px);
    transition: all 0.3s ease;
}

.login-section input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.login-section input:invalid:not(:placeholder-shown) {
    border-color: #ff4444;
}

.login-section input:valid:not(:placeholder-shown) {
    border-color: #44ff44;
}

.login-section .field-error {
    color: #ff4444;
    font-size: clamp(12px, 1.5vw, 14px);
    margin-top: 4px;
}

.login-section .form-message {
    margin-top: clamp(20px, 3vh, 30px);
    padding: clamp(12px, 1.5vw, 16px);
    border-radius: 8px;
    text-align: center;
    font-size: clamp(14px, 1.8vw, 16px);
}

.login-section .form-message[data-type="success"] {
    background: rgba(68, 255, 68, 0.1);
    color: #44ff44;
    border: 1px solid rgba(68, 255, 68, 0.3);
}

.login-section .form-message[data-type="error"] {
    background: rgba(255, 68, 68, 0.1);
    color: #ff4444;
    border: 1px solid rgba(255, 68, 68, 0.3);
}

/* Instagram Section */
.instagram-section {
    padding: clamp(80px, 10vh, 120px) 20px;
    background: transparent;
    overflow: hidden;
}

.instagram-intro {
    text-align: center;
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-muted);
    margin-bottom: clamp(40px, 5vh, 60px);
}

.instagram-stories-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 100%;
    margin: 0 auto 40px;
}

.instagram-stories {
    display: flex;
    gap: clamp(16px, 3vw, 28px);
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1;
}

.instagram-stories::-webkit-scrollbar {
    display: none;
}

.instagram-story {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.instagram-story:hover {
    transform: scale(1.05);
}

.story-ring {
    width: clamp(70px, 10vw, 90px);
    height: clamp(70px, 10vw, 90px);
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    position: relative;
}

.reel-ring {
    background: linear-gradient(45deg, #405DE6 0%, #5851DB 25%, #833AB4 50%, #C13584 75%, #E1306C 100%);
}

.story-avatar,
.story-thumbnail,
.story-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--secondary-color);
    padding: 3px;
    overflow: hidden;
}

.story-avatar img,
.story-thumbnail img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.story-thumbnail,
.story-placeholder {
    position: relative;
}

.story-placeholder {
    background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 50%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.05);
}

.story-placeholder::before {
    content: attr(data-icon);
    font-size: 24px;
    opacity: 0.6;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    filter: grayscale(30%);
    transition: all 0.3s ease;
}

.instagram-story:hover .story-placeholder::before {
    opacity: 0.9;
    filter: grayscale(0%);
    transform: translate(-50%, -50%) scale(1.1);
}

.reel-icon {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0.9;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
    z-index: 2;
}

.reel-icon svg {
    width: 10px;
    height: 10px;
    margin-left: 2px;
}

.instagram-story:hover .reel-icon {
    opacity: 1;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.15) 100%);
    transform: scale(1.1);
}

.story-username {
    font-size: clamp(11px, 1.5vw, 13px);
    color: var(--text-light);
    text-align: center;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.instagram-nav {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.instagram-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.instagram-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.instagram-follow-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 auto;
    padding: 14px 32px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.instagram-follow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(225, 48, 108, 0.4);
}

.instagram-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Responsive Instagram */
@media (max-width: 768px) {
    .instagram-nav {
        display: none;
    }
    
    .instagram-stories {
        padding: 20px 0;
    }
    
    .instagram-section {
        padding: 60px 20px;
    }
}

/* Gallery Section */
.gallery-section {
    padding: clamp(80px, 10vh, 120px) 20px;
    background: transparent;
    color: var(--primary-color);
    overflow: hidden;
}

.gallery-intro {
    text-align: center;
    font-size: clamp(16px, 2vw, 20px);
    margin-bottom: clamp(40px, 5vh, 60px);
    color: var(--text-light);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-carousel {
    width: 100%;
    height: clamp(500px, 60vh, 700px);
    position: relative;
    margin: 0 auto;
    overflow: visible;
    perspective: 1200px;
}

.gallery-item {
    position: absolute;
    width: clamp(250px, 25vw, 350px);
    height: clamp(320px, 35vh, 450px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover {
    transform: scale(1.1) !important;
    z-index: 10;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Animaciones elegantes para cada imagen */
.gallery-item:nth-child(1) {
    top: 10%;
    left: 5%;
    animation: elegantFloat1 20s ease-in-out infinite;
}

.gallery-item:nth-child(2) {
    top: 5%;
    left: 25%;
    animation: elegantFloat2 22s ease-in-out infinite;
    animation-delay: -2s;
}

.gallery-item:nth-child(3) {
    top: 15%;
    left: 45%;
    animation: elegantFloat3 24s ease-in-out infinite;
    animation-delay: -4s;
}

.gallery-item:nth-child(4) {
    top: 8%;
    left: 65%;
    animation: elegantFloat4 21s ease-in-out infinite;
    animation-delay: -1s;
}

.gallery-item:nth-child(5) {
    top: 12%;
    left: 80%;
    animation: elegantFloat1 23s ease-in-out infinite;
    animation-delay: -3s;
}

.gallery-item:nth-child(6) {
    top: 50%;
    left: 10%;
    animation: elegantFloat2 25s ease-in-out infinite;
    animation-delay: -5s;
}

.gallery-item:nth-child(7) {
    top: 55%;
    left: 35%;
    animation: elegantFloat3 20s ease-in-out infinite;
    animation-delay: -2.5s;
}

.gallery-item:nth-child(8) {
    top: 50%;
    left: 60%;
    animation: elegantFloat4 22s ease-in-out infinite;
    animation-delay: -4.5s;
}

/* Animaciones orgánicas con ondas y rotaciones suaves */
@keyframes elegantFloat1 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(30px, -40px) rotate(2deg) scale(1.05);
    }
    50% {
        transform: translate(-20px, 20px) rotate(-1deg) scale(0.98);
    }
    75% {
        transform: translate(20px, -30px) rotate(1.5deg) scale(1.02);
    }
}

@keyframes elegantFloat2 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(-35px, 30px) rotate(-2deg) scale(0.97);
    }
    50% {
        transform: translate(25px, -25px) rotate(1.5deg) scale(1.03);
    }
    75% {
        transform: translate(-15px, 35px) rotate(-1deg) scale(1.01);
    }
}

@keyframes elegantFloat3 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(40px, 25px) rotate(1.5deg) scale(1.04);
    }
    50% {
        transform: translate(-30px, -35px) rotate(-2deg) scale(0.96);
    }
    75% {
        transform: translate(25px, 20px) rotate(1deg) scale(1.03);
    }
}

@keyframes elegantFloat4 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(-25px, -30px) rotate(-1.5deg) scale(0.99);
    }
    50% {
        transform: translate(35px, 40px) rotate(2deg) scale(1.06);
    }
    75% {
        transform: translate(-20px, -25px) rotate(-1deg) scale(0.98);
    }
}

/* Pausar animaciones al hacer hover en el contenedor */
.gallery-carousel:hover .gallery-item {
    animation-play-state: paused;
}

/* About Section */
.about-section {
    padding: 100px 20px;
    background: transparent;
    color: var(--primary-color);
}

.about-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.about-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 20px;
}

.about-intro {
    font-size: 22px;
    margin-bottom: 30px;
}

.about-intro strong {
    font-weight: 500;
    letter-spacing: 0.5px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.about-feature {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 28px;
    transition: transform 0.3s ease, border 0.3s ease;
}

.about-feature:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.about-feature h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    text-transform: lowercase;
}

.about-feature p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-light);
    margin: 0;
}

.about-contact {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 40px;
    text-align: center;
}

.about-contact h3 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    text-transform: lowercase;
}

.about-contact > p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    padding: 12px 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.social-link svg {
    flex-shrink: 0;
}

/* Footer */
.footer {
    padding: 80px 20px 40px;
    background: var(--secondary-color);
    color: var(--primary-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-section h3 {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    opacity: 0.8;
}

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

.footer-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    text-transform: lowercase;
    transition: var(--transition);
}

.footer-link:hover {
    opacity: 0.7;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    font-size: 12px;
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.footer-bottom p:last-child {
    margin-bottom: 0;
}

.footer-author {
    font-size: 11px;
    opacity: 0.5;
    text-transform: none;
    letter-spacing: 0.5px;
    margin-top: 12px;
}

.author-link {
    color: var(--primary-color);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    font-weight: 500;
}

.author-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Responsive - Pantallas grandes (desktop) */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }

    .hero-title {
        font-size: clamp(80px, 10vw, 140px);
    }

    .section-title {
        font-size: clamp(40px, 5vw, 56px);
    }
}

/* Responsive - Tablets y pantallas medianas */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 32px;
    }

    .hero-slider {
        width: 100vw;
        max-width: 100%;
        height: clamp(300px, 45vw, 420px);
    }

    .store-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .cart-layout,
    .checkout-layout {
        grid-template-columns: 1.2fr 1fr;
        gap: 36px;
    }

    .about-main {
        gap: 48px;
    }
}

/* Responsive - Tablets pequeñas y móviles grandes */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--secondary-color);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        border-bottom: 1px solid var(--border-color);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
        z-index: 9999;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 10000;
        position: relative;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-slider {
        height: clamp(240px, 64vw, 360px);
        border-radius: 16px;
    }

    .hero-slide {
        letter-spacing: 4px;
        padding: clamp(22px, 6vw, 34px);
    }

    .hero-slide-label {
        letter-spacing: 5px;
    }

    .store-section,
    .cart-section,
    .checkout-section,
    .about-section,
    .login-section,
    .intro-section,
    .gallery-section {
        padding: 60px 20px;
    }

    .gallery-carousel {
        height: clamp(600px, 70vh, 800px);
    }

    .gallery-item {
        width: clamp(200px, 35vw, 280px);
        height: clamp(260px, 40vh, 360px);
    }

    .about-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-contact {
        padding: 32px 24px;
    }

    .social-links {
        flex-direction: column;
        align-items: stretch;
    }

    .social-link {
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .store-grid {
        grid-template-columns: 1fr;
    }

    .store-filters {
        gap: 20px;
    }

    .search-container {
        max-width: 100%;
    }

    .filters-row {
        flex-direction: column;
    }

    .filter-select {
        width: 100%;
        min-width: auto;
    }

    .admin-grid {
        grid-template-columns: 1fr;
    }

    .admin-form,
    .admin-products {
        padding: 28px;
    }

    .cart-layout,
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cart-items,
    .cart-summary,
    .checkout-summary,
    .checkout-form {
        padding: 28px;
    }

    .cart-item {
        grid-template-columns: 1fr;
        gap: 16px;
        align-items: flex-start;
    }

    .cart-item-total {
        align-items: flex-start;
    }

    .checkout-list li {
        flex-direction: column;
        gap: 6px;
        align-items: flex-start;
    }
}

/* Responsive - Móviles medianos */
@media (max-width: 480px) {
    .hero {
        padding: 100px 16px 40px;
        min-height: auto;
    }

    .hero-title {
        font-size: clamp(32px, 10vw, 48px);
        gap: 8px;
        flex-direction: column;
    }

    .hero-title-main {
        font-size: 1em;
    }

    .hero-title-sub {
        font-size: 0.5em;
        margin-top: 3px;
    }

    .gallery-carousel {
        height: clamp(500px, 80vh, 700px);
    }

    .gallery-item {
        width: clamp(150px, 60vw, 220px);
        height: clamp(200px, 50vh, 280px);
    }

    .gallery-intro {
        font-size: 14px;
        margin-bottom: 30px;
    }
    
    /* Ajustar posiciones en móviles */
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5) {
        top: 5% !important;
    }
    
    .gallery-item:nth-child(6),
    .gallery-item:nth-child(7),
    .gallery-item:nth-child(8) {
        top: 45% !important;
    }
    
    .gallery-item:nth-child(1) { left: 2% !important; }
    .gallery-item:nth-child(2) { left: 20% !important; }
    .gallery-item:nth-child(3) { left: 38% !important; }
    .gallery-item:nth-child(4) { left: 56% !important; }
    .gallery-item:nth-child(5) { left: 74% !important; }
    .gallery-item:nth-child(6) { left: 5% !important; }
    .gallery-item:nth-child(7) { left: 30% !important; }
    .gallery-item:nth-child(8) { left: 55% !important; }

    .hero-subtitle {
        font-size: clamp(14px, 4vw, 18px);
        padding: 0 10px;
    }

    .section-title {
        font-size: clamp(24px, 8vw, 32px);
    }

    .hero-slider {
        height: clamp(200px, 50vw, 280px);
        border-radius: 12px;
        margin-top: 30px;
    }

    .hero-slide {
        padding: 20px;
        letter-spacing: 3px;
        font-size: 11px;
    }

    .hero-slide-label {
        letter-spacing: 3px;
        font-size: 11px;
    }

    .store-section,
    .cart-section,
    .checkout-section,
    .about-section,
    .login-section,
    .intro-section,
    .gallery-section {
        padding: 50px 16px;
    }

    .store-card-body {
        padding: 20px;
        gap: 14px;
    }

    .store-card-tag {
        padding: 4px 10px;
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .admin-form,
    .admin-products {
        padding: 20px;
    }

    .cart-items,
    .cart-summary,
    .checkout-summary,
    .checkout-form {
        padding: 20px;
    }

    .checkout-layout {
        gap: 24px;
    }

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

    .logo-image {
        height: 60px;
        max-width: 250px;
    }

    .nav-container {
        padding: 16px;
    }

    .intro-text {
        font-size: clamp(16px, 5vw, 20px);
    }

    .about-intro {
        font-size: clamp(18px, 5vw, 22px);
    }

    .about-text {
        font-size: clamp(16px, 4vw, 18px);
    }

    .about-feature {
        padding: 24px 20px;
    }

    .about-contact {
        padding: 28px 20px;
    }
}

/* Responsive - Móviles pequeños */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }

    .hero {
        padding: 90px 12px 30px;
    }

    .hero-title {
        font-size: 28px;
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }

    .hero-title-main {
        font-size: 1em;
    }

    .hero-title-sub {
        font-size: 0.5em;
        margin-top: 2px;
    }

    .hero-slider {
        height: 180px;
        margin-top: 20px;
    }

    .hero-slide {
        padding: 16px;
        font-size: 10px;
    }

    .hero-slide-label {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .section-title {
        font-size: 22px;
    }

    .store-section,
    .cart-section,
    .checkout-section,
    .about-section,
    .login-section,
    .intro-section {
        padding: 40px 12px;
    }

    .store-card-body {
        padding: 16px;
        gap: 12px;
    }

    .store-card-tag {
        padding: 4px 8px;
        font-size: 9px;
        letter-spacing: 1px;
    }

    .store-card-title {
        font-size: 16px;
    }

    .store-card-description {
        font-size: 13px;
    }

    .btn-primary,
    .btn-outline {
        padding: 12px 24px;
        font-size: 12px;
    }

    .logo-image {
        height: 50px;
        max-width: 200px;
    }

    .nav-container {
        padding: 12px;
    }

    .cart-items,
    .cart-summary,
    .checkout-summary,
    .checkout-form {
        padding: 16px;
    }

    .admin-form,
    .admin-products {
        padding: 16px;
    }

    .about-feature {
        padding: 20px 16px;
    }

    .about-contact {
        padding: 24px 16px;
    }

    .social-link {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* Responsive - Orientación landscape en móviles */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 20px 30px;
    }

    .hero-slider {
        height: clamp(200px, 40vh, 300px);
        margin-top: 20px;
    }

    .hero-content {
        margin-bottom: 30px;
    }
}

/* Responsive - Pantallas muy anchas */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }

    .hero-slider {
        width: 100vw;
        max-width: 100%;
        height: clamp(400px, 50vw, 560px);
    }
}

/* ==================== COOKIE BANNER ==================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px;
    z-index: 9999;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-text h4 {
    font-size: 18px;
    margin: 0 0 8px 0;
    color: var(--text-light);
    font-weight: 600;
}

.cookie-text p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.cookie-btn-reject {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn-reject:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--text-light);
}

.cookie-btn-config {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.cookie-btn-config:hover {
    background: rgba(255, 255, 255, 0.2);
}

.cookie-btn-accept {
    background: var(--text-light);
    color: var(--secondary-color);
}

.cookie-btn-accept:hover {
    background: #e0e0e0;
    transform: translateY(-1px);
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-settings-content {
    background: #1a1a1a;
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-settings-header h3 {
    margin: 0;
    font-size: 20px;
    color: var(--text-light);
}

.cookie-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.cookie-close:hover {
    color: var(--text-light);
}

.cookie-settings-body {
    padding: 24px;
}

.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cookie-option:last-child {
    border-bottom: none;
}

.cookie-option-info h5 {
    margin: 0 0 4px 0;
    font-size: 15px;
    color: var(--text-light);
    font-weight: 500;
}

.cookie-option-info p {
    margin: 0;
    font-size: 13px;
    color: var(--text-muted);
}

/* Toggle Switch */
.cookie-toggle {
    position: relative;
    width: 50px;
    height: 28px;
    flex-shrink: 0;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    transition: 0.3s;
    border-radius: 28px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background: white;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .toggle-slider {
    background: #4ade80;
}

.cookie-toggle input:checked + .toggle-slider:before {
    transform: translateX(22px);
}

.cookie-toggle.disabled .toggle-slider {
    cursor: not-allowed;
    opacity: 0.6;
}

.cookie-settings-footer {
    padding: 0 24px 24px;
}

.cookie-settings-footer .cookie-btn {
    width: 100%;
}

.cookie-policy-link {
    text-align: center;
    padding: 0 24px 24px;
    margin: 0;
}

.cookie-policy-link a {
    color: var(--text-muted);
    font-size: 13px;
    text-decoration: underline;
}

.cookie-policy-link a:hover {
    color: var(--text-light);
}

/* Responsive Cookies */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
    
    .cookie-text h4 {
        font-size: 16px;
    }
    
    .cookie-text p {
        font-size: 13px;
    }
}

/* ========================================
   GALERÍA DE PRODUCTOS
======================================== */

/* Indicadores en la tarjeta del producto */
.store-card-media.has-gallery {
    position: relative;
}

.store-card-media-count {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
    backdrop-filter: blur(4px);
    transition: var(--transition);
}

.store-card-media.has-gallery:hover .store-card-media-count {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.05);
}

.store-card-video-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(220, 38, 38, 0.9);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    animation: pulse-subtle 2s infinite;
}

@keyframes pulse-subtle {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* Modal de galería */
.product-gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-gallery-modal.is-open {
    opacity: 1;
}

.gallery-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.gallery-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 1;
}

.gallery-close-btn {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 28px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.gallery-close-btn:hover {
    background: white;
    color: black;
    border-color: white;
}

.gallery-main-view {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 100%;
}

.gallery-media-container {
    max-width: 70vw;
    max-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-media-container img,
.gallery-media-container video {
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
    border-radius: 8px;
}

.gallery-nav-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 28px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.gallery-nav-btn:hover {
    background: white;
    color: black;
    border-color: white;
}

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    max-width: 100%;
    padding: 10px;
}

.gallery-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.gallery-thumb.active {
    border-color: white;
}

.gallery-thumb:hover:not(.active) {
    border-color: rgba(255, 255, 255, 0.5);
}

.thumb-video-icon {
    color: white;
}

.gallery-counter {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
}

.gallery-product-title {
    font-size: 18px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0;
    text-align: center;
}

/* Responsive galería */
@media (max-width: 768px) {
    .gallery-modal-content {
        max-width: 95vw;
        gap: 15px;
    }

    .gallery-close-btn {
        top: -45px;
        right: 0;
    }

    .gallery-main-view {
        gap: 10px;
    }

    .gallery-media-container {
        max-width: 85vw;
    }

    .gallery-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }

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

    .gallery-product-title {
        font-size: 14px;
        letter-spacing: 2px;
    }
}


