/* ============================================================
   IMPEX — єдиний стиль FAQ-блоку (.faq-block) по всьому сайту.
   Фірмова гама impex: акцент ЧЕРВОНИЙ #ED1422 (main_color теми),
   слейт #353E48, бордюри #E5E5E5. Акордеон-картки.
   Прогресивне покращення: БЕЗ JS контент видно (SEO-safe);
   з JS — клікабельний акордеон. Маркап (від faq-inject.php):
     <div class="faq-block"><h2>Заголовок</h2><h3>Питання</h3><p>Відповідь</p>…</div>
   ============================================================ */

.faq-block{max-width:900px;margin:2rem 0;display:flex;flex-direction:column;gap:.6rem}
.faq-block > h2{font-size:1.6rem;font-weight:700;color:#353E48;margin:0 0 1rem;line-height:1.25}

.faq-item{border:1px solid #E5E5E5;border-radius:14px;background:#fff;overflow:hidden;
  transition:box-shadow .2s ease,border-color .2s ease}
.faq-item:hover{border-color:rgba(237,20,34,.4);box-shadow:0 4px 16px rgba(237,20,34,.13)}

.faq-item > h3{
  margin:0;padding:1.05rem 3.2rem 1.05rem 1.35rem;background:#fff;
  font-size:1.06rem;font-weight:600;color:#353E48;line-height:1.4;
  cursor:pointer;position:relative;user-select:none;outline:none;
  transition:background .2s ease,color .2s ease}
.faq-item > h3:focus-visible{box-shadow:inset 0 0 0 2px rgba(237,20,34,.5)}

/* шеврон через ::after (червоний акцент) */
.faq-item > h3::after{content:'';position:absolute;right:1.35rem;top:1.45rem;
  width:9px;height:9px;border-right:2.5px solid #ED1422;border-bottom:2.5px solid #ED1422;
  transform:rotate(45deg);transition:transform .22s ease}
.faq-item > h3.is-open{background:#fdecec;color:#b00d18}
.faq-item > h3.is-open::after{transform:rotate(225deg);top:1.65rem;border-color:#b00d18}

.faq-item > p{margin:0;padding:.15rem 1.35rem 1.2rem;font-size:1rem;color:#5a6068;line-height:1.75}
.faq-item > p strong{color:#353E48}
.faq-item > p a{color:#50A8FF}

.faq-js .faq-item > p{display:none}
.faq-js .faq-item > h3.is-open + p{display:block;animation:faqFade .2s ease both}
@keyframes faqFade{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}

@media (max-width:600px){
  .faq-block > h2{font-size:1.35rem}
  .faq-item > h3{font-size:1rem;padding:.95rem 2.8rem .95rem 1.1rem}
  .faq-item > h3::after{right:1.1rem}
}

/* ===== IMPEX landing: hero(+)/trust/CTA- ===== */
.lp-btn{display:inline-flex;align-items:center;gap:8px;padding:.85rem 1.6rem;border-radius:10px;font-size:1rem;font-weight:600;line-height:1;text-decoration:none;cursor:pointer;border:2px solid transparent;transition:background .18s,color .18s,box-shadow .18s}
.lp-btn--primary{background:#ED1422;color:#fff !important}
.lp-btn--primary:hover{background:#c0111d;box-shadow:0 6px 18px rgba(237,20,34,.28)}
.lp-btn--ghost{background:#fff;color:#353E48 !important;border-color:#d7dae0}
.lp-btn--ghost:hover{border-color:#ED1422;color:#ED1422 !important}
.lp-hero{display:flex;gap:1.5rem;align-items:center;background:#fbfbfd;border:1px solid #E5E5E5;border-left:5px solid #ED1422;border-radius:14px;padding:1.4rem 1.6rem;margin:0 0 1.6rem}
.lp-hero-text{flex:1;min-width:0}
.lp-hero p{margin:0 0 1rem;font-size:1.08rem;color:#3a3f4a;line-height:1.6}
.lp-actions{display:flex;flex-wrap:wrap;gap:12px}
.lp-hero img{width:320px;max-width:44%;height:auto;border-radius:12px;object-fit:cover}
.lp-trust{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:0 0 1.8rem}
.lp-stat{background:#fff;border:1px solid #E5E5E5;border-radius:12px;padding:1rem;text-align:center}
.lp-stat b{display:block;font-size:1.7rem;font-weight:700;color:#ED1422;line-height:1.1}
.lp-stat span{display:block;margin-top:4px;font-size:.9rem;color:#5a6068}
@media(max-width:600px){.lp-hero{flex-direction:column}.lp-hero img{width:100%;max-width:100%}.lp-actions{flex-direction:column}.lp-btn{justify-content:center}}

/* ===== exit-intent quiz popup ===== */
#eq-overlay{position:fixed;inset:0;background:rgba(20,22,28,.72);z-index:99999;display:flex;align-items:center;justify-content:center;padding:16px;animation:eqf .2s ease}
@keyframes eqf{from{opacity:0}to{opacity:1}}
#eq-modal{position:relative;width:100%;max-width:560px;background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,.45)}
#eq-modal iframe{width:100%;height:min(80vh,650px);border:0;display:block}
#eq-close{position:absolute;top:8px;right:10px;z-index:2;width:36px;height:36px;border:none;border-radius:50%;background:#fff;color:#353E48;font-size:24px;line-height:34px;text-align:center;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.25)}
#eq-close:hover{background:#ED1422;color:#fff}
.lp-btn--accent{background:#fff;color:#ED1422 !important;border-color:#ED1422}
.lp-btn--accent:hover{background:#ED1422;color:#fff !important;box-shadow:0 6px 18px rgba(237,20,34,.28)}
/* ===    () === */
.us-category-description-text{font-size:1.02rem;line-height:1.75;color:#3a4048}
.us-category-description-text>h2,.us-category-description-text>h3,.us-category-description-text>p,.us-category-description-text>ul,.us-category-description-text>ol,.us-category-description-text>.faq-block{max-width:840px}
.us-category-description-text h2{font-size:1.55rem;line-height:1.25;color:#2c333c;font-weight:700;margin:2.2rem 0 .9rem;padding-bottom:.5rem;border-bottom:1px solid #e7e9ee}
.us-category-description-text h2:first-child{margin-top:.3rem}
.us-category-description-text h3{font-size:1.2rem;color:#2c333c;margin:1.4rem 0 .6rem}
.us-category-description-text>p{margin:0 0 1.05rem}
.us-category-description-text strong{color:#2c333c;font-weight:700}
.us-category-description-text>ul{list-style:none;margin:0 0 1.3rem;padding:0}
.us-category-description-text>ul>li{position:relative;padding-left:1.6rem;margin:0 0 .6rem;line-height:1.65}
.us-category-description-text>ul>li::before{content:"";position:absolute;left:.25rem;top:.62em;width:7px;height:7px;background:#ED1422;border-radius:50%}
@media(max-width:600px){.us-category-description-text{font-size:1rem;line-height:1.7}.us-category-description-text h2{font-size:1.3rem}}
/* === Typography of blog article body (readability) === */
.us-blog-post-text{font-size:1.04rem;line-height:1.78;color:#3a4048}
.us-blog-post-text>h2,.us-blog-post-text>h3,.us-blog-post-text>p,.us-blog-post-text>ul,.us-blog-post-text>ol,.us-blog-post-text>.faq-block{max-width:860px}
.us-blog-post-text h2,.us-blog-post-text h3{color:#2c333c;font-weight:700;line-height:1.25;margin:2.1rem 0 .85rem;padding-bottom:.45rem;border-bottom:1px solid #e7e9ee}
.us-blog-post-text h2{font-size:1.5rem}
.us-blog-post-text h3{font-size:1.3rem}
.us-blog-post-text h2:first-child,.us-blog-post-text h3:first-child{margin-top:.3rem}
.us-blog-post-text>p{margin:0 0 1.05rem}
.us-blog-post-text strong{color:#2c333c;font-weight:700}
.us-blog-post-text>ul{list-style:none;margin:0 0 1.3rem;padding:0}
.us-blog-post-text>ul>li{position:relative;padding-left:1.6rem;margin:0 0 .6rem;line-height:1.65}
.us-blog-post-text>ul>li::before{content:"";position:absolute;left:.25rem;top:.62em;width:7px;height:7px;background:#ED1422;border-radius:50%}
@media(max-width:600px){.us-blog-post-text{font-size:1rem;line-height:1.72}.us-blog-post-text h2{font-size:1.3rem}.us-blog-post-text h3{font-size:1.2rem}}
/* FIX: body typography must NOT leak into FAQ accordion (.faq-item/.faq-block) */
.us-blog-post-text .faq-item>h3,.us-category-description-text .faq-item>h3{margin:0;padding:1.05rem 3.2rem 1.05rem 1.35rem;border:0;font-size:1.06rem;font-weight:600;line-height:1.4;color:#353E48}
.us-blog-post-text .faq-block>h2,.us-category-description-text .faq-block>h2{margin:0 0 1rem;padding:0;border:0;font-size:1.6rem;font-weight:700;line-height:1.25;color:#353E48}
/* article body fills its column (col-md-9) - balance with sidebar */
.us-blog-post-text>h2,.us-blog-post-text>h3,.us-blog-post-text>p,.us-blog-post-text>ul,.us-blog-post-text>ol{max-width:none}

/* ============================================================
   IMPEX - info pages (about / delivery / returns / terms / privacy).
   Container: .us-content-inform:not(:has(.lp-hero)) (theme renders {{ description }} here).
   Centered readable measure (no sidebar) + section headings + red bullets.
   Mirrors category/blog typography; FAQ accordion leak neutralized.
   Appended to theme faq-block.css -> bump ?v in footer.twig (4 copies) -> clear cache.
   ============================================================ */
.us-content-inform:not(:has(.lp-hero)){font-size:1.04rem;line-height:1.75;color:#3a4048}
.us-content-inform:not(:has(.lp-hero))>*{max-width:900px;margin-left:auto;margin-right:auto}
.us-content-inform:not(:has(.lp-hero)) h1{margin:.2rem auto 1.4rem;font-size:1.95rem;line-height:1.2;color:#2c333c;font-weight:700}
.us-content-inform:not(:has(.lp-hero)) h2{font-size:1.5rem;line-height:1.25;color:#2c333c;font-weight:700;margin:2.2rem auto .9rem;padding-bottom:.5rem;border-bottom:1px solid #e7e9ee}
.us-content-inform:not(:has(.lp-hero)) h2:first-of-type{margin-top:.6rem}
.us-content-inform:not(:has(.lp-hero)) h3{font-size:1.22rem;color:#2c333c;font-weight:700;margin:1.5rem auto .55rem}
.us-content-inform:not(:has(.lp-hero)) h4{font-size:1.08rem;color:#2c333c;font-weight:700;margin:1.3rem auto .5rem}
.us-content-inform:not(:has(.lp-hero)) p{margin:0 0 1.05rem}
.us-content-inform:not(:has(.lp-hero)) strong{color:#2c333c;font-weight:700}
.us-content-inform:not(:has(.lp-hero)) ul{list-style:none;margin:0 auto 1.3rem;padding:0;max-width:900px}
.us-content-inform:not(:has(.lp-hero)) ul li{position:relative;padding-left:1.6rem;margin:0 0 .55rem;line-height:1.65}
.us-content-inform:not(:has(.lp-hero)) ul li::before{content:"";position:absolute;left:.3rem;top:.62em;width:7px;height:7px;background:#ED1422;border-radius:50%}
.us-content-inform:not(:has(.lp-hero)) ul ul{margin:.5rem 0 .6rem}
.us-content-inform:not(:has(.lp-hero)) li>p{margin:0}
.us-content-inform:not(:has(.lp-hero)) a{color:#ED1422}
.us-content-inform:not(:has(.lp-hero)) a:hover{text-decoration:underline}
@media(max-width:600px){.us-content-inform:not(:has(.lp-hero)){font-size:1rem;line-height:1.7}.us-content-inform:not(:has(.lp-hero)) h1{font-size:1.5rem}.us-content-inform:not(:has(.lp-hero)) h2{font-size:1.3rem}}
/* FAQ accordion override on info pages (typography must not leak into .faq-item) */
.us-content-inform:not(:has(.lp-hero)) .faq-item>h3{margin:0;padding:1.05rem 3.2rem 1.05rem 1.35rem;border:0;font-size:1.06rem;font-weight:600;line-height:1.4;color:#353E48}
.us-content-inform:not(:has(.lp-hero)) .faq-block>h2{margin:0 0 1rem;padding:0;border:0;font-size:1.6rem;font-weight:700;line-height:1.25;color:#353E48}
.us-content-inform:not(:has(.lp-hero)) .faq-block{max-width:900px;margin-left:auto;margin-right:auto}

/* ============================================================
   ARTICLE body (round 2): breathing room + image spacing/centering.
   Text fills col-md-9 but no longer hugs the right edge; images get
   vertical rhythm, are centered and capped to the column width.
   ============================================================ */
.us-blog-post-text{padding-right:1.75rem}
.us-blog-post-text img{display:block;height:auto;max-width:100%;margin:1.6rem auto;border-radius:6px}
@media(max-width:768px){.us-blog-post-text{padding-right:0}}
