 /* ======================= 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: #020617;
    box-shadow: 0 1px 4px rgba(15,23,42,0.8);
}

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

.product_header_left {
    display: flex;
    align-items: center;
    gap: 18px;
}

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

.product_logo_img {
    height: 30px;
    width: auto;
    display: block;
}

.product_logo_text {
    font-size: 22px; /* Increased */
    font-weight: 600;
    color: #e5f2ff;
}

.product_top_nav {
    display: flex;
    gap: 16px;
    font-size: 16px; /* Increased */
}

.product_top_nav a {
    text-decoration: none;
    color: #cbd5f5;
    padding-bottom: 3px;
    border-bottom: 2px solid transparent;
    font-size: 16px;
}

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

.product_header_right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product_search_box_header {
    position: relative;
}

.product_search_box_header input {
    padding: 6px 28px 6px 10px;
    border-radius: 16px;
    border: 1px solid #1f2937;
    font-size: 15px; /* Increased */
    min-width: 150px;
    background: #020617;
    color: #e5e7eb;
}

.product_search_box_header input::placeholder {
    color: #6b7280;
}

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

.product_header_icon_btn {
    font-size: 15px; /* Increased */
    color: #e5f2ff;
    cursor: pointer;
}

/* ======================= 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: 26px;
    }

    .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;
    }
}