/* Хабы: препараты (/preparaty/), указатель препаратов, хаб города (/gorod/<город>/). 14.10.2026.
   Тема задаёт a{font-size:2.2rem} и body{font-size:12px}, поэтому размеры внутри .hub заданы явно. */
.hub{color:#183c34;font-size:16px;line-height:1.55;width:100%;min-width:0;max-width:100%}
.hub *{box-sizing:border-box}
.hub a{font-size:inherit;color:#138a72;text-decoration:none}
.hub a:hover{text-decoration:underline}
.hub h1,.hub h2,.hub h3{color:#183c34;font-family:inherit;padding:0}
.hub h2{font-size:26px;line-height:1.25;margin:0 0 6px;font-weight:600}
.hub h3{font-size:17px;line-height:1.35;margin:0;font-weight:600}
.hub p{margin:0}
.hub [hidden]{display:none!important}
.hub-crumbs{display:flex;flex-wrap:wrap;gap:6px;font-size:14px;color:#5d7268;margin:4px 0 16px}
.hub-crumbs a{color:#3b7760}
.hub-crumbs span[aria-hidden]{color:#a5b6ad}

/* Первый экран */
.hub-hero{position:relative;overflow:hidden;border-radius:28px;padding:34px 36px;background:linear-gradient(125deg,#e4f5e9 0%,#eef7ef 45%,#f7f2db 100%);border:1px solid #dbe8da;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;align-items:center}
.hub-hero:after{content:"";position:absolute;right:-60px;top:-60px;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,#ffffff99,#ffffff00 70%);pointer-events:none}
.hub-kicker{display:inline-flex;gap:8px;align-items:center;font-size:12px;letter-spacing:.08em;text-transform:uppercase;font-weight:700;color:#3b7760;margin:0 0 10px}
.hub-kicker i{width:8px;height:8px;border-radius:50%;background:#25bfa0;display:inline-block;box-shadow:0 0 0 4px #25bfa033}
.hub-hero h1{font-size:clamp(28px,3.6vw,44px);line-height:1.12;margin:0 0 12px;font-weight:600;overflow-wrap:anywhere}
.hub-lead{font-size:18px;line-height:1.6;color:#33554b;max-width:720px}
.hub-hero-media{width:180px;height:180px;border-radius:24px;background:#fff;display:grid;place-items:center;box-shadow:0 18px 40px #183c3414;position:relative;z-index:1}
.hub-hero-media img{max-width:150px;max-height:150px;object-fit:contain}
.hub-price{display:flex;flex-wrap:wrap;gap:10px 22px;align-items:baseline;margin:18px 0 0}
.hub-price strong{font-size:38px;line-height:1;color:#1f6b4a;font-weight:700}
.hub-price span{font-size:15px;color:#4f665d}

/* Плитки цифр */
.hub-stats{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0 0;padding:0}
.hub-stats li{background:#ffffffc7;border:1px solid #dbe8da;border-radius:16px;padding:14px 16px;display:flex;flex-direction:column;gap:2px;min-width:0}
.hub-stats strong{font-size:24px;line-height:1.15;color:#183c34}
.hub-stats span{font-size:13px;color:#5d7268}
.hub-stats a{color:inherit}

/* Быстрые ссылки и фильтры */
.hub-chips{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 0}
.hub-chips a,.hub-chips button{font:inherit;font-size:14px;padding:8px 14px;border-radius:30px;border:1px solid #cfe0d6;background:#fff;color:#183c34;cursor:pointer;text-decoration:none;display:inline-flex;gap:6px;align-items:center;white-space:nowrap}
.hub-chips a:hover,.hub-chips button:hover{border-color:#25bfa0;text-decoration:none}
.hub-chips [aria-pressed=true],.hub-chips [aria-current]{background:#1f6b4a;border-color:#1f6b4a;color:#fff}
.hub-chips em{font-style:normal;font-size:12px;opacity:.75}

/* Секции */
.hub-section{margin:38px 0 0}
.hub-section-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-end;flex-wrap:wrap;margin:0 0 14px}
.hub-note{font-size:14px;color:#5d7268;max-width:760px}
.hub-search{display:flex;flex-direction:column;gap:6px;font-size:14px;color:#4f665d;min-width:260px}
.hub-search input{padding:11px 14px;border:1px solid #cddccd;border-radius:12px;font:inherit;font-size:16px;background:#fff;width:100%}
.hub-status{font-size:14px;color:#5d7268;min-height:1px;margin:6px 0 0}

/* Таблица вариантов */
.hub-table-wrap{border:1px solid #e0e7e0;border-radius:18px;background:#fff;overflow:hidden}
.hub-table{width:100%;border-collapse:collapse;font-size:15px}
.hub-table th,.hub-table td{padding:12px 14px;border-top:1px solid #edf0eb;text-align:left;vertical-align:middle}
.hub-table thead th{white-space:nowrap;border-top:0;font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:#5d7268;font-weight:600;background:#f7faf5}
.hub-table tbody th{font-weight:400;min-width:0}
.hub-table td{white-space:nowrap}
.hub-table .hub-group-row th{background:#f2f7f1;font-weight:700;font-size:14px;color:#3b7760;letter-spacing:.02em}
.hub-table .hub-num{text-align:right}
.hub-table .hub-strong{font-weight:700;color:#1f6b4a}
.hub-tag{display:inline-block;font-size:11px;font-weight:700;padding:2px 8px;border-radius:8px;background:#e1f2e6;color:#226b45;margin-left:6px;vertical-align:middle;white-space:nowrap}
.hub-tag--warm{background:#fdf1dc;color:#8a5a10}
.hub-sub{display:block;font-size:13px;color:#5d7268;margin-top:2px}

/* Карточки */
.hub-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.hub-card{background:#fff;border:1px solid #e0e7e0;border-radius:18px;padding:16px 18px;display:flex;flex-direction:column;gap:8px;min-width:0;transition:border-color .2s,box-shadow .2s}
.hub-card:hover{border-color:#a7ccb5;box-shadow:0 10px 26px #183c340d}
.hub-card h3 a{color:#183c34}
.hub-card-meta{font-size:13px;color:#5d7268}
.hub-card-price{font-size:18px;font-weight:700;color:#1f6b4a;margin-top:auto}
.hub-card-price span{font-size:13px;font-weight:400;color:#5d7268}
.hub-card-top{display:flex;gap:12px;align-items:center}
.hub-logo{width:56px;height:56px;border-radius:14px;background:#fff;border:1px solid #edf0eb;object-fit:contain;flex:0 0 56px}
.hub-mark{width:56px;height:56px;border-radius:14px;background:#eaf5ec;color:#29764f;display:grid;place-items:center;font-size:24px;font-weight:700;flex:0 0 56px}
.hub-badges{display:flex;flex-wrap:wrap;gap:6px}
.hub-card-links{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:14px;font-weight:600;border-top:1px solid #edf0eb;padding-top:10px;margin-top:auto}

/* Выгода фасовок */
.hub-deals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.hub-deal{border-radius:18px;padding:16px 18px;background:linear-gradient(135deg,#f2f7f1,#fbf8ec);border:1px solid #e3eadb}
.hub-deal strong{display:block;font-size:17px;margin:0 0 4px}
.hub-deal p{font-size:15px;color:#33554b}
.hub-deal b{color:#1f6b4a}

/* Плитки-ссылки */
.hub-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px}
.hub-tile{display:flex;flex-direction:column;gap:3px;padding:14px 16px;border:1px solid #dbe8da;border-radius:16px;background:#fff;color:#183c34!important;min-width:0}
.hub-tile:hover{border-color:#25bfa0;text-decoration:none!important}
.hub-tile strong{font-size:15px;line-height:1.35;overflow-wrap:anywhere}
.hub-tile span{font-size:13px;color:#5d7268}

/* Текст, FAQ, оговорка */
.hub-prose p{font-size:16px;line-height:1.7;margin:0 0 12px;max-width:820px}
.hub-faq details{border-bottom:1px solid #e3eadb;padding:14px 0}
.hub-faq summary{cursor:pointer;font-weight:600;font-size:17px;list-style:none;display:flex;justify-content:space-between;gap:12px}
.hub-faq summary::-webkit-details-marker{display:none}
.hub-faq summary:after{content:"+";font-weight:400;color:#3b7760;font-size:22px;line-height:1}
.hub-faq details[open] summary:after{content:"–"}
.hub-faq p{margin:10px 0 0;font-size:16px;line-height:1.65;max-width:820px}
.hub-note-box{margin:34px 0 8px;padding:18px 22px;border-radius:18px;background:#f2f5ef;font-size:14px;line-height:1.7;color:#607166}
.hub-az{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 16px}
.hub-az a{display:inline-grid;place-items:center;min-width:34px;height:34px;border-radius:10px;border:1px solid #dbe8da;background:#fff;font-weight:700;color:#183c34}
.hub-letter{font-size:22px;font-weight:700;color:#3b7760;margin:26px 0 10px;scroll-margin-top:90px}
.hub-columns{columns:3;column-gap:28px;padding:0;margin:0;list-style:none}
.hub-columns li{break-inside:avoid;margin:0 0 8px;font-size:15px}
.hub-columns span{color:#5d7268;font-size:13px}

@media(max-width:900px){.hub-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-columns{columns:2}.hub-hero{grid-template-columns:minmax(0,1fr)}.hub-hero>div{min-width:0}.hub-hero-media{display:none}}
@media(max-width:600px){.hub-hero{padding:24px 20px;border-radius:22px}.hub-lead{font-size:16px}.hub-price strong{font-size:32px}.hub h2{font-size:22px}.hub-cards,.hub-deals{grid-template-columns:1fr}.hub-columns{columns:1}.hub-table{font-size:14px}.hub-table th,.hub-table td{padding:10px}.hub-table .hub-hide-sm{display:none}.hub-chips{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px}.hub-search{min-width:0;width:100%}}

/* Хаб города */
.hub-subhead{font-size:19px!important;margin:26px 0 12px!important}
.hub-24 .c24b{margin:0}
.hub-prose .network__wrapper--text{padding:0;margin:0;background:none}
.hub-card-links a{white-space:nowrap}
