/*
 * Home page composition.
 * Kept separate because the legacy stylesheet contains several generations of
 * home-page rules. Every selector here is route-scoped to prevent spill-over.
 */

body.wc-theme.page-home {
    background: var(--theme-bg);
}

body.wc-theme.page-home main {
    min-width: 0;
    overflow: clip;
}

/* Hero */
body.wc-theme.page-home .hero {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: #fff;
    background:
        radial-gradient(720px 340px at 82% 8%, rgba(47, 142, 130, .34), transparent 68%),
        linear-gradient(128deg, #102b33 0%, #17353e 58%, #1f4650 100%);
}

body.wc-theme.page-home .hero::before {
    display: none;
    content: none;
}

body.wc-theme.page-home .hero::after {
    display: none;
    content: none;
}

body.wc-theme.page-home .hero > .container {
    position: relative;
    z-index: 1;
    padding-top: 0;
}

body.wc-theme.page-home .hero .hero-inner {
    position: relative;
    z-index: 1;
    max-width: 940px;
    margin-inline: auto;
    padding: 54px 0 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

body.wc-theme.page-home .hero .hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    padding: 7px 11px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 7px;
    color: #dff6ff;
    background: rgba(255,255,255,.07);
    box-shadow: none;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .025em;
}

body.wc-theme.page-home .hero .hero-kicker i {
    color: var(--theme-sand);
}

body.wc-theme.page-home .hero .hero-title {
    max-width: 900px;
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(2.35rem, 4.3vw, 4.35rem);
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: -.055em;
    text-align: center;
    text-wrap: balance;
}

body.wc-theme.page-home .hero .hero-title .hero-title-brand {
    color: var(--theme-sand);
    font-weight: 900;
}

body.wc-theme.page-home .hero .hero-title .hero-title-sep {
    margin-inline: .12em;
    color: var(--theme-accent);
    font-weight: 700;
}

body.wc-theme.page-home .hero .hero-title .hero-title-tag {
    color: #fff;
}

body.wc-theme.page-home .hero .hero-sub {
    max-width: 720px;
    margin: 0 0 25px;
    color: #d8e4e2;
    font-size: 17px;
    line-height: 1.7;
    font-weight: 400;
    text-align: center;
}

body.wc-theme.page-home .hero .hs-bar {
    width: 100%;
    max-width: 770px;
    min-height: 66px;
    margin: 0;
    padding: 7px 16px 7px 7px;
    display: flex;
    align-items: center;
    gap: 9px;
    border: 2px solid #fff;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 0 rgba(5, 24, 29, .35);
}

body.wc-theme.page-home .hero .hs-bar:focus-within {
    border-color: var(--theme-sand);
    box-shadow: 0 12px 0 rgba(5, 24, 29, .35), 0 0 0 4px rgba(0, 174, 239, .2);
}

body.wc-theme.page-home .hero .hs-icon {
    flex: 0 0 auto;
    color: var(--theme-accent);
    font-size: 17px;
}

body.wc-theme.page-home .hero .hs-input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 12px 4px;
    border: 0;
    outline: 0;
    color: var(--theme-ink);
    background: transparent;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
}

body.wc-theme.page-home .hero .hs-input::placeholder {
    color: #87979b;
    font-weight: 400;
}

body.wc-theme.page-home .hero .hs-btn {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 9px;
    color: #fff;
    background: var(--theme-accent);
    box-shadow: none;
    font-size: 17px;
}

body.wc-theme.page-home .hero .hs-btn:hover {
    transform: translateY(-1px);
    background: var(--theme-accent-dark);
    box-shadow: none;
}

body.wc-theme.page-home .hero .hero-suggests {
    width: 100%;
    margin: 21px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

body.wc-theme.page-home .hero .hero-suggests-label {
    margin-inline-end: 4px;
    color: #a9bfbc;
    font-size: 12px;
    font-weight: 700;
}

body.wc-theme.page-home .hero .hero-suggest {
    min-height: 32px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 7px;
    color: #fff;
    background: rgba(255,255,255,.055);
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
}

body.wc-theme.page-home .hero .hero-suggest i {
    color: var(--theme-sand);
    font-size: 9px;
}

body.wc-theme.page-home .hero .hero-suggest:hover {
    color: #fff;
    border-color: rgba(255,255,255,.34);
    background: rgba(255,255,255,.11);
}

body.wc-theme.page-home .hero .hero-trust {
    width: 100%;
    max-width: 790px;
    margin: 28px 0 0;
    padding: 23px 0 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    overflow: visible;
    border: 0;
    border-top: 1px solid rgba(255,255,255,.16);
    border-radius: 0;
    color: #fff;
    background: transparent;
    box-shadow: none;
}

body.wc-theme.page-home .hero .hero-trust .ht-item {
    min-height: 52px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
    white-space: nowrap;
}

body.wc-theme.page-home .hero .hero-trust .ht-item + .ht-item {
    border-inline-start: 1px solid rgba(255,255,255,.14);
}

body.wc-theme.page-home .hero .hero-trust .ht-icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    color: var(--theme-ink);
    background: var(--theme-sand);
}

body.wc-theme.page-home .hero .hero-trust .ht-item i {
    color: inherit;
    font-size: 14px;
}

body.wc-theme.page-home .hero .hero-trust .ht-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    text-align: start;
}

body.wc-theme.page-home .hero .hero-trust .ht-title {
    color: #fff;
    font-size: 12.5px;
    font-weight: 800;
}

body.wc-theme.page-home .hero .hero-trust .ht-sub {
    margin-top: 3px;
    color: #a9bfbc;
    font-size: 10.5px;
    font-weight: 500;
}

/* Signed-in, identity-aware hero */
body.wc-theme.page-home .hero.hero-personalized {
    background:
        radial-gradient(620px 330px at 13% 8%, rgba(0, 174, 239, .17), transparent 70%),
        radial-gradient(760px 390px at 88% 0%, rgba(47, 142, 130, .38), transparent 67%),
        linear-gradient(124deg, #0d282f 0%, #17353e 54%, #214b53 100%);
}

body.wc-theme.page-home .hero.hero-personalized::before {
    opacity: .34;
    background-image:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 100% 42px, 42px 100%;
}

body.wc-theme.page-home .hero.hero-personalized::after {
    width: 190px;
    height: 190px;
    inset-inline-end: -82px;
    bottom: -96px;
    border-width: 30px;
    opacity: .65;
}

body.wc-theme.page-home .hero-personalized .hero-inner {
    max-width: 1060px;
    padding-block: 43px 40px;
    align-items: stretch;
    text-align: start;
}

body.wc-theme.page-home .personal-hero-heading {
    margin-bottom: 23px;
    display: flex;
    align-items: center;
    gap: 17px;
}

body.wc-theme.page-home .personal-hero-avatar {
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 12px;
    color: var(--theme-ink);
    background: var(--theme-sand);
    box-shadow: 5px 6px 0 rgba(4, 20, 24, .28);
    font-size: 25px;
    font-weight: 900;
}

body.wc-theme.page-home .personal-hero-copy {
    min-width: 0;
}

body.wc-theme.page-home .personal-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 5px;
    color: #a9bfbc;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .035em;
}

body.wc-theme.page-home .personal-hero-kicker i {
    color: var(--theme-accent);
}

body.wc-theme.page-home .hero .personal-hero-title {
    max-width: none;
    margin: 0;
    color: #fff;
    font-size: clamp(2.15rem, 4vw, 3.4rem);
    line-height: 1.08;
    text-align: start;
}

body.wc-theme.page-home .hero .personal-hero-title span {
    color: var(--theme-sand);
}

body.wc-theme.page-home .hero .personal-hero-question {
    margin: 5px 0 0;
    color: #d9e4e2;
    font-size: 16px;
    text-align: start;
}

body.wc-theme.page-home .hero-personalized .hs-bar {
    max-width: none;
}

body.wc-theme.page-home .hero-recent {
    width: 100%;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.16);
}

body.wc-theme.page-home .hero-recent-head {
    margin-bottom: 12px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}

body.wc-theme.page-home .hero-recent-head h2 {
    margin: 0;
    color: #fff;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 900;
    letter-spacing: -.015em;
}

body.wc-theme.page-home .hero-recent-head > span {
    color: #9eb5b2;
    font-size: 11px;
    font-weight: 500;
}

body.wc-theme.page-home .hero-recent-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
}

body.wc-theme.page-home .hero-recent-item {
    min-width: 0;
    min-height: 76px;
    padding: 11px 12px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 9px;
    color: #fff;
    background: rgba(255,255,255,.055);
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, background-color .18s ease;
}

body.wc-theme.page-home .hero-recent-item.is-latest {
    border-color: rgba(0, 174, 239, .48);
    background: rgba(0, 174, 239, .105);
}

body.wc-theme.page-home .hero-recent-item:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,.42);
    color: #fff;
    background: rgba(255,255,255,.1);
}

body.wc-theme.page-home .hero-recent-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 7px;
    color: var(--theme-sand);
    background: rgba(255,255,255,.075);
    font-size: 12px;
}

body.wc-theme.page-home .hero-recent-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

body.wc-theme.page-home .hero-recent-copy strong {
    overflow: hidden;
    color: #fff;
    font-size: 12.5px;
    line-height: 1.35;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.wc-theme.page-home .hero-recent-copy small {
    overflow: hidden;
    color: #a9bfbc;
    font-size: 10px;
    line-height: 1.25;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.wc-theme.page-home .hero-recent-arrow {
    color: rgba(255,255,255,.46);
    font-size: 9px;
    transition: transform .18s ease, color .18s ease;
}

body.wc-theme.page-home .hero-recent-item:hover .hero-recent-arrow {
    transform: translateX(-2px);
    color: var(--theme-accent);
}

body.wc-theme.page-home .hero-recent-empty {
    min-height: 72px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 11px;
    border: 1px dashed rgba(255,255,255,.23);
    border-radius: 9px;
    background: rgba(255,255,255,.035);
}

body.wc-theme.page-home .hero-recent-empty-icon {
    flex: 0 0 37px;
    width: 37px;
    height: 37px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--theme-sand);
    background: rgba(0, 174, 239, .1);
    font-size: 13px;
}

body.wc-theme.page-home .hero-recent-empty > span:last-child {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

body.wc-theme.page-home .hero-recent-empty strong {
    color: #fff;
    font-size: 12.5px;
    font-weight: 800;
}

body.wc-theme.page-home .hero-recent-empty small {
    color: #a9bfbc;
    font-size: 10.5px;
}

/* Section rhythm and headings */
body.wc-theme.page-home .desktop-category-discovery {
    padding: 34px 0 36px;
    border-top: 0;
    border-bottom: 1px solid var(--theme-line);
    background: #e8eeea;
}

body.wc-theme.page-home .desktop-category-discovery-head,
body.wc-theme.page-home .home-section-head {
    margin-bottom: 19px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
}

body.wc-theme.page-home .desktop-category-discovery-head h2,
body.wc-theme.page-home .home-section-head h2 {
    margin: 4px 0 0;
    color: var(--theme-ink);
    font-size: 24px;
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: -.035em;
}

body.wc-theme.page-home .home-section-eyebrow {
    display: block;
    color: var(--theme-accent-dark);
    font-size: 10.5px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .07em;
}

body.wc-theme.page-home .home-section-link {
    min-height: 38px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex: 0 0 auto;
    border: 1px solid var(--theme-line-strong);
    border-radius: 8px;
    color: var(--theme-ink-2);
    background: #fff;
    font-size: 12.5px;
    font-weight: 800;
    text-decoration: none;
}

body.wc-theme.page-home .home-section-link i {
    color: var(--theme-accent);
    font-size: 10px;
}

body.wc-theme.page-home .home-section-link:hover {
    transform: translateY(-1px);
    border-color: var(--theme-ink);
    color: var(--theme-ink);
    box-shadow: 3px 3px 0 var(--theme-mint-soft);
}

body.wc-theme.page-home .desktop-category-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

body.wc-theme.page-home .desktop-category-card {
    min-width: 0;
    min-height: 88px;
    padding: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--theme-line);
    border-radius: 10px;
    color: var(--theme-ink);
    background: #fff;
    box-shadow: 3px 3px 0 var(--theme-line-strong);
    text-decoration: none;
}

body.wc-theme.page-home .desktop-category-card:hover {
    transform: translateY(-2px);
    border-color: var(--theme-mint);
    color: var(--theme-ink);
    background: #fff;
    box-shadow: 5px 5px 0 var(--theme-mint-soft);
}

body.wc-theme.page-home .desktop-category-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f2d5c7;
    border-radius: 8px;
    color: var(--theme-accent-dark);
    background: #fff3eb;
    font-size: 17px;
}

body.wc-theme.page-home .desktop-category-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

body.wc-theme.page-home .desktop-category-copy strong {
    overflow: hidden;
    color: var(--theme-ink);
    font-size: 12.5px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.wc-theme.page-home .desktop-category-copy small {
    color: var(--theme-muted);
    font-size: 10px;
    white-space: nowrap;
}

body.wc-theme.page-home .desktop-category-arrow {
    margin-inline-start: auto;
    color: var(--theme-line-strong);
    font-size: 9px;
}

body.wc-theme.page-home .desktop-viewed-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

body.wc-theme.page-home .desktop-viewed-card {
    min-width: 0;
    min-height: 148px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid var(--theme-line);
    border-radius: 10px;
    color: var(--theme-ink);
    background: #fff;
    box-shadow: 3px 3px 0 var(--theme-line-strong);
    text-decoration: none;
}

body.wc-theme.page-home .desktop-viewed-card:hover {
    transform: translateY(-2px);
    border-color: var(--theme-mint);
    color: var(--theme-ink);
    box-shadow: 5px 5px 0 var(--theme-mint-soft);
}

body.wc-theme.page-home .desktop-viewed-thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: block;
    overflow: hidden;
    border-radius: 8px;
    background: var(--theme-surface-soft);
}

body.wc-theme.page-home .desktop-viewed-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .24s ease;
}

body.wc-theme.page-home .desktop-viewed-card:hover .desktop-viewed-thumb img {
    transform: scale(1.045);
}

body.wc-theme.page-home .desktop-viewed-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

body.wc-theme.page-home .desktop-viewed-copy strong {
    overflow: hidden;
    color: var(--theme-ink);
    font-size: 12.5px;
    font-weight: 850;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.wc-theme.page-home .desktop-viewed-copy small {
    overflow: hidden;
    color: var(--theme-muted);
    font-size: 10.5px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.wc-theme.page-home .desktop-viewed-price {
    margin-top: auto;
    color: var(--theme-accent-dark);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.2;
}

body.wc-theme.page-home .desktop-viewed-empty {
    min-height: 88px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 13px;
    border: 1px dashed var(--theme-line-strong);
    border-radius: 10px;
    color: var(--theme-ink);
    background: rgba(255, 255, 255, .72);
}

body.wc-theme.page-home .desktop-viewed-empty-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    border-radius: 9px;
    color: var(--theme-accent-dark);
    background: #fff3eb;
}

body.wc-theme.page-home .desktop-viewed-empty strong,
body.wc-theme.page-home .desktop-viewed-empty small {
    display: block;
}

body.wc-theme.page-home .desktop-viewed-empty strong {
    font-size: 13.5px;
    font-weight: 900;
}

body.wc-theme.page-home .desktop-viewed-empty small {
    margin-top: 3px;
    color: var(--theme-muted);
    font-size: 11.5px;
}

/* Price tools */
body.wc-theme.page-home .home-price-tools {
    margin-top: 34px !important;
    margin-bottom: 50px !important;
}

body.wc-theme.page-home .price-banners-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

body.wc-theme.page-home .car-prices-banner {
    --accent: var(--theme-mint);
    --accent-d: #216b63;
    min-width: 0;
    min-height: 132px;
    padding: 22px;
    border: 1px solid var(--theme-line);
    border-radius: 12px;
    color: var(--theme-ink);
    background: #fff;
    box-shadow: 4px 5px 0 rgba(23,53,62,.1);
}

body.wc-theme.page-home .car-prices-banner.nadlan-banner {
    --accent: var(--theme-accent);
    --accent-d: var(--theme-accent-dark);
}

body.wc-theme.page-home .car-prices-banner::before {
    inset-inline: 0;
    width: auto;
    height: 4px;
    border-radius: 12px 12px 0 0;
    background: var(--accent);
}

body.wc-theme.page-home .car-prices-banner::after {
    display: none;
}

body.wc-theme.page-home .car-prices-banner:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    color: var(--theme-ink);
    box-shadow: 6px 7px 0 color-mix(in srgb, var(--accent) 18%, white);
}

body.wc-theme.page-home .cpb-icon {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: var(--accent);
    box-shadow: none;
    font-size: 22px;
}

body.wc-theme.page-home .cpb-title {
    color: var(--theme-ink);
    font-size: 18px;
}

body.wc-theme.page-home .cpb-brand {
    color: var(--accent-d);
}

body.wc-theme.page-home .cpb-sub {
    max-width: 440px;
    color: var(--theme-muted);
    font-size: 12.5px;
}

body.wc-theme.page-home .cpb-action {
    padding: 10px 13px;
    border-radius: 8px;
    color: #fff;
    background: var(--accent);
    box-shadow: none;
    font-size: 11.5px;
}

/* Listings */
body.wc-theme.page-home .home-listings-section {
    margin-top: 52px !important;
    margin-bottom: 52px !important;
}

body.wc-theme.page-home .home-featured-section {
    padding: 25px;
    border: 1px solid var(--theme-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 4px 5px 0 rgba(23,53,62,.08);
}

body.wc-theme.page-home .category-section + .category-section {
    padding-top: 42px;
    border-top: 1px solid var(--theme-line);
}

body.wc-theme.page-home .category-section-icon {
    width: 38px;
    height: 38px;
    margin-inline-end: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f1d3c6;
    border-radius: 8px;
    color: var(--theme-accent-dark);
    background: #fff3eb;
    font-size: 15px;
    vertical-align: middle;
}

body.wc-theme.page-home .listing-card:not(.is-list) {
    border-radius: 11px;
    box-shadow: 3px 3px 0 rgba(23,53,62,.085);
}

body.wc-theme.page-home .listing-card:not(.is-list):hover {
    transform: translateY(-3px);
    border-color: var(--theme-mint);
    box-shadow: 6px 7px 0 var(--theme-mint-soft);
}

/* Sell callout */
body.wc-theme.page-home .home-sell-cta {
    position: relative;
    min-height: 172px;
    padding: 30px 34px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    overflow: hidden;
    border: 0;
    border-inline-start: 7px solid var(--theme-accent);
    border-radius: 13px;
    color: #fff;
    background: var(--theme-ink);
    box-shadow: 5px 6px 0 rgba(23,53,62,.18);
}

body.wc-theme.page-home .home-sell-cta::after {
    content: none;
    display: none;
}

body.wc-theme.page-home .home-sell-cta-icon,
body.wc-theme.page-home .home-sell-cta-copy,
body.wc-theme.page-home .home-sell-cta-action {
    position: relative;
    z-index: 1;
}

body.wc-theme.page-home .home-sell-cta-icon {
    width: 66px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 10px;
    color: var(--theme-ink);
    background: var(--theme-sand);
    font-size: 25px;
}

body.wc-theme.page-home .home-sell-cta-copy > span {
    display: block;
    margin-bottom: 5px;
    color: #a9bfbc;
    font-size: 11px;
    font-weight: 800;
}

body.wc-theme.page-home .home-sell-cta h2 {
    margin: 0;
    color: #fff;
    font-size: 27px;
    font-weight: 900;
}

body.wc-theme.page-home .home-sell-cta p {
    margin: 7px 0 0;
    color: #c8d8d5;
    font-size: 13.5px;
    line-height: 1.6;
}

body.wc-theme.page-home .home-sell-cta .btn {
    min-height: 50px;
    padding-inline: 20px;
    border: 1px solid var(--theme-accent);
    border-radius: 9px !important;
    color: #fff;
    background: var(--theme-accent);
    box-shadow: 0 4px 0 var(--theme-accent-dark);
    font-size: 13px;
}

body.wc-theme.page-home .home-sell-cta .btn:hover {
    transform: translateY(-1px);
    color: #fff;
    background: var(--theme-accent-dark);
    box-shadow: 0 2px 0 #9d3515;
}

/* FAQ */
body.wc-theme.page-home .faq-section {
    max-width: 900px;
    margin-top: 66px !important;
}

body.wc-theme.page-home .faq-title {
    margin-bottom: 23px;
    color: var(--theme-ink);
    font-size: 26px;
    font-weight: 900;
}

body.wc-theme.page-home .faq-list {
    gap: 10px;
}

body.wc-theme.page-home .faq-item {
    padding-inline: 18px;
    border: 1px solid var(--theme-line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 2px 3px 0 rgba(23,53,62,.065);
}

body.wc-theme.page-home .faq-item[open] {
    border-color: var(--theme-mint);
    box-shadow: 3px 4px 0 var(--theme-mint-soft);
}

body.wc-theme.page-home .faq-q {
    color: var(--theme-ink);
}

body.wc-theme.page-home .faq-chevron {
    color: var(--theme-accent);
}

body.wc-theme.page-home .faq-a {
    color: var(--theme-muted);
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    body.wc-theme.page-home .desktop-category-grid,
    body.wc-theme.page-home .desktop-viewed-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.wc-theme.page-home .hero .hero-inner {
        padding-block: 46px 42px;
    }

    body.wc-theme.page-home .hero .hero-title {
        font-size: clamp(2.35rem, 4.7vw, 3.45rem);
    }
}

@media (max-width: 991.98px) {
    body.wc-theme.page-home .hero {
        border-bottom: 0;
    }

    body.wc-theme.page-home .hero::after {
        width: 145px;
        height: 145px;
        inset-inline-end: -59px;
        bottom: -78px;
        border-width: 25px;
        opacity: .72;
    }

    body.wc-theme.page-home .hero > .container {
        padding-inline: 16px;
    }

    body.wc-theme.page-home .hero .hero-inner {
        max-width: none;
        padding: 27px 0 25px;
        align-items: stretch;
        text-align: start;
    }

    body.wc-theme.page-home .hero .hero-title {
        margin-bottom: 9px;
        font-size: clamp(1.65rem, 7.5vw, 2.25rem);
        line-height: 1.13;
        letter-spacing: -.04em;
        text-align: start;
    }

    body.wc-theme.page-home .hero .hero-title .hero-title-brand {
        display: inline;
    }

    body.wc-theme.page-home .hero .hero-sub {
        max-width: 620px;
        margin-bottom: 18px;
        color: #d3e0de;
        font-size: 13.5px;
        line-height: 1.6;
        text-align: start;
    }

    body.wc-theme.page-home .hero .hs-bar {
        min-height: 55px;
        padding: 5px 13px 5px 5px;
        border-width: 1px;
        box-shadow: 0 7px 0 rgba(5,24,29,.31);
    }

    body.wc-theme.page-home .hero .hs-bar:focus-within {
        box-shadow: 0 7px 0 rgba(5,24,29,.31), 0 0 0 3px rgba(0,174,239,.2);
    }

    body.wc-theme.page-home .hero .hs-input {
        padding: 9px 3px;
        font-size: 14px;
    }

    body.wc-theme.page-home .hero .hs-btn {
        flex-basis: 43px;
        width: 43px;
        height: 43px;
        border-radius: 8px;
        font-size: 14px;
    }

    body.wc-theme.page-home .hero .hero-suggests {
        width: calc(100% + 32px);
        margin: 16px -16px 0;
        padding: 0 16px 2px;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 7px;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    body.wc-theme.page-home .hero .hero-suggests::-webkit-scrollbar {
        display: none;
    }

    body.wc-theme.page-home .hero .hero-suggests-label {
        display: none;
    }

    body.wc-theme.page-home .hero .hero-suggest {
        flex: 0 0 auto;
        min-height: 31px;
        padding-inline: 9px;
        background: rgba(255,255,255,.08);
    }

    body.wc-theme.page-home .hero-personalized .hero-inner {
        padding-block: 26px 28px;
    }

    body.wc-theme.page-home .personal-hero-heading {
        margin-bottom: 18px;
        gap: 12px;
    }

    body.wc-theme.page-home .personal-hero-avatar {
        flex-basis: 49px;
        width: 49px;
        height: 49px;
        border-radius: 10px;
        box-shadow: 4px 4px 0 rgba(4, 20, 24, .25);
        font-size: 20px;
    }

    body.wc-theme.page-home .hero .personal-hero-title {
        margin: 0;
        font-size: clamp(1.75rem, 7vw, 2.25rem);
        line-height: 1.12;
        text-align: start;
    }

    body.wc-theme.page-home .hero .personal-hero-question {
        margin-top: 3px;
        font-size: 13.5px;
        text-align: start;
    }

    body.wc-theme.page-home .hero-recent {
        margin-top: 23px;
        padding-top: 17px;
    }

    body.wc-theme.page-home .hero-recent-head {
        margin-bottom: 10px;
    }

    body.wc-theme.page-home .hero-recent-head > span {
        display: none;
    }

    body.wc-theme.page-home .hero-recent-list {
        width: calc(100% + 32px);
        margin-inline: -16px;
        padding: 0 16px 4px;
        display: flex;
        gap: 8px;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    body.wc-theme.page-home .hero-recent-list::-webkit-scrollbar {
        display: none;
    }

    body.wc-theme.page-home .hero-recent-item {
        flex: 0 0 min(82vw, 300px);
        min-height: 72px;
        scroll-snap-align: start;
    }

    body.wc-theme.page-home .home-viewed-listings {
        padding: 22px 0 24px;
        border-top: 1px solid rgba(23, 53, 62, .08);
        background: #e8eeea;
    }

    body.wc-theme.page-home .home-viewed-listings > .container {
        padding-inline: 16px;
    }

    body.wc-theme.page-home .home-viewed-listings .desktop-category-discovery-head {
        margin-bottom: 12px;
        align-items: flex-start;
    }

    body.wc-theme.page-home .home-viewed-listings .desktop-category-discovery-head h2 {
        font-size: 21px;
        line-height: 1.2;
        letter-spacing: 0;
    }

    body.wc-theme.page-home .desktop-viewed-grid {
        width: calc(100% + 32px);
        margin-inline: -16px;
        padding: 0 16px 5px;
        display: flex;
        gap: 10px;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    body.wc-theme.page-home .desktop-viewed-grid::-webkit-scrollbar {
        display: none;
    }

    body.wc-theme.page-home .desktop-viewed-card {
        flex: 0 0 min(62vw, 215px);
        min-height: 0;
        padding: 9px;
        scroll-snap-align: start;
        box-shadow: 3px 4px 0 rgba(23, 53, 62, .13);
    }

    body.wc-theme.page-home .desktop-viewed-thumb {
        aspect-ratio: 1.22 / 1;
        border-radius: 8px;
    }

    body.wc-theme.page-home .desktop-viewed-copy strong {
        font-size: 12px;
        line-height: 1.28;
    }

    body.wc-theme.page-home .desktop-viewed-price {
        font-size: 11.5px;
    }

    body.wc-theme.page-home .desktop-viewed-empty {
        padding: 14px;
        gap: 10px;
    }

    body.wc-theme.page-home .home-price-tools {
        margin-top: 25px !important;
        margin-bottom: 36px !important;
    }

    body.wc-theme.page-home .price-banners-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    body.wc-theme.page-home .car-prices-banner {
        min-height: 0;
        padding: 17px;
    }

    body.wc-theme.page-home .home-listings-section {
        margin-top: 35px !important;
        margin-bottom: 35px !important;
    }

    body.wc-theme.page-home .home-featured-section {
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    body.wc-theme.page-home .category-section + .category-section {
        padding-top: 30px;
    }

    body.wc-theme.page-home .home-sell-cta {
        min-height: 0;
        padding: 23px 20px;
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr);
        align-items: start;
        gap: 13px;
        border-inline-start-width: 5px;
        border-radius: 11px;
        background: var(--theme-ink);
        box-shadow: 4px 5px 0 rgba(23,53,62,.17);
    }

    body.wc-theme.page-home .home-sell-cta-icon {
        width: 48px;
        height: 48px;
        border-radius: 8px;
        font-size: 19px;
    }

    body.wc-theme.page-home .home-sell-cta-copy > span {
        font-size: 10px;
    }

    body.wc-theme.page-home .home-sell-cta h2 {
        font-size: 21px;
    }

    body.wc-theme.page-home .home-sell-cta p {
        font-size: 12.5px;
    }

    body.wc-theme.page-home .home-sell-cta-action {
        width: 100%;
        grid-column: 1 / -1;
    }

    body.wc-theme.page-home .home-sell-cta .btn {
        width: 100%;
        min-height: 47px;
    }

    body.wc-theme.page-home .faq-section {
        margin-top: 46px !important;
    }
}

@media (max-width: 575.98px) {
    body.wc-theme.page-home .hero .hero-title {
        font-size: clamp(1.55rem, 8vw, 1.95rem);
    }

    body.wc-theme.page-home .personal-hero-kicker {
        margin-bottom: 3px;
        font-size: 9.5px;
    }

    body.wc-theme.page-home .personal-hero-avatar {
        flex-basis: 43px;
        width: 43px;
        height: 43px;
        font-size: 17px;
    }

    body.wc-theme.page-home .hero .personal-hero-title {
        font-size: clamp(1.55rem, 8vw, 1.95rem);
    }

    body.wc-theme.page-home .hero-recent-empty {
        align-items: flex-start;
    }

    body.wc-theme.page-home .desktop-category-discovery-head,
    body.wc-theme.page-home .home-section-head {
        align-items: center;
        gap: 10px;
        margin-bottom: 14px;
    }

    body.wc-theme.page-home .home-section-head > div,
    body.wc-theme.page-home .home-section-head h2 {
        min-width: 0;
    }

    body.wc-theme.page-home .desktop-category-discovery-head h2,
    body.wc-theme.page-home .home-section-head h2 {
        font-size: 18px;
        line-height: 1.3;
    }

    body.wc-theme.page-home .home-section-link {
        min-height: 34px;
        padding-inline: 9px;
        font-size: 11px;
    }

    body.wc-theme.page-home .home-section-link i {
        display: none;
    }

    body.wc-theme.page-home .home-listings-section > .row {
        --bs-gutter-x: .75rem;
        --bs-gutter-y: .85rem;
    }

    body.wc-theme.page-home .category-section-icon {
        width: 32px;
        height: 32px;
        margin-inline-end: 3px;
        font-size: 13px;
    }

    body.wc-theme.page-home .car-prices-banner {
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 12px;
    }

    body.wc-theme.page-home .cpb-icon {
        width: 48px;
        height: 48px;
        border-radius: 8px;
        font-size: 19px;
    }

    body.wc-theme.page-home .cpb-title {
        font-size: 15.5px;
    }

    body.wc-theme.page-home .cpb-sub {
        margin-top: 4px;
        font-size: 11.5px;
    }

    body.wc-theme.page-home .cpb-action {
        width: 100%;
        grid-column: 1 / -1;
        justify-content: center;
        padding: 10px;
    }

    body.wc-theme.page-home .faq-title {
        font-size: 22px;
    }
}
