/* Legal pages (207:*), cookie banner + settings, first-page preview modal. */
.lg { padding: 40px 89px 120px; background: var(--cream); font-family: 'Assistant', 'Heebo', sans-serif; direction: rtl; }
.lg-crumb { font-size: 14px; color: var(--muted, #8a7b6b); margin-bottom: 14px; } .lg-crumb a { color: var(--gold-d); } .lg-crumb b { color: var(--text); }
.lg h1 { margin: 0; font-size: 56px; line-height: 1.15; font-weight: 800; color: var(--text); }
.lg-upd { margin: 10px 0 6px; font-size: 15px; color: #8a7b6b; } .lg-intro { margin: 0 0 36px; max-width: 900px; font-size: 19px; line-height: 1.6; color: rgba(42, 33, 28, .78); font-weight: 600; }
.lg-cols { display: flex; flex-direction: row-reverse; gap: 48px; align-items: flex-start; }
.lg-body { flex: 1; min-width: 0; } .lg-side { width: 340px; flex: none; position: sticky; top: 24px; display: flex; flex-direction: column; gap: 18px; }
.lg-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.lg-card h2 { margin: 0 0 8px; font-size: 18px; font-weight: 800; color: var(--ink); }
.lg-card a { padding: 9px 12px; border-radius: 10px; font-size: 16px; font-weight: 700; color: var(--text); } .lg-card a.toc { font-size: 14px; font-weight: 600; color: #6f6358; } .lg-card a:hover { background: var(--sand); } .lg-card a.on { background: var(--ink); color: var(--gold-l); }
.lg-sec { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px 32px; margin-bottom: 18px; scroll-margin-top: 20px; }
.lg-sec h2 { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; font-size: 26px; font-weight: 800; color: var(--ink); }
.lg-sec h2 i { width: 38px; height: 38px; border-radius: 19px; background: linear-gradient(to bottom, var(--gold-l), var(--gold)); color: var(--ink); display: grid; place-items: center; font: 800 17px 'Assistant', sans-serif; font-style: normal; flex: none; }
.lg-sec p, .lg-sec li { font-size: 17px; line-height: 1.75; color: rgba(42, 33, 28, .88); font-weight: 600; } .lg-sec p { margin: 0 0 12px; } .lg-sec ul { margin: 0 0 12px; padding: 0 22px 0 0; } .lg-sec li { margin-bottom: 6px; }
.lg-note { font-size: 14px; color: #8a7b6b; padding: 14px 18px; border: 1px dashed rgba(216, 162, 74, .7); border-radius: 14px; background: #fff8e8; }
.foot-cc { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }

/* cookie banner */
.cc { position: fixed; z-index: 9998; left: 24px; right: 24px; bottom: 24px; max-width: 980px; margin: 0 auto; display: flex; align-items: center; gap: 20px; background: var(--ink); color: #f6efe4; border-radius: 20px; padding: 18px 22px; box-shadow: 0 20px 50px rgba(0, 0, 0, .4); direction: rtl; font-family: 'Heebo', sans-serif; }
.cc[hidden] { display: none; } .cc p { margin: 0; flex: 1; font-size: 14px; line-height: 1.5; } .cc p b { color: var(--gold-l); } .cc a { color: var(--gold-l); text-decoration: underline; }
.cc-btns { display: flex; gap: 8px; flex: none; } .cc-btns button { height: 44px; padding: 0 18px; border-radius: 12px; font: 700 14px 'Heebo'; cursor: pointer; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; }
.cc-btns .cc-all { background: linear-gradient(to bottom, var(--gold-l), var(--gold)); border: 0; color: var(--ink); }
.cc-modal { width: 480px; } .cc-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; background: #fff; border: 1px solid #e6dac6; border-radius: 14px; cursor: pointer; }
.cc-row span { display: flex; flex-direction: column; gap: 3px; text-align: right; } .cc-row b { font-size: 16px; color: #14100d; } .cc-row small { font-size: 13px; color: #8a7b6b; } .cc-row input { width: 22px; height: 22px; accent-color: #d8a24a; }

/* first-page preview */
.pv-modal { width: 860px; max-width: 100%; }
.pv-grid { display: flex; gap: 28px; align-items: flex-start; direction: rtl; }
.pv-img { width: 360px; flex: none; background: #eadfcf; border-radius: 18px; padding: 18px; text-align: center; } .pv-img img { width: 100%; border-radius: 8px; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .35); display: block; } .pv-img span { display: block; margin-top: 10px; font-size: 13px; color: #8a7b6b; }
.pv-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; text-align: right; }
.pv-info .p-subject { position: static; align-self: flex-start; background: #fff4dc; } .pv-info h3 { margin: 0; font-size: 30px; line-height: 1.2; color: #14100d; } .pv-info h4 { margin: 8px 0 0; font-size: 16px; color: #8a7b6b; }
.pv-info ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; max-height: 260px; overflow-y: auto; } .pv-info li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 14px; background: #f3eadb; border-radius: 12px; font-weight: 700; font-size: 15px; } .pv-info li em { font-style: normal; color: #b5791a; }
.pv-price { font-size: 38px; font-weight: 700; color: #14100d; margin-top: 6px; }
.pv-actions { display: flex; gap: 10px; } .pv-actions button { flex: 1; height: 48px; border-radius: 12px; font: 700 16px 'Heebo'; cursor: pointer; } .pv-actions .p-add { border: 1.2px solid rgba(42, 33, 28, .25); background: transparent; color: #2a211c; } .pv-actions .p-buy { border: 0; background: linear-gradient(to right, #f0c56e, #d8a24a); color: #14100d; }

@media (max-width: 767px) {
	.lg { padding: 24px 20px 70px; } .lg h1 { font-size: 38px; } .lg-intro { font-size: 17px; margin-bottom: 24px; }
	.lg-cols { flex-direction: column-reverse; gap: 20px; } .lg-side { width: 100%; position: static; }
	.lg-sec { padding: 20px 18px; } .lg-sec h2 { font-size: 21px; gap: 10px; } .lg-sec p, .lg-sec li { font-size: 16px; }
	.cc { left: 10px; right: 10px; bottom: 10px; flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; } .cc-btns { flex-wrap: wrap; } .cc-btns button { flex: 1; }
	.pv-grid { flex-direction: column; } .pv-img { width: 100%; } .pv-info h3 { font-size: 24px; }
	.foot-links { flex-wrap: wrap; justify-content: center; }
}
