 /* ======================= GLOBAL ======================= */
html, body {
    margin: 0;
    padding: 0;
}

.product_body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background: #f4f6f8;
    color: #111827;
    font-size: 16px; /* Increased */
    overflow-x: hidden;
}

.product_body * {
    box-sizing: border-box;
}

.product_container {
    width: 94%;
    max-width: 1200px;
    margin: 0 auto;
}

.product_link_reset {
    text-decoration: none;
    color: inherit;
}

/* ======================= HEADER ======================= */
.product_header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #1a1a1a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.product_header_bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 20px;
}

.product_header_left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.product_logo_wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.product_logo_img {
    height: 36px;
    width: 36px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 2px solid #ffffff;
    background: #ffffff;
    padding: 2px;
}

.product_logo_text {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
}

.product_top_nav {
    display: flex;
    gap: 20px;
    font-size: 14px;
    font-weight: 500;
}

.product_top_nav a {
    text-decoration: none;
    color: #ffffff;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.product_top_nav a:hover {
    color: #e0e0e0;
}

.product_top_nav a.product_nav_active {
    color: #ffffff;
    border-color: #ffffff;
}

.product_header_center {
    flex: 1;
    display: flex;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
}

.product_header_right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.product_header_social {
    display: none;
}

.product_header_social_icon {
    display: none;
}

/* Login Button */
.product_login_btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #4285F4;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s;
    border: none;
}

.product_login_btn:hover {
    background: #357ae8;
}

.product_login_btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.product_login_btn span {
    display: inline-block;
}

/* User Menu */
.product_user_menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.product_user_link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.2s;
}

.product_user_link:hover {
    background: rgba(255, 255, 255, 0.15);
}

.product_user_avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: block;
}

.product_user_avatar_placeholder {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #4285F4;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.product_user_text {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.product_logout_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.product_logout_btn:hover {
    background: rgba(220, 53, 69, 0.3);
    border-color: rgba(220, 53, 69, 0.5);
}

.product_logout_btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

.product_search_box_header {
    position: relative;
}

.product_search_box_header input {
    padding: 8px 36px 8px 14px;
    border-radius: 20px;
    border: 1px solid #3a3a3a;
    font-size: 14px;
    width: 100%;
    min-width: 200px;
    background: #2a2a2a;
    color: #ffffff;
    transition: border-color 0.2s, background 0.2s;
}

.product_search_box_header input:focus {
    outline: none;
    border-color: #4a4a4a;
    background: #333333;
}

.product_search_box_header input::placeholder {
    color: #9ca3af;
}

.product_search_icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #9ca3af;
    pointer-events: none;
}

/* Responsive Header */
@media (max-width: 1024px) {
    .product_header_center {
        max-width: 300px;
    }
    
    .product_search_box_header input {
        min-width: 150px;
    }
}

@media (max-width: 768px) {
    .product_header_bar {
        padding: 10px 0;
        gap: 12px;
    }
    
    .product_header_left {
        gap: 12px;
    }
    
    .product_top_nav {
        display: none;
    }
    
    .product_header_center {
        max-width: 200px;
    }
    
    .product_search_box_header input {
        min-width: 120px;
        font-size: 13px;
        padding: 6px 32px 6px 12px;
    }
    
    .product_header_social {
        display: none;
    }
    
    .product_header_right {
        gap: 8px;
    }
    
    .product_login_btn {
        padding: 6px;
        border-radius: 50%;
        min-width: 32px;
        width: 32px;
        height: 32px;
        font-size: 0;
    }
    
    .product_login_btn span {
        display: none;
    }
    
    .product_login_btn svg {
        width: 18px;
        height: 18px;
    }
    
    .product_user_menu {
        gap: 6px;
    }
    
    .product_user_link {
        padding: 0;
        background: transparent;
        gap: 0;
        border-radius: 50%;
    }
    
    .product_user_link:hover {
        background: transparent;
        opacity: 0.8;
    }
    
    .product_user_text {
        display: none;
    }
    
    .product_user_avatar,
    .product_user_avatar_placeholder {
        width: 26px;
        height: 26px;
        font-size: 12px;
        border-width: 1px;
    }
    
    .product_logout_btn {
        width: 28px;
        height: 28px;
        min-width: 28px;
    }
    
    .product_logout_btn svg {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .product_top_nav {
        display: none;
    }
    
    .product_header_center {
        max-width: 150px;
    }
    
    .product_search_box_header input {
        min-width: 100px;
        font-size: 12px;
    }
    
    .product_header_social {
        display: none;
    }
    
    .product_header_right {
        gap: 5px;
    }
    
    .product_login_btn {
        width: 30px;
        height: 30px;
        min-width: 30px;
        padding: 5px;
    }
    
    .product_login_btn svg {
        width: 16px;
        height: 16px;
    }
    
    .product_user_avatar,
    .product_user_avatar_placeholder {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }
    
    .product_user_menu {
        gap: 5px;
    }
    
    .product_logout_btn {
        width: 26px;
        height: 26px;
        min-width: 26px;
    }
    
    .product_logout_btn svg {
        width: 13px;
        height: 13px;
    }
}

/* ======================= HERO ======================= */
.product_hero_section {
    background: #020617;
}

.product_hero_inner {
    padding: 14px 0 24px;
}

.product_hero_img_wrap {
    border-radius: 12px;
    overflow: hidden;
}

.product_hero_img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* Search card */
.product_hero_search_card {
    margin-top: -40px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(15,23,42,0.45);
    padding: 14px 14px 10px;
    position: relative;
    z-index: 2;
}

.product_hero_top_row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.product_hero_title {
    font-size: 22px; /* Increased */
    font-weight: 600;
}

.product_city_select {
    font-size: 16px; /* Increased */
    color: #4b5563;
    cursor: pointer;
}

.product_city_select span {
    font-weight: 600;
    margin-left: 4px;
}

.product_hero_tabs_row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.product_hero_tabs {
    display: inline-flex;
    border-radius: 999px;
    background: #f3f4f6;
    padding: 2px;
    gap: 2px;
}

.product_hero_tabs span {
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 15px; /* Increased */
    cursor: pointer;
    color: #4b5563;
}

.product_hero_tabs span.product_tab_active {
    background: #0ea5e9;
    color: #ffffff;
}

.product_hero_input_wrap {
    flex: 1;
    position: relative;
}

.product_hero_input_wrap input {
    width: 100%;
    padding: 8px 10px 8px 28px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    font-size: 15px; /* Increased */
}

.product_hero_input_icon {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #9ca3af;
}

.product_hero_filters_row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.product_chip {
    border-radius: 999px;
    background: #f3f4f6;
    padding: 5px 11px;
    font-size: 14px; /* Increased */
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.product_chip_primary {
    background: #e0f2fe;
    color: #0369a1;
}

/* ======================= MAIN LAYOUT ======================= */
.product_main {
    padding: 12px 0 20px;
}

.product_main_grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 14px;
}

/* Card */
.product_card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(15,23,42,0.08);
    padding: 12px 14px;
}

.product_card_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.product_card_title {
    font-size: 18px; /* Increased */
    font-weight: 600;
}

.product_card_subtitle {
    font-size: 14px; /* Increased */
    color: #6b7280;
}

.product_card_link {
    font-size: 15px; /* Increased */
    color: #0284c7;
    cursor: pointer;
}

.product_small_chip_row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 4px;
}

.product_small_chip {
    padding: 6px 10px;
    border-radius: 999px;
    background: #f3f4f6;
    font-size: 14px; /* Increased */
}

/* Grid */
.product_grid_auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.product_car_card {
    background: #f9fafb;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    padding: 8px;
}

.product_car_card_img {
    width: 100%;
    height: 92px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 6px;
}

.product_car_card_title {
    font-size: 15px; /* Increased */
    font-weight: 600;
    margin-bottom: 2px;
}

.product_car_card_price {
    font-size: 14px; /* Increased */
    color: #4b5563;
}

/* Tabs */
.product_tabs_bar {
    display: inline-flex;
    border-radius: 999px;
    background: #f3f4f6;
    padding: 2px;
    gap: 2px;
    margin-bottom: 8px;
}

.product_tabs_bar span {
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 14px; /* Increased */
    cursor: pointer;
    color: #4b5563;
}

.product_tabs_bar span.product_tab_active {
    background: #0ea5e9;
    color: #ffffff;
}

/* Brands */
.product_brand_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 10px;
    margin-top: 6px;
}

.product_brand_box {
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    padding: 8px 4px;
    text-align: center;
    font-size: 14px; /* Increased */
}

/* Upcoming */
.product_upcoming_list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.product_upcoming_item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 8px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    padding: 8px;
    background: #f9fafb;
}

.product_upcoming_img {
    width: 100%;
    height: 65px;
    object-fit: cover;
    border-radius: 8px;
}

.product_upcoming_title {
    font-size: 16px; /* Increased */
    font-weight: 600;
}

.product_upcoming_meta {
    font-size: 14px; /* Increased */
    color: #4b5563;
}

/* Compare */
.product_compare_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 8px;
}

.product_compare_card {
    padding: 8px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px; /* Increased */
}

.product_compare_cta {
    margin-top: 8px;
    text-align: right;
    font-size: 15px; /* Increased */
    color: #0284c7;
}

/* Cities */
.product_city_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
    font-size: 14px;
}

.product_city_box {
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    padding: 8px;
    background: #ffffff;
    text-align: center;
    font-size: 14px; /* Increased */
}

/* News */
.product_news_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
}

.product_news_card {
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product_news_img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.product_news_content {
    padding: 8px;
}

.product_news_title {
    font-size: 15px; /* Increased */
    font-weight: 600;
    margin-bottom: 3px;
}

.product_news_meta {
    font-size: 12px; /* Increased */
    color: #6b7280;
}

/* ======================= FOOTER ======================= */
.product_footer {
    background: #020617;
    color: #cbd5f5;
    padding: 18px 0 12px;
    font-size: 14px; /* Increased */
}

.product_footer_top {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 10px;
}

.product_footer_col_title {
    font-weight: 600;
    margin-bottom: 6px;
}

.product_footer_links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product_footer_links a {
    color: #cbd5f5;
    text-decoration: none;
    font-size: 14px; /* Increased */
}

.product_footer_bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border-top: 1px solid #1f2937;
    padding-top: 8px;
}

/* ======================= RESPONSIVE ======================= */
@media (max-width: 992px) {
    .product_main_grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .product_body {
        font-size: 13px; /* Optimized for mobile */
    }

    .product_top_nav {
        display: none;
    }

    .product_header_bar {
        padding: 6px 0;
    }

    .product_logo_img {
        height: 30px;
        width: 30px;
    }

    .product_hero_img {
        height: 190px;
    }

    .product_hero_search_card {
        margin-top: 8px;
        box-shadow: 0 6px 16px rgba(15,23,42,0.3);
    }

    .product_hero_tabs_row {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    .product_main {
        padding-top: 10px;
    }
}

@media (max-width: 480px) {
    .product_footer_top {
        gap: 18px;
    }
}


/* ========================================================
   FOOTER STYLES (matching main homepage footer)
======================================================== */
.site-footer {
    background: #0d1117;
    color: #c9d1d9;
    padding: 28px 0;
    margin-top: 20px;
}

.site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.site-footer a {
    color: #c9d1d9;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.footer-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-brand p {
    margin-top: 10px;
    color: #9aa4af;
    line-height: 1.6;
    font-size: 14px;
}

.footer-heading {
    font-size: 0.95rem;
    margin: 0 0 10px;
    color: #fff;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin: 6px 0;
    font-size: 14px;
}

.copyright {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
    margin-top: 16px;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .footer-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-brand img {
        margin: 0 auto;
        display: block;
    }
}

/* Section Header with Lines (Centered with 2 lines on each side) */
.section-header-with-lines {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 0 16px;
    padding: 0;
}

.header-lines-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    width: 100%;
}

.header-line {
    height: 2px;
    background: #e5e7eb;
    width: 100%;
}

.section-header-with-lines h2,
.section-header-with-lines .section_title,
.section-header-with-lines .product_section_title {
    margin: 0;
    padding: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    background: transparent;
    text-align: center;
    border-radius: 0;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .section-header-with-lines h2,
    .section-header-with-lines .section_title,
    .section-header-with-lines .product_section_title {
        font-size: 0.9rem;
        white-space: normal;
    }
}