/* =====================================================
   MXOWNERS.COM MAIN STYLES
   30/08/2026
   ===================================================== */

:root {
    --bg: #071017;
    --panel: #0d1820;
    --panel-light: #111f29;
    --text: #f4f7f9;
    --muted: #aebbc4;
    --accent: #00d9ff;
    --accent-light: #7fe6ff;
    --border: #24313a;
}

/* =====================================================
   GLOBAL
   ===================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

.wrap {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 18px;
}

h1,
h2,
h3 {
    color: #ffffff;
    line-height: 1.25;
}

h1 {
    margin-top: 28px;
    font-size: clamp(28px, 4vw, 42px);
}

h2 {
    margin-top: 30px;
    font-size: 26px;
}

h3 {
    font-size: 20px;
}

p {
    color: #d7e0e5;
}

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

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

/* =====================================================
   BANNER
   ===================================================== */

.site-header {
    text-align: center;
    padding: 10px;
    background: #05090c;
}

.site-header img {
    display: block;
    width: 100%;
    max-width: 900px;
    height: auto;
    margin: 0 auto;
}

/* =====================================================
   SHARED NAVIGATION
   ===================================================== */

.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 12px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 8px;
    max-width: 1180px;
margin: 16px auto 25px;
}


.main-nav a {
    display: inline-block;
    padding: 8px 12px;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
}

.main-nav a:hover {
    background: var(--panel-light);
    color: var(--accent-light);
}

/* =====================================================
   NOTE / INFO BOXES
   ===================================================== */

.note-box,
.spec-source {
    background: rgba(0, 217, 255, 0.06);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 8px;
    padding: 14px 16px;
    margin: 18px 0;
}

.note-box strong,
.spec-source strong {
    color: #ffffff;
}

/* =====================================================
   DETAILS
   ===================================================== */

details:not(.mobile-nav) {
    margin: 18px 0;
}

details:not(.mobile-nav) summary {
    cursor: pointer;
    color: var(--accent);
    font-weight: bold;
}

details:not(.mobile-nav) summary:hover {
    color: var(--accent-light);
}

/* =====================================================
   FORMS
   ===================================================== */

button,
select,
input {
    font: inherit;
}

button {
    background: #111;
    color: var(--text);
    border: 1px solid rgba(255,255,255,0.18);
    padding: 10px 14px;
    margin: 4px 6px 4px 0;
    cursor: pointer;
    border-radius: 6px;
}

button:hover,
button:focus-visible {
    border-color: #55d6ff;
    color: #7fe6ff;
    outline: none;
}

.brand-btn.active {
    border-color: #55d6ff;
    color: #7fe6ff;
    box-shadow: 0 0 10px rgba(85,214,255,0.22);
}

#brandStatus {
    margin: 10px 0 12px;
    color: #cfefff;
    font-size: 16px;
}

#bikeSearch {
    width: 100%;
    max-width: 430px;
    box-sizing: border-box;
    padding: 15px 16px;
    margin: 10px 0 18px;
    font-size: 18px;
    background: #071017;
    color: #fff;
    border: 2px solid #55d6ff;
    border-radius: 8px;
    box-shadow: 0 0 12px rgba(85,214,255,0.18);
}

#bikeSearch::placeholder {
    color: #9bb8c6;
}

#bikeSearch:focus {
    outline: none;
    border-color: #7fe6ff;
    box-shadow: 0 0 18px rgba(85,214,255,0.42);
}

.bike-picker {
    max-width: 760px;
    padding: 14px;
    margin: 8px 0 26px;
    background: rgba(85,214,255,0.06);
    border: 1px solid rgba(85,214,255,0.32);
    border-radius: 10px;
}

#modelSelect {
    width: 100%;
    max-width: 520px;
    min-width: 350px;
    box-sizing: border-box;
    padding: 14px 16px;
    font-size: 18px;
    background: #071017;
    color: #fff;
    border: 2px solid #55d6ff;
    border-radius: 8px;
}

#modelSelect:focus {
    outline: none;
    border-color: #7fe6ff;
    box-shadow: 0 0 16px rgba(85,214,255,0.32);
}

#modelSelect option {
    padding: 6px;
}

/* =====================================================
   BUTTON LINKS
   ===================================================== */

.browse-all-btn {
    display: block;
    width: 100%;
    max-width: 420px;
    box-sizing: border-box;
    margin-top: 18px;
    padding: 12px 18px;
    border: 1px solid #00d9ff;
    border-radius: 6px;
    background: rgba(0,217,255,0.08);
    color: #00d9ff;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: 0.2s ease;
}

.browse-all-btn:hover {
    background: rgba(0,217,255,0.18);
    color: #fff;
    transform: translateY(-1px);
}

/* =====================================================
   BIKE LIST PAGE
   ===================================================== */

.bike-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 8px;
    margin: 12px 0 32px 0;
}

.bike-list a {
    display: block;
    padding: 10px 12px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: #35d7ff;
    text-decoration: none;
    font-weight: 700;
}

.bike-list a:hover {
    background: var(--panel-light);
    border-color: var(--accent);
}

.back-home {
    text-align: center;
    margin: 30px 0;
}

.back-home a {
    color: #00d9ff;
    text-decoration: none;
    font-size: 15px;
}

/* =====================================================
   SEARCH RESULTS
   ===================================================== */

#searchResults {
    max-width: 760px;
    margin-bottom: 20px;
}

#searchResults a {
    padding: 8px 10px !important;
    border-bottom: 1px solid var(--border);
}

/* =====================================================
   INTERACTIVE LIST
   ===================================================== */

.interactive-list {
    margin-bottom: 20px;
}

.interactive-list li {
    margin-bottom: 8px;
}

.interactive-list li:last-child {
    margin-bottom: 0;
}

/* =====================================================
   FOOTER
   ===================================================== */

.site-footer {
    text-align: center;
    padding: 30px 10px;
    margin-top: 35px;
    border-top: 1px solid var(--border);
    font-size: 14px;
    color: var(--muted);
}

.site-footer a {
    color: #ccc;
    margin: 0 8px;
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
}

/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 700px) {

    .wrap {
        padding: 0 20px;
    }

    .site-header {
        padding: 6px;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 22px;
    }

    .main-nav {
        display: block;
        text-align: center;
    }

    .main-nav a {
        display: block;
        width: 100%;
        margin: 3px 0;
    }

    #bikeSearch,
    #modelSelect {
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    .bike-picker {
        padding: 12px;
    }

    .bike-list {
        grid-template-columns: 1fr;
    }

}

/* =====================================================
   MOBILE HAMBURGER NAV
   ===================================================== */

.desktop-nav {
    display: block;
    width: 100%;
    max-width: 1180px;
    margin: 16px auto 25px;
    padding: 12px 18px;
    text-align: center;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.mobile-nav {
    display: none;
}

@media (max-width: 900px) {

    .desktop-nav {
        display: none;
    }

    .mobile-nav {
        display: block;
        margin: 18px 0 22px;
    }

    .mobile-nav summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 10px 16px;

        background: #0d1820;
        border: 1px solid #2f7f93;
        border-radius: 6px;

        cursor: pointer;
        color: #ffffff;
        font-weight: bold;
        font-size: 18px;
        list-style: none;
    }

    .mobile-nav summary::-webkit-details-marker {
        display: none;
    }

    .mobile-nav summary::marker {
        content: "";
    }

    .hamburger-icon {
        display: inline-block;
        width: 27px;
        height: 20px;
        position: relative;

        border-top: 4px solid #ffffff;
        border-bottom: 4px solid #ffffff;
        border-radius: 2px;
    }

    .hamburger-icon::before {
        content: "";
        position: absolute;
        left: 0;
        top: 6px;
        width: 100%;
        border-top: 4px solid #ffffff;
    }

    .mobile-nav nav {
        margin-top: 6px;
        padding: 8px 12px;

        background: #0d1820;
        border: 1px solid #24313a;
        border-radius: 6px;
    }

    .mobile-nav nav a {
        display: block;
        padding: 10px 8px;
        color: #ffffff;
        text-decoration: none;
        border-bottom: 1px solid #24313a;
    }

    .mobile-nav nav a:last-child {
        border-bottom: none;
    }

    .mobile-nav nav a:hover {
        color: #00d9ff;
    }
}

/* =====================================================
   PARTS SUPPLIER PANEL
   ===================================================== */

.parts-supplier-card {
    margin: 20px 0 28px;
    padding: 20px;

    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.parts-supplier-card h3 {
    margin: 0 0 6px;
    color: var(--text);
}

.parts-supplier-intro {
    margin: 0 0 18px;
    color: var(--muted);
}

.parts-supplier-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.parts-supplier {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;

    min-height: 150px;
    padding: 14px;

    background: #111;
    border: 1px solid var(--border);
    border-radius: 7px;

    text-decoration: none;
}

.parts-supplier:hover {
    border-color: var(--accent);
}

.parts-supplier strong {
    color: var(--text);
}

.parts-supplier img {
    display: block;
    width: 100%;
    max-width: 220px;
    max-height: 80px;
    object-fit: contain;
    margin: auto;
}

.parts-supplier span {
    color: var(--accent);
    font-weight: bold;
}

.parts-supplier-coming {
    opacity: 0.6;
}


@media (max-width: 750px) {

    .parts-supplier-grid {
        grid-template-columns: 1fr;
    }

    .parts-supplier {
        min-height: auto;
    }

}
/* =====================================================
   BIKE SPECIFICATION PAGES
   ===================================================== */

.bike-image {
    margin: 20px 0 28px;
}

.bike-image img {
    display: block;
    width: 100%;
    max-width: 620px;
    height: auto;
    border-radius: 6px;
}

.twocolumn {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    align-items: start;
}

.twocolumn h2 {
    margin-top: 24px;
    margin-bottom: 10px;
}

.twocolumn table,
.replacement-parts table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 22px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.twocolumn td,
.replacement-parts td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

.twocolumn tr:last-child td,
.replacement-parts tr:last-child td {
    border-bottom: none;
}

.twocolumn td:first-child,
.replacement-parts td:first-child {
    width: 42%;
    font-weight: bold;
    color: #ffffff;
}

@media (max-width: 800px) {

    .twocolumn {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .bike-image img {
        max-width: 100%;
    }

}
/* =====================================================
   BIKE SPEC PAGE POLISH
   ===================================================== */

.twocolumn {
    gap: 22px;
}

.twocolumn > div {
    min-width: 0;
}

.twocolumn h2,
.replacement-parts h2 {
    margin: 18px 0 8px;
    font-size: 22px;
}

.twocolumn table,
.replacement-parts table {
    margin-bottom: 16px;
    border-radius: 6px;
}

.twocolumn td,
.replacement-parts td {
    padding: 8px 10px;
    line-height: 1.35;
}

.twocolumn td:first-child,
.replacement-parts td:first-child {
    width: 44%;
    white-space: nowrap;
}

.twocolumn td:last-child,
.replacement-parts td:last-child {
    width: 56%;
}

.replacement-parts {
    margin-top: 8px;
}

.replacement-parts table {
    max-width: 100%;
}

.bike-image {
    margin-bottom: 20px;
}
.wrap > h1 {
    text-align: center;
}

.bike-image img {
    margin: 0 auto;
}
#site-footer > p {
    text-align: center;
}