/* wave1: gw1-cards
 * Карточка «Знакомьтесь!» → Figma 699:20746 / homepage 729:32339|32394
 * 1:1 vs design 2026-08-12. Грузится до gw18 → :is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) + !important.
 *
 * Card Pro (payed): badge, Foto 290 + multi-arc ring, solid gradient btn 34
 * Card free: no badge, Foto 200 plain circle, outline btn 34
 * Card shell: 380, pad 16, r 8, gap 16, white
 */

/* ===== Grid =============================================================
   Equal-height cards + sticky CTA: grid stretch → item/card flex column →
   contacts_wrap margin-top:auto. Variable blocks (name/spec/text) reserve
   fixed min-heights so 1-line vs 2-line content doesn't shift the button. */
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .offers_list {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px !important;
  align-items: stretch !important;
}
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .offers_list .item {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  height: 100% !important;
  min-height: 100%;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .offers_list .item_inner,
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .offers_list .item_inner.item_inner {
  width: 100%;
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  box-sizing: border-box;
  min-height: 100% !important;
  height: 100% !important;
}

/* ===== Card shell: 380 / pad 16 / r 8 / gap 16 (Figma) ================= */
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .offers_list .sp-card,
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .offers_list .item_inner.sp-card {
  min-height: 100% !important;
  height: 100% !important;
  flex: 1 1 auto !important;
  padding: 16px !important;
  border-radius: 8px !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  background: #fff !important;
  box-shadow: 0 2px 12px rgba(16, 42, 95, 0.06);
  gap: 16px;
  position: relative;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  box-sizing: border-box !important;
}

/* ===== Top: badge left, ♥ right ======================================== */
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card__top {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 22px;
  margin: 0 !important;
  order: 1;
  position: relative;
  z-index: 3;
}
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-badge {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  background: #39C9A0 !important;
  color: #fff !important;
  font-size: 14px !important;
  line-height: 19px !important;
  font-weight: 400 !important;
  padding: 4px 16px !important;
  border-radius: 20px !important;
  white-space: nowrap;
}
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-badge i {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #fff !important;
  display: block !important;
  margin: 0 !important;
}
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-badge i::before {
  content: none !important;
}
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-fav {
  margin-left: auto;
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
  cursor: pointer;
  color: #5B6D9C !important;
  font-size: 16px !important;
  line-height: 22px;
  position: static !important;
}
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-fav .heart {
  width: 16px !important;
  height: 15px !important;
  fill: none !important;
  stroke: #5B6D9C !important;
  stroke-width: 2.2 !important;
}
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-fav:hover,
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-fav.active {
  color: #E2536B !important;
}
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-fav:hover .heart,
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-fav.active .heart {
  fill: #E2536B !important;
  stroke: #E2536B !important;
}
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-fav .count_favourites {
  color: inherit;
  font-size: 16px;
  font-weight: 400;
}

/* ===== Photo ============================================================
   Free (Figma 729:32394 / 701:21981): 200×200 plain circle + soft shadow.
   Pro  (Figma 729:32339 / 699:20749): 290 frame, photo 270, multi-arc ring
   asset from Figma node 699:20753 → /_html/images/figma2/pro-ring.png */
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .img,
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .item_inner.item_inner .img {
  position: relative !important;
  display: block !important;
  width: 290px !important;
  max-width: 100% !important;
  height: 290px !important;
  min-height: 290px !important;
  aspect-ratio: 1 / 1;
  margin: 0 auto !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  order: 2;
  float: none !important;
  flex: 0 0 290px !important;
}
/* free: 200 circle centered in the shared 290 slot */
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card:not(.sp-card--pro) .img > a,
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .item_inner:not(.sp-card--pro) .img > a:not(.js-add-wishlist) {
  display: block !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: 200px !important;
  height: 200px !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: translate(-50%, -50%) !important;
  box-sizing: border-box !important;
  border-radius: 50% !important;
  background: #F1F5FA !important;
  overflow: hidden !important;
  box-shadow: 0 8px 28px rgba(16, 42, 95, 0.12);
}
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card:not(.sp-card--pro) .img img,
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .item_inner:not(.sp-card--pro) .img > a:not(.js-add-wishlist) img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: 50% 20% !important;
  transform: scale(1.12);
  border: 0 !important;
  box-shadow: none !important;
  display: block !important;
  box-sizing: border-box !important;
}
/* pro: 290 frame, photo 270 centered, Figma multi-arc ring overlay */
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card--pro .img,
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .item_inner.sp-card--pro .img {
  width: 290px !important;
  height: 290px !important;
  min-height: 290px;
  max-width: 100% !important;
  border-radius: 0 !important;
  overflow: visible !important;
}
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card--pro .img > a,
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .item_inner.sp-card--pro .img > a:not(.js-add-wishlist) {
  display: block !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: 270px !important;
  height: 270px !important;
  max-width: calc(100% - 20px) !important;
  max-height: calc(100% - 20px) !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: translate(-50%, -50%) !important;
  box-sizing: border-box !important;
  border-radius: 50% !important;
  background: #F1F5FA !important;
  overflow: hidden !important;
  box-shadow: none !important;
  z-index: 1;
}
/* Figma ring vectors 699:20753 — exact multi-arc (cyan / blue / purple) */
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card--pro .img::after,
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .item_inner.sp-card--pro .img::after {
  content: "" !important;
  position: absolute !important;
  inset: -2px !important;
  z-index: 2;
  background: url("/_html/images/figma2/pro-ring.png") center / contain no-repeat !important;
  pointer-events: none !important;
}
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card--pro .img img,
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .item_inner.sp-card--pro .img > a:not(.js-add-wishlist) img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: 50% 20% !important;
  transform: scale(1.12);
  border: 0 !important;
  box-shadow: none !important;
  display: block !important;
  box-sizing: border-box !important;
}
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .img .listing-stars {
  display: none !important;
}

/* ===== texts: keep column, center ====================================== */
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .texts,
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .item_inner.item_inner .texts {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 0;
  flex: 1 1 auto;
  text-align: center !important;
  order: 3;
  gap: 0;
  /* override gw18 display:contents */
}

/* ===== Name 25/400 #0066B2 (Figma Title gap=12) ========================
   Reserve 1-line slot (30px); 2-line names still clamp. Prevents CTA drift
   when one card wraps the name and the neighbour does not. */
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .name,
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .item_inner.item_inner .name {
  display: block !important;
  margin: 0 0 12px !important;
  text-align: center !important;
  order: 0;
  min-height: 60px !important;
  height: 60px !important;
  max-height: 60px !important;
  overflow: hidden !important;
  width: 100%;
}
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .name a,
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .item_inner.item_inner .name a {
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 25px !important;
  line-height: 30px !important;
  font-weight: 400 !important;
  color: #0066B2 !important;
  text-decoration: none !important;
  text-align: center;
  min-height: 60px;
  height: 60px;
  max-height: 60px;
}
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .name a:hover {
  text-decoration: underline !important;
}

/* ===== Spec 16/400 #5B6D9C lh 21.6 (Figma, 2 lines) ====================
   Always reserve 2 lines (43.2px) — 1-line specialties used to lift the
   whole stack (~22px) and make neighbour CTAs look “jumpy”. */
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .sp-spec {
  font-size: 16px !important;
  line-height: 21.6px !important;
  font-weight: 400 !important;
  color: #5B6D9C !important;
  text-align: center !important;
  margin: 0 0 12px !important;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  max-width: 100%;
  width: 100%;
  min-height: 43.2px !important;
  order: 1;
  box-sizing: border-box;
}

/* ===== Location: short line 50 above, long 200 below (Figma City gap=6)
   Fixed min-height keeps stats/CTA row steady when city is missing. */
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .location,
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .item_inner.item_inner .location {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  border: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  padding: 0 !important;
  margin: 0 0 12px !important;
  font-size: 16px !important;
  line-height: 22px !important;
  color: #5B6D9C !important;
  float: none !important;
  width: auto !important;
  max-width: 200px;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  overflow: hidden !important;
  order: 2;
  background: none !important;
  box-sizing: border-box;
}
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .location.location--empty::before,
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .location.location--empty::after {
  opacity: 0 !important;
}
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .location::before,
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .item_inner.item_inner .location::before {
  content: "" !important;
  position: static !important;
  display: block !important;
  width: 50px !important;
  height: 1px !important;
  background: #0066B2 !important;
  transform: none !important;
  left: auto !important;
  top: auto !important;
}
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .location::after,
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .item_inner.item_inner .location::after {
  content: "" !important;
  position: static !important;
  display: block !important;
  width: 200px !important;
  max-width: 100%;
  height: 1px !important;
  background: #0066B2 !important;
  transform: none !important;
  left: auto !important;
  bottom: auto !important;
  border-radius: 0 !important;
}
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .location a,
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .item_inner.item_inner .location a {
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  align-items: center !important;
  gap: 6px !important;
  color: #5B6D9C !important;
  font-size: 16px !important;
  line-height: 22px !important;
  max-width: 100%;
  overflow: hidden !important;
  text-overflow: ellipsis;
  white-space: normal;
  text-decoration: none !important;
  padding: 0 !important;
  background: none !important;
}
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .location a:hover {
  color: #0066B2 !important;
}
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .location .sp-pin {
  flex: 0 0 auto;
  color: #5B6D9C;
  width: 14px;
  height: 14px;
}

/* ===== Stats: speech N · (He/Rus) · N★  space-between (Figma) ========== */
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .reviews_stat,
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .item_inner.item_inner .reviews_stat {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  margin: 0 0 16px !important;
  padding: 0 4px !important;
  border: 0 !important;
  width: 100% !important;
  order: 3;
}
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .sp-stat {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  color: #5B6D9C !important;
  font-size: 16px !important;
  line-height: 22px !important;
  font-weight: 400 !important;
  white-space: nowrap;
}
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .sp-stat svg {
  color: #5B6D9C !important;
  fill: none;
}
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .sp-stat--rating svg {
  fill: #5B6D9C !important;
  color: #5B6D9C !important;
}
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .sp-stat--lang {
  color: #5B6D9C !important;
  font-weight: 400 !important;
}
/* hide legacy review-link / wishlist dupes inside stats */
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .reviews_stat > a.js-open-popup,
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .reviews_stat > a.js-add-wishlist,
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .reviews_stat .listing-stars {
  display: none !important;
}

/* ===== Description 16/400 #6C737D lh 21.6 — Figma ~176px (~8 lines) ====
   Fixed height (not only max) so short bios don't shrink the slot and
   pull the CTA up relative to neighbour cards. */
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .text,
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .item_inner.item_inner .text {
  font-size: 16px !important;
  line-height: 21.6px !important;
  font-weight: 400 !important;
  color: #6C737D !important;
  text-align: left !important;
  /* block+fixed height: HTML lists break -webkit-line-clamp and shift CTA */
  display: block !important;
  height: 176px !important;
  max-height: 176px !important;
  min-height: 176px !important;
  overflow: hidden !important;
  margin: 0 !important;
  width: 100% !important;
  order: 4;
  flex: 0 0 176px !important;
  box-sizing: border-box !important;
}
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .text ul,
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .text ol {
  margin: 0;
  padding: 0 0 0 1.1em;
  list-style: none;
}
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .text li {
  position: relative;
  margin: 0;
}
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .text li::before {
  content: "- ";
  position: absolute;
  left: -1em;
}

/* ===== Button (sticky footer of card) ==================================
   margin-top:auto pins CTA to card bottom; flex-shrink:0 keeps h=34.
   Same box for outline (1px border) and solid (0 border) → no 2px drift. */
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .sp-extra-contacts {
  display: none !important;
}
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .contacts_wrap,
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .item_inner.item_inner .contacts_wrap {
  margin-top: auto !important;
  margin-bottom: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  width: 100% !important;
  order: 5 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  float: none !important;
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
  align-self: stretch !important;
  min-height: 76px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: 34px 34px;
  justify-items: stretch;
  align-content: start;
}
/* Button: Figma 348×34 full width, r=6 */
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .contacts_wrap .btn,
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .contacts_wrap .btn--ghost,
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .contacts_wrap .btn--outline,
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .item_inner.item_inner .contacts_wrap .btn {
  order: 2;
  flex: 1 1 100%;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  border-radius: 6px !important;
  padding: 0 16px !important;
  min-height: 34px !important;
  height: 34px !important;
  max-height: 34px !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  justify-self: stretch !important;
  font-size: 16px !important;
  line-height: 20px !important;
  font-weight: 400 !important;
  text-align: center;
  width: 100% !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
}

/* CTA by action (Figma): outline «Подробнее…» vs solid «Перейти на сайт».
   Keyed only on .btn--outline / .btn--site — NOT on .sp-card--pro.
   Pro without site uses outline (same as free). */
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .contacts_wrap > a.btn.btn--outline,
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .contacts_wrap .btn.btn--outline,
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .item_inner.sp-card .contacts_wrap > a.btn.btn--outline {
  background: #FFFFFF !important;
  background-image: none !important;
  color: #0066B2 !important;
  border: 1px solid #0066B2 !important;
}
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .contacts_wrap > a.btn.btn--outline:hover,
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .contacts_wrap .btn.btn--outline:hover {
  background: #F3F8FC !important;
  color: #00538F !important;
  border-color: #00538F !important;
}
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .contacts_wrap > a.btn.btn--more::after,
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .contacts_wrap .btn.btn--more::after {
  content: "↗";
  margin-left: 6px;
  font-size: 14px;
  line-height: 1;
  color: inherit;
}
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .contacts_wrap > a.btn.btn--outline:not(.btn--more)::after,
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .contacts_wrap .btn.btn--outline:not(.btn--more)::after {
  content: none !important;
}

/* solid gradient + arrow — only «Перейти на сайт» (.btn--site) */
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .contacts_wrap > a.btn.btn--site,
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .contacts_wrap .btn.btn--site,
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .item_inner.sp-card .contacts_wrap > a.btn.btn--site {
  background: linear-gradient(90deg, #2E437B 0%, #0066B2 100%) !important;
  color: #FFFFFF !important;
  border: 0 !important;
}
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .contacts_wrap > a.btn.btn--site:hover,
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .contacts_wrap .btn.btn--site:hover {
  background: linear-gradient(90deg, #243660 0%, #00538F 100%) !important;
  border-color: transparent !important;
  color: #fff !important;
  filter: none;
}
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .contacts_wrap > a.btn.btn--site::after,
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .contacts_wrap .btn.btn--site::after {
  content: none !important;
}
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .contacts_wrap .btn .stat {
  display: none !important;
}
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .contacts_wrap > a.btn.btn--more,
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .contacts_wrap .btn.btn--more {
  grid-row: 1;
}
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .contacts_wrap > a.btn.btn--site,
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .contacts_wrap .btn.btn--site {
  grid-row: 2;
}

/* map pin data node hidden */
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .job_listing-location {
  display: none !important;
}

/* order of direct children */
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .offers_list .sp-card > .sp-card__top { order: 1; }
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .offers_list .sp-card > .img { order: 2; }
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .offers_list .sp-card > .texts { order: 3; }
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .offers_list .sp-card > .contacts_wrap { order: 5; }

/* ===== Meet block chrome =================================================
   Figma «Знакомьтесь!»: gray #F1F3F5 full-bleed edge-to-edge (100% viewport).
   Markup: <section.meet_block> outside .container (home.tpl); content in
   .meet_block__inner max 1180. Kill leftover theme max-width / side padding
   on #content and the section so gray paints to both viewport edges. */
body.common-home #content.site-content {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body.common-home section.meet_block,
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
  position: relative !important;
  left: auto !important;
  right: auto !important;
  margin: 0 !important;
  padding: 48px 0 24px !important;
  background-color: #F1F3F5 !important;
  background-image: none !important;
}
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .meet_block__inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Stats row: keep lang + rating visible when present */
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .sp-stat--lang,
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .sp-stat--rating {
  display: inline-flex !important;
}
/* Title Figma 729:27056: 38/45 Rubik #0066B2 */
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .meet_title {
  text-align: center;
  font-size: 38px;
  line-height: 45px;
  font-weight: 400;
  color: #0066B2;
  margin: 0 0 20px;
}
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .meet_tabs {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin: 0 0 28px;
  border-bottom: 1px solid #E8EDF5;
}
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .meet_tab {
  position: relative;
  padding: 0 0 14px;
  text-decoration: none !important;
  color: #96A1BD;
}
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .meet_tab .home-widget-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 400;
  color: inherit;
}
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .meet_tab.is-active {
  color: #0066B2;
}
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .meet_tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: #0066B2;
}
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .like_tabs_links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .like_tabs_links li a {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 20px;
  border: 1px solid #D7E0EE;
  color: #5B6D9C;
  font-size: 14px;
  text-decoration: none;
  background: #fff;
}
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .like_tabs_links li a:hover,
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .like_tabs_links li.is-active a,
:is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .like_tabs_links li.active a {
  border-color: #0066B2;
  color: #0066B2;
  background: #F3F8FC;
}

@media (max-width: 1100px) {
  :is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .offers_list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  :is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .meet_title {
    font-size: 36px;
  }
}
@media (max-width: 600px) {
  /* Figma mobile: одна карточка + горизонтальный свайп, не вертикальный
     стек из 12×~800px. Базовое правило выше — display:grid !important,
     поэтому здесь тоже !important (gw2-mob2 грузится раньше и проигрывал). */
  :is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .like_tabs_data {
    position: relative;
  }
  :is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .offers_list {
    display: flex !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px !important;
    padding: 4px 40px 16px;
    align-items: stretch;
  }
  :is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .offers_list .item {
    flex: 0 0 100%;
    max-width: none;
    width: auto !important;
    scroll-snap-align: center;
    height: auto;
    float: none !important;
    margin: 0 !important;
    padding: 0;
  }
  :is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card:not(.sp-card--pro) .img,
  :is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .item_inner:not(.sp-card--pro) .img {
    max-width: 200px !important;
  }
  :is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card--pro .img,
  :is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .item_inner.sp-card--pro .img {
    max-width: min(290px, 72vw) !important;
    width: min(290px, 72vw) !important;
    height: min(290px, 72vw) !important;
    min-height: 0;
  }
  :is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .sp-card .name a,
  :is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .item_inner.item_inner .name a {
    font-size: 22px !important;
    line-height: 28px !important;
  }
  :is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .meet_title {
    font-size: 28px;
    line-height: 34px;
  }
  :is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .meet_tabs {
    gap: 16px;
  }
  :is(body.common-home .meet_block, body[class*="product-product-preview"] .meet_block, body.account-join .fg-wiz__meet) .meet_tab .home-widget-title {
    font-size: 16px;
  }
}

/* Предпросмотр Starter: красная плашка скидки между статистикой и текстом,
   как на карточке каталога. Общие стили карточки её красят в зелёную пилюлю
   или уносят order:40 под кнопки. */
body[class*="product-product-preview"] .meet_block .sp-card .texts > .discount {
  order: 4;
  display: block !important;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 12px !important;
  padding: 6px 10px !important;
  background: #db0000 !important;
  color: #fff !important;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
}
body[class*="product-product-preview"] .meet_block .sp-card .texts > .discount b {
  color: #fff;
  font-weight: 700;
}
body[class*="product-product-preview"] .meet_block .sp-card .texts > .text {
  order: 5;
}
