/* =====================================================
   PRODUCTO PAGE v2.2 — assets/css/producto-v2.css
   ===================================================== */

.producto-page-v2 {
  background: #fff7fc;
  color: #5b4ca7;
}

.producto-shell {
  padding-top: calc(var(--nav-h, 68px) + 0.5rem);
}

.producto-breadcrumb .breadcrumb {
  gap: 0.2rem;
}
.producto-breadcrumb .breadcrumb-item,
.producto-breadcrumb .breadcrumb-item a {
  color: #7c6bb2;
  font-size: 0.88rem;
  text-decoration: none;
}
.producto-breadcrumb .breadcrumb-item.active {
  color: #b99adb;
}

.producto-gallery-card,
.producto-info-card,
.producto-panel,
.producto-empty-card {
  background: #ffffff;
  border-radius: 1.5rem;
  border: 1px solid rgba(91,76,167,0.08);
  box-shadow: 0 10px 30px rgba(91,76,167,0.08);
}

.producto-gallery-card {
  padding: 1rem;
}

.producto-main-image-wrap {
  width: 100%;
  border: none;
  background: linear-gradient(180deg,#f9f3ff 0%, #fff 100%);
  border-radius: 1.25rem;
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
}

.producto-img-principal {
  width: 100%;
  height: clamp(340px, 52vw, 640px);
  object-fit: cover;
  display: block;
  border-radius: 1.25rem;
}

.producto-zoom-chip {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  background: rgba(91,76,167,0.88);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(91,76,167,0.22);
}

.producto-thumbs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(82px, 1fr));
  gap: 0.7rem;
  margin-top: 1rem;
}

.producto-thumb-btn {
  border: 2px solid transparent;
  background: #f8f4ff;
  border-radius: 1rem;
  overflow: hidden;
  padding: 0;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.producto-thumb-btn:hover,
.producto-thumb-btn.is-active {
  border-color: #ff9ad9;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(255,154,217,0.18);
}
.producto-thumb-img {
  width: 100%;
  height: 84px;
  object-fit: cover;
  display: block;
}

.producto-info-card {
  padding: 1.5rem;
}

.producto-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.producto-chip {
  display: inline-flex;
  align-items: center;
  background: #f4efff;
  color: #5b4ca7;
  border: 1px solid rgba(91,76,167,0.10);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
}
.producto-chip--cat {
  background: rgba(255,154,217,0.14);
}

.producto-title {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  font-weight: 800;
  color: #5b4ca7;
  margin-bottom: 0.45rem;
}

.producto-price {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #ff4f7a;
  margin-bottom: 1rem;
}

.producto-mini-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.2rem;
}
.producto-mini-benefits span {
  background: #fff7fb;
  border: 1px solid rgba(255,154,217,0.20);
  color: #7a5aa5;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.producto-copy p,
.producto-panel p {
  color: #62518f;
  line-height: 1.75;
  margin-bottom: 0;
}

.producto-panel {
  padding: 1.4rem 1.3rem;
}
.producto-panel__title,
.producto-related__title {
  font-family: 'Baloo 2', cursive;
  color: #5b4ca7;
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 0.9rem;
}

.producto-incluye-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}
.producto-incluye-list li {
  background: #fff7fb;
  border: 1px solid rgba(255,154,217,0.15);
  color: #684f96;
  border-radius: 0.95rem;
  padding: 0.75rem 0.9rem;
  font-weight: 500;
}

.producto-cta-stack {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}
.producto-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  border: none;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.producto-btn:hover { transform: translateY(-2px); }
.producto-btn--wa {
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 24px rgba(37,211,102,0.22);
}
.producto-btn--wa:hover { color: #fff; background: #1ebe5d; }
.producto-btn--cart {
  background: #5b4ca7;
  color: #fff;
  box-shadow: 0 10px 24px rgba(91,76,167,0.20);
}
.producto-btn--cart:hover { color: #fff; background: #44348f; }

.producto-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.producto-trust-item {
  background: #faf7ff;
  border: 1px solid rgba(91,76,167,0.08);
  border-radius: 1rem;
  padding: 0.9rem 0.85rem;
}
.producto-trust-item strong {
  display: block;
  color: #5b4ca7;
  font-size: 0.82rem;
  margin-bottom: 0.25rem;
}
.producto-trust-item span {
  color: #7f70aa;
  font-size: 0.8rem;
  line-height: 1.4;
}

.producto-faq-list {
  display: grid;
  gap: 0.9rem;
}
.producto-faq-item {
  display: grid;
  gap: 0.2rem;
}
.producto-faq-item strong {
  color: #5b4ca7;
  font-size: 0.92rem;
}
.producto-faq-item span {
  color: #6c5a98;
  font-size: 0.9rem;
}

.producto-related__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.producto-related__link {
  color: #5b4ca7;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}
.producto-related__link:hover { text-decoration: underline; }

.producto-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(19, 12, 42, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1200;
  padding: 1rem;
}
.producto-lightbox.show { display: flex; }
.producto-lightbox img {
  max-width: min(92vw, 980px);
  max-height: 88vh;
  border-radius: 1.25rem;
  box-shadow: 0 18px 60px rgba(0,0,0,0.35);
}
.producto-lightbox-close {
  position: absolute;
  top: 18px;
  right: 24px;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
}

.producto-empty-card {
  max-width: 620px;
  padding: 2.2rem 1.5rem;
}
.producto-empty-emoji {
  font-size: 4rem;
  line-height: 1;
  margin-bottom: 1rem;
}

@media (max-width: 991.98px) {
  .producto-trust-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .producto-shell { padding-top: calc(var(--nav-h, 68px) + 0.25rem); }
  .producto-gallery-card,
  .producto-info-card,
  .producto-panel { border-radius: 1.2rem; }
  .producto-gallery-card { padding: 0.75rem; }
  .producto-info-card { padding: 1.1rem; }
  .producto-img-principal { height: 380px; }
  .producto-zoom-chip { font-size: 0.7rem; right: 0.7rem; bottom: 0.7rem; }
  .producto-title { font-size: 2rem; }
  .producto-price { font-size: 1.9rem; }
  .producto-related__head { align-items: flex-start; flex-direction: column; }
}
