/* Ultron Estoque - Design público
   Fonte visual única do frontend público. Bootstrap permanece apenas como base de grid/collapse. */

:root {
    --cor-principal: #334155;
    --cor-principal-rgb: 109, 40, 217;
    --cor-principal-contraste: #fff;
    --public-bg: #f5f6f8;
    --public-bg-soft: #fafafa;
    --public-surface: #ffffff;
    --public-surface-muted: #f1f3f5;
    --public-text: #111827;
    --public-text-2: #4b5563;
    --public-text-3: #7b8494;
    --public-border: #e2e5e9;
    --public-border-strong: #d3d7de;
    --public-shadow-xs: 0 2px 8px rgba(17, 24, 39, .035);
    --public-shadow-sm: 0 10px 30px rgba(17, 24, 39, .055);
    --public-shadow-md: 0 18px 48px rgba(17, 24, 39, .075);
    --public-radius-sm: 10px;
    --public-radius: 16px;
    --public-radius-lg: 22px;
    --public-control-h: 50px;
    --public-space-1: 4px;
    --public-space-2: 8px;
    --public-space-3: 12px;
    --public-space-4: 16px;
    --public-space-5: 20px;
    --public-space-6: 24px;
    --public-space-7: 32px;
    --public-space-8: 40px;
    --public-space-9: 56px;
    --public-space-10: 72px;
    --accent-soft: color-mix(in srgb, var(--cor-principal) 9%, white);
    --accent-soft-2: color-mix(in srgb, var(--cor-principal) 16%, white);
    --accent-border: color-mix(in srgb, var(--cor-principal) 28%, var(--public-border));
    --accent-dark: color-mix(in srgb, var(--cor-principal) 82%, black);
}

/* V5.2 — comparação responsiva e controles consistentes */
.compare-toggle {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 4;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 13px;
    border: 1px solid rgba(17, 24, 39, .12);
    border-radius: 10px;
    background: rgba(255, 255, 255, .95);
    color: var(--public-text);
    box-shadow: 0 7px 20px rgba(17, 24, 39, .13);
    font-size: .76rem;
    font-weight: 800;
    line-height: 1;
    transition: transform .18s ease, border-color .18s ease, background-color .18s ease, color .18s ease;
}

.compare-toggle:hover {
    transform: translateY(-1px);
    border-color: var(--accent-border);
    background: var(--accent-soft);
}

.compare-toggle.is-active {
    border-color: var(--cor-principal);
    background: var(--cor-principal);
    color: var(--cor-principal-contraste);
}

.compare-floating-bar {
    position: fixed;
    left: 50%;
    bottom: max(18px, env(safe-area-inset-bottom));
    z-index: 1050;
    width: min(calc(100% - 32px), 610px);
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 11px 10px 18px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    background: #111827;
    color: #fff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .28);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, calc(100% + 40px));
    transition: transform .24s ease, opacity .2s ease;
}

.compare-floating-bar.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.compare-floating-bar.has-feedback::before {
    content: attr(data-feedback);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 9px);
    width: max-content;
    max-width: calc(100vw - 32px);
    padding: 8px 12px;
    border-radius: 9px;
    background: #7f1d1d;
    color: #fff;
    box-shadow: var(--public-shadow-sm);
    font-size: .78rem;
    font-weight: 700;
    transform: translateX(-50%);
}

.compare-bar-count {
    min-width: 0;
    color: #d7dde6;
    font-size: .87rem;
    white-space: nowrap;
}

.compare-bar-count strong {
    color: #fff;
    font-size: 1.06rem;
}

.compare-bar-action,
.compare-bar-hint,
.compare-bar-clear {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 9px 14px;
    font-size: .82rem;
    font-weight: 800;
    white-space: nowrap;
}

.compare-bar-action {
    background: var(--cor-principal);
    color: var(--cor-principal-contraste) !important;
}

.compare-bar-action:hover {
    background: var(--accent-dark);
}

.compare-bar-hint {
    background: rgba(255, 255, 255, .08);
    color: #b8c1ce;
}

.compare-bar-clear {
    border: 1px solid rgba(255, 255, 255, .17);
    background: transparent;
    color: #fff;
}

.compare-bar-clear:hover {
    background: rgba(255, 255, 255, .08);
}

.compare-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding: 16px 18px;
    border: 1px solid var(--public-border);
    border-radius: 14px;
    background: var(--public-surface);
    box-shadow: var(--public-shadow-xs);
}

.compare-summary strong,
.compare-summary span {
    display: block;
}

.compare-summary span {
    margin-top: 2px;
    color: var(--public-text-2);
    font-size: .84rem;
}

.compare-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--public-border);
    border-radius: 18px;
    background: var(--public-surface);
    box-shadow: var(--public-shadow-sm);
}

.compare-table {
    width: 100%;
    min-width: 780px;
    border-collapse: separate;
    border-spacing: 0;
}

.compare-table th,
.compare-table td {
    padding: 15px;
    border: 0;
    border-right: 1px solid var(--public-border);
    border-bottom: 1px solid var(--public-border);
    text-align: center;
}

.compare-table tr > *:last-child {
    border-right: 0;
}

.compare-table tbody tr:last-child > * {
    border-bottom: 0;
}

.compare-table thead th {
    width: 27%;
    padding: 18px;
    background: var(--public-bg-soft);
    vertical-align: top;
}

.compare-table thead th:first-child,
.compare-table tbody th {
    width: 160px;
    text-align: left;
}

.compare-table thead th:first-child {
    color: var(--public-text-2);
}

.compare-table thead img {
    width: 100%;
    height: 152px;
    object-fit: cover;
    display: block;
    margin: 0 auto 12px;
    border-radius: 12px;
    background: var(--public-surface-muted);
}

.compare-table thead strong {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.3;
}

.compare-table tbody th {
    color: var(--public-text-2);
    background: var(--public-bg-soft);
    font-size: .82rem;
}

.compare-table tbody td {
    color: var(--public-text);
    font-weight: 700;
}

.compare-head-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 13px;
}

.compare-remove {
    color: var(--public-text-2) !important;
    font-size: .76rem;
    font-weight: 750;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

.compare-mobile {
    display: none;
}

.compare-lead-form {
    max-width: 900px;
    margin: 28px auto 0;
}

.compare-empty-state {
    max-width: 620px;
    margin: 0 auto;
}

.no-result-lead {
    display: grid;
    gap: 10px;
    max-width: 520px;
    margin: 22px auto 0;
    padding: 18px;
    border: 1px solid #fed7aa;
    border-radius: 14px;
    background: #fff7ed;
}

.no-result-lead h4,
.no-result-lead p {
    margin: 0;
}

@media (max-width: 760px) {
    .compare-toggle {
        min-height: 36px;
        padding: 7px 10px;
        font-size: .7rem;
    }

    .compare-floating-bar {
        bottom: max(10px, env(safe-area-inset-bottom));
        width: calc(100% - 20px);
        min-height: 58px;
        gap: 7px;
        padding: 8px;
        border-radius: 14px;
    }

    .compare-bar-count {
        padding-left: 5px;
        font-size: .75rem;
    }

    .compare-bar-count strong {
        display: block;
        line-height: 1;
    }

    .compare-bar-action,
    .compare-bar-hint,
    .compare-bar-clear {
        min-height: 40px;
        padding: 8px 10px;
        font-size: .74rem;
    }

    .compare-summary {
        align-items: stretch;
        flex-direction: column;
    }

    .compare-summary .btn {
        width: 100%;
    }

    .compare-desktop {
        display: none;
    }

    .compare-mobile {
        display: grid;
        gap: 16px;
    }

    .compare-mobile-card {
        overflow: hidden;
        border: 1px solid var(--public-border);
        border-radius: 18px;
        background: var(--public-surface);
        box-shadow: var(--public-shadow-xs);
    }

    .compare-mobile-card > img {
        width: 100%;
        aspect-ratio: 16 / 10;
        display: block;
        object-fit: cover;
        background: var(--public-surface-muted);
    }

    .compare-mobile-card-body {
        padding: 18px;
    }

    .compare-mobile-card h2 {
        margin: 0 0 15px;
        font-size: 1.2rem;
        line-height: 1.25;
    }

    .compare-mobile-card dl {
        margin: 0;
    }

    .compare-mobile-card dl > div {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 14px;
        padding: 10px 0;
        border-bottom: 1px solid var(--public-border);
    }

    .compare-mobile-card dt {
        color: var(--public-text-2);
        font-size: .8rem;
        font-weight: 650;
    }

    .compare-mobile-card dd {
        margin: 0;
        text-align: right;
        font-weight: 800;
    }

    .compare-mobile-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 9px;
        margin-top: 17px;
    }
}

@media (max-width: 400px) {
    .compare-bar-count {
        max-width: 72px;
        white-space: normal;
        line-height: 1.05;
    }

    .compare-bar-hint {
        display: none;
    }

    .compare-mobile-actions {
        grid-template-columns: 1fr;
    }
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
    scroll-padding-top: 16px;
}

body.public-app {
    margin: 0;
    min-width: 320px;
    background: var(--public-bg);
    color: var(--public-text);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    color-scheme: light;
}

body.public-app main {
    min-height: 56vh;
}

body.public-app img,
body.public-app svg,
body.public-app video,
body.public-app iframe {
    max-width: 100%;
}

body.public-app a {
    color: inherit;
    text-decoration: none;
}

body.public-app button,
body.public-app input,
body.public-app select,
body.public-app textarea {
    font: inherit;
}

body.public-app svg {
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.public-app h1,
body.public-app h2,
body.public-app h3,
body.public-app p {
    overflow-wrap: anywhere;
}

body.public-app .container {
    width: min(100% - 32px, 1320px);
    max-width: 1320px;
    padding-left: 0;
    padding-right: 0;
}

/* ---------- Acessibilidade / foco ---------- */
body.public-app :focus-visible {
    outline: 3px solid color-mix(in srgb, var(--cor-principal) 58%, transparent);
    outline-offset: 2px;
}

body.public-app .btn:focus-visible,
body.public-app .form-control:focus-visible,
body.public-app .form-select:focus-visible,
body.public-app .quick-select:focus-within,
body.public-app .search-field:focus-within {
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--cor-principal) 14%, transparent);
}

/* ---------- Botões ---------- */
body.public-app .btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 11px;
    border-width: 1px;
    padding: 10px 18px;
    font-weight: 750;
    line-height: 1.2;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease, color .18s ease;
}

body.public-app .btn:hover {
    transform: translateY(-1px);
}

body.public-app .btn-primary-custom {
    border-color: var(--cor-principal);
    background: var(--cor-principal);
    color: var(--cor-principal-contraste);
    box-shadow: 0 9px 22px rgba(var(--cor-principal-rgb), .16);
}

body.public-app .btn-primary-custom:hover,
body.public-app .btn-primary-custom:active {
    border-color: var(--accent-dark);
    background: var(--accent-dark);
    color: var(--cor-principal-contraste);
    box-shadow: 0 12px 28px rgba(var(--cor-principal-rgb), .22);
}

body.public-app .btn-secondary-custom {
    border-color: var(--public-border-strong);
    background: var(--public-surface);
    color: var(--public-text);
    box-shadow: var(--public-shadow-xs);
}

body.public-app .btn-secondary-custom:hover {
    border-color: var(--accent-border);
    background: var(--accent-soft);
    color: var(--public-text);
}

body.public-app .btn-outline-accent {
    border-color: var(--accent-border);
    background: var(--public-surface);
    color: var(--accent-dark);
}

body.public-app .btn-outline-accent:hover {
    border-color: var(--cor-principal);
    background: var(--accent-soft);
    color: var(--accent-dark);
}

body.public-app .btn-danger-soft {
    border-color: #fecaca;
    background: #fff7f7;
    color: #b42318;
}

body.public-app .btn-danger-soft:hover {
    background: #fee2e2;
    color: #991b1b;
}

body.public-app .btn-lg {
    min-height: 52px;
    padding: 13px 20px;
    font-size: 1rem;
}

/* ---------- Header ---------- */
.site-header {
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--public-border);
    position: relative;
    z-index: 40;
}

.site-topbar {
    background: #f8f8f9;
    border-bottom: 1px solid #eceef1;
    color: var(--public-text-2);
}

.site-topbar-inner {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.topbar-contact-list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    min-width: 0;
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    font-size: .79rem;
    line-height: 1.25;
}

.topbar-item svg {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    color: var(--cor-principal);
    fill: currentColor;
    stroke: none;
}

.topbar-address {
    flex: 1 1 auto;
}

.topbar-address span,
.topbar-contact-list span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.public-navbar {
    min-height: 84px;
    padding: 0;
    background: var(--public-surface);
}

.public-navbar-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.site-brand {
    min-width: 246px;
    max-width: 320px;
    min-height: 64px;
    padding: 4px 0;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: var(--public-text);
}

.brand-logo {
    width: 62px;
    height: 54px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    overflow: hidden;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.brand-fallback {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-size: 1.1rem;
    font-weight: 850;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.1;
}

.brand-copy strong {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 1.02rem;
    font-weight: 850;
    letter-spacing: -.02em;
}

.brand-copy small {
    margin-top: 5px;
    color: var(--public-text-3);
    font-size: .64rem;
    font-weight: 750;
    letter-spacing: .105em;
    text-transform: uppercase;
    white-space: nowrap;
}

.public-menu .navbar-nav {
    gap: 2px;
}

.public-menu .nav-link {
    position: relative;
    min-height: 44px;
    padding: 11px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #303744;
    font-size: .88rem;
    font-weight: 700;
    border-radius: 9px;
    transition: color .18s ease, background-color .18s ease;
}

.public-menu .nav-link:hover {
    color: var(--accent-dark);
    background: var(--accent-soft);
}

.public-menu .nav-link.active {
    color: var(--accent-dark);
}

.public-menu .nav-link.active::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 3px;
    height: 2px;
    border-radius: 99px;
    background: var(--cor-principal);
}

.nav-whatsapp-wrap {
    margin-left: 8px;
}

.btn-header-whatsapp {
    min-height: 46px;
    padding-inline: 17px;
    white-space: nowrap;
}

.btn-header-whatsapp svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
}

.public-menu-toggle {
    width: 46px;
    height: 46px;
    padding: 11px;
    border: 1px solid var(--public-border-strong);
    border-radius: 11px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 5px;
    box-shadow: none;
}

.public-menu-toggle span {
    display: block;
    height: 2px;
    border-radius: 99px;
    background: var(--public-text);
}

/* ---------- Mensagens ---------- */
.flash-wrap {
    padding-top: 18px;
}

body.public-app .alert {
    border-radius: 12px;
    border-width: 1px;
    box-shadow: var(--public-shadow-xs);
}

/* ---------- Títulos e seções ---------- */
.section-eyebrow,
.section-kicker {
    color: var(--accent-dark);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .105em;
    font-size: .72rem;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.section-eyebrow i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cor-principal);
    box-shadow: 0 0 0 5px var(--accent-soft);
}

.public-section {
    padding: var(--public-space-9) 0;
}

.public-section-inner {
    margin-top: var(--public-space-9);
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 28px;
    margin-bottom: 26px;
}

.section-heading.compact {
    margin-bottom: 20px;
}

.section-heading h2 {
    margin: 8px 0 0;
    font-size: clamp(1.6rem, 2.5vw, 2.25rem);
    line-height: 1.08;
    letter-spacing: -.035em;
    font-weight: 850;
}

.section-heading p {
    margin: 9px 0 0;
    color: var(--public-text-2);
    max-width: 620px;
}

.section-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    color: var(--accent-dark);
    font-weight: 800;
    white-space: nowrap;
}

.section-link svg {
    width: 18px;
    height: 18px;
}

.page-hero {
    padding: 52px 0 45px;
    background: linear-gradient(180deg, #fff 0%, #f7f8fa 100%);
    border-bottom: 1px solid var(--public-border);
}

.page-hero h1 {
    margin: 10px 0 8px;
    font-size: clamp(2.05rem, 4vw, 3.25rem);
    font-weight: 880;
    line-height: 1.02;
    letter-spacing: -.045em;
}

.page-hero p {
    margin: 0;
    max-width: 700px;
    color: var(--public-text-2);
    font-size: 1.02rem;
}

.public-page {
    padding-top: 42px;
    padding-bottom: 64px;
}

/* ---------- Home / Hero ---------- */
.home-hero {
    padding: 38px 0 30px;
    background: linear-gradient(180deg, #fff 0%, #f7f8fa 100%);
    border-bottom: 1px solid var(--public-border);
}

.home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(560px, 1.18fr);
    gap: 52px;
    align-items: center;
}

.home-hero-grid--catalog {
    min-height: 350px;
}

.hero-catalog-panel {
    min-width: 0;
    padding: 24px;
    border: 1px solid var(--public-border);
    border-radius: var(--public-radius-lg);
    background: rgba(255, 255, 255, .86);
    box-shadow: var(--public-shadow-xs);
}

.hero-panel-heading {
    margin-bottom: 16px;
}

.hero-panel-heading h2 {
    margin: 3px 0 4px;
    font-size: 1.35rem;
    line-height: 1.1;
    letter-spacing: -.025em;
    font-weight: 860;
}

.hero-panel-heading p {
    margin: 0;
    color: var(--public-text-2);
    font-size: .85rem;
}

.home-hero-copy {
    padding: 18px 0;
}

.home-hero-copy h1 {
    margin: 13px 0 14px;
    max-width: 620px;
    font-size: clamp(3rem, 4.7vw, 4.65rem);
    line-height: .98;
    letter-spacing: -.058em;
    font-weight: 900;
}

.home-hero-copy > p {
    max-width: 620px;
    margin: 0 0 23px;
    color: var(--public-text-2);
    font-size: 1.02rem;
}

.hero-search {
    width: 100%;
    max-width: none;
}

.hero-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.search-field {
    height: 54px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 15px;
    border: 1px solid var(--public-border-strong);
    border-radius: 12px;
    background: var(--public-surface);
    box-shadow: var(--public-shadow-xs);
    transition: border-color .18s ease, box-shadow .18s ease;
}

.search-field:focus-within {
    border-color: var(--cor-principal);
}

.search-field input {
    width: 100%;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--public-text);
    font-size: 1rem;
}

.search-field input::placeholder {
    color: #8b94a3;
}

.field-icon {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
    color: var(--public-text-3);
}

.field-icon svg {
    width: 100%;
    height: 100%;
}

.hero-search-button {
    min-width: 160px;
    min-height: 54px;
}

.hero-filter-grid {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
}

.quick-select {
    position: relative;
    min-width: 0;
    height: 46px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding-left: 12px;
    border: 1px solid var(--public-border-strong);
    border-radius: 11px;
    background: var(--public-surface);
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.quick-select:hover,
.quick-select:focus-within {
    border-color: var(--accent-border);
    background: #fff;
}

.quick-select select {
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 0 31px 0 0;
    border: 0;
    outline: 0;
    appearance: none;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 9px center;
    color: var(--public-text);
    font-size: .87rem;
    font-weight: 650;
    cursor: pointer;
}

.hero-trust-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 9px 10px;
    border-radius: 11px;
    background: #f8f9fa;
    border: 1px solid #eceef1;
}

.hero-trust-item > span {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    background: var(--accent-soft);
    color: var(--accent-dark);
}

.hero-trust-item svg {
    width: 19px;
    height: 19px;
}

.hero-trust-item div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.hero-trust-item strong {
    font-size: .84rem;
    font-weight: 820;
}

.hero-trust-item small {
    margin-top: 4px;
    color: var(--public-text-3);
    font-size: .72rem;
}

.hero-feature-wrap {
    min-width: 0;
}

.hero-feature-card,
.hero-feature-empty {
    min-height: 440px;
    border: 1px solid var(--public-border);
    border-radius: var(--public-radius-lg);
    background: var(--public-surface);
    box-shadow: var(--public-shadow-sm);
    overflow: hidden;
}

.hero-feature-card {
    display: grid;
    grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr);
    align-items: stretch;
}

.hero-feature-info {
    z-index: 1;
    padding: 30px 0 30px 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: .68rem;
    line-height: 1;
    font-weight: 800;
    white-space: nowrap;
}

.status-disponivel {
    background: #eaf8ef;
    color: #187a3c;
    border: 1px solid #c8ebd4;
}

.status-reservado {
    background: #fff5df;
    color: #9a5a00;
    border: 1px solid #f4dfb4;
}

.status-vendido,
.status-inativo {
    background: #f1f3f5;
    color: #5e6673;
    border: 1px solid #dde1e6;
}

.hero-feature-info h2 {
    margin: 15px 0 4px;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    line-height: 1.05;
    letter-spacing: -.035em;
    font-weight: 870;
}

.hero-feature-version {
    margin: 0;
    color: var(--public-text-2);
    font-size: .9rem;
}

.hero-feature-meta {
    margin: 11px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 7px 12px;
    color: var(--public-text-2);
    font-size: .79rem;
}

.hero-feature-meta span + span::before {
    content: "•";
    margin-right: 10px;
    color: var(--public-text-3);
}

.hero-feature-price {
    margin-top: 18px;
    color: var(--accent-dark);
    font-size: 1.65rem;
    line-height: 1;
    letter-spacing: -.025em;
    font-weight: 900;
}

.hero-feature-specs {
    margin-top: 22px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.hero-feature-specs > span {
    display: grid;
    grid-template-columns: 31px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 9px;
    align-items: center;
}

.hero-feature-specs i {
    grid-row: 1 / 3;
    width: 31px;
    height: 31px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: var(--accent-soft);
    color: var(--accent-dark);
}

.hero-feature-specs svg {
    width: 17px;
    height: 17px;
}

.hero-feature-specs b {
    font-size: .78rem;
    line-height: 1.15;
}

.hero-feature-specs small {
    color: var(--public-text-3);
    font-size: .65rem;
}

.hero-details-link {
    margin-top: auto;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-dark);
    font-weight: 830;
}

.hero-details-link svg {
    width: 18px;
    height: 18px;
}

.hero-feature-image {
    min-width: 0;
    min-height: 440px;
    display: grid;
    place-items: center;
    padding: 20px 20px 20px 4px;
    background: linear-gradient(135deg, #f8f8f9, #efeff2);
}

.hero-feature-image img {
    width: 100%;
    height: 100%;
    min-height: 390px;
    object-fit: contain;
    object-position: center;
    mix-blend-mode: multiply;
}

.hero-feature-empty {
    padding: 44px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    background: linear-gradient(145deg, var(--public-surface), #f3f4f6);
}

.hero-feature-empty > span {
    width: 54px;
    height: 54px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: var(--accent-soft);
    color: var(--accent-dark);
}

.hero-feature-empty svg {
    width: 27px;
    height: 27px;
}

.hero-feature-empty h2 {
    margin: 18px 0 9px;
    font-weight: 850;
}

.hero-feature-empty p {
    max-width: 420px;
    color: var(--public-text-2);
}

/* ---------- Cards de motocicletas ---------- */
.moto-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.moto-card {
    min-width: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--public-surface);
    border: 1px solid var(--public-border);
    border-radius: var(--public-radius);
    box-shadow: var(--public-shadow-xs);
    overflow: hidden;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.moto-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-border);
    box-shadow: var(--public-shadow-sm);
}

.moto-card-media {
    position: relative;
    min-height: 0;
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    background: #f1f2f4;
    overflow: hidden;
}

.moto-card-image-link {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    padding: 0;
}

.moto-card-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .25s ease;
}

.moto-card:hover .moto-card-image-link img {
    transform: scale(1.018);
}

.moto-card-image-link img.is-placeholder {
    object-fit: contain;
    padding: 18%;
}

.moto-card-media .status-badge {
    position: absolute;
    top: 13px;
    left: 13px;
}

.favorite-toggle-card {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(17, 24, 39, .08);
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--public-text);
    box-shadow: 0 6px 18px rgba(17, 24, 39, .09);
    font-size: 1.2rem;
    line-height: 1;
    transition: color .18s ease, border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.favorite-toggle-card:hover {
    transform: scale(1.04);
    color: var(--accent-dark);
    border-color: var(--accent-border);
}

.favorite-toggle-card.is-favorited {
    color: var(--accent-dark);
    background: var(--accent-soft);
    border-color: var(--accent-border);
}

.moto-card-content {
    flex: 1 1 auto;
    min-width: 0;
    padding: 18px;
    display: flex;
    flex-direction: column;
}

.moto-card-title-wrap h3 {
    margin: 0;
    font-size: 1.04rem;
    line-height: 1.25;
    font-weight: 850;
    letter-spacing: -.02em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.moto-card-title-wrap h3 a:hover {
    color: var(--accent-dark);
}

.moto-card-title-wrap p {
    margin: 4px 0 0;
    min-height: 20px;
    color: var(--public-text-2);
    font-size: .83rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.moto-card-meta {
    margin-top: 11px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 9px;
    color: var(--public-text-2);
    font-size: .77rem;
}

.moto-card-meta span + span::before {
    content: "•";
    margin-right: 9px;
    color: #a4abb6;
}

.moto-card-specs {
    margin-top: 14px;
    display: flex;
    gap: 12px;
    min-height: 37px;
}

.moto-card-specs > span {
    min-width: 0;
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 6px;
    align-items: center;
}

.moto-card-specs svg {
    grid-row: 1 / 3;
    width: 26px;
    height: 26px;
    padding: 6px;
    border-radius: 8px;
    background: var(--accent-soft);
    color: var(--accent-dark);
}

.moto-card-specs b {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .7rem;
    line-height: 1.1;
}

.moto-card-specs small {
    color: var(--public-text-3);
    font-size: .59rem;
}

.moto-card-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #edf0f2;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
}

.moto-card-price-block {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.moto-card-price-block > strong {
    color: var(--accent-dark);
    font-size: 1.18rem;
    line-height: 1.15;
    letter-spacing: -.02em;
    font-weight: 900;
}

.moto-card-location {
    margin-top: 6px;
    min-width: 0;
    max-width: 190px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--public-text-3);
    font-size: .69rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.moto-card-location svg {
    width: 13px;
    height: 13px;
    flex: 0 0 auto;
    fill: currentColor;
    stroke: none;
}

.moto-card-details {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 0 0 auto;
    color: var(--accent-dark);
    font-size: .78rem;
    font-weight: 820;
}

/* ---------- Home complementos ---------- */
.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.benefit-card,
.commercial-card,
.soft-panel,
.content-card,
.form-card {
    background: var(--public-surface);
    border: 1px solid var(--public-border);
    border-radius: var(--public-radius-lg);
    box-shadow: var(--public-shadow-xs);
}

.benefit-card {
    padding: 26px;
}

.benefit-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: var(--accent-soft);
    color: var(--accent-dark);
}

.benefit-icon svg {
    width: 23px;
    height: 23px;
}

.benefit-card h3 {
    margin: 17px 0 8px;
    font-size: 1.05rem;
    font-weight: 850;
}

.benefit-card p {
    margin: 0;
    color: var(--public-text-2);
    font-size: .88rem;
}

.soft-panel {
    padding: 28px;
}

.brand-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.brand-chip-grid a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid var(--public-border-strong);
    background: #fbfbfc;
    color: #303744;
    font-size: .84rem;
    font-weight: 750;
    transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}

.brand-chip-grid a:hover {
    border-color: var(--accent-border);
    background: var(--accent-soft);
    color: var(--accent-dark);
}

.commercial-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.commercial-card {
    padding: 32px;
}

.commercial-card.accent-card {
    background: linear-gradient(145deg, var(--public-surface), var(--accent-soft));
    border-color: var(--accent-border);
}

.commercial-card h2 {
    margin: 13px 0 9px;
    font-size: 1.55rem;
    font-weight: 880;
    letter-spacing: -.03em;
}

.commercial-card p {
    margin: 0 0 20px;
    max-width: 570px;
    color: var(--public-text-2);
}

/* ---------- Estoque / filtros ---------- */
.stock-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}

.stock-heading-row h2 {
    margin: 5px 0 3px;
    font-size: 1.8rem;
    font-weight: 880;
    letter-spacing: -.035em;
}

.stock-heading-row p {
    margin: 0;
    color: var(--public-text-2);
}

.stock-heading-actions {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
}

.stock-mobile-filter-btn svg {
    width: 19px;
    height: 19px;
}

.stock-mobile-filter-btn b {
    min-width: 22px;
    height: 22px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    padding: 0 6px;
    background: rgba(255,255,255,.22);
    font-size: .72rem;
}

.active-filter-list {
    margin-bottom: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.active-filter-chip {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px 7px 12px;
    border: 1px solid var(--accent-border);
    border-radius: 999px;
    background: var(--accent-soft);
    color: #303744;
    font-size: .76rem;
}

.active-filter-chip strong {
    color: var(--accent-dark);
    font-weight: 800;
}

.active-filter-chip i {
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(var(--cor-principal-rgb), .1);
    color: var(--accent-dark);
    font-style: normal;
    font-size: 1rem;
    line-height: 1;
}

.filter-panel {
    margin-bottom: 28px;
    padding: 22px;
    border: 1px solid var(--public-border);
    border-radius: var(--public-radius-lg);
    background: var(--public-surface);
    box-shadow: var(--public-shadow-xs);
}

.filter-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    margin-bottom: 18px;
}

.filter-panel-head h3 {
    margin: 4px 0 0;
    font-size: 1.15rem;
    font-weight: 850;
}

.filter-count-label {
    color: var(--public-text-3);
    font-size: .77rem;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.filter-grid-primary {
    grid-template-columns: minmax(250px, 2fr) repeat(4, minmax(135px, 1fr));
}

.filter-grid-price {
    grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(240px, auto);
    align-items: end;
}

.filter-divider {
    height: 1px;
    margin: 18px 0;
    background: #edf0f2;
}

.filter-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.stock-results-grid {
    margin-top: 4px;
}

.stock-pagination-wrap {
    margin-top: 36px;
    display: flex;
    justify-content: center;
}

.stock-pagination {
    margin: 0;
    gap: 7px;
    flex-wrap: wrap;
    justify-content: center;
}

body.public-app .stock-pagination .page-link {
    min-width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    padding: 7px 10px;
    border: 1px solid var(--public-border-strong);
    border-radius: 10px;
    background: var(--public-surface);
    color: var(--public-text);
    font-size: .82rem;
    font-weight: 760;
    box-shadow: none;
}

body.public-app .stock-pagination .page-link-wide {
    min-width: 98px;
}

body.public-app .stock-pagination .page-item.active .page-link {
    border-color: var(--cor-principal);
    background: var(--cor-principal);
    color: var(--cor-principal-contraste);
}

/* ---------- Formulários ---------- */
.field-group {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.field-group label,
body.public-app .form-label {
    margin: 0;
    color: #303744;
    font-size: .8rem;
    font-weight: 760;
}

body.public-app .form-control,
body.public-app .form-select {
    width: 100%;
    min-width: 0;
    min-height: var(--public-control-h);
    border: 1px solid var(--public-border-strong);
    border-radius: 11px;
    background-color: #fff;
    color: var(--public-text);
    padding: 11px 13px;
    font-size: 16px;
    line-height: 1.3;
    box-shadow: none;
    transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

body.public-app .form-control::placeholder {
    color: #9aa1ac;
    opacity: 1;
}

body.public-app .form-control:hover,
body.public-app .form-select:hover {
    border-color: #bdc3cc;
}

body.public-app .form-control:focus,
body.public-app .form-select:focus {
    border-color: var(--cor-principal);
    background-color: #fff;
    color: var(--public-text);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--cor-principal) 11%, transparent);
}

body.public-app textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

body.public-app .form-select {
    appearance: none;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
}

body.public-app input[type="file"].form-control {
    padding: 8px;
    line-height: 1.7;
}

body.public-app input[type="file"]::file-selector-button {
    min-height: 34px;
    margin-right: 10px;
    border: 0;
    border-radius: 8px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-weight: 760;
    padding: 6px 12px;
    cursor: pointer;
}

.form-help {
    color: var(--public-text-3);
    font-size: .73rem;
    line-height: 1.45;
}

.form-card {
    padding: 28px;
}

.form-card-header {
    margin-bottom: 22px;
}

.form-card-header h2 {
    margin: 5px 0 5px;
    font-size: 1.55rem;
    line-height: 1.12;
    font-weight: 870;
    letter-spacing: -.03em;
}

.form-card-header p {
    margin: 0;
    color: var(--public-text-2);
}

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

.field-span-2 {
    grid-column: span 2;
}

.form-stack {
    display: grid;
    gap: 15px;
}

.lgpd-box {
    padding: 13px 14px 13px 42px;
    border: 1px solid var(--public-border);
    border-radius: 11px;
    background: #fafbfc;
    color: var(--public-text-2);
    font-size: .79rem;
    line-height: 1.45;
}

body.public-app .lgpd-box .form-check-input {
    width: 19px;
    height: 19px;
    margin-left: -28px;
    margin-top: 1px;
    border-color: #b8bec8;
    box-shadow: none;
}

body.public-app .lgpd-box .form-check-input:checked {
    background-color: var(--cor-principal);
    border-color: var(--cor-principal);
}

.lgpd-box a {
    color: var(--accent-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ---------- Conteúdo / páginas institucionais ---------- */
.content-layout-two {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(350px, .85fr);
    gap: 20px;
    align-items: start;
}

.form-page-layout {
    grid-template-columns: minmax(330px, .78fr) minmax(0, 1.22fr);
}

.content-card {
    padding: 28px;
}

.content-card h2 {
    margin: 6px 0 14px;
    font-size: 1.55rem;
    font-weight: 870;
    letter-spacing: -.03em;
}

.rich-copy {
    color: var(--public-text-2);
    line-height: 1.72;
}

.rich-copy h2,
.rich-copy h3 {
    color: var(--public-text);
}

.contact-info-list {
    display: grid;
    gap: 10px;
    margin: 18px 0 22px;
}

.contact-info-list > div {
    min-width: 0;
    padding: 13px 14px;
    border: 1px solid #edf0f2;
    border-radius: 11px;
    background: #fafbfc;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.contact-info-list small {
    color: var(--public-text-3);
    font-size: .69rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 750;
}

.contact-info-list strong {
    color: #303744;
    font-size: .86rem;
    line-height: 1.45;
    font-weight: 760;
}

.map-card,
.contact-map {
    overflow: hidden;
    border: 1px solid var(--public-border);
    border-radius: var(--public-radius-lg);
    background: var(--public-surface);
    box-shadow: var(--public-shadow-xs);
}

.map-card {
    margin-top: 20px;
}

.map-card iframe,
.contact-map iframe {
    display: block;
    width: 100%;
    min-height: 330px;
    border: 0;
}

.contact-map {
    margin-top: 20px;
}

.contact-map iframe {
    min-height: 240px;
}

.feature-list {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.feature-list li {
    position: relative;
    padding-left: 27px;
    color: var(--public-text-2);
    font-size: .88rem;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: -1px;
    width: 19px;
    height: 19px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-size: .72rem;
    font-weight: 900;
}

/* ---------- Financiamento ---------- */
.selected-moto-financing {
    margin: 18px 0;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border: 1px solid var(--accent-border);
    border-radius: 13px;
    background: var(--accent-soft);
}

.selected-moto-financing > span {
    color: var(--accent-dark);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.selected-moto-financing strong {
    font-size: .92rem;
}

.selected-moto-financing small {
    color: var(--public-text-2);
}

.selected-moto-financing a {
    margin-top: 7px;
    color: var(--accent-dark);
    font-size: .78rem;
    font-weight: 780;
}

.installment-options-card {
    margin: 18px 0;
    padding: 18px;
    border: 1px solid var(--public-border);
    border-radius: 14px;
    background: #fafbfc;
}

.installment-options-header {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 12px;
}

.installment-options-header small {
    color: var(--public-text-3);
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .065em;
    font-weight: 760;
}

.installment-options-header strong {
    font-size: .95rem;
}

.installment-options-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.installment-option {
    min-width: 0;
    padding: 11px;
    border: 1px solid #e8ebef;
    border-radius: 10px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.installment-option span,
.installment-option small {
    color: var(--public-text-3);
    font-size: .64rem;
}

.installment-option strong {
    color: var(--accent-dark);
    font-size: 1.08rem;
    line-height: 1.1;
}

/* ---------- Detalhes ---------- */
.detail-page {
    padding-top: 28px;
}

.detail-breadcrumb {
    min-height: 44px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 18px;
    color: var(--public-text-3);
    font-size: .78rem;
}

.detail-breadcrumb a:hover {
    color: var(--accent-dark);
}

.detail-breadcrumb strong {
    color: #343b48;
    font-weight: 720;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(390px, .86fr);
    gap: 22px;
    align-items: start;
}

.detail-gallery,
.detail-summary,
.detail-content-card {
    border: 1px solid var(--public-border);
    border-radius: var(--public-radius-lg);
    background: var(--public-surface);
    box-shadow: var(--public-shadow-xs);
}

.detail-gallery {
    overflow: hidden;
}

.detail-main-media {
    position: relative;
    min-height: 520px;
    aspect-ratio: 4 / 3;
    display: grid;
    place-items: center;
    padding: 24px;
    background: linear-gradient(145deg, #f8f8f9, #eeeeef);
    overflow: hidden;
    touch-action: pan-y;
}

.detail-main-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.detail-image-counter {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
    min-height: 31px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 6px 10px;
    border: 1px solid rgba(17, 24, 39, .09);
    border-radius: 999px;
    background: rgba(255, 255, 255, .9);
    color: var(--public-text-2);
    font-size: .73rem;
    box-shadow: 0 5px 16px rgba(17, 24, 39, .06);
    backdrop-filter: blur(7px);
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    padding: 0;
    transform: translateY(-50%);
    border: 1px solid rgba(17, 24, 39, .09);
    border-radius: 50%;
    background: rgba(255, 255, 255, .93);
    color: var(--public-text);
    box-shadow: 0 7px 20px rgba(17, 24, 39, .08);
    font-size: 1.65rem;
    line-height: 1;
}

.gallery-arrow:hover {
    color: var(--accent-dark);
    border-color: var(--accent-border);
}

.gallery-arrow-prev { left: 15px; }
.gallery-arrow-next { right: 15px; }

.detail-thumbs {
    display: flex;
    gap: 9px;
    padding: 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-border) transparent;
    border-top: 1px solid #edf0f2;
}

.detail-thumb-button {
    width: 92px;
    height: 68px;
    flex: 0 0 auto;
    padding: 3px;
    border: 1px solid var(--public-border-strong);
    border-radius: 10px;
    background: #f8f8f9;
    overflow: hidden;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.detail-thumb-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.detail-thumb-button.is-active {
    border-color: var(--cor-principal);
    box-shadow: 0 0 0 2px var(--accent-soft-2);
}

.detail-summary {
    padding: 25px;
}

@media (min-width: 1100px) {
    .detail-sticky {
        position: sticky;
        top: 18px;
    }
}

.detail-summary-head h1 {
    margin: 12px 0 3px;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    line-height: 1.02;
    letter-spacing: -.045em;
    font-weight: 890;
}

.detail-summary-head p {
    margin: 0;
    color: var(--public-text-2);
}

.detail-price {
    display: block;
    margin-top: 16px;
    color: var(--accent-dark);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    line-height: 1;
    letter-spacing: -.035em;
    font-weight: 920;
}

.detail-spec-grid {
    margin-top: 23px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.detail-spec {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
}

.detail-spec > span {
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--accent-soft);
    color: var(--accent-dark);
}

.detail-spec svg {
    width: 18px;
    height: 18px;
}

.detail-spec div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.16;
}

.detail-spec small {
    color: var(--public-text-3);
    font-size: .66rem;
}

.detail-spec strong {
    margin-top: 3px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #303744;
    font-size: .78rem;
    font-weight: 780;
}

.detail-mobile-more {
    display: none;
}

.detail-cta-stack {
    margin-top: 24px;
    display: grid;
    gap: 8px;
}

.detail-cta-stack .btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
}

.detail-secondary-actions {
    margin-top: 13px;
    padding-top: 13px;
    border-top: 1px solid #edf0f2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
}

.detail-action-button {
    min-width: 0;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 8px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--public-text-2);
    font-size: .69rem;
    font-weight: 710;
}

.detail-action-button:hover,
.detail-action-button.is-favorited {
    background: var(--accent-soft);
    color: var(--accent-dark);
}

.detail-action-button svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.detail-lower-layout {
    margin-top: 22px;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(360px, .86fr);
    gap: 22px;
    align-items: start;
}

/* Grid items precisam poder encolher abaixo do tamanho intrínseco do conteúdo.
   Sem isso, navegação horizontal e campos do formulário podem alargar a página
   em telas de 320px, mesmo quando o grid já está em uma coluna. */
.detail-lower-layout > * {
    min-width: 0;
    max-width: 100%;
}

.detail-content-card,
.proposal-form {
    width: 100%;
    min-width: 0;
}

.detail-content-card {
    padding: 0 26px 26px;
}

.detail-section-nav {
    margin: 0 -26px 0;
    padding: 0 26px;
    min-height: 55px;
    display: flex;
    align-items: stretch;
    gap: 24px;
    border-bottom: 1px solid #edf0f2;
    overflow-x: auto;
}

.detail-section-nav a {
    position: relative;
    min-width: max-content;
    display: flex;
    align-items: center;
    color: var(--public-text-2);
    font-size: .8rem;
    font-weight: 760;
}

.detail-section-nav a:first-child {
    color: var(--accent-dark);
}

.detail-section-nav a:first-child::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--cor-principal);
}

.detail-text-section {
    padding-top: 24px;
}

.detail-text-section + .detail-text-section {
    margin-top: 24px;
    border-top: 1px solid #edf0f2;
}

.detail-text-section h2 {
    margin: 0 0 10px;
    font-size: 1.1rem;
    font-weight: 850;
}

.detail-text-section p {
    margin: 0;
    color: var(--public-text-2);
    line-height: 1.7;
}

.optional-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.optional-tags span {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border: 1px solid var(--accent-border);
    border-radius: 999px;
    background: var(--accent-soft);
    color: #343b48;
    font-size: .75rem;
    font-weight: 700;
}

.detail-general-info dl {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.detail-general-info dl > div {
    padding: 12px;
    border: 1px solid #edf0f2;
    border-radius: 10px;
    background: #fafbfc;
}

.detail-general-info dt {
    color: var(--public-text-3);
    font-size: .67rem;
    font-weight: 690;
}

.detail-general-info dd {
    margin: 3px 0 0;
    color: #303744;
    font-size: .81rem;
    font-weight: 770;
}

/* ---------- Vazios / 404 ---------- */
.empty-state {
    min-height: 280px;
    padding: 38px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px dashed var(--public-border-strong);
    border-radius: var(--public-radius-lg);
    background: var(--public-surface);
}

.empty-state > svg,
.empty-state > span:not(.error-code) {
    width: 48px;
    height: 48px;
    padding: 11px;
    border-radius: 14px;
    background: var(--accent-soft);
    color: var(--accent-dark);
}

.empty-state h3,
.empty-state h1 {
    margin: 16px 0 6px;
    font-weight: 870;
    letter-spacing: -.03em;
}

.empty-state p {
    margin: 0 0 18px;
    max-width: 520px;
    color: var(--public-text-2);
}

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

.error-page {
    min-height: 65vh;
    display: grid;
    place-items: center;
}

.error-state {
    width: min(100%, 680px);
}

.error-code {
    color: var(--accent-dark);
    font-size: 4rem;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -.06em;
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
}

/* ---------- Feedback de compartilhamento ---------- */
.share-feedback-toast {
    position: fixed;
    left: 50%;
    bottom: calc(24px + env(safe-area-inset-bottom));
    z-index: 2000;
    max-width: min(90vw, 440px);
    padding: 11px 15px;
    transform: translate(-50%, 18px);
    border-radius: 10px;
    background: #111827;
    color: #fff;
    box-shadow: 0 14px 36px rgba(17,24,39,.24);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
    font-size: .82rem;
}

.share-feedback-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* ---------- Footer ---------- */
.site-footer {
    margin-top: 10px;
    padding: 50px 0 22px;
    border-top: 1px solid var(--public-border);
    background: #eceff2;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(150px, .72fr));
    gap: 32px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.footer-logo {
    width: 54px;
    height: 46px;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-brand > span:last-child {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.footer-brand strong {
    font-size: .98rem;
    font-weight: 850;
}

.footer-brand small {
    margin-top: 4px;
    color: var(--public-text-3);
    font-size: .62rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.footer-brand-block p {
    margin: 15px 0 0;
    max-width: 390px;
    color: var(--public-text-2);
    font-size: .82rem;
}

.footer-column h2 {
    margin: 4px 0 13px;
    font-size: .81rem;
    text-transform: uppercase;
    letter-spacing: .07em;
    font-weight: 820;
}

.footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.footer-column li,
.footer-column a,
.footer-column span {
    color: var(--public-text-2);
    font-size: .78rem;
    line-height: 1.45;
}

.footer-column a:hover {
    color: var(--accent-dark);
}

.footer-bottom {
    margin-top: 34px;
    padding-top: 17px;
    border-top: 1px solid #dce0e5;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: var(--public-text-3);
    font-size: .72rem;
}

.footer-bottom a:hover {
    color: var(--accent-dark);
}

/* ---------- Responsividade ---------- */
@media (min-width: 768px) {
    .moto-card-grid .moto-card {
        display: grid;
        grid-template-columns: minmax(145px, 42%) minmax(0, 58%);
        align-items: stretch;
    }

    .moto-card-grid .moto-card-media {
        min-height: 100%;
        aspect-ratio: auto;
    }

    .moto-card-grid .moto-card-image-link {
        padding: 0;
    }

    .moto-card-grid .moto-card-content {
        padding: 16px;
    }

    .moto-card-grid .moto-card-specs {
        display: none;
    }

    .moto-card-grid .moto-card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 7px;
    }

    .moto-card-grid .moto-card-details {
        justify-content: flex-start;
    }

    .moto-card-grid .moto-card-location {
        max-width: 100%;
    }
}

@media (max-width: 1199.98px) {
    .home-hero-grid {
        grid-template-columns: minmax(0, .82fr) minmax(470px, 1.18fr);
        gap: 28px;
    }

    .hero-feature-card {
        grid-template-columns: 1fr;
    }

    .hero-feature-info {
        padding: 24px 24px 8px;
    }

    .hero-feature-specs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
    }

    .hero-details-link {
        margin-top: 14px;
    }

    .hero-feature-image {
        min-height: 260px;
        padding: 0 18px 18px;
    }

    .hero-feature-image img {
        min-height: 240px;
    }

    .moto-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .field-search-wide {
        grid-column: span 2;
    }

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

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

    .filter-grid-price .filter-actions {
        grid-column: 1 / -1;
        grid-template-columns: 1fr auto;
    }

    .detail-layout,
    .detail-lower-layout {
        grid-template-columns: minmax(0, 1.25fr) minmax(350px, .9fr);
    }

    .footer-grid {
        grid-template-columns: 1.2fr repeat(3, 1fr);
        gap: 22px;
    }
}

@media (max-width: 991.98px) {
    body.public-app .container {
        width: min(100% - 28px, 900px);
    }

    .site-topbar {
        display: none;
    }

    .public-navbar,
    .public-navbar-inner {
        min-height: 74px;
    }

    .site-brand {
        min-width: 0;
        max-width: calc(100% - 62px);
        min-height: 60px;
    }

    .brand-logo {
        width: 54px;
        height: 48px;
    }

    .brand-copy strong {
        max-width: min(48vw, 220px);
    }

    .public-menu-toggle {
        display: flex;
    }

    .public-menu {
        width: 100%;
        padding: 10px 0 calc(14px + env(safe-area-inset-bottom));
        border-top: 1px solid var(--public-border);
        background: var(--public-surface);
    }

    .public-menu .navbar-nav {
        width: 100%;
        align-items: stretch;
        gap: 2px;
    }

    .public-menu .nav-link {
        min-height: 46px;
        justify-content: flex-start;
        padding-inline: 11px;
    }

    .public-menu .nav-link.active::after {
        top: 9px;
        bottom: 9px;
        left: 0;
        right: auto;
        width: 3px;
        height: auto;
    }

    .nav-whatsapp-wrap {
        margin: 8px 0 0;
    }

    .btn-header-whatsapp {
        width: 100%;
    }

    .home-hero {
        padding-top: 34px;
    }

    .home-hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .home-hero-copy {
        padding: 0;
    }

    .home-hero-grid--catalog {
        min-height: 0;
    }

    .hero-catalog-panel {
        padding: 20px;
    }

    .home-hero-copy h1 {
        max-width: 720px;
        font-size: clamp(2.8rem, 8vw, 4.4rem);
    }

    .hero-feature-card {
        min-height: auto;
        grid-template-columns: minmax(240px, .78fr) minmax(0, 1.22fr);
    }

    .hero-feature-image {
        min-height: 340px;
        padding: 16px;
    }

    .hero-feature-image img {
        min-height: 300px;
    }

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

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

    .stock-filter-collapse.collapse:not(.show) {
        display: none;
    }

    .filter-grid-primary,
    .filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .field-search-wide {
        grid-column: span 2;
    }

    .filter-grid-price {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .filter-grid-price .filter-actions {
        grid-column: span 2;
    }

    .detail-layout,
    .detail-lower-layout {
        grid-template-columns: 1fr;
    }

    .detail-main-media {
        min-height: 430px;
    }

    .detail-summary {
        position: static;
    }

    .proposal-form {
        order: 2;
    }

    .content-layout-two,
    .form-page-layout {
        grid-template-columns: 1fr;
    }

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

@media (min-width: 992px) {
    .stock-filter-collapse.collapse {
        display: block;
        height: auto;
        visibility: visible;
    }
}

@media (max-width: 767.98px) {
    body.public-app .container {
        width: min(100% - 24px, 720px);
    }

    .brand-copy small {
        display: none;
    }

    .page-hero {
        padding: 38px 0 34px;
    }

    .page-hero h1 {
        font-size: clamp(2rem, 9vw, 2.7rem);
    }

    .public-page {
        padding-top: 28px;
        padding-bottom: 48px;
    }

    .public-section {
        padding: 42px 0;
    }

    .featured-section {
        padding-top: 30px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 20px;
    }

    .section-link {
        min-height: 38px;
    }

    .home-hero {
        padding: 20px 0 18px;
    }

    .home-hero-grid {
        gap: 16px;
    }

    .hero-catalog-panel {
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .hero-panel-heading {
        display: none;
    }

    .home-hero-copy h1 {
        margin-top: 10px;
        margin-bottom: 10px;
        font-size: clamp(2.25rem, 10.8vw, 3.05rem);
        line-height: 1;
    }

    .home-hero-copy > p {
        margin-bottom: 0;
        font-size: .9rem;
        line-height: 1.45;
    }

    .search-field {
        height: 50px;
    }

    .hero-search-button {
        min-height: 50px;
    }

    .hero-search-row {
        grid-template-columns: 1fr;
    }

    .hero-search-button {
        width: 100%;
        min-width: 0;
    }

    .hero-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-trust-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }

    .hero-trust-item {
        min-height: 62px;
        padding: 9px 7px;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 6px;
    }

    .hero-trust-item > span {
        width: 30px;
        height: 30px;
        border-radius: 9px;
    }

    .hero-trust-item svg {
        width: 16px;
        height: 16px;
    }

    .hero-trust-item div {
        align-items: center;
    }

    .hero-trust-item strong {
        font-size: .69rem;
        line-height: 1.05;
    }

    .hero-trust-item small {
        margin-top: 2px;
        font-size: .56rem;
        line-height: 1.05;
    }

    .hero-feature-card {
        grid-template-columns: 1fr;
    }

    .hero-feature-info {
        padding: 22px 22px 6px;
    }

    .hero-feature-specs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-feature-image {
        min-height: 280px;
        padding: 10px 16px 18px;
    }

    .hero-feature-image img {
        min-height: 260px;
    }

    .moto-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .moto-card {
        border-radius: 14px;
    }

    .moto-card-media {
        min-height: 0;
        aspect-ratio: 1 / 1;
    }

    .moto-card-media .status-badge {
        top: 8px;
        left: 8px;
        min-height: 22px;
        padding: 4px 7px;
        font-size: .56rem;
    }

    .favorite-toggle-card {
        top: 7px;
        right: 7px;
        width: 32px;
        height: 32px;
        font-size: .95rem;
        box-shadow: 0 4px 12px rgba(17, 24, 39, .08);
    }

    .moto-card-content {
        padding: 10px;
    }

    .moto-card-title-wrap h3 {
        min-height: 2.34em;
        font-size: .82rem;
        line-height: 1.17;
    }

    .moto-card-title-wrap p {
        margin-top: 3px;
        min-height: 15px;
        font-size: .65rem;
    }

    .moto-card-meta {
        margin-top: 6px;
        gap: 3px 5px;
        font-size: .62rem;
        line-height: 1.15;
    }

    .moto-card-meta span:nth-child(n+3) {
        display: none;
    }

    .moto-card-meta span + span::before {
        margin-right: 5px;
    }

    .moto-card-specs {
        display: none;
    }

    .moto-card-footer {
        margin-top: 8px;
        padding-top: 8px;
        align-items: flex-start;
        border-top-color: #eef0f2;
    }

    .moto-card-price-block > strong {
        font-size: .93rem;
        line-height: 1.05;
    }

    .moto-card-location,
    .moto-card-details {
        display: none;
    }

    .stock-heading-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
    }

    .stock-heading-actions {
        width: 100%;
    }

    .stock-heading-actions .btn {
        flex: 1 1 auto;
    }

    .filter-panel {
        padding: 17px;
    }

    .filter-panel-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .filter-grid-primary,
    .filter-grid,
    .filter-grid-price {
        grid-template-columns: 1fr;
    }

    .field-search-wide,
    .filter-grid-price .filter-actions {
        grid-column: auto;
    }

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

    .stock-pagination .page-link-wide {
        min-width: 88px;
    }

    .detail-breadcrumb {
        margin-bottom: 12px;
    }

    .detail-main-media {
        min-height: 0;
        aspect-ratio: 1 / .82;
        padding: 14px;
    }

    .gallery-arrow {
        width: 42px;
        height: 42px;
    }

    .detail-thumbs {
        padding: 10px;
    }

    .detail-thumb-button {
        width: 80px;
        height: 61px;
    }

    .detail-summary {
        padding: 18px;
    }

    .detail-summary-head h1 {
        font-size: clamp(1.55rem, 7vw, 2rem);
    }

    .detail-price {
        margin-top: 12px;
        font-size: clamp(1.65rem, 8vw, 2rem);
    }

    .detail-spec-grid {
        margin-top: 18px;
        gap: 11px 7px;
    }

    .detail-spec > span {
        width: 34px;
        height: 34px;
    }

    .detail-secondary-actions {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .detail-action-button {
        flex-direction: column;
        gap: 3px;
        min-height: 52px;
        font-size: .63rem;
    }

    .detail-content-card {
        padding: 0 18px 20px;
    }

    .detail-section-nav {
        margin-inline: -18px;
        padding-inline: 18px;
        gap: 20px;
    }

    .form-card,
    .content-card,
    .commercial-card,
    .soft-panel {
        padding: 20px;
    }

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

    .field-span-2 {
        grid-column: auto;
    }

    .installment-options-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 6px;
    }
}

@media (max-width: 430px) {
    body.public-app .container {
        width: min(100% - 20px, 410px);
    }

    .public-navbar,
    .public-navbar-inner {
        min-height: 70px;
    }

    .site-brand {
        max-width: calc(100% - 56px);
    }

    .brand-logo {
        width: 47px;
        height: 45px;
    }

    .brand-copy strong {
        max-width: 48vw;
        font-size: .94rem;
    }

    .public-menu-toggle {
        width: 44px;
        height: 44px;
    }

    .home-hero {
        padding-top: 27px;
    }

    .home-hero-copy h1 {
        font-size: clamp(2.1rem, 10.5vw, 2.65rem);
    }

    .quick-select select {
        font-size: 1rem;
    }

    .hero-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .quick-select {
        height: 44px;
    }

    .hero-trust-item small {
        display: none;
    }

    .hero-trust-item {
        min-height: 56px;
    }

    .featured-section .section-heading p {
        display: none;
    }

    .hero-feature-specs {
        grid-template-columns: 1fr 1fr;
    }

    .hero-feature-image {
        min-height: 240px;
    }

    .hero-feature-image img {
        min-height: 220px;
    }

    .moto-card-media {
        min-height: 0;
    }

    .moto-card-footer {
        align-items: flex-start;
        flex-direction: row;
    }

    .detail-breadcrumb {
        display: none;
    }

    .detail-page {
        padding-top: 14px;
    }

    .detail-layout {
        gap: 12px;
    }

    .detail-main-media {
        aspect-ratio: 1 / 1;
        padding: 10px;
    }

    .detail-thumbs {
        gap: 7px;
        padding: 8px;
    }

    .detail-thumb-button {
        width: 68px;
        height: 52px;
    }

    .detail-summary {
        padding: 15px;
        border-radius: 15px;
        display: flex;
        flex-direction: column;
    }

    .detail-summary-head { order: 1; }
    .detail-cta-stack { order: 2; }
    .detail-spec-grid { order: 3; }
    .detail-mobile-more { order: 4; }
    .detail-secondary-actions { order: 5; }

    .detail-spec-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 5px;
    }

    .detail-spec--secondary {
        display: none;
    }

    .detail-spec > span {
        width: 31px;
        height: 31px;
        border-radius: 9px;
    }

    .detail-spec svg {
        width: 15px;
        height: 15px;
    }

    .detail-spec small {
        font-size: .6rem;
    }

    .detail-spec strong {
        font-size: .72rem;
    }

    .detail-mobile-more {
        min-height: 38px;
        margin-top: 9px;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        color: var(--accent-dark);
        font-size: .72rem;
        font-weight: 780;
    }

    .detail-cta-stack {
        margin-top: 12px;
        gap: 7px;
    }

    .detail-cta-stack .btn {
        min-height: 48px;
        padding: 10px 12px;
        font-size: .88rem;
    }

    body.public-app .detail-cta-stack .btn-secondary-custom {
        display: none;
    }

    .detail-secondary-actions {
        grid-template-columns: 1fr;
        margin-top: 8px;
        padding-top: 8px;
    }

    .detail-secondary-actions .detail-action-button:nth-child(n+2) {
        display: none;
    }

    .detail-action-button {
        min-height: 38px;
        flex-direction: row;
        justify-content: flex-start;
        padding-inline: 0;
        font-size: .68rem;
    }

    .detail-general-info dl {
        grid-template-columns: 1fr;
    }

    .detail-secondary-actions {
        gap: 2px;
    }

    .detail-action-button {
        padding-inline: 3px;
    }
}

@media (max-width: 359px) {
    .brand-copy {
        display: none;
    }

    .hero-trust-item small {
        display: none;
    }

    .hero-trust-item {
        min-height: 60px;
    }

    .moto-card-grid {
        gap: 8px;
    }

    .moto-card-content {
        padding: 8px;
    }

    .moto-card-title-wrap h3 {
        font-size: .76rem;
    }

    .moto-card-price-block > strong {
        font-size: .86rem;
    }

    .detail-summary {
        padding: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    body.public-app *,
    body.public-app *::before,
    body.public-app *::after {
        animation-duration: .01ms;
        animation-iteration-count: 1;
        transition-duration: .01ms;
        scroll-behavior: auto;
    }
}
