:root {
  --bg: #f4f0e8;
  --bg-2: #eee6d9;
  --card: #faf7f0;
  --sand: #e8dfd0;
  --line: #e2d9c8;
  --ink: #2a2420;
  --muted: #6b6259;
  --gold: #e6c9a0;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0; }
em { font-style: italic; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

.eyebrow { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin: 0 0 20px; }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 30px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: var(--bg); font: 500 14px var(--sans); text-decoration: none; cursor: pointer; transition: transform .15s, background .2s, color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--bg); }
.btn.light { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.btn.sm { padding: 11px 22px; font-size: 13px; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid #b9894e; outline-offset: 2px; }

/* шапка */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(244, 240, 232, .92); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-family: var(--serif); letter-spacing: .24em; text-transform: uppercase; font-size: 15px; text-decoration: none; }
.site-head nav { display: flex; gap: 28px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.site-head nav a { text-decoration: none; color: var(--muted); }
.site-head nav a:hover { color: var(--ink); }

/* hero */
.hero { padding: 72px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(54px, 7vw, 92px); margin-bottom: 28px; }
.hero p.lead { max-width: 440px; color: #3b342e; margin: 0 0 36px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }

.arch-wrap { width: min(330px, 100%); margin-inline: auto; text-align: center; container-type: inline-size; }
.arch { position: relative; aspect-ratio: 3/4.1; border-radius: 50cqw 50cqw 8px 8px; background: var(--sand); padding: 12px; border: 1px solid var(--line); }
.arch-inner { position: relative; height: 100%; border-radius: calc(50cqw - 12px) calc(50cqw - 12px) 4px 4px; overflow: hidden; background: var(--sand); border: 1px solid #cfc4b0; }
.arch-inner img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 68px; height: 68px; border-radius: 50%; border: 1px solid var(--ink); background: rgba(250, 247, 240, .92); display: grid; place-items: center; cursor: pointer; transition: transform .2s; }
.play:hover { transform: scale(1.06); }
.play::before { content: ''; margin-left: 4px; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent var(--ink); }
.arch-label { position: absolute; left: 0; right: 0; bottom: 26px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.caption { margin-top: 18px; }
.caption .name { font-family: var(--serif); font-style: italic; font-size: 20px; }
.caption .role { font-size: 12px; color: var(--muted); }

/* секции */
section.block { padding: 88px 0; }
.center { text-align: center; }
.sec-title { font-size: clamp(38px, 5vw, 56px); }
.sec-sub { max-width: 460px; margin: 16px auto 0; font-size: 15px; color: #3b342e; }

/* арки-кабинеты */
.doors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.door-wrap { container-type: inline-size; display: flex; }
.door { width: 100%; display: flex; flex-direction: column; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: 50cqw 50cqw 8px 8px; padding: 12px 12px 24px; transition: transform .2s, box-shadow .2s; }
.door:hover { transform: translateY(-4px); box-shadow: 0 14px 30px -18px rgba(42, 36, 32, .35); }
.door .pic { aspect-ratio: 1/1.05; border-radius: calc(50cqw - 12px) calc(50cqw - 12px) 4px 4px; background: var(--sand); overflow: hidden; display: grid; place-items: end center; }
.door .pic img { width: 100%; height: 100%; object-fit: cover; }
.ph { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding-bottom: 16px; }
.door h3 { font-size: 26px; margin: 20px 12px 6px; }
.door p { margin: 0 12px 14px; font-size: 13px; color: var(--muted); flex: 1; }
.door .go { margin: 0 12px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }

/* тёмный блок с товарами */
.dark { background: var(--ink); color: #f4efe6; }
.dark .eyebrow { color: #cdbfa9; }
.dark .head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: 48px; }
.dark .head h2 { font-size: clamp(38px, 5vw, 56px); }
.dark .head p { max-width: 340px; margin: 0; font-size: 14px; color: var(--gold); }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product { background: #2f2823; border: 1px solid #443b34; border-radius: 10px; padding: 14px; display: flex; flex-direction: column; }
.product .pic { aspect-ratio: 1/.92; background: #3a322c; border-radius: 6px; overflow: hidden; display: grid; place-items: center; }
.product .pic img { width: 100%; height: 100%; object-fit: cover; }
.product .ph { padding: 0; color: #b9a98f; }
.product h3 { font-size: 26px; margin: 22px 0 8px; }
.product p { font-size: 13px; color: var(--gold); margin: 0 0 20px; flex: 1; }
.product .row { display: flex; align-items: center; gap: 14px; }
.price { font-size: 17px; margin-right: auto; }
.product .row a.lesson { font-size: 13px; }
.product.on-light { background: var(--card); border-color: var(--line); color: var(--ink); }
.product.on-light .pic { background: var(--sand); }
.product.on-light .ph { color: var(--muted); }
.product.on-light p { color: var(--muted); }

/* финальный блок */
.final { background: var(--bg-2); padding: 96px 0; text-align: center; }
.final h2 { font-size: clamp(44px, 6vw, 68px); margin-bottom: 20px; }
.final p { max-width: 400px; margin: 0 auto 32px; font-size: 15px; color: #3b342e; }
.site-foot { padding: 36px 0; font-size: 12px; color: var(--muted); }
.site-foot .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* внутренние страницы */
.page-head { padding: 64px 0 40px; text-align: center; }
.page-head h1 { font-size: clamp(44px, 6vw, 72px); }
.page-head p { max-width: 520px; margin: 16px auto 0; color: #3b342e; }
.crumbs { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.crumbs a { text-decoration: none; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-bottom: 72px; }
.post-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(42, 36, 32, .35); }
.post-card .pic { position: relative; aspect-ratio: 16/10; background: var(--sand); display: grid; place-items: center; }
.post-card .pic img { width: 100%; height: 100%; object-fit: cover; }
.post-card .badge { position: absolute; left: 12px; top: 12px; background: rgba(250,247,240,.94); border-radius: 999px; padding: 4px 12px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.post-card .play-mini { position: absolute; width: 46px; height: 46px; border-radius: 50%; background: rgba(250,247,240,.92); border: 1px solid var(--ink); display: grid; place-items: center; }
.post-card .play-mini::before { content: ''; margin-left: 3px; border-style: solid; border-width: 5px 0 5px 9px; border-color: transparent transparent transparent var(--ink); }
.post-card .txt { padding: 18px 20px 22px; }
.post-card h3 { font-size: 24px; margin-bottom: 6px; }
.post-card p { margin: 0; font-size: 13px; color: var(--muted); }
.empty { text-align: center; color: var(--muted); padding: 40px 0 80px; grid-column: 1/-1; }

/* заказ консультации / видеозвонка */
.order { background: var(--bg-2); padding: 72px 0; }
.order .two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.panel h3 { font-size: 30px; }
.panel p { margin: 0; font-size: 14px; color: var(--muted); }
.panel .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.panel .btn { margin-top: auto; align-self: flex-start; }
label.f { display: grid; gap: 6px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
label.f input, label.f select, label.f textarea { font: 15px var(--sans); padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); text-transform: none; letter-spacing: 0; }

/* материал */
.post { max-width: 760px; margin: 0 auto; padding: 56px 0 24px; }
.post h1 { font-size: clamp(38px, 5vw, 58px); margin-bottom: 14px; }
.post .summary { color: var(--muted); font-size: 17px; margin: 0 0 32px; }
.player { aspect-ratio: 16/9; width: 100%; border: 0; border-radius: 12px; background: #000; margin-bottom: 36px; }
.prose p { margin: 0 0 1.2em; font-size: 17px; line-height: 1.75; color: #332d28; }
.related { padding: 24px 0 72px; }
.related h2 { font-size: 38px; text-align: center; margin-bottom: 32px; }

/* модальное окно видео */
.modal { position: fixed; inset: 0; background: rgba(20, 16, 14, .86); display: none; place-items: center; z-index: 50; padding: 20px; }
.modal.open { display: grid; }
.modal .box { width: min(900px, 100%); position: relative; }
.modal .close { position: absolute; right: 0; top: -44px; background: none; border: 0; color: #fff; font-size: 32px; cursor: pointer; line-height: 1; }

@media (max-width: 960px) {
  .doors { grid-template-columns: repeat(2, 1fr); }
  .grid3, .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .hero { padding: 36px 0 56px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  section.block { padding: 56px 0; }
  .doors, .grid3, .cards, .order .two { grid-template-columns: 1fr; }
  .doors { max-width: 340px; margin-inline: auto; }
  .panel .fields { grid-template-columns: 1fr; }
  .site-head nav { gap: 16px; }
  .site-foot .wrap { flex-direction: column; }
}
.product.on-light .btn.light { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* блок теста на главной */
.quiz-band { background: var(--bg-2); padding: 88px 0; }
.quiz-band .wrap { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.quiz-band h2 { font-size: clamp(38px, 5vw, 56px); margin-bottom: 16px; }
.quiz-band p { max-width: 480px; color: #3b342e; margin: 0 0 28px; }
.quiz-band .mini-arch { width: 190px; aspect-ratio: 3/4; border-radius: 95px 95px 8px 8px; border: 1px solid #cfc4b0; background: var(--sand); padding: 10px; }
.quiz-band .mini-arch div { height: 100%; border-radius: 85px 85px 4px 4px; border: 1px solid #cfc4b0; display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 54px; color: var(--muted); }

/* страница теста */
.quiz { max-width: 820px; padding-bottom: 80px; }
.quiz .page-head h1 em { font-style: italic; }
.quiz .progress { height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; margin: 48px 0 12px; }
.quiz .progress span { display: block; height: 100%; background: var(--ink); transition: width .35s; }
.quiz .count { font-size: 13px; color: var(--muted); margin: 0 0 28px; }
.quiz .q { font-size: clamp(28px, 4vw, 40px); outline: none; margin-bottom: 10px; }
.quiz .muted-t { color: var(--muted); font-size: 15px; margin: 0; }
.quiz .opts { display: grid; gap: 10px; margin: 26px 0 30px; }
.quiz .opt { text-align: left; font: 16px var(--sans); color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px 16px 52px; cursor: pointer; position: relative; transition: border-color .15s, background .15s; }
.quiz .opt::before { content: ''; position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: 1.5px solid #a89d8d; border-radius: 50%; }
.quiz .opt.multi::before { border-radius: 5px; }
.quiz .opt:hover { border-color: var(--ink); }
.quiz .opt[aria-pressed="true"] { border-color: var(--ink); background: var(--sand); }
.quiz .opt[aria-pressed="true"]::before { background: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 3px var(--sand); }
.quiz .qnav { display: flex; justify-content: space-between; gap: 12px; }
.quiz .btn:disabled { opacity: .35; cursor: not-allowed; }
.quiz .disc { font-size: 13px; color: var(--muted); margin-top: 28px; border-top: 1px solid var(--line); padding-top: 18px; }
.quiz .disc.center { border: 0; }
.quiz .chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 18px; }
.quiz .chip { font-size: 13px; padding: 5px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.quiz .alert { background: var(--card); border-left: 4px solid var(--ink); padding: 18px 22px; border-radius: 0 12px 12px 0; margin: 8px 0 32px; font-size: 15px; }
.quiz .r-h { font-size: 36px; margin: 40px 0 20px; }
.quiz .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.quiz .col-t { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.quiz .step { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-bottom: 10px; }
.quiz .step-t { font-family: var(--serif); font-size: 22px; margin-bottom: 4px; }
.quiz .step p { margin: 0 0 4px; font-size: 14px; color: var(--muted); }
.quiz .rec { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.quiz .rec.soon { font-size: 13px; color: var(--muted); font-style: italic; justify-content: center; }
.quiz .rec-pic { width: 52px; height: 52px; border-radius: 10px; background: var(--sand); flex: none; overflow: hidden; }
.quiz .rec-pic img { width: 100%; height: 100%; object-fit: cover; }
.quiz .rec-n { flex: 1; font-size: 15px; line-height: 1.35; }
.quiz .rec-n small { display: block; color: var(--muted); font-size: 13px; }
.quiz .gads { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 4px 18px 16px; }
.quiz .actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 36px 0 8px; }
@media (max-width: 720px) {
  .quiz-band .wrap { grid-template-columns: 1fr; }
  .quiz-band .mini-arch { display: none; }
  .quiz .cols, .quiz .gads { grid-template-columns: 1fr; }
}

/* карточки товаров: ссылки, бренд, цена */
.product .pic { text-decoration: none; }
.product h3 a { text-decoration: none; }
.product h3 a:hover { text-decoration: underline; }
.product .brand { display: block; margin-top: 18px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #b9a98f; }
.product.on-light .brand { color: var(--muted); }
.product .brand + h3 { margin-top: 6px; }
.product h3 { font-size: 22px; line-height: 1.2; }
.product p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.price s { font-size: 13px; opacity: .55; margin-right: 4px; }
.product .row { flex-wrap: wrap; row-gap: 10px; }

/* магазин */
.shop { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; padding-bottom: 80px; }
.filters { position: sticky; top: 88px; display: grid; gap: 22px; }
.filters h4 { margin: 0 0 10px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.filters input[type=search], .filters input[type=number], .filters select { width: 100%; font: 14px var(--sans); padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); }
.cat-list { display: grid; gap: 2px; max-height: 340px; overflow: auto; }
.cat-list button { display: flex; justify-content: space-between; gap: 8px; text-align: left; font: 14px var(--sans); background: none; border: 0; color: var(--ink); padding: 7px 10px; border-radius: 8px; cursor: pointer; }
.cat-list button:hover { background: var(--bg-2); }
.cat-list button.on { background: var(--ink); color: var(--bg); }
.cat-list small { opacity: .6; }
.price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.check { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.shop-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.shop-top .cnt { font-size: 14px; color: var(--muted); }
.shop-top select { font: 14px var(--sans); padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.shop-grid .product p { -webkit-line-clamp: 2; }
.reset { background: none; border: 0; font: 13px var(--sans); text-decoration: underline; color: var(--muted); cursor: pointer; padding: 0; justify-self: start; }
.filters-toggle { display: none; }
.chips-on { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chips-on button { font: 13px var(--sans); background: var(--sand); border: 0; border-radius: 999px; padding: 5px 12px; cursor: pointer; }

/* страница товара */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: 48px 0 24px; align-items: start; }
.pdp-main { aspect-ratio: 1; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: grid; place-items: center; }
.pdp-main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs button { width: 72px; height: 72px; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 0; cursor: pointer; overflow: hidden; }
.thumbs button.on { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pdp h1 { font-size: clamp(32px, 4vw, 48px); margin: 6px 0 14px; }
.pdp .brand { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.pdp .pprice { font-size: 28px; margin: 18px 0; }
.pdp .pprice s { font-size: 18px; opacity: .5; margin-right: 8px; }
.pdp .meta { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.pdp .stock { display: inline-block; font-size: 13px; padding: 3px 12px; border-radius: 999px; background: #e3eddf; margin-bottom: 8px; }
.pdp .stock.out { background: #f1dfd9; }
.pdp .tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0 0; }
.pdp .tags a { font-size: 13px; padding: 4px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); text-decoration: none; }
.pdp .descr { margin-top: 36px; }
.pdp .descr h2 { font-size: 30px; margin-bottom: 12px; }
@media (max-width: 860px) {
  .shop { grid-template-columns: 1fr; gap: 16px; }
  .filters { position: static; display: none; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
  .filters.open { display: grid; }
  .filters-toggle { display: inline-flex; }
  .pdp { grid-template-columns: 1fr; gap: 28px; }
}

/* описание товара */
.desc { display: grid; gap: 28px; }
.desc p { margin: 0 0 .8em; font-size: 16px; line-height: 1.7; color: #3b342e; }
.desc-lead p:first-child { font-family: var(--serif); font-size: 24px; line-height: 1.4; color: var(--ink); }
.desc-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.desc-specs div { background: var(--card); padding: 14px 18px; }
.desc-specs dt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.desc-specs dd { margin: 0; font-size: 15px; }
.desc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.dsec { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px 12px; }
.dsec h3 { font-size: 24px; margin-bottom: 12px; }
.dsec ul { list-style: none; margin: 0 0 12px; padding: 0; }
.dsec li { position: relative; padding-left: 20px; margin-bottom: 8px; font-size: 15px; line-height: 1.6; color: #3b342e; }
.dsec li::before { content: ''; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: #b9894e; }
.dsec p { font-size: 15px; }
.dsec.usage { background: var(--ink); border-color: var(--ink); }
.dsec.usage h3 { color: #f4efe6; }
.dsec.usage p, .dsec.usage li, .dsec.usage strong { color: #e8dfd0; }
.dsec.caution { background: #fbf3df; border-color: #ecdcae; }
.dcomp { border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 0 24px; }
.dcomp summary { cursor: pointer; padding: 16px 0; font-family: var(--serif); font-size: 22px; list-style: none; display: flex; justify-content: space-between; }
.dcomp summary::after { content: '+'; font-family: var(--sans); }
.dcomp[open] summary::after { content: '–'; }
.dcomp p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.pdp .descr .desc-lead p { max-width: none; }
.descr-wrap { max-width: 980px; margin: 24px auto 0; padding-bottom: 24px; }
.descr-wrap > h2 { font-size: clamp(32px, 4vw, 44px); text-align: center; margin-bottom: 28px; }
.desc-prose p { margin: 0 0 .8em; }
.desc ul { list-style: none; margin: 0 0 16px; padding: 0; }
.desc-lead ul, .desc-prose ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 4px 24px; }
.desc li { position: relative; padding-left: 20px; margin-bottom: 8px; font-size: 15px; line-height: 1.6; color: #3b342e; }
.desc li::before { content: ''; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: #b9894e; }
.specs { margin: 0 0 14px; display: grid; }
.specs div { display: grid; grid-template-columns: minmax(110px, 40%) 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.specs div:last-child { border-bottom: 0; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; color: var(--ink); }
.dsec.usage .specs div { border-color: #4a413a; } .dsec.usage .specs dt { color: #b9a98f; } .dsec.usage .specs dd { color: #f4efe6; }
.dsec.wide { grid-column: 1 / -1; }
.dsec.wide .specs { grid-template-columns: 1fr 1fr; column-gap: 48px; }
@media (max-width: 720px) { .dsec.wide .specs { grid-template-columns: 1fr; } }

/* адаптивные карточки разделов: заполняют ряд, на узких экранах — в одну колонку */
.desc-grid { display: flex; flex-wrap: wrap; gap: 16px; }
.desc-grid > .dsec { flex: 1 1 min(100%, 300px); min-width: 0; }
.desc-grid > .dsec.wide { flex-basis: 100%; }
.dsec { overflow-wrap: anywhere; }
.desc-lead ul, .desc-prose ul { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.specs div { grid-template-columns: minmax(100px, 38%) minmax(0, 1fr); }
@media (max-width: 720px) {
  .dsec { padding: 18px 18px 8px; }
  .dsec h3 { font-size: 22px; }
  .desc-lead p:first-child { font-size: 21px; }
  .dcomp { padding: 0 18px; }
  .desc-grid > .dsec { flex-basis: 100%; }
}

/* тест: результат не вылезает на узких экранах */
.quiz .cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.quiz .cols > div, .quiz .step, .quiz .rec-n { min-width: 0; }
.quiz .rec-n, .quiz .step p { overflow-wrap: anywhere; }
.quiz .rec { flex-wrap: wrap; }
@media (max-width: 720px) { .quiz .cols, .quiz .gads { grid-template-columns: minmax(0, 1fr); } }

/* статья: заголовки, списки, карточки товаров в тексте */
.prose h2 { font-size: 32px; margin: 1.6em 0 .5em; }
.prose ul { list-style: none; padding: 0; margin: 0 0 1.3em; }
.prose li { position: relative; padding-left: 22px; margin-bottom: 8px; font-size: 17px; line-height: 1.7; color: #332d28; }
.prose li::before { content: ''; position: absolute; left: 3px; top: .75em; width: 6px; height: 6px; border-radius: 50%; background: #b9894e; }
.embed { display: flex; align-items: center; gap: 16px; margin: 1.6em 0; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-left: 3px solid #b9894e; border-radius: 12px; }
.embed .e-pic { flex: none; width: 76px; height: 76px; border-radius: 10px; background: #fff; border: 1px solid var(--line); overflow: hidden; display: block; }
.embed .e-pic img { width: 100%; height: 100%; object-fit: contain; }
.embed .e-n { flex: 1; min-width: 0; display: grid; gap: 2px; }
.embed .e-n small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.embed .e-n a { font-family: var(--serif); font-size: 21px; line-height: 1.2; text-decoration: none; }
.embed .e-n a:hover { text-decoration: underline; }
.embed .e-n span { font-size: 14px; color: var(--muted); }
.embed .btn { flex: none; }
@media (max-width: 560px) {
  .embed { flex-wrap: wrap; } .embed .e-pic { width: 64px; height: 64px; } .embed .btn { width: 100%; }
}

/* обложки материалов: фото товаров показываем целиком, высота карточек ровная */
.post-card .pic { overflow: hidden; }
.post-card .pic img { position: absolute; inset: 0; }
.post-card .pic.prod { background: #fff; }
.post-card .pic.prod img { object-fit: contain; padding: 12px; }
.post .cover { width: 100%; aspect-ratio: 16/9; border-radius: 12px; margin-bottom: 36px; object-fit: cover; }
.post .cover.prod { object-fit: contain; background: #fff; padding: 16px; }
.related .grid3 { display: flex; flex-wrap: wrap; justify-content: center; }
.related .grid3 > * { flex: 0 1 calc(33.333% - 16px); min-width: 260px; }

/* тест: расширенный результат */
.quiz .r-p { font-size: 16px; line-height: 1.75; color: #3b342e; max-width: none; margin: 0 0 18px; }
.quiz .step p.how { font-size: 13px; color: #8a7f72; border-left: 2px solid var(--line); padding-left: 10px; margin: 6px 0 4px; }
.quiz .tcard { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; min-width: 0; }
.quiz .tcard h3 { font-size: 24px; margin-bottom: 10px; }
.quiz .tcard.avoid { border-left: 3px solid #c98f7d; }
.quiz .tgrid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.quiz .tlist { list-style: none; margin: 0; padding: 0; }
.quiz .tlist li { position: relative; padding-left: 20px; margin-bottom: 8px; font-size: 15px; line-height: 1.6; color: #3b342e; overflow-wrap: anywhere; }
.quiz .tlist li::before { content: ''; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: #b9894e; }
.quiz .alert .tlist { margin-top: 6px; }
.quiz .actgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.quiz .act { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; display: grid; gap: 4px; }
.quiz .act b { font-family: var(--serif); font-weight: 500; font-size: 20px; }
.quiz .act span { font-size: 14px; color: var(--muted); line-height: 1.55; }
.quiz .arts { display: grid; gap: 10px; }
.quiz .art { display: grid; gap: 2px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; text-decoration: none; transition: border-color .15s; }
.quiz .art:hover { border-color: var(--ink); }
.quiz .art b { font-family: var(--serif); font-weight: 500; font-size: 21px; }
.quiz .art span { font-size: 13px; color: var(--muted); }
@media (max-width: 720px) { .quiz .tgrid2 { grid-template-columns: minmax(0, 1fr); } }
