/* ------------------------------------------------------------------
   PERU MALLAS VIP — porteo del sitio propio del cliente.

   Este CSS es el de `perumallasvip.com`, copiado tal cual. El diseno ya
   estaba aprobado por el cliente; lo unico que se hizo al portearlo a
   CotizaStock fue volverlo ADMINISTRABLE.

   Que se cambio, y NADA mas:
   · los colores escritos a mano pasaron a `var(--...)`, alimentados desde
     los ajustes por `snippets/variables-tema.liquid`. Mismo render exacto,
     pero el dueno puede cambiar la paleta desde el editor.

   Que NO se cambio: ni una clase renombrada, ni una regla reordenada, ni
   una medida "mejorada". Un porteo que toca el diseno deja de ser un
   porteo — y este diseno ya paso por la aprobacion del cliente.

   Los `:root` de abajo son los valores ORIGINALES del sitio: si alguien
   borra todos los ajustes, el tema se ve exactamente como el original.
   ------------------------------------------------------------------ */

:root {
  --fondo: #0f172a;  /* Fondo principal */
  --fondo-profundo: #020617;  /* Fondo mas oscuro (hero, pie) */
  --superficie: #1e293b;  /* Fondo de tarjetas */
  --acento: #14b8a6;  /* Turquesa de la marca */
  --acento-oscuro: #0d9488;  /* Turquesa oscuro (degradados) */
  --cyan: #06b6d4;  /* Cyan de apoyo */
  --cyan-oscuro: #0891b2;  /* Cyan oscuro */
  --dorado: #fbbf24;  /* Dorado de la marca */
  --dorado-oscuro: #f59e0b;  /* Dorado oscuro (degradados) */
  --dorado-profundo: #d97706;  /* Dorado mas oscuro */
  --verde: #22c55e;  /* Verde de WhatsApp */
  --verde-oscuro: #16a34a;  /* Verde oscuro */
  --texto-suave: #9ca3af;  /* Texto secundario */
  --texto-claro: #d1d5db;  /* Texto claro */
  --borde: #e5e7eb;  /* Bordes y separadores */
}


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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: var(--borde);
            background: linear-gradient(to bottom, var(--fondo-profundo), var(--fondo), var(--fondo-profundo));
            overflow-x: hidden;
        }

        html {
            scroll-behavior: smooth;
        }

        /* Header Styles */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            transition: all 0.3s ease;
            background: transparent;
        }

        .header.scrolled {
            background: rgba(2, 6, 23, 0.95);
            backdrop-filter: blur(12px);
            box-shadow: 0 4px 20px rgba(20, 184, 166, 0.1);
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 0;
        }

        .logo-section {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .logo-img {
            height: 60px;
            width: 60px;
            filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
        }

        .logo-text h1 {
            font-size: 1.5rem;
            font-weight: bold;
            background: linear-gradient(to right, var(--dorado), var(--dorado-oscuro), var(--dorado-profundo));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .logo-text p {
            font-size: 1.1rem;
            font-weight: 600;
            background: linear-gradient(to right, var(--acento), var(--cyan));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .nav-desktop {
            display: flex;
            align-items: center;
            gap: 2rem;
        }

        .nav-desktop a {
            color: var(--texto-claro);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s;
        }

        .nav-desktop a:hover {
            color: var(--acento);
        }

        .btn-primary {
            background: linear-gradient(to right, var(--acento), var(--cyan));
            color: white;
            padding: 0.75rem 1.5rem;
            border-radius: 8px;
            border: none;
            cursor: pointer;
            font-weight: 600;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
        }

        .btn-primary:hover {
            background: linear-gradient(to right, var(--acento-oscuro), var(--cyan-oscuro));
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(20, 184, 166, 0.4);
        }

        .menu-toggle {
            display: none;
            background: none;
            border: none;
            color: var(--texto-claro);
            font-size: 1.5rem;
            cursor: pointer;
        }

        .nav-mobile {
            display: none;
            flex-direction: column;
            gap: 1rem;
            padding: 1rem 0;
        }

        .nav-mobile.active {
            display: flex;
        }

        .nav-mobile a {
            color: var(--texto-claro);
            text-decoration: none;
            padding: 0.5rem 0;
            transition: color 0.3s;
        }

        .nav-mobile a:hover {
            color: var(--acento);
        }

        /* Hero Section */
        .hero {
            padding: 150px 20px 80px;
            text-align: center;
            position: relative;
        }

        .hero::before {
            content: '';
     
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 800px;
            height: 800px;
            background: radial-gradient(ellipse at center, rgba(20, 184, 166, 0.15), transparent);
            pointer-events: none;
        }

        .hero h2 {
            font-size: 3.5rem;
            font-weight: bold;
            margin-bottom: 1.5rem;
            background: linear-gradient(to right, var(--dorado), var(--dorado-oscuro), var(--dorado-profundo));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: fadeIn 0.8s ease-out;
        }

        .hero p {
            font-size: 1.5rem;
            color: var(--texto-claro);
            margin-bottom: 2rem;
            line-height: 1.8;
            max-width: 900px;
            margin-left: auto;
            margin-right: auto;
        }

        .hero-highlight {
            color: var(--acento);
            font-weight: 600;
        }

        .hero-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
            margin-bottom: 4rem;
        }

        .btn-secondary {
            background: transparent;
            color: var(--acento);
            padding: 0.75rem 2rem;
            border: 2px solid var(--acento);
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: all 0.3s ease;
        }

        .btn-secondary:hover {
            background: rgba(20, 184, 166, 0.1);
        }

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

        .stat-card {
            background: linear-gradient(135deg, rgba(30, 41, 59, 0.5), rgba(15, 23, 42, 0.5));
            backdrop-filter: blur(8px);
            padding: 1.5rem;
            border-radius: 12px;
            border: 1px solid rgba(20, 184, 166, 0.2);
            transition: all 0.3s ease;
        }

        .stat-card:hover {
            transform: translateY(-5px);
            border-color: rgba(20, 184, 166, 0.4);
        }

        .stat-icon {
            width: 40px;
            height: 40px;
            margin: 0 auto 0.5rem;
        }

        .stat-number {
            font-size: 1.8rem;
            font-weight: bold;
            color: white;
        }

        .stat-label {
            color: var(--texto-suave);
            font-size: 0.9rem;
        }

        /* Products Section */
        .products {
            padding: 80px 20px;
            background: linear-gradient(to bottom, var(--fondo), var(--fondo-profundo));
        }

        .section-title {
            text-align: center;
            margin-bottom: 4rem;
        }

        .section-title h2 {
            font-size: 3rem;
            font-weight: bold;
            margin-bottom: 1rem;
            background: linear-gradient(to right, var(--dorado), var(--dorado-oscuro));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .section-title p {
            font-size: 1.2rem;
            color: var(--texto-suave);
        }

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

        .product-card {
            background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.8));
            border-radius: 12px;
            overflow: hidden;
            border: 1px solid rgba(51, 65, 85, 0.5);
            transition: all 0.3s ease;
        }

        .product-card:hover {
            transform: scale(1.05);
            border-color: rgba(20, 184, 166, 0.5);
            box-shadow: 0 20px 40px rgba(20, 184, 166, 0.2);
        }

        .product-image {
            position: relative;
            height: 200px;
            overflow: hidden;
        }

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

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

        .product-image::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 50%;
            
        }

        .product-content {
            padding: 1.5rem;
        }

        .product-title {
            font-size: 1.2rem;
            color: white;
            margin-bottom: 0.75rem;
            font-weight: 600;
        }

        .product-description {
            color: var(--texto-suave);
            margin-bottom: 1.5rem;
            line-height: 1.6;
        }

        /* About Section */
        .about {
            padding: 80px 20px;
            background: linear-gradient(to bottom, var(--fondo-profundo), var(--fondo));
        }

        .about-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            align-items: center;
        }

        .about-content h2 {
            font-size: 3rem;
            font-weight: bold;
            margin-bottom: 1.5rem;
            background: linear-gradient(to right, var(--dorado), var(--dorado-oscuro));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .about-content p {
            color: var(--texto-claro);
            font-size: 1.1rem;
            line-height: 1.8;
            margin-bottom: 1.5rem;
        }

        .highlight-text {
            color: var(--acento);
            font-weight: 600;
        }

        .about-features {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            margin-top: 2rem;
        }

        .feature-card {
            background: linear-gradient(135deg, rgba(30, 41, 59, 0.5), rgba(15, 23, 42, 0.5));
            padding: 1.5rem;
            border-radius: 12px;
            border: 1px solid rgba(20, 184, 166, 0.2);
        }

        .feature-icon {
            width: 40px;
            height: 40px;
            margin-bottom: 0.75rem;
        }

        .feature-card h3 {
            color: white;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .feature-card p {
            color: var(--texto-suave);
            font-size: 0.9rem;
        }

        .about-image-container {
            position: relative;
        }

        .about-image {
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
            position: relative;
        }

        .about-image img {
            width: 100%;
            height: 500px;
            object-fit: cover;
        }

        .about-badge {
            position: absolute;
            bottom: -30px;
            right: -30px;
            background: linear-gradient(to right, var(--acento), var(--cyan));
            padding: 2rem;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(20, 184, 166, 0.4);
            border: 4px solid var(--fondo);
            text-align: center;
        }

        .about-badge .badge-number {
            font-size: 2.5rem;
            font-weight: bold;
            color: white;
        }

        .about-badge .badge-text {
            color: white;
            font-weight: 600;
        }

        /* Contact Section */
        .contact {
            padding: 80px 20px;
            background: linear-gradient(to bottom, var(--fondo), var(--fondo-profundo));
        }

        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            margin-top: 3rem;
        }

        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .contact-card {
            background: linear-gradient(135deg, rgba(30, 41, 59, 0.5), rgba(15, 23, 42, 0.5));
            padding: 1.5rem;
            border-radius: 12px;
            border: 1px solid rgba(20, 184, 166, 0.2);
            display: flex;
            gap: 1rem;
            transition: border-color 0.3s ease;
        }

        .contact-card:hover {
            border-color: rgba(20, 184, 166, 0.5);
        }

        .contact-icon {
            background: rgba(20, 184, 166, 0.2);
            padding: 1rem;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 60px;
            height: 60px;
        }

        .contact-icon svg {
            width: 24px;
            height: 24px;
            stroke: var(--acento);
        }

        .contact-details h3 {
            color: white;
            font-weight: 600;
            margin-bottom: 0.5rem;
            font-size: 1.1rem;
        }

        .contact-details p,
        .contact-details a {
            color: var(--texto-suave);
            text-decoration: none;
            line-height: 1.6;
        }

        .contact-details a:hover {
            color: var(--acento);
        }

        .social-links {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }

        .social-link {
            background: rgba(59, 130, 246, 0.2);
            padding: 0.75rem;
            border-radius: 8px;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .social-link:hover {
            transform: scale(1.1);
            background: rgba(59, 130, 246, 0.4);
        }

        .social-link svg {
            width: 24px;
            height: 24px;
        }

        .map-container {
            background: linear-gradient(135deg, rgba(30, 41, 59, 0.5), rgba(15, 23, 42, 0.5));
            padding: 8px;
            border-radius: 12px;
            border: 1px solid rgba(20, 184, 166, 0.2);
            height: 100%;
            min-height: 400px;
        }

        .map-container iframe {
            width: 100%;
            height: 100%;
            min-height: 400px;
            border-radius: 8px;
            border: none;
        }

        /* Footer */
        .footer {
            background: var(--fondo-profundo);
            border-top: 1px solid var(--superficie);
            padding: 3rem 20px;
        }

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

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

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

        .footer-section ul li {
            color: var(--texto-suave);
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
        }

        .footer-section ul li a {
            color: var(--texto-suave);
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-section ul li a:hover {
            color: var(--acento);
        }

        .footer-bottom {
            border-top: 1px solid var(--superficie);
            padding-top: 2rem;
            text-align: center;
            color: var(--texto-suave);
            font-size: 0.9rem;
        }

        /* WhatsApp Floating Button */
        .whatsapp-float {
            position: fixed;
            bottom: 24px;
            right: 24px;
            z-index: 1000;
            background: linear-gradient(to right, var(--verde), var(--verde-oscuro));
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 20px rgba(34, 197, 94, 0.5);
            cursor: pointer;
            transition: all 0.3s ease;
            animation: bounce 2s infinite;
        }

        .whatsapp-float:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 30px rgba(34, 197, 94, 0.7);
        }

        .whatsapp-float svg {
            width: 32px;
            height: 32px;
            fill: white;
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
                transform: translateY(0);
            }
            40% {
                transform: translateY(-10px);
            }
            60% {
                transform: translateY(-5px);
            }
        }

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

        /* Responsive */
        @media (max-width: 768px) {
            .container {
                padding-left: 5vw;
                padding-right: 5vw;
                width: 100%;
                max-width: 100vw;
                margin: 0 auto;
            }
            body {
                padding: 0;
                margin: 0;
            }
            .footer-grid {
                grid-template-columns: 1fr;
                text-align: center;
            }
            .footer-section {
                margin-bottom: 1.5rem;
            }
            .about-image img {
                height: 250px;
            }
            .about-badge {
                position: static;
                margin: 1rem auto 0;
                display: inline-block;
            }
            .products-grid {
                grid-template-columns: 1fr;
            }
            .stat-card {
                text-align: center;
            }
            .hero {
                padding-top: 120px;
                padding-bottom: 40px;
            }
            .section-title {
                margin-bottom: 2rem;
            }
            .contact-grid {
                grid-template-columns: 1fr;
            }
            .map-container {
                min-height: 250px;
            }
        }

       @media (max-width: 650px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .about-image img {
        width: 100%;
        height: auto;
        min-height: 180px;
        max-height: 300px;
        object-fit: cover;
        display: block;
        margin: 0 auto;
    }
    .about-image-container {
        width: 100%;
        max-width: 100vw;
    }
    .about-badge {
        position: static;
        margin: 1rem auto 0;
        display: inline-block;
    }
}

@media (max-width: 900px) {
    .nav-desktop {
        display: none !important;
    }
    .menu-toggle {
        display: block !important;
    }
      .nav-mobile {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100vw;
        background: rgba(2, 6, 23, 0.97); /* Fondo oscuro sólido */
        z-index: 2000;
        box-shadow: 0 8px 24px rgba(20, 184, 166, 0.08);
        padding: 2rem 0 1rem 0;
        border-bottom-left-radius: 16px;
        border-bottom-right-radius: 16px;
    }
    .nav-mobile a {
        font-size: 1.2rem;
        padding: 1rem 0;
        text-align: center;
    }
}
    