/* ===== RESET BÁSICO ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Indie Flower', cursive;
  font-size: 18px;
  background-color: #fffaf9;
  color: #5a3d47;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== TIPOGRAFÍA ===== */
h1, h2, h3 {
  font-family: 'Caveat Brush', cursive;
  color: #7a4b57;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 20px;
}

/* ===== NAVBAR ===== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: #ffd9e2;
  padding: 15px 30px;
  box-shadow: 0 2px 10px rgba(122, 75, 87, 0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-family: 'Caveat Brush', cursive;
  font-size: 1.8rem;
  color: #7a4b57;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffb6c1;
  box-shadow: 0 2px 8px rgba(122, 75, 87, 0.2);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  font-family: 'Mansalva', cursive;
  text-decoration: none;
  color: #7a4b57;
  font-size: 1.1rem;
  transition: color 0.3s;
  letter-spacing: 1px;
}

.nav-links a:hover {
  color: #ff6f91;
}

/* Espacio para navbar fija */
main {
  margin-top: 70px;
}

/* ===== MASCOTAS ===== */
.mascota {
  max-width: 200px;
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.mascota-hero {
  max-width: 380px;
  animation: float 3s ease-in-out infinite;
}

.mascota-small {
  max-width: 180px;
  margin: 20px auto;
  display: block;
}

.mascota-productos {
  max-width: 350px;
  margin-right: 40px;
  flex-shrink: 0;
}

.mascota-historia {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mascota-vendidos {
  max-width: 100px;
  margin-bottom: 10px;
}

.mascota-ofertas {
  max-width: 280px;
  margin: 0;
  animation: bounce 2s ease-in-out infinite;
  flex-shrink: 0;
}

.mascota-contacto {
  max-width: 260px;
  margin-bottom: 30px;
}

.mascota-footer {
  max-width: 200px;
  margin-bottom: 15px;
}

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

@keyframes bounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.05); }
}

/* ===== BOTONES ===== */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-family: 'Mansalva', cursive;
  font-size: 1.1rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: #ff8fab;
  color: white;
  box-shadow: 0 4px 15px rgba(255, 143, 171, 0.4);
}

.btn-primary:hover {
  background: #ff6f91;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 111, 145, 0.5);
}

.btn-ver {
  background: #7a4b57;
  color: white;
  padding: 8px 20px;
  font-size: 1rem;
}

.btn-ver:hover {
  background: #5a3d47;
}

.btn-oferta {
  background: white;
  color: #ff6f91;
  font-weight: bold;
  padding: 15px 35px;
  font-size: 1.2rem;
}

.btn-oferta:hover {
  background: #fff0f5;
  transform: scale(1.05);
}

.btn-instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: white;
  margin-top: 30px;
}

.btn-contacto {
  background: #ffd9e2;
  color: #7a4b57;
  margin: 10px;
  min-width: 140px;
  text-align: center;
}

.btn-contacto:hover {
  background: #ff8fab;
  color: white;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: calc(100vh - 70px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  background: url('fondo-hero.png') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle, rgba(255, 182, 193, 0.5) 3px, transparent 3px),
    radial-gradient(circle, rgba(255, 218, 185, 0.4) 2px, transparent 2px);
  background-size: 80px 80px, 120px 120px;
  background-position: 0 0, 40px 40px;
  opacity: 0.3;
  pointer-events: none;
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 192, 203, 0.25);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 1;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 1000px;
  z-index: 2;
  position: relative;
}

.hero-text {
  text-align: left;
}

.hero h1 {
  font-size: 4.5rem;
  color: #7a4b57;
  margin-bottom: 10px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.8rem;
  color: #ff8fab;
  margin-bottom: 5px;
  font-family: 'Caveat Brush', cursive;
}

.hero-description {
  font-size: 1.3rem;
  color: #8a5d67;
  margin-bottom: 30px;
}

.hero-decorations {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  font-size: 1.5rem;
  position: relative;
  z-index: 2;
}

.decoration {
  animation: float 2s ease-in-out infinite;
}

.decoration:nth-child(2) { animation-delay: 0.3s; }
.decoration:nth-child(3) { animation-delay: 0.6s; }
.decoration:nth-child(4) { animation-delay: 0.9s; }
.decoration:nth-child(5) { animation-delay: 1.2s; }

/* ===== BIENVENIDA ===== */
.bienvenida {
  padding: 40px 20px;
  text-align: center;
  background: white;
}

.bienvenida-texto {
  font-family: 'Caveat Brush', cursive;
  font-size: 2rem;
  color: #7a4b57;
  margin-bottom: 10px;
}

/* ===== PRODUCTOS ===== */
.productos {
  padding: 80px 20px;
  background: #fff0f5;
  text-align: center;
}

.productos-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
}

.productos-content {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.productos-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  flex: 1;
  max-width: 900px;
}

.producto-card {
  background: white;
  border-radius: 15px;
  padding: 15px 10px;
  box-shadow: 0 4px 15px rgba(122, 75, 87, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-origin: center;
}

.producto-card:hover {
  transform: scale(1.4);
  box-shadow: 0 20px 40px rgba(122, 75, 87, 0.25);
  z-index: 100;
}

.producto-card a {
  text-decoration: none;
  color: inherit;
}

.producto-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
}

.producto-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.productos-decorations {
  margin-top: 40px;
  font-size: 1.8rem;
  letter-spacing: 20px;
}

/* ===== HISTORIA ===== */
.historia {
  padding: 80px 20px;
  background: white;
  text-align: center;
}

.historia-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
}

.salupi-historia-container {
  flex-shrink: 0;
}

.salupi-historia-container {
  width: 280px;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.salupi-historia-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.timeline {
  flex: 1;
  max-width: 600px;
  position: relative;
  margin: 40px auto;
}

.timeline-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ffd9e2, #ff8fab, #ffd9e2);
  border-radius: 2px;
  transform: translateY(-50%);
}

.timeline-items {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: white;
  padding: 10px;
}

.timeline-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  background: white;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(122, 75, 87, 0.1);
  border: 3px solid #ffd9e2;
}

.timeline-item h4 {
  font-family: 'Indie Flower', cursive;
  font-size: 1rem;
  color: #7a4b57;
}

.timeline-item {
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 15px;
}

.timeline-item:hover {
  background: #fff0f5;
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(255, 143, 171, 0.3);
}

.timeline-item:hover .timeline-icon {
  border-color: #ff8fab;
  background: #ffeef3;
  transform: scale(1.15);
}

.timeline-icon {
  transition: all 0.3s ease;
}

.historia-texto {
  max-width: 600px;
  margin: 40px auto 0;
  font-size: 1.1rem;
  color: #6a4d57;
}

/* ===== MÁS VENDIDOS ===== */
.mas-vendidos {
  padding: 80px 20px;
  background: linear-gradient(135deg, #ffeef3 0%, #ffd9e2 100%);
  text-align: center;
}

.vendidos-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
}

.vendidos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.vendido-card {
  background: white;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 8px 25px rgba(122, 75, 87, 0.1);
  position: relative;
  transition: transform 0.3s;
}

.vendido-card:hover {
  transform: scale(1.03);
}

.vendido-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #ff6f91;
  color: white;
  font-family: 'Caveat Brush', cursive;
  font-size: 1.5rem;
  padding: 5px 20px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(255, 111, 145, 0.3);
}

.vendido-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  margin-top: 20px;
  margin-bottom: 15px;
}

.vendido-card h4 {
  font-family: 'Indie Flower', cursive;
  font-size: 1.2rem;
  color: #5a3d47;
}

/* ===== OFERTAS ===== */
.ofertas {
  padding: 80px 20px;
  background: #ff8fab;
  text-align: center;
}

.ofertas-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.oferta-banner {
  background: white;
  padding: 30px 50px;
  border-radius: 30px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 900px;
}

.oferta-texto {
  text-align: left;
}

.oferta-ribbons {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
}

.oferta-ribbon {
  font-size: 2rem;
}

.oferta-titulo {
  font-size: 2.5rem;
  color: #ff6f91;
  margin: 0;
}

.oferta-descripcion {
  font-size: 1.2rem;
  color: #7a4b57;
  margin: 15px 0;
  text-align: center;
}

.btn-oferta {
  display: block;
  margin: 20px auto 0;
  text-align: center;
}

/* ===== GALERÍA ===== */
.galeria {
  padding: 80px 20px;
  background: white;
  text-align: center;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  max-width: 1000px;
  margin: 40px auto;
}

.galeria-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.3s;
  cursor: pointer;
}

.galeria-grid img:hover {
  transform: scale(1.05);
}

/* ===== CONTACTO ===== */
.contacto {
  padding: 80px 20px;
  background: linear-gradient(135deg, #fffaf9 0%, #ffeef3 100%);
  text-align: center;
}

.contacto-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contacto-botones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

/* ===== FOOTER ===== */
.footer {
  background: #7a4b57;
  color: white;
  padding: 40px 20px;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.footer p {
  color: #ffd9e2;
  font-size: 1.1rem;
}

/* ===== CATEGORÍAS DE PRODUCTOS ===== */
.catalogo {
  padding: 100px 20px 60px;
  background: linear-gradient(135deg, #fffaf9 0%, #ffeef3 50%, #fff0f5 100%);
  min-height: 100vh;
  text-align: center;
}

.catalogo h1 {
  font-size: 3rem;
  color: #7a4b57;
  margin-bottom: 15px;
}

.catalogo > p {
  font-size: 1.3rem;
  color: #8a5d67;
  margin-bottom: 40px;
}

.catalogo-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

.catalogo-header img {
  max-width: 200px;
}

.catalogo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.item {
  background: white;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 8px 25px rgba(122, 75, 87, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-origin: center;
}

.item:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(122, 75, 87, 0.2);
}

.item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 15px;
}

.item h3 {
  font-size: 1.3rem;
  color: #7a4b57;
  margin-bottom: 10px;
}

.item p {
  font-size: 1.2rem;
  color: #ff6f91;
  font-weight: bold;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 10px;
  }
  
  .nav-links {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero-content {
    flex-direction: column-reverse;
    text-align: center;
    gap: 30px;
  }
  
  .hero-text {
    text-align: center;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .mascota-hero {
    max-width: 200px;
  }
  
  .productos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .timeline-items {
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .timeline-line {
    display: none;
  }
  
  .vendidos-grid {
    grid-template-columns: 1fr;
  }
  
  .oferta-banner {
    padding: 30px 25px;
  }
  
  .oferta-titulo {
    font-size: 2rem;
  }
  
  .contacto-botones {
    flex-direction: column;
    align-items: center;
  }
  
  .historia-content {
    flex-direction: column-reverse;
    gap: 30px;
  }
  
  .salupi-historia-container {
    width: 220px;
    height: 280px;
  }
  
  .timeline {
    max-width: 100%;
  }
  
  .timeline-items {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  
  .timeline-line {
    display: none;
  }
}

@media (max-width: 480px) {
  .productos-grid {
    grid-template-columns: 1fr;
  }
  
  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== BURBUJA WHATSAPP ===== */
.whatsapp-bubble {
  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;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  animation: whatsapp-pulse 2s ease-in-out infinite;
}

.whatsapp-bubble:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-bubble svg {
  width: 32px;
  height: 32px;
  color: white;
}

.whatsapp-tooltip {
  position: absolute;
  bottom: 70px;
  right: 0;
  background: #333;
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.whatsapp-bubble:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-5px);
}

@keyframes whatsapp-pulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
  }
}

@media (max-width: 768px) {
  .whatsapp-bubble {
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
  }
  
  .whatsapp-bubble svg {
    width: 28px;
    height: 28px;
  }
}
