/* ============ DESIGN TOKENS GLOBALES ============ */
:root {
    /* Colores principales */
    --bg: #F7F7F5;
    --text: #1F2937;
    --muted: #6B7280;
    --primary: #8B5CF6; /* acento púrpura moderno */
    --primary-alt: #0EA5E9; /* alternativa cian */
    --border: #E5E7EB;
    --dark: #111827;
    --white: #FFFFFF;
    
    /* Espaciado y dimensiones */
    --radius: 16px;
    --radius-sm: 12px;
    --radius-lg: 20px;
    --shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
    --shadow-lg: 0 20px 40px rgba(17, 24, 39, 0.12);
    --container: 1200px;
    --space: clamp(16px, 2vw, 24px);
    
    /* Transiciones */
    --transition: all 0.2s ease;
    --transition-slow: all 0.3s ease;
}

/* ============ RESET Y BASE MODERNO ============ */
html {
    background: var(--bg);
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
    line-height: 1.6;
}

/* ============ TIPOGRAFÍA MODERNA ============ */
h1 {
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 1rem 0;
}

h2 {
    font-size: clamp(24px, 3.2vw, 32px);
    line-height: 1.15;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 0.75rem 0;
}

h3 {
    font-size: clamp(20px, 2.5vw, 24px);
    line-height: 1.2;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 0.5rem 0;
}

p {
    font-size: clamp(15px, 1.6vw, 18px);
    line-height: 1.6;
    color: var(--text);
    margin: 0 0 1rem 0;
    max-width: 65ch;
}

/* ============ UTILIDADES MODERNAS ============ */
.ui-container {
    width: min(100%, var(--container));
    margin-inline: auto;
    padding-inline: var(--space);
}

.ui-section {
    padding-block: clamp(48px, 8vw, 96px);
}

.ui-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: clamp(16px, 2vw, 24px);
    transition: var(--transition);
}

.ui-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.ui-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 999px;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    border: 1px solid transparent;
    transition: var(--transition);
    text-decoration: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.ui-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.25);
    background: var(--primary-alt);
}

.ui-btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.ui-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: var(--transition);
}

.ui-link:hover {
    color: var(--primary-alt);
}

/* ============ FOCUS VISIBLE GLOBAL ============ */
a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.libertinus-serif-regular {
  font-family: "Libertinus Serif", serif;
  font-weight: 400;
  font-style: normal;
}

.libertinus-serif-semibold {
  font-family: "Libertinus Serif", serif;
  font-weight: 600;
  font-style: normal;
}

.libertinus-serif-bold {
  font-family: "Libertinus Serif", serif;
  font-weight: 700;
  font-style: normal;
}

.libertinus-serif-regular-italic {
  font-family: "Libertinus Serif", serif;
  font-weight: 400;
  font-style: italic;
}

.libertinus-serif-semibold-italic {
  font-family: "Libertinus Serif", serif;
  font-weight: 600;
  font-style: italic;
}

.libertinus-serif-bold-italic {
  font-family: "Libertinus Serif", serif;
  font-weight: 700;
  font-style: italic;
}


/* Eliminar las clases duplicadas de fuentes al inicio y mantener solo estas: */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    --color-background: #d3d1b6;
    --color-text: #333333;
    --bg-color: #f5f2e8;
    --sidebar-color: #8b7355;
    background-color: var(--bg-color);
    font-family: 'Quicksand', 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
    color: var(--color-text);
}

*, *::before, *::after {
    box-sizing: inherit;
}

/* ============ HERO/HEADER MODERNO ============ */
.hero {
    position: relative;
    min-height: 75vh;
    max-height: 85vh;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.45), rgba(17, 24, 39, 0.15) 40%, rgba(17, 24, 39, 0));
    pointer-events: none;
    z-index: 1;
}

.hero .content {
    position: relative;
    text-align: center;
    max-width: 800px;
    color: #fff;
    z-index: 2;
    padding: 2rem;
}

.hero .cta-wrap {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* HEADER PRINCIPAL - RESTAURADO CON NUEVOS COLORES */
header {
    background: linear-gradient(135deg, #8B5CF6, #0EA5E9);
    width: 100%;
    height: 100vh;
    text-align: center;
    color: #FFFFFF;
    font-size: 1.8rem;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border: 2px solid #8B5CF6;
    min-height: 100vh;
}

header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: slideInverticaltitle .9s;
}

header p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: slideInverticaltitle .9s;
}

.imagenes-header {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    height: 93%;
    position: relative;
    overflow: hidden;
}

/* CONFIGURACIÓN BASE PARA TODOS LOS SLIDERS */
.images {
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Posiciones específicas para cada imagen - MEJORADAS */
.imagen-1 {
    position: absolute;
    height: 85%;
    width: 28%;
    clip-path: polygon(47% 0, 100% 0, 62% 83.1%, 10% 69%);
    z-index: 1;
    animation: slideInDiagonal1 1s;
    top: 0;
    left: 0;
}

/* Asegurar que las animaciones diagonales solo funcionen en desktop */
@media (min-width: 768px) {
    .imagen-1 {
        animation: slideInDiagonal1 1s;
    }
    
    .imagen-2 {
        animation: slideInDiagonal2 1.1s;
    }
    
    .imagen-3 {
        animation: slideInDiagonal3 1.15s;
    }
    
    .imagen-4 {
        animation: slideInDiagonal4 1.2s;
    }
    
    .imagen-5 {
        animation: slideInDiagonal5 1.1s;
    }
}

.imagen-2 {
    position: absolute;
    top: 0px;
    left: 17%;
    height: 100%;
    width: 37%;
    clip-path: polygon(27% 0, 87% 0, 48% 80%, 0% 67%);
    z-index: 2;
    animation: slideInDiagonal2 1.1s;
}

.imagen-3 {
    width: 50%;
    height: 100%;
    position: absolute;
    left: 36%;
    top: 0;
    clip-path: polygon(29% 0, 79% 0, 47% 100%, 0 81%);
    z-index: 3;
    animation: slideInDiagonal3 1.15s;
}

.imagen-4 {
    height: 100%;
    width: 40%;
    top: 0;
    position: absolute;
    left: 58.9%;
    clip-path: polygon(43% 0, 91% 0, 58% 100%, 4% 100%);
    z-index: 2;
    animation: slideInDiagonal4 1.2s;
}

.imagen-5 {
    width: 24%;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 75%;
    clip-path: polygon(90% 0, 100% 0%, 100% 100%, 36% 100%);
    z-index: 1;
    animation: slideInDiagonal5 1.1s;
    
}

/* SISTEMA UNIVERSAL DE SLIDER - APLICADO A TODAS LAS IMÁGENES */
.image-wrapper {
    width: 100%;
    height: 100%;

    position: relative;
}

/* ESTILOS UNIVERSALES PARA TODAS LAS IMÁGENES DEL SLIDER */
.slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: opacity 1s ease-in-out; 
    opacity: 0;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Imagen activa - UNIVERSAL para todas */
.slider-img.active {
    opacity: 1;

}

/* Imagen saliente - UNIVERSAL para todas */
.slider-img.exit {
    opacity: 0;
}

/* INDICADORES UNIVERSALES */
.slider-indicators {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 20;
}

.indicatorFive  {
    display: flex;
    flex-direction: column;
    top: 2%;
    left: 98%;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.3);
}

.indicator.active {
    background-color: rgba(255, 255, 255, 1);
    transform: scale(1.2);
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
}
/*
@keyframes flash {
    0% {
        opacity: 0;
        filter: brightness(1.5);
    }
    50% {
        opacity: 0.8;
        filter: brightness(1.2);
    }
    100% {
        opacity: 1;
        filter: brightness(1);
    }
}
*/
/* Animaciones de entrada */
@keyframes slideInDiagonal1 {
    0% {
        transform: translateY(-1500px) translateX(500px) scale(0.8);
        filter: blur(5px);
    }
    70% {
        filter: blur(1px);
    }
    100% {
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes slideInDiagonal2 {
    0% {
        transform: translateY(-2000px) translateX(600px) scale(0.8);
        filter: blur(5px);
    }
    70% {
        filter: blur(1px);
    }
    100% {
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes slideInDiagonal3 {
    0% {
        transform: translateY(-1900px) translateX(700px) scale(0.8);
        filter: blur(5px);
    }
    70% {
        filter: blur(1px);
    }
    100% {
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes slideInDiagonal4 {
    0% {
        transform: translateY(-1400px) translateX(800px) scale(0.8);
        filter: blur(5px);
    }
    70% {
        filter: blur(1px);
    }
    100% {
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes slideInDiagonal5 {
    0% {
        transform: translateY(-2000px) translateX(900px) scale(0.8);
        filter: blur(5px);
    }
    70% {
        filter: blur(1px);
    }
    100% {
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes slideInverticaltitle {
    0% {
        transform: translateY(0px) translateX(-600px) scale(0.8);
        filter: blur(5px);
    }
    70% {
        filter: blur(1px);
    }
    100% {
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Efectos hover */
.images:hover {
    transform: scale(1.05) translateY(-5px);
    z-index: 15;
    filter: brightness(1.1) saturate(1.1);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.images:hover img {
    transform: scale(1.05);
}

/* Container para el contenido después del header */
.container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    min-height: 100vh;
    margin-top: 0;
}

#open-menu {
    display: none;
}

.sidebar__form {
    position: absolute;
    z-index: 20;
    right: -1rem;
    top: 20px;
}

.sidebar__form .open-button {
    display: none;
}

.side-bar label {
    position: relative;
    background: linear-gradient(135deg, var(--bg-color), #e8e5d3);
    color: var(--sidebar-color);
    font-size: 1.5rem;
    border-radius: 50%;
    padding: 0.8rem;
    user-select: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    border: 2px solid var(--sidebar-color);
    z-index: 20;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.side-bar label:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #e8e5d3, var(--bg-color));
}

.side-bar label::before,
.side-bar label::after {
    content: '';
    background-color: var(--sidebar-color);
    position: absolute;
    width: 13px;
    height: 25.05px;
}

.side-bar label::before {
    top:-24px;
    left: 15.5px;
    border-bottom-right-radius: 25px;
    box-shadow: 4px 4px 0 4px var(--bg-color);
}
.side-bar label::after {
    bottom: -24px;
    left: 15.5px;
    border-top-right-radius: 25px;
    box-shadow: 4px -4px 0 4px var(--bg-color);
}

#open-menu:checked ~ label {
    color: black;
    background-color: var(--sidebar-color);
}

#open-menu:checked ~ label::before,
#open-menu:checked ~ label::after {
    display: none;
}

.side-bar:has(#open-menu:checked) {
    width: 200px;
}

.side-bar:has(input[type="checkbox"]:checked) .sidebar__nav {
    display: flex;
}

.side-bar:has(input[type="checkbox"]:not(:checked)) .sidebar__nav {
    display: none;
}

/* ============ MENÚ FLOTANTE STICKY ============ */
.floating-menu {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

.menu-toggle {
    display: none;
}

.menu-button {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8B5CF6, #0EA5E9);
    border-radius: 50%;
    cursor: pointer;
    padding: 12px;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    transition: all 0.3s ease;
    border: 2px solid #fff;
}

.menu-button:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(139, 92, 246, 0.6);
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Animación del botón hamburguesa */
.menu-toggle:checked + .menu-button .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle:checked + .menu-button .hamburger-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle:checked + .menu-button .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ============ MENÚ DESLIZABLE MODERNO ============ */
.drawer {
    width: min(86vw, 320px);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-right: 1px solid var(--border);
}

.drawer a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 12px;
    transition: var(--transition);
}

.drawer a:hover {
    background: #fff;
    box-shadow: var(--shadow);
}

/* Menú deslizable (mantener para compatibilidad) */
.sliding-menu {
    position: fixed;
    top: 0;
    left: -350px;
    width: 350px;
    height: 100vh;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.95), rgba(14, 165, 233, 0.95));
    backdrop-filter: blur(10px);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.3);
    border-right: 2px solid rgba(255, 255, 255, 0.2);
}

.menu-toggle:checked ~ .sliding-menu {
    left: 0;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 25px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.menu-header h3 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.close-btn {
    color: #fff;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.menu-list {
    list-style: none;
    padding: 20px 0;
    margin: 0;
}

.menu-item {
    margin: 0;
}

.menu-link {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.menu-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.menu-link:hover::before {
    left: 100%;
}

.menu-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-left-color: #fff;
    padding-left: 35px;
    transform: translateX(10px);
}

.menu-link .material-symbols-outlined {
    margin-right: 15px;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.menu-link:hover .material-symbols-outlined {
    transform: scale(1.2);
}

/* Overlay para cerrar el menú */
.menu-toggle:checked ~ .sliding-menu::before {
    content: '';
    position: fixed;
    top: 0;
    left: 350px;
    width: calc(100vw - 350px);
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

/* ============ RESPONSIVE PARA MENÚ FLOTANTE ============ */

/* Tablets */
@media (max-width: 768px) {
    .floating-menu {
        top: 15px;
        left: 15px;
    }
    
    .menu-button {
        width: 55px;
        height: 55px;
        padding: 10px;
    }
    
    .sliding-menu {
        width: 300px;
        left: -300px;
    }
    
    .menu-toggle:checked ~ .sliding-menu::before {
        left: 300px;
        width: calc(100vw - 300px);
    }
    
    .menu-header {
        padding: 25px 20px 15px;
    }
    
    .menu-header h3 {
        font-size: 1.6rem;
    }
    
    .menu-link {
        padding: 18px 20px;
        font-size: 1rem;
    }
}

/* Móviles */
@media (max-width: 480px) {
    .floating-menu {
        top: 10px;
        left: 10px;
    }
    
    .menu-button {
        width: 50px;
        height: 50px;
        padding: 8px;
    }
    
    .sliding-menu {
        width: 280px;
        left: -280px;
    }
    
    .menu-toggle:checked ~ .sliding-menu::before {
        left: 280px;
        width: calc(100vw - 280px);
    }
    
    .menu-header {
        padding: 20px 15px 12px;
    }
    
    .menu-header h3 {
        font-size: 1.4rem;
    }
    
    .menu-link {
        padding: 15px 15px;
        font-size: 0.95rem;
    }
    
    .menu-link .material-symbols-outlined {
        margin-right: 12px;
        font-size: 1.3rem;
    }
}

.sidebar__nav {
    background-color: #94916985;
    width: 200px;
    height: 100%;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    right: 0;
    top: 0;
    border-radius: 0 0 0 15px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}

/* Sidebar cerrado por defecto */
.side-bar:has(input[type="checkbox"]:not(:checked)) {
    width: 60px;
}

.side-bar:has(input[type="checkbox"]:not(:checked)) .sidebar__nav {
    display: none;
}

nav ul {
    height: 80%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;   
    list-style: none;
    padding: 0;
}

nav > ul > li {
    width: 100%;
    height: auto;
    background-color: #d3d1b6;
    border: 1px solid #b0a485;
    text-align: center;
    border-radius: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav ul a {
    color: #000;
    text-decoration: none;
    font-size: 1.7rem;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    display: block;
    width: fit-content;
}

nav ul li:hover {
    background-color: #b5a472;
    border: 2px solid #e7e7de;
    border-radius: 3px;
    text-align: center;
    color: #fff;
}

nav ul li:hover a {
    color: #fff;
    text-decoration: none;
}

nav ul li a:hover {
    text-decoration: underline;
    text-decoration-color: #ddc8b6;
}

.contenedor-img-product {
    width: 100%;
    height: 200px;
    display: flex;
    justify-content: start;
    overflow: hidden;
    border-radius: 8px;
}

.products img {
    object-position: center;
    align-self: center;
    width: 100%;
    height: 200px;
    border-radius: 8px;
    margin-bottom: 8px;
    object-fit: cover;
}

main {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.content {
    background-color: #ddc8b6;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    flex-shrink: 0;
    padding: 10px;
}

.product-list {
    color: #1F2937;
    font-size: 2rem;
    width: 100%;
    height: calc(100% - 100px);
    text-align: center;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px;
    background: linear-gradient(135deg, #F7F7F5, #E5E7EB);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
}

.products {
    font-size: 1.3rem;
    color: inherit;
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    align-items: start;
    min-height: min-content;
    transition: transform 0.5s ease-in-out;
}

.product-list .producto1 {
    width: 240px;
    min-height: 380px;
    height: auto;
    list-style: none;
    background: linear-gradient(135deg, #FFFFFF, #F9FAFB);
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    margin: 0;
    text-align: center;
    display: flex;
    box-shadow: 0 2px 8px rgba(17, 24, 39, 0.06);
    transition: all 0.3s ease;
    flex-shrink: 0;
    align-items: flex-start;
    justify-content: center;
    position: relative;
}

.seleccion-compra {
    border: 1px solid #E5E7EB;
    background: linear-gradient(135deg, #FFFFFF, #F9FAFB);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    gap: 8px;
    width: 100%;
    height: 100px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(17, 24, 39, 0.05);
    transition: all 0.3s ease;
    padding: 8px;
}

.selector-modelo {
    align-self: flex-start;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    gap: 10px;
    width: 50%;
}

.selector-modelo label {
    color: #ffffff;
    font-weight: bold;
    font-size: 0.8rem;
}

.product-controls {
    border: 2px solid #8b7355;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    gap: 10px;
    width: 100%;
    height: 70px;
}

.product-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.product-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: #8B5CF6;
    margin-bottom: 6px;
}

/* Estilos para selector de tallas */
.size-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.size-selector label {
    color: #8B5CF6;
    font-weight: 600;
    font-size: 0.7rem;
}

.size-select {
    padding: 4px 8px;
    border: 1px solid #E5E7EB;
    border-radius: 4px;
    background: linear-gradient(135deg, #FFFFFF, #F9FAFB);
    color: #1F2937;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(17, 24, 39, 0.05);
}

/* Estilos para selector de colores */
.color-selector {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    z-index: 100;
}

.color-selector label {
    color: #8B5CF6;
    font-weight: 600;
    font-size: 0.7rem;
}

.selector-modelo {
    color: #1F2937;
    font-weight: 600;
    font-size: 0.8rem;
}

.color-btn {
    width: 24px;
    height: 20px;
    border: 1px solid #E5E7EB;
    border-radius: 50%;
    background: none;
    cursor: pointer;
    padding: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(17, 24, 39, 0.05);
}

.selected-color {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid #666;
}

.color-palette {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgb(238, 212, 150);
    border: 2px solid #8b7355;
    border-radius: 6px;
    padding: 8px;
    display: none;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    margin-top: 5px;
}

.color-palette.active {
    display: flex;
    gap: 6px;
}

.color-option {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #666;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.color-option.selected {
    border: 3px solid #333;
    box-shadow: 0 0 0 2px white, 0 0 0 4px #333;
}

.product-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.btn-add-cart {
    background: linear-gradient(135deg, #8B5CF6, #0EA5E9);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.btn-add-cart:hover {
    background: linear-gradient(135deg, #0EA5E9, #8B5CF6);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

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

.btn-plus, .btn-minus {
    background: linear-gradient(135deg, #8B5CF6, #0EA5E9);
    color: rgb(255, 255, 255);
    border: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 1px 4px rgba(139, 92, 246, 0.3);
}

.btn-minus:hover, .btn-plus:hover {
    background: linear-gradient(135deg, #0EA5E9, #8B5CF6);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}



.quantity {
    font-weight: bold;
    font-size: 1.1rem;
    color: inherit;
    min-width: 20px;
    text-align: center;
}

/* Secciones de contenido */
#home, #products, #contact {
    color: inherit;
    text-align: center;
}

#home:hover, #products:hover, #contact:hover {
    border-radius: 5px;
    background-color: #a77429;
    color: #fff;
}

.otro-div {
    background-color: #d3d1b6;
    width: 100%;
    min-height: 200px;
}

footer {
    background-color: #bcb88485;
    width: 100%;
    text-align: center;
    color: #52543c;
    font-size: 1.2rem;
    padding: 10px;
}

/* ============ BOTÓN DE SCROLL ANIMADO ============ */
.scroll-btn {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #8b7355, #a8a47a);
    border: none;
    border-radius: 50px;
    padding: 15px 25px;
    cursor: pointer;
    z-index: 100;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(139, 115, 85, 0.4);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: scrollBtnPulse 2s infinite ease-in-out;
    
}

.scroll-btn-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    position: relative;
    z-index: 2;
    padding: 0;
}

.scroll-text {
    font-family: 'Quicksand', 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    white-space: nowrap;
    animation: scrollTextGlow 2s infinite alternate ease-in-out;
    
}

.scroll-arrow {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.scroll-arrow .material-symbols-outlined {
    color: #ffffff;
    font-size: 3rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    animation: arrowBounce 1.5s infinite ease-in-out;
    display: block;
}

.scroll-arrow .arrow-2 {
    animation-delay: 0.3s;
    opacity: 0.7;
    margin-top: -35px; /* Solapar arrows */
}

.scroll-btn-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: glowSweep 3s infinite linear;
    pointer-events: none;
}

/* Animaciones del botón */
@keyframes scrollBtnPulse {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        box-shadow: 0 8px 25px rgba(139, 115, 85, 0.4);
    }
    50% {
        transform: translateX(-50%) scale(1.02);
        box-shadow: 0 12px 35px rgba(139, 115, 85, 0.6);
    }
}

@keyframes scrollTextGlow {
    0% {
        text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    }
    100% {
        text-shadow: 0 2px 4px rgba(0,0,0,0.3), 0 0 10px rgba(255, 255, 255, 0.3);
    }
}

@keyframes arrowBounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(2px);
    }
}

@keyframes glowSweep {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

/* Efectos hover del botón */
.scroll-btn:hover {
    transform: translateX(-50%) scale(1.1);
    background: linear-gradient(135deg, #a8a47a, #bbac91);
    box-shadow: 0 15px 40px rgba(139, 115, 85, 0.7);
    animation: none; /* Detener la animación de pulso en hover */
}

.scroll-btn:hover .scroll-text {
    animation: none;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3), 0 0 15px rgba(255, 255, 255, 0.5);
}

.scroll-btn:hover .scroll-arrow .material-symbols-outlined {
    animation: arrowBounceHover 0.6s infinite ease-in-out;
    color: #f0f0f0;
}

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

/* Efecto de click */
.scroll-btn:active {
    transform: translateX(-50%) scale(0.95);
    transition: transform 0.1s ease;
}

/* Ajuste para dispositivos móviles */
@media (max-width: 768px) {
    .scroll-btn {
        bottom: 20px;
        padding: 12px 20px;
        border-radius: 40px;
    }
    
    .scroll-text {
        font-size: 0.8rem;
    }
    
    .scroll-arrow .material-symbols-outlined {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .scroll-btn {
        bottom: 15px;
        padding: 10px 15px;
    }
    
    .scroll-text {
        font-size: 0.7rem;
    }
}

/* ============ RESPONSIVE DESIGN COMPLETO ============ */

/* Extra Large Screens (1400px+) */
@media (min-width: 1400px) {
    .imagenes-header {
        max-width: 1400px;
        margin: 0 auto;
    }
    
    header h1 {
        font-size: 4rem;
    }
    
    header p {
        font-size: 1.8rem;
    }
    
    .product-list .producto1 {
        width: 280px;
        flex-shrink: 0;
    }
    
    .products-carousel-container {
        max-width: 1600px;
    }
}

/* Large Screens (1200px - 1399px) */
@media (max-width: 1399px) and (min-width: 1200px) {
    .imagenes-header {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .imagen-1, .imagen-2, .imagen-3, .imagen-4, .imagen-5 {
        position: relative;
        width: 30%;
        height: 80%;
        margin: 5px;
        clip-path: none;
        border-radius: 15px;
        flex-shrink: 0;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        object-fit: cover;
        object-position: center top;
    }
    
    .imagen-1 { order: 1; }
    .imagen-2 { order: 2; }
    .imagen-3 { order: 3; }
    .imagen-4 { order: 4; }
    .imagen-5 { order: 5; }
    
    header h1 {
        font-size: 3.2rem;
    }
    
    header p {
        font-size: 1.6rem;
    }
}

/* Medium-Large Screens (992px - 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
    .imagenes-header {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 10px;
        height: 70%;
    }
    
    .imagen-1, .imagen-2, .imagen-3, .imagen-4, .imagen-5 {
        position: relative;
        width: 45%;
        height: 30%;
        margin: 5px;
        clip-path: none;
        border-radius: 12px;
        flex-shrink: 0;
    }
    
    .imagen-1 { order: 1; }
    .imagen-2 { order: 2; }
    .imagen-3 { order: 3; }
    .imagen-4 { order: 4; }
    .imagen-5 { order: 5; }
    
    header {
        height: 100vh;
        min-height: 100vh;
    }
    
    header h1 {
        font-size: 2.8rem;
        margin-bottom: 0.8rem;
    }
    
    header p {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }
    
    .products {
        display: flex;
        gap: 15px;
    }
    
    .product-list li {
        width: 280px;
        min-height: 400px;
        flex-shrink: 0;
    }
    
    .products-carousel-container {
        max-width: 1400px;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
    }
    
    .carousel-btn .material-symbols-outlined {
        font-size: 1.8rem;
    }
}

/* Medium Screens (768px - 991px) - Tablets */
@media (max-width: 991px) and (min-width: 768px) {
    .imagenes-header {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        height: 70%;
        gap: 8px;
        padding: 10px;
    }
    
    .imagen-1, .imagen-2, .imagen-3, .imagen-4, .imagen-5 {
        position: relative;
        width: 30%;
        height: 85%;
        margin: 2px;
        clip-path: none;
        border-radius: 12px;
        flex-shrink: 0;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        object-fit: cover;
        object-position: center top;
    }
    
    .imagen-1 { order: 1; }
    .imagen-2 { order: 2; }
    .imagen-3 { order: 3; }
    .imagen-4 { order: 4; }
    .imagen-5 { order: 5; }
    
    header {
        height: 100vh;
        min-height: 100vh;
        font-size: 1.5rem;
    }
    
    header h1 {
        font-size: 2.5rem;
        margin-bottom: 0.6rem;
    }
    
    header p {
        font-size: 1.2rem;
        margin-bottom: 1.2rem;
    }
    
    .container {
        flex-direction: column;
        min-height: 30vh;
    }
    
    .side-bar {
        width: 100%;
        height: auto;
        position: relative;
        order: 1;
    }
    
    .sidebar__nav {
        width: 100%;
        height: auto;
        flex-direction: row;
        justify-content: center;
        padding: 8px;
        background-color: rgba(148, 145, 105, 0.9);
    }
    
    nav ul {
        flex-direction: row;
        height: auto;
        gap: 8px;
        justify-content: center;
    }
    
    nav ul li {
        width: auto;
        padding: 8px 16px;
        flex-shrink: 0;
    }
    
    nav ul a {
        font-size: 1.5rem;
    }
    
    main {
        order: 2;
        width: 100%;
        height: auto;
    }
    
    .products {
        display: flex;
        gap: 10px;
    }
    
    .product-list li {
        width: 250px;
        min-height: 350px;
        flex-shrink: 0;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
    }
    
    .carousel-btn .material-symbols-outlined {
        font-size: 1.4rem;
    }
    
    .carousel-prev {
        left: 2px;
    }
    
    .carousel-next {
        right: 2px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-btn .material-symbols-outlined {
        font-size: 1.6rem;
    }
    
    .carousel-prev {
        left: 5px;
    }
    
    .carousel-next {
        right: 5px;
    }
    
    .product-list {
        padding: 15px;
    }
    
    .seleccion-compra {
        height: 110px;
        flex-direction: column;
        gap: 6px;
    }
    
    .selector-modelo {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    
    .product-controls {
        height: 55px;
    }
    
    .btn-add-cart {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
}

/* Small-Medium Screens (576px - 767px) - Large Phones */
@media (max-width: 767px) and (min-width: 576px) {
    .imagenes-header {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        height: 65%;
        gap: 6px;
        padding: 8px;
    }
    
    .imagen-1, .imagen-2, .imagen-3, .imagen-4, .imagen-5 {
        position: relative;
        width: 45%;
        height: 75%;
        margin: 2px;
        clip-path: none;
        border-radius: 10px;
        flex-shrink: 0;
        box-shadow: 0 3px 12px rgba(0,0,0,0.2);
        object-fit: cover;
        object-position: center top;
    }
    
    .imagen-1 { order: 1; }
    .imagen-2 { order: 2; }
    .imagen-3 { order: 3; }
    .imagen-4 { order: 4; }
    .imagen-5 { order: 5; }
    
    header {
        height: 100vh;
        min-height: 100vh;
        font-size: 1.3rem;
    }
    
    header h1 {
        font-size: 2.2rem;
        margin-bottom: 0.5rem;
    }
    
    header p {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .container {
        flex-direction: column;
        min-height: 40vh;
    }
    
    .side-bar {
        width: 100%;
        height: auto;
        position: relative;
        order: 1;
    }
    
    .sidebar__nav {
        width: 100%;
        height: auto;
        flex-direction: row;
        justify-content: center;
        padding: 6px;
        background-color: rgba(148, 145, 105, 0.95);
    }
    
    nav ul {
        flex-direction: row;
        height: auto;
        gap: 6px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    nav ul li {
        width: auto;
        padding: 6px 12px;
        flex-shrink: 0;
    }
    
    nav ul a {
        font-size: 1.3rem;
    }
    
    main {
        order: 2;
        width: 100%;
        height: auto;
    }
    
    .products {
        display: flex;
        gap: 12px;
    }
    
    .product-list li {
        width: 250px;
        min-height: 350px;
    }
    
    .product-list {
        padding: 12px;
    }
    
    .product-list h3 {
        font-size: 1.8rem;
    }
    
    .product-name {
        font-size: 1.6rem;
    }
    
    .seleccion-compra {
        height: 100px;
        flex-direction: column;
        gap: 5px;
    }
    
    .selector-modelo {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .size-selector, .color-selector {
        font-size: 0.85rem;
    }
    
    .product-controls {
        height: 50px;
    }
    
    .quantity-controls {
        gap: 6px;
    }
    
    .btn-add-cart {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
    
    .btn-plus, .btn-minus {
        width: 20px;
        height: 20px;
        font-size: 1.1rem;
    }
    
    .scroll-btn {
        bottom: 20px;
        padding: 10px 20px;
    }
    
    .scroll-text {
        font-size: 1.2rem;
    }
    
    .scroll-arrow .material-symbols-outlined {
        font-size: 2.5rem;
    }
}

/* Small Screens (480px - 575px) - Medium Phones */
@media (max-width: 575px) and (min-width: 480px) {
    .imagenes-header {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        height: 60%;
        gap: 4px;
        padding: 6px;
    }
    
    .imagen-1, .imagen-2, .imagen-3, .imagen-4, .imagen-5 {
        position: relative;
        width: 48%;
        height: 65%;
        margin: 1px;
        clip-path: none;
        border-radius: 8px;
        flex-shrink: 0;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        object-fit: cover;
        object-position: center top;
    }
    
    .imagen-1 { order: 1; }
    .imagen-2 { order: 2; }
    .imagen-3 { order: 3; }
    .imagen-4 { order: 4; }
    .imagen-5 { order: 5; }
    
    header {
        height: 100vh;
        min-height: 100vh;
        font-size: 1.1rem;
    }
    
    header h1 {
        font-size: 1.8rem;
        margin-bottom: 0.4rem;
    }
    
    header p {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .container {
        flex-direction: column;
        min-height: 50vh;
    }
    
    .side-bar {
        width: 100%;
        height: auto;
        position: relative;
        order: 1;
    }
    
    .sidebar__nav {
        width: 100%;
        height: auto;
        flex-direction: row;
        justify-content: center;
        padding: 4px;
        background-color: rgba(148, 145, 105, 0.98);
    }
    
    nav ul {
        flex-direction: row;
        height: auto;
        gap: 4px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    nav ul li {
        width: auto;
        padding: 4px 8px;
        flex-shrink: 0;
    }
    
    nav ul a {
        font-size: 1.1rem;
    }
    
    main {
        order: 2;
        width: 100%;
        height: auto;
    }
    
    .products {
        display: flex;
        gap: 8px;
    }
    
    .product-list li {
        width: 100%;
        max-width: 280px;
        min-height: 320px;
        margin: 0 auto;
        flex-shrink: 0;
    }
    
    .carousel-btn {
        width: 30px;
        height: 30px;
    }
    
    .carousel-btn .material-symbols-outlined {
        font-size: 1.2rem;
    }
    
    .carousel-prev {
        left: 1px;
    }
    
    .carousel-next {
        right: 1px;
    }
    
    .product-list {
        padding: 8px;
    }
    
    .product-list h3 {
        font-size: 1.6rem;
    }
    
    .product-name {
        font-size: 1.4rem;
    }
    
    .seleccion-compra {
        height: 90px;
        flex-direction: column;
        gap: 4px;
    }
    
    .selector-modelo {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 4px;
    }
    
    .size-selector, .color-selector {
        font-size: 0.8rem;
    }
    
    .product-controls {
        height: 45px;
    }
    
    .quantity-controls {
        gap: 4px;
    }
    
    .btn-add-cart {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
    
    .btn-plus, .btn-minus {
        width: 18px;
        height: 18px;
        font-size: 1rem;
    }
    
    .scroll-btn {
        bottom: 15px;
        padding: 8px 16px;
    }
    
    .scroll-text {
        font-size: 1rem;
    }
    
    .scroll-arrow .material-symbols-outlined {
        font-size: 2rem;
    }
    
    .slider-indicators {
        top: 8px;
        gap: 3px;
    }
    
    .indicator {
        width: 5px;
        height: 5px;
    }
}

/* Extra Small Screens (320px - 479px) - Small Phones */
@media (max-width: 479px) and (min-width: 320px) {
    .imagenes-header {
        flex-direction: column;
        align-items: center;
        height: 82%;
        gap: 3px;
    }
    
    .imagen-1, .imagen-2, .imagen-3, .imagen-4, .imagen-5 {
        position: relative;
        width: 95%;
        height: 20%;
        margin: 1px 0;
        clip-path: none;
        border-radius: 4px;
        flex-shrink: 0;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        object-fit: cover;
        object-position: center top;
    }
    
    .imagen-1 {
        height: 50%;
    }
    
    .imagen-1 img, .imagen-2 img, .imagen-3 img, .imagen-4 img, .imagen-5 img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
        border-radius: 4px;
        
   
    }
    
    .imagen-1 { order: 1; }
    .imagen-2 { order: 2; }
    .imagen-3 { order: 3; }
    .imagen-4 { order: 4; }
    .imagen-5 { order: 5; }
    
    header {
        height: 100vh;
        min-height: 100vh;
        font-size: 1rem;
    }
    
    header h1 {
        font-size: 1.6rem;
        margin-bottom: 0.3rem;
    }
    
    header p {
        font-size: 0.8rem;
        margin-bottom: 0.6rem;
    }
    
    .container {
        flex-direction: column;
        min-height: 55vh;
    }
    
    .side-bar {
        width: 100%;
        height: auto;
        position: relative;
        order: 1;
    }
    
    .sidebar__nav {
        width: 100%;
        height: auto;
        flex-direction: row;
        justify-content: center;
        padding: 3px;
        background-color: rgba(148, 145, 105, 1);
    }
    
    nav ul {
        flex-direction: row;
        height: auto;
        gap: 3px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    nav ul li {
        width: auto;
        padding: 3px 6px;
        flex-shrink: 0;
    }
    
    nav ul a {
        font-size: 1rem;
    }
    
    main {
        order: 2;
        width: 100%;
        height: auto;
    }
    
    .products {
        display: flex;
        gap: 6px;
    }
    
    .product-list li {
        width: 100%;
        max-width: 260px;
        min-height: 300px;
        margin: 0 auto;
    }
    
    .product-list {
        padding: 6px;
    }
    
    .product-list h3 {
        font-size: 1.4rem;
    }
    
    .product-name {
        font-size: 1.2rem;
    }
    
    .seleccion-compra {
        height: 80px;
        flex-direction: column;
        gap: 3px;
    }
    
    .selector-modelo {
        width: 100%;
        justify-content: space-between;
        flex-direction: column;
        gap: 3px;
    }
    
    .size-selector, .color-selector {
        font-size: 0.75rem;
        justify-content: center;
    }
    
    .product-controls {
        height: 40px;
    }
    
    .quantity-controls {
        gap: 3px;
    }
    
    .btn-add-cart {
        font-size: 0.65rem;
        padding: 3px 6px;
    }
    
    .btn-plus, .btn-minus {
        width: 16px;
        height: 16px;
        font-size: 0.9rem;
    }
    
    .scroll-btn {
        bottom: 10px;
        padding: 6px 12px;
    }
    
    .scroll-text {
        font-size: 0.8rem;
    }
    
    .scroll-arrow .material-symbols-outlined {
        font-size: 1.5rem;
    }
    
    .slider-indicators {
        top: 5px;
        gap: 2px;
    }
    
    .indicator {
        width: 4px;
        height: 4px;
    }
    
    .otro-div {
        padding: 10px;
    }
    
    .otro-div h2 {
        font-size: 1.5rem;
    }
    
    .otro-div p {
        font-size: 0.9rem;
    }
    
    footer {
        font-size: 1rem;
        padding: 8px;
    }
}

/* Ultra Small Screens (less than 320px) - Very Small Phones */
@media (max-width: 319px) {
    .imagenes-header {
        height: 40%;
        gap: 2px;
    }
    
    .imagen-1, .imagen-2, .imagen-3, .imagen-4, .imagen-5 {
        width: 98%;
        height: 20%;
        margin: 0.5px 0;
        border-radius: 3px;
        box-shadow: 0 1px 5px rgba(0,0,0,0.2);
        object-fit: cover;
        object-position: center top;
    }
    
    header {
        height: 100vh;
        min-height: 100vh;
        font-size: 0.9rem;
    }
    
    header h1 {
        font-size: 1.4rem;
        margin-bottom: 0.2rem;
    }
    
    header p {
        font-size: 0.7rem;
        margin-bottom: 0.4rem;
    }
    
    .container {
        min-height: 60vh;
    }
    
    .sidebar__nav {
        padding: 2px;
    }
    
    nav ul {
        gap: 2px;
    }
    
    nav ul li {
        padding: 2px 4px;
    }
    
    nav ul a {
        font-size: 0.9rem;
    }
    
    .product-list li {
        max-width: 240px;
        min-height: 280px;
    }
    
    .product-list {
        padding: 4px;
    }
    
    .product-list h3 {
        font-size: 1.2rem;
    }
    
    .product-name {
        font-size: 1.1rem;
    }
    
    .seleccion-compra {
        height: 70px;
        gap: 2px;
    }
    
    .selector-modelo {
        gap: 2px;
    }
    
    .size-selector, .color-selector {
        font-size: 0.7rem;
    }
    
    .product-controls {
        height: 35px;
    }
    
    .quantity-controls {
        gap: 2px;
    }
    
    .btn-add-cart {
        font-size: 0.6rem;
        padding: 2px 4px;
    }
    
    .btn-plus, .btn-minus {
        width: 14px;
        height: 14px;
        font-size: 0.8rem;
    }
    
    .scroll-btn {
        bottom: 8px;
        padding: 4px 8px;
    }
    
    .scroll-text {
        font-size: 0.7rem;
    }
    
    .scroll-arrow .material-symbols-outlined {
        font-size: 1.2rem;
    }
    
    .slider-indicators {
        top: 3px;
        gap: 1px;
    }
    
    .indicator {
        width: 3px;
        height: 3px;
    }
}

/* Asegurar que el contenedor de productos tenga altura completa */
.container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    min-height: 100vh; /* Asegurar altura completa */
    margin-top: 0;
}

/* Ajustar main para scroll preciso */
main {
    width: 100%;
    height: 100vh; /* Altura exacta del viewport */
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/* Ajustar product-list para ocupar el viewport completo */
.product-list {
    color: #1F2937;
    font-size: 2rem;
    width: 100%;
    min-height: 100vh; /* Altura mínima completa del viewport */
    text-align: center;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #F7F7F5, #E5E7EB);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
    justify-content: flex-start;
}

/* ============ GRID DE PRODUCTOS MODERNO ============ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: clamp(16px, 2vw, 24px);
}

.product-card img {
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: calc(var(--radius) - 8px);
    width: 100%;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.product-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin-top: 12px;
}

.select, .qty {
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0 10px;
    background: #fff;
}

.product-card .btn {
    width: 100%;
}

.product-card {
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(17, 24, 39, 0.08);
}

/* ============ SECCIÓN DE PRODUCTOS DESTACADOS REDISEÑADA ============ */
.featured-products-section {
    background: linear-gradient(135deg, #F7F7F5, #E5E7EB);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

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

.section-header .section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: #8B5CF6;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-header .section-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: #6B7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============ BANNER CARRUSEL ============ */
.banner-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 50px auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(17, 24, 39, 0.1);
}

.banner-carousel {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.banner-slide {
    min-width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 40px;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

.banner-content.ofertas {
    background: linear-gradient(135deg, #8B5CF6, #0EA5E9);
}

.banner-content.stock {
    background: linear-gradient(135deg, #EF4444, #F97316);
}

.banner-content.novedades {
    background: linear-gradient(135deg, #10B981, #06B6D4);
}

.banner-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.banner-icon .material-symbols-outlined {
    font-size: 2.5rem;
    color: #fff;
}

.banner-text h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.banner-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.5;
}

.banner-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.banner-dot.active {
    background: #8B5CF6;
    transform: scale(1.2);
}

.banner-dot:hover {
    background: #8B5CF6;
    transform: scale(1.1);
}

/* ============ CARRUSELES DUALES ============ */
.dual-carousels-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.carousel-main, .carousel-secondary {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(17, 24, 39, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.carousel-title {
    font-size: 1.3rem;
    color: #8B5CF6;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
    position: relative;
}

.carousel-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #8B5CF6, #0EA5E9);
    border-radius: 2px;
}

/* ============ CARRUSEL DE PRODUCTOS DESTACADOS ============ */
.products-carousel-container {
    position: relative;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    overflow: hidden;
}

.products-carousel {
    position: relative;
}

.products {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px;
    padding: 0 10px;
    width: 100%;
}

/* ============ CARRUSEL EN SENTIDO CONTRARIO ============ */
.products.reverse {
    animation: slideLeft 20s linear infinite;
}

.products-carousel.reverse {
    overflow: hidden;
}

.products-carousel-container.reverse .carousel-btn {
    display: none; /* Ocultar botones en carrusel automático */
}

@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Pausar animación en hover */
.products-carousel-container.reverse:hover .products.reverse {
    animation-play-state: paused;
}

/* ============ RESPONSIVE PARA SECCIÓN REDISEÑADA ============ */
@media (max-width: 1024px) {
    .dual-carousels-container {
        gap: 15px;
    }
    
    .carousel-main, .carousel-secondary {
        padding: 12px;
    }
    
    .carousel-title {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .product-list .producto1 {
        width: 200px;
        min-height: 300px;
    }
    
    .contenedor-img-product {
        height: 150px;
    }
    
    .products img {
        height: 150px;
    }
    
    .seleccion-compra {
        height: 80px;
        gap: 4px;
        padding: 4px;
    }
    
    .size-selector, .color-selector {
        font-size: 0.6rem;
    }
    
    .size-select {
        padding: 2px 4px;
        font-size: 0.6rem;
    }
    
    .color-btn {
        width: 16px;
        height: 14px;
    }
    
    .btn-add-cart {
        font-size: 0.6rem;
        padding: 3px 6px;
    }
    
    .btn-plus, .btn-minus {
        width: 14px;
        height: 14px;
        font-size: 0.7rem;
    }
    
    .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 30px;
    }
    
    .banner-icon {
        width: 60px;
        height: 60px;
    }
    
    .banner-icon .material-symbols-outlined {
        font-size: 2rem;
    }
    
    .banner-text h3 {
        font-size: 1.5rem;
    }
    
    .banner-text p {
        font-size: 1rem;
    }
}

/* Breakpoint intermedio para tablets grandes */
@media (max-width: 900px) {
    .dual-carousels-container {
        gap: 18px;
    }
    
    .carousel-main, .carousel-secondary {
        padding: 18px;
    }
    
    .product-list .producto1 {
        width: 200px;
        min-height: 300px;
    }
    
    .carousel-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .featured-products-section {
        padding: 20px 0;
    }
    
    .section-header {
        margin-bottom: 20px;
    }
    
    .section-header .section-title {
        font-size: 1.8rem;
    }
    
    .section-header .section-subtitle {
        font-size: 0.9rem;
    }
    
    .banner-carousel-container {
        margin-bottom: 20px;
    }
    
    .banner-slide {
        height: 100px;
    }
    
    .banner-content {
        padding: 12px;
        gap: 8px;
    }
    
    .banner-icon {
        width: 35px;
        height: 35px;
    }
    
    .banner-icon .material-symbols-outlined {
        font-size: 1rem;
    }
    
    .banner-text h3 {
        font-size: 0.9rem;
    }
    
    .banner-text p {
        font-size: 0.7rem;
    }
    
    .dual-carousels-container {
        padding: 0 8px;
        gap: 12px;
    }
    
    .carousel-main, .carousel-secondary {
        padding: 10px;
    }
    
    .carousel-title {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .product-list .producto1 {
        width: 160px;
        min-height: 240px;
    }
    
    .contenedor-img-product {
        height: 120px;
    }
    
    .products img {
        height: 120px;
    }
    
    .product-name {
        font-size: 0.8rem;
    }
    
    .seleccion-compra {
        height: 60px;
        gap: 3px;
        padding: 3px;
    }
    
    .size-selector, .color-selector {
        font-size: 0.5rem;
    }
    
    .size-select {
        padding: 1px 3px;
        font-size: 0.5rem;
    }
    
    .color-btn {
        width: 12px;
        height: 10px;
    }
    
    .btn-add-cart {
        font-size: 0.5rem;
        padding: 2px 4px;
    }
    
    .btn-plus, .btn-minus {
        width: 12px;
        height: 12px;
        font-size: 0.6rem;
    }
    
    .carousel-btn {
        width: 25px;
        height: 25px;
    }
    
    .carousel-btn .material-symbols-outlined {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .featured-products-section {
        padding: 15px 0;
    }
    
    .section-header {
        margin-bottom: 15px;
    }
    
    .section-header .section-title {
        font-size: 1.5rem;
    }
    
    .section-header .section-subtitle {
        font-size: 0.8rem;
    }
    
    .banner-carousel-container {
        margin-bottom: 15px;
    }
    
    .banner-slide {
        height: 80px;
    }
    
    .banner-content {
        padding: 8px;
        gap: 6px;
    }
    
    .banner-icon {
        width: 30px;
        height: 30px;
    }
    
    .banner-icon .material-symbols-outlined {
        font-size: 0.8rem;
    }
    
    .banner-text h3 {
        font-size: 0.7rem;
    }
    
    .banner-text p {
        font-size: 0.6rem;
    }
    
    .dual-carousels-container {
        padding: 0 5px;
        gap: 10px;
    }
    
    .carousel-main, .carousel-secondary {
        padding: 8px;
    }
    
    .carousel-title {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .product-list .producto1 {
        width: 140px;
        min-height: 180px;
    }
    
    .contenedor-img-product {
        height: 80px;
    }
    
    .products img {
        height: 80px;
    }
    
    .product-name {
        font-size: 0.7rem;
    }
    
    .seleccion-compra {
        height: 45px;
        gap: 2px;
        padding: 1px;
    }
    
    .size-selector, .color-selector {
        font-size: 0.4rem;
    }
    
    .size-select {
        padding: 1px 2px;
        font-size: 0.4rem;
    }
    
    .color-btn {
        width: 10px;
        height: 8px;
    }
    
    .btn-add-cart {
        font-size: 0.4rem;
        padding: 1px 3px;
    }
    
    .btn-plus, .btn-minus {
        width: 10px;
        height: 10px;
        font-size: 0.5rem;
    }
    
    .carousel-btn {
        width: 20px;
        height: 20px;
    }
    
    .carousel-btn .material-symbols-outlined {
        font-size: 0.8rem;
    }
    
    .carousel-prev {
        left: 1px;
    }
    
    .carousel-next {
        right: 1px;
    }
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #8B5CF6, #0EA5E9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: linear-gradient(135deg, #0EA5E9, #8B5CF6);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-btn .material-symbols-outlined {
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

/* ============ INDICADORES DE CARRUSEL MODERNOS ============ */
.carousel-dots button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    opacity: 0.5;
    background: #fff;
    border: none;
    margin: 0 4px;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dots .is-active {
    opacity: 1;
    transform: scale(1.2);
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.carousel-dot.active {
    background-color: #fff;
    transform: scale(1.2);
    opacity: 1;
}

.carousel-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

/* ============ ESTADOS DE CARGA Y MEJORAS UX ============ */

/* Loading spinner para imágenes */
.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #8b7355;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Skeleton loading para productos */
.product-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 10px;
    height: 400px;
    margin: 10px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Mejoras en botones */
.btn-add-cart {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-add-cart:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-add-cart:hover:before {
    left: 100%;
}

.btn-add-cart:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Efectos de hover mejorados */
.producto1 {
    transition: all 0.3s ease;
    cursor: pointer;
}

.producto1:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
    border-color: #8B5CF6;
}

.producto1:hover .contenedor-img-product img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Mejoras en el scroll */
.scroll-btn {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Animación de entrada para productos */
.producto1 {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered animation para productos */
.producto1:nth-child(1) { animation-delay: 0.1s; }
.producto1:nth-child(2) { animation-delay: 0.2s; }
.producto1:nth-child(3) { animation-delay: 0.3s; }
.producto1:nth-child(4) { animation-delay: 0.4s; }
.producto1:nth-child(5) { animation-delay: 0.5s; }
.producto1:nth-child(6) { animation-delay: 0.6s; }

/* Mejoras en notificaciones */
.cart-notification {
    animation: slideInRight 0.5s ease-out;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Focus states para accesibilidad */
.btn-add-cart:focus,
.btn-plus:focus,
.btn-minus:focus,
.color-btn:focus,
.size-select:focus {
    outline: 2px solid #8B5CF6;
    outline-offset: 2px;
}

/* Mejoras en el sidebar */
.sidebar__nav {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Smooth transitions para todos los elementos interactivos */
* {
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* ============ HEADER ORIGINAL RESTAURADO CON MEJORAS ============ */

/* Título superpuesto con animaciones interactivas */
.header-title-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    pointer-events: none;
}

.title-container {
    text-align: center;
    animation: titleFadeIn 1.5s ease-out;
}

.main-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    margin: 0;
    line-height: 0.9;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
}

.title-word {
    display: inline-block;
    background: linear-gradient(135deg, #FFFFFF, #F0F9FF, #8B5CF6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: wordFloat 3s ease-in-out infinite;
    position: relative;
}

.title-word:nth-child(1) {
    animation-delay: 0s;
}

.title-word:nth-child(2) {
    animation-delay: 0.5s;
    margin-left: 0.2em;
}

.title-subtitle {
    margin-top: 1rem;
    animation: subtitleSlideUp 1.8s ease-out 0.5s both;
}

.subtitle-text {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 1rem 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    font-weight: 300;
}

.title-details {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: detailsFadeIn 2s ease-out 1s both;
}

.detail-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    animation: detailPulse 2s ease-in-out infinite;
}

.detail-item:nth-child(1) { animation-delay: 0s; }
.detail-item:nth-child(2) { animation-delay: 0.3s; }
.detail-item:nth-child(3) { animation-delay: 0.6s; }

.detail-item:hover {
    transform: translateY(-3px) scale(1.05);
    background: rgba(139, 92, 246, 0.3);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.title-decoration {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: decorationFadeIn 2.5s ease-out 1.5s both;
}

.decoration-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #8B5CF6, transparent);
    margin: 0 auto 1rem;
    animation: lineGlow 2s ease-in-out infinite;
}

.decoration-dots {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    animation: dotBounce 1.5s ease-in-out infinite;
}

.dot:nth-child(1) { animation-delay: 0s; }
.dot:nth-child(2) { animation-delay: 0.2s; }
.dot:nth-child(3) { animation-delay: 0.4s; }

/* Animaciones */
@keyframes titleFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes wordFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes subtitleSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes detailsFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes detailPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

@keyframes decorationFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes lineGlow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(139, 92, 246, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.6);
    }
}

@keyframes dotBounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Animaciones de slide para móvil - desde la derecha */
@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutToLeft {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

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

/* Animaciones de carga inicial para móvil - reemplazan las diagonales */
@keyframes slideInFromRightMobile1 {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

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

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

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

/* ============ RESPONSIVE DESIGN PARA HEADER ORIGINAL ============ */

/* Mobile (<768px) → Estilo portada que ocupa todo el viewport */
@media (max-width: 767.98px) {
    header {
        height: 100vh;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .imagenes-header {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    /* Solo mostrar una imagen a la vez en móvil */
    .images {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        clip-path: none;
        border-radius: 0;
        z-index: 1;
    }
    
    /* Reemplazar animaciones diagonales con animaciones desde la derecha en móvil */
    .imagen-1 {
        animation: slideInFromRightMobile1 1s ease-out;
    }
    
    .imagen-2 {
        animation: slideInFromRightMobile2 1.1s ease-out;
    }
    
    .imagen-3 {
        animation: slideInFromRightMobile3 1.15s ease-out;
    }
    
    .imagen-4 {
        animation: slideInFromRightMobile4 1.2s ease-out;
    }
    
    .imagen-5 {
        animation: slideInFromRightMobile5 1.1s ease-out;
    }
    
    /* Ocultar todas las imágenes excepto la primera */
    .imagen-2, .imagen-3, .imagen-4, .imagen-5 {
        display: none;
    }
    
    /* La primera imagen ocupa toda la pantalla */
    .imagen-1 {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        clip-path: none;
        z-index: 1;
    }
    
    /* Overlay para legibilidad del texto - MÁS OSCURO EN MÓVIL */
    .imagenes-header::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4) 30%, rgba(0, 0, 0, 0.7) 70%, rgba(0, 0, 0, 0.8));
        z-index: 2;
        pointer-events: none;
    }
    
    /* Título superpuesto optimizado para móvil */
    .header-title-overlay {
        z-index: 9999;
    }
    
    .main-title {
        font-size: clamp(2.5rem, 10vw, 4.5rem);
        text-shadow: 0 6px 25px rgba(0, 0, 0, 0.8);
        filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.6));
    }
    
    .subtitle-text {
        font-size: clamp(1rem, 4vw, 1.4rem);
        text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
        color: rgba(255, 255, 255, 0.98);
    }
    
    .title-details {
        gap: 1rem;
    }
    
    .detail-item {
        font-size: clamp(0.8rem, 3vw, 1rem);
        padding: 0.4rem 0.8rem;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    }
    
    /* Indicadores más grandes y visibles */
    .slider-indicators {
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 3;
        display: flex;
        gap: 12px;
    }
    
    .indicator {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.5);
        border: 2px solid rgba(255, 255, 255, 0.8);
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .indicator.active {
        background: #8B5CF6;
        border-color: #8B5CF6;
        transform: scale(1.2);
    }
}

/* ============ MEJORAS RESPONSIVE ADICIONALES ============ */

/* Touch-friendly interactions para móviles */
@media (hover: none) and (pointer: coarse) {
    .btn-add-cart, .btn-plus, .btn-minus {
        min-height: 44px;
        min-width: 44px;
    }
    
    .color-btn {
        min-height: 20px;
        min-width: 20px;
    }
    
    .images:hover {
        transform: none;
    }
    
    .producto1:hover {
        transform: none;
    }
    
    .scroll-btn:hover {
        transform: translateX(-50%) scale(1);
    }
}

/* Landscape orientation para móviles */
@media (max-height: 500px) and (orientation: landscape) {
    header {
        height: 100vh;
        min-height: 100vh;
    }
    
    .imagenes-header {
        height: 80%;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .imagen-1, .imagen-2, .imagen-3, .imagen-4, .imagen-5 {
        width: 18%;
        height: 100%;
        margin: 0;
    }
    
    header h1 {
        font-size: 1.8rem;
        margin-bottom: 0.2rem;
    }
    
    header p {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .scroll-btn {
        bottom: 10px;
        padding: 6px 12px;
    }
    
    .scroll-text {
        font-size: 0.8rem;
    }
    
    .scroll-arrow .material-symbols-outlined {
        font-size: 1.5rem;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .slider-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --color-background: #2a2a2a;
        --color-text: #ffffff;
        --bg-color: #1a1a1a;
        --sidebar-color: #4a4a4a;
    }
    
    body {
        background-color: var(--bg-color);
        color: var(--color-text);
    }
    
    .product-list {
        background-color: var(--color-background);
    }
    
    .sidebar__nav {
        background-color: rgba(74, 74, 74, 0.9);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .slider-img {
        transition: none;
    }
    
    .images {
        transition: none;
    }
    
    .producto1 {
        animation: none;
    }
}

/* Print styles */
@media print {
    .imagenes-header,
    .scroll-btn,
    .sidebar__form,
    .slider-indicators {
        display: none;
    }
    
    header {
        height: auto;
        min-height: auto;
        page-break-after: always;
    }
    
    .products {
        display: flex;
        gap: 10px;
    }
    
    .product-list li {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* Accessibility improvements */
@media (prefers-contrast: high) {
    .btn-add-cart {
        border: 2px solid #000;
    }
    
    .indicator {
        border: 2px solid #000;
    }
    
    .color-option {
        border: 3px solid #000;
    }
}

/* Focus visible for keyboard navigation */
@media (prefers-reduced-motion: no-preference) {
    .btn-add-cart:focus-visible,
    .btn-plus:focus-visible,
    .btn-minus:focus-visible,
    .color-btn:focus-visible,
    .size-select:focus-visible {
        outline: 3px solid #8B5CF6;
        outline-offset: 2px;
        box-shadow: 0 0 0 5px rgba(139, 92, 246, 0.3);
    }
}

/* ============ SECCIONES MODERNAS ============ */
.kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.kpi {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
    text-align: center;
}

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

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

.input {
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0 12px;
    width: 100%;
}

.textarea {
    min-height: 120px;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
}

.form-cta {
    width: 100%;
}

/* ============ SECCIÓN QUIÉNES SOMOS ============ */
.about-section {
    background: linear-gradient(135deg, #F7F7F5, #E5E7EB);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23d3d1b6" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23d3d1b6" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23d3d1b6" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23d3d1b6" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%23d3d1b6" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.about-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    color: #8B5CF6;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

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

.about-text {
    display: grid;
    gap: 30px;
}

.about-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 5px solid #8b7355;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 115, 85, 0.05), transparent);
    transition: left 0.6s ease;
}

.about-card:hover::before {
    left: 100%;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8B5CF6, #0EA5E9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #fff;
    font-size: 1.8rem;
}

.about-card h3 {
    font-size: 1.5rem;
    color: #8B5CF6;
    margin-bottom: 15px;
    font-weight: 600;
}

.about-card p {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.stat-item {
    text-align: center;
    background: #fff;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid #8B5CF6;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #8B5CF6;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============ SECCIÓN DE CONTACTO ============ */
.contact-section {
    background: linear-gradient(135deg, #8B5CF6, #0EA5E9);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="contactPattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23contactPattern)"/></svg>');
    pointer-events: none;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-header .section-title {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-header .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

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

.contact-info {
    display: grid;
    gap: 25px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8B5CF6, #0EA5E9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: #fff;
    font-size: 1.5rem;
}

.contact-card h3 {
    font-size: 1.3rem;
    color: #8B5CF6;
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.contact-form {
    display: grid;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #8b7355;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8b7355;
    box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-group label {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.submit-btn {
    background: linear-gradient(135deg, #8B5CF6, #0EA5E9);
    color: #fff;
    border: none;
    padding: 18px 30px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.4);
    background: linear-gradient(135deg, #0EA5E9, #8B5CF6);
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* ============ RESPONSIVE PARA NUEVAS SECCIONES ============ */

@media (max-width: 768px) {
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-stats {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .about-card,
    .contact-card {
        padding: 20px;
    }
    
    .contact-form-container {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .about-section,
    .contact-section {
        padding: 60px 0;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .about-card,
    .contact-card {
        padding: 15px;
    }
    
    .contact-form-container {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* ============ MICRO-ANIMACIONES Y REVEAL ============ */
.reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ============ RESPONSIVE GLOBAL ============ */
@media (min-width: 480px) {
    /* ajustes menores */
}

@media (min-width: 768px) {
    .hero {
        min-height: 80vh;
    }
}

@media (min-width: 1024px) {
    .ui-container {
        padding-inline: 32px;
    }
}

@media (min-width: 1280px) {
    :root {
        --container: 1280px;
    }
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}