/* =========================================================
   HOME — front-page.php (nskmoloko)
   Scoped styles: all under .hp so it won't break other pages.
========================================================= */

.hp{
  --primary:#15466E;
  --primary-dark:#0f2f4a;
  --text:#1f2937;
  --muted:#6b7280;

  --bg:#ffffff;
  --bg-soft:#f6f8fa;

  --border:rgba(15,47,74,.10);
  --border-soft:rgba(15,47,74,.06);

  --shadow:0 20px 50px rgba(0,0,0,.06);
  --shadow-lg:0 30px 70px rgba(0,0,0,.10);

  --radius-lg:24px;
  --radius-md:18px;
  --radius-sm:14px;
}

.hp .hp-container{
  max-width:1240px;
  margin:0 auto;
  padding:0 24px;
}

.hp .hp-section{
  padding-top: var(--section-pt, 60px);
  padding-bottom: var(--section-pb, 60px);
}

.hp .hp-sectionHead{
  text-align:center;
  max-width:860px;
  margin:0 auto 56px;
}

.hp .hp-h2{
  font-size:44px;
  line-height:1.1;
  color:var(--primary-dark);
  margin:0 0 14px;
  letter-spacing:-.4px;
}

.hp .hp-subtitle{
  font-size:18px;
  line-height:1.65;
  color:var(--muted);
  margin:0;
}

.hp .hp-lead{
  font-size:17px;
  line-height:1.8;
  color:#465768;
  margin:0 0 22px;
}


/* Меньше расстояние от нижней волны hero до первого заголовка на главной */
.hp .hp-solutions{
  --section-pt: 12px;
}

@media (max-width: 920px){
  .hp .hp-solutions{
    --section-pt: 0px;
  }
}

/* ===================== Reveal ===================== */
.hp .hp-reveal{
  opacity:0;
  transform:translateY(18px);
  transition:opacity .85s ease, transform .85s ease;
  will-change:opacity, transform;
}
.hp .hp-reveal.is-in{
  opacity:1;
  transform:translateY(0);
}

/* ===================== Grid / Cards ===================== */
.hp .hp-grid{
  display:grid;
  gap:28px;
}
.hp .hp-grid--4{
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
}

.hp .hp-card{
  background:var(--bg);
  border:1px solid var(--border-soft);
  border-radius:var(--radius-lg);
  padding:34px 30px;
  box-shadow:var(--shadow);
  text-decoration:none;
  color:var(--text);
  display:flex;
  flex-direction:column;
  gap:14px;
  min-height:250px;
  transition:transform .28s ease, box-shadow .28s ease, border-color .28s ease, background .28s ease;
}
.hp .hp-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow-lg);
  border-color:rgba(21,70,110,.18);
}

.hp .hp-ic{
  width:60px;
  height:60px;
  border-radius:18px;
  background:linear-gradient(135deg, rgba(21,70,110,.10), rgba(21,70,110,.04));
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--primary);
  transition:transform .28s ease, background .28s ease, color .28s ease;
}
.hp .hp-ic svg{
  width:28px;
  height:28px;
}
.hp .hp-card:hover .hp-ic{
  background:var(--primary);
  color:#fff;
  transform:translateY(-2px);
}

.hp .hp-card__title{
  font-weight:900;
  font-size:20px;
  color:var(--primary-dark);
  letter-spacing:-.15px;
  margin-top:2px;
}
.hp .hp-card__desc{
  font-size:15px;
  line-height:1.65;
  color:var(--muted);
  margin:0;
  flex:1;
}
.hp .hp-card__meta{
  font-size:14px;
  font-weight:800;
  color:var(--primary);
}

/* ===================== Sale/Popular wrappers ===================== */
.hp .hp-sale,
.hp .hp-popular{
  background:transparent;
}
.hp .hp-sale .hp-container,
.hp .hp-popular .hp-container{
  padding-top:10px;
  padding-bottom:10px;
}

/* ===================== About Pro ===================== */
.hp .hp-aboutPro__wrap{
  display:grid;
  grid-template-columns:1.15fr 1fr;
  gap:64px;
  align-items:start;
}

.hp .hp-kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:rgba(21,70,110,.08);
  padding:8px 14px;
  border-radius:999px;
  font-size:13px;
  font-weight:850;
  color:var(--primary);
  margin:0 0 16px;
}
.hp .hp-kicker__dot{
  width:8px;
  height:8px;
  background:var(--primary);
  border-radius:50%;
  box-shadow:0 0 0 4px rgba(21,70,110,.12);
}

.hp .hp-highlights{
  display:grid;
  gap:12px;
  margin:22px 0 18px;
}
.hp .hp-highlight{
  display:flex;
  gap:14px;
  padding:16px 16px;
  border-radius:var(--radius-md);
  background:#fff;
  border:1px solid var(--border-soft);
  box-shadow:0 10px 26px rgba(0,0,0,.04);
}
.hp .hp-highlight__icon{
  width:46px;
  height:46px;
  border-radius:14px;
  background:rgba(21,70,110,.10);
  color:var(--primary);
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 46px;
}
.hp .hp-highlight__icon svg{width:22px;height:22px;}
.hp .hp-highlight__title{
  font-weight:950;
  color:var(--primary-dark);
  margin:0 0 4px;
  letter-spacing:-.15px;
}
.hp .hp-highlight__text{
  font-size:14px;
  line-height:1.65;
  color:#556574;
  margin:0;
}

.hp .hp-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:8px;
}

/* Buttons */
.hp .hp-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:52px;
  padding:0 22px;
  border-radius:14px;
  font-weight:900;
  text-decoration:none;
  transition:transform .25s ease, filter .25s ease, background .25s ease, border-color .25s ease;
  white-space:nowrap;
}
.hp .hp-btn--primary{
  background:var(--primary);
  color:#fff;
  box-shadow:0 14px 30px rgba(21,70,110,.20);
}
.hp .hp-btn--primary:hover{
  transform:translateY(-2px);
  filter:brightness(1.03);
}
.hp .hp-btn--ghost{
  background:transparent;
  color:var(--primary);
  border:2px solid rgba(21,70,110,.22);
}
.hp .hp-btn--ghost:hover{
  transform:translateY(-2px);
  background:rgba(21,70,110,.06);
  border-color:rgba(21,70,110,.30);
}

.hp .hp-note{
  margin-top:16px;
  padding:14px 16px;
  border-radius:var(--radius-md);
  background:var(--bg-soft);
  border:1px solid rgba(15,47,74,.08);
  color:#516273;
  font-size:14px;
  line-height:1.65;
}
.hp .hp-note b{color:var(--primary-dark);}

/* Media card */
.hp .hp-mediaCard{
  position:relative;
  border-radius:28px;
  overflow:hidden;
  border:1px solid var(--border-soft);
  box-shadow:0 22px 55px rgba(0,0,0,.10);
  background:linear-gradient(180deg, rgba(21,70,110,.06), rgba(21,70,110,0));
}
.hp .hp-mediaCard__img{
  width:100%;
  height:460px;
  display:block;
  object-fit:cover;
}
.hp .hp-mediaCard__overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.00) 40%, rgba(0,0,0,.30) 100%);
  pointer-events:none;
}
.hp .hp-mediaCard__caption{
  position:absolute;
  left:18px;
  right:18px;
  bottom:18px;
  padding:14px 16px;
  border-radius:18px;
  background:rgba(255,255,255,.90);
  border:1px solid rgba(15,47,74,.10);
  backdrop-filter:blur(6px);
}
.hp .hp-mediaCard__capTitle{
  font-weight:950;
  color:var(--primary-dark);
  letter-spacing:-.15px;
}
.hp .hp-mediaCard__capText{
  margin-top:2px;
  font-size:13px;
  color:#556574;
}

/* ===================== Numbers ===================== */
.hp .hp-numbers{
  background:var(--bg-soft);
}
.hp .hp-numbers__grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:26px;
  align-items:stretch;
}
.hp .hp-numberCard{
  background:#fff;
  border-radius:var(--radius-lg);
  padding:36px 28px;
  text-align:center;
  box-shadow:0 25px 60px rgba(0,0,0,.07);
  border:1px solid var(--border-soft);
  transition:transform .28s ease, box-shadow .28s ease;
}
.hp .hp-numberCard:hover{
  transform:translateY(-6px);
  box-shadow:0 34px 80px rgba(0,0,0,.10);
}
.hp .hp-numberCard__num{
  font-size:34px;
  font-weight:950;
  color:var(--primary);
  letter-spacing:-.2px;
}
.hp .hp-numberCard__txt{
  margin-top:6px;
  color:var(--muted);
  font-weight:700;
}

/* ===================== Process ===================== */
.hp .hp-process__grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:28px;
}
.hp .hp-processStep{
  background:#fff;
  border-radius:var(--radius-lg);
  padding:30px 26px;
  text-align:center;
  box-shadow:var(--shadow);
  border:1px solid var(--border-soft);
  transition:transform .28s ease, box-shadow .28s ease;
}
.hp .hp-processStep:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow-lg);
}
.hp .hp-processStep__num{
  width:46px;
  height:46px;
  border-radius:50%;
  background:var(--primary);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:950;
  margin:0 auto 12px;
}
.hp .hp-processStep__title{
  font-weight:950;
  color:var(--primary-dark);
  margin:0 0 6px;
}
.hp .hp-processStep__text{
  font-size:14px;
  line-height:1.65;
  color:var(--muted);
  margin:0;
}

/* ===================== FAQ ===================== */
.hp .hp-faq__list{
  max-width:980px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  gap:18px;
}

.hp .hp-faq__item{
  background:#fff;
  border-radius:var(--radius-lg);
  border:1px solid var(--border);
  box-shadow:0 20px 50px rgba(0,0,0,.06);
  overflow:hidden;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.hp .hp-faq__item:hover{
  transform:translateY(-2px);
  border-color:rgba(21,70,110,.18);
  box-shadow:0 28px 70px rgba(0,0,0,.09);
}

.hp .hp-faq__q{
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:26px 26px;
  min-height:84px;
}
.hp .hp-faq__q::-webkit-details-marker{display:none;}

.hp .hp-faq__qText{
  font-size:20px;
  font-weight:950;
  color:var(--primary-dark);
  line-height:1.25;
}

.hp .hp-faq__chev{
  width:44px;
  height:44px;
  border-radius:14px;
  background:rgba(21,70,110,.08);
  position:relative;
  flex:0 0 44px;
  transition:transform .25s ease, background .25s ease;
}
.hp .hp-faq__chev::before,
.hp .hp-faq__chev::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:16px;
  height:2px;
  background:var(--primary);
  transform:translate(-50%,-50%);
}
.hp .hp-faq__chev::after{transform:translate(-50%,-50%) rotate(90deg);}

.hp .hp-faq__item[open] .hp-faq__chev{
  background:rgba(21,70,110,.12);
  transform:rotate(180deg);
}
.hp .hp-faq__item[open] .hp-faq__chev::after{opacity:0;}

.hp .hp-faq__a{
  padding:0 26px 26px;
  border-top:1px solid rgba(15,47,74,.06);
}
.hp .hp-faq__a p{
  margin:16px 0 0;
  font-size:16px;
  line-height:1.8;
  color:#445463;
}
.hp .hp-faq__a b{color:var(--primary-dark);}
.hp .hp-faq__note{
  margin-top:16px;
  padding:14px 16px;
  border-radius:14px;
  background:var(--bg-soft);
  border:1px solid rgba(15,47,74,.08);
  color:#516273;
}

/* ===================== CTA ===================== */
.hp .hp-cta__card{
  background:linear-gradient(135deg, #15466E, #1d5f92);
  padding:60px;
  border-radius:32px;
  color:#fff;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:40px;
  flex-wrap:wrap;
  box-shadow:0 26px 60px rgba(0,0,0,.16);
}
.hp .hp-cta__title{
  color:#fff;
  margin:0 0 10px;
}
.hp .hp-cta__subtitle{
  margin:0;
  color:rgba(255,255,255,.86);
  line-height:1.6;
  font-size:16px;
  max-width:680px;
}
.hp .hp-cta__actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.hp .hp-cta__card .hp-btn--primary{
  background:#fff;
  color:var(--primary);
  box-shadow:none;
}
.hp .hp-cta__card .hp-btn--ghost{
  border-color:rgba(255,255,255,.7);
  color:#fff;
}
.hp .hp-cta__card .hp-btn--ghost:hover{
  background:rgba(255,255,255,.12);
}

/* ===================== Responsive ===================== */
@media (max-width: 1024px){
  .hp .hp-section{
    padding-top: var(--section-pt, 84px);
    padding-bottom: var(--section-pb, 84px);
  }
  .hp .hp-h2{font-size:34px;}
  .hp .hp-sectionHead{margin-bottom:42px;}
  .hp .hp-aboutPro__wrap{grid-template-columns:1fr; gap:38px;}
  .hp .hp-mediaCard__img{height:360px;}
  .hp .hp-cta__card{padding:44px; text-align:center; justify-content:center;}
  .hp .hp-cta__actions{justify-content:center;}
}

@media (max-width: 600px){
  .hp .hp-container{padding:0 18px;}
  .hp .hp-section{
    padding-top: var(--section-pt, 72px);
    padding-bottom: var(--section-pb, 72px);
  }
  .hp .hp-h2{font-size:30px;}
  .hp .hp-subtitle{font-size:16px;}
  .hp .hp-card{padding:26px 20px; min-height:auto;}
  .hp .hp-mediaCard__img{height:280px;}
  .hp .hp-badge{padding:12px 12px;}
  .hp .hp-faq__q{padding:20px 18px; min-height:74px;}
  .hp .hp-faq__qText{font-size:18px;}
  .hp .hp-faq__a{padding:0 18px 18px;}
  .hp .hp-cta__card{padding:34px;}
}


/* =========================================================
   About Pro — simplified (no chips/badges/tiles)
========================================================= */
.hp .hp-simpleList{
  list-style:none;
  padding:0;
  margin:22px 0 28px;
  display:grid;
  gap:12px;
}
.hp .hp-simpleList li{
  padding-left:0;
  font-size:16px;
  line-height:1.75;
  color:#445463;
}
.hp .hp-simpleList strong{
  color:var(--primary-dark);
  font-weight:950;
}
.hp .hp-mediaCard--simple{
  border-radius:28px;
  overflow:hidden;
  box-shadow:0 26px 60px rgba(0,0,0,.14);
}
.hp .hp-mediaCard--simple .hp-mediaCard__img{
  height:460px;
  object-fit:cover;
  transform:none !important;
}
.hp .hp-mediaCard--simple:hover .hp-mediaCard__img{
  transform:none !important;
}
.hp .hp-mediaCaption{
  margin-top:12px;
  font-size:13px;
  line-height:1.55;
  color:#6b7a87;
}

@media (max-width: 1024px){
  .hp .hp-mediaCard--simple .hp-mediaCard__img{height:360px;}
}
@media (max-width: 600px){
  .hp .hp-simpleList li{font-size:15px;}
  .hp .hp-mediaCard--simple .hp-mediaCard__img{height:280px;}
}

/* ===== Final CTA block like reference ===== */
.hp .hp-cta{
  padding-top:52px;
  padding-bottom:72px;
}
.hp .hp-cta__card{
  border-radius:44px;
  padding:64px 76px;
  min-height:260px;
  background:linear-gradient(135deg, #123e63 0%, #1f669b 100%);
  box-shadow:0 30px 70px rgba(20,70,110,.22);
  align-items:center;
  justify-content:space-between;
  flex-wrap:nowrap;
}
.hp .hp-cta__text{
  flex:1 1 auto;
  min-width:0;
}
.hp .hp-cta__title{
  font-size:clamp(36px, 4.1vw, 64px);
  line-height:1.05;
  letter-spacing:-.03em;
  color:#fff;
  margin:0 0 22px;
}
.hp .hp-cta__subtitle{
  max-width:820px;
  font-size:clamp(18px, 1.55vw, 26px);
  line-height:1.55;
  color:rgba(255,255,255,.9);
}
.hp .hp-cta__actions{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:20px;
  flex-wrap:nowrap;
}
.hp .hp-cta__card .hp-btn{
  min-width:190px;
  height:82px;
  border-radius:22px;
  padding:0 34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:24px;
  font-weight:900;
  line-height:1;
  white-space:nowrap;
}
.hp .hp-cta__card .hp-btn--primary{
  background:#fff;
  color:#123e63;
  border:2px solid #fff;
}
.hp .hp-cta__card .hp-btn--ghost{
  background:transparent;
  color:#fff;
  border:3px solid rgba(255,255,255,.62);
}

@media (max-width: 1100px){
  .hp .hp-cta__card{
    padding:50px 42px;
    flex-wrap:wrap;
    text-align:center;
    justify-content:center;
  }
  .hp .hp-cta__subtitle{margin-left:auto; margin-right:auto;}
  .hp .hp-cta__actions{justify-content:center; width:100%;}
}
@media (max-width: 640px){
  .hp .hp-cta{padding-top:36px; padding-bottom:52px;}
  .hp .hp-cta__card{
    border-radius:28px;
    padding:34px 22px;
    min-height:auto;
    gap:26px;
  }
  .hp .hp-cta__title{font-size:34px;}
  .hp .hp-cta__subtitle{font-size:17px;}
  .hp .hp-cta__actions{flex-direction:column; gap:12px;}
  .hp .hp-cta__card .hp-btn{
    width:100%;
    min-width:0;
    height:58px;
    font-size:18px;
    border-radius:18px;
  }
}


/* =========================================================
   FINAL FIX 2026-06-17: CTA exactly like reference + equal popular cards
   This block intentionally overrides older duplicate CTA/card rules above.
========================================================= */
.hp .hp-cta{
  padding-top:54px !important;
  padding-bottom:78px !important;
}
.hp .hp-cta .hp-container{
  max-width:1740px !important;
}
.hp .hp-cta__card{
  width:100% !important;
  min-height:360px !important;
  padding:84px 92px !important;
  border-radius:46px !important;
  background:linear-gradient(135deg, #123e63 0%, #1f669b 100%) !important;
  box-shadow:0 32px 76px rgba(19,64,101,.24) !important;
  display:grid !important;
  grid-template-columns:minmax(0, 1fr) auto !important;
  align-items:center !important;
  gap:48px !important;
  color:#fff !important;
  text-align:left !important;
}
.hp .hp-cta__text{
  min-width:0 !important;
}
.hp .hp-cta__title{
  margin:0 0 22px !important;
  color:#fff !important;
  font-size:clamp(44px, 4.15vw, 76px) !important;
  line-height:1.02 !important;
  letter-spacing:-.035em !important;
  font-weight:950 !important;
}
.hp .hp-cta__subtitle{
  margin:0 !important;
  max-width:920px !important;
  color:rgba(255,255,255,.9) !important;
  font-size:clamp(20px, 1.35vw, 30px) !important;
  line-height:1.55 !important;
  font-weight:500 !important;
}
.hp .hp-cta__actions{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:18px !important;
  flex-wrap:nowrap !important;
  width:auto !important;
  margin:0 !important;
}
.hp .hp-cta__card .hp-btn{
  height:78px !important;
  min-width:190px !important;
  padding:0 34px !important;
  border-radius:22px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-size:26px !important;
  line-height:1 !important;
  font-weight:950 !important;
  white-space:nowrap !important;
  box-shadow:none !important;
  text-decoration:none !important;
}
.hp .hp-cta__card .hp-btn--primary{
  background:#fff !important;
  color:#123e63 !important;
  border:2px solid #fff !important;
}
.hp .hp-cta__card .hp-btn--ghost{
  background:transparent !important;
  color:#fff !important;
  border:3px solid rgba(255,255,255,.62) !important;
}
.hp .hp-cta__card .hp-btn--ghost:hover{
  background:rgba(255,255,255,.12) !important;
}

/* Популярные товары: одинаковая высота карточек, цена и кнопка на одной линии внизу */
.hp .hp-popular .shop-block,
.hp .hp-popular .shop-block--popular{
  margin:0 !important;
}
.hp .hp-popular .shop-block__grid,
.hp .hp-popular .shop-block__grid--5{
  display:grid !important;
  grid-template-columns:repeat(5, minmax(0, 1fr)) !important;
  gap:22px !important;
  align-items:stretch !important;
}
.hp .hp-popular .shop-card{
  height:100% !important;
  min-height:430px !important;
  display:flex !important;
  flex-direction:column !important;
  overflow:hidden !important;
  border-radius:18px !important;
  border:1px solid rgba(15,47,74,.11) !important;
  box-shadow:0 2px 10px rgba(15,47,74,.06) !important;
  background:#fff !important;
}
.hp .hp-popular .shop-card__link{
  display:flex !important;
  flex-direction:column !important;
  flex:1 1 auto !important;
  min-height:0 !important;
  text-decoration:none !important;
  color:inherit !important;
}
.hp .hp-popular .shop-card__img{
  height:230px !important;
  background:#fff !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:18px !important;
  flex:0 0 auto !important;
}
.hp .hp-popular .shop-card__img img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  display:block !important;
}
.hp .hp-popular .shop-card__title{
  padding:18px 20px 0 !important;
  margin:0 !important;
  min-height:74px !important;
  display:-webkit-box !important;
  -webkit-line-clamp:3 !important;
  -webkit-box-orient:vertical !important;
  overflow:hidden !important;
  font-size:20px !important;
  line-height:1.18 !important;
  font-weight:850 !important;
  color:#1d2633 !important;
}
.hp .hp-popular .shop-card__bottom{
  margin-top:auto !important;
  padding:0 20px 22px !important;
  min-height:78px !important;
  display:grid !important;
  grid-template-columns:minmax(0, 1fr) auto !important;
  align-items:end !important;
  gap:14px !important;
}
.hp .hp-popular .shop-card__prices{
  min-height:48px !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:flex-end !important;
  gap:3px !important;
  line-height:1.08 !important;
  min-width:0 !important;
}
.hp .hp-popular .shop-card__price-old{
  font-size:14px !important;
  line-height:1.05 !important;
  font-weight:800 !important;
  color:#7a8796 !important;
  text-decoration:line-through !important;
}
.hp .hp-popular .shop-card__price{
  font-size:18px !important;
  line-height:1.1 !important;
  font-weight:950 !important;
  color:#15466e !important;
  white-space:nowrap !important;
}
.hp .hp-popular .shop-card__cta{
  align-self:end !important;
  display:flex !important;
  justify-content:flex-end !important;
  min-width:104px !important;
}
.hp .hp-popular .shop-card__cta .shop-add,
.hp .hp-popular .shop-card__cta .shop-add--choose{
  width:104px !important;
  height:42px !important;
  min-height:42px !important;
  padding:0 12px !important;
  border-radius:13px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-size:12px !important;
  line-height:1 !important;
  font-weight:850 !important;
  white-space:nowrap !important;
  background:#15466e !important;
  color:#fff !important;
  border:0 !important;
  text-decoration:none !important;
}

@media (max-width: 1280px){
  .hp .hp-popular .shop-block__grid,
  .hp .hp-popular .shop-block__grid--5{
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
  }
  .hp .hp-cta__card{
    padding:66px 54px !important;
  }
}
@media (max-width: 980px){
  .hp .hp-cta__card{
    min-height:auto !important;
    grid-template-columns:1fr !important;
    gap:30px !important;
    text-align:center !important;
    padding:54px 38px !important;
  }
  .hp .hp-cta__subtitle{
    margin-left:auto !important;
    margin-right:auto !important;
  }
  .hp .hp-cta__actions{
    justify-content:center !important;
  }
}
@media (max-width: 760px){
  .hp .hp-popular .shop-block__grid,
  .hp .hp-popular .shop-block__grid--5{
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    gap:16px !important;
  }
  .hp .hp-popular .shop-card{min-height:390px !important;}
  .hp .hp-popular .shop-card__img{height:190px !important; padding:14px !important;}
  .hp .hp-popular .shop-card__title{font-size:17px !important; min-height:66px !important; padding:14px 14px 0 !important;}
  .hp .hp-popular .shop-card__bottom{padding:0 14px 16px !important; gap:10px !important; min-height:72px !important;}
  .hp .hp-popular .shop-card__price{font-size:16px !important;}
  .hp .hp-popular .shop-card__cta{min-width:92px !important;}
  .hp .hp-popular .shop-card__cta .shop-add,
  .hp .hp-popular .shop-card__cta .shop-add--choose{width:92px !important; height:40px !important; font-size:11px !important;}
}
@media (max-width: 560px){
  .hp .hp-cta{
    padding-top:38px !important;
    padding-bottom:54px !important;
  }
  .hp .hp-cta__card{
    border-radius:30px !important;
    padding:36px 22px !important;
  }
  .hp .hp-cta__title{font-size:34px !important;}
  .hp .hp-cta__subtitle{font-size:17px !important;}
  .hp .hp-cta__actions{
    width:100% !important;
    flex-direction:column !important;
    gap:12px !important;
  }
  .hp .hp-cta__card .hp-btn{
    width:100% !important;
    min-width:0 !important;
    height:58px !important;
    font-size:18px !important;
    border-radius:18px !important;
  }
  .hp .hp-popular .shop-block__grid,
  .hp .hp-popular .shop-block__grid--5{
    grid-template-columns:1fr !important;
  }
  .hp .hp-popular .shop-card{min-height:0 !important;}
  .hp .hp-popular .shop-card__img{height:220px !important;}
  .hp .hp-popular .shop-card__title{min-height:auto !important;}
}

/* ========================================================================
   FINAL UI FIX 2026-06-17 v3: neat CTA + stable product cards
   ======================================================================== */
.hp .hp-cta{
  padding:64px 0 86px !important;
}
.hp .hp-cta .hp-container{
  max-width:1760px !important;
  padding:0 48px !important;
}
.hp .hp-cta__card{
  width:100% !important;
  min-height:330px !important;
  padding:78px 92px !important;
  display:grid !important;
  grid-template-columns:minmax(0, 1fr) auto !important;
  align-items:center !important;
  gap:56px !important;
  border-radius:46px !important;
  background:linear-gradient(135deg, #123f64 0%, #185a88 100%) !important;
  box-shadow:0 28px 70px rgba(13,48,76,.22) !important;
  overflow:hidden !important;
}
.hp .hp-cta__text{
  min-width:0 !important;
  max-width:none !important;
}
.hp .hp-cta__title{
  margin:0 0 22px !important;
  color:#fff !important;
  font-size:clamp(42px, 3.35vw, 64px) !important;
  line-height:1.05 !important;
  letter-spacing:-.035em !important;
  font-weight:900 !important;
  white-space:nowrap !important;
}
.hp .hp-cta__subtitle{
  max-width:880px !important;
  margin:0 !important;
  color:rgba(255,255,255,.9) !important;
  font-size:clamp(20px, 1.28vw, 26px) !important;
  line-height:1.55 !important;
  font-weight:500 !important;
}
.hp .hp-cta__actions{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:18px !important;
  flex-wrap:nowrap !important;
  min-width:max-content !important;
}
.hp .hp-cta__card .hp-btn{
  height:72px !important;
  min-width:186px !important;
  padding:0 34px !important;
  border-radius:20px !important;
  font-size:22px !important;
  line-height:1 !important;
  font-weight:900 !important;
  text-align:center !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  white-space:nowrap !important;
  text-decoration:none !important;
}
.hp .hp-cta__card .hp-btn--primary{
  background:#fff !important;
  color:#123f64 !important;
  border:2px solid #fff !important;
}
.hp .hp-cta__card .hp-btn--ghost{
  background:transparent !important;
  color:#fff !important;
  border:3px solid rgba(255,255,255,.64) !important;
}

/* Popular products: strict card layout, no jumping prices/buttons */
.hp .hp-popular .shop-block,
.hp .hp-popular .shop-block--popular{
  margin:0 !important;
}
.hp .hp-popular .shop-block__grid,
.hp .hp-popular .shop-block__grid--5{
  display:grid !important;
  grid-template-columns:repeat(5, minmax(0, 1fr)) !important;
  gap:22px !important;
  align-items:stretch !important;
}
.hp .hp-popular .shop-card{
  height:100% !important;
  min-height:455px !important;
  display:flex !important;
  flex-direction:column !important;
  border-radius:18px !important;
  overflow:hidden !important;
  background:#fff !important;
  border:1px solid rgba(15,47,74,.12) !important;
  box-shadow:0 5px 16px rgba(15,47,74,.07) !important;
}
.hp .hp-popular .shop-card__link{
  display:flex !important;
  flex-direction:column !important;
  flex:1 1 auto !important;
  min-height:0 !important;
  text-decoration:none !important;
  color:inherit !important;
}
.hp .hp-popular .shop-card__img{
  height:230px !important;
  flex:0 0 230px !important;
  padding:18px !important;
  background:#fff !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}
.hp .hp-popular .shop-card__img img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
}
.hp .hp-popular .shop-card__title{
  padding:16px 20px 0 !important;
  margin:0 !important;
  min-height:72px !important;
  max-height:72px !important;
  display:-webkit-box !important;
  -webkit-box-orient:vertical !important;
  -webkit-line-clamp:3 !important;
  overflow:hidden !important;
  font-size:18px !important;
  line-height:1.2 !important;
  font-weight:850 !important;
  letter-spacing:-.01em !important;
  color:#1c2530 !important;
}
.hp .hp-popular .shop-card__bottom{
  margin-top:auto !important;
  min-height:82px !important;
  padding:0 20px 20px !important;
  display:grid !important;
  grid-template-columns:minmax(0, 1fr) 108px !important;
  align-items:end !important;
  gap:12px !important;
}
.hp .hp-popular .shop-card__prices{
  min-width:0 !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:flex-end !important;
  gap:3px !important;
  line-height:1.05 !important;
}
.hp .hp-popular .shop-card__price-old,
.hp .hp-popular .shop-card__price{
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:clip !important;
}
.hp .hp-popular .shop-card__price-old{
  font-size:13px !important;
  font-weight:800 !important;
  color:#798799 !important;
  text-decoration:line-through !important;
}
.hp .hp-popular .shop-card__price{
  font-size:17px !important;
  font-weight:950 !important;
  color:#15466e !important;
}
.hp .hp-popular .shop-card__cta{
  width:108px !important;
  min-width:108px !important;
  display:flex !important;
  justify-content:flex-end !important;
  align-items:flex-end !important;
}
.hp .hp-popular .shop-card__cta .shop-add,
.hp .hp-popular .shop-card__cta .shop-add--choose{
  width:108px !important;
  height:42px !important;
  min-height:42px !important;
  padding:0 10px !important;
  border-radius:13px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:#15466e !important;
  color:#fff !important;
  border:0 !important;
  font-size:12px !important;
  line-height:1 !important;
  font-weight:850 !important;
  white-space:nowrap !important;
  text-decoration:none !important;
}
@media (max-width: 1360px){
  .hp .hp-cta__card{padding:64px 58px !important; gap:36px !important;}
  .hp .hp-cta__title{font-size:46px !important;}
  .hp .hp-cta__subtitle{font-size:21px !important; max-width:720px !important;}
  .hp .hp-popular .shop-block__grid,
  .hp .hp-popular .shop-block__grid--5{grid-template-columns:repeat(3, minmax(0, 1fr)) !important;}
}
@media (max-width: 980px){
  .hp .hp-cta{padding:42px 0 62px !important;}
  .hp .hp-cta .hp-container{padding:0 22px !important;}
  .hp .hp-cta__card{
    min-height:auto !important;
    grid-template-columns:1fr !important;
    text-align:left !important;
    padding:42px 30px !important;
    border-radius:30px !important;
    gap:28px !important;
  }
  .hp .hp-cta__title{font-size:38px !important; white-space:normal !important; margin-bottom:14px !important;}
  .hp .hp-cta__subtitle{font-size:18px !important; line-height:1.5 !important;}
  .hp .hp-cta__actions{justify-content:flex-start !important; width:100% !important; min-width:0 !important;}
  .hp .hp-cta__card .hp-btn{height:56px !important; min-width:150px !important; font-size:17px !important; border-radius:16px !important;}
}
@media (max-width: 760px){
  .hp .hp-popular .shop-block__grid,
  .hp .hp-popular .shop-block__grid--5{grid-template-columns:repeat(2, minmax(0, 1fr)) !important; gap:14px !important;}
  .hp .hp-popular .shop-card{min-height:380px !important;}
  .hp .hp-popular .shop-card__img{height:178px !important; flex-basis:178px !important; padding:12px !important;}
  .hp .hp-popular .shop-card__title{font-size:15px !important; min-height:58px !important; max-height:58px !important; padding:12px 12px 0 !important;}
  .hp .hp-popular .shop-card__bottom{grid-template-columns:1fr !important; min-height:112px !important; padding:0 12px 14px !important; gap:8px !important;}
  .hp .hp-popular .shop-card__cta{width:100% !important; min-width:0 !important;}
  .hp .hp-popular .shop-card__cta .shop-add,
  .hp .hp-popular .shop-card__cta .shop-add--choose{width:100% !important; height:40px !important;}
}
@media (max-width: 520px){
  .hp .hp-cta__card{padding:34px 22px !important;}
  .hp .hp-cta__title{font-size:32px !important;}
  .hp .hp-cta__subtitle{font-size:16px !important;}
  .hp .hp-cta__actions{flex-direction:column !important; gap:12px !important;}
  .hp .hp-cta__card .hp-btn{width:100% !important; min-width:0 !important;}
  .hp .hp-popular .shop-block__grid,
  .hp .hp-popular .shop-block__grid--5{grid-template-columns:1fr !important;}
  .hp .hp-popular .shop-card{min-height:0 !important;}
  .hp .hp-popular .shop-card__img{height:220px !important; flex-basis:220px !important;}
}

/* ========================================================================
   FINAL HARD FIX 2026-06-17 v4: compact CTA + clean product cards
   ======================================================================== */
.hp .hp-cta{
  padding:42px 0 58px !important;
}
.hp .hp-cta .hp-container{
  max-width:1620px !important;
  padding:0 52px !important;
  margin:0 auto !important;
}
.hp .hp-cta__card{
  width:100% !important;
  min-height:230px !important;
  padding:52px 78px !important;
  border-radius:38px !important;
  display:grid !important;
  grid-template-columns:minmax(0, 1fr) auto !important;
  align-items:center !important;
  gap:44px !important;
  background:linear-gradient(135deg, #123f64 0%, #1b6596 100%) !important;
  box-shadow:0 24px 58px rgba(13,48,76,.18) !important;
  overflow:hidden !important;
}
.hp .hp-cta__text{
  min-width:0 !important;
  max-width:900px !important;
}
.hp .hp-cta__title{
  margin:0 0 14px !important;
  font-size:clamp(38px, 2.7vw, 54px) !important;
  line-height:1.08 !important;
  letter-spacing:-.03em !important;
  font-weight:900 !important;
  color:#fff !important;
  white-space:normal !important;
}
.hp .hp-cta__subtitle{
  margin:0 !important;
  max-width:760px !important;
  font-size:clamp(17px, 1.05vw, 21px) !important;
  line-height:1.5 !important;
  font-weight:500 !important;
  color:rgba(255,255,255,.9) !important;
}
.hp .hp-cta__actions{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:16px !important;
  flex-wrap:nowrap !important;
  min-width:max-content !important;
}
.hp .hp-cta__card .hp-btn{
  height:58px !important;
  min-width:156px !important;
  padding:0 26px !important;
  border-radius:17px !important;
  font-size:19px !important;
  line-height:1 !important;
  font-weight:900 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  white-space:nowrap !important;
  box-shadow:none !important;
  text-decoration:none !important;
}
.hp .hp-cta__card .hp-btn--primary{
  background:#fff !important;
  color:#123f64 !important;
  border:2px solid #fff !important;
}
.hp .hp-cta__card .hp-btn--ghost{
  background:transparent !important;
  color:#fff !important;
  border:2px solid rgba(255,255,255,.62) !important;
}

/* карточки в блоках со скидкой и популярных: фикс высоты, цены и кнопки не прыгают */
.hp .hp-sale .shop-block,
.hp .hp-popular .shop-block{
  margin:0 !important;
}
.hp .hp-sale .shop-block__grid,
.hp .hp-sale .shop-block__grid--5,
.hp .hp-popular .shop-block__grid,
.hp .hp-popular .shop-block__grid--5{
  display:grid !important;
  grid-template-columns:repeat(5, minmax(0, 1fr)) !important;
  gap:22px !important;
  align-items:stretch !important;
}
.hp .hp-sale .shop-card,
.hp .hp-popular .shop-card{
  height:100% !important;
  min-height:410px !important;
  display:flex !important;
  flex-direction:column !important;
  overflow:hidden !important;
  border-radius:18px !important;
  background:#fff !important;
  border:1px solid rgba(15,47,74,.12) !important;
  box-shadow:0 5px 16px rgba(15,47,74,.06) !important;
}
.hp .hp-sale .shop-card__link,
.hp .hp-popular .shop-card__link{
  flex:1 1 auto !important;
  min-height:0 !important;
  display:flex !important;
  flex-direction:column !important;
  color:inherit !important;
  text-decoration:none !important;
}
.hp .hp-sale .shop-card__img,
.hp .hp-popular .shop-card__img{
  height:190px !important;
  flex:0 0 190px !important;
  padding:16px !important;
  background:#fff !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}
.hp .hp-sale .shop-card__img img,
.hp .hp-popular .shop-card__img img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  display:block !important;
}
.hp .hp-sale .shop-card__title,
.hp .hp-popular .shop-card__title{
  margin:0 !important;
  padding:16px 18px 0 !important;
  min-height:72px !important;
  max-height:72px !important;
  display:-webkit-box !important;
  -webkit-box-orient:vertical !important;
  -webkit-line-clamp:3 !important;
  overflow:hidden !important;
  font-size:17px !important;
  line-height:1.22 !important;
  font-weight:850 !important;
  letter-spacing:-.01em !important;
  color:#1c2530 !important;
}
.hp .hp-sale .shop-card__bottom,
.hp .hp-popular .shop-card__bottom{
  margin-top:auto !important;
  min-height:78px !important;
  padding:0 18px 18px !important;
  display:flex !important;
  align-items:flex-end !important;
  justify-content:space-between !important;
  gap:12px !important;
}
.hp .hp-sale .shop-card__prices,
.hp .hp-popular .shop-card__prices{
  flex:1 1 auto !important;
  min-width:0 !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:flex-end !important;
  gap:3px !important;
  line-height:1.05 !important;
}
.hp .hp-sale .shop-card__price-old,
.hp .hp-popular .shop-card__price-old{
  font-size:13px !important;
  line-height:1.05 !important;
  font-weight:800 !important;
  color:#7a8796 !important;
  text-decoration:line-through !important;
  white-space:nowrap !important;
}
.hp .hp-sale .shop-card__price,
.hp .hp-popular .shop-card__price{
  font-size:17px !important;
  line-height:1.1 !important;
  font-weight:950 !important;
  color:#15466e !important;
  white-space:nowrap !important;
  overflow:visible !important;
}
.hp .hp-sale .shop-card__cta,
.hp .hp-popular .shop-card__cta{
  flex:0 0 108px !important;
  width:108px !important;
  min-width:108px !important;
  display:flex !important;
  align-items:flex-end !important;
  justify-content:flex-end !important;
}
.hp .hp-sale .shop-card__cta .shop-add,
.hp .hp-sale .shop-card__cta .shop-add--choose,
.hp .hp-popular .shop-card__cta .shop-add,
.hp .hp-popular .shop-card__cta .shop-add--choose{
  width:108px !important;
  height:42px !important;
  min-height:42px !important;
  padding:0 10px !important;
  border-radius:13px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-size:12px !important;
  line-height:1 !important;
  font-weight:850 !important;
  white-space:nowrap !important;
  color:#fff !important;
  background:#15466e !important;
  border:0 !important;
  text-decoration:none !important;
}
@media (max-width:1360px){
  .hp .hp-cta .hp-container{padding:0 36px !important;}
  .hp .hp-cta__card{padding:46px 54px !important; min-height:220px !important; gap:32px !important;}
  .hp .hp-cta__title{font-size:42px !important;}
  .hp .hp-cta__subtitle{font-size:18px !important; max-width:680px !important;}
  .hp .hp-sale .shop-block__grid,
  .hp .hp-sale .shop-block__grid--5,
  .hp .hp-popular .shop-block__grid,
  .hp .hp-popular .shop-block__grid--5{grid-template-columns:repeat(3, minmax(0, 1fr)) !important;}
}
@media (max-width:980px){
  .hp .hp-cta{padding:34px 0 48px !important;}
  .hp .hp-cta .hp-container{padding:0 22px !important;}
  .hp .hp-cta__card{grid-template-columns:1fr !important; gap:24px !important; padding:36px 28px !important; border-radius:30px !important; min-height:0 !important;}
  .hp .hp-cta__title{font-size:34px !important; margin-bottom:12px !important;}
  .hp .hp-cta__subtitle{font-size:16px !important; line-height:1.45 !important;}
  .hp .hp-cta__actions{justify-content:flex-start !important; min-width:0 !important; width:100% !important;}
  .hp .hp-cta__card .hp-btn{height:52px !important; min-width:140px !important; font-size:16px !important; border-radius:15px !important;}
}
@media (max-width:760px){
  .hp .hp-sale .shop-block__grid,
  .hp .hp-sale .shop-block__grid--5,
  .hp .hp-popular .shop-block__grid,
  .hp .hp-popular .shop-block__grid--5{grid-template-columns:repeat(2, minmax(0, 1fr)) !important; gap:14px !important;}
  .hp .hp-sale .shop-card,
  .hp .hp-popular .shop-card{min-height:365px !important;}
  .hp .hp-sale .shop-card__img,
  .hp .hp-popular .shop-card__img{height:165px !important; flex-basis:165px !important; padding:12px !important;}
  .hp .hp-sale .shop-card__title,
  .hp .hp-popular .shop-card__title{font-size:15px !important; min-height:60px !important; max-height:60px !important; padding:12px 12px 0 !important;}
  .hp .hp-sale .shop-card__bottom,
  .hp .hp-popular .shop-card__bottom{padding:0 12px 14px !important; gap:8px !important; min-height:74px !important;}
  .hp .hp-sale .shop-card__price,
  .hp .hp-popular .shop-card__price{font-size:15px !important;}
  .hp .hp-sale .shop-card__price-old,
  .hp .hp-popular .shop-card__price-old{font-size:12px !important;}
  .hp .hp-sale .shop-card__cta,
  .hp .hp-popular .shop-card__cta{flex-basis:92px !important; width:92px !important; min-width:92px !important;}
  .hp .hp-sale .shop-card__cta .shop-add,
  .hp .hp-sale .shop-card__cta .shop-add--choose,
  .hp .hp-popular .shop-card__cta .shop-add,
  .hp .hp-popular .shop-card__cta .shop-add--choose{width:92px !important; height:38px !important; font-size:11px !important;}
}
@media (max-width:520px){
  .hp .hp-cta__card{padding:30px 20px !important; border-radius:26px !important;}
  .hp .hp-cta__title{font-size:30px !important;}
  .hp .hp-cta__actions{flex-direction:column !important; gap:10px !important;}
  .hp .hp-cta__card .hp-btn{width:100% !important; min-width:0 !important;}
  .hp .hp-sale .shop-block__grid,
  .hp .hp-sale .shop-block__grid--5,
  .hp .hp-popular .shop-block__grid,
  .hp .hp-popular .shop-block__grid--5{grid-template-columns:1fr !important;}
  .hp .hp-sale .shop-card,
  .hp .hp-popular .shop-card{min-height:0 !important;}
  .hp .hp-sale .shop-card__img,
  .hp .hp-popular .shop-card__img{height:210px !important; flex-basis:210px !important;}
  .hp .hp-sale .shop-card__title,
  .hp .hp-popular .shop-card__title{min-height:auto !important; max-height:none !important;}
}
