/* ========================================
   EbidMotor.com - Exact Clone Stylesheet
   ======================================== */

:root {
    --red: #d32f2f;
    --red-dark: #b71c1c;
    --dark-bg: #1e1e2d;
    --dark-secondary: #2d2d3d;
    --yellow: #ffc107;
    --text: #333;
    --text-light: #fff;
    --muted: #6c757d;
    --border: #e0e0e0;
    --light-bg: #f8f9fa;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: #fff;
    overflow-x: hidden;
}

a { text-decoration: none; transition: all 0.3s; }
img { max-width: 100%; height: auto; }

/* ===== LOADING OVERLAY ===== */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: var(--dark-bg);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s;
}
.loading-overlay.hide { opacity: 0; pointer-events: none; }
.loading-logo span {
    display: inline-block;
    color: var(--red);
    font-size: 28px;
    font-weight: 700;
    margin: 0 2px;
    animation: pulse 1.2s infinite;
}
.loading-logo span:nth-child(2) { animation-delay: 0.1s; }
.loading-logo span:nth-child(3) { animation-delay: 0.2s; }
.loading-logo span:nth-child(4) { animation-delay: 0.3s; }
.loading-logo span:nth-child(5) { animation-delay: 0.4s; }
.loading-logo span:nth-child(6) { animation-delay: 0.5s; }
.loading-logo span:nth-child(7) { animation-delay: 0.6s; }
.loading-logo span:nth-child(8) { animation-delay: 0.7s; }
.loading-logo span:nth-child(9) { animation-delay: 0.8s; }
.loading-text { color: #999; font-size: 14px; margin-top: 10px; }
@keyframes pulse { 0%,100%{opacity:0.3} 50%{opacity:1} }

/* ===== TOP HEADER (DESKTOP) ===== */
.top-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.top-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}
.header-logo img { height: 42px; }
.header-nav { flex: 1; display: flex; justify-content: center; }
.main-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
}
.main-menu > li { position: relative; }
.main-menu > li > a {
    display: block;
    padding: 10px 20px;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
}
.main-menu > li > a:hover { color: var(--red); }
.main-menu > li > a i { font-size: 9px; margin-left: 4px; }
.dropdown-menu-custom {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 200px;
    padding: 8px 0;
    list-style: none;
    display: none;
    z-index: 999;
}
.has-dropdown:hover .dropdown-menu-custom { display: block; }
.dropdown-menu-custom li a {
    display: block;
    padding: 8px 16px;
    color: var(--text);
    font-size: 13px;
}
.dropdown-menu-custom li a:hover { background: var(--light-bg); color: var(--red); }

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.btn-login {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
}
.btn-login:hover { background: var(--red); color: #fff; }
.lang-selector { position: relative; }
.lang-current {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 12px;
    cursor: pointer;
}
.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: none;
    min-width: 100px;
    z-index: 999;
}
.lang-selector:hover .lang-dropdown { display: block; }
.lang-dropdown a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    color: var(--text);
    font-size: 12px;
}
.lang-dropdown a:hover { background: var(--light-bg); }

/* ===== MOBILE HEADER ===== */
.mobile-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.mobile-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
}
.mobile-menu-btn {
    background: none;
    border: none;
    width: 24px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}
.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
}
.mobile-logo img { height: 28px; }
.mobile-header-right { display: flex; align-items: center; gap: 10px; }
.mobile-login-btn { color: var(--muted); font-size: 18px; }
.lang-selector-mobile { position: relative; }
.lang-current-mobile {
    background: none;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 11px;
    cursor: pointer;
}
.lang-dropdown-mobile {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 4px;
    display: none;
    z-index: 999;
}
.lang-selector-mobile:hover .lang-dropdown-mobile { display: block; }
.lang-dropdown-mobile a { display: block; padding: 6px 12px; font-size: 11px; color: var(--text); }

/* ===== MOBILE SIDEBAR ===== */
.mobile-sidebar { position: fixed; inset: 0; z-index: 2000; display: none; }
.mobile-sidebar.open { display: block; }
.mobile-sidebar-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.mobile-sidebar-content {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 280px;
    background: #fff;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0,0,0,0.2);
}
.mobile-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid var(--border);
}
.mobile-sidebar-close { background: none; border: none; font-size: 20px; cursor: pointer; }
.mobile-sidebar-menu { list-style: none; padding: 10px 0; }
.mobile-sidebar-menu li a {
    display: block;
    padding: 12px 20px;
    color: var(--text);
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
}
.mobile-sidebar-menu li a:hover { background: var(--light-bg); color: var(--red); }

/* ===== QUICK CATEGORY BAR ===== */
.quick-category-bar {
    background: #fff;
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.quick-category-inner {
    display: flex;
    justify-content: center;
    padding: 12px 15px;
    gap: 20px;
    min-width: max-content;
}
.quick-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text);
    gap: 6px;
    min-width: 70px;
}
.quick-cat-icon { width: 40px; height: 40px; border-radius: 8px; background: #fff5f5; display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--red); }
.quick-cat-icon.new { background: #e3f2fd; color: #1565c0; }
.quick-cat-icon.free { background: #e8f5e9; color: #2e7d32; }
.quick-cat-icon.sell { background: #fff3e0; color: #e65100; }
.quick-cat-icon.bid { background: #f3e5f5; color: #7b1fa2; }
.quick-cat-item span { font-size: 10px; text-align: center; white-space: nowrap; }
.quick-cat-item:hover { color: var(--red); }
.quick-cat-item:hover .quick-cat-icon { background: #ffebee; color: var(--red); }

/* ===== PROMO BANNERS ===== */
.promo-banner-top, .promo-banner-middle { background: #f0f0f0; }
.promo-placeholder {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 12px;
    background: #e8e8e8;
}

/* ===== HERO SLIDER ===== */
.hero-slider { background: #eee; }
.hero-slide {
    height: 400px;
    background-size: cover;
    background-position: center;
}
.heroSwiper .swiper-button-next,
.heroSwiper .swiper-button-prev { color: #fff; }
.heroSwiper .swiper-button-next::after,
.heroSwiper .swiper-button-prev::after { font-size: 18px; }
.heroSwiper .swiper-pagination-bullet { background: #fff; opacity: 0.5; }
.heroSwiper .swiper-pagination-bullet-active { background: var(--red); opacity: 1; }
@media(max-width:768px) { .hero-slide { height: 200px; } }

/* ===== MAIN TABS SECTION ===== */
.main-tabs-section {
    padding: 30px 0 40px;
    background: #fff;
}
.promo-title {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--red);
    margin-bottom: 20px;
}
.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
}
.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 2px solid var(--border);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    transition: all 0.3s;
}
.tab-btn img { width: 24px; height: 24px; }
.tab-btn.active, .tab-btn:hover {
    border-color: var(--red);
    background: #fff5f5;
    color: var(--red);
}
.tab-label-full { display: inline; }
.tab-label-short { display: none; }
@media(max-width:576px) {
    .tab-label-full { display: none; }
    .tab-label-short { display: inline; }
    .tab-btn { padding: 8px 14px; font-size: 12px; }
}

.tab-content { display: none; }
.tab-content.active { display: block; }

/* Moto Grid */
.moto-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}
.moto-grid-card {
    display: block;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s;
}
.moto-grid-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
    color: var(--text);
}
.moto-grid-img {
    height: 160px;
    background: #f5f5f5;
    overflow: hidden;
}
.moto-grid-img img { width: 100%; height: 100%; object-fit: cover; }
.moto-grid-info { padding: 12px; }
.moto-grid-name {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.moto-grid-price { margin-bottom: 8px; }
.price-label { display: block; font-size: 11px; color: var(--muted); }
.price-amount { font-size: 16px; font-weight: 700; color: var(--red); }
.moto-grid-tags { display: flex; gap: 6px; }
.tag-cash, .tag-loan {
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 3px;
    font-weight: 500;
}
.tag-cash { background: #e8f5e9; color: #2e7d32; }
.tag-loan { background: #e3f2fd; color: #1565c0; }

/* ===== FREE ADVERTISING ===== */
.free-advertising-section {
    padding: 50px 0;
    background: #fff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.free-ad-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--text);
}
.free-ad-title em { color: var(--red); font-style: italic; font-weight: 800; }
.free-ad-subtitle { color: var(--muted); font-size: 14px; margin-top: 5px; }
.free-ad-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.feature-icon-circle {
    width: 45px;
    height: 45px;
    min-width: 45px;
    border-radius: 50%;
    background: #ffeaea;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    font-size: 18px;
}
.free-ad-feature-item p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.5; }
.btn-free-market {
    background: var(--red);
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    padding: 10px 28px;
    border-radius: 4px;
    border: 2px solid var(--red);
    margin-right: 10px;
}
.btn-free-market:hover { background: var(--red-dark); color: #fff; }
.btn-post-ad {
    font-weight: 600;
    font-size: 13px;
    padding: 10px 28px;
    border-radius: 4px;
    border: 2px solid #333;
    color: #333;
    background: #fff;
}
.btn-post-ad:hover { background: #333; color: #fff; }

/* ===== WHY CHOOSE US ===== */
.why-choose-section {
    padding: 40px 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
}
.section-heading { font-size: 15px; font-weight: 600; margin-bottom: 20px; }
.why-items { display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; }
.why-item { text-align: center; max-width: 200px; }
.why-icon { width: 55px; height: 55px; margin: 0 auto 10px; }
.why-icon img { width: 100%; height: 100%; }
.why-item p { font-size: 12px; color: var(--muted); line-height: 1.4; }

/* ===== SERVICES ===== */
.services-section { padding: 30px 0; background: #fff; border-bottom: 1px solid var(--border); }
.services-grid { display: flex; justify-content: center; }
.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text);
    padding: 20px 40px;
    border-right: 1px solid var(--border);
    transition: background 0.3s;
}
.service-card:last-child { border-right: none; }
.service-card:hover { background: var(--light-bg); color: var(--red); }
.service-icon { color: var(--red); font-size: 30px; margin-bottom: 10px; }
.service-card p { font-size: 13px; font-weight: 500; margin: 0; }

/* ===== CUSTOMER FEEDBACK ===== */
.feedback-section { padding: 40px 0; background: #fff; border-bottom: 1px solid var(--border); }
.feedback-title { text-align: center; font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.feedback-subtitle { text-align: center; font-size: 13px; color: var(--muted); margin-bottom: 25px; }
.feedbackSwiper { padding-bottom: 10px; }
.feedback-item {
    border-radius: 10px; overflow: hidden; background: #f5f5f5;
    border: 1px solid #eee; transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}
.feedback-item:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,0.1); }
.feedback-item img { width: 100%; height: 180px; object-fit: cover; display: block; }
.feedback-info { padding: 10px 12px; background: #fff; height: 80px; overflow: hidden; position: relative; }
.feedback-name { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.feedback-desc { font-size: 11px; color: var(--muted); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media(max-width:576px) { .feedback-item img { height: 150px; } }

/* ===== BANKING ===== */
.banking-section { padding: 40px 0; background: #fff; border-bottom: 1px solid var(--border); }
.banking-title { font-size: 18px; font-weight: 400; margin-bottom: 25px; }
.banking-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.banking-logos img {
    height: 28px;
    padding: 5px 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
}

/* ===== FOOTER ===== */
.footer-main { background: var(--dark-bg); color: #ccc; padding: 50px 0 30px; }
.footer-brand img { height: 35px; }
.contact-list { list-style: none; padding: 0; margin: 15px 0 0; }
.contact-list li { display: flex; gap: 10px; margin-bottom: 10px; font-size: 13px; }
.contact-list li i { color: #888; margin-top: 3px; width: 14px; }
.contact-list li a { color: #ccc; }
.contact-list li a:hover { color: #fff; }
.showroom-block { align-items: flex-start; }
.showroom-block div strong { color: #fff; font-size: 12px; display: block; margin-bottom: 3px; }
.showroom-block div p { color: #999; font-size: 11px; margin: 0 0 12px; line-height: 1.5; }
.showroom-link { color: var(--yellow); font-size: 13px; font-weight: 600; display: inline-flex; gap: 5px; align-items: center; }
.showroom-link:hover { color: #ffca2c; }
.footer-company-reg { margin-top: 15px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-company-reg strong { color: #fff; font-size: 11px; }
.footer-heading { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links li a { color: #999; font-size: 13px; }
.footer-links li a:hover { color: #fff; }
.operating-hours-list { list-style: none; padding: 0; }
.operating-hours-list li { margin-bottom: 12px; }
.operating-hours-list li strong { color: #fff; font-size: 12px; display: block; margin-bottom: 3px; }
.operating-hours-list li p { color: #999; font-size: 12px; margin: 0; }
.newsletter-form .input-group { max-width: 280px; }
.newsletter-form .form-control {
    background: #3a3a4a;
    border: none;
    color: #fff;
    font-size: 12px;
    border-radius: 20px 0 0 20px;
    padding: 10px 15px;
}
.newsletter-form .form-control::placeholder { color: #888; }
.newsletter-form .form-control:focus { background: #4a4a5a; box-shadow: none; color: #fff; }
.newsletter-btn { border-radius: 0 20px 20px 0; background: var(--red); border: none; padding: 10px 16px; }
.social-list { list-style: none; padding: 0; }
.social-list li { margin-bottom: 10px; }
.social-list li a { display: flex; align-items: center; gap: 10px; color: #ccc; font-size: 13px; }
.social-list li a:hover { color: #fff; }
.social-circle {
    width: 30px; height: 30px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; color: #fff;
}
.social-circle.fb { background: #1877f2; }
.social-circle.tiktok { background: #000; }
.social-circle.ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-circle.yt { background: #ff0000; }

/* ===== BRAND LOGOS ===== */
.brand-logos-section { background: #333; padding: 35px 0; border-top: 1px solid #444; }
.brand-logos-row {
    display: flex; flex-wrap: wrap; justify-content: center;
    align-items: center; gap: 22px; margin-bottom: 15px;
}
.brand-logos-row:last-child { margin-bottom: 0; }
.brand-logos-row img { height: 30px; opacity: 0.9; transition: opacity 0.3s; }
.brand-logos-row img:hover { opacity: 1; }

/* ===== SEO ===== */
.seo-section { background: var(--light-bg); padding: 25px 0; }
.seo-title { font-size: 11px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.seo-section p { font-size: 10px; color: var(--muted); line-height: 1.6; margin-bottom: 6px; }

/* ===== COPYRIGHT ===== */
.copyright-bar { background: var(--dark-bg); border-top: 1px solid rgba(255,255,255,0.05); padding: 12px 0; }
.copyright-bar p { margin: 0; color: #888; font-size: 11px; }

/* ===== MOBILE BOTTOM NAV ===== */
.mobile-bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: #fff; display: flex; justify-content: space-around;
    padding: 6px 0; z-index: 1050;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
    border-top: 1px solid var(--border);
}
.mobile-bnav-item {
    display: flex; flex-direction: column; align-items: center;
    color: #666; font-size: 9px; text-decoration: none;
    gap: 3px; padding: 4px 6px;
}
.mobile-bnav-item i { font-size: 18px; }
.mobile-bnav-item:hover, .mobile-bnav-item.active { color: var(--red); }
@media(max-width:991px) { body { padding-bottom: 65px; } }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed; bottom: 80px; right: 20px; z-index: 1040;
}
.whatsapp-float a {
    width: 50px; height: 50px; border-radius: 50%;
    background: #25d366; color: #fff; display: flex;
    align-items: center; justify-content: center;
    font-size: 26px; box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.whatsapp-float a:hover { transform: scale(1.1); }
@media(min-width:992px) { .whatsapp-float { bottom: 30px; } }

/* ===== RESPONSIVE ===== */
@media(max-width:768px) {
    .free-ad-title { font-size: 20px; }
    .banking-title { font-size: 15px; }
    .services-grid { flex-direction: column; }
    .service-card { border-right: none; border-bottom: 1px solid var(--border); padding: 15px 20px; flex-direction: row; gap: 12px; }
    .service-card:last-child { border-bottom: none; }
    .why-items { gap: 25px; }
    .moto-grid { grid-template-columns: repeat(2, 1fr); }
    .moto-grid-img { height: 120px; }
}
@media(max-width:576px) {
    .free-ad-feature-item { flex-direction: column; align-items: center; text-align: center; }
    .free-ad-buttons .btn { display: block; width: 100%; margin: 0 0 10px; }
    .btn-free-market { margin-right: 0; }
    .banking-logos img { height: 22px; padding: 4px 8px; }
    .brand-logos-row img { height: 22px; }
    .brand-logos-row { gap: 12px; }
}


/* ========================================
   Used Motorcycle Page - Matching Original
   ======================================== */

/* Breadcrumb */
.um-breadcrumb { background: #fff; padding: 12px 0; border-bottom: 1px solid var(--border); }
.breadcrumb-list { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; font-size: 12px; }
.breadcrumb-list li::after { content: '›'; margin-left: 8px; color: var(--muted); }
.breadcrumb-list li:last-child::after { content: ''; }
.breadcrumb-list li a { color: var(--red); }
.breadcrumb-list li.active { color: var(--muted); }

/* Page Header */
.um-page-header { background: #fff; padding: 25px 0; border-bottom: 1px solid var(--border); }
.um-page-header h1 { font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.um-page-header h2 { font-size: 14px; font-weight: 500; color: var(--muted); margin-bottom: 10px; }
.um-page-header p { font-size: 13px; color: var(--muted); max-width: 700px; line-height: 1.6; margin: 0; }

/* Deposit Table */
.um-deposit-info { background: #fff; padding: 20px 0; border-bottom: 1px solid var(--border); }
.deposit-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.deposit-table th {
    background: var(--light-bg);
    padding: 10px 15px;
    text-align: center;
    font-weight: 600;
    border: 1px solid var(--border);
    color: var(--text);
}
.deposit-table td {
    padding: 12px 15px;
    text-align: center;
    border: 1px solid var(--border);
    color: var(--text);
}
@media(max-width:768px) {
    .deposit-table { font-size: 10px; }
    .deposit-table th, .deposit-table td { padding: 8px 6px; }
}

/* Filter Section */
.um-filter-section {
    background: #fff;
    padding: 20px 0;
    border-bottom: 2px solid var(--red);
    position: sticky;
    top: 60px;
    z-index: 100;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.um-filter-form { display: flex; flex-wrap: wrap; gap: 15px; align-items: flex-end; }
.filter-row { display: flex; gap: 12px; flex: 1; }
.filter-group { flex: 1; }
.filter-group label { display: block; font-size: 11px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.filter-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 13px;
    background: #fff;
    appearance: auto;
}
.filter-select:focus { border-color: var(--red); outline: none; }
.filter-actions { display: flex; gap: 8px; align-items: flex-end; }
.btn-filter-search {
    width: 38px; height: 38px;
    background: var(--red); color: #fff; border: none;
    border-radius: 6px; cursor: pointer; font-size: 14px;
    display: flex; align-items: center; justify-content: center;
}
.btn-filter-search:hover { background: var(--red-dark); }
.btn-filter-reset {
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 12px;
    color: var(--muted);
    background: #fff;
    white-space: nowrap;
}
.btn-filter-reset:hover { background: var(--light-bg); color: var(--text); }
.filter-price-range { flex-basis: 100%; margin-top: 10px; }
.filter-price-range label { font-size: 11px; font-weight: 600; color: var(--text); margin-bottom: 6px; display: block; }
.price-range-slider { display: flex; gap: 10px; }
.price-range-slider input[type="range"] { flex: 1; accent-color: var(--red); }
.price-range-labels { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 4px; }

@media(max-width:768px) {
    .um-filter-form { flex-direction: column; }
    .filter-row { flex-direction: column; width: 100%; }
    .filter-actions { width: 100%; justify-content: flex-start; }
}

/* Listing Grid */
.um-listing-section { padding: 25px 0 40px; background: var(--light-bg); }
.um-listing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}
@media(max-width:991px) { .um-listing-grid { grid-template-columns: repeat(3, 1fr); } }
@media(max-width:768px) { .um-listing-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
@media(max-width:400px) { .um-listing-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* Motorcycle Card */
.um-moto-card {
    display: block;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.um-moto-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
    color: var(--text);
}
.um-moto-img {
    position: relative;
    height: 160px;
    background: #f5f5f5;
    overflow: hidden;
}
.um-moto-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.um-moto-card:hover .um-moto-img img { transform: scale(1.04); }
.um-moto-id {
    position: absolute; top: 8px; left: 8px;
    background: rgba(0,0,0,0.6); color: #fff;
    padding: 2px 7px; border-radius: 3px; font-size: 10px;
}
.um-moto-views {
    position: absolute; top: 8px; right: 8px;
    background: rgba(0,0,0,0.6); color: #fff;
    padding: 2px 7px; border-radius: 3px; font-size: 10px;
}
.um-moto-info { padding: 12px; }
.um-moto-name {
    font-size: 12px; font-weight: 600; margin-bottom: 8px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.um-moto-price-row { margin-bottom: 8px; }
.um-price-label { display: block; font-size: 10px; color: var(--muted); }
.um-price-value { font-size: 16px; font-weight: 700; color: var(--red); }
.um-moto-tags { display: flex; gap: 6px; }
.um-tag-cash { font-size: 10px; padding: 3px 8px; border-radius: 3px; background: #e8f5e9; color: #2e7d32; }
.um-tag-loan { font-size: 10px; padding: 3px 8px; border-radius: 3px; background: #e3f2fd; color: #1565c0; }

@media(max-width:576px) {
    .um-moto-img { height: 120px; }
    .um-moto-name { font-size: 11px; }
    .um-price-value { font-size: 14px; }
    .um-moto-info { padding: 8px; }
}

/* Pagination */
.um-pagination {
    display: flex; justify-content: center; gap: 5px;
    margin-top: 30px; flex-wrap: wrap;
}
.um-pagination .page-link {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 36px; height: 36px; padding: 0 10px;
    border: 1px solid var(--border); border-radius: 6px;
    font-size: 13px; color: var(--text); background: #fff;
    text-decoration: none; font-weight: 500;
}
.um-pagination .page-link.active { background: var(--red); color: #fff; border-color: var(--red); }
.um-pagination .page-link:hover:not(.active) { background: #fff5f5; border-color: var(--red); color: var(--red); }

/* No Results */
.um-no-results { text-align: center; padding: 60px 20px; }
.um-no-results i { font-size: 50px; color: #ddd; margin-bottom: 15px; display: block; }
.um-no-results h4 { color: var(--text); font-size: 16px; margin-bottom: 8px; }
.um-no-results p { color: var(--muted); font-size: 13px; }

/* Enquiry CTA */
.um-enquiry-cta { padding: 25px 0; background: #fff; border-top: 1px solid var(--border); }
.btn-enquiry {
    background: var(--light-bg); border: 2px dashed var(--border);
    padding: 15px 30px; border-radius: 8px; font-size: 14px;
    color: var(--text); cursor: pointer; font-weight: 500;
    transition: all 0.3s;
}
.btn-enquiry:hover { border-color: var(--red); color: var(--red); background: #fff5f5; }
.btn-enquiry i { margin-right: 8px; color: var(--red); }

/* Tutorial Section */
.um-tutorial-section { padding: 30px 0; background: var(--light-bg); border-top: 1px solid var(--border); }
.um-tutorial-section h3 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 18px; }
.tutorial-buttons { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.btn-tutorial {
    background: var(--red); color: #fff; padding: 10px 24px;
    border-radius: 6px; font-size: 13px; font-weight: 600;
}
.btn-tutorial:hover { background: var(--red-dark); color: #fff; }
.btn-tutorial-outline {
    background: #fff; color: var(--text); padding: 10px 24px;
    border-radius: 6px; font-size: 13px; font-weight: 600;
    border: 1px solid var(--border);
}
.btn-tutorial-outline:hover { border-color: var(--red); color: var(--red); }


/* ========================================
   Free Marketplace Page Styles
   ======================================== */

/* Post Ad Banner */
.fm-post-banner { background: #f0f0f0; }
.fm-post-banner .promo-placeholder { min-height: 60px; }

/* Filter Section - Free Marketplace */
.fm-filter-section {
    background: #fff;
    padding: 20px 0;
    border-bottom: 2px solid var(--red);
    position: sticky;
    top: 60px;
    z-index: 100;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.fm-filter-form { width: 100%; }
.fm-filter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto auto auto;
    gap: 12px;
    align-items: end;
}
.filter-actions-fm {
    display: flex;
    align-items: flex-end;
    padding-bottom: 2px;
}
@media(max-width:991px) {
    .fm-filter-grid { grid-template-columns: repeat(3, 1fr); }
}
@media(max-width:768px) {
    .fm-filter-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width:480px) {
    .fm-filter-grid { grid-template-columns: 1fr; }
}

/* Featured Card */
.fm-featured { padding: 20px 0; background: #fff; border-bottom: 1px solid var(--border); }
.fm-featured-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 10px;
    max-width: 400px;
}
.fm-featured-img { width: 80px; height: 80px; border-radius: 8px; overflow: hidden; background: #f5f5f5; }
.fm-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.fm-featured-info { display: flex; flex-direction: column; gap: 4px; }
.fm-badge-free {
    display: inline-block;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    width: fit-content;
}
.fm-featured-info p { font-size: 13px; color: var(--text); margin: 0; font-weight: 500; }


/* ========================================
   Product Detail Page Styles
   ======================================== */

/* Title Section (Mobile) */
.pd-title-section { padding: 15px 0; background: #fff; border-bottom: 1px solid var(--border); }
.pd-title { font-size: 18px; font-weight: 700; color: var(--text); margin: 0; }

/* Main Layout */
.pd-main-section { padding: 25px 0; background: #fff; }
.pd-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
@media(max-width:991px) { .pd-layout { grid-template-columns: 1fr; } }

/* Gallery */
.pd-gallery { position: relative; }
.pd-main-image {
    width: 100%; height: 350px; border-radius: 10px;
    overflow: hidden; background: #f5f5f5; margin-bottom: 12px;
}
.pd-main-image img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbnails { display: flex; gap: 8px; flex-wrap: wrap; }
.pd-thumb {
    width: 70px; height: 55px; border-radius: 6px; overflow: hidden;
    border: 2px solid transparent; cursor: pointer; background: #f5f5f5;
}
.pd-thumb.active { border-color: var(--red); }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.pd-views-count { font-size: 12px; color: var(--muted); }
.pd-share { position: relative; }
.pd-share-btn { background: none; border: 1px solid var(--border); border-radius: 6px; padding: 6px 12px; cursor: pointer; font-size: 14px; color: var(--muted); }
.pd-share-dropdown {
    position: absolute; top: 100%; right: 0; background: #fff;
    border: 1px solid var(--border); border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: none; min-width: 180px; z-index: 10; padding: 5px 0;
}
.pd-share:hover .pd-share-dropdown { display: block; }
.pd-share-dropdown a { display: flex; align-items: center; gap: 10px; padding: 8px 14px; font-size: 12px; color: var(--text); }
.pd-share-dropdown a:hover { background: var(--light-bg); }

/* Product Info */
.pd-info .pd-title { font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 15px; }
.pd-price-box { margin-bottom: 20px; padding: 15px; background: var(--light-bg); border-radius: 8px; border-left: 4px solid var(--red); }
.pd-price-label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.pd-price-amount { font-size: 28px; font-weight: 800; color: var(--red); }
.pd-monthly { margin-top: 6px; font-size: 12px; color: var(--muted); }
.pd-monthly strong { color: var(--text); }

/* CTA Buttons */
.pd-cta-buttons { display: flex; gap: 10px; margin-bottom: 20px; }
.btn-pd-cash, .btn-pd-loan {
    flex: 1; padding: 12px 16px; border: none; border-radius: 8px;
    font-size: 13px; font-weight: 600; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-pd-cash { background: #2e7d32; color: #fff; }
.btn-pd-cash:hover { background: #1b5e20; }
.btn-pd-loan { background: #1565c0; color: #fff; }
.btn-pd-loan:hover { background: #0d47a1; }
@media(max-width:576px) { .pd-cta-buttons { flex-direction: column; } }

/* Specs Table */
.pd-specs { margin-top: 15px; }
.pd-specs-table { width: 100%; border-collapse: collapse; }
.pd-specs-table tr { border-bottom: 1px solid #f0f0f0; }
.pd-specs-table td { padding: 10px 0; font-size: 13px; }
.spec-label { color: var(--muted); width: 45%; }
.spec-value { color: var(--text); font-weight: 500; }
.spec-phone { color: var(--red); font-weight: 600; }
.spec-phone:hover { color: var(--red-dark); }

/* Loan Section */
.pd-loan-section { padding: 20px 0; background: var(--light-bg); border-top: 1px solid var(--border); }
.pd-loan-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-loan-calc, .btn-loan-apply {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 14px 20px; border: none; border-radius: 8px;
    font-size: 14px; font-weight: 600; cursor: pointer; min-width: 220px;
}
.btn-loan-calc { background: #fff; border: 1px solid var(--border); color: var(--text); }
.btn-loan-calc:hover { border-color: var(--red); color: var(--red); }
.btn-loan-apply { background: var(--red); color: #fff; }
.btn-loan-apply:hover { background: var(--red-dark); }

/* Inspection Section */
.pd-inspection-section { padding: 30px 0; background: #fff; border-top: 1px solid var(--border); }
.pd-inspection-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 20px; flex-wrap: wrap; }
.insp-tab {
    padding: 10px 18px; font-size: 13px; font-weight: 500;
    border: none; background: none; cursor: pointer; color: var(--muted);
    border-bottom: 2px solid transparent; margin-bottom: -2px;
}
.insp-tab.active { color: var(--red); border-bottom-color: var(--red); }
.insp-content { display: none; }
.insp-content.active { display: block; }

/* Category Tabs */
.insp-category-tabs { display: flex; gap: 8px; margin-bottom: 15px; flex-wrap: wrap; }
.cat-tab {
    padding: 6px 14px; font-size: 12px; border-radius: 20px;
    border: 1px solid var(--border); background: #fff; cursor: pointer; color: var(--muted);
}
.cat-tab.active { background: var(--red); color: #fff; border-color: var(--red); }
.cat-content { display: none; }
.cat-content.active { display: block; }

/* Inspection Table */
.insp-table { width: 100%; border-collapse: collapse; }
.insp-table tr { border-bottom: 1px solid #f0f0f0; }
.insp-table td { padding: 10px 12px; font-size: 13px; }
.insp-table td:first-child { color: var(--text); }
.insp-badge { padding: 3px 10px; border-radius: 12px; font-size: 11px; font-weight: 500; }
.insp-good { background: #e8f5e9; color: #2e7d32; }
.insp-fair { background: #fff3e0; color: #e65100; }
.insp-poor { background: #ffebee; color: #c62828; }

/* Inspection Images */
.insp-images-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.insp-img-item { border-radius: 8px; overflow: hidden; height: 100px; background: #f5f5f5; }
.insp-img-item img { width: 100%; height: 100%; object-fit: cover; }
@media(max-width:576px) { .insp-images-grid { grid-template-columns: repeat(2, 1fr); } }

/* Notes */
.insp-notes-box { padding: 15px; background: var(--light-bg); border-radius: 8px; }
.insp-notes-box p { font-size: 13px; color: var(--text); margin: 0; line-height: 1.6; }

/* Related Section */
.pd-related-section { padding: 30px 0; background: var(--light-bg); border-top: 1px solid var(--border); }
.pd-related-title { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 18px; }
.pd-related-grid {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
}
@media(max-width:991px) { .pd-related-grid { grid-template-columns: repeat(3, 1fr); } }
@media(max-width:576px) { .pd-related-grid { grid-template-columns: repeat(2, 1fr); } }
