/* SMITH family page (family.php; design »2 · Družina«, 29 Nov 2026). Builds on product.css (hero, crumb, service band)
   and smith.css (tokens, buttons). */
.sf-hero__in { display: flex; flex-wrap: wrap; gap: 28px 56px; align-items: flex-end; justify-content: space-between; padding-top: 40px; padding-bottom: 52px; }
.sf-hero__txt { flex: 1 1 520px; min-width: 0; }
.sf-h1 { font-size: clamp(48px, 6vw, 96px) !important; }
/* One German word at 48 px is wider than a phone (BODENREINIGUNGSMASCHINEN 502 px, SCHERENARBEITSBÜHNEN 429 px): the
   family page slid sideways (1 Dec 2026, all languages on the phone). Hyphenation is not there in every browser (it broke
   as BODENREINIGUNGSM / ASCHINEN), so the size follows the longest word (--sf-w, letters; family.php): an uppercase
   Barlow Condensed letter is 0.44 em wide, measured. A title of short words keeps 48 px. */
.sf-h1 { overflow-wrap: break-word; }
@media (max-width: 700px) {
	.sf-h1[style*="--sf-w"] { font-size: min(48px, calc((100vw - 40px) / (var(--sf-w) * var(--sm-cap-em, .46)))) !important; }
}
.sf-range { display: flex; flex-wrap: wrap; gap: 20px 40px; margin: 0; }
.sf-range div { display: flex; flex-direction: column-reverse; }
.sf-range dt { margin-top: 4px; font-size: 14px; color: #5B646B; }
.sf-range dd { margin: 0; font: 600 40px/1 'Barlow Condensed', sans-serif; color: var(--sm-ink); white-space: nowrap; }
.sf-range dd span { font-size: 20px; color: #5B646B; }

.sf-filter { padding-top: 32px; padding-bottom: 8px; }
.sf-seg { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-seg__b { min-height: 44px; padding: 0 18px; border: 1px solid #C9CFD4; background: #fff; color: var(--sm-ink); font: 600 16px/1 'Barlow', sans-serif; cursor: pointer; }
.sf-seg__b span { margin-left: 6px; color: #5B646B; font-weight: 400; }
.sf-seg__b[aria-pressed="true"] { background: var(--sm-ink); border-color: var(--sm-ink); color: #fff; }
.sf-seg__b[aria-pressed="true"] span { color: #C9D0D5; }
.sf-seg__b:focus-visible { outline: 2px solid var(--sm-red); outline-offset: 2px; }

.sf-grid-w { padding-top: 24px; padding-bottom: 72px; }
.sf-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px 20px; }
.sf-card[hidden] { display: none; }
/* Machine card (Tilen, 30 Nov 2026: »izboljšaj dizajn«): a framed card, the three figures in columns whose VALUES sit on
   one line (labels of two lines used to push their figure up, the dl was column-reverse), a price row with the price to
   pay first, the old price and saving beside it and »View« on the right. */
.sf-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #E3E6E8; transition: border-color .15s, box-shadow .15s; }
.sf-card:hover, .sf-card:focus-within { border-color: var(--sm-ink); box-shadow: 0 12px 28px rgba(5,7,8,.08); }
.sf-card > a { display: flex; flex-direction: column; flex: 1 1 auto; color: var(--sm-ink) !important; text-decoration: none !important; }
.sf-card > a:focus-visible { outline: 2px solid var(--sm-red); outline-offset: 2px; }
.sf-card__st { height: 260px; background: var(--sm-studio); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.sf-card__st img { max-height: 224px; max-width: 84%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; transition: transform .25s ease; }
.sf-card a:hover .sf-card__st img { transform: scale(1.04); }
.sf-card__n { margin: 20px 20px 0; font: 700 28px/1 'Barlow Condensed', sans-serif; text-transform: uppercase; }
.sf-card a:hover .sf-card__n { color: var(--sm-red-text); }
.sf-card__t { margin: 6px 20px 0; font-size: 15px; line-height: 1.35; color: #5B646B; }
.sf-card__nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 16px 20px 0; padding: 14px 0 2px; border-top: 1px solid #E3E6E8; }
.sf-card__nums div { display: flex; flex-direction: column; justify-content: flex-start; min-width: 0; padding: 0 10px; border-left: 1px solid #E3E6E8; }
.sf-card__nums div:first-child { padding-left: 0; border-left: 0; }
.sf-card__nums dd { order: -1; margin: 0; font: 600 23px/1.05 'Barlow Condensed', sans-serif; white-space: nowrap; }
.sf-card__nums dd span { font-size: 14px; color: #5B646B; }
.sf-card__nums dt { margin-top: 5px; font-size: 12.5px; line-height: 1.3; color: #5B646B; }
/* A third of a phone card is 75 px; German labels (»Fahrgeschwindigkeit ohne Last«, »Frischwassertank«) ran into the next
   column and made /de/special-offers/ 2 px wider than the screen (1 Dec 2026, all languages on the phone) */
.sf-card__nums dt { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
.sf-card__price { margin: auto 20px 0; padding: 14px 0 12px; border-top: 1px solid #E3E6E8; }
/* the card's button: the shop's loop »Get a quote or buy« (family.php), full width in SMITH red */
.sf-card__buy { padding: 0 20px 20px; }
.sf-card__buy .button { display: flex !important; align-items: center; justify-content: center; width: 100%; min-height: 48px; margin: 0 !important;
	padding: 0 18px !important; background: var(--sm-red) !important; border: 1px solid var(--sm-red) !important; border-radius: 0 !important;
	color: #fff !important; font: 600 16px/1 'Barlow', sans-serif !important; text-transform: none !important; text-decoration: none !important; }
.sf-card__buy .button:hover, .sf-card__buy .button:focus-visible { background: var(--sm-red-dark) !important; border-color: var(--sm-red-dark) !important; }
.sf-card__buy .button.loading { opacity: .7; }
.sf-card__buy .added_to_cart { display: none !important; }
.sf-card__nums { margin-bottom: 16px; }
.sf-card__p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 15px; color: #3E464D; }
.sf-card__now { font: 700 26px/1 'Barlow Condensed', sans-serif; color: var(--sm-ink); }
.sf-card__was { display: inline-flex; align-items: baseline; gap: 8px; font-size: 14px; }
.sf-card__was del { color: #8A9297; }
.sf-card__off { padding: 2px 6px; background: var(--sm-red); color: #fff; font: 700 12px/1.2 'Barlow', sans-serif; letter-spacing: .02em; }
.sf-card__p del { color: #8A9297; margin-right: 6px; }
.sf-card__p ins { text-decoration: none; }
.sf-card__go { flex: 0 0 auto; font: 600 15px/1 'Barlow', sans-serif; color: var(--sm-red-text); white-space: nowrap; }
.sf-card a:hover .sf-card__go { text-decoration: underline; text-underline-offset: 4px; }

.sf-h2 { color: var(--sm-ink) !important; margin-bottom: 24px !important; }
.sf-types { padding-top: 16px; padding-bottom: 72px; }
.sf-types__g { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.sf-types__g article { background: var(--sm-studio); padding: 24px; border-top: 3px solid var(--sm-red); }
.sf-types__g h3 { font: 700 26px/1 'Barlow Condensed', sans-serif !important; text-transform: uppercase; margin-bottom: 10px !important; color: var(--sm-ink) !important; }
.sf-types__g p { margin: 0; font-size: 16px; line-height: 1.55; color: #3E464D; }
.sf-types__g .sf-types__lim { margin-top: 14px; font-weight: 600; color: var(--sm-ink); }
.sf-types__also { margin: 20px 0 0; font-size: 16px; color: #3E464D; }
.sf-types__also a { color: var(--sm-red-text) !important; font-weight: 600; }

.sf-help { background: var(--sm-black); color: #F2F4F5; }
.sf-help__in { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; padding-top: 64px; padding-bottom: 64px; }
.sf-help__in > div:first-child { flex: 1 1 480px; }
.sf-help .sf-h2 { color: #F2F4F5 !important; margin-bottom: 12px !important; }
.sf-help p { margin: 0; max-width: 620px; font-size: 18px; line-height: 1.55; color: #C9D0D5; }
.sf-help__act { display: flex; flex-wrap: wrap; gap: 12px; }
/* The outlined button on black is white with ink text (smith.css, 0.7.25 »no button is black»). This file loads after
   smith.css, and its old white text made the phone button white on white on every family page (1 Dec 2026, desktop). */
.sf-help .sm-btn--line { color: var(--sm-black, #0E1114) !important; border-color: #fff !important; }

@media (max-width: 700px) {
	.sf-range dd { font-size: 32px; }
	.sf-card__n { font-size: 24px; }
}

/* About and Service pages (page-about.php, page-service.php; designs »6 · O SMITH« and »4 · Servis«, 30 Nov 2026) */
.sx-hero { background: var(--sm-black); color: #F2F4F5; }
.sx-hero .sm-wrap { padding-top: 72px; padding-bottom: 72px; }
.sx-eyebrow { margin: 0 0 16px; font-size: 14px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--sm-red); }
.sx-h1 { margin: 0; max-width: 1000px; font: 700 clamp(40px, 5vw, 72px)/.98 'Barlow Condensed', sans-serif !important; text-transform: uppercase; color: #F2F4F5 !important; text-wrap: balance; }
/* /fi/ about: TEOLLISUUSLAITEYRITYKSEN at 40 px is 414 px on a 328 px phone line, the page slid sideways (2 Dec 2026).
   The size follows the longest word (--sf-w, page-about.php / page-service.php), as the family titles do. */
.sx-h1 { overflow-wrap: break-word; }
.sx-h1[style*="--sf-w"] { font-size: min(clamp(40px, 5vw, 72px), calc((100vw - 40px) / (var(--sf-w) * var(--sm-cap-em, .46)))) !important; }
.sx-lead { margin: 22px 0 0; max-width: 720px; font-size: 19px; line-height: 1.55; color: #C9D0D5; }
.sx-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; padding-top: 64px; padding-bottom: 64px; }
.sx-cards > article, .sx-cards > a { display: flex; flex-direction: column; gap: 10px; padding: 28px; background: var(--sm-studio); border-top: 3px solid var(--sm-red); color: var(--sm-ink) !important; text-decoration: none !important; }
.sx-cards h2 { margin: 0; font: 700 30px/1 'Barlow Condensed', sans-serif !important; text-transform: uppercase; color: var(--sm-ink) !important; }
.sx-cards p { margin: 0; font-size: 17px; line-height: 1.55; color: #3E464D; }
.sx-cards article a, .sx-go { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--sm-red-text) !important; }
.sx-cards > a:hover h2 { color: var(--sm-red-text) !important; }
.sx-n { font: 600 20px/1 'Barlow Condensed', sans-serif; color: var(--sm-red-text); }
.sx-facts-w { background: var(--sm-studio); padding: 64px 0; }
.sx-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 24px; margin: 0 0 36px; }
.sx-facts div, .sx-legal div { display: flex; flex-direction: column-reverse; }
.sx-facts dt { margin-top: 6px; font-size: 15px; color: #5B646B; }
.sx-facts dd { margin: 0; font: 700 56px/1 'Barlow Condensed', sans-serif; color: var(--sm-ink); }
.sx-facts dd span { font-size: 24px; color: #5B646B; }
.sx-legal { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px 24px; margin: 0; padding-top: 24px; border-top: 1px solid #C9CFD4; }
.sx-legal dt { margin-top: 2px; font-size: 13px; color: #5B646B; }
.sx-legal dd { margin: 0; font-size: 16px; font-weight: 600; color: var(--sm-ink); }
.sx-locs { padding-top: 72px; padding-bottom: 32px; }
.sx-locs__g { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.sx-locs__g article { padding: 24px 0; border-top: 1px solid #C9CFD4; }
.sx-locs__g h3, .sx-steps strong { color: var(--sm-ink); }
.sx-locs__g h3 { font: 600 24px/1.1 'Barlow Condensed', sans-serif !important; text-transform: uppercase; margin-bottom: 8px !important; }
.sx-locs__g p { margin: 0; font-size: 17px; line-height: 1.55; color: #3E464D; }
.sx-faq { padding-top: 48px; padding-bottom: 72px; }
.sx-faq details, .sx-terms ul { max-width: 900px; }
.sx-faq details { border-top: 1px solid #E3E6E8; padding: 18px 0; }
.sx-faq details:last-child { border-bottom: 1px solid #E3E6E8; }
.sx-faq summary { cursor: pointer; font: 600 22px/1.2 'Barlow Condensed', sans-serif; text-transform: uppercase; color: var(--sm-ink); }
.sx-faq p { margin: 12px 0 0; font-size: 17px; line-height: 1.6; color: #3E464D; }
.sx-steps-w { background: var(--sm-studio); padding: 64px 0; }
.sx-steps ol { margin: 0; padding: 0; list-style: none; counter-reset: st; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 24px; }
.sx-steps li { counter-increment: st; font-size: 17px; line-height: 1.55; color: #3E464D; }
.sx-steps li::before { content: "0" counter(st); display: block; margin-bottom: 10px; font: 600 22px/1 'Barlow Condensed', sans-serif; color: var(--sm-red-text); }
.sx-steps strong { display: block; font-size: 18px; }
.sx-terms { padding-top: 64px; padding-bottom: 64px; }
.sx-terms ul { margin: 0; padding-left: 20px; font-size: 17px; line-height: 1.7; color: #3E464D; }
.sx-more { margin: 18px 0 0; }
.sx-more a { color: var(--sm-red-text) !important; font-weight: 600; }
