*{
  box-sizing: border-box;
}

html, body{
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  max-width: 100%;
}
body {

  margin: 0;
  font-family: 'Simonetta', serif;
  color:#d96c8f;
  background: #fff7fa;

/* CARRUSEL PRINCIPAL */


.carousel {
  max-width: 1200px;
  margin: 20px auto;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.carousel img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.carousel img.active {
  display: block;
}

.carousel button {
  position: absolute;
  top: 50%;
  background: rgba(255, 255, 255, 0.8);
  border: none;
  font-size: 2rem;
  padding: 6px 14px;
  cursor: pointer;
  transform: translateY(-50%);
  border-radius: 50%;
  color: #d96c8f;
  transition: all 0.3s;
  user-select: none;
}

.carousel button:hover {
  background: #fffafb;
}

.carousel .prev {
  left: 10px;
}

.carousel .next {
  right: 10px;
}

/* CATÁLOGO */
.section-title {
  text-align: center;
  margin-bottom: 20px;
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: #c85a7c;
  text-transform: uppercase;
  text-shadow: 0 3px 15px rgba(200, 90, 124, 0.25);
  animation: tituloPremium 1.8s ease-in-out infinite;
}

.section-title2 {
  text-align: center;
  margin-bottom: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #d98ba0;
  animation: subtituloPremium 1.5s ease-in-out infinite;
}
@keyframes tituloPremium {
  0% {
    transform: translateY(0px) scale(1);
    text-shadow: 0 3px 15px rgba(200, 90, 124, 0.25);
  }
  25% {
    transform: translateY(-4px) scale(1.02);
    text-shadow: 0 6px 22px rgba(216, 112, 147, 0.35);
  }
  50% {
    transform: translateY(0px) scale(1.01);
    text-shadow: 0 8px 28px rgba(233, 140, 170, 0.45);
  }
  75% {
    transform: translateY(-3px) scale(1.02);
    text-shadow: 0 6px 22px rgba(216, 112, 147, 0.35);
  }
  100% {
    transform: translateY(0px) scale(1);
    text-shadow: 0 3px 15px rgba(200, 90, 124, 0.25);
  }
}

@keyframes subtituloPremium {
  0% {
    transform: translateX(0px);
    opacity: 0.85;
  }
  50% {
    transform: translateX(3px);
    opacity: 1;
  }
  100% {
    transform: translateX(0px);
    opacity: 0.85;
  }
}

.badge-nuevo {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #860830;
  color: white;
  padding: 5px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  font-family: 'Segoe UI', sans-serif;
  z-index: 2;
}
.catalogo-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.6) 2px, transparent 2px),
    radial-gradient(circle, rgba(255,240,245,0.5) 3px, transparent 3px);
  background-size: 80px 80px, 120px 120px;
  animation: flotarParticulas 18s linear infinite;
  pointer-events: none;
  z-index: 0;
}


.catalogo-grid {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  padding: 0 20px 50px;
}

.card {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 10px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  max-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  background: #fff0f5;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.card h3 {
  margin: 10px 0 5px 0;
  color: #b85c7a;
  font-size: 1.1rem;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card p {
  font-weight: bold;
  color: #d96c8f;
  margin-bottom: 0;
  font-size: 1rem;
}

/* MODAL - CENTRADO */
.modal {
  display: none; /* ✅ oculto de verdad */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);

  justify-content: center;
  align-items: center;
  padding: 15px;
  box-sizing: border-box;
}


.modal-content {
  background: #fff;
  border-radius: 15px;
  padding: 25px 20px 30px 20px;
  width: 90%;
  max-width: 520px;
  position: relative;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  user-select: none;
}

.modal-content .close {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 1.8rem;
  cursor: pointer;
  background: none;
  border: none;
  color: #333;
  user-select: none;
}

.modal-carousel {
  position: relative;
  margin: 20px 0;
}

.modal-carousel img {
  width: 70%;
  max-width: 280px;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  border-radius: 12px;
  user-select: none;
  display: block;
  margin: 0 auto;
}

.modal-carousel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: #d96c8f;
  color: #fff;
  font-size: 1.5rem;
  padding: 7px 14px;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.3s ease;
  user-select: none;
}

.modal-carousel button:hover {
  background: #e8a0bf;
}

.modal-carousel .prev {
  left: 8px;
}

.modal-carousel .next {
  right: 8px;
}

.modal label {
  font-weight: 600;
  color: #d96c8f;
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.modal input {
  width: 100%;
  padding: 9px 12px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 2px solid #d96c8f;
  font-size: 1rem;
  box-sizing: border-box;
  outline-offset: 2px;
  outline-color: #d96c8f;
}

.modal input:focus {
  border-color: #d96c8f;
  box-shadow: 0 0 6px #d96c8f;
}

.modal button {
  background: #d96c8f;
  color: #fff;
  border: none;
  padding: 12px 22px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  max-width: 240px;
  white-space: nowrap;
  transition: background 0.3s ease;
  user-select: none;
}

.modal button:hover {
 background: #e8a0bf;
}

/* FOOTER */
footer {
  background: #d96c8f;
  color: #fff;
  padding: 18px 10px;
  font-size: 1.15rem;
  line-height: 1.5;
  text-align: center;
  user-select: none;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.footer-social a {
  color: #fff;
  margin: 0 16px;
  font-size: 2.2rem;
  transition: color 0.3s ease;
  user-select: none;
}

.footer-social a:hover {
  color: #dab8c4;
}

/* Para separacion entre catalogo y footer */
#catalogo {
  margin-bottom: 50px;
}
.modal-content.modo-ampliado {
  width: 90%;
  max-width: 900px;
}

.modal-content.modo-ampliado #modalImg {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
}
/* HEADER CENTRADO */


/* HEADER PREMIUM TIPO APPLE */
/* ===== HEADER PREMIUM CENTRADO ===== */
/* ===== FIX HEADER COMPLETO ===== */

/* ===== HEADER PRO LIMPIO ===== */
.header{
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;

  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);

  border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* CONTENEDOR */
.nav-container{
  max-width: 1200px;
  margin: auto;
  padding: 12px 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  font-family: 'Simonetta', serif;
}

/* LOGO */
.logo{
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo img{
  width: 65px;
}

.logo span{
  font-size: 1.1rem;
  font-weight: 700;
  color: #d96c8f;
}

/* MENÚ */
.menu{
  display: flex;
  gap: 25px;
}

.menu a{
  text-decoration: none;
  color: #d96c8f;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 1px;
  position: relative;
  transition: 0.3s;
}

/* LINEA ANIMADA */
.menu a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: #d96c8f;
  transition: 0.3s;
}

.menu a:hover::after{
  width: 100%;
}

.menu a:hover{
  color: #860830;
}

/* SCROLL EFECTO */
.header.scrolled{
  background: rgba(255,255,255,0.95);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* RESPONSIVE */
@media (max-width:768px){
 .nav-container{
  max-width: 1000px; /* 🔥 más compacto */
  margin: auto;
  padding: 8px 15px; /* 🔥 menos alto */

  display: flex;
  align-items: center;
  justify-content: space-between;

  font-family: 'Simonetta', serif;
}

  .menu{
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
}
/* CONTENEDOR INTERNO DEL HEADER */
.header-inner{
  max-width: 1200px;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  align-items: center;
}
