/* Ecotag — сторінки (Р10): інформаційні, розділи-плитки, «Контакти», блог і статті, «Бренди», 404.
   Лад — Хорошопа (еталон Р6: page-, hub-, contacts-, blog-, article-, brands-, 404-desktop): ліворуч меню сторінок,
   праворуч крихти, заголовок і вміст на всю ширину; на телефоні меню немає. Тексти — Хорошопа як є; його стилі
   плиток (client.css) і «Про компанію» (<style> у тексті) — тут. Крихти — ecotag.css. */

/* ── Дві колонки: меню ліворуч, вміст праворуч ── */
.info-page{ padding-bottom:56px }
.info{ display:grid; grid-template-columns:240px minmax(0,1fr); gap:30px; align-items:start }
.info-main{ min-width:0 }
.info-main > .crumbs, .info-brands > .crumbs{ padding-top:20px }
/* последняя ступень — в одну строку (длинные названия статей), как на товаре */
.info-page .crumbs-here{ min-width:0; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap }
.info-h1{ margin:6px 0 20px; font-size:clamp(24px,2.6vw,32px); font-weight:500; line-height:1.2; color:var(--ink); text-wrap:balance }
.info-h2{ margin:0; font-size:18px; font-weight:600; line-height:1.3; color:var(--ink) }

/* Меню сторінок (Хорошоп .sideMenu): пункт — рядок 17 px, поточний — бежева підкладка; підпункти розділу — 15 px */
.info-aside{ position:sticky; top:calc(var(--hd-stick) + 20px); padding-top:24px }
/* Меню ліворуч — усі сторінки чотирма групами (рішення власника 04.12.2026) */
.info-menu ul{ display:grid; gap:2px; margin:0; padding:0; list-style:none }
.info-menu-h{ margin:18px 0 4px; font-size:12px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:var(--muted) }
.info-menu-h:first-child{ margin-top:0 }
.info-menu a, .info-menu span{ display:inline-block; padding:4px 6px; margin-left:-6px; border-radius:4px; font-size:17px; line-height:1.4; color:var(--body);
  transition:color var(--t-fast) var(--ease) }
.info-menu a:hover{ color:var(--link-hover) }
.info-menu .is-here{ background:var(--beige); color:var(--ink) }

/* ── Текст Хорошопа (.text): ті ж прийоми, що в описі товару (product.css .desc) ── */
.info-text{ min-width:0; font-size:14px; line-height:1.6; color:var(--body); overflow-wrap:anywhere }
.info-text :where(p, ul, ol, h2, h3, h4, table, blockquote){ margin:0 0 10px }
.info-text :where(p, li){ text-wrap:pretty }
.info-text h2{ margin-top:20px; font-size:21px; font-weight:700; line-height:1.3; color:var(--ink) }
.info-text h3, .info-text h4{ margin-top:16px; font-size:16px; font-weight:700; line-height:1.4; color:var(--ink) }
.info-text > :first-child, .info-text > :first-child > :first-child{ margin-top:0 }
.info-text strong, .info-text b{ font-weight:700; color:var(--ink) }
.info-text a{ color:var(--accent); text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px }
.info-text a:hover{ color:var(--link-hover) }
.info-text hr{ border:0; border-top:1px solid var(--line-strong) }
/* Списки — тире, як у Хорошопа («— У найближчому відділенні…»); нумеровані — цифрами */
.info-text ul{ padding:0; list-style:none }
.info-text ul > li{ position:relative; margin-bottom:8px; padding-left:24px }
.info-text ul > li::before{ content:"—"; position:absolute; left:0; top:0; color:var(--ink) }
.info-text ol{ padding-left:24px }
.info-text ol > li{ margin-bottom:8px }
.info-text li > p{ margin:0 }
.info-text img{ max-width:100%; height:auto }
.info-text table{ width:100%; border-collapse:collapse }
.info-text :is(th, td){ padding:8px 10px; border:1px solid var(--line-strong); text-align:left; vertical-align:top }
.info-text address{ font-style:normal }

/* ── Розділ-плитки (Хорошоп client.css: .cs-info-blocks) — уся плитка посиланням ── */
.info-text .cs-info-blocks{ display:flex; flex-direction:column; gap:15px; margin:0 }
.info-text .cs-info-card{ position:relative; display:flex; align-items:center; padding:15px 20px; border-radius:8px; background:#fff;
  box-shadow:0 2px 6px rgba(0,0,0,.08); font-size:18px; color:#3B3B3B; transition:transform .2s ease, box-shadow .2s ease }
.info-text .cs-info-card:hover{ transform:translateY(-2px); box-shadow:0 4px 10px rgba(0,0,0,.12) }
.info-text .cs-info-card:focus-within{ outline:2px solid var(--accent); outline-offset:2px }
.info-text .cs-icon{ flex:none; display:flex; align-items:center; justify-content:center; width:40px; height:40px; margin-right:15px; border-radius:50%; font-size:20px; color:#fff }
.info-text .cs-blue{ background:#4DA6FF } .info-text .cs-green{ background:#2E7D32 } .info-text .cs-purple{ background:#9C27B0 }
.info-text .cs-teal{ background:#009688 } .info-text .cs-cyan{ background:#00BCD4 } .info-text .cs-lime{ background:#CDDC39 }
.info-text .cs-olive{ background:#6B8E23 } .info-text .cs-emerald{ background:#2ECC71 } .info-text .cs-mint{ background:#3EB489 }
.info-text .cs-arrow{ margin-left:10px; font-weight:700 }
.info-text .cs-hidden-link{ position:absolute; inset:0; overflow:hidden; border-radius:8px; color:transparent; font-size:0; text-decoration:none }
.info-text .cs-hidden-link:focus-visible{ outline:none }

/* ── «Про компанію» — стилі з тексту Хорошопа (<style> на сторінці) ── */
.info-text .centered-block{ max-width:1200px; margin:0 auto 40px; padding:0 15px; text-align:center }
.info-text :is(.mission, .history, .values, .reasons) h2{ margin:40px 0 20px }
.info-text .about-intro{ display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:20px }
.info-text .about-content{ max-width:500px; margin:0 auto; text-align:center }
.info-text .about-image img{ display:block; max-width:450px; width:100%; height:auto; margin:0 auto }
.info-text .values ul{ max-width:600px; margin:0 auto; text-align:left }
.info-text .stats{ display:flex; flex-wrap:wrap; justify-content:center; gap:20px; max-width:none; margin-top:40px; padding:40px 20px; border-radius:5px; background:#F5F4F2 }
.info-text .stat{ flex:1 1 200px; text-align:center }
.info-text :is(.stats h3, .stat p, .reason .icon-text, .reason p){ margin:10px 0 }
.info-text .reasons-container{ display:flex; flex-wrap:wrap; justify-content:center; gap:20px }
.info-text .reason{ flex:1 1 200px; padding:20px; text-align:center }
.info-text .icon-placeholder{ width:100px; height:100px; margin:0 auto 10px; border-radius:50% }
.info-text .icon-placeholder img{ display:block; width:100px; height:100px }

/* ── Контакти: ліворуч канали, праворуч адреса; нижче графік і мапа (Хорошоп .contacts-content) ── */
.ct{ display:grid; grid-template-columns:minmax(0,340px) minmax(0,1fr); gap:20px 0 }
.ct-list{ display:grid; gap:10px; margin:0; padding:0; list-style:none }
.ct-list li{ display:flex; align-items:center; gap:8px; font-size:16px }
.ct-list svg{ flex:none; width:18px; height:18px; color:var(--soft) }
.ct-list a{ color:var(--ink) }
.ct-list a:hover{ color:var(--link-hover) }
.ct-h{ margin:0 0 12px; font-size:16px; font-weight:700; color:var(--ink) }
.ct-r address{ font-size:16px; font-style:italic; color:var(--body) }
.ct-hours{ margin-top:32px }
.ct-hours h2{ margin-bottom:24px }
.ct-hours p{ margin-bottom:8px }
.ct-map{ margin-top:32px; border:1px solid var(--line); border-radius:4px; overflow:hidden }
.ct-map iframe{ display:block; width:100%; height:600px; border:0 }

/* ── Блог: картки 4 в ряд — картинка, дата, назва (Хорошоп .entries) ── */
.art-list{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:30px; margin:0; padding:0; list-style:none }
.art-card{ display:grid; align-content:start; gap:8px }
.art-card-ph{ display:block; aspect-ratio:3/2; overflow:hidden; border-radius:4px; background:var(--wash) }
.art-card-ph img{ display:block; width:100%; height:100%; object-fit:cover; transition:transform var(--t-panel) var(--ease) }
.art-card:hover .art-card-ph img{ transform:scale(1.03) }
.art-card-date{ margin:8px 0 0; font-size:11px; color:var(--muted) }
.art-card-t{ font-size:14px; line-height:1.45; color:var(--body) }
.art-card-t:hover{ color:var(--link-hover) }

/* ── Стаття: дата, обкладинка, текст, «Поширити», «Ми рекомендуємо»; нижче на всю ширину — «Інші записи» ── */
.info-article .info-h1{ margin-bottom:8px }
.art-date{ margin:0 0 20px; font-size:12px; color:var(--muted) }
.art-cover{ display:block; width:100%; height:auto; aspect-ratio:3/1; margin-bottom:24px; border-radius:4px; object-fit:cover }
.art-share{ display:flex; flex-wrap:wrap; gap:8px; margin:24px 0 0; padding:0; list-style:none }
.art-share a{ display:inline-flex; align-items:center; gap:6px; min-height:30px; padding:4px 10px; border-radius:4px; background:var(--wash);
  font-size:12px; color:var(--body); transition:background-color var(--t-fast) var(--ease) }
.art-share a:hover{ background:var(--line) }
.art-share-facebook svg{ color:#1877F2 } .art-share-x svg{ color:#000 } .art-share-whatsapp svg{ color:#25D366 }
.art-rec{ margin-top:48px }
.art-rec .also-h{ display:flex; align-items:center; justify-content:space-between; gap:var(--s-4); margin-bottom:var(--s-4); padding-bottom:12px; border-bottom:1px solid var(--line) }
.art-rec .rail{ grid-auto-columns:calc((100% - 4 * 24px) / 5) }
.art-others{ margin-top:56px; padding-top:32px; border-top:1px solid var(--line) }
.art-others .info-h2{ margin-bottom:20px }
.art-others .info-h2 a{ color:var(--ink) }
.art-others .info-h2 a:hover{ color:var(--link-hover) }
.art-list-4{ grid-template-columns:repeat(5, minmax(0,1fr)) }

/* ── Бренди: логотипи 4 в ряд з назвою (Хорошоп .catalogCard.__brand) ── */
.brand-grid{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:24px; margin:0; padding:0 0 24px; list-style:none }
.brand-grid a{ display:grid; justify-items:center; gap:16px; padding:24px 16px; border-radius:var(--r); color:var(--body); transition:box-shadow var(--t-fast) var(--ease) }
.brand-grid a:hover{ box-shadow:0 2px 12px rgba(0,0,0,.08); color:var(--link-hover) }
.brand-logo{ display:grid; place-items:center; width:100%; height:240px }
.brand-logo img{ max-width:min(180px, 100%); height:auto }
.brand-name{ font-size:16px }

/* ── 404 (Хорошоп .error-page): заголовок з «Помилка 404», пояснення, пошук, розділи каталогу деревом ── */
.nf404{ max-width:620px; margin:0 auto; padding:56px 0 80px }
.nf404-h1{ display:flex; flex-wrap:wrap; align-items:flex-start; gap:4px 12px; margin:0 0 16px; font-size:clamp(28px,3vw,32px); font-weight:400; line-height:1.2; color:var(--ink) }
.nf404-h1 sup{ font-size:20px; line-height:1; color:var(--muted); top:0 }
.nf404-text{ margin:0 0 24px; font-size:14px; line-height:1.6; color:var(--body) }
.nf404-text a{ color:var(--accent) }
.nf404-text a:hover{ color:var(--link-hover) }
.nf404-search{ display:flex; align-items:center; height:40px; margin-bottom:32px; border:1px solid var(--line-strong); background:#fff }
.nf404-search input{ flex:1; min-width:0; height:100%; padding:0 12px; border:0; outline:0; background:transparent; font:400 14px var(--font); color:var(--ink) }
.nf404-search input::placeholder{ color:#A3A3AD }
.nf404-search button{ display:grid; place-items:center; width:40px; height:100%; padding:0; border:0; background:none; color:var(--muted); cursor:pointer }
.nf404-search button svg{ width:18px; height:18px }
.nf404-search:focus-within{ border-color:var(--accent) }
.nf404-cats{ columns:3 180px; column-gap:24px; margin:0; padding:0; list-style:none }
.nf404-cats > li{ break-inside:avoid; margin-bottom:20px }
.nf404-cats a{ display:inline-block; padding:2px 0; font-size:13px; line-height:1.35; color:var(--accent) }
.nf404-cats > li > a{ font-size:14px; font-weight:700 }
.nf404-cats a:hover{ color:var(--link-hover) }
.nf404-cats ul{ margin:2px 0 0; padding:0; list-style:none }

/* ── Порожній кошик (woocommerce/cart/cart-empty.php): пояснення ліворуч, розділи каталогу з числом праворуч ── */
.nf{ display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:64px; align-items:start; max-width:1040px; margin:0 auto; padding:56px 0 80px }
.nf-say{ display:grid; justify-items:start; gap:var(--s-5); max-width:560px }
.nf-text{ font-size:16px; line-height:1.6; color:var(--soft); text-wrap:pretty }
.nf-label{ margin-bottom:var(--s-3); font-size:13px; font-weight:500; letter-spacing:.08em; text-transform:uppercase; color:var(--muted) }
.nf-links{ display:grid }
.nf-links a{ display:grid; grid-template-columns:minmax(0,1fr) auto auto; align-items:center; gap:var(--s-3); min-height:52px;
  border-top:1px solid var(--line); font-size:15px; color:var(--ink); transition:color var(--t-fast) var(--ease) }
.nf-links a:last-child{ border-bottom:1px solid var(--line) }
.nf-links .n{ font-size:13px; color:var(--muted); font-variant-numeric:tabular-nums }
.nf-links .arw{ color:var(--line-strong); transition:transform var(--t-fast) var(--ease), color var(--t-fast) var(--ease) }
.nf-links a:hover{ color:var(--accent) }
.nf-links a:hover .arw{ transform:translateX(4px); color:var(--accent) }
@media (max-width:979px){
  .nf{ grid-template-columns:minmax(0,1fr); gap:48px; padding:32px 0 56px }
  .nf-nav{ max-width:520px }
}

/* ── Адаптив ── */
@media (max-width:1279px){
  .art-rec .rail{ grid-auto-columns:calc((100% - 3 * 24px) / 4) }
  .art-list-4{ grid-template-columns:repeat(4, minmax(0,1fr)) }
}
@media (max-width:1023px){
  /* Як у Хорошопа на телефоні: меню сторінок немає — крихти, заголовок, вміст */
  .info{ display:block }
  .info-aside{ display:none }
  .art-list, .art-list-4{ grid-template-columns:repeat(3, minmax(0,1fr)); gap:24px }
  .art-rec .rail{ grid-auto-columns:calc((100% - 2 * 16px) / 3); gap:16px }
  .brand-grid{ grid-template-columns:repeat(3, minmax(0,1fr)) }
  .brand-logo{ height:160px }
}
@media (max-width:767px){
  .info-h1{ margin-bottom:16px }
  .info-text h2{ font-size:19px }
  .info-text [style*="margin-left"]{ margin-left:16px !important } /* відступи Хорошопа 40 px — на телефоні менші */
  .info-text [style*="white-space: nowrap"]{ white-space:normal !important }
  .info-text .cs-info-card{ font-size:16px }
  .ct{ grid-template-columns:minmax(0,1fr) }
  .ct-map iframe{ height:360px }
  .art-list, .art-list-4{ grid-template-columns:repeat(2, minmax(0,1fr)); gap:20px 16px }
  .art-rec .rail{ grid-auto-columns:calc((100% - 16px) / 2) }
  .brand-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); gap:12px }
  .brand-logo{ height:120px }
  .nf404{ padding:32px 0 48px }
  .nf404-cats{ columns:2 140px }
}

/* ── «Клуб Ecotag» (Р11) — своя страница: лід, кнопка, таблиця знижки, переходи ── */
.info-text .lead{ font-size:17px; line-height:1.6; color:var(--soft) }
.info-text .club-join{ margin:20px 0 24px }
.info-text a.btn{ text-decoration:none }
.info-text a.btn-buy, .info-text a.btn-buy:hover{ color:#fff }
.info-text .info-table{ overflow-x:auto }
.info-text .club-tiers table{ max-width:640px }
.info-text .club-tiers :is(th, td){ border:0; border-bottom:1px solid var(--line); padding:14px 16px 14px 0; vertical-align:baseline }
.info-text .club-tiers th{ font-size:12px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--muted) }
.info-text .club-tiers .tier-cond{ font-size:15px; color:var(--ink) }
.info-text .club-tiers .tier-off b{ display:block; font-size:28px; font-weight:700; line-height:1; color:var(--hot) }
.info-text .club-tiers .tier-off span{ display:block; margin-top:4px; font-size:13px; color:var(--muted) }
.info-text .club-go{ display:flex; flex-wrap:wrap; gap:8px 24px }
.info-text .club-go a{ text-decoration:none; font-weight:500 }
.info-text .club-go a:hover{ text-decoration:underline }
