/* === Скин SOFT — дружелюбный финтех-стиль (по мотивам T-Банка) ===
   Грузится ПОВЕРХ stalverk.css только на сайтах с skin='soft' в реестре.
   Жёлтый акцент, крупные скругления, светлый hero, серые залитые поля. */

:root{
  --paper:#f6f7f8; --paper-2:#eef0f2; --card:#ffffff;
  --ink:#1c1c1c; --ink-2:#3a3a3a; --muted:#6b6b6b; --line:#e6e8ea;
  --steel:#1c1c1c; --steel-d:#000000;     /* вторичные кнопки — тёмные/серые */
  --cta:#0E9F6E; --cta-d:#0D8459;          /* фирменный жёлтый */
  --navy:#1c1c1c;
}

body{font-family:"Lato","Roboto",Arial,sans-serif;color:var(--ink);background:var(--paper);}
h1,h2,h3,h4{font-family:"Lato","Roboto",Arial,sans-serif !important;letter-spacing:-.01em;color:var(--ink);}

/* Крупные скругления */
.st-cat-card,ul.products li.product,.st-trust,.st-trust-home div,.st-why-card{border-radius:16px !important;}

/* Главный CTA — жёлтый с тёмным текстом, скруглён */
.st-cta,a.st-cta,.single_add_to_cart_button,.st-quote,.st-tb-cta{
  background:var(--cta) !important;color:#1c1c1c !important;border-radius:12px !important;border:none !important;}
.st-cta:hover,a.st-cta:hover,.single_add_to_cart_button:hover,.st-tb-cta:hover{background:var(--cta-d) !important;color:#1c1c1c !important;}

/* Вторичные кнопки — светло-серые с тёмным текстом (НЕ трогаем главный жёлтый .st-cta) */
.button:not(.st-cta):not(.st-quote),a.button:not(.st-cta),button.button:not(.st-cta),.wp-block-button__link{
  background:#f0f0f1 !important;color:#1c1c1c !important;border-radius:12px !important;border:1px solid var(--line) !important;}
.button:not(.st-cta):hover,a.button:not(.st-cta):hover{background:#e6e7e9 !important;color:#1c1c1c !important;}
.st-ghost{background:#f0f0f1 !important;color:#1c1c1c !important;border:1px solid #d7dadd !important;border-radius:12px !important;}

/* === Шапка как ОДИН цельный КОМПАКТНЫЙ элемент: топбар + меню === */
/* Верхняя плашка — светлая, БЕЗ нижней линии, в ОДНУ строку */
.st-topbar{background:#ffffff !important;color:#6b6b6b !important;border-bottom:none !important;padding-bottom:0 !important;}
.st-topbar a{color:#3a3a3a !important;}
.st-tb-cta{color:#1c1c1c !important;}
/* Одна строка: тэглайн · ПВЗ ........ контакты. Контакты НЕ сжимаются;
   ПВЗ забирает всё свободное место и при нехватке обрезается (а не ломает строку). */
.st-topbar-in{flex-wrap:nowrap !important;align-items:center !important;padding-top:6px !important;padding-bottom:6px !important;}
/* Тэглайн — единственный, кто сжимается/обрезается; ПВЗ и контакты всегда видны целиком */
.st-tb-left{order:1 !important;flex:0 1 auto !important;min-width:0 !important;overflow:hidden !important;text-overflow:ellipsis !important;white-space:nowrap !important;}
.st-tb-pickup{order:2 !important;flex:0 0 auto !important;margin:0 0 0 22px !important;color:#5a6068 !important;font-size:.82rem !important;white-space:nowrap !important;justify-content:flex-start !important;}
.st-tb-pickup b,.st-tb-pickup #st-hdr-pickup{color:#1c1c1c !important;}
.st-tb-right{order:3 !important;flex:0 0 auto !important;white-space:nowrap !important;margin-left:auto !important;padding-left:22px !important;}
@media(max-width:1100px){.st-tb-left{display:none !important;}}
@media(max-width:760px){.st-tb-pickup{display:none !important;}}

/* Меню-бар — без верхней линии, единственная нижняя граница всей шапки тут; ВЫСОТА уменьшена */
.site-header,header.site-header{background:#ffffff !important;border-top:none !important;border-bottom:none !important;}
.ast-main-header-wrap,.main-header-bar{border-top:none !important;border-bottom:1px solid var(--line) !important;box-shadow:none !important;}
.site-header a,.main-header-menu a,.site-title a{color:var(--ink) !important;}
/* Astra держит бар на min-height:80px — снимаем, высота по контенту */
.site-primary-header-wrap,.ast-primary-header-bar,.main-header-bar-wrap{min-height:0 !important;}
.main-header-menu .menu-link,.main-header-menu .menu-item{line-height:50px !important;height:50px !important;}
.main-header-menu .sub-menu .menu-link,.main-header-menu .sub-menu .menu-item{line-height:1.5 !important;height:auto !important;}
.site-branding,.ast-site-identity{padding-top:6px !important;padding-bottom:6px !important;}

/* Hero — светлый: белый фон, тёмный крупный заголовок, жёлтая кнопка */
.st-hero{background:#ffffff !important;color:#1c1c1c !important;border-bottom:1px solid var(--line);}
.st-hero-scrim{display:none !important;}            /* убрать тёмный затеняющий оверлей (он для картинок) */
.st-hero h1{color:#1c1c1c !important;font-size:2.6rem;letter-spacing:-.015em;}
.st-hero h1 .st-accent{color:#0B7D55 !important;}  /* акцентное слово — приглушённый янтарь, не оранжевый */
.st-hero p{color:#5a5a5a !important;}
.st-hero-eyebrow{color:#0B7D55 !important;}
.st-hero-badges span{color:#3a3a3a !important;border:1px solid var(--line) !important;border-radius:10px;}

/* Телефон в шапке — нейтральный тёмный (не оранжевый) */
.st-phone{color:#1c1c1c !important;}
/* В подвале (тёмный фон) телефон/почта/иконки — светлые, не сливаются с чёрным */
.st-footer .st-phone,.st-footer a{color:#f4f4f5 !important;}
.st-footer .st-phone:hover,.st-footer a:hover{color:var(--cta) !important;}
.st-footer .st-ic{color:var(--cta) !important;}

/* Поля форм — серая заливка, крупное скругление (как у T-Банка) */
input[type=text],input[type=email],input[type=tel],input[type=number],input[type=search],textarea,select,
.wpcf7-form-control:not(.wpcf7-submit){background:#f6f7f8 !important;border:1px solid #eceef0 !important;border-radius:13px !important;padding:12px 14px !important;}

/* Цена — нейтральная тёмная */
.price,.woocommerce-Price-amount{color:#1c1c1c !important;}

/* Карточки разделов/товаров — мягкая граница */
.st-cat-card,ul.products li.product{border:1px solid var(--line) !important;}
.st-cat-card:hover,ul.products li.product:hover{border-color:#cfcfd2 !important;}

/* Каталог-таблица без колонки Ø (литьё — размер указан в названии позиции) */
.st-nodiam .st-h-d,.st-nodiam .st-prow .c-d{display:none !important;}
.st-nodiam .st-loop-head{grid-template-columns:54px minmax(200px,2fr) 130px 150px 120px 120px !important;}
.st-nodiam .st-prow{grid-template-columns:56px minmax(200px,2fr) 130px 150px 110px 120px !important;}

/* Подвал — нейтральный графит (не синий) */
.st-footer{background:#1c1c1c !important;}

/* Убрать нижний копирайт-бар Astra («Powered by Astra») */
.site-below-footer-wrap,.ast-small-footer,.footer-sml-layout-2,#colophon .ast-small-footer{display:none !important;}

/* Карточки статей: скрыть байлайн «автор / дата» (категорию-метку оставляем) */
.blog .ast-blog-meta-container,.archive .ast-blog-meta-container,.search .ast-blog-meta-container,
.blog .entry-meta,.archive .entry-meta,.search .entry-meta,
.single-post .entry-meta,.single .ast-single-post .entry-meta,.single-post .ast-blog-meta-container,
.ast-article-post .posted-by,.ast-article-post .posted-on{display:none !important;}

/* Гармонизация секций главной */
.st-why-card{border:1px solid var(--line) !important;border-top:1px solid var(--line) !important;border-radius:16px !important;}
.st-why-ico{background:#f0f0f1 !important;color:#1c1c1c !important;border-radius:11px !important;}
.st-why{background:#f6f7f8 !important;}
.st-step{border:1px solid var(--line) !important;border-radius:16px !important;}
.st-step-n{background:#1c1c1c !important;}
.st-step .st-ic{background:#f0f0f1 !important;color:#1c1c1c !important;}
.st-step b{color:#1c1c1c !important;}
/* Плашка CTA — белая карточка, кнопки контрастные */
.st-home-cta{background:#ffffff !important;border:1px solid var(--line) !important;border-radius:18px !important;}
.st-home-cta h2{color:#1c1c1c !important;}

/* Логотип Уралкаст */
.custom-logo{height:40px !important;width:auto !important;max-width:230px !important;}
.site-branding img,.ast-logo-title-inline .site-branding{display:flex;align-items:center;}
.st-flogo{height:42px;width:auto;margin-bottom:12px;display:block;}

/* Карусель литья = ФОН hero, текст/кнопки наложены поверх (1 цельный компонент) */
.st-hero:has(.st-hero-bg){position:relative;overflow:hidden;background:#fff;}
.st-hero-bg{position:absolute !important;inset:0 !important;width:100% !important;height:100% !important;margin:0 !important;max-height:none !important;border:none !important;border-radius:0 !important;background:#fff;z-index:0;}
.st-hero-bg .st-hcar-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center right;opacity:0;transition:opacity .6s ease;}
.st-hero-bg .st-hcar-img.is-active{opacity:1;}
/* Светлый скрим: слева плотный (текст читаем) → справа прозрачный (видна картинка) */
.st-hero-scrim-x{position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.95) 30%,rgba(255,255,255,.62) 52%,rgba(255,255,255,.12) 78%,rgba(255,255,255,0) 100%);}
.st-hero-in-ov{position:relative;z-index:2;min-height:520px;display:flex;flex-direction:column;justify-content:center;}
.st-hero-bg .st-hcar-dots{left:auto;right:24px;bottom:18px;justify-content:flex-end;z-index:3;}
@media(max-width:900px){
  .st-hero-scrim-x{background:linear-gradient(180deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.92) 40%,rgba(255,255,255,.72) 100%);}
  .st-hero-in-ov{min-height:430px;}
}
.st-hcar-dots{position:absolute;left:0;right:0;bottom:14px;display:flex;justify-content:center;gap:8px;z-index:2;}
.st-hcar-dot{width:9px;height:9px;border-radius:50%;border:none;background:rgba(28,28,28,.25);cursor:pointer;padding:0;transition:background .2s,width .2s;}
.st-hcar-dot.is-active{background:#1c1c1c;width:22px;border-radius:5px;}

/* === Статьи (.st-art): hero, «коротко» с иконками, заголовки, FAQ === */
.single .post-thumbnail,.single .ast-single-post-featured-section,.single-post .post-thumbnail-wrap{display:none !important;} /* не дублировать featured — hero уже в тексте */
.st-art{max-width:820px;margin:0 auto;font-size:1.04rem;line-height:1.7;color:var(--ink-2);}
.st-art-hero{display:block;width:100%;height:360px;object-fit:cover;object-position:center 60%;border-radius:18px;border:1px solid var(--line);margin:0 0 28px;background:#fff;}
@media(max-width:560px){.st-art-hero{height:230px;}}
.st-art p{margin:0 0 16px;}
.st-art h2{font-size:1.5rem;margin:30px 0 12px;color:var(--ink);letter-spacing:-.01em;}
.st-art h2::before{content:"";display:inline-block;width:8px;height:22px;border-radius:4px;background:var(--cta);margin-right:11px;vertical-align:-3px;}
/* блок «коротко» — список с жёлтыми галочками-иконками */
.st-art .st-keyfacts{list-style:none;margin:0 0 26px;padding:18px 20px;background:#f6f7f8;border:1px solid var(--line);border-radius:16px;}
.st-art .st-keyfacts li{position:relative;padding:6px 0 6px 34px;margin:0;}
.st-art .st-keyfacts li+li{border-top:1px solid var(--line);}
.st-art .st-keyfacts li::before{content:"";position:absolute;left:0;top:9px;width:22px;height:22px;border-radius:7px;background:var(--cta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1c1c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/14px no-repeat;}
/* FAQ-абзацы статьи */
.st-art p strong{color:var(--ink);}
/* смежные разделы + CTA */
.st-art .st-rel{margin:28px 0 18px;padding:16px 18px;background:#fff;border:1px solid var(--line);border-radius:14px;font-size:.97rem;}
.st-art .st-rel a{display:inline-block;margin:4px 8px 0 0;padding:5px 12px;background:#f0f0f1;border:1px solid var(--line);border-radius:10px;color:var(--ink) !important;text-decoration:none;}
.st-art .st-rel a:hover{background:#e6e7e9;}
.st-art a.st-cta{display:inline-block;margin-top:8px;padding:13px 22px;font-weight:700;}
@media(max-width:560px){.st-art{font-size:1rem;} .st-art h2{font-size:1.3rem;}}

/* === Скин GREEN — изумрудный акцент #0E9F6E (бренд «Гровертон»/feromix.ru) ===
   Форк soft.css: зелёный CTA с БЕЛЫМ текстом (зелёный темнее жёлтого), акцент-зелёный. */
.st-cta,a.st-cta,.single_add_to_cart_button,.st-quote,.st-tb-cta{color:#fff !important;}
.st-cta:hover,a.st-cta:hover,.single_add_to_cart_button:hover,.st-tb-cta:hover{color:#fff !important;}
.st-hcar-dot.is-active{background:#0E9F6E !important;}
.st-hero h1 .st-accent{color:#0B7D55 !important;}
