/* ============================================
   ESTILOS GENERALES
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&display=swap');

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

:root {
    --primary-color: #0066CC;
    --secondary-color: #FF6600;
    --success-color: #00AA44;
    --background-color: #F0F4FF;
    --text-color: #1A1A1A;
    --light-text: #666666;
    --border-color: #DDDDDD;
    --shadow: 0 1px 3px rgba(0, 102, 204, 0.15);
    --shadow-hover: 0 4px 12px rgba(255, 102, 0, 0.25);
    --transition: all 0.3s ease-in-out;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* ============================================
   TOP HEADER
   ============================================ */

.top-header {
    background: linear-gradient(90deg, #0066CC 0%, #0052A3 100%);
    border-bottom: 3px solid #FF6600;
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.header-info {
    display: flex;
    gap: 2rem;
    color: white;
}

.header-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-info i {
    color: #FFD700;
}

.header-right {
    display: flex;
    gap: 1.5rem;
}

.header-right a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.header-right a:hover {
    color: #FFD700;
}

/* ============================================
   MAIN HEADER
   ============================================ */

.header {
    background: linear-gradient(90deg, #FFFFFF 0%, #F0F4FF 100%);
    border-bottom: 2px solid #0066CC;
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.15);
    width: 100%;
    box-sizing: border-box;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 800;
    gap: 0.8rem;
    color: var(--primary-color);
    flex-shrink: 0;
    perspective: 800px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
}

.logo i {
    font-size: 2rem;
}

.logo-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    display: block;
}

/* Logo spin animation (gira como un dado y vuelve) */
.logo-spin {
    animation: logo-rotate 0.8s ease-in-out;
    transform-origin: center;
}

@keyframes logo-rotate {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(180deg) scale(1.05); }
    100% { transform: rotate(360deg); }
}

.search-bar {
    display: flex;
    flex: 1;
    position: relative;
    max-width: 500px;
}

.search-bar input {
    flex: 1;
    border: 2px solid #ddd;
    border-radius: 50px 0 0 50px;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    background-color: white;
    transition: all 0.3s ease;
}

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

.search-bar input::placeholder {
    color: #bbb;
}

.search-bar button {
    border: 2px solid #ddd;
    border-left: none;
    border-radius: 0 50px 50px 0;
    background-color: white;
    padding: 0 1.5rem;
    cursor: pointer;
    color: #666;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.search-bar button:hover {
    color: white;
    background-color: #FF6600;
    border-color: #FF6600;
}

.search-bar input:focus ~ button {
    border-color: #FF6600;
}

/* SEARCH SUGGESTIONS DROPDOWN */
.search-suggestions {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #FF6600;
    border-radius: 8px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 1000;
    opacity: 0;
}

.search-suggestions.show {
    max-height: 450px;
    overflow-y: auto;
    opacity: 1;
}

.search-suggestions::-webkit-scrollbar {
    width: 6px;
}

.search-suggestions::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.search-suggestions::-webkit-scrollbar-thumb {
    background: #FF6600;
    border-radius: 10px;
}

.search-suggestions::-webkit-scrollbar-thumb:hover {
    background: #e55a00;
}

.suggestion-item {
    padding: 1rem 1.5rem;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggestion-item:first-child {
    border-top: none;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background-color: #fff5f0;
    color: #FF6600;
    padding-left: 2rem;
}

.suggestion-item i {
    color: #FF6600;
    font-size: 0.85rem;
    min-width: 16px;
}

.header-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-shrink: 0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #0066CC;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.nav-item:hover {
    color: #FF6600;
    transform: translateY(-2px);
}

.nav-item.active {
    color: #FF6600;
    font-weight: 700;
    border-bottom: 3px solid #FF6600;
    padding-bottom: 0.25rem;
}

.nav-item i {
    font-size: 1.2rem;
}

.carrito-item {
    position: relative;
}

.carrito-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #FF6600 0%, #FF4400 100%);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(255, 102, 0, 0.3);
}

/* ============================================
   CARACTERÍSTICAS DEL PVC
   ============================================ */

.features-section {
    background: linear-gradient(135deg, #FFFFFF 0%, #E8F1FF 100%);
    padding: 3rem 2rem;
    border-bottom: 3px solid #FF6600;
}

.features-container {
    max-width: 1400px;
    margin: 0 auto;
}

.features-title {
    text-align: center;
    font-size: 1.3rem;
    color: #0066CC;
    margin-bottom: 2.5rem;
    font-weight: 500;
    font-style: italic;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    min-width: 0;
    padding: 0 1rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    min-width: fit-content;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E8F1FF, #FFF0E8);
    border: 3px solid #FF6600;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #FF6600;
    margin-bottom: 0.4rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.feature-item:hover .feature-icon {
    background: linear-gradient(135deg, #0066CC, #FF6600);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.3);
}

.feature-item p {
    font-size: 0.75rem;
    color: var(--text-color);
    font-weight: 500;
    max-width: 70px;
    line-height: 1.2;
    font-style: italic;
}

    .feature-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        cursor: pointer;
        flex: 0 0 120px; /* ancho fijo para centrar mejor */
        max-width: 140px;
    }

    .feature-icon {
        width: 80px;
        height: 80px;
        font-size: 1.8rem;
    }

    .feature-item p {
        font-size: 0.85rem;
    }


@media (max-width: 768px) {
    .features-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 1rem;
    }

    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
        margin-bottom: 0.7rem;
    }

    .feature-item p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .features-section {
        padding: 2rem 1rem;
    }

    .features-title {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
        gap: 0.8rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
        border-width: 2px;
    }

    .feature-item p {
        font-size: 0.75rem;
    }
}

/* ============================================
   CARRUSEL
   ============================================ */

/* ============================================
   CAROUSEL - PROFESIONAL Y CREATIVO CON WOW EFFECT
   ============================================ */

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomInSweep {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes shineEffect {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes slideFromRight {
    from {
        opacity: 0;
        transform: translateX(100px) rotateY(45deg);
    }
    to {
        opacity: 1;
        transform: translateX(0) rotateY(0);
    }
}

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

@keyframes textReveal {
    0% {
        opacity: 0;
        clip-path: inset(0 100% 0 0);
    }
    100% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
    }
}

@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(0, 0, 0, 0.8), 3px 3px 6px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 102, 0, 0.3);
    }
    50% {
        text-shadow: 0 0 30px rgba(0, 0, 0, 0.8), 3px 3px 6px rgba(0, 0, 0, 0.6), 0 0 50px rgba(255, 102, 0, 0.5);
    }
}

.carousel-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    padding: 3rem 0;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.carousel-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FF6600, transparent);
    box-shadow: 0 0 20px rgba(255, 102, 0, 0.5);
}

.carousel-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    padding: 0 2rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12), 0 0 40px rgba(255, 102, 0, 0.1);
    perspective: 1000px;
}

.carousel-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide.active {
    display: block;
    opacity: 1;
    animation: zoomInSweep 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.slide-content {
    display: flex;
    align-items: stretch;
    background: linear-gradient(135deg, #0066CC 0%, #FF6600 100%);
    color: white;
    border-radius: 16px;
    overflow: hidden;
    height: 320px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 102, 204, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform-style: preserve-3d;
}

.slide-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shineEffect 3s infinite;
    z-index: 1;
    pointer-events: none;
}

.pvc-slide {
    background-attachment: fixed;
    background-position: center;
    position: relative;
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pvc-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.65) 50%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
    transition: opacity 0.6s ease-out;
}

.pvc-texture {
    display: none;
}

.slide-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
    z-index: 2;
    position: relative;
}

.slide-text h2 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8), 3px 3px 6px rgba(0, 0, 0, 0.6);
    color: #FFFFFF;
    animation: textReveal 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}

.big-discount {
    font-size: 3.8rem;
    font-weight: 900;
    margin: 0.5rem 0;
    color: #FFFF00;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.9), 0 0 10px rgba(0, 0, 0, 0.9), 4px 4px 8px rgba(0, 0, 0, 0.8);
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 2px;
    animation: textReveal 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both, glow 2s ease-in-out 0.8s infinite;
}

.slide-text p {
    font-size: 1.2rem;
    opacity: 1;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.8), 2px 2px 4px rgba(0, 0, 0, 0.6);
    color: #FFFFFF;
    animation: textReveal 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #0066CC, #FF6600);
    border: 2px solid white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 0 20px rgba(255, 102, 0, 0.3);
    animation: floatingAnimation 3s ease-in-out infinite;
}


.carousel-btn:hover {
    background: linear-gradient(135deg, #FF6600, #0066CC);
    box-shadow: 0 12px 35px rgba(255, 102, 0, 0.5), 0 0 30px rgba(255, 102, 0, 0.4);
    transform: translateY(-50%) scale(1.15);
}

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

.carousel-btn.prev {
    left: 25px;
}

.carousel-btn.next {
    right: 25px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #d0d0d0;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dot:hover {
    background-color: #b0b0b0;
    transform: scale(1.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.dot.active {
    background: linear-gradient(135deg, #0066CC, #FF6600);
    width: 32px;
    border-radius: 6px;
    animation: pulse 1.8s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
    box-shadow: 0 0 20px rgba(255, 102, 0, 0.6), 0 0 40px rgba(0, 102, 204, 0.4);
}

/* ============================================
   WIDGET PROFESIONAL CON DISEÑO AVANZADO
   ============================================ */

.pro-widget {
    position: fixed;
    bottom: 150px;
    right: 20px;
    width: 320px;
    background: linear-gradient(135deg, #0066CC 0%, #004DA3 50%, #FF6600 100%);
    border-radius: 20px;
    overflow: hidden;
    z-index: 999;
    box-shadow: 0 30px 100px rgba(0, 102, 204, 0.4),
                0 0 60px rgba(255, 102, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: popIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition: all 0.4s ease;
    position: relative;
}

.pro-widget:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 40px 120px rgba(0, 102, 204, 0.5),
                0 0 80px rgba(255, 102, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.pro-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.pro-close:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg) scale(1.1);
    border-color: rgba(255, 255, 255, 0.6);
}

.pro-header {
    padding: 2.2rem 2rem 1.5rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.pro-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.pro-icon-inner {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF6347 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 15px 50px rgba(255, 165, 0, 0.6),
                inset -8px -8px 20px rgba(0, 0, 0, 0.2),
                inset 8px 8px 20px rgba(255, 255, 255, 0.3);
    animation: floatIcon 4s ease-in-out infinite;
    position: relative;
    z-index: 3;
}

.pro-icon-glow {
    position: absolute;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.6) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulseGlow 3s ease-in-out infinite;
    z-index: 1;
}

.pro-body {
    padding: 1.5rem 2rem 2rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 255, 0.98) 100%);
    position: relative;
    z-index: 2;
}

.pro-title {
    font-size: 1.6rem;
    font-weight: 900;
    color: #0066CC;
    margin: 0 0 0.3rem;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.pro-subtitle {
    font-size: 0.95rem;
    color: #FF6600;
    font-weight: 700;
    margin: 0 0 1.4rem;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.pro-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.6rem;
}

.pro-feature {
    display: flex;
    gap: 1rem;
    padding: 0.9rem 1rem;
    background: linear-gradient(135deg, #E8F4FF 0%, #FFF9F5 100%);
    border-radius: 12px;
    border: 2px solid rgba(0, 102, 204, 0.15);
    transition: all 0.3s ease;
}

.pro-feature:hover {
    transform: translateX(6px);
    background: linear-gradient(135deg, #D4E9FF 0%, #FFEDDB 100%);
    border-color: rgba(255, 102, 0, 0.3);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.12);
}

.pro-feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0066CC 0%, #004DA3 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 6px 15px rgba(0, 102, 204, 0.3);
}

.pro-feature-text strong {
    display: block;
    font-size: 0.85rem;
    color: #1a1a1a;
    margin-bottom: 0.2rem;
    letter-spacing: 0.2px;
}

.pro-feature-text span {
    display: block;
    font-size: 0.75rem;
    color: #666;
    font-weight: 500;
}

.pro-btn-main {
    width: 100%;
    background: linear-gradient(135deg, #25D366 0%, #1DA853 50%, #0E8C36 100%);
    color: white;
    border: none;
    padding: 1.2rem 1.6rem;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5),
                inset -2px -2px 8px rgba(0, 0, 0, 0.2),
                inset 2px 2px 8px rgba(255, 255, 255, 0.3);
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
}

.pro-btn-main::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s infinite;
}

.pro-btn-main:hover {
    background: linear-gradient(135deg, #1DA853 0%, #0E8C36 50%, #006B2F 100%);
    transform: translateY(-4px);
    box-shadow: 0 18px 50px rgba(37, 211, 102, 0.6),
                inset -2px -2px 8px rgba(0, 0, 0, 0.3),
                inset 2px 2px 8px rgba(255, 255, 255, 0.4);
}

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

.pro-btn-main i {
    font-size: 1.1rem;
}

.pro-btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shine 2s infinite;
}

.pro-badge {
    text-align: center;
    font-size: 0.75rem;
    color: #666;
    margin-top: 1rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.pro-decoration-1 {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(20px);
    pointer-events: none;
}

.pro-decoration-2 {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(20px);
    pointer-events: none;
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(50px);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

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

@keyframes pulseGlow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.3;
    }
}

@keyframes shimmer {
    0% {
        left: -50%;
    }
    100% {
        left: 150%;
    }
}

@keyframes shine {
    0% {
        left: -100%;
    }
    10% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

/* ============================================
   FLASH DEALS
   ============================================ */

.flash-deals {
    background: linear-gradient(135deg, #FFFFFF 0%, #E8F1FF 100%);
    padding: 2.5rem 2rem;
    margin: 0;
    border-bottom: 3px solid #FF6600;
}

.flash-deals h2 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #0066CC;
    font-weight: 700;
}

.deals-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.deal-item {
    background: linear-gradient(135deg, #FFFFFF, #F0F4FF);
    border: 2px solid #0066CC;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.deal-item:hover {
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.3);
    transform: translateY(-5px);
    border-color: #FF6600;
}

.deal-image {
    position: relative;
    height: 150px;
    overflow: hidden;
    background-color: var(--background-color);
}

.deal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.deal-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.4rem 0.8rem;
    font-weight: bold;
    border-radius: 3px;
    font-size: 0.8rem;
    color: white;
}

.deal-red {
    background: linear-gradient(135deg, #FF6600, #FF4400);
}

.deal-blue {
    background: linear-gradient(135deg, #0066CC, #0052A3);
}

.deal-name {
    padding: 0.8rem;
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 500;
    text-align: center;
}

/* ============================================
   CONTENEDOR PRINCIPAL
   ============================================ */

.main-container {
    width: 100%;
    margin: 0;
    padding: 3rem 1rem;
    display: flex;
    gap: 1.5rem;
    box-sizing: border-box;
}

/* Forced sidebar normal flow - MUST SCROLL WITH PAGE */
.categories-sidebar {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    height: auto !important;
    align-self: auto !important;
    display: block !important;
}

.products-section {
    margin-bottom: 3rem;
    width: 100%;
    overflow-x: hidden;
}

.section-title {
    font-size: 2rem;
    -webkit-background-clip: text;
    background-clip: text;
    margin-bottom: 2.5rem;
    text-align: left;
    font-weight: 800;
    color: #0066CC;
    letter-spacing: -0.5px;
    font-family: 'Montserrat', sans-serif;
}

/* ============================================
   GRID DE PRODUCTOS
   ============================================ */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    align-items: stretch;
}

.product-card {
    background: linear-gradient(135deg, #FFFFFF, #F0F4FF);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.08), 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
    gap: 0;
    font-size: 0;
}

.product-card:hover {
    box-shadow: 0 12px 32px rgba(255, 102, 0, 0.22), 0 8px 20px rgba(0, 102, 204, 0.15);
    transform: translateY(-8px);
    border-color: #FF6600;
}

/* ============================================
   IMAGEN DEL PRODUCTO
   ============================================ */

.product-image {
    position: relative;
    overflow: hidden;
    height: 220px;
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    display: block;
}

.product-link {
    display: contents;
    font-size: 1rem;

}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.discount,
.new-badge,
.al-por-mayor-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.5rem 0.8rem;
    font-weight: bold;
    border-radius: 3px;
    font-size: 0.75rem;
    animation: fadeIn 0.5s ease-in;
}

.discount {
    background: linear-gradient(135deg, #FF6600, #FF4400);
    color: white;
    font-weight: bold;
}

.new-badge {
    background: linear-gradient(135deg, #00AA44, #00CC55);
    color: white;
}

.al-por-mayor-badge {
    background: linear-gradient(135deg, #0066CC, #FF6600);
    color: white;
    bottom: 10px;
    right: 10px;
    top: auto;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.7rem;
    padding: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ============================================
   INFORMACIÓN DEL PRODUCTO
   ============================================ */

.product-info {
    padding: 1rem 1.1rem 0.8rem 1.1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
    font-size: 1rem;
    margin: 0;
}

.product-name {
    font-size: 0.95rem;
    color: var(--text-color);
    margin: 0 0 0.6rem 0;
    font-weight: 700;
    line-height: 1.35;
    text-align: left;
    display: block;
    padding: 0;
    letter-spacing: -0.3px;
}

.product-name a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.product-name a:hover {
    color: #FF6600;
}

.product-price {
    font-size: 1.4rem;
    color: #FF6600;
    font-weight: bold;
    margin-bottom: 0.3rem;
}

.product-description {
    font-size: 0.8rem;
    color: #666;
    margin: 0 0 1.2rem 0;
    line-height: 1.6;
    padding: 0;
    text-align: left;
    font-weight: 500;
}

/* ============================================
   SELECTOR DE COLORES
   ============================================ */

.color-selector {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.color-selector label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: #1a1a1a;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.color-options {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.color-swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.color-swatch:hover {
    transform: scale(1.15);
    border-color: var(--text-color);
}

/* ============================================
   BOTONES DE ACCIÓN
   ============================================ */

.product-actions {
    display: flex;
    gap: 0.8rem;
    margin-top: auto;
    padding-top: 0.5rem;
    align-items: center;
}

.btn {
    padding: 0.7rem;
    border: none;
    border-radius: 3px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.btn-primary {
    background: linear-gradient(135deg, #0066CC, #FF6600);
    color: white;
    flex-grow: 1;
    padding: 0.95rem 1.3rem;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.25);
    text-transform: uppercase;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #FF6600, #0066CC);
    box-shadow: 0 8px 22px rgba(255, 102, 0, 0.4);
    transform: translateY(-2px);
}

.btn-primary:active {
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    
    color: #FF6600;
    flex-grow: 0;
    width: 80px;
    height: 100%;
    min-height: 48px;
    padding: 0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: #0066CC;
    background-color: #E8F1FF;
    color: #0066CC;
    transform: scale(1.08);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: linear-gradient(135deg, #0066CC, #0052A3);
    color: white;
    margin-top: 3rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2.5rem 2rem;
}

.footer-section h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 600;
}

.footer-section p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.6rem;
}

.footer-section a {
    color: #FFD700;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: #FFFFFF;
    font-weight: 600;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 2rem;
    text-align: center;
    border-top: 2px solid #FF6600;
}

.footer-bottom p {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ============================================
   WHATSAPP BUTTON
   ============================================ */

.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 99;
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: floatWhatsapp 3s ease-in-out infinite;
}

.whatsapp-button:hover {
    transform: scale(1.15) translateY(-8px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
    border-color: rgba(255, 255, 255, 0.4);
}

.whatsapp-button:active {
    transform: scale(0.95);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.whatsapp-tooltip {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: rgba(18, 140, 126, 0.95);
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(10px) translateX(-5px);
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(18, 140, 126, 0.3);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 15px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid rgba(18, 140, 126, 0.95);
}

.whatsapp-button:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateY(-10px) translateX(-5px);
}

/* Animación de flotación */
@keyframes floatWhatsapp {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
}

/* Pulso de atención */
@keyframes pulseWhatsapp {
    0% {
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 8px 32px rgba(37, 211, 102, 0.7);
    }
    100% {
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    }
}

.whatsapp-button.pulse {
    animation: pulseWhatsapp 2s ease-in-out infinite;
}

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

@media (max-width: 1024px) {
    .header-container {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .search-bar {
        flex: 1 1 100%;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .top-header {
        flex-direction: column;
        gap: 1rem;
        padding: 0.5rem 1rem;
    }

    .header-info {
        gap: 1rem;
        font-size: 0.8rem;
    }

    .header-right {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .header-container {
        flex-direction: column;
        gap: 0.8rem;
        padding: 0 1rem;
    }

    .header-nav {
        gap: 1rem;
    }

    .categories-container {
        gap: 1rem;
        padding: 0 1rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .slide-content {
        flex-direction: column;
        height: auto;
    }

    .slide-text {
        padding: 1.5rem;
    }

    .slide-text h2 {
        font-size: 1.5rem;
    }

    .big-discount {
        font-size: 2.5rem;
    }

    .deals-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-container {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .top-header {
        display: none;
    }

    .header-container {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.5rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo-img {
        width: 32px;
        height: 32px;
    }

    .search-bar {
        font-size: 0.9rem;
    }

    .header-nav {
        width: 100%;
        justify-content: space-around;
    }

    .nav-item span {
        display: none;
    }

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

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }

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

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

    .whatsapp-button {
        width: 52px;
        height: 52px;
        bottom: 15px;
        right: 15px;
        font-size: 26px;
    }

    .whatsapp-tooltip {
        font-size: 11px;
        padding: 6px 10px;
    }
}

@media (max-width: 768px) {
    .whatsapp-button {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }

    .whatsapp-tooltip {
        font-size: 12px;
        padding: 8px 12px;
    }
}
/* ============================================
   ESTILOS PVC - TEXTURAS Y ACABADOS
   ============================================ */

.pvc-slide {
    background: linear-gradient(135deg, #00897B 0%, #00695C 100%);
}

.pvc-texture {
    flex: 1;
    position: relative;
    overflow: hidden;
    background-size: 40px 40px;
    background-repeat: repeat;
}

.texture-1 {
    background-image: 
        linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255,255,255,0.1) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.1) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.1) 75%);
    background-color: #00897B;
}

.texture-2 {
    background-image: 
        repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 1px, transparent 1px, transparent 3px),
        repeating-linear-gradient(0deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 1px, transparent 1px, transparent 3px);
    background-color: #00695C;
}

.texture-3 {
    background-image: 
        linear-gradient(0deg, transparent 24%, rgba(255,255,255,0.08) 25%, rgba(255,255,255,0.08) 26%, transparent 27%, transparent 74%, rgba(255,255,255,0.08) 75%, rgba(255,255,255,0.08) 76%, transparent 77%, transparent),
        linear-gradient(90deg, transparent 24%, rgba(255,255,255,0.08) 25%, rgba(255,255,255,0.08) 26%, transparent 27%, transparent 74%, rgba(255,255,255,0.08) 75%, rgba(255,255,255,0.08) 76%, transparent 77%, transparent);
    background-size: 50px 50px;
    background-color: #00897B;
}

.pvc-finish {
    position: relative;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.pvc-finish:hover {
    border-color: var(--primary-color);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
}

.texture-desc {
    font-size: 0.75rem;
    color: #999;
    margin-top: 0.2rem;
}

.texture-preview-container {
    margin-top: 2rem;
    padding: 2rem;
    background-color: var(--background-color);
    border-radius: 4px;
}

.texture-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    min-height: 250px;
}

.pvc-sample {
    width: 300px;
    height: 200px;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #FFFFFF, #F5F5F5);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.pvc-sample::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, rgba(0,0,0,0.03) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(0,0,0,0.03) 25%, transparent 25%);
    background-size: 20px 20px;
    animation: textureAnimation 20s linear infinite;
}

@keyframes textureAnimation {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100px 100px;
    }
}

.texture-preview p {
    font-size: 1rem;
    color: var(--light-text);
}

.pvc-image {
    width: 100%;
    height: 100%;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

.material-selector {
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.material-selector:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* ============================================
   ANIMACIÓN DE LÁMINAS PVC
   ============================================ */

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

.deal-item {
    animation: slideInTexture 0.5s ease-out;
}

.deal-item:nth-child(1) { animation-delay: 0.1s; }
.deal-item:nth-child(2) { animation-delay: 0.2s; }
.deal-item:nth-child(3) { animation-delay: 0.3s; }
.deal-item:nth-child(4) { animation-delay: 0.4s; }


/* ============================================
   LOGIN MODAL
   ============================================ */

.login-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
    animation: fadeIn 0.3s ease;
}

.login-modal.active {
    display: flex;
}

.login-modal-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 60px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 420px;
    position: relative;
    animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.close-modal {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    transition: all 0.3s ease;
    z-index: 10;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-modal:hover {
    color: #1B5E20;
    background: rgba(27, 94, 32, 0.1);
    transform: rotate(90deg);
}

.login-container {
    padding: 40px 32px;
}

.login-tab {
    display: none;
    animation: fadeIn 0.3s ease;
}

.login-tab.active {
    display: block;
}

.login-tab h2 {
    font-size: 24px;
    color: #1A1A1A;
    margin-bottom: 8px;
    font-weight: 600;
}

.register-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #E8E8E8;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(27, 94, 32, 0.1);
}

.form-group input::placeholder {
    color: #AAA;
}

.btn-login {
    width: 100%;
    padding: 12px 16px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0D472A 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(27, 94, 32, 0.3);
}

.btn-login:active {
    transform: translateY(0);
}

.forgot-password {
    text-align: center;
    margin-top: 12px;
    font-size: 13px;
}

.forgot-password a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.forgot-password a:hover {
    text-decoration: underline;
    color: #0D472A;
}

.divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    color: #CCC;
    font-weight: 500;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #E8E8E8;
}

.divider::before {
    margin-right: 12px;
}

.divider::after {
    margin-left: 12px;
}

.btn-tab-switch {
    width: 100%;
    padding: 12px 16px;
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-tab-switch:hover {
    background: rgba(27, 94, 32, 0.05);
    transform: translateY(-2px);
}

.btn-tab-switch:active {
    transform: translateY(0);
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Responsive */
@media (max-width: 480px) {
    .login-modal-content {
        width: 95%;
        max-width: 100%;
        max-height: 90vh;
        overflow-y: auto;
    }

    .login-container {
        padding: 32px 20px;
    }

    .login-tab h2 {
        font-size: 20px;
    }

    .form-group input {
        padding: 10px 12px;
        font-size: 16px;
    }
}

/* ============================================
   PÁGINA SOBRE NOSOTROS
   ============================================ */

.about-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.about-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.about-hero-content p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* SECCIÓN SOBRE NOSOTROS */
.about-section {
    margin-bottom: 4rem;
}

.about-intro {
    max-width: 900px;
    margin: 0 auto;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--light-text);
    line-height: 1.8;
    margin-bottom: 1rem;
    text-align: justify;
}

/* SECCIÓN MATERIALES */
.materials-section {
    background-color: #F9F9F9;
    padding: 3rem 2rem;
    border-radius: 8px;
}

.materials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.material-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.material-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.material-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.material-card h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.material-card p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.benefits-list i {
    color: var(--success-color);
    margin-right: 0.8rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

/* SECCIÓN COMBINACIÓN */
.combination-section {
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.05), rgba(0, 137, 123, 0.05));
    padding: 3rem 2rem;
    border-radius: 8px;
}

.combination-content h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.intro-text {
    text-align: center;
    font-size: 1.1rem;
    color: var(--light-text);
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

.combination-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature h4 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.feature p {
    color: var(--light-text);
    font-size: 0.95rem;
}

/* SECCIÓN PRODUCTOS SHOWCASE */
.products-showcase {
    text-align: center;
}

.section-intro {
    font-size: 1.1rem;
    color: var(--light-text);
    max-width: 700px;
    margin: 0 auto 2rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.product-showcase-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 3px solid var(--primary-color);
}

.product-showcase-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.showcase-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.product-showcase-card h4 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.product-showcase-card p {
    color: var(--light-text);
    font-size: 0.9rem;
}

/* SECCIÓN VALORES */
.values-section {
    background-color: #F9F9F9;
    padding: 3rem 2rem;
    border-radius: 8px;
}

.values-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border-right: 3px solid var(--primary-color);
}

.value-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.value-card h3 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.value-card h3 i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.value-card p {
    color: var(--light-text);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* SECCIÓN CONTACTO */
.contact-section{
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 3rem 2rem;
    border-radius: 8px;
    color: white;
    position: relative;
    overflow: hidden;
}

/* capa oscura encima del fondo */
.contact-section::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 0;
}

/* el contenido va por encima de la capa */
.contact-section > *{
    text-align: center;
    position: relative;
    z-index: 1;
}
.contact-section > .contact-item h2{
    text-align: center;
    width: 100%;
    color: #fff;
}
.contact-section .section-title{
    color: #fff;
    text-align: center;
}

.contact-content {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    transition: var(--transition);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.contact-item i {
    font-size: 1.8rem;
    color: white;
    flex-shrink: 0;
}



.contact-item h4 {
    margin-bottom: 0.5rem;
    color: white;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* RESPONSIVE - ABOUT PAGE */
@media (max-width: 768px) {
    .about-hero-content h1 {
        font-size: 2rem;
    }

    .about-hero-content p {
        font-size: 1rem;
    }

    .about-text h2 {
        font-size: 1.8rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .materials-container {
        grid-template-columns: 1fr;
    }

    .combination-features {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    .values-container {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .about-hero-content h1 {
        font-size: 1.5rem;
    }

    .about-hero-content p {
        font-size: 0.9rem;
    }

    .about-text h2 {
        font-size: 1.5rem;
    }

    .materials-section,
    .combination-section,
    .values-section,
    .contact-section {
        padding: 1.5rem 1rem;
    }

    .feature,
    .product-showcase-card,
    .value-card,
    .contact-item {
        padding: 1rem;
    }

    .feature i,
    .showcase-icon {
        font-size: 2rem;
    }
    .contact-section{
    background: #000 !important;
}

.contact-section > .contact-item h2{
    display: block;
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

.product-name {
    margin: 0;
}

.product-name a {
    text-decoration: none;
    color: inherit;
    display: block;
    padding: 0;
    margin: 0;
}
/* FORZAR ESTRUCTURA UNIFORME EN PRODUCTOS */

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 0;
}

.product-name {
    margin: 0 0 8px 0;
}

.product-description {
    flex-grow: 1; /* empuja lo demás hacia abajo */
    text-align: center;
}

}