:root {
    --bg: #f4f6f4;
    --surface: #ffffff;
    --surface-soft: #eef3ef;
    --ink: #17211d;
    --muted: #66736d;
    --line: #dfe6e1;
    --accent: #2f6f55;
    --accent-dark: #204d3c;
    --accent-soft: #dcebe3;
    --gold: #d99a1e;
    --danger: #bd3f3f;
    --shadow: 0 18px 45px rgba(18, 35, 27, 0.08);
    --radius: 8px;
}

html,
body {
    overflow-x: hidden;
}

body {
    background: var(--bg);
    color: var(--ink);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

a {
    color: var(--accent);
}

.body-inner {
    background: var(--bg);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(31, 52, 43, 0.1);
    backdrop-filter: blur(14px);
}

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

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
}

.site-brand:hover {
    color: var(--ink);
}

.site-brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    font-weight: 800;
}

.site-brand strong,
.site-brand small {
    display: block;
    line-height: 1.1;
}

.site-brand strong {
    font-size: 16px;
}

.site-brand small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-nav a {
    padding: 9px 12px;
    border-radius: 8px;
    color: var(--muted);
    font-weight: 700;
    font-size: 14px;
}

.site-nav a:hover {
    background: var(--surface-soft);
    color: var(--ink);
}

.site-nav .site-nav-cta {
    background: var(--accent);
    color: #fff;
}

.site-nav .site-nav-cta:hover {
    background: var(--accent-dark);
    color: #fff;
}

.app-shell,
.detail-shell {
    padding: 42px 0 64px;
}

.catalog-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: end;
    padding: 18px 0 30px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.catalog-heading h1,
.detail-summary h1 {
    max-width: 760px;
    margin: 0;
    color: var(--ink);
    font-size: 38px;
    line-height: 1.12;
    font-weight: 850;
}

.catalog-heading p {
    max-width: 680px;
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.55;
}

.catalog-count {
    min-width: 126px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    text-align: right;
    box-shadow: var(--shadow);
}

.catalog-count strong,
.catalog-count span {
    display: block;
}

.catalog-count strong {
    font-size: 30px;
    line-height: 1;
}

.catalog-count span {
    margin-top: 5px;
    color: var(--muted);
    font-weight: 700;
}

.catalog-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.filter-panel {
    position: sticky;
    top: 92px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.filter-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 18px 14px;
    border-bottom: 1px solid var(--line);
}

.filter-panel h2,
.results-toolbar h2,
.section-head h2 {
    margin: 0;
    color: var(--ink);
    font-size: 22px;
    line-height: 1.2;
}

.filter-panel-head a {
    font-size: 13px;
    font-weight: 800;
}

.filter-block {
    position: relative;
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
}

.filter-block:last-child {
    border-bottom: 0;
}

.filter-block h3 {
    margin: 0 0 12px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 850;
}

.search-block label {
    display: block;
    margin: 0 0 10px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 850;
}

.search-field {
    position: relative;
}

.search-field i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 14px;
}

.search-field input {
    width: 100%;
    height: 42px;
    padding: 9px 12px 9px 36px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fbfcfb;
    color: var(--ink);
    font-weight: 700;
}

.search-field input:focus {
    border-color: var(--accent);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(47, 111, 85, 0.12);
}

.search-submit {
    width: 100%;
    min-height: 40px;
    margin-top: 10px;
    border: 0;
    border-radius: var(--radius);
    background: var(--accent);
    color: #fff;
    cursor: pointer;
    font-weight: 850;
}

.search-submit:hover {
    background: var(--accent-dark);
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

#filter-form input[type="checkbox"] {
    display: none;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--ink);
    cursor: pointer;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.15;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

#filter-form input[type="checkbox"]:checked + .filter-pill {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
}

.filter-block-rating {
    padding-right: 42px;
}

.rating-reset-btn {
    position: absolute;
    top: 15px;
    right: 16px;
    width: 26px;
    height: 26px;
    display: none;
    border: 0;
    border-radius: 999px;
    background: #f7dfdf;
    color: var(--danger);
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    font-weight: 800;
}

#rating-filter-stars {
    width: 100%;
    padding-top: 4px;
}

#rating-filter-stars .rateit-range {
    color: #d8ded9;
    font-size: 33px;
    line-height: 1;
}

#rating-filter-stars .rateit-selected,
#rating-filter-stars .rateit-hover {
    color: var(--gold) !important;
}

.form-error {
    margin-top: 10px;
    color: var(--danger);
    font-size: 13px;
}

.catalog-results {
    min-width: 0;
}

.results-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    margin-bottom: 16px;
}

.result-page,
.muted-note {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.motor-list {
    display: grid;
    gap: 14px;
}

.motor-card {
    position: relative;
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 8px 24px rgba(18, 35, 27, 0.06);
    overflow: hidden;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.motor-card:hover {
    transform: translateY(-2px);
    border-color: rgba(47, 111, 85, 0.35);
    box-shadow: var(--shadow);
}

.motor-card-link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.motor-card-media {
    min-height: 190px;
    background: linear-gradient(135deg, #e8eee9, #f7f9f7);
    display: grid;
    place-items: center;
    padding: 18px;
}

.motor-card-media img {
    width: 100%;
    height: 160px;
    object-fit: contain;
}

.motor-card-body {
    min-width: 0;
    padding: 18px;
}

.motor-card-top {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: start;
}

.motor-brand {
    display: inline-block;
    margin-bottom: 5px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
}

.motor-card h3 {
    margin: 0;
    color: var(--ink);
    font-size: 22px;
    line-height: 1.18;
}

.rating-badge {
    min-width: 62px;
    padding: 8px 9px;
    border-radius: var(--radius);
    background: #fff7e8;
    color: #8b5d09;
    text-align: center;
    line-height: 1.1;
}

.rating-badge strong {
    font-size: 20px;
}

.rating-badge span {
    font-size: 12px;
    font-weight: 700;
}

.price-line {
    margin-top: 10px;
    color: var(--ink);
    font-size: 16px;
    font-weight: 850;
}

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

.spec-chip {
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fbfcfb;
}

.spec-chip span,
.detail-spec span,
.detail-meta span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.2;
}

.spec-chip strong,
.detail-spec strong,
.detail-meta strong {
    display: block;
    margin-top: 4px;
    color: var(--ink);
    font-size: 14px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.motor-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px solid var(--line);
}

.motor-card-actions {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.compare-add-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 13px;
    border: 1px solid rgba(47, 111, 85, 0.24);
    border-radius: var(--radius);
    background: #edf5f0;
    color: var(--accent);
    font-size: 13px;
    font-weight: 850;
    line-height: 1;
    white-space: nowrap;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.compare-add-link:hover {
    border-color: rgba(47, 111, 85, 0.42);
    background: #e1eee7;
    color: var(--accent-strong);
    transform: translateY(-1px);
}

.details-link {
    color: var(--accent);
    font-size: 13px;
    font-weight: 850;
}

.catalog-pagination {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.pagination .page-link {
    min-width: 38px;
    border-color: var(--line);
    color: var(--ink);
}

.pagination .page-item.active .page-link {
    border-color: var(--accent);
    background: var(--accent);
}

.empty-state {
    padding: 26px;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--muted);
}

.empty-state h3 {
    margin: 0 0 6px;
    color: var(--ink);
    font-size: 20px;
}

.empty-state p {
    margin: 0;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 18px;
    color: var(--muted);
    font-weight: 800;
}

.detail-hero {
    display: grid;
    grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
    gap: 28px;
    align-items: stretch;
    margin-bottom: 24px;
}

.detail-image-frame,
.detail-summary,
.detail-section {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.detail-image-frame {
    height: 100%;
    min-height: 360px;
    display: grid;
    place-items: center;
    padding: 26px;
    background: linear-gradient(135deg, #e8eee9, #fbfcfb);
}

.detail-image-frame img {
    width: 100%;
    max-height: 320px;
    object-fit: contain;
}

.image-placeholder {
    color: var(--muted);
    font-weight: 700;
}

.detail-summary {
    padding: 30px;
}

.detail-summary h1 {
    margin-bottom: 20px;
}

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

.detail-meta,
.detail-spec,
.rating-category,
.review-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fbfcfb;
}

.detail-meta {
    padding: 14px;
}

.detail-meta strong {
    font-size: 18px;
}

.detail-rating-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    color: var(--muted);
    font-weight: 700;
}

.rating-stars {
    color: var(--gold);
    font-size: 22px;
}

.rating-stars .muted {
    color: #d8ded9;
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

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

.section-head {
    margin-bottom: 18px;
}

.section-head-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

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

.detail-spec {
    padding: 13px 14px;
}

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

.rating-category {
    padding: 18px 12px;
    text-align: center;
}

.rating-category h3 {
    margin: 12px 0 4px;
    color: var(--ink);
    font-size: 15px;
}

.rating-category span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.pie-wrapper {
    transition: transform 0.15s ease;
}

.pie-wrapper:hover {
    transform: scale(1.04);
}

.reviews-list {
    display: grid;
    gap: 12px;
}

.review-card {
    padding: 16px;
}

.review-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
}

.review-head strong {
    color: var(--ink);
}

.review-head span {
    color: var(--muted);
    font-size: 13px;
}

.review-card p {
    margin: 0;
    color: #33413b;
    line-height: 1.6;
}

.review-guidance {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fbfcfb;
}

.review-guidance p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.review-guidance div {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.review-guidance a {
    color: var(--accent);
    font-size: 13px;
    font-weight: 850;
    white-space: nowrap;
}

.review-modal-note {
    margin-bottom: 18px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fbfcfb;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.privacy-page .section-head {
    max-width: 860px;
}

.privacy-page .section-head h1 {
    margin: 0;
    color: var(--ink);
    font-size: 38px;
    line-height: 1.12;
    font-weight: 850;
}

.privacy-page .section-head p {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
}

.privacy-card {
    max-width: 980px;
}

.privacy-card h2 {
    margin: 0 0 14px;
    color: var(--ink);
    font-size: 24px;
}

.privacy-card h3 {
    margin: 20px 0 8px;
    color: var(--ink);
    font-size: 17px;
}

.privacy-card p,
.privacy-list {
    color: #33413b;
    line-height: 1.7;
}

.privacy-table {
    display: grid;
    gap: 10px;
}

.privacy-table > div {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fbfcfb;
}

.privacy-table strong {
    color: var(--ink);
}

.privacy-table span {
    color: #33413b;
    line-height: 1.5;
}

.privacy-list {
    margin: 0;
    padding-left: 20px;
}

.privacy-list li + li {
    margin-top: 7px;
}

.privacy-updated {
    max-width: 980px;
    margin: 20px 0 0;
    color: var(--muted);
    font-weight: 700;
}

.compare-layout {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.compare-picker {
    max-height: calc(100vh - 110px);
    overflow: hidden;
}

.compare-options {
    max-height: 580px;
    overflow: auto;
    padding: 10px;
}

.compare-option {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    margin: 0;
    padding: 10px;
    border-radius: var(--radius);
    cursor: pointer;
}

.compare-option:hover {
    background: var(--surface-soft);
}

.compare-option input {
    margin-top: 3px;
    accent-color: var(--accent);
}

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

.compare-option span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
}

.compare-option strong {
    color: var(--ink);
    font-size: 14px;
}

.compare-picker-actions {
    padding: 14px;
    border-top: 1px solid var(--line);
}

.compare-picker-actions .btn-modern {
    width: 100%;
}

.compare-results {
    min-width: 0;
}

.compare-summary-grid {
    display: grid;
    gap: 14px;
    margin-bottom: 18px;
}

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

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

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

.compare-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.compare-summary-card {
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.compare-summary-image {
    height: 138px;
    display: grid;
    place-items: center;
    margin: -4px -4px 14px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, #e8eee9, #fbfcfb);
    color: var(--muted);
    font-weight: 800;
}

.compare-summary-image img {
    width: 100%;
    height: 118px;
    object-fit: contain;
}

.compare-summary-card h2 {
    margin: 0 0 12px;
    color: var(--ink);
    font-size: 19px;
    line-height: 1.2;
}

.compare-summary-meta {
    padding: 10px 0;
    border-top: 1px solid var(--line);
}

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

.compare-summary-meta span {
    color: var(--muted);
    font-size: 12px;
}

.compare-summary-meta strong {
    margin-top: 3px;
    color: var(--ink);
    font-size: 14px;
}

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

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

.compare-table th,
.compare-table td {
    padding: 13px 14px;
    border-bottom: 1px solid var(--line);
    border-right: 1px solid var(--line);
    vertical-align: top;
    line-height: 1.4;
}

.compare-table th:last-child,
.compare-table td:last-child {
    border-right: 0;
}

.compare-table tr:last-child th,
.compare-table tr:last-child td {
    border-bottom: 0;
}

.compare-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #eef3ef;
    color: var(--ink);
    font-size: 13px;
}

.compare-table tbody th {
    width: 210px;
    background: #fbfcfb;
    color: var(--muted);
    font-size: 13px;
}

.compare-table td {
    color: var(--ink);
    font-weight: 750;
}

.compare-empty {
    min-height: 260px;
    display: grid;
    align-content: center;
}

.btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 14px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 850;
    line-height: 1.1;
}

.btn-modern-primary {
    background: var(--accent);
    color: #fff;
}

.btn-modern-primary:hover {
    background: var(--accent-dark);
    color: #fff;
}

.btn-modern-muted {
    background: var(--surface-soft);
    color: var(--ink);
}

.btn-modern-ghost {
    border-color: rgba(255, 255, 255, 0.25);
    background: transparent;
    color: #fff;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: #101a16;
    color: #dce5df;
}

.site-footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 34px 15px 22px;
}

.site-footer p {
    max-width: 520px;
    margin: 8px 0 0;
    color: #9fb0a8;
}

.site-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-start;
}

.site-footer-links a {
    color: #dce5df;
    font-weight: 800;
}

.site-copyright {
    padding: 0 15px 28px;
    color: #8fa098;
    font-size: 13px;
}

.consent-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    max-width: 1120px;
    margin: 0 auto;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    background: #111c17;
    color: #fff;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

.consent-copy {
    display: grid;
    gap: 3px;
}

.consent-copy span {
    color: #bdc9c2;
}

.consent-copy a {
    color: #b9dbc8;
    font-weight: 800;
}

.consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.site-modal {
    position: fixed;
    inset: 0;
    z-index: 11000;
    display: none;
    padding: 24px;
    background: rgba(10, 18, 14, 0.64);
}

.site-modal-panel {
    width: min(100%, 520px);
    margin: 7vh auto 0;
    padding: 24px;
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--ink);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}

.site-modal-sm {
    width: min(100%, 460px);
}

.form-field {
    margin-bottom: 12px;
}

.form-field input,
.form-field textarea,
.modal-content .form-control {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 10px 12px;
}

.site-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
}

.success-state {
    padding: 24px;
    text-align: center;
}

.success-state h4 {
    color: var(--accent);
}

.modal-content {
    border: 0;
    border-radius: var(--radius);
    overflow: hidden;
}

.modal-header,
.modal-footer {
    border-color: var(--line);
}

.star-rating-new {
    direction: rtl;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 34px;
    line-height: 1;
}

.star-rating-new input {
    display: none;
}

.star-rating-new label {
    color: #d8ded9;
    cursor: pointer;
    transition: transform 0.15s ease, color 0.15s ease;
}

.star-rating-new label:hover,
.star-rating-new label:hover ~ label,
.star-rating-new input:checked ~ label {
    color: var(--gold);
}

.star-rating-new label:hover {
    transform: scale(1.12);
}

@media (max-width: 991px) {
    .catalog-layout,
    .detail-hero,
    .compare-layout {
        grid-template-columns: 1fr;
    }

    .filter-panel,
    .compare-picker {
        position: static;
        max-height: none;
    }

    .detail-spec-grid,
    .rating-category-grid,
    .compare-cols-3,
    .compare-cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .site-header-inner,
    .site-footer-inner,
    .section-head-row,
    .results-toolbar,
    .catalog-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .site-header-inner,
    .site-footer-inner {
        display: grid;
    }

    .site-nav {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 3px;
    }

    .catalog-heading {
        display: grid;
        grid-template-columns: 1fr;
    }

    .catalog-heading h1,
    .detail-summary h1 {
        font-size: 30px;
    }

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

    .motor-card-media {
        min-height: 180px;
    }

    .spec-grid,
    .detail-meta-grid,
    .detail-spec-grid,
    .rating-category-grid,
    .privacy-table > div,
    .compare-summary-grid,
    .compare-cols-2,
    .compare-cols-3,
    .compare-cols-4 {
        grid-template-columns: 1fr;
    }

    .consent-banner {
        display: none;
        align-items: stretch;
        flex-direction: column;
    }

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