/* =========================================================
   GENERAL
========================================================= */

body{
  padding-top:120px;
  font-family:'Segoe UI',sans-serif;
  background:#faf7fb;
  overflow-x:hidden;
}
/* =========================================================
   NAVBAR
========================================================= */
.navbar{
  background:rgba(123,44,192,.55);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  transition:background .3s ease;
}

.navbar-brand{
  color:#fff;
  font-weight:600;
}

.navbar-brand img{
  border-radius:8px;
}

/* =========================================================
   TIPOGRAFÍA MARCA
========================================================= */
.brand-name{
  font-family:'Great Vibes',cursive;
  font-size:1.9rem;
  color:#fff;
  letter-spacing:1px;
  line-height:1;
}

.brand-a-normal{
  font-family:'Alex Brush',cursive;
  font-size:2rem;
  font-weight:600;
  margin-right:1px;
}


/* =========================================================
   TITULO CATALOGO
========================================================= */
.section-title{
  display:inline-block;
  font-size:2.5rem;
  font-weight:600;
  color:#7b2cbf;
  padding-bottom:10px;
  position:relative;
}

.section-title::after{
  content:"";
  position:absolute;
  width:60%;
  height:3px;
  background:#e0aaff;
  bottom:0;
  left:50%;
  transform:translateX(-50%);
  border-radius:5px;
}

/* =========================================================
   CATALOGO
========================================================= */
.catalogo-section{
  margin-top:0 !important;
  margin-bottom:40px;
}

.catalogo-header{
  transition:.3s ease;
  cursor:pointer;
  user-select:none;
  position:relative;
}

.catalogo-header:hover .section-title{
  transform:scale(1.02);
  opacity:.85;
  text-shadow:0 0 12px rgba(123,44,191,.35);
}

/* linea animada */
.catalogo-line{
  width:0;
  height:3px;
  background:#e0aaff;
  margin:10px auto 0;
  border-radius:5px;
  transition:width .5s ease;
}

.catalogo-header.open .catalogo-line{
  width:120px;
}

/* ocultar linea fija solo aqui */
.catalogo-header .section-title::after{
  display:none;
}

/* icono */
.catalogo-toggle{
  cursor:pointer;
  font-size:1.4rem;
  color:#7b2cbf;
  transition: transform .3s ease;
}

.catalogo-header.open .catalogo-toggle{
  transform: rotate(180deg);
}


.catalogo-header .fa-chevron-down {
  transition: transform .3s ease;
}

.catalogo-header.open .fa-chevron-down {
  transform: rotate(180deg);
}

.catalogo-header.open .catalogo-toggle{
  transform:rotate(180deg);
}


.collapse-icon{
  transition:transform .3s ease;
}

/* Cuando está abierto */
.catalogo-header:not(.collapsed) .collapse-icon{
  transform:rotate(180deg);
}
/* =========================================================
   FILTRO CATEGORÍAS (DROPDOWN)
========================================================= */
.filtro{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px;
}

.filtro button{
  background:transparent;
  border:1px solid #7b2cbf;
  color:#7b2cbf;
  padding:8px 18px;
  border-radius:30px;
  font-weight:500;
  cursor:pointer;
  transition:.3s;
}

.filtro button:hover,
.filtro button.active{
  background:#7b2cbf;
  color:#fff;
  transform:translateY(-2px);
}

/* dropdown */
.filtro-collapsable{
  max-height:0;
  overflow:hidden;
  opacity:0;
  transition:max-height .6s ease, opacity .4s ease;
}

.filtro-collapsable.show{
  max-height:500px;
  opacity:1;
}

.catalogo-header.open .catalogo-toggle{
  transform:rotate(180deg);
}
.catalogo-line{
  width:0;
  height:3px;
  background:#e0aaff;
  margin:10px auto 0;
  border-radius:5px;
  transition:width .5s ease;
}

.catalogo-header.open .catalogo-line{
  width:120px;
}

/* =========================================================
   PRODUCTOS
========================================================= */
.card-product{
  position:relative;
  border:none;
  border-radius:20px;
  background:#fff;
  overflow:hidden;
  box-shadow:0 10px 25px rgba(0,0,0,.1);
  transition:.35s ease;
}

.card-product:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 40px rgba(0,0,0,.18);
}

.card-product img{
  height:220px;
  width:100%;
  object-fit:contain;
  padding:12px;
  background:#fff;
  cursor:pointer;
  transition:transform .45s ease;
  z-index:2;
  position:relative;
}

.card-product:hover img{
  transform:scale(1.12);
}

.card-product::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top,rgba(123,44,191,.15),transparent 55%);
  opacity:0;
  transition:.3s;
  pointer-events:none;
}

.card-product:hover::after{
  opacity:1;
}

.card-product .card-body{
  position:relative;
  z-index:2;
}

.precio{
  color:#7b2cbf;
  font-weight:bold;
}

/* =========================================================
   INPUT CANTIDAD
========================================================= */
.qty-input{
  max-width:60px;
  text-align:center;
  font-size:14px;
  padding:6px;
}

/* =========================================================
   MODAL PRODUCTO
========================================================= */
.modal-img{
  max-width:100%;
  max-height:300px;
  object-fit:contain;
  cursor:zoom-in;
  transition:transform .35s ease;
}

.modal-img:hover{
  transform:scale(1.15);
}

.modal{ z-index:2000; }
.modal-backdrop{ z-index:1999; }

/* =========================================================
   CARRITO
========================================================= */
.remove-btn{
  color:#dc3545;
  cursor:pointer;
  font-size:14px;
}

/* =========================================================
   WHATSAPP
========================================================= */
.whatsapp{
  position: fixed;
  left: 20px;
  top: 140px; /* 👈 altura debajo del navbar */
  
  width: 60px;
  height: 60px;
  
  background: #25D366;
  color: #fff;
  
  border-radius: 50%; /* 🔥 completamente redondo */
  
  display: flex;
  align-items: center;
  justify-content: center;
  
  font-size: 28px;
  text-decoration: none;
  
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  transition: 0.3s ease;
  
  z-index: 999;
}

.whatsapp:hover{
  transform: scale(1.1);
  box-shadow: 0 12px 25px rgba(0,0,0,.35);
}

.whatsapp-float{
  position: fixed;
  bottom: 25px;
  left: 20px;
  width: 65px;
  height: 65px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
  z-index: 999;
  transition: all .3s ease;
}

.whatsapp-float:hover{
  transform: scale(1.1);
  box-shadow: 0 15px 35px rgba(0,0,0,.35);
}
@media (max-width: 768px){

  .whatsapp-float{
    width: 44px;
    height: 44px;
    font-size: 20px;
    bottom: 15px;
    left: 15px;
  }

}

@keyframes pulse{
  0%{ transform:scale(1); }
  50%{ transform:scale(1.1); }
  100%{ transform:scale(1); }
}

/* =========================================================
   MVV (MISION / VISION / VALORES)
========================================================= */
.mvv-section{
  margin-top:40px;
  margin-bottom:40px;
}

.mvv-card{
  background:#fff;
  padding:30px;
  border-radius:18px;
  transition:.3s ease;
  cursor:pointer;
  box-shadow:0 12px 28px rgba(123,44,191,.18);
  
  max-height:160px;   /* 👈 BAJITA */
  overflow:hidden;
}

.mvv-card:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 40px rgba(123,44,191,.28);
}

.mvv-header{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:8px;
}


.mvv-header h4{
  font-family:'Playfair Display', serif;
  font-size:1.5rem;
  letter-spacing:.5px;
  margin:0;
}

.mvv-icon{
  font-size:1.8rem;
  margin-bottom:8px;
  color:#7e22ce; /* morado elegante */
  background:rgba(123,44,191,.12);
  padding:16px;
  border-radius:50%;
  transition:box-shadow .4s ease;
}

.mvv-content p{
  margin-bottom:12px;
}

.mvv-content ul{
  list-style:none;
  padding:0;
  margin:0;
}


.mvv-content{
  margin-top:18px;
  font-family:'Poppins', sans-serif;
  font-size:.95rem;
  line-height:1.8;
  color:#444;
  text-align:justify;
}
.mvv-content li{
  margin-bottom:10px;
  padding-left:18px;
  position:relative;
}

.mvv-content li::before{
  content:"✦";
  position:absolute;
  left:0;
  color:#7e22ce;
  font-size:.8rem;
}
.mvv-card.open .mvv-content{
  opacity:1;
  transform:translateY(0);
}

.mvv-card.open{
  max-height:520px;   /* 👈 GRANDE */
  box-shadow:0 20px 45px rgba(123,44,191,.35);
}

.mvv-card.open .mvv-icon{
  box-shadow:0 0 18px rgba(123,44,191,.45);
}

.paso-card{
  background:#fff;
  border-radius:16px;
  padding:20px 15px;
  box-shadow:0 12px 30px rgba(0,0,0,.08);
  transition:.3s ease;

  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;

  height:150px; /* 👈 todas del mismo tamaño */
}

.paso-card:hover{
  transform:translateY(-5px);
  box-shadow:0 18px 35px rgba(0,0,0,.12);
}

.paso-icon{
  font-size:1.6rem;
  color:#7e22ce;
  margin-bottom:10px;
}

.paso-card h6{
  font-family:'Poppins', sans-serif;
  font-weight:500;
  font-size:.9rem;
  line-height:1.3;
  margin:0;
}


.paso-descripcion{
  font-family:'Poppins', sans-serif;
  font-size:1rem;
  color:#555;
  line-height:1.7;
  max-width:800px;
  margin:auto;
}
@media(max-width:768px){

  .paso-card{
    height:120px;
    padding:18px 10px;
  }

  .paso-icon{
    font-size:1.4rem;
  }

  .paso-card h6{
    font-size:.85rem;
  }
  
    .section-title{
    font-size:1.45rem;  /* 👈 un poco más pequeña */
    letter-spacing:.3px;
  }

}
.info-pedido{
  background:linear-gradient(135deg,#f3e8ff,#ede9fe);
  border-left:4px solid #7e22ce;
  padding:18px 22px;
  border-radius:12px;
  font-family:'Poppins', sans-serif;
  font-size:1rem;
  color:#4c1d95;
  max-width:750px;
  margin:30px auto;
  box-shadow:0 8px 20px rgba(0,0,0,.05);
}
.modal-check{
  width:70px;
  height:70px;
  background:#7b2cc0;
  color:#fff;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:30px;
  margin:auto;
  box-shadow:0 10px 25px rgba(0,0,0,.15);
}


/* =========================================================
   FOOTER PREMIUM FINAL
========================================================= */

.footer{
  background:
    radial-gradient(
      circle at 50% -15%,
      rgba(255,255,255,.25),
      transparent 55%
    ),
    linear-gradient(
      180deg,
      #faf7fb 0%,      /* sigue fusionando con el body */
      #f9e4f5 10%,     /* rosa muy claro suave */
      #e9d5ff 25%,     /* lila claro */
      #c084fc 45%,     /* violeta medio */
      #9333ea 65%,     /* morado vibrante */
      #7e22ce 85%,     /* morado fuerte */
      #6b21a8 100%     /* morado profundo pero no oscuro extremo */
    );

  color:#fff;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  width: 100vw;
  padding:60px 0 0;
  margin-top:0;
}



/* GRID 3 COLUMNAS */
.footer-grid{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items:center;
  padding: 40px 80px 0; /* 👈 baja el contenido hacia la zona morada */
}



/* IZQUIERDA */
.footer-col-left{
  text-align:left;
}

/* CENTRO */
.footer-col-center{
  text-align:center;
}

/* DERECHA */
.footer-col-right{
  text-align:right;
}

/* TITULOS */
.footer-title{
  font-weight:600;
  margin-bottom:14px;
  font-size:1.05rem;
}

/* ICONOS */
.footer-icons{
  display:flex;
  gap:20px;
  margin-top:10px;
}

.footer-col-left .footer-icons{
  justify-content:flex-start;
}

.footer-col-center .footer-icons{
  justify-content:center;
}

.footer-col-right .footer-icons{
  justify-content:flex-end;
}

.footer-icon{
  font-size:1.7rem;
  color:#fff;
  transition:.3s ease;
}

.footer-icon:hover{
  transform:scale(1.2);
  opacity:.85;
}

/* MAPA */
.footer-map iframe{
  width:260px;
  height:160px;
  border-radius:14px;
  border:0;
  box-shadow:0 15px 30px rgba(0,0,0,.25);
}

/* COPYRIGHT */
.footer-bottom{
  text-align:center;
  padding:18px;
  font-size:.9rem;
  margin-top:50px;
  border-top:1px solid rgba(255,255,255,.15);
}

/* =========================================
   RESPONSIVE
========================================= */

@media(max-width:768px){

  .footer-grid{
    padding-top:50px; /* un poco más abajo en móvil */
    grid-template-columns:1fr;
    gap:40px;
    text-align:center;
  }

  .footer-col-left,
  .footer-col-right{
    text-align:center;
  }

  .footer-map iframe{
    width:100%;
    max-width:320px;
    height:180px;
  }

}
@media(max-width:768px){

  /* Centrar y separar más */
  .footer-col-left .footer-icons,
  .footer-col-right .footer-icons,
  .footer-col-center .footer-icons{
    justify-content:center;
    gap:30px; /* más separación */
  }

  /* Iconos más grandes y morado fuerte */
  .footer-icon{
    font-size:2.2rem;   /* más grandes */
    color:#6b21a8;      /* morado fuerte elegante */
    transition:.3s ease;
    text-shadow:0 0 8px rgba(107,33,168,.4);
  }

  .footer-icon:hover{
    transform:scale(1.15);
  }
   /* Texto "Síguenos" */
  .footer-title{
    text-align:center;
    font-size:1.2rem;   /* un poco más grande */
    color:#6b21a8;      /* mismo morado fuerte */
    margin-bottom:18px;
    font-weight:600;
  }

}


/* Animación productos */
.product-card-item {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp .5s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.special-card {
  background: #faf7fb;
  border-radius: 18px;
  padding: 30px 20px;
  cursor: pointer;
  transition: all .3s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

.special-card:hover {
  transform: translateY(-6px);
  background: #7b2cbf;
  color: #fff;
}

.catalogo-header .fa-chevron-down {
  transition: transform .3s ease;
}
.mvv-card .especial-extra{
  display:none;
}

.mvv-card.open .especial-extra{
  display:block;
}

/* IMÁGENES DENTRO DE LA GALERÍA */
.galeria-img {
  width: 100%;
  height: 260px;
  object-fit: contain; /* 👈 CLAVE */
  background: #f6effb;
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  transition: transform .3s ease;
}

.galeria-img:hover {
  transform: scale(1.05);
}
.modal-title {
  letter-spacing: 1px;
  font-size: 1.4rem;
}

.modal-body {
  background: linear-gradient(135deg, #faf5ff, #f3e8ff);
}

.galeria-img {
  cursor: zoom-in;
  transition: transform .3s ease, box-shadow .3s ease;
}

.galeria-img:hover {
  transform: scale(1.08);
  box-shadow: 0 15px 30px rgba(123,44,192,.35);
}


#galeriaModal .modal-content{
  border-radius:20px;
  overflow:hidden;
}

#galeriaModal .modal-header{
  background:#7b2cc0;
  padding:15px 20px;
}

#galeriaModal .modal-body{
  padding:25px;
}
/* Modal zoom compacto */
.zoom-modal{
  max-width: 500px;
}

#zoomModal .modal-content{
  background: transparent;
  border: none;
}

#zoomModal img{
  max-width: 100%;
  max-height: 75vh;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
}

/* 🔥 BOTÓN SIEMPRE ENCIMA */
.zoom-close{
  position: absolute;
  top: -15px;
  right: -15px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: white;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1056; /* MÁS ALTO QUE TODO */
  box-shadow: 0 10px 20px rgba(0,0,0,.3);
  transition: .3s ease;
}

.zoom-close:hover{
  transform: scale(1.1);
}


/* =========================================================
   MVV / PEDIDOS ESPECIALES
========================================================= */

.mvv-section{
  margin-top:40px;
  margin-bottom:40px;
}

/* CARD BASE */
.mvv-card{
  background:#fff;
  border-radius:22px;
  padding:26px 22px 18px;     /* menos aire abajo */
  cursor:pointer;
  box-shadow:0 12px 28px rgba(123,44,191,.18);
  transition:.35s ease;
  height:240px;              /* altura compacta */
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  overflow:hidden;
}

.mvv-card:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 40px rgba(123,44,191,.28);
}

/* HEADER (ICONO + TITULO CENTRADOS) */
.mvv-header{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  text-align:center;
}

.mvv-header h4{
  margin:0;
  font-weight:600;
  color:#7b2cbf;
}

/* ICONO */
.mvv-icon{
  font-size:2.2rem;
  color:#7b2cbf;
  background:rgba(123,44,191,.12);
  padding:16px;
  border-radius:50%;
  transition:box-shadow .4s ease;
}

/* CONTENIDO OCULTO */
.mvv-content{
  max-height:0;
  overflow:hidden;
  opacity:0;
  margin-top:12px;
  transition:max-height .5s ease, opacity .35s ease;
}

/* CARD ABIERTA */
.mvv-card.open{
  height:420px; /* altura final */
  box-shadow:0 20px 45px rgba(123,44,191,.35);
}

.mvv-card.open .mvv-content{
  max-height:380px; /* espacio real para texto + imagen */
  opacity:1;
}

.mvv-card.open .mvv-icon{
  box-shadow:0 0 18px rgba(123,44,191,.45);
}

/* TEXTO */
.mvv-content p{
  margin-bottom:10px;
}

/* BLOQUE IMAGEN */
.especial-extra{
  margin-top:auto;
  text-align:center;
}

/* IMAGEN */
.especial-extra img{
  width:100%;
  height:190px;           /* MISMO ALTO PARA TODAS */
  object-fit:contain;     /* NUNCA recorta */
  background:#f6effb;
  padding:12px;
  border-radius:14px;
  cursor:pointer;
}

/* =========================================================
   GALERÍA MODAL
========================================================= */

.galeria-img{
  width:100%;
  height:260px;
  object-fit:contain;
  background:#f6effb;
  border-radius:12px;
  padding:10px;
  cursor:zoom-in;
  transition:transform .3s ease, box-shadow .3s ease;
}

.galeria-img:hover{
  transform:scale(1.06);
  box-shadow:0 15px 30px rgba(123,44,192,.35);
}

.modal-title{
  letter-spacing:1px;
  font-size:1.4rem;
}

.modal-body{
  background:linear-gradient(135deg,#faf5ff,#f3e8ff);
}

.store-card{
  background:#fff;
  border-radius:20px;
  padding:26px 20px;
  height:100%;
  box-shadow:0 10px 25px rgba(0,0,0,.12);
  transition:.35s ease;
}

.store-card:hover{
  transform:translateY(-6px);
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media(max-width:768px){

  .mvv-card{
    height:220px;
  }

  .mvv-card.open{
    height:400px;
  }

.especial-extra img{
  width:100%;
  height:190px;
  object-fit:contain;
  background:#f6effb;
  padding:12px;
  border-radius:14px;
}


}


/* =======================
   SLIDER PROFESIONAL
======================= */

.slider-wrapper{
  overflow: hidden;
  width:100%;
  display:flex;
  justify-content:center;
  margin-top:20px;
  margin-bottom:30px;
}

#slider{
  width:100%;
  max-width:1200px;
  height:420px;
  border-radius:28px;
  overflow:hidden;
  box-shadow:0 25px 60px rgba(123,44,191,.25);
}

#slider .carousel-item{
  height:420px;
}

#slider .slider-img{
  width:100%;
  height:100%;        /* 👈 cambio aquí */
  object-fit:cover;
}

/* =======================
   SLIDER MOBILE
======================= */
@media(max-width:768px){

  #slider{
    height:auto;
    border-radius:1px;
    box-shadow:0 15px 35px rgba(123,44,191,.2);
  }

  #slider .carousel-item{
    height:auto;
    background:#f8d3e6;
  }

  #slider .slider-img{
    width:100%;
    height:auto;
    object-fit:contain;
    display:block; /* importante */
    margin:auto;   /* centra sin usar flex */
  }

}



/* PAGINACIÓN COLOR MORADO */
.pagination .page-link{
  color: #7B2CBF;
}

.pagination .page-link:hover{
  color: #fff;
  background-color: #7B2CBF;
  border-color: #7B2CBF;
}

.pagination .page-item.active .page-link{
  background-color: #7B2CBF;
  border-color: #7B2CBF;
  color: #fff;
}

.pagination .page-item.disabled .page-link{
  color: #bfa3e3;
}

/* =========================================================
   CARRITO ELEGANTE
========================================================= */

/* Offcanvas */
.offcanvas{
  border-top-left-radius:20px;
  border-bottom-left-radius:20px;
  box-shadow:-10px 0 35px rgba(123,44,191,.35);
}

/* Header */
.offcanvas-header{
  background:linear-gradient(135deg,#7b2cbf,#9d4edd);
  color:#fff;
  border-top-left-radius:20px;
}

.offcanvas-header h5{
  font-weight:600;
  letter-spacing:.5px;
}

/* Body */
.offcanvas-body{
  background:#faf7fb;
  padding:18px;
}

/* Lista de productos */
#items{
  border-radius:16px;
  overflow:hidden;
}

/* Item */
#items .list-group-item{
  border:0;
  margin-bottom:10px;
  border-radius:14px;
  box-shadow:0 6px 18px rgba(0,0,0,.08);
  background:#fff;
}

/* Nombre producto */
#items strong{
  color:#7b2cbf;
  font-size:15px;
}

/* Subtotal */
#items small{
  font-size:13px;
}

/* Botón eliminar */
.remove-btn{
  background:#f8d7da;
  color:#842029;
  border-radius:50%;
  padding:4px 8px;
  font-size:13px;
  transition:.3s;
}

.remove-btn:hover{
  background:#dc3545;
  color:#fff;
}

/* Total */
#total{
  font-size:1.4rem;
  color:#7b2cbf;
}

/* Inputs */
.offcanvas-body input,
.offcanvas-body select{
  border-radius:14px;
  border:1px solid #e0aaff;
}

/* Botón principal (MORADO) */
.btn-carrito{
  background:linear-gradient(135deg,#7b2cbf,#9d4edd);
  color:#fff;
  border-radius:30px;
  padding:12px;
  font-size:17px;
  font-weight:600;
  border:none;
  transition:.35s ease;
}

.btn-carrito:hover{
  background:linear-gradient(135deg,#5a189a,#7b2cbf);
  transform:translateY(-2px);
  box-shadow:0 10px 25px rgba(123,44,191,.45);
}

/* Contador carrito */
#cartCount{
  background:#dc3545;
  font-size:.75rem;
}

/* ===============================
   ANIMACIÓN AGREGAR AL CARRITO
================================ */
@keyframes popCart {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.12); }
  60%  { transform: scale(0.96); }
  100% { transform: scale(1); }
}

.cart-animate {
  animation: popCart .35s ease;
}

/* Item agregado */
.item-added {
  animation: flashItem .6s ease;
}

@keyframes flashItem {
  0%   { background:#e0aaff; }
  100% { background:#fff; }
}

/* ===============================
   IMAGEN VOLANDO AL CARRITO
================================ */
.fly-img{
  position:fixed;
  z-index:3000;
  pointer-events:none;
  transition:all .7s cubic-bezier(.65,.05,.36,1);
  border-radius:12px;
  box-shadow:0 15px 35px rgba(123,44,191,.45);
}


/* ===============================
   HEADER MODERNO
================================ */

/* BARRA SUPERIOR */
.top-bar{
  background: linear-gradient(135deg,#7b2cbf,#9d4edd);
  height:80px;
}
.search-box{
  display:flex;
  align-items:center;
  background:rgba(255,255,255,.2);
  padding:8px 14px;
  border-radius:30px;
  gap:8px;
  color:#fff;
}

.search-box input{
  background:transparent;
  border:none;
  outline:none;
  color:#fff;
  width:200px;
}

.search-box input::placeholder{
  color:#e0e0e0;
}

.logo-center img{
  height:48px;
}

.top-icons{
  display:flex;
  gap:16px;
}

.icon-btn{
  color:#fff;
  font-size:20px;
  position:relative;
}

/* MENU */
.menu-bar{
  position:sticky;
  top:80px; /* altura del header */
  z-index:1040;
  background:linear-gradient(135deg,#f8f0ff,#ffffff);
  border-bottom:1px solid #e0aaff;
  overflow-x:hidden;
}
.menu-bar ul{
  display:flex;
  justify-content:center;
  gap:28px;
  padding:12px 0;
  margin:0;
  list-style:none;
}

.menu-bar a{
  color:#7b2cbf;
  font-weight:600;
  text-decoration:none;
  position:relative;
}

.menu-bar a::after{
  content:"";
  position:absolute;
  width:0;
  height:3px;
  background:#7b2cbf;
  left:50%;
  bottom:-6px;
  transform:translateX(-50%);
  transition:.3s;
}

.menu-bar a:hover::after{
  width:100%;
}

.menu-bar .oferta{
  color:#dc3545;
}
.left-box{
  flex:1;
  color:#fff;
}

.logo-img{
  height:42px;
}

.brand-name{
  font-family:'Great Vibes',cursive;
  font-size:1.9rem;
  color:#fff;
}

/* BUSCADOR CENTRO */
.search-center{
  flex:1;
  display:flex;
  align-items:center;
  gap:8px;
  background:rgba(255,255,255,.25);
  padding:10px 18px;
  border-radius:40px;
  max-width:420px;
  color:#fff;
}

.search-center input{
  background:transparent;
  border:none;
  outline:none;
  width:100%;
  color:#fff;
}

.search-center input::placeholder{
  color:#f1eaff;
}

/* BUSCADOR MOBILE */
.search-mobile{
  background:linear-gradient(135deg,#7b2cbf,#9d4edd);
}

/* DERECHA */
.right-box{
  flex:1;
  display:flex;
  justify-content:flex-end;
}

.icon-btn{
  color:#fff;
  font-size:22px;
  position:relative;
}

.icon-btn .badge{
  position:absolute;
  top:-6px;
  right:-10px;
}

/* OFFCANVAS MENU */
#menuCanvas .offcanvas-header{
  background:linear-gradient(135deg,#7b2cbf,#9d4edd);
  color:#fff;
}

.menu-mobile{
  list-style:none;
  padding:0;
}

.menu-mobile li{
  margin-bottom:14px;
}

.menu-mobile a{
  display:block;
  padding:12px 16px;
  border-radius:14px;
  color:#7b2cbf;
  font-weight:600;
  text-decoration:none;
  transition:.3s;
}

.menu-mobile a:hover{
  background:#7b2cbf;
  color:#fff;
}

.menu-mobile .oferta{
  color:#dc3545;
}

.menu-bar a.active,
.menu-mobile a.active{
  color:#5a189a;
}

.menu-bar a.active::after{
  width:100%;
}

.catalogo-toolbar{
  text-align:center;
}

.filters-box{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  justify-content:center;
  background:#fff;
  padding:18px;
  border-radius:20px;
  box-shadow:0 10px 25px rgba(0,0,0,.1);
}

.filters-box input,
.filters-box select{
  border-radius:14px;
  border:1px solid #e0aaff;
  padding:10px 14px;
  min-width:200px;
}



/* =========================================================
   RESPONSIVE
========================================================= */
@media(max-width:768px){
  .card-product img{ height:190px; }
  
  .section-title{
    font-size:1.45rem;  /* 👈 un poco más pequeña */
    letter-spacing:.3px;
  }
}

@media(max-width:768px){

  .top-bar{
    width:100%;
    max-width:100%;
    padding-left:12px;
    padding-right:12px;
  }

}
@media(max-width:768px){

  .left-box{
    width:100%;
    justify-content:center;
  }

  .left-box img{
    margin-right:6px;
  }

  .brand-name{
    text-align:center;
  }

  /* ocultamos buscador desktop */
  .search-center.d-none.d-md-flex{
    display:none !important;
  }

  /* buscador mobile centrado */
  .search-mobile{
    display:flex;
    justify-content:center;
  }

  .search-mobile .search-center{
    width:100%;
    max-width:92%;
  }

}

/* FIX DESBORDES MOBILE */
html, body{
  width:100%;
  overflow-x:hidden;
}
/* ===============================
   MOBILE FIX HEADER + CATALOGO
================================ */

.offcanvas-backdrop{
  z-index:1090 !important;
}

@media (max-width:768px){

  /* ========= HEADER ========= */

  .top-bar{
    display:grid;
    grid-template-columns: 44px 1fr 44px;
    align-items:center;
    width:100%;
    padding:10px 12px;
  }

  /* hamburguesa */
  .btn-menu{
    justify-self:start;
  }

  /* logo + nombre CENTRADOS */
  .left-box{
    grid-column:2;
    justify-content:center;
    gap:6px;
  }

  .brand-name{
    text-align:center;
    white-space:nowrap;
  }

  /* carrito */
  .right-box{
    grid-column:3;
    justify-self:end;
  }

  /* buscador debajo */
  .search-mobile{
    display:flex;
    justify-content:center;
    padding:6px 12px 10px;
  }

  .search-mobile .search-center{
    width:100%;
    max-width:95%;
  }

  /* ocultar buscador desktop */
  .search-center.d-none.d-md-flex{
    display:none !important;
  }

  /* ========= CATALOGO ========= */

  .catalogo-section{
    margin-top:10px !important;
    margin-bottom:20px !important;
  }

  .catalogo-header{
    margin-bottom:8px !important;
    position:relative;
  }
  
  .catalogo-header::after{
  content:"";
  position:absolute;
  bottom:-6px;
  left:50%;
  transform:translateX(-50%);
  width:0;
  height:2px;
  background:#7e22ce;
  transition:.3s ease;
}

.catalogo-header:hover::after{
  width:120px;
}

.section-title{
  font-family:'Playfair Display', serif;
  font-size:2.1rem;
  font-weight:600;
  letter-spacing:1px;
  text-transform:capitalize;
}


  .catalogo-line{
    margin-top:6px;
  }

  .catalogo-toolbar{
    margin-bottom:10px !important;
  }

  .filters-box{
    padding:12px;
    gap:8px;
  }

  .filters-box input,
  .filters-box select{
    min-width:100%;
  }

  #productosContainer{
    margin-top:10px;
  }

  .card-product{
    margin-bottom:14px;
  }

}
@media (max-width:768px){

  .btn-menu{
    background:transparent;
    border:none;
    padding:6px;
    font-size:18px;
    color:#fff;
    opacity:.85;
    position:relative;
    z-index:1100;      /* 👈 MÁS ALTO QUE HEADER */
    pointer-events:auto;
  }

  .btn-menu:hover{
    opacity:1;
  }

  .btn-menu:focus{
    box-shadow:none;
    outline:none;
  }

}
body.modal-open {
  padding-right: 0 !important;
}


/* ===============================
   FIX DEFINITIVO Z-INDEX
================================ */

html.modal-open,
body.modal-open {
  padding-right: 0 !important;
}

.header-top{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:1030;
}

.menu-bar{
  position:sticky;
  top:80px;
  width:100%;
  z-index:1025;
}

.offcanvas-backdrop{
  z-index:1040 !important;
  pointer-events:none !important;
}

button,
.btn,
.btn-menu,
.icon-btn,
.btn-menu,
.whatsapp {
  cursor: pointer;
}

.color-btn{
  width:36px;
  height:36px;
  border-radius:50%;
  border:2px solid rgba(0,0,0,.15);
  cursor:pointer;
  transition:.2s ease;
}

.color-btn:hover{
  transform:scale(1.1);
}

.globo-modal{
  border-radius: 16px;
  overflow: hidden;
}
/* Más compacto en desktop */
@media (min-width: 992px){
  .globo-modal-width{
    max-width: 490px;   /* puedes bajar a 450 si lo quieres más compacto */
  }
}
.globo-modal .modal-body{
  padding-left: 1.2rem;
  padding-right: 1.2rem;
}

.globo-modal .modal-header{
  padding-left: 1.2rem;
  padding-right: 1.2rem;
}

.globo-modal .modal-footer{
  padding-left: 1.2rem;
  padding-right: 1.2rem;
}

.modal-dialog{
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 992px){
  #globoPersonalizadoModal .modal-dialog{
    max-width: 580px;
  }
}
#globoPersonalizadoModal .modal-body{
  padding: 1rem 1.2rem;
}

#globoPersonalizadoModal .modal-footer{
  padding: .75rem 1rem;
}
/* ===============================
   FIX SCROLL HEADER
================================ */

section{
  scroll-margin-top: 140px;
}
.modal-open .header-top{
  padding-right: 0 !important;
}
/* =========================================================
   FIX TITULO DIRECCION EN MOBILE
========================================================= */

@media (max-width:768px){

  /* 📍 Dirección en blanco */
  .footer-col-right .footer-title{
    color:#ffffff !important;
  }

  /* 💜 Síguenos en morado */
  .footer-col-left .footer-title{
    color:#6b21a8 !important;
  }

}


