/* =========================================================
   ARROWSHOPONE – CSS ORDENADO Y DOCUMENTADO
   ========================================================= */

/* =========================================================
   1. VARIABLES GLOBALES
   ========================================================= */
:root {
    --bg-dark: #050505;
    --bg-card: #0f0f0f;
    --text-main: #ffffff;
    --text-muted: #888888;
    --second-color: #f2f200;
    --sale-color: #ff0055; /* Movida desde la mitad del archivo */
    --accent-gradient: linear-gradient(90deg, #ec6957 0%, #e73f10 20%, #ebe210 40%, #209337 60%, #0a4a7e 80%, #4a267a 100%);
    --accent-glow: 0 0 20px rgba(0, 242, 234, 0.3);
    --font-heading: 'Exo 2', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

/* =========================================================
   2. RESET GENERAL Y BODY
   ========================================================= */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

::selection {
    background-color: #def200;
    color: #000;
}

/* =========================================================
   3. SCROLLBAR PERSONALIZADO
   ========================================================= */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #050505;
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #def200;
    box-shadow: 0 0 10px #def200;
}

/* =========================================================
   4. UTILIDADES GLOBALES (Inputs, Badges, Botones genéricos)
   ========================================================= */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #050505 inset !important; 
    -webkit-text-fill-color: #ffffff !important; 
    transition: background-color 5000s ease-in-out 0s;
    caret-color: #ffffff;
}

input:autofill {
    -webkit-box-shadow: 0 0 0 1000px #050505 inset !important;
    -webkit-text-fill-color: #ffffff !important;
}

.section-padding {
    padding: 80px 5%;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    font-style: italic;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.view-all {
    border-bottom: 1px solid var(--text-main);
    font-family: var(--font-heading);
    font-weight: 700;
}

.badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff0055;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 50%;
    font-weight: bold;
}

.btn-primary {
    background: #fff;
    color: #000;
    padding: 15px 40px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    clip-path: polygon(10% 0, 100% 0, 100% 80%, 90% 100%, 0 100%, 0 20%);
    transition: 0.3s;
}
.btn-primary:hover {
    background: #def200;
    --accent-glow: 0 0 20px rgba(0, 242, 234, 0.3);
    box-shadow: var(--accent-glow);
    transform: translateY(-5px);
}

.btn-secondary {
    padding: 15px 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.3s;
    background: transparent;
    color: #fff;
    cursor: pointer;
}
.btn-secondary:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.red-link {
    color: #ff0055;
}

a.add-cart,
a.btn-sale {
    display: block;
    text-align: center;
    text-decoration: none;
    width: 100%;
}

.p-details h4 a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.p-details h4 a:hover {
    color: #def200;
}

.img-container a {
    display: block;
    width: 100%;
    height: 100%;
}

/* WhatsApp Flotante */
.whatsapp-float {
    position: fixed;
    width: 45px;
    height: 45px;
    bottom: 25px;
    right: 25px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    z-index: 100;
    transition: transform .2s ease;
}
.whatsapp-float img {
    width: 28px;
    height: 28px;
}
.whatsapp-float:hover {
    transform: scale(1.1);
}

/* =========================================================
   5. PANTALLA DE CARGA (LOADER)
   ========================================================= */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #050505;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.loader img {
    width: 450px;
    height: auto;
}
.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

/* =========================================================
   6. NAVBAR Y HEADER
   ========================================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0 5%;
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: 0.4s;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: none;
}
.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-gradient);
    z-index: 1001;
    box-shadow: 0 2px 15px rgba(236, 105, 87, 0.4);
}
.navbar.scrolled {
    background: rgba(5, 5, 5, 0.95);
    padding: 15px 5%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    font-style: italic;
    letter-spacing: 1px;
}
.logo span {
    color: transparent;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 30px; /* Restaurado a 30px */
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
    transition: 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--accent-gradient);
    transition: 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
    transition: 0.3s;
    display: flex;
    align-items: center;
    height: 100%;
    color: #fff;
}

.nav-link i {
    font-size: 0.7rem;
    margin-left: 5px;
    transition: transform 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 30px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-item-dropdown:hover .nav-link::after {
    width: 100%;
}

.nav-item-dropdown {
    position: static;
}

.nav-item-dropdown:hover .nav-link i {
    transform: rotate(180deg);
    color: #def200;
}

.nav-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}
.nav-icons i {
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.3s;
}
.nav-icons i:hover {
    color: #def200;
}
.cart-box {
    position: relative;
}

/* Buscador Header */
.search-box {
    background-color: transparent;
    border: 1px solid #333;
    height: 40px;
    width: 250px;
    transform: skewX(-15deg);
    transition: all 0.3s ease;
    margin-right: 15px;
}
.search-box form {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    transform: skewX(15deg);
    padding: 0 15px;
}
.search-input {
    flex-grow: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
}
.search-input::placeholder {
    color: #666;
    font-style: italic;
}
.search-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    font-size: 1.1rem;
    transition: 0.3s;
}
.search-box:hover,
.search-box:focus-within {
    border-color: #def200;
    background-color: rgba(222, 242, 0, 0.05);
    box-shadow: 0 0 15px rgba(222, 242, 0, 0.2);
}

/* Mega Menú */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(8, 8, 8, 0.98);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid #222;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px) scale(0.99);
    transform-origin: top center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition-delay: 0.15s; 
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.mega-menu::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 0;
    width: 100%;
    height: 30px;
    background: transparent;
}

.nav-item-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
}
.mega-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 5%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}
.mega-column h3 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    display: inline-block;
}
.mega-column ul li {
    margin-bottom: 12px;
}
.mega-column ul li a {
    color: #aaa;
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.2s;
    display: block;
}
.mega-column ul li a:hover {
    color: #fff;
    transform: translateX(5px);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Producto Destacado en Mega Menú */
.mega-column.featured-column {
    min-width: 320px;
    background: linear-gradient(145deg, #111, #0a0a0a);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #222;
    position: relative;
    overflow: hidden;
    margin-left: 20px;
}
.mega-column.featured-column h3 {
    font-family: var(--font-heading);
    color: var(--second-color);
    font-size: 0.85rem;
    letter-spacing: 2px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.menu-product-card {
    display: flex;
    gap: 15px;
    text-decoration: none;
    align-items: center;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid transparent;
}
.menu-product-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--second-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.menu-prod-img img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    background: #fff;
    border-radius: 6px;
    padding: 5px;
}
.menu-prod-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.menu-brand {
    font-size: 0.7rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}
.menu-prod-info h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: #fff;
    margin: 5px 0;
    line-height: 1.2;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.menu-price {
    color: var(--second-color);
    font-weight: 800;
    font-size: 1.1rem;
    margin: 5px 0 10px 0;
}
.btn-mini-view {
    background: transparent;
    border: 1px solid #555;
    color: #ccc;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s;
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 5px;
}
.menu-product-card:hover .btn-mini-view {
    background: var(--second-color);
    color: #000;
    border-color: var(--second-color);
}

/* =========================================================
   7. SECCIONES PÁGINA DE INICIO
   ========================================================= */

/* Hero */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://res.cloudinary.com/dwkngsuro/image/upload/v1772317527/Banner_Trajes_g7epxq.webp');
    background-size: cover; 
    background-position: center top; 
    background-repeat: no-repeat;
    z-index: -2;
    filter: brightness(0.9) contrast(1.2);
}
@keyframes zoomIn {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, var(--bg-dark), transparent 80%);
    z-index: -1;
}
.hero-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 5px;
    margin-bottom: 10px;
}
.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 6rem;
    font-weight: 900;
    font-style: italic;
    line-height: 1;
    text-transform: uppercase;
    position: relative;
    color: #fff;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* Efecto Glitch */
.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}
.glitch::before {
    left: 2px;
    text-shadow: -1px 0 #ff0055;
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}
.glitch::after {
    left: -2px;
    text-shadow: -1px 0 #def200;
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2.5s infinite linear alternate-reverse;
}
@keyframes glitch-anim {
    0% { clip: rect(10px, 9999px, 30px, 0); }
    20% { clip: rect(80px, 9999px, 100px, 0); }
    100% { clip: rect(40px, 9999px, 60px, 0); }
}

.cta-group {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
}
.scroll-down {
    position: absolute;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    transition: 0.3s;
    z-index: 10;
    opacity: 0.8;
}
.scroll-text {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    font-family: var(--font-heading);
}
.scroll-down i {
    font-size: 1rem;
    color: var(--second-color);
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-5px); }
}

/* Flash Sales */
.flash-sales {
    background: linear-gradient(to bottom, #050505, #0a0003);
    border-top: 1px solid #222;
}
.flash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
    gap: 20px;
}
.flash-title .text-danger {
    color: var(--sale-color);
    font-style: italic;
    text-shadow: 0 0 15px rgba(255, 0, 85, 0.4);
}
.bolt-icon {
    color: var(--sale-color);
    font-size: 2rem;
    margin-right: 10px;
    animation: flash 1s infinite alternate;
}
@keyframes flash {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0.5; transform: scale(1.1); }
}
.countdown-timer {
    display: flex;
    gap: 10px;
    align-items: center;
    background: rgba(255, 0, 85, 0.1);
    padding: 15px 30px;
    border: 1px solid var(--sale-color);
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(255, 0, 85, 0.1);
}
.time-block {
    text-align: center;
    display: flex;
    flex-direction: column;
}
.time-block span {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    color: #fff;
}
.time-block label {
    font-size: 0.6rem;
    color: var(--sale-color);
    font-weight: 700;
}
.separator {
    font-size: 2rem;
    color: var(--sale-color);
    margin-top: -15px;
}
.sales-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}
.sale-card {
    background: #111;
    border: 1px solid #333;
    position: relative;
    transition: 0.3s;
    overflow: hidden;
}
.sale-card:hover {
    border-color: var(--sale-color);
    transform: translateY(-5px);
}
.discount-badge {
    position: absolute;
    top: 15px;
    left: 0;
    background: var(--sale-color);
    color: #fff;
    padding: 5px 15px;
    font-weight: 900;
    font-size: 0.9rem;
    z-index: 10;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
    box-shadow: 0 0 10px var(--sale-color);
}
.sale-img {
    height: 220px;
    width: 100%;
    overflow: hidden;
}
.sale-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}
.sale-card:hover .sale-img img {
    transform: scale(1.1);
}
.sale-info {
    padding: 20px;
}
.stock-status {
    margin-bottom: 15px;
}
.stock-bar {
    width: 100%;
    height: 6px;
    background: #222;
    border-radius: 3px;
    margin-bottom: 5px;
    overflow: hidden;
}
.stock-bar .fill {
    height: 100%;
    background: linear-gradient(90deg, #ff8800, var(--sale-color));
    border-radius: 3px;
}
.stock-status span {
    font-size: 0.7rem;
    color: #888;
    font-weight: 600;
}
.sale-info h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.price-box {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    margin-bottom: 20px;
}
.old-p {
    font-size: 0.9rem;
    color: #666;
    text-decoration: line-through;
}
.new-p {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--sale-color);
}
.btn-sale {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px solid var(--sale-color);
    color: var(--sale-color);
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}
.btn-sale:hover {
    background: var(--sale-color);
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 0, 85, 0.4);
}

/* Brands Marquee & Grid */
.brands-marquee {
    background: #fff;
    color: #000;
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
    border-top: 5px solid #def200;
    border-image: var(--accent-gradient) 1;
}
.track {
    display: inline-block;
    animation: marquee 20s linear infinite;
}
.track span {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    margin: 0 40px;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.brands-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    text-align: center;
}
.brand-item {
    padding: 20px;
    border: 1px solid #222;
    color: #888;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.2rem;
    font-style: italic;
    transition: 0.3s;
    background: #0a0a0a;
}
.brand-item:hover {
    border-color: #fff;
    color: #000;
    background: #fff;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

/* Categorías (Inicio) */
.category-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
    height: 500px;
}
.cat-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}
.cat-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}
.cat-card:hover img {
    transform: scale(1.1);
    filter: grayscale(100%);
}
.cat-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, #000, transparent);
    z-index: 2;
}
.cat-info h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-style: italic;
}
.cat-info a {
    font-size: 0.8rem;
    text-decoration: underline;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.3s;
    display: inline-block;
}
.cat-card:hover .cat-info a {
    opacity: 1;
    transform: translateY(0);
}

/* Promo Card (General) */
.promo-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    min-height: 250px;
}
.promo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
    filter: brightness(0.7);
}
.promo-card:hover img {
    transform: scale(1.05);
    filter: brightness(0.5);
}
.promo-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 80%;
}
.promo-text h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    color: #fff;
}
.btn-text {
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: underline;
    color: #def200;
    margin-top: 10px;
    display: block;
}

/* Cinematic Slider */
.cinematic-slider {
    position: relative;
    width: 100%;
    height: 85vh;
    overflow: hidden;
    background: #000;
    margin: 50px 0;
}
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s;
}
.slide.active {
    opacity: 1;
    visibility: visible;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 10% 25%;
    transform: scale(1);
    transition: transform 6s ease-out;
}
.slide.active img {
    transform: scale(1.1);
    transition: transform 6s linear;
}
.slide-content {
    position: absolute;
    bottom: 20%;
    left: 5%;
    max-width: 600px;
    z-index: 2;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    padding: 40px;
    border-left: 5px solid #def200;
    transform: translateY(30px);
    opacity: 0;
    transition: 0.8s ease-out;
}
.slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.3s;
}
.slide-tag {
    color: #def200;
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: block;
}
.slide-content h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-style: italic;
}
.slide-content p {
    color: #ccc;
    font-size: 1.1rem;
    margin-bottom: 30px;
}
.slider-nav {
    position: absolute;
    bottom: 50px;
    right: 5%;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
}
.prev-btn, .next-btn {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}
.prev-btn:hover, .next-btn:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}
.indicators {
    display: flex;
    gap: 10px;
}
.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}
.dot.active {
    background: #def200;
    box-shadow: 0 0 10px #def200;
    transform: scale(1.2);
}
.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: var(--accent-gradient);
    width: 0%;
    z-index: 10;
}
.slide.active~.progress-bar {
    animation: progressFill 5s linear infinite;
}
@keyframes progressFill {
    from { width: 0%; }
    to { width: 100%; }
}

/* News / Noticias */
.news-section {
    position: relative;
    background: #080808;
    border-top: 1px solid #111;
    border-bottom: 1px solid #111;
}
.news-nav-buttons {
    display: flex;
    gap: 10px;
}
.news-nav-buttons button {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid #333;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.news-nav-buttons button:hover {
    border-color: #def200;
    color: #def200;
    box-shadow: 0 0 10px rgba(0, 242, 234, 0.2);
}
.news-slider-container {
    overflow: hidden;
    width: 100%;
}
.news-track {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 20px;
    scrollbar-width: none;
}
.news-track::-webkit-scrollbar {
    display: none;
}
.news-card {
    min-width: 600px;
    height: 350px;
    position: relative;
    background: #111;
    clip-path: polygon(10% 0, 100% 0, 100% 90%, 90% 100%, 0 100%, 0 10%);
    transition: 0.3s;
    border: 1px solid #222;
}
.news-card:hover {
    transform: translateY(-5px);
    border-color: #444;
}
.news-img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(0.6);
    transition: 0.5s;
}
.news-card:hover .news-img img {
    filter: grayscale(0%) brightness(0.8);
    transform: scale(1.05);
}
.news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #000 0%, transparent 100%);
    z-index: 1;
}
.news-content {
    position: relative;
    z-index: 2;
    padding: 50px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 65%;
}
.news-badge {
    display: inline-block;
    padding: 5px 10px;
    font-size: 0.7rem;
    font-weight: 800;
    margin-bottom: 15px;
    width: fit-content;
    text-transform: uppercase;
}
.badge-drop { background: #def200; color: #000; }
.badge-event { background: #ff0055; color: #fff; }
.badge-tech { background: #fff; color: #000; }
.news-content h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    line-height: 1.1;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-style: italic;
}
.highlight {
    color: transparent;
    -webkit-text-stroke: 1px #fff;
}
.news-content p {
    color: #aaa;
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.5;
}
.news-link {
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}
.news-link i {
    font-size: 0.8rem;
    transition: 0.3s;
}
.news-link:hover {
    color: #def200;
    gap: 15px;
}

/* =========================================================
   8. COMPONENTES: PRODUCT CARDS
   ========================================================= */
.product-carousel {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    justify-content: center;
    gap: 10px;
}

.product-carousel .product-card:nth-child(n+1) { display: block !important; }

.product-card {
    background: var(--bg-card);
    border: 1px solid #222;
    padding: 15px;
    position: relative;
    transition: 0.3s;
}
.product-card:hover {
    transform: translateY(-10px);
    border-color: #444;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.product-card:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-gradient);
}
.img-container {
    height: 230px;
    background: #151515;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    overflow: hidden;
}
.img-container a {
    display: block;
    width: 100%;
    height: 100%;
}
.img-container img {
    width: 100%;
    height: auto;
    transition: 0.3s;
}
.product-card:hover .img-container img {
    transform: scale(1.05);
}
.p-details .brand {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
}
.p-details h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin: 5px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.p-details h4 a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}
.p-details h4 a:hover {
    color: #def200;
}
.price {
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}
.old-price {
    font-size: 0.8rem;
    color: #555;
    text-decoration: line-through;
    margin-left: 10px;
}
.add-cart {
    width: 100%;
    padding: 10px;
    background: transparent;
    border: 1px solid #333;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}
.product-card:hover .add-cart {
    background: #fff;
    color: #000;
}
.badge-new,
.badge-hot {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #def200;
    color: #000;
    padding: 3px 8px;
    font-size: 0.7rem;
    font-weight: 900;
    z-index: 2;
}
.badge-hot {
    background: #ff0055;
    color: #fff;
}
.variant-preview {
    position: absolute;
    bottom: 40%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 5;
    padding: 0 10px;
    flex-wrap: wrap;
}
.product-card:hover .variant-preview {
    opacity: 1;
    transform: translateY(0);
}
.v-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s;
    background-size: cover;
}
.v-dot:hover {
    transform: scale(1.3);
    border-color: #fff;
    border-width: 2px;
}

/* =========================================================
   9. CATÁLOGO Y FILTROS
   ========================================================= */
.catalogue-container {
    padding: 120px 5% 60px 5%;
    min-height: 100vh;
}
.catalogue-header {
    margin-bottom: 40px;
    border-bottom: 1px solid #222;
    padding-bottom: 20px;
}
.catalogue-header h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-style: italic;
    color: #fff;
}
.catalogue-header p {
    color: #888;
    margin-top: 5px;
}
.catalogue-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}
.sidebar-filters {
    background: #0a0a0a;
    border: 1px solid #222;
    padding: 25px;
    height: fit-content;
    position: sticky;
    top: 100px;
}
.filter-group {
    margin-bottom: 30px;
    border-bottom: 1px solid #1a1a1a;
    padding-bottom: 20px;
}
.filter-group:last-child {
    border-bottom: none;
}
.filter-group h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 15px;
    color: #fff;
    letter-spacing: 1px;
}
.search-box-side {
    display: flex;
    border: 1px solid #333;
}
.search-box-side input {
    width: 100%;
    background: transparent;
    border: none;
    color: #fff;
    padding: 10px;
    outline: none;
}
.search-box-side button {
    background: #222;
    border: none;
    color: #fff;
    padding: 0 15px;
    cursor: pointer;
}
.filter-list li {
    margin-bottom: 10px;
}
.filter-list label {
    color: #aaa;
    cursor: pointer;
    font-size: 0.9rem;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}
.filter-list label:hover,
.filter-list input:checked+span {
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}
.row-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #333;
    transition: .4s;
}
.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}
input:checked+.slider { background-color: #ff0055; }
input:focus+.slider { box-shadow: 0 0 1px #ff0055; }
input:checked+.slider:before { transform: translateX(26px); }
.slider.round { border-radius: 34px; }
.slider.round:before { border-radius: 50%; }

.custom-check {
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    cursor: pointer;
    color: #aaa;
    font-size: 0.9rem;
    user-select: none;
}
.custom-check input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #1a1a1a;
    border: 1px solid #333;
}
.custom-check:hover input~.checkmark { background-color: #222; }
.custom-check input:checked~.checkmark {
    background-color: #def200;
    border-color: #def200;
}
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
.custom-check input:checked~.checkmark:after { display: block; }
.custom-check .checkmark:after {
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid black;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.price-inputs {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}
.price-inputs input {
    width: 100%;
    background: #111;
    border: 1px solid #333;
    padding: 8px;
    color: #fff;
    font-size: 0.9rem;
    text-align: center;
}
.btn-filter-apply {
    width: 100%;
    background: #222;
    border: 1px solid #444;
    color: #fff;
    padding: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: 0.3s;
}
.btn-filter-apply:hover {
    background: #333;
    border-color: #fff;
}
.btn-clean-filters {
    display: block;
    text-align: center;
    color: #ff0055;
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 20px;
    text-decoration: underline;
}
.product-grid-catalogue {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
}
.page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #333;
    color: #fff;
    transition: 0.3s;
    font-family: var(--font-heading);
    font-weight: 700;
}
.page-link:hover, .page-link.active {
    background: #def200;
    border-color: transparent;
    color: #000;
    box-shadow: 0 0 15px rgba(0, 242, 234, 0.4);
}
.no-results {
    text-align: center;
    padding: 60px;
    background: #0f0f0f;
    border: 1px solid #222;
}
.no-results i {
    font-size: 4rem;
    color: #333;
    margin-bottom: 20px;
}
details { margin-bottom: 10px; }
details summary {
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #222;
}
details summary::-webkit-details-marker { display: none; }
details summary:hover { color: #def200; }
details ul { padding-left: 10px; margin-top: 10px; }

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #aaa;
    font-size: 0.9rem;
    transition: 0.2s;
}
.radio-label input { accent-color: #def200; }
.radio-label:hover { color: #fff; }
.radio-label input:checked+span {
    color: #def200;
    font-weight: bold;
}
.btn-reset-small {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 25px;
    background: #222;
    border: 1px solid #444;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.3s;
}
.btn-reset-small:hover {
    background: #fff;
    color: #000;
}
.filter-scroll-area::-webkit-scrollbar { width: 4px; }

/* =========================================================
   10. PÁGINA DE PRODUCTO INDIVIDUAL
   ========================================================= */
.product-page-container {
    padding: 120px 5% 60px 5%;
    min-height: 100vh;
    color: #fff;
}
.breadcrumbs {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 30px;
}
.breadcrumbs a {
    color: #aaa;
    transition: 0.3s;
}
.breadcrumbs a:hover { color: #def200; }
.breadcrumbs span { color: #fff; font-weight: bold; }

.product-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}
.product-gallery {
    display: flex;
    gap: 20px;
    height: 600px;
}
.thumbnails {
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
    width: 100px;
    padding-right: 5px;
}
.thumbnails::-webkit-scrollbar { width: 4px; }
.thumbnails::-webkit-scrollbar-thumb { background: #333; }
.thumbnails .thumb {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border: 1px solid #333;
    cursor: pointer;
    opacity: 0.6;
    transition: 0.3s;
}
.thumbnails .thumb:hover, .thumbnails .thumb.active {
    opacity: 1;
    border-color: #def200;
}
.main-image {
    flex-grow: 1;
    background: #111;
    border: 1px solid #222;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s;
}
.main-image:hover img {
    transform: scale(1.2);
    cursor: crosshair;
}
.badge-discount {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ff0055;
    color: #fff;
    padding: 5px 15px;
    font-weight: 900;
    font-size: 1.2rem;
}

.brand-title {
    color: #888;
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 5px;
}
.product-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-style: italic;
}
.price-area {
    margin-bottom: 30px;
    display: flex;
    align-items: flex-end;
    gap: 20px;
}
.price-new {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
}
.price-old {
    font-size: 1.5rem;
    color: #666;
    text-decoration: line-through;
}

/* Variantes y Tallas */
.variants-section { margin-bottom: 30px; }
.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #aaa;
    margin-bottom: 12px;
    display: block;
}
.variant-list {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.variant-item {
    width: 50px;
    height: 50px;
    border: 1px solid #333;
    padding: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #000;
}
.variant-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.variant-item:hover {
    border-color: #fff;
    transform: translateY(-3px);
}
.variant-item.active {
    border: 2px solid #def200;
    box-shadow: 0 0 10px rgba(0, 242, 234, 0.3);
    transform: scale(1.1);
}
.size-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.btn-size-guide {
    background: none;
    border: none;
    color: #def200;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.9rem;
}
.sizes-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}
.size-btn {
    min-width: 60px;
    height: 45px;
    padding: 0 15px;
    background: transparent;
    border: 1px solid #444;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}
.size-btn:hover:not(.disabled) {
    border-color: #fff;
    background: #222;
}
.size-btn.selected {
    background: #fff;
    color: #000;
    border-color: #fff;
}
.size-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    text-decoration: line-through;
    border-color: #222;
}
.stock-msg {
    font-size: 0.8rem;
    color: #ff0055;
    height: 20px;
    font-weight: bold;
}

/* Acciones Producto */
.actions-section {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    height: 55px;
}
.btn-add-cart {
    flex-grow: 1;
    background: #def200;
    color: #000;
    border: none;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.1rem;
    font-style: italic;
    cursor: pointer;
    transition: 0.3s;
    clip-path: polygon(5% 0, 100% 0, 100% 100%, 95% 100%, 0 100%, 0 0);
}
.btn-add-cart:hover:not(:disabled) {
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 242, 234, 0.4);
}
.btn-add-cart:disabled {
    background: #333;
    color: #666;
    cursor: not-allowed;
}
.btn-wishlist {
    width: 55px;
    background: transparent;
    border: 1px solid #444;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: 0.3s;
}
.btn-wishlist:hover {
    border-color: #ff0055;
    color: #ff0055;
}

.product-details details {
    border-bottom: 1px solid #222;
    margin-bottom: 0;
}
.product-details summary {
    padding: 20px 0;
    font-size: 1rem;
}
.product-details p {
    color: #aaa;
    padding-bottom: 20px;
    line-height: 1.6;
}

/* Reseñas y Estrellas */
.reviews-section {
    border-top: 1px solid #222;
    padding-top: 80px;
    background: linear-gradient(to bottom, #050505, #080808);
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}
.review-card {
    background: #0a0a0a;
    padding: 30px;
    border: 1px solid #222;
    border-left: 4px solid #333;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}
.review-card:hover {
    border-left-color: #def200;
    background: #111;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.review-card::before {
    content: '“';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.03);
    font-family: serif;
    line-height: 1;
}
.stars-display {
    color: #def200;
    margin-bottom: 15px;
    font-size: 0.9rem;
    letter-spacing: 2px;
}
.review-card .author {
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-style: italic;
    font-size: 1rem;
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 1px;
}
.review-card p {
    color: #bbb;
    font-size: 0.95rem;
    line-height: 1.6;
    font-style: normal;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}
.review-card small {
    display: block;
    color: #555;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 15px;
    border-top: 1px solid #222;
    padding-top: 10px;
}
.write-review {
    background: #0f0f0f;
    border: 1px solid #222;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}
.write-review h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    color: #fff;
    margin-bottom: 20px;
}
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    background: #050505;
    padding: 15px;
    border-radius: 50px;
    border: 1px solid #222;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}
.star-rating input { display: none; }
.star-rating label {
    font-size: 1.8rem;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
}
.star-rating label::before {
    content: '\f005';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}
.star-rating input:checked~label,
.star-rating label:hover,
.star-rating label:hover~label {
    color: #def200;
    transform: scale(1.2);
    text-shadow: 0 0 15px rgba(222, 242, 0, 0.6);
}
.write-review textarea {
    width: 100%;
    background: #050505;
    border: 1px solid #333;
    padding: 20px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: 20px;
    border-radius: 4px;
    resize: none;
    height: 120px;
    transition: 0.3s;
}
.write-review textarea:focus {
    outline: none;
    border-color: #def200;
    box-shadow: 0 0 10px rgba(222, 242, 0, 0.1);
}

.login-prompt {
    background: #151515;
    border: 1px solid #333;
    padding: 30px;
    text-align: center;
    border-radius: 5px;
}
.login-prompt p { color: #888; margin-bottom: 15px; }
.btn-login-review {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid #def200;
    color: #def200;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: 0.3s;
}
.btn-login-review:hover {
    background: #def200;
    color: #000;
    box-shadow: 0 0 15px rgba(0, 242, 234, 0.4);
}

/* Modal Guía Tallas */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}
.modal-content {
    background-color: #111;
    padding: 20px;
    border: 1px solid #333;
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
    text-align: center;
    position: relative;
}
.modal-content img { max-width: 100%; height: auto; }
.close-modal {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}
.modal-content::-webkit-scrollbar { width: 6px; }
.modal-content::-webkit-scrollbar-track { background: #111; border-radius: 0 8px 8px 0; }
.modal-content::-webkit-scrollbar-thumb { background: #444; }
.guides-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 20px;
}
.guide-item img {
    width: 100%;
    height: auto;
    border: 1px solid #333;
    border-radius: 5px;
}

/* =========================================================
   11. CARRITO LATERAL (SIDE CART)
   ========================================================= */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}
.cart-overlay.open { opacity: 1; visibility: visible; }
.side-cart {
    position: fixed;
    top: 0;
    right: -450px;
    width: 400px;
    height: 100vh;
    background: #0a0a0a;
    border-left: 1px solid #222;
    z-index: 2001;
    transition: right 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
}
.side-cart.open { right: 0; }
.side-cart-header {
    padding: 25px;
    border-bottom: 1px solid #222;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #111;
}
.side-cart-header h2 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #fff;
    margin: 0;
}
.close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: 0.3s;
}
.close-btn:hover { color: #ff0055; }
.side-cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.side-item {
    display: flex;
    gap: 15px;
    border-bottom: 1px solid #222;
    padding-bottom: 15px;
    animation: fadeIn 0.3s ease;
}
.side-item-img {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    background: #000;
    border: 1px solid #def200;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.side-item-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
    transition: transform 0.3s ease;
}
.side-item-img:hover img { transform: scale(1.1); }
.side-item-details { flex-grow: 1; }
.side-item-details h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: #fff;
}
.side-item-meta {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 8px;
    display: block;
}
.side-item-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.qty-mini {
    display: flex;
    border: 1px solid #333;
}
.qty-mini button {
    background: #111;
    border: none;
    color: #fff;
    width: 25px;
    height: 25px;
    cursor: pointer;
}
.qty-mini span {
    width: 30px;
    text-align: center;
    color: #fff;
    font-size: 0.8rem;
    line-height: 25px;
}
.item-price { font-weight: bold; color: #def200; font-size: 0.9rem; }
.btn-trash {
    color: #666;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    transition: 0.3s;
}
.btn-trash:hover { color: #ff0055; }
.side-cart-footer {
    padding: 25px;
    border-top: 1px solid #222;
    background: #111;
}
.cart-total-row {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 10px;
}
.shipping-note {
    font-size: 0.75rem;
    color: #666;
    text-align: center;
    margin-bottom: 15px;
}
.btn-checkout-side {
    display: block;
    width: 100%;
    background: #def200;
    color: #000;
    text-align: center;
    padding: 15px;
    font-weight: 800;
    font-family: var(--font-heading);
    margin-bottom: 10px;
    transition: 0.3s;
}
.btn-checkout-side:hover {
    background: #fff;
    box-shadow: 0 0 15px rgba(0, 242, 234, 0.4);
}
.btn-continue {
    width: 100%;
    background: transparent;
    border: 1px solid #333;
    color: #fff;
    padding: 10px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: 0.3s;
}
.btn-continue:hover { border-color: #fff; }
.empty-side-cart {
    text-align: center;
    padding-top: 50px;
    color: #666;
}
.empty-side-cart i { font-size: 3rem; margin-bottom: 15px; display: block; }

/* =========================================================
   12. PÁGINAS DE AUTENTICACIÓN (LOGIN/REGISTRO)
   ========================================================= */
.login-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 140px 5% 80px;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000 100%);
}
.login-wrapper {
    background: #0f0f0f;
    width: 1000px;
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid #222;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    border-radius: 8px;
}
.login-image {
    position: relative;
    height: 100%;
    min-height: 600px;
}
.login-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.login-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #000 10%, transparent 90%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    z-index: 2;
}
.login-overlay h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-style: italic;
    margin-bottom: 10px;
    color: #fff;
}
.login-overlay p {
    color: #ccc;
    font-size: 0.95rem;
}
.login-forms {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.form-toggle {
    display: flex;
    margin-bottom: 40px;
    border-bottom: 2px solid #222;
}
.toggle-btn {
    background: none;
    border: none;
    color: #666;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    padding: 10px 20px;
    cursor: pointer;
    transition: 0.3s;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}
.toggle-btn:hover { color: #fff; }
.toggle-btn.active {
    color: #fff;
    border-bottom: 2px solid #def200;
}
.auth-form {
    display: none;
    animation: fadeIn 0.5s ease;
}
.auth-form.active-form { display: block; }
.auth-form h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 5px;
    color: #fff;
}
.subtitle {
    color: #888;
    margin-bottom: 30px;
    font-size: 0.9rem;
}
.input-group-login {
    position: relative;
    margin-bottom: 20px;
}
.input-group-login i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}
.input-group-login input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    background: #050505;
    border: 1px solid #333;
    color: #fff;
    outline: none;
    transition: 0.3s;
    font-size: 0.9rem;
}
.input-group-login input:focus {
    border-color: #def200;
    box-shadow: 0 0 10px rgba(0, 242, 234, 0.1);
}
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 0.85rem;
    color: #aaa;
}
.forgot-pass {
    text-decoration: underline;
    transition: 0.3s;
}
.forgot-pass:hover { color: #def200; }
.btn-auth {
    width: 100%;
    padding: 15px;
    background: #def200;
    color: #000;
    border: none;
    font-family: var(--font-heading);
    font-weight: 900;
    font-style: italic;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    clip-path: polygon(5% 0, 100% 0, 100% 100%, 95% 100%, 0 100%, 0 0);
}
.btn-auth:hover {
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 242, 234, 0.4);
}
.divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}
.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #333;
    z-index: 1;
}
.divider span {
    background: #0f0f0f;
    padding: 0 15px;
    color: #666;
    font-size: 0.8rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.social-login {
    display: flex;
    justify-content: center;
    width: 100%;
}
.login-forms .social-btn {
    width: 100%;
    padding: 15px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: 0.3s;
    cursor: pointer;
    background: #fff;
    color: #1f1f1f;
    border: 1px solid #fff;
}
.login-forms .social-btn:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}
.login-forms .social-btn i { font-size: 1.2rem; color: #DB4437; }

/* =========================================================
   13. CHECKOUT (PASARELA DE PAGO)
   ========================================================= */
.checkout-container {
    padding: 140px 5% 80px;
    background: #050505;
    min-height: 100vh;
}
.checkout-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}
.step-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    border-bottom: 1px solid #222;
    padding-bottom: 15px;
}
.step-num {
    background: #def200;
    color: #000;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}
.step-header h3 {
    font-family: var(--font-heading);
    color: #fff;
    font-style: italic;
    font-size: 1.2rem;
    margin: 0;
}
.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.input-group-check { margin-bottom: 20px; }
.input-group-check label {
    display: block;
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 8px;
    font-weight: 600;
}
.input-group-check input,
.input-group-check textarea {
    width: 100%;
    background: #0f0f0f;
    border: 1px solid #333;
    padding: 12px;
    color: #fff;
    border-radius: 4px;
    font-family: var(--font-body);
    transition: 0.3s;
}
.input-group-check input:focus,
.input-group-check textarea:focus {
    border-color: #def200;
    outline: none;
    background: #151515;
}
.payment-methods-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}
.payment-card {
    background: #0f0f0f;
    border: 1px solid #333;
    padding: 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
}
.payment-card input { display: none; }
.payment-card:has(input:checked) {
    border-color: #def200;
    background: rgba(222, 242, 0, 0.05);
}
.payment-card:hover:not(.disabled) { border-color: #666; }
.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.method-name {
    color: #fff;
    font-weight: bold;
    font-family: var(--font-heading);
}
.payment-card p {
    color: #666;
    font-size: 0.8rem;
    line-height: 1.4;
}
.payment-card.disabled { opacity: 0.5; cursor: not-allowed; }
.btn-pay-now {
    width: 100%;
    background: linear-gradient(90deg, #def200, #a4b300);
    color: #000;
    padding: 18px;
    border: none;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.3s;
    text-transform: uppercase;
}
.btn-pay-now:hover {
    box-shadow: 0 0 20px rgba(214, 242, 0, 0.4);
    transform: translateY(-2px);
}
.security-note {
    text-align: center;
    color: #666;
    font-size: 0.8rem;
    margin-top: 15px;
}
.summary-box {
    background: #111;
    border: 1px solid #222;
    padding: 30px;
    border-radius: 8px;
    position: sticky;
    top: 100px;
}
.summary-box h3 {
    font-family: var(--font-heading);
    color: #fff;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
    margin-bottom: 20px;
}
.cart-items-list {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
}
.checkout-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #222;
    padding-bottom: 15px;
}
.c-img {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 4px;
    object-fit: contain;
}
.c-info h4 { font-size: 0.9rem; color: #fff; margin-bottom: 5px; }
.c-info p { font-size: 0.8rem; color: #888; }
.c-price {
    margin-left: auto;
    font-weight: bold;
    color: #fff;
    font-size: 0.9rem;
}
.summary-totals .row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #aaa;
    font-size: 0.95rem;
}
.summary-totals .total {
    border-top: 1px solid #333;
    padding-top: 15px;
    margin-top: 15px;
    font-size: 1.3rem;
    font-weight: 900;
    color: #fff;
}

/* =========================================================
   14. PÁGINAS INFORMATIVAS (Términos, Privacidad, FAQ)
   ========================================================= */
.legal-page-container {
    padding: 140px 5% 80px;
    min-height: 100vh;
    background-color: var(--bg-dark);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(222, 242, 0, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 0, 85, 0.03) 0%, transparent 20%);
}
.legal-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: #0f0f0f;
    border: 1px solid #222;
    padding: 60px;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}
.legal-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
}
.legal-header {
    text-align: center;
    margin-bottom: 50px;
    border-bottom: 1px solid #222;
    padding-bottom: 30px;
}
.legal-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 10px;
}
.legal-date {
    color: #666;
    font-size: 0.9rem;
    font-family: monospace;
}
.legal-body {
    color: #ccc;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.8;
}
.legal-body h2 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.legal-body h2::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: var(--second-color);
    transform: rotate(45deg);
}
.legal-body p { margin-bottom: 20px; }
.legal-body ul {
    list-style: none;
    margin-bottom: 20px;
    padding-left: 20px;
}
.legal-body ul li {
    margin-bottom: 10px;
    position: relative;
}
.legal-body ul li::before {
    content: '›';
    color: var(--second-color);
    font-weight: bold;
    position: absolute;
    left: -15px;
}
.legal-body strong {
    color: #fff;
    font-weight: 700;
}
.legal-contact {
    margin-top: 50px;
    padding: 30px;
    background: #080808;
    border: 1px dashed #333;
    text-align: center;
    border-radius: 6px;
}
.legal-contact a {
    color: var(--second-color);
    text-decoration: underline;
    font-weight: bold;
}

/* Preguntas Frecuentes (FAQ) */
.faq-section-title {
    color: var(--second-color);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.faq-item {
    margin-bottom: 15px;
    border: 1px solid #222;
    border-radius: 6px;
    background: #111;
    overflow: hidden;
    transition: 0.3s ease;
}
.faq-item:hover { border-color: #444; }
.faq-item.active {
    border-color: var(--second-color);
    background: #161616;
}
.faq-question {
    padding: 20px;
    cursor: pointer;
    font-weight: 700;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
    transition: 0.3s;
}
.faq-question i { color: #666; transition: 0.4s ease; }
.faq-item.active .faq-question { color: var(--second-color); }
.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--second-color);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: #0a0a0a;
}
.faq-answer p {
    padding: 20px;
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    border-top: 1px solid #222;
}

/* =========================================================
   15. FOOTER Y MENÚ MÓVIL PRINCIPAL
   ========================================================= */
.footer {
    background-color: #020202;
    border-top: 1px solid #111;
    margin-top: 50px;
    font-family: var(--font-body);
}
.footer-top {
    border-bottom: 1px solid #111;
    padding: 60px 5%;
    background: radial-gradient(circle at center, #0a0a0a 0%, #020202 100%);
    text-align: center;
}
.newsletter-content h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-style: italic;
    margin-bottom: 10px;
    color: #fff;
}
.newsletter-content p {
    color: #888;
    margin-bottom: 30px;
}
.newsletter-form { max-width: 600px; margin: 0 auto; }
.input-group {
    display: flex;
    position: relative;
    border-bottom: 2px solid #333;
    transition: 0.3s;
}
.input-group:focus-within { border-color: #def200; }
.input-group input {
    width: 100%;
    background: transparent;
    border: none;
    padding: 15px;
    color: #fff;
    font-size: 1rem;
    outline: none;
}
.input-group button {
    background: transparent;
    border: none;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    cursor: pointer;
    padding: 0 20px;
    transition: 0.3s;
}
.input-group button:hover {
    color: #def200;
    text-shadow: 0 0 10px rgba(0, 242, 234, 0.5);
}

.footer-main {
    padding: 80px 5%;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}
.footer-col h4 {
    font-family: var(--font-heading);
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.1rem;
    letter-spacing: 1px;
}
.footer-col ul li { margin-bottom: 15px; }
.footer-col ul li a,
.footer-col ul li {
    color: #666;
    font-size: 0.9rem;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-col ul li a:hover {
    color: #fff;
    padding-left: 5px;
}
.footer-logo {
    width: 150px;
    margin-bottom: 20px;
    opacity: 0.8;
}
.brand-col p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 300px;
}
.social-links {
    display: flex;
    gap: 15px;
}
.social-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 50%;
    transition: 0.3s;
}
.social-btn:hover {
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--accent-glow);
}

.footer-bottom {
    background: #000;
    border-top: 1px solid #111;
    padding: 25px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.payment-methods {
    display: flex;
    align-items: center;
    gap: 15px;
}
.payment-methods span {
    font-size: 0.8rem;
    font-weight: 700;
    color: #444;
    margin-right: 10px;
}
.payment-methods i {
    font-size: 1.8rem;
    color: #555;
    transition: 0.3s;
    cursor: pointer;
}
.payment-methods i:hover {
    color: #fff;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}
.legal-links {
    display: flex;
    gap: 20px;
    align-items: center;
}
.legal-links a {
    color: #555;
    font-size: 0.8rem;
    transition: 0.3s;
}
.legal-links a:hover { color: #fff; }
.legal-links p {
    color: #444;
    font-size: 0.8rem;
    margin-left: 20px;
    border-left: 1px solid #222;
    padding-left: 20px;
}

/* Menú Móvil Base */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #fff;
}
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: #080808;
    z-index: 2000;
    transition: 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    border-left: 1px solid #222;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
}
.mobile-menu-overlay.active { right: 0; }
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #000;
    border-bottom: 1px solid #222;
}
.mobile-menu-title {
    font-family: var(--font-heading);
    font-weight: 900;
    letter-spacing: 1px;
    color: #fff;
}
.close-menu-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}
.mobile-search-container {
    padding: 20px;
    border-bottom: 1px solid #222;
}
.mobile-search-container input {
    width: 100%;
    background: #111;
    border: 1px solid #333;
    padding: 10px 15px;
    color: #fff;
    border-radius: 4px 0 0 4px;
    outline: none;
}
.mobile-search-container button {
    background: var(--second-color);
    border: none;
    padding: 0 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    color: #000;
}
.mobile-scroll-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}
.mobile-user-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.avatar-circle {
    width: 40px;
    height: 40px;
    background: var(--second-color);
    color: #000;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.welcome { font-size: 0.7rem; color: #888; display: block; }
.name { font-weight: bold; color: #fff; }
.btn-login-mobile,
.btn-logout-mobile {
    text-decoration: none;
    color: #fff;
    background: #222;
    padding: 10px;
    text-align: center;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    transition: 0.3s;
}
.btn-login-mobile:hover {
    background: var(--second-color);
    color: #000;
}
.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}
.mobile-nav-list li { margin-bottom: 5px; }
.main-link {
    display: block;
    padding: 12px 0;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    border-bottom: 1px solid #222;
}
.accordion-header {
    padding: 12px 0;
    color: #ccc;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    transition: 0.3s;
}
.accordion-header.active { color: var(--second-color); }
.accordion-header.active i { transform: rotate(180deg); }
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #111;
    border-radius: 4px;
}
.accordion-content a {
    display: block;
    padding: 10px 15px;
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: 1px solid #1a1a1a;
}
.accordion-content a:hover {
    color: #fff;
    padding-left: 20px;
}
.mobile-featured {
    background: #111;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #222;
}

/* =========================================================
   16. MEDIA QUERIES (DISEÑO RESPONSIVE PERFECTO)
   ========================================================= */

/* --- 1. PC: ESCONDER ELEMENTOS MÓVILES --- */
@media (min-width: 1025px) {
    .menu-toggle,
    .mobile-menu-overlay {
        display: none !important;
        visibility: hidden !important;
    }
}

/* --- 2. TABLET Y MÓVIL GENERAL (≤ 1024px) --- */
@media (max-width: 1024px) {
    /* Layout Base */
    html, body { overflow-x: hidden; }
    .container, section { padding: 0 20px; }

    /* Header y Menú Móvil */
    .nav-links, .search-box, .user-btn, .user-logged-in span { display: none !important; }
    .menu-toggle { display: block !important; font-size: 1.5rem; cursor: pointer; color: #fff; }
    .user-logged-in { display: flex !important; }
    .nav-icons { gap: 15px; }

    .mobile-menu-overlay {
        position: fixed; top: 0; right: -100%; width: 85%; max-width: 320px; height: 100vh;
        z-index: 9999 !important; background: #080808; display: flex; flex-direction: column;
        transition: right 0.4s ease; box-shadow: -5px 0 50px rgba(0, 0, 0, 0.8);
    }
    .mobile-menu-overlay.active { right: 0; }

    /* Grillas a 3 Columnas */
    .sales-grid, .products-grid, .product-carousel, .product-grid-catalogue {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 15px !important; width: 100%; max-width: 100%; margin: 0 auto;
        padding: 0 16px; box-sizing: border-box;
    }

    /* Hero & Slider */
    .hero-content h1 { font-size: 4rem; }
    .cinematic-slider { height: 60vh; }
    .slide img { object-position: 35% 25%; }
    .slide-content { left: 0; bottom: 0; width: 100%; background: rgba(0, 0, 0, 0.7); }
    .slide-content h2 { font-size: 2rem; }
    .slider-nav { right: 20% !important; left: auto !important; transform: translateX(70%) !important; bottom: 20px !important; width: max-content !important; }
    .prev-btn, .next-btn { width: 35px !important; height: 35px !important; }

    /* Tarjetas de Producto (Cuadrado perfecto con aspect-ratio) */
    .sale-card, .product-card { width: 100% !important; max-width: 100%; box-sizing: border-box; }
    .product-card .img-container, .sale-card .sale-img {
        height: auto !important; aspect-ratio: 1 / 1 !important; width: 100% !important;
        background: #0f0f0f !important; margin-bottom: 10px !important;
        display: flex !important; align-items: center !important; justify-content: center !important;
    }
    .product-card .img-container img, .sale-card .sale-img img {
        width: 100% !important; height: 100% !important; object-fit: contain !important; padding: 8px !important; display: block;
    }
    .p-details h4 { font-size: 0.85rem !important; height: auto !important; max-height: 2.4em; }

    /* Catálogo y Filtros */
    .catalogue-layout { display: block !important; }
    .sidebar-filters { width: 100%; margin-bottom: 20px; position: static !important; padding: 10px !important; border: 1px solid #333; }
}

/* --- 3. TRANSICIÓN A UNA COLUMNA (≤ 900px) --- */
@media (max-width: 900px) {
    .footer-main { grid-template-columns: 1fr 1fr; }
    .checkout-layout, .input-row, .login-wrapper { grid-template-columns: 1fr; }
    .login-image { display: none; }
    .login-forms { padding: 30px; }
    .summary-box { position: static; margin-bottom: 40px; order: -1; }
    
    /* Página de producto */
    .product-layout { grid-template-columns: 1fr; gap: 30px; }
    .product-gallery { height: auto; flex-direction: column-reverse; }
    .thumbnails { flex-direction: row; width: 100%; height: 80px; overflow-x: auto; padding: 0; }
    .thumbnails .thumb { width: 80px; height: 80px; }
    .main-image { height: 400px; }
    .product-title { font-size: 2.2rem; }
}

/* --- 4. SMARTPHONES (≤ 768px) --- */
@media (max-width: 768px) {
    /* Hero */
    .hero-bg { background-position: center top; background-size: cover; background-image: url('https://res.cloudinary.com/dwkngsuro/image/upload/v1772317527/Banner_Trajes_g7epxq.webp'); }
    .hero-content h1 { font-size: 2.5rem !important; }
    .section-title { font-size: 1.5rem !important; }
    .category-grid { grid-template-columns: 1fr; height: auto; }
    .cat-card { height: 250px; }

    /* News */
    .news-card { min-width: 85vw; height: 400px; }
    .news-content { max-width: 100%; padding: 30px; background: linear-gradient(to top, #000 40%, transparent); }
    .news-overlay { background: none; }
    .slider-nav { right: 32% !important; }
    
    /* Grillas a 2 Columnas Estrictas */
    .sales-grid, .products-grid, .product-carousel, .product-grid-catalogue {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important; padding: 0 5px !important;
    }

    /* Detalles y Textos Tarjetas Móvil */
    .variant-preview { display: none !important; }
    .sale-card { border-radius: 6px !important; }
    .product-card { padding: 8px !important; background: #0f0f0f; }
    
    .sale-info { padding: 10px !important; }
    .stock-status { margin-bottom: 8px !important; }
    .stock-bar { height: 4px !important; }
    .stock-status span { font-size: 0.6rem !important; }
    
    .sale-info h4, .p-details h4 { font-size: 0.75rem !important; margin-bottom: 5px !important; height: 2.4em; overflow: hidden !important; line-height: 1.2 !important; }
    .price-box { flex-direction: column !important; align-items: flex-start !important; gap: 0 !important; margin-bottom: 10px !important; }
    .price-box .old-p, .p-details .old-price { font-size: 0.7rem !important; display: block !important; }
    .price-box .new-p, .p-details .price { font-size: 0.85rem !important; margin-bottom: 5px !important; }
    
    .btn-sale { padding: 8px !important; font-size: 0.7rem !important; }
    .p-details .add-cart { padding: 6px 0 !important; font-size: 0.7rem !important; width: 100% !important; border: 1px solid #333 !important; }
    .p-details .brand { font-size: 0.6rem !important; margin-bottom: 2px; }
    .discount-badge, .badge-new, .badge-hot { font-size: 0.55rem !important; padding: 2px 4px !important; top: 10px !important; }

    /* Páginas Legales y Catálogo */
    .legal-wrapper { padding: 30px; }
    .legal-title { font-size: 2rem; }
    .legal-page-container { padding-top: 100px; }
    .catalogue-container { padding: 90px 10px 20px 10px !important; }
}

/* --- 5. SMARTPHONES PEQUEÑOS (≤ 600px) --- */
@media (max-width: 600px) {
    /* Footer a 1 columna */
    .footer-main { grid-template-columns: 1fr; text-align: center; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .brand-col p { margin: 0 auto 25px; }
    .social-links { justify-content: center; }
    .legal-links { flex-direction: column; gap: 10px; }
    .legal-links p { border: none; margin: 0; padding: 0; }
    
    /* Layouts específicos */
    .flash-header { flex-direction: column; align-items: flex-start; }
    .countdown-timer { width: 100%; justify-content: center; }
}