:root {
    --th-ink: #172c31;
    --th-teal: #123f46;
    --th-mint: #e6f5ef;
    --th-lime: #d7f46d;
    --th-paper: #f8faf8;
    --th-muted: #69797b;
    --th-line: #dce5e1;
    --th-orange: #ff8e65;
    --th-white: #fff;
    --th-shadow: 0 12px 40px rgba(23, 66, 58, .1);
}

body.tohjul-v4 {
    margin: 0;
    background: var(--th-paper);
    color: var(--th-ink);
    font-family: "DM Sans", sans-serif;
}

body.tohjul-v4 .listivo-app,
body.tohjul-v4 > .listivo-footer {
    display: none !important;
}

.tohjul, .tohjul * { box-sizing: border-box; }
.tohjul { min-height: 100vh; background: var(--th-paper); color: var(--th-ink); font-family: "DM Sans", sans-serif; }
.tohjul button, .tohjul input, .tohjul select, .tohjul textarea { font: inherit; }
.tohjul button { cursor: pointer; }
.tohjul a { color: inherit; text-decoration: none; }
.th-wrap { width: min(1240px, calc(100% - 50px)); margin: 0 auto; }
.th-wrap--narrow { width: min(850px, calc(100% - 50px)); }
.th-topbar { background: #102f35; color: #e6f1ed; font-size: 12px; text-align: center; padding: 9px 18px; }

.th-nav { position: relative; z-index: 50; background: #fff; border-bottom: 1px solid var(--th-line); }
.th-nav__inner { min-height: 77px; display: flex; align-items: center; gap: 34px; }
.th-logo { display: inline-flex; align-items: center; gap: 9px; color: var(--th-ink); font: 800 30px/1 "Manrope", sans-serif; letter-spacing: -1.5px; }
.th-logo__mark { width: 35px; height: 30px; position: relative; display: inline-block; }
.th-logo__mark::before, .th-logo__mark::after { content: ""; position: absolute; bottom: 1px; width: 20px; height: 20px; border: 5px solid #1e6764; border-radius: 50%; }
.th-logo__mark::before { left: 0; }
.th-logo__mark::after { right: 0; border-color: #a1d048; }
.th-logo__dot { color: #6ab68d; }
.th-nav__links { display: flex; gap: 24px; align-items: center; font-size: 14px; font-weight: 700; }
.th-nav__links a { padding: 28px 0 25px; border-bottom: 3px solid transparent; }
.th-nav__links a:hover, .th-nav__links a.is-active { color: #22816e; border-color: #8dbf63; }
.th-nav__actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.th-nav__toggle { display: none; margin-left: auto; border: 1px solid var(--th-line); background: #fff; padding: 10px 14px; border-radius: 8px; font-weight: 800; }

.th-button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; border: 0; border-radius: 9px; padding: 11px 18px; background: var(--th-lime); color: var(--th-ink); font-weight: 800; line-height: 1.1; }
.th-button:hover { transform: translateY(-1px); filter: brightness(.98); }
.th-button--dark { background: var(--th-teal); color: #fff; }
.th-button--outline { background: #fff; border: 1px solid var(--th-line); }
.th-button--full { width: 100%; }

.th-alert { width: min(1190px, calc(100% - 40px)); margin: 16px auto 0; padding: 13px 16px; border-radius: 10px; font-weight: 700; }
.th-alert--success { background: #e4f5e8; border: 1px solid #a9dcb5; color: #175d2b; }
.th-alert--error { background: #fff0ee; border: 1px solid #f2b5ad; color: #8a2921; }
.th-alert--notice { background: #fff8df; border: 1px solid #e9d596; color: #715813; }

.th-hero { padding: 35px 0 22px; }
.th-hero__panel { min-height: 330px; display: grid; grid-template-columns: 1.1fr .9fr; overflow: hidden; border-radius: 22px; background: #103e43; }
.th-hero__copy { position: relative; z-index: 2; padding: 43px 48px; color: #fff; }
.th-eyebrow { display: inline-flex; border: 1px solid #577a75; border-radius: 40px; padding: 8px 12px; color: #d5f4df; font-size: 12px; font-weight: 700; }
.th-eyebrow--dark { border-color: #b9d1c9; color: #28675f; background: #f4faf7; }
.th-hero h1 { margin: 20px 0 14px; font: 800 clamp(38px, 4vw, 58px)/1.08 "Manrope", sans-serif; letter-spacing: -2px; color: #fff; }
.th-hero h1 em { color: var(--th-lime); font-style: normal; }
.th-hero__copy p { max-width: 490px; margin: 0; color: #c1d7d2; font-size: 15px; line-height: 1.7; }
.th-hero__image { position: relative; background: linear-gradient(90deg, #103e43 0%, rgba(16, 62, 67, .05) 35%), url("https://images.unsplash.com/photo-1558981806-ec527fa84c39?w=1200&auto=format&fit=crop&q=86") center/cover no-repeat; }

.th-searchbox { position: relative; z-index: 3; margin-top: -33px; padding: 20px; border: 1px solid var(--th-line); border-radius: 15px; background: #fff; box-shadow: var(--th-shadow); }
.th-searchbox__tabs { display: flex; gap: 25px; margin-bottom: 15px; font-weight: 800; }
.th-searchbox__tabs span { padding-bottom: 9px; color: var(--th-muted); }
.th-searchbox__tabs .is-active { color: #173b3b; border-bottom: 3px solid #8cbf63; }
.th-searchbox__grid { display: grid; grid-template-columns: 2.2fr 1.1fr 1fr 1fr auto; gap: 10px; }
.tohjul input, .tohjul select, .tohjul textarea { width: 100%; border: 1px solid var(--th-line); border-radius: 8px; background: #fff; color: #344e50; outline: none; }
.tohjul input, .tohjul select { min-height: 46px; padding: 0 12px; }
.tohjul textarea { padding: 12px; resize: vertical; }
.tohjul input:focus, .tohjul select:focus, .tohjul textarea:focus { border-color: #4d8c7d; box-shadow: 0 0 0 3px rgba(77, 140, 125, .12); }

.th-section { padding: 34px 0; }
.th-section--soft { background: #f1f6f3; border-block: 1px solid #e5ece8; }
.th-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.th-heading h2 { margin: 0 0 5px; color: var(--th-ink); font: 800 28px/1.2 "Manrope", sans-serif; letter-spacing: -.7px; }
.th-heading p { margin: 0; color: var(--th-muted); font-size: 14px; }
.th-heading > a { color: #235f5d; font-size: 14px; font-weight: 800; }

.th-categories { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.th-category { padding: 17px 7px 16px; border: 1px solid var(--th-line); border-radius: 13px; background: #fff; text-align: center; transition: .2s ease; }
.th-category:hover { transform: translateY(-3px); border-color: #70a991; background: #f0faf3; box-shadow: 0 10px 25px rgba(24, 68, 67, .08); }
.th-category img { display: block; width: 100%; height: 92px; margin-bottom: 11px; border-radius: 8px; object-fit: cover; }
.th-category strong { display: block; font-size: 14px; }
.th-category small { display: block; margin-top: 4px; color: var(--th-muted); }

.th-listing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.th-card { overflow: hidden; position: relative; border: 1px solid var(--th-line); border-radius: 13px; background: #fff; transition: .2s ease; }
.th-card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(24, 68, 67, .1); }
.th-card__image { display: block; position: relative; height: 190px; background: #e9eeee; }
.th-card__image > img { width: 100%; height: 100%; display: block; object-fit: cover; }
.th-pill { position: absolute; top: 10px; left: 10px; padding: 6px 8px; border-radius: 6px; background: #fff; color: var(--th-ink); font-size: 10px; font-weight: 800; text-transform: uppercase; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.th-favourite { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 8px; background: #fff; color: #203b3b; font-size: 21px; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.th-favourite.is-active { color: #c54251; }
.th-card__content { padding: 14px; }
.th-card__seller { color: #6c7f7a; font-size: 11px; font-weight: 700; }
.th-card h3 { min-height: 43px; margin: 7px 0; font: 800 15px/1.45 "Manrope", sans-serif; }
.th-card h3 a:hover { color: #1d6c61; }
.th-card__price { font: 800 20px/1.2 "Manrope", sans-serif; }
.th-card__meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; color: #6e7e7b; font-size: 11px; }
.th-card__foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 13px; padding-top: 10px; border-top: 1px solid var(--th-line); color: #687979; font-size: 11px; }
.th-card__foot a { color: #1d6c61; font-weight: 800; }

.th-empty { grid-column: 1 / -1; padding: 55px 25px; border: 1px dashed #bdd0ca; border-radius: 14px; background: #fff; text-align: center; }
.th-empty > span { display: block; margin-bottom: 8px; font-size: 42px; }
.th-empty h3 { margin: 0 0 8px; font: 800 20px "Manrope", sans-serif; }
.th-empty p { margin: 0 0 20px; color: var(--th-muted); }
.th-empty--small { padding: 35px 20px; }

.th-feature-banner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 28px; border: 1px solid #d5e5d9; border-radius: 16px; background: #e5f2eb; }
.th-feature-banner h2 { margin: 0 0 6px; font: 800 23px "Manrope", sans-serif; }
.th-feature-banner p { margin: 0; color: #56716d; font-size: 14px; }
.th-feature-banner--spaced { margin-top: 28px; }
.th-service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.th-service-card { display: block; padding: 25px; border: 1px solid var(--th-line); border-radius: 15px; background: #fff; transition: .2s; }
.th-service-card:hover { transform: translateY(-2px); border-color: #7eaa9f; }
.th-service-card > span { font-size: 36px; }
.th-service-card h3 { margin: 13px 0 7px; font: 800 20px "Manrope", sans-serif; }
.th-service-card p { min-height: 42px; margin: 0 0 13px; color: var(--th-muted); }
.th-service-card strong { color: #235f5d; }
.th-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 34px 39px; border-radius: 20px; background: var(--th-teal); color: #fff; }
.th-cta h2 { margin: 0 0 9px; color: #fff; font: 800 29px "Manrope", sans-serif; }
.th-cta p { margin: 0; color: #c8dbd8; font-size: 14px; }

.th-page { min-height: 65vh; padding: 44px 0 65px; }
.th-page--auth { background: linear-gradient(180deg, #edf7f2, var(--th-paper)); }
.th-page-heading { max-width: 760px; margin-bottom: 30px; }
.th-page-heading h1 { margin: 15px 0 8px; font: 800 clamp(36px, 5vw, 55px)/1.08 "Manrope", sans-serif; letter-spacing: -1.8px; }
.th-page-heading p { margin: 0; color: var(--th-muted); font-size: 16px; line-height: 1.65; }

.th-market { display: grid; grid-template-columns: 245px 1fr; gap: 24px; align-items: start; }
.th-filter { position: sticky; top: 20px; padding: 20px; border: 1px solid var(--th-line); border-radius: 13px; background: #fff; }
.th-filter__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.th-filter__head strong { font-size: 18px; }
.th-filter__head a { color: #237967; font-size: 12px; font-weight: 700; }
.th-field { margin-bottom: 16px; }
.th-field label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 800; }
.th-field small { display: block; margin-top: 6px; color: var(--th-muted); font-size: 11px; }
.th-field--wide { grid-column: 1 / -1; }
.th-filter input, .th-filter select { min-height: 42px; font-size: 13px; }
.th-results-top { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 15px; }
.th-results-top p { margin: 0; color: var(--th-muted); }
.th-market__results .th-listing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.th-pagination ul { display: flex; gap: 7px; justify-content: center; margin: 28px 0 0; padding: 0; list-style: none; }
.th-pagination a, .th-pagination span { display: grid; min-width: 38px; height: 38px; place-items: center; border: 1px solid var(--th-line); border-radius: 8px; background: #fff; }
.th-pagination .current { background: var(--th-teal); color: #fff; }

.th-form { overflow: hidden; border: 1px solid var(--th-line); border-radius: 16px; background: #fff; box-shadow: 0 8px 30px rgba(25, 64, 58, .06); }
.th-form__section { padding: 25px; border-bottom: 1px solid var(--th-line); }
.th-form__section h2 { margin: 0 0 20px; font: 800 20px "Manrope", sans-serif; }
.th-form__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 18px; }
.th-form__actions { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 22px 25px; background: #f6faf7; }
.th-form__actions p { max-width: 520px; margin: 0; color: var(--th-muted); font-size: 12px; line-height: 1.5; }
.th-form--compact { overflow: visible; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.th-form--compact .th-field { margin-bottom: 13px; }
.th-check { display: flex; align-items: flex-start; gap: 9px; margin: 5px 0 16px; color: var(--th-muted); font-size: 12px; line-height: 1.4; }
.th-check input { width: auto; min-height: auto; margin-top: 2px; }
.th-check a { color: #1d6c61; text-decoration: underline; }
.th-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; }

.th-auth { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; overflow: hidden; max-width: 960px; margin: 15px auto; border: 1px solid var(--th-line); border-radius: 20px; background: #fff; box-shadow: var(--th-shadow); }
.th-auth > section { padding: 36px; }
.th-auth > section + section { background: var(--th-teal); color: #fff; }
.th-auth h1, .th-auth h2 { margin: 15px 0 8px; font: 800 31px "Manrope", sans-serif; color: inherit; }
.th-auth > section > p { margin: 0 0 23px; color: var(--th-muted); }
.th-auth > section + section > p, .th-auth > section + section .th-field small, .th-auth > section + section .th-check { color: #bfd1ce; }
.th-auth > section + section input, .th-auth > section + section select { border-color: #477176; background: #194b52; color: #fff; }
.th-auth > section + section .th-eyebrow { border-color: #608388; background: #194b52; color: #d9f7df; }
.th-auth__help { display: inline-block; margin-top: 14px; color: #1d6c61 !important; font-size: 12px; font-weight: 800; text-decoration: underline !important; }
.th-dealer-fields { margin: 4px 0 16px; padding: 16px; border: 1px solid #477176; border-radius: 10px; background: rgba(255,255,255,.045); }
.th-dealer-fields[hidden] { display: none; }
.th-dealer-fields > p { margin: 0 0 14px; color: #fff; font-size: 13px; line-height: 1.45; }
.th-dealer-fields > p small { color: #bfd1ce; }
.th-dealer-fields .th-field:last-child { margin-bottom: 0; }
.th-dealer-fields label span { color: #bfd1ce; font-weight: 500; }
.th-auth-gate { max-width: 650px; margin: 50px auto; padding: 45px; border: 1px solid var(--th-line); border-radius: 18px; background: #fff; text-align: center; }
.th-auth-gate h1 { margin: 0 0 10px; font: 800 35px "Manrope", sans-serif; }
.th-auth-gate p { margin: 0 0 22px; color: var(--th-muted); }

.th-dashboard-head { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 25px; }
.th-dashboard-head h1 { margin: 14px 0 5px; font: 800 40px "Manrope", sans-serif; }
.th-dashboard-head p { margin: 0; color: var(--th-muted); }
.th-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 26px; }
.th-stats > div { padding: 20px; border: 1px solid var(--th-line); border-radius: 13px; background: #fff; }
.th-stats strong { display: block; font: 800 30px "Manrope", sans-serif; }
.th-stats span { color: var(--th-muted); font-size: 13px; }
.th-dashboard-profile { display: grid; grid-template-columns: minmax(220px, .75fr) minmax(320px, 1.25fr); gap: 30px; margin-bottom: 26px; padding: 24px; border: 1px solid var(--th-line); border-radius: 15px; background: #fff; }
.th-dashboard-profile h2 { margin: 0 0 8px; font: 800 23px "Manrope", sans-serif; }
.th-dashboard-profile > div > p { margin: 0; color: var(--th-muted); font-size: 13px; line-height: 1.6; }
.th-dashboard-profile input[readonly] { background: #f4f7f5; color: var(--th-muted); }
.th-dashboard-data { display: grid; grid-template-columns: minmax(220px, .75fr) minmax(320px, 1.25fr); gap: 30px; margin-bottom: 26px; padding: 24px; border: 1px solid var(--th-line); border-radius: 15px; background: #fff; }
.th-dashboard-data h2 { margin: 0 0 8px; font: 800 23px "Manrope", sans-serif; }
.th-dashboard-data > div > p { margin: 0; color: var(--th-muted); font-size: 13px; line-height: 1.6; }
.th-dashboard-data__actions { display: grid; gap: 16px; align-content: start; }
.th-dashboard-data__actions form { margin: 0; }
.th-deletion-request, .th-account-request { padding: 16px; border: 1px solid #ead8b3; border-radius: 10px; background: #fffaf0; }
.th-deletion-request .th-check { margin-top: 0; color: #685a3d; }
.th-account-request strong { display: block; margin-bottom: 5px; color: #7b5514; }
.th-account-request p { margin: 0 0 13px; color: #685a3d; font-size: 12px; line-height: 1.5; }
.th-dashboard-list { padding: 24px; border: 1px solid var(--th-line); border-radius: 15px; background: #fff; }
.th-dashboard-list > h2 { margin: 0 0 18px; font: 800 23px "Manrope", sans-serif; }
.th-dashboard-list article { display: grid; grid-template-columns: 85px 1fr auto; gap: 15px; align-items: center; padding: 14px 0; border-top: 1px solid var(--th-line); }
.th-dashboard-list article:first-of-type { border-top: 0; }
.th-dashboard-list article > img { width: 85px; height: 65px; border-radius: 8px; object-fit: cover; }
.th-dashboard-list h3 { margin: 0 0 5px; font: 800 16px "Manrope", sans-serif; }
.th-dashboard-list p { margin: 0; color: var(--th-muted); font-size: 12px; }
.th-dashboard-list__actions { display: flex; gap: 10px; align-items: center; }
.th-dashboard-list__actions a, .th-dashboard-list__actions button { border: 0; background: transparent; color: #1d6c61; font-weight: 800; }
.th-status { font-weight: 800; }
.th-status--publish { color: #2a7a43; }
.th-status--pending { color: #9a6b10; }
.th-status--draft { color: #7a7a7a; }
.th-dashboard-messages { margin-top: 26px; padding: 24px; border: 1px solid var(--th-line); border-radius: 15px; background: #fff; }
.th-dashboard-messages > h2 { margin: 0 0 18px; font: 800 23px "Manrope", sans-serif; }
.th-dashboard-messages article { display: grid; grid-template-columns: minmax(150px, .55fr) minmax(260px, 1.5fr) auto; gap: 18px; align-items: start; padding: 18px 0; border-top: 1px solid var(--th-line); }
.th-dashboard-messages article:first-of-type { border-top: 0; }
.th-dashboard-messages h3 { margin: 0 0 5px; font: 800 16px "Manrope", sans-serif; }
.th-dashboard-messages p { margin: 0; color: var(--th-muted); font-size: 12px; }
.th-dashboard-messages .th-message-copy p { color: var(--th-ink); font-size: 14px; line-height: 1.6; }
.th-dashboard-messages article > a { color: #1d6c61; font-weight: 800; white-space: nowrap; }
.th-delivery-status { display: inline-block; margin-top: 8px; padding: 4px 7px; border-radius: 999px; font-size: 10px; font-weight: 800; }
.th-delivery-status--sent { background: #e3f3e7; color: #28733f; }
.th-delivery-status--stored { background: #fff1df; color: #8b5813; }

.th-dealer-grid, .th-directory-grid, .th-guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.th-dealer { display: flex; gap: 15px; align-items: center; padding: 24px; border: 1px solid var(--th-line); border-radius: 14px; background: #fff; }
.th-dealer__avatar { width: 58px; height: 58px; flex: 0 0 58px; display: grid; place-items: center; border-radius: 12px; background: var(--th-mint); color: #28675f; font-weight: 800; font-size: 19px; }
.th-dealer h2 { margin: 0; font: 800 17px "Manrope", sans-serif; }
.th-dealer p { margin: 5px 0; color: var(--th-muted); font-size: 12px; }
.th-dealer a { color: #27745e; font-size: 12px; font-weight: 800; }
.th-directory-grid article, .th-guide-grid article { min-height: 210px; padding: 26px; border: 1px solid var(--th-line); border-radius: 15px; background: #fff; }
.th-directory-grid article > span { font-size: 35px; }
.th-directory-grid h2, .th-guide-grid h2 { margin: 17px 0 8px; font: 800 21px "Manrope", sans-serif; }
.th-directory-grid p, .th-guide-grid p { color: var(--th-muted); line-height: 1.6; }
.th-directory-grid strong, .th-guide-grid__soon { color: #27745e; font-size: 12px; font-weight: 800; }
.th-guide-grid__number { color: #75a28c; font: 800 13px "Manrope", sans-serif; }

.th-breadcrumb { display: flex; gap: 8px; align-items: center; margin-bottom: 20px; color: var(--th-muted); font-size: 12px; }
.th-breadcrumb a { color: #23665d; font-weight: 700; }
.th-listing-detail { display: grid; grid-template-columns: minmax(0, 1fr) 355px; gap: 28px; align-items: start; }
.th-gallery { overflow: hidden; border: 1px solid var(--th-line); border-radius: 15px; background: #fff; }
.th-gallery__main { display: block; width: 100%; height: 500px; object-fit: cover; }
.th-gallery__thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; }
.th-gallery__thumbs button { flex: 0 0 85px; height: 64px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 8px; background: none; }
.th-gallery__thumbs button:hover { border-color: #4d8c7d; }
.th-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.th-detail-copy { margin-top: 18px; padding: 25px; border: 1px solid var(--th-line); border-radius: 15px; background: #fff; }
.th-detail-copy__tags { display: flex; gap: 7px; }
.th-detail-copy__tags span { padding: 6px 9px; border-radius: 20px; background: var(--th-mint); color: #28675f; font-size: 11px; font-weight: 800; }
.th-detail-copy h1 { margin: 14px 0 5px; font: 800 clamp(30px, 4vw, 45px)/1.12 "Manrope", sans-serif; }
.th-detail-copy__location { color: var(--th-muted); font-size: 13px; }
.th-detail-copy h2 { margin: 28px 0 10px; font: 800 21px "Manrope", sans-serif; }
.th-prose { color: #3f5557; line-height: 1.75; }
.th-prose h2 { margin-top: 28px; color: var(--th-ink); font: 800 22px "Manrope", sans-serif; }
.th-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0; }
.th-specs > div { padding: 14px; border-radius: 9px; background: #f3f7f5; }
.th-specs dt { color: var(--th-muted); font-size: 11px; font-weight: 700; }
.th-specs dd { margin: 5px 0 0; font-weight: 800; }
.th-seller-card { position: sticky; top: 20px; padding: 25px; border: 1px solid var(--th-line); border-radius: 15px; background: #fff; box-shadow: 0 12px 35px rgba(23, 66, 58, .09); }
.th-seller-card__price { font: 800 32px "Manrope", sans-serif; }
.th-seller-card > p { margin: 3px 0 20px; color: var(--th-muted); font-size: 12px; }
.th-seller-card hr { border: 0; border-top: 1px solid var(--th-line); }
.th-seller-card__profile { display: flex; gap: 12px; align-items: center; margin: 20px 0; }
.th-seller-card__profile > div { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 11px; background: var(--th-mint); color: #28675f; font-weight: 800; }
.th-seller-card__profile strong, .th-seller-card__profile small { display: block; }
.th-seller-card__profile small { margin-top: 3px; color: var(--th-muted); }
.th-safety { margin: 15px 0 0 !important; padding: 11px; border-radius: 8px; background: #fff8dc; color: #6f5a20 !important; font-size: 11px !important; line-height: 1.5; }

.th-footer { padding: 35px 0; border-top: 1px solid var(--th-line); background: #fff; color: #6f807b; font-size: 13px; }
.th-footer__inner { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.th-footer strong { color: #183e43; font: 800 17px "Manrope", sans-serif; }
.th-footer nav { display: flex; gap: 18px; }

@media (max-width: 1050px) {
    .th-nav__links { gap: 14px; }
    .th-nav__links a { font-size: 13px; }
    .th-market__results .th-listing-grid { grid-template-columns: repeat(2, 1fr); }
    .th-categories { grid-template-columns: repeat(3, 1fr); }
    .th-searchbox__grid { grid-template-columns: repeat(2, 1fr); }
    .th-searchbox__grid .th-button { grid-column: span 2; }
}

@media (max-width: 820px) {
    .th-wrap, .th-wrap--narrow { width: min(100% - 30px, 1240px); }
    .th-nav__inner { min-height: 68px; flex-wrap: wrap; padding: 10px 0; gap: 10px; }
    .th-nav__toggle { display: block; }
    .th-nav__links { order: 4; display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; border-top: 1px solid var(--th-line); }
    .th-nav__links.is-open { display: flex; }
    .th-nav__links a { padding: 10px 4px; border: 0; }
    .th-nav__actions .th-button--outline { display: none; }
    .th-hero__panel { grid-template-columns: 1fr; }
    .th-hero__image { min-height: 210px; background-image: url("https://images.unsplash.com/photo-1558981806-ec527fa84c39?w=900&auto=format&fit=crop&q=84"); }
    .th-searchbox { margin-top: -18px; }
    .th-listing-grid { grid-template-columns: repeat(2, 1fr); }
    .th-market { grid-template-columns: 1fr; }
    .th-filter, .th-seller-card { position: static; }
    .th-filter form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 14px; }
    .th-filter .th-button { grid-column: 1 / -1; }
    .th-market__results .th-listing-grid { grid-template-columns: repeat(2, 1fr); }
    .th-service-grid, .th-dealer-grid, .th-directory-grid, .th-guide-grid { grid-template-columns: repeat(2, 1fr); }
    .th-auth { grid-template-columns: 1fr; }
    .th-listing-detail { grid-template-columns: 1fr; }
    .th-gallery__main { height: 390px; }
}

@media (max-width: 580px) {
    .th-topbar { font-size: 10px; }
    .th-logo { font-size: 26px; }
    .th-logo__mark { transform: scale(.85); transform-origin: left center; margin-right: -4px; }
    .th-nav__actions .th-button { padding-inline: 12px; font-size: 12px; }
    .th-hero { padding-top: 15px; }
    .th-hero__copy { padding: 30px 23px; }
    .th-hero__image { min-height: 175px; }
    .th-searchbox__grid, .th-filter form, .th-form__grid, .th-dashboard-profile, .th-dashboard-data { grid-template-columns: 1fr; }
    .th-searchbox__grid .th-button, .th-field--wide, .th-filter .th-button { grid-column: auto; }
    .th-categories, .th-listing-grid, .th-market__results .th-listing-grid, .th-service-grid, .th-dealer-grid, .th-directory-grid, .th-guide-grid { grid-template-columns: 1fr; }
    .th-category { display: grid; grid-template-columns: 95px 1fr; grid-template-rows: auto auto; column-gap: 14px; text-align: left; align-items: end; }
    .th-category img { grid-row: 1 / 3; height: 75px; margin: 0; }
    .th-category small { align-self: start; }
    .th-card__image { height: 230px; }
    .th-heading, .th-feature-banner, .th-cta, .th-form__actions, .th-dashboard-head, .th-footer__inner { align-items: flex-start; flex-direction: column; }
    .th-feature-banner, .th-cta { padding: 25px; }
    .th-form__section, .th-auth > section { padding: 22px; }
    .th-form__actions { padding: 20px; }
    .th-stats { grid-template-columns: 1fr; }
    .th-dashboard-list article { grid-template-columns: 70px 1fr; }
    .th-dashboard-list article > img { width: 70px; height: 55px; }
    .th-dashboard-list__actions { grid-column: 2; }
    .th-dashboard-messages article { grid-template-columns: 1fr; }
    .th-gallery__main { height: 280px; }
    .th-specs { grid-template-columns: 1fr; }
    .th-footer nav { flex-wrap: wrap; }
}
