/* Public templates only. Administration keeps its original assets. */
.public-ui, .public-home {
    --pub-red: #f0151f;
    --pub-ink: #161616;
    --pub-muted: #60646b;
    --pub-line: #ececec;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--pub-ink);
}
.public-ui *, .public-home * { box-sizing: border-box; }
.public-ui [hidden], .public-home [hidden] { display: none !important; }
.public-ui a, .public-home a { color: inherit; text-decoration: none; }
.public-ui a:hover, .public-home a:hover { text-decoration: none; }
.public-ui button, .public-home button, .public-home select { font: inherit; }
.public-ui h2, .public-ui p, .public-home h1, .public-home h2, .public-home h3, .public-home p { margin: 0; }
.public-ui a:focus-visible, .public-ui button:focus-visible, .public-ui summary:focus-visible,
.public-home a:focus-visible, .public-home button:focus-visible, .public-home select:focus-visible {
    outline: 3px solid #1489e8;
    outline-offset: 5px;
}
.public-home-page { margin: 0; background: #fff; }
.pub-container { width: calc(100% - 48px); max-width: 1320px; margin-inline: auto; }
.pub-icon { width: 24px; height: 24px; flex: 0 0 auto; fill: none; stroke: currentColor; }
.public-header { z-index: 100; }
.public-header--home { position: absolute; top: 0; left: 0; width: 100%; color: #fff; }
.public-header--plain { position: sticky; top: -110px; background: #20202b; color: #fff; }
.pub-topbar { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.pub-logo { display: flex; align-items: center; }
.pub-logo img { width: 150px; height: auto; object-fit: contain; }
.pub-top-contacts { display: flex; align-items: center; gap: 28px; }
.pub-contact { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; line-height: 1.4; }
.pub-contact small { display: block; color: #ff424a; font-size: 13px; font-weight: 400; }
.pub-contact .pub-icon { width: 36px; height: 36px; color: #ff424a; }
.pub-nav-wrap { background: rgb(255 255 255 / 22%); }
.pub-navigation { display: flex; align-items: stretch; min-height: 60px; padding-inline: 10px; }
.pub-navigation > a, .pub-contact-menu > summary { display: block; padding: 19px 22px; font-size: 14px; font-weight: 600; text-transform: uppercase; line-height: 22px; cursor: pointer; }
.pub-navigation > a:hover, .pub-navigation > a[aria-current], .pub-contact-menu[open] > summary { background: rgb(0 0 0 / 20%); color: #fff; }
.pub-contact-menu { position: relative; }
.pub-contact-menu summary::marker { content: ''; }
.pub-contact-menu summary::-webkit-details-marker { display: none; }
.pub-contact-menu summary::after { content: '⌄'; margin-left: 8px; }
.pub-contact-menu ul { position: absolute; top: 100%; left: 0; min-width: 230px; padding: 10px 0; margin: 0; list-style: none; background: #fff; box-shadow: 0 8px 28px #0002; color: #20202b; }
.pub-contact-menu a { display: block; padding: 10px 20px; font-size: 15px; }
.pub-contact-menu a:hover, .pub-contact-menu a[aria-current] { color: #d30b16; background: #f7f7f7; }
.pub-mobile-logo, .pub-menu-toggle, .pub-menu-close, .pub-menu-backdrop { display: none; }
.pub-skip { position: absolute; top: -100px; left: 20px; padding: 12px 20px; background: #fff; color: #111 !important; z-index: 120; }
.pub-skip:focus { top: 8px; }
.pub-hero { position: relative; display: grid; place-items: center; height: 100svh; min-height: 720px; max-height: 1000px; color: #fff; background: #252628; }
.pub-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.pub-hero::after { content: ''; position: absolute; inset: 0; background: #0008; }
.pub-hero-content { position: relative; z-index: 1; text-align: center; padding: 140px 0 80px; }
.pub-hero h1 { font-size: clamp(32px, 4vw, 52px); font-weight: 700; line-height: 1.15; text-transform: uppercase; text-shadow: 0 1px 2px #0005; }
.pub-hero p { margin: 22px auto 30px; max-width: 650px; font-size: 18px; line-height: 1.7; }
.pub-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 32px; min-height: 50px; border: 1px solid transparent; background: var(--pub-red); color: #fff !important; font-size: 13px; font-weight: 700; letter-spacing: .5px; line-height: 1.4; text-transform: uppercase; cursor: pointer; transition: background .2s; }
.pub-button:hover { background: #cf1019; }
.pub-button--dark { background: #111; }
.pub-button--dark:hover { background: #333; }
.pub-button--outline { background: transparent; border-color: var(--pub-red); color: #cf1019 !important; }
.pub-button--outline:hover { background: #fff0f1; }
.pub-search { position: relative; z-index: 2; margin-top: -65px; background: var(--pub-red); padding: 30px; box-shadow: 0 4px 18px #0001; }
.pub-search form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; gap: 25px; }
.pub-search select { width: 100%; height: 50px; padding: 10px 34px 10px 16px; background: #fff; color: #505050; border: 1px solid #e8e8e8; border-radius: 0; font-size: 14px; }
.pub-search .pub-button { width: 100%; }
.pub-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.pub-section { padding-block: 90px; }
.pub-section-heading { margin-bottom: 34px; }
.pub-section-heading > p { color: #d8101a; font-size: 17px; margin-bottom: 2px; }
.pub-section-heading h2 { font-size: clamp(29px, 3.1vw, 44px); line-height: 1.2; font-weight: 700; text-transform: uppercase; letter-spacing: -.8px; }
.pub-section-heading h2 span { color: var(--pub-red); }
.pub-car-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.pub-car { display: flex; flex-direction: column; min-width: 0; background: #fff; box-shadow: 0 1px 12px #00000012; transition: transform .2s, box-shadow .2s; }
.pub-car:hover { transform: translateY(-4px); box-shadow: 0 8px 24px #0002; }
.pub-car-photo { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #f0f0f0; }
.pub-car-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pub-photo-fallback { display: grid; place-items: center; height: 100%; color: var(--pub-muted); }
.pub-car-tags { position: absolute; top: 16px; left: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.pub-car-tags span { padding: 5px 12px; background: var(--pub-red); color: #fff; font-size: 12px; text-transform: uppercase; font-weight: 700; }
.pub-car-tags .pub-stock { background: #fff; color: #333; }
.pub-car-content { flex: 1; padding: 23px; display: flex; flex-direction: column; align-items: flex-start; }
.pub-car h3 { font-size: 20px; line-height: 1.35; font-weight: 600; margin-bottom: 12px; }
.pub-car h3 a:hover { color: #d8101a; }
.pub-car-price { display: block; margin-top: auto; color: #d8101a; font-size: 23px; line-height: 1.4; font-weight: 500; }
.pub-car-year { font-size: 13px; color: var(--pub-muted); margin-top: 8px !important; }
.pub-car-features { display: flex; flex-wrap: wrap; gap: 10px 20px; border-top: 1px solid var(--pub-line); padding: 15px 23px; margin: 0; list-style: none; font-size: 13px; color: #626262; }
.pub-car-features li { display: flex; align-items: center; gap: 6px; }
.pub-car-features .pub-icon { width: 17px; height: 17px; }
.pub-section-action { text-align: center; margin-top: 36px; }
.pub-empty { padding: 30px; background: #f7f7f7; }
.pub-services { background: #f8f8f8; }
.pub-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.pub-service { display: flex; align-items: flex-start; gap: 20px; padding: 36px 26px; background: #fff; box-shadow: 0 1px 12px #00000012; }
.pub-service > .pub-icon { width: 52px; height: 60px; color: var(--pub-red); }
.pub-service h3 { font-size: 19px; font-weight: 600; margin-bottom: 14px; }
.pub-service p { color: var(--pub-muted); font-size: 15px; line-height: 1.85; }
.pub-partners { display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 30px; padding-block: 32px; }
.pub-partners img { width: 150px; height: 72px; object-fit: contain; }
.pub-about { border-top: 1px solid var(--pub-line); }
.pub-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.pub-about p { color: var(--pub-muted); margin-bottom: 20px; line-height: 1.85; }
.pub-about video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #20202b; }
.pub-video-link { display: inline-flex; gap: 10px; align-items: center; font-size: 14px; margin-top: 14px; color: #c20f18 !important; }
.pub-branches { background: #f8f8f8; }
.pub-branch-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.pub-branch { background: #fff; border-top: 3px solid var(--pub-red); padding: 30px; }
.pub-branch h3 { font-size: 22px; font-weight: 600; margin-bottom: 14px; }
.pub-branch address { font-style: normal; margin-bottom: 12px; color: var(--pub-muted); }
.pub-branch p { font-size: 14px; color: var(--pub-muted); margin-bottom: 14px; }
.pub-branch .pub-button { margin-top: 10px; }
.public-footer { color: #ececf0; background: linear-gradient(#171331d9, #171331e8), url('../img/footer.jpg') center / cover; padding-top: 75px; }
.pub-footer-grid { display: grid; grid-template-columns: 1fr .8fr 1.5fr; gap: 80px; padding-bottom: 55px; }
.public-footer h2 { font-size: 17px; font-weight: 700; color: #fff; text-transform: uppercase; margin-bottom: 25px; }
.public-footer p, .public-footer li, .public-footer address { font-size: 14px; line-height: 1.9; }
.public-footer p { margin-bottom: 20px; }
.pub-footer-links { list-style: none; padding: 0; margin: 0; }
.pub-footer-links li { margin-bottom: 9px; }
.public-footer a:hover { color: #fff; text-decoration: underline; }
.pub-footer-branches address { font-style: normal; display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; margin-bottom: 17px; }
.pub-footer-branches address span { grid-column: 1 / -1; }
.pub-footer-branch { font-weight: 700; color: #fff !important; grid-column: 1 / -1; }
.pub-footer-branches a { overflow-wrap: anywhere; }
.pub-social { display: flex; flex-wrap: wrap; gap: 10px; }
.pub-social a { font-size: 12px; background: #ffffff18; padding: 6px 12px; }
.pub-copyright { border-top: 1px solid #ffffff2b; padding-block: 22px; display: flex; justify-content: space-between; gap: 16px; font-size: 12px; color: #c7c7d1; }
@media (max-width: 1199px) {
    .pub-container { max-width: 1100px; }
    .pub-top-contacts { gap: 18px; }
    .pub-contact { font-size: 14px; }
    .pub-contact .pub-icon { width: 30px; }
    .pub-footer-grid { gap: 40px; }
    .pub-service { display: block; }
    .pub-service > .pub-icon { margin-bottom: 16px; }
}
@media (max-width: 991px) {
    .pub-topbar { display: none; }
    .public-header--home, .public-header--plain { top: 0; background: var(--pub-red); }
    .pub-nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 78px; background: transparent; flex-wrap: wrap; }
    .pub-mobile-logo { display: flex; align-items: center; }
    .pub-mobile-logo img { width: 150px; height: auto; }
    .pub-navigation { width: 100%; flex-wrap: wrap; padding: 0; }
    .pub-navigation > a, .pub-contact-menu > summary { padding: 14px 16px; }
    .pub-contact-menu ul { position: static; box-shadow: none; }
    .pub-menu-toggle { display: flex; align-items: center; gap: 10px; border: 1px solid #fff9; background: transparent; padding: 8px 12px; color: #fff; font-size: 14px !important; cursor: pointer; }
    .public-header[data-enhanced] .pub-navigation { display: none; }
    .public-header.is-menu-open .pub-navigation { position: fixed; display: flex; flex-direction: column; align-items: stretch; flex-wrap: nowrap; top: 0; right: 0; bottom: 0; width: min(350px, calc(100% - 32px)); padding: 24px; overflow-y: auto; background: #fff; color: #20202b; z-index: 102; box-shadow: -10px 0 50px #0003; }
    .pub-navigation > a:hover, .pub-navigation > a[aria-current], .pub-contact-menu[open] > summary { background: #f5f5f5; color: #d01019; }
    .pub-contact-menu ul { padding: 0 0 8px 12px; }
    .pub-contact-menu a { padding: 12px 16px; }
    .pub-menu-close { display: grid; place-items: center; align-self: flex-end; padding: 10px; background: #f5f5f5; border: 0; margin-bottom: 18px; cursor: pointer; }
    .pub-menu-backdrop { display: block; position: fixed; inset: 0; background: #0008; z-index: 101; }
    .pub-hero { height: 85svh; min-height: 560px; max-height: 760px; }
    .pub-hero-content { padding-top: 100px; }
    .pub-search form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .pub-car-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
    .pub-service-grid, .pub-branch-grid { gap: 20px; }
    .pub-branch { padding: 20px; }
    .pub-footer-grid { grid-template-columns: 1fr 1fr; gap: 35px; }
    .pub-footer-branches { grid-column: 1 / -1; }
    .pub-footer-branches address { display: inline-grid; width: calc(50% - 20px); margin-right: 15px; vertical-align: top; }
    .pub-about-grid { gap: 30px; }
}
@media (max-width: 600px) {
    .pub-container { width: calc(100% - 32px); }
    .pub-hero { min-height: 530px; }
    .pub-hero h1 { font-size: 34px; }
    .pub-hero p { font-size: 16px; margin-block: 18px 26px; }
    .pub-hero-content { padding-bottom: 110px; }
    .pub-search { margin-top: -80px; padding: 20px; }
    .pub-search form { gap: 12px; }
    .pub-search select { font-size: 12px; padding-left: 10px; padding-right: 16px; }
    .pub-search .pub-button { padding-inline: 8px; font-size: 11px; }
    .pub-search .pub-icon { width: 16px; height: 16px; }
    .pub-section { padding-block: 55px; }
    .pub-section-heading { margin-bottom: 26px; }
    .pub-section-heading h2 { font-size: 29px; letter-spacing: -.5px; }
    .pub-car-grid, .pub-service-grid, .pub-about-grid, .pub-branch-grid { grid-template-columns: 1fr; }
    .pub-car-content { padding: 22px; }
    .pub-service { display: flex; padding: 30px 22px; }
    .pub-service > .pub-icon { width: 42px; }
    .pub-partners { gap: 12px; padding-block: 22px; }
    .pub-partners img { width: 90px; height: 56px; }
    .pub-footer-grid { grid-template-columns: 1fr; gap: 35px; padding-bottom: 35px; }
    .pub-footer-branches { grid-column: auto; }
    .pub-footer-branches address { display: grid; width: 100%; margin-right: 0; grid-template-columns: 1fr; }
    .public-footer { padding-top: 50px; }
    .pub-copyright { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    .public-ui *, .public-home * { transition: none !important; }
    .pub-car:hover { transform: none; }
}

/* Shared public presentation, matching the approved charcoal/red layouts. */
.public-ui, .public-home { --pub-red: #f20929; --pub-ink: #151b25; --pub-muted: #626b78; --pub-line: #e6e9ef; line-height: 1.55; }
.public-home :is(h1,h2,h3) { letter-spacing: -.035em; }
.public-home :is(h2,h3) { line-height: 1.2; }
.public-home h2 span { color: var(--pub-red); }
.public-home :is(input,select,textarea,button) { font: inherit; }
.public-home :is(a,button,input,select,textarea,summary):focus-visible { outline: 3px solid #267bc9; outline-offset: 3px; }
.public-home :is(input,select,textarea) { width: 100%; min-width: 0; min-height: 46px; padding: 11px 14px; background: #fff; border: 1px solid #d8dee8; border-radius: 5px; color: var(--pub-ink); font-size: 15px; }
.public-home :is(input,select,textarea):hover { border-color: #a3acbb; }
.public-home :is(input,select,textarea):disabled { background: #eef0f4; cursor: not-allowed; color: #737b85; }
.public-home input[type="checkbox"] { width: 20px; min-height: 20px; accent-color: var(--pub-red); }
.public-home :is(input,select,textarea).is-invalid { border-color: #c3001c; box-shadow: 0 0 0 1px #c3001c; }
.public-home label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.public-header--home, .public-header--plain { position: sticky; top: calc(-1 * var(--pub-topbar-height, 84px)); background: #141b26; color: #fff; box-shadow: none; }
.public-header.is-scrolled { box-shadow: 0 4px 14px #10162026; }
.public-home[id], .public-home [id] { scroll-margin-top: calc(var(--pub-menu-height, 60px) + 24px); }
.pub-topbar { min-height: 84px; }
.pub-logo img { width: 210px; }
.pub-contact { font-size: 15px; }
.pub-contact .pub-icon { width: 30px; height: 30px; }
.pub-contact small { font-size: 12px; }
.pub-nav-wrap, .public-header--home.is-scrolled .pub-nav-wrap { background: #101620; }
.pub-navigation { min-height: 48px; justify-content: center; }
.pub-navigation > a, .pub-contact-menu > summary { padding: 13px 22px; font-size: 13px; border-bottom: 3px solid transparent; }
.pub-navigation > a[aria-current], .pub-contact-menu:has(a[aria-current]) > summary { border-bottom-color: var(--pub-red); }
.pub-button { border-radius: 4px; min-height: 48px; font-size: 13px; letter-spacing: 0; transition: background .2s, box-shadow .2s; }
.pub-button:hover { box-shadow: 0 5px 18px #c7002026; background: #cf0924; }
.pub-button--outline:hover { background: #fff0f1; }
.pub-text-link { display: inline-flex; color: #ce0925 !important; text-decoration: underline !important; text-underline-offset: 5px; font-weight: 600; }
.pub-eyebrow { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; text-transform: uppercase; color: #e80a28; margin-bottom: 16px; letter-spacing: .02em; }
.pub-eyebrow::before { content: ''; height: 2px; width: 32px; background: currentColor; }
.pub-hero { height: 470px; min-height: 0; max-height: none; }
.pub-hero::after { background: linear-gradient(90deg,#060d17dc 0%,#060d1770 50%,#060d1715 100%); }
.pub-hero-content { text-align: left; padding: 40px 0 80px; }
.pub-hero h1 { font-size: clamp(40px,4.5vw,64px); max-width: 650px; line-height: 1.02; font-weight: 800; }
.pub-hero h1 span { color: var(--pub-red); display: block; }
.pub-hero p { max-width: 520px; margin: 20px 0 26px; font-size: 19px; line-height: 1.5; }
.pub-hero-image { object-position: center 58%; }
.pub-search { background: #fff; color: var(--pub-ink); padding: 26px 30px; margin-top: -46px; border-radius: 6px; box-shadow: 0 10px 30px #16223815; }
.pub-search select { font-size: 14px; border-radius: 5px; height: 46px; }
.pub-search .pub-button { min-height: 46px; }
.pub-section { padding-block: 55px; }
.pub-section-heading { margin-bottom: 26px; }
.pub-section-heading > p { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.pub-section-heading > p::before { content: ''; width: 32px; height: 2px; background: var(--pub-red); }
.pub-section-heading h2 { font-size: clamp(28px,3vw,40px); margin-top: 8px; font-weight: 800; }
.pub-car-grid { gap: 24px; }
.pub-car { border-radius: 6px; overflow: hidden; box-shadow: 0 5px 20px #1827360d; border: 1px solid #eef0f3; }
.pub-car-content { padding: 20px 22px 12px; }
.pub-car h3 { font-size: 19px; font-weight: 700; letter-spacing: -.025em; }
.pub-car-price { font-size: 26px; font-weight: 700; color: #ed0928; }
.pub-car-tags { top: 14px; left: 14px; }
.pub-car-tags span { border-radius: 4px; padding: 5px 10px; }
.pub-car-features { padding: 14px 22px; gap: 12px; font-size: 12px; }
.pub-car-cta { display: flex; margin: 0 22px 20px; padding: 10px 12px; min-height: 44px; }
.pub-service, .pub-branch { border-radius: 6px; }
.pub-service { padding: 26px; }
.pub-services { background: #f3f5f7; }
.public-footer { background: #141b26; padding-top: 40px; }
.pub-footer-grid { gap: 55px; padding-bottom: 30px; }
.pub-footer-logo { display: block; margin-bottom: 16px; }
.pub-footer-logo img { width: 180px; height: auto; }
.public-footer h2 { text-transform: none; margin-bottom: 15px; }
.public-footer p, .public-footer li, .public-footer address { font-size: 13px; }
.pub-copyright { padding-block: 16px; }
.pub-page-hero { position: relative; color: #fff; background: #161e28; min-height: 320px; padding: 36px 0 84px; isolation: isolate; display: flex; align-items: center; }
.pub-page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,#080f19f2 0%,#080f19b3 45%,#080f1930 100%); z-index: -1; }
.pub-page-hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.pub-page-hero h1 { text-transform: uppercase; font-size: clamp(36px,4.5vw,60px); line-height: 1.08; font-weight: 800; max-width: 800px; margin: 0 0 18px; }
.pub-page-hero h1 span { color: var(--pub-red); }
.pub-page-hero p { font-size: 20px; line-height: 1.45; max-width: 600px; }
.pub-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; margin-bottom: 28px; color: inherit; opacity: .9; }
.pub-breadcrumb a:hover { text-decoration: underline; }
.pub-catalog-search form { row-gap: 14px; }
.pub-search-text { grid-column: span 3; }
.pub-search-text label { font-weight: 400; font-size: 12px; margin-bottom: 4px; color: var(--pub-muted); }
.pub-reset { padding-block: 10px; justify-content: center; font-size: 13px; }
.pub-catalog-results { padding: 32px 0 55px; }
.pub-results-bar { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 24px; }
.pub-results-bar p { font-size: 14px; color: var(--pub-muted); }
.pub-results-bar strong { color: var(--pub-ink); }
.pub-sort { display: inline-flex; border: 1px solid #dbe0e7; border-radius: 5px; overflow: hidden; }
.pub-sort a { padding: 12px 22px; font-size: 14px; border-right: 1px solid #dbe0e7; font-weight: 600; }
.pub-sort a:last-child { border: 0; }
.pub-sort a[aria-current], .pub-sort a:hover { background: var(--pub-red); color: #fff; }
.pub-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 30px; }
.pub-pagination :is(a,span) { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #dbe0e7; border-radius: 4px; }
.pub-pagination a[aria-current], .pub-pagination a:hover { background: var(--pub-red); border-color: var(--pub-red); color: #fff; }
.pub-pagination [aria-disabled] { color: #9ba3af; background: #f6f7f9; }
.pub-empty { border-radius: 6px; padding: 45px; text-align: center; }
.pub-empty p { margin: 14px 0 24px; }
.pub-support { background: #f2f4f6; padding: 32px 0; }
.pub-support-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 28px; align-items: center; }
.pub-support h2 { font-size: 27px; text-transform: uppercase; margin: 0; }
.pub-support a { border-left: 1px solid #dfe3e9; padding-left: 24px; display: grid; grid-template-columns: 40px 1fr; gap: 5px 12px; }
.pub-support a > .pub-icon { grid-row: span 2; width: 36px; height: 36px; color: var(--pub-red); }
.pub-support strong { font-size: 15px; line-height: 1.35; }
.pub-support a > span { font-size: 13px; color: var(--pub-muted); }
.pub-trust { background: linear-gradient(90deg,#0d131bf2,#0d131ba8),url('../img/footer.jpg') center / cover; color: #fff; padding: 38px 0; }
.pub-trust-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center; }
.pub-trust h2 { font-size: 30px; text-transform: uppercase; }
.pub-trust h3 { font-size: 22px; }
.pub-trust p { margin: 14px 0 20px; max-width: 570px; font-size: 15px; }
.pub-trust .pub-text-link { color: #fff !important; }
.pub-detail { padding-top: 28px; padding-bottom: 55px; }
.pub-detail-grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(0,1fr); gap: 34px; align-items: start; }
.pub-detail-grid > *, .pub-detail-bottom > * { min-width: 0; }
.pub-gallery-stage { position: relative; background: #eef0f4; border-radius: 6px; overflow: hidden; }
.pub-gallery-stage > a { display: block; aspect-ratio: 4/3; }
.pub-gallery-stage img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pub-gallery-stage button { position: absolute; top: 45%; border: 0; background: #fff; color: #182131; width: 44px; height: 44px; border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px #0002; }
.pub-gallery-prev { left: 14px; }
.pub-gallery-next { right: 14px; }
.pub-gallery-count { position: absolute; right: 14px; bottom: 14px; background: #101620bc; color: #fff; border-radius: 18px; padding: 4px 14px; font-size: 13px; }
.pub-gallery-thumbs { display: flex; gap: 9px; overflow-x: auto; padding: 12px 2px; scroll-snap-type: x proximity; }
.pub-gallery-thumbs a { width: 105px; flex: 0 0 105px; aspect-ratio: 4/3; border: 2px solid transparent; border-radius: 4px; overflow: hidden; scroll-snap-align: center; }
.pub-gallery-thumbs a[aria-current] { border-color: var(--pub-red); }
.pub-gallery-thumbs img { width: 100%; height: 100%; display: block; object-fit: cover; }
.pub-lightbox { padding: 45px 56px 32px; width: min(1200px,96vw); max-width: 96vw; max-height: 95svh; border: 0; border-radius: 8px; background: #141b26; color: #fff; }
.pub-lightbox::backdrop { background: #080c13e8; }
.pub-lightbox[open] { display: grid; grid-template-columns: 1fr; }
.pub-lightbox img { width: 100%; height: min(75svh,800px); object-fit: contain; }
.pub-lightbox button { position: absolute; border: 0; background: #fff; color: #151b25; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 28px; }
.pub-lightbox [data-gallery-close] { right: 8px; top: 5px; }
.pub-lightbox [data-gallery-prev] { left: 6px; top: 45%; }
.pub-lightbox [data-gallery-next] { right: 6px; top: 45%; }
.pub-lightbox [data-gallery-count] { text-align: center; font-size: 14px; }
.pub-quick-specs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); background: #f5f6f8; border-radius: 6px; padding: 12px; gap: 0; }
.pub-quick-specs > div { padding: 13px; min-width: 0; }
.pub-quick-specs dt { font-size: 12px; color: var(--pub-muted); }
.pub-quick-specs dd { margin: 4px 0 0; font-weight: 600; font-size: 14px; }
.pub-sale-card { padding: 28px; border-radius: 7px; box-shadow: 0 5px 30px #16223812; border: 1px solid #f1f2f5; }
.pub-inline-tags { display: flex; gap: 8px; margin-bottom: 20px; }
.pub-inline-tags span { font-weight: 700; font-size: 12px; text-transform: uppercase; border: 1px solid #e1e4e9; padding: 6px 12px; border-radius: 4px; }
.pub-inline-tags span:first-child { background: var(--pub-red); border-color: var(--pub-red); color: #fff; }
.pub-sale-card h1 { font-size: clamp(24px,2.2vw,32px); line-height: 1.2; margin: 0 0 14px; }
.pub-sale-subtitle { color: var(--pub-muted); font-size: 14px; margin-bottom: 20px !important; }
.pub-detail-price { font-size: clamp(28px,3vw,40px); font-weight: 800; color: var(--pub-red); line-height: 1.25; }
.pub-detail-price small { font-size: 13px; font-weight: 400; color: var(--pub-muted); white-space: nowrap; }
.pub-net-price { font-size: 14px; margin-top: 8px !important; }
.pub-price-note { padding-top: 12px; font-size: 14px; }
.pub-availability { display: flex; gap: 12px; align-items: center; padding: 18px; margin: 22px 0 18px; color: #12653c; background: #e8f8ec; border-radius: 5px; font-size: 15px; }
.pub-sale-card > .pub-button { width: 100%; }
.pub-location { background: #f5f6f8; padding: 20px; border-radius: 5px; margin-top: 22px; }
.pub-location h2 { font-size: 16px; margin-bottom: 12px; }
.pub-location p { font-size: 14px; }
.pub-sale-card > .pub-text-link { font-size: 14px; margin-top: 20px; }
.pub-detail-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; border-bottom: 1px solid #e4e7ec; margin: 35px 0; }
.pub-detail-nav a { padding: 15px 5px; font-size: 14px; font-weight: 700; border-bottom: 3px solid transparent; }
.pub-detail-nav a:hover { color: var(--pub-red); border-color: var(--pub-red); }
.pub-detail-bottom { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(0,1fr); gap: 34px; align-items: start; }
.pub-specifications { min-width: 0; }
.pub-specifications .pub-detail-heading { font-size: 25px; margin: 30px 0 18px; }
.pub-specifications .pub-detail-heading:first-child { margin-top: 0; }
.pub-specifications table { width: 100%; border-collapse: collapse; font-size: 14px !important; background: #fff; }
.pub-specifications td { padding: 12px 14px; border-bottom: 1px solid #e9ecf0; vertical-align: top; overflow-wrap: anywhere; }
.pub-specifications tr:nth-child(odd) { background: #f5f6f8; }
.pub-specifications p { line-height: 1.8; font-size: 15px; }
.pub-form-card { border: 1px solid #e9ecf2; background: #fff; border-radius: 7px; box-shadow: 0 5px 30px #1622380a; padding: 30px; scroll-margin-top: 20px; }
.pub-form-card h2 { font-size: 30px; margin-bottom: 25px; }
.pub-inquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.pub-inquiry-form .form-group { min-width: 0; }
.pub-inquiry-form .form-group:has([name="note"]), .pub-inquiry-form > .pub-button { grid-column: 1/-1; }
.pub-inquiry-form textarea { resize: vertical; min-height: 120px; }
.pub-inquiry-form .invalid-feedback { color: #b9001a; font-size: 13px; margin-top: 4px; }
.pub-form-card .alert { margin-bottom: 22px; padding: 16px; border-radius: 5px; font-size: 14px; }
.pub-form-card .alert-danger { background: #fff0f1; color: #a40019; border: 1px solid #ffc5cf; }
.pub-form-card .alert-success { background: #e8f8ec; color: #12653c; border: 1px solid #b5e4c5; }
.pub-service-hero { min-height: 350px; padding-block: 55px; }
.pub-service-hero h1 span { display: block; }
.pub-service-benefits { display: grid; grid-template-columns: repeat(3,1fr); gap: 35px; padding-block: 28px; }
.pub-service-benefits > div { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; align-items: center; }
.pub-service-benefits .pub-icon { width: 42px; height: 42px; grid-row: span 2; color: var(--pub-red); }
.pub-service-benefits h2 { font-size: 17px; margin-bottom: 5px; }
.pub-service-benefits p { color: var(--pub-muted); font-size: 13px; }
.pub-service-content { background: #f4f6f8; padding-block: 40px; }
.pub-service-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 30px; align-items: start; }
.pub-service-info > h2 { font-size: 32px; margin-bottom: 16px; }
.pub-service-info > p { color: var(--pub-muted); font-size: 15px; }
.pub-service-photo { display: block; width: 100%; aspect-ratio: 2.3; object-fit: cover; border-radius: 6px; margin-bottom: 24px; }
.pub-service-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.pub-service-tiles article { background: #fff; border: 1px solid #e6eaf0; border-radius: 5px; padding: 20px; }
.pub-service-tiles h3 { font-size: 17px; margin-bottom: 10px; }
.pub-service-tiles p, .pub-service-details p { font-size: 14px; color: var(--pub-muted); }
.pub-service-details { margin-top: 24px; }
.pub-service-details summary { cursor: pointer; font-weight: 600; padding-block: 12px; }
.pub-service-details p { margin-top: 15px; }
.pub-service-contacts .pub-branch-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.pub-showroom-hero { min-height: 360px; }
.pub-showroom-info { position: relative; display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 35px; padding: 32px; background: #fff; margin-top: -44px; border-radius: 6px; box-shadow: 0 6px 30px #15263514; }
.pub-showroom-info h2 { font-size: 22px; margin-bottom: 18px; }
.pub-showroom-info address { font-style: normal; font-size: 15px; margin-bottom: 18px; line-height: 1.8; }
.pub-hours { border-left: 1px solid #e4e8ee; padding-left: 28px; }
.pub-hours > p { font-size: 13px; color: var(--pub-muted); }
.pub-hours dl { margin: 14px 0; }
.pub-hours dl > div { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; font-size: 14px; }
.pub-hours dd { margin: 0; text-align: right; }
.pub-hours .pub-hours-info { color: #b50b23; margin-top: 12px; }
.pub-hours .pub-hours-note { font-size: 13px; }
.pub-showroom-content { padding-block: 50px; }
.pub-person-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.pub-person { padding: 26px; border: 1px solid #e7ebf0; border-radius: 6px; background: #fff; box-shadow: 0 5px 18px #16223808; min-width: 0; }
.pub-person-icon { display: grid; place-items: center; width: 46px; height: 46px; background: #fff0f1; color: var(--pub-red); border-radius: 50%; margin-bottom: 16px; }
.pub-person h3 { font-size: 22px; margin-bottom: 6px; }
.pub-person p { color: var(--pub-muted); font-size: 14px; margin-bottom: 18px; }
.pub-person a { display: flex; align-items: center; gap: 10px; padding-block: 9px; font-size: 14px; overflow-wrap: anywhere; }
.pub-person a .pub-icon { color: var(--pub-red); width: 20px; height: 20px; }
.pub-person a:hover { color: #c80723; text-decoration: underline; }
.pub-map-section { margin-top: 40px; }
.pub-map-section h2, .pub-showroom-media h2 { font-size: 30px; margin-bottom: 22px; }
.pub-map { min-height: 420px; border-radius: 6px; overflow: hidden; background: #e9eef0; }
.pub-map-fallback { min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px; text-align: center; gap: 10px; background: repeating-linear-gradient(35deg,transparent 0 70px,#fff6 70px 73px),#edf1f3; }
.pub-map-fallback > .pub-icon { width: 45px; height: 45px; color: var(--pub-red); }
.pub-map-fallback p { font-size: 14px; color: var(--pub-muted); }
.pub-showroom-media { margin-top: 40px; }
.pub-showroom-media video { display: block; width: 100%; max-height: 480px; background: #141b26; border-radius: 6px; }
.pub-showroom-media > img { display: block; width: 100%; height: auto; margin-top: 24px; border-radius: 6px; }
@media (max-width: 1100px) {
    .pub-top-contacts { gap: 16px; }
    .pub-contact { font-size: 13px; }
    .pub-support-grid { grid-template-columns: 1fr 1fr; }
    .pub-detail-grid, .pub-detail-bottom { gap: 24px; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); }
    .pub-sale-card, .pub-form-card { padding: 24px; }
    .pub-inquiry-form { grid-template-columns: 1fr; }
    .pub-showroom-info { gap: 22px; padding: 26px; }
    .pub-hours { padding-left: 20px; }
}
@media (max-width: 991px) {
    .public-header--home, .public-header--plain { top: 0; }
    .public-home[id], .public-home [id] { scroll-margin-top: calc(var(--pub-menu-height, 78px) + 24px); }
    .pub-nav-wrap { min-height: 78px; }
    .pub-navigation { justify-content: flex-start; }
    .pub-navigation > a, .pub-contact-menu > summary { padding: 14px 16px; }
    .pub-hero { height: 450px; min-height: 0; }
    .pub-hero-content { padding: 35px 0 70px; }
    .pub-search form { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
    .pub-search-text { grid-column: auto; }
    .pub-service-layout, .pub-detail-grid, .pub-detail-bottom { grid-template-columns: 1fr; }
    .pub-inquiry-form { grid-template-columns: 1fr 1fr; }
    .pub-detail-bottom > div { order: -1; }
    .pub-quick-specs { grid-template-columns: repeat(3,1fr); }
    .pub-gallery-stage > a { aspect-ratio: 16/10; }
    .pub-showroom-info { grid-template-columns: 1fr 1fr; }
    .pub-showroom-info > div { grid-column: 1/-1; }
    .pub-hours { border: 0; padding-left: 0; }
    .pub-person-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .pub-service-benefits { gap: 20px; }
    .pub-service-benefits > div { display: block; }
    .pub-service-benefits h2 { margin-block: 8px; }
    .pub-trust-grid { gap: 40px; }
}
@media (max-width: 600px) {
    .pub-hero { height: 430px; }
    .pub-hero-content { padding-block: 30px 65px; }
    .pub-hero h1 { font-size: 42px; max-width: 340px; }
    .pub-hero p { font-size: 17px; }
    .pub-hero::after { background: linear-gradient(90deg,#060d17e0,#060d1750); }
    .pub-search { padding: 20px; margin-top: -35px; }
    .pub-search form { gap: 16px 12px; }
    .pub-search label { font-size: 13px; }
    .pub-search select { font-size: 14px; padding: 10px 8px; }
    .pub-search .pub-button { font-size: 12px; padding: 10px 8px; }
    .pub-section { padding-block: 38px; }
    .pub-car-grid { grid-template-columns: 1fr; }
    .pub-page-hero { min-height: 300px; padding: 28px 0 65px; }
    .pub-page-hero h1 { font-size: 38px; }
    .pub-page-hero p { font-size: 17px; }
    .pub-breadcrumb { font-size: 12px; margin-bottom: 24px; }
    .pub-results-bar { align-items: flex-start; flex-direction: column; gap: 15px; }
    .pub-sort { display: flex; width: 100%; }
    .pub-sort a { flex: 1; text-align: center; padding: 12px 8px; font-size: 13px; }
    .pub-search-text { grid-column: 1/-1; }
    .pub-reset { grid-column: 1/-1; padding-block: 0; }
    .pub-support-grid { grid-template-columns: 1fr; gap: 24px; }
    .pub-support a { border: 0; padding-left: 0; }
    .pub-trust-grid { grid-template-columns: 1fr; gap: 28px; }
    .pub-trust h2 { font-size: 27px; }
    .pub-detail { padding-top: 22px; }
    .pub-gallery-stage > a { aspect-ratio: 4/3; }
    .pub-quick-specs { grid-template-columns: 1fr 1fr; }
    .pub-detail-nav { gap: 0 14px; margin-block: 25px; }
    .pub-detail-nav a { font-size: 13px; }
    .pub-form-card, .pub-sale-card { padding: 22px; }
    .pub-form-card h2 { font-size: 27px; }
    .pub-inquiry-form { grid-template-columns: 1fr; gap: 18px; }
    .pub-specifications td { padding: 10px; font-size: 13px; }
    .pub-specifications td:first-child { width: 40% !important; }
    .pub-specifications td:last-child { width: 60% !important; }
    .pub-service-benefits { grid-template-columns: 1fr; gap: 20px; }
    .pub-service-benefits > div { display: grid; }
    .pub-service-tiles { gap: 12px; }
    .pub-service-tiles article { padding: 16px; }
    .pub-service-tiles h3 { font-size: 16px; }
    .pub-service-contacts .pub-branch-grid { grid-template-columns: 1fr; }
    .pub-showroom-info { grid-template-columns: 1fr; padding: 24px; gap: 30px; }
    .pub-showroom-info > div { grid-column: auto; }
    .pub-hours { padding-top: 22px; border-top: 1px solid #e4e8ee; }
    .pub-person-grid { grid-template-columns: 1fr; }
    .pub-map, .pub-map-fallback { min-height: 330px; }
    .pub-showroom-content { padding-block: 36px; }
    .pub-empty { padding: 30px 20px; }
    .pub-lightbox { padding: 48px 0 28px; }
    .pub-lightbox img { height: 65svh; }
}

/* Existing public design: fulltext occupies the former manufacturer column. */
.pub-search input[type="search"] { width:100%; min-width:0; height:46px; border:1px solid #e8e8e8; border-radius:5px; background:#fff; color:#505050; padding:10px 16px; font:inherit; font-size:14px; }
.pub-search form > button[type="submit"] { height:46px; padding-block:10px; }
.pub-search .pub-reset { grid-column:1/-1; justify-self:end; }
.pub-slide { position:absolute; inset:0; display:grid; align-items:center; }
.pub-slide[hidden], .pub-slider-controls[hidden] { display:none; }
.pub-hero .pub-slide-heading { font-size:clamp(40px,4.5vw,64px); max-width:650px; line-height:1.02; font-weight:800; text-transform:uppercase; text-shadow:0 1px 2px #0005; overflow-wrap:anywhere; }
.pub-slide-heading span { display:block; color:var(--pub-red); }
.pub-slider-controls { position:absolute; z-index:2; bottom:62px; left:0; right:0; display:flex; align-items:center; gap:10px; }
.pub-slider-controls button { min-height:36px; min-width:36px; background:#101722e8; border:1px solid #ffffff80; border-radius:4px; color:#fff; cursor:pointer; padding:5px 10px; }
.pub-slider-dots { display:flex; gap:8px; flex-wrap:wrap; }
.pub-slider-dots button { width:14px; min-width:14px; min-height:14px; height:14px; padding:0; border-radius:50%; }
.pub-slider-dots button[aria-current="true"] { background:var(--pub-red); border-color:var(--pub-red); }
.pub-slider-status { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
@media(max-width:991px) {
    .pub-search form > div:first-child { grid-column:1/-1; }
    .pub-search form > button[type="submit"] { grid-column:1/-1; }
}
@media(max-width:600px) {
    .pub-hero .pub-slide-heading { font-size:36px; max-width:340px; }
    .pub-slider-controls { bottom:48px; gap:8px; }
    .pub-slider-controls button { font-size:13px; }
}
