/* Variables de colores */
:root {
    --color-primary: #ffdee2;
    --color-secondary: #fec6a1;
    --color-accent: #e5deff;
    --color-text: #333333;
    --color-background: #ffffff;
    --color-footer: #f5f5f5;
    --color-highlight: #ff92a5;
    --color-tag-new: #70d6ff;
    --color-tag-bestseller: #ff70a6;
    --color-tag-popular: #ff9770;
    --color-tag-special: #e9ff70;
  }
  
  /* Estilos generales */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    color: var(--color-text);
    line-height: 1.6;
    background-color: #fafafa;
  }
  
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
  }
  
  h1, h2, h3, h4, h5 {
    margin-bottom: 20px;
    font-weight: 600;
  }
  
  p {
    margin-bottom: 15px;
  }
  
  a {
    color: var(--color-text);
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  a:hover {
    color: var(--color-highlight);
  }
  
  .section-description {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
  }
  
  .highlight {
    color: var(--color-highlight);
    font-weight: 600;
  }
  
  /* Barra superior */
  .top-bar {
    background-color: var(--color-accent);
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  }
  
  .social-links {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
  }
  
  .social-link {
    color: var(--color-text);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
  }
  
  .social-link i {
    font-size: 1rem;
  }

#buy {
  padding-top: 80px;
  margin-top: -80px;
}
  
.button-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 5% 0; /* 👈 mucho más equilibrado */
}

/* BASE (NO le pongas background acá) */
.cta-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 25px;
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: all 0.2s ease;
  background-color: unset;
}

/* NOSOTROS */
.nosotros-link {
  background-color: #db6cdb !important;
  translate: 0 50px;
}

.nosotros-link:hover {
  background-color: rgb(208, 112, 247) !important;
  transform: translateY(-2px);
}

/* FACEBOOK */
.facebook-link {
  background-color: #2d4373 !important;
}
.facebook-link:hover {
  background-color: #3b5998 !important;
  transform: translateY(-2px);
}

/* CATALOGO (EXCEL) */
.catalogo-link {
  background-color: #185c37 !important;
}
.catalogo-link:hover {
  background-color: #217346 !important;
  transform: translateY(-2px);
}

/* WHATSAPP */
.whatsapp-link {
  background-color: #1da851 !important;
}
.whatsapp-link:hover {
  background-color: #25D366 !important;
  transform: translateY(-2px);
}
  
  /* Header */
  header {
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    padding: 40px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  
  .logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  
  .logo {
    width: 150px;
    height: auto;
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
    animation: float 6s ease-in-out infinite;
  }
  
  @keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
  }
  
  h1 {
    font-size: 3rem;
    color: var(--color-text);
    text-shadow: 2px 2px 8px rgba(255,255,255,0.5);
    margin-bottom: 10px;
  }
  
  .tagline {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 30px;
  }
  
  .header-animation {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
  }
  
  .animated-icon {
    font-size: 2rem;
    animation: bounce 2s infinite alternate;
  }
  
  .animated-icon:nth-child(1) { animation-delay: 0s; }
  .animated-icon:nth-child(2) { animation-delay: 0.2s; }
  .animated-icon:nth-child(3) { animation-delay: 0.4s; }
  .animated-icon:nth-child(4) { animation-delay: 0.6s; }
  .animated-icon:nth-child(5) { animation-delay: 0.8s; }
  
  @keyframes bounce {
    from { transform: translateY(0); }
    to { transform: translateY(-15px); }
  }
  
  /* Navegación */
  .main-nav {
    background-color: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
  }
  
  .nav-links li a {
    padding: 10px 0;
    font-weight: 500;
    position: relative;
    display: inline-block;
  }
  
  .nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--color-highlight);
    transition: width 0.3s ease;
  }
  
  .nav-links li a:hover::after {
    width: 100%;
  }
  
  /* Secciones */
  section {
    padding: 70px 0;
    text-align: center;
  }
  
  section h2 {
    position: relative;
    display: inline-block;
    font-size: 2.2rem;
    margin-bottom: 40px;
  }
  
  section h2:after {
    content: '';
    position: absolute;
    width: 70%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    bottom: -10px;
    left: 15%;
    border-radius: 2px;
  }
  
  /* Sobre nosotros */
  .about {
    background-color: var(--color-background);
  }
  
  .about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
  }
  
  .about-text {
    flex: 1;
    min-width: 300px;
    text-align: left;
  }
  
  .about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
  }
  
  .features-list {
    list-style: none;
    margin-top: 20px;
  }
  
  .features-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .features-list i {
    color: var(--color-highlight);
  }
  
  .values-container {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  
  .value-item {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    width: calc(33% - 20px);
    min-width: 200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }
  
  .value-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--color-highlight);
  }
  
  .value-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }
  
  .value-item p {
    font-size: 0.9rem;
    color: #666;
  }
  
  /* Categorías de productos */
  .product-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
  }
  
  .category {
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    padding: 35px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }
  
  .category:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  }
  
  .category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
  }
  
  .category[data-category="bebes"]::before {
    background: linear-gradient(90deg, #70d6ff, #90dbf4);
  }
  
  .category[data-category="mamas"]::before {
    background: linear-gradient(90deg, #ff9770, #ffa8a9);
  }
  
  .category[data-category="regalos"]::before {
    background: linear-gradient(90deg, #ffca3a, #ffdd95);
  }
  
  .category-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
  }
  
  .category:hover .category-icon {
    transform: scale(1.2);
  }
  
  .category h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }
  
  .category p {
    color: #666;
    margin-bottom: 20px;
  }
  
  .product-list {
    list-style: none;
    text-align: left;
    margin-bottom: 25px;
  }
  
  .product-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
  }
  
  .product-list li:last-child {
    border-bottom: none;
  }

  .product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
  }
  
  .product-image img {
    width: 95%;
    height: 95%;
    object-fit: cover;
    display: block;
  }  
  
  .view-more {
    background-color: var(--color-accent);
    color: var(--color-text);
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .view-more:hover {
    background-color: var(--color-highlight);
    color: white;
  }

  .view-more-2 {
    color: var(--color-text);
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
  }
  
  .view-more-2:hover {
    color: rgb(0, 0, 0);
  }
  
  /* Productos destacados */
  .featured {
    background-color: #f9f9f9;
    position: relative;
  }
  
  .featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, white, transparent);
  }
  
  .featured-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
  }
  
  .product-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
  }
  
  .product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  }
  
  .product-image {
    height: 200px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 1rem;
  }
  
  .product-card h3 {
    padding: 15px 15px 5px;
    font-size: 1.2rem;
  }
  
  .product-card p {
    padding: 0 15px 20px;
    font-size: 0.9rem;
    color: #666;
  }
  
  .product-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
  }
  
  .product-card:nth-child(1) .product-tag {
    background-color: var(--color-tag-bestseller);
  }
  
  .product-card:nth-child(2) .product-tag {
    background-color: var(--color-tag-new);
  }
  
  .product-card:nth-child(3) .product-tag {
    background-color: var(--color-tag-popular);
  }
  
  .product-card:nth-child(4) .product-tag {
    background-color: var(--color-tag-special);
  }
  
  .button-container {
    margin-top: 40px;
  }
  
  .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #3b5998;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(59, 89, 152, 0.2);
  }
  
  .cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(59, 89, 152, 0.3);
    color: white;
  }
  
  .cta-button i {
    font-size: 1.3rem;
  }
  
  /* Testimonios */
  .testimonials {
    background: linear-gradient(135deg, #fdfcfb 0%, #e2d1c3 100%);
    padding: 80px 0;
  }
  
  .testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    height: 200px;
  }
  
  .testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .testimonial-slide.active {
    opacity: 1;
    visibility: visible;
  }
  
  .quote {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
  }
  
  .quote::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -15px;
    font-size: 3rem;
    color: rgba(0, 0, 0, 0.1);
  }
  
  .author {
    font-weight: 600;
    color: var(--color-highlight);
  }
  
  .testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
  }
  
  .prev-testimonial, .next-testimonial {
    background-color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }
  
  .prev-testimonial:hover, .next-testimonial:hover {
    background-color: var(--color-highlight);
    color: white;
  }
  
  .testimonial-dots {
    display: flex;
    gap: 10px;
  }
  
  .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .dot.active {
    background-color: var(--color-highlight);
    transform: scale(1.2);
  }
  
  /* Contacto */
  .contact {
    background-color: var(--color-background);
  }
  
  .contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin: 30px 0;
  }
  
  .contact-item {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    transition: transform 0.3s ease;
  }
  
  .contact-item:hover {
    transform: translateY(-5px);
  }
  
  .contact-link {
    display: block;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
  }
  
  .contact-link:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  
  .contact-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--color-highlight);
  }
  
  .contact-item p {
    margin-bottom: 0;
    font-weight: 500;
  }
  
  /* Back to top button */
  .back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--color-highlight);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
  }
  
  .back-to-top.visible {
    opacity: 1;
    visibility: visible;
  }
  
  .back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  }
  
  /* Footer */
  footer {
    background-color: var(--color-footer);
    padding: 50px 0 20px;
    text-align: center;
    position: relative;
  }
  
  footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  }
  
  .footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
  }
  
  .footer-logo {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-logo-img {
    width: 80px;
    margin-bottom: 15px;
  }
  
  .footer-links {
    flex: 1;
    min-width: 200px;
    text-align: center;
  }
  
  .footer-links h4, .footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }
  
  .footer-links ul {
    list-style: none;
  }
  
  .footer-links ul li {
    margin-bottom: 10px;
  }
  
  .footer-contact {
    flex: 1;
    min-width: 200px;
    text-align: center;
  }
  
  .footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
  
  .footer-bottom {
    border-top: 1px solid #eee;
    padding-top: 20px;
    font-size: 0.9rem;
  }
  
  .footer-note {
    margin-top: 10px;
    color: var(--color-highlight);
    font-size: 0.85rem;
  }
  
  /* Responsive */

@media (max-width: 768px) {

  /* ===== NAV ===== */

  .main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* ===== HAMBURGUESA ===== */

  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 3000;
  }

  .hamburger span {
    width: 26px;
    height: 3px;
    background: var(--color-text);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
  }

  /* ===== MENÚ LATERAL (MEJORADO) ===== */

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background: #fff;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;

    transform: translateX(100%);
    transition: transform 0.3s ease;

    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    z-index: 2500;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.2rem;
    font-weight: 500;
  }

  /* ===== OVERLAY (ARREGLADO BIEN) ===== */
  /* ===== OVERLAY (ARREGLADO BIEN) ===== */
  /* ===== OVERLAY (ARREGLADO BIEN) ===== */

  .nav-overlay {
    inset: 0;
    background: rgba(0,0,0,0.4);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 0.3s ease;
    z-index: 2000;
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* ===== TIPOGRAFÍA ===== */

  h1 {
    font-size: 2rem;
    text-align: center;
  }

  section h2 {
    font-size: 1.6rem;
    text-align: center;
  }

  /* ===== LAYOUT ===== */

  .about-content,
  .values-container,
  .contact-info,
  .product-categories,
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .value-item,
  .category {
    width: 100%;
    max-width: 400px;
  }

  /* ===== PRODUCTOS ===== */

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

  /* ===== BOTONES ===== */

  .button-container {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .cta-button {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .nosotros-link {
    transform: none !important;
  }
}


/* ===== MOBILE CHICO ===== */

@media (max-width: 480px) {

  .top-bar,
  .header-animation {
    display: none;
  }

  h1 {
    font-size: 1.6rem;
  }

  section h2 {
    font-size: 1.3rem;
  }

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

}