/* Original coffeestore.kz SEO copy, restored under the catalog (scripts/render_seo_texts.py). */
main .seo-text { margin:56px 0 44px; padding-top:44px; border-top:1px solid #e3e8dc; display:grid; gap:36px; }
main .seo-text-block { max-width:900px; }
main .seo-text-block h2 { font-family:effra-cc,Arial,sans-serif; font-size:26px; line-height:1.25; font-weight:600; letter-spacing:-.01em; text-transform:none; color:#173e2b; margin:0 0 16px; padding:0; }
main .seo-text-body { font-size:15px; line-height:1.75; color:#5f715d; }
main .seo-text-body :is(p,li) { text-wrap:pretty; }
main .seo-text-body p { margin:0 0 12px; font-size:inherit; line-height:inherit; color:inherit; }
main .seo-text-body p:last-child { margin-bottom:0; }
main .seo-text-body :is(h3,h4) { font-size:17px; font-weight:600; color:#2d5238; text-transform:none; margin:20px 0 8px; padding:0; }
main .seo-text-body :is(ul,ol) { margin:4px 0 14px; padding-left:22px; }
main .seo-text-body ul { list-style:disc; }
main .seo-text-body ol { list-style:decimal; }
main .seo-text-body li { margin:0 0 6px; padding:0; font-size:inherit; line-height:inherit; color:inherit; }
main .seo-text-body li::marker { color:#8aa284; }
main .seo-text-body :is(strong,b) { color:#2d5238; font-weight:600; }
main .seo-text-body a { color:#2a5335; text-decoration:underline; text-underline-offset:3px; }
@media (max-width:767px) {
 main .seo-text { margin:40px 0 32px; padding-top:32px; gap:28px; }
 main .seo-text-block h2 { font-size:21px; margin-bottom:12px; }
 main .seo-text-body { font-size:14px; }
}

/* Original copy restored inside the redesigned info pages (scripts/render_source_copy.py). */
body.pv2 [data-source-copy] .page-tile :is(ul,ol) { margin:4px 0 0; padding-left:18px; color:var(--pv-text,#4b544f); font-size:15px; line-height:1.65; }
body.pv2 [data-source-copy] .page-tile ul { list-style:disc; }
body.pv2 [data-source-copy] .page-tile ol { list-style:decimal; }
body.pv2 [data-source-copy] .page-tile li { margin:0 0 6px; text-wrap:pretty; }
body.pv2 [data-source-copy] .page-tile li::marker { color:#8aa284; }
body.pv2 [data-source-copy] .page-tile h3 + p, body.pv2 [data-source-copy] .page-tile h3 + ul { margin-top:0; }
body.pv2 [data-source-copy] .tile-duration { margin:0 0 10px !important; font-size:13px !important; color:var(--pv-muted,#6b7570); }
body.pv2 .source-note { margin:16px 0 0; padding:16px 20px; border-left:3px solid #c9b48a; background:#fbf8f2; border-radius:0 12px 12px 0; font-size:15px; line-height:1.65; color:var(--pv-text,#4b544f); }
body.pv2 .source-note ul { margin:6px 0 0; padding-left:18px; list-style:disc; }
body.pv2 .source-note li { margin:0 0 4px; }
body.pv2-buy [data-source-copy="delivery"] .page-tile h3 { margin:0 0 10px !important; font-size:17px; }
body.pv2-buy [data-source-copy="delivery"] .page-tile h3:not(:first-child) { margin-top:28px !important; }
body.pv2-buy [data-source-copy="returns"] .returns-subtitle { margin:0 0 8px !important; font-size:17px; font-weight:600; color:var(--pv-text,#4b544f); }
main .seo-text-block h3 { font-family:effra-cc,Arial,sans-serif; font-size:22px; line-height:1.3; font-weight:600; text-transform:none; color:#173e2b; margin:0 0 14px; padding:0; }
body.pv2 .page-band .band-list { margin:8px 0 24px; padding-left:20px; list-style:disc; color:rgba(255,255,255,.82); font-size:16px; line-height:1.7; }
body.pv2-school .school-about-tag { margin-top:14px; font-size:18px; color:var(--pv-muted,#6b7570); }
body.pv2-school .school-about p { font-size:16px; line-height:1.75; }
body.pv2-school .school-express-intro { margin:0 0 24px; align-items:start; }
body.pv2-school .school-express-intro .page-facts { margin:0; align-content:start; }
body.pv2-school .school-express-intro .page-facts span { background:var(--pv-paper,#f6f4f0) !important; }
@media (min-width:1025px) {
 body.pv2-school .school-topics { grid-template-columns:repeat(6,minmax(0,1fr)); }
 body.pv2-school .school-topics > * { grid-column:span 2; }
 body.pv2-school .school-topics > :nth-child(n+4) { grid-column:span 3; }
}
body.pv2-school .school-latte-more { margin-top:16px; gap:16px; }
body.pv2-school .trainer-section h3 { margin:14px 0 10px; font-size:18px; }
.detail-original-desc { display:grid; grid-template-columns:minmax(0,7fr) minmax(0,5fr); gap:32px 48px; margin-top:32px; padding:28px 32px; border-radius:20px; background:#f6f4f0; }
.detail-original-desc h3 { margin:0 0 10px; font-size:18px; font-weight:600; color:#173e2b; text-transform:none; }
.detail-original-desc p { margin:0 0 8px; color:#4b544f; }
.detail-original-desc ul { margin:0; padding-left:18px; list-style:disc; color:#4b544f; font-size:15px; line-height:1.7; }
.detail-original-desc li::marker { color:#8aa284; }
.detail-original-desc .page-facts { margin:0; }
@media (max-width:767px) {
 .detail-original-desc { grid-template-columns:1fr; padding:22px; gap:24px; }
}

/* Original SEO H1 back in the hero: design title as the big line, the rest as a quieter second line. */
h1.seo-h1 .h1-main { display:block; }
h1.seo-h1 .h1-tail { display:block; max-width:34ch; margin-top:.4em; font-size:.46em; line-height:1.3; font-weight:500; letter-spacing:0; opacity:.78; text-wrap:balance; }
.detail-page h1.seo-h1 .h1-kicker { display:block; margin:0 0 8px; font-size:15px; line-height:1.4; font-weight:500; letter-spacing:0; color:#6b7570; }
body.pv2 .story-hero h1.seo-h1 { font-size:52px !important; text-wrap:balance; }
@media (max-width:767px) {
 h1.seo-h1 .h1-tail { font-size:.56em; }
 body.pv2 .story-hero h1.seo-h1 { font-size:34px !important; }
}
/* A block that is untitled on the original (its title is now the page H1) reads as the lead. */
main .seo-text-block:not(:has(> h2, > h3)) .seo-text-body { font-size:16.5px; color:#3f5140; }

/* Former service h2s, now plain text: same look as before (scripts/render_seo_texts.py tidy_outline). */
.filter-heading .filter-title, #catalog-empty .catalog-empty-title { margin:0; padding:0; font-family:Montserrat,Arial,sans-serif; font-size:19px; font-weight:600; line-height:1.3; letter-spacing:normal; text-transform:none; color:#163c2c; }
@media (min-width:993px) { .filter-heading .filter-title { display:none; } }
.visually-hidden { position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; margin:-1px !important; overflow:hidden !important; clip:rect(0 0 0 0) !important; white-space:nowrap !important; border:0 !important; }
