@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@900&display=swap');

:root {
    --primary: #f26d21;
    --primary-hover: #d95a16;
    --dark: #111111;
    --light: #ffffff;
    --gray: #f8f8f8;
    --text: #333333;
    --text-muted: #777777;
    --border: #eeeeee;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    color: var(--text);
    background-color: var(--gray);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }

/* Header */
header {
    background: var(--light);
    color: var(--dark);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
}




.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a {
    font-weight: bold;
    font-size: 0.95rem;
    transition: color 0.3s;
}
.nav-links a:hover { color: #f26d21; }

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Side Menu */
.overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); z-index: 1009;
    opacity: 0; visibility: hidden; transition: 0.3s;
}
.overlay.active { opacity: 1; visibility: visible; }

.side-menu {
    position: fixed; top: 0; left: -320px; width: 320px; max-width: 85vw; height: 100%; height: 100dvh;
    background: #fff; z-index: 1010;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 2px 0 16px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
}

/* モダンな薄型スクロールバー（左サイドメニュー用） */
.menu-content::-webkit-scrollbar,
.side-menu::-webkit-scrollbar {
    width: 6px;
}
.menu-content::-webkit-scrollbar-track,
.side-menu::-webkit-scrollbar-track {
    background: transparent;
}
.menu-content::-webkit-scrollbar-thumb,
.side-menu::-webkit-scrollbar-thumb {
    background-color: transparent;
    border-radius: 10px;
}
.menu-content:hover::-webkit-scrollbar-thumb,
.side-menu:hover::-webkit-scrollbar-thumb {
    background-color: #d1d5db; /* ホバー時のみ薄いグレーを表示 */
}
.menu-content,
.side-menu {
    scrollbar-width: thin;
    scrollbar-color: #d1d5db transparent;
}

.side-menu.active { left: 0; }
.side-menu.closing { left: -320px; }

.menu-header {
    flex-shrink: 0;
    background: var(--dark); color: var(--light);
    padding: 14px 20px; display: flex; justify-content: space-between; align-items: center;
}
.menu-header h2 { font-size: 1.2rem; margin: 0; }
.menu-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.btn-header-reset {
    background: rgba(255, 255, 255, 0.15);
    color: #f3f4f6;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 14px;
    padding: 4px 10px;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    line-height: 1.2;
}
.btn-header-reset:hover,
.btn-header-reset:active {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
}
.close-btn { font-size: 1.5rem; cursor: pointer; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; }

.menu-content {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px;
    padding-bottom: 24px;
}

.side-menu-footer {
    flex-shrink: 0;
    padding: 12px 16px;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    z-index: 10;
}
.btn-side-menu-submit {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    font-weight: bold;
    color: #ffffff;
    background: linear-gradient(135deg, #f26d21 0%, #e65100 100%);
    border: none;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(242, 109, 33, 0.35);
    white-space: nowrap;
    transition: transform 0.1s, box-shadow 0.2s;
}
.btn-side-menu-submit:active {
    transform: scale(0.98);
}

/* Filter Accordion */
.accordion {
    background-color: #fff;
    color: var(--text);
    cursor: pointer;
    padding: 15px;
    width: 100%;
    border: none; border-radius: 4px;
    text-align: left;
    outline: none;
    font-size: 1rem; font-weight: bold;
    transition: 0.3s;
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 5px;
    border-bottom: 1px solid #ccc;
}
.accordion:hover { background-color: #f9f9f9; }
.accordion.active { background-color: #fff; }
.panel {
    padding: 0 10px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    margin-bottom: 10px;
}

.filter-group h4 {
    font-size: 0.78rem;
    font-weight: 600;
    color: #888888;
    margin: 10px 0 6px 4px;
    letter-spacing: 0.04em;
}
.filter-group .pill-group {
    margin: 6px 0 12px;
}

.pill-group {
    display: flex; flex-wrap: wrap; gap: 8px; margin: 15px 0;
}
.filter-pill input { display: none; }
.pill-content {
    display: inline-block;
    padding: 6px 12px;
    background: #fefefe;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.2s;
}
.filter-pill input:checked + .pill-content {
    background: #f26d21;
    color: white;
    border-color: #f26d21;
}
.count-badge {
    background: rgba(0,0,0,0.1);
    padding: 2px 6px; border-radius: 10px; font-size: 0.75rem; margin-left: 5px;
}
.filter-pill input:checked + .pill-content .count-badge {
    background: rgba(255,255,255,0.2);
}

.filter-action {
    position: sticky; bottom: 0; background: #fff; padding: 15px;
    border-top: 1px solid #eee; text-align: center;
}
.btn-primary {
    background: #f26d21; color: #fff; border: none;
    padding: 12px 24px; font-size: 1.1rem; font-weight: bold;
    border-radius: 30px; cursor: pointer; width: 100%; transition: 0.3s;
}
.btn-primary:hover { background: var(--primary-hover); }

/* Hero */
.hero-compact {
    background: #000;
    color: #ddd;
    padding: 10px 5% 0px;
    text-align: center;
    border-bottom: 1px solid #eee;
    margin: 0;
}


.total-count-badge {
    display: inline-block;
    background: transparent;
    color: #777;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    padding: 2px 0;
}
.quantity {
    border: 1px dotted #333;
    border-radius: 5px;
    padding: 5px 8px;
}
.priceRange {
    border: 1px dotted #333;
    border-radius: 5px;
    padding: 5px 8px;
    margin-left: 10px;
}

.total-count-badge strong { font-size: 1.5rem; color: #f26d21; }
header .search-box {
    display: flex; flex: 1; max-width: 400px; margin: 0 20px;
    background: #f4f4f4; border-radius: 20px; overflow: hidden;
    border: 1px solid #ccc; transition: 0.3s;
}
header .search-box:focus-within {
    background: #fff; border-color: #f26d21; box-shadow: 0 0 0 2px rgba(242, 109, 33, 0.2);
}
header .search-box input {
    flex: 1; padding: 8px 15px; border: none; border-radius: 20px 0 0 20px;
    font-size: 0.95rem; outline: none; background: #fefefe;
}
header .search-box button {
    background: #eee; color: var(--text-muted); border: none;
    padding: 0 15px; font-weight: bold; cursor: pointer; transition: 0.2s;
}
header .search-box button:hover { color: #f26d21; }

.search-box button {
    background: #f26d21; color: #fff; border: none;
    padding: 0 25px; border-radius: 0 30px 30px 0; font-weight: bold;
    cursor: pointer; transition: 0.3s;
}


/* Grid & Cards */
.container { width: 95%; max-width: 1200px; margin: 0 auto; }
.section-title { font-size: 1.5rem; margin-bottom: 20px; border-left: 4px solid #f26d21; padding-left: 10px; }

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}
@media (min-width: 1101px) {
    .grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}
@media (min-width: 901px) and (max-width: 1100px) {
    .grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}
@media (min-width: 769px) and (max-width: 900px) {
    .grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
.card {
    background: var(--light); border-radius: 8px; overflow: hidden;
    display: flex; flex-direction: column; height: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05); transition: 0.3s;
    border: 1px solid var(--border);
}
.card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.card-img-wrapper { position: relative; width: 100%; aspect-ratio: 4/3; }
.card-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.favorite-icon {
    position: absolute; top: 10px; right: 10px;
    background: rgba(255,255,255,0.9); width: 32px; height: 32px;
    border-radius: 50%; display: flex; justify-content: center; align-items: center;
    color: var(--text-muted); cursor: pointer; transition: 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.favorite-icon:hover { color: #e91e63; }
.card-body { padding: 15px; display: flex; flex-direction: column; flex-grow: 1; }
.bike-title { 
    font-size: 1.05rem; 
    font-weight: bold; 
    min-height: 2.7em;
    line-height: 1.35; 
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}
.bike-title-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    min-width: 0;
    line-height: 1.35;
}
.card-maker-icon,
.maker-pill-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 18px;
    margin-right: 6px;
    flex-shrink: 0;
}
.maker-pill-icon-wrap {
    margin-right: 8px;
}
.card-maker-icon img,
.maker-pill-icon {
    max-width: 26px;
    max-height: 18px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
.card-maker-icon i {
    font-size: 14px;
    color: #777;
}
.bike-badges {
    min-height: 48px;
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 4px 6px;
}
.bike-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 0.75rem;
    padding: 4px 6px;
    border-radius: 4px;
    font-weight: normal;
    vertical-align: middle;
    box-sizing: border-box;
    white-space: nowrap;
}
.bike-badge i {
    font-size: 0.7rem;
    line-height: 1;
}
.bike-badge-new {
    background: #d32f2f;
    color: #fff;
    font-weight: bold;
}
.bike-badge-new i {
    color: #fff;
    margin-right: 3px;
}
.bike-badge-family {
    background: #555;
    color: #fff;
}
.bike-badge-engine {
    background: #333;
    color: #fff;
}
.bike-badge-pref {
    background: #fff;
    border: 1px solid #ccc;
    color: #666;
}
.bike-badge-pref i {
    color: #888;
    margin-right: 3px;
}
.bike-badge-ins {
    background: #fff;
    border: 1px solid #ccc;
    color: #666;
}
.bike-badge-ins i {
    color: #888;
    margin-right: 3px;
}
.bike-badge-war {
    background: #fff;
    border: 1px solid #ccc;
    color: #666;
}
.bike-badge-war i {
    color: #888;
    margin-right: 3px;
}
.bike-price { 
    font-size: 1.3rem; 
    font-weight: 900; 
    margin-bottom: 10px; 
    background: #ffffff;
    border: 1px solid #fafafa;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border-radius: 6px;
    padding: 10px;
}
.bike-details {
    display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 10px;
    background: #ffffff;
    border: 1px solid #fafafa;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border-radius: 6px;
    padding: 10px;
    margin-top: 0 !important;
}

/* Footer / SEO Links */
.seo-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.seo-link-group h4 { margin-bottom: 10px; font-size: 1rem; border-bottom: 1px solid #ccc; padding-bottom: 5px; }
.seo-link-group a { display: block; font-size: 0.9rem; margin-bottom: 5px; color: var(--text-muted); }
.seo-link-group a:hover { color: #f26d21; text-decoration: underline; }

footer { width: 100%; background: var(--dark); color: #888; text-align: center; padding: 40px 20px 20px; margin-top: 40px; }
.b2b-box { max-width: 600px; margin: 0 auto 30px; background: rgba(255,255,255,0.05); padding: 30px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); }
.b2b-box h3 { color: #fff; margin-bottom: 15px; }
.btn-outline { display: inline-block; border: 1px solid #888; color: #ccc; padding: 10px 20px; border-radius: 4px; margin: 5px; transition: 0.3s; }
.btn-outline:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: #fff; }

.mobile-only-btn { display: none; }

/* Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: block; }
    .mobile-only-btn { display: block; }
    .btn-outline-light { background: transparent; border: 1px solid #fff; color: #fff; padding: 10px 20px; border-radius: 30px; font-weight: bold; width: 100%; }
}

/* 繝｢繝ｼ繝繝ｫ逕ｨCSS */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    align-items: center; justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal-content {
    background: #fff;
    width: 95%; max-width: 600px;
    max-height: 90vh;
    border-radius: 12px;
    display: flex; flex-direction: column;
    overflow: hidden;
}
.modal-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px; border-bottom: 1px solid #eee;
}
.modal-close {
    font-size: 1.5rem; cursor: pointer; color: #888;
}
.modal-body {
    padding: 15px; overflow-y: auto;
}
.carousel-container { margin-bottom: 20px; }
#modal-main-image {
    width: 100%; height: auto; max-height: 300px; object-fit: contain; background: #000; border-radius: 8px;
}
.carousel-nav {
    display: flex; gap: 10px; overflow-x: auto; margin-top: 10px; padding-bottom: 5px;
}
.carousel-nav img {
    width: 60px; height: 40px; object-fit: cover; cursor: pointer; border: 2px solid transparent; border-radius: 4px;
}
.carousel-nav img.active { border-color: #f26d21; }
.custom-bar {
    height: 10px; background: linear-gradient(to right, #4CAF50, #FFC107, #F44336);
    border-radius: 5px; position: relative; margin-top: 10px;
}
.custom-indicator {
    width: 14px; height: 14px; background: #fff; border: 3px solid #333; border-radius: 50%;
    position: absolute; top: -2px; transform: translateX(-50%); box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Desktop Sidebar Fix & Refined Modal */
@media (min-width: 769px) {
    body { display: flex; flex-wrap: wrap; align-items: flex-start; }
    header { width: 100%; }
    .side-menu {
        position: sticky; top: 68px; left: 0; width: 260px; height: calc(100vh - 68px);
        box-shadow: none; border-right: 1px solid #eee;
        z-index: 10;
        display: block;
        overflow-y: auto;
        padding-bottom: 40px;
    }
    .menu-content {
        overflow-y: visible;
        padding-bottom: 60px;
    }
    #filter-form { align-self: stretch; }
    .main-wrapper { flex: 1; width: calc(100% - 260px); }
    .menu-header { display: none; }
    .side-menu-footer { display: none !important; }
    .overlay { display: none !important; }
}

/* Modal Refinement */
.modal-content {
    border-radius: 16px; border: none; box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}
.modal-header { padding: 20px 25px; border-bottom: none; }
#modal-title { font-size: 1.4rem; font-weight: 800; }
.modal-close {
    background: #f0f0f0; width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
    color: #555; transition: 0.2s;
}
.modal-close:hover { background: #e0e0e0; color: #000; }
.modal-body { padding: 0 25px 25px; }
.carousel-container {
    position: relative;
    margin-bottom: 20px;
}
#modal-main-image {
    width: 100%;
    height: auto;
    min-height: 240px;
    max-height: 380px;
    object-fit: contain;
    background: #0d0f12;
    border-radius: 12px;
    display: block;
    transition: opacity 0.12s ease-out;
    will-change: opacity;
}
.carousel-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin-top: 12px;
    padding: 4px 2px 8px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}
.carousel-nav img {
    flex-shrink: 0;
    width: 68px;
    height: 48px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 6px;
    opacity: 0.55;
    transition: opacity 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
    border: 2px solid transparent;
    background: #1a1a1a;
}
.carousel-nav img:hover {
    opacity: 0.95;
    transform: translateY(-2px);
}
.carousel-nav img.active {
    opacity: 1;
    border-color: #f26d21;
    box-shadow: 0 2px 8px rgba(242, 109, 33, 0.45);
    transform: translateY(-1px);
}

.spec-item {
    background: #f9f9f9; padding: 12px 15px; border-radius: 8px;
    font-size: 0.9rem; font-weight: bold; color: #444;
}
.spec-item i { color: #f26d21; width: 20px; }

.modal-footer {
    padding: 15px 25px; 
    background: #fafafa; 
    border-top: 1px solid #eee;
    display: flex;
    gap: 12px;
}
.modal-footer .btn-primary { 
    flex: 2;
    border-radius: 8px; 
    padding: 12px 18px; 
    font-size: 1.05rem; 
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
}
.modal-footer .btn-outline { border-radius: 8px; font-weight: bold; }



/* �0�0�0�0�0�0�0�0�0�0�0 */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 4px; }
::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #a8a8a8; }

/* �0�0�0�0n0�0�0�0�0�wpS */
.carousel-arrow {
    position: absolute;
    top: 150px;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 1.25rem;
    transition: background 0.2s, transform 0.15s, border-color 0.2s;
    user-select: none;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.carousel-arrow:hover {
    background: #f26d21;
    transform: translateY(-50%) scale(1.08);
    border-color: #f26d21;
}
.carousel-arrow:active {
    transform: translateY(-50%) scale(0.95);
}
.carousel-arrow.prev { left: 12px; }
.carousel-arrow.next { right: 12px; }




/* --- Recently added classes for Area and Modal --- */
.region-summary {
    font-weight: bold;
    font-size: 0.95rem;
    margin-bottom: 5px;
    color: #444;
    border-bottom: 1px solid #ddd;
    padding-bottom: 6px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.region-pill-group {
    margin-top: 10px;
    margin-bottom: 5px;
}

.btn-map-toggle {
    width: 100%;
    padding: 10px;
    font-size: 0.95rem;
    font-weight: bold;
    background: #fff;
    color: #555;
    border: 1px solid #bbb;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
}
.btn-map-toggle:hover { background: #f9f9f9; }
.btn-map-toggle:active { background: #e0e0e0; }

.btn-favorite-modal {
    flex: 1;
    padding: 12px 16px;
    font-size: 1rem;
    font-weight: bold;
    background: #fff;
    color: #555;
    border: 1px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.btn-favorite-modal:hover { background: #f9f9f9; }
.btn-favorite-modal:active { background: #e0e0e0; }.card { scroll-margin-top: 120px; }

@media (min-width: 769px) {
    #filter-form { align-self: stretch; }
}

/* ページ上部へ戻るボタン */
.back-to-top {
    position: fixed;
    bottom: -70px;
    right: 30px;
    background-color: #fff;
    color: #aaa;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: bottom 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), background-color 0.2s, color 0.2s, transform 0.2s;
    z-index: 1005;
    text-decoration: none;
}
.back-to-top:hover {
    background-color: #f26d21;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}


.back-to-top.show {
    bottom: 30px;
}


@media (max-width: 768px) {
    .back-to-top {
        width: 40px;
        height: 40px;
        right: 5px;
        font-size: 1.1rem;
    }
    .back-to-top.show {
        bottom: 30px;
    }
}

.card-body .shop-name {
    margin-top: 10px;
    padding: 0 10px; /* Align horizontally with the text inside the pills */
}
@media (max-width: 768px) {
    .card-body .shop-name {
        margin-top: 5px;
        padding: 0 10px;
    }
    .bike-title {
        min-height: auto;
        padding-bottom: 8px;
        margin-bottom: 12px;
        border-bottom: 1px solid #f0f0f0;
        box-shadow: 0 3px 5px -3px rgba(0, 0, 0, 0.08);
    }
    .bike-badges {
        min-height: auto;
        margin-bottom: 10px;
    }
    .modal-footer {
        padding: 10px 14px !important;
        gap: 8px !important;
    }
    .btn-favorite-modal {
        flex: 1 !important;
        padding: 10px 8px !important;
        font-size: 0.85rem !important;
        gap: 4px !important;
    }
    .modal-footer .btn-primary {
        flex: 2 !important;
        padding: 10px 10px !important;
        font-size: 0.88rem !important;
    }
}

/* 人気のモデル・カテゴリ下部配置時の余白 */
.popular-categories-container {
    margin-top: 120px;
}

@media (max-width: 768px) {
    header .search-box {
        margin: 0 10px;
        flex: 1;
        width: auto;
    }
    header .search-box input {
        font-size: 16px; /* Prevent iOS zoom */
        padding: 6px 10px;
    }
    header .search-box button {
        padding: 0 10px;
        font-size: 0.9rem;
    }
    
}

/* Hero Title */




.hero-title {
    margin: 0 0 0 0;
    font-size: 1.8rem;
}

/* 並べ替えセレクトボックスのリッチ化 */
.sort-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 10px 40px 10px 20px;
    border: 1px solid #ccc;
    border-radius: 30px;
    background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%23f26d21" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>') no-repeat right 15px center;
    font-size: 1.03rem;
    font-weight: 600;
    color: #444;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}
.sort-select:hover {
    border-color: #f26d21;
    box-shadow: 0 4px 15px rgba(242,109,33,0.1);
}
.sort-select:focus {
    outline: none;
    border-color: #f26d21;
    box-shadow: 0 0 0 3px rgba(242,109,33,0.2);
}
/* IE11対応（もしあれば） */
.sort-select::-ms-expand {
    display: none;
}

.search-box input::placeholder {
    color: #ccc;
}

.search-box input::placeholder {
    color: #ccc;
}

/* 固定ヘッダーの並べ替え */
.header-sort-wrapper {
    position: relative;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    margin-right: 15px;
}
#header-sort-btn {
    background: none; border: none; color: var(--text-muted); cursor: pointer;
    font-weight: bold; padding: 10px 15px; font-size: 0.95rem; transition: color 0.3s;
}
#header-sort-btn:hover { color: #f26d21; }
#header-sort-dropdown {
    display: none; position: absolute; top: 100%; right: 0; background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15); border-radius: 8px; overflow: hidden;
    z-index: 1009; min-width: 180px; border: 1px solid #eee;
}
#header-sort-dropdown.show { display: block; }
#header-sort-dropdown a {
    display: block; padding: 12px 20px; color: #444; text-decoration: none;
    font-size: 0.9rem; border-bottom: 1px solid #eee; transition: 0.2s;
}
#header-sort-dropdown a:hover { background: #f9f9f9; color: #f26d21; }
@media (max-width: 768px) {
    #header-sort-btn { display: none !important; }
}

#header-sort-dropdown a.active {
    background: #fff5f0; /* 薄いオレンジ背景 */
    color: #f26d21;
    font-weight: bold;
    border-left: 3px solid #f26d21;
    padding-left: 17px; /* ボーダー分(3px)を引いて全体の幅を維持 */
}

/* SP用オーバーラップヘッダー */

    #sp-sort-dropdown {
        display: none;
        position: fixed !important;
        top: 70px !important;
        right: 10px !important;
        left: auto !important;
        width: 250px;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
        z-index: 1006 !important;
        overflow: hidden;
    }
    #sp-sort-dropdown.show { display: block; }
    #sp-sort-dropdown a {
        display: block; padding: 12px 20px; color: #444; text-decoration: none;
        font-size: 0.9rem; border-bottom: 1px solid #eee; transition: 0.2s;
    }
    #sp-sort-dropdown a.active {
        background: #fff5f0;
        color: #f26d21;
        font-weight: bold;
        border-left: 3px solid #f26d21;
        padding-left: 17px;
    }

.sp-action-header { display: none; }

@media (max-width: 768px) {
    .sp-action-header {
        display: flex;
        position: fixed;
        top: 0; left: 0; right: 0;
        height: 65px;
        background: rgba(255,255,255,0.95);
        backdrop-filter: blur(10px);
        z-index: 1005;
        justify-content: space-around;
        align-items: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.06);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    .sp-action-header.visible {
        opacity: 1;
        pointer-events: auto;
    }
    .sp-action-btn {
        color: #333;
        font-size: 1.4rem;
        text-decoration: none;
        background: none;
        border: none;
        padding: 10px;
        cursor: pointer;
    }
    .col-toggle-pill {
        display: inline-flex;
        align-items: center;
        border: 1.5px solid #ccc;
        border-radius: 12px;
        padding: 1px 3px;
        font-size: 0.72rem;
        font-weight: bold;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        line-height: 1;
        background: #fff;
        cursor: pointer;
        user-select: none;
        box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    }
    .col-toggle-pill .opt {
        padding: 2px 4px;
        border-radius: 8px;
        color: #888;
        transition: background 0.2s, color 0.2s;
    }
    .col-toggle-pill .opt.active {
        background: #777;
        color: #fff;
    }
    .col-toggle-pill .divider {
        color: #ccc;
        font-size: 0.65rem;
        margin: 0 1px;
    }
    .sp-grid-toggle {
        display: none !important;
    }
}

/* 547px以下のスマホ縦向き専用：1列/2列切替機能 & 2列時コンパクトスタイル */
@media (max-width: 547px) {
    .sp-grid-toggle {
        display: inline-flex !important;
        padding: 6px !important;
        align-items: center;
        justify-content: center;
    }
    .grid.grid-2col {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .grid.grid-2col .card {
        border-radius: 8px !important;
    }
    .grid.grid-2col .card-body {
        padding: 8px 10px !important;
    }
    .grid.grid-2col .bike-title {
        font-size: 0.82rem !important;
        min-height: 2.6em !important;
        line-height: 1.3 !important;
        padding-bottom: 4px !important;
        margin-bottom: 6px !important;
        border-bottom: 1px solid #f0f0f0 !important;
        box-shadow: none !important;
    }
    .grid.grid-2col .bike-price {
        font-size: 1.05rem !important;
        margin-top: 2px !important;
    }
    .grid.grid-2col .bike-badges {
        min-height: auto !important;
        gap: 3px !important;
        margin-bottom: 4px !important;
    }
    .grid.grid-2col .bike-badges .badge,
    .grid.grid-2col .bike-badges span {
        font-size: 0.65rem !important;
        padding: 1px 4px !important;
        margin-right: 2px !important;
    }
    .grid.grid-2col .bike-details {
        font-size: 0.72rem !important;
        margin-top: 4px !important;
        gap: 4px !important;
        flex-wrap: wrap !important;
    }
    .grid.grid-2col .shop-name {
        font-size: 0.68rem !important;
        margin-top: 4px !important;
        padding: 0 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .grid.grid-2col .favorite-icon {
        width: 30px !important;
        height: 30px !important;
        font-size: 0.95rem !important;
        top: 6px !important;
        right: 6px !important;
    }
    .grid.grid-2col .compare-checkbox-wrapper {
        top: 6px !important;
        left: 6px !important;
        padding: 2px 6px !important;
        font-size: 0.68rem !important;
        gap: 3px !important;
        border-radius: 4px !important;
    }
    .grid.grid-2col .compare-check {
        width: 13px !important;
        height: 13px !important;
    }
    .grid.grid-2col .photo-count-badge {
        bottom: 6px !important;
        right: 6px !important;
        font-size: 0.65rem !important;
        padding: 2px 5px !important;
    }
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
}
@media (max-width: 768px) {
    .results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .results-header .sort-select {
        align-self: flex-start;
    }
    
    header .search-box {
        flex-shrink: 1;
    }
    header .search-box button {
        flex-shrink: 0; /* 検索ボタンが潰れないようにする */
    }
}

@media (max-width: 768px) {
    .hero-title { font-size: 1.25rem; }
    .total-count-badge {
    display: inline-block;
    background: transparent;
    color: #777;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    padding: 2px 0;
}
.quantity {
    border: 1px dotted #333;
    border-radius: 5px;
    padding: 5px 8px;
}
.priceRange {
    border: 1px dotted #333;
    border-radius: 5px;
    padding: 5px 8px;
    margin-left: 10px;
}

    .section-title { font-size: 1.1rem; }
    .results-header .sort-select { align-self: center !important; }
    
    header .pc-search-box { display: none !important; }
    .mobile-header-actions { display: flex; align-items: center; gap: 10px; }
    .mobile-header-actions .sp-action-btn { background: none; border: none; font-size: 1.3rem; color: #333; padding: 5px; cursor: pointer; }
    
    .sp-dropdown-menu {
        display: none;
        position: fixed;
        top: 70px;
        right: 10px;
        left: 10px;
        background: #fff;
        padding: 15px;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        z-index: 1006;
    }
    .sp-dropdown-menu.show { display: block; }
}
@media (min-width: 769px) {
    .mobile-header-actions, .sp-dropdown-menu { display: none !important; }
}

@media (max-width: 768px) {
    .results-header .sort-container { align-self: center !important; }
}

.logo {
    font-family: 'Montserrat', 'Arial Black', sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    line-height: 1;
}
.logo-icon {
    width: 24px;
    height: 24px;
    color: #f26d21;
    transform: skewX(-15deg); /* スピード感を出すために斜めに */
}

.m-logo {
    width: 32px;
    height: 24px;
    color: var(--dark);
    margin-right: -2px;
    margin-left: 5px;
}
.logo .oto {
    color: var(--dark);
    letter-spacing: -1px;
}

.logo .search {
    color: #ffffff; /* ヘッダーの白背景と同化させて中身を抜く */
    -webkit-text-stroke: 1.5px #f26d21; /* 最新ブラウザ用 */
    text-shadow: 
       -1px -1px 0 #f26d21,  
        1px -1px 0 #f26d21,
       -1px  1px 0 #f26d21,
        1px  1px 0 #f26d21; /* 古いブラウザやiOS用のアウトライン代替 */
    letter-spacing: 0.5px;
    margin-left: 2px;
    font-size: 22px; /* GP部分のように小さくする */
}
/* Ensure svg has fixed dimensions to prevent squishing */
.logo-icon {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px;
    color: var(--dark);
    transform: skewX(-15deg);
}

/* Mobile Logo Scaling */
@media (max-width: 768px) {
    .logo { font-size: 1.4rem; }
    .logo-icon { width: 26px !important; height: 26px !important; min-width: 26px; margin-right: 2px !important; }
    .m-logo { width: 26px; height: 18px; margin-left: 3px; }
    .logo .search { font-size: 16px; -webkit-text-stroke: 1px #f26d21; margin-left: 1px; text-shadow: -1px -1px 0 #f26d21, 1px -1px 0 #f26d21, -1px 1px 0 #f26d21, 1px 1px 0 #f26d21; }
    .logo .oto { letter-spacing: -0.5px; }
    
    /* Adjust header padding to give more breathing room */
    header { padding: 12px 10px; }
    .mobile-header-actions .sp-action-btn { font-size: 1.1rem; margin-left: 8px; }
    #hamburger { font-size: 1.4rem; margin-left: 10px; }
}


/* SP Search Box Form Styles */
.sp-search-box-form {
    display: flex;
    align-items: stretch;
    margin: 0;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 20px;
    overflow: hidden;
    background: #fefefe;
    /* Fix for iOS Safari overflow bug */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}
.sp-search-box-form input {
    flex: 1;
    padding: 10px 15px;
    border: none !important;
    background: transparent !important;
    outline: none;
    font-size: 16px;
    margin: 0;
    -webkit-appearance: none;
    border-radius: 0 !important;
    min-width: 0;
}
.sp-search-box-form button {
    background: #eee !important;
    border: none !important;
    padding: 0 15px !important;
    font-weight: bold;
    color: var(--text-muted) !important;
    cursor: pointer;
    margin: 0 !important;
    border-radius: 0 !important;
    -webkit-appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}


/* Favorites CSS */
/* .fav-badge replaced */ .old-fav-badge {
    background: #e74c3c;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 5px;
    vertical-align: top;
    position: relative;
    top: -2px;
}
.sp-action-btn /* .fav-badge replaced */ .old-fav-badge {
    position: absolute;
    top: 6px;
    right: 4px;
    padding: 2px 5px;
    font-size: 0.65rem;
    margin: 0;
    line-height: 1;
}
.favorite-icon.active {
    color: #e74c3c;
}
.favorite-icon {
    transition: color 0.2s, transform 0.2s;
}
.favorite-icon:active {
    transform: scale(1.3);
}


/* Comparison Feature CSS */
.compare-checkbox-wrapper {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255,255,255,0.92);
    padding: 6px 10px;
    border-radius: 6px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: bold;
    color: #333;
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: all 0.2s ease;
    border: 1px solid rgba(0,0,0,0.08);
}
.compare-checkbox-wrapper:hover {
    background: #ffffff;
    box-shadow: 0 3px 8px rgba(0,0,0,0.25);
}
.compare-checkbox-wrapper:has(.compare-check:checked) {
    background: #fff8f4;
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(242, 109, 33, 0.3);
}
.compare-check {
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    margin: 0;
    vertical-align: middle;
}
.compare-footer {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 -2px 15px rgba(0,0,0,0.1);
    padding: 10px 20px;
    z-index: 999;
    transition: bottom 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-top: 1px solid #eee;
}
.compare-footer.show {
    bottom: 0;
}
.compare-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}
.compare-footer-left {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
#compare-count-text {
    font-weight: bold;
    font-size: 1.05rem;
    color: #444;
    white-space: nowrap;
}
.btn-clear-compare {
    background: #f0f0f0;
    border: 1px solid #ddd;
    color: #666;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    transition: all 0.2s ease;
    line-height: 1;
}
.btn-clear-compare:hover {
    background: #e2e2e2;
    color: #222;
    border-color: #bbb;
}
.btn-clear-compare i {
    font-size: 0.85rem;
    color: #888;
}
.btn-clear-compare:hover i {
    color: #e74c3c;
}

/* Compare Table */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.compare-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    min-width: 600px;
}
.compare-table th, .compare-table td {
    border: 1px solid #eee;
    padding: 15px 8px;
    text-align: center;
    vertical-align: middle;
    word-break: break-word;
    overflow-wrap: break-word;
}
.compare-table th.row-header {
    background: #f9f9f9;
    font-weight: bold;
    color: #555;
    width: 90px;
    min-width: 90px;
    max-width: 90px;
    text-align: left;
    position: sticky;
    left: 0;
    z-index: 2;
    box-shadow: 2px 0 5px rgba(0,0,0,0.05);
}
.compare-table thead th {
    background: #fff;
    padding-top: 20px;
    min-width: 140px;
}
.compare-thumb-box {
    position: relative;
    cursor: pointer;
    display: inline-block;
    width: 100%;
    max-width: 140px;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.compare-thumb-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.compare-thumb-box img {
    width: 100%;
    display: block;
    border-radius: 8px;
    margin-bottom: 0 !important;
}
.compare-photo-badge {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.72);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 500;
    padding: 2px 7px;
    border-radius: 10px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    pointer-events: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    transition: background 0.2s;
}
.compare-thumb-box:hover .compare-photo-badge {
    background: var(--primary);
}
.compare-bike-title {
    font-weight: bold;
    font-size: 0.88rem;
    line-height: 1.35;
    margin-bottom: 5px;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
}
.no1-badge {
    display: inline-block;
    background: #f1c40f;
    color: #fff;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 12px;
    margin-left: 5px;
    vertical-align: middle;
    box-shadow: 0 2px 4px rgba(241,196,15,0.4);
    animation: pop 0.3s ease-out;
}
@keyframes pop {
    0% { transform: scale(0); }
    80% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Fix fav-badge to look like iOS notification */

.header-action.fav-link, .sp-action-btn.fav-link {
    position: relative;
    display: inline-block;
}






.header-action.fav-link {
    padding-right: 22px !important; /* Make sure there is enough space */
}
.sp-action-btn.fav-link {
    padding-right: 15px !important;
}
.fav-badge {
    background: #ff3b30 !important;
    color: white !important;
    font-size: 11px !important;
    font-weight: bold !important;
    height: 18px !important;
    min-width: 18px !important;
    border-radius: 9px !important;
    /* Use flex for absolute centering */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    top: -4px !important;
    right: 0px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2) !important;
    border: 1.5px solid #fff !important;
    box-sizing: border-box !important;
    padding: 0 4px !important;
    line-height: 0 !important; /* Forces text to rely purely on flex alignment */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

@media (max-width: 768px) {
    .compare-section-wrapper {
        border-radius: 0 !important;
    }
    .compare-table-container {
        padding: 0 0 20px 0; /* Slight padding on mobile so it breathes, but mostly full width */
    }
    .compare-table {
        min-width: 340px !important;
    }
    .compare-table th, .compare-table td {
        padding: 8px 5px !important;
        font-size: 0.82rem !important;
    }
    .compare-table th.row-header {
        width: 68px !important;
        min-width: 68px !important;
        max-width: 68px !important;
        padding: 8px 3px !important;
        font-size: 0.75rem !important;
        text-align: center !important;
        line-height: 1.3 !important;
        box-sizing: border-box !important;
    }
    .compare-table thead th {
        min-width: 130px !important;
        max-width: 140px !important;
        padding: 10px 5px 6px 5px !important;
    }
    .compare-thumb-box {
        max-width: 120px !important;
    }
    .compare-thumb-box img {
        max-width: 120px !important;
    }
    .compare-photo-badge {
        font-size: 0.62rem !important;
        padding: 2px 5px !important;
        bottom: 4px !important;
    }
    .compare-bike-title {
        font-size: 0.8rem !important;
        line-height: 1.25 !important;
    }
    .compare-table .no1-badge {
        font-size: 0.65rem !important;
        padding: 2px 5px !important;
    }
    .sp-only { display: inline !important; }
}
@media (min-width: 769px) {
    .sp-only { display: none !important; }
}
@media (min-width: 769px) {
    .compare-section-wrapper {
        border-radius: 12px;
        max-width: 1200px;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .compare-table-container {
        padding: 0 20px 20px 20px;
    }
}


/* User requested explicit badge positioning */
@media (min-width: 769px) {
    .header-action.fav-link .fav-badge {
        top: -4px !important;
        right: 5px !important;
    }
}
@media (max-width: 768px) {
    .sp-action-btn.fav-link .fav-badge {
        top: 2px !important;
        right: -2px !important;
    }
    .sp-action-btn.fav-link .fav-badge.overlap {
        top: 8px !important;
        right: -1px !important;
    }
}

/* Prevent footer count text from wrapping */
#compare-count-text {
    white-space: nowrap;
}


/* Compare button sizing & responsive layout */
#btn-open-compare {
    padding: 10px 24px !important;
    white-space: nowrap !important;
}

@media (min-width: 769px) {
    #btn-open-compare {
        max-width: 380px;
    }
}

@media (max-width: 768px) {
    .compare-footer {
        padding: 8px 12px !important;
    }
    .compare-footer-inner {
        gap: 8px !important;
    }
    .compare-footer-left {
        gap: 6px !important;
    }
    #compare-count-text {
        font-size: 0.85rem !important;
    }
    .btn-clear-compare {
        padding: 3px 8px !important;
        font-size: 0.75rem !important;
    }
    #btn-open-compare {
        font-size: 0.88rem !important;
        padding: 8px 12px !important;
        flex: 1 !important;
        width: auto !important;
        min-width: 0 !important;
    }
}

/* --- 写真スライド ＆ 詳細ページ遷移のハイブリッドUI --- */
.card-img-wrapper {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

/* 写真枚数バッジ */
.photo-count-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 12px;
    backdrop-filter: blur(4px);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
    pointer-events: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    transition: transform 0.2s ease, background 0.2s ease;
}

/* 写真拡大オーバーレイは枚数バッジ重視のため非表示 */
.photo-zoom-overlay {
    display: none !important;
}
.card-img-wrapper:hover .photo-count-badge {
    background: rgba(230, 81, 0, 0.95);
    transform: scale(1.08);
}

/* カードテキスト部分のホバーと詳細を見るリンク */
.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}


/* 写真モーダルのヘッダー・アクションスタイル */
.modal-photo-counter {
    font-size: 0.95rem;
    color: #666;
    font-weight: bold;
}
.btn-modal-detail-page {
    background: var(--primary);
    color: #fff;
    padding: 9px 16px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 0.88rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.btn-modal-detail-page:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* モーダルフッターボタンの横並び（1列）最適化 */
#bike-modal .modal-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    padding: 12px 16px !important;
}
#bike-modal .modal-footer-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
#bike-modal .btn-favorite-modal {
    padding: 8px 12px;
    font-size: 0.85rem;
    white-space: nowrap;
    border: 1px solid #ccc;
    background: #fff;
    color: #333;
    border-radius: 6px;
    cursor: pointer;
}
#bike-modal #modal-source-link,
#bike-modal .btn-modal-source {
    padding: 8px 12px;
    font-size: 0.85rem;
    white-space: nowrap;
    border: 1px solid #aaa !important;
    background: #fff !important;
    color: #222 !important;
    font-weight: bold;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
#bike-modal #modal-source-link:hover,
#bike-modal .btn-modal-source:hover {
    background: #f5f5f5 !important;
    border-color: #888 !important;
}


/* 写真特化ギャラリーモーダル */
#bike-modal .modal-content {
    max-width: 720px;
    width: 95%;
}
#bike-modal .carousel-container {
    margin-bottom: 8px;
}
#bike-modal #modal-main-image {
    max-height: 460px;
    min-height: 260px;
}
#bike-modal .carousel-nav {
    margin-top: 10px;
    padding-bottom: 6px;
}
#bike-modal .modal-body {
    padding: 0 20px 10px;
}
#bike-modal .modal-footer {
    padding: 12px 20px 16px;
    border-top: 1px solid #f0f0f0;
}

/* サイト共通ドロワーメニュー (PC・SP両対応) */
.site-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.site-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}
.site-drawer-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85%;
    height: 100%;
    background: #fff;
    box-shadow: -4px 0 24px rgba(0,0,0,0.18);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    display: flex;
    flex-direction: column;
}
.site-drawer-overlay.active .site-drawer-content {
    transform: translateX(0);
}
.site-drawer-header {
    padding: 18px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fafafa;
}
.site-drawer-close {
    background: none;
    border: none;
    font-size: 1.3rem;
    color: #888;
    cursor: pointer;
    padding: 4px;
}
.site-drawer-close:hover {
    color: #222;
}
.site-drawer-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}
.drawer-group {
    margin-bottom: 22px;
}
.drawer-group-title {
    font-size: 0.85rem;
    font-weight: bold;
    color: #777;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.drawer-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    font-size: 0.95rem;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.15s ease;
}
.drawer-item:hover {
    background: #f5f5f5;
    color: var(--primary);
    transform: translateX(2px);
}
.btn-header-menu {
    background: #f7f7f8;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 7px 14px;
    font-size: 0.88rem;
    font-weight: bold;
    color: #444;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    margin-left: 20px;
}
.btn-header-menu:hover {
    background: #eee;
    border-color: #ccc;
    color: var(--primary);
}

/* ==========================================================================
   Extracted Styles from index.php & detail.php (HTML Noise Reduction)
   ========================================================================== */

.panel.panel-open {
    max-height: none;
    overflow: visible;
}

.pill-content-flex {
    display: inline-flex;
    align-items: center;
}

.active-filters-box {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #eee;
}
.active-filters-title {
    font-size: 0.9rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
}
.active-filters-title i {
    color: var(--primary);
}
.active-filters-list {
    display: flex;
    flex-wrap: wrap;
}
.active-filters-clear {
    margin-top: 5px;
    text-align: right;
}
.active-filters-clear a {
    font-size: 0.8rem;
    color: #888;
    text-decoration: none;
}
.active-filters-clear a:hover {
    color: var(--primary);
}
.active-filter-pill {
    display: inline-flex;
    align-items: center;
    background: var(--primary);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin: 0 5px 8px 0;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
}
.active-filter-pill:hover {
    opacity: 0.82;
    color: #fff;
}
.active-filter-pill i {
    margin-left: 6px;
    font-size: 0.9em;
}

.color-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
    box-sizing: border-box;
}
.color-dot-white {
    background: #ffffff;
    border: 1px solid #bbb;
    box-shadow: inset 0 0 1px rgba(0,0,0,0.15);
}
.color-dot-rainbow {
    background: linear-gradient(135deg, #e74c3c, #f1c40f, #2ecc71, #3498db, #9b59b6);
    border: 1px solid #ccc;
}

details.region-group {
    margin-bottom: 10px;
}
details.region-group summary::-webkit-details-marker {
    display: none;
}
details.region-group summary i {
    font-size: 0.8em;
    color: #999;
    transition: transform 0.2s ease;
}
details.region-group[open] summary i {
    transform: rotate(180deg);
}

.breadcrumb {
    padding: 12px 20px;
    font-size: 0.85rem;
    color: #666;
    background: #f9f9f9;
    border-bottom: 1px solid #eee;
}
.breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.15s ease;
}
.breadcrumb a:hover {
    color: var(--primary);
}
.breadcrumb .sep,
.breadcrumb-sep {
    margin: 0 5px;
    color: #ccc;
}
.breadcrumb .current,
.breadcrumb-current {
    color: #333;
    font-weight: bold;
}
.breadcrumb-back-btn {
    color: var(--primary) !important;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    border: 1px solid var(--primary);
    border-radius: 20px;
    transition: all 0.2s ease;
    display: inline-block;
}
.breadcrumb-back-btn:hover {
    background: var(--primary);
    color: #fff !important;
}

.unit-sub {
    font-size: 0.7em;
    margin-left: 2px;
}

.bike-badge-new {
    background: #d32f2f !important;
    color: #fff !important;
    font-weight: bold !important;
}
.bike-badge-new i {
    color: #fff !important;
    margin-right: 3px;
}
.bike-code-sep {
    font-size: 0.9rem;
    color: #888;
}
.bike-tags-wrap {
    margin-bottom: 15px;
}
.bike-tag-chip {
    display: inline-block;
    background: #eee;
    color: #333;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 12px;
    margin-right: 5px;
    margin-bottom: 5px;
}
.empty-results-box {
    grid-column: 1 / -1;
    padding: 50px;
    text-align: center;
    background: #fff;
    border-radius: 8px;
}
.empty-results-box p {
    color: #666;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 20px;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 1rem;
}
.page-link {
    padding: 10px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #555;
    text-decoration: none;
    background: #fff;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.page-link:hover {
    background: #f9f9f9;
    border-color: #ccc;
}
.page-current {
    padding: 10px 16px;
    border: 1px solid var(--primary);
    border-radius: 6px;
    color: #fff;
    background: var(--primary);
    font-weight: bold;
}
.page-ellipsis,
.page-dots {
    padding: 10px 15px;
    color: #888;
}

.popular-categories-container {
    margin-top: 120px;
    padding-bottom: 40px;
}
.popular-box {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    border-left: 5px solid #f26d21;
}
.popular-box.popular-box-dark {
    border-left-color: #222;
}
.popular-box h4,
.popular-box-title {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}
.popular-box-title i,
.icon-fire {
    color: #f26d21;
}
.icon-fire {
    margin-right: 8px;
}
.icon-dark {
    color: #555;
    margin-right: 8px;
}
.popular-pills-wrap,
.popular-pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.popular-pills-wrap + h4,
.popular-pill-list + .popular-box-title {
    margin-top: 24px;
}
.btn-outline-light {
    padding: 6px 15px;
    font-size: 0.95rem;
    border: 1px solid #ddd;
    color: #555;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.2s ease;
    background: #f9f9f9;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-outline-light span,
.pill-cnt,
.popular-pill-count {
    background: #eee;
    color: #777;
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: bold;
    transition: all 0.2s ease;
}
.btn-outline-light:hover {
    background: #f26d21 !important;
    color: #fff !important;
    border-color: #f26d21 !important;
}
.btn-outline-light:hover span,
.btn-outline-light:hover .pill-cnt,
.btn-outline-light:hover .popular-pill-count {
    background: rgba(255,255,255,0.2) !important;
    color: #fff !important;
}
.popular-maker-icon {
    max-height: 20px;
    max-width: 23px;
    height: auto;
    display: block;
    margin-right: 4px;
}
.popular-maker-fa {
    color: #777;
    font-size: 18px;
    margin-right: 4px;
}

/* --- Detail Page Styles (detail.php) --- */
.detail-body {
    background: #f7f7f8;
    color: #333;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Sans", sans-serif;
}
.detail-page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 16px 60px;
}
@media (max-width: 768px) {
    .detail-page-wrapper {
        padding: 8px 12px 40px;
    }
}
.detail-breadcrumb {
    font-size: 0.76rem;
    color: #777;
    margin-bottom: 8px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}
.detail-breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.15s;
}
.detail-breadcrumb a:hover {
    color: var(--primary);
}
.detail-breadcrumb .sep {
    color: #ccc;
    font-size: 0.68rem;
}
.detail-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eaeaea;
}
@media (max-width: 768px) {
    .detail-nav-bar {
        margin-bottom: 10px;
        padding-bottom: 6px;
    }
}
.detail-nav-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    color: #555;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
}
.detail-nav-back:hover {
    color: var(--primary);
}
.detail-id-label {
    font-size: 0.85rem;
    color: #888;
}
.detail-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 32px;
    align-items: start;
}
@media (max-width: 860px) {
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}
.gallery-box {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.gallery-main {
    position: relative;
    width: 100%;
    height: 440px;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 600px) {
    .gallery-main { height: 280px; }
}
.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.gallery-thumbs {
    display: flex;
    gap: 8px;
    padding: 12px;
    overflow-x: auto;
    background: #fafafa;
    border-top: 1px solid #eee;
}
.gallery-thumb {
    width: 72px;
    height: 52px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.7;
    flex-shrink: 0;
    transition: all 0.2s;
}
.gallery-thumb.active, .gallery-thumb:hover {
    border-color: var(--primary);
    opacity: 1;
}
.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.info-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.detail-title {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.4;
    color: #222;
    margin: 0 0 16px;
}
.detail-price-box {
    background: #fff9f5;
    border: 1px solid #ffe3d1;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
}
.price-row-base {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
}
.price-label {
    font-size: 1.05rem;
    color: #555;
    font-weight: bold;
}
.price-value-main {
    font-size: 1.85rem;
    color: var(--primary);
    font-weight: 800;
}
.price-row-total {
    margin-top: 8px;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px dashed #ffd0b3;
}
.price-value-total {
    font-size: 1.35rem;
    color: #d32f2f;
    font-weight: 800;
}
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}
.spec-table th, .spec-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}
.spec-table th {
    width: 32%;
    background: #fcfcfc;
    color: #666;
    font-weight: bold;
    text-align: left;
}
.spec-table td {
    color: #222;
}
.spec-maker-link {
    color: #333;
    font-weight: bold;
    text-decoration: none;
}
.spec-maker-link:hover {
    color: var(--primary);
}
.spec-model-strong {
    color: var(--primary);
    font-size: 1.05rem;
}
.spec-genre-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.spec-genre-tag {
    background: #f0f4f8;
    color: #2c5282;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 0.82rem;
    font-weight: bold;
    text-decoration: none;
}
.spec-genre-tag:hover {
    background: #e2e8f0;
}
.spec-ins-valid {
    color: #2e7d32;
    font-weight: bold;
}
.spec-war-valid {
    color: #e65100;
    font-weight: bold;
}
.spec-muted {
    color: #777;
}
.action-btns {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}
@media (max-width: 500px) {
    .action-btns { flex-direction: column; }
}
.btn-source-ext {
    flex: 1;
    background: var(--primary);
    color: #fff;
    padding: 14px 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    font-size: 1.05rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(230,81,0,0.25);
    transition: all 0.2s;
}
.btn-source-ext:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}
.btn-fav-detail {
    background: #fff;
    border: 2px solid #ddd;
    color: #555;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}
.btn-fav-detail.active {
    border-color: #e91e63;
    color: #e91e63;
    background: #fff0f5;
}
.dealer-box {
    margin-top: 24px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.dealer-box-title {
    margin: 0 0 12px;
    font-size: 1.05rem;
    color: #222;
    display: flex;
    align-items: center;
    gap: 8px;
}
.dealer-box-title i {
    color: var(--primary);
}
.dealer-line {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.dealer-tel-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e8f5e9;
    color: #2e7d32 !important;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1px solid #c8e6c9;
}
.dealer-tel-sub {
    font-size: 0.75rem;
    color: #4caf50;
    font-weight: normal;
    margin-left: 4px;
}
.dealer-map {
    margin-top: 14px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ddd;
    height: 220px;
}
.dealer-map iframe {
    border: 0;
    width: 100%;
    height: 220px;
}
.related-section {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #eaeaea;
}
.related-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #222;
    display: flex;
    align-items: center;
    gap: 8px;
}
.related-title i {
    color: var(--primary);
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.detail-not-found {
    background: #fff;
    padding: 60px 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #eee;
    margin-top: 40px;
}
.detail-footer {
    background: #222;
    color: #bbb;
    padding: 40px 20px;
    text-align: center;
    margin-top: 60px;
}
.detail-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.compare-section-wrapper {
    margin-top: 40px;
    margin-bottom: 40px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    scroll-margin-top: 80px;
}
.compare-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}
.compare-section-title {
    margin: 0;
    font-size: clamp(1.1rem, 4vw, 1.4rem);
    white-space: nowrap;
}
.btn-close-compare {
    padding: 5px 15px !important;
    border-radius: 20px !important;
    cursor: pointer;
    background-color: #fff !important;
    color: #333 !important;
    border: 1px solid #ccc !important;
    width: auto !important;
}
.compare-table-container {
    padding-top: 15px;
}
.btn-open-compare {
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(242, 109, 33, 0.4);
}
.modal-title-wrap {
    flex: 1;
    min-width: 0;
    margin-right: 12px;
}
.modal-title-heading {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.modal-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.modal-photo-counter {
    font-size: 0.85rem;
    color: #888;
}
.modal-footer-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.btn-modal-source {
    padding: 8px 12px;
    font-size: 0.85rem;
    border: 1px solid #aaa;
    background: #fff;
    color: #222;
    font-weight: bold;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
.b2b-desc {
    color: #aaaaaa;
    font-size: 0.95rem;
    margin-bottom: 20px;
}
.drawer-header-label,
.menu-title {
    font-weight: bold;
    font-size: 1.1rem;
    color: #222;
}
.drawer-header-label i,
.menu-title i {
    margin-right: 6px;
}
.drawer-chevron {
    font-size: 0.75rem;
    color: #aaa;
}
.icon-primary {
    color: var(--primary) !important;
}
.icon-fav-pink {
    color: #e91e63;
}
.icon-blue {
    color: #1976d2;
}
.icon-red {
    color: #d32f2f;
}
.drawer-group-b2b {
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: 15px;
}
.drawer-b2b-text {
    font-size: 0.8rem;
    color: #888;
    line-height: 1.4;
    margin-bottom: 10px;
}
.detail-not-found-icon {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 16px;
}
.detail-not-found-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 12px;
}
.detail-not-found-desc {
    color: #777;
    margin-bottom: 24px;
}
.detail-not-found-btn {
    max-width: 280px;
    margin: 0 auto;
    display: inline-flex;
}
.card {
    cursor: pointer;
}
.bike-price {
    font-size: 1.4rem;
}
.related-grid .bike-price {
    font-size: 1.35rem;
}
.card-body .shop-name,
.shop-name {
    font-size: 0.75rem;
}
.pill-content-flex i.fa-industry {
    font-size: 17px;
    margin-right: 4px;
}
@media (max-width: 768px) {
    .popular-pills-wrap .btn-outline-light,
    .popular-pill-list .btn-outline-light {
        width: auto;
        padding: 6px 15px;
        font-size: 0.95rem;
        border: 1px solid #ddd;
        color: #555;
        background: #f9f9f9;
        border-radius: 20px;
        font-weight: normal;
    }
}

