
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', Arial, sans-serif;
            line-height: 1.6;
            color: #333;
            background: linear-gradient(135deg, #c74f6f 0%, #ff84c6 100%);
            min-height: 100vh;
        }

        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        header {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            padding: 1rem 0;
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 1.8rem;
            font-weight: 700;
            color: #c44569;
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            animation: logoFloat 3s ease-in-out infinite;
        }

        @keyframes logoFloat {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-5px); }
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 2rem;
            align-items: center;
        }

        .nav-menu a {
            color: #333;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s;
            position: relative;
            cursor: pointer;
        }

        .nav-menu a:hover {
            color: #ff58ae;
        }

        .nav-menu a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: #ff58ae;
            transition: width 0.3s;
        }

        .nav-menu a:hover::after {
            width: 100%;
        }

        .cart-icon {
            position: relative;
            cursor: pointer;
            font-size: 1.5rem;
            color: #ffb0dd;
        }

        .cart-count {
            position: absolute;
            top: -8px;
            right: -8px;
            background: #c44569;
            color: white;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            font-weight: bold;
        }

        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
            gap: 4px;
        }

        .hamburger .bar {
            width: 25px;
            height: 3px;
            background: #c44569;
            transition: 0.3s;
            border-radius: 3px;
        }

.hero {
    background-image: url('../imagenes/banner1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 300px 20px;
    color: rgb(255, 255, 255);
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.588); /* oscurece un poco la imagen para que el texto resalte */
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
}


        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .hero-content h1 {
            font-size: 4rem;
            margin-bottom: 1rem;
            text-shadow: 3px 3px 6px rgba(255, 255, 255, 0.577);
            font-weight: 700;
            line-height: 1.2;
            background: linear-gradient(45deg, #ffffff, #ffffff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-content p {
            font-size: 1.3rem;
            margin-bottom: 2rem;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
            font-weight: 300;
            text-shadow: 3px 3px 6px rgba(255, 255, 255, 0.49);
        }

        .cta-button {
            background: linear-gradient(#d04f73, #c44569);
            color: white;
            padding: 18px 35px;
            border: none;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 12px;
            transition: all 0.3s ease;
            box-shadow: 0 8px 25px rgba(255, 107, 157, 0.3);
            position: relative;
            overflow: hidden;
        }

        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 35px rgba(244, 54, 118, 0.4);
        }

        .page {
            display: none;
        }

        .page.active {
            display: block;
        }

        .section-card {
            background: rgba(255, 255, 255, 0.98);
            border-radius: 25px;
            padding: 4rem;
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
            margin: 6rem auto 4rem;
            backdrop-filter: blur(10px);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .section-title {
            font-size: 2.8rem;
            color: #2c3e50;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 15px;
            font-weight: 700;
            text-align: center;
            justify-content: center;
        }

        .section-title i {
            color: #c74f6f;
            font-size: 2.5rem;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }

        .search-container {
            margin: 2rem 0;
            text-align: center;
        }

        .search-input {
            padding: 15px 25px;
            border: 2px solid #ffb0dd;
            border-radius: 50px;
            font-size: 1.1rem;
            width: 100%;
            max-width: 400px;
            outline: none;
            transition: all 0.3s ease;
        }

        .search-input:focus {
            box-shadow: 0 0 20px rgba(255, 107, 157, 0.3);
            transform: scale(1.02);
        }

        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin: 2rem 0;
        }

        .product-card {
            background: white;
            border-radius: 20px;
            padding: 2rem;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .product-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        }

        .product-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(90deg, #ffb0dd, #ff6b9d);
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

        .product-card:hover::before {
            transform: scaleX(1);
        }

        .product-name {
            font-size: 1.3rem;
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 0.5rem;
        }

        .product-brand {
            color: #ff6b9d;
            font-weight: 500;
            margin-bottom: 1rem;
        }

        .product-description {
            color: #666;
            margin-bottom: 1.5rem;
            line-height: 1.6;
        }

        .product-price {
            font-size: 1.5rem;
            font-weight: 700;
            color: #c44569;
            margin-bottom: 1.5rem;
        }

        .product-actions {
            display: flex;
            gap: 1rem;
            align-items: center;
        }

        .add-to-cart {
            background: linear-gradient(135deg, #ff6b9d, #c44569);
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 25px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            flex: 1;
        }

        .add-to-cart:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(255, 107, 157, 0.3);
        }

        .add-to-cart:disabled {
            background: #ccc;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }

        .sold-out-badge {
            background: #e74c3c;
            color: white;
            padding: 5px 15px;
            border-radius: 15px;
            font-size: 0.9rem;
            font-weight: 600;
        }

        .admin-toggle {
            background: #f39c12;
            color: white;
            border: none;
            padding: 8px 15px;
            border-radius: 20px;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .cart-sidebar {
            position: fixed;
            top: 0;
            right: -400px;
            width: 400px;
            height: 100vh;
            background: white;
            box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
            transition: right 0.3s ease;
            z-index: 2000;
            display: flex;
            flex-direction: column;
        }

        .cart-sidebar.open {
            right: 0;
        }

        .cart-header {
            padding: 2rem;
            background: linear-gradient(135deg, #ff6b9d, #c44569);
            color: white;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .cart-close {
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
        }

        .cart-items {
            flex: 1;
            padding: 1rem;
            overflow-y: auto;
        }

        .cart-item {
            padding: 1rem;
            border-bottom: 1px solid #eee;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .cart-item-info h4 {
            color: #2c3e50;
            margin-bottom: 0.5rem;
        }

        .cart-item-info p {
            color: #666;
            font-size: 0.9rem;
        }

        .cart-item-price {
            font-weight: 600;
            color: #c44569;
        }

        .cart-footer {
            padding: 2rem;
            background: #f8f9fa;
            border-top: 1px solid #eee;
        }

        .cart-total {
            font-size: 1.3rem;
            font-weight: 700;
            color: #2c3e50;
            margin-bottom: 1rem;
            text-align: center;
        }

        .checkout-btn {
            width: 100%;
            background: linear-gradient(135deg, #28a745, #20c997);
            color: white;
            border: none;
            padding: 15px;
            border-radius: 25px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .checkout-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(40, 167, 69, 0.3);
        }

        .admin-panel {
            background: rgba(243, 156, 18, 0.15);
            padding: 2rem;
            border-radius: 15px;
            margin: 2rem 0;
            text-align: center;
            border: 2px solid #f39c12;
        }

        .admin-toggle-btn {
            background: linear-gradient(135deg, #f39c12, #e67e22);
            color: white;
            border: none;
            padding: 15px 30px;
            border-radius: 25px;
            font-weight: 600;
            cursor: pointer;
            margin-bottom: 1rem;
            font-size: 1.1rem;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
        }

        .admin-toggle-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(243, 156, 18, 0.4);
        }

        .whatsapp-chat {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background: #25D366;
            color: white;
            padding: 15px;
            border-radius: 50px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            cursor: pointer;
            font-size: 1.5rem;
            z-index: 1000;
            transition: all 0.3s ease;
            animation: bounce 2s infinite;
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
            40% { transform: translateY(-10px); }
            60% { transform: translateY(-5px); }
        }

        .whatsapp-chat:hover {
            transform: scale(1.1);
            animation: none;
        }

        footer {
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(10px);
            padding: 3rem 0;
            text-align: center;
            color: #2c3e50;
            font-weight: 600;
            box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
            width: 100%;
            margin-top: 4rem;
        }

        @media (max-width: 768px) {
            .nav-menu {
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                flex-direction: column;
                background: white;
                padding: 1rem 2rem;
                transform: translateY(-100%);
                transition: transform 0.3s ease;
                z-index: 999;
                box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
                display: none;
            }

            .nav-menu.active {
                display: flex; 
                transform: translateY(0);
            }

            .hamburger {
                display: flex;
            }

            .hero-content h1 {
                font-size: 2.5rem;
            }

            .section-title {
                font-size: 2rem;
                flex-direction: column;
                text-align: center;
            }

            .section-card {
                padding: 2rem;
            }

            .cart-sidebar {
                width: 100%;
                right: -100%;
            }
        }

        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .feature-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin: 3rem 0;
        }

        .feature-item {
            text-align: center;
            padding: 2rem;
            background: #f8f9fa;
            border-radius: 15px;
            transition: transform 0.3s ease;
        }

        .feature-item:hover {
            transform: translateY(-5px);
        }

        .feature-item i {
            font-size: 3rem;
            color: #c74f6f;
            margin-bottom: 1rem;
        }

        .feature-item h3 {
            font-size: 1.3rem;
            margin-bottom: 0.5rem;
            color: #2c3e50;
        }

        .product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-options {
    margin: 10px 0;
    font-size: 14px;
    color: #333;
}

.product-options label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #555;
}

.product-select {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    background-color: #fff;
    transition: border-color 0.2s ease;
}

.product-select:focus {
    border-color: #ff69b4; /* color rosado tipo Foxy */
    outline: none;
    box-shadow: 0 0 5px rgba(255, 105, 180, 0.4);
}

.product-image {
    width: 100%;
    height: auto; /* Mantiene la proporción */
    max-height: 700px; /* Limita la altura si es necesario */
    object-fit: contain; /* Ajusta la imagen sin recortarla */
    border-radius: 10px;
}

.carousel {
    position: relative;
    overflow: hidden;
    height: 250px;
}
.carousel img {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.carousel img.active {
    display: block;
}
.carousel button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.214);
    color: white;
    border: none;
    font-size: 10px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 10px;
}
.carousel .prev {
    left: 5px;
}
.carousel .next {
    right: 5px;
}

.carousel:not(:has(img:nth-child(2))) .prev,
.carousel:not(:has(img:nth-child(2))) .next {
    display: none;
}

/* Etiqueta "Producto nuevo" */
.new-badge{
  position:absolute;
  top:14px;
  left:14px;
  background:#22c55e;          /* verde vivo */
  color:#fff;
  padding:8px 14px;
  border-radius:999px;          /* píldora */
  font-weight:700;
  font-size:.9rem;
  box-shadow:0 6px 20px rgba(0,0,0,.12);
  z-index:10;
  letter-spacing:.2px;
  white-space:nowrap;
}




