/* Раздел «Здоровье» v2: витрина с цветными подставками */
.shelf { max-width: 1200px; margin: 0 auto; padding: 56px 24px 72px; }
.shelf h1 { font-size: 46px; font-weight: 800; letter-spacing: -1.2px; line-height: 1.05; color: var(--text-main); margin-bottom: 14px; }
.shelf-note { max-width: 560px; font-size: 15px; line-height: 1.6; color: var(--text-muted); margin-bottom: 34px; }
.tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 30px; padding-bottom: 18px; border-bottom: 1px solid var(--border-color); }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tab { padding: 9px 16px; border: 0; border-radius: 10px; background: transparent; font: inherit; font-size: 15px; font-weight: 600; color: var(--text-muted); cursor: pointer; }
.tab span { margin-left: 5px; font-weight: 500; opacity: .7; }
.tab:hover { background: #eef4f8; color: var(--text-main); }
.tab.is-active { background: var(--text-main); color: #fff; }
.find { width: 250px; max-width: 100%; padding: 10px 16px; border: 1px solid var(--border-color); border-radius: 10px; font: inherit; font-size: 15px; background: #fff; }
.find:focus { outline: none; border-color: var(--accent-blue); box-shadow: 0 0 0 3px rgba(0,181,239,.15); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.item { display: flex; flex-direction: column; padding: 10px 10px 22px; background: #fff; border: 1px solid var(--border-color); border-radius: 22px; }
.item[hidden] { display: none; }
.item.is-featured { grid-column: span 2; flex-direction: row; gap: 8px; padding: 10px; }
.stage { position: relative; display: flex; align-items: center; justify-content: center; height: 210px; margin: 0; padding: 0; border: 0; border-radius: 16px; background: var(--tone); overflow: hidden; }
.item.is-featured .stage { flex: 0 0 55%; height: auto; min-height: 0; aspect-ratio: 3 / 2; }
.stage::before { content: ""; position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.65); }
.stage img { position: relative; max-width: 78%; max-height: 82%; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(31,45,61,.22)); }
.stage .glyph { position: relative; font-size: 68px; line-height: 1; }
button.stage { cursor: zoom-in; width: 100%; }
.body { display: flex; flex-direction: column; flex: 1; padding: 18px 14px 0; }
.item.is-featured .body { justify-content: center; padding: 22px 26px; }
.kind { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--text-muted); }
.kind i { width: 9px; height: 9px; border-radius: 50%; background: var(--dot); }
.item h3 { font-size: 20px; line-height: 1.25; margin-bottom: 8px; color: var(--text-main); }
.item.is-featured h3 { font-size: 30px; letter-spacing: -.6px; }
.item p.short { flex: 1; margin-bottom: 18px; font-size: 15px; line-height: 1.55; color: var(--text-muted); }
.row { display: flex; flex-wrap: wrap; gap: 10px; }
.more { padding: 10px 18px; border: 1.5px solid var(--text-main); border-radius: 10px; background: transparent; font: inherit; font-size: 14px; font-weight: 700; color: var(--text-main); cursor: pointer; }
.more:hover, .more:focus-visible { background: var(--text-main); color: #fff; }
.more.solid { background: var(--accent-blue); border-color: var(--accent-blue); color: #fff; }
.more.solid:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.nothing { padding: 48px 0; text-align: center; color: var(--text-muted); }
.nothing[hidden] { display: none; }

.t0 { --tone: #e4f4fc; --dot: #00a6dc; } .t1 { --tone: #def5f1; --dot: #17a58f; }
.t2 { --tone: #fff1d9; --dot: #f0a020; } .t3 { --tone: #e6f5e1; --dot: #5aa83c; }
.t4 { --tone: #ece8fa; --dot: #7a63d1; } .t5 { --tone: #fde7ee; --dot: #e0527a; }

/* Окно «Подробнее» */
.sheet { display: grid; grid-template-columns: 220px 1fr; gap: 26px; align-items: start; }
.sheet .stage { height: 220px; }
.sheet h2 { font-size: 26px; letter-spacing: -.5px; padding-right: 36px; margin-bottom: 14px; }
.facts { display: grid; grid-template-columns: 130px 1fr; gap: 10px 14px; margin-bottom: 16px; font-size: 15px; line-height: 1.55; }
.facts dt { font-weight: 700; color: var(--text-main); } .facts dd { margin: 0; color: var(--text-muted); }
.fine { padding: 12px 14px; margin-bottom: 14px; background: #f3f7fa; border-radius: 10px; font-size: 13px; color: var(--text-muted); }

@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) {
  .shelf { padding: 36px 16px 56px; } .shelf h1 { font-size: 34px; }
  .grid { grid-template-columns: 1fr; }
  .item.is-featured { grid-column: auto; flex-direction: column; }
  .item.is-featured .stage { flex: none; width: 100%; min-height: 0; } .item.is-featured h3 { font-size: 24px; }
  .item.is-featured .body { padding: 18px 14px 12px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; width: 100%; } .tab { white-space: nowrap; } .find { width: 100%; }
  .sheet { grid-template-columns: 1fr; } .facts { grid-template-columns: 1fr; gap: 2px; } .facts dd { margin-bottom: 10px; }
}

/* Карточка «в разработке» */
.item.is-soon { border-style: dashed; background: #fafbfc; }
.item.is-soon .stage { border: 1.5px dashed rgba(31,45,61,.18); }
.item.is-soon .glyph { opacity: .55; }
.item.is-soon h3 { color: var(--text-muted); }
.wip { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 7px 14px; border-radius: 999px; background: #fff4d6; color: #8a6100; font-size: 13px; font-weight: 700; }
.wip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #f0a020; }

/* Широкое фото (не флакон на белом): занимает всю подложку без рамок и теней */
.stage.is-photo::before { display: none; }
.stage.is-photo img { width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: cover; filter: none; }

/* Окно «Подробнее»: шире (+5 см с каждой стороны), фото слева вертикальной лентой */
.article-modal-wrapper.wide { max-width: 1080px; }
.sheet { grid-template-columns: auto 1fr; gap: 34px; }
.sheet-media { display: flex; align-items: flex-start; gap: 14px; position: sticky; top: 30px; }
.sheet .stage { flex: none; width: 230px; height: 230px; }
.gallery { display: flex; flex-direction: column; gap: 10px; flex: none; width: 92px; }
.gallery:empty { display: none; }
.thumb { flex: none; width: 92px; height: 92px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: #f3f7fa; cursor: zoom-in; }
.thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.facts { grid-template-columns: 170px 1fr; }
@media (max-width: 860px) {
  .sheet { grid-template-columns: 1fr; gap: 20px; }
  .sheet-media { position: static; flex-direction: column-reverse; width: 100%; }
  .sheet .stage { width: 100%; height: 240px; }
  .gallery { flex-direction: row; width: 100%; overflow-x: auto; }
}
@media (max-width: 620px) { .facts { grid-template-columns: 1fr; } }
.sheet > *, .sheet-media, .gallery { min-width: 0; }
.article-modal-close { z-index: 3; }
.item.is-soon .stage.is-photo { border: 0; }
