/*
Theme Name: Archers Smash Repairs (SmashFIX)
Theme URI: https://syntrex.com.au/
Author: Syntrex Technologies
Author URI: https://syntrex.com.au/
Description: SmashFIX theme for Archers Smash Repairs (archersms.com.au), with the Archers logo, share image, favicon and Workshop Yellow colours. Everything is in this one theme; after activating, go to Appearance → SmashFIX setup and click "Install & activate plugins".
Version: 1.5.0
Requires at least: 6.9
Tested up to: 7.1
Requires PHP: 8.5
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: smashfix
*/

/* ---------- WordPress required classes ---------- */
.alignleft { float: left; margin: 0.25em 1.5em 1em 0; }
.alignright { float: right; margin: 0.25em 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; text-align: center; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption, figcaption { font-size: 0.9375rem; color: var(--sf-muted); margin-top: 0.5em; }
.sticky .card__title::after { content: " ★"; color: var(--sf-accent-ink); }
.bypostauthor > .comment-body .fn::after { content: " (author)"; font-weight: 400; font-size: .875em; }

/* ---------- Content elements ---------- */
.entry-content ul:not([class*="menu"]), .entry-content ol { padding-left: 1.4em; }
.entry-content li + li { margin-top: 0.35em; }
.entry-content a:not(.smashfix-btn):not(.wp-block-button__link) { font-weight: 600; }
.has-dark-background-color a:not(.smashfix-btn):not(.wp-block-button__link), .has-dark-2-background-color a:not(.smashfix-btn):not(.wp-block-button__link) { text-decoration-color: var(--sf-accent-on-dark); }
.has-dark-background-color .smashfix-btn--secondary, .has-dark-2-background-color .smashfix-btn--secondary { color: var(--sf-on-dark); }
.has-accent-background-color .smashfix-btn--primary, .has-accent-background-color .wp-block-button__link { background: var(--sf-dark); border-color: var(--sf-dark); color: #fff; }
.has-accent-background-color a:not(.smashfix-btn) { text-decoration-color: currentColor; }
blockquote { margin: 0; }
hr, .wp-block-separator { border: 0; border-top: 2px solid var(--sf-line); margin-block: 2.5rem; }
.wp-block-separator.has-background { height: 4px; border: 0; }
.has-muted-color { color: var(--sf-muted); }
.wp-block-image img { border-radius: var(--sf-radius); }
.wp-block-image figcaption { text-align: left; }
.eyebrow, .is-style-eyebrow { font-size: 0.875rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .5rem; }
.wp-block-group.has-background { border-radius: 0; }
.wp-block-group:not(.alignfull).has-background { border-radius: 12px; }
.section-title { margin-bottom: 1.5rem; }

/* Full-width sections */
.entry-content > .alignfull.wp-block-group { padding-block: clamp(3rem, 7vw, 5.5rem); }
.entry-content > .alignfull.wp-block-group > :first-child { margin-top: 0; }
.entry-content > .alignfull.wp-block-group > :last-child { margin-bottom: 0; }
.wp-block-cover.alignfull .wp-block-cover__inner-container { width: min(100%, var(--sf-wide)); margin-inline: auto; }
.wp-block-cover .wp-block-cover__image-background { object-position: center; }

/* Columns */
.wp-block-columns { gap: clamp(1.25rem, 3vw, 2rem); }

/* ---------- Block styles ---------- */

/* Card group */
.wp-block-group.is-style-smashfix-card { background: var(--sf-bg); color: var(--sf-text); border: 1px solid var(--sf-line); border-top: 5px solid var(--sf-accent); border-radius: 10px; padding: clamp(1.25rem, 3vw, 1.75rem); height: 100%; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.05); }
.wp-block-group.is-style-smashfix-card > :last-child { margin-bottom: 0; }
.wp-block-group.is-style-smashfix-card h3 { font-size: 1.375rem; }
.is-style-smashfix-card .card-link { font-weight: 800; }
.wp-block-column > .wp-block-group.is-style-smashfix-card { height: 100%; }

/* Service icons (SVG masks in assets/images/icons, coloured by the active scheme).
   Added to cards automatically from their link (see inc/setup.php) or with a class such as smashfix-icon-collision. */
.wp-block-group.is-style-smashfix-card[class*="smashfix-icon-"] { position: relative; --sf-card-pad: clamp(1.25rem, 3vw, 1.75rem); padding: var(--sf-card-pad); }
.wp-block-group.is-style-smashfix-card[class*="smashfix-icon-"]::before { content: ""; display: block; width: 56px; height: 56px; margin-bottom: 1rem; border-radius: 12px; background: var(--sf-accent); }
.wp-block-group.is-style-smashfix-card[class*="smashfix-icon-"]::after { content: ""; position: absolute; top: var(--sf-card-pad); left: var(--sf-card-pad); width: 56px; height: 56px; background: var(--sf-on-accent); -webkit-mask: var(--sf-icon) center / 34px no-repeat; mask: var(--sf-icon) center / 34px no-repeat; }
.smashfix-icon-collision { --sf-icon: url(assets/images/icons/collision.svg); }
.smashfix-icon-panel { --sf-icon: url(assets/images/icons/panel.svg); }
.smashfix-icon-spray { --sf-icon: url(assets/images/icons/spray.svg); }
.smashfix-icon-dent { --sf-icon: url(assets/images/icons/dent.svg); }
.smashfix-icon-hail { --sf-icon: url(assets/images/icons/hail.svg); }
.smashfix-icon-bumper { --sf-icon: url(assets/images/icons/bumper.svg); }

/* Hero illustration: decorative car beside the headline on wide screens, only while the hero has no photo. */
@media (min-width: 1100px) {
	.wp-block-cover.smashfix-hero:not(:has(.wp-block-cover__image-background)) { overflow: hidden; }
	.wp-block-cover.smashfix-hero:not(:has(.wp-block-cover__image-background))::after { content: ""; position: absolute; z-index: 1; right: max(2rem, calc((100vw - 1200px) / 2)); top: 50%; transform: translateY(-62%); width: min(36vw, 500px); aspect-ratio: 600 / 260; background: var(--sf-accent-on-dark); -webkit-mask: url(assets/images/illustrations/car.svg) center / contain no-repeat; mask: url(assets/images/illustrations/car.svg) center / contain no-repeat; pointer-events: none; }
}

/* Key facts box */
.wp-block-group.is-style-smashfix-key-facts { background: var(--sf-soft); border-left: 6px solid var(--sf-accent); border-radius: 0 10px 10px 0; padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 2rem); }
.is-style-smashfix-key-facts h2, .is-style-smashfix-key-facts h3 { font-size: 1.25rem; text-transform: uppercase; letter-spacing: .04em; }
.is-style-smashfix-key-facts ul { margin: 0; }
.is-style-smashfix-key-facts > :last-child { margin-bottom: 0; }

/* Checklist */
ul.is-style-smashfix-checklist { list-style: none; padding-left: 0 !important; }
ul.is-style-smashfix-checklist li { position: relative; padding-left: 2.1em; }
ul.is-style-smashfix-checklist li::before { content: "✓"; position: absolute; left: 0; top: 0.1em; width: 1.45em; height: 1.45em; border-radius: 50%; background: var(--sf-accent); color: var(--sf-on-accent); font-weight: 900; font-size: .9em; line-height: 1.45em; text-align: center; }

/* Numbered steps */
ol.is-style-smashfix-steps { list-style: none; counter-reset: sf-step; padding-left: 0 !important; display: grid; gap: 1rem; }
ol.is-style-smashfix-steps > li { counter-increment: sf-step; position: relative; padding: 1rem 1rem 1rem 4.25rem; background: var(--sf-soft); border-radius: 10px; margin: 0 !important; min-height: 3.5rem; }
ol.is-style-smashfix-steps > li::before { content: counter(sf-step); position: absolute; left: 1rem; top: 1rem; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--sf-accent); color: var(--sf-on-accent); font-weight: 900; display: grid; place-items: center; }
.has-dark-background-color ol.is-style-smashfix-steps > li { background: var(--sf-dark-2); }
@media (min-width: 900px) {
	.alignwide ol.is-style-smashfix-steps, ol.is-style-smashfix-steps.alignwide { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
	.alignwide ol.is-style-smashfix-steps > li, ol.is-style-smashfix-steps.alignwide > li { padding: 4rem 1.25rem 1.25rem; }
}

/* FAQ */
.is-style-smashfix-faq .wp-block-details { border: 1px solid var(--sf-line); border-radius: 10px; background: var(--sf-bg); color: var(--sf-text); margin: 0 0 0.75rem; padding: 0; }
.is-style-smashfix-faq .wp-block-details summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; padding: 0.9rem 1.25rem; font-weight: 800; font-size: 1.0625rem; cursor: pointer; list-style: none; }
.is-style-smashfix-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.is-style-smashfix-faq .wp-block-details summary::after { content: "+"; flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--sf-accent); color: var(--sf-on-accent); display: grid; place-items: center; font-weight: 900; font-size: 1.25rem; line-height: 1; }
.is-style-smashfix-faq .wp-block-details[open] summary::after { content: "−"; }
.is-style-smashfix-faq .wp-block-details > :not(summary) { padding: 0 1.25rem; margin-top: 0; }
.is-style-smashfix-faq .wp-block-details > :last-child { padding-bottom: 1.25rem; margin-bottom: 0; }

/* Review / quote */
.wp-block-quote.is-style-smashfix-review { position: relative; background: var(--sf-bg); color: var(--sf-text); border: 1px solid var(--sf-line); border-radius: 10px; padding: 2.5rem 1.5rem 1.5rem; margin: 0; height: 100%; }
.wp-block-quote.is-style-smashfix-review::before { content: "“"; position: absolute; top: .25rem; left: 1.25rem; font-size: 4rem; line-height: 1; font-weight: 900; color: var(--sf-accent-ink); }
.wp-block-quote.is-style-smashfix-review cite { display: block; margin-top: 1rem; font-style: normal; font-weight: 800; font-size: 0.9375rem; color: var(--sf-muted); }
.wp-block-quote:not(.is-style-smashfix-review) { border-left: 5px solid var(--sf-accent); padding-left: 1.25rem; font-size: 1.1875rem; }

/* Tables */
.wp-block-table { overflow-x: auto; }
.wp-block-table table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.wp-block-table th, .wp-block-table td { padding: 0.75rem 1rem; border: 1px solid var(--sf-line); text-align: left; vertical-align: top; }
.wp-block-table thead th, .wp-block-table thead { background: var(--sf-dark); color: var(--sf-on-dark); border-bottom: 0; }
.wp-block-table tbody tr:nth-child(even) { background: var(--sf-soft); }
.wp-block-table tbody th { background: var(--sf-soft); }

/* Gallery */
.wp-block-gallery.has-nested-images figure.wp-block-image img { border-radius: 8px; }
.smashfix-before-after .wp-block-image figcaption { font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }

/* Stats */
.smashfix-stat { margin: 0; font-weight: 900; line-height: 1.1; }
.smashfix-stat::before { content: ""; display: block; width: 44px; height: 5px; margin-bottom: 0.75rem; background: var(--sf-accent); border-radius: 3px; }
.has-dark-background-color .smashfix-stat { color: var(--sf-on-dark); }

/* ---------- Components ---------- */

/* Trust strip */
.trust-strip { background: var(--sf-soft); border-bottom: 1px solid var(--sf-line); }
.trust-strip__list { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; list-style: none; padding: 0.75rem 0; margin-block: 0; font-weight: 700; font-size: 0.9375rem; }
.trust-strip__list li { display: flex; flex-wrap: wrap; align-items: center; gap: 0 0.35em; min-height: 44px; }
.trust-strip__list li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--sf-accent); margin-right: 10px; box-shadow: 0 0 0 2px var(--sf-dark); }

/* CTA band */
.cta-band { background: var(--sf-accent); color: var(--sf-on-accent); padding: clamp(2.5rem, 6vw, 4rem) 0; }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; }
.cta-band__text { max-width: 640px; }
.cta-band__title { font-size: clamp(1.625rem, 1.3rem + 1.4vw, 2.25rem); margin-bottom: .35em; }
.cta-band p { margin: 0; font-weight: 600; }
.cta-band .smashfix-cta { margin-top: 0; }
.cta-band .smashfix-btn--primary { background: var(--sf-dark); border-color: var(--sf-dark); color: #fff; }
.cta-band .smashfix-btn--secondary { color: var(--sf-on-accent); }

/* Cards */
.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding-block: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 1024px) { .layout--sidebar { grid-template-columns: minmax(0, 1fr) 300px; } }
.layout__main { min-width: 0; }
.card-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card { display: flex; flex-direction: column; background: var(--sf-bg); border: 1px solid var(--sf-line); border-radius: 10px; overflow: hidden; }
.card__media { display: block; aspect-ratio: 16 / 10; background: var(--sf-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card__body { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.25rem; flex: 1; }
.card__title { font-size: 1.25rem; margin: 0; }
.card__title a { text-decoration: none; }
.card__title a:hover { text-decoration: underline; text-decoration-color: var(--sf-accent); }
.card__meta { margin: 0; font-size: 0.875rem; color: var(--sf-muted); }
.card__excerpt p { margin: 0; color: var(--sf-muted); }
.read-more { margin-top: auto; display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; }
.results-count { color: var(--sf-muted); }

/* Pagination */
.pagination { margin-top: 2.5rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; padding: 0 14px; border: 1px solid var(--sf-line); border-radius: var(--sf-radius); text-decoration: none; font-weight: 700; }
.pagination .page-numbers.current { background: var(--sf-dark); color: var(--sf-on-dark); border-color: var(--sf-dark); }

/* Single post */
.entry--post .layout { padding-top: clamp(1.5rem, 4vw, 2.5rem); }
.entry-media { margin: 0 0 2rem; }
.entry-media img { width: 100%; border-radius: 10px; display: block; }
.entry-content--narrow { padding-block: 0; max-width: var(--sf-content); }
.entry-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2rem; }
.entry-tags a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; background: var(--sf-soft); text-decoration: none; font-weight: 700; font-size: .9375rem; }
.author-box { display: flex; gap: 1.25rem; align-items: flex-start; margin-top: 2.5rem; padding: 1.5rem; background: var(--sf-soft); border-radius: 10px; max-width: var(--sf-content); }
.author-box__photo { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; flex: none; }
.author-box__name { font-size: 1.25rem; margin-bottom: 0.25rem; }
.author-box__role { margin: 0 0 .5rem; font-weight: 700; color: var(--sf-muted); }
.author-box__bio { margin-bottom: .5rem; }
.author-box__link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; }
@media (max-width: 520px) { .author-box { flex-direction: column; } }
.related { padding-block: clamp(2.5rem, 6vw, 4rem); background: var(--sf-soft); }

/* Service & location */
.related-services { padding-block: 2.5rem; border-top: 1px solid var(--sf-line); }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.pill-list a, .pill-list--static li { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border: 2px solid var(--sf-dark); border-radius: 999px; font-weight: 700; text-decoration: none; }
.pill-list a:hover { background: var(--sf-accent); border-color: var(--sf-accent); color: var(--sf-on-accent); }
.pill-list--static li { border-color: var(--sf-line); min-height: 40px; }
.location-details { display: grid; gap: 2.5rem; padding-bottom: clamp(2.5rem, 6vw, 4rem); max-width: var(--sf-content); }
.location-details h2 { font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem); }
.review-card { margin: 0; padding: 1.5rem; border-left: 6px solid var(--sf-accent); background: var(--sf-soft); border-radius: 0 10px 10px 0; }
.review-card blockquote p { font-size: 1.1875rem; margin: 0; }
.review-card figcaption { margin-top: .75rem; font-weight: 800; color: var(--sf-muted); }

/* 404 */
.not-found { max-width: var(--sf-content); }
.not-found > * { width: 100%; }
.link-list { list-style: none; padding: 0 !important; display: grid; gap: 4px; }
.link-list a { display: inline-flex; align-items: center; min-height: 48px; font-weight: 700; }

/* Search form */
.search-form { max-width: 560px; }
.search-form__label { display: block; font-weight: 800; margin-bottom: 6px; }
.search-form__row { display: flex; gap: 8px; }
.search-form__input { flex: 1; min-width: 0; min-height: 48px; padding: 0 14px; border: 2px solid #767676; border-radius: var(--sf-radius); font: inherit; }

/* ---------- Business details (SmashFIX Core shortcodes) ---------- */
.smashfix-address { font-style: normal; margin-bottom: 1rem; }
.smashfix-hours { margin: 0; display: grid; gap: 4px; }
.smashfix-hours div { display: flex; justify-content: space-between; gap: 1rem; padding: 4px 0; border-bottom: 1px dashed rgba(127,127,127,.35); }
.smashfix-hours dt { font-weight: 800; }
.smashfix-hours dd { margin: 0; text-align: right; }
.smashfix-hours__note { margin-top: .75rem; font-size: .9375rem; }
.smashfix-areas { columns: 2; padding-left: 1.2em; }
.smashfix-profiles { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 1rem 0 0; }
.smashfix-profiles a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .9375rem; }
.smashfix-phone { font-weight: 800; white-space: nowrap; }
.contact-panel { display: grid; gap: 0.25rem; }
.contact-panel p { margin: 0; }

/* Map facade */
.smashfix-map { position: relative; aspect-ratio: 16 / 10; width: 100%; border-radius: 10px; overflow: hidden; background: var(--sf-dark-2) linear-gradient(135deg, rgba(255,255,255,.04) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.04) 50%, rgba(255,255,255,.04) 75%, transparent 75%) 0 0 / 28px 28px; color: var(--sf-on-dark); }
.smashfix-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.smashfix-map__placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; padding: 1.5rem; text-align: center; }
.smashfix-map__address { margin: 0; font-weight: 800; font-size: 1.125rem; }
.smashfix-map__open { color: var(--sf-on-dark); display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }

/* Video facade (SmashFIX Core) */
.smashfix-video { margin-inline: auto; }
.smashfix-video__frame { position: relative; aspect-ratio: 16 / 9; background: var(--sf-dark); border-radius: 10px; overflow: hidden; }
.smashfix-video__frame img, .smashfix-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.smashfix-video__play { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border: 0; border-radius: 50%; background: var(--sf-accent); box-shadow: 0 6px 24px rgba(0,0,0,.35); cursor: pointer; transition: transform .15s ease; }
.smashfix-video__play:hover { transform: scale(1.06); }
.smashfix-video__play span { display: block; margin: 0 auto 0 34px; width: 0; height: 0; border-style: solid; border-width: 14px 0 14px 24px; border-color: transparent transparent transparent var(--sf-on-accent); }

/* Quote form */
.smashfix-quote { background: var(--sf-bg); color: var(--sf-text); border: 1px solid var(--sf-line); border-top: 6px solid var(--sf-accent); border-radius: 12px; padding: clamp(1.25rem, 4vw, 2.25rem); box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.smashfix-quote__form { display: grid; gap: 1.1rem 1.25rem; }
@media (min-width: 700px) { .smashfix-quote__form { grid-template-columns: 1fr 1fr; } .smashfix-quote__field--wide, .smashfix-quote__field--radio, .smashfix-quote__required-note, .smashfix-quote__actions { grid-column: 1 / -1; } }
.smashfix-quote__required-note { margin: 0; font-size: .9375rem; color: var(--sf-muted); }
.smashfix-quote__field { margin: 0; min-width: 0; }
.smashfix-quote__field > label, .smashfix-quote__field legend { display: block; font-weight: 800; margin-bottom: 6px; }
.smashfix-quote__field--radio { border: 0; padding: 0; }
.smashfix-quote__field--radio label { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; margin-right: 1.25rem; font-weight: 600; cursor: pointer; }
.smashfix-quote input[type="text"], .smashfix-quote input[type="tel"], .smashfix-quote input[type="email"], .smashfix-quote textarea, .smashfix-quote input[type="file"] { width: 100%; min-height: 48px; padding: 10px 14px; border: 2px solid #767676; border-radius: var(--sf-radius); background: #fff; color: var(--sf-text); font: inherit; }
.smashfix-quote input[type="radio"], .smashfix-quote input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--sf-dark); flex: none; }
.smashfix-quote input:focus-visible, .smashfix-quote textarea:focus-visible { border-color: var(--sf-dark); }
.smashfix-quote [aria-invalid="true"] { border-color: #b00020 !important; }
.smashfix-quote__field--consent label { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.smashfix-quote__help { margin: 6px 0 0; font-size: .9375rem; color: var(--sf-muted); }
.smashfix-quote__error { margin: 6px 0 0; color: #b00020; font-weight: 800; font-size: .9375rem; }
.smashfix-quote__notice { padding: 1rem 1.25rem; border-radius: 8px; border-left: 6px solid; margin-bottom: 1.5rem; }
.smashfix-quote__notice p { margin: 0 0 .25rem; }
.smashfix-quote__notice ul { margin: .5rem 0 0; }
.smashfix-quote__notice--success { background: #edf7ef; border-color: #1b7f3b; }
.smashfix-quote__notice--error { background: #fdeeee; border-color: #b00020; }
.smashfix-quote__notice--error a { color: #8a0019; }
.smashfix-quote__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.smashfix-quote__actions .smashfix-btn { width: 100%; font-size: 1.0625rem; min-height: 56px; }
@media (min-width: 700px) { .smashfix-quote__actions .smashfix-btn { width: auto; } }

/* Consent banner */
.smashfix-consent { position: fixed; z-index: 70; left: 16px; right: 16px; bottom: 16px; max-width: 560px; padding: 1.25rem; border-radius: 10px; background: var(--sf-dark); color: var(--sf-on-dark); box-shadow: 0 12px 40px rgba(0,0,0,.35); }
.smashfix-consent[hidden] { display: none; }
.smashfix-consent p { margin: 0 0 .75rem; }
.smashfix-consent a { color: var(--sf-on-dark); }
.smashfix-consent__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.smashfix-consent .smashfix-btn--secondary { color: var(--sf-on-dark); }
@media (max-width: 767px) { .has-mobile-cta .smashfix-consent { bottom: 76px; } }
.smashfix-link-button { background: none; border: 0; padding: 0; min-height: 44px; color: inherit; font: inherit; text-decoration: underline; text-decoration-color: var(--sf-accent-on-dark); cursor: pointer; }

/* ---------- Footer ---------- */
.site-footer { background: var(--sf-dark); color: var(--sf-on-dark-muted); font-size: 0.9375rem; }
.footer-grid { display: grid; gap: 2rem 3rem; padding-block: clamp(3rem, 7vw, 4.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.footer-title { color: var(--sf-on-dark); font-size: 1.125rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1rem; }
.footer-title::after { content: ""; display: block; width: 40px; height: 4px; margin-top: .6rem; background: var(--sf-accent-on-dark); }
.site-footer a { color: var(--sf-on-dark); text-decoration-color: var(--sf-accent-on-dark); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.footer-menu a, .footer-contact a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-ids { margin: 1rem 0 0 !important; font-size: .875rem; }
.footer-note { font-weight: 700; color: var(--sf-on-dark); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 1.5rem; padding-block: .75rem; }
.footer-copy { margin: 0; }
.legal-menu { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.legal-menu a { display: inline-flex; align-items: center; min-height: 44px; }

/* Widgets */
.widget { margin-bottom: 2rem; }
.widget-title { font-size: 1.125rem; }

/* Comments */
.comments { padding-block: 2.5rem; max-width: var(--sf-content); }
.comment-list { padding-left: 0; list-style: none; }
.comment-body { padding: 1rem 0; border-bottom: 1px solid var(--sf-line); }
.comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 2px solid #767676; border-radius: var(--sf-radius); font: inherit; }
.comment-form .submit { min-height: 48px; padding: 0 1.4em; background: var(--sf-accent); color: var(--sf-on-accent); border: 0; border-radius: var(--sf-radius); font: inherit; font-weight: 800; cursor: pointer; }

/* Page links */
.page-links { display: flex; gap: 8px; margin-top: 2rem; }
.page-links a, .page-links > span { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; border: 1px solid var(--sf-line); border-radius: var(--sf-radius); }

@media print {
	.site-header, .site-footer, .mobile-cta, .cta-band, .smashfix-consent, .breadcrumbs { display: none !important; }
	.page-header { background: none; color: #000; border: 0; }
}
