/* Accesos a WhatsApp: no son grupos internos de Banana Friends. */
body.bf-page-planes #planesGruposWrap .pg-item--whatsapp {
  border: 1px solid rgba(37,211,102,.22) !important;
  background: linear-gradient(110deg,#f3fff7 0%,#fff 65%) !important;
  text-decoration:none;
  transition:border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
body.bf-page-planes #planesGruposWrap .pg-item--whatsapp:hover,
body.bf-page-planes #planesGruposWrap .pg-item--whatsapp:focus-visible {
  border-color:rgba(37,211,102,.55) !important;
  box-shadow:0 12px 27px rgba(25,125,65,.10) !important;
}
body.bf-page-planes #planesGruposWrap .pg-item--whatsapp:focus-visible {
  outline:3px solid rgba(37,211,102,.4);outline-offset:2px;
}
body.bf-page-planes #planesGruposWrap .pg-whatsapp-avatar {
  background:#25d366;object-fit:cover!important;border-radius:17px!important;box-shadow:0 10px 24px rgba(27,126,66,.16) inset; padding:0!important;
}
body.bf-page-planes #planesGruposWrap .pg-item--whatsapp .pg-origin-logo {
  width:18px!important;height:18px!important;border-radius:5px!important;object-fit:contain!important;background:#fff!important;
}
body.bf-page-planes #planesGruposWrap .pg-whatsapp-action {
  grid-column:3!important;justify-self:end!important;align-self:center!important;
  display:inline-flex!important;align-items:center;justify-content:center;
  min-width:66px;min-height:38px;padding:8px 12px;
  border-radius:14px;background:#168746;color:#fff;
  font-size:12px;font-weight:750;white-space:nowrap;box-sizing:border-box;
}
body.bf-page-planes #planesGruposWrap .pg-item--whatsapp:hover .pg-whatsapp-action {background:#10703a;}
@media(max-width:700px){
  body.bf-page-planes.bf-page-groups #planesGruposWrap .pg-list > .pg-item--whatsapp {
    grid-template-columns:72px minmax(0,1fr) 58px!important;
  }
  body.bf-page-planes #planesGruposWrap .pg-whatsapp-action {min-width:54px;min-height:32px;padding:7px 8px;font-size:11px;}
}
@media(max-width:470px){
  body.bf-page-planes.bf-page-groups #planesGruposWrap .pg-list > .pg-item--whatsapp {
    grid-template-columns:62px minmax(0,1fr) 52px!important;column-gap:8px!important;
  }
  body.bf-page-planes.bf-page-groups #planesGruposWrap .pg-whatsapp-avatar {
    width:62px!important;height:62px!important;min-width:62px!important;min-height:62px!important;max-width:62px!important;max-height:62px!important;
  }
  body.bf-page-planes #planesGruposWrap .pg-whatsapp-action {min-width:50px;padding:6px 8px;}
}
@media(prefers-reduced-motion:reduce){body.bf-page-planes #planesGruposWrap .pg-item--whatsapp{transition:none;}}


/* Modal de acceso por edad para WhatsApp: mismo sistema visual que Singles */
body.bf-page-planes.gc-age-gate-open{overflow:hidden;}
body.bf-page-planes.gc-age-gate-open > .app{pointer-events:none;user-select:none;filter:saturate(.88);}
.gc-age-gate-backdrop{
  position:fixed;
  inset:0;
  z-index:99990;
  background:rgba(20,20,24,.36);
  -webkit-backdrop-filter:blur(14px) saturate(1.08);
  backdrop-filter:blur(14px) saturate(1.08);
  animation:gcAgeGateFade .22s ease both;
}
.gc-age-gate{
  position:fixed;
  inset:0;
  z-index:99991;
  display:grid;
  place-items:center;
  padding:clamp(18px,4vw,42px);
  overflow:auto;
  overscroll-behavior:contain;
}
.gc-age-gate-card{
  width:min(100%,560px);
  border:1px solid rgba(255,255,255,.76);
  border-radius:30px;
  padding:34px;
  background:radial-gradient(circle at 88% 6%,rgba(255,111,42,.12),transparent 31%),linear-gradient(160deg,rgba(255,255,255,.99),rgba(251,251,252,.97));
  box-shadow:0 30px 90px rgba(15,18,24,.22),0 3px 14px rgba(15,18,24,.08),inset 0 1px 0 rgba(255,255,255,.95);
  text-align:left;
  animation:gcAgeGateIn .3s cubic-bezier(.2,.78,.2,1) both;
}
.gc-age-gate-visual{position:relative;width:78px;height:68px;margin:0 0 20px;}
.gc-age-gate-avatar{position:absolute;left:0;top:0;width:62px;height:62px;padding:3px;border-radius:20px;background:#fff;box-shadow:0 12px 30px rgba(20,23,30,.14);}
.gc-age-gate-avatar img{width:100%;height:100%;display:block;object-fit:cover;border-radius:17px;}
.gc-age-gate-avatar--whatsapp{padding:0;background:transparent;box-shadow:none;}
.gc-age-gate-avatar--whatsapp img{border-radius:18px;}
.gc-age-gate-users{position:absolute;right:0;bottom:0;width:33px;height:33px;display:grid;place-items:center;border:3px solid #fff;border-radius:50%;background:linear-gradient(145deg,#fff2e9,#ffe2cf);color:#d75516;box-shadow:0 9px 20px rgba(190,72,17,.16);}
.gc-age-gate-users svg,.gc-age-gate-users img{width:17px;height:17px;display:block;}
.gc-age-gate-users--whatsapp{background:#fff;box-shadow:0 9px 20px rgba(20,23,30,.12);}
.gc-age-gate-eyebrow{display:inline-flex;align-items:center;min-height:28px;padding:0 11px;margin-bottom:12px;border:1px solid rgba(255,88,20,.12);border-radius:999px;background:#fff3eb;color:#c64c13;font-size:11px;font-weight:850;letter-spacing:.09em;text-transform:uppercase;}
.gc-age-gate h1{margin:0;color:#18191d;font-size:clamp(27px,3.1vw,36px);line-height:1.08;letter-spacing:-.045em;font-weight:860;}
.gc-age-gate p#gcWaAgeGateText{margin:17px 0 0;color:#65676f;font-size:16px;line-height:1.58;letter-spacing:-.012em;}
.gc-age-gate p#gcWaAgeGateText strong{color:#26272c;font-weight:800;}
.gc-age-gate-note{display:flex;align-items:flex-start;gap:11px;margin-top:20px;padding:15px 16px;border:1px solid rgba(30,31,35,.07);border-radius:17px;background:rgba(245,246,248,.9);color:#5d6068;font-size:13px;line-height:1.45;}
.gc-age-gate-note svg{width:19px;height:19px;flex:0 0 19px;color:#666a73;margin-top:1px;}
.gc-age-gate-actions{display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);gap:10px;margin-top:24px;}
.gc-age-gate-btn{min-height:52px;display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:16px;border:1px solid transparent;padding:0 18px;font:inherit;font-size:15px;font-weight:790;text-decoration:none;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease;}
.gc-age-gate-btn--secondary{border-color:rgba(28,29,34,.09);background:#f5f5f6;color:#34353a;}
.gc-age-gate-btn--primary{background:linear-gradient(135deg,#ff651f,#ff3f67);color:#fff;box-shadow:0 12px 28px rgba(236,75,47,.24);}
.gc-age-gate-btn--primary svg{width:18px;height:18px;}
.gc-age-gate-btn:hover{transform:translateY(-1px);}
.gc-age-gate-btn--primary:hover{box-shadow:0 16px 34px rgba(236,75,47,.29);}
.gc-age-gate-btn:focus-visible{outline:3px solid rgba(255,88,28,.24);outline-offset:3px;}
.gc-age-gate-btn:disabled{cursor:wait;opacity:.72;transform:none;}
.gc-age-gate-btn.is-loading svg{animation:gcAgeGateArrow .75s ease-in-out infinite alternate;}
@keyframes gcAgeGateFade{from{opacity:0}to{opacity:1}}
@keyframes gcAgeGateIn{from{opacity:0;transform:translateY(16px) scale(.975)}to{opacity:1;transform:none}}
@keyframes gcAgeGateArrow{from{transform:translateX(0)}to{transform:translateX(3px)}}
@media(max-width:640px){
  .gc-age-gate{align-items:end;padding:12px 12px max(12px,env(safe-area-inset-bottom));}
  .gc-age-gate-card{width:100%;border-radius:27px;padding:26px 22px 22px;}
  .gc-age-gate-visual{width:72px;height:63px;margin-bottom:17px;}
  .gc-age-gate-avatar{width:58px;height:58px;border-radius:18px;}
  .gc-age-gate-avatar img{border-radius:15px;}
  .gc-age-gate-avatar--whatsapp img{border-radius:18px;}
  .gc-age-gate-users{width:31px;height:31px;}
  .gc-age-gate h1{font-size:29px;line-height:1.06;}
  .gc-age-gate p#gcWaAgeGateText{font-size:15.5px;line-height:1.54;}
  .gc-age-gate-actions{grid-template-columns:1fr;gap:9px;}
  .gc-age-gate-btn--primary{grid-row:1;}
  .gc-age-gate-btn--secondary{grid-row:2;}
  .gc-age-gate-btn{min-height:54px;font-size:16px;border-radius:17px;}
}
@media(prefers-reduced-motion:reduce){.gc-age-gate-backdrop,.gc-age-gate-card,.gc-age-gate-btn,.gc-age-gate-btn.is-loading svg{animation:none!important;transition:none!important}}


/* Logotipo exacto proporcionado para los cuatro grupos oficiales de WhatsApp.
   Sin SVG reconstruidos ni recortes del pictograma. */
body.bf-page-planes #planesGruposWrap .pg-item--whatsapp .pg-whatsapp-avatar {
  display:block!important;
  object-fit:cover!important;
  object-position:center center!important;
  padding:0!important;
  background:#1ccb62!important;
  border-radius:18px!important;
  box-shadow:none!important;
}
body.bf-page-planes #planesGruposWrap .pg-item--whatsapp .pg-origin-logo {
  width:21px!important;
  height:21px!important;
  flex:0 0 21px!important;
  display:block!important;
  object-fit:cover!important;
  object-position:center!important;
  padding:0!important;
  border-radius:6px!important;
  background:transparent!important;
}
body.bf-page-planes .pl-category-chip[data-group-filter="whatsapp"] .pl-category-icon {
  overflow:hidden;
  background:transparent!important;
  border-radius:9px!important;
  box-shadow:none!important;
}
body.bf-page-planes .pl-category-chip[data-group-filter="whatsapp"] .pl-whatsapp-category-logo {
  display:block!important;
  width:30px!important;
  height:30px!important;
  max-width:30px!important;
  max-height:30px!important;
  object-fit:cover!important;
  object-position:center!important;
  border-radius:9px!important;
}
.gc-age-gate--whatsapp .gc-age-gate-avatar--whatsapp img,
.gc-age-gate--whatsapp .gc-age-gate-users--whatsapp img {
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
  padding:0!important;
  border-radius:inherit!important;
}
.gc-age-gate--whatsapp .gc-age-gate-users--whatsapp {
  padding:2px!important;
  background:#fff!important;
  overflow:hidden;
}
.gc-age-gate--whatsapp .gc-age-gate-users--whatsapp img {
  border-radius:50%!important;
}
