/* Fontit omalta palvelimelta (assets/fonts, OFL-lisenssi), ei Google Fontsista:
   ei erillista yhteytta Googlelle joka sivulla eika kavijatietoa kolmannelle
   osapuolelle (Saksassa Google Fontsin lataus ilman suostumusta on katsottu
   GDPR-rikkomukseksi). Muuttuvat fontit: yksi tiedosto kattaa painot.
   latin riittaa sv/fi/en/de/nb/da-teksteille; latin-ext vain harvoille
   merkeille (ladataan vasta, kun sivulla on sellainen merkki). Tiedostot ovat
   valimuistissa vuoden (immutable), joten fontin vaihtuessa nimeksi uusi. */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
    src: url("../fonts/inter-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
    src: url("../fonts/inter-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Playfair Display";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/playfair-display-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Playfair Display";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/playfair-display-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


:root {
    --brand-accent: #B49E6E;
/*     --brand-light: #E5E1D9; */
    --brand-light: #f3f3f3;
    --brand-dark: #1E1D1B;
    --brand-warning: #8A5A00;
    --brand-danger: #8A2525;
    --brand-success: #2F6B47;
    /* Faint hairline outlines for icon circles (buttons/arrows). */
    --icon-border: rgba(30, 29, 27, 0.22);
    --icon-border-inverse: rgba(243, 243, 243, 0.32);
    /* Minimal scrollbar (matches the portal's wrapper scroll). */
    --scrollbar-thumb: rgba(27, 27, 27, 0.34);
    --scrollbar-thumb-hover: rgba(27, 27, 27, 0.5);
    --surface-page-wash:
        radial-gradient(136rem 60rem at 4% 8%, rgba(228, 212, 186, 0.34) 0%, rgba(228, 212, 186, 0.14) 24%, rgba(228, 212, 186, 0) 62%),
        radial-gradient(124rem 56rem at 96% 12%, rgba(191, 210, 224, 0.18) 0%, rgba(191, 210, 224, 0.08) 22%, rgba(191, 210, 224, 0) 58%),
        radial-gradient(118rem 54rem at 16% 100%, rgba(201, 216, 201, 0.14) 0%, rgba(201, 216, 201, 0.06) 24%, rgba(201, 216, 201, 0) 60%),
        linear-gradient(180deg, #f6f1ea 0%, #f3f3f3 24%, #f2f0ec 100%);
    --surface-light-accent-beige:
        radial-gradient(104rem 34rem at 18% 24%, rgba(224, 204, 173, 0.28) 0%, rgba(224, 204, 173, 0.11) 26%, rgba(224, 204, 173, 0) 66%),
        radial-gradient(96rem 34rem at 82% 74%, rgba(194, 210, 199, 0.12) 0%, rgba(194, 210, 199, 0.04) 28%, rgba(194, 210, 199, 0) 68%);
    --surface-light-accent-breeze:
        radial-gradient(102rem 34rem at 88% 18%, rgba(189, 209, 224, 0.2) 0%, rgba(189, 209, 224, 0.08) 24%, rgba(189, 209, 224, 0) 62%),
        radial-gradient(92rem 32rem at 12% 82%, rgba(227, 212, 188, 0.2) 0%, rgba(227, 212, 188, 0.08) 28%, rgba(227, 212, 188, 0) 66%);
    --surface-light-accent-sage:
        radial-gradient(100rem 34rem at 100% 20%, rgba(194, 213, 198, 0.22) 0%, rgba(194, 213, 198, 0.08) 24%, rgba(194, 213, 198, 0) 62%),
        radial-gradient(88rem 30rem at 0% 74%, rgba(222, 205, 179, 0.16) 0%, rgba(222, 205, 179, 0.06) 30%, rgba(222, 205, 179, 0) 68%);
    --surface-dark-overlay-large:
        radial-gradient(160% 140% at 100% 0%, rgba(180, 158, 110, 0.06) 0%, rgba(180, 158, 110, 0.025) 18%, rgba(180, 158, 110, 0) 50%);
    --surface-dark-overlay-control:
        radial-gradient(120% 140% at 100% 0%, rgba(180, 158, 110, 0.12) 0%, rgba(180, 158, 110, 0.055) 18%, rgba(180, 158, 110, 0) 52%);

    /* Hieno kohina (dither) liukuvarien paalle: 8-bittinen vari ei riita pehmeaan
       liukuun tummilla pinnoilla, ja raidat nakyivat selvasti. */
    --surface-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

    --font-text: "Inter", sans-serif;
    --font-title: "Playfair Display", serif;
    --max-width: calc(100% - 200px);
    --width: 2000px;
    --padding: 1.5rem;
    --header-height: 87px;
    --header-shell-bleed: 2rem;
}


/* Reset */
html,
body {
    overflow-x: clip;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Kulmamuoto: hillitty jatkuva superellipsi kaikkiin pyöristyksiin selaimissa,
   jotka tukevat sitä (muut näyttävät tavallisen pyöristyksen). Poikkeuksetta,
   myös pillerit, ympyrät, profiilikuvat ja pisteet: pyöreä muoto
   superellipsin vieressä tai sisällä näyttää epäsiistiltä. */
@supports (corner-shape: superellipse(1.5)) {
    *,
    *::before,
    *::after {
        corner-shape: superellipse(1.5);
    }
}

body {
    background-color: var(--brand-light);
    background-image: var(--surface-page-wash);
    color: var(--brand-dark);
    font-family: var(--font-text);
}

/* Verkkokaupassa suodatus muuttaa sivun pituutta, ja kun taustapesu maalataan
   body-laatikon yli, lyhyempi sivu venyttää gradientin uusiksi - taustaväri
   näyttää vaihtuvan. Kiinnitetään pesu ikkunaan omalle kerrokselleen, jolloin
   sen mitat eivät riipu sisällön määrästä lainkaan. */
.shop-page-body {
    background-image: none;
}

.shop-page-body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: var(--surface-page-wash);
    pointer-events: none;
    z-index: -1;
}

.equipment,
.why-section,
.quote-section,
.gallery-section,
.package-section,
.service-landing-hero,
.service-contact-shell {
    position: relative;
    isolation: isolate;
    overflow: visible;
}

.equipment,
.package-section,
.service-landing-hero {
    --light-section-wash: var(--surface-light-accent-beige);
}

.why-section,
.gallery-section {
    --light-section-wash: var(--surface-light-accent-breeze);
}

.service-contact-shell {
    --light-section-wash: var(--surface-light-accent-sage);
}

.equipment::before,
.why-section::before,
.gallery-section::before,
.package-section::before,
.service-landing-hero::before,
.service-contact-shell::before {
    content: "";
    position: absolute;
    top: -9rem;
    bottom: -9rem;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background-image: var(--light-section-wash);
    background-repeat: no-repeat;
    opacity: 0.95;
    pointer-events: none;
    z-index: -1;
}

/* Vaalean osion tausta ulottuu 9rem yli reunojen, jotta vaaleat osiot sulautuvat
   toisiinsa. Tumman osion vieressa se piirtyi tumman paalle ja teki sen reunaan
   selvan vaaleamman raidan: rajataan omaan reunaan sillä puolella. */
.dark-section + :is(.equipment, .why-section, .gallery-section, .package-section, .service-landing-hero, .service-contact-shell, .quote-section)::before {
    top: 0;
}

:is(.equipment, .why-section, .gallery-section, .package-section, .service-landing-hero, .service-contact-shell, .quote-section):has(+ .dark-section)::before {
    bottom: 0;
}

h2,
h3 {
    font-weight: 500;
}


/* Layout wrappers */
.container {
    width: var(--width);
    max-width: var(--max-width);
    
    margin: 0 auto;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition:
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        padding-top 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.header.is-hidden {
    transform: translateY(calc(-100% - 1rem));
}

/* Kolmen sarakkeen grid: vasen – keskellä – oikea */
.header-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    position: relative;
    padding: 2rem 0;
}

.header-grid::before {
    content: "";
    position: absolute;
    top: 0;
    right: calc(var(--header-shell-bleed) * -1);
    bottom: 0;
    left: calc(var(--header-shell-bleed) * -1);
    border: 1px solid transparent;
    border-radius: 1.5rem;
    background: transparent;
    backdrop-filter: blur(0);
    box-shadow: none;
    opacity: 0;
    pointer-events: none;
    transition:
        border-color 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        background-color 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        backdrop-filter 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.header-grid > * {
    position: relative;
    z-index: 1;
}

.header.is-scrolled {
    padding-top: 2rem;
}

.header.is-scrolled .header-grid::before {
    border-color: rgba(20, 20, 20, 0.08);
    background: rgba(247, 245, 239, 0.88);
    backdrop-filter: blur(18px);
    box-shadow: 0 14px 34px rgba(20, 20, 20, 0.08);
    opacity: 1;
}

.header.is-scrolled .nav-left a,
.header.is-scrolled .nav-right a,
.header.is-scrolled .nav-menu-button,
.header.is-scrolled .lang-button {
    color: rgba(20, 20, 20, 0.9);
    opacity: 1;
}

.header.is-scrolled .lang-button img,
.header.is-scrolled .header-logo img {
    opacity: 1;
}

.header.is-top {
    padding-top: 0;
}

.header.is-top .header-grid::before {
    border-color: transparent;
    background: transparent;
    backdrop-filter: blur(0);
    box-shadow: none;
    opacity: 0;
}

.header.is-lang-open .header-grid::before,
.header.is-header-panel-open .header-grid::before {
    border-color: transparent;
    background: transparent;
    backdrop-filter: blur(0);
    box-shadow: none;
    opacity: 0;
}

/* When the mobile menu is open it also carries is-scrolled, so keep the solid
   header background visible (overrides the transparent rule above). */
.header.is-header-panel-open.is-scrolled .header-grid::before {
    border-color: rgba(20, 20, 20, 0.08);
    background: rgba(247, 245, 239, 0.88);
    backdrop-filter: blur(18px);
    box-shadow: 0 14px 34px rgba(20, 20, 20, 0.08);
    opacity: 1;
}

@media (max-width: 1100px) {
    :root {
        --header-shell-bleed: 1rem;
    }

    .header-grid::before {
        left: calc(var(--header-shell-bleed) * -1);
        right: calc(var(--header-shell-bleed) * -1);
    }

    .header.is-scrolled {
        padding-top: 1rem;
    }
}

@media (max-width: 700px) {
    :root {
        --header-shell-bleed: 0.75rem;
    }

    .header-grid::before {
        left: calc(var(--header-shell-bleed) * -1);
        right: calc(var(--header-shell-bleed) * -1);
        border-radius: 1.2rem;
    }

    .header.is-scrolled {
        padding-top: 0.75rem;
    }
}

.nav-left, .nav-right {
    display: flex;
    gap: 2rem;
}

/* Oikea navigaatio tasataan oikealle */
.nav-right {
    justify-content: flex-end;
}

/* Linkkityylit headerissä ja kielivalikossa yhteneväiset */
.nav-left a,
.nav-right a,
.nav-menu-button,
.lang-options a {
    font-weight: 500;
    font-family: var(--font-text);
    font-size: 1rem;
    color: var(--brand-dark);
    text-decoration: none;
    position: relative;
    opacity: 0.8;
}

.nav-menu-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Hover efekti */
.nav-left a:hover,
.nav-right a:hover,
.nav-menu-button:hover,
.lang-options a:hover,
.menu-button:hover {
    opacity: 1;
}

/* Alleviivaus animaatio */
.nav-left a::after,
.nav-right a::after,
.nav-menu-button::after,
.lang-options a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 1px;
    background: var(--brand-accent);
    transition: width 0.3s ease;
}

.nav-left a:hover::after,
.nav-right a:hover::after,
.nav-menu-button:hover::after,
.lang-options a:hover::after {
    width: 100%;
}


/* Logo keskelle ilman absolute */
.header-logo img {
    height: 42px;
    width: auto; /* img:ssa width/height-attribuutit (CLS), CSS maaraa koon */
    display: block;
    transition: height 0.3s ease;
}

/* Shrink the mark a touch once the header condenses on scroll. */
.header.is-scrolled .header-logo img {
    height: 32px;
}

:root {
    --header-height: 80px; /* päivitetään JS:llä */
}

/* Globe nappi */
.lang-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.lang-button img {
    height: 20px;
    width: 20px;
    opacity: 0.9;
}

.lang-button:hover img {
    opacity: 0.6;
}

/* Mobile hamburger toggle (hidden on desktop, shown via the 900px breakpoint) */
.nav-mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    margin-left: auto;
    border: 1px solid var(--icon-border);
    border-radius: 50rem;
    background: transparent;
    cursor: pointer;
}

.nav-toggle-icon {
    display: block;
    width: 18px;
    height: 18px;
}

/* Swap the menu icon for the close icon while the slide-down menu is open */
.nav-toggle-icon--close {
    display: none;
}
.header.is-header-panel-open .nav-toggle-icon--menu {
    display: none;
}
.header.is-header-panel-open .nav-toggle-icon--close {
    display: block;
}

/* Koko näytön overlay sisällön päällä, headerin alla */
.header-overlay {
    position: fixed;
    inset: 0;
    z-index: 900; /* alle headerin, yli muun sisällön */
    overflow-y: auto;
    background: linear-gradient(180deg, rgba(12, 12, 12, 0.18) 0%, rgba(12, 12, 12, 0.08) 18%, rgba(12, 12, 12, 0) 42%);

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

/* Paneli jossa itse valitsin */
.header-panel {
    width: 100%;
    max-width: none;
    margin: 0;
    transform: translateY(-2rem);
    opacity: 0;
    transition:
        transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.24s ease;
}

.header-panel-inner {
    background: rgba(247, 245, 239, 0.96);
    backdrop-filter: blur(22px);
    box-shadow: 0 24px 46px rgba(0,0,0,0.18);
    border: 1px solid rgba(20, 20, 20, 0.08);
    border-top: none;
    border-radius: 0 0 1.5rem 1.5rem;
    padding: calc(var(--header-height) + 1.75rem) 0 3rem;
}

/* Auki */
.header-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.header-overlay.active .header-panel {
    transform: translateY(0);
    opacity: 1;
}

/* Korostetaan että kielimenu todella slaidaa ylhÃ¤Ã¤ltÃ¤ alas */
.header-overlay {
    visibility: hidden;
    transition:
        opacity 0.34s ease,
        visibility 0s linear 0.5s;
}

.header-panel {
    transform: translateY(calc(-100% - 2.5rem));
    opacity: 1;
    will-change: transform;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.header-overlay.active {
    visibility: visible;
    transition-delay: 0s;
}

/* Otsikko */
.header-panel-view h3 {
    font-family: var(--font-title);
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    color: var(--brand-dark);
}

.header-panel-inner > * {
    width: var(--width);
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
}

.header-panel-views {
    display: grid;
}

.header-panel-view {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.24s ease;
}

.header-panel-view.active {
    opacity: 1;
    pointer-events: auto;
}

/* Näkyvyys palautetaan vasta kun overlay on auki. Muuten oletuksena "active"
   oleva tuotepaneeli kumoaisi overlayn visibility:hiddenin, jolloin sen linkit
   jäisivät tab-järjestykseen vaikka valikko on kiinni (aria-hidden + focusable). */
.header-overlay.active .header-panel-view.active {
    visibility: visible;
}

.header-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 248px));
    justify-content: start;
    gap: 1.1rem 1.25rem;
    max-width: min(100%, 54rem);
}

.header-product-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--brand-dark);
    text-decoration: none;
}

.header-product-card-image {
    aspect-ratio: 1.42 / 1;
    overflow: visible;
    border-radius: 0.8rem;
}

.header-product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
    transition: opacity 0.24s ease;
}

.header-product-card-name {
    font-family: var(--font-title);
    font-size: 1.05rem;
    line-height: 1.12;
    text-align: center;
}

.header-product-card:hover .header-product-card-image img {
    opacity: 0.9;
}

/* Crossbuss konfiguraattorin kanssa: kuva, nimi ja sen alla kaksi pienta
   alleviivattua tekstipainiketta (Bygg din / Las mer). */
.header-product-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.header-product-tile-media {
    display: block;
    width: 100%;
    aspect-ratio: 1.42 / 1;
}

.header-product-tile-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: opacity 0.24s ease;
}

.header-product-tile-media:hover img {
    opacity: 0.9;
}

.header-product-tile-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
}

/* Sama nimityyli kuin etusivun Crossbuss-kortissa. */
.header-product-tile .header-product-card-name {
    font-family: var(--font-text);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: -0.005em;
}

.header-product-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.3rem 1.1rem;
}

.header-product-links a {
    color: var(--brand-dark);
    font-size: 0.88rem;
    text-decoration: underline;
    text-decoration-color: rgba(180, 158, 110, 0.75);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.3em;
    transition: text-decoration-color 0.2s ease;
}

.header-product-links a:hover {
    text-decoration-color: var(--brand-dark);
}

/* Servicebil-kuva (korkea Stor skåpbil) näyttää muuten isommalta kuin
   Crossbuss vieressä; pienennetään kuvaa, ei korttia. */
.header-product-card--servicevans .header-product-card-image img {
    transform: scale(0.85);
}

/* Two-level mobile menu: level-1 list of sections + back button.
   The level-1 menu view and the back button are mobile-only. */
.header-menu-list {
    display: flex;
    flex-direction: column;
}

.header-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1.15rem 0;
    border: 0;
    border-bottom: 1px solid rgba(20, 20, 20, 0.1);
    background: transparent;
    color: var(--brand-dark);
    font-family: var(--font-title);
    font-size: 1.5rem;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

/* Circular chevron icon shared by every mobile-menu row + product card,
   matching the other icon circles (faint hairline border). */
.menu-chevron {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50rem;
    border: 1px solid var(--icon-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.menu-chevron img {
    width: 18px;
    height: auto;
    display: block;
}

/* Product cards only show the chevron in the mobile menu (row layout). */
.header-product-card .menu-chevron {
    display: none;
}

/* Mobile header back-arrow (left side, same row as the close X). Hidden on
   desktop and only shown while the products sub-page is open. */
.nav-mobile-back {
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--icon-border);
    border-radius: 50rem;
    background: transparent;
    color: var(--brand-dark);
    cursor: pointer;
}

.nav-mobile-back-chevron {
    width: 18px;
    height: auto;
    display: block;
}

.header.is-scrolled .nav-mobile-back {
    color: rgba(20, 20, 20, 0.9);
}

@media (min-width: 901px) {
    .header-panel-view--menu {
        display: none;
    }
}

/* Maa ja kielet */
.country-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 4rem;
}

.country-item {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.country-name {
    font-family: var(--font-title);
    font-size: 1.4rem;
    color: var(--brand-dark);
}

.lang-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.4rem;
}

.lang-options a:hover::after {
    width: 100%;
}

/* Responsiivisuus */
@media (max-width: 900px) {
    .country-list {
        grid-template-columns: 1fr;
    }

    .header-panel-inner {
        padding: calc(var(--header-height) + 1.25rem) 0 2.5rem;
    }

    .header-products-grid {
        grid-template-columns: 1fr;
    }
}

/* Page layout */
.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content {
    flex: 1;
}

:root {
    /* ── TYPE SCALE ────────────────────────────────────────────────
       Single source of truth for font sizes. Each is fluid: it grows
       from the phone size (min) to the desktop size (max). To tune a
       size everywhere, edit the min/max on ONE line below.
       clamp(MIN = phone, PREFERRED = how it scales, MAX = desktop)   */
    --fs-display: clamp(3.6rem, 6vw, 6.5rem);              /* page hero H1 ~58px (mobile) → 104px */
    --fs-h1:      clamp(2rem,    1rem  + 4.4vw,   3.4rem);  /* page H1   ~32 → 54px */
    --fs-h2:      clamp(1.85rem, 1rem  + 4.3vw,   3.2rem);  /* section   ~30 → 51px */
    --fs-h3:      clamp(1.4rem,  0.85rem + 3.1vw, 2.5rem);  /* sub-head  ~24 → 40px */
    --fs-h4:      clamp(1rem,    0.92rem + 0.4vw, 1.2rem);  /* small head (Inter) ~16 → 19px */
    --fs-quote:   clamp(1.7rem,  0.85rem + 4.4vw, 3rem);    /* big quote ~28 → 48px */
    --fs-lead:    clamp(1.05rem, 0.92rem + 0.9vw, 1.375rem);/* lead text ~17 → 22px */
    --fs-body-lg: clamp(1.05rem, 0.98rem + 0.45vw, 1.2rem);/* large body ~17 → 19px */
    --fs-body:    1rem;                                     /* body       16px */
    --fs-small:   0.9rem;                                   /* small     ~14px */
    --fs-tag:     0.875rem;                                 /* tags/eyebrow 14px */

    /* Section headings (equipment, why, dark, package, …) follow H2. */
    --section-heading-size: var(--fs-h2);
    --section-heading-line-height: 1.05;
    --section-heading-letter-spacing: -0.04em;
}

/* Hero yleiset */
.hero {
    padding: 10rem 0 0 0;
}

.hero-title {
    font-family: var(--font-title);
    font-size: var(--fs-display);
    color: var(--brand-dark);
    margin-bottom: 2rem;
}

/* All page hero H1s share the same big --fs-display scale. The two-class
   selectors out-specify the legacy single-class .hero-title px breakpoints. */
.hero-title.home-page-title,
.hero-title.about-page-title {
    font-size: var(--fs-display);
}

.home-hero-title {
    max-width: 11ch;
    line-height: 1.03;
    letter-spacing: -0.05em;
}

.home-hero-title-line {
    display: flex;
    flex-wrap: wrap;
    gap: 0 0.28ch;
}

.home-hero-title-line--break {
    display: block;
}

.home-hero-title-word {
    font-weight: 300;
}

.home-hero-title-word em {
    font-style: italic;
    font-weight: 300;
}

.h1-first {
    text-transform: none;
    font-weight: 300;
}

/* Your italic */
.h1-second em {
    font-style: italic;
    font-weight: 300;
}

/* Ride bold */
.h1-third strong {
    font-weight: 700;
    font-style: normal;
}

/* with style normaalina */
.h1-rest {
    font-weight: 300;
}

/* piste tehostevärillä */
.h1-dot {
    color: var(--brand-accent);
    font-weight: 700;
}

.hero-text {
    font-family: var(--font-text);
    font-size: var(--fs-lead);
    max-width: 600px;
    margin-bottom: 2rem;
    color: var(--brand-dark);
}

/* Erikoisnappi ulkokehys */
.hero-button {
    display: flex;
}

.hero-button-inner {
    display: flex;
    border: 1px solid var(--brand-dark);
    /* Oletus kaartaa napin (22px) + paddingin (3.2px) verran, jolloin kehys
       myötäilee sisältöä myös silloin kun napit rivittyvät tai pinoutuvat
       (myyjä- ja pakettikortit). Täysi pilleri vain yksirivisessä herossa
       alla — muuten kaari kasvaisi korkeuden mukana ja leikkaisi sisällön. */
    border-radius: 1.6rem;
    padding: 0.2rem;
    gap: 1rem;
}

/* Hero-pilleri (etusivu + tuotesivu) on aina yksi rivi: avatarit ja
   "Kontakta oss" vierekkäin. Siellä täysi pilleri on oikein, eikä päätyihin
   jää suoraa aluetta. */
.home-page-actions .hero-button-inner,
.product-hero-cta .hero-button-inner {
    border-radius: 50rem;
}

/* Nappia kehystävät kuvat */
.hero-images {
    display: flex;
    align-items: center;
}

.hero-images img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 50rem;
    border: 2px solid #f0eae0;
    margin-left: -10px;
}

/* Kuva voi olla <picture>-kaareessa (AVIF + WebP Googlelle): ensimmainen
   kuva on silloin rivin ensimmaisen picturen sisalla. */
.hero-images > img:first-child,
.hero-images > picture:first-child > img {
    margin-left: 0;
}

/* AVIF-kuvat ovat <picture>-kaareessa (carcon_picture_markup, functions.php),
   jotta Google Images saa WebP-kuvan. Kaare ei saa muuttaa asettelua: kuva
   asettuu kuin se olisi suoraan vanhempansa lapsi. */
picture {
    display: contents;
}

/* Ota yhteyttä nappi */
.cta-button {
    height: 44px;
    /* Keep the height when used as a flex item with flex-basis:0 (e.g. column
       layout on mobile), where `height` alone gets overridden and the button
       shrinks to its content. */
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--brand-dark);
    /* Sama täysi pyöristys kuin kehyksellä ja kuvilla: 1.3rem (20.8px) jätti
       44px korkeaan nappiin suoran pätkän päätyihin. */
    border-radius: 50rem;
    background: transparent;
    padding: 0 1.2rem;
    font-size: 0.95rem;
    cursor: pointer;
    font-family: var(--font-text);
    color: var(--brand-dark);
    text-decoration: none;
}

.cta-button:hover {
    opacity: 0.75;
}

/* Nuoli (arrow_light_right.svg) ei sieppaa klikkausta napilta. */
.cta-button svg,
.cta-button > img {
    pointer-events: none;
    flex-shrink: 0;
}

.hero-slideshow {
    margin-top: 10rem;
    width: 100%;
    height: 680px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
}

.hero-slideshow .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slideshow .slide.active {
    opacity: 1;
}

.hero-slideshow img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Autovarustelut osio */
.equipment {
    /* Ennen 10em ylhaalla ja alhaalla: osioiden valiin jai tyopoydalla ~350 px tyhjaa. */
    padding: clamp(4rem, 8vw, 7rem) 0;
}

.equipment-header {
    margin-bottom: 5rem;
}

.equipment-header h2,
.equipment-title,
.why-title,
.dark-headline,
.package-title,
.gallery-modal-title,
.footer-contact-title {
    font-family: var(--font-title);
    font-size: var(--section-heading-size);
    line-height: var(--section-heading-line-height);
    letter-spacing: var(--section-heading-letter-spacing);
    font-weight: 500;
}

.equipment-header h2,
.equipment-title,
.why-title,
.package-title,
.gallery-modal-title {
    color: var(--brand-dark);
}

.dark-headline,
.footer-contact-title {
    color: var(--brand-light);
}

.equipment-header h2 {
    margin-bottom: 0.5rem;
}

.equipment-header p {
    font-family: var(--font-text);
    color: var(--brand-dark);
    font-size: 0.98rem;
}

/* Slider runko */
.equipment-slider {
    position: relative;
}

.equipment-slides {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.equipment-slides-track {
    display: flex;
    transition: transform 0.6s ease;
}


/* Carousel item: each card is its OWN slide. Shows 1 per view on phones, 2 on
   tablets, 3 on desktop; the track shifts by one full view (page) at a time.
   Padding gives the gap between cards without breaking the % translate math. */
.equipment-slide {
    /* flex-basis (not min-width) so a section with a SINGLE card keeps the same
       per-view width as a full section instead of stretching to fill the track. */
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 0.75rem;
}

@media (min-width: 600px) {
    .equipment-slide { flex-basis: 50%; max-width: 50%; }
}

@media (min-width: 900px) {
    .equipment-slide { flex-basis: 33.3333%; max-width: 33.3333%; }
}

/* Kortit */
.equipment-card {
    display: block;
    text-align: left;
    color: inherit;
    text-decoration: none;
}

/* Etusivun Crossbuss (konfiguraattori julkaistuna): kuten valikon kortti,
   kuva ylla ja sen alla nimi, kuvaus ja tekstipainikkeet keskella. */
.equipment-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Nimi groteskilla keskipaksuna: serif jaa osion otsikolle (selkea hierarkia). */
.equipment-tile-title {
    margin: 0.9rem 0 0;
    font-family: var(--font-text);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: -0.005em;
    line-height: 1.1;
    color: var(--brand-dark);
}

.equipment-tile-tagline {
    max-width: 30rem;
    margin: 0.3rem 0 0;
    text-wrap: balance;
    color: rgba(30, 29, 27, 0.68);
    font-size: 0.95rem;
}

/* Samat alleviivatut tekstipainikkeet kuin valikossa (.header-product-links). */
.equipment-tile-actions {
    margin-top: 0.75rem;
    /* Karusellin overflow:hidden leikkasi alleviivauksen kortin alareunasta. */
    padding-bottom: 0.5rem;
}

.equipment-tile-actions a {
    font-size: 0.95rem;
}

.equipment-tile .equipment-card {
    width: 100%;
}

.equipment-card--text {
    border: 1px solid var(--brand-dark);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.88);
    padding: 1.2rem 1.15rem 1.25rem;
    height: 100%;
}

.equipment-copy {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.equipment-image {
    border-radius: 1rem;
    overflow: hidden;
}

.equipment-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Reservera bildrutan innan bilden har kommit. Utan detta är höjden noll tills
   filen laddats: kortet står tomt en stund och hoppar sedan till full höjd.
   Den svaga bakgrunden gör väntan till en lugn platshållare i stället för ett
   hål i kortet.

   Egen modifierare, INTE på .equipment-image rakt av: startsidan och
   återförsäljarsidan använder samma klass med panoramabilder (2,06:1), och ett
   påtvingat 1/1 där hade beskurit dem hårt. Modifieraren sätts bara där
   bilderna faktiskt är kvadratiska - produktsidans varu-, lastrums- och
   exteriörkaruseller (kontrollerat: alla 17 filerna är 1254x1254). */
.equipment-image--square {
    aspect-ratio: 1 / 1;
    background: rgba(14, 16, 18, 0.04);
}

.equipment-image--square img {
    height: 100%;
}

.equipment-name {
    margin-top: 0.75rem;
    margin-bottom: 1em; /* sama kuin h3:n oletus, myos h2-korteilla (dealers.php) */
    font-family: var(--font-text);
    font-size: 1rem;
    color: var(--brand-dark);
    text-align: center;
}

.equipment-name--text {
    margin-top: 0;
    text-align: left;
    font-family: var(--font-title);
    font-size: 1.35rem;
    line-height: 1.12;
}

.equipment-copy-text {
    margin-top: 0.85rem;
    font-family: var(--font-text);
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(20, 20, 20, 0.8);
}

/* Ohjauspaneeli */
.equipment-controls {
    margin-top: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

/* Nuoli nappi */
.equipment-arrow {
    width: 38px;
    height: 38px;
    /* Nuoli on aina pallo: ilman tätä flex kutistaa sen soikioksi, kun
       indikaattoripalloja on paljon (puhelimella leveys valui 38px -> 23px). */
    flex-shrink: 0;
    border-radius: 50rem;
    border: 1px solid var(--icon-border);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--brand-dark);
}

.equipment-arrow:hover {
    opacity: 0.7;
}

/* Indikaattorit */
.equipment-indicators {
    display: flex;
    align-items: center;
    /* Ei väliä: pisteet ovat 24x24 kosketusalueita, joten pilkut pysyvät
       visuaalisesti yhtä tiheässä kuin ennen (8px piste + 16px ilmaa). */
    gap: 0;
}

/* Nappi on 24x24 (WCAG-kosketusalue), mutta näkyvä piste on yhä 8px ja
   piirretään ::after-elementillä keskelle. */
.equipment-dot {
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    position: relative;
}

.equipment-dot::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--brand-dark);
    border-radius: 50rem;
}

/* Pisteitä näkyy enintään 7 (app.js); reunapiste, jonka takana on lisää,
   on pienempi. */
.equipment-dot.is-edge::after {
    width: 5px;
    height: 5px;
}

.equipment-dot.active {
    background: none;
}

/* Aktiivisen pisteen kehä (ennen inset:-4px 8px:n pisteen ympärillä = 16x16). */
.equipment-dot.active::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border: 1px solid var(--brand-dark);
    border-radius: 50rem;
}

/* Tumma section yleinen */
.dark-section {
    position: relative;
    z-index: 0;
    isolation: isolate;
    padding: 10rem 0;
    color: var(--brand-light);
}

.dark-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background:
        radial-gradient(180rem 104rem at -16% -22%, rgba(68, 64, 60, 0.32) 0%, rgba(68, 64, 60, 0.16) 28%, rgba(68, 64, 60, 0.07) 54%, rgba(68, 64, 60, 0.02) 72%, rgba(68, 64, 60, 0) 86%),
        radial-gradient(158rem 96rem at 116% 114%, rgba(180, 158, 110, 0.08) 0%, rgba(180, 158, 110, 0.045) 24%, rgba(180, 158, 110, 0.015) 46%, rgba(180, 158, 110, 0) 72%),
        radial-gradient(110rem 58rem at 52% -10%, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.008) 26%, rgba(255, 255, 255, 0) 62%),
        linear-gradient(180deg, #242220 0%, #1E1D1B 100%);
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: -1;
}

.dark-block + .dark-block {
    margin-top: 10rem;
}

/* Tag otsikko */
.tag-title {
    font-family: var(--font-text);
    color: var(--brand-accent);
    letter-spacing: 0;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    text-transform: none;
}

/* Kolmen kortin rivi */
.three-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

/* Kortti */
.service-card {
    padding: 1rem 0;
}

.card-number {
    font-size: 2.4rem;
    font-family: var(--font-title);
    color: var(--brand-accent);
    display: block;
    margin-bottom: 0.6rem;
}

.card-title {
    font-family: var(--font-title);
    /* Astetta pienempi kuin osion otsikko (.section-heading, --fs-h2). */
    font-size: var(--fs-h3);
    margin-bottom: 0.6rem;
}

.card-text {
    color: var(--brand-light);
    font-family: var(--font-text);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
}

/* Nappi kortin alla */
.card-button {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: var(--font-text);
    font-size: 1rem;
    color: var(--brand-light);
    text-decoration: none;
}

.card-button:hover {
    opacity: 0.8;
}

/* Nuoli ympyrässä */
.arrow-circle {
    width: 40px;
    height: 40px;
    border: 1px solid var(--icon-border-inverse);
    border-radius: 50rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-circle svg {
    color: var(--brand-light);
}

.arrow-circle-light {
    width: 40px;
    height: 40px;
    border: 1px solid var(--icon-border);
    border-radius: 50rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-circle-light svg {
    color: var(--brand-dark);
}

/* Toinen osio */
.dark-headline {
    margin-bottom: 2rem;
}

/* Ota yhteyttä tumma nappi */
.cta-dark {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--brand-light);
    font-family: var(--font-text);
    font-size: 1.1rem;
    text-decoration: none;
}

.cta-dark, .cta-light:hover {
    opacity: 0.75;
}

.cta-light {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--brand-dark);
    font-family: var(--font-text);
    font-size: 1.1rem;
    text-decoration: none;
}


/* Why Choose Carcon - vaalea sectio */
.why-section {
    padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.why-title {
    margin-bottom: 4rem;
}

.why-first {
    text-transform: none;
}

.why-second em {
    font-style: italic;
}

.why-third {
    font-weight: 500;
}

/* Listan rakenne */
.why-list {
    position: relative;
}

.why-item {
    position: relative;
    display: grid;
    /* Ilman jarjestysnumeroa (01, 02 ...): sisalto ja nuoli. */
    grid-template-columns: 1fr auto;
    /* Breathing room between the content / arrow columns — shared by
       every why-list (home reasons + product FAQ) so they look consistent. */
    column-gap: 0.75rem;
    /* Collapsed rows: vertically center the heading with the number/arrow. */
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.15);
    cursor: pointer;
    overflow: visible;
}

/* Expanded rows top-align so the number sits next to the heading, not the
   vertical middle of the revealed text. */
.why-item.active {
    align-items: flex-start;
}
/* Otsikot aina luettavia (ennen 40 % haaleita); vain nuoli himmea kunnes rivi on auki. */
.why-arrow .arrow-circle,
.why-arrow img {
    opacity: 0.45;
    transition: opacity 0.25s ease;
}

/* Hover tai active → täysi näkyvyys */
.why-item:hover .why-number,
.why-item:hover .why-heading,
.why-item:hover .why-text,
.why-item:hover .why-arrow .arrow-circle,
.why-item:hover .why-arrow img,
.why-item.active .why-number,
.why-item.active .why-heading,
.why-item.active .why-text,
.why-item.active .why-arrow .arrow-circle,
.why-item.active .why-arrow img {
    opacity: 1;
}

/* Numerot */
.why-number {
    font-family: var(--font-title);
    font-size: 2.5rem;
    color: var(--brand-accent);
    line-height: 1;
}

/* Otsikko ja esiteksti */
.why-heading {
    font-family: var(--font-text);
    /* Inter is visually larger/heavier than the title face, so step the size down. */
    font-size: var(--fs-h4);
    font-weight: 500;
}

.why-content {
    padding-right: 380px;
}

.why-text {
    font-family: var(--font-text);
    font-size: 1rem;
    color: var(--brand-dark);
    /* Heading→text gap lives here (only rendered when the intro is shown), so the
       heading itself carries no trailing margin when the item is collapsed.
       Matches the product-page FAQ heading→answer gap (1.1rem). */
    margin-top: 1.1rem;
    margin-bottom: 1rem;
}

/* In the why-section the intro text is hidden by default and only shown for the
   open (active) item, so collapsed items show just the heading. */
.why-section .why-text {
    display: none;
}

.why-section .why-item.active .why-text {
    display: block;
}

/* Lisäteksti (piilotettu). Collapsed state + transition live here (not as inline
   styles set by JS) so every why-more shares them; JS only drives the dynamic
   height/opacity/margin-top values while expanding or collapsing. */
.why-more {
    overflow: hidden;
    height: 0;
    opacity: 0;
    margin-top: 0;
    transition: height 0.45s ease, opacity 0.35s ease, margin-top 0.35s ease;
    max-width: 62ch;
    font-family: var(--font-text);
    font-size: 1rem;
    line-height: 1.78;
    color: rgba(20, 20, 20, 0.78);
}

.why-more p + p {
    margin-top: 1rem;
}

.why-more strong {
    color: var(--brand-dark);
    font-weight: 600;
}

.faq-section .why-more {
    max-width: 72ch;
}

/* Arrow */
.why-arrow {
    border: none;
    background: none;
    cursor: pointer;
}

.why-arrow .arrow-circle {
    width: 40px;
    height: 40px;
    border: 1px solid var(--brand-dark);
    border-radius: 50rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hover kuva taustalla */
.why-image-hover {
    position: absolute;
    top: 0;
    right: 50px;
    width: 360px;
    height: 360px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.4s, transform 0.4s;
    z-index: 30;
    border-radius: 1rem;
}

.faq-section .why-text {
    display: none;
}

.faq-section .why-more {
    overflow: hidden;
    opacity: 0;
    margin-top: 0;
    line-height: 1.78;
    max-width: 72ch;
}

.faq-section .why-item {
    cursor: pointer;
}



/* Quote osio */
.quote-section {
    padding: 10rem 0;
}

.quote-section::before {
    content: "";
    position: absolute;
    top: -8rem;
    bottom: -8rem;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background:
        radial-gradient(78rem 44rem at 74% 46%, rgba(227, 210, 183, 0.5) 0%, rgba(227, 210, 183, 0.24) 28%, rgba(227, 210, 183, 0.1) 52%, rgba(227, 210, 183, 0) 76%),
        radial-gradient(46rem 24rem at 84% 18%, rgba(191, 210, 224, 0.14) 0%, rgba(191, 210, 224, 0.06) 28%, rgba(191, 210, 224, 0) 66%),
        radial-gradient(42rem 24rem at 66% 80%, rgba(201, 216, 201, 0.11) 0%, rgba(201, 216, 201, 0.05) 26%, rgba(201, 216, 201, 0) 64%);
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: -1;
}

.quote-inner {
    display: grid;
    grid-template-columns: 40% 1fr;
    gap: 4rem;
    align-items: center;
}

.quote-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    display: block;
}

.quote-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.quote-text {
    font-family: var(--font-title);
    font-size: var(--fs-quote);
    font-weight: 400;
    line-height: 1.2;
    color: var(--brand-dark);
}

.quote-bottom {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 1rem;
}

.quote-person {
    display: flex;
    flex-direction: column;
}

.person-name {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--brand-dark);
}

.person-title {
    font-size: 1rem;
    color: var(--brand-dark);
    opacity: 0.7;
}

.person-role {
    font-size: 1rem;
    color: var(--brand-dark);
    opacity: 0.7;
}

/* About */
.about-story {
    padding: clamp(7rem, 10vw, 9rem) 0 0;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.62fr);
    gap: 2rem 3rem;
    align-items: start;
}

.about-story-copy {
    max-width: 54rem;
}

.about-story-title {
    max-width: 11ch;
    margin-bottom: 1.35rem;
}

.about-story-title span {
    display: block;
}

.about-story-lead {
    font-size: 1.2rem;
    line-height: 1.78;
    max-width: 52ch;
    color: rgba(30, 29, 27, 0.92);
    margin-bottom: 1rem;
}

.about-story-body,
.about-metrics-intro {
    line-height: 1.8;
    color: rgba(30, 29, 27, 0.42);
}

.about-story-body {
    max-width: 60ch;
}

.about-story-actions {
    margin-top: 2rem;
}

.about-story-side {
    display: grid;
    gap: 0.75rem;
    align-content: start;
    padding-top: 0.55rem;
}

.about-story-pill {
    min-height: 3.4rem;
    padding: 0.9rem 1.05rem;
    border-radius: 1.2rem;
    border: 1px solid rgba(30, 29, 27, 0.08);
    background:
        radial-gradient(130% 130% at 0% 0%, rgba(227, 210, 183, 0.34) 0%, rgba(227, 210, 183, 0.12) 28%, rgba(227, 210, 183, 0) 70%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.75) 0%, rgba(247, 242, 234, 0.9) 100%);
    display: flex;
    align-items: center;
    font-size: 0.96rem;
    font-weight: 600;
    color: rgba(30, 29, 27, 0.84);
}

.about-story-visual {
    grid-column: 1 / -1;
    position: relative;
    margin-top: clamp(1rem, 3vw, 2rem);
    min-height: clamp(25rem, 48vw, 42rem);
    overflow: hidden;
    border-radius: 2rem;
}

.about-story-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.about-story-band {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.1rem clamp(1.2rem, 3vw, 2rem) 1.25rem;
    display: grid;
    grid-template-columns: minmax(11rem, 0.5fr) minmax(0, 1fr);
    gap: 1.2rem;
    align-items: start;
    background: linear-gradient(180deg, rgba(20, 20, 20, 0) 0%, rgba(20, 20, 20, 0.74) 70%, rgba(20, 20, 20, 0.84) 100%);
    color: var(--brand-light);
}

.about-story-band span {
    display: inline-block;
    font-size: 0.76rem;
    letter-spacing: 0;
    text-transform: none;
    opacity: 0.72;
}

.about-story-band p {
    max-width: 60ch;
    line-height: 1.72;
}

.about-metrics-section {
    padding-top: clamp(5rem, 7vw, 8rem);
    padding-bottom: clamp(4rem, 6vw, 7rem);
}

.about-metrics-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.75fr);
    gap: 2rem;
    align-items: end;
    margin-bottom: 2.25rem;
}

.about-metrics-title {
    margin-bottom: 0;
}

.about-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.about-metric-card {
    padding: 1.5rem;
    border-radius: 1.7rem;
    border: 1px solid rgba(20, 20, 20, 0.08);
    background:
        radial-gradient(130% 130% at 0% 0%, rgba(227, 210, 183, 0.28) 0%, rgba(227, 210, 183, 0.1) 28%, rgba(227, 210, 183, 0) 68%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.72) 0%, rgba(247, 242, 234, 0.92) 100%);
}

.about-metric-card--feature {
    grid-column: span 2;
    background-color: var(--brand-dark);
    background-image: var(--surface-dark-overlay-large);
    color: var(--brand-light);
    border-color: rgba(255, 255, 255, 0.08);
    display: grid;
    align-content: end;
    min-height: 100%;
}

.about-metric-feature-kicker {
    display: inline-block;
    margin-bottom: 0.85rem;
    font-size: 0.76rem;
    letter-spacing: 0;
    text-transform: none;
    opacity: 0.7;
}

.about-metric-card--feature h3 {
    font-family: var(--font-title);
    font-size: clamp(2rem, 3.2vw, 3rem);
    font-weight: 500;
    line-height: 1.05;
    max-width: 12ch;
    margin-bottom: 0.85rem;
}

.about-metric-card--feature p {
    max-width: 56ch;
    line-height: 1.75;
    color: rgba(243, 243, 243, 0.84);
}

.about-metric-icon {
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 1rem;
    border: 1px solid rgba(20, 20, 20, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(30, 29, 27, 0.82);
    margin-bottom: 1.1rem;
}

.about-metric-icon svg {
    width: 1.7rem;
    height: 1.7rem;
}

.about-metric-value {
    font-family: var(--font-title);
    font-size: clamp(2rem, 3vw, 2.9rem);
    line-height: 1;
    color: var(--brand-dark);
    margin-bottom: 0.65rem;
}

.about-metric-label {
    font-size: 1rem;
    line-height: 1.55;
    color: rgba(30, 29, 27, 0.84);
}

.about-metric-note,
.about-metric-delta-label {
    margin-top: 0.7rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(30, 29, 27, 0.68);
}

.about-metric-delta {
    margin-top: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.about-metric-delta-value {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.32rem 0.58rem;
    border-radius: 999px;
    background: rgba(20, 20, 20, 0.08);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--brand-dark);
}

.about-hero {
    padding: clamp(7rem, 10vw, 9rem) 0 0;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
    gap: 2.2rem 3rem;
    align-items: start;
}

.about-hero-copy {
    max-width: 52rem;
}

.about-hero-title {
    margin-bottom: 1.4rem;
    max-width: 11ch;
}

.about-hero-title span {
    display: block;
}

.about-hero-lead {
    font-size: 1.2rem;
    line-height: 1.75;
    max-width: 52ch;
    margin-bottom: 1.2rem;
    color: rgba(30, 29, 27, 0.92);
}

.about-hero-note,
.about-section-intro {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(30, 29, 27, 0.42);
}

.about-hero-note {
    max-width: 60ch;
}

.about-hero-actions {
    margin-top: 2rem;
}

.about-hero-secondary {
    background-color: var(--brand-dark);
    background-image: var(--surface-dark-overlay-control);
    color: var(--brand-light);
    border-radius: 1.3rem;
    border: 1px solid rgba(20, 20, 20, 0.1);
    padding: 0 1.2rem;
}

.about-hero-aside {
    display: grid;
    gap: 1rem;
    align-content: start;
    padding-top: 0.6rem;
}

.about-fact-card {
    padding: 1.2rem 1.25rem;
    border-radius: 1.55rem;
    border: 1px solid rgba(30, 29, 27, 0.08);
    background:
        radial-gradient(130% 130% at 0% 0%, rgba(227, 210, 183, 0.4) 0%, rgba(227, 210, 183, 0.14) 30%, rgba(227, 210, 183, 0) 70%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.7) 0%, rgba(247, 242, 234, 0.9) 100%);
}

.about-fact-value {
    font-family: var(--font-title);
    font-size: clamp(1.75rem, 2vw, 2.25rem);
    line-height: 1;
    margin-bottom: 0.65rem;
    color: var(--brand-dark);
}

.about-fact-label {
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(30, 29, 27, 0.74);
}

.about-hero-visual {
    grid-column: 1 / -1;
    margin-top: clamp(1rem, 3vw, 2rem);
    position: relative;
    overflow: hidden;
    border-radius: 2rem;
    min-height: clamp(24rem, 50vw, 42rem);
}

.about-hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.about-hero-stamp {
    position: absolute;
    left: clamp(1.2rem, 3vw, 2rem);
    bottom: clamp(1.2rem, 3vw, 2rem);
    max-width: 32rem;
    padding: 1.1rem 1.2rem 1.2rem;
    border-radius: 1.4rem;
    background: rgba(30, 29, 27, 0.7);
    color: var(--brand-light);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(14px);
}

.about-hero-stamp span {
    display: inline-block;
    margin-bottom: 0.55rem;
    font-size: 0.74rem;
    letter-spacing: 0;
    text-transform: none;
    opacity: 0.72;
}

.about-hero-stamp p {
    font-size: 1rem;
    line-height: 1.65;
}

.about-principles .why-title,
.about-values-title {
    max-width: 12ch;
    margin-bottom: 1rem;
}

.about-principle-list {
    display: grid;
}

.about-principle-item {
    display: grid;
    grid-template-columns: 4.5rem minmax(0, 1fr);
    gap: 0.4rem 1.5rem;
    padding: 1.55rem 0;
    border-top: 1px solid rgba(20, 20, 20, 0.12);
}

.about-principle-item:last-child {
    border-bottom: 1px solid rgba(20, 20, 20, 0.12);
}

.about-principle-number {
    font-family: var(--font-title);
    font-size: 2rem;
    line-height: 1;
    color: rgba(30, 29, 27, 0.48);
}

.about-principle-title {
    font-family: var(--font-title);
    font-size: 1.55rem;
    font-weight: 500;
    margin-bottom: 0.45rem;
    color: var(--brand-dark);
}

.about-principle-body {
    max-width: 62ch;
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(30, 29, 27, 0.82);
}

.about-system-shell {
    display: grid;
    gap: 1.5rem;
}

.about-system-title {
    max-width: 12ch;
    margin-bottom: 0;
}

.about-system-intro {
    max-width: 62ch;
    color: rgba(243, 243, 243, 0.82);
}

.about-system-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.about-system-card {
    min-height: 100%;
    padding: 1.4rem;
    border-radius: 1.55rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.about-system-number {
    display: inline-block;
    margin-bottom: 0.8rem;
    font-family: var(--font-title);
    font-size: 1.9rem;
    line-height: 1;
    color: rgba(243, 243, 243, 0.68);
}

.about-system-card h3 {
    font-family: var(--font-title);
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 0.65rem;
    color: var(--brand-light);
}

.about-system-card p,
.about-system-note {
    line-height: 1.75;
    color: rgba(243, 243, 243, 0.82);
}

.about-system-note {
    max-width: 64ch;
    margin-top: 0.5rem;
}

.about-quote-content {
    max-width: 48rem;
}

.about-values-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.85fr);
    gap: 2rem;
    align-items: end;
    margin-bottom: 2.5rem;
}

.about-values-intro {
    max-width: 38ch;
    justify-self: end;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.about-value-card {
    padding: 1.5rem;
    border-radius: 1.6rem;
    border: 1px solid rgba(20, 20, 20, 0.08);
    background:
        radial-gradient(130% 130% at 0% 0%, rgba(227, 210, 183, 0.36) 0%, rgba(227, 210, 183, 0.12) 28%, rgba(227, 210, 183, 0) 66%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.75) 0%, rgba(247, 242, 234, 0.92) 100%);
}

.about-value-card h3 {
    font-family: var(--font-title);
    font-size: 1.45rem;
    font-weight: 500;
    margin: 0.7rem 0 0.55rem;
    color: var(--brand-dark);
}

.about-value-card p {
    line-height: 1.75;
    color: rgba(30, 29, 27, 0.82);
}

.about-closing {
    padding: 0 0 8rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    align-items: end;
}

.about-closing-copy h2 {
    font-family: var(--font-title);
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 500;
    line-height: 1.05;
    margin: 0.8rem 0 1rem;
    max-width: 13ch;
}

.about-closing-copy p {
    max-width: 62ch;
    line-height: 1.8;
    color: rgba(30, 29, 27, 0.42);
}

.about-page-kicker {
    margin-bottom: 1rem;
    font-family: var(--font-text);
    font-size: 0.88rem;
    letter-spacing: 0;
    text-transform: none;
    color: rgba(30, 29, 27, 0.62);
}

.about-page-hero {
    padding-top: 9.5rem;
}

.about-page-hero-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 2.25rem 1.6rem;
    align-items: start;
}

.about-page-title {
    grid-column: 3 / 13;
    max-width: 14ch;
    margin-bottom: 0.6rem;
    font-size: clamp(4rem, 8vw, 7.2rem);
    line-height: 1.03;
    letter-spacing: -0.05em;
}

.about-page-title .h1-first,
.about-page-title .h1-third strong {
    text-transform: none;
    font-weight: 300;
}

.about-page-title .h1-second em {
    font-weight: 300;
    font-style: italic;
}

.about-page-title-line {
    display: flex;
    flex-wrap: wrap;
    gap: 0 0.35ch;
}

.about-page-title-line--break {
    display: block;
}

.about-page-intro {
    grid-column: 6 / 11;
    max-width: 34rem;
    padding-top: 0.3rem;
}

.about-page-lead {
    max-width: 100%;
    margin-bottom: 0;
    font-size: clamp(1.2rem, 1.7vw, 1.4rem);
    line-height: 1.55;
}

.about-page-body {
    max-width: 100%;
    font-family: var(--font-text);
    font-size: 1rem;
    line-height: 1.78;
    color: rgba(30, 29, 27, 0.42);
}

.about-page-actions {
    margin-top: 1.7rem;
}

.about-page-secondary {
    background-color: var(--brand-dark);
    background-image: var(--surface-dark-overlay-control);
    color: var(--brand-light);
    border-color: var(--brand-dark);
}

.about-page-visual {
    grid-column: 2 / 13;
    margin-top: 1.8rem;
    overflow: hidden;
    border-radius: 1.2rem;
    min-height: clamp(24rem, 44vw, 39rem);
}

.about-page-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.home-page-visual {
    grid-column: 1 / -1;
    min-height: auto;
}

.home-page-summary {
    grid-column: 3 / 13;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem 2.1rem;
    align-items: center;
}

.home-page-lead {
    max-width: 34rem;
    padding-top: 0;
    align-self: center;
}

.home-page-actions {
    justify-self: start;
    margin-top: 0;
    align-self: center;
}

.home-page-actions .hero-button {
    align-items: center;
}

.home-page-actions .hero-button-inner {
    align-items: center;
    /* Match the footer social pill (.footer-social-bar .hero-button-inner) */
    padding: 0.2rem;
    gap: 1rem;
}

.home-page-actions .cta-button {
    margin: 0;
}

.home-page-visual .hero-slideshow {
    margin-top: 0;
    height: clamp(24rem, 44vw, 39rem);
    border-radius: inherit;
}

/* On large screens keep the same aspect ratio as below 1400px instead of
   capping the height (which made the hero look flat/short on wide monitors). */
@media (min-width: 1401px) {
    .home-page-visual .hero-slideshow {
        height: auto;
        aspect-ratio: 2.08;
    }
}

.about-page-stats {
    margin-top: 4.5rem;
    padding: 0;
}

.about-page-info-card,
.about-page-value-card {
    border: 1px solid rgba(20, 20, 20, 0.1);
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.74);
}

.about-page-stat-card {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) max-content;
    align-items: center;
    gap: 2rem;
    padding: 2.4rem 0;
    border-top: 1px solid rgba(30, 29, 27, 0.16);
}

.about-page-stat-card:first-child {
    border-top: none;
}

.about-page-stat-value {
    font-family: var(--font-title);
    font-size: clamp(3.2rem, 7vw, 6.2rem);
    line-height: 1;
    font-weight: 300;
    color: rgba(30, 29, 27, 0.84);
    letter-spacing: -0.05em;
}

.about-page-stat-copy {
    justify-self: end;
    max-width: none;
}

.about-page-stat-label {
    font-family: var(--font-text);
    font-size: clamp(1.04rem, 1.35vw, 1.22rem);
    line-height: 1.55;
    color: rgba(30, 29, 27, 0.82);
    text-align: right;
    white-space: nowrap;
}

.about-page-stat-delta {
    display: block;
    margin-top: 0.55rem;
    font-family: var(--font-text);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: rgba(30, 29, 27, 0.58);
    text-align: right;
    white-space: nowrap;
}

.about-page-story {
    padding-top: 2rem;
    padding-bottom: 7rem;
}

.about-page-story-shell {
    display: grid;
    gap: 1.4rem;
    max-width: 60rem;
}

.about-page-story-lead {
    max-width: 44rem;
    margin-bottom: 0;
}

.about-page-values-dark {
    display: grid;
    gap: 1.75rem;
}

.about-page-dark-intro {
    max-width: 46rem;
    font-family: var(--font-text);
    font-size: 1.06rem;
    line-height: 1.75;
    color: rgba(243, 243, 243, 0.8);
}

.about-page-values-dark-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.about-page-values-dark-card {
    padding: 1.55rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.about-page-values-dark-card h3 {
    font-family: var(--font-title);
    font-size: 1.45rem;
    font-weight: 500;
    color: var(--brand-light);
    margin-bottom: 0.7rem;
}

.about-page-values-dark-card p {
    font-family: var(--font-text);
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(243, 243, 243, 0.82);
}

.about-page-closing {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(20, 20, 20, 0.1);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    align-items: end;
}

.about-page-closing-copy .package-title {
    max-width: 13ch;
    margin-bottom: 1rem;
}

.about-page-closing-copy .equipment-description {
    margin: 0;
    max-width: 62ch;
}

@media (max-width: 1100px) {
    .about-page-hero-grid,
    .about-page-closing {
        grid-template-columns: 1fr;
    }

    .home-page-summary {
        grid-column: 1;
        max-width: 42rem;
    }

    .about-page-intro {
        grid-column: 1;
        justify-self: start;
        max-width: 42rem;
        padding-top: 0;
    }

    .about-page-title {
        grid-column: 1;
        max-width: 12ch;
        margin-bottom: 0.2rem;
    }

    .about-page-visual {
        grid-column: 1;
    }

    .about-page-stat-card {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.8rem 0;
    }

    .about-page-stat-copy {
        justify-self: start;
        max-width: 100%;
    }

    .about-page-stat-label,
    .about-page-stat-delta {
        text-align: left;
        white-space: normal;
    }

    .about-page-values-dark-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .about-page-hero {
        padding-top: 8rem;
    }

    .about-page-title {
        max-width: 11ch;
        margin-bottom: 0.5rem;
        font-size: clamp(3.4rem, 13vw, 4.9rem);
    }

    .about-page-title-line {
        gap: 0 0.22ch;
    }

    .about-page-visual {
        min-height: 22rem;
        margin-top: 1.25rem;
    }

    .home-page-visual .hero-slideshow {
        height: 22rem;
    }

    .home-page-summary {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .home-page-actions {
        justify-self: start;
        /* Reverse the stacked order on phones: lead text first, actions below. */
        order: 1;
    }

    .about-page-stat-card {
        padding: 1.35rem 0;
    }

    .about-page-story {
        padding-top: 1.5rem;
        padding-bottom: 5rem;
    }

    .about-page-values-dark-card {
        padding: 1.35rem;
    }

    .about-page-stats {
        padding: 0 1rem;
    }
}

@media (max-width: 1100px) {
    .about-story,
    .about-metrics-header,
    .about-hero,
    .about-values-header {
        grid-template-columns: 1fr;
    }

    .about-story-title,
    .about-hero-title,
    .about-system-title,
    .about-principles .why-title,
    .about-values-title,
    .about-closing-copy h2 {
        max-width: none;
    }

    .about-metrics-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-metric-card--feature {
        grid-column: span 2;
    }

    .about-values-intro {
        justify-self: start;
        max-width: 52ch;
    }

    .about-system-grid,
    .about-values-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-closing {
        grid-template-columns: 1fr;
        align-items: start;
    }
}

@media (max-width: 900px) {
    .about-story-band {
        grid-template-columns: 1fr;
    }

    .about-metrics-grid,
    .about-story {
        gap: 1.75rem;
    }

    .about-principle-item {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .about-system-grid,
    .about-values-grid {
        grid-template-columns: 1fr;
    }

    .about-metric-card--feature {
        grid-column: span 1;
    }

    .about-story-visual,
    .about-hero-visual {
        min-height: 22rem;
    }

    .about-hero-stamp {
        max-width: 100%;
        right: 1.2rem;
    }
}

@media (max-width: 700px) {
    .about-story {
        padding-top: 6.5rem;
    }

    .about-hero {
        padding-top: 6.5rem;
    }

    .about-story-lead {
        font-size: 1.08rem;
    }

    .about-hero-lead {
        font-size: 1.08rem;
    }

    .about-story-band,
    .about-metric-card,
    .about-fact-card,
    .about-system-card,
    .about-value-card {
        padding: 1.25rem;
    }

    .about-story-visual {
        min-height: 20rem;
    }

    .about-hero-stamp {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        padding: 1rem 1rem 1.05rem;
    }

    .about-closing {
        padding-bottom: 6rem;
    }
}


/* Footer */
.footer {
    background-color: var(--brand-dark);
    background-image: var(--surface-dark-overlay-large);
    color: var(--brand-light);
    padding: 10rem 0 0 0;
}

/* Sisäinen sisältö */
.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

/* Footer linkkien perusväri */
.footer a {
    color: var(--brand-light);
    text-decoration: none;
    position: relative;
    display: inline-block;
}

/* Custom underline piilotettuna */
.footer a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 1px;
    background: var(--brand-accent);
    transition: width 0.3s ease;
}

/* Hover efekti */
.footer a:hover::after {
    width: 100%;
}


/* Logo + slogan */
.footer-brand img {
    height: 22px;
    opacity: 0.9;
}

.footer-slogan {
    margin-top: 0.5rem;
    font-size: 0.95rem;
    opacity: 0.6;
}

/* Kolumni-alue */
.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.footer-col h3, .footer-col h4 {
    font-family: var(--font-text);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--brand-light);
    letter-spacing: 0;
    text-transform: none;
}

.footer-col a,
.footer-col p {
    font-family: var(--font-text);
    font-size: 0.95rem;
    opacity: 0.7;
    display: block;
}

.footer-col a:hover {
    opacity: 1;
}

/* Somelinkit */
.footer-social {
    display: flex;
    gap: 2rem;
    opacity: 0.8;
}

.footer-social a {
    font-size: 0.95rem;
    color: var(--brand-light);
}

.footer-social a:hover {
    opacity: 1;
}

/* Alapalkki */
.footer-bottom {
    margin-top: 6rem;
    padding: 2rem 0;
    background: rgba(255,255,255,0.05);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom span {
    opacity: 0.6;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    font-size: 0.85rem;
    color: var(--brand-light);
    opacity: 0.6;
}

.footer-bottom-links a:hover {
    opacity: 1;
}

/* Responsiivisuus */
/* UNIVERSAALI RESPONSIVE SCALE */
@media (max-width: 1600px) {
    :root {
        --max-width: calc(100% - 140px);
    }
    .hero-title { font-size: 70px; }
}

@media (max-width: 1400px) {
    :root {
        --max-width: calc(100% - 120px);
    }
    .hero-title { font-size: 60px; }
}

/* TABLET MAX WIDTH */
@media (max-width: 1100px) {
    :root {
        --max-width: calc(100% - 80px);
    }

    .hero-title { font-size: 52px; }
    .hero-slideshow { height: 560px; }

    .three-cards {
        grid-template-columns: 1fr 1fr;
    }

    .why-content { padding-right: 260px; }

    .quote-inner {
        grid-template-columns: 45% 1fr;
        gap: 2rem;
    }
}

/* TABLET S - NAVI, WHY, HERO */
@media (max-width: 900px) {

    /* HEADER: back-arrow (left) | logo (centre) | hamburger (right) */
    .header-grid {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        gap: 1rem;
        /* Thinner floating header on phones */
        padding: 0.85rem 0;
    }
    .header.is-scrolled {
        padding-top: 0.6rem;
    }

    /* Logo centred and a touch smaller */
    .header-logo {
        justify-self: center;
    }
    .header-logo img {
        height: 34px;
    }

    .nav-left {
        display: flex;
        align-items: center;
        justify-self: start;
    }
    /* The desktop products text button is replaced by the hamburger on mobile */
    .nav-left .products-button {
        display: none;
    }

    .nav-right {
        display: flex;
        align-items: center;
        justify-self: end;
        gap: 0.5rem;
    }

    /* On mobile only the hamburger remains on the right */
    .nav-right a,
    .nav-right .lang-button {
        display: none;
    }

    .nav-mobile-toggle {
        display: inline-flex;
        width: 38px;
        height: 38px;
        gap: 4px;
    }

    /* Back-arrow shows only while the products sub-page is open */
    .header.is-header-panel-open.is-view-products .nav-mobile-back {
        display: inline-flex;
    }

    /* Products sub-page: image-left / name-right rows */
    .header-products-grid {
        grid-template-columns: 1fr;
        gap: 0;
        max-width: none;
    }

    .header-product-card {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        padding: 0.6rem 0;
        border-bottom: 1px solid rgba(20, 20, 20, 0.08);
    }

    .header-product-card-image {
        width: 132px;
        flex-shrink: 0;
    }

    .header-product-card-name {
        font-size: 1.3rem;
        text-align: left;
    }

    /* Reveal the chevron at the right edge of the product card in the mobile menu. */
    .header-product-card .menu-chevron {
        display: inline-flex;
        margin-left: auto;
    }

    /* Crossbuss konfiguraattorin kanssa: kuva vasemmalla, nimi ja
       tekstipainikkeet oikealla. */
    .header-product-tile {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        padding: 0.6rem 0;
        border-bottom: 1px solid rgba(20, 20, 20, 0.08);
    }

    .header-product-tile-media {
        width: 132px;
        flex-shrink: 0;
    }

    .header-product-tile-body {
        align-items: flex-start;
        min-width: 0;
    }

    .header-product-links {
        justify-content: flex-start;
    }

    /* HERO TEXT */
    .hero-title { font-size: 42px; }
    .hero-slideshow { height: 460px; }

    /* VARUSTELUT: columns handled by the base auto-fit grid (3 → 2 → 1) */

    /* DARK 3-CARDS */
    .three-cards {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    /* WHY SECTION */
    .why-item {
        grid-template-columns: 1fr auto;
    }

    .why-content {
        padding-right: 0;
    }

    .why-image-hover {
        /* Desktop-only hover preview. On mobile it has no hover and no image is
           ever set, so it only reserved empty height — hide it entirely. */
        display: none;
    }

    /* QUOTE */
    .quote-inner {
        grid-template-columns: 1fr;
    }

    /* .quote-text size now comes from --fs-quote */
}

/* MOBILE L */
@media (max-width: 700px) {

    :root {
        --max-width: calc(100% - 64px);
        /* Halva sidmarginalen ovan, som ett eget mått. Paketkarusellen bryter
           ut ur .container och behöver marginalen som en längd: procent i
           scroll-padding räknas mot scrollporten, inte mot föräldern. */
        --container-gutter: 32px;
    }

    .hero-title { font-size: 40px; }

    .hero-slideshow {
        height: 360px;
    }

    /* WHY SPACING */
    .why-number { font-size: 2rem; }

    /* QUOTE: reverse the order of the contact CTA and the person on phones */
    .quote-bottom {
        flex-direction: row-reverse;
        justify-content: flex-end;
    }

    /* FOOTER */
    .footer-columns {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

}

/* MOBILE M/S */
@media (max-width: 500px) {

    :root {
        --max-width: calc(100% - 48px);
        --container-gutter: 24px;
    }

    /* HERO */
    .hero-title { font-size: 34px; }
    /* No forced height here: it made .hero-button-inner (and the footer social
       bar) shrink vs. desktop and squashed the 42px icons. Let it size to its
       content so the height stays consistent across breakpoints. */
    /* Sama korkeus kuin viereisellä "Kontakta oss" -napilla (.cta-button, 44px),
       jotta pillerin sisältö on tasakorkea myös puhelimella. */
    .hero-images img { width: 44px; height: 44px; }

    /* EQUIPMENT CARDS: columns handled by the base auto-fit grid */

    /* WHY SECTION SINGLE COLUMN */
    .why-item {
        grid-template-columns: 1fr auto;
    }

    /* .quote-text size now comes from --fs-quote */

    .footer-columns {
        grid-template-columns: 1fr;
    }
}










/* Hero wrapper: täysleveä tausta */
.hero-wrapper {
    width: 100%;
    min-height: 110vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Hero container */
.hero.product-hero {
    display: block;
    min-height: 80vh;
    padding-top: 6rem; /* otsikko ylös */
}

/* Doublecab-sivu: auto omana kuvanaan otsikon ALLA (ei taustakuvana), jotta se
   on aina samalla kiinteällä etäisyydellä teksteistä näytön koosta riippumatta.
   Tausta läpinäkyvä → bodyn gradientti näkyy; osion korkeus sisällön mukaan. */
.hero-wrapper--contain {
    min-height: 0;
    overflow: hidden;
}
.hero-wrapper--contain .hero.product-hero {
    min-height: 0;
    padding-bottom: 4rem;
}
.hero-car {
    display: block;
    width: 65%;
    height: auto;
    /* margin-top: enemmän tilaa otsikon alle; oikea 16% / vasen auto = pieni siirto
       oikealle, niin että auton painopiste (pitkä perä vasemmalla) osuu otsikon
       keskelle. 13.11.2026 uusi kuva (crossbuss-premium): 13% -> 16%. */
    margin: 4rem 16% 0 auto;
}

/* Keskitetty "Ota yhteyttä" -nappi tuotesivun heron alareunassa. Sama pilleri
   kuin etusivun herossa, mutta eri paikassa. */
.product-hero-cta {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

/* Taustakuvalliset herot (minibus, mixto): venytetään sisältökontti koko heron
   korkeuteen ja työnnetään nappi heron alareunaan. Doublecab-perhe (--contain)
   pitää normaalin virtauksen. */
.hero-wrapper:not(.hero-wrapper--contain) {
    display: flex;
    flex-direction: column;
}
.hero-wrapper:not(.hero-wrapper--contain) .hero.product-hero {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.hero-wrapper:not(.hero-wrapper--contain) .product-hero-cta {
    margin-top: auto;
    padding: 3rem 0 2rem;
}

/* Puhelimella auto isompana: leveämpi ja ankkuroitu oikealle → auton perä menee
   vasemman reunan yli (overflow:hidden osiolla estää vaakavierityksen). */
@media (max-width: 600px) {
    /* Mobiili: vähemmän tilaa otsikon yläpuolelle, enemmän alapuolelle. */
    .hero-wrapper--contain .hero.product-hero {
        padding-top: 6rem;
    }
    .hero-wrapper--contain .product-title--centered {
        margin-top: 0;
    }
    .hero-car {
        width: 150%;
        max-width: none;
        margin: 5rem 0 0 -50%;
    }
}

/* Otsikko */
.product-title {
    margin: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    color: var(--brand-dark);
    font-family: var(--font-title);
    line-height: 1.1;
}

.product-title .title-line-1,
.product-title .title-line-2 {
    /* Match the shared page-hero scale (--fs-display) used by every other H1,
       instead of a one-off clamp that grew to 145px on wide screens. */
    font-size: var(--fs-display);
}

.product-title .title-line-1 {
    text-align: left;
}

.product-title .title-line-2 {
    text-align: right;
    font-weight: 300;
}

/* Doublecab-hero: keskitetty otsikko – eyebrow (Crossbuss) + pääotsikko
   (Playfair, normaali weight) + alaotsikko, kaikki keskitettynä. */
.product-title--centered {
    align-items: center;
    text-align: center;
    margin-top: 1.5rem;
}
.product-title--centered .product-eyebrow {
    font-family: var(--font-text);
    font-weight: 500;
    /* Skaalautuu samaan tapaan kuin pääotsikon var(--fs-display) (vw-pohjainen clamp). */
    font-size: clamp(1.25rem, 2.1vw, 1.875rem);
    color: var(--brand-dark);
    margin-bottom: 0.5rem;
}
.product-title--centered .product-title-main {
    font-family: var(--font-title);
    font-weight: 400;
    font-size: var(--fs-display);
    line-height: 1.05;
    color: var(--brand-dark);
}
.product-title--centered .product-subtitle {
    font-family: var(--font-text);
    font-weight: 400;
    /* Skaalautuu samaan tapaan kuin pääotsikko. */
    font-size: clamp(1rem, 1.7vw, 1.5rem);
    color: var(--brand-dark);
    margin-top: 0.7rem;
}

/* HERO RESPONSIVE */
@media (max-width: 900px) {
    .product-title .title-line-1,
    .product-title .title-line-2 {
        font-size: 42px;
        text-align: left;
    }
}

/* -------- PRICING SECTION -------- */

.product-pricing {
    padding: 6rem 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-end;
}

/* Label “Hinta alkaen” */
.price-label {
    font-size: 1rem;
    color: var(--brand-dark);
    opacity: 0.7;
    font-family: var(--font-text);
    margin-bottom: 0.6rem;
    display: block;
}

/* Price row */
.price-row {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}

/* Hinnan summa – hillitty, kokonainen luku yhdellä rivillä (esim. "120 000 kr"). */
.price-big {
    font-size: clamp(4rem, 8.5vw, 6.5rem);
    font-family: var(--font-title);
    color: var(--brand-dark);
    line-height: 1;
    display: inline-block;
}

/* Valuutta hieman pienemmällä, samalla perusviivalla. */
.price-small {
    font-size: clamp(1.25rem, 2.5vw, 2rem);
    font-family: var(--font-title);
    color: var(--brand-dark);
    line-height: 1;
    display: inline-block;
}

/* Moms-merkintä samalla rivillä labelin kanssa (esim. "… · exkl. moms").
   Periytyy labelin värin ja opacityn; vain hieman pienempi. */
.price-vat {
    font-family: var(--font-text);
    font-size: 0.95rem;
}

/* Oikean puolen teksti */
.pricing-right p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--brand-dark);
    opacity: 0.9;
}

/* RESPONSIVE PRICING */
@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}
/* -------- SECTION CONTAINER -------- */

.product-equipment-section {
    background: var(--brand-light);
    padding: clamp(4rem, 7vw, 6rem) 0;
}

/* Tag title vaalealla pohjalla */
.tag-title-light {
    font-family: var(--font-text);
    color: var(--brand-accent);
    letter-spacing: 0;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: none;
}

/* Otsikko + nappi */
.equip-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.equip-title {
    font-family: var(--font-title);
    font-size: 48px;
    color: var(--brand-dark);
    font-weight: 500;
}

.equip-button {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: var(--font-text);
    color: var(--brand-dark);
}

/* Kolmen kuvan rivi */
.equip-images-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.equip-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 1rem;
}

/* -------- MODAL -------- */

/* ── Shared modal base (all site modals use these) ──────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(14, 16, 18, 0.55);
    backdrop-filter: blur(4px);
    display: none;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    z-index: 9990;
}

.modal-overlay.active {
    display: flex;
}

.modal-card {
    /* Sulkunappi on reunuksen paassa kulmasta: kaari = napin sade + reunus. */
    --modal-pad: clamp(1.25rem, 3vw, 1.5rem);
    background: var(--brand-light);
    width: 100%;
    max-width: 760px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    padding: var(--modal-pad);
    border-radius: calc(var(--close-size) / 2 + var(--modal-pad));
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}

.modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.modal-head .modal-close {
    align-self: flex-start;
}

.modal-body {
    margin-top: 1.5rem;
    overflow-y: auto;
}

/* Equipment modal: always full height; body fills the card and scrolls with a
   minimal portal-style scrollbar. */
.equip-modal {
    height: 100%;
    max-height: 100%;
}

.equip-modal-content {
    flex: 1;
    min-height: 0;
    position: relative;
    /* Hide the native scrollbar entirely so it takes no width (the content width
       never changes). A custom overlay thumb is shown only while scrolling. */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.equip-modal-content::-webkit-scrollbar {
    width: 0;
    height: 0;
}

/* Overlay scroll thumb: no track, no arrows, no layout width. It fades in while
   scrolling and out again when idle (driven by initModalScrollbar in app.js). */
.equip-scrollbar-thumb {
    position: absolute;
    right: 2px;
    width: 5px;
    border-radius: 999px;
    background: var(--scrollbar-thumb);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.equip-scrollbar-thumb.is-visible {
    opacity: 1;
}

.modal-close {
    flex-shrink: 0;
    width: var(--close-size);
    height: var(--close-size);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--icon-border);
    line-height: 1;
    cursor: pointer;
    color: var(--brand-dark);
    border-radius: 50rem;
    transition: background 0.2s ease;
}

.modal-close img {
    width: 18px;
    height: 18px;
}

.modal-close:hover {
    background: rgba(20, 20, 20, 0.08);
}

/* ── Equipment modal: tabs + image-left / name-right list ────────── */
.equip-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
}

.equip-tab {
    background: none;
    border: none;
    padding: 0.4rem 0;
    cursor: pointer;
    font-size: var(--fs-body-lg);
    font-family: var(--font-title);
    color: var(--brand-dark);
    opacity: 0.45;
    border-bottom: 2px solid transparent;
}

.equip-tab.active {
    opacity: 1;
    border-bottom-color: var(--brand-dark);
}

.equip-tab-content { display: none; }
.equip-tab-content.active { display: block; }

.equip-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.equip-list-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(20, 20, 20, 0.1);
}

.equip-list-image {
    flex-shrink: 0;
    width: 84px;
    aspect-ratio: 1 / 1;
    border-radius: 0.6rem;
    overflow: hidden;
    background: rgba(20, 20, 20, 0.04);
    /* Knapp numera, så nollställ knappens egna stilar. */
    padding: 0;
    border: 0;
    cursor: zoom-in;
    display: block;
    transition: transform var(--transition, 0.2s ease);
}

.equip-list-image:hover img,
.equip-list-image:focus-visible img {
    transform: scale(1.06);
}

.equip-list-image:focus-visible {
    outline: 2px solid var(--brand-dark);
    outline-offset: 2px;
}

.equip-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

/* ── Equipment image viewer ───────────────────────────────────────────────
   Opens above the equipment modal (which sits at z-index 9990), so the list
   stays put behind it and closing the picture returns straight to it. */
.equip-lightbox {
    z-index: 9995;
    background: rgba(10, 11, 12, 0.92);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    gap: clamp(0.5rem, 2vw, 1.5rem);
    padding: clamp(1rem, 4vw, 3rem);
}

.equip-lightbox.active {
    display: flex;
}

.equip-lightbox-figure {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    min-width: 0;
    max-width: min(1100px, 100%);
}

.equip-lightbox-image {
    max-width: 100%;
    /* Lämnar plats åt bildtexten och åt stängknappen ovanför. */
    max-height: 74vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.04);
}

.equip-lightbox-caption {
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    color: var(--brand-light);
    font-family: var(--font-text);
    text-align: center;
}

.equip-lightbox-name {
    font-size: 1rem;
}

.equip-lightbox-counter {
    font-size: 0.875rem;
    opacity: 0.65;
    font-variant-numeric: tabular-nums;
}

.equip-lightbox-nav,
.equip-lightbox-close {
    border-color: rgba(241, 239, 240, 0.35);
    flex-shrink: 0;
}

.equip-lightbox-nav:hover,
.equip-lightbox-close:hover {
    border-color: rgba(241, 239, 240, 0.7);
    opacity: 1;
}

.equip-lightbox-close {
    position: absolute;
    top: clamp(1rem, 3vw, 2rem);
    right: clamp(1rem, 3vw, 2rem);
}

/* En enda bild: inget att bläddra mellan. */
.equip-lightbox[data-single="1"] .equip-lightbox-nav {
    display: none;
}

@media (max-width: 700px) {
    /* Pilarna får inte äta av bildens bredd på en telefon - de flyttar ned
       under bildtexten i stället för att stå på sidorna. */
    .equip-lightbox {
        flex-direction: column;
        justify-content: center;
        gap: 1rem;
    }

    .equip-lightbox-figure {
        order: 1;
    }

    .equip-lightbox-prev { order: 2; }
    .equip-lightbox-next { order: 3; }

    .equip-lightbox-nav {
        position: absolute;
        bottom: clamp(1.25rem, 6vw, 2.5rem);
    }

    .equip-lightbox-prev { left: 25%; }
    .equip-lightbox-next { right: 25%; }

    .equip-lightbox-image {
        max-height: 62vh;
    }
}

.equip-list-name {
    font-family: var(--font-text);
    font-size: var(--fs-body-lg);
    color: var(--brand-dark);
}

/* Liten not i slutet av varje modal-lista: bara de vanligaste tillvalen visas. */
.equip-list-note {
    margin-top: 1.25rem;
    font-family: var(--font-text);
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(20, 20, 20, 0.5);
}
.full-video-section {
    width: min(var(--width), 100%);
    max-width: 100%;
    margin: 0 auto;
    height: 90vh;
    position: relative;
    overflow: hidden;
}

.full-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 1rem;
}
.exterior-video .full-video {
    object-position: center;
}
.equipment-note {
    margin-top: 6px;
    font-size: 11px !important;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.45) !important;
    letter-spacing: 0.2px;
    line-height: 1.3;
}

.gallery-section {
    padding-top: clamp(4rem, 6vw, 8rem);
}

.gallery-section-top {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.gallery-open-button {
    flex-shrink: 0;
}

.gallery-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.gallery-preview-card {
    border: 0;
    padding: 0;
    background: transparent;
    border-radius: 1.5rem;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    cursor: pointer;
}

.gallery-preview-card img,
.gallery-modal-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-preview-card img {
    transition: transform 0.35s ease;
}

.gallery-preview-card:hover img {
    transform: scale(1.04);
}

/* Inline gallery carousel (reuses the equipment slider mechanics/arrows).
   The .equipment-slide base rule already lays images out 3-up with a gap. */
.gallery-slide-image {
    border-radius: 1.5rem;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: rgba(14, 16, 18, 0.04);
}

.gallery-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(14, 16, 18, 0.82);
    display: none;
    z-index: 1300;
    padding: 2rem;
}

.gallery-modal-overlay.active {
    display: block;
}

.gallery-modal {
    width: min(1100px, 100%);
    max-height: calc(100vh - 4rem);
    margin: 0 auto;
    background: var(--brand-light);
    border-radius: 2rem;
    padding: 1.5rem;
    overflow: auto;
}

.gallery-modal-top {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.gallery-modal-title {
    margin: 0;
}

.gallery-close {
    border: 1px solid var(--brand-dark);
    background: transparent;
    color: var(--brand-dark);
    border-radius: 999px;
    width: 3rem;
    height: 3rem;
    cursor: pointer;
}

.gallery-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.gallery-modal-item {
    border-radius: 1.5rem;
    overflow: hidden;
    min-height: 280px;
}

.package-title {
    margin-bottom: 2rem;
}

.package-grid {
    display: grid;
    /* minmax(0, …) lets the columns shrink below the cards' content width so the
       cards never overflow the page on narrow screens. */
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

.sales-section .package-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    align-items: stretch;
}

/* Kolme pakettia (Crossbuss: Premium, Core, Pro) rinnakkain; kapeammalla
   yksi sarake ja puhelimella karuselli kuten kahdella. Kapeammassa kortissa
   pitkat ominaisuudet rivittyvat pillerin sisalla (muuten ne valuivat kortin
   yli), ja hinta on painikkeen ylapuolella kuten puhelimella. */
@media (min-width: 901px) {
    .package-grid--product.package-grid--count-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.5rem;
    }

    .package-grid--count-3 .package-tag {
        white-space: normal;
    }

    .package-grid--count-3 .product-card-actions .hero-button-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .package-grid--count-3 .build-price {
        white-space: nowrap;
    }
}

.package-card {
    background: transparent;
    border-radius: 2rem;
    padding: 0.5rem;
    border: 1px solid var(--brand-dark);
    display: flex;
    flex-direction: column;
    height: 100%;
    /* As a grid item, allow shrinking below the content's intrinsic width. */
    min-width: 0;
}

.package-image {
    width: 100%;
}

.package-image--product {
    padding: 2rem 2rem 0;
}

.package-image--sales {
    padding: 0;
}

.package-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 1.5rem;
}

/* Källbilderna är drygt 2:1, så bilden blev en smal remsa ovanpå ett kort som
   är flera gånger högre - 107px bild på ett 740px kort i telefon. En bestämd
   ratio ger bilden ett eget block och gör korten lika höga även när
   paketbilderna har olika mått. object-fit ovan börjar först nu göra nytta:
   med height:auto hade den ingen effekt alls. */
.package-image--product img {
    /* Ingen height här: bredden är redan 100%, så ratio räknar ut höjden. En
       procenthöjd mot en auto-hög förälder är obestämd och tryckte ihop kortet
       så att knapparna hamnade utanför. */
    aspect-ratio: 16 / 9;
    /* contain, inte cover: källbilden är 2,06:1 och rutan 1,78:1, så cover
       skar bort ~14 % av bredden - bilarna blev beskurna i fram- och bakkant.
       Bilderna har genomskinlig bakgrund, så luften som contain lämnar syns
       inte alls; rutan finns bara för att korten ska bli lika höga. */
    object-fit: contain;
}

.package-content {
    padding: 0 1rem;
    flex: 1;
}

.package-name {
    margin-top: 1.5rem;
    font-family: var(--font-title);
    /* Rubriken ska alltid rymmas på en rad. Namnen varierar från "Core Mixto"
       till "Premium Crossbuss-bygge", och en fast storlek som rymmer det
       längsta hade gjort de korta rubrikerna små. initPackageTitleFit() i
       app.js mäter varje rubrik och sätter --title-fit bara när den behöver
       krympa - utan skript blir den 32px och bryter som förut. */
    font-size: calc(32px * var(--title-fit, 1));
    white-space: nowrap;
    color: var(--brand-dark);
}

.package-price {
    margin-top: 0.3rem;
    font-family: var(--font-text);
    font-size: 1rem;
    opacity: 0.7;
}

.package-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

/* "Allt i Pro, och dessutom:" paketin listan ylla (product.php, X_extends):
   lista nayttaa vain sen, mita paketti tuo edellisen lisaksi. */
.package-includes {
    margin: 1.1rem 0 0;
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--brand-dark);
    opacity: 0.7;
}

.package-includes + .package-tags {
    margin-top: 0.75rem;
}

.package-tag {
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--brand-dark);
    border-radius: 0.6rem;
    font-size: 0.95rem;
    background: var(--brand-light);
    white-space: nowrap;
}


.package-btn {
    margin-top: 2rem;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

/* Vasemman puolen hinta nappi */
.package-card .build-price {
    border: none;
    background: none;
    color: var(--brand-dark);
    padding: 0 1.2rem;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Oikean puolen Konfigurera nappi */
.package-card .build-config {
    background: var(--brand-dark);
    color: var(--brand-light);
    border: 1px solid var(--brand-dark);
    padding: 0 1.2rem;
    flex: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.package-card .build-config:hover {
    opacity: 0.8;
}

.product-card-actions {
    margin-top: 1.5rem;
}


@media (max-width: 900px) {
    .gallery-section-top {
        align-items: start;
        flex-direction: column;
        /* Tighter title↔button gap so the gallery heading block isn't taller
           than the equipment-header spacing. */
        gap: 1rem;
    }

    .gallery-preview-grid,
    .gallery-modal-grid {
        grid-template-columns: 1fr;
    }

    .gallery-modal-overlay {
        padding: 1rem;
    }

    .gallery-modal {
        max-height: calc(100vh - 2rem);
    }

    .package-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    /* Let long feature tags wrap instead of overflowing the narrow card, and
       trim their size on phones. */
    .package-tag {
        white-space: normal;
        max-width: 100%;
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
}

.sales-section .hero-button-inner {
    width: 100%;
    justify-content: space-between;
    column-gap: 0.6rem;
    row-gap: 0.2rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.package-card .hero-button-inner {
    width: 100%;
    justify-content: space-between;
    margin-top: auto;
    /* Let the price + CTA buttons wrap instead of forcing the card wider than
       the screen on narrow viewports. */
    flex-wrap: wrap;
    gap: 0.4rem;
}


.sales-section .cta-button {
    flex: 1;
    justify-content: center;
    text-align: center;
    min-width: 0;
}
/* Soita nappi kortissa */
.sales-section .cta-button.call-now {
    border: none;
    background: none;
    color: var(--brand-dark);
    padding: 0 1.2rem;
    flex: 1;
    min-width: 10.5rem;
}

/* Laita sähköposti nappi */
.sales-section .cta-button.send-email {
    background-color: var(--brand-dark);
    background-image: var(--surface-dark-overlay-control);
    color: var(--brand-light);
    border: 1px solid var(--brand-dark);
    padding: 0 1.2rem;
    flex: 2;
    min-width: 14rem;
}

.sales-section .cta-button.send-email:hover {
    opacity: 0.8;
}

.package-section {
    padding-top: clamp(4rem, 6vw, 10rem);
    padding-bottom: clamp(4rem, 6vw, 10rem);
    padding-left: clamp(1.5rem, 6vw, 20rem);
    padding-right: clamp(1.5rem, 6vw, 20rem);
}

@media (max-width: 900px) {
    .package-grid {
        grid-template-columns: 1fr;
    }

    .sales-section .package-grid {
        grid-template-columns: 1fr;
    }

    .sales-section .hero-button-inner {
        flex-direction: column;
    }

    .sales-section .cta-button.call-now,
    .sales-section .cta-button.send-email {
        width: 100%;
        min-width: 0;
    }
}
.equipment-description {
    margin: 2rem 0;
    max-width: 720px;
    font-family: var(--font-text);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--brand-dark);
    opacity: 0.75;
}

/* Samankeskiset kulmat: ulompi kaari = sisemmän kaari + väli reunaan.
   --contact-inset on matka kehyksen reunasta sisältöön (puhelimella 16 px,
   sama kuin alatunnisteen lomakkeessa): kehys 0.5rem + lomakkeen väli.
   Kehyksen kaari = lähetysnapin kaari (1.5rem) + inset, koska nappi on
   puhelimella kehyksen alakulmassa. Tumma kortti on 0.5rem sisempänä, ja
   sen yhteystietolaatikot (1rem) ovat korttiin nähden saman insetin päässä.
   Määritelty myös kortille, koska servicebilin kortti on ilman kehystä. */
.contact-hero,
.contact-highlight-card {
    --contact-hero-gap: clamp(1rem, 2vw, 1.5rem);
    --contact-frame-pad: 0.5rem;
    --contact-inset: clamp(1rem, 2.5vw, 2rem);
    --contact-inner-radius: 1rem;
    --contact-card-radius: calc(var(--contact-inner-radius) + var(--contact-inset));
}

.contact-hero {
    margin-top: clamp(5rem, 8vw, 8rem);
    margin-bottom: clamp(3rem, 6vw, 5rem);
    padding: var(--contact-frame-pad);
    display: grid;
    grid-template-columns: minmax(400px, 0.95fr) minmax(0, 2.5fr);
    gap: var(--contact-hero-gap);
    align-items: stretch;
    border: 1px solid var(--brand-dark);
    border-radius: calc(var(--contact-card-radius) + var(--contact-frame-pad) + 1px);
    background:
        radial-gradient(140% 120% at 100% 0%, rgba(180, 158, 110, 0.1) 0%, rgba(180, 158, 110, 0.04) 18%, rgba(180, 158, 110, 0) 48%),
        rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.contact-hero-copy,
.contact-highlight-card,
.contact-form-wrap,
.contact-side-card {
    border-radius: 2rem;
}

.contact-hero-copy {
    padding: calc(var(--contact-inset) - var(--contact-frame-pad));
    padding-left: 0;
    order: 2;
    background: transparent;
    border-radius: 1.5rem;
    color: var(--brand-dark);
}

.contact-title {
    font-family: var(--font-title);
    font-size: var(--fs-display);
    line-height: 1;
    max-width: 12ch;
    margin-bottom: 1.5rem;
}

.contact-hero-copy .tag-title-light {
    color: var(--brand-accent);
}

.contact-lead,
.contact-body,
.contact-form-intro,
.contact-side-text,
.contact-people-intro,
.contact-person-focus,
.contact-highlight-text {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--brand-dark);
    opacity: 0.82;
}

.contact-hero-copy .contact-lead,
.contact-hero-copy .contact-body {
    color: var(--brand-dark);
    opacity: 0.74;
}

.contact-body {
    margin-top: 1rem;
    max-width: 60ch;
}

.contact-highlight-card {
    order: 1;
    background-color: var(--brand-dark);
    background-image: var(--surface-dark-overlay-control);
    border-radius: var(--contact-card-radius);
    color: var(--brand-light);
    /* Sivuilla ja alhaalla sama väli kuin kaaren laskussa; yläreunassa on
       tekstiä, joten sen väli saa olla isompi. */
    padding: clamp(1.6rem, 3vw, 2.4rem) var(--contact-inset) var(--contact-inset);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 2rem;
}

.contact-highlight-label {
    display: inline-block;
    /* Reklamaatiosivulla tämä on sivun h1, yhteyssivulla h2: näyttää samalta. */
    margin: 0;
    font: inherit;
    font-size: 0.85rem;
    letter-spacing: 0;
    text-transform: none;
    color: var(--brand-accent);
}

.contact-highlight-text {
    color: rgba(243, 243, 243, 0.78);
}

.contact-highlight-links {
    display: grid;
    gap: 1rem;
    width: 100%;
}

.contact-highlight-link {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 1rem 1.2rem;
    border-radius: var(--contact-inner-radius);
    border: 1px solid rgba(243, 243, 243, 0.12);
    color: var(--brand-light);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.04);
}

.contact-highlight-link span {
    font-size: 0.85rem;
    opacity: 0.64;
}

.contact-highlight-link strong {
    font-size: 1.05rem;
    font-weight: 500;
}

.contact-main {
    display: block;
    padding-bottom: clamp(4rem, 6vw, 6rem);
}

.contact-form-wrap,
.contact-side-card {
    padding: clamp(2rem, 4vw, 3rem);
    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(8px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-audience {
    border: 0;
    padding: 0;
    margin: 0;
}

.contact-audience legend {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(20, 20, 20, 0.84);
}

/* Valitsin kuten konfiguraattorissa (.pc-segmented), mutta lomakkeen tyylissä:
   kehys on kentän korkuinen (54 px) ja kenttien värinen, ja sen kaari on sama
   kuin kentillä (1.5rem). Valittu osa on samankeskinen: kaari = 1.5rem −
   sisäväli − reunus. */
.contact-audience-options {
    --audience-pad: 0.25rem;
    display: inline-grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--audience-pad);
    padding: var(--audience-pad);
    border: 1px solid rgba(20, 20, 20, 0.12);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.76);
}

.contact-audience-option {
    position: relative;
    cursor: pointer;
}

.contact-audience-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.contact-audience-option span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: calc(54px - 2 * var(--audience-pad) - 2px);
    padding: 0 1.25rem;
    border-radius: calc(1.5rem - var(--audience-pad) - 1px);
    color: var(--brand-dark);
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.contact-audience-option input:checked + span {
    background: var(--brand-dark);
    color: var(--brand-light);
}

.contact-audience-option input:focus-visible + span {
    outline: 2px solid var(--brand-accent);
    outline-offset: 2px;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 0.5rem;
}

.contact-field--full {
    grid-column: 1 / -1;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-field[hidden] {
    display: none !important;
}

.contact-field span {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(20, 20, 20, 0.84);
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    border: 1px solid rgba(20, 20, 20, 0.12);
    background: rgba(255, 255, 255, 0.76);
    border-radius: 1.5rem;
    padding: 1rem 1.1rem;
    font: inherit;
    color: var(--brand-dark);
    resize: vertical;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: rgba(20, 20, 20, 0.45);
}

.contact-field input[type="file"] {
    padding: 0.85rem 0.95rem;
}

.contact-field input[type="file"]::file-selector-button {
    margin-right: 0.85rem;
    padding: 0.7rem 1rem;
    border: 0;
    border-radius: 1.5rem;
    background: rgba(20, 20, 20, 0.9);
    color: var(--brand-light);
    font: inherit;
    cursor: pointer;
}

.contact-field select {
    appearance: none;
    cursor: pointer;
    padding-right: 3rem;
    background-color: rgba(255, 255, 255, 0.76);
    background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.5 7L9 11.5L13.5 7' stroke='%231E1D1B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.1rem center;
    background-size: 1.05rem;
    color: var(--brand-dark);
}

.contact-field select option {
    background: var(--brand-light);
    color: var(--brand-dark);
}

.contact-field select option:disabled {
    color: rgba(20, 20, 20, 0.46);
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    outline: none;
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 3px rgba(180, 158, 110, 0.14);
}

/* Inline-virhe heti kentästä poistuttaessa: :user-invalid osuu vasta kun
   käyttäjä on koskenut kenttään, joten tyhjä lomake ei hehku punaisena. */
.contact-field input:user-invalid,
.contact-field select:user-invalid,
.contact-field textarea:user-invalid {
    border-color: rgba(179, 38, 30, 0.65);
}

.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 1.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(243, 243, 243, 0.2);
    background-color: var(--brand-dark);
    background-image: var(--surface-dark-overlay-control);
    color: var(--brand-light);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    align-self: flex-end;
}

.contact-submit:hover,
.contact-highlight-link:hover {
    opacity: 0.88;
}

.contact-file-note {
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(20, 20, 20, 0.62);
}

/* When the status note is empty it must not occupy a grid row (which would add
   the row-gap below the submit button). It reappears once JS fills it in. */
.contact-file-note:empty {
    display: none;
}

.contact-checkbox {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    padding: 1rem 1.1rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(20, 20, 20, 0.12);
    background: rgba(255, 255, 255, 0.76);
}

.contact-checkbox input {
    width: 1rem;
    height: 1rem;
    margin-top: 0.25rem;
    accent-color: var(--brand-dark);
    flex-shrink: 0;
}

.contact-checkbox span {
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(20, 20, 20, 0.78);
}

.contact-checkbox a {
    color: var(--brand-dark);
    text-underline-offset: 0.18em;
}

.contact-form-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
}

.contact-form-actions .contact-submit {
    align-self: center;
    white-space: nowrap;
}

.complaints-form {
    margin-top: 0;
}

.dealer-title {
    font-family: var(--font-title);
    font-size: var(--fs-display);
    line-height: 1;
    color: var(--brand-light);
}

.dealer-highlight-list {
    display: grid;
    gap: 0.85rem;
    margin: 0;
    padding-left: 1.2rem;
    color: rgba(243, 243, 243, 0.78);
}

.dealer-highlight-list li {
    line-height: 1.7;
}

/* Jälleenmyyjäsivun hero: arvolupaus ennen lomaketta. */
/* Hero perii om oss -sivun mitat (.about-page-hero); vain alaväli on oma. */
.dealers-landing-hero {
    padding-bottom: 4rem;
}

/* Rivit jaetaan configissa (title_lines) - 14ch-katkaisu pois, ettei
   "Bli återförsäljare" katkea vielä kertaalleen kesken rivin. */
.dealers-landing-h1 {
    max-width: none;
}

/* Kohderyhmätägi otsikon yläpuolella, samassa linjassa otsikon kanssa. */
.dealers-audience {
    grid-column: 3 / 13;
    margin-bottom: -1rem;
}

/* Kapealla gridi on 1-palstainen (sama breakpoint kuin about-herolla):
   palstamääritys pois, ettei tägi työnny gridin ulkopuolelle oikealle. */
@media (max-width: 1100px) {
    .dealers-audience {
        grid-column: 1;
        margin-bottom: 0;
    }
}

/* Puhelimella otsikko pienemmäksi kuin about-sivun oletus: rivit ovat
   monisanaisia ("varje transportbil"), ja about-koolla ne rivittyisivät
   sana per rivi. */
@media (max-width: 700px) {
    /* Kaksi luokkaa, jotta tämä ohittaa .hero-title.about-page-title-koon.
       10.5vw: suurin koko jolla pisin rivi (de "an jedem Transporter") pysyy
       yhdellä rivillä kapeimmillakin puhelimilla. */
    .hero-title.dealers-landing-h1 {
        font-size: clamp(2.2rem, 10.5vw, 4.9rem);
    }

    /* Tägi ja lead pienemmiksi puhelimella - about-koot ovat liian isoja
       suhteessa kavennettuun otsikkoon. */
    .dealers-audience {
        font-size: 0.72rem;
        letter-spacing: 1.6px;
    }

    .dealers-landing-hero .about-page-lead {
        font-size: 1rem;
        line-height: 1.6;
    }
}


/* Suora soittopolku kohokohtakortissa lomakkeen vieressä. */
.dealers-phone a {
    font-weight: 600;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.dealers-phone a:hover {
    text-decoration: underline;
}

/* Tuotekortit heron alla - sama equipment-slider-komponentti kuin etusivun
   tuotelinkissä. Vain sijoittelu heroon + lyhyt esittelyrivi ovat omia. */
.dealers-products {
    margin-top: 6.5rem;
}

/* Nuolet/pisteet piilotetaan visibility:llä kun kaikki kortit mahtuvat
   näkyviin (työpöytä) - pienempi marginaali ettei varattu tila ammota. */
.dealers-products .equipment-controls {
    margin-top: 2rem;
}

.dealers-product-text {
    margin-top: 0.35rem;
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.8;
    text-align: center;
    color: var(--brand-dark);
}

/* Perehdytysajan valitsimet: päivä + alkuaika + osallistujat rinnakkain. */
.dealer-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

/* Alkuaika + laskettu loppuaika rinnakkain: [10:00 ▾] – 11:00 */
.dealer-intro-time {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

/* Käytännössä sisällön levyiset valitsimet (alkuaika + osallistujat):
   sisältö + nuoli, ei koko rivin täyttöä. */
.dealer-intro-field select {
    width: auto;
}

.dealer-intro-time select {
    flex: 0 0 auto;
}

.dealer-intro-field select,
.dealer-intro-field option {
    font-size: 0.95rem;
}

/* Avautuvat listat (alkuaika + osallistujat): muokattava select
   (Chromium 135+) antaa hallita listan kokonaiskorkeuden (matalampi,
   scrollaa) ja rivikorkeuden (korkeammat rivit). Muut selaimet pudottavat
   @supports-lohkon ja käyttävät natiivilistaa. */
@supports (appearance: base-select) {
    .dealer-intro-field select,
    .dealer-intro-field select::picker(select) {
        appearance: base-select;
    }

    /* Oma nuoli tulee selectin background-imagesta - piilota UA:n ikoni. */
    .dealer-intro-field select::picker-icon {
        display: none;
    }

    .dealer-intro-field select::picker(select) {
        max-height: 11rem;
        overflow-y: auto;
        margin-top: 0.3rem;
        padding: 0.3rem;
        border: 1px solid rgba(20, 20, 20, 0.12);
        border-radius: 1rem;
        background: var(--brand-light);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
        /* Pelkkä ohut liukupalkki: ei nuolia, ei taustaraitaa. */
        scrollbar-width: thin;
        scrollbar-color: rgba(20, 20, 20, 0.3) transparent;
    }

    .dealer-intro-field select option {
        padding: 0.65rem 0.9rem;
        border-radius: 0.6rem;
        cursor: pointer;
    }

    /* Ei valintamerkkiä - valinta alkaa rivin vasemmasta reunasta. */
    .dealer-intro-field select option::checkmark {
        display: none;
    }

    .dealer-intro-field select option:hover,
    .dealer-intro-field select option:focus {
        background: rgba(20, 20, 20, 0.06);
    }

    .dealer-intro-field select option:checked {
        font-weight: 600;
    }
}

.dealer-intro-time-end {
    white-space: nowrap;
    color: var(--brand-dark);
}

.dealer-intro-time-end b {
    font-weight: 600;
}

@media (max-width: 600px) {
    .dealer-intro-grid {
        grid-template-columns: 1fr;
    }
}

/* Oma kalenteripopup päivävalinnalle: viikonloput ja pyhäpäivät ovat
   disabloituja nappeja, joten niitä ei voi valita lainkaan. */
.dealer-intro-date-field {
    position: relative;
}

.dealer-intro-calendar {
    position: absolute;
    top: calc(100% + 0.3rem);
    left: 0;
    z-index: 40;
    min-width: 17rem;
    padding: 0.6rem;
    border: 1px solid rgba(20, 20, 20, 0.12);
    border-radius: 1rem;
    background: var(--brand-light);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.dealer-intro-calendar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.4rem;
}

.dealer-intro-calendar-head span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-dark);
    text-transform: capitalize;
}

.dealer-intro-calendar-head button {
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 0.6rem;
    background: none;
    font-size: 1.1rem;
    line-height: 1;
    color: var(--brand-dark);
    cursor: pointer;
}

.dealer-intro-calendar-head button:hover:not(:disabled) {
    background: rgba(20, 20, 20, 0.06);
}

.dealer-intro-calendar-head button:disabled {
    opacity: 0.25;
    cursor: default;
}

.dealer-intro-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.15rem;
}

.dealer-intro-calendar-wd {
    padding: 0.25rem 0;
    font-size: 0.72rem;
    text-align: center;
    text-transform: capitalize;
    color: rgba(20, 20, 20, 0.5);
}

.dealer-intro-calendar-day {
    padding: 0.45rem 0;
    border: 0;
    border-radius: 0.6rem;
    background: none;
    font: inherit;
    font-size: 0.85rem;
    color: var(--brand-dark);
    cursor: pointer;
}

.dealer-intro-calendar-day:hover:not(:disabled) {
    background: rgba(20, 20, 20, 0.06);
}

.dealer-intro-calendar-day:disabled {
    color: rgba(20, 20, 20, 0.28);
    cursor: default;
}

.dealer-intro-calendar-day.selected {
    background: rgba(20, 20, 20, 0.9);
    color: var(--brand-light);
}

/* Perehdytysaikakentän ohjeteksti. */
.contact-field-note {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.82rem;
    line-height: 1.5;
    opacity: 0.75;
}

/* Alustalista kohokorttiin pistelistan alle. */
.dealers-platforms {
    margin-top: 1.4rem;
    font-size: 0.85rem;
    opacity: 0.85;
}

.dealer-form-intro {
    margin-bottom: 1.25rem;
}

.dealer-product-field {
    border: 0;
    margin: 0;
    padding: 0;
}

.dealer-product-field legend {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(20, 20, 20, 0.84);
}

.dealer-product-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
    gap: 0.5rem;
}

.dealer-product-option {
    position: relative;
    cursor: pointer;
}

.dealer-product-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.dealer-product-option span {
    display: flex;
    align-items: center;
    min-height: 2.8rem;
    padding: 0.75rem 0.9rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(20, 20, 20, 0.12);
    background: rgba(255, 255, 255, 0.76);
    color: var(--brand-dark);
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.dealer-product-option input:checked + span {
    background: rgba(20, 20, 20, 0.9);
    border-color: rgba(20, 20, 20, 0.9);
    color: var(--brand-light);
}

/* Näppäimistöfokus näkyviin: piilotettu checkbox saa fokuksen, joten rengas
   piirretään chipille - sama tyyli kuin lomakekenttien :focus-tilassa. */
.dealer-product-option input:focus-visible + span {
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 3px rgba(180, 158, 110, 0.14);
}

.complaint-guidance-list {
    display: grid;
    gap: 0.85rem;
    margin: 0;
    padding-left: 1.2rem;
    color: rgba(243, 243, 243, 0.78);
}

.complaint-guidance-list li {
    line-height: 1.7;
}

.contact-people-section {
    padding-bottom: clamp(4rem, 7vw, 8rem);
}

.legal-page {
    padding: clamp(6rem, 9vw, 9rem) 0 clamp(4rem, 7vw, 7rem);
}

.legal-page-header {
    max-width: 860px;
    margin: 0 auto clamp(2rem, 4vw, 3rem);
}

.legal-page-title {
    margin: 0.75rem 0 1rem;
    font-family: var(--font-title);
    font-size: var(--fs-display);
    line-height: 1;
    color: var(--brand-dark);
}

.legal-page-lead,
.legal-section p,
.legal-section li {
    font-size: 1.05rem;
    line-height: 1.78;
    color: rgba(20, 20, 20, 0.78);
}

.legal-page-updated {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: rgba(20, 20, 20, 0.58);
}

.legal-page-body {
    max-width: 860px;
    margin: 0 auto;
    display: grid;
    gap: clamp(1.6rem, 3vw, 2.35rem);
}

.legal-section {
    padding: 0;
}

.legal-section h2 {
    margin-bottom: 0.8rem;
    font-family: var(--font-title);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    line-height: 1.08;
    color: var(--brand-dark);
}

.legal-section h3 {
    margin: 1rem 0 0.45rem;
    font-size: 1rem;
    line-height: 1.35;
    color: var(--brand-dark);
}

.legal-section ul {
    margin: 0.65rem 0 0;
    padding-left: 1.25rem;
}

.legal-section li + li {
    margin-top: 0.35rem;
}

.legal-section p + p,
.legal-section p + ul,
.legal-section ul + p {
    margin-top: 0.85rem;
}

.contact-person-role {
    margin-top: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--brand-dark);
}

.contact-person-focus {
    margin-top: 1rem;
}

@media (max-width: 900px) {
    .contact-hero {
        grid-template-columns: 1fr;
    }

    /* Stacked on mobile: give the copy the same left padding as the other sides */
    .contact-hero-copy {
        padding-left: calc(var(--contact-inset) - var(--contact-frame-pad));
    }

    /* Yhteyssivulla lomake ensin: ennen johdanto ja kolme isoa
       yhteystietolaatikkoa veivät koko ensimmäisen ruudun ennen lomaketta.
       Vain näkyvä järjestys; h1 on silti merkinnässä ensimmäisenä. */
    .contact-highlight-card--after-form {
        order: 3;
    }

    /* Privatperson / Företag koko leveydeltä kuten kentät. */
    .contact-audience-options {
        display: grid;
        width: 100%;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-actions {
        grid-template-columns: 1fr;
    }

    .contact-form-actions .contact-submit {
        justify-self: stretch;
        align-self: stretch;
        width: 100%;
    }

}

.service-landing-hero {
    margin-top: clamp(5rem, 8vw, 8rem);
    margin-bottom: clamp(3rem, 6vw, 5rem);
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.95fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: stretch;
}

.service-landing-copy {
    padding: clamp(1rem, 1.5vw, 1.25rem) 0;
}

.service-landing-title {
    font-family: var(--font-title);
    font-size: var(--fs-display);
    line-height: 0.98;
    color: var(--brand-dark);
    max-width: 12ch;
    margin: 0 0 1.5rem;
}

.service-landing-lead,
.service-landing-body,
.service-hero-point p,
.service-brand-note {
    font-family: var(--font-text);
    font-size: 1.04rem;
    line-height: 1.75;
    color: rgba(20, 20, 20, 0.8);
}

.service-landing-lead {
    max-width: 62ch;
    margin-bottom: 1rem;
}

.service-landing-body {
    max-width: 62ch;
}

.service-landing-actions {
    margin-top: 2rem;
}

.service-landing-actions .hero-button-inner {
    justify-content: flex-start;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.service-landing-panel {
    background-color: var(--brand-dark);
    background-image: var(--surface-dark-overlay-control);
    border: 1px solid var(--brand-dark);
    border-radius: 2rem;
    padding: clamp(1.4rem, 2.5vw, 2rem);
    color: var(--brand-light);
    display: grid;
    gap: 1rem;
}

.service-hero-point {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 1.35rem;
    padding: 1.15rem 1.1rem;
    background: rgba(255, 255, 255, 0.04);
}

.service-hero-point h3 {
    font-family: var(--font-title);
    font-size: 1.35rem;
    line-height: 1.15;
    margin: 0 0 0.8rem;
}

.service-hero-point p {
    color: rgba(255, 255, 255, 0.78);
}

.service-brand-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Servicebil: de tre skälen ligger i samma mörka band som etusivun
   återförsäljarblock och återanvänder .three-cards/.service-card. Det enda
   egna är raden med två textlänkar under korten. */
.service-dark-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2.5rem;
    margin-top: 1rem;
}

/* Osion otsikko + valokuva rinnakkain (ratkaisut ja bott-osio). Kuva on 4:3
   ja rajataan coverilla, jotta molemmat osiot saavat saman muodon. */
.service-header-split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
}

.service-header-split .service-header-copy > :last-child {
    margin-bottom: 0;
}

.service-header-split--brands {
    margin-bottom: 3rem;
}

.service-header-visual {
    aspect-ratio: 4 / 3;
    border-radius: 1.2rem;
    overflow: hidden;
    background: var(--brand-dark);
}

/* Studiokuva on läpinäkyvä: ei omaa taustaa eikä rajausta, auto seisoo
   suoraan sivun pohjalla kuten heron bott-kortit. */
.service-header-visual.service-header-visual--studio {
    aspect-ratio: auto;
    background: none;
    border-radius: 0;
    overflow: visible;
}

/* Kehys seuraa kuvan omaa muotoa (width/height-attribuutit), joten
   läpinäkyvän kuvan ympärille ei jää tyhjää. */
.service-header-visual.service-header-visual--studio img {
    height: auto;
    object-fit: contain;
}

.service-header-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Branschkortit: 4:3-kuva, nimi ja yksi rivi. Sama equipment-slider kuin
   heron tuotekarusellissa, joten nuolet, pisteet ja 3/2/1 korttia per näkymä
   tulevat valmiina. */
.service-trades-section .equipment-header {
    margin-bottom: 3rem;
}

.service-trades-intro {
    max-width: 62ch;
}

.service-trade-image {
    aspect-ratio: 4 / 3;
    background: var(--brand-dark);
}

.service-trade-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-trade-card .equipment-name {
    margin-top: 1rem;
    font-family: var(--font-text);
    font-size: 1.1rem;
    font-weight: 500;
    text-align: left;
}

.service-trade-text {
    text-align: left;
}

.service-trades-slider .equipment-controls {
    margin-top: 2rem;
}

/* Erikoisautojen kortti karusellin lopussa: tumma paneeli kuvan paikalla,
   samassa 4:3-muodossa, jotta kortti on samankokoinen kuin muut. */
.service-trade-special-panel {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.9rem;
    padding: clamp(1.25rem, 2.5vw, 1.75rem);
    background-color: var(--brand-dark);
    background-image: var(--surface-dark-overlay-control);
    color: var(--brand-light);
    box-sizing: border-box;
}

.service-trade-special-tag {
    margin: 0;
    font-family: var(--font-text);
    font-size: 0.8rem;
    letter-spacing: 0;
    text-transform: none;
    color: var(--brand-accent);
}

.service-trade-special-list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-family: var(--font-title);
    font-size: clamp(1.25rem, 1.9vw, 1.6rem);
    line-height: 1.25;
}

.service-trade-special-list li:last-child {
    opacity: 0.6;
}

.service-trade-special-cta {
    margin-top: 1rem;
    font-size: 1rem;
}

@media (max-width: 900px) {
    .service-header-split {
        grid-template-columns: 1fr;
    }

    .service-header-visual {
        max-width: 40rem;
    }
}

/* bott-kokovalitsin. Kaikki koot ovat HTML:ssä ja vaihto tapahtuu piilotetuilla
   radioilla + sisarvalitsimilla - ei JS:ää, ja hakukoneet näkevät kaiken. */
.bott-size-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.bott-size-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 2rem 0 2.5rem;
}

.bott-size-tab {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 1.4rem;
    border: 1px solid var(--brand-dark);
    border-radius: 50rem;
    font-size: 0.95rem;
    color: var(--brand-dark);
    background: transparent;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.bott-size-tab:hover {
    background: rgba(20, 20, 20, 0.06);
}

/* Piilota kaikki paneelit oletuksena; valittu koko näytetään alla. */
.bott-size-panel {
    display: none;
}

.bott-size-vehicles {
    margin: 0 0 0.4rem;
    font-size: 0.9rem;
    opacity: 0.75;
    color: var(--brand-dark);
}

/* Sovitusrajoite (kattokorkeus, jäljelle jäävä lattiatila) - erottuu
   mallilistasta hieman tummempana, koska se vaikuttaa valintaan. */
.bott-size-note {
    margin: 0 0 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--brand-dark);
}

/* Hero-kortin linkki vie tähän: jätetään kiinteän headerin korkeus + väli
   yläpuolelle, ettei kokovalitsin jää headerin alle. */
.bott-sizes {
    scroll-margin-top: calc(var(--header-height, 87px) + 1.5rem);
}

/* Heron kokokortit ovat linkkejä kokovalitsimeen; kortti näyttää samalta
   kuin ennen, vain kuva himmenee hieman hoverissa. */
.bott-hero-card {
    display: block;
    color: inherit;
    text-decoration: none;
}

.bott-hero-card:hover .equipment-image img {
    opacity: 0.9;
}

/* Pakettimäärä ("4 paket") - kertoo varsinkin puhelimella, että kortteja on
   enemmän kuin näkyvissä on. Istuu mallilistan / sovitusrajoitteen alle. */
.bott-size-count {
    margin: 0 0 2rem;
    font-size: 0.8rem;
    letter-spacing: 0;
    text-transform: none;
    color: var(--brand-accent);
}

.bott-size-note:has(+ .bott-size-count) {
    margin-bottom: 0.6rem;
}

/* Puhelin: kaikki karusellit (tuotesivujen varusteet ja galleria, etusivu,
   jälleenmyyjät, servicebil) vierivät sormella. Kortti on 85 % levyinen,
   joten seuraavan reuna pilkistää ja kertoo että kortteja on lisää. Vieritys kulkee kontin reunasta reunaan, mutta
   ensimmäinen kortti ja snappaus osuvat tekstin vasempaan linjaan.
   app.js tunnistaa tilan (overflow-x: auto) ja vierittää nuolilla ja pisteillä
   transformin sijaan. */
@media (max-width: 599px) {
    .equipment-slides {
        overflow-x: auto;
        overflow-y: hidden;
        /* auto, not the base 100%: with the negative margins the strip then
           runs to both screen edges and the next card peeks in at the right. */
        width: auto;
        margin-inline: calc(-1 * var(--container-gutter, 24px));
        padding-inline: calc(var(--container-gutter, 24px) - 0.75rem);
        scroll-padding-inline: calc(var(--container-gutter, 24px) - 0.75rem);
        scroll-snap-type: x mandatory;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .equipment-slides::-webkit-scrollbar {
        display: none;
    }

    .equipment-slides-track {
        transform: none !important;
        transition: none;
    }

    .equipment-slide {
        flex-basis: 85%;
        max-width: 85%;
        scroll-snap-align: start;
    }

    /* Yksi kortti ei vierity, joten se täyttää leveyden ja pysyy keskellä. */
    .equipment-slide:only-child {
        flex-basis: 100%;
        max-width: 100%;
    }

    /* Hinta ja Köp ovat puhelimella allekkain yhdessä kehyksessä; väli niiden
       välissä oli turhaa tyhjää. */
    .bott-package-card .bott-package-actions .hero-button-inner {
        gap: 0;
    }
}

.bott-package-grid {
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

/* Pakettikortit käyttävät samaa equipment-card-komponenttia kuin sivun
   yläosan tuotekortit - vain kuvan sovitus ja hintarivi ovat omia. */
/* Pakettikarusellin kortit käyttävät equipment-slideria (3 per näkymä +
   nuolet), kuten muutkin tuote-esittelyt sivustolla. */
/* Kolumni + auto-marginaali actionsissa: hinta/Köp-pilleri asettuu kortin
   pohjaan, jolloin napit ovat samalla korkeudella vaikka paketeissa on eri
   määrä sisältörivejä. */
.bott-package-card {
    color: var(--brand-dark);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}


/* Tuoterenderöinnit ovat läpinäkyvällä taustalla, joten contain (ei cover) -
   muuten hyllymoduuli rajautuisi reunoista. Ei omaa taustaväriä: kuvalaatikko
   on läpinäkyvä kuten muissakin tuotekorteissa. Reilu sisennys pitää
   renderöinnit erillään toisistaan naapurikorteissa. */
.bott-package-image img {
    aspect-ratio: 4 / 3;
    object-fit: contain;
    padding: 1.6rem 2.4rem;
}

/* Asennus lisäosana: kytkin lisää asennuksen hinnan loppusummaan, joka näkyy
   samassa hinta + nappi -pillerissä kuin tuotesivujen pakettikorteissa.
   Toteutus on pelkkää CSS:ää (sisarvalitsimet checkboxista) kuten
   kokovälilehdissä, joten molemmat summat ovat aina DOMissa hakukoneille. */
.bott-package-buy {
    margin-top: auto;
    padding-top: 1rem;
}

.bott-fit-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.bott-fit-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(30, 29, 27, 0.22);
    border-radius: 50rem;
    font-size: 0.85rem;
    cursor: pointer;
}

.bott-fit-add {
    margin-left: auto;
    opacity: 0.65;
    white-space: nowrap;
}

/* Kytkin: 34x20 px liukukytkin, nuppi siirtyy oikealle valittuna. */
.bott-fit-switch {
    position: relative;
    flex-shrink: 0;
    width: 34px;
    height: 20px;
    border-radius: 50rem;
    background: rgba(30, 29, 27, 0.22);
    transition: background 0.2s ease;
}

.bott-fit-switch::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.2s ease;
}

.bott-fit-input:checked ~ .bott-fit-row .bott-fit-switch {
    background: var(--brand-dark);
}

.bott-fit-input:checked ~ .bott-fit-row .bott-fit-switch::after {
    transform: translateX(14px);
}

.bott-fit-input:checked ~ .bott-fit-row {
    border-color: var(--brand-dark);
}

.bott-fit-input:focus-visible ~ .bott-fit-row {
    outline: 2px solid var(--brand-dark);
    outline-offset: 2px;
}

/* Sama hinta + nappi -pilleri kuin tuotesivuilla. Säännöt on toistettava,
   koska alkuperäiset on rajattu .package-cardiin. */
.bott-package-actions {
    margin-top: 0.7rem;
}

.bott-package-card .bott-package-actions .hero-button-inner {
    width: 100%;
}

.bott-package-card .build-price {
    border: none;
    background: none;
    color: var(--brand-dark);
    padding: 0 0.9rem;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    font-weight: 600;
}


.bott-package-card .build-config {
    background: var(--brand-dark);
    color: var(--brand-light);
    border: 1px solid var(--brand-dark);
    padding: 0 1.2rem;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bott-package-card .build-config:hover {
    opacity: 0.8;
}

/* Vain valintaa vastaava summa ja ostolinkki näkyvät. Nämä on pakko tulla
   .build-config-säännön JÄLKEEN: tarkkuus on sama (0,2,0), joten aiemmin
   sijoitettuna napin oma display: flex voittaisi ja kortissa näkyisi kaksi
   Köp-nappia. */
.bott-package-card .bott-total--fitted,
.bott-package-card .bott-buy--fitted {
    display: none;
}

.bott-fit-input:checked ~ .bott-package-actions .bott-total--delivered,
.bott-fit-input:checked ~ .bott-package-actions .bott-buy--delivered {
    display: none;
}

.bott-fit-input:checked ~ .bott-package-actions .bott-total--fitted {
    display: inline;
}

.bott-fit-input:checked ~ .bott-package-actions .bott-buy--fitted {
    display: flex;
}

/* ---- Verkkokauppa ---- */

/* Ei omaa hero-osiota: listalla riittää sivupolku ja kategorian nimi. */
.shop-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    opacity: 0.6;
}

.shop-crumbs a {
    color: inherit;
    text-decoration: none;
}

.shop-crumbs a:hover {
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.shop-crumb-current[hidden] {
    display: none;
}

.shop-crumb-current::before {
    content: "\203A";
    margin-right: 0.4rem;
}

/* Otsikko vasemmalla, järjestys oikealla samalla rivillä; kapealla
   näytöllä järjestys rivittyy otsikon alle. */
.shop-headbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
    padding-bottom: 1rem;
}

.shop-headbar .shop-toolbar {
    padding: 0;
    margin-top: 0.5rem;
}

.shop-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.shop-head-count {
    font-size: 0.85rem;
    opacity: 0.6;
    white-space: nowrap;
}

.shop-title {
    margin: 0;
    font-family: var(--font-title);
    font-weight: 300;
    /* Pienempi kuin sivuston hero-otsikot: tämä nimeää kategorian, ei sivua. */
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

/* Työkalurivi tarttuu yläreunaan: suodattimet pysyvät käden ulottuvilla myös
   pitkää listaa selatessa. */
/* Kategoriat omassa palstassaan, tuotteet oikealla. */
.shop-layout {
    display: grid;
    grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
    /* Kiinteän headerin alta, sama väli kuin muillakin sivuilla. */
    padding-top: 9.5rem;
}

/* Lista seuraa mukana kun tuotteita selaa - muuten kategoriaan palaaminen
   vaatisi vierityksen takaisin sivun ylälaitaan. Yläraja lasketaan headerin
   korkeudesta (JS päivittää muuttujan), ei kiinteästä arvosta: kiinteä 7rem jäi
   headerin alle heti kun ilmoituspalkki oli näkyvissä. */
.shop-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
    align-self: start;
}

/* Ajoneuvovalitsin kategorioiden yläpuolella: auton valinta rajaa kaiken muun,
   joten se kuuluu ensimmäiseksi. */
.shop-vehicle {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid rgba(30, 29, 27, 0.12);
}

.shop-vehicle-title {
    margin: 0 0 0.25rem;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: rgba(30, 29, 27, 0.55);
}

.shop-vehicle-field select {
    width: 100%;
    height: 38px;
    padding: 0 0.6rem;
    border: 1px solid rgba(30, 29, 27, 0.24);
    border-radius: 0.6rem;
    background: transparent;
    font: inherit;
    font-size: 0.88rem;
    color: var(--brand-dark);
    cursor: pointer;
}

.shop-vehicle-field select:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.shop-vehicle-chosen {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem;
    margin: 0.25rem 0 0;
    font-size: 0.85rem;
}

.shop-vehicle-chosen[hidden] {
    display: none;
}

.shop-vehicle-clear {
    border: 0;
    background: none;
    padding: 0;
    font: inherit;
    font-size: 0.8rem;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.18em;
    cursor: pointer;
    opacity: 0.6;
}

.shop-vehicle-clear:hover {
    opacity: 1;
}

.shop-vehicle-help {
    margin: 0.25rem 0 0;
    font-size: 0.78rem;
    line-height: 1.5;
    opacity: 0.55;
}

.shop-facets {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.shop-facet {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 0.55rem 0.75rem;
    border: 0;
    border-radius: 0.6rem;
    background: transparent;
    color: var(--brand-dark);
    font: inherit;
    font-size: 0.92rem;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease;
}

.shop-facet:hover {
    background: rgba(30, 29, 27, 0.06);
}

.shop-facet.is-active {
    background: rgba(30, 29, 27, 0.08);
    font-weight: 600;
}

.shop-facet-count {
    font-size: 0.8rem;
    opacity: 0.5;
}

.shop-facet.is-active .shop-facet-count {
    opacity: 0.75;
}

/* Ei enää tarttuva eikä oman taustavärin peittämä: rivillä on vain lajittelu,
   ja kategoriat ovat sivupalkissa joka seuraa mukana. Läpinäkyvä tausta pitää
   sivun taustapesun yhtenäisenä. */
/* Ruudunlukijalle jäävä, näkymätön teksti. Luokkaa on käytetty merkinnässä jo
   pidempään, mutta sitä ei ollut määritelty missään - siksi piilotettujen
   labelien tekstit näkyivät ruudulla. */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* Hakupalkki kaikkien kaupan sivujen yläreunassa. Se kantaa kiinteän headerin
   alta tarvittavan välin, joten sivujen omat yläpehmusteet kutistuvat sen alla
   (säännöt alempana). */
.shop-searchbar {
    padding-top: 9.5rem;
}

.shop-searchbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

/* Kategoriat pillereinä haun rinnalla. Sivupalkin lista ja nämä ohjaavat samaa
   valintaa; skripti pitää molempien korostuksen synkassa. */
.shop-chips {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.4rem;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.shop-chips::-webkit-scrollbar {
    display: none;
}

.shop-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 1rem;
    text-decoration: none;
    border: 1px solid rgba(30, 29, 27, 0.24);
    border-radius: 50rem;
    background: transparent;
    color: var(--brand-dark);
    font: inherit;
    font-size: 0.88rem;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.shop-chip:hover {
    background: rgba(30, 29, 27, 0.06);
}

.shop-chip.is-active {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: var(--brand-light);
}

.shop-search-form {
    flex: 0 1 auto;
    min-width: 0;
}

.shop-search-field {
    position: relative;
    display: flex;
    align-items: center;
    width: min(28rem, 100%);
}

.shop-search-icon {
    position: absolute;
    left: 0.9rem;
    opacity: 0.5;
    pointer-events: none;
}

.shop-search input {
    width: 100%;
}

.shop-search-field input {
    width: 100%;
    height: 44px;
    /* Tilaa suurennuslasille vasemmalla ja tyhjennykselle oikealla. */
    padding: 0 2.8rem 0 2.9rem;
    border: 1px solid rgba(30, 29, 27, 0.24);
    border-radius: 0.75rem;
    background: var(--brand-light);
    font: inherit;
    font-size: 0.95rem;
    color: var(--brand-dark);
}

.shop-search-field input:focus {
    outline: none;
    border-color: var(--brand-dark);
}

/* Selaimen oma hakukentän rasti pois: kentässä on jo oma tyhjennysnappi. */
.shop-search-field input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

.shop-search-clear {
    position: absolute;
    right: 0.3rem;
    width: 2rem;
    height: 2rem;
}

.shop-search-clear[hidden] {
    display: none;
}

/* Hakupalkki on nyt se joka väistää headerin, joten sivujen omat yläpehmusteet
   pienenevät - muuten sisältö alkaisi kahden headerin korkeuden päästä. */
.shop-page-body .shop-layout,
.shop-page-body .shop-product,
.shop-page-body .checkout-header {
    padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

/* Puhelin: haku ensin koko leveydelle, kategoriat sen alle omaksi rullaavaksi
   rivikseen. Rinnakkain kumpikaan ei mahtunut: napit katkesivat ja hakukenttä
   kutistui pelkäksi suurennuslasiksi. */
@media (max-width: 700px) {
    .shop-searchbar {
        padding-top: calc(var(--header-height, 80px) + 1.25rem);
    }

    .shop-searchbar-inner {
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 0.75rem;
    }

    .shop-search-form {
        flex: 1 1 auto;
        width: 100%;
    }

    .shop-search-field {
        width: 100%;
    }
}

/* Listalla on puhelimella jo sivupalkin kategoriarivi lukumäärineen, joten
   hakupalkin samat napit piiloon - muuten kategoriat näkyisivät kahdesti
   allekkain. Muilla kauppasivuilla (tuote, kori, kassa) ne jäävät. */
@media (max-width: 900px) {
    .shop-page-body:has(.shop-facets) .shop-chips {
        display: none;
    }
}

.shop-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1rem 0;
}

.shop-count {
    font-size: 0.85rem;
    opacity: 0.65;
    white-space: nowrap;
}

.shop-sort select {
    height: 36px;
    padding: 0 0.6rem;
    border: 1px solid rgba(30, 29, 27, 0.24);
    border-radius: 50rem;
    background: transparent;
    font: inherit;
    font-size: 0.88rem;
    color: var(--brand-dark);
    cursor: pointer;
}

/* Osio per tuoteryhmä. Otsikko on kevyt eikä kilpaile sivun h1:n kanssa. */
.shop-section {
    margin-top: clamp(2.5rem, 5vw, 4rem);
}

.shop-section[hidden] {
    display: none;
}

.shop-section-title {
    margin: 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(30, 29, 27, 0.12);
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: rgba(30, 29, 27, 0.55);
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
    gap: 2rem 1.5rem;
    margin: 2rem 0 0;
}

/* Kortti on kolumni, jotta nappi asettuu pohjaan riippumatta siitä montako
   sisältöriviä tuotteella on. */
.shop-card {
    display: flex;
    flex-direction: column;
}

.shop-card[hidden] {
    display: none;
}

/* Tuotekuvien laatikko: sama sävy koko laatikolle, ei vain kuvan taakse.
   Kuva sulautetaan (multiply) laatikon sävyyn, joten valkopohjainen JPEG ja
   läpinäkyvä PNG näyttävät samalta - yksi yhtenäinen pinta ilman kehystä.
   Sama sävy kortissa, tuotesivulla, korissa, laatikossa ja kassalla. */
:root {
    --shop-image-bg: rgba(30, 29, 27, 0.06);
}

/* Kortin muut osat ovat samat kuin servicebil-sivulla. Sisennys pienempi kuin
   servicebililla, jotta kuva täyttää laatikon eikä ui keskellä tyhjää. */
.shop-card-image {
    border-radius: 1rem;
    overflow: hidden;
    background: var(--shop-image-bg);
}

.shop-card-image img {
    padding: 0.9rem 1.4rem;
}

.shop-card-image--none {
    aspect-ratio: 4 / 3;
    background: var(--shop-image-bg);
}

/* Koko kortti vie tuotesivulle. Linkki venytetään kortin ylle pseudoelementilla
   sen sijaan, että kaikki kääritään <a>:n sisään - muuten nappi olisi linkin
   sisällä, mikä on virheellistä HTML:ää eikä toimisi näppäimistöllä. */
.shop-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.shop-card-link::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Toiminnot nousevat linkkikerroksen yläpuolelle: napin painallus lisää koriin,
   ei navigoi. Kaikki uudet kortin toiminnot on nostettava tänne. */
.shop-card-add,
.shop-card-flag {
    position: relative;
    z-index: 2;
}

.shop-card-link:hover .shop-card-name,
.shop-card-link:focus-visible .shop-card-name {
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.shop-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-top: 0.9rem;
}

/* Nimi siirtyi linkin sisään, joten sen oma yläväli tulee tästä. */
.shop-card-link .shop-card-name {
    margin-top: 0.9rem;
}

.shop-card-group {
    margin: 0;
    font-size: 0.75rem;
    letter-spacing: 0;
    text-transform: none;
    opacity: 0.55;
}

/* Nimi ja sisältölista tulevat .equipment-name / .bott-package-includes
   -säännöistä, samoin kuin servicebil-sivulla. Täällä vain se mikä eroaa. */
.shop-card-name {
    margin-bottom: 0;
}

/* Hinta pohjaan napin yläpuolelle: kortit ovat eri korkuisia, mutta hinta ja
   nappi ovat aina samalla rivillä silmäiltäessä. */
.shop-card-price {
    margin-top: auto;
    padding-top: 0.9rem;
    display: grid;
    justify-items: center;
    gap: 0.35rem;
}

/* Hintapilleri: sama komponentti kuin servicebil-sivun korteissa. */
.shop-card-pill {
    justify-content: center;
    cursor: default;
    pointer-events: none;
}

.shop-price-main {
    font-weight: 600;
    white-space: nowrap;
}

.shop-card-price-note {
    margin: 0;
    font-size: 0.78rem;
    text-align: center;
    opacity: 0.62;
}

.shop-price-quote {
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0.75;
}

.shop-card-add {
    margin-top: 0.8rem;
    justify-content: center;
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: var(--brand-light);
}

/* Nappi esiin vasta hoverissa, jotta ruudukko pysyy rauhallisena. Varataan
   sille silti tila, ettei kortti hyppää korkeutta hoverin alkaessa. Vain
   hiirilaitteilla: kosketuksella hoveria ei ole, joten siellä nappi näkyy aina. */
@media (hover: hover) and (pointer: fine) {
    .shop-grid .shop-card-add {
        opacity: 0;
        transform: translateY(0.35rem);
        transition: opacity 0.25s ease, transform 0.25s ease;
    }

    /* :has(:focus-visible), ei :focus-within - hiirellä painettu nappi jää
       fokukseen, jolloin se olisi jäänyt näkyviin klikin jälkeen. Näppäimistöllä
       napin on tietenkin näyttävä. */
    .shop-card:hover .shop-card-add,
    .shop-card:has(:focus-visible) .shop-card-add {
        opacity: 1;
        transform: none;
    }
}

.shop-card-add.is-added {
    background: var(--brand-accent);
    border-color: var(--brand-accent);
    color: var(--brand-dark);
}

.shop-empty {
    margin: 3rem 0;
    text-align: center;
}

.shop-empty[hidden] {
    display: none;
}

.shop-price-note {
    margin: 2.5rem 0 5rem;
    font-size: 0.82rem;
    opacity: 0.62;
}

/* Kapealla näytöllä kategoriat menevät tuotteiden ylle vaakariviksi: pystylista
   söisi puolet leveydestä. */
@media (max-width: 900px) {
    /* minmax(0, 1fr), not 1fr: a plain 1fr track grows to its content's
       min-content width, and the one-line, sideways-scrolling category row is
       ~850px wide - the whole shop then ran off the right edge of a phone. */
    .shop-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
    }

    .shop-sidebar,
    .shop-main {
        min-width: 0;
    }

    .shop-sidebar {
        position: static;
    }

    .shop-facets {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0.4rem;
        overflow-x: auto;
        /* Reunaan asti rullaava rivi, mutta ilman katkaistua ensimmäistä nappia. */
        padding-bottom: 0.25rem;
        scrollbar-width: none;
    }

    .shop-facets::-webkit-scrollbar {
        display: none;
    }

    .shop-facet {
        width: auto;
        flex: 0 0 auto;
        border: 1px solid rgba(30, 29, 27, 0.24);
        border-radius: 50rem;
        padding: 0.45rem 0.9rem;
        white-space: nowrap;
    }

    .shop-facet.is-active {
        background: var(--brand-dark);
        border-color: var(--brand-dark);
        color: var(--brand-light);
    }

    .shop-facet.is-active .shop-facet-count {
        opacity: 0.7;
    }
}

@media (max-width: 700px) {
    .shop-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .shop-grid {
        grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
        gap: 1.5rem 1rem;
    }
}

/* ==========================================================================
   Tyhjä ostoskori
   ========================================================================== */

/* Koko leveys ja keskitetty: yhteenvetopalstalla ei ole mitään näytettävää,
   joten kaksipalstainen asettelu näyttäisi rikkinäiseltä. */
.cart-empty {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: clamp(2rem, 6vw, 4rem) 0 0;
}

.cart-empty[hidden] {
    display: none;
}

/* Brändimerkki hillittynä: kuvituksen paikka ilman erillistä kuvitusta. */
.cart-empty-mark {
    width: clamp(3rem, 6vw, 4.5rem);
    height: auto;
    opacity: 0.18;
}

.cart-empty-title {
    margin: 1.5rem 0 0;
    font-family: var(--font-title);
    font-weight: 300;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    line-height: 1.1;
}

.cart-empty-body {
    max-width: 34rem;
    margin: 0.9rem 0 0;
    line-height: 1.65;
    opacity: 0.72;
}

.cart-empty-actions {
    margin-top: 2rem;
}

.cart-empty-actions .cta-button {
    justify-content: center;
    white-space: nowrap;
}

.cart-empty-secondary {
    border: none;
    background: none;
    color: var(--brand-dark);
}

.cart-empty-primary {
    background-color: var(--brand-dark);
    background-image: var(--surface-dark-overlay-control);
    border: 1px solid var(--brand-dark);
    color: var(--brand-light);
}

.cart-empty-primary:hover {
    opacity: 0.8;
}

.cart-empty-picks {
    width: 100%;
    margin-top: clamp(3rem, 7vw, 5rem);
    padding-top: clamp(2rem, 4vw, 3rem);
    border-top: 1px solid rgba(30, 29, 27, 0.12);
    text-align: left;
}

.cart-empty-picks-title {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    opacity: 0.55;
}

/* ==========================================================================
   Ostoskorin vahvistuslaatikko (liukuu oikealta)
   ========================================================================== */

.cart-drawer {
    position: fixed;
    inset: 0;
    /* Yli kiinteän headerin (1000), muuten navigaatio piirtyy laatikon päälle. */
    z-index: 1100;
}

.cart-drawer[hidden] {
    display: none;
}

/* Taustan vieritys lukkoon kun paneeli on auki. Body saa saman lukon, koska sen
   overflow-x: clip rajaa myös fixed-elementit - se leikkasi paneelin oikean
   reunan pois. overflow: hidden ei tee niin, koska se noudattaa containing
   block -sääntöjä ja paneelin containing block on ikkuna. */
.is-drawer-open,
.is-drawer-open body {
    overflow: hidden;
}

.cart-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(30, 29, 27, 0.4);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.cart-drawer.is-open .cart-drawer-backdrop {
    opacity: 1;
}

.cart-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    width: min(26rem, 100vw);
    height: 100%;
    padding: clamp(1.25rem, 3vw, 1.75rem);
    /* Vain vasen reuna pyöristetään: oikea reuna on kiinni näytön laidassa,
       ja sama 1.5rem kuin sivuston muissa isoissa pinnoissa. */
    border-radius: 1.5rem 0 0 1.5rem;
    background: var(--brand-light);
    color: var(--brand-dark);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.cart-drawer.is-open .cart-drawer-panel {
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .cart-drawer-panel {
        transition: none;
    }
}

.cart-drawer-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.cart-drawer-added {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
}

.cart-drawer-check {
    display: grid;
    place-items: center;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 50%;
    background: var(--brand-dark);
    color: var(--brand-light);
    font-size: 0.75rem;
}

/* Sulkunappi: sama ikoni ja sama kosketusalue kaikissa modaaleissa ja
   liukupaneeleissa, jotta sulkeminen tuntuu samalta joka paikassa. */
.icon-close {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    border-radius: 50%;
    background: transparent;
    padding: 0;
    cursor: pointer;
    opacity: 0.55;
    transition: opacity 0.2s ease, background-color 0.2s ease;
}

.icon-close img {
    width: 1.15rem;
    height: 1.15rem;
    display: block;
}

.icon-close:hover,
.icon-close:focus-visible {
    opacity: 1;
    background: rgba(30, 29, 27, 0.06);
}

.cart-drawer-close {
    margin: -0.5rem -0.5rem 0 0;
}

.cart-drawer-product {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-top: 1.5rem;
}

/* Sävy laatikolle, ei kuvalle: kuvan oma tausta näkyisi muuten kehyksenä. */
.cart-drawer-product-image {
    flex: 0 0 4.5rem;
    width: 4.5rem;
    height: 4.5rem;
    box-sizing: border-box;
    padding: 0.3rem;
    border-radius: 0.75rem;
    background: var(--shop-image-bg);
    display: flex;
}

.cart-drawer-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-drawer-product-name {
    margin: 0;
    font-weight: 600;
    line-height: 1.3;
}

.cart-drawer-product-price {
    margin: 0.2rem 0 0;
    opacity: 0.7;
}

.cart-drawer-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin: 1.5rem 0 0;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(30, 29, 27, 0.12);
    font-size: 0.9rem;
}

.cart-drawer-total strong {
    font-size: 1.15rem;
}

.cart-drawer-actions {
    margin-top: 1.25rem;
}

.cart-drawer-actions .hero-button-inner {
    width: 100%;
}

.cart-drawer-actions .cta-button {
    justify-content: center;
    text-align: center;
    /* Kapea paneeli: ilman tätä "Till varukorgen" katkeaa kahdelle riville. */
    padding: 0 0.9rem;
    min-width: 0;
    white-space: nowrap;
}

/* Kevyt vasen puolisko, kuten puhelinnappi kontaktikortissa. */
.cart-drawer-secondary {
    border: none;
    background: none;
    color: var(--brand-dark);
    flex: 1;
}

/* Tumma päätoiminto, kuten sähköpostinappi. */
.cart-drawer-checkout {
    flex: 1.4;
    background-color: var(--brand-dark);
    background-image: var(--surface-dark-overlay-control);
    border: 1px solid var(--brand-dark);
    color: var(--brand-light);
}

.cart-drawer-checkout:hover {
    opacity: 0.8;
}

.cart-drawer-recs {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(30, 29, 27, 0.12);
}

.cart-drawer-recs[hidden] {
    display: none;
}

.cart-drawer-recs-title {
    margin: 0 0 1.25rem;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    opacity: 0.55;
}

.cart-drawer-recs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1rem;
}

/* Suositukset ovat kloonattuja tuotekortteja. Kapeassa laatikossa nappi ei voi
   piiloutua hoverin taakse - siihen ei osu näppäimistöllä eikä kosketuksella. */
.cart-drawer-rec .shop-card-add {
    opacity: 1;
    transform: none;
}

/* Kortin oma sisennys on mitoitettu leveälle ruudukolle; tässä leveydessä se
   söisi koko kuvan. */
.cart-drawer-rec .shop-card-image img {
    padding: 0.5rem 0.75rem;
}

.cart-drawer-rec .shop-card-price-note {
    display: none;
}

.cart-drawer-rec .shop-card-name {
    font-size: 0.92rem;
}

.cart-drawer-continue {
    margin-top: auto;
    padding-top: 2rem;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 0.88rem;
    text-decoration: underline;
    text-underline-offset: 0.2em;
    cursor: pointer;
    opacity: 0.7;
}

.cart-drawer-continue:hover {
    opacity: 1;
}

/* Korissa oleva tuote merkitään kortissa, jotta listaan palatessa näkee mitä on
   jo valinnut. */
.shop-card {
    position: relative;
}

.shop-card-flag {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    z-index: 2;
    border-radius: 50rem;
    padding: 0.25rem 0.7rem;
    background: var(--brand-dark);
    color: var(--brand-light);
    font-size: 0.7rem;
    letter-spacing: 0.04em;
}

.shop-card-flag[hidden] {
    display: none;
}

/* Asennusrajoite kortissa: reunaviiva eikä täyttöväri, jotta se lukee tietona
   eikä varoituksena. Oikeassa laidassa, ettei törmää korimerkintään. */
.shop-card-tag {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    z-index: 2;
    border: 1px solid rgba(30, 29, 27, 0.28);
    border-radius: 50rem;
    padding: 0.25rem 0.7rem;
    background: var(--brand-light);
    font-size: 0.7rem;
    letter-spacing: 0.04em;
}

/* ==========================================================================
   Variaatiovalinta (pikalisäys ruudukosta)
   ========================================================================== */

.shop-variant-dialog {
    width: min(30rem, calc(100vw - 2rem));
    /* Ilman tätä dialogi jää sivun vasempaan ylänurkkaan. */
    margin: auto;
    box-shadow: 0 24px 60px rgba(20, 20, 20, 0.28);
    border: 0;
    border-radius: 1.5rem;
    padding: clamp(1.5rem, 4vw, 2.25rem);
    background: var(--brand-light);
    color: var(--brand-dark);
}

.shop-variant-dialog::backdrop {
    background: rgba(30, 29, 27, 0.45);
}

.shop-variant-close-form {
    float: right;
    margin: -0.5rem -0.5rem 0 0;
}

.shop-variant-close {
    margin: -0.25rem -0.25rem 0 0;
}

.shop-variant-eyebrow {
    margin: 0;
    font-size: 0.75rem;
    letter-spacing: 0;
    text-transform: none;
    opacity: 0.55;
}

.shop-variant-title {
    margin: 0.4rem 0 0;
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    line-height: 1.15;
}

/* Otsikko ei saa mennä sulkunapin alle. */
.shop-variant-title {
    padding-right: 2.5rem;
}

.shop-fitting-body {
    margin: 1rem 0 0;
    line-height: 1.6;
    opacity: 0.8;
}

.shop-variant-options {
    display: grid;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

/* Valinta reunaviivalla, ei täyttövärillä - sama tapa kuin portaalissa. */
.shop-variant-option {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    width: 100%;
    border: 1px solid rgba(30, 29, 27, 0.18);
    border-radius: 1rem;
    padding: 0.7rem 1rem;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.shop-variant-option:hover {
    border-color: rgba(30, 29, 27, 0.45);
}

.shop-variant-option.is-chosen {
    border-color: var(--brand-dark);
    box-shadow: inset 0 0 0 1px var(--brand-dark);
}

.shop-variant-option img {
    width: 3rem;
    height: 3rem;
    border-radius: 0.6rem;
    background: rgba(30, 29, 27, 0.06);
    object-fit: contain;
    padding: 0.2rem;
}

.shop-variant-option-label {
    flex: 1;
    min-width: 0;
    font-weight: 500;
}

.shop-variant-option-price {
    white-space: nowrap;
    opacity: 0.7;
}

.shop-variant-actions {
    display: grid;
    gap: 0.75rem;
    justify-items: center;
    margin-top: 1.5rem;
}

.shop-variant-add {
    width: 100%;
    justify-content: center;
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: var(--brand-light);
}

.shop-variant-add[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
}

.shop-variant-more {
    font-size: 0.85rem;
    color: inherit;
    opacity: 0.7;
}

/* ==========================================================================
   Yksittäinen tuotesivu
   ========================================================================== */

/* Sama yläväli kuin kaupan otsikolla: kiinteä header peittäisi muuten
   ensimmäisen rivin. */
.shop-product {
    padding-top: 9.5rem;
    padding-bottom: 5rem;
}

/* Polku kuten kauppasivulla; tuotteen nimi ei ole linkki. */
.shop-product-crumbs .shop-crumb-current {
    min-width: 0;
    overflow-wrap: break-word;
}

/* Kuva vasemmalle, ostosarake oikealle. Ostosarake jää paikoilleen kun
   sisältöosiot vierivät ohi - se on se mitä sivulta tullaan hakemaan. */
.shop-product-top {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(19rem, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

/* Koko laatikko sävytetty, kuva sulautettu siihen (ks. --shop-image-bg).
   Pikkukuvat (galleria) laatikon alla. */
.shop-product-media-main {
    border-radius: 1.5rem;
    overflow: hidden;
    background: var(--shop-image-bg);
}

.shop-product-media-main img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    padding: clamp(1rem, 3vw, 2.5rem);
}

/* Sama laskenta kuin kaupan sivupalkilla: kiinteä header ei saa peittää. */
.shop-product-buy {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
}

.shop-product-eyebrow {
    margin: 0;
    font-size: 0.78rem;
    letter-spacing: 0;
    text-transform: none;
    color: var(--brand-accent, rgba(30, 29, 27, 0.55));
}

.shop-product-title {
    margin: 0.6rem 0 0;
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(2.1rem, 4vw, 3.1rem);
    line-height: 1.08;
}

.shop-product-variants {
    margin-top: 1.75rem;
}

.shop-product-variants-label {
    margin: 0 0 0.6rem;
    font-size: 0.85rem;
    opacity: 0.7;
}

.shop-product-variant-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.shop-product-variant {
    border: 1px solid rgba(30, 29, 27, 0.2);
    border-radius: 50rem;
    padding: 0.4rem 1rem;
    font-size: 0.88rem;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.shop-product-variant:hover {
    border-color: rgba(30, 29, 27, 0.5);
}

.shop-product-variant.is-chosen {
    border-color: var(--brand-dark);
    box-shadow: inset 0 0 0 1px var(--brand-dark);
}

/* Kytkin ohjaa kumpi summa näkyy. Sama kuvio kuin servicebil-korteissa, mutta
   omilla valitsimilla: siellä kohde on .bott-package-actions, täällä hintalohko. */
.shop-product-buy .bott-total--fitted {
    display: none;
}

.shop-product-buy .bott-fit-input:checked ~ .shop-product-price .bott-total--delivered {
    display: none;
}

.shop-product-buy .bott-fit-input:checked ~ .shop-product-price .bott-total--fitted {
    display: block;
}

.shop-product-fit {
    margin-top: 1.75rem;
}

.shop-product-price {
    display: grid;
    gap: 0.15rem;
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(30, 29, 27, 0.12);
}

.shop-product-price-main {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(1.9rem, 3vw, 2.4rem);
    line-height: 1.1;
}

.shop-product-price-label {
    font-size: 0.85rem;
    opacity: 0.6;
}

.shop-product-price-alt {
    margin-top: 0.35rem;
    font-size: 0.9rem;
    opacity: 0.75;
}

.shop-product-price-split {
    opacity: 0.7;
}

.shop-product-actions {
    display: grid;
    gap: 0.6rem;
    margin-top: 1.75rem;
}

/* Napissa on pelkkä teksti, joten keskelle (space-between vei sen vasempaan
   reunaan koko leveällä napilla). */
.shop-product-actions .cta-button {
    justify-content: center;
}

.shop-product-add {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: var(--brand-light);
}

.shop-product-add.is-added {
    background: var(--brand-accent);
    border-color: var(--brand-accent);
    color: var(--brand-dark);
}

.shop-product-note {
    margin: 1.25rem 0 0;
    font-size: 0.8rem;
    line-height: 1.55;
    opacity: 0.62;
}

/* Numeroidut osiot, sama rytmi kuin tuotesivuilla. */
.shop-product-section {
    margin-top: clamp(3.5rem, 8vw, 6rem);
}

.shop-product-section-head {
    display: flex;
    align-items: baseline;
    gap: clamp(1rem, 4vw, 3rem);
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(30, 29, 27, 0.12);
}

.shop-product-section-number {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--brand-accent, rgba(30, 29, 27, 0.5));
}

.shop-product-section-title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
}

/* Kaksi saraketta luettelolle: rivit ovat lyhyitä, ja yksi pitkä sarake
   jättäisi puolet leveydestä tyhjäksi. */
.shop-product-includes {
    columns: 2;
    column-gap: clamp(2rem, 6vw, 5rem);
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
    line-height: 1.75;
}

.shop-product-includes li {
    break-inside: avoid;
    padding-left: 1.25rem;
    text-indent: -1.25rem;
}

.shop-product-includes li::before {
    content: "\2014";
    margin-right: 0.6rem;
    opacity: 0.4;
}

.shop-product-body {
    max-width: 42rem;
    margin-top: 2rem;
    line-height: 1.75;
}

.shop-product-body p {
    margin: 0 0 1rem;
}

@media (max-width: 900px) {
    .shop-product-top {
        grid-template-columns: 1fr;
    }

    /* Yhdellä palstalla tarttuva sarake jäisi kuvan päälle. */
    .shop-product-buy {
        position: static;
    }

    .shop-product-includes {
        columns: 1;
    }
}

/* ---- Ostoskorisivu (vaihe 1/2) ---- */

/* Sama kaksipalstainen jako kuin kassalla, mutta oikealla on vain summa ja
   painike eteenpäin - tuotteiden muokkaus tapahtuu vasemmalla. */
.cart-layout {
    margin-top: clamp(2rem, 4vw, 3rem);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 21rem);
    gap: 2.5rem;
    align-items: start;
    margin-bottom: 5rem;
}

.cart-summary {
    position: sticky;
    top: 6rem;
    border: 1px solid rgba(30, 29, 27, 0.16);
    border-radius: 1.25rem;
    padding: 1.25rem;
}

/* Summa erilleen toimitusvalinnasta: ilman väliä se luki kuin neljäs
   toimitusvaihtoehto. */
.cart-summary .checkout-total {
    margin-top: 1.4rem;
    padding-top: 1.1rem;
    border-top: 2px solid var(--brand-dark);
}

.cart-delivery {
    margin-bottom: 0;
}

.cart-price-note {
    margin: 0.75rem 0 0;
    font-size: 0.8rem;
    line-height: 1.5;
    opacity: 0.68;
}

/* Sivun tärkein toiminto: brändin beige täyttönä, ei ylimääräistä kehyspilleriä
   ympärillä - yksi nappi, ei nappi napin sisällä. */
.cart-checkout-action {
    margin-top: 1.1rem;
}

.cart-checkout-action .hero-button-inner {
    width: 100%;
    border: 0;
    padding: 0;
}

.cart-checkout-action .cta-button {
    flex: 1;
    justify-content: center;
    height: 48px;
    min-height: 48px;
    background: var(--brand-accent);
    border-color: var(--brand-accent);
    color: var(--brand-dark);
    font-size: 1rem;
}

.cart-checkout-action .cta-button:hover {
    opacity: 1;
    filter: brightness(0.94);
}

/* Korisivun vasen palsta on leveä, joten tuotekuva saa olla iso. Kassan
   kapeassa yhteenvedossa se pysyy pienenä. */
.cart-main .checkout-line {
    grid-template-columns: 7.5rem minmax(0, 1fr);
    gap: 1.25rem;
    padding: 1.4rem 0;
}

.cart-main .checkout-line-name {
    font-size: 1.05rem;
}

/* Korisivulla on tilaa, joten lista ei tarvitse omaa vieritystä. */
.cart-addons .checkout-addon-list {
    max-height: none;
    overflow: visible;
}

.cart-addons .checkout-addon {
    grid-template-columns: minmax(0, 1fr) auto;
}

/* Kuvallinen suositus saa oman sarakkeen; kuvattomat pysyvät kaksisarakkeisina
   eikä riviin jää tyhjää paikanvaraajaa. */
.checkout-addon--with-image,
.cart-addons .checkout-addon--with-image {
    grid-template-columns: 3.75rem minmax(0, 1fr) auto;
}

.checkout-addon-image {
    align-self: center;
    display: block;
    border-radius: 0.75rem;
    overflow: hidden;
    background: var(--shop-image-bg);
}

.checkout-addon-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
}

@media (max-width: 900px) {
    .cart-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.75rem;
    }

    .cart-summary {
        position: static;
    }
}

/* Kassalla määrä on pelkkä luku: tilauksen muuttaminen tapahtuu korissa. */
.checkout-line-qty {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Korissa valittu toimitustapa, kassalla vain raportoituna. */
.checkout-chosen-delivery {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(30, 29, 27, 0.16);
}

.checkout-chosen-delivery-label {
    font-size: 0.85rem;
    letter-spacing: 0;
    text-transform: none;
    opacity: 0.6;
}

.checkout-chosen-delivery-value {
    font-weight: 600;
}

/* ---- Ostoskori ---- */

/* Palkki ilmestyy kun korissa on jotain. Kelluu alalaidassa, koska tuotteen
   lisääminen ei enää siirry pois sivulta - tämä on reitti kassalle. */
.cart-bar {
    position: fixed;
    left: 50%;
    bottom: 1.25rem;
    transform: translateX(-50%);
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: calc(100vw - 2rem);
    padding: 0.4rem 0.5rem 0.4rem 1.25rem;
    border: 1px solid var(--brand-dark);
    border-radius: 50rem;
    background: var(--brand-light);
    box-shadow: 0 12px 32px rgba(20, 20, 20, 0.18);
}

.cart-bar[hidden] {
    display: none;
}

/* Kun palkki on näkyvissä, footer saa sen korkeuden verran lisää tilaa
   alalaitaan - muuten sivun viimeinen rivi jäisi palkin alle. */
.shop-page-body:has(.cart-bar:not([hidden])) .footer {
    padding-bottom: calc(clamp(2rem, 4vw, 3rem) + 4.5rem);
}

.cart-bar-count {
    font-size: 0.9rem;
    white-space: nowrap;
}

.cart-bar-link {
    background: var(--brand-dark);
    color: var(--brand-light);
    white-space: nowrap;
}

.bott-buy.is-added {
    opacity: 0.75;
}

/* ---- Tilaussivu ---- */

/* Oma otsikkotyyli, ei about-page-titlen jättikokoa: tämä on tehtäväsivu, ei
   laskeutumissivu. About-page-title myös olettaa .h1-first/.h1-second -spanit,
   jotka asettavat kevyen leikkauksen - ilman niitä otsikko lihavoitui 700:aan. */
/* Ei omaa max-widthiä: tämä elementti on itse .container, jolla on automaattiset
   marginaalit, joten kapeampi leveys keskittäisi koko otsikkolohkon. */
.checkout-header {
    padding-top: 9.5rem;
}

.checkout-audience {
    margin: 0 0 0.9rem;
    font-size: 0.85rem;
    letter-spacing: 0;
    text-transform: none;
    opacity: 0.6;
}

.checkout-title {
    margin: 0 0 1rem;
    font-family: var(--font-title);
    font-weight: 300;
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.checkout-lead {
    margin: 0;
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    line-height: 1.6;
    opacity: 0.8;
}

/* Kori ja lomake vievät leveyden, yhteenveto on kapea oikea palsta. Sarakkeet
   olivat toisin päin, jolloin .checkout-main (ensimmäisenä DOMissa) puristui
   20 remiin ja yhteenveto levisi loppuun. */
.checkout-layout {
    margin-top: clamp(2.5rem, 5vw, 4rem);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 21rem);
    gap: 2.5rem;
    align-items: start;
    margin-bottom: 5rem;
}

.checkout-summary {
    position: sticky;
    top: 6rem;
    border: 1px solid rgba(30, 29, 27, 0.16);
    border-radius: 1.25rem;
    padding: 1.25rem;
}

.checkout-summary-title,
.checkout-section-title {
    margin: 0 0 0.75rem;
    font-size: 0.85rem;
    letter-spacing: 0;
    text-transform: none;
    opacity: 0.6;
}

.checkout-section-title {
    margin-top: 2rem;
}

/* Summa on sivupalstan viimeinen rivi: paketit ja valitut lisävarusteet on
   siihen mennessä nähty, joten luku on koko tilauksen loppusumma. */
.checkout-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid var(--brand-dark);
}

.checkout-total-label {
    font-size: 0.85rem;
    opacity: 0.7;
}

.checkout-total-amount {
    font-size: 1.35rem;
    font-weight: 600;
    white-space: nowrap;
}

.checkout-change {
    display: inline-block;
    margin-top: 0.9rem;
    font-size: 0.85rem;
    opacity: 0.7;
}

.bott-delivery {
    border: 0;
    padding: 0;
    margin: 0;
}

.bott-delivery legend {
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    letter-spacing: 0;
    text-transform: none;
    opacity: 0.6;
}

.bott-delivery-options {
    display: grid;
    gap: 0.6rem;
}

.bott-delivery-option {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(30, 29, 27, 0.22);
    border-radius: 1rem;
    cursor: pointer;
}

.bott-delivery-option:has(input:checked) {
    border-color: var(--brand-dark);
    background: rgba(30, 29, 27, 0.04);
}

.bott-delivery-option-body {
    display: grid;
    gap: 0.15rem;
    flex: 1;
}

.bott-delivery-option-label {
    font-weight: 600;
}

.bott-delivery-option-note {
    font-size: 0.85rem;
    opacity: 0.7;
}

.bott-delivery-option-price {
    font-weight: 600;
}

.checkout-address {
    margin-top: 1rem;
}

.checkout-address-street {
    grid-column: 1 / -1;
}

/* Koririvi kapeassa oikeassa palstassa: kuva vasemmalla, kaikki muu sen
   oikealla puolella allekkain. Tilaus näkyy vain täällä - pääpalstassa oli
   ennen sama lista samalla otsikolla, eli sama tieto kahdesti. */
.checkout-line {
    display: grid;
    grid-template-columns: 4.25rem minmax(0, 1fr);
    gap: 0.85rem;
    align-items: start;
    padding: 0.95rem 0;
    border-bottom: 1px solid rgba(30, 29, 27, 0.14);
}

/* Lisävarusteilla ei ole kuvaa, joten rivi on yksisarakkeinen - muuten teksti
   putoaisi kapeaan kuvasarakkeeseen. */
.checkout-line--no-image,
.cart-main .checkout-line--no-image {
    grid-template-columns: minmax(0, 1fr);
}

.checkout-line-image {
    border-radius: 0.75rem;
    overflow: hidden;
    background: var(--shop-image-bg);
}

.checkout-line-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
}

.checkout-line-name {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
}

/* Tuotteen tarkat tiedot - hyllymitat ja sisältö - jotta ostajan ei tarvitse
   palata tuotesivulle tarkistamaan mitä on tilaamassa. */
.checkout-line-details {
    margin: 0.4rem 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.78rem;
    line-height: 1.45;
    opacity: 0.72;
}

.checkout-line-details li + li {
    margin-top: 0.1rem;
}

.checkout-line-group {
    margin: 0.1rem 0 0;
    font-size: 0.82rem;
    opacity: 0.6;
}

/* Saa rivittyä: kapealla näytöllä hinta siirtyy omalle rivilleen oikeaan
   reunaan sen sijaan että määrä, poisto ja hinta puristuisivat päällekkäin. */
.checkout-line-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.7rem;
    margin-top: 0.6rem;
}

/* Määrävalitsin samalla pillerimuodolla kuin sivuston napit. Selaimen omat
   nuolinapit ovat pieniä eikä niitä voi tyylitellä, joten ne on korvattu
   omilla painikkeilla. */
.cart-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--brand-dark);
    border-radius: 50rem;
    overflow: hidden;
    background: transparent;
}

.cart-qty-step {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: none;
    color: var(--brand-dark);
    font: inherit;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cart-qty-step:hover:not(:disabled) {
    background: rgba(30, 29, 27, 0.08);
}

.cart-qty-step:disabled {
    opacity: 0.3;
    cursor: default;
}

.cart-qty-value {
    width: 2.25rem;
    padding: 0;
    border: 0;
    border-left: 1px solid rgba(30, 29, 27, 0.18);
    border-right: 1px solid rgba(30, 29, 27, 0.18);
    background: none;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    color: var(--brand-dark);
    align-self: stretch;
}

.cart-qty-value:focus-visible {
    outline: 2px solid var(--brand-dark);
    outline-offset: -2px;
}

.checkout-line-remove {
    border: 0;
    background: none;
    padding: 0;
    font: inherit;
    font-size: 0.8rem;
    text-decoration: underline;
    white-space: nowrap;
    opacity: 0.65;
    cursor: pointer;
}

/* Hinta rivin oikeaan reunaan samalle riville määrän kanssa. */
.checkout-line-price {
    margin-left: auto;
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
}

.checkout-keep-shopping {
    display: inline-block;
    margin: 0 0 1.25rem;
    font-size: 0.9rem;
}

/* Suosittelemme-lista yhteenvedon alla kapeassa palstassa: rivi kerrallaan
   pinottuna, ei kolmea saraketta jotka eivät 21 remiin mahtuisi. */
.checkout-addons {
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(30, 29, 27, 0.16);
}

.checkout-addons-note {
    margin: -0.4rem 0 1rem;
    font-size: 0.82rem;
    line-height: 1.45;
    opacity: 0.7;
}

/* Lista voi kasvaa pitkäksi kun tuotteita tulee lisää. Se vierii omana
   alueenaan, jottei sivupalsta kasva sivun mittaiseksi ja työnnä summaa
   näkymän ulkopuolelle. */
.checkout-addon-list {
    margin: 0;
    padding: 0 0.25rem 0 0;
    list-style: none;
    max-height: 26rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

.checkout-addon-list::-webkit-scrollbar {
    width: 4px;
}

.checkout-addon-list::-webkit-scrollbar-thumb {
    background: rgba(30, 29, 27, 0.28);
    border-radius: 50rem;
}

/* Nimi, kuvaus ja hinta allekkain vasemmalla; nappi oikeassa reunassa. */
.checkout-addon {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.35rem 0.75rem;
    align-items: center;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(30, 29, 27, 0.12);
}

.checkout-addon:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.checkout-addon-body {
    display: grid;
    gap: 0.15rem;
    min-width: 0;
}

.checkout-addon-name {
    font-size: 0.92rem;
    font-weight: 600;
}

.checkout-addon-note {
    font-size: 0.8rem;
    line-height: 1.45;
    opacity: 0.7;
}

/* Hinta nimen ja kuvauksen alle, ei omaan sarakkeeseensa. */
.checkout-addon-price {
    margin-top: 0.15rem;
    font-size: 0.92rem;
    font-weight: 600;
    white-space: nowrap;
}

.checkout-addon-toggle {
    justify-self: end;
    height: 34px;
    min-height: 34px;
    padding: 0 0.95rem;
    font-size: 0.85rem;
    white-space: nowrap;
}

/* Valinnan tila on napissa, ei rivin taustassa: taustaväri, erillinen
   ruksi nimen edessä ja napin teksti olivat kolme merkkiä samasta asiasta,
   mikä teki rivistä levottoman. Riville jää vain hillitty reunapalkki. */
.checkout-addon {
    position: relative;
    padding-left: 0;
    transition: padding-left 0.25s ease;
}

/* The cart shows only the add-ons that fit what is in it. */
.checkout-addon[hidden] {
    display: none;
}

.checkout-addon::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.85rem;
    bottom: 0.85rem;
    width: 2px;
    border-radius: 2px;
    background: var(--brand-accent);
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.checkout-addon.is-selected {
    padding-left: 0.9rem;
}

.checkout-addon.is-selected::before {
    transform: scaleY(1);
}

/* Nappi kantaa tilan. Kaikki liike käyttää samaa pehmeää jarrutuskäyrää, eikä
   mikään animoi tekstin tai ikonin omaa kokoa - ne litistyisivät. */
.checkout-addon-toggle {
    --ease-out: cubic-bezier(0.22, 0.9, 0.24, 1);
    gap: 0;
    transition:
        background 0.28s var(--ease-out),
        color 0.28s var(--ease-out),
        border-color 0.28s var(--ease-out),
        transform 0.28s var(--ease-out);
}

/* Leikkaava kääre: leveys animoituu, SVG pysyy omassa koossaan. */
.checkout-addon-check {
    display: inline-flex;
    align-items: center;
    width: 0;
    margin-right: 0;
    overflow: hidden;
    transition:
        width 0.32s var(--ease-out),
        margin-right 0.32s var(--ease-out);
}

.checkout-addon-icons {
    flex: none;
    display: grid;
    place-items: center;
    width: 15px;
    height: 15px;
}

.checkout-addon-icon {
    grid-area: 1 / 1;
    display: block;
    transform: scale(0.6);
    opacity: 0;
    transition:
        transform 0.32s var(--ease-out),
        opacity 0.2s var(--ease-out);
}

.checkout-addon-icon--check path {
    stroke-dasharray: 26;
    stroke-dashoffset: 26;
}

.checkout-addon-toggle.is-in-cart {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: var(--brand-light);
}

.checkout-addon-toggle.is-in-cart .checkout-addon-check {
    width: 15px;
    margin-right: 0.45rem;
}

.checkout-addon-toggle.is-in-cart .checkout-addon-icon--check {
    transform: scale(1);
    opacity: 1;
}

/* Viiva piirtyy vasta kun kääre on ehtinyt auki. */
.checkout-addon-toggle.is-in-cart .checkout-addon-icon--check path {
    animation: carcon-check-draw 0.3s var(--ease-out) 0.1s forwards;
}

@keyframes carcon-check-draw {
    to { stroke-dashoffset: 0; }
}

/* Napsahdus vahvistukseksi: yksi lyhyt pomppu lisäyshetkellä. */
.checkout-addon-toggle.is-just-added {
    animation: carcon-addon-pop 0.42s var(--ease-out);
}

@keyframes carcon-addon-pop {
    0% { transform: scale(1); }
    38% { transform: scale(1.07); }
    100% { transform: scale(1); }
}

/* Kolme tekstiä samassa ruudussa: nappi pysyy pisimmän levyisenä, eikä teksti
   hyppää - se liukuu ja häivähtää. */
.checkout-addon-labels {
    display: grid;
    align-items: center;
}

.checkout-addon-label {
    grid-area: 1 / 1;
    opacity: 0;
    transform: translateY(0.4em);
    pointer-events: none;
    transition:
        opacity 0.24s var(--ease-out),
        transform 0.24s var(--ease-out);
}

.checkout-addon-label--add {
    opacity: 1;
    transform: none;
}

.checkout-addon-toggle.is-in-cart .checkout-addon-label--add {
    opacity: 0;
    transform: translateY(-0.4em);
}

.checkout-addon-toggle.is-in-cart .checkout-addon-label--added {
    opacity: 1;
    transform: none;
}

/* Osoittimen alla: ruksi vetäytyy ja teksti vaihtuu poistoksi. */
.checkout-addon-toggle.is-in-cart:hover .checkout-addon-label--added,
.checkout-addon-toggle.is-in-cart:focus-visible .checkout-addon-label--added {
    opacity: 0;
    transform: translateY(-0.4em);
}

.checkout-addon-toggle.is-in-cart:hover .checkout-addon-label--remove,
.checkout-addon-toggle.is-in-cart:focus-visible .checkout-addon-label--remove {
    opacity: 1;
    transform: none;
}

/* Ikonit vaihtuvat paikallaan. Leveys EI muutu hoverissa: jos se muuttuisi,
   napin reuna liikkuisi kursorin ali ja hover katkeaisi ja palaisi silmukassa
   - nappi alkoi säristä juuri tästä. */
.checkout-addon-toggle.is-in-cart:hover .checkout-addon-icon--check,
.checkout-addon-toggle.is-in-cart:focus-visible .checkout-addon-icon--check {
    transform: scale(0.6);
    opacity: 0;
}

.checkout-addon-toggle.is-in-cart:hover .checkout-addon-icon--remove,
.checkout-addon-toggle.is-in-cart:focus-visible .checkout-addon-icon--remove {
    transform: scale(1);
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .checkout-addon,
    .checkout-addon::before,
    .checkout-addon-check,
    .checkout-addon-icon,
    .checkout-addon-label,
    .checkout-addon-toggle {
        transition: none;
    }

    .checkout-addon-toggle.is-just-added {
        animation: none;
    }

    .checkout-addon-toggle.is-in-cart .checkout-addon-icon--check path {
        animation: none;
        stroke-dashoffset: 0;
    }
}

/* Asennusristiriita: keskitetty dialogi, ei sivun laidassa oleva paneeli.
   Klikkaus tapahtuu oikeassa palstassa, joten paikallaan oleva laatikko
   pääpalstan ylälaidassa ei näyttänyt liittyvän mihinkään. */
.checkout-conflict {
    width: min(30rem, calc(100vw - 2.5rem));
    margin: auto;
    padding: 1.6rem;
    border: 1px solid var(--brand-dark);
    border-radius: 1.25rem;
    background: var(--brand-light);
    color: var(--brand-dark);
    box-shadow: 0 24px 60px rgba(20, 20, 20, 0.28);
}

.checkout-conflict::backdrop {
    background: rgba(20, 20, 20, 0.45);
}

.checkout-conflict-title {
    margin: 0 0 0.4rem;
    font-family: var(--font-title);
    font-weight: 300;
    font-size: 1.4rem;
    line-height: 1.2;
}

.checkout-conflict-body {
    margin: 0 0 1.4rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Sama kehystetty pilleri kuin yhteystietokorttien puhelin/sähköposti-parissa. */
.checkout-conflict-actions .hero-button-inner {
    width: 100%;
    gap: 0.4rem;
}

.checkout-conflict-actions .cta-button {
    flex: 1;
    justify-content: center;
    text-align: center;
}

/* Suositeltu valinta oikealla ja täytettynä, jotta se erottuu peruutuksesta. */
.checkout-conflict-accept {
    background: var(--brand-dark);
    color: var(--brand-light);
}

.checkout-conflict-decline {
    background: transparent;
    border-color: transparent;
}

.checkout-conflict-decline:hover {
    opacity: 0.6;
}

/* Puhelimella napit allekkain, suositeltu ylimpänä: rinnakkain kummankin
   teksti rivittyi kahdelle riville. */
@media (max-width: 600px) {
    .checkout-conflict-actions .hero-button-inner {
        flex-direction: column-reverse;
    }

    .checkout-conflict-actions .cta-button {
        flex: 0 0 auto;
    }
}

.checkout-summary-line {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.35rem 0;
    font-size: 0.88rem;
}

.checkout-terms {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-top: 1.75rem;
    font-size: 0.9rem;
    line-height: 1.5;
    cursor: pointer;
}

.checkout-terms input {
    flex-shrink: 0;
    width: 1.05rem;
    height: 1.05rem;
    margin-top: 0.15rem;
    accent-color: var(--brand-dark);
}

.checkout-submit-note,
.checkout-consent {
    margin: 0.75rem 0 0;
    font-size: 0.82rem;
    line-height: 1.5;
    opacity: 0.7;
}

.checkout-consent {
    font-size: 0.78rem;
    opacity: 0.6;
}

.checkout-empty {
    margin-bottom: 5rem;
}

/* Kassan linkit (takaisin koriin, ehdot, tietosuoja) sivuston tyyliin eikä
   selaimen oletussinisenä. */
.checkout-keep-shopping,
.checkout-terms a,
.checkout-consent a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

@media (max-width: 900px) {
    .checkout-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.75rem;
    }

    /* Yhteenveto ensin: puhelimella se oli lomakkeen ja lähetysnapin alla,
       eli tilattavan näki vasta kun kaikki oli jo täytetty. */
    .checkout-summary {
        position: static;
        order: -1;
    }
}

/* Kokoluokan päättävä kortti: ei kuvaa, joten teksti keskitetään ja nappi
   asettuu pohjaan samalla auto-marginaalilla kuin pakettikorteissa. Kehys ja
   tausta puretaan equipment-card--textistä, jotta kortti istuu naapureidensa
   joukkoon eikä erotu laatikkona. */
.bott-custom-card {
    justify-content: center;
    text-align: center;
    border: 0;
    background: none;
}

.bott-custom-card .equipment-name {
    margin-top: 0.4rem;
}

.bott-custom-card-body {
    margin: 0.6rem 0 0;
    font-size: 0.85rem;
    line-height: 1.5;
    opacity: 0.75;
}

/* Ei auto-marginaalia: kortilla ei ole kuvaa, joten koko sisältö keskitetään
   pystysuunnassa yhtenä ryhmänä naapurikorttien kuvan korkeudelle. */
.bott-custom-card .bott-package-actions {
    margin-top: 0;
    padding-top: 1.2rem;
}

/* Hienoprintti napin alla: ehdot, ei kilpaile hintojen kanssa. */
.bott-package-price-note {
    margin: 0.55rem 0 0;
    font-size: 0.75rem;
    line-height: 1.4;
    text-align: center;
    opacity: 0.62;
}

.bott-package-includes {
    margin: 0.6rem 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.85rem;
    line-height: 1.5;
    text-align: center;
    opacity: 0.75;
}

/* Valittu koko: korosta välilehti ja näytä vastaava paneeli. Kohdistus omalla
   luokalla (ei nth-childillä), jotta järjestyksen muutos ei riko korostusta. */
#bott-size-liten:checked ~ .bott-size-tabs .bott-size-tab--liten,
#bott-size-mellan:checked ~ .bott-size-tabs .bott-size-tab--mellan,
#bott-size-stor:checked ~ .bott-size-tabs .bott-size-tab--stor,
#bott-size-xl:checked ~ .bott-size-tabs .bott-size-tab--xl {
    background-color: var(--brand-dark);
    background-image: var(--surface-dark-overlay-control);
    color: var(--brand-light);
}

#bott-size-liten:checked ~ .bott-size-panels .bott-size-panel--liten,
#bott-size-mellan:checked ~ .bott-size-panels .bott-size-panel--mellan,
#bott-size-stor:checked ~ .bott-size-panels .bott-size-panel--stor,
#bott-size-xl:checked ~ .bott-size-panels .bott-size-panel--xl {
    display: block;
}

/* Näppäimistöfokus näkyviin: radio on piilotettu, joten rengas piirretään
   välilehdelle. */
.bott-size-input:focus-visible ~ .bott-size-tabs .bott-size-tab {
    outline: 2px solid var(--brand-accent);
    outline-offset: 2px;
}

.service-brand-card {
    padding: 0;
}

.service-brand-card .package-content {
    padding: 1.3rem 1.3rem 1.45rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-brand-name {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 1rem;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: rgba(20, 20, 20, 0.08);
    font-family: var(--font-text);
    font-size: 0.78rem;
    letter-spacing: 0;
    text-transform: none;
}

.service-brand-card .package-name {
    min-height: 3.8em;
}

.service-brand-tags {
    margin-top: 1rem;
}

.service-brand-note {
    margin-top: auto;
    padding-top: 1.25rem;
}

.service-contact-shell {
    margin-bottom: clamp(2rem, 5vw, 4rem);
}

.service-contact-card {
    order: initial;
}

/* Soitto ja sähköposti rinnakkain; puhelimella allekkain. */
.service-contact-card .contact-highlight-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 767px) {
    .service-contact-card .contact-highlight-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1100px) {
    .service-landing-hero,
    .service-brand-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer refresh */
.footer {
    padding: clamp(4rem, 7vw, 6rem) 0 clamp(2rem, 4vw, 3rem);
    background:
        linear-gradient(180deg, rgba(243, 243, 243, 0) 0%, rgba(180, 158, 110, 0.08) 100%);
    color: var(--brand-dark);
}

.footer-shell {
    border: 1px solid var(--brand-dark);
    border-radius: 2rem;
    padding: clamp(1.4rem, 3vw, 2rem);
    background:
        radial-gradient(140% 120% at 100% 0%, rgba(180, 158, 110, 0.11) 0%, rgba(180, 158, 110, 0.045) 18%, rgba(180, 158, 110, 0) 50%),
        rgba(255, 255, 255, 0.9);
    box-shadow: 0 24px 60px rgba(20, 20, 20, 0.06);
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.95fr);
    gap: clamp(1.25rem, 3vw, 2rem);
    align-items: stretch;
    padding-bottom: clamp(1.75rem, 3vw, 2.5rem);
    border-bottom: 1px solid rgba(20, 20, 20, 0.12);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    width: fit-content;
    display: inline-flex;
    text-decoration: none;
}

.footer-logo::after,
.footer-contact-card::after,
.footer-cta-actions .cta-button::after {
    display: none;
}

.footer-logo img {
    height: 42px;
    width: auto;
    display: block;
}

.footer-slogan {
    font-size: 0.82rem;
    letter-spacing: 0;
    text-transform: none;
    color: rgba(20, 20, 20, 0.56);
}

.footer-title {
    font-family: var(--font-title);
    font-size: clamp(2.15rem, 4vw, 3.6rem);
    line-height: 0.98;
    font-weight: 500;
    max-width: 12ch;
}

.footer-intro {
    max-width: 58ch;
    font-size: 1.02rem;
    line-height: 1.72;
    color: rgba(20, 20, 20, 0.74);
}

.footer-cta-card {
    background-color: var(--brand-dark);
    background-image: var(--surface-dark-overlay-control);
    color: var(--brand-light);
    border-radius: 1.6rem;
    padding: clamp(1.4rem, 2.4vw, 1.8rem);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: space-between;
}

.footer-cta-label {
    font-size: 0.78rem;
    letter-spacing: 0;
    text-transform: none;
    opacity: 0.72;
}

.footer-cta-card h3 {
    font-family: var(--font-title);
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    line-height: 1.04;
    font-weight: 500;
}

.footer-cta-card p {
    color: rgba(243, 243, 243, 0.76);
    font-size: 1rem;
    line-height: 1.68;
}

.footer-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: auto;
}

.footer-cta-actions .cta-button {
    min-height: 46px;
    height: auto;
    padding: 0.75rem 1.1rem;
    border-radius: 999px;
}

.footer-cta-actions .cta-button:first-child {
    background: var(--brand-light);
    border-color: var(--brand-light);
    color: var(--brand-dark);
}

.footer-cta-actions .cta-button:last-child {
    color: var(--brand-light);
    border-color: rgba(243, 243, 243, 0.3);
}

.footer-columns {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr) minmax(0, 1.15fr);
    gap: clamp(1.5rem, 3vw, 2.75rem);
    padding: clamp(1.75rem, 3vw, 2.5rem) 0;
}

.footer-col {
    min-width: 0;
}

.footer-col h3, .footer-col h4 {
    font-family: var(--font-text);
    font-weight: 600;
    font-size: 0.82rem;
    margin-bottom: 1rem;
    color: rgba(20, 20, 20, 0.56);
    letter-spacing: 0;
    text-transform: none;
}

.footer-link-list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-link-list a,
.footer-bottom-links a {
    color: var(--brand-dark);
    text-decoration: none;
    position: relative;
    display: inline-flex;
    width: fit-content;
}

.footer-link-list a::after,
.footer-bottom-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: var(--brand-accent);
    transition: width 0.3s ease;
}

.footer-link-list a:hover::after,
.footer-bottom-links a:hover::after {
    width: 100%;
}

.footer-contact-cards {
    display: grid;
    gap: 0.8rem;
}

.footer-contact-card {
    border: 1px solid rgba(20, 20, 20, 0.12);
    border-radius: 1.2rem;
    padding: 0.95rem 1rem;
    background: rgba(255, 255, 255, 0.74);
    display: block;
    text-decoration: none;
    color: var(--brand-dark);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.footer-contact-card:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(20, 20, 20, 0.2);
}

.footer-contact-card span {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.76rem;
    letter-spacing: 0;
    text-transform: none;
    color: rgba(20, 20, 20, 0.5);
}

.footer-contact-card strong {
    display: block;
    font-size: 1rem;
    line-height: 1.45;
    font-weight: 600;
}

.footer-meta-line {
    margin-top: 1rem;
    font-size: 0.92rem;
    line-height: 1.5;
    color: rgba(20, 20, 20, 0.58);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-top: 1.25rem;
    margin-top: 0;
    background: transparent;
    border-top: 1px solid rgba(20, 20, 20, 0.12);
}

.footer-copyright {
    font-size: 0.92rem;
    color: rgba(20, 20, 20, 0.58);
    opacity: 1;
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.footer-bottom-links a {
    font-size: 0.95rem;
    opacity: 0.88;
}

@media (max-width: 1100px) {
    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-columns {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {
    .footer-columns {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 500px) {
    .footer-shell {
        border-radius: 1.5rem;
    }

    .footer-cta-card,
    .footer-contact-card {
        border-radius: 1.15rem;
    }

    .footer-cta-actions {
        flex-direction: column;
    }

    .footer-cta-actions .cta-button {
        width: 100%;
        justify-content: center;
    }
}

/* Footer refinement */
.footer {
    padding: clamp(3rem, 5vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.25rem);
    background: transparent;
}

.footer-shell {
    border: 0;
    border-top: 1px solid rgba(20, 20, 20, 0.16);
    border-radius: 0;
    padding: clamp(1.5rem, 3vw, 2rem) 0 0;
    background: transparent;
    box-shadow: none;
}

.footer-columns {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr);
    gap: clamp(1.25rem, 2vw, 2rem);
    padding: 0 0 clamp(1.5rem, 3vw, 2rem);
}

.footer-col--brand {
    padding-right: clamp(1rem, 2vw, 2rem);
}

.footer-logo img {
    height: 34px;
}

.footer-slogan {
    margin-top: 0.85rem;
    font-size: 1rem;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.65;
    color: rgba(20, 20, 20, 0.72);
    max-width: 24ch;
}

.footer-col h3, .footer-col h4 {
    margin-bottom: 0.9rem;
    font-size: 0.78rem;
}

.footer-link-list {
    gap: 0.55rem;
}

.footer-link-list a,
.footer-contact-value {
    font-size: 0.97rem;
    line-height: 1.55;
    color: rgba(20, 20, 20, 0.84);
    opacity: 1;
}

.footer-contact-list {
    display: grid;
    gap: 0.9rem;
}

.footer-contact-row {
    display: grid;
    gap: 0.18rem;
}

.footer-contact-label {
    font-size: 0.75rem;
    letter-spacing: 0;
    text-transform: none;
    color: rgba(20, 20, 20, 0.48);
}

.footer-contact-value {
    width: fit-content;
    text-decoration: none;
    position: relative;
    display: inline-flex;
}

.footer-contact-value::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: var(--brand-accent);
    transition: width 0.3s ease;
}

.footer-contact-value:hover::after {
    width: 100%;
}

.footer-meta-line {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(20, 20, 20, 0.56);
}

.footer-bottom {
    justify-content: flex-start;
    padding-top: 1rem;
}

.footer-copyright {
    font-size: 0.88rem;
    color: rgba(20, 20, 20, 0.54);
}

@media (max-width: 1100px) {
    .footer-columns {
        grid-template-columns: 1fr 1fr;
    }

    .footer-col--brand {
        grid-column: 1 / -1;
        padding-right: 0;
    }
}

@media (max-width: 700px) {
    .footer-columns {
        grid-template-columns: 1fr;
    }

    .footer-col--brand {
        grid-column: auto;
    }
}

@media (max-width: 500px) {
    .footer-shell {
        padding-top: 1.25rem;
    }

    .footer-slogan {
        max-width: 100%;
    }
}

/* Footer centered-logo layout */
.footer {
    padding: clamp(3.75rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
}

.footer-shell {
    border-top: 0;
    padding-top: 0;
}

.footer-columns {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(2rem, 3vw, 3.25rem);
    padding: 0 0 clamp(2.5rem, 4vw, 3.25rem);
}

.footer-col--brand,
.footer-slogan {
    display: none;
}

.footer-col h3, .footer-col h4 {
    margin-bottom: 1rem;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    color: rgba(20, 20, 20, 0.86);
}

.footer-link-list {
    gap: 0.65rem;
}

.footer-link-list a,
.footer-contact-value {
    font-size: 0.98rem;
    line-height: 1.5;
    color: rgba(20, 20, 20, 0.82);
}

.footer-contact-list {
    gap: 0.8rem;
}

.footer-contact-label {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
}

.footer-meta-line {
    margin-top: 1.15rem;
}

.footer-lower {
    border-top: 1px solid rgba(20, 20, 20, 0.14);
    padding-top: clamp(1.75rem, 3vw, 2.5rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
}

.footer-logo {
    width: auto;
}

.footer-logo img {
    height: 34px;
}

.footer-lower-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
}

.footer-lower-links a,
.footer-cookie-settings {
    color: var(--brand-dark);
    text-decoration: none;
    position: relative;
    display: inline-flex;
    font-size: 0.95rem;
}

.footer-cookie-settings {
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    cursor: pointer;
}

.footer-lower-links a::after,
.footer-cookie-settings::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: var(--brand-accent);
    transition: width 0.3s ease;
}

.footer-lower-links a:hover::after,
.footer-cookie-settings:hover::after,
.footer-cookie-settings:focus-visible::after {
    width: 100%;
}

.footer-cookie-settings:focus-visible {
    outline: 2px solid rgba(180, 158, 110, 0.55);
    outline-offset: 0.25rem;
    border-radius: 0.2rem;
}

.footer-bottom {
    display: none;
}

.footer-copyright {
    font-size: 0.84rem;
    color: rgba(20, 20, 20, 0.5);
}

@media (max-width: 1100px) {
    .footer-columns {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .footer-lower-links {
        gap: 0.9rem 1.1rem;
    }
}

/* Footer dark social layout */
.footer {
    padding: clamp(4rem, 6vw, 5.5rem) 0 clamp(2.25rem, 4vw, 3.25rem);
    background:
        linear-gradient(135deg, #363433 0%, #1E1D1B 100%);
    color: var(--brand-light);
}

.footer-shell {
    background: transparent;
    box-shadow: none;
}

.footer-toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: clamp(2rem, 3vw, 2.75rem);
}

.footer-social-bar {
    max-width: none;
}

.footer-social-bar .hero-button-inner {
    border-color: rgba(229, 225, 217, 0.22);
    background: rgba(255, 255, 255, 0.02);
}

.footer-social-icons {
    display: flex;
    align-items: center;
    gap: 2px;
}

/* Selector must out-specify `.footer a { display: inline-block }` so the flex
   centring actually applies. */
.footer-social-icons .footer-social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50rem;
    border: 1px solid rgba(229, 225, 217, 0.18);
    background: rgba(255, 255, 255, 0.04);
    color: var(--brand-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Keep each icon centred and undistorted (the YouTube glyph is non-square) */
.footer-social-icon img {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.why-arrow img {
    transition: transform 0.35s ease, opacity 0.25s ease;
    transform-origin: center;
}

.why-item.active .why-arrow img {
    transform: rotate(90deg);
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: clamp(1.75rem, 2vw, 2.5rem);
    padding: 0 0 clamp(2.5rem, 4vw, 3rem);
}

.footer-col {
    flex: 0 0 auto;
}

.footer-col--contact {
    max-width: 18.5rem;
}

.footer-col h3, .footer-col h4 {
    margin-bottom: 1.15rem;
    line-height: 1.35;
    color: rgba(229, 225, 217, 0.84);
}

.footer-link-list {
    gap: 0.82rem;
}

.footer-link-list a,
.footer-contact-value,
.footer-lower-links a,
.footer-cookie-settings {
    line-height: 1.58;
    color: rgba(229, 225, 217, 0.88);
}

.footer-contact-list {
    gap: 1rem;
}

.footer-contact-row {
    gap: 0.28rem;
}

.footer-contact-label {
    color: rgba(229, 225, 217, 0.48);
}

.footer-meta-line,
.footer-copyright {
    color: rgba(229, 225, 217, 0.56);
}

.footer-meta-line {
    margin-top: 1.3rem;
    line-height: 1.55;
}

.footer-contact-value::after,
.footer-link-list a::after,
.footer-lower-links a::after,
.footer-cookie-settings::after {
    background: rgba(180, 158, 110, 0.9);
}

.footer-lower {
    border-top-color: rgba(229, 225, 217, 0.14);
    gap: 1.45rem;
}

.footer-logo img {
    height: 34px;
}

.footer-contact-band {
    padding: clamp(4rem, 6vw, 5.5rem) 0 0;
    background:
        linear-gradient(180deg, #1f1b16 0%, #15120f 100%);
    color: var(--brand-light);
    border-radius: 0 0 1.8rem 1.8rem;
    overflow: hidden;
    margin-bottom: -1.8rem;
    position: relative;
    z-index: 1;
}

.footer-contact-shell {
    display: grid;
    grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.25fr);
    gap: clamp(1.5rem, 3vw, 2.75rem);
    align-items: start;
    padding: 0 0 clamp(3rem, 4vw, 4rem);
}

.footer-contact-copy {
    padding-top: clamp(0.4rem, 1vw, 0.8rem);
}

.footer-contact-kicker {
    display: inline-flex;
    margin-bottom: 1.15rem;
    font-family: var(--font-text);
    font-size: 0.9rem;
    letter-spacing: 0;
    text-transform: none;
    color: var(--brand-accent);
}

.footer-contact-title {
    max-width: 10ch;
}

.footer-contact-intro,
.footer-contact-note {
    max-width: 54ch;
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(229, 225, 217, 0.76);
}

.footer-contact-intro {
    margin-top: 1.2rem;
}

.footer-contact-note {
    margin-top: 1rem;
    color: rgba(229, 225, 217, 0.58);
}

/* Samankeskinen: alakulmissa ovat suostumuslaatikko ja lähetysnappi (kaari
   1.5rem), joten paneelin kaari = 1.5rem + sisäväli + reunus. Sisäväli on sama
   kuin kontaktisivun lomakkeella reunasta sisältöön (--contact-inset). */
.footer-contact-form-panel {
    --footer-panel-pad: clamp(1rem, 2.5vw, 2rem);
    padding: var(--footer-panel-pad);
    border: 1px solid rgba(229, 225, 217, 0.14);
    border-radius: calc(1.5rem + var(--footer-panel-pad) + 1px);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
}

.footer-embedded-form {
    gap: 1.1rem;
}

.footer-contact-band .contact-audience {
    background: transparent;
}

.footer-contact-band .contact-audience legend,
.footer-contact-band .contact-field span {
    color: rgba(229, 225, 217, 0.82);
}

/* Tummalla pohjalla kehys kenttien värein ja valittu osa vaalea. */
.footer-contact-band .contact-audience-options {
    border-color: rgba(229, 225, 217, 0.12);
    background: rgba(255, 255, 255, 0.06);
}

.footer-contact-band .contact-audience-option span {
    color: rgba(229, 225, 217, 0.82);
}

.footer-contact-band .contact-audience-option input:checked + span {
    background: var(--brand-light);
    color: var(--brand-dark);
}

.footer-contact-band .contact-field input,
.footer-contact-band .contact-field select,
.footer-contact-band .contact-field textarea {
    border-color: rgba(229, 225, 217, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: var(--brand-light);
}

.footer-contact-band .contact-field input::placeholder,
.footer-contact-band .contact-field textarea::placeholder {
    color: rgba(229, 225, 217, 0.4);
}

.footer-contact-band .contact-field select {
    background-color: rgba(255, 255, 255, 0.06);
    background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.5 7L9 11.5L13.5 7' stroke='%23F3F3F3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.1rem center;
    background-size: 1.05rem;
    color: var(--brand-light);
}

.footer-contact-band .contact-field select option {
    background: var(--brand-light);
    color: var(--brand-dark);
}

.footer-contact-band .contact-field input:focus,
.footer-contact-band .contact-field select:focus,
.footer-contact-band .contact-field textarea:focus {
    border-color: rgba(180, 158, 110, 0.78);
    box-shadow: 0 0 0 3px rgba(180, 158, 110, 0.16);
}

.footer-contact-band .contact-checkbox {
    border-color: rgba(229, 225, 217, 0.14);
    background: rgba(255, 255, 255, 0.05);
}

.footer-contact-band .contact-checkbox input {
    accent-color: var(--brand-accent);
}

.footer-contact-band .contact-checkbox span {
    color: rgba(229, 225, 217, 0.78);
}

.footer-contact-band .contact-checkbox a {
    color: var(--brand-light);
}

.footer-contact-submit {
    margin-left: auto;
}

@media (max-width: 1100px) {
    .footer-contact-shell {
        grid-template-columns: 1fr;
        padding-bottom: clamp(2.4rem, 5vw, 3rem);
    }

    .footer-contact-copy {
        padding-top: 0;
    }

    .footer-contact-title {
        max-width: none;
    }

    .footer-columns {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: clamp(1.75rem, 4vw, 2.4rem);
    }

    .footer-col {
        flex: initial;
    }

    .footer-col--contact {
        max-width: none;
    }

    .footer-toolbar {
        justify-content: flex-start;
    }
}

@media (max-width: 700px) {
    /* Section vertical rhythm: desktop uses fixed 8-10rem which is far too tall
       on phones. Tighten the top/bottom spacing for a more optimal mobile layout. */
    .equipment { padding: 4rem 0; }
    .dark-section { padding: 4rem 0; }
    .why-section { padding: 3.5rem 0; }
    .quote-section { padding: 4rem 0; }
    .equipment-header { margin-bottom: 2.5rem; }
    .why-title { margin-bottom: 2rem; }
    .package-section { padding-top: 3.5rem; padding-bottom: 3.5rem; }
    .gallery-section { padding-top: 3.5rem; }

    .footer-contact-band {
        padding-top: clamp(3rem, 8vw, 4rem);
        margin-bottom: -1.4rem;
        border-radius: 0 0 1.4rem 1.4rem;
    }

    .footer-contact-intro,
    .footer-contact-note {
        max-width: none;
    }

    .footer-toolbar {
        margin-bottom: 1.75rem;
    }

    .footer-col h3, .footer-col h4 {
        margin-bottom: 0.95rem;
    }

    .footer-link-list {
        gap: 0.7rem;
    }

    .footer-social-bar .hero-button-inner {
        justify-content: flex-end;
    }
}

@media (max-width: 500px) {
    .footer-social-bar {
        width: auto;
    }

    .footer-social-bar .hero-button-inner {
        padding: 0.2rem;
    }

    .footer-social-icon {
        width: 38px;
        height: 38px;
    }

    .footer-lower-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem 1rem;
    }

    .footer-lower-links a,
    .footer-lower-links .footer-cookie-settings {
        font-size: 0.7rem;
    }
}

/* ==========================================================================
   Konfiguraattori (app/views/pages/configurator.php + assets/js/configurator.js)
   Sama kieli kuin kassalla: ohuet viivat, pilleripainikkeet, Playfair-otsikot ja
   kapea kiinnitetty yhteenveto oikealla. Valittu = tumma reuna + kevyt savu.
   ========================================================================== */

/* Sivun pituus muuttuu valintojen mukana: pesu kiinni ikkunaan kuten kaupassa. */
body.configurator-page-body {
    background-image: none;
    --pc-line: rgba(30, 29, 27, 0.16);
    --pc-line-strong: rgba(30, 29, 27, 0.32);
    --pc-smoke: rgba(30, 29, 27, 0.04);
    --pc-muted: rgba(30, 29, 27, 0.62);
    --pc-card: rgba(255, 255, 255, 0.55);
    --pc-radius: 1.25rem;
    --pc-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

body.configurator-page-body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: var(--surface-page-wash);
    pointer-events: none;
    z-index: -1;
}

.pc-visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.pc-trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

/* ---------- Otsikko ja markkina ---------- */

/* Alku: otsikko vasemmalla, asiakastyyppi oikealla samalla rivilla. */
.pc-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem 2rem;
    padding-top: 9.5rem;
}

.pc-title {
    margin: 0;
    font-family: var(--font-title);
    font-weight: 300;
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.pc-market {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.4rem;
}

/* Selittava lause vain puhelimella (otsikon alla koko leveydelta). */
.pc-lead {
    display: none;
    flex-basis: 100%;
    max-width: 34ch;
    margin: 0 0 0.9rem;
    font-size: 1rem;
    line-height: 1.55;
    color: var(--pc-muted);
    text-wrap: balance;
}

/* Hae konfiguraatio: sama muoto ja korkeus kuin asiakastyypin valitsimella. */
.pc-load {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 44px;
    padding: 0 1.05rem;
    border: 1px solid var(--pc-line);
    border-radius: 50rem;
    background: rgba(255, 255, 255, 0.45);
    font: inherit;
    font-size: 0.92rem;
    color: inherit;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.pc-load:hover {
    border-color: var(--pc-line-strong);
}

.pc-load svg {
    flex: none;
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Ehdot tilauksen lahetysnapin ylapuolella. */
.pc-terms {
    margin: 1rem 0 0.75rem;
    font-size: 0.86rem;
    line-height: 1.5;
    color: var(--pc-muted);
}

.pc-terms a {
    color: inherit;
    text-decoration: underline;
}

.pc-dialog-field {
    margin: 0 0 1.2rem;
}

.pc-market[hidden],
.pc-select[hidden] {
    display: none;
}

.pc-select select {
    height: 44px;
    padding: 0 2.6rem 0 1.1rem;
    border: 1px solid var(--pc-line-strong);
    border-radius: 50rem;
    background: transparent url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.5 7L9 11.5L13.5 7' stroke='%231E1D1B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 0.9rem center / 1rem;
    font: inherit;
    font-size: 0.95rem;
    color: var(--brand-dark);
    appearance: none;
    cursor: pointer;
}

/* ---------- Asettelu ---------- */

.pc-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 22rem);
    gap: 3rem;
    align-items: start;
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 6rem;
    /* Sisalto piirretaan JS:lla: ilman varattua korkeutta footer nakyi ensin
       ylhaalla ja hyppasi alas (Lighthouse CLS 0,52). */
    min-height: 100vh;
}

.pc-main {
    min-width: 0;
}

.pc-state {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 2rem 0;
}

.pc-state[hidden] {
    display: none;
}

.pc-state:not(.pc-state--error) {
    flex-direction: row;
    align-items: center;
    color: var(--pc-muted);
}

.pc-state h2 {
    font-family: var(--font-title);
    font-weight: 300;
    font-size: 1.8rem;
}

.pc-spinner {
    width: 1.1rem;
    height: 1.1rem;
    border: 2px solid var(--pc-line);
    border-top-color: var(--brand-dark);
    border-radius: 50%;
    animation: pc-spin 0.8s linear infinite;
}

@keyframes pc-spin {
    to { transform: rotate(360deg); }
}

/* ---------- Osiot ---------- */

.pc-section {
    padding: 2.5rem 0;
    border-top: 1px solid var(--pc-line);
    scroll-margin-top: calc(var(--header-height, 87px) + 1rem);
}

.pc-section:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.pc-section[hidden] {
    display: none;
}

.pc-section-head {
    margin-bottom: 1.5rem;
}

.pc-section-title {
    margin: 0;
    font-family: var(--font-title);
    font-weight: 300;
    font-size: clamp(1.7rem, 2.6vw, 2.2rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.pc-section-sub {
    margin: 0.4rem 0 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--pc-muted);
}

.pc-group + .pc-group {
    margin-top: 2rem;
}

.pc-group-title {
    margin: 0 0 0.85rem;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.3;
}

.pc-label {
    display: block;
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--pc-muted);
}

.pc-optional {
    font-style: normal;
    font-weight: 400;
    color: var(--pc-muted);
}

.pc-muted {
    color: var(--pc-muted);
    font-weight: 400;
}

.pc-empty {
    color: var(--pc-muted);
    line-height: 1.55;
}

.pc-hint {
    margin: 0.65rem 0 0;
    font-size: 0.85rem;
    line-height: 1.45;
    color: var(--brand-warning);
}

.pc-link {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 0.88rem;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.2em;
    cursor: pointer;
}

.pc-link:hover {
    opacity: 0.7;
}

/* ---------- Kortit (malli, paketti, sisalto, tilanne) ---------- */

.pc-card-grid {
    display: grid;
    gap: 0.75rem;
}

.pc-card-grid--models {
    grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
}

.pc-card-grid--packages {
    grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
    gap: 1rem;
}

.pc-card-grid--images {
    grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
}

.pc-card-grid--compact {
    grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr));
}

.pc-card-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pc-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    width: 100%;
    min-height: 4rem;
    padding: 1rem 2.75rem 1rem 1.1rem;
    border: 1px solid var(--pc-line);
    border-radius: 1rem;
    background: var(--pc-card);
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.pc-card:hover:not(:disabled) {
    border-color: var(--pc-line-strong);
}

.pc-card.is-active {
    border-color: var(--brand-dark);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: inset 0 0 0 1px var(--brand-dark);
}

.pc-card:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Kuva kulmassa: kortin kaari = kuvan kaari + sisäväli + reunus (samankeskinen). */
.pc-card--choice {
    --pc-choice-pad: 0.625rem;
    padding: var(--pc-choice-pad) var(--pc-choice-pad) 0.85rem;
    border-radius: calc(0.625rem + var(--pc-choice-pad) + 1px);
}

.pc-card-title {
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.3;
}

.pc-card-meta {
    font-size: 0.85rem;
    line-height: 1.45;
    color: var(--pc-muted);
}

/* ---------- Auton valinta (configurator.js renderVehicle) ----------
   Ei mitaan valmiiksi valittuna. Malli on valintarivi kuten Applen
   "Valitse malli": nimi ja tiedot vasemmalla, siluetti oikealla (vain
   Sprinter ja Crafter, joille on oma piirros) ja valintamerkki. Merkki
   suodattaa yhdella vieritettavalla rivilla. Valinnan jalkeen tiivis rivi
   Andra-napilla. */
.pc-vehicle-lead {
    margin: 0 0 1rem;
}

.pc-model-group {
    margin: 1.5rem 0 0.6rem;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: var(--pc-muted);
}

.pc-brands + .pc-model-group {
    margin-top: 0.25rem;
}

.pc-card-grid--models {
    grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr));
    gap: 0.6rem;
}

.pc-card--model {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 1rem;
    min-height: 5rem;
    padding: 0.9rem 3.1rem 0.9rem 1.15rem;
    background: rgba(255, 255, 255, 0.55);
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.pc-card--model:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 6px 18px rgba(30, 29, 27, 0.06);
}

.pc-card--model:active:not(:disabled) {
    transform: scale(0.99);
}

.pc-card--model.is-active {
    background: #fff;
}

.pc-card--model .pc-card-title {
    font-size: 1.02rem;
}

.pc-model-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

/* Suosittu automalli: pieni kultainen teksti nimen ylla. */
.pc-model-flag {
    color: #6f5b32; /* kultainen, kontrasti >= 4.5 vaalealla kortilla (oli #8a7344, 4.1) */
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.2;
}

/* Tiedot yhdella rivilla pisteella erotettuina; rivittyy kapealla. */
.pc-card--model .pc-card-meta,
.pc-vehicle-chosen .pc-card-meta {
    display: flex;
    flex-wrap: wrap;
    column-gap: 0.45rem;
    line-height: 1.4;
}

.pc-card-meta > span {
    white-space: nowrap;
}

.pc-card-meta > span + span::before {
    content: "·";
    margin-right: 0.45rem;
    color: var(--pc-line-strong);
}

.pc-model-figure {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    width: 7.5rem;
    height: 2.6rem;
    color: rgba(30, 29, 27, 0.38);
    transition: color 0.2s ease;
}

.pc-model-figure svg {
    display: block;
    height: auto;
    max-height: 100%;
}

.pc-card--model:hover .pc-model-figure,
.pc-card--model.is-active .pc-model-figure {
    color: rgba(30, 29, 27, 0.8);
}

.pc-card--model > .pc-radio {
    top: 50%;
    right: 1rem;
    margin-top: -0.65rem;
}

.pc-model-brand {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: var(--pc-muted);
}

.pc-vehicle-chosen {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 0.75rem 0.9rem 1.15rem;
    border: 1px solid var(--pc-line);
    border-radius: var(--pc-radius);
    background: #fff;
}

.pc-vehicle-chosen-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.pc-vehicle-change,
.pc-vehicle-keep {
    min-height: 44px;
    padding: 0 0.5rem;
}

.pc-vehicle-keep {
    margin-top: 0.75rem;
}

/* Merkki: yksi vieritettava rivi (ei rivitysta), mallien maara pillerissa. */
.pc-chips.pc-brands {
    flex-wrap: nowrap;
    margin-bottom: 1rem;
    padding: 2px 1.5rem 2px 2px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 1.5rem), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - 1.5rem), transparent);
}

.pc-brands::-webkit-scrollbar {
    display: none;
}

.pc-brands .pc-chip {
    flex: 0 0 auto;
    min-height: 44px;
    scroll-snap-align: start;
}

.pc-chip-count {
    margin-left: 0.15rem;
    font-size: 0.8rem;
    font-variant-numeric: tabular-nums;
    color: var(--pc-muted);
}

.pc-chip.is-active .pc-chip-count {
    color: rgba(243, 243, 243, 0.7);
}

/* Lukittu askel (paketti ennen autoa). */
.pc-locked {
    margin: 0;
    padding: 1.1rem 1.2rem;
    border: 1px dashed var(--pc-line-strong);
    border-radius: 1rem;
    color: var(--pc-muted);
    font-size: 0.95rem;
}

@media (max-width: 640px) {
    .pc-card-grid--models {
        grid-template-columns: minmax(0, 1fr);
    }

    .pc-card--model {
        min-height: 4.5rem;
        column-gap: 0.75rem;
        padding: 0.8rem 2.9rem 0.8rem 1rem;
    }

    .pc-model-figure {
        width: 4.6rem;
        height: 1.8rem;
    }

    /* Kapealla tiedot omille riveilleen (erotin rivin alussa nayttaa rikkinaiselta). */
    .pc-card--model .pc-card-meta {
        flex-direction: column;
    }

    .pc-card--model .pc-card-meta > span + span::before {
        content: none;
    }

    /* Valittu auto: nimi ja Andra, ei siluettia (kortit nayttavat sen jo). */
    .pc-vehicle-chosen {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0.6rem;
        padding: 0.8rem 0.5rem 0.8rem 1rem;
    }

    .pc-vehicle-chosen .pc-model-figure {
        display: none;
    }

    .pc-vehicle-chosen .pc-card-meta {
        flex-direction: column;
    }

    .pc-vehicle-chosen .pc-card-meta > span + span::before {
        content: none;
    }
}

.pc-choice-media {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    margin-bottom: 0.4rem;
    overflow: hidden;
    border-radius: 0.625rem;
    background: rgba(30, 29, 27, 0.06);
}

.pc-choice-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Valintapallo oikeassa ylakulmassa. */
.pc-radio {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 1.3rem;
    height: 1.3rem;
    border: 1px solid var(--pc-line-strong);
    border-radius: 50%;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Valittu: tumma pallo ja valkoinen valintamerkki (kuten iOS). */
.is-active > .pc-radio,
.is-active .pc-package-select > .pc-radio {
    border-color: var(--brand-dark);
    background: var(--brand-dark);
    box-shadow: none;
}

.is-active > .pc-radio::after,
.is-active .pc-package-select > .pc-radio::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 46%;
    width: 0.32rem;
    height: 0.6rem;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -50%) rotate(45deg);
}

/* Paketti: kuva, nimi, hinta; sisalto avautuu alle. */
.pc-package {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--pc-line);
    border-radius: var(--pc-radius);
    background: var(--pc-card);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pc-package:hover {
    border-color: var(--pc-line-strong);
}

.pc-package.is-active {
    border-color: var(--brand-dark);
    box-shadow: inset 0 0 0 1px var(--brand-dark);
    background: rgba(255, 255, 255, 0.85);
}

.pc-package-select {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

/* Kuvat samankorkuisina riippumatta kuvan omasta muodosta. */
/* Pakettikuva aina kokonaisena (ei rajausta): kuvat ovat neliöitä, muut mahtuvat sisään. */
.pc-package-media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    /* Kuva kortin sisalla omana pyoristettyna pintanaan, ei reunasta reunaan. */
    margin: 0.5rem 0.5rem 0;
    overflow: hidden;
    border-radius: calc(var(--pc-radius) - 0.5rem);
    background: rgba(30, 29, 27, 0.06);
}

.pc-package-media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pc-package-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 1.1rem 0.6rem;
}

.pc-package-select > .pc-radio {
    top: auto;
    bottom: 0.95rem;
}

.pc-package-more {
    align-self: flex-start;
    margin: 0.2rem 1.1rem 1rem;
}

.pc-included {
    margin: 0 1.1rem 1.1rem;
    padding: 0.85rem 0 0;
    border-top: 1px solid var(--pc-line);
    list-style: none;
    font-size: 0.86rem;
    line-height: 1.5;
}

.pc-included li {
    position: relative;
    padding-left: 1.2rem;
}

.pc-included li + li {
    margin-top: 0.2rem;
}

.pc-included li::before {
    content: "";
    position: absolute;
    left: 0.15rem;
    top: 0.45em;
    width: 0.45rem;
    height: 0.25rem;
    border-left: 1.5px solid var(--brand-accent);
    border-bottom: 1.5px solid var(--brand-accent);
    transform: rotate(-45deg);
}

.pc-price {
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

/* ---------- Pillerit ja segmentit ---------- */

.pc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pc-brands {
    margin-bottom: 1rem;
}

.pc-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 40px;
    padding: 0 1rem;
    border: 1px solid var(--pc-line-strong);
    border-radius: 50rem;
    background: transparent;
    font: inherit;
    font-size: 0.92rem;
    color: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* Varianttien nimet voivat olla pitkia ("Kylskap ca 32l inkluderar bord och
   mugghallare"): puhelimella pilleri rivittyy eika vuoda naytön yli. Hinta
   pysyy yhtena palana. */
.pc-variants .pc-chip {
    flex-wrap: wrap;
    column-gap: 0.4rem;
    row-gap: 0.1rem;
    max-width: 100%;
    min-width: 0;
    padding: 0.55rem 1rem;
    border-radius: 1.25rem;
    line-height: 1.3;
    text-align: left;
    white-space: normal;
    overflow-wrap: break-word;
}

.pc-variants .pc-chip .pc-muted {
    white-space: nowrap;
}

.pc-chip:hover:not(:disabled) {
    border-color: var(--brand-dark);
}

.pc-chip.is-active {
    border-color: var(--brand-dark);
    background: var(--brand-dark);
    color: var(--brand-light);
}

.pc-chip.is-active .pc-muted {
    color: rgba(243, 243, 243, 0.72);
}

.pc-chip:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* Monivalinta: pieni valintaruutu pillerin alussa. */
.pc-chip--check::before {
    content: "";
    flex: 0 0 auto;
    width: 0.85rem;
    height: 0.85rem;
    margin-right: 0.15rem;
    border: 1.5px solid currentColor;
    border-radius: 0.25rem;
    opacity: 0.6;
}

.pc-chip--check.is-active::before {
    width: 0.35rem;
    height: 0.65rem;
    margin: -0.15rem 0.35rem 0 0.2rem;
    border-width: 0 2px 2px 0;
    border-radius: 0;
    opacity: 1;
    transform: rotate(45deg);
}

.pc-segmented {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    padding: 0.25rem;
    border: 1px solid var(--pc-line);
    border-radius: 50rem;
    background: rgba(255, 255, 255, 0.45);
}

.pc-segmented button {
    min-height: 36px;
    padding: 0 1.05rem;
    border: 0;
    border-radius: 50rem;
    background: transparent;
    font: inherit;
    font-size: 0.92rem;
    color: inherit;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.pc-segmented button.is-active {
    background: var(--brand-dark);
    color: var(--brand-light);
}

.pc-segmented button.is-active .pc-muted {
    color: rgba(243, 243, 243, 0.72);
}

.pc-segmented button.is-unavailable,
.pc-segmented button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pc-market .pc-segmented button {
    min-height: 34px;
}

/* ---------- Valiseina ---------- */

/* Ryhma kuten iOS-asetuksissa: rivit ohuin viivoin samassa kehyksessa. */
/* Valitsin (.pc-segmented, 46 px pilleri) on paneelin kulmassa, joten paneelin
   kaari = pillerin puolikas + rivin sisäväli + reunus (samankeskinen). */
.pc-panel {
    --pc-panel-pad: 1rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    border: 1px solid var(--pc-line);
    border-radius: calc(23px + var(--pc-panel-pad) + 1px);
    background: var(--pc-card);
    overflow: hidden;
}

.pc-panel-row {
    padding: var(--pc-panel-pad);
    border-top: 1px solid var(--pc-line);
}

.pc-panel-row:first-child {
    border-top: 0;
}

/* Otsikko vasemmalla, valinta oikealla; selitykset koko leveydelta alle. */
.pc-panel-row--inline {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.5rem 1rem;
}

.pc-panel-row--inline > :not(.pc-panel-label):not(.pc-segmented) {
    grid-column: 1 / -1;
}

.pc-panel-label {
    font-size: 0.95rem;
    font-weight: 500;
}

.pc-panel-help {
    margin: 0.6rem 0 0;
    font-size: 0.86rem;
    line-height: 1.5;
    color: var(--pc-muted);
}

.pc-panel .pc-fields {
    gap: 0.75rem;
}

.pc-input-upper {
    text-transform: uppercase;
}

.pc-input-upper::placeholder {
    text-transform: none;
}

/* Mittakortti: pieni auton ikoni ja lastitilan pituudet isoina lukuina. */
.pc-partition-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: var(--pc-panel-pad);
}

.pc-partition-scene {
    flex: 0 0 auto;
    width: 10.5rem;
}

.pc-partition-scene[hidden] {
    display: none;
}

/* Kortissa vain seinaan liittyvat osat: ei kaappeja eika poytaa. */
.pc-partition-scene .pv-cabinets,
.pc-partition-scene .pv-table {
    display: none;
}

.pc-partition-figures {
    min-width: 0;
}

.pc-partition-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.5rem 2rem;
}

.pc-stat {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.pc-stat strong {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
    font-variant-numeric: tabular-nums;
}

.pc-stat span {
    font-size: 0.8rem;
    color: var(--pc-muted);
}

.pc-partition-note {
    margin: 0.55rem 0 0;
    font-size: 0.82rem;
    color: var(--pc-muted);
}

.pc-stat--main strong {
    font-size: 1.75rem;
    letter-spacing: -0.02em;
}

/* Paikka: liukusaadin 10 cm askelin. Ohut rata, tayttyva osa ja valkoinen
   nuppi kuten iOS:ssa; merkit nayttavat askeleet. */
.pc-slider-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 0.35rem;
}

.pc-slider-head .pc-label {
    margin: 0;
}

.pc-slider-value {
    font-size: 0.95rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.pc-slider-track {
    position: relative;
    padding: 0.35rem 0;
}

.pc-slider input[type="range"] {
    --pc-fill: 50%;
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 28px;
    margin: 0;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    touch-action: pan-y;
}

.pc-slider input[type="range"]::-webkit-slider-runnable-track {
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(to right, var(--brand-dark) 0 var(--pc-fill), rgba(30, 29, 27, 0.14) var(--pc-fill) 100%);
}

.pc-slider input[type="range"]::-moz-range-track {
    height: 4px;
    border-radius: 2px;
    background: rgba(30, 29, 27, 0.14);
}

.pc-slider input[type="range"]::-moz-range-progress {
    height: 4px;
    border-radius: 2px;
    background: var(--brand-dark);
}

.pc-slider input[type="range"]::-webkit-slider-thumb {
    width: 28px;
    height: 28px;
    margin-top: -12px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.18);
    -webkit-appearance: none;
    appearance: none;
    transition: transform 0.15s ease;
}

.pc-slider input[type="range"]::-moz-range-thumb {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.18);
}

.pc-slider input[type="range"]:active::-webkit-slider-thumb {
    transform: scale(1.08);
}

.pc-slider input[type="range"]:focus-visible {
    outline: none;
}

.pc-slider input[type="range"]:focus-visible::-webkit-slider-thumb {
    box-shadow: 0 0 0 3px rgba(180, 158, 110, 0.55), 0 2px 6px rgba(0, 0, 0, 0.18);
}

.pc-slider input[type="range"]:focus-visible::-moz-range-thumb {
    box-shadow: 0 0 0 3px rgba(180, 158, 110, 0.55), 0 2px 6px rgba(0, 0, 0, 0.18);
}

/* Merkit nupin keskipisteen kohdalle (puolikas nupin leveys reunoilta). */
.pc-slider-ticks {
    display: flex;
    justify-content: space-between;
    padding: 0 13px;
    margin-top: 0.15rem;
}

.pc-slider-ticks span {
    width: 1px;
    height: 6px;
    background: rgba(30, 29, 27, 0.22);
}

.pc-slider-ends {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.35rem;
    font-size: 0.8rem;
    color: var(--pc-muted);
}

.pc-wall .pc-hint {
    margin: 0;
}

/* ---------- Lisavarusteet ----------
   Rivi on yksi painettava kokonaisuus; oikealla pyorea valintapallo kuten
   iOS:n listoissa. Ilman kuvaa rivi alkaa tekstista (ei tyhjaa laatikkoa). */

.pc-group-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.4rem;
}

.pc-group-head .pc-group-title {
    margin: 0;
}

.pc-group-count {
    font-size: 0.85rem;
    color: var(--pc-muted);
    font-variant-numeric: tabular-nums;
}

.pc-options {
    display: grid;
}

.pc-option {
    border-bottom: 1px solid var(--pc-line);
}

.pc-option:last-child {
    border-bottom: 0;
}

.pc-option-row {
    display: grid;
    grid-template-columns: 4rem minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: start;
    margin: 0 -0.75rem;
    padding: 0.9rem 0.75rem;
    border-radius: 1rem;
    transition: background-color 0.2s ease;
}

.pc-options.no-media .pc-option-row,
.pc-option.no-media .pc-option-row {
    grid-template-columns: minmax(0, 1fr) auto;
}

/* Lisayksen hetki (configurator.js markJustAdded). */
.pc-option.is-just-added .pc-check-toggle {
    animation: pc-check-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pc-option.is-just-added .pc-check-toggle::after {
    content: "";
    position: absolute;
    inset: -1.5px;
    border-radius: 50%;
    pointer-events: none;
    animation: pc-check-ring 0.7s ease-out forwards;
}

@keyframes pc-check-pop {
    0% { transform: scale(0.82); }
    60% { transform: scale(1.12); }
    100% { transform: scale(1); }
}

@keyframes pc-check-ring {
    from { box-shadow: 0 0 0 0 rgba(180, 158, 110, 0.6); }
    to { box-shadow: 0 0 0 14px rgba(180, 158, 110, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .pc-option.is-just-added .pc-check-toggle,
    .pc-option.is-just-added .pc-check-toggle::after {
        animation: none;
    }
}

.pc-options.no-media .pc-option-media {
    display: none;
}

.pc-option-row[data-pc-row-toggle] {
    cursor: pointer;
}

@media (hover: hover) {
    .pc-option-row[data-pc-row-toggle]:hover {
        background: rgba(30, 29, 27, 0.035);
    }
}

.pc-option-media {
    display: block;
    width: 4rem;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 0.75rem;
    background: rgba(30, 29, 27, 0.06);
}

.pc-option-media.is-empty {
    background: none;
}

.pc-option-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Lisavarusteen kuva on nappi: painallus avaa isomman kuvan (configurator.js openZoom). */
.pc-option-zoom {
    padding: 0;
    border: 0;
    cursor: zoom-in;
    transition: transform 0.2s ease;
}

.pc-option-zoom:focus-visible {
    outline: 2px solid #8a7448;
    outline-offset: 2px;
}

@media (hover: hover) {
    .pc-option-zoom:hover {
        transform: scale(1.04);
    }
}

.pc-zoom {
    position: fixed;
    inset: 0;
    margin: auto;
    height: fit-content;
    width: min(92vw, 56rem);
    max-width: none;
    max-height: 92vh;
    padding: 0;
    border: 0;
    border-radius: var(--close-radius);
    background: #f7f5f0;
    box-shadow: 0 24px 80px rgba(20, 18, 14, 0.35);
    overflow: hidden;
}

.pc-zoom::backdrop {
    background: rgba(20, 18, 14, 0.55);
    backdrop-filter: blur(6px);
}

.pc-zoom[open] {
    animation: pc-zoom-in 0.22s ease-out;
}

@keyframes pc-zoom-in {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: none; }
}

.pc-zoom-image {
    display: block;
    width: 100%;
    max-height: 92vh;
    object-fit: contain;
}

.pc-zoom-close {
    position: absolute;
    top: var(--close-inset);
    right: var(--close-inset);
    display: grid;
    place-items: center;
    width: var(--close-size);
    height: var(--close-size);
    padding: 0;
    border: 1px solid var(--icon-border);
    border-radius: 50%;
    background: rgba(247, 245, 240, 0.85);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.pc-zoom-close svg {
    width: 1.1rem;
    height: 1.1rem;
    fill: none;
    stroke: #1e1d1b;
    stroke-width: 2;
    stroke-linecap: round;
}

.pc-option-empty {
    margin: 0 0 1rem;
    color: rgba(30, 29, 27, 0.6);
}

.pc-option-text {
    min-width: 0;
}

.pc-option-flag {
    display: block;
    margin-bottom: 0.15rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #8a7448;
}

.pc-option-name {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
}

.pc-option-price {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.92rem;
    color: var(--pc-muted);
    font-variant-numeric: tabular-nums;
}

.pc-option.is-selected .pc-option-price {
    color: var(--brand-dark);
    font-weight: 600;
}

.pc-option-desc {
    margin: 0.4rem 0 0;
    font-size: 0.86rem;
    line-height: 1.5;
    color: var(--pc-muted);
    white-space: pre-line;
}

.pc-option-desc.is-clamped {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pc-option-more {
    margin-top: 0.2rem;
    font-size: 0.85rem;
}

.pc-option-note {
    margin: 0.45rem 0 0;
    font-size: 0.84rem;
    line-height: 1.45;
    color: var(--pc-muted);
}

.pc-option.is-blocked .pc-option-row {
    cursor: default;
}

.pc-option.is-blocked .pc-option-media,
.pc-option.is-blocked .pc-option-name,
.pc-option.is-blocked .pc-option-price,
.pc-option.is-blocked .pc-option-desc {
    opacity: 0.45;
}

.pc-option.has-issue .pc-option-name {
    color: var(--brand-danger);
}

.pc-option-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.6rem;
}

/* Valintapallo: tyhjana plus, valittuna musta ja valintamerkki. */
.pc-check-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1.5px solid rgba(30, 29, 27, 0.4);
    border-radius: 50%;
    background: transparent;
    color: var(--brand-dark);
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.pc-check-toggle::after {
    content: "";
    position: absolute;
    inset: -6px;
}

.pc-check-toggle svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pc-check-mark {
    opacity: 0;
}

.pc-check-toggle.is-active {
    border-color: var(--brand-dark);
    background: var(--brand-dark);
    color: var(--brand-light);
}

.pc-check-toggle.is-active .pc-check-plus {
    opacity: 0;
}

.pc-check-toggle.is-active .pc-check-mark {
    opacity: 1;
}

@media (hover: hover) {
    .pc-option-row:hover .pc-check-toggle:not(:disabled):not(.is-active) {
        border-color: var(--brand-dark);
    }
}

.pc-check-toggle:active:not(:disabled) {
    transform: scale(0.94);
}

.pc-show-more {
    display: block;
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.8rem 1rem;
    border: 1px solid var(--pc-line);
    border-radius: 50rem;
    background: transparent;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--brand-dark);
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.pc-show-more:hover {
    border-color: var(--pc-line-strong);
    background: rgba(30, 29, 27, 0.03);
}

.pc-check-toggle:disabled {
    border-color: rgba(30, 29, 27, 0.15);
    color: rgba(30, 29, 27, 0.3);
    cursor: not-allowed;
}

.pc-variants,
.pc-requires {
    margin-top: 0.8rem;
}

.pc-variant-list {
    display: grid;
    gap: 0.4rem;
}

.pc-variant-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.45rem 0.45rem 0.45rem 0.95rem;
    border: 1px solid var(--pc-line);
    border-radius: 50rem;
    font-size: 0.92rem;
}

.pc-variant-row.is-active {
    border-color: var(--brand-dark);
}

.pc-requires .pc-option-note {
    margin-top: 0;
}

.pc-quick-adds {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

/* Puuttuva vaatimus lisataan yhdella napautuksella. */
.pc-quick-add {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 34px;
    padding: 0.4rem 0.95rem;
    text-align: left;
    line-height: 1.3;
    border: 0;
    border-radius: 50rem;
    background: rgba(30, 29, 27, 0.07);
    font: inherit;
    font-size: 0.86rem;
    font-weight: 500;
    color: inherit;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.pc-quick-add::before {
    content: "+";
    font-weight: 600;
}

.pc-quick-add:hover:not(:disabled) {
    background: rgba(30, 29, 27, 0.12);
}

.pc-quick-add:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Maaravalitsin samalla pillerilla kuin korissa. */
.pc-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--brand-dark);
    border-radius: 50rem;
    overflow: hidden;
}

.pc-stepper button {
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 1.05rem;
    color: inherit;
    cursor: pointer;
}

.pc-stepper button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pc-stepper-value {
    min-width: 1.6rem;
    text-align: center;
    font-size: 0.92rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

/* ---------- Lomakkeet ---------- */

.pc-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 0.75rem;
}

.pc-fields--vehicle {
    margin-top: 1.25rem;
}

.pc-fields + .pc-group {
    margin-top: 1.5rem;
}

.pc-inline-field {
    max-width: 24rem;
}

.pc-card-grid--two + .pc-group {
    margin-top: 1.75rem;
}

.contact-field input[aria-invalid="true"],
.contact-field textarea[aria-invalid="true"] {
    border-color: rgba(179, 38, 30, 0.65);
}

.pc-field-error {
    font-size: 0.82rem;
    color: var(--brand-danger);
}

.pc-field-error[hidden] {
    display: none;
}

.pc-help {
    font-size: 0.8rem;
    color: var(--pc-muted);
}

.pc-check {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
    cursor: pointer;
}

.pc-check input {
    flex: 0 0 auto;
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.15rem;
    accent-color: var(--brand-dark);
}

.pc-check a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.pc-check + .pc-field-error {
    display: block;
    margin: 0.3rem 0 0 1.75rem;
}

.pc-button-wide {
    width: 100%;
    justify-content: center;
}

.cta-button.pc-button-wide {
    display: inline-flex;
}

.contact-submit:disabled,
.cta-button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.pc-subtitle {
    margin: 2rem 0 1rem;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.3;
}

.pc-subtitle:first-child {
    margin-top: 0;
}

.pc-fine-print {
    margin: 0.9rem 0 0;
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--pc-muted);
}

.pc-form-error {
    margin: 1.25rem 0 0;
    padding: 0.8rem 1rem;
    border-radius: 1rem;
    background: rgba(138, 37, 37, 0.08);
    color: var(--brand-danger);
    font-size: 0.9rem;
    line-height: 1.45;
}

.pc-form-error[hidden] {
    display: none;
}

/* ---------- Valmis: tallenna / tilaa ---------- */

/* Paatoiminto (tilaus) isona; tallennus toissijaisena sen alla. */
.pc-finish {
    display: grid;
    gap: 1.25rem;
    max-width: 34rem;
}

.pc-finish[hidden],
.pc-finish-order[hidden],
.pc-save[hidden],
.pc-save-panel[hidden] {
    display: none;
}

.pc-finish-order {
    display: grid;
    gap: 0.75rem;
}

.pc-finish-note {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--pc-muted);
}

/* Lisakentan suositus (ei esta tilausta): kultainen, ei varoituksen savya. */
.pc-option-note--recommend {
    color: #6f5b32; /* kultainen, kontrasti >= 4.5 vaalealla kortilla (oli #8a7344, 4.1) */
}

/* Crossbuss-sivun hero: yksi kapseli, vasemmalla taytetty Bygg din
   Crossbuss ja oikealla Kontakta oss ilman omaa kehysta. Puhelimella
   lyhyet tekstit (taydet eivat mahdu kaikilla kielilla). */
.product-hero-cta .hero-button-inner--build {
    align-items: center;
    gap: 0.25rem;
}

.hero-button-inner .hero-build-button {
    justify-content: center;
    background: var(--brand-dark);
    color: var(--brand-light);
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.hero-button-inner .hero-build-button:hover {
    opacity: 0.86;
}

/* Kontakta oss kapselissa: ei nuolta eika omaa kehysta, kapea sisatila. */
.hero-button-inner .hero-contact-plain {
    border-color: transparent;
    padding: 0 1rem 0 0.75rem;
    white-space: nowrap;
}

.hero-label-short {
    display: none;
}

@media (max-width: 599px) {
    .hero-button-inner--build .cta-button {
        flex: 0 0 auto;
        padding: 0 1rem;
    }

    .hero-button-inner--build .hero-contact-plain {
        padding: 0 0.9rem 0 0.65rem;
    }

    .hero-button-inner--build .hero-label-full {
        display: none;
    }

    .hero-button-inner--build .hero-label-short {
        display: inline;
    }
}


/* Tuotesivun pakettikortista tultaessa: rajaus ja Nayta kaikki. */
.pc-package-filter {
    margin: -0.4rem 0 1rem;
    font-size: 0.88rem;
    color: var(--pc-muted);
}

/* Nain tilaus etenee: kultainen hiusviiva ja pisteet (ei numeroita). */
.pc-next {
    margin-top: 1.25rem;
    padding: 1.1rem 1.2rem 1rem;
    border-radius: 1rem;
    background: rgba(30, 29, 27, 0.035);
}

.pc-next-title {
    margin: 0 0 0.7rem;
    font-size: 1rem;
    font-weight: 600;
}

.pc-next-steps {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pc-next-steps li {
    position: relative;
    padding: 0 0 0.75rem 1.4rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.pc-next-steps li::before {
    content: "";
    position: absolute;
    left: 0.15rem;
    top: 0.5em;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--brand-accent);
}

.pc-next-steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: calc(0.15rem + 0.2rem);
    top: calc(0.5em + 0.55rem);
    bottom: 0.15rem;
    width: 1px;
    background: rgba(180, 158, 110, 0.45);
}

.pc-next-note {
    margin: 0.1rem 0 0;
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--pc-muted);
}

.pc-dealer-row .pc-panel-label {
    display: block;
}

.pc-dealer-row .pc-chips {
    margin: 0.6rem 0 0.15rem;
}

/* "Jag ar sjalv bilhandlare och vill bli partner" on pitka: puhelimella
   pilleri rivittyy kuten varianttien nimet, eika vuoda kortin yli. */
.pc-dealer-row .pc-chip {
    max-width: 100%;
    min-width: 0;
    padding: 0.55rem 1rem;
    border-radius: 1.25rem;
    line-height: 1.3;
    text-align: left;
    white-space: normal;
}

.pc-dealer-consent {
    color: var(--brand-dark);
}

/* Tallenna ja jatka myohemmin: toissijainen toiminto heti paatoiminnon
   (Begar offert) alla keskella, kuten iOS:n toissijainen painike: ei
   reunaa eika nuolta, 48 px kosketusalue. Avaa tallennusikkunan. */
.pc-save {
    display: flex;
    justify-content: center;
    margin-top: -0.35rem;
}

.pc-order + .pc-save {
    max-width: 34rem;
    margin-top: 0.6rem;
}

.pc-save-toggle {
    min-height: 48px;
    padding: 0 1.25rem;
    border: 0;
    border-radius: 50rem;
    background: none;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--brand-dark);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.2s var(--pc-ease);
}

.pc-save-toggle:hover {
    background: rgba(30, 29, 27, 0.06);
}

.pc-save-toggle:active {
    background: rgba(30, 29, 27, 0.1);
}

.pc-save-toggle:focus-visible {
    outline: 2px solid var(--brand-accent);
    outline-offset: 2px;
}

/* Tallennusikkuna (muiden ikkunoiden pohja .pc-dialog). */
.pc-save-grabber {
    display: none;
}

.pc-save-form {
    display: grid;
    gap: 0.25rem;
}

.pc-save-form .pc-dialog-text {
    margin-bottom: 1rem;
}

.pc-save-form .pc-check {
    margin: 0.5rem 0 0.25rem;
    font-size: 0.85rem;
}

.pc-save-form .pc-dialog-actions,
.pc-save-done .pc-dialog-actions {
    margin-top: 1rem;
}

.pc-save-dialog .pc-done-title {
    font-weight: 400;
}

/* Otsikko saa ikkunan alkufokuksen (ei nappaimistoa puhelimella): ei kehysta. */
.pc-save-dialog .pc-dialog-title:focus,
.pc-order-dialog .pc-dialog-title:focus {
    outline: none;
}

.pc-save-dialog .pc-save-done {
    justify-items: stretch;
}

/* Tarjouspyynnon viimeistely ikkunassa (configurator.php data-pc-order-dialog):
   lomake ilman omaa korttikehysta, ikkuna vierii. */
.pc-dialog.pc-order-dialog {
    max-width: 38rem;
    max-height: calc(100% - 3rem);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.pc-order-dialog .pc-order {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    animation: none;
}

.pc-order-recap {
    margin: -0.25rem 0 1.25rem;
    font-size: 0.95rem;
    color: var(--pc-muted);
    font-variant-numeric: tabular-nums;
}

.pc-order-recap[hidden] {
    display: none;
}

.pc-order-actions {
    margin-top: 1.5rem;
}

/* Puhelin: iOS:n lomakepaneelin tapaan lahes koko naytto, kahva ja sisalto
   ylhaalla. Nappaimisto peittaa vain paneelin alaosaa, joten paneelia ei
   siirrella nappaimiston mukana (configurator.js lukitsee taustan). */
@media (max-width: 640px) {
    /* .pc-dialog.pc-save-dialog: .pc-dialog on tiedostossa myohemmin. */
    .pc-dialog.pc-save-dialog,
    .pc-dialog.pc-order-dialog {
        width: 100%;
        max-width: none;
        height: calc(100% - env(safe-area-inset-top, 0px) - 0.75rem);
        max-height: none;
        margin: auto 0 0;
        padding: 0 1.25rem calc(1.25rem + env(safe-area-inset-bottom));
        border-radius: 1.25rem 1.25rem 0 0;
        box-shadow: none;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .pc-dialog.pc-save-dialog[open],
    .pc-dialog.pc-order-dialog[open] {
        animation: pc-sheet-in 0.35s var(--pc-ease);
    }

    .pc-save-dialog.is-dragging,
    .pc-order-dialog.is-dragging {
        transition: none;
    }

    /* Kirjoitettaessa loppuun tilaa: alimmatkin kentat voi vierittaa
       nappaimiston ylapuolelle (configurator.js, is-typing). */
    .pc-order-dialog.is-typing .pc-order {
        padding-bottom: 45vh;
    }

    .pc-save-grabber {
        display: flex;
        justify-content: center;
        height: 1.4rem;
        padding-top: 0.5rem;
        touch-action: none;
        cursor: grab;
    }

    .pc-save-grabber::before {
        content: "";
        width: 2.25rem;
        height: 0.3rem;
        border-radius: 50rem;
        background: rgba(30, 29, 27, 0.2);
    }

    .pc-save-dialog .pc-dialog-title,
    .pc-order-dialog .pc-dialog-title {
        touch-action: none;
    }
}

.pc-save-done {
    display: grid;
    gap: 0.6rem;
    justify-items: start;
}

.pc-save-done[hidden] {
    display: none;
}

.pc-done-title {
    font-weight: 600;
}

.pc-done-title::before {
    content: "";
    display: inline-block;
    width: 0.55rem;
    height: 0.3rem;
    margin-right: 0.55rem;
    border-left: 2px solid var(--brand-success);
    border-bottom: 2px solid var(--brand-success);
    transform: translateY(-0.2em) rotate(-45deg);
}

.pc-order {
    margin-top: 2rem;
    padding: 1.75rem;
    border: 1px solid var(--pc-line);
    border-radius: var(--pc-radius);
    background: var(--pc-card);
    scroll-margin-top: calc(var(--header-height, 87px) + 1rem);
    animation: pc-rise 0.4s var(--pc-ease);
}

.pc-order[hidden],
.pc-code[hidden],
.pc-success[hidden] {
    display: none;
}

.pc-order > .contact-submit {
    margin-top: 1.5rem;
}

.pc-code {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--pc-line);
    animation: pc-rise 0.4s var(--pc-ease);
}

.pc-code p {
    font-size: 0.92rem;
    line-height: 1.55;
}

.pc-code-field {
    max-width: 14rem;
    margin-top: 1rem;
}

.pc-code-field input {
    font-size: 1.5rem;
    letter-spacing: 0.4em;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.pc-code-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
    margin-top: 1rem;
}

.pc-success {
    display: grid;
    justify-items: start;
    gap: 0.9rem;
    padding: 2rem;
    border: 1px solid var(--brand-dark);
    border-radius: var(--pc-radius);
    background: rgba(255, 255, 255, 0.7);
    outline: none;
    scroll-margin-top: calc(var(--header-height, 87px) + 1rem);
    animation: pc-rise 0.5s var(--pc-ease);
}

.pc-success h3 {
    font-family: var(--font-title);
    font-weight: 300;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    line-height: 1.15;
}

.pc-success p {
    max-width: 36rem;
    line-height: 1.6;
}

.pc-success-mark {
    position: relative;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--brand-dark);
}

.pc-success-mark::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 46%;
    width: 1.05rem;
    height: 0.55rem;
    border-left: 2px solid var(--brand-light);
    border-bottom: 2px solid var(--brand-light);
    transform: translate(-50%, -50%) rotate(-45deg);
}

@keyframes pc-rise {
    from { opacity: 0; transform: translateY(0.75rem); }
    to { opacity: 1; transform: none; }
}

/* ---------- Ilmoitus (alareunan toast) ---------- */

.pc-notice {
    position: fixed;
    left: 50%;
    bottom: 1.5rem;
    z-index: 1200;
    /* Leveys tekstin mukaan: left 50 % kutisti ilmoituksen puoleen nayttoa. */
    width: max-content;
    max-width: min(34rem, calc(100vw - 2rem));
    padding: 0.85rem 1.25rem;
    border-radius: 1.25rem;
    background: var(--brand-dark);
    background-image: var(--surface-dark-overlay-control);
    color: var(--brand-light);
    font-size: 0.92rem;
    line-height: 1.45;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    opacity: 0;
    transform: translate(-50%, 0.75rem);
    transition: opacity 0.3s ease, transform 0.3s var(--pc-ease);
    pointer-events: none;
}

.pc-notice.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.pc-notice.has-action.is-visible {
    pointer-events: auto;
}

.pc-notice-action {
    margin-left: 0.5rem;
    padding: 0.2rem 0.75rem;
    border: 1px solid rgba(247, 245, 239, 0.4);
    border-radius: 50rem;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.pc-notice-action:hover {
    background: rgba(247, 245, 239, 0.12);
}

body.pc-has-bar .pc-notice {
    bottom: calc(5.5rem + env(safe-area-inset-bottom));
}

/* ---------- Yhteenveto ---------- */

/* Otsikko ylhaalla, kuva ja rivit vierittyvat, summa ja tilaus aina alhaalla.
   Alareunaan jaa tilaa Kysymyksia-napille, ettei se peita palkkia. */
.pc-summary {
    position: sticky;
    top: calc(var(--header-height, 87px) + 1.25rem);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - var(--header-height, 87px) - 1.25rem - 6rem);
    overflow: hidden;
    border: 1px solid var(--pc-line);
    border-radius: var(--pc-radius);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
}

.pc-summary > .pc-summary-head {
    flex: 0 0 auto;
    padding: 1.3rem 1.4rem 0.4rem;
}

.pc-summary-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 0.5rem 1.4rem 0.25rem;
    scrollbar-width: thin;
}

.pc-summary-foot {
    flex: 0 0 auto;
    padding: 0.9rem 1.4rem 1.2rem;
    border-top: 1px solid var(--pc-line);
}

.pc-summary-foot[hidden] {
    display: none;
}

.pc-summary[hidden] {
    display: none;
}

/* Esikatselu: pelkistetty kuva ylhaalta ja sivulta, muutokset liukuvat. */
.pc-preview {
    margin: -0.2rem 0 1.1rem;
    padding: 1rem 1rem 0.6rem;
    border-radius: 1rem;
    background: rgba(30, 29, 27, 0.035);
}

.pc-preview[hidden] {
    display: none;
}

/* Yksi nakyma kerrallaan (ylhaalta / sivulta); pisteet tai kuvan napautus vaihtaa. */
.pc-preview-views {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    /* Ylakuva ja sivukuva samassa mittakaavassa: kuva aina alueen levyinen,
       korkeus korkeimman nakyman mukaan (--pv-aspect, vehicle-preview.js). */
    max-width: 19rem;
    margin: 0 auto;
    aspect-ratio: var(--pv-aspect, auto);
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.pc-preview .pc-preview-views svg {
    width: 100%;
    height: auto;
    animation: pc-preview-in 0.25s ease;
}

.pc-preview[data-view="top"] .pv-side,
.pc-preview[data-view="side"] .pv-top {
    display: none;
}

@keyframes pc-preview-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.pc-preview-foot {
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: 0.35rem;
}

.pc-preview-dots {
    display: flex;
    gap: 0.2rem;
}

.pc-preview-dot {
    width: 1.5rem;
    height: 1.25rem;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.pc-preview-dot::before {
    content: "";
    display: block;
    width: 0.4rem;
    height: 0.4rem;
    margin: auto;
    border-radius: 50rem;
    background: var(--brand-dark);
    opacity: 0.2;
    transition: width 0.25s var(--pc-ease), opacity 0.25s ease;
}

.pc-preview-dot.is-active::before {
    width: 1rem;
    opacity: 0.75;
}

.pv-scene svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

/* Kuvat (auto, istuimet) piirtavat currentColorilla: vari tulee tasta. */
.pv-scene .pv-body {
    color: var(--brand-dark);
    fill: currentColor;
}

.pv-scene .pv-cab-line {
    fill: none;
    stroke: rgba(243, 243, 243, 0.18);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
}

.pv-scene .pv-cab-seat {
    color: rgba(243, 243, 243, 0.3);
}

.pv-scene .pv-seat {
    color: rgba(243, 243, 243, 0.86);
    transition: opacity 0.3s ease, transform 0.35s var(--pc-ease);
    transform-box: fill-box;
    transform-origin: center;
}

.pv-scene .pv-wall {
    fill: none;
    stroke: var(--brand-accent);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    transition: opacity 0.3s ease;
}

.pv-scene .pv-wall-group {
    transition: transform 0.5s var(--pc-ease);
}

.pv-scene .pv-row {
    transition: transform 0.35s var(--pc-ease);
}

/* Valinnaiset osat: nakyviin pehmeasti. Katon rajan asiat ylakuvassa katkoviivalla. */
.pv-scene .pv-item,
.pv-scene .pv-roof {
    opacity: 0;
    transform: scale(0.6);
    transform-box: fill-box;
    transform-origin: center;
    transition: opacity 0.3s ease, transform 0.35s var(--pc-ease);
}

.pv-scene .pv-item {
    fill: var(--brand-accent);
}

/* Poyta erottuu jaakaapin paalla. */
.pv-scene .pv-table {
    fill-opacity: 0.6;
}

.pv-scene .pv-roof {
    fill: rgba(180, 158, 110, 0.14);
    stroke: var(--brand-accent);
    stroke-width: 1;
    stroke-dasharray: 3 2.5;
    vector-effect: non-scaling-stroke;
}

/* Makuusyvennys kasvaa seinasta taaksepain, ulosvedetty osa eteenpain. */
.pv-scene .pv-alcove {
    transform-origin: right center;
}

.pv-scene .pv-alcove-ext {
    transform-origin: left center;
}

.pv-scene.has-alcove .pv-alcove,
.pv-scene.has-alcove .pv-alcove-ext,
.pv-scene.has-cabinets .pv-cabinets,
.pv-scene.has-table .pv-table,
.pv-scene.has-row-console .pv-row-console,
.pv-scene.has-fridge .pv-fridge,
.pv-scene.has-cab-console .pv-cab-console {
    opacity: 1;
    transform: none;
}

.pv-scene .pv-wall.is-slanted,
.pv-scene.is-slanted .pv-wall.is-straight {
    opacity: 0;
}

.pv-scene.is-slanted .pv-wall.is-slanted {
    opacity: 1;
}

/* Istuimet: 3 vierekkain, 2 reunoilla (konsoli valissa), 1 vasemmalla. */
.pv-scene.seats-2 .pv-seat-2,
.pv-scene.seats-1 .pv-seat-2,
.pv-scene.seats-1 .pv-seat-3 {
    opacity: 0;
    transform: scale(0.6);
}

/* Sailytyslaatikko valiseinan ylareunassa matkustamon puolella; makuusyvennyksen kanssa
   se liukuu syvennyksen peralle. Tumma reuna erottaa sen syvennyksesta. */
.pv-scene .pv-box {
    fill: var(--brand-accent);
    stroke: rgba(30, 29, 27, 0.45);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
    transition: transform 0.45s var(--pc-ease);
}

.pv-scene .pv-box--roof {
    fill: rgba(180, 158, 110, 0.35);
    stroke: var(--brand-accent);
    stroke-dasharray: 3 2.5;
}

/* Jalkatuki pois vasemmanpuoleiselta istuimelta, kun jaakaappi on sen edessa.
   Sivukuvassa nakyy vain, jos istuimia on yksi (muiden jalkatuet jaavat). */
.pv-scene .pv-part-footrest {
    transition: opacity 0.3s ease;
}

.pv-scene.no-left-footrest .pv-top .pv-seat-1 .pv-part-footrest,
.pv-scene.no-left-footrest.seats-1 .pv-side .pv-seat .pv-part-footrest {
    opacity: 0;
}

/* Uusi automalli: kuva paikalleen ilman siirtymia. */
.pv-instant,
.pv-instant * {
    transition: none !important;
}

.pc-preview-note {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.72rem;
    color: var(--pc-muted);
}

/* Rivit kuten ostoskassissa: pieni otsake, valinta ja hinta samalla rivilla. */
.pc-lines {
    display: grid;
}

.pc-line {
    padding: 0.85rem 0;
    border-top: 1px solid var(--pc-line);
}

.pc-line:first-child {
    border-top: 0;
    padding-top: 0.25rem;
}

.pc-line-label {
    margin: 0 0 0.3rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: var(--pc-muted);
}

.pc-line-label .pc-sum-toggle {
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
}

.pc-line-main {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    font-size: 0.92rem;
    line-height: 1.4;
}

.pc-line-main + .pc-line-main,
.pc-line-detail + .pc-line-main {
    margin-top: 0.4rem;
}

.pc-line-value {
    min-width: 0;
}

.pc-line-amount {
    flex: 0 0 auto;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.pc-line-detail {
    margin: 0.15rem 0 0;
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--pc-muted);
}

.is-evaluating .pc-line-amount {
    opacity: 0.45;
}

.pc-summary-head .pc-summary-vehicle {
    margin-bottom: 0;
}

.pc-summary-title {
    margin: 0;
    font-family: var(--font-title);
    font-size: 1.45rem;
    font-weight: 300;
    line-height: 1.2;
}

.pc-summary-vehicle {
    margin: 0.2rem 0 0.9rem;
    font-size: 0.88rem;
    color: var(--pc-muted);
    line-height: 1.4;
}

/* Rivit: nimi vasemmalla pienella, valinta ja hinta oikealla. */
.pc-sum {
    margin: 0;
}

.pc-sum-row {
    display: grid;
    grid-template-columns: 5.75rem minmax(0, 1fr);
    gap: 0.75rem;
    padding: 0.7rem 0;
    border-top: 1px solid var(--pc-line);
    font-size: 0.88rem;
    line-height: 1.4;
}

.pc-sum-row dt {
    color: var(--pc-muted);
}

.pc-sum-row dd {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    margin: 0;
    min-width: 0;
}

.pc-sum-value {
    min-width: 0;
}

.pc-sum-value small {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.8rem;
    color: var(--pc-muted);
}

.pc-sum-amount {
    flex: 0 0 auto;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.pc-sum-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

.pc-sum-toggle::after {
    content: "";
    width: 0.38rem;
    height: 0.38rem;
    margin-top: -0.2rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.25s var(--pc-ease), margin 0.25s var(--pc-ease);
}

.pc-sum-toggle[aria-expanded="true"]::after {
    margin-top: 0.15rem;
    transform: rotate(-135deg);
}

.pc-sum-list ul {
    display: grid;
    gap: 0.4rem;
    margin: 0 0 0.75rem calc(5.75rem + 0.75rem);
    padding: 0;
    list-style: none;
    font-size: 0.82rem;
    color: var(--pc-muted);
}

.pc-sum-list li {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
}

.pc-sum-list li span:last-child {
    flex: 0 0 auto;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.pc-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 2px solid var(--brand-dark);
}

.pc-total span {
    font-size: 0.9rem;
}

.pc-total small {
    font-size: 0.8rem;
    color: var(--pc-muted);
}

.pc-total strong {
    font-size: 1.5rem;
    font-weight: 600;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    transition: opacity 0.2s ease;
}

.is-evaluating .pc-total strong,
.is-evaluating .pc-sum-amount {
    opacity: 0.45;
}

.pc-vat {
    margin: 0.3rem 0 0;
    text-align: right;
    font-size: 0.8rem;
    color: var(--pc-muted);
}

/* Korjattavat: tavallinen lista, pieni merkki rivin alussa. */
.pc-issues {
    margin-top: 1rem;
    font-size: 0.85rem;
    line-height: 1.45;
}

.pc-issues-title {
    margin: 0 0 0.35rem;
    font-weight: 600;
}

.pc-issues ul {
    display: grid;
    gap: 0.3rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pc-issues li {
    position: relative;
    padding-left: 1rem;
    color: var(--pc-muted);
}

.pc-issues li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: var(--brand-accent);
}

.pc-summary-actions {
    display: grid;
    justify-items: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.pc-summary-foot .pc-total {
    margin: 0;
    padding: 0;
    border: 0;
}

.pc-summary-foot .pc-summary-actions {
    gap: 0.35rem;
    margin-top: 0.85rem;
}

.pc-summary-body .pc-fine-print {
    margin: 0.75rem 0 0.5rem;
}

.pc-summary-save {
    padding: 0.25rem 0.5rem;
    border: 0;
    background: none;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-dark);
    cursor: pointer;
}

.pc-summary-save:hover {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

/* Alusta aloitus: hiljaisempi kuin tallennus, ettei sita paina vahingossa. */
.pc-summary-restart {
    padding: 0.15rem 0.5rem;
    border: 0;
    background: none;
    font: inherit;
    font-size: 0.85rem;
    color: var(--pc-muted);
    text-decoration: underline;
    text-underline-offset: 0.2em;
    cursor: pointer;
}

.pc-summary-restart:hover {
    color: var(--brand-dark);
}

.pc-issue-link {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    color: inherit;
    text-align: left;
    text-decoration: underline;
    text-decoration-color: rgba(30, 29, 27, 0.25);
    text-underline-offset: 0.2em;
    cursor: pointer;
}

.pc-issue-link:hover {
    color: var(--brand-dark);
    text-decoration-color: currentColor;
}

/* Korjattavaan kohtaan siirryttaessa kortti korostuu hetken. */
.pc-option.is-flash .pc-option-row,
.pc-section.is-flash {
    animation: pc-flash 1.6s ease;
}

@keyframes pc-flash {
    0%, 30% { background-color: rgba(180, 158, 110, 0.18); }
    100% { background-color: transparent; }
}

/* ---------- Auton kuva naytön ylareunassa (puhelin ja tabletti) ----------
   Valiseinasta lisavarusteisiin kuva kulkee mukana: levossa matala kortti,
   ylareunaan tarttuessaan koko levyinen lasipalkki. Tarttuu ylapalkin alle
   ja nousee ylareunaan palkin piiloutuessa samalla liikkeella (initDock).
   Napautus vaihtaa nakymaa, nappaimiston ollessa auki kuva vaistyy. */
.pc-dock {
    display: none;
}

.pc-dock-scope > .pc-section:first-of-type {
    border-top: 1px solid var(--pc-line);
    padding-top: 2.5rem;
}

@media (max-width: 1100px) {
    .pc-dock {
        position: sticky;
        top: max(env(safe-area-inset-top, 0px), var(--pc-dock-top, 0px));
        z-index: 800;
        display: block;
        margin: 0 calc(50% - 50vw);
        padding: 0.35rem 1rem 0.2rem;
        transition:
            top 0.42s cubic-bezier(0.22, 1, 0.36, 1),
            background-color 0.25s ease,
            box-shadow 0.25s ease,
            opacity 0.2s ease;
    }

    .pc-dock:has(> .pc-preview[hidden]) {
        display: none;
    }

    .pc-dock .pc-preview--dock {
        max-width: 34rem;
        margin: 0 auto;
        padding: 0.55rem 1rem 0.15rem;
        transition: background-color 0.25s ease;
    }

    .pc-preview--dock .pc-preview-views {
        max-width: 12rem;
    }

    .pc-preview--dock .pc-preview-foot {
        margin-top: 0.1rem;
    }

    .pc-preview--dock .pc-preview-note {
        display: none;
    }

    .pc-dock.is-stuck {
        background: rgba(247, 245, 239, 0.84);
        -webkit-backdrop-filter: saturate(1.6) blur(18px);
        backdrop-filter: saturate(1.6) blur(18px);
        box-shadow: inset 0 -1px 0 rgba(180, 158, 110, 0.35);
    }

    .pc-dock.is-stuck .pc-preview--dock {
        background: transparent;
    }

    /* Ylapalkin ymparys (ja tilarivi) samaa lasia: ennen palkin ymparilla
       nakyi vierittyva sivu, vaikka kuvan tausta oli sumennettu. Palkki
       (z-index 1000) jaa taman paalle. */
    .pc-dock.is-stuck::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 100%;
        height: calc(var(--pc-dock-top, 0px) + 80px);
        background: inherit;
        -webkit-backdrop-filter: inherit;
        backdrop-filter: inherit;
        pointer-events: none;
    }

    /* Kuvan ollessa kiinni ylapalkki pysyy piilossa (ei tule esiin ylos
       vieritettaessakaan). Avattu valikko jaa nakyviin. */
    html.pc-dock-stuck .header:not(.is-header-panel-open) {
        transform: translateY(calc(-100% - 1rem));
    }

    /* Nappaimisto auki: kuva ei vie nakyvaa tilaa kirjoittaessa. */
    html.pc-typing .pc-dock.is-stuck {
        opacity: 0;
        pointer-events: none;
    }

    /* Ylareunan kuva nayttaa jo valiseinan: kortin oma kuva olisi tupla. */
    .pc-dock-scope .pc-partition-scene {
        display: none;
    }

    .pc-dock-scope .pc-section {
        scroll-margin-top: calc(var(--header-height, 87px) + var(--pc-dock-h, 0px) + 1rem);
    }

    /* Lisavarusteiden valilehdet kiinnittyvat ylareunan kuvan alle (ennen
       ne liukuivat kuvan taakse). Kuvan ollessa kiinni ylapalkki on piilossa. */
    html .pc-dock-scope .pc-tabs,
    html:has(.header:not(.is-hidden)) .pc-dock-scope .pc-tabs {
        top: calc(var(--pc-dock-h, 0px) + 0.5rem);
    }

    .pc-dock-scope .pc-tabs-anchor {
        scroll-margin-top: calc(var(--pc-dock-h, 0px) + 0.5rem);
    }
}

@media (max-width: 1100px) and (prefers-reduced-motion: reduce) {
    .pc-dock,
    .pc-dock .pc-preview--dock {
        transition: none;
    }
}

/* ---------- Mobiili: alapalkki ja yhteenvetoarkki ---------- */

.pc-bar {
    display: none;
}

.pc-sheet {
    width: 100%;
    max-width: 34rem;
    max-height: 86vh;
    margin: auto auto 0;
    padding: 0 1.25rem calc(1.5rem + env(safe-area-inset-bottom));
    border: 0;
    border-radius: 1.5rem 1.5rem 0 0;
    background: var(--brand-light);
    color: var(--brand-dark);
    overflow-y: auto;
}

/* Ponnahdusikkuna: valiseina ja valittu varuste eivat sovi. Keskella,
   selkea otsikko, syy ja kaksi valintaa allekkain. */
.pc-dialog {
    width: calc(100% - 2rem);
    max-width: 26rem;
    margin: auto;
    padding: 1.6rem 1.5rem 1.25rem;
    border: 0;
    border-radius: 1.5rem;
    background: var(--brand-light);
    color: var(--brand-dark);
    box-shadow: 0 24px 60px rgba(20, 20, 20, 0.25);
}

.pc-dialog::backdrop {
    background: rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(2px);
}

.pc-dialog[open] {
    animation: pc-dialog-in 0.25s var(--pc-ease);
}

@keyframes pc-dialog-in {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: none; }
}

.pc-dialog-title {
    margin: 0 0 0.5rem;
    font-family: var(--font-title);
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1.25;
}

.pc-dialog-text {
    margin: 0 0 1.4rem;
    line-height: 1.5;
    color: var(--pc-muted);
}

.pc-dialog-actions {
    display: grid;
    gap: 0.35rem;
}

.pc-dialog-actions .contact-submit {
    width: 100%;
}

.pc-dialog-secondary {
    min-height: 48px;
    border: 0;
    border-radius: 1.5rem;
    background: none;
    font: inherit;
    font-weight: 500;
    color: inherit;
    cursor: pointer;
}

.pc-dialog-secondary:hover {
    background: rgba(30, 29, 27, 0.06);
}

.pc-sheet::backdrop {
    background: rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(2px);
}

.pc-sheet[open] {
    animation: pc-sheet-in 0.35s var(--pc-ease);
}

@keyframes pc-sheet-in {
    from { transform: translateY(100%); }
    to { transform: none; }
}

.pc-sheet-head {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 0 0.75rem;
    background: var(--brand-light);
}

.pc-sheet-head h2 {
    font-family: var(--font-title);
    font-weight: 300;
    font-size: 1.5rem;
}

.pc-sheet {
    padding-bottom: 0;
}

.pc-sheet-head {
    align-items: flex-start;
}

.pc-sheet .pc-summary-title {
    font-size: 1.5rem;
}

.pc-sheet .pc-summary-foot {
    position: sticky;
    bottom: 0;
    margin: 0.75rem -1.25rem 0;
    padding: 0.9rem 1.25rem calc(1rem + env(safe-area-inset-bottom));
    background: var(--brand-light);
}

.pc-sheet .pc-preview {
    margin-top: 0.25rem;
}

.pc-icon-button {
    display: inline-grid;
    place-items: center;
    padding: 0;
    width: 40px;
    height: 40px;
    border: 1px solid var(--icon-border);
    border-radius: 50%;
    background: transparent;
    font-size: 1.3rem;
    line-height: 1;
    color: inherit;
    cursor: pointer;
}

/* Nappaimistofokus nakyy kaikissa omissa painikkeissa. */
.pc-layout button:focus-visible,
.pc-hero button:focus-visible,
.pc-select select:focus-visible,
.pc-bar button:focus-visible,
.pc-sheet button:focus-visible,
.pc-dialog button:focus-visible {
    outline: 2px solid var(--brand-accent);
    outline-offset: 2px;
}

@media (max-width: 1100px) {
    .pc-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        margin-bottom: 3rem;
    }

    /* Yhteenveto kulkee alapalkissa; palstaa ei tarvita. */
    .pc-summary {
        display: none;
    }

    .pc-bar:not([hidden]) {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 900;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
        border-top: 1px solid var(--pc-line);
        background: rgba(247, 245, 239, 0.92);
        backdrop-filter: blur(18px);
    }

    .pc-bar-total {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        min-width: 0;
        padding: 0.2rem 0;
        border: 0;
        background: none;
        font: inherit;
        color: inherit;
        text-align: left;
        cursor: pointer;
    }

    .pc-bar-label {
        font-size: 0.78rem;
        color: var(--pc-muted);
    }

    .pc-bar-label::after {
        content: "";
        display: inline-block;
        width: 0.4rem;
        height: 0.4rem;
        margin-left: 0.45rem;
        border-left: 1.5px solid currentColor;
        border-top: 1.5px solid currentColor;
        transform: translateY(0.05rem) rotate(45deg);
    }

    .pc-bar-total strong {
        font-size: 1.2rem;
        font-weight: 600;
        font-variant-numeric: tabular-nums;
    }

    .pc-bar .contact-submit {
        flex: 0 0 auto;
        min-height: 48px;
        border-radius: 50rem;
    }

    body.pc-has-bar .footer {
        padding-bottom: calc(5rem + env(safe-area-inset-bottom));
    }
}

@media (max-width: 767px) {
    .pc-hero {
        padding-top: 6rem;
        gap: 0.6rem 2rem;
    }

    .pc-lead {
        display: block;
    }

    /* Valitsin vasemmalla, Hae konfiguraatio kuvakkeena oikeassa reunassa. */
    .pc-market {
        width: 100%;
        margin-bottom: 0;
    }

    .pc-load {
        width: 44px;
        margin-left: auto;
        padding: 0;
    }

    .pc-load-label {
        display: none;
    }

    .pc-load svg {
        width: 18px;
        height: 18px;
    }

    .pc-section {
        padding: 2rem 0;
    }

    .pc-section-head {
        margin-bottom: 1.25rem;
    }

    .pc-card-grid--models,
    .pc-card-grid--packages,
    .pc-card-grid--two,
    .pc-fields {
        grid-template-columns: minmax(0, 1fr);
    }

    .pc-card-grid--images {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pc-card {
        min-height: 0;
        padding: 0.85rem 2.75rem 0.85rem 1rem;
    }

    .pc-card--choice {
        --pc-choice-pad: 0.5rem;
        padding: var(--pc-choice-pad) var(--pc-choice-pad) 0.75rem;
    }

    .pc-card .pc-radio {
        top: 50%;
        right: 0.9rem;
        margin-top: -0.65rem;
    }

    /* Paketti puhelimella: pieni kuva vasemmalla, ei koko ruudun kuvaa. */
    .pc-package-select {
        display: grid;
        grid-template-columns: 6.5rem minmax(0, 1fr);
        align-items: center;
        padding: 0.5rem 2.75rem 0.5rem 0.5rem;
    }

    /* Paketti ilman kuvaa: pelkka teksti, ei tyhjaa kuva-aluetta. */
    .pc-package.no-media .pc-package-select {
        grid-template-columns: minmax(0, 1fr);
    }

    .pc-package.no-media .pc-package-text {
        padding-left: 0.6rem;
    }

    .pc-package-media {
        align-self: center;
        margin: 0;
        aspect-ratio: 1 / 1;
        border-radius: calc(var(--pc-radius) - 0.5rem);
    }

    .pc-package-text {
        padding: 0.85rem 0 0.85rem 0.9rem;
    }

    .pc-package-select > .pc-radio {
        top: 50%;
        bottom: auto;
        right: 0.9rem;
        margin-top: -0.575rem;
    }

    .pc-package-more {
        margin: 0.75rem 1rem 0.85rem;
    }

    .pc-included {
        margin: 0 1rem 1rem;
    }

    .pc-partition-card {
        gap: 1rem;
    }

    .pc-partition-scene {
        width: 7.5rem;
    }

    .pc-partition-stats {
        gap: 0.4rem 1.25rem;
    }

    .pc-stat strong {
        font-size: 1.05rem;
    }

    .pc-stat--main strong {
        font-size: 1.4rem;
    }

    .pc-option-row {
        grid-template-columns: 3.25rem minmax(0, 1fr) auto;
        gap: 0.85rem;
        margin: 0 -0.5rem;
        padding: 0.85rem 0.5rem;
    }

    .pc-option-media {
        width: 3.25rem;
    }

    .pc-order,
    .pc-success {
        padding: 1.25rem;
    }
}

@media (max-width: 420px) {
    .pc-bar .contact-submit {
        padding: 0 1.1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pv-scene .pv-wall-group,
    .pv-scene .pv-row,
    .pv-scene .pv-item,
    .pv-scene .pv-roof,
    .pv-scene .pv-seat,
    .pv-scene .pv-wall,
    .pc-option.is-flash .pc-option-row,
    .pc-section.is-flash,
    .pc-order,
    .pc-code,
    .pc-success,
    .pc-sheet[open],
    .pc-dialog[open],
    .pc-notice {
        animation: none;
        transition: none;
    }
}

/* Phones: trim running body copy slightly (headings/leads untouched).
   Placed last so it wins over the base body-text rules regardless of order. */
@media (max-width: 600px) {
    .why-text,
    .why-more,
    .why-more p,
    .equipment-copy-text,
    .equipment-description,
    .card-text {
        font-size: 0.9rem;
    }
}

/* ── Phone-only layout tweaks ─────────────────────────────────────── */

/* Carousel arrow under the product packages — hidden on desktop. */
.package-carousel-controls {
    display: none;
}

@media (max-width: 600px) {
    /* Product packages become a horizontal snap carousel: one card fully
       visible, the next peeking, advanced via the arrow below or by swiping.
       Desktop keeps the original side-by-side grid. */
    .package-grid--product {
        display: flex;
        grid-template-columns: none;
        flex-wrap: nowrap;
        gap: 1rem;
        overflow-x: auto;
        /* Kun overflow-x on jotain muuta kuin visible, CSS muuttaa myös
           overflow-y:n automaattisesti auto-arvoon. Karusellista tuli siten
           vahingossa myös pystyvierityssäiliö, joka nielaisi sivun vierityksen
           aina kun sormi osui korttien päälle - sivu ei liikkunut alaspäin. */
        overflow-y: hidden;
        /* Ingen touch-action här. pan-x låter inte det lodräta svepet gå vidare
           till sidan - det förbjuder det: touch-action begränsar allt webbläsaren
           får göra med en gest som startar på elementet, även rullning av
           föräldrarna. Standardvärdet auto låter webbläsaren avgöra efter
           riktning: mest lodrätt rullar sidan, mest vågrätt drar karusellen.
           Att overflow-y är hidden räcker för att karusellen inte ska kunna
           svälja den lodräta rullningen. */
        /* Karusellen bryter ut ur .container och löper kant till kant, så att
           korten kan svepas hela vägen ut i skärmkanten i stället för att ta
           stopp inne i sidmarginalen. Paddingen håller första kortet kvar på
           textens vänsterlinje, och scroll-padding gör att snappningen landar
           på samma linje - det måste vara en längd, procent i scroll-padding
           räknas mot scrollporten och blir noll här. */
        margin-inline: calc(-1 * var(--container-gutter, 24px));
        padding-inline: var(--container-gutter, 24px);
        scroll-padding-inline: var(--container-gutter, 24px);
        /* mandatory: svepet landar alltid på ett helt kort, aldrig mitt emellan.
           Pilarna kör scrollLeft med en egen tween (app.js) och snappningen
           griper in först när rullningen stannat, alltså på samma position. */
        scroll-snap-type: x mandatory;
        /* Vaakavieritys ei ketjuudu sivulle/selaimeen: estää että karusellin
           reunaan osunut sipaisu laukaisee selaimen "takaisin"-eleen. */
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Stretch both cards to the same (tallest) height. */
        align-items: stretch;
        /* Both edges sit at the content margin: the first card's left edge and the
           last card's right edge line up symmetrically, so the right card never
           runs past the screen edge. */
    }

    .package-grid--product::-webkit-scrollbar {
        display: none;
    }

    .package-grid--product .package-card {
        flex: 0 0 80%;
        /* height:auto (not the base 100%) so flex stretch equalises the heights. */
        height: auto;
        scroll-snap-align: start;
    }

    /* Puhelimella kortti on vain ~262px leveä, joten työpöydän 2rem sisennys söi
       kuvasta kohtuuttomasti (kuva jäi 181px leveäksi). Pienempi sisennys antaa
       kuvalle tilaa; teksti käyttää samaa sisennystä, joten reunat linjautuvat. */
    .package-image--product {
        padding: 0.75rem 0.75rem 0;
    }

    /* padding: 0 lämnade rubriken 9px från kortets kant - texten låg praktiskt
       taget i kanten och såg oavsiktlig ut. Samma indrag som bilden ovan, så
       rubrik, taggar och bild ligger på samma lodräta linje. */
    .package-content {
        padding: 0 0.75rem;
    }

    /* Stack the price + CTA on phones so the contact/config button sits below. */
    .product-card-actions .hero-button-inner {
        flex-direction: column;
        align-items: stretch;
    }

    /* Controls reuse .equipment-controls styling; just reveal them on phones. */
    .package-carousel-controls {
        display: flex;
    }

    /* Less side padding on the packages section on phones (the carousel goes
       edge-to-edge; the heading/intro keep the standard container inset). */
    .package-section {
        padding-left: 0;
        padding-right: 0;
    }

    /* Requested alongside: roomier gap above the equipment slider controls. */
    .equipment-controls {
        margin-top: 3rem;
    }

    /* Mobile menu fills the whole screen height. */
    .header-panel-inner {
        min-height: 100vh;
        min-height: 100dvh;
        border-radius: 0;
    }
}

/* Very small screens: shrink the feature tags further so the package cards don't
   grow too tall once the tag text starts wrapping onto extra lines. */
@media (max-width: 500px) {
    .package-tag {
        font-size: 0.72rem;
        padding: 0.25rem 0.5rem;
    }

    .package-tags {
        gap: 0.4rem;
        margin-top: 1rem;
    }
}

/* ── Scroll reveal ────────────────────────────────────────────────────────
   Content fades + rises into view as it enters the viewport. Only active under
   the .reveal-enabled flag (set by the head script when IntersectionObserver is
   supported and motion isn't reduced), so content is always visible otherwise.
   Keep this selector list in sync with initScrollReveal() in app.js. */
.reveal-enabled :is(
    .hero-title, .hero-text, .hero-button, .home-page-visual, .about-page-visual,
    .product-title, .tag-title, .tag-title-light, .equipment-title, .why-title,
    .package-title, .dark-headline, .equipment-description, .equipment-slider,
    .service-card, .package-grid, .why-item, .quote-inner,
    .gallery-section-top, .gallery-preview-grid, .cta-dark, .card-button,
    .contact-highlight-card, .contact-form
) {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.reveal-enabled .is-revealed {
    opacity: 1;
    transform: none;
}

/* The package carousel is a horizontal scroll container — a translate transform
   (and its will-change layer) on it interferes with scrolling/measurement, so
   reveal it with opacity only, never a transform. */
.reveal-enabled .package-grid--product {
    transform: none;
    will-change: auto;
}

/* ── Lead form success state ───────────────────────────────────────────────
   On a successful submit the form is replaced by a styled confirmation panel. */
.lead-form-success {
    display: none;
}

.contact-form.is-sent > :not(.lead-form-success) {
    display: none;
}

.contact-form.is-sent .lead-form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.85rem;
    padding: clamp(2rem, 5vw, 3.5rem) 1.5rem;
    animation: leadSuccessIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.lead-form-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    border-radius: 50rem;
    background: var(--brand-accent);
    color: var(--brand-dark);
    margin-bottom: 0.25rem;
}

.lead-form-success-title {
    font-family: var(--font-title);
    font-size: var(--fs-h3);
    color: var(--brand-dark);
    margin: 0;
}

.lead-form-success-text {
    font-family: var(--font-text);
    font-size: var(--fs-lead);
    line-height: 1.6;
    color: rgba(20, 20, 20, 0.75);
    max-width: 42ch;
    margin: 0;
}

@keyframes leadSuccessIn {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
}

/* ══════════════════════════════════════════════════════════════════
   CAREERS — Jobba hos oss
   Neljä osiota: tiivis otsikko, avoimet paikat, tumma "miksi Carcon"
   ja hakemus. Kuvaa ei ole - laskeutumissivun hero-ruudukko työnsi
   listan noin 1 300 pikselin päähän sivun alusta, ja lista on ainoa
   asia jonka takia tälle sivulle tullaan.
   Tumma kaista ja hakemuslomake ovat sivuston omia komponentteja
   (.dark-section, .contact-hero), joten tässä on vain se mitä niistä
   ei saa.
   ══════════════════════════════════════════════════════════════════ */

/* ── Tiivis otsikko-osio ─────────────────────────────────────── */

/* Ei .about-page-hero-ruudukkoa: yksi palsta riittää kun kuvaa ei ole,
   eikä 12 sarakkeen gridi jätä silloin muuta kuin tyhjää oikealle. */
.careers-compact-hero {
    padding: 9.5rem 0 clamp(2.5rem, 5vw, 4rem);
}

.careers-eyebrow {
    margin-bottom: 1.1rem;
}

/* Otsikko ja ingressi rinnakkain samaan alalinjaan. Yhtenä palstana
   oikea puoli jäi leveällä ruudulla tyhjäksi ja osio venyi pystyyn. */
.careers-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 24rem);
    gap: 1.5rem clamp(2rem, 5vw, 5rem);
    align-items: end;
}

.careers-hero-aside {
    display: grid;
    gap: 1.4rem;
    justify-items: start;
    padding-bottom: 0.4rem;
}

/* Kaksi luokkaa, jotta tämä ohittaa .hero-titlen vanhat px-koot
   media queryissä. Pienempi kuin laskeutumissivujen otsikko: tämä on
   sivu jolla luetaan lista, ei julistus. */
.hero-title.careers-compact-title {
    max-width: 16ch;
    margin-bottom: 1.4rem;
    font-size: clamp(2.6rem, 5.4vw, 4.6rem);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.careers-compact-title .h1-first,
.careers-compact-title .h1-second em {
    font-weight: 300;
    font-style: normal;
    text-transform: none;
}

.careers-compact-title .h1-second em {
    font-style: italic;
}

.hero-text.careers-compact-lead {
    max-width: 46ch;
    margin-bottom: 1.6rem;
}

/* Gridin sisällä välit tulevat gapista; omat marginaalit kaksinkertaistaisivat ne. */
.careers-hero-grid .careers-compact-title,
.careers-hero-aside .careers-compact-lead {
    margin-bottom: 0;
}

/* Määrä otsikon alla on samalla ankkurilinkki listaan. Nuoli kääntyy
   alas, koska kohde on samalla sivulla eikä toisella. */
.careers-jump {
    font-size: 1rem;
}

.careers-jump-arrow img {
    transform: rotate(90deg);
}

/* ── Avoimet paikat ──────────────────────────────────────────── */

/* .package-section tuo pystyrytmin ja beigen taustahohteen, mutta myos
   omat sivupehmusteensa - ne siirtaisivat listan sisaan otsikko-osioon
   nahden, ja kaksi vierekkaista osiota alkaisi eri kohdasta. */
.careers-openings {
    padding-top: clamp(2.5rem, 4vw, 4.5rem);
    padding-bottom: clamp(3rem, 6vw, 5rem);
    padding-left: 0;
    padding-right: 0;
}

.careers-openings-title {
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.careers-group + .careers-group {
    margin-top: clamp(2rem, 4vw, 3rem);
}

/* Osastonimi on versaali ja harvennettu kuten muutkin sivuston pienet
   yliotsikot - se on lipuke listan päällä, ei oma otsikkotaso. */
.careers-group-title {
    margin-bottom: 0.4rem;
    font-family: var(--font-text);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: rgba(30, 29, 27, 0.58);
}

.careers-job-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Rivi rivin päälle ohuella viivalla eroteltuna. Koko rivi on linkki,
   jotta puhelimella on mihin osua. */
.careers-job-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content 40px;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(30, 29, 27, 0.16);
    color: inherit;
    text-decoration: none;
}

.careers-job-item:last-child .careers-job-card {
    border-bottom: 1px solid rgba(30, 29, 27, 0.16);
}

.careers-job-title {
    min-width: 0;
    font-family: var(--font-title);
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: rgba(30, 29, 27, 0.88);
    transition: color 0.25s ease;
}

.careers-job-meta {
    font-family: var(--font-text);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: rgba(30, 29, 27, 0.58);
    text-align: right;
}

.careers-job-arrow {
    transition: transform 0.25s ease;
}

.careers-job-card:hover .careers-job-title {
    color: var(--brand-dark);
}

.careers-job-card:hover .careers-job-arrow {
    transform: translateX(0.35rem);
}

.careers-job-card:focus-visible {
    outline: 2px solid var(--brand-accent);
    outline-offset: 0.5rem;
}

/* Tyhjä tila on tämän sivun tavallisin tila, joten se on muotoiltu
   sisällöksi eikä varoitukseksi. */
.careers-empty {
    padding: clamp(1.8rem, 4vw, 2.8rem);
    border: 1px solid rgba(20, 20, 20, 0.1);
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.74);
}

.careers-empty-title {
    margin-bottom: 0.75rem;
    font-family: var(--font-title);
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--brand-dark);
}

.careers-empty-text {
    max-width: 58ch;
    font-family: var(--font-text);
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(30, 29, 27, 0.42);
}

/* ── Tumma kaista ────────────────────────────────────────────── */

/* Lohko on grid, joten otsikoiden omat alamarginaalit tulisivat gapin
   päälle ja kaista repeäisi auki. */
.careers-values {
    padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.careers-values .tag-title,
.careers-values .dark-headline {
    margin-bottom: 0;
}

/* Kolme lyhyttä korttia rinnakkain: about-sivun kaksi saraketta jättäisi
   kolmannen yksin omalle rivilleen ja venyttäisi kaistan turhan pitkäksi. */
.careers-values-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ── Yksi ilmoitus ───────────────────────────────────────────── */

.job-back-link {
    color: inherit;
    text-decoration: none;
}

.job-back-link::before {
    content: "← ";
}

.job-back-link:hover {
    text-decoration: underline;
}

.hero-title.job-detail-title {
    max-width: 20ch;
}

/* Avaintiedot yhtenä rivinä otsikon alla. Nämä ovat ne neljä asiaa jotka
   hakija tarkistaa ennen kuin lukee kuvausta, joten ne eivät saa olla
   leipätekstin seassa. */
.job-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 3rem;
    margin: 0;
    padding: 1.5rem 0 0;
    border-top: 1px solid rgba(30, 29, 27, 0.16);
}

.job-fact-label {
    font-family: var(--font-text);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: rgba(30, 29, 27, 0.55);
}

.job-fact-value {
    margin: 0.3rem 0 0;
    font-family: var(--font-text);
    font-size: 1.05rem;
    line-height: 1.4;
    color: var(--brand-dark);
}

.job-detail-body {
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.job-detail-text {
    max-width: 68ch;
    font-family: var(--font-text);
    font-size: 1.06rem;
    line-height: 1.85;
    color: rgba(30, 29, 27, 0.82);
}

.job-detail-text p {
    margin: 0 0 1.3rem;
}

.job-body-list {
    margin: 0 0 1.6rem;
    padding-left: 1.2rem;
}

.job-body-list li {
    margin-bottom: 0.55rem;
}

.job-apply-external {
    padding-bottom: clamp(3rem, 6vw, 5rem);
}

/* ── Hakemuslomake ───────────────────────────────────────────── */

.careers-apply-copy {
    display: grid;
    gap: 0.9rem;
}

.careers-apply-title {
    font-family: var(--font-title);
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--brand-light);
    text-wrap: balance;
}

.careers-apply-card .contact-highlight-text {
    color: var(--brand-light);
    opacity: 0.78;
}

/* Sama lista kuin jälleenmyyjäsivun nostokortissa. Se myös täyttää
   kortin, joka pelkällä otsikolla ja ingressillä jäi puolityhjäksi. */
.careers-apply-points {
    font-size: 0.98rem;
}

/* Tietosuojahuomautus painuu kortin alalaitaan, jotta se lukee siellä
   missä se lomakkeissa aina on - viimeisenä, ei otsikon vieressä. */
.careers-apply-card .careers-apply-privacy {
    margin-top: auto;
    font-size: 0.9rem;
    line-height: 1.65;
    opacity: 0.62;
}

/* Hunajapurkki: pois näkyvistä ja pois ruudunlukijalta, mutta lomakkeessa
   mukana. display:none jättäisi kentän osan automaatioista ulottumattomiin
   eikä siis pyydystäisi mitään. */
.careers-apply-trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.careers-apply-form {
    position: relative;
}

.careers-apply-file input[type="file"] {
    padding: 0.9rem 1.1rem;
    border: 1px dashed rgba(20, 20, 20, 0.28);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.76);
    font: inherit;
    font-size: 0.95rem;
    color: rgba(20, 20, 20, 0.78);
}

/* Tilarivi on sivuston oma .contact-file-note. Kahdessa sarakkeessa se ei
   kuitenkaan saa kadota tyhjänä: .contact-file-note:empty piilottaisi sen,
   jolloin lähetysnappi valuisi vasempaan sarakkeeseen ja venyisi levääksi.
   Kapealla lomake on yksisarakkeinen - siellä tyhjä rivi jättäisi vain
   aukon, joten siellä alkuperäinen :empty-sääntö saa piilottaa sen. */
.careers-apply-status {
    margin: 0;
}

@media (min-width: 901px) {
    .careers-apply-status:empty {
        display: block;
    }
}

.careers-apply-status.is-success {
    color: var(--brand-success);
}

.careers-apply-status.is-error {
    color: var(--brand-danger);
}

@media (max-width: 1100px) {
    .careers-values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .careers-compact-hero {
        padding-top: 8rem;
    }

    .careers-hero-grid {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .careers-hero-aside {
        padding-bottom: 0;
    }

    .careers-job-card {
        grid-template-columns: minmax(0, 1fr) 40px;
        gap: 0.5rem 1.25rem;
        padding: 1.35rem 0;
    }

    .careers-job-meta {
        grid-column: 1;
        text-align: left;
    }

    /* Nuoli pysyy rivin oikeassa reunassa vaikka teksti kääntyy kahdelle
       riville - muuten se hyppäisi otsikon viereen ja rivi näyttäisi
       katkenneelta. */
    .careers-job-arrow {
        grid-row: 1 / span 2;
        grid-column: 2;
        align-self: center;
    }

    .job-facts {
        gap: 0.75rem 2rem;
    }
}

@media (max-width: 700px) {
    .careers-values-grid {
        grid-template-columns: 1fr;
    }

    .hero-title.careers-compact-title {
        max-width: 14ch;
        font-size: clamp(2.2rem, 9.5vw, 3.2rem);
    }

    .job-facts {
        gap: 0.9rem 1.5rem;
    }

    .job-fact {
        flex: 1 1 8rem;
    }
}

/* ---- Montering och regler mellan tillbehör ----
   Vem som monterar och vad det kostar står vid varje rad, och en varukorg som
   bryter mot portalens regler (tillbehör som kräver ett annat, tillbehör som
   inte passar paketet) visar vad som ska ändras och hur. */
.checkout-line-fit,
.cart-drawer-product-fit {
    margin: 0.15rem 0 0;
    font-size: 0.82rem;
    line-height: 1.4;
    opacity: 0.75;
}

.checkout-addon-fit {
    display: block;
    font-size: 0.8rem;
    line-height: 1.4;
    opacity: 0.75;
}

.checkout-delivery-fit-sum {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.82rem;
    font-weight: 500;
}

.shop-product-fit-note,
.shop-product-requires {
    margin: 0.9rem 0 0;
    font-size: 0.88rem;
    line-height: 1.5;
}

.shop-product-requires {
    font-weight: 500;
}

.cart-problems {
    margin: 0 0 1.25rem;
    padding: 1rem 1.15rem;
    border: 1px solid rgba(160, 110, 40, 0.35);
    border-radius: 1rem;
    background: rgba(214, 170, 90, 0.12);
}

.cart-problems[hidden] {
    display: none;
}

.cart-problems-title {
    margin: 0 0 0.6rem;
    font-size: 1rem;
    font-weight: 600;
}

.cart-problems-block {
    margin: 0.75rem 0;
    font-size: 0.88rem;
}

.cart-rules {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cart-rules[hidden] {
    display: none;
}

.cart-rule + .cart-rule {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(30, 29, 27, 0.1);
}

.cart-rule p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.45;
}

.cart-rule-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    margin-top: 0.55rem;
}

.cart-rule-action {
    min-height: 2.4rem;
    padding: 0 1rem;
    font-size: 0.85rem;
}

.cart-rule-remove {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    font-size: 0.85rem;
    text-decoration: underline;
    cursor: pointer;
}

.cart-drawer-rules {
    margin: 0.75rem 0 0;
    padding: 0.85rem 1rem;
    border-radius: 0.9rem;
    background: rgba(214, 170, 90, 0.12);
}

/* Portal product photos are often JPEGs on a white background (a JPEG cannot
   be transparent). On the grey page the white showed as a box around the
   product. Multiply lets white take the colour behind it and leaves the
   product itself - and transparent PNGs - as they are. */
.shop-card-image img,
.shop-product-media img,
.checkout-addon-image img,
.checkout-line-image img,
.cart-drawer-product img,
.bott-package-image img,
.shop-variant-option img {
    mix-blend-mode: multiply;
}

/* Web shop groups with their own image (portal: Verkkokaupan tuoteryhmät):
   a small picture beside the category in the sidebar and a larger one at the
   section heading. Multiply for the same reason as the product photos. */
.shop-facet--image {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.shop-facet--image > span:not(.shop-facet-count) {
    flex: 1 1 auto;
    text-align: left;
}
.shop-facet-image {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
    flex: 0 0 auto;
    mix-blend-mode: multiply;
}
.shop-section-title--image {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.shop-section-image {
    width: 4rem;
    height: 4rem;
    object-fit: contain;
    flex: 0 0 auto;
    mix-blend-mode: multiply;
}

/* Product page: dimensions and weight under the title, icon first. */
.shop-product-specs {
    list-style: none;
    margin: 0.9rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.shop-product-specs li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.95rem;
}
.shop-product-specs img {
    margin-top: 0.05rem;
    width: 1.25rem;
    height: 1.25rem;
    flex: 0 0 auto;
    opacity: 0.85;
}
.shop-product-spec-label {
    font-weight: 600;
}

/* Version switch in place: a short fade while the next version loads. */
.shop-product.is-switching .shop-product-top {
    opacity: 0.55;
    transition: opacity 0.15s ease;
    pointer-events: none;
}

/* Product page: the vans it fits, one line per brand. */
.shop-product-models {
    margin: 0.9rem 0 0;
    font-size: 0.95rem;
}
.shop-product-models p {
    margin: 0 0 0.25rem;
}
.shop-product-models ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.shop-product-models-brand {
    font-weight: 600;
    margin-right: 0.35rem;
}

/* ---- Useampi auto samassa tilauksessa ----
   Kori näyttää yhden auton kerrallaan (välilehdet), kassa kaikki. */
.cart-vehicles {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-bottom: 1.25rem;
}

.cart-vehicle-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cart-vehicle-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(30, 29, 27, 0.22);
    border-radius: 50rem;
    background: transparent;
    color: var(--brand-dark);
    font: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.cart-vehicle-tab:hover {
    background: rgba(30, 29, 27, 0.06);
}

.cart-vehicle-tab.is-active {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: var(--brand-light);
}

.cart-vehicle-count {
    min-width: 1.3rem;
    padding: 0 0.35rem;
    border-radius: 50rem;
    background: rgba(30, 29, 27, 0.08);
    font-size: 0.78rem;
    text-align: center;
}

.cart-vehicle-tab.is-active .cart-vehicle-count {
    background: rgba(243, 243, 243, 0.2);
}

.cart-vehicle-tab--add {
    border-style: dashed;
}

.cart-vehicle-empty {
    padding: 1rem 1.2rem;
    border-radius: 1rem;
    background: rgba(30, 29, 27, 0.05);
}

.cart-vehicle-empty p {
    margin: 0 0 0.75rem;
}

.cart-vehicle-shop,
.cart-vehicle-remove,
.cart-vehicle-add-link {
    border: 0;
    background: none;
    padding: 0;
    color: inherit;
    font: inherit;
    font-size: 0.88rem;
    text-decoration: underline;
    text-underline-offset: 0.18em;
    cursor: pointer;
}

.cart-vehicle-shop {
    align-self: center;
}

.cart-vehicle-remove {
    align-self: flex-start;
    opacity: 0.7;
}

.cart-vehicle-hint {
    margin: 1rem 0 0;
    font-size: 0.9rem;
    opacity: 0.85;
}

.cart-vehicle-add-link {
    font-weight: 600;
}

.cart-rule-vehicle {
    list-style: none;
    font-weight: 600;
    margin-top: 0.5rem;
}

.checkout-vehicle-heading {
    margin: 1.25rem 0 0.25rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    opacity: 0.7;
}

.checkout-vehicle-heading:first-child {
    margin-top: 0;
}

.checkout-vehicle + .checkout-vehicle {
    margin-top: 1.25rem;
}

/* Milloin auton voi tuoda: konfiguraattorin pillerit, alla oikeat
   radiopainikkeet (pakollisuus ja nappaimisto selaimen omina). */
.checkout-arrival {
    grid-column: 1 / -1;
    --pc-line-strong: rgba(30, 29, 27, 0.32);
}

.checkout-arrival .pc-chip {
    position: relative;
}

.checkout-arrival .pc-chip input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.checkout-arrival .pc-chip:has(input:checked) {
    border-color: var(--brand-dark);
    background: var(--brand-dark);
    color: var(--brand-light);
}

.checkout-arrival .pc-chip:has(input:focus-visible) {
    outline: 2px solid var(--brand-accent);
    outline-offset: 2px;
}

.checkout-arrival.is-invalid .pc-chip {
    border-color: #b42318;
}

.checkout-vehicle-title {
    margin: 0 0 0.6rem;
    font-weight: 600;
}

.checkout-field-help {
    font-size: 0.8rem;
    opacity: 0.7;
}

.checkout-billing-same {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0 0 1rem;
    font-size: 0.95rem;
    cursor: pointer;
}

.checkout-billing-same input {
    width: 1.05rem;
    height: 1.05rem;
    accent-color: var(--brand-dark);
}

.checkout-billing-same[hidden],
.checkout-address[hidden],
.checkout-vehicles[hidden] {
    display: none;
}

.checkout-billing-same + .checkout-address,
.checkout-address + .contact-form-grid {
    margin-top: 1rem;
}

.contact-field input.is-invalid,
.contact-field select.is-invalid {
    border-color: var(--brand-danger);
    box-shadow: 0 0 0 1px var(--brand-danger);
}

.checkout-status {
    margin: 0.75rem 0 0;
    font-size: 0.9rem;
}

.checkout-status.is-error {
    color: var(--brand-danger);
    font-weight: 600;
}

.checkout-success {
    padding: 2rem;
    border-radius: 1.5rem;
    background: rgba(47, 107, 71, 0.08);
}

.checkout-success:focus {
    outline: none;
}

.checkout-success-title {
    margin: 0 0 0.75rem;
    font-family: var(--font-title);
    font-weight: 300;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.checkout-success p {
    margin: 0 0 1.25rem;
    line-height: 1.6;
}

.cart-drawer-product-vehicle {
    margin: 0.2rem 0 0;
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.75;
}

/* Paketin kortti: "Levererad" hinnan alla, asennettu hinta omalla rivillään. */
.shop-card-price-both span {
    display: block;
}

/* Kategoria, jossa ei ole valittuun autoon sopivia tuotteita: himmennetty. */
.shop-facet.is-empty {
    opacity: 0.45;
}

/* ---- Ostoskorin suositukset: kategoriat ja versiot ----
   Versioitu tuote on yksi rivi, jonka versiot ovat valintoina hintoineen,
   eikä jokainen versio omana rivinään. */
.checkout-addon-category {
    list-style: none;
    margin: 1.1rem 0 0;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgba(30, 29, 27, 0.12);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    opacity: 0.6;
}

.checkout-addon-category:first-child {
    margin-top: 0;
}

.checkout-addon-category[hidden] {
    display: none;
}

.checkout-addon--versions,
.cart-addons .checkout-addon--versions {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
}

.checkout-addon--versions.checkout-addon--with-image,
.cart-addons .checkout-addon--versions.checkout-addon--with-image {
    grid-template-columns: 3.75rem minmax(0, 1fr);
}

.checkout-addon-versions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.5rem;
}

.checkout-addon-version {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
    max-width: 100%;
    padding: 0.5rem 0.85rem;
    border: 1px solid rgba(30, 29, 27, 0.22);
    border-radius: 0.9rem;
    background: transparent;
    color: var(--brand-dark);
    font: inherit;
    font-size: 0.82rem;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.checkout-addon-version:hover {
    background: rgba(30, 29, 27, 0.06);
}

.checkout-addon-version-price {
    font-weight: 600;
}

.checkout-addon-version.is-in-cart,
.checkout-addon-version.is-in-cart:hover {
    border-color: var(--brand-dark);
    background: var(--brand-dark);
    color: var(--brand-light);
}

/* Ostoskorin auton tiedot: merkki ja malli sekä rek.nro/VIN auton kohdalla. */
.cart-vehicle-details-title {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    opacity: 0.7;
}

.cart-vehicle-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
    gap: 0.75rem;
}

/* Tuotesivun auton valinta: mallikohtainen hinta seuraa valintaa. */
.shop-product-car {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin: 0 0 1rem;
    font-size: 0.82rem;
    font-weight: 600;
}

.cart-vehicle-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.82rem;
    font-weight: 600;
}

.cart-vehicle-field select,
.cart-vehicle-field input,
.shop-product-car select {
    width: 100%;
    height: 2.75rem;
    padding: 0 0.9rem;
    border: 1px solid rgba(20, 20, 20, 0.14);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.76);
    color: var(--brand-dark);
    font: inherit;
    font-weight: 400;
    font-size: 0.9rem;
}

/* Kauppakortin versiot (2 kW / 4 kW): pienet linkit hinnan alla, kortin
   linkkikerroksen yläpuolella. */
.shop-card-versions {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
    margin: 0.5rem 0 0.35rem;
    padding: 0;
    list-style: none;
}

.shop-card-version {
    display: inline-block;
    max-width: 11rem;
    overflow: hidden;
    padding: 0.25rem 0.65rem;
    border: 1px solid rgba(30, 29, 27, 0.2);
    border-radius: 50rem;
    color: inherit;
    font-size: 0.78rem;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.shop-card-version:hover,
.shop-card-version:focus-visible {
    background: rgba(30, 29, 27, 0.07);
}

.shop-card-version-more {
    align-self: center;
    font-size: 0.78rem;
    opacity: 0.7;
}

/* Portal image gallery (portal: Kuvat). "Täyttää" pictures (photos) fill the
   image box edge to edge - no inset and no multiply, the photo carries its
   own background. "Rajattu" stays as the Bott renders: whole, with room. */
.shop-card-image.is-image-fill img,
.shop-product-media-main.is-image-fill img,
.checkout-addon-image.is-image-fill img,
.checkout-line-image.is-image-fill img,
.cart-drawer-product-image.is-image-fill img,
.shop-product-thumb.is-image-fill img {
    object-fit: cover;
    padding: 0;
    mix-blend-mode: normal;
}
.cart-drawer-product-image.is-image-fill {
    padding: 0;
    overflow: hidden;
}

.shop-product-thumbs {
    list-style: none;
    margin: 0.75rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(4.5rem, 1fr));
    gap: 0.5rem;
}
.shop-product-thumb {
    display: block;
    width: 100%;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 0.75rem;
    overflow: hidden;
    background: var(--shop-image-bg);
    cursor: pointer;
    transition: border-color 0.2s ease;
}
.shop-product-thumb img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    padding: 0.3rem;
    mix-blend-mode: multiply;
}
.shop-product-thumb:hover,
.shop-product-thumb:focus-visible {
    border-color: rgba(0, 0, 0, 0.25);
}
.shop-product-thumb.is-active {
    border-color: currentColor;
}

/* Ostoskorin suositukset: kaupan kortit kategorioittain, vasemmalta oikealle
   tiiviisti. Lisää-nappi näkyy aina (kaupan ruudukossa vasta hoverissa). */
.cart-recs .checkout-addons-note {
    margin-bottom: 0.5rem;
}
.cart-rec-group {
    margin-top: 1.5rem;
}
.cart-rec-group-title {
    margin: 0 0 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    opacity: 0.6;
}
.cart-rec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr));
    gap: 1rem;
}
.cart-rec-card {
    display: flex;
    flex-direction: column;
}
.cart-rec-card .shop-card-name {
    font-size: 0.95rem;
}
.cart-rec-card .shop-card-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.cart-rec-card .checkout-addon-price {
    margin-top: 0;
    font-size: inherit;
}
.cart-rec-card .checkout-addon-fit {
    text-align: center;
}
.cart-rec-add {
    width: 100%;
    margin-top: 0.6rem;
}
.cart-rec-versions {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.cart-rec-version {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.5rem 0.85rem;
    border: 1px solid rgba(20, 20, 20, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    color: var(--brand-dark);
    font: inherit;
    font-size: 0.82rem;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}
.cart-rec-version:hover,
.cart-rec-version:focus-visible {
    border-color: var(--brand-dark);
    background: rgba(255, 255, 255, 0.95);
}
.cart-rec-version-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cart-rec-version-price {
    font-weight: 600;
    white-space: nowrap;
}
.checkout-line-model {
    color: #9a6a12;
}
@media (max-width: 640px) {
    .cart-rec-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }
}

/* ---------- Konfiguraattori: selkeys ja palaute ---------- */

/* Pakolliset kentat: tahti ja selite lomakkeen alussa. */
.pc-req {
    color: var(--brand-accent);
    font-weight: 600;
}

.pc-req-legend {
    margin: -0.4rem 0 0.9rem;
    font-size: 0.82rem;
    color: var(--pc-muted);
}

.contact-field input[aria-invalid="true"],
.contact-field textarea[aria-invalid="true"] {
    border-color: var(--brand-danger);
    box-shadow: 0 0 0 1px var(--brand-danger);
}

/* Varusteryhmat pikalinkkeina listan ylla. */
/* Lisavarusteiden ryhmat valilehtina: yksi rivi (vierittyy sivuttain puhelimella),
   pysyy ylhaalla listaa vieritettaessa ja vaistaa nakyvaa ylapalkkia. */
.pc-tabs-anchor {
    scroll-margin-top: calc(var(--header-height, 87px) + 0.5rem);
}

.pc-tabs {
    position: sticky;
    top: 0.5rem;
    z-index: 5;
    margin: 0 -0.35rem 1.2rem;
    padding: 0.35rem;
    border-radius: 50rem;
    background: rgba(247, 245, 239, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 0 0 1px var(--pc-line);
    transition: top 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

html:has(.header:not(.is-hidden)) .pc-tabs {
    top: calc(var(--header-height, 87px) + 0.5rem);
}

/* Valilehtirivi: valilehdet vierivat, hakuikoni oikeassa reunassa.
   Hakutilassa sama rivi on hakukentta (configurator.js setOptionSearch). */
.pc-tabs {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.pc-tabs-search-button {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #1e1d1b;
    cursor: pointer;
    transition: background 0.2s ease;
}

.pc-tabs-search-button:hover {
    background: rgba(30, 29, 27, 0.06);
}

.pc-tabs-search-button svg,
.pc-tabs-search-icon svg {
    width: 1.15rem;
    height: 1.15rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

/* Haku auki: osio vahintaan nayton korkuinen (configurator.js renderOptions). */
.pc-options-searching {
    min-height: calc(100vh - var(--pc-dock-h, 0px));
    min-height: calc(100svh - var(--pc-dock-h, 0px));
}

.pc-tabs--search {
    animation: pc-tabs-search-in 0.22s ease-out;
}

@keyframes pc-tabs-search-in {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

.pc-tabs-search-icon {
    display: grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    flex: 0 0 auto;
    color: rgba(30, 29, 27, 0.55);
}

.pc-tabs-search-field {
    flex: 1 1 auto;
    min-width: 0;
}

.pc-tabs-search-field input {
    width: 100%;
    height: 2.4rem;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 1rem;
    color: #1e1d1b;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.pc-tabs-search-field input::-webkit-search-cancel-button {
    display: none;
}

.pc-tabs-track {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    gap: 0.25rem;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}

.pc-tabs-track::-webkit-scrollbar {
    display: none;
}

/* Hakuikonin kohdalla valilehdet haipyvat eivatka katkea terasti. */
.pc-tabs-track {
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 1.75rem), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 1.75rem), transparent);
    padding-right: 1.25rem;
}

.pc-tab {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 40px;
    padding: 0 1rem;
    border: 0;
    border-radius: 50rem;
    background: transparent;
    font: inherit;
    font-size: 0.92rem;
    color: var(--brand-dark);
    white-space: nowrap;
    cursor: pointer;
    scroll-snap-align: start;
    transition: background 0.2s ease, color 0.2s ease;
}

.pc-tab:hover {
    background: rgba(30, 29, 27, 0.06);
}

.pc-tab.is-active {
    background: var(--brand-dark);
    color: var(--brand-light);
}

.pc-tab:focus-visible {
    outline: 2px solid var(--brand-accent);
    outline-offset: 2px;
}

.pc-tab-count {
    display: inline-grid;
    place-items: center;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.35rem;
    border-radius: 50rem;
    background: var(--brand-accent);
    color: var(--brand-dark);
    font-size: 0.72rem;
    font-weight: 600;
}

/* Lisavarusteryhmat perakkain (valilehdet = sisallysluettelo, configurator.js
   syncOptionTabs): ryhmalle otsikko ja selva vali edelliseen. */
.pc-option-group + .pc-option-group {
    margin-top: 2rem;
}

.pc-option-group-title {
    margin: 0 0 0.75rem;
    font-size: 1.05rem;
}

/* Din bil: valitulle autolle rajatut lisavarusteet paneelin alla. */
.pc-type-options {
    margin-top: 2rem;
}

.pc-group {
    scroll-margin-top: 6rem;
}

/* Kuvaton varuste: hillitty kuvake tyhjan laatikon sijaan. */
.pc-option-media.is-empty {
    background: rgba(30, 29, 27, 0.05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e1d1b' stroke-opacity='.35' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 7.5 12 3l8.5 4.5v9L12 21l-8.5-4.5z'/%3E%3Cpath d='M3.5 7.5 12 12l8.5-4.5M12 12v9'/%3E%3C/svg%3E") center / 42% no-repeat;
}

/* Crossipyora saatimen alla. */
.pc-bike-status {
    display: inline-flex;
    align-items: center;
}

.pc-bike-ok {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 500;
}

.pc-bike-ok svg {
    width: 1.1rem;
    height: 1.1rem;
    fill: none;
    stroke: var(--brand-accent);
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Ei mahdu (kiintea tavaratila): selva kielto, ei pelkka harmaa teksti. */
.pc-bike-no {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 500;
}

.pc-bike-no svg {
    flex: 0 0 auto;
    width: 1.05rem;
    height: 1.05rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
}

/* Hinnan muutos (+12 300 kr): pieni ilmoitus naytön alareunassa (.pc-notice). */
.pc-price-toast {
    padding: 0.6rem 1.1rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

/* Pinottuna ilmoituksen ylapuolelle sen todellisen korkeuden verran. */
.pc-price-toast.is-stacked {
    bottom: calc(2rem + var(--pc-notice-h, 3.5rem));
}

body.pc-has-bar .pc-price-toast.is-stacked {
    bottom: calc(6rem + env(safe-area-inset-bottom) + var(--pc-notice-h, 3.5rem));
}

/* Crossipyora-rivi: otsikko vasemmalla, tila tai nappi oikealla. */
.pc-panel-row.pc-bike {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
}

.pc-panel-row.pc-bike[hidden] {
    display: none;
}

.pc-quick-add--plain::before {
    content: none;
}

/* ---------- Kysyttavaa? -painike ja chat (assets/js/web-chat.js) ---------- */

.wc {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
    pointer-events: none;
}

.wc > * {
    pointer-events: auto;
}

/* Muiden kelluvien osien kanssa: ostoskorin palkin ylapuolelle, ei
   evasteilmoituksen, valikon eika korin paneelin paalle. */
body:has(.cart-bar:not([hidden])) .wc:not(.is-open) {
    bottom: calc(1.25rem + 72px);
}

body:has(.cc:not([hidden])) .wc:not(.is-open),
body:has(.header.is-header-panel-open) .wc:not(.is-open),
body:has(.cart-drawer:not([hidden])) .wc:not(.is-open),
body:has(.gallery-modal-overlay.active) .wc:not(.is-open) {
    visibility: hidden;
}

/* Puhelimella vaistyy alas vieritettaessa (web-chat.js is-tucked). */
@media (max-width: 767px) {
    .wc .wc-button {
        transition: transform 0.28s var(--pc-ease, ease), opacity 0.2s ease;
    }

    .wc.is-tucked:not(.is-open) .wc-button {
        transform: translateY(calc(100% + 2rem));
        opacity: 0;
        pointer-events: none;
    }
}

.wc-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 52px;
    padding: 0 1.2rem 0 1rem;
    border: 0;
    border-radius: 50rem;
    background: var(--brand-dark);
    background-image: var(--surface-dark-overlay-control);
    color: var(--brand-light);
    font: inherit;
    font-weight: 600;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
    cursor: pointer;
}

.wc-button svg {
    width: 1.35rem;
    height: 1.35rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linejoin: round;
}

/* Sama puhekupla kuin portaalin valikossa (uploads/icons/messages.svg),
   tekstin varilla: tummalla pohjalla vaalea, vaalealla tumma. */
.wc-button svg.wc-chat-icon,
.pc-bar-chat svg.wc-chat-icon {
    fill: currentColor;
    stroke: none;
}

.wc-chat-icon .wc-chat-dots {
    fill: none;
    stroke: currentColor;
    stroke-width: 66.67;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Myyja paikalla: vihrea piste. */
.wc-button.is-live::after {
    content: "";
    position: absolute;
    top: 0.55rem;
    left: 2rem;
    width: 0.55rem;
    height: 0.55rem;
    border: 2px solid var(--brand-dark);
    border-radius: 50%;
    background: #3fb96b;
}

.wc-badge {
    display: inline-grid;
    place-items: center;
    min-width: 1.3rem;
    height: 1.3rem;
    padding: 0 0.35rem;
    border-radius: 50rem;
    background: var(--brand-accent);
    color: var(--brand-dark);
    font-size: 0.75rem;
}

.wc-badge[hidden] {
    display: none;
}

.wc-panel {
    display: flex;
    flex-direction: column;
    width: min(23rem, calc(100vw - 2rem));
    max-height: min(36rem, calc(100vh - 8rem));
    overflow: hidden;
    border-radius: var(--close-radius);
    background: var(--brand-light);
    color: var(--brand-dark);
    box-shadow: 0 24px 60px rgba(20, 20, 20, 0.25);
    animation: wc-in 0.22s var(--pc-ease);
}

.wc-panel[hidden] {
    display: none;
}

@keyframes wc-in {
    from { opacity: 0; transform: translateY(8px) scale(0.98); }
    to { opacity: 1; transform: none; }
}

@keyframes wc-up {
    from { transform: translateY(24px); }
    to { transform: none; }
}

html.wc-locked,
html.wc-locked body {
    overflow: hidden;
    overscroll-behavior: none;
}

.wc-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1rem 0.85rem 1.1rem;
    border-bottom: 1px solid var(--pc-line);
}

/* Vastaajien kuvat (web-chat.js renderAgents): pyorea kuva tai etukirjain,
   useampi limittain, vihrea piste viimeisessa kun paikalla. */
.wc-agents {
    position: relative;
    display: flex;
    flex: 0 0 auto;
}

.wc-agent,
.wc-msg-avatar {
    display: inline-grid;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    background: var(--brand-dark);
    color: var(--brand-light);
    font-weight: 600;
}

/* Sama koko kuin sulkunappi (--close-size): kulmassa samankeskinen paneelin kaaren kanssa. */
.wc-agent {
    width: var(--close-size);
    height: var(--close-size);
    font-size: 1rem;
}

.wc-agent img,
.wc-msg-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wc-agent.is-brand svg {
    width: 62%;
    height: auto;
    fill: currentColor;
}

.wc-agents.is-stack .wc-agent {
    width: 34px;
    height: 34px;
    box-shadow: 0 0 0 2px var(--brand-light);
}

.wc-agents.is-stack .wc-agent + .wc-agent {
    margin-left: -12px;
}

.wc-agents.is-live::after {
    content: "";
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 12px;
    height: 12px;
    border: 2px solid var(--brand-light);
    border-radius: 50%;
    background: #3fb96b;
}

.wc-title {
    margin: 0;
    overflow: hidden;
    font-family: var(--font-title);
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wc-status {
    margin: 0.2rem 0 0;
    font-size: 0.85rem;
    color: var(--pc-muted);
}

.wc-status.is-online::before {
    content: "";
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    margin: 0 0.4rem 0.08rem 0;
    border-radius: 50%;
    background: #3fb96b;
    vertical-align: middle;
}

.wc-head-text {
    flex: 1 1 auto;
    min-width: 0;
}

/* Keskustelussa nimi kuten viestisovelluksen yhteystieto (ei otsikkofonttia). */
.wc-panel.is-chat .wc-title {
    font-family: inherit;
    font-size: 1.02rem;
    font-weight: 600;
}

.wc-panel.is-chat .wc-status {
    margin-top: 0.05rem;
    overflow: hidden;
    font-size: 0.8rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Hiirella pienemmat napit (kosketusnaytoilla 44 px): otsikko mahtuu. */
@media (hover: hover) and (pointer: fine) {
    .wc-panel.is-chat .wc-end {
        height: 36px;
        margin: 0;
        padding: 0 0.5rem;
    }
}

.wc-head-actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex: 0 0 auto;
}

/* Pyorea reunaviivallinen sulkunappi, kulmassa samankeskisena paneelin
   kaaren kanssa (--close-*; .wc-head-actions asettaa paikan). */
.wc-close {
    display: inline-grid;
    place-items: center;
    width: var(--close-size);
    height: var(--close-size);
    margin: 0;
    padding: 0;
    border: 1px solid var(--icon-border);
    border-radius: 50%;
    background: transparent;
    color: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.15s ease;
}

.wc-close:hover {
    background: rgba(30, 29, 27, 0.06);
}

.wc-close svg {
    grid-area: 1 / 1;
    width: 1.05rem;
    height: 1.05rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wc-close svg {
    stroke-width: 2.2;
}

/* Lopeta (paattaa keskustelun): tekstinappi, kosketusalue 44 px. */
.wc-end {
    display: inline-flex;
    align-items: center;
    height: 44px;
    margin: -0.35rem 0;
    padding: 0 0.6rem;
    border: 0;
    border-radius: 50rem;
    background: transparent;
    color: var(--pc-muted);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.wc-end:hover {
    background: rgba(30, 29, 27, 0.06);
}

.wc-end[hidden],
.wc-confirm[hidden],
.wc-resume-note[hidden] {
    display: none;
}

/* Lopetuksen vahvistus keskustelun ylaosassa. */
.wc-confirm {
    display: grid;
    gap: 0.6rem;
    margin-top: 0.5rem;
    padding: 0.8rem 0.9rem;
    border-radius: 1rem;
    background: rgba(30, 29, 27, 0.06);
}

.wc-confirm-text {
    margin: 0;
    font-size: 0.9rem;
}

.wc-confirm-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.wc-confirm-actions .wc-primary,
.wc-secondary {
    min-height: 40px;
    padding: 0 1rem;
}

.wc-secondary {
    border: 1px solid var(--pc-line);
    border-radius: 50rem;
    background: #fff;
    color: inherit;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

/* Paattynyt keskustelu: ilmoitus viestien perassa ja uuden aloitus. */
.wc-ended {
    display: grid;
    justify-items: center;
    gap: 0.6rem;
    align-self: center;
    max-width: 90%;
    margin: 0.75rem auto 0.25rem;
    text-align: center;
}

.wc-ended-text {
    margin: 0;
    font-size: 0.85rem;
    color: var(--pc-muted);
}

/* Miten onnistuimme: tahdet ja vapaaehtoinen palaute (web-chat.js). */
.wc-rate {
    width: 100%;
    margin: 0.4rem 0 0.2rem;
    padding: 0.9rem 0.75rem 0.75rem;
    border-radius: 1rem;
    background: rgba(30, 29, 27, 0.05);
    text-align: center;
}

.wc-rate-ask {
    margin: 0 0 0.25rem;
    font-weight: 600;
}

.wc-rate-stars {
    display: flex;
    justify-content: center;
    gap: 0.15rem;
}

.wc-rate-star {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: none;
    font-size: 1.9rem;
    line-height: 1;
    color: rgba(30, 29, 27, 0.18);
    cursor: pointer;
    transition: color 0.15s ease, transform 0.15s ease;
}

.wc-rate-star.is-on {
    color: #B49E6E;
}

.wc-rate-star:active {
    transform: scale(0.9);
}

.wc-rate-scale {
    display: flex;
    justify-content: space-between;
    max-width: 15rem;
    margin: 0 auto;
    font-size: 0.7rem;
    color: var(--pc-muted);
}

.wc-rate-status {
    min-height: 1.2em;
    margin: 0.5rem 0 0;
    font-size: 0.85rem;
    font-weight: 600;
}

.wc-rate-status:empty {
    display: none;
}

.wc-rate-form {
    display: grid;
    gap: 0.5rem;
    margin-top: 0.6rem;
}

.wc-rate-form[hidden] {
    display: none;
}

.wc-rate-field {
    box-sizing: border-box;
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--pc-line);
    border-radius: 0.8rem;
    background: #fff;
    font: inherit;
    font-size: 16px;
    resize: vertical;
}

@media (prefers-reduced-motion: reduce) {
    .wc-rate-star {
        transition: none;
    }
}

/* Sahkopostin jatkolinkki ei kelvannut. */
.wc-resume-note {
    margin: 0.75rem 1.25rem 0;
    padding: 0.6rem 0.8rem;
    border-radius: 0.8rem;
    background: rgba(30, 29, 27, 0.05);
    color: var(--brand-danger);
    font-size: 0.85rem;
}

.wc-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 0;
    padding: 1rem 1.25rem 1.25rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.wc-body[hidden] {
    display: none;
}

.wc-contacts {
    display: grid;
    gap: 0.5rem;
}

.wc-contact {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    padding: 0.75rem 0.9rem;
    border-radius: 1rem;
    background: rgba(30, 29, 27, 0.05);
    color: inherit;
    text-decoration: none;
}

.wc-contact-label {
    font-size: 0.85rem;
    color: var(--pc-muted);
}

.wc-start {
    display: grid;
    gap: 0.6rem;
}

.wc-contacts {
    padding-top: 0.25rem;
}

/* Kukaan ei ole chatissa: lomake on viestilomake (web-chat.js offlineNote). */
.wc-offline {
    display: flex;
    gap: 0.55rem;
    align-items: baseline;
    margin: 0 0 0.2rem;
    padding: 0.7rem 0.85rem;
    border-radius: 0.8rem;
    background: rgba(30, 29, 27, 0.05);
    font-size: 0.85rem;
    line-height: 1.45;
}

.wc-offline::before {
    content: "";
    flex: 0 0 auto;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: rgba(30, 29, 27, 0.35);
    transform: translateY(-0.05rem);
}

.wc-offline[hidden] {
    display: none;
}

/* Ennen keskustelua viestilistassa: kuka vastaa / ei ketaan, yhteystiedot, tietosuoja. */
.wc-welcome {
    display: grid;
    gap: 0.65rem;
    padding: 0 0.25rem 0.25rem;
}

.wc-welcome-lead {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.45;
}

.wc-welcome .wc-contacts[hidden] {
    display: none;
}

.wc-welcome-lead[hidden] {
    display: none;
}

/* Sahkoposti ensimmaisen viestin jalkeen: kortti keskustelussa, ei pakollinen. */
.wc-email {
    display: grid;
    gap: 0.55rem;
    align-self: stretch;
    margin: 0.35rem 0 0.15rem;
    padding: 0.8rem 0.85rem;
    border: 1px solid var(--pc-line);
    border-radius: 1rem;
    background: #fff;
}

.wc-email.is-offline {
    border-color: rgba(30, 29, 27, 0.22);
}

.wc-email-text {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.4;
}

.wc-email-form {
    display: flex;
    gap: 0.45rem;
}

.wc-email-form input {
    flex: 1 1 auto;
    min-width: 0;
    height: 40px;
    padding: 0 0.85rem;
    border: 1px solid var(--pc-line);
    border-radius: 50rem;
    background: rgba(30, 29, 27, 0.03);
    color: inherit;
    font: inherit;
    font-size: 16px;
}

.wc-email-form input[aria-invalid="true"] {
    border-color: var(--brand-danger);
}

.wc-email-save {
    flex: 0 0 auto;
    height: 40px;
    padding: 0 1rem;
    border: 0;
    border-radius: 50rem;
    background: var(--brand-dark);
    color: var(--brand-light);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.wc-email-save:disabled {
    opacity: 0.5;
    cursor: default;
}

.wc-email-done {
    margin: 0;
    font-size: 0.85rem;
    color: var(--pc-muted);
}

.wc-email-change {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

/* Kuva vasta keskustelussa (web-chat.js). */
.wc-attach[hidden] {
    display: none;
}

.wc-email [hidden] {
    display: none;
}

/* Annettu osoite: kortti kevenee yhdeksi riviksi. */
.wc-email.is-done {
    padding: 0;
    border: 0;
    background: none;
    text-align: center;
}

.wc-start[hidden],
.wc-thread[hidden] {
    display: none;
}

.wc-field {
    display: grid;
    gap: 0.25rem;
    font-size: 0.85rem;
}

.wc-field input,
.wc-field textarea,
.wc-compose textarea {
    width: 100%;
    padding: 0.65rem 0.8rem;
    border: 1px solid var(--pc-line);
    border-radius: 0.8rem;
    background: #fff;
    font: inherit;
    font-size: 0.95rem;
    color: inherit;
}

.wc-field input[aria-invalid="true"],
.wc-field textarea[aria-invalid="true"] {
    border-color: var(--brand-danger);
}

.wc-req {
    color: var(--brand-accent);
    font-weight: 600;
}

.wc-error,
.wc-form-error {
    color: var(--brand-danger);
    font-size: 0.8rem;
}

.wc-form-error {
    margin: 0;
}

.wc-error[hidden],
.wc-form-error[hidden],
.wc-typing[hidden] {
    display: none;
}

.wc-trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.wc-privacy {
    margin: 0;
    font-size: 0.78rem;
    color: var(--pc-muted);
}

.wc-privacy a {
    color: inherit;
}

.wc-primary {
    min-height: 46px;
    border: 0;
    border-radius: 50rem;
    background: var(--brand-dark);
    color: var(--brand-light);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.wc-primary:disabled,
.wc-send:disabled {
    opacity: 0.5;
}

.wc-send {
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.wc-send:disabled {
    opacity: 0.28;
    cursor: default;
}

.wc-send:not(:disabled):active {
    transform: scale(0.94);
}

/* Keskustelu: viestit vierivat, kirjoituskentta pysyy aina alhaalla. Ennen
   keskustelua (ei lomaketta, vain tervetuloteksti) matalampi. */
.wc-panel.is-thread {
    height: min(30rem, calc(100vh - 8rem));
    height: min(30rem, calc(100dvh - 8rem));
}

.wc-panel.is-chat {
    height: min(36rem, calc(100vh - 8rem));
    height: min(36rem, calc(100dvh - 8rem));
}

.wc-thread {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.5rem;
    min-height: 0;
    padding: 0 1rem 1rem;
}

.wc-messages-wrap {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
}

.wc-messages {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.5rem;
    min-height: 0;
    padding: 1rem 0.25rem 0.5rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

/* Ensimmainen viesti alas kuten viestisovelluksissa. */
.wc-messages > :first-child {
    margin-top: auto;
}

.wc-new {
    position: absolute;
    left: 50%;
    bottom: 0.6rem;
    transform: translateX(-50%);
    min-height: 34px;
    padding: 0 0.9rem;
    border: 0;
    border-radius: 50rem;
    background: var(--brand-dark);
    color: var(--brand-light);
    font: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.wc-new[hidden] {
    display: none;
}

/* Kuplat kuten viestisovelluksissa: myyja vasemmalla vaaleana, oma oikealla
   tummana. Saman lahettajan perakkaiset viestit ryhmana (web-chat.js:
   is-cont = jatkoa edelliselle, has-next = seuraava jatkaa), "hanta" vain
   ryhman viimeisessa. */
.wc-msg {
    align-self: flex-start;
    max-width: 80%;
    padding: 0.5rem 0.85rem 0.55rem;
    border-radius: 1.15rem 1.15rem 1.15rem 0.35rem;
    background: rgba(30, 29, 27, 0.075);
    font-size: 0.95rem;
    line-height: 1.38;
}

.wc-msg.is-mine {
    align-self: flex-end;
    border-radius: 1.15rem 1.15rem 0.35rem 1.15rem;
    background: var(--brand-dark);
    color: var(--brand-light);
}

.wc-msg.is-cont {
    margin-top: -0.3rem;
    border-top-left-radius: 0.45rem;
}

.wc-msg.has-next {
    border-bottom-left-radius: 0.45rem;
}

.wc-msg.is-mine.is-cont {
    border-top-left-radius: 1.15rem;
    border-top-right-radius: 0.45rem;
}

.wc-msg.is-mine.has-next {
    border-bottom-left-radius: 1.15rem;
    border-bottom-right-radius: 0.45rem;
}

.wc-msg.is-new {
    animation: wc-msg-in 0.22s var(--pc-ease) both;
    transform-origin: bottom left;
}

.wc-msg.is-mine.is-new {
    transform-origin: bottom right;
}

@keyframes wc-msg-in {
    from { opacity: 0; transform: translateY(6px) scale(0.97); }
    to { opacity: 1; transform: none; }
}

.wc-msg-name {
    display: block;
    margin-bottom: 0.1rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--pc-muted);
}

/* Yksi vastaaja: nimi otsikossa, ei jokaisessa kuplassa (kuten viestisovelluksissa). */
.wc-messages:not(.is-multi) .wc-msg-name {
    display: none;
}

.wc-msg:not(.is-mine) {
    position: relative;
    margin-left: 34px;
}

.wc-msg-avatar {
    position: absolute;
    bottom: 0;
    left: -34px;
    width: 26px;
    height: 26px;
    font-size: 0.7rem;
}

.wc-msg.has-next .wc-msg-avatar {
    visibility: hidden;
}

/* Aika erottimena: keskustelun alussa ja pidemman tauon jalkeen. */
.wc-stamp {
    align-self: center;
    margin: 0.55rem 0 0.15rem;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--pc-muted);
}

/* Kukaan ei ole ehtinyt vastata: hillitty rivi keskustelussa, numero linkkina. */
.wc-noreply {
    align-self: center;
    max-width: 30ch;
    margin: 0.65rem auto 0.25rem;
    font-size: 0.8rem;
    line-height: 1.45;
    text-align: center;
    color: var(--pc-muted);
    text-wrap: pretty;
}

.wc-noreply a {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    white-space: nowrap;
}

/* Ruudunlukijalle (kirjoittaa-tieto). */
.wc-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.wc-msg-text {
    margin: 0;
    white-space: pre-wrap;
    overflow-wrap: break-word;
}

/* Myyjan lahettama kuva tai tiedosto viestissa (web-chat.js). */
.wc-msg-image {
    display: block;
    /* Oma leveys: kupla mitoittuu sisaltonsa mukaan, pelkka kuva jai muuten 0 px levyiseksi. */
    width: min(15rem, 62vw);
    max-width: 100%;
    margin: 0.35rem 0;
    overflow: hidden;
    border-radius: 0.7rem;
}

.wc-msg-image img {
    display: block;
    width: 100%;
    max-width: 260px;
    max-height: 320px;
    min-height: 60px;
    object-fit: cover;
    background: rgba(30, 29, 27, 0.06);
}

.wc-msg-file {
    display: inline-block;
    margin: 0.3rem 0;
    color: inherit;
    font-weight: 600;
    overflow-wrap: break-word;
}

.wc-receipt {
    align-self: flex-end;
    margin: -0.25rem 0.35rem 0 0;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--pc-muted);
}

/* Kirjoittaa: kolme pistetta myyjan kuplassa. */
.wc-typing {
    position: relative;
    align-self: flex-start;
    display: inline-flex;
    margin: 0 0 0.1rem 0.25rem;
    padding: 0.7rem 0.85rem;
    border-radius: 1.15rem 1.15rem 1.15rem 0.35rem;
    background: rgba(30, 29, 27, 0.075);
}

.wc-typing-dots {
    display: inline-flex;
    gap: 0.25rem;
}

.wc-typing-dots i {
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: var(--pc-muted);
    opacity: 0.4;
    animation: wc-dot 1.2s infinite ease-in-out;
}

.wc-typing-dots i:nth-child(2) {
    animation-delay: 0.15s;
}

.wc-typing-dots i:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes wc-dot {
    0%, 60%, 100% { opacity: 0.35; transform: none; }
    30% { opacity: 0.9; transform: translateY(-2px); }
}

.wc-compose {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
}

.wc-compose {
    padding-top: 0.25rem;
}

/* Kuva keskusteluun (web-chat.js): kameraikoni kentan vasemmalla. */
.wc-attach {
    position: relative;
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--brand-dark);
    cursor: pointer;
    transition: background-color 0.15s ease, opacity 0.15s ease;
}

.wc-attach:hover {
    background: rgba(30, 29, 27, 0.06);
}

.wc-attach.is-busy {
    opacity: 0.4;
    pointer-events: none;
}

.wc-attach svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wc-attach-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.wc-attach:focus-within {
    outline: 2px solid var(--brand-dark);
    outline-offset: 2px;
}

.wc-compose textarea {
    resize: none;
    min-height: 44px;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    /* Noin viisi rivia, sitten kentta vierii. */
    max-height: 8.5rem;
    line-height: 1.4;
    border-radius: 1.4rem;
    padding-left: 1rem;
    overscroll-behavior: contain;
}

.wc-send {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: var(--brand-dark);
    color: var(--brand-light);
    cursor: pointer;
}

.wc-send svg {
    width: 1.2rem;
    height: 1.2rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Viestisovellusten tapaan: pyorea liitenappi, pillerikentta ja
   lahetysnuoli kentan sisalla. Nuoli nakyy vasta kun on tekstia. */
.wc-compose {
    align-items: flex-end;
}

/* Sama korkeus kuin yksirivinen kentta (40 px): nappi ja kentta linjassa. */
.wc-attach {
    width: 40px;
    height: 40px;
    background: rgba(30, 29, 27, 0.07);
}

.wc-attach:hover {
    background: rgba(30, 29, 27, 0.12);
}

.wc-attach svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

.wc-pill {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
}

.wc-pill textarea,
.wc-compose .wc-pill textarea {
    min-height: 40px;
    padding: 0.5rem 2.75rem 0.5rem 0.95rem;
    border-radius: 1.25rem;
    outline: none;
    transition: border-color 0.15s ease;
}

.wc-compose .wc-pill textarea:focus {
    border-color: rgba(30, 29, 27, 0.32);
}

.wc-pill .wc-send {
    position: absolute;
    right: 5px;
    bottom: 5px;
    width: 30px;
    height: 30px;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.wc-pill .wc-send svg {
    width: 1rem;
    height: 1rem;
    stroke-width: 2.4;
}

.wc-pill .wc-send:disabled {
    opacity: 0;
    transform: scale(0.6);
    pointer-events: none;
}

.wc button:focus-visible,
.wc a:focus-visible {
    outline: 2px solid var(--brand-accent);
    outline-offset: 2px;
}

@media (max-width: 1100px) {
    body.pc-has-bar .wc {
        bottom: calc(5.5rem + env(safe-area-inset-bottom));
    }

    /* Alapalkissa on oma chat-nappi: kelluva ei peita sisaltoa. */
    body.pc-has-bar.wc-has-opener .wc-button {
        display: none;
    }
}

.pc-bar-chat {
    position: relative;
    flex: 0 0 auto;
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--pc-line);
    border-radius: 50%;
    background: transparent;
    color: var(--brand-dark);
    cursor: pointer;
}

.pc-bar-chat[hidden] {
    display: none;
}

.pc-bar-chat svg {
    width: 1.3rem;
    height: 1.3rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linejoin: round;
}

/* Myyja paikalla: vihrea piste kuten kelluvassa napissa. */
.pc-bar-chat.is-live::after {
    content: "";
    position: absolute;
    top: 0.55rem;
    right: 0.6rem;
    width: 0.55rem;
    height: 0.55rem;
    border: 2px solid var(--brand-light);
    border-radius: 50%;
    background: #3fb96b;
}

.pc-bar-chat-badge {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    display: inline-grid;
    place-items: center;
    min-width: 1.2rem;
    height: 1.2rem;
    padding: 0 0.3rem;
    border-radius: 50rem;
    background: var(--brand-accent);
    color: var(--brand-dark);
    font-size: 0.72rem;
}

.pc-bar-chat-badge[hidden] {
    display: none;
}

/* Puhelimella pyorea painike ilman tekstia. */
@media (max-width: 767px) {
    .wc {
        right: 1rem;
    }

    .wc-button {
        width: 52px;
        padding: 0;
        justify-content: center;
    }

    .wc-button-label {
        display: none;
    }

    .wc-badge {
        position: absolute;
        top: -0.2rem;
        right: -0.2rem;
    }

    /* Auki ollessa koko naytön sheet. Korkeus seuraa nakyvaa aluetta
       (web-chat.js: --wc-vv-h), joten nappaimisto ei peita kirjoituskenttaa,
       ja taustasivu on lukittu (html.wc-locked). */
    .wc.is-open,
    body.pc-has-bar .wc.is-open {
        top: var(--wc-vv-top, 0px);
        right: 0;
        bottom: auto;
        left: 0;
        height: var(--wc-vv-h, 100vh);
        height: calc(var(--wc-vv-h, 100dvh) + var(--wc-vv-below, 0px));
        justify-content: flex-end;
        align-items: stretch;
        gap: 0;
        padding-top: calc(0.75rem + env(safe-area-inset-top));
        background: rgba(20, 20, 20, 0.35);
        pointer-events: auto;
        overscroll-behavior: contain;
        touch-action: none;
    }

    .wc.is-open .wc-panel {
        touch-action: auto;
    }

    .wc.is-open .wc-button {
        display: none;
    }

    .wc-panel,
    .wc-panel.is-thread,
    .wc-panel.is-chat {
        width: 100%;
        height: 100%;
        max-height: none;
        border-radius: var(--close-radius) var(--close-radius) 0 0;
        padding-bottom: env(safe-area-inset-bottom);
        animation-name: wc-up;
    }

    /* Nappaimisto auki: paneeli jatkuu nappaimiston ja osoitepalkin alle,
       sisalto loppuu nakyvaan reunaan (--wc-vv-below, web-chat.js). */
    html.wc-locked .wc.is-open .wc-panel {
        padding-bottom: max(env(safe-area-inset-bottom), var(--wc-vv-below, 0px));
    }

    /* Nappaimiston avautuessa ja sulkeutuessa sisalto kutistuu samassa
       tahdissa kuin iOS:n nappaimisto (web-chat.js lisaa luokan hetkeksi). */
    html.wc-locked .wc.is-open.wc-lifting .wc-panel {
        transition: padding-bottom 0.32s cubic-bezier(0.2, 0.85, 0.25, 1);
    }

    .wc-head {
        padding: 0.9rem 1rem 0.75rem 1.25rem;
    }

    .wc-thread {
        padding: 0 0.75rem 0.75rem;
    }

    .wc-msg {
        max-width: 82%;
    }

    /* Alle 16 px kentat zoomaavat iPhonessa. */
    .wc-field input,
    .wc-field textarea,
    .wc-compose textarea {
        font-size: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wc-panel,
    .wc-msg.is-new,
    .wc-typing-dots i {
        animation: none;
    }
}

/* Osion otsikko, kun aiempi isoilla kirjaimilla kirjoitettu pikkuotsikko oli osion ainoa otsikko
   (etusivun ja huoltoautosivun korttirivit, jalleenmyyjien prosessi). */
.section-heading {
    font-family: var(--font-title);
    font-size: var(--fs-h2);
    font-weight: 500;
    line-height: 1.1;
    margin: 0 0 clamp(2rem, 4vw, 3rem);
    color: inherit;
}

/* Yksi yhteyshenkilo: kortti ei veny koko leveydelle (kuva oli tyopoydalla ~1000 px korkea). */
.sales-section .package-grid:has(> .package-card:only-child) {
    grid-template-columns: minmax(0, 26rem);
}

/* Varusteosion otsikkorivi: otsikko vasemmalla, "Fler utrustningsalternativ" samalla
   rivilla oikealla (ennen otsikko, linkki ja huomautus pinossa kolmena tasona). */
.equipment-header:has(> .cta-light) {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem 2rem;
}

.equipment-header:has(> .cta-light) h2 {
    margin-bottom: 0;
}

.equipment-header > .cta-light {
    flex-shrink: 0;
}

@media (max-width: 700px) {
    .equipment-header:has(> .cta-light) {
        flex-direction: column;
        align-items: flex-start;
    }
}

.equipment-footnote {
    margin: 2rem 0 0;
    font-family: var(--font-text);
    font-size: 0.8rem;
    color: rgba(20, 20, 20, 0.5);
    text-align: center;
}

/* ---------- Liukuvarien kohina (ks. --surface-grain) ---------- */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: var(--surface-grain);
    opacity: 0.035;
}

.dark-section::after,
.footer-contact-band::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: var(--surface-grain);
    opacity: 0.05;
}

.dark-section::after {
    z-index: -1;
}

.footer-contact-band > * {
    position: relative;
    z-index: 1;
}

/* ---------- Tunnusmerkki: kultainen hiusviiva osion otsikon ylapuolella ----------
   Korvaa isoilla kirjaimilla kirjoitetut pikkuotsikot ja numerot (01, 02 ...). */
.section-heading::before,
.equipment-header h2::before,
.why-title::before,
.package-title::before,
.dark-headline::before {
    content: "";
    display: block;
    width: 2.75rem;
    height: 1px;
    margin-bottom: clamp(1rem, 2vw, 1.4rem);
    background: linear-gradient(90deg, var(--brand-accent) 0%, rgba(180, 158, 110, 0.35) 100%);
}

/* Pitka otsikko: linkki pysyy samalla rivilla, otsikko rivittyy itse. */
@media (min-width: 701px) {
    .equipment-header:has(> .cta-light) {
        flex-wrap: nowrap;
    }

    .equipment-header:has(> .cta-light) h2 {
        flex: 1 1 auto;
        min-width: 0;
    }
}

/* ---------- Tummat korttirivit: lasipinta ja kultainen ylareuna ---------- */
.dark-block .three-cards {
    gap: clamp(1rem, 2vw, 1.5rem);
    margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.dark-block .service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: clamp(1.6rem, 2.6vw, 2.4rem);
    border-radius: 1.75rem;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 24px 60px rgba(0, 0, 0, 0.18);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.dark-block .service-card::before {
    content: "";
    position: absolute;
    top: -1px;
    left: clamp(1.6rem, 2.6vw, 2.4rem);
    width: 2.75rem;
    height: 1px;
    background: var(--brand-accent);
}

@media (hover: hover) {
    .dark-block .service-card:hover {
        border-color: rgba(180, 158, 110, 0.35);
        transform: translateY(-2px);
    }
}

.dark-block .card-title {
    margin-bottom: 0.9rem;
    line-height: 1.12;
}

.dark-block .card-text {
    color: rgba(243, 243, 243, 0.72);
    font-size: 1rem;
    line-height: 1.6;
}

/* ---------- Haitarilistat: serif-otsikot ja kultainen nuoli auki-rivilla ---------- */
.why-heading {
    font-family: var(--font-title);
    font-size: clamp(1.2rem, 0.95rem + 0.8vw, 1.55rem);
    font-weight: 400;
    letter-spacing: -0.005em;
    line-height: 1.3;
}

.why-item {
    padding: clamp(1.1rem, 1.6vw, 1.5rem) 0;
    border-bottom-color: rgba(30, 29, 27, 0.1);
}

.why-arrow .arrow-circle {
    transition: border-color 0.25s ease, background-color 0.25s ease, opacity 0.25s ease;
}

.why-item.active .why-arrow .arrow-circle {
    border-color: var(--brand-accent);
    background-color: rgba(180, 158, 110, 0.12);
}

/* Puhelinvalikko: alivalikko (tuotteet, kielet) liukuu sisaan oikealta ja
   paavalikko vasemmalle kuten iOS:ssa (ennen pelkka hairahdys paallekkain). */
@media (max-width: 900px) {
    .header-panel-view {
        transition:
            opacity 0.28s ease,
            transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
            visibility 0s linear 0.42s;
        transform: translateX(1.75rem);
    }

    .header-panel-view--menu {
        transform: translateX(-1.75rem);
    }

    .header-panel-view.active {
        transform: none;
        transition-delay: 0s;
    }
}

@media (prefers-reduced-motion: reduce) {
    .header-panel-view {
        transform: none !important;
    }
}

/* Om oss: CAPS-tuotantojarjestelma. Otsikko ja johdanto vasemmalla, kolme
   kohtaa oikealla hiusviivoin eroteltuna (ei numeroita). */
.about-page-caps {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 5vw, 5rem);
    padding: clamp(4rem, 8vw, 7rem) 0;
    align-items: start;
}

.about-page-caps-lead {
    font-family: var(--font-text);
    font-size: var(--fs-lead);
    line-height: 1.6;
    color: rgba(30, 29, 27, 0.78);
    max-width: 34rem;
}

.about-page-caps-points {
    display: grid;
}

.about-page-caps-point {
    padding: clamp(1.25rem, 2vw, 1.75rem) 0;
    border-top: 1px solid rgba(30, 29, 27, 0.12);
}

.about-page-caps-point:last-child {
    border-bottom: 1px solid rgba(30, 29, 27, 0.12);
}

.about-page-caps-point h3 {
    font-family: var(--font-title);
    font-size: clamp(1.3rem, 1rem + 0.9vw, 1.7rem);
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: var(--brand-dark);
}

.about-page-caps-point p {
    font-family: var(--font-text);
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(30, 29, 27, 0.72);
    max-width: 38rem;
}

@media (max-width: 900px) {
    .about-page-caps {
        grid-template-columns: 1fr;
    }
}

/* ---------- Puhelimen alapalkki ja yhteenvetoarkki (iOS-tyyli) ----------
   Kelluva lasikapseli: vasemmalla summa ja ylos-nuoli (palkki aukeaa
   yhteenvedoksi, myos ylos pyyhkaisemalla), oikealla chat ja Beställ.
   Arkki: kahva, ryhmitellyt valkoiset kortit, poistonapit varusteille ja
   lasinen alaosa summalla. */
.pc-line-count {
    margin-left: 0.25rem;
    font-weight: 500;
    color: var(--pc-muted);
}

.pc-line-main--removable {
    align-items: center;
}

.pc-line-main--removable .pc-line-value {
    flex: 1 1 auto;
}

.pc-line-remove {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 1.75rem;
    height: 1.75rem;
    margin: -0.2rem -0.35rem -0.2rem -0.25rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: rgba(30, 29, 27, 0.45);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.pc-line-remove:hover {
    background: rgba(30, 29, 27, 0.07);
    color: #1e1d1b;
}

.pc-line-remove svg {
    width: 0.95rem;
    height: 0.95rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

@media (max-width: 1100px) {
    .pc-bar:not([hidden]) {
        left: 0.6rem;
        right: 0.6rem;
        bottom: calc(0.6rem + env(safe-area-inset-bottom));
        gap: 0.45rem;
        padding: 0.45rem;
        border: 0;
        /* Sama kaari kuin 48 px napeilla + reunus (samankeskinen). */
        border-radius: calc(24px + 0.45rem);
        background: rgba(250, 248, 243, 0.78);
        -webkit-backdrop-filter: blur(24px) saturate(1.6);
        backdrop-filter: blur(24px) saturate(1.6);
        box-shadow: 0 0 0 1px rgba(30, 29, 27, 0.07), 0 12px 32px rgba(20, 18, 14, 0.16);
    }

    .pc-bar-total {
        flex-direction: row;
        align-items: center;
        gap: 0.6rem;
        padding: 0 0.5rem 0 0;
        border-radius: 24px;
        -webkit-tap-highlight-color: transparent;
        transition: background-color 0.2s ease;
    }

    .pc-bar-total:active {
        background: rgba(30, 29, 27, 0.05);
    }

    .pc-bar-chevron {
        display: grid;
        place-items: center;
        flex: 0 0 auto;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: rgba(30, 29, 27, 0.07);
    }

    .pc-bar-chevron svg {
        width: 1.15rem;
        height: 1.15rem;
        fill: none;
        stroke: currentColor;
        stroke-width: 2.2;
        stroke-linecap: round;
        stroke-linejoin: round;
        /* Kerran kaksi pientä nykaisya: palkin voi avata. */
        animation: pc-chevron-nudge 0.9s ease-in-out 0.8s 2;
    }

    .pc-bar-text {
        display: flex;
        flex-direction: column;
        min-width: 0;
    }

    .pc-bar-label::after {
        content: none;
    }

    /* Summa ylla, alla pelkka "exkl. moms" yhdella rivilla (configurator.php). */
    .pc-bar-label {
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .pc-bar-total strong {
        font-size: 1.1rem;
        line-height: 1.25;
        white-space: nowrap;
    }

    .pc-bar-chat {
        width: 48px;
        height: 48px;
        border: 0;
        background: rgba(30, 29, 27, 0.07);
    }

    .pc-bar .contact-submit {
        min-height: 48px;
        padding: 0 1.4rem;
    }

    body.pc-has-bar .footer {
        padding-bottom: calc(6rem + env(safe-area-inset-bottom));
    }

    .pc-sheet {
        max-height: 90vh;
        padding: 0 1rem;
        border-radius: var(--close-radius) var(--close-radius) 0 0;
        background: #f3f1ec;
        box-shadow: 0 -10px 40px rgba(20, 18, 14, 0.18);
        scrollbar-width: none;
        transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .pc-sheet::-webkit-scrollbar,
    .pc-sheet-scroll::-webkit-scrollbar {
        display: none;
    }

    /* Kahva ja otsikko paikallaan, keskiosa vierii, summa alhaalla. */
    .pc-sheet[open] {
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .pc-sheet-scroll {
        flex: 1 1 auto;
        min-height: 0;
        margin: 0 -1rem;
        padding: 0 1rem;
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: none;
    }

    .pc-sheet-close {
        position: absolute;
        top: var(--close-inset);
        right: var(--close-inset);
        z-index: 3;
    }

    .pc-sheet.is-dragging {
        transition: none;
    }

    .pc-sheet-grabber {
        flex: 0 0 auto;
        display: flex;
        justify-content: center;
        height: 1.15rem;
        margin: 0 -1rem;
        padding-top: 0.5rem;
        background: #f3f1ec;
        cursor: grab;
    }

    .pc-sheet-grabber::before {
        content: "";
        width: 2.25rem;
        height: 0.3rem;
        border-radius: 50rem;
        background: rgba(30, 29, 27, 0.2);
    }

    .pc-sheet-head {
        position: static;
        flex: 0 0 auto;
        padding: 0.4rem calc(var(--close-size) + var(--close-inset)) 0.75rem 0;
        background: #f3f1ec;
    }

    .pc-sheet .pc-preview {
        border-radius: 1.1rem;
    }

    .pc-sheet .pc-lines {
        display: grid;
        gap: 0.6rem;
        margin-top: 0.75rem;
    }

    .pc-sheet .pc-line,
    .pc-sheet .pc-line:first-child {
        padding: 0.85rem 1rem;
        border: 0;
        border-radius: 1.1rem;
        background: #fff;
    }

    .pc-sheet .pc-line-label {
        margin-bottom: 0.45rem;
        font-size: 0.78rem;
    }

    .pc-sheet .pc-line-main + .pc-line-main {
        margin-top: 0.55rem;
        padding-top: 0.55rem;
        border-top: 1px solid rgba(30, 29, 27, 0.07);
    }

    .pc-sheet .pc-fine-print {
        margin: 0.9rem 0 0.5rem;
        text-align: center;
    }

    .pc-sheet .pc-summary-foot {
        position: static;
        flex: 0 0 auto;
        margin: 0 -1rem;
        padding: 0.9rem 1rem calc(1rem + env(safe-area-inset-bottom));
        border-top: 1px solid rgba(30, 29, 27, 0.07);
        background: rgba(243, 241, 236, 0.86);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
    }
}

@keyframes pc-chevron-nudge {
    0%, 100% { transform: none; }
    40% { transform: translateY(-3px); }
}

@media (prefers-reduced-motion: reduce) {
    .pc-bar-chevron svg {
        animation: none;
    }

    .pc-sheet {
        transition: none;
    }
}

/* ---------- Sulkunapit ----------
   Kaikki sulkunapit: 40 px pyorea ympyra ohuella reunaviivalla. Kulmassa
   olevan napin kaari on samankeskinen sailion kulman kanssa, kun
   sailion kaari = napin sade + napin etaisyys reunasta (--close-radius). */
:root {
    --close-size: 40px;
    --close-inset: 12px;
    --close-radius: calc(var(--close-size) / 2 + var(--close-inset));
}

/* Chat: toiminnot (lopeta + sulje) ylakulmaan --close-inset paahan reunoista. */
.wc-head-actions {
    align-self: flex-start;
    margin-top: calc(var(--close-inset) - 1rem);
    margin-right: calc(var(--close-inset) - 1rem);
}

/* Profiilikuva vasempaan ylakulmaan samalle etaisyydelle kuin sulkunappi
   oikealla: kuvan ja paneelin kaaret samankeskiset (--close-radius). */
.wc-agents {
    align-self: flex-start;
    margin-top: calc(var(--close-inset) - 1rem);
    margin-left: calc(var(--close-inset) - 1.1rem);
}

/* Otsikko ja tila samalle keskilinjalle kuvan ja sulkunapin kanssa: lohko on
   kuvan korkuinen ja sisalto keskitetty siihen (kaksi rivia ylittaa kuvan
   hieman kummastakin paasta tasan). */
.wc-head-text {
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: var(--close-size);
    margin-top: calc(var(--close-inset) - 1rem);
}

/* Rivit eivat kutistu lohkon korkeuteen (otsikon alapidennykset leikkautuivat). */
.wc-head-text > * {
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .wc-head-actions {
        margin-top: calc(var(--close-inset) - 0.9rem);
    }

    .wc-agents {
        margin-top: calc(var(--close-inset) - 0.9rem);
        margin-left: calc(var(--close-inset) - 1.25rem);
    }

    .wc-head-text {
        margin-top: calc(var(--close-inset) - 0.9rem);
    }
}

/* Sivuston oma X-kuvake sulkunapeissa (close_light.svg). */
.pc-icon-button img,
.pc-zoom-close img,
.wc-close-icon {
    display: block;
    width: 18px;
    height: 18px;
}

/* Yhteenvetoarkki auki: taustasivu ei vierity (configurator.js openSheet).
   Kahva ja otsikko ovat vetokahvoja, joten selain ei kayta niiden
   kosketusta vieritykseen. */
html.pc-sheet-open,
html.pc-sheet-open body {
    overflow: hidden;
    overscroll-behavior: none;
}

.pc-sheet {
    overscroll-behavior: contain;
}

.pc-sheet-grabber,
.pc-sheet-head {
    touch-action: none;
}

/* ---------- Luottavat autoliikkeet (partials/trusted-dealers.php) ----------
   Otsikko vasemmalla, merkit tiiviinä ryhmänä oikealla, välissä hiusviivat.
   Logot yhdellä musteella kuin painettu merkintä: ei kortteja eikä värejä.
   Ylä- ja alareunan hiusviivat häipyvät päistään, vasemmassa alussa on
   sivuston kultainen tunnusmerkki. Logojen optinen koko tulee configista
   (--logo-width), ja koko rivi skaalautuu yhdellä kertoimella. */
.trust {
    --trust-ink: 30, 29, 27;
    --trust-scale: 1;
}

.trust--dark {
    --trust-ink: 243, 243, 243;
}

.trust-title {
    margin: 0;
    font-family: var(--font-title);
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.2;
    color: rgb(var(--trust-ink));
}

/* Otsikko merkkien kanssa samalle linjalle kirjainten eikä rivilaatikon mukaan. */
@supports (text-box: trim-both cap alphabetic) {
    .trust-title {
        text-box: trim-both cap alphabetic;
    }
}

.trust-marks,
.trust-logos {
    display: flex;
    align-items: center;
    min-width: 0;
}

.trust-logos {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Kapealla näytöllä kaikki logot pienenevät samassa suhteessa (flex-shrink on
   painotettu leveydellä), joten kolme logoa mahtuu riviin puhelimellakin. */
.trust-logo {
    display: flex;
    align-items: center;
    align-self: stretch;
    flex: 0 1 auto;
    min-width: 0;
}

.trust-logo img {
    display: block;
    width: calc(var(--logo-width) * var(--trust-scale) * 1px);
    max-width: 100%;
    height: auto;
    aspect-ratio: var(--logo-ratio);
    opacity: 0.82;
    transition: opacity 0.3s ease;
}

.trust--dark .trust-logo img {
    filter: invert(1);
}

@media (hover: hover) {
    .trust-logo:hover img {
        opacity: 1;
    }
}

.trust--band {
    --trust-gap: clamp(1.25rem, 2.1vw, 2.75rem);
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(1.5rem, 3vw, 4rem);
    margin-top: clamp(2.5rem, 4vw, 4rem);
    margin-bottom: clamp(2.5rem, 4vw, 4rem);
    padding: clamp(1.75rem, 2.4vw, 2.4rem) 0;
}

.trust--band::before,
.trust--band::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(var(--trust-ink), 0.16) 0%, rgba(var(--trust-ink), 0.16) 62%, rgba(var(--trust-ink), 0) 100%);
}

.trust--band::before {
    top: 0;
    background:
        linear-gradient(90deg, var(--brand-accent) 0%, rgba(180, 158, 110, 0.35) 100%) 0 0 / 2.75rem 1px no-repeat,
        linear-gradient(90deg, rgba(var(--trust-ink), 0.16) 0%, rgba(var(--trust-ink), 0.16) 62%, rgba(var(--trust-ink), 0) 100%);
}

.trust--band::after {
    bottom: 0;
}

.trust--band .trust-title {
    font-size: clamp(1.2rem, 1rem + 0.5vw, 1.5rem);
}

.trust--band :is(.trust-logo + .trust-logo, .google-rating--mark) {
    margin-left: var(--trust-gap);
    padding-left: var(--trust-gap);
    border-left: 1px solid rgba(var(--trust-ink), 0.12);
}

/* Seuraavan vaalean osion tausta ulottuu 9rem ylöspäin: sen yläreuna osui logorivin
   kohdalle näkyvänä saumana, joten se häivytetään. Osion oma yläväli riittää. */
.trust--band + :is(.equipment, .package-section)::before {
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16rem);
    mask-image: linear-gradient(180deg, transparent 0, #000 16rem);
}

.trust--band:has(+ :is(.equipment, .package-section)) {
    margin-bottom: 0;
}

/* Hintarivillä ja Om oss -tarinalla on jo oma alaväli. */
:is(.product-pricing, .about-page-story) + .trust--band {
    margin-top: 0;
}

.about-page-story + .trust--band {
    margin-bottom: 0;
}

/* Yli neljä liikettä (esim. 10): otsikko ja arvosana ylärivillä, logot koko leveydellä
   sen alla tasaisissa sarakkeissa. Rivin ilme ja logojen koko pysyvät samoina. */
.trust--band.trust--many .trust-marks {
    display: contents;
}

.trust--band.trust--many .trust-logos {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(var(--trust-columns), auto);
    justify-content: space-between;
    justify-items: start;
    gap: 1.6rem 2rem;
}

.trust--band.trust--many :is(.trust-logo + .trust-logo, .google-rating--mark) {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
}

.trust--band.trust--many .google-rating--mark {
    grid-column: 2;
    grid-row: 1;
    min-height: 3.2rem;
}

.trust--inline.trust--many .trust-logos {
    flex-wrap: wrap;
}

/* Tabletti: otsikko omalle rivilleen, merkit yhdessä rivissä sen alla. */
@media (max-width: 1400px) {
    .trust--band.trust--many .trust-logos {
        grid-template-columns: repeat(var(--trust-columns-tablet), auto);
    }

    .trust--band:not(.trust--many) {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
    }
}

/* Puhelin: kolme logoa rivissä koko leveydellä, arvosana omalla rivillään. */
@media (max-width: 767px) {
    .trust--band {
        --trust-scale: 0.86;
        margin-top: 2rem;
        margin-bottom: 2rem;
        padding: 1.6rem 0;
        gap: 1.25rem;
    }

    .trust--band.trust--many {
        grid-template-columns: minmax(0, 1fr);
    }

    .trust--band.trust--many .trust-logos {
        grid-row: auto;
        grid-template-columns: repeat(3, minmax(0, auto));
        gap: 1.15rem 1.25rem;
    }

    .trust--band.trust--many .google-rating--mark {
        grid-column: auto;
        grid-row: auto;
        min-height: 0;
    }

    .trust--band:not(.trust--many) .trust-marks {
        flex-direction: column;
        align-items: stretch;
        gap: 1.1rem;
    }

    .trust--band:not(.trust--many) .trust-logos {
        justify-content: space-between;
        gap: 1.5rem;
    }

    .trust--band .trust-marks .trust-logo + .trust-logo {
        margin-left: 0;
        padding-left: 0;
        border-left: 0;
    }

    .trust--band .trust-marks .google-rating--mark {
        display: flex;
        align-items: center;
        gap: 0.7rem;
        margin-left: 0;
        padding: 1.1rem 0 0;
        border-left: 0;
        border-top: 1px solid rgba(var(--trust-ink), 0.1);
    }

    .trust--band .trust-marks .google-rating--mark .google-rating-count {
        padding-top: 0;
        font-size: 0.85rem;
    }
}

/* Pieni versio lomakkeen vieressä ja konfiguraattorin lopussa. */
.trust--inline {
    --trust-scale: 0.72;
    margin-top: clamp(1.75rem, 3vw, 2.5rem);
    padding-top: clamp(1.25rem, 2vw, 1.5rem);
    border-top: 1px solid rgba(var(--trust-ink), 0.12);
}

.trust--inline .trust-title {
    font-size: 1.05rem;
    margin-bottom: 1.1rem;
}

.trust--inline .trust-marks {
    flex-wrap: wrap;
    gap: 0.9rem clamp(1.1rem, 2vw, 1.75rem);
}

.trust--inline .trust-logos {
    gap: clamp(1.1rem, 2vw, 1.75rem);
}

.trust--inline .google-rating--mark {
    min-height: 2.4rem;
}

/* ---------- Google-arvosana ja asiakkaiden arvostelut ---------- */
.review-stars {
    --star-size: 15px;
    display: inline-flex;
    flex: 0 0 auto;
    gap: 0.18rem;
}

.review-star-slot {
    position: relative;
    display: block;
    width: var(--star-size);
    height: var(--star-size);
}

.review-star {
    display: block;
    width: var(--star-size);
    height: var(--star-size);
    fill: var(--brand-accent);
}

/* Tyhjä osa: himmeä tähti kultaisen alla. */
.review-star-slot > .review-star {
    opacity: 0.28;
}

.review-star-fill {
    position: absolute;
    inset: 0 auto 0 0;
    overflow: hidden;
}

.google-rating {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem 0.6rem;
    font-family: var(--font-text);
    font-size: 0.95rem;
    line-height: 1.3;
    color: rgba(var(--trust-ink, 30, 29, 27), 0.72);
    text-decoration: none;
}

.google-rating-score {
    color: rgb(var(--trust-ink, 30, 29, 27));
    font-weight: 500;
}

/* Logorivin merkki: ylärivi (luku + tähdet) samalla linjalla logojen nimien kanssa,
   alarivi roikkuu sen alla kuten Vehon slogan. Yläreunan tyhjä 1fr pitää linjan. */
.google-rating--mark {
    display: grid;
    grid-template-rows: 1fr auto 1fr;
    justify-items: start;
    gap: 0;
    align-self: stretch;
    white-space: nowrap;
}

.google-rating-top {
    grid-row: 2;
    display: inline-flex;
    align-items: center;
    gap: calc(0.6rem * var(--trust-scale, 1));
    height: calc(1.35rem * var(--trust-scale, 1));
}

.google-rating--mark .google-rating-count {
    grid-row: 3;
    padding-top: calc(0.28rem * var(--trust-scale, 1));
    font-size: max(0.66rem, calc(0.76rem * var(--trust-scale, 1)));
    line-height: 1.1;
}

/* Suorat numerot: Playfairin oletusnumerot laskeutuvat rivin alle. */
.google-rating-number {
    font-family: var(--font-title);
    font-size: calc(1.85rem * var(--trust-scale, 1));
    line-height: 1;
    letter-spacing: -0.02em;
    font-variant-numeric: lining-nums;
    color: rgba(var(--trust-ink, 30, 29, 27), 0.86);
}

@supports (text-box: trim-both cap alphabetic) {
    .google-rating-number {
        text-box: trim-both cap alphabetic;
    }
}

.google-rating--mark .review-stars {
    --star-size: calc(17px * var(--trust-scale, 1));
}

a.google-rating--line .google-rating-count {
    text-decoration: underline;
    text-decoration-color: rgba(var(--trust-ink, 30, 29, 27), 0.25);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.25em;
    transition: text-decoration-color 0.25s ease;
}

@media (hover: hover) {
    a.google-rating--line:hover .google-rating-count {
        text-decoration-color: var(--brand-accent);
    }

    a.google-rating--mark .google-rating-count {
        transition: color 0.25s ease;
    }

    a.google-rating--mark:hover .google-rating-count {
        color: rgb(var(--trust-ink, 30, 29, 27));
    }
}

/* Edellisen osion tausta jatkuu 9rem tämän päälle: häivytetään, ettei reuna näy saumana. */
:is(.equipment, .why-section, .gallery-section, .package-section):has(+ .reviews-section)::before {
    -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 14rem);
    mask-image: linear-gradient(0deg, transparent 0, #000 14rem);
}

.reviews-section {
    position: relative;
    z-index: 1;
    padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.reviews-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem 2rem;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.reviews-head .section-heading {
    margin-bottom: 0;
}

/* Kaikki tekstit ruudukkona; rivien ja sarakkeiden välissä hiusviivat. */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.reviews-grid:focus-visible {
    outline: 2px solid var(--brand-accent);
    outline-offset: 0.75rem;
}

.review-card {
    --review-pad: clamp(1.5rem, 3vw, 3rem);
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    min-width: 0;
    margin: 0;
    padding: 0.25rem var(--review-pad);
    border-left: 1px solid rgba(30, 29, 27, 0.12);
}

.review-card:nth-child(3n + 1) {
    padding-left: 0;
    border-left: 0;
}

.review-card:nth-child(3n) {
    padding-right: 0;
}

.review-card:nth-child(n + 4) {
    position: relative;
    margin-top: 2.25rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(30, 29, 27, 0.12);
}

/* Vajaan rivin loppu: linkki kaikkiin arvosteluihin. */
.review-card--all {
    grid-column: span var(--review-span, 1);
    flex-direction: row;
    align-items: center;
    gap: 0.9rem;
    font-family: var(--font-text);
    font-size: 1rem;
    color: var(--brand-dark);
    text-decoration: none;
}

.review-card--all .arrow-circle-light {
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

@media (hover: hover) {
    .review-card--all:hover .arrow-circle-light {
        border-color: var(--brand-accent);
        background-color: rgba(180, 158, 110, 0.12);
    }
}

.reviews-more {
    margin-top: 2.25rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(30, 29, 27, 0.12);
}

.reviews-more summary {
    width: fit-content;
    cursor: pointer;
    font-family: var(--font-text);
    font-size: 1rem;
    text-decoration: underline;
    text-decoration-color: rgba(30, 29, 27, 0.25);
    text-underline-offset: 0.3em;
    list-style: none;
}

.reviews-more summary::-webkit-details-marker {
    display: none;
}

.reviews-more[open] summary {
    margin-bottom: 2.25rem;
}

.review-text {
    margin: 0;
    font-family: var(--font-title);
    font-size: clamp(1.15rem, 0.95rem + 0.6vw, 1.45rem);
    line-height: 1.45;
    letter-spacing: -0.005em;
    color: var(--brand-dark);
}

.review-author {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-top: auto;
    font-family: var(--font-text);
    font-size: 0.95rem;
}

.review-name {
    font-weight: 500;
    color: var(--brand-dark);
}

.review-date {
    font-size: 0.85rem;
    color: rgba(30, 29, 27, 0.58);
}

.reviews-note {
    max-width: 62rem;
    margin: clamp(1.75rem, 3vw, 2.5rem) 0 0;
    font-family: var(--font-text);
    font-size: 0.8rem;
    line-height: 1.6;
    color: rgba(30, 29, 27, 0.58);
}

.reviews-note a {
    color: inherit;
    text-underline-offset: 0.2em;
}

/* Tabletti: kaksi saraketta. */
@media (min-width: 768px) and (max-width: 1000px) {
    .reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .review-card:nth-child(n) {
        padding-left: var(--review-pad);
        padding-right: var(--review-pad);
        border-left: 1px solid rgba(30, 29, 27, 0.12);
    }

    .review-card:nth-child(odd) {
        padding-left: 0;
        border-left: 0;
    }

    .review-card:nth-child(even) {
        padding-right: 0;
    }

    .review-card:nth-child(3) {
        margin-top: 2.25rem;
        padding-top: 2.5rem;
        border-top: 1px solid rgba(30, 29, 27, 0.12);
    }
}

/* Puhelin: sivuttain pyyhittävä rivi, seuraava kortti näkyy reunassa. */
@media (max-width: 767px) {
    .reviews-grid {
        display: flex;
        gap: 0;
        margin-inline: calc((100% - 100vw) / 2);
        padding-inline: calc((100vw - 100%) / 2);
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 24px;
        scrollbar-width: none;
        overscroll-behavior-x: contain;
    }

    .reviews-grid::-webkit-scrollbar {
        display: none;
    }

    .review-card:nth-child(n) {
        flex: 0 0 78%;
        gap: 0.9rem;
        margin-top: 0;
        padding: 0.1rem 1.5rem;
        border-top: 0;
        border-left: 1px solid rgba(30, 29, 27, 0.12);
        scroll-snap-align: start;
    }

    .review-card:nth-child(1) {
        padding-left: 0;
        border-left: 0;
    }

    .review-card--all:nth-child(n) {
        flex-basis: 70%;
        justify-content: center;
    }
}
