/*
Theme Name: ADM Auto (Blocksy Child)
Template: blocksy
Description: Child theme for the ADM Auto car listing site. Adds templates for the car catalog on top of Blocksy.
Version: 1.59
Text Domain: adm-auto
Domain Path: /languages
*/

:root {
    /* Brand palette — see docs/brand-colors.md. Orange is an accent; the visual
       base stays black, white and graphite. */
    --b2d-black: #080808;
    --b2d-orange: #ff6500;
    --b2d-graphite: #2f3033;
    --b2d-white: #ffffff;
    --b2d-grey: #f3f3f3;

    /* Roles used across this file. */
    --adm-ink: var(--b2d-black); /* headings, prices, text links */
    --adm-accent: var(--b2d-orange); /* CTA fills, active states, icons, dots */
    --adm-accent-dark: #e05a00; /* hover on accent fills */
    --adm-accent-light: #ffe8d9; /* focus rings */
}
/* Blocksy's palette lives in the database (Customizer); re-pointed here so the
   theme's own links, buttons and text follow the brand in every copy of the
   site. html:root outranks Blocksy's inline ":root" block, which prints after
   this file. 1 = accent, 2 = accent hover, 3 = text, 4 = headings, 5 = borders,
   6 = light sections, 7 = page background, 8 = white. */
html:root {
    --theme-palette-color-1: var(--b2d-orange);
    --theme-palette-color-2: #e05a00;
    --theme-palette-color-3: var(--b2d-graphite);
    --theme-palette-color-4: var(--b2d-black);
    --theme-palette-color-5: #e4e4e7;
    --theme-palette-color-6: var(--b2d-grey);
    --theme-palette-color-7: #fafafa;
    --theme-palette-color-8: var(--b2d-white);
}

/* ---------- Home landing hero ---------- */
/* Full-bleed band right under the header: Blocksy's top content spacing is
   dropped on the home page, and the hero breaks out of the content column to
   the viewport edges (its inner .ct-container lines the text up with the content). */
.home .ct-container-full[data-vertical-spacing*="top"] {
    padding-top: 0;
}
body {
    overflow-x: clip;
} /* 100vw counts the scrollbar on Windows — don't let it scroll sideways */
.entry-content > .adm-auto-landing-hero {
    box-sizing: border-box;
    width: 100vw;
    /* !important only to beat core/Blocksy's own !important width + auto margins on constrained-layout children. */
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: 0 !important;
    margin-bottom: 40px;
}
.adm-auto-landing-hero {
    background: linear-gradient(
        135deg,
        var(--b2d-graphite) 0%,
        var(--b2d-black) 100%
    );
    color: #fff;
    /* Bottom: room for the search card that overlaps it (margin-top below). */
    padding: 96px 24px 160px;
    text-align: left;
}
.adm-auto-landing-hero h1 {
    color: #fff;
    font-size: 48px;
    line-height: 1.15;
    max-width: 640px;
    margin: 0 0 14px;
}
@media (max-width: 768px) {
    .adm-auto-landing-hero {
        padding: 40px 0 136px;
    }
    .adm-auto-landing-hero h1 {
        font-size: 34px;
    }
}
/* Soft shadow so the text stays crisp over a Home Banner photo too. */
.adm-auto-landing-hero h1,
.adm-auto-landing-hero > .ct-container > p {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
.adm-auto-landing-hero p {
    font-size: 18px;
    opacity: 0.92;
    max-width: 560px;
    margin: 0;
}
.adm-auto-landing-hero .adm-auto-contact-btn {
    background: #fff;
    color: var(--adm-ink);
}
.adm-auto-landing-hero .adm-auto-contact-btn:hover {
    background: #f0f0f0;
}

/* ---------- Search form (home hero + archive) ---------- */
.adm-auto-search-form {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    align-items: end;
    gap: 14px;
    background: #fff;
    padding: 20px;
    border-radius: 14px;
    max-width: 960px;
    margin: 0 auto;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}
.adm-auto-field {
    flex: 1 1 170px;
    min-width: 150px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}
.adm-auto-field label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #4a4b50;
}
.adm-auto-search-form select,
.adm-auto-range input {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 44px;
    line-height: 1.4;
    padding: 11px 12px;
    border: 1.5px solid #cfd0d4;
    border-radius: 8px;
    color: var(--adm-ink);
    background: #fff;
    font-size: 15px;
    text-overflow: ellipsis;
}
.adm-auto-search-form select:focus,
.adm-auto-range input:focus {
    outline: none;
    border-color: var(--adm-accent);
    box-shadow: 0 0 0 3px var(--adm-accent-light);
}
.adm-auto-search-form select:disabled {
    background: var(--b2d-grey);
    color: #9a9ca1;
}
.adm-auto-range {
    display: flex;
    align-items: center;
    gap: 6px;
}
.adm-auto-range input {
    flex: 1 1 90px;
    width: 0;
}
.adm-auto-range span {
    color: #999;
}
/* Blocksy's [type=submit] rule ties this button's specificity and adds its
   own height/border/pseudo-glow — "all: unset" wipes that out first so it
   matches every other .adm-auto-contact-btn-style button on the site. */
.adm-auto-search-form button.adm-auto-search-submit {
    all: unset;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 12px 28px;
    background: var(--adm-accent);
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s ease;
}
.adm-auto-search-form button.adm-auto-search-submit:hover {
    background: var(--adm-accent-dark);
}
.adm-auto-search-form button.adm-auto-search-submit:before {
    display: none;
}

/* "More filters" toggle: shares the last row with the Search button
   (all columns but the last), opens into its own row of fields. */
.adm-auto-more-filters {
    grid-column: 1 / -2;
    align-self: start;
}
.adm-auto-more-filters summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    font-weight: 700;
    font-size: 14px;
    color: var(--adm-ink);
    cursor: pointer;
    list-style: none;
}
.adm-auto-more-filters summary::-webkit-details-marker {
    display: none;
}
.adm-auto-more-filters summary::after {
    content: "▾";
    transition: transform 0.2s ease;
}
.adm-auto-more-filters[open] summary::after {
    transform: rotate(180deg);
}
.adm-auto-more-filters summary:hover {
    color: var(--adm-accent);
}
.adm-auto-more-filters-fields {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
    margin-top: 8px;
}
.adm-auto-search-form button.adm-auto-search-submit {
    align-self: start;
}

@media (max-width: 640px) {
    .adm-auto-search-form {
        grid-template-columns: 1fr;
    }
    .adm-auto-more-filters {
        grid-column: 1 / -1;
    }
}

/* Home hero search ([adm_auto_search_form layout="hero"]): sits right after the
   hero and pulls up over its bottom edge. White card of make/body/fuel/gearbox
   + "More filters" toggle, then the Search button and the in-stock count. The
   toggle grows the card in place — the hero photo above doesn't re-scale. */
.adm-auto-search-form--hero {
    display: block;
    position: relative;
    z-index: 2;
    /* Same width as the blocks below (the base form rule caps it at 960px). */
    max-width: var(
        --wp--style--global--content-size,
        var(--theme-block-max-width)
    );
    margin-top: -112px;
    margin-bottom: 40px;
    padding: 0;
    background: none;
    box-shadow: none;
}
/* The count row under the card reads as part of the card, so the usual 64px
   section gap (the next title's margin) looked too big here — the block after
   the form starts at the form's own 40px instead. The first form's make/model
   <script> may sit in between. */
.adm-auto-search-form--hero + *,
.adm-auto-search-form--hero + * > :first-child,
.adm-auto-search-form--hero + script + *,
.adm-auto-search-form--hero + script + * > :first-child {
    margin-top: 0;
}
.adm-auto-search-card {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
    align-items: end;
    gap: 16px;
    padding: 22px;
    background: #fff;
    border: 1px solid #e4e4e7;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(8, 8, 8, 0.14);
}
.adm-auto-search-form--hero .adm-auto-field {
    min-width: 0;
}
.adm-auto-search-form--hero .adm-auto-field label {
    font-size: 14px;
    text-transform: none;
    letter-spacing: 0;
}
.adm-auto-search-form--hero select,
.adm-auto-search-form--hero .adm-auto-range input {
    min-height: 50px;
    border-radius: 10px;
}
/* Visually hidden but still focusable; the label is the visible toggle. */
.adm-auto-more-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}
.adm-auto-more-toggle-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 50px;
    padding: 0 4px;
    font-weight: 700;
    color: var(--adm-ink);
    cursor: pointer;
    user-select: none;
}
.adm-auto-more-toggle-label::after {
    content: "+";
    font-size: 28px;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.2s ease;
}
.adm-auto-more-toggle:checked + .adm-auto-more-toggle-label::after {
    transform: rotate(45deg);
}
.adm-auto-more-toggle:focus-visible + .adm-auto-more-toggle-label {
    outline: 2px solid var(--adm-accent);
    outline-offset: 2px;
    border-radius: 6px;
}
.adm-auto-search-card .adm-auto-more-filters-fields {
    display: none;
    grid-column: 1 / -1;
    margin: 0;
}
.adm-auto-more-toggle:checked ~ .adm-auto-more-filters-fields {
    display: grid;
}
.adm-auto-search-footer {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    margin-top: 16px;
}
.adm-auto-search-form--hero button.adm-auto-search-submit {
    height: 54px;
    padding: 0 56px;
    border-radius: 12px;
    font-size: 17px;
}
.adm-auto-search-count {
    font-weight: 700;
    color: var(--adm-ink);
}
@media (max-width: 900px) {
    .adm-auto-search-card {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        padding: 18px;
    }
    .adm-auto-search-card .adm-auto-field-make {
        grid-column: 1 / -1;
    }
    /* Model takes Body type's place; Body moves under "More filters" (shown
       first when it's open — order puts it after the toggle). */
    .adm-auto-search-card .adm-auto-field-car_body {
        display: none;
        order: 1;
    }
    .adm-auto-search-card:has(.adm-auto-more-toggle:checked)
        .adm-auto-field-car_body {
        display: flex;
    }
    .adm-auto-search-card .adm-auto-more-filters-fields {
        order: 2;
    }
    .adm-auto-search-card .adm-auto-more-filters-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .adm-auto-search-card .adm-auto-field-range,
    .adm-auto-search-card .adm-auto-check {
        grid-column: 1 / -1;
    }
    .adm-auto-search-footer {
        flex-direction: column;
        align-items: stretch;
    }
    .adm-auto-search-form--hero button.adm-auto-search-submit {
        align-self: stretch;
    }
}

.adm-auto-section-title {
    font-size: 30px;
    margin: 64px 0 8px;
    color: var(--adm-ink);
    text-align: left;
}
/* Home "Popular makes": one slim strip under the hero — label, then grey logos
   that colour up on hover, each with a small in-stock count. Swipeable on phones. */
.adm-auto-makes {
    display: flex;
    align-items: center;
    gap: 8px 24px;
    max-width: var(--theme-normal-container-max-width, 1290px);
    margin: 0 auto;
    padding: 14px 0;
    border-bottom: 1px solid #e4e4e7;
}
.adm-auto-makes-label {
    flex: none;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6e7076;
}
.adm-auto-makes ul {
    display: flex;
    align-items: center;
    gap: 4px 28px;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.adm-auto-makes li {
    flex: none;
    margin: 0;
}
.adm-auto-makes a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #2f3033;
    text-decoration: none;
}
.adm-auto-makes img {
    width: auto;
    height: 32px;
    max-width: 72px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.65;
    transition:
        filter 0.15s ease,
        opacity 0.15s ease;
}
.adm-auto-makes a:hover img {
    filter: none;
    opacity: 1;
}
.adm-auto-make-name {
    font-weight: 700;
    font-size: 15px;
}
.adm-auto-makes a:hover .adm-auto-make-name {
    color: var(--adm-accent);
}
.adm-auto-make-count {
    font-size: 12px;
    color: #8b8d92;
}
@media (max-width: 600px) {
    .adm-auto-makes {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 0;
    }
    .adm-auto-makes ul {
        max-width: 100%;
    }
}

/* ---------- Why choose us ---------- */
/* Cards: round icon left, title + text right. 2×2 on desktop, a list on phones. */
.adm-auto-why {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 24px 0 8px;
}
.adm-auto-why-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    align-content: center;
    column-gap: 20px;
    row-gap: 4px;
    padding: 24px;
    background: #fff;
    border: 1px solid #e4e4e7;
    border-radius: 16px;
}
.adm-auto-why-item .adm-auto-why-icon {
    grid-row: 1 / 3;
    align-self: center;
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--b2d-grey);
    color: var(--adm-accent);
}
.adm-auto-why-icon svg {
    width: 24px;
    height: 24px;
}
.adm-auto-why-item h3 {
    font-size: 18px;
    margin: 0;
    color: var(--adm-ink);
}
.adm-auto-why-item p {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: #5c5e63;
}
@media (max-width: 780px) {
    .adm-auto-why {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .adm-auto-why-item {
        grid-template-columns: 56px 1fr;
        column-gap: 18px;
        padding: 20px;
    }
    .adm-auto-why-item .adm-auto-why-icon {
        width: 56px;
        height: 56px;
    }
}

/* Home only, phones: a swipeable row (native scroll-snap, no JS). The row runs
   to the screen edges and the next card peeks in, so it's clear there's more.
   The About page keeps the plain list above. */
@media (max-width: 780px) {
    .home .adm-auto-why {
        /* The content column is full width with each block narrowed to
           --theme-block-width (!important beats that and the auto margins):
           the row takes the whole width and pads back to the column edge. */
        --why-edge: calc((100% - min(var(--theme-block-width, 100%), var(--theme-block-max-width, 100%))) / 2);
        display: flex;
        gap: 12px;
        width: auto !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 2px var(--why-edge) 8px;
        scroll-padding-inline: var(--why-edge);
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }
    .home .adm-auto-why::-webkit-scrollbar {
        display: none;
    }
    .home .adm-auto-why-item {
        flex: 0 0 78%;
        grid-template-columns: 1fr;
        align-content: start;
        row-gap: 8px;
        scroll-snap-align: start;
    }
    .home .adm-auto-why-item .adm-auto-why-icon {
        grid-row: auto;
        width: 52px;
        height: 52px;
        margin-bottom: 6px;
    }
}

/* ---------- How it works ---------- */
/* Grey panel with its title inside; numbered steps joined by a dashed line —
   side by side on desktop, a vertical timeline on phones. Step 1 is filled,
   the rest are outlined. */
.adm-auto-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 64px 0 8px;
    padding: 40px;
    background: var(--b2d-grey);
    border-radius: 16px;
}
.home .adm-auto-steps .adm-auto-section-title {
    grid-column: 1 / -1;
    margin: 0 0 8px;
}
.adm-auto-step {
    position: relative;
}
.adm-auto-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 25px;
    left: 52px;
    right: -24px;
    border-top: 2px dashed var(--adm-accent);
    opacity: 0.45;
}
.adm-auto-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    border: 2px solid var(--adm-accent);
    border-radius: 50%;
    background: #fff;
    color: var(--adm-accent);
    font-weight: 800;
    font-size: 20px;
}
.adm-auto-step:first-of-type .adm-auto-step-number {
    background: var(--adm-accent);
    color: #fff;
}
.adm-auto-step h3 {
    font-size: 18px;
    margin: 0 0 6px;
    color: var(--adm-ink);
}
.adm-auto-step p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #5c5e63;
}
@media (max-width: 780px) {
    .adm-auto-steps {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 28px 20px;
    }
    .home .adm-auto-steps .adm-auto-section-title {
        margin-bottom: 24px;
    }
    .adm-auto-step {
        display: grid;
        grid-template-columns: 52px 1fr;
        column-gap: 20px;
        padding-bottom: 32px;
    }
    .adm-auto-step:last-child {
        padding-bottom: 0;
    }
    .adm-auto-step-number {
        grid-row: 1 / 3;
        margin: 0;
    }
    .adm-auto-step h3 {
        margin-top: 12px;
    }
    .adm-auto-step:not(:last-child)::after {
        top: 52px;
        bottom: 0;
        left: 25px;
        right: auto;
        border-top: 0;
        border-left: 2px dashed var(--adm-accent);
    }
}

/* ---------- Page head (About / Contact / Sell / legal: a Group block with class
   adm-auto-page-hero) — plain title + lead on the page background, left-aligned
   like the catalog head and the home section titles. ---------- */
.wp-block-group.adm-auto-page-hero {
    margin: 0 0 32px;
    padding: 0;
    text-align: left;
}
.adm-auto-page-hero h1 {
    margin: 0 0 8px;
    font-size: 40px;
    line-height: 1.15;
    color: var(--adm-ink);
}
.adm-auto-page-hero p {
    max-width: 720px;
    margin: 0;
    font-size: 18px;
    line-height: 1.7;
    color: #5c5e63;
}

/* ---------- Contact page ---------- */
.adm-auto-contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 0 0 8px;
}
.adm-auto-contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 28px 20px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 14px;
    text-align: center;
    text-decoration: none;
    color: var(--adm-ink);
    transition:
        box-shadow 0.2s ease,
        transform 0.2s ease;
}
.adm-auto-contact-card:hover {
    box-shadow: 0 12px 28px rgba(255, 101, 0, 0.15);
    transform: translateY(-2px);
}
.adm-auto-contact-card svg {
    width: 44px;
    height: 44px;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 12px;
    background: var(--b2d-grey);
    color: var(--adm-accent);
    margin-bottom: 6px;
}
.adm-auto-contact-card-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6e7076;
}
.adm-auto-contact-card-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--adm-ink);
    word-break: break-word;
}

@media (max-width: 900px) {
    .adm-auto-page-hero h1 {
        font-size: 34px;
    }
}

/* ---------- About page: closing "Come and see us" text + two buttons (core paragraphs) ---------- */
/* Left-aligned like the title above (!important beats the editor's
   has-text-align-center saved in the page content). */
.adm-auto-about-cta-text {
    color: #5c5e63;
    margin-bottom: 0;
    text-align: left !important;
}
.adm-auto-about-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 48px;
}

/* ---------- Our network (landing) ----------
   One white card: branch map left, contact panel(s) right; stacked on phones. */
.adm-auto-network {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    margin: 24px 0 8px;
    background: #fff;
    border: 1.5px solid #e4e4e7;
    border-radius: 16px;
    overflow: hidden;
}
.adm-auto-network-map {
    /* Own stacking context: Leaflet's panes/controls (z-index 400–1000) stay
	   inside the map instead of covering the sticky call bar, header or menu. */
    isolation: isolate;
    height: 100%;
    min-height: 360px;
}
/* Leaflet's stock marker is a blue PNG — tint it to brand orange. */
.adm-auto-network-map .leaflet-marker-icon {
    filter: hue-rotate(170deg) saturate(2.2) brightness(1.15);
}
.adm-auto-network-map iframe {
    width: 100%;
    height: 100%;
    min-height: 360px;
    border: 0;
    display: block;
}
.adm-auto-network-branches {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.adm-auto-network-branch {
    padding: 32px;
}
/* Branch switcher (only with 2+ branches): name chips, scroll sideways if many. */
.adm-auto-network-tabs {
    display: flex;
    gap: 8px;
    padding: 24px 32px 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.adm-auto-network-tab {
    flex: none;
    min-height: 38px;
    padding: 0 16px;
    border: 1.5px solid #e4e4e7;
    border-radius: 999px;
    background: #fff;
    color: var(--adm-ink);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.adm-auto-network-tab:hover {
    border-color: var(--adm-accent);
    color: var(--adm-accent);
}
.adm-auto-network-tab[aria-selected="true"] {
    border-color: var(--adm-accent);
    background: var(--adm-accent);
    color: #fff;
}
.adm-auto-network-tabs ~ .adm-auto-network-branch {
    padding-top: 20px;
}
.adm-auto-network-branch h3 {
    margin: 0 0 4px;
    font-size: 22px;
    color: var(--adm-ink);
}
.adm-auto-network-address {
    margin: 0 0 20px;
    color: #5c5e63;
}
.adm-auto-network-branch svg {
    flex: none;
    width: 22px;
    height: 22px;
}
.adm-auto-network-call,
.adm-auto-network-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 16px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}
.adm-auto-network-call {
    background: var(--adm-accent);
    color: #fff;
    font-size: 17px;
}
.adm-auto-network-call:hover {
    background: var(--adm-accent-dark);
    color: #fff;
}
.adm-auto-network-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 12px;
}
.adm-auto-network-action {
    border: 1.5px solid #e4e4e7;
    color: var(--adm-ink);
}
.adm-auto-network-action:hover {
    border-color: var(--adm-accent);
    color: var(--adm-accent);
}
.adm-auto-network-whatsapp {
    color: #25d366;
}
.adm-auto-network-email {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #e4e4e7;
    color: var(--adm-ink);
    text-decoration: none;
}
.adm-auto-network-email span {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}
.adm-auto-network-email svg {
    color: var(--adm-ink);
}
.adm-auto-network-email .adm-auto-network-chevron {
    width: 18px;
    color: #6e7076;
}
/* Social icons under the email — phones only (the contact aside has them on desktop). */
.adm-auto-network-social {
    display: none;
}
@media (max-width: 780px) {
    /* Own row under the email, split off by the same thin line as the email row. */
    .adm-auto-network-social {
        display: block;
        margin-top: 18px;
        padding-top: 18px;
        border-top: 1px solid #e4e4e7;
    }
    .adm-auto-network-social .adm-auto-social {
        justify-content: flex-start;
    }
}
.adm-auto-network-social .adm-auto-social a {
    background: var(--b2d-grey);
    color: var(--adm-accent);
}
.adm-auto-network-social .adm-auto-social a:hover {
    background: var(--adm-accent);
    color: #fff;
}
.adm-auto-network-email:hover,
.adm-auto-network-email:hover .adm-auto-network-chevron {
    color: var(--adm-accent);
}

@media (max-width: 780px) {
    .adm-auto-network {
        grid-template-columns: 1fr;
    }
    .adm-auto-network-map,
    .adm-auto-network-map iframe {
        min-height: 220px;
    }
    .adm-auto-network-branch {
        padding: 22px 20px;
    }
    .adm-auto-network-tabs {
        padding: 20px 20px 0;
    }
}

/* ---------- Sticky header ----------
   Blocksy's own sticky header is a Pro feature, so it's plain position: sticky.
   Ancestors (body, #main-container) use overflow: clip, which doesn't create a
   scroll container — an overflow: hidden/auto on any of them would break it.
   --admin-bar comes from Blocksy (32/46px, 0 on phones where the bar scrolls away).
   --adm-header-h is the header row height, used to push down everything that
   sticks or scrolls to an anchor so it doesn't end up under the header. */
:root {
    --adm-header-h: 80px;
}
#header {
    position: sticky;
    top: var(--admin-bar, 0px);
    z-index: 50;
    box-shadow: 0 1px 0 rgba(8, 8, 8, 0.08);
}
html {
    scroll-padding-top: calc(
        var(--adm-header-h) + var(--admin-bar, 0px) + 16px
    );
}
/* Blocksy's mobile header (≤999px): a shorter row so the sticky bar eats less of a phone screen. */
@media (max-width: 999.98px) {
    :root {
        --adm-header-h: 64px;
    }
    #header [data-device="mobile"] [data-row*="middle"] {
        --height: 64px;
    }
}

/* ---------- Header phone (click to copy, see header-phone.js) ---------- */
.adm-auto-header-phone {
    display: flex;
    align-items: center;
    margin-left: 12px;
}
.adm-auto-header-phone a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--b2d-grey);
    color: var(--adm-ink);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: none;
    text-decoration: none;
    white-space: nowrap;
    transition:
        background 0.15s ease,
        color 0.15s ease;
}
.adm-auto-header-phone a:hover {
    background: var(--adm-accent);
    color: #fff;
}
.adm-auto-header-phone svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}
/* Blocksy draws its menu hover/active indicator with a::before/::after — not for this pill. */
.adm-auto-header-phone a::before,
.adm-auto-header-phone a::after {
    display: none !important;
}
/* "Number copied" bubble under the pill (text set by header-phone.js). */
.adm-auto-copied-toast {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translate(-50%, -4px);
    padding: 6px 12px;
    border-radius: 8px;
    background: var(--adm-ink);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
    z-index: 10;
}
.adm-auto-header-phone a.is-copied {
    background: #1a7a3a;
    color: #fff;
}
.adm-auto-header-phone a.is-copied .adm-auto-copied-toast {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* ---------- Header WhatsApp (round icon next to the phone pill) ---------- */
.adm-auto-header-whatsapp {
    display: flex;
    align-items: center;
    margin-left: 8px;
}
.adm-auto-header-whatsapp a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    transition: background 0.15s ease;
}
.adm-auto-header-whatsapp a:hover {
    background: #1ebe5a;
    color: #fff;
}
.adm-auto-header-whatsapp svg {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
}
.adm-auto-header-whatsapp-label {
    display: none;
} /* icon-only in the header; aria-label names it */
.adm-auto-header-whatsapp a::before,
.adm-auto-header-whatsapp a::after {
    display: none !important;
}

/* ---------- Language switcher ---------- */
.adm-auto-lang-switcher {
    display: flex;
    align-items: center;
    margin-left: 8px;
}
.adm-auto-lang-switcher ul {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 3px;
    background: var(--b2d-grey);
    border-radius: 999px;
}
.adm-auto-lang-switcher li {
    list-style: none;
}
.adm-auto-lang-switcher a {
    display: block;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-decoration: none;
    color: #4a4b50;
    border-radius: 999px;
    transition:
        background 0.15s ease,
        color 0.15s ease;
}
.adm-auto-lang-switcher a:hover {
    color: var(--adm-accent);
}
.adm-auto-lang-switcher .current-lang a {
    background: var(--adm-accent);
    color: #fff;
}

/* ---------- Mobile menu (Blocksy off-canvas panel #offcanvas) ----------
   Light panel in the site's style instead of Blocksy's dark translucent one:
   rows with dividers, full-width "call" button (a tap dials — header-phone.js
   only copies on mouse devices), EN/PL as a two-button toggle. */
/* One step more specific than Blocksy's "[data-header*=type-1] #offcanvas …"
   rules, which are printed after this stylesheet. */
[data-header] #offcanvas.ct-panel {
    background-color: rgba(10, 25, 60, 0.45);
    --side-panel-width: min(88vw, 380px);
}
[data-header] #offcanvas.ct-panel .ct-panel-inner {
    background: #fff;
}
#offcanvas .ct-panel-actions {
    padding: 16px 20px 0;
}
#offcanvas .ct-toggle-close {
    --theme-icon-color: var(--adm-ink);
    --theme-icon-hover-color: var(--adm-accent);
    --toggle-button-size: 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--b2d-grey);
}
#offcanvas .ct-panel-content-inner {
    padding: 8px 24px 32px;
}
#offcanvas [data-id="mobile-menu"] {
    --theme-font-size: 18px;
    --theme-font-weight: 600;
    --theme-link-initial-color: var(--adm-ink);
    --theme-link-hover-color: var(--adm-accent);
    --theme-link-active-color: var(--adm-accent);
}
#offcanvas
    .mobile-menu
    > ul
    > li:not(.adm-auto-header-phone):not(.adm-auto-header-whatsapp):not(
        .adm-auto-lang-switcher
    ) {
    border-bottom: 1px solid var(--b2d-grey);
}
#offcanvas .mobile-menu > ul > li > .ct-menu-link {
    justify-content: space-between;
    padding: 16px 0;
}
#offcanvas .mobile-menu > ul > li > .ct-menu-link::after {
    content: "›";
    font-size: 22px;
    line-height: 1;
    color: #9a9ca1;
}
#offcanvas .mobile-menu > ul > li.current-menu-item > .ct-menu-link,
#offcanvas .mobile-menu > ul > li.current-menu-item > .ct-menu-link::after {
    color: var(--adm-accent);
}

#offcanvas .mobile-menu .adm-auto-header-phone {
    margin: 28px 0 0;
}
#offcanvas .mobile-menu .adm-auto-header-phone a {
    width: 100%;
    justify-content: center;
    gap: 10px;
    padding: 15px 18px;
    border-radius: 12px;
    background: var(--adm-accent);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(255, 101, 0, 0.25);
}
#offcanvas .mobile-menu .adm-auto-header-phone svg {
    width: 18px;
    height: 18px;
}
#offcanvas .mobile-menu .adm-auto-header-whatsapp {
    margin: 10px 0 0;
}
#offcanvas .mobile-menu .adm-auto-header-whatsapp a {
    width: 100%;
    height: auto;
    justify-content: center;
    gap: 10px;
    padding: 15px 18px;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 700;
}
#offcanvas .mobile-menu .adm-auto-header-whatsapp svg {
    width: 20px;
    height: 20px;
}
#offcanvas .mobile-menu .adm-auto-header-whatsapp-label {
    display: inline;
}
#offcanvas .mobile-menu .adm-auto-lang-switcher {
    margin: 16px 0 0;
}
#offcanvas .mobile-menu .adm-auto-lang-switcher ul {
    width: 100%;
    padding: 4px;
    border-radius: 12px;
}
#offcanvas .mobile-menu .adm-auto-lang-switcher li {
    flex: 1;
}
#offcanvas .mobile-menu .adm-auto-lang-switcher a {
    padding: 10px 0;
    border-radius: 9px;
    text-align: center;
    font-size: 14px;
    text-transform: uppercase;
}

/* ---------- Mobile header bar: call + WhatsApp icons next to the burger ---------- */
.adm-auto-mobile-header-contacts {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 12px;
}
.adm-auto-mobile-header-contacts a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #fff;
    transition:
        transform 0.15s ease,
        background 0.2s ease;
}
.adm-auto-mobile-header-contacts a:active {
    transform: scale(0.92);
}
.adm-auto-mobile-header-contacts svg {
    width: 20px;
    height: 20px;
}
.adm-auto-mobile-header-call {
    background: var(--adm-accent);
    box-shadow: 0 4px 12px rgba(255, 101, 0, 0.3);
}
.adm-auto-mobile-header-whatsapp {
    background: #25d366;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}
.adm-auto-mobile-header-whatsapp svg {
    width: 22px;
    height: 22px;
}

/* ---------- Footer ---------- */
.adm-auto-footer {
    background: var(--b2d-graphite);
    color: #b9babe;
    margin-top: 56px;
}
.adm-auto-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px;
    padding: 48px 0 32px;
}
.adm-auto-footer h3 {
    color: #fff;
    margin: 0 0 8px;
}
.adm-auto-footer h4 {
    color: #fff;
    font-size: 15px;
    margin: 0 0 12px;
}
.adm-auto-footer p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
}
.adm-auto-footer a {
    color: #b9babe;
    text-decoration: none;
}
.adm-auto-footer a:hover {
    color: #fff;
    text-decoration: underline;
}
/* Social icons (adm_auto_social_links()): footer + Contact page aside */
.adm-auto-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.adm-auto-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition:
        background 0.2s,
        color 0.2s;
}
.adm-auto-social svg {
    width: 20px;
    height: 20px;
}
.adm-auto-footer .adm-auto-social a:hover {
    background: #fff;
    color: var(--b2d-graphite);
    text-decoration: none;
}
.adm-auto-contact-aside .adm-auto-social a {
    background: #fff;
    color: var(--adm-accent);
}
.adm-auto-contact-aside .adm-auto-social a:hover {
    background: var(--adm-accent);
    color: #fff;
}
.adm-auto-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 16px 0;
    font-size: 13px;
    color: #a5a6aa;
}
.adm-auto-footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
}
.adm-auto-footer-bottom a {
    color: #b9babe;
}

/* ---------- Back to top (Blocksy's button, enabled in functions.php) ---------- */
.ct-back-to-top {
    --top-button-background-color: var(--adm-accent);
    --top-button-background-hover-color: var(--adm-accent-dark);
    --theme-icon-color: #fff;
    --theme-icon-hover-color: #fff;
    --theme-icon-size: 16px;
    padding: 14px; /* 44px tap target */
}
.ct-back-to-top .ct-icon {
    fill: #fff;
}

/* ---------- Breadcrumbs (catalog + car page) ---------- */
.adm-auto-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    font-size: 14px;
    color: #6e7076;
}
.adm-auto-breadcrumbs li + li::before {
    content: "›";
    margin-right: 8px;
    color: #9a9ca1;
}
.adm-auto-breadcrumbs a {
    color: var(--adm-ink);
    font-weight: 600;
    text-decoration: none;
}
.adm-auto-breadcrumbs a:hover {
    text-decoration: underline;
}

/* ---------- Catalog layout: sticky filters left, results right ---------- */
.adm-auto-archive {
    padding-top: 24px;
}
.adm-auto-archive-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}
.adm-auto-archive-filters {
    position: sticky;
    top: calc(var(--adm-header-h) + var(--admin-bar, 0px) + 24px);
    /* A long (expanded) form scrolls inside itself instead of sticking off-screen. */
    max-height: calc(
        100vh - var(--adm-header-h) - var(--admin-bar, 0px) - 48px
    );
    overflow-y: auto;
}
.adm-auto-archive-filters .adm-auto-search-form,
.adm-auto-archive-filters .adm-auto-more-filters-fields {
    grid-template-columns: 1fr;
}
.adm-auto-archive-filters .adm-auto-search-form {
    border: 1px solid #ececec;
    box-shadow: 0 8px 24px rgba(8, 8, 8, 0.06);
}
.adm-auto-archive-filters .adm-auto-more-filters {
    grid-column: 1 / -1;
}
.adm-auto-archive-filters .adm-auto-field {
    min-width: 0;
}
/* Filters apply on change here; the button stays in the DOM so Enter still submits. */
.adm-auto-archive-filters button.adm-auto-search-submit {
    display: none;
}
.adm-auto-archive-filters .adm-auto-more-filters {
    align-self: stretch;
}
.adm-auto-archive-results .adm-auto-grid {
    margin-top: 16px;
}

/* Phone filter sheet parts — only shown at ≤900px. */
.adm-auto-filters-toggle,
.adm-auto-filters-head,
.adm-auto-filters-foot {
    display: none;
}

@media (max-width: 900px) {
    .adm-auto-archive-layout {
        /* minmax(0, …): plain 1fr grows to the scrolling price-preset row and widens the page. */
        grid-template-columns: minmax(0, 1fr);
    }
    .adm-auto-archive-filters {
        display: none;
    }
    .adm-auto-archive-filters.is-open {
        display: flex;
        flex-direction: column;
        position: fixed;
        inset: 0;
        z-index: 100000; /* above the WP admin bar */
        max-height: none;
        background: #fff;
    }
    html.adm-auto-no-scroll {
        overflow: hidden;
    }

    .adm-auto-archive-filters.is-open .adm-auto-filters-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 16px;
        border-bottom: 1px solid #ececec;
        font-size: 18px;
    }
    .adm-auto-filters-close {
        all: unset;
        width: 40px;
        height: 40px;
        text-align: center;
        font-size: 28px;
        line-height: 40px;
        color: #4a4b50;
        cursor: pointer;
    }
    /* Two columns for the selects, full rows for the from–to ranges. */
    .adm-auto-archive-filters.is-open .adm-auto-search-form {
        flex: 1;
        overflow-y: auto;
        grid-template-columns: 1fr 1fr;
        align-content: start;
        gap: 14px 12px;
        max-width: none;
        margin: 0;
        padding: 16px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
    .adm-auto-archive-filters.is-open .adm-auto-field-range {
        grid-column: 1 / -1;
    }
    .adm-auto-archive-filters.is-open .adm-auto-filters-foot {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
        border-top: 1px solid #ececec;
        box-shadow: 0 -6px 16px rgba(8, 8, 8, 0.06);
    }
    /* Two equal buttons. "button.x" inside the foot outranks Blocksy's
	   button[type=submit] skin (extra min-height/margin) that "all: unset"
	   alone loses to on specificity — same fix as the inquiry form button. */
    .adm-auto-filters-foot a,
    .adm-auto-filters-foot button.adm-auto-filters-apply {
        all: unset;
        box-sizing: border-box;
        flex: 1 1 0;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        margin: 0;
        padding: 0 16px;
        border-radius: 8px;
        font-size: 15px;
        font-weight: 700;
        line-height: 1.2;
        text-align: center;
        cursor: pointer;
    }
    .adm-auto-filters-foot a {
        color: var(--adm-ink);
        box-shadow: inset 0 0 0 1.5px var(--adm-ink);
    }
    .adm-auto-filters-foot button.adm-auto-filters-apply {
        background: var(--adm-accent);
        color: #fff;
    }
    .adm-auto-filters-foot button.adm-auto-filters-apply::before {
        display: none;
    }

    .adm-auto-filters-toggle {
        all: unset;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        min-height: 50px;
        padding: 0 16px;
        border-radius: 10px;
        background: var(--adm-accent);
        color: #fff;
        font-weight: 700;
        cursor: pointer;
    }
    .adm-auto-filters-toggle svg {
        width: 20px;
        height: 20px;
    }
    .adm-auto-filters-toggle:focus-visible,
    .adm-auto-filters-apply:focus-visible,
    .adm-auto-filters-close:focus-visible {
        outline: 3px solid var(--adm-accent-light);
        outline-offset: 2px;
    }
    .adm-auto-filters-count {
        min-width: 22px;
        padding: 2px 6px;
        box-sizing: border-box;
        border-radius: 11px;
        background: #fff;
        color: var(--adm-accent);
        font-size: 12px;
        text-align: center;
    }
}

/* ---------- Catalog head (title + count) and results bar ---------- */
.adm-auto-archive-head {
    margin: 0 0 24px;
}
.adm-auto-archive-head h1 {
    margin: 0;
    font-size: 40px;
    line-height: 1.15;
    color: var(--adm-ink);
}
.adm-auto-archive-head .adm-auto-results-count {
    margin-top: 4px;
}
/* Desktop: price presets left, sort right ("Filters" button is phone-only). */
.adm-auto-results-bar {
    display: flex;
    align-items: center;
    gap: 12px 16px;
    margin-bottom: 14px;
}
.adm-auto-results-bar .adm-auto-price-presets {
    order: -1;
    flex: 1;
    min-width: 0;
    margin: 0;
}
@media (max-width: 900px) {
    .adm-auto-archive-head {
        margin-bottom: 18px;
    }
    .adm-auto-archive-head h1 {
        font-size: 34px;
    }
    /* Phone: "Filters" | sort in two equal columns, presets on their own row. */
    .adm-auto-results-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .adm-auto-results-bar .adm-auto-price-presets {
        order: 0;
        grid-column: 1 / -1;
    }
    .adm-auto-results-bar .adm-auto-sort span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }
    .adm-auto-results-bar .adm-auto-sort select {
        width: 100%;
        min-height: 50px;
        border-radius: 10px;
        font-size: 15px;
    }
}
.adm-auto-sort {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #4a4b50;
    white-space: nowrap;
}
.adm-auto-sort select {
    min-height: 40px;
    padding: 8px 12px;
    border: 1.5px solid #cfd0d4;
    border-radius: 8px;
    background-color: #fff;
    color: var(--adm-ink);
    font-size: 14px;
    font-weight: 600;
}
.adm-auto-sort select:focus {
    outline: none;
    border-color: var(--adm-accent);
    box-shadow: 0 0 0 3px var(--adm-accent-light);
}
.adm-auto-results-count {
    margin: 0;
    font-size: 16px;
    color: #4a4b50;
}

/* Active filter chips above the results: click a chip to drop that filter. */
.adm-auto-filter-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
}
.adm-auto-filter-chips a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--b2d-grey);
    color: var(--adm-ink);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition:
        background 0.15s ease,
        color 0.15s ease;
}
.adm-auto-filter-chips a span {
    font-size: 17px;
    line-height: 1;
    opacity: 0.7;
}
.adm-auto-filter-chips a:hover {
    background: var(--adm-accent);
    color: #fff;
}
.adm-auto-filter-chips a.adm-auto-filter-chips-reset {
    background: none;
    color: var(--adm-ink);
    padding-inline: 4px;
}
.adm-auto-filter-chips a.adm-auto-filter-chips-reset:hover {
    text-decoration: underline;
}

/* "up to 40 000 PLN" presets above the results; one scrollable row on phones. */
.adm-auto-price-presets {
    display: flex;
    gap: 8px;
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.adm-auto-price-presets a {
    display: block;
    padding: 6px 14px;
    border: 1.5px solid #cfd0d4;
    border-radius: 999px;
    color: #2f3033;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    transition:
        border-color 0.15s ease,
        color 0.15s ease;
}
.adm-auto-price-presets a:hover {
    border-color: var(--adm-accent);
    color: var(--adm-accent);
}
.adm-auto-price-presets a[aria-current] {
    border-color: var(--adm-accent);
    background: var(--adm-accent);
    color: #fff;
}

.adm-auto-archive .pagination {
    margin: 0 0 56px;
}
.adm-auto-archive .pagination:has(+ .adm-auto-archive-sell) {
    margin-bottom: 0;
}
.adm-auto-archive-sell {
    margin: 32px 0 56px;
    text-align: center;
}
.adm-auto-archive-sell .adm-auto-contact-btn {
    margin: 0;
    min-width: 280px;
    border-radius: 12px;
}
@media (max-width: 600px) {
    .adm-auto-archive-sell .adm-auto-contact-btn {
        display: block;
        min-width: 0;
    }
}
.adm-auto-archive .pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}
.adm-auto-archive .pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border: 1.5px solid #e4e4e7;
    border-radius: 10px;
    background: #fff;
    color: var(--adm-ink);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}
.adm-auto-archive .pagination a.page-numbers:hover {
    border-color: var(--adm-accent);
    color: var(--adm-accent);
}
.adm-auto-archive .pagination .page-numbers.current {
    background: var(--adm-accent);
    border-color: var(--adm-accent);
    color: #fff;
}
.adm-auto-archive .pagination .page-numbers.dots {
    border-color: transparent;
    background: none;
    min-width: 24px;
    padding: 0;
}
.adm-auto-archive .pagination .prev,
.adm-auto-archive .pagination .next {
    font-size: 22px;
    line-height: 1;
}

/* ---------- Card row carousel ([adm_auto_latest_cars]) ----------
   4 cards per view on desktop, 2 on tablets, 1 + a peek of the next on
   phones (the peek says "swipe me"). Padding gives the hover lift and
   shadow room inside the scroll box, the negative margin cancels it. */
.adm-auto-card-row {
    position: relative;
    margin: 24px 0 32px;
}
.adm-auto-card-row-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 4px;
    scrollbar-width: none;
    padding: 8px 4px 28px;
    margin: -8px -4px -28px;
}
.adm-auto-card-row-track::-webkit-scrollbar {
    display: none;
}
.adm-auto-card-row-track > .adm-auto-card {
    flex: 0 0 calc((100% - 3 * 24px) / 4);
    scroll-snap-align: start;
}
/* A swipe that reaches the last photo of a card shouldn't start moving the whole row. */
.adm-auto-card-row .adm-auto-carousel-track {
    overscroll-behavior-x: contain;
}
.adm-auto-card-row-prev,
.adm-auto-card-row-next {
    all: unset;
    position: absolute;
    top: 30%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    color: var(--adm-ink);
    font-size: 0; /* ‹ › glyph sits low; the shared ::before chevron below replaces it */
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(8, 8, 8, 0.18);
    transition:
        background 0.15s ease,
        color 0.15s ease,
        opacity 0.15s ease;
}
.adm-auto-card-row-prev {
    left: -24px;
}
.adm-auto-card-row-next {
    right: -24px;
}
.adm-auto-card-row-prev:hover,
.adm-auto-card-row-next:hover {
    background: var(--adm-accent);
    color: #fff;
}
.adm-auto-card-row-prev:focus-visible,
.adm-auto-card-row-next:focus-visible {
    outline: 3px solid var(--adm-accent);
    outline-offset: 2px;
}
.adm-auto-card-row-prev:disabled,
.adm-auto-card-row-next:disabled {
    opacity: 0;
    pointer-events: none;
}
.adm-auto-card-row.is-static .adm-auto-card-row-prev,
.adm-auto-card-row.is-static .adm-auto-card-row-next {
    display: none;
}
@media (max-width: 1100px) {
    .adm-auto-card-row-track > .adm-auto-card {
        flex-basis: calc((100% - 24px) / 2);
    }
    .adm-auto-card-row-prev {
        left: 4px;
    }
    .adm-auto-card-row-next {
        right: 4px;
    }
}
@media (max-width: 640px) {
    .adm-auto-card-row-track {
        gap: 16px;
    }
    .adm-auto-card-row-track > .adm-auto-card {
        flex-basis: 85%;
    }
    /* Phones swipe; arrows would just cover the photos. */
    .adm-auto-card-row-prev,
    .adm-auto-card-row-next {
        display: none;
    }
}

/* ---------- Catalog grid ---------- */
.adm-auto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin: 24px 0 48px;
}
.adm-auto-card {
    display: block;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: var(--adm-ink);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition:
        box-shadow 0.2s ease,
        transform 0.2s ease;
}
.adm-auto-card:hover {
    box-shadow: 0 12px 28px rgba(255, 101, 0, 0.18);
    transform: translateY(-3px);
}
.adm-auto-card {
    display: flex;
    flex-direction: column;
}
.adm-auto-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--b2d-grey);
}
/* Absolute so a portrait photo can't stretch the 4:3 frame — it's cropped instead. */
.adm-auto-card-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.adm-auto-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #b9babe;
    background: var(--b2d-grey);
}
.adm-auto-card-placeholder svg {
    width: 30%;
    max-width: 96px;
}
a.adm-auto-card-placeholder {
    text-decoration: none;
}
a.adm-auto-card-body {
    text-decoration: none;
    color: inherit;
}

/* Card photo carousel: fills the 4:3 frame; arrows appear on hover (mouse only — touch swipes). */
.adm-auto-carousel-card,
.adm-auto-carousel-card .adm-auto-carousel-track {
    height: 100%;
    border-radius: 0;
}
.adm-auto-carousel-card .adm-auto-carousel-prev,
.adm-auto-carousel-card .adm-auto-carousel-next {
    width: 34px;
    height: 34px;
    opacity: 0;
    transition: opacity 0.15s ease;
}
.adm-auto-card:hover .adm-auto-carousel-prev,
.adm-auto-card:hover .adm-auto-carousel-next,
.adm-auto-carousel-card button:focus-visible {
    opacity: 1;
}
@media (hover: none) {
    .adm-auto-carousel-card .adm-auto-carousel-prev,
    .adm-auto-carousel-card .adm-auto-carousel-next {
        display: none;
    }
}
.adm-auto-carousel-card .adm-auto-carousel-counter {
    right: 10px;
    bottom: 10px;
    font-size: 12px;
    padding: 2px 8px;
}
/* Status + admin badges: stacked in the card photo's corner, a row above the car page title */
.adm-auto-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}
.adm-auto-card-media .adm-auto-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    z-index: 2;
    margin: 0;
    pointer-events: none;
}
/* Quiet chip: the badge's HEX (--badge) is a dot + light tint, not a solid fill. */
.adm-auto-badge {
    --badge: var(--adm-accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    color: #1f2937;
    background: color-mix(in srgb, var(--badge) 10%, #fff);
    border: 1px solid color-mix(in srgb, var(--badge) 25%, transparent);
    padding: 4px 10px 4px 8px;
    border-radius: 999px;
}
.adm-auto-badge::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--badge);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--badge) 20%, transparent);
}
/* On photos: frosted white glass so it reads on any picture without shouting. */
.adm-auto-card-media .adm-auto-badge {
    background: rgba(255, 255, 255, 0.88);
    border-color: transparent;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 8px rgba(8, 8, 8, 0.12);
}
/* At most two on a card photo (status first); the car page shows all. */
.adm-auto-card-media .adm-auto-badge:nth-child(n + 3) {
    display: none;
}
.adm-auto-badge-reserved {
    --badge: #e8a317;
}
.adm-auto-badge-sold {
    --badge: #6b7280;
}
.adm-auto-badge-coming_soon {
    --badge: var(--adm-accent);
}
.adm-auto-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px 18px 18px;
}
.adm-auto-card :is(h2, h3) {
    font-size: 18px;
    line-height: 1.3;
    margin: 0 0 10px;
}
.adm-auto-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
}
.adm-auto-chips li {
    margin: 0;
    padding: 4px 10px;
    font-size: 13px;
    color: #2f3033;
    background: var(--b2d-grey);
    border-radius: 6px;
}
/* Colour dot (car_color term HEX) — the border keeps white/silver visible on the light chip. */
.adm-auto-chips li:has(.adm-auto-swatch),
.adm-auto-specs dd:has(.adm-auto-swatch) {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.adm-auto-swatch {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.18);
    flex: 0 0 auto;
}
/* Car page equipment: one column per group, reusing the .adm-auto-trust tick list */
.adm-auto-equipment {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px 32px;
}
.adm-auto-equipment h3 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6e7076;
    margin: 0 0 12px;
}
.adm-auto-equipment .adm-auto-trust {
    margin: 0;
    padding: 0;
    border: 0;
}
/* Condition ticks on the card: "✓ Accident-free  ✓ Service book" */
.adm-auto-card-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    list-style: none;
    margin: -4px 0 12px;
    padding: 0;
}
.adm-auto-card-flags li {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #15803d;
}
.adm-auto-card-flags svg {
    width: 14px;
    height: 14px;
}
.adm-auto-card-footer {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}
.adm-auto-card-price {
    margin: 0;
    font-weight: 800;
    font-size: 20px;
    color: var(--adm-ink);
}
/* "≈ 19,410 EUR" under the PLN price (card + car page). */
.adm-auto-price-eur {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    font-weight: 500;
    color: #6e7076;
}
.adm-auto-price .adm-auto-price-eur {
    font-size: 16px;
}
.adm-auto-card-city {
    font-size: 13px;
    color: #777;
}

.adm-auto-empty {
    text-align: center;
    padding: 48px 0;
    font-size: 17px;
    color: #555;
}

/* ---------- Single car page ---------- */
.adm-auto-single {
    padding: 24px 0 64px;
}
.adm-auto-single .adm-auto-breadcrumbs ol {
    margin-bottom: 28px;
}

/* "Similar cars" under the car page — same card grid as the catalog. */
.adm-auto-similar-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 16px;
}
.adm-auto-similar-head h2 {
    margin: 0;
}
.adm-auto-similar-head a {
    color: var(--adm-ink);
    font-weight: 600;
    text-decoration: none;
}
.adm-auto-similar-head a:hover {
    text-decoration: underline;
}
.adm-auto-similar .adm-auto-grid {
    margin-bottom: 0;
}
/* Sold / coming soon car page: no card around the summary, just title + chips + this grey box. */
.adm-auto-summary--sold {
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
}
.adm-auto-status-box {
    padding: 24px;
    border-radius: 16px;
    background: var(--b2d-grey);
}
.adm-auto-status-box h2 {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 20px;
    line-height: 1.3;
    margin: 0 0 12px;
}
.adm-auto-status-box h2 svg {
    flex: none;
    width: 40px;
    height: 40px;
    padding: 9px;
    border-radius: 50%;
    background: #fff;
    color: var(--adm-ink);
}
.adm-auto-status-box p {
    color: var(--b2d-graphite);
    margin: 0 0 20px;
}
.adm-auto-sold-call {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    font-weight: 600;
    color: var(--adm-ink);
    text-decoration: none;
}
.adm-auto-sold-call svg {
    width: 20px;
    height: 20px;
}
.adm-auto-sold-call:hover {
    text-decoration: underline;
}
/* "Coming soon" car without photos: placeholder (Settings → Site Images) + caption. */
.adm-auto-soon-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.adm-auto-soon-media > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.adm-auto-soon-media > svg {
    width: 30%;
    max-width: 96px;
}
.adm-auto-soon-caption {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(8, 8, 8, 0.55);
    color: #fff;
    font-size: 13px;
    white-space: nowrap;
}
.adm-auto-soon-caption svg {
    width: 16px;
    height: 16px;
}
.adm-auto-soon-box h2 svg {
    color: var(--adm-accent);
}
.adm-auto-status-box .adm-auto-price {
    margin: 0 0 20px;
}
.adm-auto-card-ask {
    font-weight: 600;
    color: var(--adm-ink);
    white-space: nowrap;
}
.adm-auto-card-ask span {
    color: var(--adm-accent);
}

/* Sold car photo (cards + car page): blurred and a bit darker; the "Sold" badge
   says why. Slight zoom hides the soft edge the blur leaves at the frame.
   The full-screen viewer keeps the sharp photos. */
.adm-auto-media--sold img {
    filter: brightness(0.85) blur(4px);
    transform: scale(1.06);
}
.adm-auto-media--sold .adm-auto-lightbox img {
    filter: none;
    transform: none;
}

/* "Ask about a similar car" form: shown only once its #anchor is targeted. */
.adm-auto-sold-inquiry > :not(:target) {
    display: none;
}

.adm-auto-single-top {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(300px, 1fr);
    gap: 32px;
}
.adm-auto-single-placeholder {
    aspect-ratio: 4 / 3;
    border-radius: 12px;
}

/* Same height as the photo column; the trust list sits at the bottom. */
.adm-auto-summary {
    display: flex;
    flex-direction: column;
    padding: 28px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(8, 8, 8, 0.06);
}
.adm-auto-summary h1 {
    color: var(--adm-ink);
    font-size: 30px;
    line-height: 1.25;
    margin: 0 0 14px;
}
.adm-auto-price {
    font-size: 38px;
    font-weight: 800;
    margin: 8px 0 24px;
    color: var(--adm-ink);
}
.adm-auto-summary-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.adm-auto-summary-actions .adm-auto-contact-btn {
    margin: 0;
    text-align: center;
}
.adm-auto-contact-btn.adm-auto-btn-outline {
    background: #fff;
    color: var(--adm-ink);
    box-shadow: inset 0 0 0 2px var(--adm-ink);
}
.adm-auto-contact-btn.adm-auto-btn-outline:hover {
    background: var(--b2d-grey);
    color: var(--adm-ink);
}
.adm-auto-summary-location {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 18px 0 0;
    font-size: 14px;
}
.adm-auto-summary-location a {
    color: #2f3033;
    text-decoration: none;
}
.adm-auto-summary-location a:hover {
    color: var(--adm-accent);
}
/* Keeps a gap above the trust list when the card has no spare height. */
.adm-auto-summary > :nth-last-child(2) {
    margin-bottom: 18px;
}
.adm-auto-trust {
    list-style: none;
    margin: auto 0 0;
    padding: 18px 0 0;
    border-top: 1px solid #ececec;
    display: grid;
    gap: 10px;
}
.adm-auto-trust li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #2f3033;
}
.adm-auto-trust svg {
    flex: none;
    width: 22px;
    height: 22px;
    padding: 4px;
    box-sizing: border-box;
    border-radius: 50%;
    background: var(--b2d-grey);
    color: var(--adm-accent);
}

.adm-auto-section {
    margin: 40px 0 0;
}
.adm-auto-section > h2 {
    font-size: 22px;
    margin: 0 0 16px;
    color: var(--adm-ink);
}

.adm-auto-carousel {
    position: relative;
}
.adm-auto-carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    border-radius: 12px;
    background: var(--b2d-grey);
}
.adm-auto-carousel-track::-webkit-scrollbar {
    display: none;
}
.adm-auto-carousel-slide {
    position: relative;
    flex: 0 0 100%;
    scroll-snap-align: start;
    aspect-ratio: 4 / 3;
}
.adm-auto-carousel-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.adm-auto-carousel-prev,
.adm-auto-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.92);
    border: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    color: var(--adm-ink);
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    font-size: 0; /* hide the ‹ › text glyph (font metrics put it off-centre); the ::before chevron replaces it */
    cursor: pointer;
}
/* CSS chevron: a bordered square rotated 45°, sized relative to the button so
   it stays centred at every button size (card / gallery / full-screen). */
.adm-auto-carousel-prev::before,
.adm-auto-carousel-next::before,
.adm-auto-card-row-prev::before,
.adm-auto-card-row-next::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 26%;
    height: 26%;
    border-top: 2.5px solid currentColor;
    border-right: 2.5px solid currentColor;
}
/* The chevron is only half of the rotated square (its right/left corner), so
   shift the square back by ~1/3 of its width to centre the visible "V". */
.adm-auto-carousel-next::before,
.adm-auto-card-row-next::before {
    transform: translate(-70%, -50%) rotate(45deg);
}
.adm-auto-carousel-prev::before,
.adm-auto-card-row-prev::before {
    transform: translate(-18%, -50%) rotate(-135deg);
}
.adm-auto-carousel-prev {
    left: 12px;
}
.adm-auto-carousel-next {
    right: 12px;
}
.adm-auto-carousel-prev:hover,
.adm-auto-carousel-next:hover {
    background: var(--adm-accent);
    color: #fff;
}
.adm-auto-carousel-counter {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 3px 10px;
    font-size: 13px;
    color: #fff;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 999px;
}
/* Main gallery photos are buttons that open the full-screen viewer. */
.adm-auto-lightbox-open {
    all: unset;
    display: block;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
}
.adm-auto-lightbox-open:focus-visible {
    outline: 3px solid var(--adm-accent);
    outline-offset: -3px;
}

/* ---------- Full-screen photo viewer (<dialog>) ---------- */
.adm-auto-lightbox {
    width: 100vw;
    height: 100vh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: #0b0f19;
}
.adm-auto-lightbox::backdrop {
    background: rgba(0, 0, 0, 0.9);
}
html:has(.adm-auto-lightbox[open]) {
    overflow: hidden;
}
.adm-auto-carousel-lightbox,
.adm-auto-carousel-lightbox .adm-auto-carousel-track {
    height: 100%;
    border-radius: 0;
    background: none;
}
.adm-auto-carousel-lightbox .adm-auto-carousel-slide {
    aspect-ratio: auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.adm-auto-carousel-lightbox .adm-auto-carousel-slide img {
    position: static;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    cursor: zoom-in;
}
/* Click on the photo: actual size, scroll around to inspect details. */
.adm-auto-carousel-lightbox .adm-auto-carousel-slide.is-zoomed {
    overflow: auto;
    display: block;
}
.adm-auto-carousel-lightbox .is-zoomed img {
    max-width: none;
    max-height: none;
    cursor: zoom-out;
}
.adm-auto-carousel-lightbox .adm-auto-carousel-prev,
.adm-auto-carousel-lightbox .adm-auto-carousel-next {
    width: 52px;
    height: 52px;
}
.adm-auto-carousel-lightbox .adm-auto-carousel-prev {
    left: 20px;
}
.adm-auto-carousel-lightbox .adm-auto-carousel-next {
    right: 20px;
}
.adm-auto-carousel-lightbox .adm-auto-carousel-counter {
    left: 50%;
    right: auto;
    bottom: 20px;
    transform: translateX(-50%);
    font-size: 14px;
}
.adm-auto-lightbox-close {
    position: absolute;
    top: 16px;
    right: 20px;
    z-index: 2;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}
.adm-auto-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

.adm-auto-carousel-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
}
.adm-auto-carousel-thumbs button {
    flex: 0 0 88px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    background: none;
    cursor: pointer;
    opacity: 0.7;
}
.adm-auto-carousel-thumbs button.is-active,
.adm-auto-carousel-thumbs button:hover {
    border-color: var(--adm-accent);
    opacity: 1;
}
.adm-auto-carousel-thumbs img {
    width: 100%;
    height: 64px;
    object-fit: cover;
    display: block;
}

.adm-auto-video iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    border-radius: 12px;
}

.adm-auto-specs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    margin: 0;
}
.adm-auto-specs div {
    padding: 14px 16px;
    background: #f6f6f6;
    border-radius: 10px;
}
.adm-auto-specs dt {
    margin: 0 0 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #6e7076;
}
.adm-auto-specs dd {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--adm-ink);
    word-break: break-word;
}
/* VIN tile: "Show VIN" link-button, then the number + a small Copy pill. */
.adm-auto-vin-value {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
}
.adm-auto-vin-value[hidden] {
    display: none;
}
.adm-auto-vin-value > span {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    letter-spacing: 0.04em;
}
.adm-auto-specs .adm-auto-vin button {
    all: unset;
    box-sizing: border-box;
    cursor: pointer;
    font-family: inherit;
    font-weight: 700;
    color: var(--adm-ink);
}
.adm-auto-specs .adm-auto-vin button:focus-visible {
    outline: 2px solid var(--adm-accent);
    outline-offset: 2px;
    border-radius: 4px;
}
.adm-auto-specs .adm-auto-vin .adm-auto-vin-show {
    font-size: 15px;
}
.adm-auto-specs .adm-auto-vin .adm-auto-vin-show:hover {
    text-decoration: underline;
}
.adm-auto-specs .adm-auto-vin .adm-auto-vin-copy {
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--b2d-grey);
    font-size: 13px;
    transition:
        background 0.15s ease,
        color 0.15s ease;
}
.adm-auto-specs .adm-auto-vin .adm-auto-vin-copy:hover,
.adm-auto-specs .adm-auto-vin .adm-auto-vin-copy.is-copied {
    background: var(--adm-accent);
    color: #fff;
}

.adm-auto-description {
    padding: 24px;
    background: #fafafa;
    border: 1px solid #ececec;
    border-radius: 12px;
    color: #333;
    font-size: 15px;
    line-height: 1.8;
}
.adm-auto-description :first-child {
    margin-top: 0;
}
.adm-auto-description :last-child {
    margin-bottom: 0;
}
.adm-auto-description p {
    margin: 0 0 16px;
}
.adm-auto-description ul,
.adm-auto-description ol {
    margin: 0 0 16px;
    padding-left: 22px;
}
/* Cut long descriptions to ~7 lines with a fade; "Show more" opens the rest. */
.adm-auto-description.is-clamped {
    position: relative;
    max-height: 260px;
    overflow: hidden;
}
.adm-auto-description.is-clamped::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 80px;
    background: linear-gradient(rgba(250, 250, 250, 0), #fafafa);
}
.adm-auto-section button.adm-auto-more-link {
    all: unset;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    color: var(--adm-ink);
    font-weight: 700;
    cursor: pointer;
}
.adm-auto-section button.adm-auto-more-link[hidden] {
    display: none;
}
.adm-auto-section button.adm-auto-more-link:hover {
    color: var(--adm-accent);
}
.adm-auto-section button.adm-auto-more-link:focus-visible {
    outline: 2px solid var(--adm-accent);
    outline-offset: 3px;
    border-radius: 4px;
}
.adm-auto-section button.adm-auto-more-link::before {
    display: none;
}

@media (max-width: 900px) {
    .adm-auto-single-top {
        /* minmax(0, …): plain 1fr grows to the photo strip and widens the page. */
        grid-template-columns: minmax(0, 1fr);
    }
    .adm-auto-summary {
        position: static;
    }
}

/* Map pin icon next to the branch name in the car page summary. */
.adm-auto-location-icon {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    margin-top: 2px;
    color: var(--adm-accent);
}

/* ---------- Inquiry form ---------- */
.adm-auto-inquiry {
    padding: 24px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.adm-auto-inquiry h2 {
    font-size: 22px;
    margin: 0 0 16px;
    color: var(--adm-ink);
}
/* Honeypot — off-screen rather than display:none, which some bots skip. */
.adm-auto-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.adm-auto-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: #444;
    cursor: pointer;
}
.adm-auto-inquiry-fields .adm-auto-consent input {
    appearance: auto;
    width: 18px;
    min-height: 0;
    height: 18px;
    margin: 2px 0 0;
    padding: 0;
    flex: 0 0 auto;
}
.adm-auto-consent a {
    color: var(--adm-ink);
}
.adm-auto-inquiry-notice {
    padding: 12px 16px;
    border-radius: 8px;
    margin: 0 0 16px;
    font-size: 14px;
}
.adm-auto-inquiry-notice-success {
    background: #e3f6e8;
    color: #1a7a3a;
}
.adm-auto-inquiry-notice-error {
    background: #fdeaea;
    color: #b3261e;
}
/* "Sell your car" page: the form alone would span the whole container — keep it
   as wide as the home/contact form, centred by core's constrained layout. */
.adm-auto-inquiry--sell {
    max-width: 920px;
}
.adm-auto-inquiry-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}
.adm-auto-inquiry-fields .adm-auto-field-wide {
    grid-column: 1 / -1;
}
.adm-auto-inquiry-fields input,
.adm-auto-inquiry-fields select,
.adm-auto-inquiry-fields textarea {
    box-sizing: border-box;
    appearance: none;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    line-height: 1.4;
    border: 1.5px solid #cfd0d4;
    border-radius: 8px;
    color: var(--adm-ink);
    background: #fff;
    font-size: 15px;
    font-family: inherit;
}
.adm-auto-inquiry-fields textarea {
    min-height: 90px;
}
.adm-auto-inquiry-fields input:focus,
.adm-auto-inquiry-fields select:focus,
.adm-auto-inquiry-fields textarea:focus {
    outline: none;
    border-color: var(--adm-accent);
    box-shadow: 0 0 0 3px var(--adm-accent-light);
}
/* Blocksy's [type=submit] rule ties our .adm-auto-contact-btn on specificity
   and adds its own min-height/border/pseudo-glow — "all: unset" wipes that
   out first so the button matches the <a class="adm-auto-contact-btn"> used
   everywhere else on the site instead of Blocksy's default button skin. */
.adm-auto-inquiry-fields button.adm-auto-contact-btn {
    all: unset;
    box-sizing: border-box;
    grid-column: 1 / -1;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    margin-top: 16px;
    padding: 14px 28px;
    background: var(--adm-accent);
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s ease;
}
.adm-auto-inquiry-fields button.adm-auto-contact-btn:hover {
    background: var(--adm-accent-dark);
}
.adm-auto-inquiry-fields button.adm-auto-contact-btn:before {
    display: none;
}
@media (max-width: 768px) {
    .adm-auto-inquiry-fields button.adm-auto-contact-btn {
        justify-self: stretch;
        justify-content: center;
    }
    /* Blocksy gives textareas a fixed 170px height; 3 rows are enough here
       (it can still be dragged taller). */
    .adm-auto-inquiry-fields textarea {
        height: 96px;
    }
}

.adm-auto-contact-btn {
    display: inline-block;
    margin-top: 16px;
    padding: 14px 28px;
    background: var(--adm-accent);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    transition: background 0.2s ease;
}
.adm-auto-contact-btn:hover {
    background: var(--adm-accent-dark);
    color: #fff;
}

/* ---------- Sticky call / WhatsApp bar (car page, phones only) ---------- */
.adm-auto-mobile-cta {
    display: none;
}
@media (max-width: 768px) {
    .adm-auto-mobile-cta {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 100;
        display: flex;
        gap: 10px;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: #fff;
        box-shadow: 0 -6px 20px rgba(8, 8, 8, 0.12);
    }
    .adm-auto-mobile-cta .adm-auto-contact-btn {
        flex: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin: 0;
        padding: 13px 12px;
        border-radius: 10px;
        font-size: 15px;
        text-align: center;
        white-space: nowrap;
    }
    .adm-auto-mobile-cta svg {
        width: 18px;
        height: 18px;
        flex: none;
    }
    .adm-auto-mobile-cta .adm-auto-btn-whatsapp {
        background: #25d366;
    }
    .adm-auto-mobile-cta .adm-auto-btn-whatsapp:hover {
        background: #1ebe5a;
    }
    /* Room for the bar: the page end and the back-to-top button sit above it. */
    .single-car {
        padding-bottom: 72px;
    }
    .single-car .ct-back-to-top {
        bottom: calc(84px + env(safe-area-inset-bottom));
    }
}

/* ---------- Contact page: phones/email aside + form ---------- */
/* Default stretch keeps the aside and the form box the same height. */
.adm-auto-contact-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 24px;
    margin-top: 40px;
}
.adm-auto-contact-layout > .adm-auto-inquiry {
    margin: 0;
}
.adm-auto-contact-aside {
    padding: 24px;
    background: var(--b2d-grey);
    border-radius: 12px;
}
.adm-auto-contact-aside h3 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6e7076;
    margin: 0 0 10px;
}
.adm-auto-contact-aside h3:not(:first-child) {
    margin-top: 24px;
}
.adm-auto-contact-aside-link {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 17px;
    font-weight: 700;
    color: var(--adm-ink);
    text-decoration: none;
    word-break: break-word;
}
.adm-auto-contact-aside-link:hover {
    color: var(--adm-accent);
}
.adm-auto-contact-aside-link svg {
    width: 40px;
    height: 40px;
    padding: 9px;
    box-sizing: border-box;
    border-radius: 10px;
    background: #fff;
    color: var(--adm-accent);
    flex: 0 0 auto;
}
.adm-auto-contact-aside-whatsapp svg {
    color: #25d366;
}
.adm-auto-contact-aside-link small {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #6e7076;
}
@media (max-width: 780px) {
    .adm-auto-contact-layout {
        grid-template-columns: 1fr;
    }
    /* Phones: phone/WhatsApp/email are already in the map card above (socials
       too, see .adm-auto-network-social) — the aside would repeat them. */
    .adm-auto-contact-aside {
        display: none;
    }
}

/* ---------- Home CTA band ---------- */
/* Compact: text left, two buttons right on desktop; on phones the buttons sit
   side by side under the text (the phone number is dropped there to fit). */
.adm-auto-cta {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px 40px;
    margin: 64px 0 0;
    padding: 28px 32px;
    border-radius: 16px;
    background: linear-gradient(
        135deg,
        var(--b2d-graphite) 0%,
        var(--b2d-black) 100%
    );
    color: #fff;
}
.adm-auto-cta h2 {
    color: #fff;
    font-size: 26px;
    line-height: 1.2;
    margin: 0 0 6px;
}
.adm-auto-cta p {
    margin: 0;
    opacity: 0.9;
}
.adm-auto-cta-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.adm-auto-cta-buttons .adm-auto-contact-btn {
    margin: 0;
    text-align: center;
    white-space: nowrap;
}
@media (max-width: 768px) {
    .adm-auto-cta {
        grid-template-columns: 1fr;
        padding: 24px 20px;
    }
    .adm-auto-cta h2 {
        font-size: 24px;
    }
    .adm-auto-cta-buttons .adm-auto-contact-btn {
        padding: 14px 12px;
    }
    .adm-auto-cta-phone {
        display: none;
    }
}
/* Graphite band: orange primary button, white outline secondary. */
.adm-auto-cta .adm-auto-contact-btn {
    background: var(--adm-accent);
    color: #fff;
}
.adm-auto-cta .adm-auto-contact-btn:hover {
    background: var(--adm-accent-dark);
}
.adm-auto-cta .adm-auto-contact-btn.adm-auto-btn-outline {
    background: transparent;
    color: #fff;
    box-shadow: inset 0 0 0 2px #fff;
}
.adm-auto-cta .adm-auto-contact-btn.adm-auto-btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* ---------- Big-number strip ([adm_auto_home_stats], home page) ---------- */
.adm-auto-home-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin: 48px 0 0;
    padding: 8px;
    list-style: none;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(8, 8, 8, 0.08);
}
.adm-auto-home-stats li {
    margin: 0;
}
.adm-auto-home-stats li + li {
    border-left: 1px solid #e4e4e7;
}
.adm-auto-home-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    height: 100%;
    padding: 20px 12px;
    border-radius: 12px;
    text-align: center;
    color: inherit;
    text-decoration: none;
    transition: background 0.2s ease;
}
a.adm-auto-home-stat:hover {
    background: var(--b2d-grey);
}
.adm-auto-home-stat strong {
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--adm-accent);
    font-variant-numeric: tabular-nums;
}
.adm-auto-home-stat > span {
    font-size: 14px;
    color: #5c5e63;
}
@media (max-width: 760px) {
    .adm-auto-home-stats {
        grid-template-columns: 1fr 1fr;
    }
    .adm-auto-home-stats li + li {
        border-left: 0;
    }
    .adm-auto-home-stats li:nth-child(even) {
        border-left: 1px solid #e4e4e7;
    }
    .adm-auto-home-stats li:nth-child(n + 3) {
        border-top: 1px solid #e4e4e7;
    }
}

/* Sell / trade-in card ([adm_auto_trade_in_cta]): grey card, text left, full-width
   button with a plain "Cars with trade-in →" link under it. Side by side on desktop. */
.adm-auto-cta.adm-auto-trade-in-cta {
    display: grid;
    grid-template-columns: 1fr minmax(260px, 340px);
    align-items: center;
    gap: 24px 48px;
    padding: 40px;
    background: var(--b2d-grey);
    color: #5c5e63;
    text-align: left;
}
.adm-auto-trade-in-cta h2 {
    color: var(--adm-ink);
    font-size: 32px;
    line-height: 1.2;
    margin: 0 0 12px;
}
.adm-auto-trade-in-cta p {
    font-size: 17px;
    line-height: 1.6;
    opacity: 1;
}
.adm-auto-trade-in-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    text-align: center;
}
.adm-auto-trade-in-cta .adm-auto-contact-btn {
    justify-content: center;
    min-height: 54px;
    border-radius: 12px;
    background: var(--adm-accent);
    color: #fff;
    font-size: 17px;
}
.adm-auto-trade-in-cta .adm-auto-contact-btn:hover {
    background: var(--adm-accent-dark);
}
.adm-auto-trade-in-link,
.adm-auto-section-link {
    font-weight: 700;
    color: var(--adm-ink);
    text-decoration: none;
}
.adm-auto-trade-in-link:hover,
.adm-auto-section-link:hover {
    color: var(--adm-accent);
}
/* Section title with a "See all →" link on the right (home "Picked for you"). */
.adm-auto-section-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 4px 24px;
    margin: 64px 0 8px;
}
.adm-auto-section-head .adm-auto-section-title {
    margin: 0;
}
.adm-auto-section-link {
    white-space: nowrap;
}
@media (max-width: 768px) {
    .adm-auto-cta.adm-auto-trade-in-cta {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px 20px;
    }
    .adm-auto-trade-in-cta h2 {
        font-size: 28px;
    }
}

/* "I have a car to trade in" toggle in a car's inquiry form. */
.adm-auto-trade-in-fields summary {
    font-weight: 700;
    color: var(--adm-ink);
    cursor: pointer;
}
.adm-auto-trade-in-fields .adm-auto-inquiry-fields {
    margin-top: 12px;
}

/* Checkbox filter ("Trade-in possible") in the search form. */
.adm-auto-check {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    font-size: 14px;
    cursor: pointer;
}
.adm-auto-check input {
    appearance: auto;
    width: 18px;
    height: 18px;
    min-height: 0;
    margin: 0;
}

/* ---------- Use-case tiles ([adm_auto_use_cases], home page) ---------- */
/* Compact squares: icon, title, count at the bottom. 4 in a row, 2×2 on phones. */
.adm-auto-use-cases-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}
.adm-auto-use-cases-grid li {
    margin: 0;
}
.adm-auto-use-case {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    height: 100%;
    min-height: 170px;
    box-sizing: border-box;
    padding: 20px;
    border: 1.5px solid #e4e4e7;
    border-radius: 16px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}
.adm-auto-use-case:hover {
    border-color: var(--adm-accent);
    box-shadow: 0 10px 24px rgba(8, 8, 8, 0.1);
    transform: translateY(-2px);
}
.adm-auto-use-case-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--b2d-grey);
    color: var(--adm-accent);
    transition:
        background 0.2s ease,
        color 0.2s ease;
}
.adm-auto-use-case:hover .adm-auto-use-case-icon {
    background: var(--adm-accent);
    color: #fff;
}
.adm-auto-use-case-icon svg {
    width: 26px;
    height: 26px;
}
.adm-auto-use-case strong {
    font-size: 17px;
    line-height: 1.3;
    color: var(--adm-ink);
}
.adm-auto-use-case-count {
    margin-top: auto;
    font-size: 14px;
    font-weight: 700;
    color: #7b7d82;
}
@media (max-width: 900px) {
    .adm-auto-use-cases-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .adm-auto-use-case {
        min-height: 150px;
        padding: 16px;
        gap: 12px;
    }
    .adm-auto-use-case strong {
        font-size: 16px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .adm-auto-use-case:hover {
        transform: none;
    }
}

/* ---------- Reviews ([adm_auto_reviews], home page) ---------- */
.adm-auto-reviews-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0 0;
    color: #2f3033;
}
/* Five stars filled to --rating (0–5) with a hard-stop gradient clipped to the text. */
.adm-auto-stars {
    font-size: 18px;
    letter-spacing: 2px;
    line-height: 1;
    background: linear-gradient(
        90deg,
        #f5b301 calc(var(--rating) / 5 * 100%),
        #d9dadd 0
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    /* Own width, not the card's — the gradient % is measured on this box. */
    width: max-content;
}
.adm-auto-review {
    padding: 22px;
    gap: 12px;
}
.adm-auto-review-text {
    flex: 1;
    font-size: 15px;
    line-height: 1.6;
    color: #2f3033;
}
.adm-auto-review-text p {
    margin: 0 0 8px;
}
.adm-auto-review footer {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    color: var(--adm-ink);
}
.adm-auto-review footer span {
    font-size: 13px;
    color: #6e7076;
}
@media (min-width: 1101px) {
    .adm-auto-reviews .adm-auto-card-row-track > .adm-auto-card {
        flex-basis: calc((100% - 2 * 24px) / 3);
    }
}

/* ---------- FAQ accordion ([adm_auto_faq], home page) ---------- */
/* Two columns like the other home card grids; one on phones. */
.adm-auto-faq-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start; /* an open answer doesn't stretch its neighbour */
    gap: 12px 16px;
    margin: 24px 0 0;
}
@media (max-width: 780px) {
    .adm-auto-faq-list {
        grid-template-columns: 1fr;
    }
}
.adm-auto-faq-item {
    margin: 0;
    border: 1.5px solid #e4e4e7;
    border-radius: 12px;
    background: #fff;
    transition: border-color 0.2s ease;
}
.adm-auto-faq-item[open] {
    border-color: var(--adm-accent);
}
.adm-auto-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    font-size: 17px;
    font-weight: 700;
    color: var(--adm-ink);
    cursor: pointer;
    list-style: none;
}
.adm-auto-faq-item summary::-webkit-details-marker {
    display: none;
}
/* Plus drawn with two gradient bars, not a "+" glyph: a glyph sits off-centre
   by the font's own metrics. Rotated 45° when open = a cross. */
.adm-auto-faq-item summary::after {
    content: "";
    flex: 0 0 32px;
    height: 32px;
    border-radius: 50%;
    background:
        linear-gradient(var(--adm-accent), var(--adm-accent)) center / 14px 2px
            no-repeat,
        linear-gradient(var(--adm-accent), var(--adm-accent)) center / 2px 14px
            no-repeat,
        var(--b2d-grey);
    transition: transform 0.2s ease;
}
.adm-auto-faq-item[open] summary::after {
    transform: rotate(45deg);
}
.adm-auto-faq-item summary:hover {
    color: var(--adm-accent);
}
.adm-auto-faq-answer {
    padding: 0 20px 18px;
    color: #2f3033;
    line-height: 1.6;
}
.adm-auto-faq-answer p {
    margin: 0 0 10px;
}
.adm-auto-faq-answer p:last-child {
    margin-bottom: 0;
}
.adm-auto-faq-answer a {
    color: var(--adm-ink);
}
@media (prefers-reduced-motion: reduce) {
    .adm-auto-faq-item summary::after {
        transition: none;
    }
}

/* Chevron on the right of every front-end select (our base rules' `background`
   shorthand wipes the theme's arrow, hence the end of the file); flips up while
   the list is open where :open is supported. */
.adm-auto-search-form select,
.adm-auto-search-form select:disabled,
.adm-auto-sort select,
.adm-auto-inquiry-fields select {
    appearance: none;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%234a5876' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 8px; /* Blocksy shrinks select arrows to 8px */
}
.adm-auto-search-form select:open,
.adm-auto-sort select:open,
.adm-auto-inquiry-fields select:open {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 6.5l5-5 5 5' fill='none' stroke='%231656d6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
