.link-white-yellow{
    color: white;
}
.link-white-yellow:hover{
    color: lightyellow;
}

/* Reset native <button> chrome when it replaces a non-navigational <a> (SEO: crawlable-anchors) */
.btn-reset {
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    text-align: inherit;
    cursor: pointer;
    appearance: none;
}

.breadcrumb-item > button {
    color: #9691a4;
}

.breadcrumb-item > button:hover {
    color: #454056;
}

/* .nav-link and .handheld-toolbar-item already define their own padding/border,
   so they use a lighter reset than .btn-reset (which would zero that spacing out). */
button.nav-link {
    display: block;
    background: none;
    border: 0;
    font-family: inherit;
    cursor: pointer;
    appearance: none;
}

button.handheld-toolbar-item {
    background: none;
    border: 0;
    border-left: 1px solid #e3e9ef;
    font-family: inherit;
    cursor: pointer;
    appearance: none;
}

button.handheld-toolbar-item:first-child {
    border-left: 0;
}

button.card-nav-link {
    width: 100%;
    background: none;
    border: 0;
    border-top: 1px solid #efecf3;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    appearance: none;
}

body,
h1, h2, h3, h4, h5, h6,
.navbar-brand {
    font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
}

html {
    font-size: 16px;
}

body {
    font-size: 1rem;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}

h1 { font-size: 2.5rem; line-height: 1.2; }
h2 { font-size: 2rem; line-height: 1.25; }
h3 { font-size: 1.75rem; line-height: 1.3; }
h4 { font-size: 1.5rem; line-height: 1.35; }
h5 { font-size: 1.25rem; line-height: 1.4; }
h6 { font-size: 1.1rem; line-height: 1.4; }

p,
li {
    line-height: 1.65;
}

.fs-sm,
.fs-xs,
.text-small,
small {
    font-size: 1rem;
    line-height: 1.6;
}

.btn,
.nav-link,
.form-control,
.form-select,
.dropdown-item {
    font-size: 1rem;
}

.navbar .nav-link,
.navbar-nav .nav-link,
.navbar .dropdown-item {
    font-size: 1rem !important;
}

@media (min-width: 992px) {
    .navbar .nav-link,
    .navbar-nav .nav-link,
    .navbar .dropdown-item {
        font-size: 14px !important;
    }
}

.dropdown-menu .dropdown-item,
.dropdown-menu .nav-link,
.navbar .dropdown-item,
.navbar .dropdown-menu .nav-link {
    font-size: 1rem;
}

.footer .nav-link,
.footer .dropdown-item {
    font-size: 1rem;
}

.breadcrumb,
.breadcrumb .breadcrumb-item {
    font-size: 1rem;
}

.table,
.table th,
.table td,
.badge,
.pagination,
.page-link {
    font-size: 1rem;
}

.card,
.card-title,
.card-text,
.list-group-item,
.form-floating label,
.form-check-label,
.alert,
.modal,
.modal-title {
    font-size: 1rem;
}

.btn-sm,
.btn-xs {
    font-size: 1rem;
}

.handheld-toolbar,
.handheld-toolbar-item,
.handheld-toolbar-label {
    font-size: 1rem;
}

.handheld-toolbar {
    background: #f2f4f7;
    border-top: 1px solid rgba(31, 45, 61, 0.12);
    box-shadow: 0 -10px 28px rgba(31, 45, 61, 0.12);
    backdrop-filter: blur(4px);
}

.md-icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(122, 20, 20, 0.2);
    border-radius: 999px;
    background: #ffffff;
}

.md-icon-badge-lg {
    width: 32px;
    height: 32px;
}

.md-home-cats .card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.md-home-cats .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(31, 45, 61, 0.12);
}

.md-home-cats .card:hover .md-icon-badge {
    border-color: rgba(122, 20, 20, 0.35);
    box-shadow: 0 0 0 4px rgba(122, 20, 20, 0.08);
}

.md-home-cats .badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    font-weight: 600;
}

.md-home-cats .row.flex-nowrap,
.md-home-section .row.flex-nowrap {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.md-home-cats .row.flex-nowrap > [class^="col"],
.md-home-section .row.flex-nowrap > [class^="col"] {
    scroll-snap-align: start;
}

.md-horizontal-scroll {
    flex-wrap: nowrap !important;
}

.md-horizontal-scroll > [class^="col"] {
    flex: 0 0 auto;
}

.md-scroll-fade {
    position: relative;
}

.md-scroll-fade::before,
.md-scroll-fade::after {
    content: "";
    position: sticky;
    top: 0;
    width: 32px;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.md-scroll-fade::before {
    left: 0;
    background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.md-scroll-fade::after {
    right: 0;
    background: linear-gradient(270deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.md-home-section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

@media (max-width: 767.98px) {
    .md-home-section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .md-home-hero {
        padding-top: 5.5rem;
        padding-bottom: 2.5rem;
    }

.md-home-hero .content-overlay {
    padding-top: 1rem;
    padding-bottom: 0.5rem;
}

.md-handheld-pair .handheld-toolbar-item {
    width: 50%;
}
}

@media (min-width: 1400px) {
    .bike-col {
        flex: 0 0 20%;
        width: 20%;
        max-width: 20%;
    }
}

.searchbar-compact-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.5rem;
    align-items: end;
}

.searchbar-compact-field {
    min-width: 0;
}

.searchbar-compact-row + .searchbar-compact-row {
    margin-top: 0.5rem;
}

.searchbar-compact .form-floating > .searchbar-control {
    height: 2.75rem;
    padding-top: 0.9rem;
    padding-bottom: 0.3rem;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
    font-size: 0.95rem;
}

.searchbar-compact .form-floating > label {
    font-size: 0.8rem;
    padding-top: 0.5rem;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
    font-weight: 600;
    color: #1f2d3d;
}

.searchbar-compact .btn.searchbar-control {
    height: 2.75rem;
    padding: 0 0.9rem;
}

@media (min-width: 992px) {
    .searchbar-sticky {
        position: sticky;
        top: 80px;
        z-index: 1020;
        padding: 0.75rem 0;
        margin-bottom: 1.25rem;
        overflow-x: clip;
    }

    .searchbar-sticky::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 100vw;
        transform: translateX(-50%);
        background: #f7f8fa;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.06);
        z-index: -1;
    }
}

.bike-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
}

.bike-gallery {
    display: grid;
    gap: 0.75rem;
}

.bike-gallery-main,
.bike-gallery-thumb {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    background: #f2f4f7;
}

.bike-gallery-main img,
.bike-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bike-gallery-main {
    aspect-ratio: 4 / 3;
}

.bike-gallery-thumb {
    aspect-ratio: 4 / 3;
}

.bike-gallery-actions {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    pointer-events: none;
}

.bike-gallery-btn,
.bike-gallery-count {
    background: #ffffff;
    color: #1f2d3d;
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    pointer-events: auto;
}

.bike-gallery-count {
    font-weight: 700;
}

.bike-gallery-mobile-btn {
    border-radius: 999px;
    padding: 0.9rem 1.1rem;
    font-weight: 600;
}

@media (min-width: 992px) {
    .bike-gallery {
        grid-template-columns: 2fr 1fr 1fr;
        grid-template-rows: repeat(2, minmax(0, 1fr));
    }

    .bike-gallery-main {
        grid-row: 1 / span 2;
        grid-column: 1 / 2;
    }

    /* Wysokosc siatki wyznacza duze zdjecie (aspect-ratio 4/3). Miniatury
       maja wypelniac swoj wiersz, a nie narzucac wlasna wysokosc - inaczej
       kolumna 2x2 wychodzila wyzsza od duzego zdjecia dokladnie o odstep
       miedzy wierszami (0.75rem). */
    .bike-gallery-desktop .bike-gallery-thumb {
        aspect-ratio: auto;
    }

    /* Zdjecia wyjete z przeplywu, zeby nie powiekszaly kafelkow swoja
       naturalna wysokoscia - kafelek ma zawsze rozmiar komorki siatki. */
    .bike-gallery-desktop .bike-gallery-main > picture,
    .bike-gallery-desktop .bike-gallery-thumb > picture,
    .bike-gallery-desktop .bike-gallery-main > img,
    .bike-gallery-desktop .bike-gallery-thumb > img {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        display: block;
    }

    .bike-gallery-mobile {
        display: none;
    }

    .bike-gallery-desktop {
        display: grid;
    }
}

@media (max-width: 991.98px) {
    .bike-gallery-desktop {
        display: none;
    }

    .bike-gallery-mobile {
        display: block;
    }

    .bike-gallery-track {
        display: flex;
        gap: 0.75rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.25rem;
    }

    .bike-gallery-slide {
        flex: 0 0 100%;
        scroll-snap-align: start;
        border-radius: 0.75rem;
        overflow: hidden;
        background: #f2f4f7;
        aspect-ratio: 4 / 3;
    }

    .bike-gallery-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .bike-gallery-track::-webkit-scrollbar {
        height: 6px;
    }

.bike-gallery-track::-webkit-scrollbar-thumb {
    background: rgba(31, 45, 61, 0.2);
    border-radius: 999px;
}
}

@media (min-width: 992px) {
    .bike-details-sticky {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 100px !important;
        align-self: flex-start;
        z-index: 2;
    }
}

@media (min-width: 992px) {
    .bike-details-sticky-column {
        position: relative;
        overflow: visible !important;
        transform: none !important;
        align-self: stretch;
    }
}

@media (min-width: 992px) {
    .bike-details-sticky-container,
    .bike-details-sticky-container .row,
    .bike-details-sticky-container .col-lg-7,
    .bike-details-sticky-container .col-lg-5 {
        overflow: visible !important;
        transform: none !important;
    }
}

.bike-details-list {
    row-gap: 0.5rem;
}

.bike-details-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem 1.25rem;
}

@media (max-width: 991.98px) {
    .bike-details-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.1rem 1rem;
    }
}

.bike-details-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.bike-details-item-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.6rem;
    background: #ffffff;
    color: #1f1b2d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}

.bike-details-item-label {
    font-weight: 600;
    color: #1f1b2d;
    margin-bottom: 0.15rem;
}

.bike-details-item-value {
    color: #666276;
}

.dealer-details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem 1.1rem;
}

.dealer-details-item {
    min-width: 0;
}

.dealer-details-link {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
}

.dealer-details-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.6rem;
    background: #ffffff;
    color: #1f1b2d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex: 0 0 auto;
}

.dealer-details-label {
    font-weight: 600;
    color: #1f1b2d;
    margin-bottom: 0.15rem;
}

.dealer-details-value {
    color: #666276;
}

.bike-cta-buttons {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.bike-cta-buttons .btn {
    min-height: 3rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}



.bike-cta-secondary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 0.75rem;
}

.bike-cta-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.9rem;
    font-size: 0.9rem;
    color: #666276;
    justify-content: center;
    text-align: center;
}

.bike-cta-trust i {
    color: #07c98b;
}

@media (max-width: 575.98px) {
    .bike-cta-secondary {
        grid-template-columns: 1fr;
    }
}

.bike-similar-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bike-similar-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(31, 45, 61, 0.12);
}

.bike-similar-title {
    font-weight: 600;
    color: #1f1b2d;
    margin-bottom: 0.4rem;
}

.bike-similar-price {
    font-size: 1.05rem;
    color: #ab1f02;
    font-weight: 700;
}

.bike-faq-item {
    padding: 1rem 1.1rem;
    border-radius: 0.85rem;
    background: #f5f4f8;
    margin-bottom: 0.75rem;
}

.bike-faq-question {
    font-weight: 600;
    color: #1f1b2d;
    margin-bottom: 0.4rem;
}

.bike-faq-answer {
    color: #666276;
}

.bike-related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.bike-related-link {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: #f5f4f8;
    color: #1f1b2d;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.bike-related-link:hover {
    background: #efecf3;
    transform: translateY(-1px);
}

.profile-details-hero {
    position: relative;
}

.profile-details-wrap {
    position: relative;
    overflow: visible;
    transform: none;
}

.profile-hero-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.75rem;
    box-shadow: 0 18px 40px rgba(31, 45, 61, 0.12);
    border: 1px solid rgba(31, 45, 61, 0.08);
}

.profile-hero-location {
    color: #666276;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.profile-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.25rem 0;
}

.profile-hero-cta .btn {
    min-height: 3rem;
    font-weight: 600;
}

.profile-hero-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.profile-hero-meta-item {
    padding: 0.85rem 0.95rem;
    border-radius: 0.85rem;
    background: #f5f4f8;
}

.profile-hero-meta-label {
    font-weight: 600;
    color: #1f1b2d;
    margin-bottom: 0.25rem;
}

.profile-hero-meta-value {
    color: #666276;
    font-size: 0.95rem;
    word-break: break-word;
}

.profile-hero-description p {
    margin-bottom: 0.75rem;
}

.profile-hero-card-full {
    width: 100%;
}

.profile-section-header {
    margin-bottom: 1.25rem;
}

.profile-services-section {
    padding-top: 0.5rem;
}

.profile-services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}

.profile-service-card {
    background: #ffffff;
    border-radius: 0.9rem;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 10px 24px rgba(31, 45, 61, 0.08);
    border: 1px solid rgba(31, 45, 61, 0.08);
}

.profile-service-icon {
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 0.5rem;
    background: #f5f4f8;
    color: #07c98b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex: 0 0 auto;
}

.profile-service-text {
    font-weight: 600;
    color: #1f1b2d;
    font-size: 0.95rem;
}

@media (max-width: 991.98px) {
    .profile-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .profile-services-grid {
        grid-template-columns: 1fr;
    }
}

.profile-contact-section {
    padding-bottom: 2.5rem;
}

.profile-contact-card {
    background: #ffffff;
    border-radius: 0.9rem;
    padding: 1.1rem 1.2rem;
    box-shadow: 0 14px 30px rgba(31, 45, 61, 0.1);
    border: 1px solid rgba(31, 45, 61, 0.08);
    height: 100%;
}

.profile-contact-text {
    color: #666276;
}

.profile-contact-actions {
    margin-top: 1rem;
}

.profile-opening-hours {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #666276;
}

.profile-opening-hours li {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.profile-gallery .dealer-profile-image-border {
    border-radius: 0.9rem;
    box-shadow: 0 12px 24px rgba(31, 45, 61, 0.12);
}

.profile-sticky-cta-wrapper {
    position: sticky;
    top: 100px;
    z-index: 3;
    padding: 0 12px;
    margin-top: 1.5rem;
}

.profile-sticky-cta {
    background: #ffffff;
    border-radius: 999px;
    padding: 0.6rem 1rem;
    box-shadow: 0 12px 24px rgba(31, 45, 61, 0.12);
    border: 1px solid rgba(31, 45, 61, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
}

.profile-sticky-cta-title {
    font-weight: 600;
    color: #1f1b2d;
    white-space: nowrap;
}

.profile-sticky-cta-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.profile-top-bikes .card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.profile-top-bikes .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(31, 45, 61, 0.14);
}

.profile-top-bike-media {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-top-left-radius: 0.9rem;
    border-top-right-radius: 0.9rem;
    background: #f5f4f8;
}

.profile-top-bike-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-top-bike-title {
    font-weight: 600;
    color: #1f1b2d;
    margin-bottom: 0.35rem;
}

.profile-top-bike-price {
    font-weight: 700;
    color: #ab1f02;
}

.profile-trust-card {
    background: #ffffff;
    border-radius: 0.9rem;
    padding: 1rem 1.1rem;
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    box-shadow: 0 12px 24px rgba(31, 45, 61, 0.1);
    border: 1px solid rgba(31, 45, 61, 0.08);
    height: 100%;
}

.profile-trust-icon {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 0.7rem;
    background: #f5f4f8;
    color: #ab1f02;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.profile-trust-title {
    font-weight: 600;
    color: #1f1b2d;
    margin-bottom: 0.2rem;
}

.profile-trust-text {
    color: #666276;
}

.profile-related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.profile-related-link {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: #f5f4f8;
    color: #1f1b2d;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.profile-related-link:hover {
    background: #efecf3;
    transform: translateY(-1px);
}

.profile-faq-item {
    padding: 1rem 1.1rem;
    border-radius: 0.85rem;
    background: #f5f4f8;
    margin-bottom: 0.75rem;
}

.profile-faq-question {
    font-weight: 600;
    color: #1f1b2d;
    margin-bottom: 0.4rem;
}

.profile-faq-answer {
    color: #666276;
}

@media (max-width: 991.98px) {
    .profile-sticky-cta-wrapper {
        border-radius: 1rem;
        position: static;
    }
}

@media (min-width: 992px) {
    .profile-details-hero,
    .profile-details-hero .row,
    .profile-details-hero .col-12 {
        overflow: visible !important;
        transform: none !important;
    }
}

@media (max-width: 991.98px) {
    .profile-hero-card {
        padding: 1.4rem;
    }

    .profile-hero-meta {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .profile-hero-cta .btn {
        width: 100%;
    }
}

.bike-description {
    position: relative;
}

.bike-description[data-collapsible="true"] {
    max-height: 14rem !important;
    overflow: hidden !important;
}

.bike-description[data-expanded="true"] {
    max-height: none !important;
    overflow: visible !important;
}

.bike-description-fade {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 70%);
}

@media (min-width: 992px) {
    .bike-description[data-collapsible="true"] {
        max-height: 7rem !important;
    }
}

.searchbar-simple-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem;
    align-items: end;
}

.searchbar-simple-field {
    min-width: 0;
}

.searchbar-simple .form-floating > .searchbar-simple-control {
    height: 2.75rem;
    padding-top: 0.9rem;
    padding-bottom: 0.3rem;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
    font-size: 0.95rem;
}

.searchbar-simple .form-floating > label {
    font-size: 0.8rem;
    padding-top: 0.5rem;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
    font-weight: 600;
    color: #1f2d3d;
}

.searchbar-simple .btn.searchbar-simple-control {
    height: 2.75rem;
    padding: 0 0.9rem;
}

@media (max-width: 767.98px) {
    .searchbar-simple-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .searchbar-simple-submit {
        grid-column: 1 / -1;
    }
}

.md-link-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.5rem;
}

.md-link-grid .btn {
    width: 100%;
    white-space: normal;
}

.display-1 { font-size: 3.5rem; line-height: 1.1; }
.display-2 { font-size: 3rem; line-height: 1.12; }
.display-3 { font-size: 2.75rem; line-height: 1.15; }
.display-4 { font-size: 2.5rem; line-height: 1.18; }
.display-5 { font-size: 2.25rem; line-height: 1.2; }
.display-6 { font-size: 2rem; line-height: 1.25; }

.fs-base { font-size: 1rem; line-height: 1.6; }
.fs-lg { font-size: 1.125rem; line-height: 1.6; }
.fs-xl { font-size: 1.25rem; line-height: 1.6; }

.lead { font-size: 1.125rem; line-height: 1.7; }

@media (max-width: 768px) {
    .display-1 { font-size: 3rem; }
    .display-2 { font-size: 2.75rem; }
    .display-3 { font-size: 2.5rem; }
    .display-4 { font-size: 2.25rem; }
    .display-5 { font-size: 2rem; }
    .display-6 { font-size: 1.75rem; }
    h1 { font-size: 2.1rem; }
    h2 { font-size: 1.8rem; }
}

.wep-modal,
.wep-modal-container,
.wep-slide-over {
    z-index: 1200;
}

.wep-slide-over.wep-slide-over-top {
    z-index: 1210;
}

.wep-modal-backdrop,
.wep-slide-over-backdrop {
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
}

/* Bike details CTA + inline finance link */
.bike-cta-call {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bike-price-finance {
    line-height: 1.2;
}

.bike-price-pm {
    font-weight: 700;
    font-size: 1.05rem;
    color: #1f1b2d;
}

.bike-finance-link {
    font-size: 0.82rem;
    color: #ab1f02;
    text-decoration: underline;
    cursor: pointer;
}

.bike-finance-link:hover,
.bike-finance-link:focus {
    color: #7a1601;
}

/* Dealer rating trust badge (bike details) */
.bike-seller-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0.15rem 0 0.5rem;
    text-decoration: none;
    color: #1f1b2d;
    font-size: 0.9rem;
}

.bike-seller-rating:hover {
    color: #ab1f02;
}

.bike-seller-rating .bike-stars {
    color: #f5a623;
    letter-spacing: 0.02em;
}

.bike-seller-rating .bike-rating-num {
    font-weight: 700;
}

.bike-seller-rating .bike-rating-count {
    color: #666276;
}

/* Spec chips + open-now status (bike details P1) */
.bike-spec-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.bike-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    background: #ffffff;
    border: 1px solid rgba(31, 45, 61, 0.12);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1f1b2d;
    line-height: 1;
    white-space: nowrap;
}

.bike-chip i {
    color: #ab1f02;
    font-size: 0.85rem;
}

.bike-open-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.bike-open-status .bike-open-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.bike-open-status.is-open {
    color: #07924f;
}

.bike-open-status.is-open .bike-open-dot {
    background: #12b76a;
    box-shadow: 0 0 0 3px rgba(18, 183, 106, 0.18);
}

.bike-open-status.is-closed {
    color: #97431f;
}

.bike-open-status.is-closed .bike-open-dot {
    background: #d0894f;
}

/* Dealer contact card header (bike details): name + rating + open
   status on the left, logo on the right inside a fixed, contained
   tile. Dealer logos arrive at wildly different aspect ratios, so
   the tile - not the artwork - defines the footprint; without it
   the raw <img> sets its own size and the header looks arbitrary. */
.bike-dealer-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.bike-dealer-head-info {
    flex: 1 1 auto;
    min-width: 0;
}

.bike-dealer-head-info > h4 {
    margin-bottom: 0.35rem;
}

.bike-dealer-head-info .bike-seller-rating {
    margin-top: 0;
    margin-bottom: 0.3rem;
}

.bike-dealer-head-info .bike-open-status {
    margin-bottom: 0;
}

.bike-dealer-logo {
    flex: 0 0 auto;
    width: 104px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem;
    background: #ffffff;
    border: 1px solid rgba(31, 45, 61, 0.1);
    border-radius: 0.7rem;
    overflow: hidden;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.bike-dealer-logo:hover {
    border-color: rgba(171, 31, 2, 0.3);
    box-shadow: 0 6px 16px rgba(31, 45, 61, 0.1);
}

.bike-dealer-logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@media (max-width: 575.98px) {
    .bike-dealer-logo {
        width: 84px;
        height: 56px;
    }
}

/* ============================================================
   Bike gallery lightbox (fullscreen wire-elements-pro modal
   variant). Scoped entirely under .md-gallery-lightbox, which is
   set via the 'component-class' modal attribute in
   App\Livewire\Bikes\ImagesModal::attributes() - the shared
   wire-elements-pro bootstrap modal component is used by several
   other modals on the site, so nothing here can leak into those.

   Design direction: modern lightbox (Cazoo-style) - the page stays
   visible, blurred and dimmed, behind a floating image with
   minimal chrome, instead of a solid dark box filling the screen.
   ============================================================ */
.md-gallery-lightbox .wep-modal-backdrop {
    background-color: rgba(15, 17, 23, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.md-gallery-lightbox .wep-modal-content.wep-modal-content-fullscreen {
    background-color: transparent;
    color: #ffffff;
}

.md-gallery-lightbox .wep-modal-content.wep-modal-content-fullscreen > div {
    height: 100%;
}

.md-gallery-lightbox form {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.md-gallery-lightbox .modal-header {
    flex: 0 0 auto;
    background: transparent;
    border-bottom: 0;
    padding: 14px 16px !important;
}

.md-gallery-lightbox .modal-header .modal-title,
.lb-topbar-title {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.01em;
    color: #ffffff;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.md-gallery-lightbox .modal-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 0.9;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.12);
    background-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease, opacity 0.15s ease;
}

.md-gallery-lightbox .modal-header .btn-close:hover {
    background-color: rgba(255, 255, 255, 0.22);
    opacity: 1;
}

.md-gallery-lightbox .modal-body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 0 !important;
    display: flex;
}

.lb {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    width: 100%;
}

.lb-stage {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px clamp(16px, 6vw, 88px);
    touch-action: pan-y;
}

.lb-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.02);
}

@keyframes lbFadeIn {
    from {
        opacity: 0;
        transform: scale(0.985);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lb-image.lb-fade {
    animation: lbFadeIn 0.28s ease;
}

/* The previous image stays on screen until the next one has finished
   decoding, so switching never shows a blank/half-painted frame. This
   spinner only appears on the rare miss (neighbours are preloaded). */
.lb-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 34px;
    height: 34px;
    margin: -17px 0 0 -17px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.25);
    border-top-color: #ffffff;
    animation: lbSpin 0.7s linear infinite;
    pointer-events: none;
    z-index: 3;
}

@keyframes lbSpin {
    to {
        transform: rotate(360deg);
    }
}

.lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    color: #1f1b2d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    z-index: 2;
}

.lb-nav:hover {
    transform: translateY(-50%) scale(1.06);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.38);
}

.lb-nav-prev {
    left: clamp(8px, 2.5vw, 28px);
}

.lb-nav-next {
    right: clamp(8px, 2.5vw, 28px);
}

.lb-counter {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.45);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 999px;
    letter-spacing: 0.02em;
    backdrop-filter: blur(4px);
}

.lb-thumbs {
    flex: 0 0 auto;
    display: flex;
    gap: 8px;
    padding: 12px clamp(16px, 6vw, 88px) 16px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.lb-thumbs::-webkit-scrollbar {
    height: 6px;
}

.lb-thumbs::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 999px;
}

.lb-thumb {
    flex: 0 0 auto;
    width: 72px;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
    padding: 0;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: opacity 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.lb-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lb-thumb:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.lb-thumb.is-active {
    opacity: 1;
    border-color: #ffffff;
}

.lb-cta {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 clamp(16px, 6vw, 88px) 18px;
    padding-top: 4px;
}

.lb-cta-price {
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.05rem;
    padding: 12px 18px;
    border-radius: 999px;
}

.lb-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ab1f02;
    color: #ffffff;
    border: none;
    font-weight: 700;
    padding: 12px 22px;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(171, 31, 2, 0.4);
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.lb-cta-btn:hover {
    background: #8d1a02;
    transform: translateY(-1px);
    color: #ffffff;
}

@media (max-width: 575.98px) {
    .lb-stage {
        padding: 4px 8px;
    }

    .lb-nav {
        width: 40px;
        height: 40px;
    }

    .lb-thumb {
        width: 58px;
    }

    .lb-thumbs {
        padding-left: 8px;
        padding-right: 8px;
    }

    .lb-cta {
        margin-left: 8px;
        margin-right: 8px;
        flex-wrap: wrap;
    }

    .lb-cta-price,
    .lb-cta-btn {
        flex: 1 1 auto;
        text-align: center;
        justify-content: center;
    }
}

/* Dealer static map + directions (bike details P2) */
.bike-dealer-map {
    margin-top: 1rem;
}

.bike-dealer-map-img {
    display: block;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid rgba(31, 45, 61, 0.1);
    line-height: 0;
}

.bike-dealer-map-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.25s ease;
}

.bike-dealer-map-img:hover img {
    transform: scale(1.02);
}

/* Soft page background + white cards (bike details P1 shell) */
.bike-details-page {
    background: var(--mdt-soft, #F5F4F8);
    /* Contain child margins so the soft background reaches the footer (no white gap). */
    display: flow-root;
}

.bike-details-page .bike-card {
    background: #ffffff;
    border-radius: 1rem !important;
    border: 1px solid rgba(31, 45, 61, 0.07);
    box-shadow: 0 8px 24px rgba(31, 45, 61, 0.05);
}

.bike-details-page .bike-similar-card {
    background: #ffffff;
    border: 1px solid rgba(31, 45, 61, 0.08);
    border-radius: 0.85rem;
}

/* Review form star input */
.review-stars-input { display: inline-flex; gap: 0.25rem; font-size: 1.6rem; }
.review-star-btn { background: transparent; border: 0; padding: 0; cursor: pointer; line-height: 1; }
.review-star-btn .fa-star-o { color: #c9c6d4; }
.review-star-btn .fill-yellow { color: #f5a623; }

/* ============ Brands catalog (/brands) ============ */
.brands-page {
    background: var(--mdt-soft, #F5F4F8);
    display: flow-root;
}

.brands-count {
    display: inline-block;
    font-size: 0.5em;
    font-weight: 700;
    color: var(--mdt-muted, #6b6777);
    vertical-align: middle;
    background: #fff;
    border: 1px solid var(--mdt-line, #e7e5ee);
    border-radius: 999px;
    padding: 2px 11px;
    margin-left: 6px;
}

.brands-block { margin: 16px 0; }
.brands-block-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--mdt-ink, #1F1B2D);
    margin: 0 0 10px;
    letter-spacing: -0.01em;
}
.brands-chip-count { font-size: 11px; font-weight: 800; color: var(--mdt-red, #AB1F02); }

.brands-search { position: relative; max-width: 460px; margin: 6px 0 6px; }
.brands-search-icon {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    color: var(--mdt-muted, #6b6777); font-size: 14px; pointer-events: none;
}
.brands-search-input {
    width: 100%; height: 46px; padding: 0 16px 0 38px;
    border: 1px solid var(--mdt-line, #e7e5ee); border-radius: 12px;
    background: #fff; font-size: 15px; color: var(--mdt-ink, #1F1B2D);
}
.brands-search-input:focus {
    outline: none; border-color: var(--mdt-red, #AB1F02);
    box-shadow: 0 0 0 3px rgba(171, 31, 2, 0.1);
}

.brands-index-sticky {
    position: sticky; top: 74px; z-index: 20;
    background: var(--mdt-soft, #F5F4F8); padding: 8px 0 10px;
}
@media (max-width: 991.98px) { .brands-index-sticky { top: 58px; } }
.brands-index {
    display: flex; flex-wrap: wrap; gap: 5px;
    background: #fff; border: 1px solid var(--mdt-line, #e7e5ee);
    border-radius: 14px; padding: 9px 11px;
    box-shadow: 0 1px 2px rgba(31, 27, 45, 0.04);
}
.brand-index-link {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 30px; height: 30px; padding: 0 8px; border-radius: 8px;
    font-size: 13px; font-weight: 700; color: var(--mdt-ink, #1F1B2D);
    text-decoration: none; transition: 0.14s;
}
.brand-index-link:hover { background: var(--mdt-red-tint, #fbecea); color: var(--mdt-red, #AB1F02); }
.brand-index-link.is-active { background: var(--mdt-red, #AB1F02); color: #fff; }

.brands-list { padding-bottom: 12px; }
.brands-letter { display: flex; align-items: center; gap: 12px; margin: 22px 0 12px; }
.brands-letter span { font-size: 18px; font-weight: 800; color: var(--mdt-red, #AB1F02); }
.brands-letter::after { content: ""; flex: 1; height: 1px; background: var(--mdt-line, #e7e5ee); }

.brands-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 991.98px) { .brands-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767.98px) { .brands-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 419.98px) { .brands-grid { grid-template-columns: 1fr; } }

.brand-tile {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    background: #fff; border: 1px solid var(--mdt-line, #e7e5ee); border-radius: 14px;
    padding: 14px 16px; text-decoration: none; color: inherit;
    box-shadow: 0 1px 2px rgba(31, 27, 45, 0.04);
    transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.brand-tile:hover {
    transform: translateY(-2px); box-shadow: 0 10px 24px rgba(31, 27, 45, 0.1);
    border-color: rgba(171, 31, 2, 0.3);
}
.brand-tile-info { display: flex; flex-direction: column; min-width: 0; }
.brand-tile-name {
    font-size: 15px; font-weight: 800; color: var(--mdt-ink, #1F1B2D);
    letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.brand-tile-count { font-size: 12.5px; color: var(--mdt-muted, #6b6777); font-weight: 600; }
.brand-tile-arrow { color: var(--mdt-red, #AB1F02); font-size: 12px; opacity: 0.45; transition: transform 0.15s, opacity 0.15s; }
.brand-tile:hover .brand-tile-arrow { opacity: 1; transform: translateX(2px); }

.brands-empty { color: var(--mdt-muted, #6b6777); padding: 18px 0; }

.brands-faq-sec { padding-bottom: 44px; }
.brands-faq { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 767.98px) { .brands-faq { grid-template-columns: 1fr; } }
.brands-faq-card {
    background: #fff; border: 1px solid var(--mdt-line, #e7e5ee);
    border-radius: 14px; padding: 18px; box-shadow: 0 1px 2px rgba(31, 27, 45, 0.04);
}
.brands-faq-q { font-size: 15px; font-weight: 800; color: var(--mdt-ink, #1F1B2D); margin: 0 0 8px; }
.brands-faq-a { font-size: 14px; color: var(--mdt-body, #4a4658); margin: 0; line-height: 1.5; }

.brand-anchor { scroll-margin-top: 7rem; }

/* Only the first (header) mds-wrap needs the fixed-header top offset;
   the other catalog sections would otherwise each add 76px. */
.brands-page .brands-index-sticky .mds-wrap { padding-top: 0; padding-bottom: 0; }
.brands-page .brands-list { padding-top: 4px; }
.brands-page .brands-faq-sec { padding-top: 10px; }

/* Align the shared "Browse by style" widget to the mds-wrap width on this page
   (Bootstrap .container is 12px padding / stepped max-width; mds-wrap is 20px / 1320 fluid). */
.brands-page .mdw-sec { max-width: 1320px; padding-left: 20px; padding-right: 20px; }

/* ============ Bike specs index (/bikes/specs) ============ */
.specs-page { background: var(--mdt-soft, #F5F4F8); display: flow-root; }
.specs-page .mds-head { padding-bottom: 10px; }

.specs-search-card {
    background: #fff; border: 1px solid var(--mdt-line, #e7e5ee); border-radius: 16px;
    padding: 18px 18px 6px; box-shadow: 0 1px 2px rgba(31, 27, 45, 0.04); margin: 6px 0 8px;
}
.specs-search-title { font-size: 15px; font-weight: 800; color: var(--mdt-ink, #1F1B2D); margin-bottom: 14px; }
.specs-search-title i { color: var(--mdt-red, #AB1F02); }
.specs-search-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 575.98px) { .specs-search-row { grid-template-columns: 1fr; } }
.specs-search-card .form-select:focus { border-color: var(--mdt-red, #AB1F02); box-shadow: 0 0 0 3px rgba(171, 31, 2, 0.1); }

.specs-block { padding-top: 22px; }
.specs-block-sub { font-size: 14px; color: var(--mdt-muted, #6b6777); margin: -4px 0 14px; }

.specs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 991.98px) { .specs-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767.98px) { .specs-grid { grid-template-columns: repeat(2, 1fr); } }

.specs-card {
    display: flex; flex-direction: column; background: #fff;
    border: 1px solid var(--mdt-line, #e7e5ee); border-radius: 14px; overflow: hidden;
    text-decoration: none; color: inherit; box-shadow: 0 1px 2px rgba(31, 27, 45, 0.04);
    transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.specs-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(31, 27, 45, 0.12); border-color: rgba(171, 31, 2, 0.25); }
.specs-card-img { display: block; aspect-ratio: 4 / 3; background: var(--mdt-soft, #F5F4F8); overflow: hidden; }
.specs-card-img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform 0.2s; }
.specs-card:hover .specs-card-img img { transform: scale(1.03); }
.specs-card-body { display: flex; flex-direction: column; padding: 10px 14px 14px; text-align: center; }
.specs-card-make { font-size: 12px; font-weight: 700; color: var(--mdt-muted, #6b6777); text-transform: uppercase; letter-spacing: 0.04em; }
.specs-card-model { font-size: 15px; font-weight: 800; color: var(--mdt-ink, #1F1B2D); letter-spacing: -0.01em; line-height: 1.2; margin: 2px 0; }
.specs-card-year { font-size: 13px; font-weight: 700; color: var(--mdt-red, #AB1F02); margin-top: auto; }

/* Align the shared "Browse by style" widget to the mds-wrap width on this page. */
.specs-page .mdw-sec { max-width: 1320px; padding-left: 20px; padding-right: 20px; }

/* Single spec sheet (/bikes/{make}/{model}/{year}/specs) */
.specs-sheet { margin-top: 6px; padding-bottom: 18px; }
.spec-group {
    background: #fff; border: 1px solid var(--mdt-line, #e7e5ee); border-radius: 16px;
    padding: 4px 20px 8px; margin-bottom: 16px; box-shadow: 0 1px 2px rgba(31, 27, 45, 0.04);
}
.spec-group-title { font-size: 16px; font-weight: 800; color: var(--mdt-ink, #1F1B2D); padding: 14px 0 6px; margin: 0; letter-spacing: -0.01em; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-top: 1px solid var(--mdt-line, #e7e5ee); }
.spec-table th {
    text-align: left; font-weight: 600; color: var(--mdt-muted, #6b6777);
    padding: 11px 16px 11px 0; font-size: 14px; width: 46%; vertical-align: top;
}
.spec-table td { text-align: left; font-weight: 700; color: var(--mdt-ink, #1F1B2D); padding: 11px 0; font-size: 14px; }
@media (max-width: 575.98px) {
    .spec-table th { width: 50%; padding-right: 10px; }
    .spec-table th, .spec-table td { font-size: 13px; }
}

.specs-seeall { font-size: 14px; font-weight: 700; color: var(--mdt-red, #AB1F02); text-decoration: none; }
.specs-seeall:hover { text-decoration: underline; }
.specs-seeall i { transition: transform 0.15s; }
.specs-seeall:hover i { transform: translateX(3px); }

.specs-card.is-current { border-color: var(--mdt-red, #AB1F02); box-shadow: 0 0 0 2px rgba(171, 31, 2, 0.12); }

/* ============ Riders Zone (blog) ============ */
.rz-page { background: var(--mdt-soft, #F5F4F8); display: flow-root; }

.rz-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 6px 0; }
@media (max-width: 991.98px) { .rz-cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639.98px) { .rz-cat-grid { grid-template-columns: 1fr; } }

.rz-cat-card {
    display: flex; flex-direction: column; background: #fff;
    border: 1px solid var(--mdt-line, #e7e5ee); border-radius: 16px; overflow: hidden;
    text-decoration: none; color: inherit; box-shadow: 0 1px 2px rgba(31, 27, 45, 0.04);
    transition: transform 0.16s, box-shadow 0.16s;
}
.rz-cat-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(31, 27, 45, 0.12); }
.rz-cat-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--mdt-soft, #F5F4F8); }
.rz-cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s; }
.rz-cat-card:hover .rz-cat-img img { transform: scale(1.04); }
.rz-cat-body { display: flex; flex-direction: column; padding: 16px 18px 18px; flex: 1; }
.rz-cat-title { font-size: 19px; font-weight: 800; color: var(--mdt-ink, #1F1B2D); letter-spacing: -0.02em; }
.rz-cat-count { font-size: 12px; font-weight: 700; color: var(--mdt-muted, #6b6777); text-transform: uppercase; letter-spacing: 0.04em; margin: 3px 0 9px; }
.rz-cat-desc { font-size: 14px; color: var(--mdt-body, #4a4658); line-height: 1.5; }
.rz-cat-cta { margin-top: auto; padding-top: 13px; font-size: 13.5px; font-weight: 700; color: var(--mdt-red, #AB1F02); }
.rz-cat-cta i { transition: transform 0.15s; }
.rz-cat-card:hover .rz-cat-cta i { transform: translateX(3px); }

.rz-faq-sec { padding: 28px 0 44px; }

/* Riders Zone - article list (category + article page) */
.rz-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 6px 0 8px; }
@media (max-width: 991.98px) { .rz-post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .rz-post-grid { grid-template-columns: 1fr; } }

.rz-post-card { display: flex; flex-direction: column; }
.rz-post-img { display: block; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--mdt-line, #e7e5ee); }
.rz-post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s; }
.rz-post-card:hover .rz-post-img img { transform: scale(1.04); }
.rz-post-body { padding: 12px 2px 0; display: flex; flex-direction: column; }
.rz-post-cat { font-size: 11.5px; font-weight: 800; color: var(--mdt-red, #AB1F02); text-transform: uppercase; letter-spacing: 0.05em; }
.rz-post-title { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.25; margin: 5px 0 7px; }
.rz-post-title a { color: var(--mdt-ink, #1F1B2D); text-decoration: none; }
.rz-post-title a:hover { color: var(--mdt-red, #AB1F02); }
.rz-post-excerpt { font-size: 14px; color: var(--mdt-body, #4a4658); line-height: 1.5; margin: 0 0 9px; }
.rz-post-meta { font-size: 12.5px; color: var(--mdt-muted, #6b6777); font-weight: 600; margin-top: auto; }
.rz-post-meta i { color: var(--mdt-red, #AB1F02); }

.rz-pagination { margin: 26px 0 8px; }
.rz-pagination .pagination { margin: 0; }

.rz-section { padding: 26px 0 4px; }
.rz-section-hd { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; flex-wrap: wrap; }

/* ============ Riders Zone — article page (.rz-article) ============ */
.rz-article .mds-wrap { padding-bottom: 8px; }
@media (min-width: 992px) { .rz-article .mds-wrap { padding-top: 100px; } }
.rz-article h1.h2 { color: var(--mdt-ink, #1F1B2D); letter-spacing: -0.02em; line-height: 1.15; }
.rz-article > .mds-wrap > .mds-crumb + p,
.rz-article h1.h2 + p { font-size: 18px; color: var(--mdt-body, #4a4658); line-height: 1.6; }

/* meta row */
.rz-article .list-unstyled.d-flex li { color: var(--mdt-muted, #6b6777); font-size: 13.5px; font-weight: 600; }
.rz-article .list-unstyled.d-flex li i { color: var(--mdt-red, #AB1F02); opacity: 1; }
.rz-article .list-unstyled.d-flex li a { color: var(--mdt-ink, #1F1B2D); font-weight: 700; text-decoration: none; }
.rz-article .list-unstyled.d-flex li a:hover { color: var(--mdt-red, #AB1F02); }

/* hero image */
.rz-article > .mds-wrap img.rounded-3.w-100 { border-radius: 16px !important; border: 1px solid var(--mdt-line, #e7e5ee); box-shadow: 0 14px 34px rgba(31, 27, 45, 0.10); max-height: 460px; object-fit: cover; }

/* sticky social share */
.rz-article .btn-icon.btn-light-primary {
    background: #fff; border: 1px solid var(--mdt-line, #e7e5ee);
    color: var(--mdt-ink, #1F1B2D); width: 40px; height: 40px;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.rz-article .btn-icon.btn-light-primary:hover { background: var(--mdt-red, #AB1F02); border-color: var(--mdt-red, #AB1F02); color: #fff; }

/* table of contents */
.rz-article #postToc {
    background: #fff; border: 1px solid var(--mdt-line, #e7e5ee) !important;
    border-radius: 14px !important; padding: 16px 18px !important;
}
.rz-article #postToc .fw-bold { color: var(--mdt-ink, #1F1B2D); font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; }
.rz-article #postTocList a { color: var(--mdt-body, #4a4658); text-decoration: none; font-size: 14px; padding: 3px 0; transition: color 0.15s; }
.rz-article #postTocList a:hover { color: var(--mdt-red, #AB1F02); }
.rz-article #postTocList a.fw-semibold { color: var(--mdt-ink, #1F1B2D); font-weight: 700; }

/* article body — white reading card */
.rz-article #postContent {
    background: #fff; border: 1px solid var(--mdt-line, #e7e5ee);
    border-radius: 16px; padding: 26px 30px;
    color: var(--mdt-body, #4a4658); font-size: 16px; line-height: 1.72;
}
@media (max-width: 575.98px) { .rz-article #postContent { padding: 20px 18px; } }
.rz-article #postContent h2, .rz-article #postContent h3, .rz-article #postContent h4 {
    color: var(--mdt-ink, #1F1B2D); letter-spacing: -0.01em; font-weight: 800;
    margin-top: 1.6em; margin-bottom: 0.5em; scroll-margin-top: 100px;
}
.rz-article #postContent h2 { font-size: 24px; }
.rz-article #postContent h3 { font-size: 20px; }
.rz-article #postContent h4 { font-size: 17px; }
.rz-article #postContent > :first-child { margin-top: 0; }
.rz-article #postContent p { margin-bottom: 1.05em; }
.rz-article #postContent a { color: var(--mdt-red, #AB1F02); text-decoration: underline; text-underline-offset: 2px; }
.rz-article #postContent a:hover { text-decoration: none; }
.rz-article #postContent ul, .rz-article #postContent ol { margin: 0 0 1.05em; padding-left: 1.3em; }
.rz-article #postContent li { margin-bottom: 0.4em; }
.rz-article #postContent img { max-width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--mdt-line, #e7e5ee); margin: 1em 0; }
.rz-article #postContent blockquote {
    border-left: 3px solid var(--mdt-red, #AB1F02); background: var(--mdt-soft, #F5F4F8);
    margin: 1.2em 0; padding: 12px 18px; border-radius: 0 10px 10px 0; color: var(--mdt-ink, #1F1B2D); font-style: italic;
}
.rz-article #postContent table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 14.5px; }
.rz-article #postContent th, .rz-article #postContent td { border: 1px solid var(--mdt-line, #e7e5ee); padding: 9px 12px; text-align: left; }
.rz-article #postContent th { background: var(--mdt-soft, #F5F4F8); color: var(--mdt-ink, #1F1B2D); font-weight: 700; }

/* in-article CTA card */
.rz-article .card.bg-secondary {
    background: var(--mdt-red-tint, #fdf1ed) !important;
    border: 1px solid #f2d4cb !important; border-radius: 16px !important;
}
.rz-article .card.bg-secondary h3 { color: var(--mdt-ink, #1F1B2D); }
.rz-article .card.bg-secondary .btn-primary { background: var(--mdt-red, #AB1F02); border-color: var(--mdt-red, #AB1F02); }
.rz-article .card.bg-secondary .btn-primary:hover { background: #8f1a02; border-color: #8f1a02; }
.rz-article .card.bg-secondary .btn-outline-primary { color: var(--mdt-red, #AB1F02); border-color: var(--mdt-red, #AB1F02); }
.rz-article .card.bg-secondary .btn-outline-primary:hover { background: var(--mdt-red, #AB1F02); color: #fff; }

/* category chips + shop-bikes chips */
.rz-article .btn-outline-secondary {
    background: #fff; border: 1px solid var(--mdt-line, #e7e5ee); color: var(--mdt-ink, #1F1B2D);
    font-weight: 600; transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.rz-article .btn-outline-secondary:hover { background: var(--mdt-red-tint, #fdf1ed); border-color: var(--mdt-red, #AB1F02); color: var(--mdt-red, #AB1F02); }

/* section headings + "view all" links */
.rz-article section h2, .rz-article .border-top h2, .rz-article h2.h3 { color: var(--mdt-ink, #1F1B2D); letter-spacing: -0.01em; }
.rz-article .btn-link { color: var(--mdt-red, #AB1F02); }

/* related articles */
.rz-article .border-top article h3 a { color: var(--mdt-ink, #1F1B2D); text-decoration: none; }
.rz-article .border-top article h3 a:hover { color: var(--mdt-red, #AB1F02); }
.rz-article .border-top article img.rounded-3 { border-radius: 12px !important; border: 1px solid var(--mdt-line, #e7e5ee); }

/* recommended carousel */
.rz-article .tns-carousel-inner .card {
    border: 1px solid var(--mdt-line, #e7e5ee) !important; border-radius: 14px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.rz-article .tns-carousel-inner .card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(31, 27, 45, 0.10); }
.rz-article .tns-carousel-inner .card-title { color: var(--mdt-ink, #1F1B2D); font-weight: 800; letter-spacing: -0.01em; }
.rz-article .tns-carousel-inner .btn-outline-primary { color: var(--mdt-red, #AB1F02); border-color: var(--mdt-red, #AB1F02); }
.rz-article .tns-carousel-inner .btn-outline-primary:hover { background: var(--mdt-red, #AB1F02); color: #fff; }

/* reading progress bar */
.rz-article #readingProgress { background-color: var(--mdt-red, #AB1F02) !important; }

/* ============ For Dealers — monetisation landing (.fd-page) ============ */
.fd-page { background: var(--mdt-soft, #F5F4F8); display: flow-root; }
@media (min-width: 992px) { .fd-page .mds-wrap { padding-top: 100px; } }
.fd-page .mds-head { margin-bottom: 6px; }

.fd-eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mdt-red, #AB1F02); margin-bottom: 10px; }
.fd-eyebrow-light { color: #ffb9a6; }
.fd-h1 { font-size: 42px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; color: var(--mdt-ink, #1F1B2D); margin: 0 0 16px; }
.fd-h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; color: var(--mdt-ink, #1F1B2D); margin: 0 0 8px; }
.fd-lead { font-size: 18px; line-height: 1.6; color: var(--mdt-body, #4a4658); margin: 0 0 22px; }
.fd-section-sub { font-size: 16px; color: var(--mdt-muted, #6b6777); line-height: 1.55; margin: 0 0 22px; max-width: 760px; }
@media (max-width: 575.98px) { .fd-h1 { font-size: 32px; } .fd-h2 { font-size: 23px; } }

/* buttons */
.fd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; font-weight: 700; padding: 13px 22px; border-radius: 12px; text-decoration: none; border: 1.5px solid transparent; transition: transform 0.12s, background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s; cursor: pointer; }
.fd-btn:active { transform: translateY(1px); }
.fd-btn-primary { background: var(--mdt-red, #AB1F02); color: #fff; box-shadow: 0 8px 20px rgba(171, 31, 2, 0.22); }
.fd-btn-primary:hover { background: #8f1a02; color: #fff; box-shadow: 0 10px 26px rgba(171, 31, 2, 0.30); }
.fd-btn-ghost { background: #fff; color: var(--mdt-ink, #1F1B2D); border-color: var(--mdt-line, #e7e5ee); }
.fd-btn-ghost:hover { border-color: var(--mdt-red, #AB1F02); color: var(--mdt-red, #AB1F02); }
.fd-btn-outline { background: #fff; color: var(--mdt-red, #AB1F02); border-color: var(--mdt-red, #AB1F02); }
.fd-btn-outline:hover { background: var(--mdt-red, #AB1F02); color: #fff; }
.fd-btn-light { background: #fff; color: var(--mdt-ink, #1F1B2D); }
.fd-btn-light:hover { background: #f3f0f0; color: var(--mdt-ink, #1F1B2D); }
.fd-btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.fd-btn-ghost-light:hover { background: rgba(255,255,255,0.12); color: #fff; border-color: #fff; }
.fd-btn-block { width: 100%; }
.fd-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.fd-cta-center { justify-content: center; }

/* hero */
.fd-hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; padding: 4px 0 44px; }
@media (max-width: 991.98px) { .fd-hero { grid-template-columns: 1fr; gap: 28px; padding-bottom: 32px; } }
.fd-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 22px 0 0; }
.fd-trust li { font-size: 13.5px; font-weight: 700; color: var(--mdt-ink, #1F1B2D); display: inline-flex; align-items: center; gap: 7px; }
.fd-trust li i { color: var(--mdt-red, #AB1F02); }
.fd-hero-card { background: #fff; border: 1px solid var(--mdt-line, #e7e5ee); border-radius: 18px; padding: 26px 26px 24px; box-shadow: 0 18px 44px rgba(31, 27, 45, 0.10); }
.fd-hero-card-title { font-size: 16px; font-weight: 800; color: var(--mdt-ink, #1F1B2D); margin-bottom: 16px; }
.fd-check-list { list-style: none; padding: 0; margin: 0 0 20px; }
.fd-check-list li { display: flex; gap: 10px; font-size: 14.5px; color: var(--mdt-body, #4a4658); line-height: 1.4; margin-bottom: 11px; }
.fd-check-list li i { color: var(--mdt-red, #AB1F02); margin-top: 3px; flex-shrink: 0; }
.fd-hero-card-note { font-size: 12.5px; color: var(--mdt-muted, #6b6777); margin: 12px 0 0; text-align: center; }

/* generic section spacing */
.fd-section { padding: 40px 0; border-top: 1px solid var(--mdt-line, #e7e5ee); }

/* benefits */
.fd-benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 20px; }
@media (max-width: 991.98px) { .fd-benefit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .fd-benefit-grid { grid-template-columns: 1fr; } }
.fd-benefit { background: #fff; border: 1px solid var(--mdt-line, #e7e5ee); border-radius: 16px; padding: 22px 22px 20px; transition: transform 0.18s, box-shadow 0.18s; }
.fd-benefit:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(31, 27, 45, 0.10); }
.fd-benefit-ico { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: var(--mdt-red-tint, #fdf1ed); color: var(--mdt-red, #AB1F02); font-size: 19px; margin-bottom: 14px; }
.fd-benefit h3 { font-size: 17px; font-weight: 800; color: var(--mdt-ink, #1F1B2D); letter-spacing: -0.01em; margin: 0 0 7px; }
.fd-benefit p { font-size: 14px; color: var(--mdt-body, #4a4658); line-height: 1.55; margin: 0; }

/* data feeds — dark panel */
.fd-feeds { background: var(--mdt-ink, #1F1B2D); border-radius: 22px; padding: 40px; margin: 40px 0; color: #e9e7f0; }
@media (max-width: 575.98px) { .fd-feeds { padding: 28px 22px; border-radius: 18px; } }
.fd-feeds-head { max-width: 820px; }
.fd-h2-light { color: #fff; }
.fd-feeds-sub { font-size: 16px; line-height: 1.6; color: #c9c6d6; margin: 4px 0 0; }
.fd-feed-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin: 28px 0 18px; }
@media (max-width: 991.98px) { .fd-feed-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479.98px) { .fd-feed-grid { grid-template-columns: 1fr; } }
.fd-feed-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14); border-radius: 14px; padding: 16px 16px 15px; transition: background 0.15s, border-color 0.15s; }
.fd-feed-card:hover { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.28); }
.fd-feed-name { font-size: 14.5px; font-weight: 800; color: #fff; display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.fd-feed-name i { color: #ff8f70; font-size: 13px; }
.fd-feed-desc { font-size: 12.5px; line-height: 1.45; color: #b7b4c6; margin: 0; }
.fd-feeds-foot { font-size: 14px; color: #c9c6d6; margin: 0; }
.fd-feeds-foot a { color: #ff9c80; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.fd-feeds-foot a:hover { color: #fff; }

/* steps */
.fd-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
@media (max-width: 767.98px) { .fd-steps { grid-template-columns: 1fr; } }
.fd-step { background: #fff; border: 1px solid var(--mdt-line, #e7e5ee); border-radius: 16px; padding: 24px 22px; position: relative; }
.fd-step-num { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--mdt-red, #AB1F02); color: #fff; font-weight: 800; font-size: 17px; margin-bottom: 14px; }
.fd-step h3 { font-size: 17px; font-weight: 800; color: var(--mdt-ink, #1F1B2D); margin: 0 0 7px; }
.fd-step p { font-size: 14px; color: var(--mdt-body, #4a4658); line-height: 1.55; margin: 0; }
.fd-steps-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* trial banner */
.fd-trial-banner { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; background: var(--mdt-red-tint, #fdf1ed); border: 1px solid #f2d4cb; border-radius: 18px; padding: 24px 28px; margin-bottom: 22px; }
.fd-trial-tag { display: inline-block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: #fff; background: var(--mdt-red, #AB1F02); padding: 3px 10px; border-radius: 20px; margin-bottom: 9px; }
.fd-trial-copy h3 { font-size: 21px; font-weight: 800; color: var(--mdt-ink, #1F1B2D); margin: 0 0 5px; }
.fd-trial-copy p { font-size: 14.5px; color: var(--mdt-body, #4a4658); margin: 0; max-width: 620px; }

/* pricing plans */
.fd-plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
@media (max-width: 767.98px) { .fd-plan-grid { grid-template-columns: 1fr; } }
.fd-plan { background: #fff; border: 1px solid var(--mdt-line, #e7e5ee); border-radius: 18px; padding: 26px 24px; position: relative; transition: transform 0.18s, box-shadow 0.18s; }
.fd-plan:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(31, 27, 45, 0.10); }
.fd-plan.is-popular { border-color: var(--mdt-red, #AB1F02); box-shadow: 0 0 0 2px rgba(171,31,2,0.14), 0 20px 44px rgba(31,27,45,0.12); }
.fd-plan-flag { position: absolute; top: -12px; left: 24px; background: var(--mdt-red, #AB1F02); color: #fff; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; padding: 4px 12px; border-radius: 20px; }
.fd-plan-name { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--mdt-muted, #6b6777); margin-bottom: 8px; }
.fd-plan-price { font-size: 38px; font-weight: 800; letter-spacing: -0.02em; color: var(--mdt-ink, #1F1B2D); line-height: 1; }
.fd-plan-per { font-size: 15px; font-weight: 600; color: var(--mdt-muted, #6b6777); }
.fd-plan-equiv { font-size: 13px; color: var(--mdt-muted, #6b6777); margin: 8px 0 2px; }
.fd-plan-note { font-size: 13.5px; font-weight: 700; color: var(--mdt-red, #AB1F02); margin-bottom: 18px; }
.fd-plan-feats { list-style: none; padding: 18px 0 0; margin: 18px 0 0; border-top: 1px solid var(--mdt-line, #e7e5ee); }
.fd-plan-feats li { display: flex; gap: 9px; font-size: 13.5px; color: var(--mdt-body, #4a4658); line-height: 1.4; margin-bottom: 10px; }
.fd-plan-feats li i { color: var(--mdt-red, #AB1F02); margin-top: 3px; flex-shrink: 0; }
.fd-plan-same { display: flex; gap: 9px; font-size: 13.5px; font-weight: 600; color: var(--mdt-body, #4a4658); margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--mdt-line, #e7e5ee); }
.fd-plan-same i { color: var(--mdt-red, #AB1F02); margin-top: 2px; }
.fd-plans-foot { font-size: 13.5px; color: var(--mdt-muted, #6b6777); margin: 20px 0 0; text-align: center; }
.fd-plans-foot a, .fd-plan-note a { color: var(--mdt-red, #AB1F02); font-weight: 700; }

/* proof */
.fd-proof { padding: 40px 0; border-top: 1px solid var(--mdt-line, #e7e5ee); }
.fd-proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 20px; }
@media (max-width: 767.98px) { .fd-proof-grid { grid-template-columns: 1fr; } }
.fd-proof-item { background: #fff; border: 1px solid var(--mdt-line, #e7e5ee); border-radius: 16px; padding: 22px; }
.fd-proof-ico { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--mdt-soft, #F5F4F8); color: var(--mdt-red, #AB1F02); font-size: 18px; margin-bottom: 13px; }
.fd-proof-item h3 { font-size: 16px; font-weight: 800; color: var(--mdt-ink, #1F1B2D); margin: 0 0 6px; }
.fd-proof-item p { font-size: 13.5px; color: var(--mdt-body, #4a4658); line-height: 1.5; margin: 0; }

/* faq */
.fd-faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 18px; }
@media (max-width: 767.98px) { .fd-faq-grid { grid-template-columns: 1fr; } }
.fd-faq-card { background: #fff; border: 1px solid var(--mdt-line, #e7e5ee); border-radius: 14px; padding: 20px 22px; }
.fd-faq-q { font-size: 15.5px; font-weight: 800; color: var(--mdt-ink, #1F1B2D); margin-bottom: 8px; }
.fd-faq-a { font-size: 14px; color: var(--mdt-body, #4a4658); line-height: 1.55; margin: 0; }

/* final cta */
.fd-final { background: var(--mdt-red, #AB1F02); border-radius: 22px; padding: 48px 40px; margin: 44px 0 8px; text-align: center; }
@media (max-width: 575.98px) { .fd-final { padding: 34px 22px; border-radius: 18px; } }
.fd-final-inner { max-width: 640px; margin: 0 auto; }
.fd-final h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; color: #fff; margin: 0 0 12px; }
.fd-final p { font-size: 16.5px; line-height: 1.55; color: #ffe2d9; margin: 0 0 26px; }

/* ============ Sell your bike (.sell-page) — reuses .fd-page + fd- classes ============ */
.sell-page .fd-steps.fd-steps-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 991.98px) { .sell-page .fd-steps.fd-steps-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .sell-page .fd-steps.fd-steps-4 { grid-template-columns: 1fr; } }

/* ============ Bikes near me + Bikes by town (.nm-page) ============ */
.nm-page .mds-intro { max-width: 820px; }
.nm-stats { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 14px 0 4px; }
.nm-stat { font-size: 14px; color: var(--mdt-muted, #6b6777); }
.nm-stat strong { color: var(--mdt-ink, #1F1B2D); font-weight: 800; }
.nm-head-cta { margin-top: 16px; }

/* search card */
.nm-searchcard { margin: 8px 0 4px; }
.nm-searchbar { background: #fff; border: 1px solid var(--mdt-line, #e7e5ee); border-radius: 16px; padding: 16px; box-shadow: 0 10px 28px rgba(31, 27, 45, 0.06); }

/* section tweaks */
.nm-page .fd-section.nm-section-first { border-top: none; padding-top: 10px; }
.nm-section-hd { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 4px; }
.nm-seeall { font-size: 14px; font-weight: 700; color: var(--mdt-red, #AB1F02); text-decoration: none; white-space: nowrap; }
.nm-seeall:hover { color: #8f1a02; }

/* location chip grid */
.loc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-top: 18px; }
.loc-grid-sm { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
@media (max-width: 479.98px) { .loc-grid, .loc-grid-sm { grid-template-columns: 1fr 1fr; } }
.loc-chip {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    background: #fff; border: 1px solid var(--mdt-line, #e7e5ee); border-radius: 12px;
    padding: 12px 15px; text-decoration: none; transition: border-color 0.15s, transform 0.12s, box-shadow 0.15s;
}
.loc-chip:hover { border-color: var(--mdt-red, #AB1F02); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(31, 27, 45, 0.08); }
.loc-chip-name { font-size: 14.5px; font-weight: 700; color: var(--mdt-ink, #1F1B2D); letter-spacing: -0.01em; line-height: 1.25; }
.loc-chip:hover .loc-chip-name { color: var(--mdt-red, #AB1F02); }
.loc-chip-count { font-size: 12.5px; font-weight: 800; color: var(--mdt-muted, #6b6777); background: var(--mdt-soft, #F5F4F8); border-radius: 20px; padding: 2px 9px; flex-shrink: 0; }
.loc-chip:hover .loc-chip-count { background: var(--mdt-red-tint, #fdf1ed); color: var(--mdt-red, #AB1F02); }
.loc-chip-arrow { font-size: 11px; color: var(--mdt-red, #AB1F02); opacity: 0.5; transition: transform 0.15s, opacity 0.15s; flex-shrink: 0; }
.loc-chip:hover .loc-chip-arrow { opacity: 1; transform: translateX(3px); }
.loc-chip-all { background: var(--mdt-red-tint, #fdf1ed); border-color: #f2d4cb; }
.loc-chip-all .loc-chip-name { color: var(--mdt-red, #AB1F02); }

/* catalog cross-link CTA */
.nm-catalog-cta { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; background: var(--mdt-ink, #1F1B2D); border-radius: 18px; padding: 28px 32px; }
@media (max-width: 575.98px) { .nm-catalog-cta { padding: 24px 22px; } }
.nm-catalog-copy h2 { font-size: 22px; font-weight: 800; color: #fff; margin: 0 0 6px; letter-spacing: -0.01em; }
.nm-catalog-copy p { font-size: 15px; color: #c9c6d6; margin: 0; max-width: 640px; }

/* vertical red accent bar on the left of section titles (.fd-h2) — matches homepage */
.fd-h2 { position: relative; padding-left: 15px; }
.fd-h2::before { content: ""; position: absolute; left: 0; top: 0.18em; width: 5px; height: 0.95em; border-radius: 3px; background: var(--mdt-red, #AB1F02); }
.fd-h2.fd-h2-light::before { background: #ff8f70; }

/* Align the shared "Browse by style" widget to the mds-wrap width on near-me / by-town. */
.nm-page .mdw-sec { max-width: 1320px; padding-left: 20px; padding-right: 20px; }

/* Bootstrap 5 wymusza w .form-floating stala wysokosc calc(3.5rem + 2px) na
   kazdym .form-control, wiec textarea ignoruje atrybut rows i zostaje jedna
   linijka. Przywracamy zachowanie z BS 5.3: rows dziala, a pole nie schodzi
   ponizej wysokosci potrzebnej dla plywajacej etykiety. */
.form-floating > textarea.form-control { height: auto; min-height: calc(3.5rem + 2px); }

/* Panel wysuwany (wire-elements-pro) ma overflow-y: scroll, a overflow-x
   zostawiony na visible - przegladarka liczy wtedy overflow-x jako auto,
   wiec kazde wyjscie tresci w bok maluje poziomy pasek przewijania (szara
   belka na dole formularza). Panele nie maja tresci szerszej niz panel,
   wiec pasek jest zawsze artefaktem ujemnych marginesow .row. */
.wep-slide-over-container-inner-content { overflow-x: hidden; }

/* Linki nawigacji i inne elementy interaktywne nie mialy zadnego widocznego
   wskaznika fokusu klawiatury (outline z motywu byl niewidoczny przy tym
   tle), wiec uzytkownik klawiatury nie widzial, ktory element jest aktywny.
   :focus-visible pokazuje obwodke tylko przy nawigacji klawiatura (Tab), nie
   przy kliknieciu mysza, wiec nie zmienia wygladu dla wiekszosci odwiedzajacych. */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav-link:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--mdt-red, #AB1F02);
    outline-offset: 2px;
}

/* Podpowiedz "Enter your postcode..." na /dealers siedziala pod paskiem z
   liczba dealerow, na wlasnej linii. .mds-bar jest juz flexem z
   justify-content: space-between i gap, wiec przenosimy dymek do tego
   samego wiersza (po prawej, obok licznika) i tylko zerujemy margines
   gorny, ktory mial sens wylacznie gdy element stal osobno pod paskiem. */
.mds-bar .mds-scope.mds-scope-inline {
    margin-top: 0;
}

/* Karta dealera na /dealers konczyla sie zwyklym tekstowym linkiem "View
   dealer ->" bez zadnej otoczki, podczas gdy reszta serwisu (profil dealera,
   strona ogloszenia) uzywa wyraznych przyciskow-pigulek w kolorze marki.
   Cala karta to juz jeden duzy <a>, wiec to zostaje spanem (zagniezdzanie
   <a>/<button> w <a> jest niepoprawnym HTML-em) - dostaje tylko wyglad
   takiego samego przycisku outline, jak .btn.btn-outline-primary.btn-sm. */
.mds-dealer-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border: 1.5px solid var(--mdt-red, #AB1F02);
    border-radius: 999px;
    transition: background-color .15s, color .15s;
}
.mds-dealer:hover .mds-dealer-cta {
    background: var(--mdt-red, #AB1F02);
    color: #fff;
}

/* Dolny pasek "Call/Message" na stronie ogloszenia teraz dzieli dokladnie te
   sama klase co pasek "Call/Enquire/Directions" na profilu dealera
   (.profile-mobile-cta/.profile-mcta-btn), zamiast probowac dogonic jego
   wyglad osobnymi regulami na .handheld-toolbar-item - tamten komponent ma
   inna wysokosc/padding (jest dzielony z paskiem nawigacji Menu/Filter na
   listingach) i nie dalo sie go zrownac 1:1 bez ryzyka dla innych stron.
   "Message" to <button>, wiec potrzebuje resetu obramowania/czcionki jak
   reszta przyciskow w komponencie (np. button.nav-link wyzej w tym pliku).
   Bez "background" w resecie: .profile-mcta-btn i .profile-mcta-enquire
   juz ustawiaja realne tlo (nie "none"), a dopisanie tu background:none
   z wyzsza specyficznoscia (element+klasa) przebiloby .profile-mcta-enquire
   (sama klasa) i przycisk znowu zostalby bez koloru - dokladnie ten sam
   blad specyficznosci, ktory wczesniej wystapil na .handheld-toolbar-item. */
button.profile-mcta-btn {
    border: 0;
    font-family: inherit;
    cursor: pointer;
    appearance: none;
}
