/* Home discovery in the same visual language as the listing and price pages. */
body.wc-theme.page-home {
    --theme-ink: #25212d;
    --theme-ink-2: #514a5d;
    --theme-muted: #78717f;
    --theme-bg: #fff;
    --theme-line: #e8e5ec;
    --theme-accent: #00aeef;
    --theme-accent-dark: #008bc2;
    --theme-sand: #ecfaff;
    --theme-mint: #168db8;
    --theme-mint-soft: #effbff;
    --wc-primary: #00aeef;
    --wc-primary-d: #008bc2;
    --wc-text: #25212d;
    --wc-text-2: #514a5d;
    --wc-muted: #78717f;
    --wc-border: #e8e5ec;
    --bs-primary-rgb: 0, 174, 239;
    background: #fff;
}
body.wc-theme.page-home main { background: #fff; }
body.wc-theme.page-home main > .container,
body.wc-theme.page-home :is(.hero, .desktop-category-discovery) > .container { max-width: 1320px; }
body.wc-theme.page-home .hero,
body.wc-theme.page-home .hero.hero-personalized { color: #25212d; background: #f9fbfc; border-bottom: 1px solid #efedf2; }
body.wc-theme.page-home .hero .hero-inner { padding: 46px 0 34px; }
body.wc-theme.page-home .hero .hero-title { margin-bottom: 14px; color: #25212d; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.25; font-weight: 600; letter-spacing: -.025em; }
body.wc-theme.page-home .hero .hero-sub { max-width: 660px; color: #78717f; font-size: 15px; line-height: 1.8; }
body.wc-theme.page-home .hero .hs-bar { max-width: 740px; min-height: 60px; padding: 6px 17px 6px 6px; border: 1px solid #d6e0e4; border-radius: 12px; box-shadow: 0 4px 18px #202f3406; }
body.wc-theme.page-home .hero .hs-bar:focus-within { border-color: #75c2df; box-shadow: 0 0 0 3px #00aeef0c; }
body.wc-theme.page-home .hero .hs-icon { color: #95869f; }
body.wc-theme.page-home .hero .hs-btn { background: #00aeef; color: #fff; border: 0; border-radius: 8px; box-shadow: none; }
body.wc-theme.page-home .hero .hs-btn:hover { background: #008bc2; transform: none; box-shadow: none; }
body.wc-theme.page-home .hero .hero-suggests { margin-top: 18px; }
body.wc-theme.page-home .hero .hero-suggests-label { color: #89808f; font-weight: 400; }
body.wc-theme.page-home .hero .hero-suggest { color: #514a5d; background: #fff; border-color: #e8e5ec; border-radius: 7px; font-weight: 400; }
body.wc-theme.page-home .hero .hero-suggest:hover { background: #ecfaff; border-color: #b9dbe7; color: #00aeef; transform: none; }
body.wc-theme.page-home .hero .hero-suggest i { color: #9c8baa; }
body.wc-theme.page-home .hero .personal-hero-title { font-family: "Rubik", "Arial", sans-serif; font-size: clamp(40px, 4.5vw, 58px); font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
body.wc-theme.page-home .hero .hero-sub.personal-hero-question { font-size: 19px; }
body.wc-theme.page-home .hero.hero-personalized .hs-input { font-size: 18px; }
body.wc-theme.page-home .hero .personal-hero-title span { color: #00aeef; }
body.wc-theme.page-home .hero-recent { border-color: #e8e5ec; }
body.wc-theme.page-home .hero-recent-head h2 { color: #514a5d; font-weight: 500; font-size: 17px; }
body.wc-theme.page-home .hero-recent-item,
body.wc-theme.page-home .hero-recent-item.is-latest { grid-template-columns: minmax(0, 1fr) auto; background: #fff; border-color: #e8e5ec; color: #514a5d; }
body.wc-theme.page-home .hero-recent-item:hover { background: #fafeff; border-color: #b9dbe7; transform: none; }
body.wc-theme.page-home :is(.hero-recent-copy, .hero-recent-empty) strong { color: #514a5d; font-weight: 500; font-size: 15px; }
body.wc-theme.page-home :is(.hero-recent-copy, .hero-recent-empty) small,
body.wc-theme.page-home .hero-recent-head > span { color: #89808f; font-size: 13px; line-height: 1.5; }
body.wc-theme.page-home :is(.hero-recent-icon, .hero-recent-empty-icon, .desktop-viewed-empty-icon) { background: #effbff; border: 0; color: #168db8; }
body.wc-theme.page-home .hero-recent-arrow { color: #168db8; }
body.wc-theme.page-home .hero-recent-empty { border-color: #d6e0e4; background: #fff; }
body.wc-theme.page-home .home-shortcuts { padding-block: 30px 10px; }
body.wc-theme.page-home .home-shortcut-grid { display: flex; flex-wrap: nowrap; gap: 20px; overflow-x: auto; padding: 6px 3px 14px; scroll-snap-type: x proximity; }
body.wc-theme.page-home .home-shortcut { display: flex; flex: 1 0 112px; flex-direction: column; align-items: center; gap: 10px; min-width: 0; padding: 0; border: 0; color: #514a5d; background: transparent; text-decoration: none; text-align: center; font-size: 13px; scroll-snap-align: start; }
body.wc-theme.page-home .home-shortcut-image { display: block; flex-shrink: 0; width: 96px; height: 96px; overflow: hidden; border-radius: 50%; background: #f4f4f4; }
body.wc-theme.page-home .home-shortcut-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.wc-theme.page-home .home-shortcut:hover { color: #008bc2; background: transparent; }
body.wc-theme.page-home .home-shortcut:hover .home-shortcut-image { box-shadow: 0 0 0 2px #b9dbe7; }
body.wc-theme.page-home :is(.home-section-head, .desktop-category-discovery-head) h2 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
body.wc-theme.page-home .home-category-title { color: inherit; text-decoration: none; }
body.wc-theme.page-home .home-category-title:is(:hover, :focus-visible) { color: #008bc2; text-decoration: underline; text-underline-offset: 5px; }
body.wc-theme.page-home .home-section-link { padding: 5px 0; color: #168db8; border: 0; background: none; box-shadow: none; font-size: 12px; font-weight: 500; white-space: nowrap; }
body.wc-theme.page-home .home-section-link:hover { color: #00aeef; background: none; box-shadow: none; transform: none; }
body.wc-theme.page-home .desktop-category-discovery { padding: 28px 0; background: #fff; border-color: #efedf2; }
body.wc-theme.page-home :is(.desktop-viewed-card, .desktop-viewed-empty) { border-color: #e8e5ec; border-radius: 12px; background: #f9fbfc; box-shadow: none; }
body.wc-theme.page-home .desktop-viewed-card:hover { border-color: #b9dbe7; box-shadow: none; transform: none; }
body.wc-theme.page-home .home-viewed-listings .desktop-viewed-card { padding: 0; gap: 0; overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 2px 6px #202f3407; }
body.wc-theme.page-home .home-viewed-listings .desktop-viewed-thumb { aspect-ratio: 5 / 3; border-radius: 13px 13px 0 0; }
body.wc-theme.page-home .home-viewed-listings .desktop-viewed-thumb img { transform: none; }
body.wc-theme.page-home .home-viewed-listings .desktop-viewed-copy { padding: 10px 12px 0; }
body.wc-theme.page-home .home-viewed-listings .desktop-viewed-copy strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 39px; white-space: normal; overflow-wrap: anywhere; font-size: 13px; line-height: 1.5; font-weight: 500; }
body.wc-theme.page-home .home-viewed-listings .desktop-viewed-price { padding: 8px 12px 12px; color: #25212d; font-size: 15px; line-height: 1.4; font-weight: 600; overflow-wrap: anywhere; }
body.wc-theme.page-home .home-viewed-listings .desktop-viewed-location { padding: 8px 12px; border-top: 1px solid #edf1f3; color: #78717f; font-size: 11px; line-height: 1.5; }
body.wc-theme.page-home .home-viewed-listings .desktop-viewed-location i { margin-inline-end: 4px; }
body.wc-theme.page-home .home-price-tools { margin-block: 26px 38px !important; }
body.wc-theme.page-home .car-prices-banner,
body.wc-theme.page-home .car-prices-banner.nadlan-banner { --accent: #00aeef; --accent-d: #168db8; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; min-height: 128px; padding: 24px 8px; border: 0; border-block: 1px solid #e8e5ec; border-radius: 0; background: #fff; box-shadow: none; }
body.wc-theme.page-home .car-prices-banner::before { display: none; }
body.wc-theme.page-home .car-prices-banner:hover { border-color: #b9dbe7; background: #fff; transform: none; box-shadow: none; }
body.wc-theme.page-home .cpb-title { margin-bottom: 8px; color: #25212d; font-size: 20px; font-weight: 600; }
body.wc-theme.page-home .cpb-brand { display: none; }
body.wc-theme.page-home .cpb-sub { color: #726b79; font-size: 14px; line-height: 1.7; }
body.wc-theme.page-home .cpb-action { grid-column: auto; width: auto; padding: 8px 0; border: 0; border-radius: 0; background: transparent; color: #087da8; font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 5px; box-shadow: none; }
@media (max-width: 991.98px) {
    body.wc-theme.page-home .car-prices-banner,
    body.wc-theme.page-home .car-prices-banner.nadlan-banner { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 20px 8px; }
    body.wc-theme.page-home .cpb-action { justify-self: start; }
}
body.wc-theme.page-home .home-listings-section { margin-block: 38px !important; }
body.wc-theme.page-home .category-section + .category-section { padding-top: 30px; border-color: #efedf2; }
body.wc-theme.page-home .category-section-icon { background: #effbff; color: #168db8; border: 0; border-radius: 10px; width: 34px; height: 34px; }
body.wc-theme.page-home .home-listings-section > .row { --bs-gutter-x: 18px; --bs-gutter-y: 18px; }
body.wc-theme.page-home .home-listings-section .listing-col-5 { flex: 0 0 25%; width: 25%; max-width: 25%; }
body.wc-theme.page-home .listing-card.marketplace-card { display: flex !important; flex-direction: column; padding: 0; overflow: hidden; border: 1px solid #e8e5ec; border-radius: 17px; background: #fff; box-shadow: 0 2px 6px #202f3407; }
body.wc-theme.page-home .listing-card.marketplace-card:hover { transform: none; border-color: #ccc4d5; box-shadow: 0 5px 16px #202f340b; }
body.wc-theme.page-home .listing-card.marketplace-card .img-wrap { width: 100%; height: auto; aspect-ratio: 5 / 3; margin: 0; border-radius: 16px 16px 0 0; background: #f9fbfc; }
body.wc-theme.page-home .listing-card.marketplace-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transform: none; }
body.wc-theme.page-home .listing-card.marketplace-card .fav-btn { inset: 9px auto auto 9px; width: 33px; height: 33px; border: 1px solid #e8e5ec; border-radius: 50%; background: #fff; color: #514a5d; box-shadow: 0 1px 4px #0000000d; font-size: 15px; }
body.wc-theme.page-home .listing-card.marketplace-card .fav-btn.active { color: #00aeef; }
body.wc-theme.page-home .listing-card.marketplace-card .badge-sponsored { inset: 10px 10px auto auto; }
body.wc-theme.page-home .listing-card.marketplace-card .body { flex: 1; padding: 15px 17px; }
body.wc-theme.page-home .listing-card.marketplace-card .title { color: #25212d; font-size: 15px; font-weight: 500; line-height: 1.5; min-height: 0; margin-bottom: 10px; }
body.wc-theme.page-home .listing-card.marketplace-card .price { padding: 0; margin: 0 0 12px; border: 0; color: #25212d; background: transparent; box-shadow: none; font-size: 17px; font-weight: 600; }
body.wc-theme.page-home .listing-card.marketplace-card .specs { margin: 0; color: #78717f; font-size: 12px; font-weight: 400; }
body.wc-theme.page-home .marketplace-card-footer { min-height: 40px; padding: 10px 17px; border-top: 1px solid #edf1f3; color: #89808f; font-size: 12px; }
body.wc-theme.page-home .marketplace-card-footer i { margin-inline-end: 4px; }
body.wc-theme.page-home .home-sell-cta { min-height: 150px; border: 1px solid #d3ecf5; border-radius: 16px; background: #effbff; box-shadow: none; }
body.wc-theme.page-home .home-sell-cta h2 { color: #25212d; font-size: 25px; font-weight: 600; }
body.wc-theme.page-home .home-sell-cta p,
body.wc-theme.page-home .home-sell-cta-copy > span { color: #78717f; font-weight: 400; }
body.wc-theme.page-home .home-sell-cta-icon { background: #fff; color: #168db8; border: 0; }
body.wc-theme.page-home .home-sell-cta .btn { background: #00aeef; border-color: #00aeef; font-weight: 500 !important; box-shadow: none; }
body.wc-theme.page-home .home-sell-cta .btn:hover { background: #008bc2; box-shadow: none; transform: none; }
body.wc-theme.page-home .faq-title { font-size: 23px; font-weight: 600; }
body.wc-theme.page-home .faq-item,
body.wc-theme.page-home .faq-item[open] { border-color: #e8e5ec; box-shadow: none; border-radius: 12px; }
body.wc-theme.page-home .faq-q { font-weight: 500; }
@media (max-width: 1100px) {
    body.wc-theme.page-home .home-listings-section .listing-col-5 { flex-basis: 33.333333%; width: 33.333333%; max-width: 33.333333%; }
}
@media (max-width: 767.98px) {
    body.wc-theme.page-home #main-content { padding-top: 0 !important; }
    body.wc-theme.page-home .wc-desktop-header { border-bottom: 0; box-shadow: none !important; }
    body.wc-theme.page-home .home-viewed-listings .desktop-viewed-grid { width: 100%; margin-inline: 0; padding: 0 0 5px; display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; }
    body.wc-theme.page-home .home-viewed-listings .desktop-viewed-card { flex: 0 0 min(43%, 180px); min-height: 0; scroll-snap-align: start; }
    body.wc-theme.page-home .hero-recent-list { width: 100%; margin-inline: 0; padding: 0 0 4px; display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; }
    body.wc-theme.page-home .hero-recent-item { flex: 0 0 calc(50% - 4px); min-height: 68px; padding: 10px; gap: 6px; scroll-snap-align: start; }
    body.wc-theme.page-home .hero-recent-copy strong { font-size: 14px; }
    body.wc-theme.page-home .hero-recent-copy small { font-size: 12px; line-height: 1.5; white-space: normal; }
    body.wc-theme.page-home .mobile-cats-strip { display: none !important; }
    body.wc-theme.page-home .hero .hero-inner { padding: 28px 0; }
    body.wc-theme.page-home .hero .hero-sub { font-size: 13px; }
    body.wc-theme.page-home .hero .hs-bar { min-height: 54px; }
    body.wc-theme.page-home .hero .hs-input { font-size: 16px; }
    body.wc-theme.page-home .home-shortcuts { padding-top: 24px; }
    body.wc-theme.page-home .home-shortcut-grid { gap: 12px; }
    body.wc-theme.page-home .home-shortcut { flex: 0 0 82px; padding: 0; font-size: 12px; gap: 8px; }
    body.wc-theme.page-home .home-shortcut-image { width: 76px; height: 76px; }
    body.wc-theme.page-home .home-section-head { align-items: center; gap: 10px; margin-bottom: 16px; }
    body.wc-theme.page-home .home-section-head h2 { font-size: 20px; }
    body.wc-theme.page-home .home-listings-section .listing-col-5 { flex-basis: 50%; width: 50%; max-width: 50%; }
    body.wc-theme.page-home .home-listings-section > .row { --bs-gutter-x: 10px; --bs-gutter-y: 14px; }
    body.wc-theme.page-home .listing-card.marketplace-card .body { padding: 12px; }
    body.wc-theme.page-home .listing-card.marketplace-card .title { font-size: 13px; margin-bottom: 8px; }
    body.wc-theme.page-home .listing-card.marketplace-card .price { font-size: 15px; margin-bottom: 8px; }
    body.wc-theme.page-home .listing-card.marketplace-card .specs { font-size: 11px; }
    body.wc-theme.page-home .marketplace-card-footer { padding: 9px 12px; font-size: 11px; }
    body.wc-theme.page-home .price-banners-row { grid-template-columns: 1fr; gap: 12px; }
    body.wc-theme.page-home .car-prices-banner { padding: 16px; }
}

/* Slightly denser grid cards on wide screens; preserve readable text sizes. */
@media (min-width: 768px) {
    body.wc-theme.page-home .listing-card.marketplace-card:not(.is-list) .img-wrap { aspect-ratio: 1.85; }
    body.wc-theme.page-home .listing-card.marketplace-card:not(.is-list) .body { padding: 10px 14px; }
    body.wc-theme.page-home .listing-card.marketplace-card:not(.is-list) .title { margin-bottom: 6px; }
    body.wc-theme.page-home .listing-card.marketplace-card:not(.is-list) .price { margin-bottom: 8px; }
    body.wc-theme.page-home .listing-card.marketplace-card:not(.is-list) .marketplace-card-footer { min-height: 34px; padding: 7px 14px; }
}