/* ============================================================
   Stroymall.by — базовая визуальная система
   ============================================================ */
:root{
  --sm-accent:#e05a1e;
  --sm-accent-dark:#c44a14;
  --sm-text:#3d3d3d;
  --sm-head:#1a1a1a;
  --sm-muted:#6b6b6b;
  --sm-radius:10px;
  --sm-hero-bg:#f0f0f0;
  --sm-font:'TildaSans',Arial,Helvetica,sans-serif;
}

/* --- Типографика --- */
body{ -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; }
.t-text, .t-descr, .t-text_xs{ color:var(--sm-text); line-height:1.62; }
h1, h2, h3, .t-title{ color:var(--sm-head); letter-spacing:-0.015em; }
.t-title_xl{ line-height:1.14; }
.t-title_l{ line-height:1.2; }
.t-title_m{ line-height:1.25; }
.t-uptitle{ letter-spacing:.14em; }

/* --- Ссылки в тексте --- */
.t-text a, .t-descr a{
  color:var(--sm-accent);
  text-decoration:none;
  border-bottom:1px solid rgba(224,90,30,.35);
  transition:border-color .15s ease, color .15s ease;
}
.t-text a:hover, .t-descr a:hover{
  color:var(--sm-accent-dark);
  border-bottom-color:var(--sm-accent-dark);
}

/* --- Кнопки --- */
.t-btn{
  border-radius:var(--sm-radius);
  font-weight:600;
  letter-spacing:.01em;
  transition:transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.t-btn:hover{ transform:translateY(-1px); }

/* --- Карточки товаров Store --- */
.t-store__card{ height:100%; }
.t-store__card__imgwrapper{ background:#fff; }
.t-store__card__title{
  font-weight:600;
  color:var(--sm-head);
  min-height:3.1em;
  line-height:1.3;
}
.t-store__card__descr{
  color:var(--sm-muted);
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.t-store__card__price{ color:var(--sm-accent); font-weight:700; }
.t-store__card__price-old{ color:#9a9a9a; }
.t-store__card__btns-wrapper{ margin-top:auto; }
.t-store__card__bgimg, .t-store__card__img{
  background-size:contain !important;
  background-repeat:no-repeat !important;
  background-position:center !important;
}

/* Кнопка «Купить» в карточках — акцентная */
.t-store__card__btns-wrapper .t-store__card__btn:first-child{
  background-color:var(--sm-accent) !important;
  border-color:var(--sm-accent) !important;
  color:#fff !important;
}
.t-store__card__btns-wrapper .t-store__card__btn:first-child:hover{
  background-color:var(--sm-accent-dark) !important;
  border-color:var(--sm-accent-dark) !important;
}

/* --- Шапка: соразмерный логотип --- */
#rec1083306686 .t-menu-base__imglogo{ max-width:190px !important; }

/* --- Главная: первый экран --- */
#rec2495782371{ padding-top:96px !important; }
#rec2495782371 .t795__title{
  font-size:44px !important;
  line-height:1.13;
  font-weight:700;
  letter-spacing:-0.02em;
  max-width:900px;
  margin:0 auto;
}
#rec2495782371 .t795__descr{
  font-size:19px;
  line-height:1.55;
  color:#5f5f5f;
  max-width:760px;
  margin:14px auto 0;
}

/* --- Первый экран: кнопки и выгоды --- */
.sm-hero-cta__btns{ align-items:center; }
.sm-btn--primary{ color:#fff !important; }

/* --- Лендинги и статьи: шрифт сайта во всех элементах --- */
.nb, .nb div, .nb span, .nb p, .nb a, .nb h1, .nb h2, .nb h3, .nb li,
.cat, .cat div, .cat span, .cat p, .cat a, .cat h1, .cat h2, .cat h3,
.art, .art div, .art span, .art p, .art a, .art h1, .art h2, .art h3, .art li, .art figcaption, .art strong{
  font-family:var(--sm-font) !important;
}

/* --- Статьи и текстовые страницы: читаемая колонка --- */
.t-rec[data-record-type="474"]{ padding-left:20px; padding-right:20px; }
.t-rec[data-record-type="474"] .t-text{ max-width:760px; margin:0 auto; }
.t-rec[data-record-type="474"] h1{ font-size:40px; line-height:1.15; font-weight:700; letter-spacing:-.02em; margin:0 0 18px; }
.t-rec[data-record-type="474"] h2{ font-size:26px; line-height:1.25; font-weight:700; margin:46px 0 14px; letter-spacing:-.015em; }
.t-rec[data-record-type="474"] h3{ font-size:20px; line-height:1.35; font-weight:600; margin:30px 0 10px; }
.t-rec[data-record-type="474"] p{ font-size:17px; line-height:1.72; margin:0 0 16px; }
.t-rec[data-record-type="474"] ul{ list-style:none; padding-left:0; margin:0 0 18px; }
.t-rec[data-record-type="474"] ul li{ position:relative; padding-left:22px; margin-bottom:10px; font-size:17px; line-height:1.65; }
.t-rec[data-record-type="474"] ul li:before{ content:""; position:absolute; left:2px; top:11px; width:6px; height:6px; border-radius:50%; background:var(--sm-accent); }
.t-rec[data-record-type="474"] ol{ padding-left:22px; margin:0 0 18px; }
.t-rec[data-record-type="474"] ol li{ margin-bottom:10px; font-size:17px; line-height:1.65; }
.t-rec[data-record-type="474"] strong{ color:var(--sm-head); }

/* --- Кнопка «На главную» --- */
.sm-home-pill{
  position:fixed; left:20px; bottom:20px; z-index:9999;
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 18px; background:#fff; border:1px solid #e0e0db; border-radius:999px;
  color:var(--sm-head) !important; font-family:var(--sm-font); font-size:14px; font-weight:600; line-height:1;
  text-decoration:none !important; box-shadow:0 6px 20px rgba(0,0,0,.08);
  transition:border-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.sm-home-pill:hover{ border-color:var(--sm-accent); color:var(--sm-accent) !important; transform:translateY(-1px); box-shadow:0 10px 24px rgba(0,0,0,.12); }
@media screen and (max-width:640px){
  .sm-home-pill{ left:12px; bottom:12px; padding:9px 14px; font-size:13px; }
}

/* --- Мобильные поправки --- */
@media screen and (max-width:960px){
  #rec1083306686 .t-menu-base__imglogo{ max-width:120px !important; }
  #rec2495782371{ padding-top:70px !important; }
  #rec2495782371 .t795__title{ font-size:32px !important; }
  #rec2495782371 .t795__descr{ font-size:17px; }
  .t-rec[data-record-type="474"] h1{ font-size:31px; }
  .t-rec[data-record-type="474"] h2{ font-size:22px; margin-top:34px; }
  .t-rec[data-record-type="474"] p,
  .t-rec[data-record-type="474"] ul li,
  .t-rec[data-record-type="474"] ol li{ font-size:16px; }
}
@media screen and (max-width:640px){
  #rec2495782371 .t795__title{ font-size:26px !important; }
  .t-store__card__title{ min-height:auto; }
  .t-store__card__descr{ -webkit-line-clamp:2; }
  .t-rec[data-record-type="474"] h1{ font-size:26px; }
}
