@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --white: #FFFFFF;
    --black: #000000;
    --blue-primary: #034C8C;
    --blue-dark: #071D39;
    --red-dark: #74001F;
    --red-primary: #E30613;
    --red-accent: #EB3D2A;
}

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

body {
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
    color: var(--black);
    overflow-x: hidden;
}

/* ========== NAVEGACIÓN SÓLIDA PARA PRODUCTOS ========== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo img {
    width: 200px;
    height: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--blue-dark);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background: var(--red-primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(227, 6, 19, 0.4);
}

.nav-links a.active {
    background: var(--blue-primary);
    color: var(--white);
}

.search-container {
    position: relative;
}

.search-bar {
    padding: 0.7rem 1rem;
    border: 2px solid #e0e6ed;
    border-radius: 25px;
    outline: none;
    width: 250px;
    background: var(--white);
    color: var(--black);
    transition: all 0.3s ease;
}

.search-bar::placeholder {
    color: #999;
}

.search-bar:focus {
    border-color: var(--blue-primary);
    box-shadow: 0 0 15px rgba(3, 76, 140, 0.2);
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--red-primary);
    color: var(--white);
    border: none;
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: var(--red-dark);
    transform: translateY(-50%) scale(1.1);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: var(--blue-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* ========== HEADER HERO CON GRADIENTE (OPCIÓN 6) ========== */
.products-header {
    position: relative;
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-primary) 50%, var(--red-primary) 100%);
    padding: 8rem 0 4rem;
    color: white;
    overflow: hidden;
    margin-top: 80px;
}

.hero-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-icon {
    position: absolute;
    font-size: 4rem;
    opacity: 0.1;
    animation: heroFloat 6s ease-in-out infinite;
}
.material-symbols-outlined {
    font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 48;
}

/* Tamaño específico para iconos flotantes del hero */
.hero-icon.material-symbols-outlined {
    font-size: 4rem !important;
    font-variation-settings:
    'FILL' 0,
    'wght' 300,
    'GRAD' 0,
    'opsz' 48;
}
.hero-icon:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.hero-icon:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.hero-icon:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.hero-icon:nth-child(4) {
    top: 30%;
    right: 25%;
    animation-delay: 1s;
}

.hero-icon:nth-child(5) {
    bottom: 30%;
    right: 10%;
    animation-delay: 3s;
}

.hero-icon:nth-child(6) {
    top: 50%;
    left: 5%;
    animation-delay: 5s;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.header-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--white);
}

.products-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.products-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* ========== FILTROS DE CATEGORÍA ========== */
.category-filters {
    background: var(--white);
    padding: 2rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 80px;
    z-index: 999;
}

.filter-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.filter-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.filter-tab {
    background: transparent;
    border: 2px solid var(--blue-primary);
    color: var(--blue-primary);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

.filter-tab:hover, .filter-tab.active {
    background: var(--blue-primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(3, 76, 140, 0.3);
}

.search-filter {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.search-input {
    padding: 0.8rem 1.2rem;
    border: 2px solid #e0e6ed;
    border-radius: 25px;
    outline: none;
    width: 300px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: var(--blue-primary);
    box-shadow: 0 0 15px rgba(3, 76, 140, 0.2);
}

.sort-select {
    padding: 0.8rem 1.2rem;
    border: 2px solid #e0e6ed;
    border-radius: 25px;
    outline: none;
    background: white;
    cursor: pointer;
    font-size: 0.9rem;
}

/* ========== GRID DE PRODUCTOS ========== */
.products-main {
    padding: 4rem 0;
    background: #f9fafc;
}

.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.category-section {
    margin-bottom: 4rem;
    display: none;
}

.category-section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.category-header {
    text-align: center;
    margin-bottom: 3rem;
}

.category-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--blue-dark);
}

.category-title .accent {
    color: var(--red-primary);
}

.category-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

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

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    background: linear-gradient(135deg, #f8f9fc, #e8eef7);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--red-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-badge.new {
    background: #28a745;
}

.product-badge.featured {
    background: var(--red-primary);
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    color: var(--blue-primary);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.product-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--blue-dark);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.product-features {
    list-style: none;
    margin-bottom: 1rem;
}

.product-features li {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.3rem;
    padding-left: 1rem;
    position: relative;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--red-primary);
    font-weight: bold;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.btn-primary {
    flex: 1;
    background: var(--red-primary);
    color: white;
    border: none;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    font-size: 0.9rem;
}

.btn-primary:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--blue-primary);
    border: 2px solid var(--blue-primary);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    font-size: 0.9rem;
}

.btn-secondary:hover {
    background: var(--blue-primary);
    color: white;
}

/* Sample product images placeholder */
.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f4f8, #d6e7f3);
    color: var(--blue-primary);
    font-size: 3rem;
}

/*-----ws----*/
/* ========== WHATSAPP FLOTANTE ========== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
    text-decoration: none;
}

.whatsapp-float:hover {
    background: #128c7e;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}
/* ========== FOOTER ========== */
.footer {
    background: var(--blue-dark);
    color: var(--white);
    padding: 2.3rem 1.5rem 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
   
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--red-primary);
    border-radius: 2px;
}

.footer-section p, .footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    line-height: 1.8;
    transition: color 0.3s ease;
    margin-bottom: 0.8rem;
    font-size: 14px;
    display: block;
}

.footer-section a:hover {
    color: var(--red-primary);
}

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

.footer-section ul li {
    margin-bottom: 0.8rem;
    display: block;
}

.footer-section ul li a {
    display: block;
    padding: 0.2rem 0;
}

.footer-logo {
    width: 250px;
    height: auto;
    margin-bottom: 1rem;
    display: block;
}

.footer-anniversary {
    width: 100px;
    height: auto;
    margin-right: 0.5rem;
 
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    align-items: center;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-primary);
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--white);
    color: var(--red-primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(227, 6, 19, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    text-align: center;
    margin-top: 2rem;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* ========== BACK TO TOP BUTTON ========== */
.back-to-top {
    position: fixed !important;
    bottom: 2rem !important;
    right: 2rem !important;
    width: 60px !important;
    height: 60px !important;
    background: var(--red-primary) !important;
    color: var(--white) !important;
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    font-size: 1.5rem !important;
    box-shadow: 0 5px 20px rgba(227, 6, 19, 0.3) !important;
    transition: all 0.3s ease !important;
    opacity: 0 !important;
    visibility: hidden !important;
    z-index: 998 !important;
}

.back-to-top.visible {
    opacity: 1 !important;
    visibility: visible !important;
}

.back-to-top:hover {
    background: var(--red-dark) !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 30px rgba(227, 6, 19, 0.4) !important;
}
/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1200px) {
    .nav-container {
        padding: 1rem 1rem;
    }
    
    .search-bar {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 0;
        position: fixed;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }
 .hero-icon.material-symbols-outlined {
        font-size: 3rem !important;
    }
    .mobile-menu {
        display: flex;
    }

    .search-container {
        display: none;
    }

    .products-header {
        padding: 6rem 0 3rem;
        margin-top: 70px;
    }

    .products-title {
        font-size: 2.5rem;
    }

    .hero-icon {
        display: none;
    }

    .filter-tabs {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .search-filter {
        flex-direction: column;
        gap: 1rem;
    }

    .search-input {
        width: 100%;
        max-width: 300px;
    }

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

    .category-title {
        font-size: 2rem;
    }

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

    .filter-container {
        padding: 0 1rem;
    }
    .back-to-top {
        bottom: 90px !important;
        right: 20px !important;
        width: 50px !important;
        height: 50px !important;
        font-size: 1.2rem !important;
    }
 .footer {
        padding: 3rem 1rem 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-section:first-child {
        text-align: center;
    }

    .footer-logo {
        width: 200px;
        margin: 0 auto 1rem;
    }

    .footer-anniversary {
        width: 100px;
        margin: 0 auto 1.5rem;
    }
}

@media (max-width: 480px) {
    .products-title {
        font-size: 2rem;
    }
    
    .products-subtitle {
        font-size: 1rem;
    }
    
    .logo img {
        width: 150px;
    }
    
    .category-title {
        font-size: 1.8rem;
    }

      .back-to-top {
        bottom: 75px !important;
        right: 15px !important;
        width: 45px !important;
        height: 45px !important;
        font-size: 1.1rem !important;
    }
     .footer {
        padding: 2rem 1rem 1.5rem;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .footer-logo {
        width: 180px;
    }

    .footer-anniversary {
        width: 80px;
    }

    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .footer-section p, 
    .footer-section a {
        font-size: 0.9rem;
    }
}