/* AR on the homepage and product pages (Shturko_AR_Promo). */
.homepage__ar {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 2rem;
  margin: 2.5rem 0 0;
  padding: 2rem 2.2rem;
  border-radius: 28px;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(255, 222, 170, 0.45), transparent 55%),
    linear-gradient(135deg, #eaf5fa 0%, #fdf6ec 100%);
  color: #1f4568;
  box-shadow: 0 10px 34px rgba(31, 69, 104, 0.07);
  overflow: hidden;
}
.homepage__ar-kicker {
  display: inline-block;
  padding: 0.3em 0.8em;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: #287b9b;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
}
.homepage__ar-title {
  margin: 0.7rem 0 0.6rem;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.25;
  font-weight: 400;
  color: #1f4568;
}
.homepage__ar-copy p {
  margin: 0 0 0.75rem;
  color: #34506a;
  line-height: 1.6;
}
.homepage__ar-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}
.homepage__ar-chips li {
  padding: 0.4em 0.85em;
  border-radius: 999px;
  background: #fff;
  color: #1f4568;
  font-size: 0.85rem;
  font-weight: 400;
  box-shadow: 0 2px 10px rgba(31, 69, 104, 0.06);
}
.homepage__ar-visual {
  position: relative;
  display: grid;
  place-items: center;
}
.homepage__ar-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 24px rgba(31, 69, 104, 0.16));
}
.homepage__ar-glow {
  position: absolute;
  inset: 10% 5%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 214, 102, 0.55), transparent 70%);
}
.homepage__ar-phone {
  position: absolute;
  z-index: 2;
  right: 4%;
  bottom: 2%;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #e4572e;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(240, 77, 35, 0.2);
  font-weight: 400;
  font-size: 1.15rem;
  color: #fff;
  letter-spacing: 0.04em;
}
@media (max-width: 900px) {
  .homepage__ar {
    grid-template-columns: 1fr;
    padding: 1.5rem 1.25rem;
    gap: 1rem;
  }
  .homepage__ar-visual { order: -1; }
}

.shturko-product-features {
  margin: 1rem 0;
  padding: 0;
  list-style: none;
}
.shturko-product-features li {
  position: relative;
  margin: 0 0 0.45rem;
  padding-left: 1.6rem;
  line-height: 1.5;
}
.shturko-product-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: #fbe9b7;
  color: #8a5a00;
  font-size: 0.75rem;
  font-weight: 400;
  display: grid;
  place-items: center;
  margin-top: 0.15rem;
}
.shturko-product-features__note {
  margin: -0.4rem 0 1rem;
  color: #6b7a89;
  font-size: 0.82rem;
  line-height: 1.45;
}

/* Bonus items (free extras, not part of the price — terms §2а): homepage «Включва» and product page. */
.homepage__cards-bonus,
.shturko-product-features__bonus {
  display: inline-block;
  margin-right: 0.3em;
  padding: 0.1em 0.55em;
  border-radius: 999px;
  background: #e4572e;
  color: #fff;
  font-size: 0.72em;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: 0.1em;
}
.homepage__cards-includes li.is-bonus .homepage__cards-check {
  background: #fde3d9;
  color: #e4572e;
}
/* One shared note under the deck tabs (applies to every deck). */
.homepage__cards-bonus-note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 1.5rem 0 0;
  padding: 0.85rem 1.1rem;
  border-radius: 16px;
  background: #fff6e9;
  color: #2f4a63;
  font-size: 0.9rem;
  line-height: 1.5;
}
.homepage__cards-inner .homepage__cards-bonus-note {
  box-sizing: border-box;
  width: 100%;
  max-width: none; /* not the 70ch paragraph measure: the strip spans the deck block */
}
.homepage__cards-bonus-note-ico {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: #fde3d9;
  color: #e4572e;
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1;
}
.homepage__cards-bonus-note a,
.shturko-product-features__included a { font-weight: 400; }
.shturko-product-features li.is-bonus::before {
  content: "+";
  background: #fde3d9;
  color: #e4572e;
}
.shturko-product-features__included {
  margin: -0.2rem 0 1rem;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  background: #fff4e5;
  color: #123b64;
  font-size: 0.9rem;
  line-height: 1.45;
}

/* Homepage trust strip («Доверие»): five equal columns, text clear of the dotted dividers.
   The base rules live in the Customizer CSS (bin/setup-homepage-v2-illustrated.php); these win by specificity. */
@media (min-width: 901px) {
  section.homepage__trust .homepage__trust-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
  }
  section.homepage__trust .homepage__trust-item,
  section.homepage__trust .homepage__trust-item:last-child {
    min-width: 0;
    padding: 0.35rem clamp(0.9rem, 1.4vw, 1.4rem);
    gap: 0.6rem;
  }
  section.homepage__trust .homepage__trust-item:first-child { padding-left: 0.25rem; }
  section.homepage__trust .homepage__trust-item:last-child { padding-right: 0.25rem; }
  section.homepage__trust .homepage__trust-item .homepage__trust-img {
    width: 60px !important;
    height: 60px !important;
    margin-inline-end: 0;
  }
  section.homepage__trust .homepage__trust-title {
    word-break: normal;
    overflow-wrap: break-word;
  }
}

/* «Нашите карти» on desktop is one viewport tall with overflow hidden (Customizer CSS);
   the longer «Включва» list and the AR banner need it to grow instead of being cut off. */
@media (min-width: 900px) {
  section.homepage__cards {
    height: auto;
    max-height: none;
    overflow: visible;
  }
}

/* Deck link under «Включва» (Shturko_AR_Promo::homepage): names the deck, sits with the text. */
html body .homepage--v2 a.homepage__cards-more,
html body a.homepage__cards-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  margin: -6px 0 0;
  padding: 0;
  color: #d93f1b !important;
  font-size: 1rem;
  font-weight: 400;
  text-decoration: none !important;
  text-underline-offset: 4px;
}
html body a.homepage__cards-more span { transition: transform 180ms ease; }
html body a.homepage__cards-more:is(:hover, :focus-visible) { text-decoration: underline !important; }
html body a.homepage__cards-more:is(:hover, :focus-visible) span { transform: translateX(3px); }
