/*
 * Alpha vehicle catalogue — canonical public visual layer.
 * Functional behavior remains owned by Alpha-Каталог; this file only controls presentation.
 */

body .alpha-site .alpha-page-shell:has(.aavc-wrap) {
    padding: 42px 0 72px;
    background: var(--alpha-bg);
}
body .alpha-site .alpha-page-shell .alpha-content:has(.aavc-wrap) {
    max-width: none;
}
body .alpha-site .aavc-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
    color: var(--alpha-text);
}

/* Hero / vehicle master */
body .alpha-site .aavc-panel {
    position: relative;
    margin: 0;
    padding: 28px 30px 30px;
    overflow: visible;
    border: 1px solid var(--alpha-line);
    border-radius: var(--alpha-radius-md);
    background: var(--alpha-surface);
    box-shadow: var(--alpha-shadow-card);
}
body .alpha-site .aavc-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 30px;
    width: 48px;
    height: 3px;
    border-radius: 0 0 2px 2px;
    background: var(--alpha-accent);
}
body .alpha-site .aavc-panel > h2 {
    margin: 8px 0 8px;
    color: var(--alpha-ink);
    font-size: clamp(34px, 3.5vw, 48px);
    line-height: 1.04;
    font-weight: var(--alpha-font-weight-semibold);
    letter-spacing: -.04em;
}
body .alpha-site .aavc-panel > p {
    max-width: 900px;
    margin: 0 0 24px;
    color: var(--alpha-muted);
    font-size: 14px;
    line-height: 1.55;
}
body .alpha-site .aavc-panel > p a {
    color: var(--alpha-accent-hover);
    font-weight: var(--alpha-font-weight-medium);
    text-decoration: none;
}
body .alpha-site .aavc-panel > p a:hover,
body .alpha-site .aavc-panel > p a:focus-visible {
    text-decoration: underline;
}

body .alpha-site .aavc-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 14px;
    border: 1px solid var(--alpha-line);
    border-radius: var(--alpha-radius-sm);
    background: var(--alpha-account-surface-soft);
}
body .alpha-site .aavc-grid[hidden] {
    display: none !important;
}
body .alpha-site .aavc-grid > label {
    position: relative;
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    grid-template-rows: 22px auto;
    align-items: center;
    gap: 5px 7px;
    min-width: 0;
    color: var(--alpha-muted);
    font-size: 9px;
    line-height: 1.2;
    font-weight: var(--alpha-font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: .055em;
}
body .alpha-site .aavc-grid > label::before {
    display: grid;
    grid-column: 1;
    grid-row: 1;
    place-items: center;
    width: 22px;
    height: 22px;
    margin: 0;
    border: 1px solid var(--alpha-line);
    border-radius: 50%;
    background: var(--alpha-surface);
    color: var(--alpha-muted);
    font-size: 9px;
    line-height: 1;
    font-weight: var(--alpha-font-weight-semibold);
}
body .alpha-site .aavc-grid > label:nth-child(1)::before { content: "1"; }
body .alpha-site .aavc-grid > label:nth-child(2)::before { content: "2"; }
body .alpha-site .aavc-grid > label:nth-child(3)::before { content: "3"; }
body .alpha-site .aavc-grid > label:nth-child(4)::before { content: "4"; }
body .alpha-site .aavc-grid > label:nth-child(5)::before { content: "5"; }
body .alpha-site .aavc-grid > label:has(.alpha-search-select:not(.is-disabled))::before,
body .alpha-site .aavc-grid > label:has(select:not(:disabled))::before {
    border-color: var(--alpha-accent-border);
    background: var(--alpha-accent-soft);
    color: var(--alpha-accent-hover);
}
body .alpha-site .aavc-grid > label > .alpha-search-select,
body .alpha-site .aavc-grid > label > select {
    grid-column: 1 / -1;
    grid-row: 2;
}

/* Searchable select */
body .alpha-site .aavc-wrap .alpha-search-select {
    position: relative;
    width: 100%;
    margin-top: 0;
}
body .alpha-site .aavc-wrap .alpha-search-select-input,
body .alpha-site .aavc-wrap select,
body .alpha-site .aavc-wrap input {
    box-sizing: border-box;
    min-height: 46px;
    border: 1px solid var(--alpha-line-strong);
    border-radius: var(--alpha-radius-sm);
    background: var(--alpha-surface);
    color: var(--alpha-ink);
    font-family: var(--alpha-font);
    font-size: 13px;
    font-weight: var(--alpha-font-weight-medium);
    box-shadow: none;
    transition: border-color var(--alpha-transition), box-shadow var(--alpha-transition), background var(--alpha-transition);
}
body .alpha-site .aavc-wrap .alpha-search-select-input {
    width: 100%;
    padding: 0 34px 0 12px;
    text-transform: none;
    letter-spacing: 0;
}
body .alpha-site .aavc-wrap .alpha-search-select-input::placeholder {
    color: #929ba5;
}
body .alpha-site .aavc-wrap .alpha-search-select:not(.is-disabled) .alpha-search-select-input:hover,
body .alpha-site .aavc-wrap select:not(:disabled):hover {
    border-color: #b9c1c9;
}
body .alpha-site .aavc-wrap .alpha-search-select-input:focus,
body .alpha-site .aavc-wrap select:focus,
body .alpha-site .aavc-wrap input:focus {
    outline: 0;
    border-color: var(--alpha-accent);
    box-shadow: 0 0 0 3px var(--alpha-accent-ring);
}
body .alpha-site .aavc-wrap .alpha-search-select.is-disabled .alpha-search-select-input,
body .alpha-site .aavc-wrap select:disabled {
    border-color: #e0e5e9;
    background: #f1f4f6;
    color: #9aa2aa;
    cursor: not-allowed;
}
body .alpha-site .aavc-wrap .alpha-search-select-panel {
    z-index: 10080;
    top: calc(100% + 5px);
    max-height: 290px;
    padding: 5px;
    overflow: auto;
    border: 1px solid var(--alpha-line);
    border-radius: var(--alpha-radius-sm);
    background: var(--alpha-surface);
    box-shadow: 0 16px 34px rgba(17, 24, 33, .14);
}
body .alpha-site .aavc-wrap .alpha-search-select-option {
    width: 100%;
    padding: 9px 10px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: var(--alpha-text);
    font: inherit;
    font-size: 13px;
    font-weight: var(--alpha-font-weight-medium);
    text-align: left;
    cursor: pointer;
}
body .alpha-site .aavc-wrap .alpha-search-select-option:hover,
body .alpha-site .aavc-wrap .alpha-search-select-option.is-active {
    background: var(--alpha-accent-soft);
    color: var(--alpha-accent-hover);
}
body .alpha-site .aavc-wrap .alpha-search-select-option.is-selected {
    background: var(--alpha-account-surface-soft);
    color: var(--alpha-ink);
}
body .alpha-site .aavc-wrap .alpha-search-select-empty {
    padding: 10px;
    color: var(--alpha-muted);
    font-size: 12px;
}

/* Selected car */
body .alpha-site .aavc-vehicle-summary {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    margin: 16px 0 0;
    padding: 14px 16px;
    border: 1px solid var(--alpha-accent-border);
    border-radius: var(--alpha-radius-sm);
    background: var(--alpha-accent-soft);
}
body .alpha-site .aavc-vehicle-summary[hidden] { display: none !important; }
body .alpha-site .aavc-vehicle-summary-main {
    position: relative;
    min-width: 0;
}
body .alpha-site .aavc-vehicle-current {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--alpha-ink) !important;
    text-align: left;
    box-shadow: none !important;
}
body .alpha-site .aavc-vehicle-current-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}
body .alpha-site .aavc-vehicle-current strong {
    color: var(--alpha-ink);
    font-size: 15px;
    line-height: 1.3;
    font-weight: var(--alpha-font-weight-semibold);
}
body .alpha-site .aavc-vehicle-current span {
    color: var(--alpha-muted);
    font-size: 12px;
    line-height: 1.35;
}
body .alpha-site .aavc-vehicle-current-chevron {
    flex: 0 0 auto;
    color: var(--alpha-accent-hover) !important;
    font-size: 18px !important;
}
body .alpha-site .aavc-vehicle-summary-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 8px !important;
}
body .alpha-site .aavc-vehicle-summary .aavc-vehicle-action {
    min-height: 36px;
    margin: 0;
    padding: 0 12px;
    border: 1px solid var(--alpha-accent-border) !important;
    border-radius: var(--alpha-radius-sm);
    background: var(--alpha-surface) !important;
    color: var(--alpha-accent-hover) !important;
    font-size: 11px;
    font-weight: var(--alpha-font-weight-semibold);
    box-shadow: none !important;
}
body .alpha-site .aavc-vehicle-summary .aavc-vehicle-action:hover,
body .alpha-site .aavc-vehicle-summary .aavc-vehicle-action:focus-visible {
    border-color: var(--alpha-accent) !important;
    background: var(--alpha-accent-soft-hover) !important;
    color: var(--alpha-accent-hover) !important;
    outline: 0 !important;
}
body .alpha-site .aavc-vehicle-menu {
    position: absolute;
    z-index: 10070;
    top: calc(100% + 10px);
    left: 0;
    width: min(480px, 90vw);
    padding: 12px;
    border: 1px solid var(--alpha-line);
    border-radius: var(--alpha-radius-sm);
    background: var(--alpha-surface);
    box-shadow: 0 18px 38px rgba(17, 24, 33, .14);
}
body .alpha-site .aavc-vehicle-menu[hidden] { display: none !important; }
body .alpha-site .aavc-vehicle-menu > strong {
    display: block;
    margin-bottom: 8px;
    color: var(--alpha-ink);
    font-size: 12px;
    font-weight: var(--alpha-font-weight-semibold);
}
body .alpha-site .aavc-garage-list {
    display: grid;
    gap: 6px;
    margin: 0;
}
body .alpha-site .aavc-garage-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 32px;
    overflow: hidden;
    border: 1px solid var(--alpha-line);
    border-radius: var(--alpha-radius-sm);
    background: var(--alpha-account-surface-soft);
}
body .alpha-site .aavc-garage-item button {
    border: 0;
    border-radius: 0;
    background: transparent;
}
body .alpha-site .aavc-garage-item [data-aavc-garage-select] {
    min-width: 0;
    padding: 9px 10px;
    color: var(--alpha-text);
    font-size: 11px;
    font-weight: var(--alpha-font-weight-medium);
    text-align: left;
}
body .alpha-site .aavc-garage-remove {
    color: var(--alpha-muted);
    font-size: 16px;
}
body .alpha-site .aavc-garage-remove:hover { color: var(--alpha-status-danger); }

/* Category selection */
body .alpha-site .aavc-category-browser {
    margin: 14px 0 0;
    padding: 16px;
    border: 1px solid var(--alpha-line);
    border-radius: var(--alpha-radius-sm);
    background: var(--alpha-surface);
}
body .alpha-site .aavc-category-browser[hidden] { display: none !important; }
body .alpha-site .aavc-category-browser-head {
    margin: 0 0 12px;
}
body .alpha-site .aavc-category-browser-head > div {
    display: grid;
    gap: 3px;
}
body .alpha-site .aavc-category-browser-head strong {
    color: var(--alpha-ink);
    font-size: 16px;
    line-height: 1.25;
    font-weight: var(--alpha-font-weight-semibold);
}
body .alpha-site .aavc-category-browser-head span {
    color: var(--alpha-muted);
    font-size: 11px;
    line-height: 1.45;
}
body .alpha-site .aavc-category-dropdowns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}
body .alpha-site .aavc-category-dropdowns > label,
body .alpha-site .aavc-toolbar > label {
    min-width: 0;
    color: var(--alpha-muted);
    font-size: 9px;
    line-height: 1.2;
    font-weight: var(--alpha-font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: .055em;
}
body .alpha-site .aavc-category-dropdowns .alpha-search-select,
body .alpha-site .aavc-category-dropdowns select {
    margin-top: 6px;
}
body .alpha-site .aavc-category-message {
    min-height: 0;
    margin-top: 9px;
    color: var(--alpha-muted);
    font-size: 11px;
    line-height: 1.45;
}
body .alpha-site .aavc-category-message:empty { display: none; }

/* Catalogue feedback: loading, supplier progress and result share one approved Alpha state. */
body .alpha-site .aavc-feedback-slot {
    width: 100%;
    margin: 12px 0 0;
}
body .alpha-site .aavc-feedback-slot:has(> .aavc-catalog-loading[hidden]):has(> .aavc-search-progress[hidden]):has(> .aavc-status:empty) {
    display: none;
}
body .alpha-site .aavc-feedback-slot .aavc-catalog-loading,
body .alpha-site .aavc-feedback-slot .aavc-search-progress,
body .alpha-site .aavc-feedback-slot .aavc-status {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 13px 15px;
    border: 1px solid var(--alpha-line);
    border-radius: var(--alpha-radius-sm);
    background: var(--alpha-account-surface-soft);
    color: var(--alpha-text);
}
body .alpha-site .aavc-catalog-loading {
    display: flex;
    align-items: center;
    gap: 12px;
}
body .alpha-site .aavc-catalog-loading[hidden] { display: none !important; }
body .alpha-site .aavc-catalog-loading-spinner,
body .alpha-site .aavc-search-progress-spinner {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    border: 2px solid var(--alpha-line-strong);
    border-top-color: var(--alpha-accent);
    border-radius: 50%;
    animation: alpha-aavc-spin .8s linear infinite;
}
body .alpha-site .aavc-catalog-loading-copy,
body .alpha-site .aavc-search-progress-copy {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}
body .alpha-site .aavc-catalog-loading-copy > span,
body .alpha-site .aavc-search-progress-copy > span:last-child {
    display: grid;
    gap: 2px;
    min-width: 0;
}
body .alpha-site .aavc-catalog-loading strong,
body .alpha-site .aavc-search-progress strong {
    color: var(--alpha-ink);
    font-size: 12px;
    line-height: 1.3;
    font-weight: var(--alpha-font-weight-semibold);
}
body .alpha-site .aavc-catalog-loading [data-aavc-catalog-loading-text],
body .alpha-site .aavc-search-progress [data-aavc-search-progress-text] {
    color: var(--alpha-muted);
    font-size: 11px;
    line-height: 1.45;
    font-weight: var(--alpha-font-weight-regular);
}
body .alpha-site .aavc-search-progress {
    display: grid;
    gap: 10px;
    height: auto;
    overflow: visible;
}
body .alpha-site .aavc-search-progress[hidden] { display: none !important; }
body .alpha-site .aavc-search-progress-track {
    display: block;
    width: 100%;
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--alpha-line);
}
body .alpha-site .aavc-search-progress-bar {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--alpha-accent);
    transition: width .22s ease;
}
@keyframes alpha-aavc-spin { to { transform: rotate(360deg); } }
body .alpha-site .aavc-status {
    min-height: 0;
    color: var(--alpha-text);
    font-size: 12px;
    line-height: 1.45;
    font-weight: var(--alpha-font-weight-medium);
}
body .alpha-site .aavc-status:empty { display: none; }

/* Hide result-only filters until the vehicle picker is completed. */
body .alpha-site .aavc-wrap:has(.aavc-grid:not([hidden])) > .aavc-toolbar {
    display: none !important;
}

/* Results filters */
body .alpha-site .aavc-toolbar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    align-items: end;
    margin: 14px 0 12px;
    padding: 14px;
    border: 1px solid var(--alpha-line);
    border-radius: var(--alpha-radius-sm);
    background: var(--alpha-surface);
    box-shadow: none;
}
body .alpha-site .aavc-toolbar[hidden] { display: none !important; }
body .alpha-site .aavc-toolbar select {
    width: 100%;
    min-height: 42px;
    margin-top: 6px;
    padding: 0 32px 0 11px;
    border: 1px solid var(--alpha-line-strong);
    border-radius: var(--alpha-radius-sm);
    background: var(--alpha-surface);
    color: var(--alpha-ink);
    font-size: 12px;
    font-weight: var(--alpha-font-weight-medium);
    text-transform: none;
    letter-spacing: 0;
}

/* Result list */
body .alpha-site .aavc-results {
    display: grid;
    gap: 10px;
    margin-top: 0;
}
body .alpha-site .aavc-card,
body .alpha-site .aavc-product-card {
    border-color: var(--alpha-line);
    border-radius: var(--alpha-radius-sm);
    background: var(--alpha-surface);
    box-shadow: 0 5px 18px rgba(20, 28, 38, .035);
}
body .alpha-site .aavc-image {
    border: 1px solid #edf0f2;
    background: var(--alpha-account-surface-soft);
}
body .alpha-site .aavc-main h3 {
    color: var(--alpha-ink);
    font-weight: var(--alpha-font-weight-semibold);
    letter-spacing: -.01em;
}
body .alpha-site .aavc-badge {
    background: #f1f3f5;
    color: #66707a;
    font-weight: var(--alpha-font-weight-semibold);
}
body .alpha-site .aavc-badge-stock {
    background: var(--alpha-status-success-bg);
    color: var(--alpha-status-success);
}
body .alpha-site .aavc-badge-analog {
    background: var(--alpha-status-warning-bg);
    color: var(--alpha-status-warning);
}
body .alpha-site .aavc-tags span {
    background: #f3f5f7;
    color: #5e6873;
}
body .alpha-site .aavc-side {
    border-left-color: #edf0f2;
}
body .alpha-site .aavc-price {
    color: var(--alpha-ink);
    font-weight: var(--alpha-font-weight-semibold);
}
body .alpha-site .aavc-stock.is-available {
    color: var(--alpha-status-success);
}
body .alpha-site .aavc-wrap .aavc-button,
body .alpha-site .aavc-wrap .aavc-find {
    border-color: var(--alpha-accent) !important;
    border-radius: var(--alpha-radius-sm) !important;
    background: var(--alpha-accent) !important;
    color: var(--alpha-accent-contrast) !important;
    font-weight: var(--alpha-font-weight-semibold) !important;
    box-shadow: none !important;
}
body .alpha-site .aavc-wrap .aavc-button:hover,
body .alpha-site .aavc-wrap .aavc-button:focus-visible,
body .alpha-site .aavc-wrap .aavc-find:hover,
body .alpha-site .aavc-wrap .aavc-find:focus-visible {
    border-color: var(--alpha-accent-hover) !important;
    background: var(--alpha-accent-hover) !important;
    outline: 0 !important;
    box-shadow: 0 0 0 3px var(--alpha-accent-ring) !important;
}
body .alpha-site .aavc-wrap .aavc-button-secondary {
    border-color: var(--alpha-line-strong) !important;
    background: var(--alpha-surface) !important;
    color: var(--alpha-ink) !important;
}
body .alpha-site .aavc-wrap .aavc-button-secondary:hover,
body .alpha-site .aavc-wrap .aavc-button-secondary:focus-visible {
    border-color: var(--alpha-accent-border) !important;
    background: var(--alpha-accent-soft) !important;
    color: var(--alpha-accent-hover) !important;
}

/* Alternative offers / detail disclosures */
body .alpha-site .aavc-offers,
body .alpha-site .aavc-catalog-detail {
    border-top-color: var(--alpha-line);
}
body .alpha-site .aavc-offers summary,
body .alpha-site .aavc-detail-disclosure summary {
    color: var(--alpha-text);
    font-weight: var(--alpha-font-weight-semibold);
}
body .alpha-site .aavc-offers summary:hover,
body .alpha-site .aavc-offers summary:focus-visible,
body .alpha-site .aavc-detail-disclosure summary:hover,
body .alpha-site .aavc-detail-disclosure summary:focus-visible {
    color: var(--alpha-accent-hover);
}
body .alpha-site .aavc-offer-row {
    border-color: var(--alpha-line);
    background: var(--alpha-account-surface-soft);
}
body .alpha-site .aavc-offer-row.is-best {
    border-color: var(--alpha-accent-border);
    background: var(--alpha-accent-soft);
}
body .alpha-site .aavc-detail-panel {
    border-color: var(--alpha-line);
    background: var(--alpha-account-surface-soft);
}
body .alpha-site .aavc-detail-panel section {
    border-color: var(--alpha-line);
    background: var(--alpha-surface);
}
body .alpha-site .aavc-detail-error { color: var(--alpha-status-danger); }

/* Empty / pagination */
body .alpha-site .aavc-empty {
    padding: 24px;
    border: 1px solid var(--alpha-line);
    border-radius: var(--alpha-radius-sm);
    background: var(--alpha-surface);
    color: var(--alpha-muted);
    text-align: center;
}
body .alpha-site .aavc-empty-action {
    align-items: center;
}
body .alpha-site .aavc-empty-action strong {
    color: var(--alpha-ink);
    font-size: 15px;
    font-weight: var(--alpha-font-weight-semibold);
}
body .alpha-site .aavc-load-more {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin-top: 2px;
    padding: 12px 14px;
    border: 1px solid var(--alpha-line);
    border-radius: var(--alpha-radius-sm);
    background: var(--alpha-surface);
}
body .alpha-site .aavc-load-more-count {
    color: var(--alpha-muted);
    font-size: 11px;
}

/* Contextual engine showcase */
body .alpha-site .aavc-showcase-promo {
    border-color: var(--alpha-line);
    border-radius: var(--alpha-radius-sm);
    background: var(--alpha-surface);
}
body .alpha-site .aavc-showcase-promo-card {
    border-color: var(--alpha-line);
    border-radius: var(--alpha-radius-sm);
    background: var(--alpha-account-surface-soft);
}
body .alpha-site .aavc-showcase-status.is-in-stock {
    background: var(--alpha-status-success-bg);
    color: var(--alpha-status-success);
}
body .alpha-site .aavc-showcase-status.is-on-order {
    background: var(--alpha-status-warning-bg);
    color: var(--alpha-status-warning);
}
body .alpha-site .aavc-showcase-promo-all,
body .alpha-site .aavc-showcase-promo-main > strong a:hover {
    color: var(--alpha-accent-hover);
}

@media (max-width: 1100px) {
    body .alpha-site .aavc-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    body .alpha-site .alpha-page-shell:has(.aavc-wrap) {
        padding: 30px 0 54px;
    }
    body .alpha-site .aavc-panel {
        padding: 24px;
    }
    body .alpha-site .aavc-panel::before {
        left: 24px;
    }
    body .alpha-site .aavc-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    body .alpha-site .aavc-toolbar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    body .alpha-site .aavc-vehicle-summary {
        grid-template-columns: minmax(0, 1fr);
    }
    body .alpha-site .aavc-vehicle-summary-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 680px) {
    body .alpha-site .alpha-page-shell:has(.aavc-wrap) {
        padding: 22px 0 42px;
    }
    body .alpha-site .aavc-panel {
        padding: 20px 16px 18px;
    }
    body .alpha-site .aavc-panel::before {
        left: 16px;
        width: 36px;
    }
    body .alpha-site .aavc-panel > h2 {
        margin-top: 5px;
        font-size: 31px;
        line-height: 1.05;
    }
    body .alpha-site .aavc-panel > p {
        margin-bottom: 16px;
        font-size: 13px;
    }
    body .alpha-site .aavc-grid {
        grid-template-columns: 1fr;
        gap: 9px;
        padding: 10px;
    }
    body .alpha-site .aavc-grid > label {
        grid-template-columns: 24px minmax(0, 1fr);
    }
    body .alpha-site .aavc-grid > label::before {
        width: 24px;
        height: 24px;
    }
    body .alpha-site .aavc-wrap .alpha-search-select-input,
    body .alpha-site .aavc-wrap select,
    body .alpha-site .aavc-wrap input {
        min-height: 44px;
        font-size: 13px;
    }
    body .alpha-site .aavc-vehicle-summary {
        gap: 11px;
        padding: 12px;
    }
    body .alpha-site .aavc-vehicle-summary-actions {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }
    body .alpha-site .aavc-vehicle-summary .aavc-vehicle-action {
        width: 100%;
    }
    body .alpha-site .aavc-category-browser {
        padding: 13px 12px;
    }
    body .alpha-site .aavc-category-dropdowns,
    body .alpha-site .aavc-toolbar {
        grid-template-columns: 1fr;
    }
    body .alpha-site .aavc-toolbar {
        gap: 9px;
        padding: 10px;
    }
    body .alpha-site .aavc-load-more {
        grid-template-columns: 1fr;
    }
    body .alpha-site .aavc-load-more .aavc-button {
        width: 100%;
        margin: 0 !important;
    }
    body .alpha-site .aavc-load-more-spacer {
        display: none;
    }
}

@media (max-width: 420px) {
    body .alpha-site .aavc-panel > h2 {
        font-size: 28px;
    }
    body .alpha-site .aavc-vehicle-summary-actions {
        grid-template-columns: 1fr;
    }
}


@media (prefers-reduced-motion: reduce) {
    body .alpha-site .aavc-catalog-loading-spinner,
    body .alpha-site .aavc-search-progress-spinner { animation: none; }
}

/* -------------------------------------------------------------------------
 * Result-state finishing layer — align vehicle catalog results with the
 * canonical Alpha parts-search composition.
 * ---------------------------------------------------------------------- */
body .alpha-site .aavc-status {
    margin: 12px 0 10px;
    color: var(--alpha-text);
    font-size: 13px;
    line-height: 1.45;
    font-weight: var(--alpha-font-weight-medium);
}

body .alpha-site .aavc-category-browser {
    margin-top: 12px;
    padding: 16px 16px 14px;
    border: 1px solid var(--alpha-line);
    border-radius: var(--alpha-radius-sm);
    background: var(--alpha-surface);
    box-shadow: 0 4px 14px rgba(20, 28, 38, .028);
}
body .alpha-site .aavc-category-browser-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}
body .alpha-site .aavc-category-browser-head strong {
    color: var(--alpha-ink);
    font-size: 18px;
    line-height: 1.25;
    font-weight: var(--alpha-font-weight-semibold);
}
body .alpha-site .aavc-category-browser-head span {
    color: var(--alpha-muted);
    font-size: 12px;
    line-height: 1.45;
}
body .alpha-site .aavc-category-dropdowns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}
body .alpha-site .aavc-category-dropdowns > label,
body .alpha-site .aavc-toolbar > label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #6a7380;
    font-size: 10px;
    line-height: 1.2;
    font-weight: var(--alpha-font-weight-semibold);
    letter-spacing: .04em;
    text-transform: uppercase;
}
body .alpha-site .aavc-category-message {
    display: grid;
    place-items: center;
    gap: 10px;
    min-height: 136px;
    margin-top: 10px;
    padding: 18px;
    border: 1px solid var(--alpha-line);
    border-radius: var(--alpha-radius-sm);
    background: var(--alpha-account-surface-soft);
    color: var(--alpha-muted);
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}
body .alpha-site .aavc-category-message strong,
body .alpha-site .aavc-empty-action strong {
    color: var(--alpha-ink);
    font-size: 15px;
    line-height: 1.35;
    font-weight: var(--alpha-font-weight-semibold);
}
body .alpha-site .aavc-category-message .aavc-button,
body .alpha-site .aavc-empty-action .aavc-button {
    min-height: 40px !important;
    height: 40px !important;
    margin-top: 2px !important;
    padding: 0 16px !important;
}

body .alpha-site .aavc-toolbar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 12px 0;
    padding: 14px;
    border-radius: var(--alpha-radius-sm);
    box-shadow: 0 5px 18px rgba(20, 28, 38, .028);
}
body .alpha-site .aavc-toolbar select {
    min-height: 42px;
    height: 42px;
    margin-top: 0;
}
body .alpha-site .aavc-filter-count {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 42px;
    color: var(--alpha-muted);
    font-size: 11px;
    line-height: 1.3;
    font-weight: var(--alpha-font-weight-medium);
}

body .alpha-site .aavc-results {
    gap: 12px;
}
body .alpha-site .aavc-product-card {
    display: grid !important;
    grid-template-columns: 96px minmax(0, 1fr) 220px !important;
    gap: 16px !important;
    align-items: center !important;
    padding: 15px !important;
    border: 1px solid var(--alpha-line) !important;
    border-radius: var(--alpha-radius-sm) !important;
    background: var(--alpha-surface) !important;
    box-shadow: 0 6px 18px rgba(20, 28, 38, .03) !important;
}
body .alpha-site .aavc-product-card:hover {
    border-color: var(--alpha-line-strong) !important;
    box-shadow: 0 8px 22px rgba(20, 28, 38, .045) !important;
}
body .alpha-site .aavc-image {
    width: 88px;
    height: 88px;
    align-self: start;
    border: 0;
    border-radius: var(--alpha-radius-sm);
    background: var(--alpha-account-surface-soft);
}
body .alpha-site .aavc-image img {
    width: 100%;
    height: 100%;
    padding: 7px;
    object-fit: contain;
    box-sizing: border-box;
}
body .alpha-site .aavc-placeholder-image,
body .alpha-site .aavc-image .is-placeholder { padding: 0; }
body .alpha-site .aavc-main {
    min-width: 0;
    align-self: center;
}
body .alpha-site .aavc-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0 0 6px;
}
body .alpha-site .aavc-badge {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    font-size: 8px;
    line-height: 20px;
    letter-spacing: .035em;
    text-transform: uppercase;
}
body .alpha-site .aavc-main h3 {
    margin: 0 0 7px;
    color: var(--alpha-ink);
    font-size: 15px;
    line-height: 1.28;
    font-weight: var(--alpha-font-weight-semibold);
    letter-spacing: -.01em;
    overflow-wrap: anywhere;
}
body .alpha-site .aavc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
body .alpha-site .aavc-tags span {
    padding: 3px 6px;
    border-radius: 5px;
    background: var(--alpha-account-surface-soft);
    color: #5e6873;
    font-size: 10px;
    line-height: 1.3;
}
body .alpha-site .aavc-tags strong {
    color: var(--alpha-text);
    font-weight: var(--alpha-font-weight-semibold);
}
body .alpha-site .aavc-fitment,
body .alpha-site .aavc-fitment-note,
body .alpha-site .aavc-muted {
    margin-top: 6px;
    color: var(--alpha-muted);
    font-size: 10px;
    line-height: 1.35;
}
body .alpha-site .aavc-fitment {
    color: #8a4f00;
}

body .alpha-site .aavc-side {
    grid-column: 3 !important;
    grid-row: 1 !important;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    min-width: 0;
    height: 100%;
    padding: 0 0 0 15px;
    border-top: 0 !important;
    border-left: 1px solid var(--alpha-line);
    text-align: right;
    box-sizing: border-box;
}
body .alpha-site .aavc-price {
    width: 100%;
    margin: 0 0 5px;
    color: var(--alpha-ink);
    font-size: 24px;
    line-height: 1;
    font-weight: var(--alpha-font-weight-semibold);
    letter-spacing: -.025em;
    text-align: right;
}
body .alpha-site .aavc-price-empty {
    font-size: 16px;
    color: var(--alpha-muted);
}
body .alpha-site .aavc-stock,
body .alpha-site .aavc-delivery {
    width: 100%;
    margin: 3px 0 0;
    color: var(--alpha-muted);
    font-size: 10px;
    line-height: 1.35;
    font-weight: var(--alpha-font-weight-medium);
    text-align: right;
}
body .alpha-site .aavc-stock.is-available {
    color: var(--alpha-status-success);
    font-weight: var(--alpha-font-weight-semibold);
}
body .alpha-site .aavc-buy-compact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    width: 100%;
    margin: 8px 0 0;
}
body .alpha-site .aavc-quantity {
    width: 100%;
    min-width: 0;
    max-width: none;
    height: 36px;
    min-height: 36px;
    grid-template-columns: 36px minmax(44px, 1fr) 36px;
    border-color: var(--alpha-line-strong);
    border-radius: var(--alpha-radius-sm);
    background: var(--alpha-surface);
}
body .alpha-site .aavc-quantity input,
body .alpha-site .aavc-quantity button {
    height: 34px !important;
    min-height: 34px !important;
    line-height: 34px !important;
}
body .alpha-site .aavc-quantity input {
    padding: 0 4px !important;
    color: var(--alpha-ink) !important;
    font-size: 13px !important;
    font-weight: var(--alpha-font-weight-semibold) !important;
}
body .alpha-site .aavc-wrap .aavc-quantity button {
    width: 36px !important;
    min-width: 36px !important;
    background: var(--alpha-account-surface-soft) !important;
    color: var(--alpha-ink) !important;
    font-size: 15px !important;
    font-weight: var(--alpha-font-weight-semibold) !important;
}
body .alpha-site .aavc-wrap .aavc-quantity button:hover,
body .alpha-site .aavc-wrap .aavc-quantity button:focus-visible {
    background: var(--alpha-accent-soft) !important;
    color: var(--alpha-accent-hover) !important;
    outline: 0 !important;
}
body .alpha-site .aavc-buy-compact > .aavc-button,
body .alpha-site .aavc-buy-compact > .aavc-find {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    max-width: none;
    min-height: 40px;
    height: 40px;
    margin: 0 !important;
    padding: 0 14px !important;
    font-size: 11px !important;
    line-height: 1 !important;
}

body .alpha-site .aavc-product-card > .aavc-offers,
body .alpha-site .aavc-product-card > .aavc-catalog-detail {
    grid-column: 1 / -1 !important;
    margin: 0 !important;
    padding: 9px 0 0 !important;
    border-top: 1px solid var(--alpha-line) !important;
}
body .alpha-site .aavc-product-card > .aavc-offers > summary,
body .alpha-site .aavc-product-card > .aavc-catalog-detail > .aavc-detail-disclosure > summary {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    min-height: 34px !important;
    margin: 0 !important;
    padding: 7px 2px !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--alpha-text) !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    font-weight: var(--alpha-font-weight-semibold) !important;
    list-style: none !important;
    cursor: pointer;
}
body .alpha-site .aavc-product-card > .aavc-offers > summary:hover,
body .alpha-site .aavc-product-card > .aavc-offers > summary:focus-visible,
body .alpha-site .aavc-product-card > .aavc-offers[open] > summary,
body .alpha-site .aavc-product-card > .aavc-catalog-detail > .aavc-detail-disclosure > summary:hover,
body .alpha-site .aavc-product-card > .aavc-catalog-detail > .aavc-detail-disclosure > summary:focus-visible,
body .alpha-site .aavc-product-card > .aavc-catalog-detail > .aavc-detail-disclosure[open] > summary {
    outline: 0 !important;
    color: var(--alpha-accent-hover) !important;
}
body .alpha-site .aavc-product-card > .aavc-offers > summary::before,
body .alpha-site .aavc-product-card > .aavc-catalog-detail > .aavc-detail-disclosure > summary::before {
    color: var(--alpha-accent) !important;
    font-size: 9px !important;
}
body .alpha-site .aavc-offers-list {
    display: grid;
    gap: 6px;
    padding: 3px 0 1px;
}
body .alpha-site .aavc-offer-row {
    display: grid;
    grid-template-columns: minmax(175px, 1.4fr) minmax(110px, .75fr) minmax(115px, .8fr) 112px 86px 112px !important;
    grid-template-areas: "part stock delivery quantity price action" !important;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 8px 10px;
    border: 1px solid var(--alpha-line);
    border-radius: var(--alpha-radius-sm);
    background: var(--alpha-account-surface-soft);
    color: var(--alpha-muted);
    font-size: 10px;
    line-height: 1.3;
    box-sizing: border-box;
}
body .alpha-site .aavc-offer-row.is-best {
    background: var(--alpha-accent-soft);
    border-color: var(--alpha-accent-border);
}
body .alpha-site .aavc-offer-row > .aavc-offer-part { grid-area: part; min-width: 0; }
body .alpha-site .aavc-offer-row > .aavc-offer-stock { grid-area: stock; }
body .alpha-site .aavc-offer-row > .aavc-offer-delivery { grid-area: delivery; }
body .alpha-site .aavc-offer-row > .aavc-offer-price {
    grid-area: price;
    justify-content: flex-end;
    text-align: right;
    white-space: nowrap;
}
body .alpha-site .aavc-offer-row > .aavc-offer-buy { display: contents; min-width: 0; }
body .alpha-site .aavc-offer-part strong {
    color: var(--alpha-ink);
    font-size: 11px;
    line-height: 1.3;
    font-weight: var(--alpha-font-weight-semibold);
    overflow-wrap: anywhere;
}
body .alpha-site .aavc-offer-part span {
    color: var(--alpha-muted);
    font-size: 9px;
}
body .alpha-site .aavc-offer-stock,
body .alpha-site .aavc-offer-delivery {
    color: var(--alpha-muted);
    font-size: 10px;
}
body .alpha-site .aavc-offer-price strong {
    color: var(--alpha-ink);
    font-size: 16px;
    font-weight: var(--alpha-font-weight-semibold);
}
body .alpha-site .aavc-offer-row .aavc-buy-compact { display: contents; margin: 0; }
body .alpha-site .aavc-offer-row .aavc-quantity {
    grid-area: quantity;
    width: 112px;
    min-width: 112px;
    max-width: 112px;
    height: 36px;
    min-height: 36px;
    grid-template-columns: 35px 42px 35px;
}
body .alpha-site .aavc-offer-row .aavc-wrap .aavc-quantity button,
body .alpha-site .aavc-offer-row .aavc-quantity button {
    width: 35px !important;
    min-width: 35px !important;
}
body .alpha-site .aavc-offer-row .aavc-button {
    grid-area: action;
    width: 112px;
    min-width: 112px;
    max-width: 112px;
    min-height: 36px;
    height: 36px;
    margin: 0 !important;
    padding: 0 10px !important;
    border-radius: var(--alpha-radius-sm) !important;
    font-size: 10px !important;
}

body .alpha-site .aavc-detail-panel {
    margin-top: 4px;
    padding: 12px;
    border: 1px solid var(--alpha-line);
    border-radius: var(--alpha-radius-sm);
    background: var(--alpha-account-surface-soft);
}
body .alpha-site .aavc-detail-grid,
body .alpha-site .aavc-detail-lazy-sections {
    display: grid;
    gap: 10px;
}
body .alpha-site .aavc-detail-grid {
    grid-template-columns: minmax(0, 1fr);
}
body .alpha-site .aavc-detail-panel section {
    padding: 12px;
    border: 1px solid var(--alpha-line);
    border-radius: var(--alpha-radius-sm);
    background: var(--alpha-surface);
}
body .alpha-site .aavc-detail-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}
body .alpha-site .aavc-detail-section-head h4 {
    margin: 0;
    color: var(--alpha-ink);
    font-size: 13px;
    line-height: 1.3;
    font-weight: var(--alpha-font-weight-semibold);
}
body .alpha-site .aavc-detail-load,
body .alpha-site .aavc-detail-more .aavc-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    height: 32px;
    padding: 0 12px;
    border: 1px solid var(--alpha-line-strong);
    border-radius: var(--alpha-radius-sm);
    background: var(--alpha-surface);
    color: var(--alpha-ink);
    font: inherit;
    font-size: 11px;
    font-weight: var(--alpha-font-weight-semibold);
    cursor: pointer;
}
body .alpha-site .aavc-detail-load:hover,
body .alpha-site .aavc-detail-load:focus-visible,
body .alpha-site .aavc-detail-more .aavc-button:hover,
body .alpha-site .aavc-detail-more .aavc-button:focus-visible {
    border-color: var(--alpha-accent-border);
    background: var(--alpha-accent-soft);
    color: var(--alpha-accent-hover);
    outline: 0;
}
body .alpha-site .aavc-detail-empty,
body .alpha-site .aavc-detail-loading {
    color: var(--alpha-muted);
    font-size: 11px;
    line-height: 1.45;
}
body .alpha-site .aavc-detail-more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
    color: var(--alpha-muted);
    font-size: 11px;
}
body .alpha-site .aavc-detail-attributes {
    display: grid;
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    gap: 8px 12px;
    margin: 0;
}
body .alpha-site .aavc-detail-attributes dt {
    margin: 0;
    color: var(--alpha-muted);
    font-size: 11px;
    line-height: 1.45;
}
body .alpha-site .aavc-detail-attributes dd {
    margin: 0;
    color: var(--alpha-text);
    font-size: 11px;
    line-height: 1.45;
}
body .alpha-site .aavc-detail-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 8px;
}
body .alpha-site .aavc-detail-images img {
    width: 100%;
    aspect-ratio: 1;
    border: 1px solid var(--alpha-line);
    border-radius: var(--alpha-radius-sm);
    background: var(--alpha-account-surface-soft);
    object-fit: contain;
}
body .alpha-site .aavc-detail-list {
    display: grid;
    gap: 6px;
}
body .alpha-site .aavc-detail-list-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
    padding: 8px 10px;
    border: 1px solid var(--alpha-line);
    border-radius: 8px;
    background: var(--alpha-account-surface-soft);
    color: var(--alpha-text);
    font-size: 11px;
    line-height: 1.35;
}
body .alpha-site .aavc-detail-list-row strong {
    color: var(--alpha-ink);
    font-weight: var(--alpha-font-weight-semibold);
}
body .alpha-site .aavc-detail-list-row span {
    color: var(--alpha-muted);
}

@media (max-width: 980px) {
    body .alpha-site .aavc-category-dropdowns,
    body .alpha-site .aavc-toolbar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    body .alpha-site .aavc-product-card {
        grid-template-columns: 76px minmax(0, 1fr) 210px !important;
        gap: 12px !important;
        padding: 13px !important;
    }
    body .alpha-site .aavc-image {
        width: 68px;
        height: 68px;
    }
    body .alpha-site .aavc-side {
        padding-left: 13px;
    }
    body .alpha-site .aavc-offer-row {
        grid-template-columns: minmax(0, 1fr) minmax(118px, .8fr);
        grid-template-areas:
            "part part"
            "stock delivery"
            "price price"
            "quantity action" !important;
    }
    body .alpha-site .aavc-offer-row > .aavc-offer-price {
        text-align: left;
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    body .alpha-site .aavc-category-browser {
        padding: 14px;
    }
    body .alpha-site .aavc-category-browser-head {
        flex-direction: column;
        gap: 8px;
    }
    body .alpha-site .aavc-category-dropdowns,
    body .alpha-site .aavc-toolbar {
        grid-template-columns: 1fr;
    }
    body .alpha-site .aavc-filter-count {
        justify-content: flex-start;
        min-height: 0;
    }
    body .alpha-site .aavc-product-card {
        grid-template-columns: 68px minmax(0, 1fr) !important;
        gap: 12px !important;
        padding: 12px !important;
    }
    body .alpha-site .aavc-image {
        width: 60px;
        height: 60px;
    }
    body .alpha-site .aavc-side {
        grid-column: 1 / -1 !important;
        grid-row: auto !important;
        padding: 10px 0 0 !important;
        border-left: 0 !important;
        border-top: 1px solid var(--alpha-line) !important;
        text-align: left;
    }
    body .alpha-site .aavc-price,
    body .alpha-site .aavc-stock,
    body .alpha-site .aavc-delivery {
        text-align: left;
    }
    body .alpha-site .aavc-buy-compact {
        grid-template-columns: 1fr;
    }
    body .alpha-site .aavc-offer-row {
        grid-template-columns: minmax(0, 1fr) minmax(110px, .82fr);
        grid-template-areas:
            "part part"
            "stock delivery"
            "price price"
            "quantity action" !important;
        gap: 8px;
        padding: 8px;
    }
    body .alpha-site .aavc-offer-row .aavc-quantity,
    body .alpha-site .aavc-offer-row .aavc-button {
        width: 100%;
        min-width: 0;
        max-width: none;
    }
    body .alpha-site .aavc-detail-panel {
        padding: 10px;
    }
    body .alpha-site .aavc-detail-section-head,
    body .alpha-site .aavc-detail-more {
        flex-direction: column;
        align-items: flex-start;
    }
    body .alpha-site .aavc-detail-attributes {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}


/* -------------------------------------------------------------------------
 * Responsive hotfix — prevent alternative offers from overflowing on tablet
 * and mobile.
 * ---------------------------------------------------------------------- */
body .alpha-site .aavc-offers,
body .alpha-site .aavc-offers-list,
body .alpha-site .aavc-offers-list > * {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}
body .alpha-site .aavc-offer-row,
body .alpha-site .aavc-offer-row > *,
body .alpha-site .aavc-offer-row .aavc-buy-compact,
body .alpha-site .aavc-offer-row .aavc-buy-compact > * {
    min-width: 0;
    box-sizing: border-box;
}
body .alpha-site .aavc-offer-row {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}
body .alpha-site .aavc-offer-row .aavc-button,
body .alpha-site .aavc-offer-row .aavc-quantity {
    justify-self: stretch;
}

@media (max-width: 980px) {
    body .alpha-site .aavc-offer-row {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        grid-template-areas:
            "part part part"
            "stock delivery price"
            "quantity quantity action" !important;
        align-items: stretch;
    }
    body .alpha-site .aavc-offer-row > .aavc-offer-stock,
    body .alpha-site .aavc-offer-row > .aavc-offer-delivery,
    body .alpha-site .aavc-offer-row > .aavc-offer-price {
        align-self: center;
    }
    body .alpha-site .aavc-offer-row > .aavc-offer-price {
        text-align: right;
        justify-content: flex-end;
    }
    body .alpha-site .aavc-offer-row .aavc-quantity {
        width: 100%;
        min-width: 0;
        max-width: none;
    }
    body .alpha-site .aavc-offer-row .aavc-button {
        width: 100%;
        min-width: 0;
        max-width: none;
        justify-self: stretch;
    }
}

@media (max-width: 767px) {
    body .alpha-site .aavc-offers-list {
        gap: 8px;
    }
    body .alpha-site .aavc-offer-row {
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-areas:
            "part"
            "stock"
            "delivery"
            "price"
            "quantity"
            "action" !important;
        gap: 7px;
        padding: 10px;
    }
    body .alpha-site .aavc-offer-row > .aavc-offer-price,
    body .alpha-site .aavc-offer-row > .aavc-offer-stock,
    body .alpha-site .aavc-offer-row > .aavc-offer-delivery {
        text-align: left;
        justify-content: flex-start;
    }
    body .alpha-site .aavc-offer-row .aavc-quantity {
        height: 38px;
        min-height: 38px;
    }
    body .alpha-site .aavc-offer-row .aavc-button {
        min-height: 38px;
        height: 38px;
    }
}

/* -------------------------------------------------------------------------
 * v0.2.16 — compact responsive offer rows, matching the parts-search pattern.
 * Tablet stays dense; mobile uses a safe two-column action layout.
 * ---------------------------------------------------------------------- */
@media (max-width: 980px) {
    body .alpha-site .aavc-product-card .aavc-offer-row {
        grid-template-columns: minmax(0, 1fr) 188px !important;
        grid-template-areas:
            "part price"
            "stock delivery"
            "quantity action" !important;
        grid-template-rows: auto auto 38px !important;
        align-items: end !important;
        gap: 7px 12px !important;
        min-height: 0 !important;
        padding: 9px 10px !important;
        overflow: hidden !important;
    }
    body .alpha-site .aavc-product-card .aavc-offer-row > .aavc-offer-part {
        align-self: center;
    }
    body .alpha-site .aavc-product-card .aavc-offer-row > .aavc-offer-stock,
    body .alpha-site .aavc-product-card .aavc-offer-row > .aavc-offer-delivery {
        align-self: center;
        min-width: 0;
        overflow-wrap: anywhere;
    }
    body .alpha-site .aavc-product-card .aavc-offer-row > .aavc-offer-price {
        align-self: start;
        justify-content: flex-end;
        text-align: right;
    }
    body .alpha-site .aavc-product-card .aavc-offer-row .aavc-quantity,
    body .alpha-site .aavc-product-card .aavc-offer-row .aavc-button {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 38px !important;
        min-height: 38px !important;
        margin: 0 !important;
    }
    body .alpha-site .aavc-product-card .aavc-offer-row .aavc-quantity {
        grid-template-columns: 38px minmax(44px, 1fr) 38px !important;
    }
    body .alpha-site .aavc-product-card .aavc-offer-row .aavc-quantity button {
        width: 38px !important;
        min-width: 38px !important;
        height: 36px !important;
        min-height: 36px !important;
        line-height: 36px !important;
    }
    body .alpha-site .aavc-product-card .aavc-offer-row .aavc-quantity input {
        height: 36px !important;
        min-height: 36px !important;
        line-height: 36px !important;
    }
}

@media (max-width: 680px) {
    body .alpha-site .aavc-product-card .aavc-offer-row {
        grid-template-columns: 124px minmax(0, 1fr) !important;
        grid-template-areas:
            "part part"
            "stock price"
            "delivery price"
            "quantity action" !important;
        grid-template-rows: auto auto auto 42px !important;
        align-items: end !important;
        gap: 7px 9px !important;
        padding: 9px !important;
    }
    body .alpha-site .aavc-product-card .aavc-offer-row > .aavc-offer-price {
        align-self: start;
        justify-content: flex-end;
        text-align: right;
    }
    body .alpha-site .aavc-product-card .aavc-offer-row .aavc-quantity {
        width: 124px !important;
        min-width: 124px !important;
        max-width: 124px !important;
        height: 42px !important;
        min-height: 42px !important;
        grid-template-columns: 40px 44px 40px !important;
    }
    body .alpha-site .aavc-product-card .aavc-offer-row .aavc-quantity button,
    body .alpha-site .aavc-product-card .aavc-offer-row .aavc-quantity input {
        height: 40px !important;
        min-height: 40px !important;
        line-height: 40px !important;
    }
    body .alpha-site .aavc-product-card .aavc-offer-row .aavc-quantity button {
        width: 40px !important;
        min-width: 40px !important;
    }
    body .alpha-site .aavc-product-card .aavc-offer-row .aavc-button {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 42px !important;
        min-height: 42px !important;
    }
}

@media (max-width: 390px) {
    body .alpha-site .aavc-product-card .aavc-offer-row {
        grid-template-columns: 116px minmax(0, 1fr) !important;
    }
    body .alpha-site .aavc-product-card .aavc-offer-row .aavc-quantity {
        width: 116px !important;
        min-width: 116px !important;
        max-width: 116px !important;
        grid-template-columns: 36px 44px 36px !important;
    }
    body .alpha-site .aavc-product-card .aavc-offer-row .aavc-quantity button {
        width: 36px !important;
        min-width: 36px !important;
    }
}


/* -------------------------------------------------------------------------
 * v0.2.17 — final responsive composition for category helper and alternative
 * offers. Keep helper messages compact; keep offers dense and aligned.
 * ---------------------------------------------------------------------- */
body .alpha-site .aavc-category-message:not(:has(.aavc-button)) {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 0;
    margin-top: 10px;
    padding: 10px 12px;
    border: 1px solid var(--alpha-line);
    border-radius: var(--alpha-radius-sm);
    background: var(--alpha-account-surface-soft);
    color: var(--alpha-muted);
    font-size: 11px;
    line-height: 1.4;
    text-align: left;
}
body .alpha-site .aavc-category-message:not(:has(.aavc-button))::before {
    content: "i";
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--alpha-status-info-bg);
    color: var(--alpha-status-info);
    font-size: 10px;
    line-height: 1;
    font-weight: var(--alpha-font-weight-semibold);
}

@media (max-width: 980px) {
    body .alpha-site .aavc-product-card .aavc-offers-list {
        gap: 6px !important;
    }
    body .alpha-site .aavc-product-card .aavc-offer-row {
        grid-template-columns: minmax(0, 1fr) 108px 118px !important;
        grid-template-areas:
            "part price price"
            "stock delivery delivery"
            "quantity quantity action" !important;
        grid-template-rows: auto auto 38px !important;
        align-items: center !important;
        gap: 6px 10px !important;
        min-height: 0 !important;
        padding: 9px 10px !important;
        overflow: hidden !important;
    }
    body .alpha-site .aavc-product-card .aavc-offer-row > .aavc-offer-part {
        align-self: center !important;
        min-width: 0 !important;
    }
    body .alpha-site .aavc-product-card .aavc-offer-part strong {
        display: block;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 11px;
    }
    body .alpha-site .aavc-product-card .aavc-offer-part span {
        display: none;
    }
    body .alpha-site .aavc-product-card .aavc-offer-row > .aavc-offer-stock,
    body .alpha-site .aavc-product-card .aavc-offer-row > .aavc-offer-delivery {
        align-self: center !important;
        min-width: 0 !important;
        color: var(--alpha-muted) !important;
        font-size: 9.5px !important;
        line-height: 1.3 !important;
        overflow-wrap: anywhere;
    }
    body .alpha-site .aavc-product-card .aavc-offer-row > .aavc-offer-price {
        align-self: center !important;
        justify-content: flex-end !important;
        text-align: right !important;
        white-space: nowrap !important;
    }
    body .alpha-site .aavc-product-card .aavc-offer-price strong {
        font-size: 14px !important;
    }
    body .alpha-site .aavc-product-card .aavc-offer-row .aavc-quantity {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 38px !important;
        min-height: 38px !important;
        grid-template-columns: 36px minmax(38px, 1fr) 36px !important;
    }
    body .alpha-site .aavc-product-card .aavc-offer-row .aavc-quantity button,
    body .alpha-site .aavc-product-card .aavc-offer-row .aavc-quantity input {
        height: 36px !important;
        min-height: 36px !important;
        line-height: 36px !important;
    }
    body .alpha-site .aavc-product-card .aavc-offer-row .aavc-quantity button {
        width: 36px !important;
        min-width: 36px !important;
    }
    body .alpha-site .aavc-product-card .aavc-offer-row .aavc-button {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 38px !important;
        min-height: 38px !important;
        margin: 0 !important;
        padding: 0 8px !important;
        font-size: 9.5px !important;
        white-space: nowrap;
    }
}

@media (max-width: 680px) {
    body .alpha-site .aavc-category-message:not(:has(.aavc-button)) {
        padding: 9px 10px;
        font-size: 10.5px;
    }
    body .alpha-site .aavc-product-card .aavc-offer-row {
        grid-template-columns: minmax(0, 1fr) 112px !important;
        grid-template-areas:
            "part price"
            "stock price"
            "delivery price"
            "quantity action" !important;
        grid-template-rows: auto auto auto 40px !important;
        gap: 5px 8px !important;
        padding: 9px !important;
    }
    body .alpha-site .aavc-product-card .aavc-offer-row > .aavc-offer-price {
        align-self: start !important;
    }
    body .alpha-site .aavc-product-card .aavc-offer-row .aavc-quantity {
        height: 40px !important;
        min-height: 40px !important;
        grid-template-columns: 36px minmax(36px, 1fr) 36px !important;
    }
    body .alpha-site .aavc-product-card .aavc-offer-row .aavc-quantity button,
    body .alpha-site .aavc-product-card .aavc-offer-row .aavc-quantity input {
        height: 38px !important;
        min-height: 38px !important;
        line-height: 38px !important;
    }
    body .alpha-site .aavc-product-card .aavc-offer-row .aavc-button {
        height: 40px !important;
        min-height: 40px !important;
    }
}

@media (max-width: 390px) {
    body .alpha-site .aavc-product-card .aavc-offer-row {
        grid-template-columns: minmax(0, 1fr) 104px !important;
    }
    body .alpha-site .aavc-product-card .aavc-offer-row .aavc-quantity {
        grid-template-columns: 34px minmax(34px, 1fr) 34px !important;
    }
    body .alpha-site .aavc-product-card .aavc-offer-row .aavc-quantity button {
        width: 34px !important;
        min-width: 34px !important;
    }
}

/* v0.2.46 — structured current vehicle / garage switcher. */
body .alpha-site .aavc-vehicle-summary {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 13px;
    padding: 13px 14px;
    border-color: var(--alpha-line);
    background: var(--alpha-surface);
    box-shadow: 0 5px 18px rgba(20,28,38,.025);
}
body .alpha-site .aavc-vehicle-summary::before {
    content: "";
    position: absolute;
    top: 13px;
    bottom: 13px;
    left: 0;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--alpha-accent);
}
body .alpha-site .aavc-vehicle-summary-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--alpha-accent-soft);
    color: var(--alpha-accent);
}
body .alpha-site .aavc-vehicle-summary-icon svg {
    width: 24px;
    height: 24px;
}
body .alpha-site .aavc-vehicle-summary-kicker {
    display: block;
    margin-bottom: 3px;
    color: var(--alpha-muted) !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: var(--alpha-font-weight-semibold) !important;
    letter-spacing: .055em;
    text-transform: uppercase;
}
body .alpha-site .aavc-vehicle-current {
    min-height: 38px !important;
    margin: 0 !important;
    padding: 3px 8px 3px 0 !important;
    border-radius: 7px !important;
    cursor: default;
}
body .alpha-site .aavc-vehicle-current.is-switchable {
    cursor: pointer;
}
body .alpha-site .aavc-vehicle-current.is-switchable:hover,
body .alpha-site .aavc-vehicle-current.is-switchable:focus-visible {
    background: var(--alpha-accent-soft) !important;
    outline: 0 !important;
}
body .alpha-site .aavc-vehicle-current strong {
    font-size: 14px;
    line-height: 1.28;
}
body .alpha-site .aavc-vehicle-current-copy > span:not(.aavc-vehicle-summary-kicker) {
    font-size: 11px;
}
body .alpha-site .aavc-vehicle-current-chevron {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border: 1px solid var(--alpha-line);
    border-radius: 8px;
    background: #fff;
    font-size: 15px !important;
    transition: transform var(--alpha-transition), border-color var(--alpha-transition), background var(--alpha-transition);
}
body .alpha-site .aavc-vehicle-current[aria-expanded="true"] .aavc-vehicle-current-chevron {
    transform: rotate(180deg);
    border-color: var(--alpha-accent-border);
    background: var(--alpha-accent-soft);
}
body .alpha-site .aavc-vehicle-summary-actions {
    padding-left: 4px;
}
body .alpha-site .aavc-vehicle-summary .aavc-vehicle-action {
    min-height: 38px;
    padding: 0 14px;
    border-color: var(--alpha-line-strong) !important;
    background: #fff !important;
    color: var(--alpha-ink) !important;
}
body .alpha-site .aavc-vehicle-summary .aavc-vehicle-action[data-aavc-change-vehicle] {
    border-color: var(--alpha-accent) !important;
    background: var(--alpha-accent) !important;
    color: var(--alpha-accent-contrast) !important;
}
body .alpha-site .aavc-vehicle-summary .aavc-vehicle-action[data-aavc-change-vehicle]:hover,
body .alpha-site .aavc-vehicle-summary .aavc-vehicle-action[data-aavc-change-vehicle]:focus-visible {
    border-color: var(--alpha-accent-hover) !important;
    background: var(--alpha-accent-hover) !important;
    color: var(--alpha-accent-contrast) !important;
}
body .alpha-site .aavc-vehicle-menu {
    top: calc(100% + 8px);
    width: min(620px, calc(100vw - 48px));
    max-height: min(420px, 60vh);
    padding: 0;
    overflow: auto;
    border-radius: var(--alpha-radius-md);
    box-shadow: 0 20px 44px rgba(17,24,33,.16);
}
body .alpha-site .aavc-vehicle-menu-head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: grid;
    gap: 3px;
    padding: 13px 14px 11px;
    border-bottom: 1px solid var(--alpha-line);
    background: rgba(255,255,255,.98);
}
body .alpha-site .aavc-vehicle-menu-head > strong {
    margin: 0;
    color: var(--alpha-ink);
    font-size: 12px;
    line-height: 1.25;
    font-weight: var(--alpha-font-weight-semibold);
}
body .alpha-site .aavc-vehicle-menu-head > span {
    color: var(--alpha-muted);
    font-size: 10px;
    line-height: 1.35;
}
body .alpha-site .aavc-vehicle-menu .aavc-garage-list {
    gap: 7px;
    padding: 10px;
}
body .alpha-site .aavc-vehicle-menu .aavc-garage-item {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: 36px minmax(0,1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 10px;
    overflow: visible;
    border: 1px solid var(--alpha-line);
    border-radius: var(--alpha-radius-sm);
    background: #fff;
    color: var(--alpha-text);
    text-align: left;
    cursor: pointer;
    transition: border-color var(--alpha-transition), background var(--alpha-transition), box-shadow var(--alpha-transition);
}
body .alpha-site .aavc-vehicle-menu .aavc-garage-item:hover,
body .alpha-site .aavc-vehicle-menu .aavc-garage-item:focus-visible {
    border-color: var(--alpha-accent-border);
    background: var(--alpha-accent-soft);
    outline: 0;
    box-shadow: 0 0 0 3px var(--alpha-accent-ring);
}
body .alpha-site .aavc-vehicle-menu .aavc-garage-item.is-current,
body .alpha-site .aavc-vehicle-menu .aavc-garage-item.is-current:disabled {
    opacity: 1;
    border-color: var(--alpha-accent-border);
    background: var(--alpha-accent-soft);
    cursor: default;
}
body .alpha-site .aavc-garage-item-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--alpha-account-surface-soft);
    color: var(--alpha-muted);
}
body .alpha-site .aavc-garage-item.is-current .aavc-garage-item-icon {
    background: #fff;
    color: var(--alpha-accent);
}
body .alpha-site .aavc-garage-item-icon svg {
    width: 21px;
    height: 21px;
}
body .alpha-site .aavc-garage-item-copy {
    min-width: 0;
    display: grid;
    gap: 3px;
}
body .alpha-site .aavc-garage-item-copy strong {
    overflow: hidden;
    color: var(--alpha-ink);
    font-size: 11px;
    line-height: 1.3;
    font-weight: var(--alpha-font-weight-semibold);
    text-overflow: ellipsis;
    white-space: nowrap;
}
body .alpha-site .aavc-garage-item-copy > span {
    overflow: hidden;
    color: var(--alpha-muted);
    font-size: 10px;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}
body .alpha-site .aavc-garage-item-state {
    flex: 0 0 auto;
    padding: 5px 7px;
    border: 1px solid var(--alpha-line);
    border-radius: 999px;
    background: #fff;
    color: var(--alpha-muted);
    font-size: 9px;
    line-height: 1;
    font-weight: var(--alpha-font-weight-semibold);
}
body .alpha-site .aavc-garage-item.is-current .aavc-garage-item-state {
    border-color: var(--alpha-accent-border);
    color: var(--alpha-accent);
}

@media (max-width: 680px) {
    body .alpha-site .aavc-vehicle-summary {
        grid-template-columns: 40px minmax(0,1fr);
        gap: 10px;
        padding: 12px;
    }
    body .alpha-site .aavc-vehicle-summary-actions {
        grid-column: 1 / -1;
        width: 100%;
        padding: 0;
    }
    body .alpha-site .aavc-vehicle-summary .aavc-vehicle-action {
        flex: 1 1 0;
    }
    body .alpha-site .aavc-vehicle-menu {
        left: -50px;
        width: min(calc(100vw - 42px), 620px);
    }
    body .alpha-site .aavc-vehicle-menu .aavc-garage-item {
        grid-template-columns: 34px minmax(0,1fr);
    }
    body .alpha-site .aavc-garage-item-state {
        grid-column: 2;
        justify-self: start;
    }
}

/* v0.2.47 — reuse the standard Alpha secondary-button pattern for garage switching
 * and keep the saved-vehicle menu aligned to the full current-vehicle card. */
body .alpha-site .aavc-vehicle-current {
    cursor: default !important;
    padding-right: 0 !important;
}
body .alpha-site .aavc-vehicle-summary-actions [data-aavc-vehicle-menu-toggle] {
    border-color: var(--alpha-line-strong) !important;
    background: #fff !important;
    color: var(--alpha-ink) !important;
}
body .alpha-site .aavc-vehicle-summary-actions [data-aavc-vehicle-menu-toggle]:hover,
body .alpha-site .aavc-vehicle-summary-actions [data-aavc-vehicle-menu-toggle]:focus-visible,
body .alpha-site .aavc-vehicle-summary-actions [data-aavc-vehicle-menu-toggle][aria-expanded="true"] {
    border-color: var(--alpha-accent-border) !important;
    background: var(--alpha-accent-soft) !important;
    color: var(--alpha-accent-hover) !important;
    outline: 0 !important;
    box-shadow: 0 0 0 3px var(--alpha-accent-ring) !important;
}
body .alpha-site .aavc-vehicle-summary-actions [data-aavc-vehicle-menu-toggle][hidden] {
    display: none !important;
}
body .alpha-site .aavc-vehicle-menu {
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    width: auto;
    max-width: none;
    max-height: min(360px, 52vh);
    overflow: auto;
    z-index: 10120;
}
body .alpha-site .aavc-vehicle-menu .aavc-garage-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
body .alpha-site .aavc-vehicle-menu .aavc-garage-item-copy strong,
body .alpha-site .aavc-vehicle-menu .aavc-garage-item-copy > span {
    white-space: normal;
    text-overflow: clip;
}
@media (max-width: 860px) {
    body .alpha-site .aavc-vehicle-menu .aavc-garage-list {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 680px) {
    body .alpha-site .aavc-vehicle-menu {
        left: 0;
        right: 0;
        width: auto;
    }
}

/* v0.2.49 — reuse the approved compact info row for staged vehicle hints and final catalogue status. */
body .alpha-site .aavc-vehicle-message,
body .alpha-site .aavc-feedback-slot .aavc-status {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 0;
    margin-top: 10px;
    padding: 10px 12px;
    border: 1px solid var(--alpha-line);
    border-radius: var(--alpha-radius-sm);
    background: var(--alpha-account-surface-soft);
    color: var(--alpha-muted);
    font-size: 11px;
    line-height: 1.4;
    font-weight: var(--alpha-font-weight-medium);
    text-align: left;
}
body .alpha-site .aavc-feedback-slot .aavc-status { margin: 0; }
body .alpha-site .aavc-vehicle-message[hidden],
body .alpha-site .aavc-feedback-slot .aavc-status:empty { display: none !important; }
body .alpha-site .aavc-vehicle-message::before,
body .alpha-site .aavc-feedback-slot .aavc-status::before {
    content: "i";
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--alpha-status-info-bg);
    color: var(--alpha-status-info);
    font-size: 10px;
    line-height: 1;
    font-weight: var(--alpha-font-weight-semibold);
}
@media (max-width: 680px) {
    body .alpha-site .aavc-vehicle-message,
    body .alpha-site .aavc-feedback-slot .aavc-status {
        padding: 9px 10px;
        font-size: 10.5px;
    }
}

/* v0.2.50 — completed catalogue feedback remains in the approved progress component. */
body .alpha-site .aavc-search-progress.is-complete .aavc-search-progress-spinner { display: none; }
body .alpha-site .aavc-search-progress.is-complete .aavc-search-progress-copy { min-height: 20px; }
