/* bfpgeoblock — bloque comercial geo-condicional del blog */
.bfp-geoblock {
  margin: 28px 0;
  padding: 18px 20px;
  border: 1px solid #e6e8eb;
  border-radius: 12px;
  background: #fafbfc;
  font-family: inherit;
}
.bfp-geoblock__ship {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ecfdf3;
  color: #0f7a43;
  border: 1px solid #bbf3d0;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
  margin-bottom: 14px;
}
.bfp-geoblock__ship-icon { font-size: 18px; line-height: 1; }
.bfp-geoblock__title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #1a2230;
}
.bfp-geoblock__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 768px) {
  .bfp-geoblock__grid { grid-template-columns: repeat(2, 1fr); }
}
.bfp-geoblock__card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #eceef1;
  border-radius: 10px;
  padding: 10px;
  transition: box-shadow .15s, transform .15s;
}
.bfp-geoblock__card:hover {
  box-shadow: 0 6px 18px rgba(16, 32, 60, .1);
  transform: translateY(-2px);
}
.bfp-geoblock__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin-bottom: 8px;
}
.bfp-geoblock__name {
  font-size: 13px;
  line-height: 1.3;
  color: #2a3340;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 34px;
}
.bfp-geoblock__price {
  font-size: 16px;
  font-weight: 700;
  color: #0a7d3b;
  margin: 6px 0 8px;
}
.bfp-geoblock__cta {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: #e8731c;
  border-radius: 6px;
  text-align: center;
  padding: 7px 0;
  margin-top: auto;
}
/* Variante con descuento (A/B) */
.bfp-geoblock__promo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: #fff7ed;
  border: 1px dashed #f0a868;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 14px;
  font-size: 14px;
  color: #9a4a06;
}
.bfp-geoblock__code {
  font-weight: 700;
  letter-spacing: .5px;
  background: #fff;
  border: 1px solid #f0a868;
  border-radius: 6px;
  padding: 4px 10px;
  cursor: pointer;
  user-select: all;
}
.bfp-geoblock__code.copied::after { content: " ✓ copiado"; color: #0a7d3b; font-weight: 600; }
/* Barra de compartir (viral) — en ambas variantes */
.bfp-geoblock__share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #eceef1;
}
.bfp-geoblock__share-label {
  font-size: 13px;
  color: #5a6573;
  margin-right: 4px;
}
.bfp-geoblock__share-btn {
  font-size: 13px;
  font-weight: 600;
  color: #2a3340;
  background: #fff;
  border: 1px solid #d6dae0;
  border-radius: 18px;
  padding: 6px 14px;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.bfp-geoblock__share-btn:hover { background: #f3f5f7; }
.bfp-geoblock__share-btn.copied::after { content: " ✓"; color: #0a7d3b; }
.bfp-geoblock__share-btn--wa {
  color: #fff;
  background: #25d366;
  border-color: #25d366;
}
.bfp-geoblock__share-btn--wa:hover { background: #1ebe5a; }
/* Variante informacional (fuera de Chile) */
.bfp-geoblock--info { background: #f6f8fb; }
.bfp-geoblock__info p { color: #4a5663; font-size: 14px; line-height: 1.5; margin: 6px 0 12px; }
.bfp-geoblock__cta-link {
  display: inline-block;
  font-weight: 600;
  color: #e8731c;
  text-decoration: none;
  border: 1px solid #e8731c;
  border-radius: 6px;
  padding: 7px 16px;
}

/* ── FAB viral: caja de regalo circular que se EXPANDE a "Gana $2.000" al pasar el mouse ── */
.bfp-refer-nav {
  position: fixed; left: 18px; bottom: 18px; z-index: 9990;
}
.bfp-refer-nav__btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; padding: 0; border-radius: 50%;
  background: #0a7d3b; border: none; cursor: pointer; color: #fff;
  line-height: 1; font: inherit; font-weight: 700; font-size: 14px; overflow: hidden;
  box-shadow: 0 6px 20px rgba(10,125,59,.35);
  transition: width .25s ease, border-radius .25s ease, padding .25s ease, background .15s;
}
.bfp-refer-nav__ico { width: 24px; height: 24px; flex: 0 0 auto; display: block; }
.bfp-refer-nav__label {
  max-width: 0; opacity: 0; margin-left: 0; overflow: hidden; white-space: nowrap;
  transition: max-width .25s ease, opacity .2s ease, margin-left .25s ease;
}
/* Hover (desktop) → se abre y aparece "Gana $2.000" */
.bfp-refer-nav__btn:hover, .bfp-refer-nav__btn:focus-visible {
  width: auto; border-radius: 30px; padding: 0 20px 0 15px; background: #0a6e35;
}
.bfp-refer-nav__btn:hover .bfp-refer-nav__label,
.bfp-refer-nav__btn:focus-visible .bfp-refer-nav__label {
  max-width: 160px; opacity: 1; margin-left: 9px;
}
/* Mobile: solo la caja de regalo (sin hover); el tap abre el modal con la oferta */
@media (max-width: 768px) {
  .bfp-refer-nav { left: 14px; bottom: 74px; }
  .bfp-refer-nav__btn { width: 50px; height: 50px; }
}

/* ── Modal del panel de referido ── */
.bfp-refer-modal {
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(16,24,40,.55);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.bfp-refer-modal__box {
  position: relative; background: #fff; border-radius: 14px;
  max-width: 460px; width: 100%; padding: 26px 24px 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.bfp-refer-modal__close {
  position: absolute; top: 10px; right: 14px;
  background: none; border: none; font-size: 26px; line-height: 1;
  color: #9aa4b0; cursor: pointer;
}
.bfp-refer__title { font-size: 20px; font-weight: 800; margin: 0 0 10px; color: #1a2230; }
.bfp-refer__lead { font-size: 14px; line-height: 1.5; color: #4a5663; margin: 0 0 16px; }
.bfp-refer__lead a { color: #e8731c; }
.bfp-refer__share { display: flex; flex-direction: column; gap: 8px; }
.bfp-refer__btn {
  font-size: 14px; font-weight: 700; cursor: pointer;
  padding: 11px 16px; border-radius: 8px; border: 1px solid #d6dae0;
  background: #fff; color: #2a3340; transition: background .15s;
}
.bfp-refer__btn:hover { background: #f3f5f7; }
.bfp-refer__btn.copied::after { content: " ✓ copiado"; color: #0a7d3b; }
.bfp-refer__btn--wa { background: #25d366; border-color: #25d366; color: #fff; }
.bfp-refer__btn--wa:hover { background: #1ebe5a; }
.bfp-refer__rules { display: inline-block; margin-top: 14px; font-size: 12px; color: #7a8693; }
