/* Mockup header nav: active = teal (#08756a), not ink */
.nav-links a.is-active {
    color: #08756a;
}

.marketplace-page {
    width: min(1360px, calc(100% - 40px));
    margin: 0 auto;
    padding: 36px 0 64px;
}

/* Services page — match prototype #services (wrap / page-title / listing-grid) */
.marketplace-page.services-proto {
    width: min(1280px, calc(100% - 80px));
    margin-inline: auto;
    /* Bottom pad = content→footer gap when page is tall; sticky footer pins bar on short pages */
    padding: 36px 0 34px;
}

.services-proto-hero.page-title,
.services-proto-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin: 0 0 24px;
}

/* Mockup .page-title type — h1: clamp(37–60)/700/#111b1b · p: 15/400/#506360 */
.services-page .services-proto-hero.page-title h1,
.services-page .services-proto-hero h1,
.services-proto-hero.page-title h1,
.services-proto-hero h1 {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(37px, 5.5vw, 60px);
    font-weight: 700;
    line-height: 1.13;
    letter-spacing: -0.045em;
    color: #111b1b;
}

.services-page .services-proto-hero.page-title p,
.services-page .services-proto-hero.page-title .lead,
.services-page .services-proto-hero p,
.services-page .services-proto-hero .lead,
.services-proto-hero.page-title p,
.services-proto-hero.page-title .lead,
.services-proto-hero p,
.services-proto-hero .lead {
    margin: 7px 0 0;
    max-width: none;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: normal;
    color: #506360;
}

/* Mockup market-controls type on Services */
.services-page .search-bar-bazevu,
.services-proto .search-bar-bazevu {
    margin-bottom: 0;
}

.services-page .search-bar-bazevu .search-field {
    color: var(--teal, #08756a);
}

.services-page .search-bar-bazevu .search-field > svg {
    color: var(--teal, #08756a);
}

.services-page .search-bar-bazevu .search-field input {
    font-family: var(--font-body, Inter, system-ui, sans-serif);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: normal;
    color: var(--ink, #111b1b);
}

.services-page .search-bar-bazevu .search-field input::placeholder {
    color: #627570;
    font-size: 13px;
    font-weight: 500;
    opacity: 1;
}

.services-page .search-bar-bazevu .market-location {
    font-family: var(--font-body, Inter, system-ui, sans-serif);
    font-size: 15px;
    font-weight: 670;
    line-height: 1.15;
    letter-spacing: normal;
    color: var(--ink, #111b1b);
}

.services-page .search-bar-bazevu .market-location svg {
    color: var(--teal, #08756a);
}

.services-page .search-bar-bazevu .ask-chip.ask-chip-standalone,
.services-page .search-bar-bazevu .ask-chip {
    font-family: var(--font-body, Inter, system-ui, sans-serif);
    font-size: 15px;
    font-weight: 670;
    line-height: 1.15;
    letter-spacing: normal;
    color: var(--color-ask-text, #075a53);
    background: var(--color-ask-bg, #eaf6f1);
    border: 1px solid var(--color-ask-border, #cce5dc);
    border-radius: 11px;
    min-height: 50px;
    padding: 0 15px;
    box-shadow: none;
}

.services-page .search-bar-bazevu .ask-chip svg {
    color: var(--color-ask-text, #075a53);
}

.services-page .search-bar-bazevu .filter-trigger {
    font-weight: 670;
    color: var(--ink, #111b1b);
}

/* Mockup .market-controls: keep 4-col row through tablet (proto only stacks ≤650) */
@media (max-width: 800px) {
    .services-page .search-bar-bazevu,
    .services-proto .search-bar-bazevu {
        grid-template-columns: minmax(120px, 1fr) minmax(130px, auto) auto auto;
        gap: 10px;
    }

    .services-page .search-bar-bazevu .search-field,
    .services-proto .search-bar-bazevu .search-field {
        grid-column: auto;
        min-width: 0;
        min-height: 50px;
    }

    .services-page .search-bar-bazevu .market-location,
    .services-proto .search-bar-bazevu .market-location {
        min-width: 130px;
        min-height: 50px;
        height: 100%;
        padding: 0 15px;
        font-size: 15px;
    }

    .services-page .search-bar-bazevu .ask-chip.ask-chip-standalone,
    .services-page .search-bar-bazevu .ask-chip,
    .services-proto .search-bar-bazevu .ask-chip-standalone {
        min-height: 50px;
        padding: 0 15px;
        font-size: 15px;
    }

    .services-page .search-bar-bazevu .filter-trigger,
    .services-proto .search-bar-bazevu .filter-trigger {
        width: 50px;
        height: 50px;
        min-height: 50px;
    }
}

/* Mockup .categories: single-row horizontal scroll at every breakpoint */
.services-page .services-proto .chips,
.services-proto .chips {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 13px 1px 4px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 1px;
}

.services-page .services-proto .chips::-webkit-scrollbar,
.services-proto .chips::-webkit-scrollbar {
    height: 6px;
}

.services-page .services-proto .chips::-webkit-scrollbar-thumb,
.services-proto .chips::-webkit-scrollbar-thumb {
    background: #c5d4ce;
    border-radius: 999px;
}

.services-page .services-proto .chips::-webkit-scrollbar-track,
.services-proto .chips::-webkit-scrollbar-track {
    background: transparent;
}

/* Mockup category chips: 13px / 670 / #39514b · chosen/hover #075b50 */
.services-page .services-proto .chips .chip,
.services-proto .chips .chip {
    flex: none;
    flex-shrink: 0;
    scroll-snap-align: start;
    font-family: var(--font-body, Inter, system-ui, sans-serif);
    font-size: var(--font-size-chip, 13px);
    font-weight: var(--font-weight-button, 670);
    line-height: 1.15;
    letter-spacing: normal;
    color: var(--color-chip-text, #39514b);
    white-space: nowrap;
}

.services-page .services-proto .chips .chip:hover,
.services-page .services-proto .chips .chip.is-on,
.services-proto .chips .chip:hover,
.services-proto .chips .chip.is-on {
    color: var(--color-chip-chosen-text, #075b50);
}

.services-near-section {
    margin-top: 34px;
}

.services-proto .section-head {
    margin-bottom: 17px;
}

/* Mockup .section-title type — h2: clamp(26–35)/700/#111b1b · p: 14/400/#506360 */
.services-page .services-proto .section-head h2,
.services-proto .section-head h2 {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(26px, 3.6vw, 35px);
    font-weight: 700;
    line-height: 1.13;
    letter-spacing: -0.045em;
    color: #111b1b;
}

.services-page .services-proto .section-head p,
.services-proto .section-head p {
    margin: 7px 0 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: normal;
    color: #506360;
}

/* Mockup listing-grid: 4-col / 16px · cards stretch equal height */
.services-proto .service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

/* Mockup .listing-card shell */
.services-proto .service-card {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    border-radius: 17px;
    border: 1px solid var(--line, #dce6e2);
    background: #fff;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: transform 0.16s, box-shadow 0.16s;
}

.services-proto .service-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow, 0 14px 42px rgba(23, 53, 47, 0.07));
}

/* Mockup .card-photo */
.services-proto .service-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1.42 / 1;
    max-height: none;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #e9f2ed;
}

.services-proto .service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.services-proto .service-type-badge {
    display: none;
}

/* Mockup .save-btn */
.services-proto .service-card .save-heart {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: inline-grid;
    place-items: center;
    width: 41px;
    height: 41px;
    min-height: 41px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink, #111b1b);
    box-shadow: var(--shadow-save-btn, 0 2px 10px #233b3030);
}

.services-proto .service-card .save-heart svg {
    width: 19px;
    height: 19px;
}

/* Mockup .card-info */
.services-proto .service-body {
    display: grid;
    gap: 5px;
    min-width: 0;
    padding: 14px 15px 16px;
}

.services-proto .service-body strong {
    display: -webkit-box;
    overflow: hidden;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.26;
    color: var(--color-card-title, #18221f);
}

/* Mockup .card-price */
.services-proto .service-body .price {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 18px;
    font-weight: 760;
    letter-spacing: -0.035em;
    color: var(--ink, #111b1b);
}

/* Mockup .card-place + .claim */
.services-proto .service-card .foot {
    display: grid;
    gap: 5px;
    min-width: 0;
    width: 100%;
    color: var(--color-card-place, #50645c);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
}

.services-proto .service-card .foot-location {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    max-width: 100%;
    color: var(--color-card-place, #50645c);
}

.services-proto .service-card .foot-location > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.services-proto .service-card .foot-location svg {
    width: 13px;
    height: 13px;
    flex: none;
}

.services-proto .service-card .verified {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    max-width: 100%;
    margin-top: 2px;
    color: var(--color-claim, #086659);
    font-size: 11px;
    font-weight: 680;
    line-height: 1.4;
    white-space: nowrap;
}

.services-proto .service-card .verified svg {
    width: 14px;
    height: 14px;
    flex: none;
}

.services-proto .service-card.text-card,
.services-proto .service-card:not(:has(.service-media img)) {
    display: flex;
    flex-direction: column;
}

.services-proto .service-card.text-card .service-media,
.services-proto .service-card:not(:has(.service-media img)) .service-media {
    aspect-ratio: auto;
    min-height: 0;
    height: auto;
    padding: 14px 15px 0;
    place-items: start;
    background: transparent;
}

.services-proto .service-card.text-card .service-icon,
.services-proto .service-card:not(:has(.service-media img)) .service-icon {
    width: 43px;
    height: 43px;
    margin-bottom: 6px;
    border-radius: 12px;
    background: #eaf5ef;
    color: var(--teal);
    box-shadow: none;
}

.services-proto .service-card.text-card .service-icon svg,
.services-proto .service-card:not(:has(.service-media img)) .service-icon svg {
    width: 22px;
    height: 22px;
}

.services-proto .service-card.text-card .save-heart,
.services-proto .service-card:not(:has(.service-media img)) .save-heart {
    top: 14px;
    right: 12px;
}

.services-proto .service-card.text-card .service-body,
.services-proto .service-card:not(:has(.service-media img)) .service-body {
    flex: 1;
    align-content: center;
    gap: 8px;
    padding-right: 39px;
    min-height: 206px;
}

@media (max-width: 1060px) {
    .marketplace-page.services-proto {
        width: calc(100% - 48px);
    }

    /* Mockup iPad landscape: keep 4-col; photo aspect 1.2 */
    .services-proto .service-media {
        aspect-ratio: 1.2 / 1;
    }

    .services-proto .service-card.text-card .service-media,
    .services-proto .service-card:not(:has(.service-media img)) .service-media {
        aspect-ratio: auto;
    }
}

@media (max-width: 800px) {
    /* Mockup iPad portrait: still 4-col; denser gap/type — collapse only at ≤650 */
    .services-proto .service-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
    }

    .services-proto .service-body {
        padding: 12px 10px;
    }

    .services-proto .service-body strong {
        font-size: 14px;
    }

    .services-proto .service-body .price {
        font-size: 16px;
    }

    .services-proto .service-card.text-card .service-body,
    .services-proto .service-card:not(:has(.service-media img)) .service-body {
        padding-right: 36px;
    }
}

@media (max-width: 650px) {
    .marketplace-page.services-proto {
        width: calc(100% - 28px);
        padding: 17px 0 20px;
    }

    .services-proto .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    /* Mockup phone: search full-width, then location | Ask | filter @ 44px / 13px */
    .services-page .search-bar-bazevu,
    .services-proto .search-bar-bazevu {
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 6px;
        align-items: stretch;
    }

    .services-page .search-bar-bazevu .search-field,
    .services-proto .search-bar-bazevu .search-field {
        grid-column: 1 / -1;
        min-width: 0;
        min-height: 50px;
        height: auto;
    }

    .services-page .search-bar-bazevu .market-location,
    .services-proto .search-bar-bazevu .market-location {
        grid-column: 1;
        justify-content: flex-start;
        min-width: 0;
        width: auto;
        min-height: 44px;
        height: auto;
        padding: 0 12px;
        font-size: 13px;
        font-weight: 670;
        line-height: 1.15;
        color: #111b1b;
    }

    .services-page .search-bar-bazevu .market-location [data-place-label],
    .services-proto .search-bar-bazevu .market-location [data-place-label] {
        max-width: 94px;
    }

    .services-page .search-bar-bazevu .ask-chip.ask-chip-standalone,
    .services-page .search-bar-bazevu .ask-chip,
    .services-proto .search-bar-bazevu .ask-chip-standalone {
        grid-column: 2;
        min-width: 0;
        min-height: 44px;
        height: auto;
        padding: 0 12px;
        font-size: 13px;
        font-weight: 670;
        line-height: 1.15;
    }

    .services-page .search-bar-bazevu .filter-trigger,
    .services-proto .search-bar-bazevu .filter-trigger {
        grid-column: 3;
        justify-self: end;
        width: 44px;
        height: 44px;
        min-height: 44px;
    }

    .services-proto-hero.page-title,
    .services-proto-hero {
        align-items: start;
        gap: 8px;
        margin-bottom: 13px;
    }

    .services-page .services-proto-hero.page-title h1,
    .services-page .services-proto-hero h1,
    .services-proto-hero.page-title h1,
    .services-proto-hero h1 {
        font-size: 34px;
        font-weight: 700;
        color: #111b1b;
    }

    .services-page .services-proto-hero.page-title p,
    .services-page .services-proto-hero.page-title .lead,
    .services-page .services-proto-hero p,
    .services-page .services-proto-hero .lead,
    .services-proto-hero.page-title p,
    .services-proto-hero.page-title .lead,
    .services-proto-hero p,
    .services-proto-hero .lead {
        font-size: 13px;
        font-weight: 400;
        color: #506360;
    }

    /* Phone: edge-bleed scroll + hide scrollbar (swipe row); chips 12px / pad 10px */
    .services-page .services-proto .chips,
    .services-proto .chips {
        width: calc(100% + 28px);
        max-width: none;
        margin-left: -14px;
        margin-right: -14px;
        padding: 10px 14px 4px;
        scrollbar-width: none;
        scroll-padding-inline: 14px;
    }

    .services-page .services-proto .chips::-webkit-scrollbar,
    .services-proto .chips::-webkit-scrollbar {
        display: none;
        height: 0;
    }

    .services-page .services-proto .chips .chip,
    .services-proto .chips .chip {
        font-size: var(--chip-font-sm, 12px);
        font-weight: var(--font-weight-button, 670);
        line-height: 1.15;
        color: var(--color-chip-text, #39514b);
        padding: 0 10px;
    }

    .services-page .services-proto .chips .chip:hover,
    .services-page .services-proto .chips .chip.is-on,
    .services-proto .chips .chip:hover,
    .services-proto .chips .chip.is-on {
        color: var(--color-chip-chosen-text, #075b50);
    }

    .services-near-section {
        margin-top: 22px;
    }

    .services-proto .section-head {
        align-items: start;
        gap: 7px;
        margin-bottom: 10px;
    }

    .services-page .services-proto .section-head h2,
    .services-proto .section-head h2 {
        font-size: 25px;
        font-weight: 700;
        letter-spacing: -0.045em;
        line-height: 1.13;
        color: #111b1b;
    }

    .services-page .services-proto .section-head p,
    .services-proto .section-head p {
        margin-top: 4px;
        font-size: 12px;
        font-weight: 400;
        line-height: 1.5;
        color: #506360;
    }

    /* Mockup phone listing card */
    .services-proto .service-card {
        border-radius: 12px;
    }

    .services-proto .service-media {
        aspect-ratio: 1.12 / 1;
    }

    .services-proto .service-body {
        gap: 4px;
        padding: 10px;
    }

    .services-proto .service-body strong {
        font-size: 14px;
    }

    .services-proto .service-body .price {
        font-size: 16px;
    }

    .services-proto .service-card .foot,
    .services-proto .service-card .foot-location {
        font-size: 10px;
        color: var(--color-card-place, #50645c);
    }

    .services-proto .service-card .verified {
        font-size: 10px;
        font-weight: 680;
        color: var(--color-claim, #086659);
    }

    .services-proto .service-card .verified svg {
        width: 13px;
        height: 13px;
    }

    .services-proto .service-card .save-heart {
        top: 4px;
        right: 4px;
        width: 44px;
        height: 44px;
        min-height: 44px;
        transform: scale(0.85);
        transform-origin: right top;
    }

    .services-proto .service-card.text-card .service-media,
    .services-proto .service-card:not(:has(.service-media img)) .service-media {
        aspect-ratio: auto;
        padding: 10px 10px 0;
    }

    .services-proto .service-card.text-card .service-body,
    .services-proto .service-card:not(:has(.service-media img)) .service-body {
        min-height: 164px;
        padding-right: 18px;
    }

    .services-proto .service-card.text-card .service-icon,
    .services-proto .service-card:not(:has(.service-media img)) .service-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 3px;
    }

    .services-proto .service-card.text-card .service-icon svg,
    .services-proto .service-card:not(:has(.service-media img)) .service-icon svg {
        width: 18px;
        height: 18px;
    }

    /* Empty state stays one row on phone (match home) */
    .services-page .empty-row,
    .services-proto .empty-row {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        min-height: 0;
        padding: 16px;
        text-align: left;
    }

    .services-page .empty-art,
    .services-page .empty-art img,
    .services-proto .empty-art,
    .services-proto .empty-art img {
        width: 110px;
        height: 82px;
    }

    .services-page .empty-row .empty,
    .services-proto .empty-row .empty {
        font-size: 13px;
    }

    .services-page .empty-row .empty.empty-headline,
    .services-proto .empty-row .empty.empty-headline {
        font-size: 0.8rem;
        font-weight: 500;
    }

    .services-page .empty-row .empty.empty-headline span,
    .services-proto .empty-row .empty.empty-headline span {
        font-size: 20px;
        margin-left: 28px;
    }
}

.market-location-select {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
}

.market-location-select select {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 650;
    padding-right: 18px;
    min-width: 4.5rem;
    cursor: pointer;
}

.market-location-select svg {
    width: 16px;
    height: 16px;
    flex: none;
    color: var(--muted);
}

.market-location-select .market-location-chevron {
    pointer-events: none;
}

/* Deals page — match prototype #deals (wrap / page-title / listing-grid) */
.marketplace-page.deals-proto {
    width: min(1280px, calc(100% - 80px));
    margin-inline: auto;
    padding: 36px 0 34px;
}

.deals-proto-hero.page-title,
.deals-proto-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin: 0 0 24px;
}

.deals-proto-hero > div {
    flex: 1 1 auto;
    min-width: 0;
}

.deals-page .deals-proto-hero h1,
.deals-proto-hero h1 {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(37px, 5.5vw, 60px);
    font-weight: 700;
    line-height: 1.13;
    letter-spacing: -0.045em;
    color: #111b1b;
}

.deals-page .deals-proto-hero p,
.deals-page .deals-proto-hero .lead,
.deals-proto-hero p,
.deals-proto-hero .lead {
    margin: 7px 0 0;
    max-width: 40rem;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: normal;
    color: #506360;
}

.deals-page .marketplace-page .deals-proto-cta,
.deals-page .deals-proto-cta,
.deals-page .deals-proto-hero .btn-solid,
.deals-proto-hero .btn-solid,
.deals-proto .deals-proto-cta {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 15px;
    border: 1px solid #08756a;
    border-radius: 11px;
    background: #08756a;
    color: #fff;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    font-weight: 670;
    line-height: 1.15;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 2px 3px rgba(12, 77, 66, 0.09);
}

.deals-page .deals-proto-cta:hover,
.deals-proto-hero .btn-solid:hover {
    background: #056458;
    border-color: #056458;
    color: #fff;
}

.deals-page .deals-proto-filters,
.deals-proto .deals-proto-filters {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) minmax(130px, auto) auto;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    height: auto;
    margin: 0 0 22px;
    min-width: 0;
}

.deals-page .deals-proto-filters > *,
.deals-proto .deals-proto-filters > * {
    min-width: 0;
}

.deals-page .deals-proto-filters .deals-proto-filter-btn,
.deals-proto .deals-proto-filters .deals-proto-filter-btn {
    min-width: max-content;
}

.deals-page .deals-proto-search,
.deals-proto .deals-proto-search {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    min-height: 50px;
    height: 100%;
    padding: 0 8px 0 15px;
    border: 1px solid #d5e4db;
    border-radius: 12px;
    background: #fff;
    color: #08756a;
}

.deals-page .deals-proto-search > svg,
.deals-proto .deals-proto-search > svg {
    width: 21px;
    height: 21px;
    flex: none;
    color: #08756a;
}

.deals-page .deals-proto-search input,
.deals-proto .deals-proto-search input {
    width: 100%;
    min-height: 42px;
    border: 0;
    padding: 0;
    background: transparent;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    color: #111b1b;
}

.deals-page .deals-proto-search input::placeholder,
.deals-proto .deals-proto-search input::placeholder {
    color: #627570;
    font-size: 13px;
    font-weight: 500;
    opacity: 1;
}

.deals-page .deals-proto-search:focus-within,
.deals-proto .deals-proto-search:focus-within {
    box-shadow: 0 0 0 2px #70b7a7;
}

.deals-page .deals-proto-country,
.deals-proto .deals-proto-country {
    position: relative;
    display: flex;
    align-items: stretch;
    min-width: 130px;
    min-height: 50px;
}

.deals-page .deals-proto-country select,
.deals-proto .deals-proto-country select {
    width: 100%;
    min-height: 50px;
    padding: 0 40px 0 15px;
    border: 1px solid var(--line, #dce6e2);
    border-radius: 11px;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m6 9 6 6 6-6' stroke='%23111b1b' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 15px;
    appearance: none;
    -webkit-appearance: none;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    font-weight: 670;
    line-height: 1.15;
    color: #111b1b;
    cursor: pointer;
}

.deals-page .marketplace-page .deals-proto-filter-btn,
.deals-page .deals-proto-filter-btn,
.deals-proto .deals-proto-filter-btn {
    min-height: 50px;
    height: 100%;
    padding: 0 15px;
    border: 1px solid #08756a;
    border-radius: 11px;
    background: #08756a;
    color: #fff;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    font-weight: 670;
    line-height: 1.15;
    box-shadow: 0 2px 3px rgba(12, 77, 66, 0.09);
}

.deals-page .deals-proto-filter-btn:hover,
.deals-proto .deals-proto-filter-btn:hover {
    background: #056458;
    border-color: #056458;
}

.deals-page .deals-proto-grid,
.deals-proto .marketplace-deals-grid,
.deals-proto .deals-proto-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.deals-page .deals-proto .deal-card,
.deals-proto .deal-card {
    position: relative;
    isolation: isolate;
    border-radius: 17px;
    border: 1px solid var(--line, #dce6e2);
    background: #fff;
    overflow: hidden;
    transition: transform 0.16s, box-shadow 0.16s;
}

.deals-page .deals-proto .deal-card:hover,
.deals-proto .deal-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow, 0 14px 42px rgba(23, 53, 47, 0.07));
}

.deals-page .deals-proto .deal-media,
.deals-proto .deal-media {
    aspect-ratio: 1.42 / 1;
    background: #e9f2ed;
}

.deals-page .deals-proto .deal-tag,
.deals-proto .deal-tag {
    top: 12px;
    left: 12px;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.94);
    color: #34443e;
    font-size: 10px;
    font-weight: 750;
}

.deals-page .deals-proto .marketplace-deal-discount,
.deals-proto .marketplace-deal-discount {
    left: 12px;
    bottom: 12px;
    min-height: 23px;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.94);
    color: #34443e;
    font-size: 10px;
    font-weight: 750;
}

.deals-page .deals-proto .deal-body,
.deals-proto .deal-body {
    gap: 5px;
    padding: 14px 15px 16px;
}

.deals-page .deals-proto .deal-body strong,
.deals-proto .deal-body strong {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.26;
    color: #18221f;
}

.deals-page .deals-proto .deal-body .price,
.deals-proto .deal-body .price {
    font-size: 18px;
    font-weight: 760;
    letter-spacing: -0.035em;
    color: #111b1b;
}

.deals-page .deals-proto .deal-body .price del,
.deals-proto .deal-body .price del {
    margin-left: 4px;
    color: #506360;
    font-size: 0.82em;
    font-weight: 500;
    letter-spacing: 0;
    text-decoration: line-through;
}

.deals-page .deals-proto .foot,
.deals-proto .foot {
    color: #50645c;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
}

.deals-page .deals-proto .foot .verified,
.deals-proto .foot .verified {
    margin-top: 2px;
    color: #086659;
    font-size: 11px;
    font-weight: 680;
    line-height: 1.4;
}

/* Mockup .empty panel: centered 245px min, pad 23, radius 19, gap 9 */
.deals-page .deals-proto-empty,
.deals-proto .deals-proto-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-items: center;
    gap: 9px;
    min-height: 245px;
    min-width: 0;
    margin: 0 0 28px;
    padding: 23px;
    border: 1px solid var(--line, #dce6e2);
    border-radius: 19px;
    background: #fff;
    text-align: center;
    box-sizing: border-box;
}

.deals-page .deals-proto-empty .empty-state-icon,
.deals-proto .deals-proto-empty .empty-state-icon {
    width: 43px;
    height: 43px;
    margin: 0 auto 0;
    border-radius: 12px;
    background: #eaf5ef;
    color: #08756a;
    box-shadow: none;
}

.deals-page .deals-proto-empty .empty-state-icon svg,
.deals-proto .deals-proto-empty .empty-state-icon svg {
    width: 22px;
    height: 22px;
}

.deals-page .deals-proto-empty h2,
.deals-proto .deals-proto-empty h2 {
    margin: 0;
    max-width: 28rem;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: #111b1b;
}

.deals-page .deals-proto-empty p,
.deals-proto .deals-proto-empty p {
    margin: 0;
    max-width: 36rem;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #506360;
}

.deals-page .deals-proto-empty .empty-state-actions,
.deals-proto .deals-proto-empty .empty-state-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: auto;
    max-width: 100%;
    margin-top: 6px;
}

.deals-page .marketplace-page .deals-proto-empty .btn-solid,
.deals-page .deals-proto-empty .btn-solid,
.deals-proto .deals-proto-empty .btn-solid {
    width: auto;
    min-height: 44px;
    padding: 0 15px;
    border-radius: 11px;
    font-size: 15px;
    font-weight: 670;
}

.deals-page .deals-proto-empty .btn-ghost,
.deals-proto .deals-proto-empty .btn-ghost {
    width: auto;
    min-height: 44px;
    padding: 0 15px;
    border: 1px solid var(--line, #dce6e2);
    border-radius: 11px;
    background: #fff;
    color: #111b1b;
    font-size: 15px;
    font-weight: 670;
}

/* Mockup claim/note line under deals empty panel */
.deals-page .deals-proto-trust,
.deals-proto .deals-proto-trust {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    width: auto;
    max-width: 100%;
    margin: 8px 0 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-sizing: border-box;
    color: #506360;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
    text-align: left;
}

.deals-page .deals-proto-trust svg,
.deals-proto .deals-proto-trust svg {
    width: 14px;
    height: 14px;
    flex: none;
    margin-top: 0;
    color: #086659;
}

.deals-page .deals-proto-trust span,
.deals-proto .deals-proto-trust span {
    flex: 0 1 auto;
    min-width: 0;
    max-width: none;
    width: auto;
    text-align: left;
    color: #506360;
    font-weight: 400;
    overflow-wrap: anywhere;
}

@media (max-width: 1060px) {
    .marketplace-page.deals-proto {
        width: calc(100% - 48px);
    }

    .deals-page .deals-proto .deal-media,
    .deals-proto .deal-media {
        aspect-ratio: 1.2 / 1;
    }
}

/* Mockup market-controls: keep search | country | Filter on one row through tablet */
@media (max-width: 800px) {
    .deals-page .deals-proto-filters,
    .deals-proto .deals-proto-filters {
        grid-template-columns: minmax(120px, 1fr) minmax(130px, auto) auto;
        gap: 10px;
    }

    .deals-page .deals-proto-search,
    .deals-proto .deals-proto-search {
        grid-column: auto;
        min-width: 0;
        min-height: 50px;
    }

    .deals-page .deals-proto-country,
    .deals-proto .deals-proto-country {
        min-width: 130px;
        min-height: 50px;
    }

    .deals-page .deals-proto-country select,
    .deals-proto .deals-proto-country select {
        min-height: 50px;
        height: 50px;
        font-size: 15px;
        padding: 0 40px 0 15px;
    }

    .deals-page .marketplace-page .deals-proto-filter-btn,
    .deals-page .deals-proto-filter-btn,
    .deals-proto .deals-proto-filter-btn {
        min-width: max-content;
        min-height: 50px;
        height: 50px;
        font-size: 15px;
        padding: 0 15px;
    }

    .deals-page .deals-proto-grid,
    .deals-proto .marketplace-deals-grid,
    .deals-proto .deals-proto-grid {
        gap: 10px;
    }

    .deals-page .deals-proto .deal-body,
    .deals-proto .deal-body {
        padding: 12px 10px;
    }

    .deals-page .deals-proto .deal-body strong,
    .deals-proto .deal-body strong {
        font-size: 14px;
    }

    .deals-page .deals-proto .deal-body .price,
    .deals-proto .deal-body .price {
        font-size: 16px;
    }
}

@media (max-width: 650px) {
    .marketplace-page.deals-proto {
        width: calc(100% - 28px);
        padding: 17px 0 14px;
    }

    /* Mockup .page-title @ ≤650: stays row, gap 8, align start */
    .deals-proto-hero.page-title,
    .deals-proto-hero {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: flex-start;
        justify-content: space-between;
        gap: 8px;
        margin-bottom: 13px;
    }

    .deals-proto-hero > div {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        max-width: none;
    }

    .deals-page .deals-proto-hero h1,
    .deals-proto-hero h1 {
        max-width: none;
        font-size: 34px;
        line-height: 1.13;
        letter-spacing: -0.045em;
    }

    .deals-page .deals-proto-hero p,
    .deals-page .deals-proto-hero .lead,
    .deals-proto-hero p,
    .deals-proto-hero .lead {
        max-width: none;
        margin-top: 7px;
        font-size: 13px;
        line-height: 1.5;
    }

    .deals-page .marketplace-page .deals-proto-cta,
    .deals-page .deals-proto-cta,
    .deals-page .deals-proto-hero .btn-solid,
    .deals-proto-hero .btn-solid,
    .deals-proto .deals-proto-cta {
        flex: none;
        align-self: flex-start;
        width: auto;
        max-width: none;
        min-height: 44px;
        height: auto;
        padding: 0 9px;
        font-size: 12px;
        white-space: nowrap;
    }

    /* Mockup .market-controls @ ≤650: search full-width, then 1fr | auto @ 44px / 13px */
    .deals-page .deals-proto-filters,
    .deals-proto .deals-proto-filters {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 6px;
        align-items: stretch;
        margin-bottom: 18px;
    }

    .deals-page .deals-proto-search,
    .deals-proto .deals-proto-search {
        grid-column: 1 / -1;
        min-width: 0;
        min-height: 50px;
        height: auto;
        padding: 0 8px 0 15px;
    }

    .deals-page .deals-proto-search > svg,
    .deals-proto .deals-proto-search > svg {
        width: 21px;
        height: 21px;
    }

    .deals-page .deals-proto-search input,
    .deals-proto .deals-proto-search input {
        font-size: 13px;
        font-weight: 500;
    }

    .deals-page .deals-proto-country,
    .deals-proto .deals-proto-country {
        grid-column: 1;
        min-width: 0;
        width: auto;
        min-height: 44px;
        height: auto;
    }

    .deals-page .marketplace-filters.deals-proto-filters .deals-proto-country select,
    .deals-page .deals-proto-country select,
    .deals-proto .deals-proto-country select {
        width: 100%;
        min-height: 44px;
        height: 44px;
        font-size: 13px;
        font-weight: 670;
        line-height: 1.15;
        padding: 0 36px 0 15px;
        border-radius: 11px;
        background-position: right 12px center;
        background-size: 15px;
    }

    .deals-page .marketplace-page .deals-proto-filter-btn,
    .deals-page .deals-proto-filter-btn,
    .deals-proto .deals-proto-filter-btn {
        grid-column: 2;
        justify-self: stretch;
        align-self: stretch;
        min-width: max-content;
        min-height: 44px;
        height: 44px;
        font-size: 13px;
        font-weight: 670;
        line-height: 1.15;
        padding: 0 15px;
        white-space: nowrap;
    }

    .deals-page .deals-proto-grid,
    .deals-proto .marketplace-deals-grid,
    .deals-proto .deals-proto-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .deals-page .deals-proto .deal-card,
    .deals-proto .deal-card {
        border-radius: 12px;
    }

    .deals-page .deals-proto .deal-media,
    .deals-proto .deal-media {
        aspect-ratio: 1.12 / 1;
    }

    .deals-page .deals-proto .deal-body,
    .deals-proto .deal-body {
        gap: 4px;
        padding: 10px;
    }

    .deals-page .deals-proto .foot,
    .deals-proto .foot {
        font-size: 10px;
    }

    .deals-page .deals-proto .foot .verified,
    .deals-proto .foot .verified {
        font-size: 10px;
    }

    /*
     * Mockup .empty has no phone overrides — keep desktop panel tokens:
     * min-height 245, pad 23, radius 19, gap 9, h2 22, p 14, btn 15/44.
     * Only ensure the panel fills the wrap and content wraps cleanly.
     */
    .deals-page .deals-proto-empty,
    .deals-proto .deals-proto-empty {
        width: 100%;
        min-height: 245px;
        padding: 23px;
        border-radius: 19px;
        gap: 9px;
    }

    .deals-page .deals-proto-empty .empty-state-icon,
    .deals-proto .deals-proto-empty .empty-state-icon {
        width: 43px;
        height: 43px;
        border-radius: 12px;
    }

    .deals-page .deals-proto-empty .empty-state-icon svg,
    .deals-proto .deals-proto-empty .empty-state-icon svg {
        width: 22px;
        height: 22px;
    }

    .deals-page .deals-proto-empty h2,
    .deals-proto .deals-proto-empty h2 {
        font-size: 22px;
        letter-spacing: -0.03em;
        line-height: 1.2;
        max-width: 100%;
    }

    .deals-page .deals-proto-empty p,
    .deals-proto .deals-proto-empty p {
        font-size: 14px;
        line-height: 1.5;
        max-width: 100%;
    }

    .deals-page .deals-proto-empty .empty-state-actions,
    .deals-proto .deals-proto-empty .empty-state-actions {
        width: auto;
        max-width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        margin-top: 6px;
    }

    .deals-page .marketplace-page .deals-proto-empty .btn-solid,
    .deals-page .deals-proto-empty .btn-solid,
    .deals-page .deals-proto-empty .btn-ghost,
    .deals-proto .deals-proto-empty .btn-solid,
    .deals-proto .deals-proto-empty .btn-ghost {
        width: auto;
        min-width: 0;
        max-width: 100%;
        justify-content: center;
        font-size: 15px;
        font-weight: 670;
        min-height: 44px;
        padding: 0 15px;
        border-radius: 11px;
    }

    /* Mockup phone claim/note: 11→10px, icon 13px, wrap under empty */
    .deals-page .deals-proto-trust,
    .deals-proto .deals-proto-trust {
        align-items: flex-start;
        justify-content: flex-start;
        gap: 5px;
        margin-top: 10px;
        padding: 0;
        width: 100%;
        font-size: 11px;
        line-height: 1.4;
    }

    .deals-page .deals-proto-trust svg,
    .deals-proto .deals-proto-trust svg {
        width: 13px;
        height: 13px;
        margin-top: 2px;
    }

    .deals-page .deals-proto-trust span,
    .deals-proto .deals-proto-trust span {
        max-width: none;
        width: auto;
        text-align: left;
        font-size: 11px;
    }
}

.marketplace-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.marketplace-hero h1 {
    margin: 0 0 10px;
    font-size: 32px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.marketplace-hero .lead {
    margin: 0;
    max-width: 40rem;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.marketplace-filters {
    display: grid;
    grid-template-columns: 1.6fr 1fr auto;
    gap: 12px;
    margin-bottom: 22px;
}

.marketplace-filters input,
.marketplace-filters select {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0 14px;
    background: #fff;
    color: var(--ink);
}

.marketplace-filters select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m6 9 6 6 6-6' stroke='%23667085' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    cursor: pointer;
}

.marketplace-grid {
    margin-bottom: 28px;
}

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

button.marketplace-deal-card {
    font: inherit;
    text-align: left;
    cursor: pointer;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
}

.marketplace-deal-discount {
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: #fef3c7;
    color: #92400e;
    font-size: 11px;
    font-weight: 700;
}

.empty-state {
    display: grid;
    justify-items: center;
    gap: 12px;
    margin: 8px 0 28px;
    padding: 48px 24px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background:
        radial-gradient(circle at 50% 0%, rgba(10, 107, 94), 0.12), transparent 55%),
        linear-gradient(180deg, #fff 0%, var(--soft) 100%);
    text-align: center;
}

.empty-state-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 4px;
    border-radius: 18px;
    background: var(--mint);
    color: var(--green-deep);
    box-shadow: inset 0 0 0 1px rgba(10, 107, 94), 0.18);
}

.empty-state-icon svg {
    width: 28px;
    height: 28px;
}

.empty-state h2 {
    margin: 0;
    font-size: 23px;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.empty-state p {
    margin: 0;
    max-width: 34rem;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.empty-state-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
}

.empty-state-actions .btn-solid,
.empty-state-actions .btn-ghost {
    min-height: 44px;
    border-radius: 999px;
}

.saved-hero h1 {
    font-size: clamp(2rem, 4vw, 2.6rem);
}

.saved-empty {
    margin-top: 8px;
    padding: 56px 28px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 10px 40px rgba(4, 74, 66, 0.06);
}

.saved-empty-icon {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: rgba(8, 117, 106, 0.12);
    color: #08756a;
    box-shadow: none;
}

.saved-empty-icon svg {
    width: 24px;
    height: 24px;
}

.saved-grid {
    margin-top: 8px;
}

.marketplace-page .btn-solid {
    background: #08756a;
    border-radius: 999px;
}

.marketplace-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin: 8px 0 24px;
    color: #6b7280;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
}

.marketplace-pager a {
    color: var(--ink, #111827);
    font-weight: 700;
    text-decoration: none;
}

.marketplace-pager a:hover {
    color: var(--green-deep, #0f7a4a);
}

.marketplace-pager .is-disabled {
    color: #9ca3af;
    cursor: default;
}

.marketplace-pager-status {
    color: #6b7280;
    font-weight: 600;
}

.marketplace-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 14px 18px;
    border-radius: 12px;
    background: var(--mint);
    color: var(--green-deep);
    font-weight: 600;
    font-size: 11px;
    line-height: 1.45;
    text-align: center;
}

.marketplace-trust svg {
    width: 20px;
    height: 20px;
    flex: none;
    margin-top: 0;
    color: var(--green-deep);
}

.marketplace-trust span {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 42rem;
    text-align: center;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.ask-page {
    max-width: 760px;
}

.ask-hero-block {
    text-align: center;
    padding: 28px 0 12px;
}

.ask-spark {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    border-radius: 14px;
    background: var(--lavender);
    color: var(--purple);
    display: grid;
    place-items: center;
}

.ask-spark svg {
    width: 20px;
    height: 20px;
}

.ask-hero-block .eyebrow {
    margin: 0 0 8px;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
}

.ask-hero-block h1 {
    margin: 0 0 10px;
    font-size: 35px;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.ask-hero-block .lead {
    margin: 0 auto 24px;
    max-width: 34rem;
    color: var(--muted);
    line-height: 1.5;
}

.ask-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto 16px;
    max-width: 640px;
    min-height: 58px;
    padding: 6px 6px 6px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--soft);
}

.ask-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    outline: none;
    font-size: 13px;
}

.ask-search button {
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    background: var(--purple);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.ask-search button svg {
    width: 20px;
    height: 20px;
}

.ask-suggestions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 14px;
}

.ask-suggestions a {
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-size: 12px;
    font-weight: 600;
}

.ask-suggestions a:hover {
    border-color: #c9c4f0;
    background: #faf8ff;
}

.ask-meta {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.45;
}

.ask-results {
    margin-top: 28px;
    display: grid;
    gap: 12px;
}

.ask-found {
    margin: 0 0 4px;
    color: var(--muted);
    font-weight: 600;
}

.ask-match {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
}

.ask-match img,
.ask-match-fallback {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    object-fit: cover;
}

.ask-match-fallback {
    display: grid;
    place-items: center;
    background: var(--mint);
    color: var(--green-deep);
    font-weight: 800;
    font-size: 18px;
}

.ask-match-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.ask-kind {
    width: fit-content;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--lavender);
    color: var(--purple);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.ask-match-copy strong {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ask-match-copy span {
    color: var(--muted);
    font-size: 12px;
}

.ask-match-price {
    white-space: nowrap;
}

/* Wanted page — match prototype #wanted (wrap / page-title / wanted-grid) */
.marketplace-page.wanted-proto {
    width: min(1280px, calc(100% - 80px));
    margin-inline: auto;
    padding: 36px 0;
}

.wanted-proto-hero.page-title,
.wanted-proto-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin: 0 0 24px;
}

.wanted-page .wanted-proto-hero h1,
.wanted-proto-hero h1 {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(37px, 5.5vw, 60px);
    font-weight: 700;
    line-height: 1.13;
    letter-spacing: -0.045em;
    color: #111b1b;
}

.wanted-page .wanted-proto-hero p,
.wanted-page .wanted-proto-hero .lead,
.wanted-proto-hero p,
.wanted-proto-hero .lead {
    margin: 7px 0 0;
    max-width: none;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: normal;
    color: #506360;
}

.wanted-page .marketplace-page .wanted-proto-cta,
.wanted-page .wanted-proto-cta,
.wanted-page .wanted-proto-hero .btn-solid,
.wanted-proto-hero .btn-solid,
.wanted-proto .wanted-proto-cta {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 15px;
    border: 1px solid #08756a;
    border-radius: 11px;
    background: #08756a;
    color: #fff;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    font-weight: 670;
    line-height: 1.15;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 2px 3px rgba(12, 77, 66, 0.09);
}

.wanted-page .wanted-proto-cta:hover,
.wanted-proto-hero .btn-solid:hover {
    background: #056458;
    border-color: #056458;
    color: #fff;
}

.wanted-page .wanted-proto-cta svg,
.wanted-proto-hero .btn-solid svg {
    width: 18px;
    height: 18px;
    flex: none;
}

.wanted-page .wanted-proto-grid,
.wanted-proto .wanted-proto-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    margin-bottom: 28px;
}

.wanted-page .wanted-proto-card,
.wanted-proto .wanted-proto-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 104px;
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--line, #dce6e2);
    border-radius: 15px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
}

.wanted-page .wanted-proto-card:hover,
.wanted-proto .wanted-proto-card:hover {
    background: #eff8f3;
    box-shadow: none;
    transform: none;
}

.wanted-page .wanted-proto-icon,
.wanted-proto .wanted-proto-icon {
    display: inline-grid;
    flex: none;
    place-items: center;
    width: 43px;
    height: 43px;
    border-radius: 12px;
    background: #eaf5ef;
    color: #08756a;
}

.wanted-page .wanted-proto-icon svg,
.wanted-proto .wanted-proto-icon svg {
    width: 19px;
    height: 19px;
}

.wanted-page .wanted-proto-copy,
.wanted-proto .wanted-proto-copy {
    display: grid;
    flex: 1 1 0%;
    gap: 0;
    min-width: 0;
}

.wanted-page .wanted-proto-copy strong,
.wanted-proto .wanted-proto-copy strong {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.13;
    letter-spacing: -0.017em;
    color: #111b1b;
}

.wanted-page .wanted-proto-place,
.wanted-proto .wanted-proto-place {
    margin: 4px 0;
    color: #506360;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
}

.wanted-page .wanted-proto-budget,
.wanted-proto .wanted-proto-budget {
    margin-top: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 680;
    line-height: 1.5;
    letter-spacing: normal;
    color: #111b1b;
}

.wanted-page .wanted-proto-go,
.wanted-proto .wanted-proto-go {
    display: grid;
    place-items: center;
    flex: none;
    width: 16px;
    height: 16px;
    margin-top: 0;
    color: #08756a;
}

.wanted-page .wanted-proto-go svg,
.wanted-proto .wanted-proto-go svg {
    width: 16px;
    height: 16px;
}

/* Wanted empty — same mockup .empty panel as deals */
.wanted-page .wanted-proto-empty,
.wanted-proto .wanted-proto-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 245px;
    min-width: 0;
    margin: 0 0 28px;
    padding: 23px;
    border: 1px solid var(--line, #dce6e2);
    border-radius: 19px;
    background: #fff;
    text-align: center;
    box-sizing: border-box;
}

.wanted-page .wanted-proto-empty .empty-state-icon,
.wanted-proto .wanted-proto-empty .empty-state-icon {
    width: 43px;
    height: 43px;
    margin: 0;
    border-radius: 12px;
    background: #eaf5ef;
    color: #08756a;
    box-shadow: none;
}

.wanted-page .wanted-proto-empty .empty-state-icon svg,
.wanted-proto .wanted-proto-empty .empty-state-icon svg {
    width: 22px;
    height: 22px;
}

.wanted-page .wanted-proto-empty h2,
.wanted-proto .wanted-proto-empty h2 {
    margin: 0;
    max-width: 28rem;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: #111b1b;
}

.wanted-page .wanted-proto-empty p,
.wanted-proto .wanted-proto-empty p {
    margin: 0;
    max-width: 36rem;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #506360;
}

.wanted-page .wanted-proto-empty .empty-state-actions,
.wanted-proto .wanted-proto-empty .empty-state-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: auto;
    margin-top: 6px;
}

.wanted-page .marketplace-page .wanted-proto-empty .btn-solid,
.wanted-page .wanted-proto-empty .btn-solid,
.wanted-proto .wanted-proto-empty .btn-solid {
    width: auto;
    min-height: 44px;
    padding: 0 15px;
    border-radius: 11px;
    font-size: 15px;
    font-weight: 670;
}

@media (max-width: 1060px) {
    .marketplace-page.wanted-proto {
        width: calc(100% - 48px);
    }
}

@media (max-width: 650px) {
    .marketplace-page.wanted-proto {
        width: calc(100% - 28px);
        padding: 17px 0 14px;
    }

    /* Proto keeps page-title as a row on small screens */
    .wanted-proto-hero.page-title,
    .wanted-proto-hero {
        flex-direction: row;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 13px;
    }

    .wanted-proto-hero > div {
        flex: 1 1 auto;
        min-width: 0;
    }

    .wanted-page .wanted-proto-hero h1,
    .wanted-proto-hero h1 {
        font-size: 34px;
        letter-spacing: -0.045em;
    }

    .wanted-page .wanted-proto-hero p,
    .wanted-page .wanted-proto-hero .lead,
    .wanted-proto-hero p,
    .wanted-proto-hero .lead {
        font-size: 13px;
        line-height: 1.5;
    }

    .wanted-page .marketplace-page .wanted-proto-cta,
    .wanted-page .wanted-proto-cta,
    .wanted-page .wanted-proto-hero .btn-solid,
    .wanted-proto-hero .btn-solid,
    .wanted-proto .wanted-proto-cta {
        flex: none;
        align-self: flex-start;
        min-height: 44px;
        padding: 0 9px;
        font-size: 12px;
    }

    .wanted-page .wanted-proto-cta svg,
    .wanted-proto-hero .btn-solid svg {
        width: 16px;
        height: 16px;
    }

    .wanted-page .wanted-proto-grid,
    .wanted-proto .wanted-proto-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .wanted-page .wanted-proto-card,
    .wanted-proto .wanted-proto-card {
        min-height: 75px;
        padding: 10px;
        border-radius: 15px;
    }

    .wanted-page .wanted-proto-icon,
    .wanted-proto .wanted-proto-icon {
        width: 43px;
        height: 43px;
    }

    .wanted-page .wanted-proto-icon svg,
    .wanted-proto .wanted-proto-icon svg {
        width: 19px;
        height: 19px;
    }

    .wanted-page .wanted-proto-empty,
    .wanted-proto .wanted-proto-empty {
        min-height: 200px;
        padding: 18px 16px;
        border-radius: 16px;
        gap: 8px;
    }

    .wanted-page .wanted-proto-empty h2,
    .wanted-proto .wanted-proto-empty h2 {
        font-size: 18px;
    }

    .wanted-page .wanted-proto-empty p,
    .wanted-proto .wanted-proto-empty p {
        font-size: 13px;
    }

    .wanted-page .marketplace-page .wanted-proto-empty .btn-solid,
    .wanted-page .wanted-proto-empty .btn-solid,
    .wanted-proto .wanted-proto-empty .btn-solid {
        font-size: 13px;
        min-height: 44px;
        padding: 0 14px;
    }
}

@media (max-width: 900px) {
    .marketplace-page:not(.deals-proto):not(.services-proto):not(.wanted-proto):not(.sell-proto) {
        width: min(1360px, calc(100% - 24px));
        padding: 24px 0 48px;
    }

    .marketplace-hero {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 22px;
    }

    .marketplace-hero h1 {
        max-width: 11.6em;
        font-family: var(--font-heading);
        font-size: 27px;
        font-weight: 700;
        line-height: 1.15;
        letter-spacing: -1.7px;
    }

    .marketplace-hero .lead {
        max-width: 34rem;
        font-family: var(--font-body);
        font-size: 12px;
        font-weight: 400;
        line-height: 1.7;
        color: #6b756f;
    }

    .marketplace-hero .btn-solid {
        font-family: var(--font-body);
        font-size: 10px;
        font-weight: 650;
    }

    .service-grid.marketplace-grid,
    body:not(.deals-page) .marketplace-deals-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 13px;
    }

    /* Legacy marketplace cards only — services-proto uses mockup 1060/800/650 rules */
    body:not(.services-page) .service-card {
        border: 1px solid var(--line);
        border-radius: 16px;
    }

    body:not(.services-page) .service-card .service-body {
        gap: 6px;
        padding: 10px 10px 12px;
    }

    body:not(.services-page) .service-card .service-body strong {
        font-family: 'DM Sans', sans-serif;
        font-size: 12px;
        font-weight: 600;
        line-height: 1.4;
        letter-spacing: -0.1px;
    }

    body:not(.services-page) .service-card .price {
        font-family: 'Manrope', sans-serif;
        font-size: 15px;
        font-weight: 700;
        letter-spacing: -0.4px;
        margin: 0;
    }

    body:not(.services-page) .service-card .foot {
        font-family: var(--font-body);
        font-size: 8px;
        font-weight: 400;
        line-height: 1.45;
        gap: 4px;
        color: #7d897e;
    }

    body:not(.services-page) .service-card .verified {
        font-family: var(--font-body);
        font-size: 8px;
        font-weight: 400;
        color: #53835e;
    }

    body:not(.services-page) .service-card .skill-tag {
        font-family: var(--font-body);
        font-size: 7px;
        font-weight: 700;
        letter-spacing: 0.2px;
    }

    .ask-page {
        max-width: 100%;
    }

    .ask-hero-block {
        padding: 8px 0 4px;
    }

    .ask-spark {
        width: 44px;
        height: 44px;
        margin-bottom: 12px;
        border-radius: 12px;
    }

    .ask-hero-block .eyebrow {
        margin: 0 0 10px;
        font-family: var(--font-body);
        font-size: 10px;
        font-weight: 650;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        color: #67816c;
    }

    .ask-hero-block h1 {
        margin: 0 0 0;
        font-family: var(--font-heading);
        font-size: 29px;
        font-weight: 700;
        line-height: 1.38;
        letter-spacing: -1px;
        color: #18251f;
    }

    .ask-hero-block .lead {
        margin: 14px auto 20px;
        padding: 0 2px;
        font-family: var(--font-body);
        font-size: 12px;
        font-weight: 400;
        line-height: 1.7;
        color: #859078;
    }

    .ask-search {
        min-height: 44px;
        margin: 0 auto 12px;
        padding: 3px 3px 3px 14px;
        border-radius: 14px;
        gap: 6px;
    }

    .ask-search input {
        font-family: var(--font-body);
        font-size: 12px;
        font-weight: 400;
        padding: 0 2px;
    }

    .ask-search button {
        width: 36px;
        height: 36px;
        flex: none;
    }

    .ask-search button svg {
        width: 16px;
        height: 16px;
    }

    .ask-suggestions a {
        border: 1px solid var(--line);
        font-family: var(--font-body);
        font-size: 10px;
        font-weight: 400;
    }

    .ask-meta {
        padding: 0 2px;
        font-family: var(--font-body);
        font-size: 10px;
        font-weight: 400;
        line-height: 1.5;
    }

    .ask-results {
        margin-top: 22px;
        gap: 10px;
    }

    .ask-match {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 14px;
    }

    .ask-match-copy strong {
        font-family: var(--font-heading);
        font-size: 13px;
        font-weight: 700;
        line-height: 1.25;
    }

    .ask-match-copy > span:not(.ask-kind):not(.verified) {
        font-family: var(--font-body);
        font-size: 10px;
        font-weight: 400;
    }

    .ask-match-price {
        grid-column: 2;
        justify-self: start;
        font-family: var(--font-heading);
        font-size: 13px;
        font-weight: 700;
    }

    .empty-state:not(.deals-proto-empty):not(.wanted-proto-empty) {
        padding: 36px 18px;
        border-radius: 16px;
    }

    .empty-state:not(.deals-proto-empty):not(.wanted-proto-empty) h2 {
        font-size: 23px;
    }

    .empty-state:not(.deals-proto-empty):not(.wanted-proto-empty) p {
        font-size: 12px;
    }

    .marketplace-trust:not(.deals-proto-trust) {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        gap: 8px;
        width: 100%;
        box-sizing: border-box;
        margin: 0 auto;
        padding: 12px 14px;
        border-radius: 12px;
        font-size: 11px;
        line-height: 1.4;
        text-align: left;
    }

    .marketplace-trust:not(.deals-proto-trust) svg {
        width: 18px;
        height: 18px;
        margin-top: 1px;
        flex: none;
    }

    .marketplace-trust:not(.deals-proto-trust) span {
        flex: 0 1 auto;
        width: auto;
        max-width: 18.5rem;
        text-align: left;
    }

    .ask-suggestions a {
        font-size: 10px;
    }

    .empty-state:not(.deals-proto-empty):not(.wanted-proto-empty) .empty-state-actions {
        width: 100%;
    }

    .empty-state:not(.deals-proto-empty):not(.wanted-proto-empty) .empty-state-actions .btn-solid,
    .empty-state:not(.deals-proto-empty):not(.wanted-proto-empty) .empty-state-actions .btn-ghost {
        width: 100%;
        justify-content: center;
    }

    .marketplace-filters:not(.deals-proto-filters) {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .ask-found {
        margin: 0 0 8px;
        font-size: 12px;
        line-height: 1.35;
    }

    .ask-results {
        gap: 8px;
    }

    .ask-match {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 10px;
        padding: 10px;
        align-items: start;
        border-radius: 12px;
    }

    .ask-match img,
    .ask-match-fallback {
        width: 52px;
        height: 52px;
        border-radius: 10px;
    }

    .ask-match-fallback {
        font-size: 15px;
    }

    .ask-match-copy {
        gap: 3px;
    }

    .ask-kind {
        padding: 1px 7px;
        font-size: 10px;
    }

    .ask-match-copy strong {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: 13px;
        line-height: 1.25;
    }

    .ask-match-copy > span:not(.ask-kind):not(.verified) {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 10px;
        letter-spacing: 0.02em;
        text-transform: uppercase;
    }

    .ask-match-copy .verified {
        font-size: 10px;
    }

    .ask-match-price {
        grid-column: 2;
        margin-top: 2px;
        font-size: 13px;
        line-height: 1.2;
    }
}

.whatsapp-page {
    max-width: 1100px;
}

.whatsapp-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.whatsapp-hero h1 {
    margin: 0 0 6px;
    font-size: 32px;
    letter-spacing: -0.03em;
}

.whatsapp-hero .lead {
    margin: 0;
    color: var(--muted);
}

.chat-layout {
    display: grid;
    grid-template-columns: 235px minmax(0, 1fr);
    gap: 13px;
}

.panel {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
}

.chat-journeys {
    padding: 8px;
    display: grid;
    gap: 3px;
    align-self: start;
}

.chat-journeys a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 44px;
    padding: 10px;
    border-radius: 9px;
    font-size: 13px;
}

.chat-journeys a svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.chat-journeys a:hover,
.chat-journeys a.current {
    background: var(--mint);
    color: var(--green);
    font-weight: 680;
}

.wa-panel {
    padding: 0;
    overflow: hidden;
}

.wa-header {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 15px;
    border-bottom: 1px solid var(--line);
}

.wa-avatar {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #25d366;
    color: #fff;
}

.wa-avatar svg {
    width: 22px;
    height: 22px;
}

.wa-header div:nth-child(2) {
    flex: 1 1 0%;
}

.wa-header strong {
    display: block;
}

.wa-header small {
    display: block;
    font-size: 11px;
    color: var(--muted);
}

.wa-messages {
    background: #e9f2e9;
    min-height: 230px;
    max-height: 430px;
    overflow: auto;
    display: grid;
    gap: 8px;
    align-content: start;
    padding: 13px;
}

.bubble {
    border: 1px solid var(--line);
    background: #fff;
    padding: 9px 12px;
    border-radius: 12px;
    max-width: min(88%, 480px);
    justify-self: start;
    overflow-wrap: anywhere;
}

.bubble small {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: #366759;
    margin-bottom: 2px;
}

.bubble.out {
    justify-self: end;
    background: #ddf1e7;
    border-color: #d4e8df;
}

.wa-links {
    display: grid;
    gap: 6px;
    margin-top: 8px;
}

.wa-links .place-picker-text {
    justify-content: flex-start;
}

.chat-quick {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    padding: 10px 12px 2px;
}

.chat-quick .chip {
    white-space: normal;
    text-align: left;
    font-size: 12px;
    cursor: pointer;
}

.wa-compose {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px 12px;
}

.wa-compose input {
    flex: 1;
    min-width: 0;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0 14px;
    background: var(--soft);
}

.wa-compose input:disabled {
    opacity: 0.6;
}

.wa-compose .btn-solid {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 999px;
    display: grid;
    place-items: center;
}

.wa-compose .btn-solid svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 800px) {
    .whatsapp-hero {
        flex-direction: column;
    }

    .chat-layout {
        grid-template-columns: 1fr;
    }

    .chat-journeys {
        grid-template-columns: 1fr;
        overflow-x: auto;
    }
}
