/* core/banners/css/banners.css (v9) */
/* Scoped completely under .banners */

.banners{
  width:100%;
  display:flex;
  flex-wrap:wrap;
  gap:16px;

  --ui-bg:#fff;
  --ui-fg:#111827;
  --ui-border:rgba(17,24,39,0.10);
  --ui-accent:#111827;
  --ui-radius:24px;
  --ui-title:18px;
  --ui-text:14px;
  --ui-sub:13px;
  --ui-pad:16px;
}

/* Slot wrappers: stack + keep centered when w < 100% */
.banners--product_labels,
.banners--product_after_desc{
  flex-direction:column;
  flex-wrap:nowrap;
  align-items:center;
}
.banners--product_labels .banners__item,
.banners--product_after_desc .banners__item{
  margin-left:var(--ui-ml, auto);
  margin-right:var(--ui-mr, auto);
}

/* Base item */
.banners .banners__item{
  width:var(--ui-w, auto);
  max-width:100%;
  color:var(--ui-fg);
}

/* Typography */
.banners .banners__title{
  font-size:var(--ui-title, 18px);
  line-height:1.15;
  font-weight:750;
  letter-spacing:-0.25px;
}
.banners .banners__text{
  font-size:var(--ui-text, 14px);
  line-height:1.35;
  font-weight:550;
  opacity:.86;
}
.banners .banners__sub{
  font-size:var(--ui-sub, 13px);
  line-height:1.35;
  font-weight:560;
  opacity:.84;
}

.banners a.banners__item{
  text-decoration:none;
  transition:transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.banners a.banners__item:hover{ transform:translateY(-1px); }

/* Generic button / link styles (so every "button" has padding) */
.banners .banners__btn,
.banners .banners__link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 18px;
  border-radius:999px;
  border:1px solid var(--ui-border, rgba(17,24,39,0.10));
  background:var(--ui-bg, #fff);
  color:var(--ui-fg, #111827);
  font-weight:800;
  font-size:14px;
  line-height:1;
  box-shadow:0 14px 34px rgba(0,0,0,0.04);
}
.banners .banners__btn{
  background:var(--ui-accent, #111827);
  color:#fff;
  border-color:transparent;
}
.banners .banners__btn:hover,
.banners .banners__link:hover{
  filter:brightness(0.98);
}

/* Chevron */
.banners .banners__chev{
  width:10px; height:10px;
  border-right:2px solid rgba(17,24,39,0.55);
  border-bottom:2px solid rgba(17,24,39,0.55);
  transform:rotate(-45deg);
  display:inline-block;
}

/* -------------------------
   LABEL: action (pill, 2 lines, icon, chevron)
   ------------------------- */
.banners .banners__labelAction{
  background:var(--ui-bg, #f6f7f8);
  border:1px solid var(--ui-border, rgba(17,24,39,0.10));
  border-radius:var(--ui-radius, 999px);
  padding:14px 16px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:14px;
  align-items:center;
  box-shadow:0 14px 32px rgba(0,0,0,0.05);
}
.banners .banners__laIcon{
  width:42px; height:42px;
  border-radius:999px;
  background:rgba(0,0,0,0.06);
  color:var(--ui-accent, #111827);
  display:grid;
  place-items:center;
  font-weight:800;
  font-size:16px;
  overflow:hidden;
}
.banners .banners__laIcon img{
  width:70%;
  height:70%;
  object-fit:contain;
  display:block;
}
.banners .banners__laCenter{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:2px;
}
.banners .banners__labelAction .banners__title{
  font-size:var(--ui-title, 18px);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.banners .banners__labelAction .banners__text{
  font-size:var(--ui-text, 13px);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.banners .banners__laRight{
  width:36px; height:36px;
  border-radius:999px;
  background:rgba(0,0,0,0.04);
  display:grid;
  place-items:center;
}

/* -------------------------
   LABEL: tagline (card small, TAG + title + sub, chevron)
   ------------------------- */
.banners .banners__labelTagline{
  background:var(--ui-bg, #fff);
  border:1px solid var(--ui-border, rgba(15,23,42,0.08));
  border-radius:var(--ui-radius, 22px);
  padding:18px 18px;
  display:grid;
  grid-template-columns:1fr auto;
  gap:12px;
  align-items:center;
  box-shadow:0 14px 34px rgba(0,0,0,0.04);
}
.banners .banners__ltBody{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
}
.banners .banners__ltTag{
  width:fit-content;
  padding:4px 10px;
  border-radius:999px;
  background:rgba(11,99,255,0.10);
  color:var(--ui-accent, #0b63ff);
  font-size:12px;
  font-weight:800;
  letter-spacing:0.4px;
}
.banners .banners__labelTagline .banners__title{
  font-size:var(--ui-title, 18px);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.banners .banners__labelTagline .banners__sub{
  font-size:var(--ui-sub, 13px);
  max-width:70ch;
}

/* -------------------------
   LABEL: minimal row
   ------------------------- */
.banners .banners__labelMinrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,0.06);
  background:rgba(255,255,255,0.70);
  backdrop-filter: blur(6px);
}
.banners .banners__lmIcon{
  width:24px; height:24px;
  border-radius:999px;
  background:rgba(44,122,131,0.12);
  color:var(--ui-accent, #2c7a83);
  display:grid;
  place-items:center;
  font-weight:900;
  font-size:12px;
}
.banners .banners__lmText{
  font-size:var(--ui-title, 14px);
  font-weight:750;
  white-space:nowrap;
}

/* -------------------------
   LABEL: pill + action (Apple-ish)
   ------------------------- */
.banners .banners__labelPill{
  width:var(--ui-w, 100%);
  height:var(--ui-h, auto);
  margin-left:var(--ui-ml, 0);
  margin-right:var(--ui-mr, 0);
  background:var(--ui-bg, #f3f4f6);
  border:1px solid var(--ui-border, rgba(17,24,39,0.10));
  border-radius:var(--ui-radius, 999px);
  padding:18px 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  box-shadow:0 16px 36px rgba(0,0,0,0.06);
  color:var(--ui-fg, #111827);
}
.banners .banners__pillText{
  min-width:0;
}
.banners .banners__labelPill .banners__title{
  font-size:var(--ui-title, 22px);
  font-weight:850;
  line-height:1.1;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.banners .banners__labelPill .banners__sub{
  margin-top:6px;
  font-size:var(--ui-sub, 13px);
  opacity:0.85;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.banners .banners__pillAction{
  width:44px;
  height:44px;
  border-radius:999px;
  background:var(--ui-accent, #0b63ff);
  color:#fff;
  display:grid;
  place-items:center;
  font-size:26px;
  font-weight:900;
  flex:0 0 auto;
  transition:transform .18s ease;
}
.banners a.banners__labelPill:hover .banners__pillAction{
  transform:scale(1.03);
}

/* -------------------------
   LABEL: centered (title + optional sub)
   ------------------------- */
.banners .banners__labelCenter{
  width:var(--ui-w, 100%);
  height:var(--ui-h, auto);
  margin-left:var(--ui-ml, 0);
  margin-right:var(--ui-mr, 0);
  background:var(--ui-bg, #ffffff);
  border:1px solid var(--ui-border, rgba(17,24,39,0.10));
  border-radius:var(--ui-radius, 999px);
  padding:16px 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  text-align:center;
  gap:4px;
  box-shadow:0 14px 32px rgba(0,0,0,0.04);
  color:var(--ui-fg, #111827);
}
.banners .banners__labelCenter .banners__title{
  font-size:var(--ui-title, 16px);
  font-weight:850;
}
.banners .banners__labelCenter .banners__sub{
  font-size:var(--ui-sub, 12px);
  opacity:0.8;
}

/* -------------------------
   LABEL: split (chip + centered text + arrow)
   ------------------------- */
.banners .banners__labelSplit{
  width:var(--ui-w, 100%);
  height:var(--ui-h, auto);
  margin-left:var(--ui-ml, 0);
  margin-right:var(--ui-mr, 0);
  background:var(--ui-bg, #fff);
  border:1px solid var(--ui-border, rgba(17,24,39,0.10));
  border-radius:var(--ui-radius, 26px);
  padding:16px 18px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:14px;
  align-items:center;
  box-shadow:0 16px 36px rgba(0,0,0,0.05);
  color:var(--ui-fg, #111827);
}
.banners .banners__splitChip{
  padding:6px 12px;
  border-radius:999px;
  background:rgba(17,24,39,0.06);
  font-size:12px;
  font-weight:850;
  letter-spacing:0.4px;
  white-space:nowrap;
}
.banners .banners__splitBody{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:2px;
  text-align:center;
}
.banners .banners__labelSplit .banners__title{
  font-size:var(--ui-title, 18px);
  font-weight:850;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.banners .banners__labelSplit .banners__sub{
  font-size:var(--ui-sub, 12px);
  opacity:0.8;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.banners .banners__splitArrow{
  width:42px;
  height:42px;
  border-radius:999px;
  background:rgba(0,0,0,0.04);
  display:grid;
  place-items:center;
  font-size:26px;
  line-height:1;
  color:rgba(17,24,39,0.65);
}

/* -------------------------
   BANNER: hero split
   ------------------------- */
.banners .banners__heroSplit{
  width:var(--ui-w, 100%);
  height:var(--ui-h, 360px);
  background:var(--ui-bg, #eef0f2);
  border:1px solid var(--ui-border, rgba(17,24,39,0.10));
  border-radius:var(--ui-radius, 34px);
  overflow:hidden;
  display:grid;
  grid-template-columns:1.1fr 1fr;
  box-shadow:0 18px 44px rgba(0,0,0,0.06);

  /* defaults: center text block like in major sites */
  --ui-text-align:center;
  --ui-align-items:center;
}
.banners .banners__heroSplitText{
  padding:44px 44px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:var(--ui-align-items, center);
  text-align:var(--ui-text-align, center);
  gap:16px;
}
.banners .banners__heroSplitText .banners__title,
.banners .banners__heroSplitText .banners__text,
.banners .banners__heroSplitText .banners__heroBtn{
  /* keep the block centered even if it has max-width */
  margin-left:auto;
  margin-right:auto;
}
.banners .banners__heroSplitText .banners__title,
.banners .banners__heroSplitText .banners__text{
  text-align:inherit;
}
.banners .banners__heroBtn{
  display:flex;
  justify-content:center;
}
.banners .banners__heroSplitText .banners__title{
  font-size:var(--ui-title, 40px);
}
.banners .banners__heroSplitText .banners__text{
  font-size:var(--ui-text, 15px);
  max-width:36ch;
}
.banners .banners__heroBtnInner{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  border-radius:999px;
  background:rgba(0,0,0,0.86);
  color:#fff;
  font-weight:750;
  font-size:14px;
}
.banners .banners__heroSplitMedia{ position:relative; }
.banners .banners__heroSplitImg{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:var(--ui-pos, 50% 50%);
}

/* -------------------------
   BANNER: tiles container
   ------------------------- */
.banners .banners__tiles{
  width:var(--ui-w, 100%);
  background:var(--ui-bg, #e9eaec);
  border-radius:var(--ui-radius, 26px);
  padding:22px;
}
.banners .banners__tilesGrid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:22px;
}
.banners .banners__tile{
  display:block;
  background:#fff;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 18px 44px rgba(0,0,0,0.06);
}
.banners .banners__tileMedia{
  aspect-ratio: 16 / 9;
  width:100%;
  overflow:hidden;
}
.banners .banners__tileMedia img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.banners .banners__tileTitle{
  padding:18px 18px 20px;
  font-size:var(--ui-title, 28px);
  font-weight:800;
  letter-spacing:-0.5px;
  color:var(--ui-fg, #111827);
}

/* Badges */
.banners .banners__badge{ display:inline-flex; align-items:center; line-height:0; }
.banners .banners__img{ height:22px; width:auto; display:block; }

@media (max-width: 980px){
  .banners .banners__heroSplit{ grid-template-columns:1fr; height:auto; }
  .banners .banners__heroSplitMedia{ height:260px; }
  .banners .banners__heroSplitText{ padding:26px; }
  .banners .banners__heroSplitText .banners__title{ font-size:clamp(26px, 5vw, var(--ui-title, 40px)); }
  .banners .banners__tilesGrid{ grid-template-columns:1fr; }
  .banners .banners__labelAction .banners__title{ font-size:16px; }
}
