/*
 * Shared section drawings (core/parts). A theme draws its own versions of most
 * sections; these cover the rest, in the theme's colours and fonts.
 */
.prts { padding: var(--prt-section-y, clamp(48px, 6.5vw, 88px)) 0; color: var(--prt-ink); font-family: var(--prt-font-body); }
.prts + .prts { padding-top: 0; }
/* --prt-gutter (token "gutter", one side) = the theme's own side padding, so core text lines up with it on phones. */
.prts-wrap { width: min(var(--prt-wrap, 1160px), 100% - 2 * var(--prt-gutter, 20px)); margin-inline: auto; }
.prts-narrow { width: min(820px, 100% - 2 * var(--prt-gutter, 20px)); }
.prts-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.prts-grid { display: grid; gap: 22px; list-style: none; margin: 0; padding: 0; }
.prts-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .prts-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .prts-grid--3 { grid-template-columns: 1fr; } }
.prts-grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.prts h1, .prts h2, .prts h3 { font-family: var(--prt-font-display); color: var(--prt-ink); line-height: 1.15; margin: 0 0 .4em; }
.prts h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
.prts h2 { font-size: var(--prt-h2, clamp(1.75rem, 3.9vw, 3rem)); }
.prts h3 { font-size: 1.2rem; }
.prts :is(h1, h2) em { font-style: normal; color: var(--prt-primary-text); }
.prts p { color: var(--prt-muted); line-height: 1.7; margin: 0 0 1em; }
.prts-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.prts-head.is-left { text-align: left; margin-left: 0; }
.prts-eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--prt-primary-text); margin-bottom: 10px; }
.prts-lead { font-size: 1.15rem; max-width: 640px; }
.prts-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.prts-head + .prts-btns, .prts-ctabox .prts-btns { justify-content: center; }
.prts-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 999px; background: var(--prt-cta-ground, var(--prt-cta)); color: #fff; font-weight: 800; text-decoration: none; border: 2px solid var(--prt-cta-ground, var(--prt-cta)); font-family: var(--prt-font-display); cursor: pointer; font-size: 1rem; }
/* Hover: one shade deeper (never lighter: a lighter ground under white text lost contrast). */
.prts-btn:not(.prts-btn--ghost):hover { background-color: var(--prt-cta-hover, var(--prt-cta-ground, var(--prt-cta))); border-color: var(--prt-cta-hover, var(--prt-cta-ground, var(--prt-cta))); }
.prts-btn--ghost { background: transparent; color: var(--prt-ink); border-color: var(--prt-line); }
.prts-btn .ic, .prts svg { width: 1.1em; height: 1.1em; flex: none; }
.prts-box { background: var(--prt-surface); border: 1px solid var(--prt-line); border-radius: 18px; padding: 24px; }
.prts-card { display: flex; flex-direction: column; background: var(--prt-surface); border: 1px solid var(--prt-line); border-radius: 18px; overflow: hidden; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
a.prts-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0, 0, 0, .12); }
.prts-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.prts-card__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 22px; }
.prts-card__body b { font-family: var(--prt-font-display); font-size: 1.1rem; color: var(--prt-ink); display: flex; gap: 8px; align-items: center; }
.prts-card__body small { color: var(--prt-muted); font-size: .95rem; line-height: 1.55; }
.prts-ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--prt-surface-alt); color: var(--prt-primary-text); margin-bottom: 12px; }
.prts-ic svg { width: 24px; height: 24px; }
.prts-photo img { width: 100%; border-radius: 24px; display: block; aspect-ratio: 4 / 3; object-fit: cover; }
.prts-ticks { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--prt-muted); font-weight: 700; }
.prts-ticks li { display: flex; gap: 6px; align-items: center; }
.prts-ticks svg { color: var(--prt-primary-text); }

.prts-pagehead { background: var(--prt-surface-alt); padding: clamp(56px, 8vw, 110px) 0 clamp(44px, 6vw, 80px); text-align: center; position: relative; }
.prts-pagehead.has-img { background: linear-gradient(rgba(10, 15, 30, .62), rgba(10, 15, 30, .62)), var(--prts-bg) center / cover; }
.prts-pagehead.has-img :is(h1, p, .prts-eyebrow, .prts-crumbs, .prts-crumbs a) { color: #fff; }
.prts-pagehead .prts-lead { margin-inline: auto; }
.prts-crumbs { font-size: .9rem; color: var(--prt-muted); margin-bottom: 18px; }
.prts-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.prts-crumbs li + li::before { content: "/"; content: "/" / ""; margin-right: 6px; opacity: .6; }
.prts-crumbs a { color: var(--prt-muted); }
.prts-ticker { padding: 16px 0; background: var(--prt-primary); }
.prts-ticker .prts-wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; color: var(--prt-primary-ink); font-weight: 800; }
.prts-ticker span { display: flex; align-items: center; gap: 8px; }
.prts-stats .prts-wrap { text-align: center; }
.prts-stat b { display: block; font-family: var(--prt-font-display); font-size: clamp(2rem, 4vw, 3rem); color: var(--prt-primary-text); }
.prts-stat span { color: var(--prt-muted); font-weight: 700; }
.prts-steps ol { counter-reset: s; }
.prts-feats { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 16px; }
.prts-feats li { display: flex; gap: 14px; }
.prts-feats .prts-ic { margin: 0; flex: none; }
.prts-feats b { font-family: var(--prt-font-display); }
.prts-feats p { margin: 4px 0 0; }
.prts-guar b { font-family: var(--prt-font-display); font-size: 1.1rem; }
.prts-guar p { margin: 6px 0 0; }
.prts-rating { text-align: center; font-size: 1.1rem; }
.prts-review blockquote { margin: 12px 0; }
.prts-review blockquote p { color: var(--prt-ink); }
.prts-review figcaption span { color: var(--prt-muted); font-size: .9rem; }
.prts-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.prts-pills :is(a, span) { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--prt-line); background: var(--prt-surface); color: var(--prt-ink); font-weight: 700; text-decoration: none; }
.prts-pills a:hover { border-color: var(--prt-primary); color: var(--prt-primary-text); }
.prts-qa { border-bottom: 1px solid var(--prt-line); padding: 18px 0; }
.prts-qa summary { cursor: pointer; font-weight: 800; font-family: var(--prt-font-display); font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.prts-qa summary::-webkit-details-marker { display: none; }
.prts-qa summary::after { content: "+"; content: "+" / ""; color: var(--prt-primary-text); font-size: 1.4rem; line-height: 1; }
.prts-qa[open] summary::after { content: "\2212"; content: "\2212" / ""; }
.prts-qa p { margin: 10px 0 0; }
.prts-info { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; font-weight: 700; }
.prts-info li { display: flex; gap: 10px; align-items: center; }
.prts-info a { color: var(--prt-ink); }
.prts-map { width: 100%; height: 260px; border: 0; border-radius: 18px; }
.prts-form { display: grid; gap: 14px; }
.prts-form label { display: grid; gap: 6px; font-weight: 700; font-size: .92rem; color: var(--prt-ink); }
.prts-form :is(input, textarea) { font: inherit; padding: 12px 14px; border: 1px solid var(--prt-ui-mark, var(--prt-line)); border-radius: 12px; background: #fff; color: #1f2937; }
/* Round 20 (B#1): a message form stretches its button full width; its label sits in the middle, not at the left edge. */
form[data-contact] .prts-btn { justify-content: center; }
.prt-contact-status { margin: 0; font-weight: 700; }
.prt-contact-status:empty { display: none; }
.prt-contact-status.is-ok { color: #15803d; }
.prt-contact-status.is-err { color: #b91c1c; }
.prts-ctabox { background: var(--prt-primary-ground, var(--prt-primary)); border-radius: 28px; padding: clamp(36px, 6vw, 64px) 24px; text-align: center; }
.prts-ctabox :is(h2, p, .prts-eyebrow) { color: var(--prt-primary-ink); }
.prts-ctabox h2 em { color: inherit; text-decoration: underline; }
.prts-ctabox .prts-btn--ghost { color: var(--prt-primary-ink); border-color: currentColor; }
.prts-text .entry-content { color: var(--prt-muted); }
@media (max-width: 860px) {
	.prts-split { grid-template-columns: 1fr; }
}
body.prt-dark .prts-form :is(input, textarea) { border-color: #d4d0ee; }

/* Slim call-to-action band (cta_strip). */
.prts-strip { padding: calc(var(--prt-section-y, 88px) / 2) 0; }
.prts + .prts-strip, .prts-strip + .prts { padding-top: calc(var(--prt-section-y, 88px) / 2); }
.prts-strip__box { display: flex; align-items: center; gap: 18px 24px; flex-wrap: wrap; background: var(--prt-surface-alt); border: 1px solid var(--prt-line); border-radius: var(--prt-radius, 20px); padding: 20px clamp(20px, 3vw, 32px); }
.prts-strip__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--prt-primary-ground, var(--prt-primary)); color: var(--prt-primary-ink); flex: none; }
.prts-strip__ic svg { width: 24px; height: 24px; }
.prts-strip__txt { flex: 1 1 300px; min-width: 0; }
.prts .prts-strip__title { margin: 0; font-family: var(--prt-font-display); font-weight: 800; font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.3; color: var(--prt-ink); }
.prts-strip__title em { font-style: normal; color: var(--prt-primary-text); }
.prts .prts-strip__sub { margin: 4px 0 0; font-size: .97rem; }
.prts-strip__btns { display: flex; align-items: center; gap: 10px 20px; flex-wrap: wrap; }
.prts-strip__btns .prts-btn { padding: 12px 22px; }
.prts-strip__tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--prt-ink); text-decoration: none; white-space: nowrap; }
.prts-strip__tel:hover { color: var(--prt-primary-text); }
.prts-strip.is-bold .prts-strip__box { background: var(--prt-primary-ground, var(--prt-primary)); border-color: transparent; }
.prts-strip.is-bold :is(.prts-strip__title, .prts-strip__title em, .prts-strip__sub, .prts-strip__tel) { color: var(--prt-primary-ink); }
.prts-strip.is-bold .prts-strip__ic { background: var(--prt-primary-ink); color: var(--prt-primary); }
.prts-strip.is-bold .prts-strip__title em { text-decoration: underline; text-underline-offset: 4px; }
/* Keyboard focus on the brand-colour band: the ring takes the band's text colour (the theme's own ring colour can match the band). */
body .prts-strip.is-bold .prts-strip__box :focus-visible { outline: 3px solid var(--prt-primary-ink); outline-offset: 3px; }
@media (max-width: 620px) {
	.prts-strip__box { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 14px; }
	.prts-strip__ic { width: 44px; height: 44px; }
	.prts-strip__btns { grid-column: 1 / -1; }
	.prts-strip__btns .prts-btn { flex: 1 1 100%; justify-content: center; }
	/* A long phone line ("… extension 12, ask for Jordan") wraps instead of widening the page (round 17). */
	.prts-strip__tel { white-space: normal; overflow-wrap: anywhere; max-width: 100%; }
}

/* Service area with map (areas_map). */
.prts-amap__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.prts-amap__grid.no-map { grid-template-columns: 1fr; }
.prts .prts-amap__intro { font-size: 1.12rem; color: var(--prt-ink); margin: 0 0 22px; }
.prts-amap__list { list-style: none; margin: 0; padding: 0; columns: 3 170px; column-gap: 24px; }
.prts-amap__list li { break-inside: avoid; margin: 0 0 12px; }
.prts-amap__list :is(a, span) { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.05rem; color: var(--prt-primary-text); text-decoration: none; line-height: 1.3; }
.prts-amap__list svg { color: var(--prt-cta-text, var(--prt-primary-text)); width: 1.15em; height: 1.15em; }
.prts-amap__list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.prts-amap__list a[aria-current] { color: var(--prt-ink); background: var(--prt-surface-alt); box-shadow: inset 0 0 0 1.5px var(--prt-ui-mark, var(--prt-line)); border-radius: 999px; padding: 4px 12px 4px 8px; margin: -4px 0; }
.prts-amap__list a[aria-current]:hover { text-decoration: none; }
.prts-amap__list .is-more span { color: var(--prt-muted); }
.prts .prts-amap__note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin: 20px 0 0; color: var(--prt-ink); }
.prts-amap__note a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--prt-primary-text); text-decoration: none; }
.prts-amap__note > span { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 0 8px; }
.prts-amap__note a:hover { text-decoration: underline; text-underline-offset: 3px; }
.prts-amap__note svg { width: 1.05em; height: 1.05em; flex: none; }
.prts-amap__map { min-height: 380px; border-radius: var(--prt-radius, 20px); overflow: hidden; border: 1px solid var(--prt-line); background: var(--prt-surface-alt); }
.prts-amap__map iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; }
@media (max-width: 900px) {
	.prts-amap__grid { grid-template-columns: 1fr; }
	.prts-amap__map, .prts-amap__map iframe { min-height: 300px; }
}
@media (max-width: 480px) { .prts-amap__list { columns: 2; } }

/* Phones (polish round 2; touch tablets too since round 3): every control at least 44px tall. Text links keep
   their look: the hit area grows with padding the negative margin takes back. */
@media (max-width: 760px), (pointer: coarse) {
	.prts-crumbs a { display: inline-block; padding: 12px 4px; margin: -12px -4px; }
	.prts-strip__tel { min-height: 44px; }
	.prts-amap__list li { margin: 0; }
	.prts-amap__list :is(a, span) { min-height: 44px; }
	.prts-amap__list a[aria-current] { margin: 0; padding-block: 0; }
	.prts-amap__note a { min-height: 44px; }
	.prts .prts-amap__note { margin-top: 8px; gap: 0 22px; }
	.prts-info a { display: inline-flex; align-items: center; padding-block: 12px; margin-block: -12px; }
	.prts-pills :is(a, span), .prts-btn { min-height: 44px; }
}

/* Polish round 6 (colour): text fields and the search pills are edged in --prt-ui-mark (3:1 on the
   theme's grounds) instead of --prt-line (1.1–1.5:1), so the field itself can be seen (WCAG 1.4.11). */

/* Polish round 9 (typography). Headings core draws (its sections, the blog, the item page, the
   platform's and BookFlow's titles) wrap into even lines instead of leaving one word on the last;
   running text avoids a lone short word on its last line. Zero specificity: any theme rule wins. */
:where(.prts, .prt-blog, .prt-item, .prt-rel, .io_category_wrapper) :where(h1, h2, h3, h4, h5),
:where(.prts-strip__title, .prt-blog-inline__title, .prt-rel__name, .catNameIO, .rentNameIO, .io_product_title, .io_upsell_h3, .wdz-gate__header h2, .wdz-gate__steptitle, .wdz-form h2, .wdz-form h3, .wdz-browse h2, .wdz-browse h3) { text-wrap: balance; }
:where(.prts, .prt-blog, .prt-item, .io_category_wrapper, .io_cat_longdescription, .io_landingpages) :where(p, li, blockquote, figcaption, dd),
:where(.io_cat_description, .io_cat_longdescription, .catDescriptionIO, .io_landingpages) { text-wrap: pretty; }
:where(.prts-rfeat blockquote) p { text-wrap: balance; }
/* Section intros under a centred heading ran 86-97 characters a line (B#1); a " · " list breaks
   between its points (C#3, prt_section_head()). Two-line bold tick labels group at 1.35 (C#5). */
.prts-head > p { max-width: 60ch; margin-left: auto; margin-right: auto; }
.prts-head.is-left > p { margin-left: 0; }
.prts-dots > span { display: inline-block; }
.prts-ticks li { line-height: 1.35; }
/* Counts inside core's 800-weight labels were "bolder" (900), which made static fonts fetch a 900
   file for a digit (B#3). Display weight token (A#5, C#6): --prt-display-weight (default 700, the
   bold these headings and big numbers already had) lets a theme set its headline weight once. */
:where(.prts-fqtabs a, .prts-check__count, .prts-rwall__filters button) b { font-weight: inherit; }
:where(.prts) :where(h1, h2, h3),
:where(.prts-stat, .pe-pack__price, .prts-band__list, .prts-story__badge, .prts-minirev__score, .prts-rsum__score) > b { font-weight: var(--prt-display-weight, 700); }

/* Hover states (polish round 11): links and the ghost button that showed no change under the pointer. */
.prts-btn--ghost:hover { border-color: currentColor; background-color: color-mix(in srgb, currentColor 8%, transparent); }
.prts-crumbs a:hover, .prts-info a:hover, .prts-strip__tel:hover { text-decoration: underline; text-decoration-thickness: from-font; text-underline-offset: 3px; }

/* Long values an owner may type (round 17, A#2): a long town, an email address or a one-word label
   breaks inside its column instead of widening it. Zero specificity; short words wrap as before. */
.prts :where(h1, h2, h3, h4, p, li, dd, dt, blockquote, figcaption, address) { overflow-wrap: anywhere; }
.prts :where(.prts-btn) { max-width: 100%; overflow-wrap: anywhere; text-align: center; }
