* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: white;
    color: black;
    font-family: Arial, Helvetica, sans-serif;
}

/* =====================================================
   TOP BAR
===================================================== */

.top-bar {
    width: 100%;
    background: #f7f7f7;
    height: 150px;
    display: flex;
    align-items: center;
    padding: 0 55px;
    border-bottom: 1px solid #e5e5e5;
    gap: 30px;
}

.logo {
    font-size: 58px;
    font-weight: 700;
    white-space: nowrap;
}

/* =====================================================
   LANGUAGES
===================================================== */

.language-section {
    position: relative;
    margin-left: auto;
}

.language-button {
    background: transparent;
    color: #555;
    border: none;
    padding: 10px 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.language-button:hover {
    color: black;
}

.language-menu {
    display: none;
    position: absolute;
    top: calc(100% + 7px);
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    background: white;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    padding: 7px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    z-index: 200;
}

.language-menu.active {
    display: block;
}

.language-option {
    width: 100%;
    border: none;
    background: white;
    text-align: left;
    padding: 10px 12px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
}

.language-option:hover {
    background: #f2f2f2;
}

.language-option.selected {
    font-weight: 700;
    background: #eeeeee;
}

/* =====================================================
   FILTERS
===================================================== */

.filters {
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter {
    position: relative;
}

.filter-button {
    background: black;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 14px 22px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.filter-button:hover {
    background: #222;
}

/* =====================================================
   CHECKBOXES
===================================================== */

.custom-checkbox {
    appearance: none;
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    border: 2px solid #999;
    border-radius: 3px;
    background: white;
    cursor: pointer;
    position: relative;
}

.custom-checkbox:checked {
    background: #1677ff;
    border-color: #1677ff;
}

.custom-checkbox:checked::after {
    content: "✓";
    position: absolute;
    left: 2px;
    top: -4px;
    color: white;
    font-size: 14px;
    font-weight: bold;
}

/* =====================================================
   BRANDS
===================================================== */

.brands-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: -80px;
    width: 500px;
    background: white;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    z-index: 100;
}

.brands-menu.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
    row-gap: 2px;
}

.brands-title {
    grid-column: 1 / -1;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
}

.brand-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 15px;
    cursor: pointer;
}

.brand-catalogue-modes { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid #eee; font-weight: 700; }
.brand-catalogue-modes .brand-option { margin: 0; padding: 6px 0; border: 0; font-weight: 700; }
.brand-catalogue-modes .brand-option:has(#hyperScooters) { font-size: 15px; font-weight: 500; }
.select-all {
    grid-column: 1 / -1;
    font-weight: 700;
    padding-bottom: 12px;
    margin-bottom: 8px;
    border-bottom: 1px solid #eeeeee;
}

/* =====================================================
   PRICE
===================================================== */

.price-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 270px;
    background: white;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    z-index: 100;
}

.price-menu.active {
    display: block;
}

.price-inputs {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.price-input {
    width: 50%;
    height: 42px;
    background: #eeeeee;
    border: 1px solid #d4d4d4;
    border-radius: 6px;
    padding: 0 12px;
    font-size: 14px;
    color: black;
    outline: none;
}

.price-input:focus {
    background: white;
    border-color: #999;
}

.price-input::placeholder {
    color: #777;
}

.price-input::-webkit-outer-spin-button,
.price-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.price-input[type="number"] {
    appearance: textfield;
}

.any-price {
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.any-price:hover {
    background: #f5f5f5;
}

/* =====================================================
   REQUIREMENTS
===================================================== */

.requirements-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 660px;
    max-width: calc(100vw - 32px);
    max-height: 80vh;
    overflow: hidden;
    background: white;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    z-index: 100;
}

.requirements-menu.active {
    display: flex;
    flex-direction: column;
}

.requirements-content {
    min-height: 0;
    overflow-y: auto;
    padding: 14px;
}

.requirements-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.requirements-footer {
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
    padding: 8px 14px;
    background: white;
    border-top: 1px solid #eee;
}

.requirements-capacity {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}

.requirements-capacity .requirements-input { width: 100%; min-width: 0; }
.requirements-top .requirements-input { width: 100%; min-width: 0; }

.requirements-input {
    width: 170px;
    height: 34px;
    background: #eeeeee;
    border: 1px solid #d4d4d4;
    border-radius: 6px;
    padding: 0 12px;
    font-size: 14px;
    color: black;
    outline: none;
}

.requirements-input:focus {
    background: white;
    border-color: #999;
}

.requirements-input::placeholder {
    color: #777;
}

.requirement-field {
    display: flex;
    align-items: center;
    min-width: 0;
    height: 34px;
    padding-right: 10px;
    background: #eeeeee;
    border: 1px solid #d4d4d4;
    border-radius: 6px;
}

.requirement-field:focus-within {
    background: white;
    border-color: #999;
}

.requirement-field .requirements-input {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    height: 32px;
    border: 0;
    background: transparent;
}

.requirement-field .requirements-input:not(:placeholder-shown) {
    width: 40%;
    flex: 0 1 40%;
    padding-right: 4px;
}

.requirement-field-label {
    display: none;
    min-width: 0;
    color: #999;
    opacity: 0.35;
    font-size: 14px;
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    pointer-events: none;
}

.requirements-input:not(:placeholder-shown) + .requirement-field-label {
    display: block;
}

.requirements-input::-webkit-outer-spin-button,
.requirements-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.requirements-input[type="number"] {
    appearance: textfield;
}

.any-requirements {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 12px;
    background: #eeeeee;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.any-requirements:hover {
    background: #e5e5e5;
}

.requirements-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
    border-top: 1px solid #eeeeee;
    padding-top: 8px;
}

.requirement-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    font-size: 15px;
    cursor: pointer;
}

/* =====================================================
   CATALOGUE
===================================================== */

.content {
    min-height: 1500px;
    padding: 45px 55px;
}

.catalog {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 24px;
}

.catalog-results {
    position: relative;
    display: flex;
    flex-direction: column;
}

.catalog-results > .pagination {
    margin-top: auto;
    padding-top: 32px;
}

/* =====================================================
   SCOOTER CARD
===================================================== */

.scooter-card {
    width: 290px;
    display: flex;
    flex-direction: column;
    border: 1px solid #111;
    background: white;
    padding: 14px;
    transition: transform 0.2s ease;
}

.scooter-card:hover {
    transform: translateY(-2px);
}

.scooter-card-image {
    width: 100%;
    height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: white;
}

.scooter-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.scooter-card-name {
    margin-top: 12px;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 26px;
    overflow-wrap: anywhere;
    font-size: 21px;
    font-weight: 800;
    text-align: center;
}

.see-button {
    display: block;
    width: 100%;
    margin-top: 14px;
    padding: 11px 15px;
    background: black;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.see-button:hover {
    background: #222;
}

.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin: 32px 0 12px; }
.pagination[hidden] { display: none; }
.pagination button { padding: 10px 15px; border: 1px solid #ccc; border-radius: 6px; background: white; cursor: pointer; font: inherit; }
.pagination button.page-number { width: 42px; flex: 0 0 42px; padding: 10px 0; font-variant-numeric: tabular-nums; }
.pagination button[aria-current="page"] { background: #111; color: white; border-color: #111; }
.pagination button:disabled { opacity: 0.4; cursor: default; }

.catalog-search { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; }
.sort-control { position: relative; flex-shrink: 0; }
.sort-button { padding: 9px 14px; border: 1px solid #d4d4d4; border-radius: 7px; background: #f7f7f7; color: #111; font: inherit; font-size: 14px; cursor: pointer; }
.sort-menu { position: absolute; top: 100%; left: 0; width: max-content; min-width: 180px; padding-top: 8px; z-index: 20; }
.sort-menu-options { padding: 6px; background: white; border: 1px solid #ddd; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.sort-menu button { display: block; width: 100%; padding: 10px 12px; border: 0; border-radius: 5px; background: white; color: #111; text-align: left; font: inherit; font-size: 14px; white-space: nowrap; cursor: pointer; }
.sort-menu button:hover, .sort-menu button:focus-visible { background: #f1f1f1; }
.sort-menu button[aria-pressed="true"] { background: #eee; font-weight: 600; }
.catalog-search-field { position: relative; width: 320px; max-width: 100%; min-width: 0; }
.search-clear { display: none; }
.catalog-search input { width: 100%; max-width: 100%; padding: 13px 16px; border: 1px solid #ccc; border-radius: 8px; background: #f7f7f7; font: inherit; color: #111; }
.catalog-search input:focus { outline: 2px solid #111; outline-offset: 2px; background: white; }
.manufacturer-claims-warning { margin: 0 0 22px; padding: 16px 18px; border: 2px solid #b45309; border-radius: 8px; background: #fff7ed; color: #7c2d12; font-size: 16px; font-weight: 700; line-height: 1.6; }
.catalog-footer { margin-top: 30px; min-height: 90px; border-top: 1px solid #111; padding: 22px 0 30px; color: #555; font-size: 14px; line-height: 1.7; }
.footer-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 40px; align-items: start; }
.catalog-footer details { min-width: 0; }
.catalog-footer summary { cursor: pointer; color: #222; font-size: 15px; font-weight: 600; padding: 6px 0; }
.catalog-footer summary:focus-visible { outline: 2px solid #111; outline-offset: 4px; }
.catalog-footer p { margin: 12px 0; }
.catalog-footer a { color: #333; text-underline-offset: 3px; overflow-wrap: anywhere; }
.footer-source-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-update { border-top: 1px solid #e5e5e5; padding: 16px 0; }
.footer-update time { font-size: 13px; color: #777; }
.footer-update h3 { margin: 4px 0; color: #333; font-size: 14px; }
.footer-update p { margin: 6px 0; }
@media (max-width: 600px) { .footer-sections { grid-template-columns: 1fr; gap: 12px; } }

.footer-sections { display: flex; flex-wrap: wrap; gap: 16px 36px; }
.footer-link { border: 0; padding: 6px 0; background: none; color: #333; font: inherit; font-weight: 600; cursor: pointer; }
.footer-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-link:focus-visible { outline: 2px solid #111; outline-offset: 4px; }
.information-page { max-width: 900px; margin: 0 auto; padding: 40px 24px 70px; }
.information-page[hidden] { display: none; }
.information-page h2 { font-size: 19px; margin: 28px 0 10px; }
.information-notice { padding: 16px 18px; background: #f6f6f6; border-left: 3px solid #777; }
.footer-disclaimer { max-width: 900px; font-size: 12px; line-height: 1.7; color: #777; margin: 16px 0 0; }
.information-page h1 { font-size: clamp(26px, 5vw, 36px); margin: 20px 0 28px; }
.information-page p { margin: 14px 0; color: #555; line-height: 1.8; }
.information-page a { color: #333; text-underline-offset: 3px; overflow-wrap: anywhere; }
.information-page .footer-update { border-top: 1px solid #ddd; padding: 22px 0; }
.information-page time { font-size: 14px; color: #777; }
.information-page h3 { margin: 8px 0; color: #222; font-size: 18px; }

.no-results {
    display: none;
    width: 100%;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    padding-top: 80px;
}

/* =====================================================
   PRODUCT DETAIL
===================================================== */

.product-detail {
    display: none;
    min-height: 100vh;
    padding: 55px;
}

.product-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    align-items: start;
    gap: 40px;
}

.product-detail.stacked-detail .product-layout { grid-template-columns: minmax(0, 1fr); }
.product-detail.stacked-detail .product-gallery { justify-content: center; margin-top: 0; }
.product-detail.stacked-detail .product-info { width: 100%; max-width: 1200px; margin: 0 auto; }
.product-detail.stacked-detail .product-title { text-align: center; }
.product-detail.stacked-detail .variant-comparison { min-width: 760px; }
.product-detail.wide-comparison .product-layout { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.product-detail.wide-comparison .variant-comparison { min-width: 700px; }
@media (max-width: 1200px) {
    .product-detail.wide-comparison .product-layout { grid-template-columns: minmax(0, 1fr); }
    .product-detail.wide-comparison .product-info { margin-top: 0; }
}

.product-gallery {
    width: 100%;
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 35px;
}

.gallery-image-container {
    width: 912.6px;
    min-width: 0;
    flex-shrink: 1;
    height: 673.92px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    overflow: hidden;
}

.gallery-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-arrow {
    width: 52px;
    height: 52px;
    border: 1px solid #111;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
    flex-shrink: 0;
}

.gallery-arrow:hover {
    background: #f2f2f2;
}

.product-info {
    max-width: 900px;
    min-width: 0;
    margin: -85px 0 0;
}

.comparison-scroll { overflow-x: auto; }
.variant-comparison { width: 100%; border-collapse: collapse; font-size: 17px; line-height: 1.5; }
.variant-comparison th, .variant-comparison td { padding: 9px 10px; border-bottom: 1px solid #ddd; text-align: left; vertical-align: top; }
.variant-comparison thead { background: #f3f3f3; }
.variant-comparison tbody th { font-weight: 600; }
.variant-comparison a { color: inherit; }

.product-title {
    margin: 0 0 12px;
    font-size: 42px;
    font-weight: 800;
}

.product-specs {
    font-size: 21.6px;
    line-height: 1.8;
    color: #222;
}

.spec-source {
    margin-top: 18px;
    font-size: 14px;
}

.spec-source a {
    color: #555;
    text-underline-offset: 3px;
}

.suspension-value {
    color: inherit;
    text-decoration: none;
}

.suspension-value:hover {
    text-decoration: underline;
}

.back-button {
    margin-bottom: 25px;
    padding: 10px 17px;
    border: 1px solid #111;
    background: white;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.back-button:hover {
    background: #f3f3f3;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1200px) {

    .logo {
        font-size: 45px;
    }

    .top-bar {
        padding: 0 30px;
        gap: 15px;
    }
}

@media (max-width: 1000px) {

    .product-info { margin-top: 0; }

    .product-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 35px;
    }

    .top-bar {
        height: auto;
        padding: 30px;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .logo {
        font-size: 42px;
    }

    .language-section {
        margin-left: 0;
    }

    .language-menu {
        left: 0;
        transform: none;
    }

    .filters {
        width: 100%;
        flex-wrap: wrap;
    }

    .brands-menu {
        left: 0;
        right: auto;
    }

    .requirements-menu {
        right: auto;
        left: 0;
    }

    .price-menu {
        left: 0;
        right: auto;
    }

    .content {
        padding: 35px 30px;
    }

    .catalog {
        justify-content: center;
    }

    .gallery-image-container {
        width: 84.24vw;
        height: 63.18vw;
    }
}

@media (max-width: 600px) {

    .brands-menu.active {
        grid-template-columns: 1fr;
    }

    .brands-title,
    .select-all {
        grid-column: 1;
    }

    .requirements-menu {
        width: 90vw;
    }

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

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

    .requirements-input {
        width: 100%;
    }

    .logo {
        font-size: 34px;
    }

    .scooter-card {
        width: 100%;
        max-width: 320px;
    }

    .product-detail {
        padding: 25px 15px;
    }

    .product-gallery {
        gap: 8px;
    }

    .gallery-image-container {
        width: 105.3vw;
        height: 84.24vw;
    }

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

    .product-title {
        font-size: 32px;
    }

    .product-specs {
        font-size: 19.2px;
    }
}

#privacyDialog { max-width: 560px; width: calc(100% - 40px); padding: 28px; border: 1px solid #ccc; border-radius: 10px; color: #222; }
#privacyDialog::backdrop { background: rgba(0,0,0,.35); }
#privacyDialog h2 { margin: 0 0 16px; font-size: 21px; }
#privacyDialog p { line-height: 1.7; color: #555; }

/* Product links preserve the existing button appearance. */
a.see-button { text-align: center; text-decoration: none; }

/* Phone layout only; desktop rules above remain unchanged. */
@media (max-width: 600px) {
    .top-bar { width: 100%; padding: 24px 16px; gap: 16px; }
    .logo { max-width: 100%; font-size: clamp(22px, 7.2vw, 30px); }
    .filters { position: relative; gap: 10px; }
    .filters > .filter { position: static; }
    .brands-menu, .requirements-menu { left: 0; right: auto; width: calc(100vw - 32px); max-width: 100%; }
    .brands-menu { padding: 14px; max-height: none; overflow: visible; }
    .brands-menu.active { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
    .brands-title, .brand-catalogue-modes { grid-column: 1 / -1; }
    .brands-title { margin-bottom: 8px; }
    .brand-option { min-width: 0; gap: 7px; font-size: 14px; }
    .brand-catalogue-modes { gap: 8px 16px; }
    .brand-catalogue-modes .brand-option:has(#hyperScooters) { font-size: 14px; }
    .requirements-menu { max-height: none; overflow: visible; }
    .requirements-content { padding: 10px; overflow: visible; }
    .requirements-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 10px; }
    .requirements-top, .requirements-capacity { gap: 4px; margin-bottom: 6px; }
    .requirement-field, .requirements-input { height: 28px; }
    .requirement-option { min-width: 0; gap: 6px; padding: 5px 0; font-size: 12px; }
    .requirement-option span { min-width: 0; overflow-wrap: anywhere; }
    .requirements-input, .requirement-field-label { font-size: 12px; }
    .requirement-field .requirements-input { padding-left: 8px; }
    .language-option, .language-button, .pagination button, .back-button, .gallery-arrow { color: #000; -webkit-text-fill-color: #000; }
    .catalog-search { align-items: stretch; }
    .sort-button { height: 100%; min-height: 46px; }
    .catalog-search input { height: 46px; padding-right: 46px; }
    .catalog-search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
    .search-clear:not([hidden]) { display: flex; align-items: center; justify-content: center; position: absolute; right: 2px; top: 1px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #111; -webkit-text-fill-color: #111; font: 26px/1 Arial, sans-serif; cursor: pointer; touch-action: manipulation; }
    .search-clear:focus-visible { outline: 2px solid #111; outline-offset: -3px; }
}

@media (max-width: 600px) {
    .pagination button[aria-current="page"] { background: #e5e5e5; color: #000; border-color: #111; }
}

@media (max-width: 600px) {
    .content { padding: 24px 8px; }
    .catalog { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 8px; align-items: stretch; min-height: 0 !important; }
    .scooter-card { width: 100%; max-width: none; min-width: 0; padding: 8px; }
    .scooter-card-image { height: clamp(120px, 38vw, 180px); }
    .scooter-card-name { font-size: clamp(14px, 4vw, 18px); line-height: 1.25; height: 72px; margin-top: 8px; }
    .see-button { margin-top: 10px; padding: 10px 6px; font-size: 14px; }
    .catalog-results { min-height: 0 !important; }
    .catalog-results > .pagination { margin: 20px 0 0; padding-top: 0; gap: 8px; }
    .catalog-footer { margin-top: 20px; }
}

.mobile-gallery { display: none; }
@media (max-width: 600px) {
    #galleryImage { display: none; }
    .mobile-gallery { display: flex; width: 100%; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
    .mobile-gallery::-webkit-scrollbar { display: none; }
    .mobile-gallery-slide { flex: 0 0 100%; min-width: 0; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; display: flex; align-items: center; justify-content: center; }
    .mobile-gallery-slide img { width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
    .catalog-footer { padding: 14px 0 20px; }
    .footer-sections { gap: 2px 20px; }
    .footer-link { padding-top: 4px; padding-bottom: 4px; }
    .catalog-footer p.footer-disclaimer { margin: 8px 0 0; }
}

/* Factory limit explanations open on click or keyboard activation. */
.spec-limit-note { display: inline; }
.spec-limit-note > summary { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin-left: 3px; border: 1px solid #777; border-radius: 50%; color: #555; -webkit-text-fill-color: #555; font-size: 12px; font-weight: 700; line-height: 1; vertical-align: middle; cursor: pointer; list-style: none; }
.spec-limit-note > summary::-webkit-details-marker { display: none; }
.spec-limit-note > summary:hover { color: #111; border-color: #111; background: #eee; }
.spec-limit-note > summary:focus-visible { outline: 2px solid #111; outline-offset: 3px; }
.spec-limit-note > p { margin: 8px 0 0; padding: 9px 11px; border: 1px solid #ddd; border-radius: 6px; background: #f7f7f7; color: #555; font-size: 13px; font-weight: 400; line-height: 1.5; white-space: normal; }
.spec-limit-note:not([open]) > p { display: none; }

/* Keep the K1 / Plus / Lite / Max comparison visible below its gallery. */
.product-detail.compact-k1 { padding-top: 30px; }
.product-detail.compact-k1 .product-layout { row-gap: 16px; }
.product-detail.compact-k1 .gallery-image-container { width: 821.34px; height: min(606.528px, max(220px, calc(100svh - 320px))); }
.product-detail.compact-k1 .spec-source { margin-top: 8px; margin-bottom: 10px; }
@media (max-width: 1000px) {
    .product-detail.compact-k1 .gallery-image-container { width: 75.816vw; height: min(56.862vw, max(200px, calc(100svh - 320px))); }
}
@media (max-width: 600px) {
    .product-detail.compact-k1 { padding-top: 18px; }
    .product-detail.compact-k1 .gallery-image-container { width: 94.77vw; height: min(75.816vw, max(180px, calc(100svh - 320px))); }
}

/* Enlarge only the first Kukirin M4 Pro photo in the catalog and gallery. */
.scooter-card-image img[src='assets/images/Kukirin/kukirinm4pro.png'], .gallery-image-container img[src='assets/images/Kukirin/kukirinm4pro.png'] { transform: scale(1.2); }
.mobile-gallery-slide:has(> img[src='assets/images/Kukirin/kukirinm4pro.png']) { overflow: hidden; }

/* Center mobile checkmarks independently of the phone font metrics. */
@media (max-width: 600px) {
    .custom-checkbox { -webkit-appearance: none; padding: 0; }
    .custom-checkbox:checked::after { content: ''; box-sizing: border-box; left: 50%; top: 50%; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: translate(-50%, -60%) rotate(45deg); }
}
