/* =========================================================================
   Ceramispot — Petites annonces
   Everything is scoped under .cspa so the theme cannot break it and it
   cannot break the theme.
   ========================================================================= */


.cspa {
	--c-bg: #faf7f4;
	--c-surface: #ffffff;
	--c-sand: #f2e9df;
	--c-sand-2: #e8dccf;
	--c-line: #e8ddd2;
	--c-line-2: #f2ebe3;
	--c-ink: #33251a;
	--c-ink-2: #65554a;
	--c-ink-3: #7b6b5f;
	--c-accent: #ac5c40;
	--c-accent-2: #924a31;
	--c-accent-soft: #f7e9e1;
	--c-accent-ink: #86432b;
	--c-free: #2c7560;
	--c-free-soft: #e4f2ec;
	--c-wanted: #4f62a5;
	--c-wanted-soft: #e8ebf7;
	--c-swap: #7b5aa6;
	--c-swap-soft: #efe8f7;
	--c-amber: #9a6512;
	--c-amber-soft: #fbf0db;
	--c-danger: #ad3a2c;
	--c-danger-soft: #fbe7e3;
	--c-ok: #2f7a52;
	--c-ok-soft: #e5f3ea;
	--f-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--f-serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--r: 14px;
	--r-sm: 10px;
	--r-lg: 20px;
	--sh: 0 1px 2px rgba(51, 37, 26, .05), 0 8px 24px rgba(51, 37, 26, .06);
	--sh-lg: 0 18px 50px rgba(51, 37, 26, .16);
	--gut: 16px;
	--subnav-h: 52px;
	color: var(--c-ink);
	font-family: var(--f-sans);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
#cspa.cspa { background: var(--c-bg); padding-bottom: 32px; }
.cspa *, .cspa *::before, .cspa *::after { box-sizing: border-box; }

/* ---------- Resets against theme styles ---------- */
.cspa :is(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, fieldset, legend) { margin: 0; padding: 0; border: 0; }
.cspa :is(h1, h2, h3, h4) { color: var(--c-ink); font-family: var(--f-serif); font-weight: 500; letter-spacing: -.01em; line-height: 1.15; text-transform: none; font-variant-numeric: lining-nums; }
.cspa :is(ul, ol) { list-style: none; }
.cspa :is(p, li, dd, dt, label, legend, summary, small) { line-height: inherit; }
.cspa :is(ul, ol) li { margin: 0; padding: 0; }
.cspa :is(ul, ol) li::before { content: none; }
.cspa a { color: inherit; text-decoration: none; transition: color .15s; }
.cspa img { max-width: 100%; height: auto; display: block; border: 0; }
.cspa :is(input, select, textarea, button) { font: inherit; letter-spacing: normal; text-transform: none; margin: 0; color: var(--c-ink); box-shadow: none; outline: 0; max-width: 100%; min-width: 0; min-height: 0; line-height: 1.4; }
.cspa button { cursor: pointer; background: none; border: 0; padding: 0; border-radius: 0; height: auto; width: auto; }
.cspa :is(input[type="text"], input[type="search"], input[type="email"], input[type="number"], input[type="url"], input[type="tel"], input[type="date"], select, textarea) {
	display: block; width: 100%; height: auto; padding: 12px 14px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-sm); font-size: 16px; font-weight: 400; color: var(--c-ink); transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; opacity: 1;
}
.cspa :is(input[type="text"], input[type="search"], input[type="email"], input[type="number"], input[type="url"], input[type="tel"], input[type="date"], select, textarea):focus {
	border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(172, 92, 64, .18); outline: 0;
}
.cspa select { padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2365554a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 14px; }
.cspa textarea { resize: vertical; min-height: 96px; line-height: 1.55; }
.cspa ::placeholder { color: #9b8b7e; opacity: 1; }
.cspa label { display: block; margin: 0; font-weight: inherit; color: inherit; cursor: default; }
.cspa :focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.cspa [hidden] { display: none !important; }
.cspa-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.cspa .cspa-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Script states ---------- */
html.cspa-noscroll, html.cspa-noscroll body { overflow: hidden; }
.cspa [hidden] { display: none !important; }
.cspa .cspa-dialog.is-fallback { position: fixed; inset: 0; z-index: 100000; }
.cspa .cspa-ac__item mark { background: none; color: var(--c-accent-ink); font-weight: 700; padding: 0; }
.cspa .cspa-map.cspa-map--link { display: flex; align-items: center; justify-content: center; height: 120px; }
.cspa .cspa-grid.is-loading { transition: opacity .2s; }

/* ---------- Icons ---------- */
.cspa-ico { width: 20px; height: 20px; flex: none; display: inline-block; vertical-align: middle; color: currentColor; }
.cspa-ico--sm { width: 14px; height: 14px; }

/* ---------- Layout helpers ---------- */
.cspa-wrap { width: 100%; max-width: 1260px; margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.cspa-section { margin-top: 44px; }
.cspa-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.cspa .cspa-h1 { font-size: clamp(28px, 4vw, 40px); }
.cspa .cspa-h2 { font-size: clamp(22px, 2.6vw, 28px); display: flex; align-items: center; gap: 10px; }
.cspa .cspa-h2 .cspa-ico { color: var(--c-accent); width: 24px; height: 24px; }
.cspa .cspa-h3 { font-size: 20px; }
.cspa .cspa-muted { color: var(--c-ink-2); }
.cspa .cspa-small { font-size: 13.5px; }
.cspa .cspa-center { text-align: center; margin-top: 24px; }
.cspa .cspa-lead { font-size: 18px; color: var(--c-ink-2); max-width: 70ch; margin-top: 10px; }
.cspa .cspa-link { color: var(--c-accent-ink); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; font-size: 15px; }
.cspa .cspa-link:hover { color: var(--c-accent-2); text-decoration: underline; text-underline-offset: 3px; }
.cspa .cspa-link .cspa-ico { width: 16px; height: 16px; }
.cspa .cspa-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cspa-show-sm { display: none; }

/* ---------- Buttons ---------- */
.cspa .cspa-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 20px; border-radius: 999px; font-size: 15px; font-weight: 600; line-height: 1.2; border: 1px solid transparent; white-space: nowrap; transition: background .15s, color .15s, border-color .15s, transform .1s, box-shadow .15s; text-align: center; cursor: pointer; text-decoration: none; }
.cspa .cspa-btn:active { transform: translateY(1px); }
.cspa .cspa-btn .cspa-ico { width: 18px; height: 18px; }
.cspa .cspa-btn--primary { background: var(--c-accent); color: #fff; box-shadow: 0 6px 16px rgba(172, 92, 64, .25); }
.cspa .cspa-btn--primary:hover { background: var(--c-accent-2); color: #fff; }
.cspa .cspa-btn--ghost { background: #fff; color: var(--c-ink); border-color: var(--c-line); }
.cspa .cspa-btn--ghost:hover { border-color: var(--c-accent); color: var(--c-accent-ink); }
.cspa .cspa-btn--soft { background: var(--c-accent-soft); color: var(--c-accent-ink); }
.cspa .cspa-btn--soft:hover { background: #f1dccf; color: var(--c-accent-2); }
.cspa .cspa-btn--danger { background: var(--c-danger); color: #fff; }
.cspa .cspa-btn--sm { min-height: 38px; padding: 8px 16px; font-size: 14px; }
.cspa .cspa-btn--lg { min-height: 54px; font-size: 16px; }
.cspa .cspa-btn--block { display: flex; width: 100%; }
.cspa .cspa-btn--icon { width: 46px; padding: 0; flex: none; }
.cspa .cspa-btn[disabled], .cspa .cspa-btn.is-busy { opacity: .6; pointer-events: none; }
.cspa .cspa-btn.is-busy::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: cspa-spin .7s linear infinite; }
.cspa .cspa-iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: var(--c-ink-2); transition: background .15s, color .15s; flex: none; }
.cspa .cspa-iconbtn:hover { background: var(--c-line-2); color: var(--c-ink); }
@keyframes cspa-spin { to { transform: rotate(360deg); } }

/* ---------- Pills, badges, chips, dots ---------- */
.cspa .cspa-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--c-line-2); color: var(--c-ink-2); font-size: 13px; font-weight: 600; line-height: 1.2; }
.cspa .cspa-pill .cspa-ico { width: 15px; height: 15px; }
.cspa .cspa-pill--pro { background: var(--c-accent-soft); color: var(--c-accent-ink); }
.cspa .cspa-st--publish { background: var(--c-ok-soft); color: var(--c-ok); }
.cspa .cspa-st--pending { background: var(--c-amber-soft); color: var(--c-amber); }
.cspa .cspa-st--draft { background: var(--c-line-2); color: var(--c-ink-2); }
.cspa .cspa-st--cspa_refused { background: var(--c-danger-soft); color: var(--c-danger); }
.cspa .cspa-st--cspa_sold { background: #ece6df; color: var(--c-ink); }
.cspa .cspa-st--cspa_expired, .cspa .cspa-st--cspa_paused { background: #efeae4; color: var(--c-ink-2); }
.cspa .cspa-badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; line-height: 1.2; background: rgba(255, 255, 255, .94); color: var(--c-ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); white-space: nowrap; }
.cspa .cspa-badge--free { background: var(--c-free); color: #fff; }
.cspa .cspa-badge--wanted { background: var(--c-wanted); color: #fff; }
.cspa .cspa-badge--swap { background: var(--c-swap); color: #fff; }
.cspa .cspa-badge--reserved { background: var(--c-amber); color: #fff; }
.cspa .cspa-badge--sold { background: var(--c-ink); color: #fff; }
.cspa .cspa-badge--drop { background: var(--c-accent); color: #fff; }
.cspa .cspa-badge--new { background: #fff; color: var(--c-accent-ink); }
.cspa .cspa-badge--info { background: #fff; color: var(--c-ink); }
.cspa .cspa-badge--type { background: var(--c-line-2); box-shadow: none; color: var(--c-ink-2); font-weight: 600; }
.cspa .cspa-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--c-line); background: #fff; font-size: 14px; font-weight: 500; color: var(--c-ink); white-space: nowrap; transition: border-color .15s, background .15s, color .15s; cursor: pointer; line-height: 1.2; text-align: left; }
.cspa .cspa-chip:hover { border-color: var(--c-accent); color: var(--c-accent-ink); }
.cspa .cspa-chip span { color: var(--c-ink-3); font-size: 12.5px; }
.cspa .cspa-chip.is-on, .cspa .cspa-chip--on { background: var(--c-accent-soft); border-color: #e7c7b7; color: var(--c-accent-ink); font-weight: 600; }
.cspa .cspa-chip--on .cspa-ico { width: 14px; height: 14px; }
.cspa .cspa-dot { display: inline-flex; align-items: center; justify-content: center; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--c-accent); color: #fff; font-size: 11.5px; font-weight: 700; line-height: 1; font-family: var(--f-sans); }

/* ---------- Notes, banners ---------- */
.cspa .cspa-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-sm); background: #f6f1eb; color: var(--c-ink-2); font-size: 14.5px; line-height: 1.5; }
.cspa .cspa-note .cspa-ico { width: 18px; height: 18px; margin-top: 2px; color: var(--c-ink-3); }
.cspa .cspa-note--warn { background: var(--c-amber-soft); color: #6c4a10; }
.cspa .cspa-note--warn .cspa-ico { color: var(--c-amber); }
.cspa .cspa-note--err { background: var(--c-danger-soft); color: #7d2a20; }
.cspa .cspa-note--ok { background: var(--c-ok-soft); color: #23573b; }
.cspa .cspa-banner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px 18px; border-radius: var(--r); background: #f1ece6; margin: 4px 0 18px; }
.cspa .cspa-banner > .cspa-ico { width: 28px; height: 28px; color: var(--c-ink-2); }
.cspa .cspa-banner div { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 2px; }
.cspa .cspa-banner span { color: var(--c-ink-2); font-size: 14.5px; }
.cspa .cspa-banner--sold { background: #ece6df; }
.cspa .cspa-banner--reserved { background: var(--c-amber-soft); }
.cspa .cspa-banner--reserved > .cspa-ico { color: var(--c-amber); }
.cspa .cspa-banner--info { background: #eef1f8; }

/* ---------- Breadcrumb ---------- */
.cspa .cspa-crumbs { padding: 16px 0 6px; font-size: 13.5px; color: var(--c-ink-3); overflow-x: auto; scrollbar-width: none; }
.cspa .cspa-crumbs::-webkit-scrollbar { display: none; }
.cspa .cspa-crumbs ol { display: flex; gap: 6px; white-space: nowrap; }
.cspa .cspa-crumbs li + li::before { content: "›"; margin-right: 6px; color: #b6a596; }
.cspa .cspa-crumbs a:hover { color: var(--c-accent-ink); text-decoration: underline; }
.cspa .cspa-crumbs [aria-current] { color: var(--c-ink-2); }

/* ---------- Module bar ---------- */
.cspa .cspa-subnav { background: #fff; border-bottom: 1px solid var(--c-line); position: sticky; top: 0; z-index: 40; }
.cspa .cspa-subnav__in { display: flex; align-items: center; gap: 4px; min-height: var(--subnav-h); }
.cspa .cspa-subnav__brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-serif); font-size: 19px; font-weight: 500; padding: 8px 14px 8px 0; margin-right: 6px; border-right: 1px solid var(--c-line); }
.cspa .cspa-subnav__brand .cspa-ico { color: var(--c-accent); }
.cspa .cspa-subnav__link { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--c-ink-2); position: relative; white-space: nowrap; }
.cspa .cspa-subnav__link:hover, .cspa .cspa-subnav__link.is-on, .cspa .cspa-subnav__link[aria-expanded="true"] { color: var(--c-ink); background: var(--c-line-2); }
.cspa .cspa-subnav__link .cspa-ico { width: 18px; height: 18px; }
.cspa .cspa-subnav__link .cspa-dot { position: absolute; top: 1px; left: 22px; }
.cspa .cspa-subnav__space { flex: 1; }
.cspa .cspa-subnav__cats { position: relative; }
.cspa .cspa-catmenu { position: absolute; left: 0; top: calc(100% + 8px); width: min(1040px, 92vw); background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: 22px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px 22px; z-index: 50; }
.cspa .cspa-catmenu__col { display: flex; flex-direction: column; gap: 3px; }
.cspa .cspa-catmenu__col a { font-size: 14px; color: var(--c-ink-2); padding: 3px 0; }
.cspa .cspa-catmenu__col a:hover { color: var(--c-accent-ink); }
.cspa .cspa-catmenu .cspa-catmenu__top { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--c-ink); font-size: 15px; margin-bottom: 4px; }
.cspa .cspa-catmenu__top .cspa-ico { color: var(--c-accent); width: 20px; height: 20px; }

/* ---------- Mobile tab bar ---------- */
.cspa .cspa-tabbar { display: none; }

/* ---------- Hero ---------- */
.cspa .cspa-hero { background: linear-gradient(180deg, var(--c-sand) 0%, #f6efe7 100%); border-bottom: 1px solid var(--c-line-2); overflow: hidden; }
.cspa .cspa-hero__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 32px; align-items: center; padding-top: 44px; padding-bottom: 44px; position: relative; }
.cspa .cspa-eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--c-accent); margin-bottom: 14px; }
.cspa .cspa-hero__title { font-size: clamp(36px, 5.4vw, 62px); line-height: 1.02; font-weight: 500; }
.cspa .cspa-hero__title em { font-style: italic; color: var(--c-accent); }
.cspa .cspa-hero__lead { font-family: var(--f-serif); font-size: clamp(19px, 2vw, 25px); margin-top: 10px; color: var(--c-ink); }
.cspa .cspa-hero__desc { margin-top: 12px; color: var(--c-ink-2); font-size: 16.5px; max-width: 54ch; }
.cspa .cspa-hero__media { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 471 / 262; align-self: center; box-shadow: var(--sh); background: var(--c-sand-2); }
.cspa .cspa-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.cspa .cspa-hero__trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; font-size: 14px; color: var(--c-ink-2); }
.cspa .cspa-hero__trust li { display: inline-flex; align-items: center; gap: 7px; }
.cspa .cspa-hero__trust .cspa-ico { color: var(--c-accent); width: 18px; height: 18px; }

/* ---------- Search bar ---------- */
.cspa .cspa-search { margin-top: 24px; position: relative; z-index: 5; }
.cspa .cspa-search__bar { display: flex; align-items: stretch; background: #fff; border: 1px solid var(--c-line); border-radius: 999px; padding: 6px; box-shadow: var(--sh); gap: 0; }
.cspa .cspa-search__what, .cspa .cspa-search__where { position: relative; display: flex; align-items: center; gap: 8px; padding: 0 12px 0 16px; min-width: 0; }
.cspa .cspa-search__what { flex: 1.15; }
.cspa .cspa-search__where { flex: 1.1; border-left: 1px solid var(--c-line); }
.cspa .cspa-search__what > .cspa-ico, .cspa .cspa-search__where > .cspa-ico { color: var(--c-ink-3); }
.cspa .cspa-search__bar input[type="search"], .cspa .cspa-search__bar input[type="text"] { text-overflow: ellipsis; border: 0; padding: 12px 0; background: transparent; box-shadow: none; min-width: 0; font-size: 16px; }
.cspa .cspa-search__bar input:focus { box-shadow: none; }
.cspa .cspa-search__where input[type="text"] { flex: 1 1 auto; width: auto; min-width: 96px; }
.cspa .cspa-search__what input[type="search"] { flex: 1 1 auto; width: auto; }
.cspa .cspa-search__bar input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
.cspa .cspa-search__geo { width: 36px; height: 36px; color: var(--c-accent); }
.cspa .cspa-search__bar select.cspa-search__radius { width: auto; max-width: 112px; border: 0; background-color: var(--c-line-2); border-radius: 999px; padding: 7px 30px 7px 12px; font-size: 14px; font-weight: 600; background-position: right 10px center; flex: none; }
.cspa .cspa-search__go { flex: none; min-height: 50px; padding: 0 26px; }
.cspa .cspa-search__under { display: flex; align-items: center; gap: 14px 22px; flex-wrap: wrap; margin-top: 14px; }
.cspa .cspa-popular { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 14px; align-items: center; }
.cspa .cspa-popular a { color: var(--c-accent-ink); font-weight: 500; text-decoration: underline; text-decoration-color: #e3c3b4; text-underline-offset: 3px; }
.cspa .cspa-popular a:hover { text-decoration-color: currentColor; }
.cspa .cspa-search--browse { margin-top: 14px; }
.cspa .cspa-search--browse .cspa-search__bar { box-shadow: none; }

/* Autocomplete */
.cspa .cspa-ac { position: absolute; left: 0; right: 0; top: calc(100% + 10px); background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); box-shadow: var(--sh-lg); padding: 6px; z-index: 60; max-height: 360px; overflow: auto; min-width: 260px; }
.cspa .cspa-ac__item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: var(--r-sm); text-align: left; font-size: 15px; color: var(--c-ink); }
.cspa .cspa-ac__item:hover, .cspa .cspa-ac__item.is-on { background: var(--c-line-2); }
.cspa .cspa-ac__item small { color: var(--c-ink-3); margin-left: auto; font-size: 13px; white-space: nowrap; }
.cspa .cspa-ac__item .cspa-ico { color: var(--c-accent); width: 18px; height: 18px; }
.cspa .cspa-ac__empty { padding: 10px 12px; color: var(--c-ink-3); font-size: 14px; }
.cspa .cspa-ac__head { padding: 8px 12px 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--c-ink-3); font-weight: 700; }

/* Segmented control */
.cspa .cspa-seg { display: inline-flex; background: #fff; border: 1px solid var(--c-line); border-radius: 999px; padding: 4px; gap: 2px; }
.cspa .cspa-seg label { position: relative; cursor: pointer; }
.cspa .cspa-seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.cspa .cspa-seg label > span { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--c-ink-2); transition: background .15s, color .15s; white-space: nowrap; }
.cspa .cspa-seg input:checked + span { background: var(--c-accent); color: #fff; }
.cspa .cspa-seg input:focus-visible + span { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.cspa .cspa-seg input:checked + span .cspa-fcount { color: rgba(255, 255, 255, .85); }
.cspa .cspa-seg--full { display: flex; width: 100%; }
.cspa .cspa-seg--full label { flex: 1; min-width: 0; }
.cspa .cspa-seg--full label > span { width: 100%; justify-content: center; padding: 9px 6px; font-size: 14px; }
.cspa .cspa-seg--full span .cspa-fcount { margin-left: 4px; padding-left: 0; }

/* ---------- Category tiles ---------- */
.cspa .cspa-cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cspa .cspa-cat { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.cspa .cspa-cat:hover { transform: translateY(-3px); box-shadow: var(--sh); border-color: #e2cfc1; }
.cspa .cspa-cat__media { aspect-ratio: 16 / 10; background: var(--c-sand); overflow: hidden; display: block; }
.cspa .cspa-cat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cspa .cspa-cat:hover .cspa-cat__media img { transform: scale(1.04); }
.cspa .cspa-cat__ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: var(--c-accent); background: radial-gradient(circle at 30% 30%, #fbf3ec, var(--c-sand)); }
.cspa .cspa-cat__ph .cspa-ico { width: 46px; height: 46px; }
.cspa .cspa-cat__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 3px; }
.cspa .cspa-cat__name { display: flex; align-items: center; gap: 8px; font-family: var(--f-serif); font-size: 18px; font-weight: 500; }
.cspa .cspa-cat__name .cspa-ico { color: var(--c-accent); width: 20px; height: 20px; }
.cspa .cspa-cat__desc { font-size: 13px; color: var(--c-ink-2); line-height: 1.4; }
.cspa .cspa-cat__count { font-size: 12.5px; color: var(--c-ink-3); margin-top: 2px; }

/* ---------- Cards ---------- */
.cspa .cspa-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 18px; }
.cspa .cspa-grid--home { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cspa .cspa-grid__wide { grid-column: 1 / -1; }
.cspa .cspa-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; min-width: 0; }
.cspa .cspa-card:hover { box-shadow: var(--sh); transform: translateY(-2px); border-color: #e2cfc1; }
.cspa .cspa-card:focus-within { box-shadow: 0 0 0 3px rgba(172, 92, 64, .25); }
.cspa .cspa-card.is-off .cspa-card__media img { filter: grayscale(.4); opacity: .85; }
.cspa .cspa-card__media { position: relative; aspect-ratio: 4 / 3; background: #f3ede6; overflow: hidden; }
.cspa .cspa-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cspa .cspa-card:hover .cspa-card__img { transform: scale(1.03); }
.cspa .cspa-card__ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: #c9a08c; background: repeating-linear-gradient(135deg, #f6efe8 0 12px, #f2eae2 12px 24px); }
.cspa .cspa-card__ph .cspa-ico { width: 48px; height: 48px; }
.cspa .cspa-card__badges { position: absolute; left: 10px; bottom: 10px; display: flex; gap: 6px; flex-wrap: wrap; max-width: calc(100% - 20px); }
.cspa .cspa-card__count { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; background: rgba(28, 20, 14, .55); color: #fff; font-size: 12px; font-weight: 600; }
.cspa .cspa-card__count .cspa-ico { width: 14px; height: 14px; }
.cspa .cspa-card__media:has(.cspa-card__count) .cspa-card__badges { max-width: calc(100% - 74px); }
.cspa .cspa-card__status { position: absolute; left: 10px; top: 10px; }
.cspa .cspa-fav { position: absolute; top: 8px; right: 8px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: inline-flex; align-items: center; justify-content: center; color: var(--c-ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .1); transition: transform .15s, color .15s; }
.cspa .cspa-fav:hover { transform: scale(1.06); color: var(--c-accent); }
.cspa .cspa-fav .cspa-ico { width: 21px; height: 21px; }
.cspa .cspa-fav .cspa-fav__on { display: none; color: var(--c-accent); }
.cspa .cspa-fav.is-on .cspa-fav__on { display: inline-block; }
.cspa .cspa-fav.is-on .cspa-fav__off { display: none; }
.cspa .cspa-fav.is-pop { animation: cspa-pop .35s ease; }
@keyframes cspa-pop { 50% { transform: scale(1.25); } }
.cspa .cspa-card__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.cspa .cspa-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.cspa .cspa-price__main { font-size: 18px; font-weight: 700; color: var(--c-ink); letter-spacing: -.01em; }
.cspa .cspa-price--free .cspa-price__main { color: var(--c-free); }
.cspa .cspa-price__extra { display: inline-flex; gap: 6px; flex-wrap: wrap; align-items: baseline; font-size: 13px; color: var(--c-ink-2); }
.cspa .cspa-price__old { color: var(--c-ink-3); }
.cspa .cspa-price__drop { color: var(--c-accent-ink); font-weight: 700; }
.cspa .cspa-price__neg { color: var(--c-ink-2); }
.cspa .cspa-card__title { font-family: var(--f-sans); font-size: 15px; font-weight: 600; line-height: 1.35; letter-spacing: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cspa .cspa-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.cspa .cspa-card__link:hover { color: var(--c-accent-ink); }
.cspa .cspa-card__specs { font-size: 13px; color: var(--c-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cspa .cspa-card__meta { font-size: 13px; color: var(--c-ink-2); margin-top: auto; padding-top: 4px; min-height: 22px; }
.cspa .cspa-card__place { display: inline-flex; align-items: center; gap: 4px; }
.cspa .cspa-card__place .cspa-ico { width: 15px; height: 15px; color: var(--c-ink-3); }
.cspa .cspa-card__foot { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--c-ink-3); border-top: 1px solid var(--c-line-2); padding-top: 8px; margin-top: 4px; }
.cspa .cspa-card__seller { display: inline-flex; align-items: center; gap: 5px; }
.cspa .cspa-card__seller .cspa-ico { width: 15px; height: 15px; }
.cspa .cspa-card__seller.is-pro { color: var(--c-accent-ink); font-weight: 600; }
.cspa .cspa-card--recherche { border-style: dashed; border-color: #cdd3ea; }
.cspa .cspa-card--recherche .cspa-card__ph { color: #8b97c8; background: repeating-linear-gradient(135deg, #f1f3fb 0 12px, #ebeef9 12px 24px); }

/* Horizontal rail */
.cspa .cspa-rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 16px) / 5); justify-content: start; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; scrollbar-width: thin; }
.cspa .cspa-rail > * { scroll-snap-align: start; }

/* ---------- Home ---------- */
.cspa .cspa-home-main { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.cspa .cspa-tabs { display: inline-flex; gap: 4px; background: #fff; border: 1px solid var(--c-line); border-radius: 999px; padding: 4px; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.cspa .cspa-tabs button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--c-ink-2); white-space: nowrap; }
.cspa .cspa-tabs button .cspa-ico { width: 16px; height: 16px; }
.cspa .cspa-tabs button.is-on { background: var(--c-ink); color: #fff; }
.cspa .cspa-home-main__side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--subnav-h) + 16px); }
.cspa .cspa-promo { position: relative; overflow: hidden; background: linear-gradient(160deg, #f8ede4, #f2e3d6); border-radius: var(--r-lg); padding: 22px; border: 1px solid #ecd9ca; }
.cspa .cspa-promo__deco { position: absolute; right: -14px; top: -10px; width: 120px; opacity: .55; pointer-events: none; }
.cspa .cspa-promo__title { font-size: 25px; margin-bottom: 8px; position: relative; }
.cspa .cspa-promo p { color: var(--c-ink-2); font-size: 15px; margin-bottom: 14px; position: relative; }
.cspa .cspa-promo .cspa-small { margin: 10px 0 0; }
.cspa .cspa-trust { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 20px; }
.cspa .cspa-trust__title { font-size: 21px; margin-bottom: 12px; }
.cspa .cspa-trust ul { display: flex; flex-direction: column; gap: 14px; margin-bottom: 12px; }
.cspa .cspa-trust li { display: flex; gap: 12px; align-items: flex-start; }
.cspa .cspa-trust li > .cspa-ico { width: 28px; height: 28px; color: var(--c-accent); flex: none; }
.cspa .cspa-trust strong { display: block; font-size: 15px; }
.cspa .cspa-trust li span { display: block; font-size: 13.5px; color: var(--c-ink-2); line-height: 1.45; }
.cspa .cspa-encart { position: relative; display: flex; align-items: center; gap: 14px; overflow: hidden; border-radius: var(--r-lg); background: var(--c-sand); min-height: 92px; padding: 14px 18px; }
.cspa .cspa-encart img { position: absolute; right: 0; top: 0; height: 100%; width: 46%; object-fit: cover; mask-image: linear-gradient(90deg, transparent, #000 45%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); }
.cspa .cspa-encart span { position: relative; font-family: var(--f-serif); font-size: 20px; line-height: 1.2; max-width: 60%; display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cspa .cspa-encart .cspa-ico { color: var(--c-accent); }
.cspa .cspa-wanted__in { display: grid; grid-template-columns: 320px 1fr; gap: 24px; background: var(--c-wanted-soft); border-radius: var(--r-lg); padding: 22px; }
.cspa .cspa-wanted__intro p { color: #3e4a73; margin-bottom: 14px; font-size: 15.5px; }
.cspa .cspa-wanted__intro .cspa-btn--soft { background: #fff; color: var(--c-wanted); }
.cspa .cspa-wanted__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cspa .cspa-wanted__list a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border-radius: var(--r); border: 1px solid #dfe3f3; transition: border-color .15s; }
.cspa .cspa-wanted__list a:hover { border-color: var(--c-wanted); }
.cspa .cspa-wanted__ico { width: 40px; height: 40px; border-radius: 50%; background: var(--c-wanted-soft); color: var(--c-wanted); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.cspa .cspa-wanted__t { min-width: 0; flex: 1; }
.cspa .cspa-wanted__t strong { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cspa .cspa-wanted__t span { display: block; font-size: 13px; color: var(--c-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cspa .cspa-wanted__list .cspa-ico:last-child { color: #9aa3c9; }
.cspa .cspa-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; counter-reset: s; }
.cspa .cspa-steps li { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 22px; }
.cspa .cspa-steps__n { display: inline-flex; width: 38px; height: 38px; border-radius: 50%; background: var(--c-accent-soft); color: var(--c-accent-ink); align-items: center; justify-content: center; font-family: var(--f-serif); font-size: 20px; margin-bottom: 12px; }
.cspa .cspa-steps strong { display: block; font-size: 17px; margin-bottom: 6px; }
.cspa .cspa-steps p { color: var(--c-ink-2); font-size: 15px; }
.cspa .cspa-crosses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cspa .cspa-cross { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 16px 18px; margin: 18px 0; }
.cspa .cspa-crosses .cspa-cross { margin: 0; flex-direction: column; align-items: flex-start; }
.cspa .cspa-cross__ico { width: 46px; height: 46px; border-radius: 50%; background: var(--c-accent-soft); color: var(--c-accent); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.cspa .cspa-cross > div { flex: 1; min-width: 200px; }
.cspa .cspa-cross strong { display: block; font-size: 16px; }
.cspa .cspa-cross p { color: var(--c-ink-2); font-size: 14.5px; }
.cspa .cspa-faq__item { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); margin-top: 10px; }
.cspa .cspa-faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; font-weight: 600; cursor: pointer; font-size: 16px; }
.cspa .cspa-faq__item summary::-webkit-details-marker { display: none; }
.cspa .cspa-faq__item summary .cspa-ico { transition: transform .2s; color: var(--c-ink-3); }
.cspa .cspa-faq__item[open] summary .cspa-ico { transform: rotate(180deg); }
.cspa .cspa-faq__item p { padding: 0 18px 16px; color: var(--c-ink-2); }

/* ---------- Empty states ---------- */
.cspa .cspa-empty { grid-column: 1 / -1; text-align: center; background: #fff; border: 1px dashed #e0cfc2; border-radius: var(--r-lg); padding: 38px 22px; }
.cspa .cspa-empty__ico { display: inline-flex; width: 64px; height: 64px; border-radius: 50%; background: var(--c-accent-soft); color: var(--c-accent); align-items: center; justify-content: center; margin-bottom: 14px; }
.cspa .cspa-empty__ico .cspa-ico { width: 30px; height: 30px; }
.cspa .cspa-empty h3 { font-size: 22px; margin-bottom: 8px; }
.cspa .cspa-empty p { color: var(--c-ink-2); max-width: 56ch; margin: 0 auto; }
.cspa .cspa-empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }

/* ---------- Browse ---------- */
.cspa .cspa-browse__head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.cspa .cspa-browse__count { color: var(--c-ink-2); font-size: 15px; }
.cspa .cspa-subchips { display: flex; gap: 8px; overflow-x: auto; padding: 14px 2px 4px; scrollbar-width: none; }
.cspa .cspa-subchips::-webkit-scrollbar { display: none; }
.cspa .cspa-toolbar { display: flex; align-items: center; gap: 10px; margin: 16px 0 14px; flex-wrap: wrap; }
.cspa .cspa-toolbar__filters { display: none; }
.cspa .cspa-toolbar__filters .cspa-dot { margin-left: 2px; }
.cspa .cspa-toolbar__sort { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: var(--c-ink-2); }
.cspa .cspa-toolbar__sort select { width: auto; border-radius: 999px; padding: 9px 36px 9px 14px; font-size: 14.5px; font-weight: 600; }
.cspa .cspa-browse__cols { display: grid; grid-template-columns: 284px minmax(0, 1fr); gap: 26px; align-items: start; }
.cspa .cspa-browse__main { min-width: 0; }
.cspa .cspa-results.is-loading { opacity: .5; transition: opacity .2s; pointer-events: none; }
.cspa .cspa-chipline { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.cspa .cspa-more { min-width: 240px; }
.cspa .cspa-pager { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.cspa .cspa-pager a, .cspa .cspa-pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 8px; border-radius: 999px; font-weight: 600; font-size: 14px; border: 1px solid var(--c-line); background: #fff; }
.cspa .cspa-pager span { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }
.cspa .cspa-rank { text-align: center; margin-top: 18px; }
.cspa .cspa-rank a { text-decoration: underline; }
.cspa .cspa-seo { margin-top: 40px; padding: 24px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); }
.cspa .cspa-seo p { color: var(--c-ink-2); margin-top: 8px; max-width: 80ch; }
.cspa .cspa-seo__links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: 14.5px; }
.cspa .cspa-seo__links a { color: var(--c-accent-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #e3c3b4; }
.cspa .cspa-checklist { margin-top: 16px; background: #fbf7f2; border-radius: var(--r); border: 1px solid var(--c-line-2); }
.cspa .cspa-checklist summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; cursor: pointer; font-weight: 600; }
.cspa .cspa-checklist summary::-webkit-details-marker { display: none; }
.cspa .cspa-checklist summary .cspa-ico { transition: transform .2s; color: var(--c-ink-3); flex: none; }
.cspa .cspa-checklist[open] summary .cspa-ico { transform: rotate(180deg); }
.cspa .cspa-checklist ol { counter-reset: c; padding: 0 16px 16px; display: grid; gap: 10px; }
.cspa .cspa-checklist li { counter-increment: c; position: relative; padding-left: 36px; color: var(--c-ink-2); font-size: 15px; }
.cspa .cspa-checklist li::before { content: counter(c); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--c-accent-soft); color: var(--c-accent-ink); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.cspa .cspa-checklist li strong { color: var(--c-ink); display: block; }

/* ---------- Filters ---------- */
.cspa .cspa-filters { position: sticky; top: calc(var(--subnav-h) + 14px); max-height: calc(100vh - var(--subnav-h) - 28px); overflow: auto; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 6px 16px 14px; scrollbar-width: thin; }
.cspa .cspa-filters__head, .cspa .cspa-filters__foot { display: none; }
.cspa .cspa-fgroup { border-bottom: 1px solid var(--c-line-2); padding: 12px 0; }
.cspa .cspa-fgroup:last-child { border-bottom: 0; }
.cspa .cspa-fgroup > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: 15px; cursor: pointer; padding: 2px 0; }
.cspa .cspa-fgroup > summary::-webkit-details-marker { display: none; }
.cspa .cspa-fgroup > summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--c-ink-3); border-bottom: 2px solid var(--c-ink-3); transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; }
.cspa .cspa-fgroup[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.cspa .cspa-fgroup > summary + * { margin-top: 10px; }
.cspa .cspa-fopts { display: flex; flex-direction: column; gap: 2px; }
.cspa .cspa-fcount { margin-left: auto; color: var(--c-ink-3); font-size: 12.5px; font-weight: 500; padding-left: 8px; }
.cspa .cspa-flinks { display: flex; flex-direction: column; gap: 2px; }
.cspa .cspa-flinks a { display: flex; align-items: center; gap: 8px; padding: 7px 6px; border-radius: 8px; font-size: 14.5px; }
.cspa .cspa-flinks a:hover { background: var(--c-line-2); }
.cspa .cspa-flinks .cspa-ico { width: 18px; height: 18px; color: var(--c-accent); }
.cspa .cspa-frange { display: flex; align-items: center; gap: 8px; }
.cspa .cspa-frange label { position: relative; flex: 1; }
.cspa .cspa-frange input { padding-right: 34px; }
.cspa .cspa-unit { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--c-ink-3); font-size: 14px; pointer-events: none; }
.cspa .cspa-fmore { margin-top: 6px; }
.cspa .cspa-fmore__t { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--c-ink-3); font-weight: 700; padding: 12px 0 0; }
.cspa .cspa-fhint { padding: 12px 0 2px; }
.cspa .cspa-mykiln { background: #fbf4ed; border-radius: var(--r); padding: 12px; margin: 10px 0; border: 1px solid #f0e0d2; }
.cspa .cspa-mykiln__q { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.cspa .cspa-mykiln__q .cspa-ico { color: var(--c-accent); }
.cspa .cspa-chips-sel { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 8px; }
.cspa .cspa-chips-sel .cspa-chip { min-height: 34px; padding: 6px 12px; font-size: 13.5px; }
.cspa .cspa-field--sm { margin-top: 12px; }
.cspa .cspa-field--sm > span { font-size: 13.5px; font-weight: 600; color: var(--c-ink-2); margin-bottom: 4px; display: block; }

/* Checkbox / radio */
.cspa .cspa-check, .cspa .cspa-radio { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; padding: 6px 4px; border-radius: 8px; font-size: 14.5px; line-height: 1.4; position: relative; }
.cspa .cspa-check--row, .cspa .cspa-radio--row { align-items: center; }
.cspa .cspa-check:hover, .cspa .cspa-radio:hover { background: #fbf8f4; }
.cspa .cspa-check input, .cspa .cspa-radio input { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; flex: none; margin: 1px 0 0; border: 1.6px solid #c9b8aa; border-radius: 6px; background: #fff; display: inline-grid; place-content: center; transition: background .15s, border-color .15s; cursor: pointer; padding: 0; }
.cspa .cspa-radio input { border-radius: 50%; }
.cspa .cspa-check input::before { content: ""; width: 11px; height: 11px; clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%); background: #fff; transform: scale(0); transition: transform .12s; }
.cspa .cspa-radio input::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #fff; transform: scale(0); transition: transform .12s; }
.cspa .cspa-check input:checked, .cspa .cspa-radio input:checked { background: var(--c-accent); border-color: var(--c-accent); }
.cspa .cspa-check input:checked::before, .cspa .cspa-radio input:checked::before { transform: scale(1); }
.cspa .cspa-check input:focus-visible, .cspa .cspa-radio input:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.cspa .cspa-radios { display: grid; gap: 2px; }
.cspa .cspa-swatch span::before { content: ""; display: inline-block; width: 14px; height: 14px; border-radius: 50%; margin-right: 8px; vertical-align: -2px; border: 1px solid rgba(0, 0, 0, .12); background: var(--sw, #ddd); }
.cspa .cspa-swatch--white { --sw: #fff; } .cspa .cspa-swatch--black { --sw: #222; } .cspa .cspa-swatch--grey { --sw: #9a9a9a; } .cspa .cspa-swatch--blue { --sw: #3d6fb6; } .cspa .cspa-swatch--green { --sw: #4f8b55; } .cspa .cspa-swatch--turquoise { --sw: #2fa7a0; } .cspa .cspa-swatch--yellow { --sw: #e8c548; } .cspa .cspa-swatch--orange { --sw: #e58a3a; } .cspa .cspa-swatch--red { --sw: #c0392b; } .cspa .cspa-swatch--pink { --sw: #e7a1b6; } .cspa .cspa-swatch--purple { --sw: #8a62b0; } .cspa .cspa-swatch--brown { --sw: #7a4e2d; } .cspa .cspa-swatch--beige { --sw: #e3d1b4; } .cspa .cspa-swatch--clear { --sw: linear-gradient(135deg, #fff 45%, #ddd 45% 55%, #fff 55%); } .cspa .cspa-swatch--multicolor { --sw: conic-gradient(#e58a3a, #e8c548, #4f8b55, #3d6fb6, #8a62b0, #e58a3a); }

/* Toggle switch */
.cspa .cspa-switch { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border: 1px solid var(--c-line); border-radius: var(--r-sm); background: #fff; cursor: pointer; }
.cspa .cspa-switch input { -webkit-appearance: none; appearance: none; width: 46px; height: 28px; border-radius: 999px; background: #ddd2c8; position: relative; flex: none; transition: background .2s; cursor: pointer; border: 0; padding: 0; margin: 0; }
.cspa .cspa-switch input::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s; }
.cspa .cspa-switch input:checked { background: var(--c-accent); }
.cspa .cspa-switch input:checked::after { transform: translateX(18px); }
.cspa .cspa-switch span { font-size: 15px; }

/* ---------- Ad page ---------- */
.cspa .cspa-ad { display: grid; grid-template-columns: minmax(0, 1fr) 390px; grid-template-areas: "gallery side" "content side"; gap: 24px 32px; align-items: start; margin-top: 8px; }
.cspa .cspa-ad__gallery { grid-area: gallery; min-width: 0; }
.cspa .cspa-ad__side { grid-area: side; min-width: 0; }
.cspa .cspa-ad__content { grid-area: content; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.cspa .cspa-ad__sticky { position: sticky; top: calc(var(--subnav-h) + 16px); display: flex; flex-direction: column; gap: 14px; }
.cspa .cspa-ad__badges { display: flex; gap: 6px; flex-wrap: wrap; }
.cspa .cspa-ad__badges .cspa-badge { box-shadow: none; border: 1px solid var(--c-line); }
.cspa .cspa-ad__badges .cspa-badge--free, .cspa .cspa-ad__badges .cspa-badge--wanted, .cspa .cspa-ad__badges .cspa-badge--swap, .cspa .cspa-ad__badges .cspa-badge--reserved, .cspa .cspa-ad__badges .cspa-badge--sold, .cspa .cspa-ad__badges .cspa-badge--drop { border-color: transparent; }
.cspa .cspa-ad__title { font-family: var(--f-sans); font-weight: 700; font-size: clamp(23px, 2.6vw, 29px); line-height: 1.2; letter-spacing: -.015em; }
.cspa .cspa-price--big .cspa-price__main { font-size: 30px; }
.cspa .cspa-price--big .cspa-price__extra { font-size: 14px; }
.cspa .cspa-price__vat, .cspa .cspa-price__swap { flex-basis: 100%; }
.cspa .cspa-ad__meta { display: flex; gap: 6px 16px; flex-wrap: wrap; color: var(--c-ink-2); font-size: 14.5px; }
.cspa .cspa-ad__meta span, .cspa .cspa-ad__hand { display: inline-flex; align-items: center; gap: 6px; }
.cspa .cspa-ad__meta .cspa-ico, .cspa .cspa-ad__hand .cspa-ico { width: 18px; height: 18px; color: var(--c-ink-3); }
.cspa .cspa-ad__hand { font-size: 14.5px; color: var(--c-ink-2); }
.cspa .cspa-ad__cta { display: flex; flex-direction: column; gap: 10px; }
.cspa .cspa-ad__cta2 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
/* Keep the favourite/share controls square, centred and out of flex shrinking. */
.cspa .cspa-ad__cta2 > .cspa-btn--icon { flex: 0 0 46px; width: 46px; height: 46px; min-height: 46px; padding: 0; gap: 0; line-height: 1; }
.cspa .cspa-ad__cta2 .cspa-btn:not(.cspa-btn--icon) { flex: 1; }
.cspa .cspa-ad__cta2 .cspa-fav { position: static; inset: auto; box-shadow: none; background: #fff; width: 46px; height: 46px; }
.cspa .cspa-block { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 20px; }
.cspa .cspa-block > .cspa-h3 { margin-bottom: 12px; }
.cspa details.cspa-block.cspa-checklist { padding: 0; }
.cspa details.cspa-block.cspa-checklist summary { padding: 18px 20px; }
.cspa details.cspa-block.cspa-checklist summary .cspa-h3 { margin: 0; }
.cspa details.cspa-block.cspa-checklist ol { padding: 0 20px 20px; }
.cspa .cspa-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; }
.cspa .cspa-specs__row { display: grid; grid-template-columns: minmax(110px, 44%) 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--c-line-2); font-size: 15px; }
.cspa .cspa-specs dt { color: var(--c-ink-2); }
.cspa .cspa-specs dd { font-weight: 600; }
.cspa .cspa-specs dd small { display: block; font-weight: 400; color: var(--c-ink-2); font-size: 13px; margin-top: 2px; }
.cspa .cspa-desc { font-size: 16px; color: var(--c-ink); line-height: 1.65; }
.cspa .cspa-desc p + p { margin-top: 10px; }
.cspa .cspa-desc.is-long { max-height: 260px; overflow: hidden; position: relative; }
.cspa .cspa-desc.is-long::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 80px; background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff); }
.cspa .cspa-desc.is-open { max-height: none; }
.cspa .cspa-desc.is-open::after { display: none; }
.cspa [data-desc-toggle] { margin-top: 8px; }
.cspa .cspa-ad__where { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-weight: 600; }
.cspa .cspa-ad__where .cspa-ico { color: var(--c-accent); }
.cspa .cspa-map { height: 240px; border-radius: var(--r); margin-top: 12px; background: #eee6dd; overflow: hidden; position: relative; z-index: 1; }
/* Map controls in the site colours (the theme styles Leaflet for its own maps). */
.cspa .cspa-map .leaflet-top, .cspa .cspa-map .leaflet-bottom { transform: none; }
.cspa .cspa-map .leaflet-bar { border: 0; box-shadow: none; background: none; border-radius: 0; }
.cspa .cspa-map .leaflet-control-zoom { margin: 10px; display: flex; flex-direction: column; gap: 6px; }
.cspa .cspa-map.leaflet-container .leaflet-bar a { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin: 0; padding: 0; border: 1px solid var(--c-line); border-radius: 50%; background: #fff; color: var(--c-ink); font: 600 20px/1 system-ui, sans-serif; text-indent: 0; text-decoration: none; box-shadow: var(--sh); -webkit-text-stroke: 0 !important; }
.cspa .cspa-map.leaflet-container .leaflet-bar a:hover, .cspa .cspa-map.leaflet-container .leaflet-bar a:focus-visible { background: var(--c-line-2); color: var(--c-accent-ink); }
.cspa .cspa-map .leaflet-bar a.leaflet-disabled { color: var(--c-ink-3); opacity: .6; }
.cspa .cspa-map .leaflet-control-attribution { font-size: 11px; line-height: 1.4; background: rgba(255, 255, 255, .85); padding: 1px 6px; border-radius: 6px 0 0 0; }
.cspa .cspa-map .leaflet-control-attribution a { color: inherit; text-decoration: underline; }
.cspa .cspa-legal { font-size: 13.5px; color: var(--c-ink-2); background: #f6f1eb; border-radius: var(--r); padding: 14px 16px; line-height: 1.55; }
.cspa .cspa-legal a { text-decoration: underline; }
.cspa .cspa-legal__terms summary { cursor: pointer; font-weight: 600; margin-top: 8px; color: var(--c-ink); }
.cspa .cspa-ad__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.cspa .cspa-ad__foot .cspa-link { font-size: 13.5px; color: var(--c-ink-2); font-weight: 500; }
.cspa .cspa-ad__foot .cspa-ico { width: 15px; height: 15px; }
.cspa .cspa-ad__report { margin-top: 6px; }
.cspa .cspa-ad__report .cspa-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; color: var(--c-ink-2); font-weight: 500; }
.cspa .cspa-specs__all { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; }
.cspa .cspa-stickybar { display: none; }

/* Gallery */
.cspa .cspa-gal { position: relative; border-radius: var(--r-lg); overflow: hidden; background: #f1ebe4; }
.cspa .cspa-gal__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 4 / 3; outline: 0; }
.cspa .cspa-gal__track:focus-visible, .cspa .cspa-gal__slide:focus-visible, .cspa .cspa-gal__thumb:focus-visible { outline: 3px solid var(--c-accent); outline-offset: -3px; }
.cspa .cspa-gal__track::-webkit-scrollbar { display: none; }
.cspa .cspa-gal__slide { flex: 0 0 100%; scroll-snap-align: center; display: flex; align-items: center; justify-content: center; cursor: zoom-in; padding: 0; }
.cspa .cspa-gal__slide img { width: 100%; height: 100%; object-fit: contain; }
.cspa .cspa-gal--empty { aspect-ratio: 4 / 3; }
.cspa .cspa-gal__count { position: absolute; right: 14px; top: 14px; background: rgba(28, 20, 14, .6); color: #fff; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; pointer-events: none; }
.cspa .cspa-gal__nav { position: absolute; top: calc(50% - 50px); width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 2px 10px rgba(0, 0, 0, .12); display: inline-flex; align-items: center; justify-content: center; }
.cspa .cspa-gal__nav--prev { left: 12px; }
.cspa .cspa-gal__nav--next { right: 12px; }
.cspa .cspa-gal__thumbs { display: flex; gap: 8px; padding: 10px; background: #fff; overflow-x: auto; border-top: 1px solid var(--c-line-2); }
.cspa .cspa-gal__thumb { flex: none; width: 72px; height: 54px; border-radius: 8px; overflow: hidden; opacity: .65; border: 2px solid transparent; transition: opacity .15s, border-color .15s; padding: 0; }
.cspa .cspa-gal__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cspa .cspa-gal__thumb.is-on { opacity: 1; border-color: var(--c-accent); }
.cspa-lightbox { position: fixed; inset: 0; z-index: 100000; background: rgba(250, 247, 244, .985); display: flex; flex-direction: column; animation: cspa-fade .2s ease; }
@keyframes cspa-fade { from { opacity: 0; } }
.cspa-lightbox__track { flex: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.cspa-lightbox__track::-webkit-scrollbar { display: none; }
.cspa-lightbox__slide { flex: 0 0 100%; scroll-snap-align: center; display: flex; align-items: center; justify-content: center; padding: 64px 12px 24px; }
.cspa-lightbox__slide img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; border-radius: 12px; box-shadow: 0 10px 40px rgba(51, 37, 26, .18); }
.cspa-lightbox__bar { position: absolute; left: 0; right: 0; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 10px 18px; color: #33251a; font: 600 15px "DM Sans", system-ui, sans-serif; }
.cspa-lightbox__btns { display: flex; gap: 8px; }
.cspa-lightbox__bar button { width: 46px; height: 46px; border-radius: 50%; background: #fff; color: #33251a; border: 1px solid #e8ddd2; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 8px rgba(51, 37, 26, .08); }
.cspa-lightbox__bar button:hover { border-color: #ac5c40; color: #86432b; }
.cspa-lightbox__bar svg { width: 22px; height: 22px; }
@media (max-width: 760px) { .cspa-lightbox [data-lb-prev], .cspa-lightbox [data-lb-next] { display: none; } .cspa-lightbox__slide { padding: 64px 0 16px; } .cspa-lightbox__slide img { border-radius: 0; } }

/* Seller */
.cspa .cspa-seller { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 20px; min-width: 0; display: flex; flex-direction: column; gap: 12px; overflow-wrap: anywhere; }
.cspa .cspa-seller__head { display: flex; gap: 12px; align-items: center; }
.cspa .cspa-seller__head > div { display: flex; flex: 1; flex-direction: column; gap: 6px; align-items: flex-start; min-width: 0; }
.cspa .cspa-seller__head .cspa-pill { max-width: 100%; white-space: normal; text-align: start; }
.cspa .cspa-seller__name { font-weight: 700; font-size: 17px; }
.cspa .cspa-seller__name:hover { color: var(--c-accent-ink); }
.cspa .cspa-seller__rating { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--c-ink-2); }
.cspa .cspa-seller__facts { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--c-ink-2); }
.cspa .cspa-seller__facts li { display: flex; align-items: center; gap: 8px; }
.cspa .cspa-seller__facts .cspa-ico { width: 17px; height: 17px; color: var(--c-ink-3); }
.cspa .cspa-seller__more { display: inline-flex; align-self: flex-start; align-items: center; max-width: 100%; gap: 6px; font-weight: 600; color: var(--c-accent-ink); font-size: 14.5px; }
.cspa .cspa-avatar { width: var(--s, 48px); height: var(--s, 48px); border-radius: 50%; object-fit: cover; flex: none; }
.cspa .cspa-avatar--initials { display: inline-flex; align-items: center; justify-content: center; background: hsl(var(--h), 42%, 88%); color: hsl(var(--h), 38%, 30%); font-weight: 700; font-size: calc(var(--s, 48px) * .38); letter-spacing: .02em; }
.cspa .cspa-stars { display: inline-flex; gap: 1px; font-size: 16px; line-height: 1; color: #e0d3c6; }
.cspa .cspa-star.is-on { color: #d59a2f; }
.cspa .cspa-star.is-half { background: linear-gradient(90deg, #d59a2f 50%, #e0d3c6 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cspa .cspa-safety { background: #f4f7f4; border-radius: var(--r-lg); padding: 16px 18px; border: 1px solid #e2ebe3; }
.cspa .cspa-safety__t { display: flex; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 8px; }
.cspa .cspa-safety__t .cspa-ico { color: var(--c-ok); }
.cspa .cspa-safety ul { display: grid; gap: 6px; font-size: 13.5px; color: var(--c-ink-2); margin-bottom: 8px; }

/* Owner tools */
.cspa .cspa-owner { background: #fff; border: 1px solid #e7cdbf; border-radius: var(--r-lg); padding: 16px 18px; margin-bottom: 18px; box-shadow: 0 0 0 4px var(--c-accent-soft); }
.cspa .cspa-owner__head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.cspa .cspa-owner__stats { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14.5px; color: var(--c-ink-2); margin-bottom: 12px; }
.cspa .cspa-owner__stats li { display: inline-flex; align-items: center; gap: 6px; }
.cspa .cspa-owner__stats strong { color: var(--c-ink); }
.cspa .cspa-owner__stats .cspa-ico { width: 17px; height: 17px; color: var(--c-ink-3); }
.cspa .cspa-owner__tip { display: flex; gap: 8px; font-size: 14px; color: var(--c-accent-ink); margin-bottom: 10px; }
.cspa .cspa-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.cspa .cspa-act { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--c-line); background: #fff; font-size: 14px; font-weight: 600; color: var(--c-ink); transition: border-color .15s, color .15s; }
.cspa .cspa-act:hover { border-color: var(--c-accent); color: var(--c-accent-ink); }
.cspa .cspa-act .cspa-ico { width: 17px; height: 17px; }
.cspa .cspa-act[data-danger]:hover { border-color: var(--c-danger); color: var(--c-danger); }
.cspa .cspa-act.is-off { color: var(--c-ink-3); background: var(--c-line-2); border-color: transparent; cursor: default; font-weight: 500; }
.cspa .cspa-actmore { position: relative; }
.cspa .cspa-actmore > summary { list-style: none; cursor: pointer; }
.cspa .cspa-actmore > summary::-webkit-details-marker { display: none; }
.cspa .cspa-actmore[open] > summary { border-color: var(--c-accent); color: var(--c-accent-ink); }
.cspa .cspa-actmore__list { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; min-width: 220px; display: flex; flex-direction: column; gap: 2px; padding: 6px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); box-shadow: var(--sh-lg); }
.cspa .cspa-actmore__list .cspa-act { border: 0; border-radius: 8px; justify-content: flex-start; width: 100%; min-height: 44px; }
.cspa .cspa-actmore__list .cspa-act:hover { background: var(--c-line-2); }
@media (max-width: 640px) {
	/* On a phone the menu opens inside the card: nothing hidden under the tab bar. */
	.cspa .cspa-actmore { flex: 1 1 100%; }
	.cspa .cspa-actmore__list { position: static; margin-top: 6px; min-width: 0; box-shadow: none; background: var(--c-bg, #faf6f1); }
}

/* ---------- Fields (forms) ---------- */
.cspa .cspa-field { display: block; margin-top: 14px; }
.cspa .cspa-field > span:first-child, .cspa .cspa-field > legend, .cspa .cspa-flabel { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; color: var(--c-ink); }
.cspa .cspa-field small, .cspa .cspa-help { display: block; color: var(--c-ink-2); font-size: 13.5px; margin-top: 6px; line-height: 1.45; }
.cspa .cspa-err { color: var(--c-danger); font-size: 13.5px; margin-top: 6px; font-weight: 600; }
.cspa .cspa-err:empty { display: none; }
.cspa .has-err :is(input, select, textarea) { border-color: var(--c-danger); }
.cspa .cspa-input-unit { position: relative; display: block; }
.cspa .cspa-input-unit input { padding-right: 64px; }
.cspa .cspa-input-unit > span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--c-ink-2); font-weight: 600; pointer-events: none; font-size: 15px; }
.cspa .cspa-req { color: var(--c-accent); font-weight: 700; margin-left: 2px; }
.cspa .cspa-opt { color: var(--c-ink-3); font-weight: 400; font-size: 13px; margin-left: 4px; }
.cspa .cspa-ticks { display: grid; gap: 8px; margin-top: 12px; }
.cspa .cspa-ticks li { display: flex; gap: 8px; align-items: flex-start; }
.cspa .cspa-ticks .cspa-ico { color: var(--c-ok); width: 18px; height: 18px; margin-top: 2px; }

/* ---------- Dialogs ---------- */
.cspa .cspa-dialog { border: 0; padding: 0; margin: auto; width: min(560px, calc(100% - 24px)); max-height: calc(100% - 32px); border-radius: var(--r-lg); background: #fff; color: var(--c-ink); box-shadow: var(--sh-lg); overflow: hidden; font-family: var(--f-sans); }
.cspa .cspa-dialog--sm { width: min(440px, calc(100% - 24px)); }
.cspa .cspa-dialog::backdrop { background: rgba(38, 26, 18, .5); backdrop-filter: blur(3px); }
.cspa .cspa-dialog[open] { display: flex; animation: cspa-in .22s ease; }
@keyframes cspa-in { from { transform: translateY(12px); opacity: 0; } }
.cspa .cspa-dialog__box { display: flex; flex-direction: column; width: 100%; max-height: inherit; min-height: 0; }
.cspa .cspa-dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 16px 12px 20px; border-bottom: 1px solid var(--c-line-2); }
.cspa .cspa-dialog__head h2 { font-size: 21px; display: flex; align-items: center; gap: 8px; }
.cspa .cspa-dialog__head h2 .cspa-ico { color: var(--c-accent); }
.cspa .cspa-dialog__body { padding: 16px 20px; overflow: auto; flex: 1; min-height: 0; }
.cspa .cspa-dialog__body > p:first-child { margin-bottom: 8px; }
.cspa .cspa-dialog__foot { display: flex; gap: 10px; justify-content: flex-end; padding: 12px 20px 16px; border-top: 1px solid var(--c-line-2); background: #fff; }
.cspa .cspa-dialog__foot--stack { flex-direction: column; }
.cspa .cspa-contact__ad { display: flex; gap: 12px; align-items: center; padding: 10px; background: #f8f3ee; border-radius: var(--r); margin-bottom: 12px; }
.cspa .cspa-contact__ad img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.cspa .cspa-contact__ad div { min-width: 0; display: flex; flex-direction: column; }
.cspa .cspa-contact__ad strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cspa .cspa-contact__ad span { font-size: 13.5px; color: var(--c-ink-2); }
.cspa .cspa-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.cspa .cspa-quick .cspa-chip { white-space: normal; min-height: 36px; font-size: 13.5px; padding: 7px 12px; }
.cspa .cspa-offer { margin-top: 12px; }

/* Toasts */
.cspa .cspa-toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 100001; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: max-content; max-width: calc(100% - 24px); }
.cspa .cspa-toast { background: var(--c-ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: 14.5px; font-weight: 500; box-shadow: var(--sh-lg); animation: cspa-in .2s ease; pointer-events: auto; display: flex; gap: 10px; align-items: center; }
.cspa .cspa-toast--err { background: var(--c-danger); }
.cspa .cspa-toast a { color: #fff; text-decoration: underline; font-weight: 700; }

/* Loading */
.cspa .cspa-spinner { width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid var(--c-accent); border-right-color: transparent; animation: cspa-spin .7s linear infinite; display: inline-block; }
.cspa .cspa-skel { display: grid; gap: 12px; }
.cspa .cspa-skel span { display: block; height: 86px; border-radius: var(--r); background: linear-gradient(90deg, #f1ebe4, #f8f4ef, #f1ebe4); background-size: 200% 100%; animation: cspa-shim 1.2s infinite; }
@keyframes cspa-shim { to { background-position: -200% 0; } }
.cspa .cspa-post__loading { display: flex; gap: 12px; align-items: center; justify-content: center; padding: 60px 0; color: var(--c-ink-2); }

/* ---------- Account ---------- */
.cspa .cspa-account__head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 26px 0 14px; }
.cspa .cspa-account__hello { flex: 1; min-width: 200px; }
.cspa .cspa-account__hello .cspa-h1 { font-size: clamp(26px, 3.4vw, 34px); }
.cspa .cspa-account__hello a { text-decoration: underline; }
.cspa .cspa-account__tabs { display: flex; gap: 6px; overflow-x: auto; border-bottom: 1px solid var(--c-line); margin-bottom: 20px; scrollbar-width: none; }
.cspa .cspa-account__tabs::-webkit-scrollbar { display: none; }
.cspa .cspa-account__tabs a { display: inline-flex; align-items: center; gap: 7px; padding: 12px 14px; font-weight: 600; font-size: 15px; color: var(--c-ink-2); border-bottom: 2.5px solid transparent; margin-bottom: -1px; white-space: nowrap; position: relative; }
.cspa .cspa-account__tabs a.is-on { color: var(--c-ink); border-bottom-color: var(--c-accent); }
.cspa .cspa-account__tabs .cspa-ico { width: 18px; height: 18px; }
.cspa .cspa-filterchips { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 16px; padding-bottom: 4px; scrollbar-width: none; }
.cspa .cspa-filterchips .cspa-chip { min-height: 36px; }
.cspa .cspa-myads { display: flex; flex-direction: column; gap: 12px; }
.cspa .cspa-myad { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 16px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 14px; }
.cspa .cspa-myad__media { display: block; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: #f3ede6; }
.cspa .cspa-myad__media img { width: 100%; height: 100%; object-fit: cover; }
.cspa .cspa-myad__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cspa .cspa-myad__top { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.cspa .cspa-myad__title { font-family: var(--f-sans); font-size: 17px; font-weight: 700; }
.cspa .cspa-myad__title a:hover { color: var(--c-accent-ink); }
.cspa .cspa-myad__price { font-weight: 700; }
.cspa .cspa-myad__stats { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13.5px; color: var(--c-ink-2); }
.cspa .cspa-myad__stats span { display: inline-flex; align-items: center; gap: 5px; }
.cspa .cspa-myad__stats .cspa-ico { width: 16px; height: 16px; color: var(--c-ink-3); }
.cspa .cspa-myad .cspa-acts { margin-top: 4px; }
.cspa .cspa-myad .cspa-note { margin-top: 2px; }

/* Messages */
.cspa .cspa-msg { display: grid; grid-template-columns: 340px minmax(0, 1fr); background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; height: min(720px, calc(100vh - 220px)); min-height: 480px; }
.cspa .cspa-msg__list { border-right: 1px solid var(--c-line); display: flex; flex-direction: column; min-height: 0; }
.cspa .cspa-msg__boxes { display: flex; gap: 6px; padding: 12px; border-bottom: 1px solid var(--c-line-2); }
.cspa .cspa-msg__boxes .cspa-chip { min-height: 34px; padding: 6px 12px; font-size: 13.5px; }
.cspa .cspa-msg__threads { overflow-y: auto; flex: 1; }
.cspa .cspa-thread { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--c-line-2); width: 100%; text-align: left; transition: background .15s; position: relative; }
.cspa .cspa-thread:hover { background: #fbf8f4; }
.cspa .cspa-thread.is-on { background: var(--c-accent-soft); }
.cspa .cspa-thread__img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; background: #f1ebe4; display: flex; align-items: center; justify-content: center; color: #c9a08c; }
.cspa .cspa-thread__t { display: flex; flex-direction: column; min-width: 0; gap: 1px; }
.cspa .cspa-thread__row { display: flex; justify-content: space-between; gap: 6px; align-items: baseline; }
.cspa .cspa-thread__name { font-weight: 700; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cspa .cspa-thread__when { font-size: 12px; color: var(--c-ink-3); white-space: nowrap; }
.cspa .cspa-thread__ad { font-size: 13px; color: var(--c-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cspa .cspa-thread__prev { font-size: 13px; color: var(--c-ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cspa .cspa-thread.is-unread .cspa-thread__prev { color: var(--c-ink); font-weight: 600; }
.cspa .cspa-thread .cspa-dot { position: absolute; right: 12px; bottom: 14px; }
.cspa .cspa-msg__view { display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.cspa .cspa-msg__empty { margin: auto; text-align: center; color: var(--c-ink-3); padding: 24px; }
.cspa .cspa-msg__empty .cspa-ico { width: 48px; height: 48px; color: #d9c6b8; margin-bottom: 8px; }
.cspa .cspa-conv__head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--c-line-2); }
.cspa .cspa-conv__back { display: none; }
.cspa .cspa-conv__who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cspa .cspa-conv__who strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cspa .cspa-conv__who span { font-size: 13px; color: var(--c-ink-2); }
.cspa .cspa-conv__ad { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #faf6f1; border-bottom: 1px solid var(--c-line-2); font-size: 14px; }
.cspa .cspa-conv__ad img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.cspa .cspa-conv__ad div { min-width: 0; flex: 1; }
.cspa .cspa-conv__ad strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cspa .cspa-conv__ad .cspa-btn { min-height: 36px; padding: 6px 12px; font-size: 13.5px; }
.cspa .cspa-conv__msgs { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 8px; background: linear-gradient(180deg, #fff, #fcfaf7); }
.cspa .cspa-bubble { max-width: min(78%, 520px); padding: 10px 14px; border-radius: 18px; font-size: 15px; line-height: 1.45; white-space: pre-wrap; word-wrap: break-word; align-self: flex-start; background: #fff; border: 1px solid var(--c-line); border-bottom-left-radius: 6px; }
.cspa .cspa-bubble.is-mine { align-self: flex-end; background: var(--c-accent-soft); border-color: #edd3c5; border-bottom-left-radius: 18px; border-bottom-right-radius: 6px; }
.cspa .cspa-bubble__time { display: block; font-size: 11.5px; color: var(--c-ink-3); margin-top: 4px; }
.cspa .cspa-bubble--sys { align-self: center; background: #f1ece6; border: 0; color: var(--c-ink-2); font-size: 13.5px; text-align: center; border-radius: 12px; max-width: 90%; }
.cspa .cspa-bubble__warn { display: flex; gap: 6px; margin-top: 8px; padding: 8px 10px; background: var(--c-amber-soft); color: #6c4a10; border-radius: 10px; font-size: 13px; white-space: normal; }
.cspa .cspa-bubble__warn .cspa-ico { width: 16px; height: 16px; flex: none; margin-top: 1px; color: var(--c-amber); }
.cspa .cspa-offercard { align-self: flex-start; width: min(320px, 90%); background: #fff; border: 1.5px solid var(--c-accent); border-radius: 18px; padding: 14px; }
.cspa .cspa-offercard.is-mine { align-self: flex-end; }
.cspa .cspa-offercard__l { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--c-accent-ink); font-weight: 700; }
.cspa .cspa-offercard__a { font-size: 26px; font-weight: 700; margin: 2px 0; }
.cspa .cspa-offercard__s { font-size: 13px; color: var(--c-ink-2); }
.cspa .cspa-offercard__btns { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.cspa .cspa-offercard__btns .cspa-btn { min-height: 38px; padding: 6px 14px; font-size: 14px; flex: 1; }
.cspa .cspa-conv__quick { display: flex; gap: 6px; overflow-x: auto; padding: 8px 12px 0; scrollbar-width: none; }
.cspa .cspa-conv__quick .cspa-chip { min-height: 32px; padding: 5px 12px; font-size: 13px; }
.cspa .cspa-conv__form { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px; border-top: 1px solid var(--c-line-2); background: #fff; }
.cspa .cspa-conv__form textarea { min-height: 46px; max-height: 160px; resize: none; border-radius: 22px; padding: 12px 16px; }
.cspa .cspa-conv__form .cspa-btn { flex: none; width: 46px; padding: 0; }
.cspa .cspa-conv__blocked { padding: 14px; text-align: center; color: var(--c-ink-2); border-top: 1px solid var(--c-line-2); }
.cspa .cspa-menu { position: relative; }
.cspa .cspa-menu__list { position: absolute; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); box-shadow: var(--sh-lg); padding: 6px; min-width: 230px; z-index: 30; }
.cspa .cspa-menu__list button, .cspa .cspa-menu__list a { display: flex; width: 100%; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 8px; font-size: 14.5px; text-align: left; }
.cspa .cspa-menu__list button:hover, .cspa .cspa-menu__list a:hover { background: var(--c-line-2); }

/* Alerts, reviews, profile */
.cspa .cspa-list { display: flex; flex-direction: column; gap: 10px; }
.cspa .cspa-alert { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 14px 16px; }
.cspa .cspa-alert__ico { width: 44px; height: 44px; border-radius: 50%; background: var(--c-accent-soft); color: var(--c-accent); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.cspa .cspa-alert__t { flex: 1; min-width: 200px; }
.cspa .cspa-alert__t strong { display: block; }
.cspa .cspa-alert__t span { font-size: 13px; color: var(--c-ink-3); }
.cspa .cspa-alert select { width: auto; padding: 8px 34px 8px 12px; font-size: 14px; border-radius: 999px; }
.cspa .cspa-alert.is-off { opacity: .6; }
.cspa .cspa-reviews { display: flex; flex-direction: column; gap: 10px; }
.cspa .cspa-review { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 14px 16px; }
.cspa .cspa-review__head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 6px; }
.cspa .cspa-review__reply { margin-top: 8px; padding: 10px 12px; background: #f8f3ee; border-radius: var(--r-sm); font-size: 14.5px; }
.cspa .cspa-rate { display: flex; gap: 4px; flex-direction: row-reverse; justify-content: flex-end; }
.cspa .cspa-rate input { position: absolute; opacity: 0; }
.cspa .cspa-rate label { font-size: 32px; color: #e0d3c6; cursor: pointer; line-height: 1; padding: 2px; }
.cspa .cspa-rate input:checked ~ label, .cspa .cspa-rate label:hover, .cspa .cspa-rate label:hover ~ label { color: #d59a2f; }
.cspa .cspa-rate input:focus-visible + label { outline: 2px solid var(--c-accent); border-radius: 4px; }
.cspa .cspa-panel { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 20px; }
.cspa .cspa-panel + .cspa-panel { margin-top: 16px; }
.cspa .cspa-panel h2 { font-size: 21px; margin-bottom: 4px; }
.cspa .cspa-form-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }
.cspa .cspa-langs { display: flex; flex-wrap: wrap; gap: 8px; }
.cspa .cspa-langs label { position: relative; }
.cspa .cspa-langs input { position: absolute; opacity: 0; }
.cspa .cspa-langs span { display: inline-flex; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--c-line); font-size: 14px; cursor: pointer; }
.cspa .cspa-langs input:checked + span { background: var(--c-accent-soft); border-color: #e7c7b7; color: var(--c-accent-ink); font-weight: 600; }

/* Seller page, rules */
.cspa .cspa-sellerpage__in { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 8px; }
.cspa .cspa-sellerpage__card { position: sticky; top: calc(var(--subnav-h) + 16px); display: flex; flex-direction: column; gap: 12px; }
.cspa .cspa-sellerpage__bio { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 16px; color: var(--c-ink-2); font-size: 15px; }
.cspa .cspa-sellerpage__main .cspa-h1 { margin-bottom: 18px; }
.cspa .cspa-rules { max-width: 980px; }
.cspa .cspa-rules .cspa-h1 { margin-top: 6px; }
.cspa .cspa-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 6px; }
.cspa .cspa-toc a { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--c-line); font-size: 14px; font-weight: 600; }
.cspa .cspa-toc a:hover { border-color: var(--c-accent); color: var(--c-accent-ink); }
.cspa .cspa-rules__s { margin-top: 36px; scroll-margin-top: calc(var(--subnav-h) + 20px); }
.cspa .cspa-rules__s > .cspa-h2 { margin-bottom: 14px; }
.cspa .cspa-rules__s > p { color: var(--c-ink-2); margin-top: 10px; font-size: 16px; }
.cspa .cspa-rules__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.cspa .cspa-rules__grid > div { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 18px; }
.cspa .cspa-rules__grid h3 { font-size: 18px; margin-bottom: 6px; }
.cspa .cspa-rules__grid p { color: var(--c-ink-2); font-size: 15px; }
.cspa .cspa-rules__list { display: grid; gap: 10px; margin-top: 12px; }
.cspa .cspa-rules__list li { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); padding: 12px 16px; color: var(--c-ink-2); font-size: 15px; }
.cspa .cspa-rules__list strong { color: var(--c-ink); }
.cspa .cspa-rules .cspa-h3 { margin-top: 24px; }
.cspa .cspa-tips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cspa .cspa-tip { display: flex; gap: 12px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 16px; }
.cspa .cspa-tip__ico { width: 42px; height: 42px; border-radius: 50%; background: var(--c-ok-soft); color: var(--c-ok); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.cspa .cspa-tip p { color: var(--c-ink-2); font-size: 14.5px; margin-top: 2px; }
.cspa .cspa-credits { text-align: center; font-size: 12.5px; color: var(--c-ink-3); margin: 40px auto 0; padding: 0 16px; max-width: 900px; }
.cspa .cspa-credits a { text-decoration: underline; }

/* =========================================================================
   Posting form
   ========================================================================= */
.cspa .cspa-post { max-width: 1180px; padding-top: 18px; }
.cspa .cspa-wiz { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; align-items: start; }
.cspa .cspa-wiz__main { min-width: 0; }
.cspa .cspa-wiz__progress { display: flex; gap: 6px; margin-bottom: 18px; }
.cspa .cspa-wiz__progress button { flex: 1; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; font-size: 12.5px; font-weight: 600; color: var(--c-ink-3); text-align: left; min-width: 0; }
.cspa .cspa-wiz__progress button::before { content: ""; display: block; height: 5px; width: 100%; border-radius: 999px; background: var(--c-line); transition: background .3s; }
.cspa .cspa-wiz__progress button.is-done::before { background: #d9a68f; }
.cspa .cspa-wiz__progress button.is-on::before { background: var(--c-accent); }
.cspa .cspa-wiz__progress button.is-on { color: var(--c-ink); }
.cspa .cspa-wiz__progress button span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.cspa .cspa-wiz__card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--sh); }
.cspa .cspa-wiz__title { font-size: clamp(25px, 3vw, 32px); margin-bottom: 4px; }
.cspa .cspa-wiz__sub { color: var(--c-ink-2); margin-bottom: 18px; }
.cspa .cspa-wiz__nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 18px; }
.cspa .cspa-wiz__nav .cspa-btn--primary { min-width: 180px; }
.cspa .cspa-wiz__save { font-size: 13px; color: var(--c-ink-3); display: inline-flex; align-items: center; gap: 6px; }
.cspa .cspa-wiz__save .cspa-ico { width: 15px; height: 15px; color: var(--c-ok); }
.cspa .cspa-wiz__aside { position: sticky; top: calc(var(--subnav-h) + 16px); display: flex; flex-direction: column; gap: 14px; }
.cspa .cspa-wiz__aside .cspa-card { pointer-events: none; }
.cspa .cspa-wiz__aside .cspa-card .cspa-fav { display: none; }
.cspa .cspa-wiz__plabel { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--c-ink-3); }
.cspa .cspa-meter { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 16px; }
.cspa .cspa-meter__bar { height: 8px; border-radius: 999px; background: var(--c-line-2); overflow: hidden; margin: 8px 0; }
.cspa .cspa-meter__bar span { display: block; height: 100%; background: linear-gradient(90deg, #d9a68f, var(--c-accent)); border-radius: 999px; transition: width .4s; }
.cspa .cspa-meter ul { display: grid; gap: 4px; font-size: 13.5px; color: var(--c-ink-2); margin-top: 6px; }
.cspa .cspa-meter li { display: flex; gap: 6px; }
.cspa .cspa-meter li::before { content: "+"; color: var(--c-accent); font-weight: 700; }
.cspa .cspa-types { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.cspa .cspa-type { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1.5px solid var(--c-line); border-radius: var(--r); text-align: left; transition: border-color .15s, background .15s; width: 100%; background: #fff; }
.cspa .cspa-type:hover { border-color: #ddb9a6; }
.cspa .cspa-type.is-on { border-color: var(--c-accent); background: var(--c-accent-soft); }
.cspa .cspa-type[disabled] { opacity: .45; cursor: not-allowed; }
.cspa .cspa-type__ico { width: 42px; height: 42px; border-radius: 12px; background: var(--c-line-2); color: var(--c-accent); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.cspa .cspa-type.is-on .cspa-type__ico { background: #fff; }
.cspa .cspa-type strong { display: block; font-size: 16px; }
.cspa .cspa-type span:not(.cspa-type__ico) { display: block; font-size: 13.5px; color: var(--c-ink-2); }
.cspa .cspa-counter { float: right; font-size: 12.5px; color: var(--c-ink-3); font-weight: 500; }
.cspa .cspa-pickcats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 4px; }
.cspa .cspa-pickcat { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px; border: 1.5px solid var(--c-line); border-radius: var(--r); font-size: 13.5px; font-weight: 600; text-align: center; background: #fff; line-height: 1.25; }
.cspa .cspa-pickcat .cspa-ico { width: 30px; height: 30px; color: var(--c-accent); }
.cspa .cspa-pickcat:hover { border-color: #ddb9a6; }
.cspa .cspa-pickcat.is-on { border-color: var(--c-accent); background: var(--c-accent-soft); }
.cspa .cspa-picksubs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.cspa .cspa-suggest { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.cspa .cspa-suggest .cspa-chip { border-style: dashed; }
.cspa .cspa-catsel { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--c-accent); background: var(--c-accent-soft); border-radius: var(--r); }
.cspa .cspa-catsel .cspa-ico { width: 26px; height: 26px; color: var(--c-accent); }
.cspa .cspa-catsel div { flex: 1; min-width: 0; }
.cspa .cspa-catsel strong { display: block; }
.cspa .cspa-catsel span { font-size: 13.5px; color: var(--c-ink-2); }
.cspa .cspa-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 10px; }
.cspa .cspa-photo { position: relative; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: #f1ebe4; border: 1px solid var(--c-line); touch-action: manipulation; }
.cspa .cspa-photo img { width: 100%; height: 100%; object-fit: cover; }
.cspa .cspa-photo.is-drag { opacity: .4; }
.cspa .cspa-photo.is-over { outline: 3px dashed var(--c-accent); outline-offset: -3px; }
.cspa .cspa-photo__cover { position: absolute; left: 6px; bottom: 6px; background: var(--c-accent); color: #fff; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.cspa .cspa-photo__btns { position: absolute; right: 6px; top: 6px; display: flex; gap: 4px; }
.cspa .cspa-photo__btns button { width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .94); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 1px 4px rgba(0, 0, 0, .15); }
.cspa .cspa-photo__btns .cspa-ico { width: 16px; height: 16px; }
.cspa .cspa-photo__prog { position: absolute; left: 8px; right: 8px; bottom: 8px; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .7); overflow: hidden; }
.cspa .cspa-photo__prog span { display: block; height: 100%; background: var(--c-accent); width: 0; transition: width .2s; }
.cspa .cspa-photo__err { position: absolute; inset: auto 6px 6px; background: var(--c-danger); color: #fff; font-size: 12px; padding: 4px 8px; border-radius: 8px; text-align: center; }
.cspa .cspa-photo--add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 2px dashed #dcc4b5; background: #fffaf6; color: var(--c-accent-ink); font-weight: 600; font-size: 14px; cursor: pointer; text-align: center; padding: 8px; }
.cspa .cspa-photo--add .cspa-ico { width: 30px; height: 30px; }
.cspa .cspa-photo--add small { font-weight: 400; color: var(--c-ink-3); font-size: 12px; }
.cspa .cspa-photo--add.is-over { border-color: var(--c-accent); background: var(--c-accent-soft); }
.cspa .cspa-shots { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.cspa .cspa-shots span { display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 999px; background: var(--c-line-2); font-size: 13px; color: var(--c-ink-2); }
.cspa .cspa-shots .cspa-ico { width: 14px; height: 14px; color: var(--c-accent); }
.cspa .cspa-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.cspa .cspa-fields .cspa-field--wide { grid-column: 1 / -1; }
.cspa .cspa-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.cspa .cspa-opts label { position: relative; }
.cspa .cspa-opts input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.cspa .cspa-opts span { display: inline-flex; align-items: center; min-height: 42px; padding: 9px 14px; border-radius: 12px; border: 1.5px solid var(--c-line); background: #fff; font-size: 14.5px; cursor: pointer; transition: border-color .15s, background .15s; line-height: 1.3; }
.cspa .cspa-opts input:checked + span { border-color: var(--c-accent); background: var(--c-accent-soft); color: var(--c-accent-ink); font-weight: 600; }
.cspa .cspa-opts input:focus-visible + span { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.cspa .cspa-conds { display: grid; gap: 8px; }
.cspa .cspa-cond { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--c-line); border-radius: var(--r); cursor: pointer; position: relative; background: #fff; }
.cspa .cspa-cond input { position: absolute; opacity: 0; }
.cspa .cspa-cond::before { content: ""; width: 20px; height: 20px; border-radius: 50%; border: 1.6px solid #c9b8aa; flex: none; margin-top: 2px; }
.cspa .cspa-cond:has(input:checked) { border-color: var(--c-accent); background: var(--c-accent-soft); }
.cspa .cspa-cond:has(input:checked)::before { border: 6px solid var(--c-accent); }
.cspa .cspa-cond strong { display: block; }
.cspa .cspa-cond span { display: block; font-size: 13.5px; color: var(--c-ink-2); }
.cspa .cspa-adv { margin-top: 22px; border-top: 1px dashed var(--c-line); padding-top: 14px; }
.cspa .cspa-adv > summary { list-style: none; display: flex; align-items: center; gap: 8px; font-weight: 700; cursor: pointer; color: var(--c-accent-ink); }
.cspa .cspa-adv > summary::-webkit-details-marker { display: none; }
.cspa .cspa-adv > summary .cspa-ico { transition: transform .2s; }
.cspa .cspa-adv[open] > summary .cspa-ico { transform: rotate(180deg); }
.cspa .cspa-prompts { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 12px; }
.cspa .cspa-prompts .cspa-chip { white-space: normal; min-height: 34px; padding: 6px 12px; font-size: 13.5px; border-style: dashed; }
.cspa .cspa-prompts .cspa-chip::before { content: "+"; font-weight: 700; color: var(--c-accent); }
.cspa .cspa-summary { display: grid; gap: 12px; }
.cspa .cspa-summary__s { border: 1px solid var(--c-line); border-radius: var(--r); padding: 14px 16px; }
.cspa .cspa-summary__h { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 6px; }
.cspa .cspa-summary__h button { color: var(--c-accent-ink); font-weight: 600; font-size: 14px; }
.cspa .cspa-summary dl { display: grid; grid-template-columns: minmax(120px, 40%) 1fr; gap: 4px 12px; font-size: 14.5px; }
.cspa .cspa-summary dt { color: var(--c-ink-2); }
.cspa .cspa-declare { margin-top: 16px; display: grid; gap: 8px; }
.cspa .cspa-declare .cspa-note { font-size: 13.5px; }
.cspa .cspa-success { text-align: center; padding: 24px 8px; }
.cspa .cspa-success__ico { width: 76px; height: 76px; border-radius: 50%; background: var(--c-ok-soft); color: var(--c-ok); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.cspa .cspa-success__ico .cspa-ico { width: 38px; height: 38px; }
.cspa .cspa-success h2 { font-size: 30px; margin-bottom: 8px; }
.cspa .cspa-success p { color: var(--c-ink-2); max-width: 52ch; margin: 0 auto; }
.cspa .cspa-success__btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }
.cspa .cspa-gate { text-align: center; padding: 22px; border: 2px dashed #dcc4b5; border-radius: var(--r-lg); background: #fffaf6; }
.cspa .cspa-gate p { margin-bottom: 14px; color: var(--c-ink-2); }
.cspa .cspa-gate .cspa-btn + .cspa-btn { margin-left: 8px; }
.cspa .cspa-gate > .cspa-ico { width: 40px; height: 40px; color: var(--c-accent); margin-bottom: 8px; }
.cspa .cspa-placefield { position: relative; }
.cspa .cspa-placefield__row { display: flex; gap: 8px; }
.cspa .cspa-placefield__row input[type="text"] { flex: 1; min-width: 0; }
.cspa .cspa-placefield .cspa-ac { top: 74px; }
.cspa .cspa-show-md { display: none; }
.cspa .cspa-wiz__plabel + .cspa-wiz__title { margin-top: 4px; }
.cspa .cspa-wiz__card .cspa-note { margin-top: 14px; }
.cspa .cspa-wiz__card .cspa-help .cspa-ico { width: 16px; height: 16px; color: var(--c-accent); }
.cspa .cspa-summary__s .cspa-shots { gap: 6px; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1180px) {
	.cspa .cspa-rail { grid-auto-columns: calc((100% - 3 * 16px) / 4); }
	.cspa .cspa-grid--home { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cspa .cspa-cats { grid-template-columns: repeat(5, 1fr); }
	.cspa .cspa-catmenu { grid-template-columns: repeat(4, 1fr); }
	.cspa .cspa-hide-md { display: none; }
}
@media (max-width: 1040px) {
	.cspa .cspa-show-md { display: block; }
	.cspa .cspa-home-main { grid-template-columns: minmax(0, 1fr); }
	.cspa .cspa-home-main__side { position: static; display: grid; grid-template-columns: repeat(3, 1fr); }
	.cspa .cspa-encart { min-height: 0; }
	.cspa .cspa-wiz { grid-template-columns: minmax(0, 1fr); }
	.cspa .cspa-wiz__aside { display: none; }
	.cspa .cspa-ad { grid-template-columns: minmax(0, 1fr) 340px; }
}
@media (max-width: 900px) {
	.cspa { --subnav-h: 0px; }
	.cspa .cspa-rail { grid-auto-columns: calc((100% - 2 * 16px) / 3); }
	.cspa .cspa-subnav { display: none; }
	body.cspa-body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
	.cspa .cspa-tabbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); border-top: 1px solid var(--c-line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); justify-content: space-around; }
	.cspa .cspa-tabbar__i { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11.5px; font-weight: 600; color: var(--c-ink-3); padding: 4px 2px; position: relative; min-height: 50px; justify-content: center; }
	.cspa .cspa-tabbar__i .cspa-ico { width: 24px; height: 24px; }
	.cspa .cspa-tabbar__i.is-on { color: var(--c-accent-ink); }
	.cspa .cspa-tabbar__i .cspa-dot { position: absolute; top: 2px; left: calc(50% + 6px); }
	.cspa .cspa-tabbar__plus { width: 46px; height: 46px; border-radius: 50%; background: var(--c-accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; margin-top: -20px; box-shadow: 0 6px 16px rgba(172, 92, 64, .35); border: 3px solid #fff; }
	.cspa .cspa-tabbar__post { color: var(--c-accent-ink); }
	.cspa .cspa-browse__cols { grid-template-columns: minmax(0, 1fr); }
	.cspa .cspa-toolbar__filters { display: inline-flex; }
	.cspa .cspa-toolbar__sort { margin-left: 0; }
	.cspa .cspa-toolbar { gap: 8px; }
	.cspa .cspa-toolbar__alert { margin-left: auto; }
	.cspa .cspa-filters { position: fixed; left: 0; right: 0; bottom: 0; top: auto; max-height: 88vh; height: 88vh; z-index: 99990; border-radius: 22px 22px 0 0; padding: 0; display: flex; flex-direction: column; transform: translateY(105%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); box-shadow: var(--sh-lg); border: 0; }
	.cspa .cspa-filters.is-open { transform: none; }
	.cspa .cspa-filters__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 12px 10px 20px; border-bottom: 1px solid var(--c-line-2); font-size: 18px; }
	.cspa .cspa-filters__body { flex: 1; overflow-y: auto; padding: 4px 20px 20px; overscroll-behavior: contain; }
	.cspa .cspa-filters__foot { display: flex; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--c-line-2); background: #fff; }
	.cspa .cspa-filters__foot .cspa-btn--primary { flex: 1; }
	.cspa-sheet-backdrop { position: fixed; inset: 0; background: rgba(38, 26, 18, .45); z-index: 99980; opacity: 0; transition: opacity .3s; }
	.cspa-sheet-backdrop.is-on { opacity: 1; }
	.cspa .cspa-ad { grid-template-columns: minmax(0, 1fr); grid-template-areas: "gallery" "side" "content"; gap: 18px; }
	.cspa .cspa-ad__sticky { position: static; }
	.cspa .cspa-ad__cta { display: none; }
	.cspa .cspa-stickybar { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); border-top: 1px solid var(--c-line); }
	.cspa .cspa-stickybar .cspa-fav { position: static; box-shadow: none; width: 48px; height: 48px; border: 1px solid var(--c-line); background: #fff; }
	.cspa .cspa-stickybar__main { flex: 1; }
	.cspa .cspa-stickybar > * { min-width: 0; }
	.cspa .cspa-stickybar .cspa-btn { padding-left: 14px; padding-right: 14px; }
	.cspa .cspa-stickybar > .cspa-btn--icon { flex: 0 0 48px; width: 48px; height: 48px; min-height: 48px; padding: 0; gap: 0; line-height: 1; }
	.cspa .cspa-stickybar .cspa-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	body.cspa-view-ad { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
	.cspa .cspa-sellerpage__in { grid-template-columns: minmax(0, 1fr); }
	.cspa .cspa-sellerpage__card { position: static; }
	.cspa .cspa-msg { grid-template-columns: minmax(0, 1fr); height: calc(100vh - 200px); }
	.cspa .cspa-msg__view { display: none; }
	.cspa .cspa-msg.is-conv .cspa-msg__list { display: none; }
	.cspa .cspa-msg.is-conv .cspa-msg__view { display: flex; }
	.cspa .cspa-conv__back { display: inline-flex; }
	/* A conversation takes the whole screen on phones, with the message box always visible. */
	.cspa .cspa-msg.is-conv { position: fixed; left: 0; right: 0; bottom: 0; top: var(--wp-admin--admin-bar--height, 0px); height: auto; min-height: 0; margin: 0; z-index: 99995; border: 0; border-radius: 0; }
	.cspa .cspa-msg.is-conv .cspa-conv__form { padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
	html.cspa-chatopen, html.cspa-chatopen body { overflow: hidden; }
	.cspa .cspa-wiz__nav { position: sticky; bottom: 0; background: linear-gradient(180deg, rgba(250, 247, 244, 0), var(--c-bg) 30%); padding: 18px 0 calc(12px + env(safe-area-inset-bottom)); margin-top: 6px; z-index: 5; }
	body.cspa-view-post { padding-bottom: 0; }
	.cspa .cspa-toasts { bottom: calc(86px + env(safe-area-inset-bottom)); }
}
@media (max-width: 760px) {
	.cspa { --gut: 14px; }
	.cspa .cspa-hide-sm { display: none; }
	/* Everything tappable with a finger: 44 px targets. */
	.cspa .cspa-search__geo { width: 44px; height: 44px; }
	.cspa .cspa-tabs button { min-height: 44px; }
	.cspa .cspa-chip { min-height: 44px; }
	.cspa .cspa-fav { width: 44px; height: 44px; }
	.cspa .cspa-photo__btns button { width: 40px; height: 40px; }
	.cspa .cspa-conv__quick .cspa-chip, .cspa .cspa-msg__boxes .cspa-chip, .cspa .cspa-quick .cspa-chip, .cspa .cspa-prompts .cspa-chip { min-height: 40px; }
	.cspa .cspa-fgroup > summary { min-height: 44px; }
	.cspa .cspa-check--row, .cspa .cspa-radio--row { min-height: 44px; }
	.cspa .cspa-popular a { display: inline-flex; align-items: center; min-height: 40px; }
	.cspa .cspa-wiz__progress button { padding: 10px 0; }
	.cspa .cspa-ad__foot .cspa-link, .cspa .cspa-link { min-height: 40px; display: inline-flex; align-items: center; }
	/* Search first, then the picture. */
	.cspa .cspa-hero__media { order: 2; margin: 22px 0 0; }
	.cspa .cspa-gate .cspa-btn { display: flex; width: 100%; justify-content: center; }
	.cspa .cspa-gate .cspa-btn + .cspa-btn { margin: 8px 0 0; }
	.cspa .cspa-hero__in { grid-template-columns: minmax(0, 1fr); padding-top: 18px; padding-bottom: 26px; gap: 0; }
	.cspa .cspa-hero__media { order: -1; aspect-ratio: 471 / 262; border-radius: 18px; margin-bottom: 18px; }
	.cspa .cspa-eyebrow { font-size: 11px; letter-spacing: .14em; margin-bottom: 8px; }
	.cspa .cspa-hero__desc { font-size: 15.5px; }
	.cspa .cspa-search__bar { flex-direction: column; border-radius: 18px; padding: 6px; gap: 0; }
	.cspa .cspa-search__what, .cspa .cspa-search__where { padding: 2px 8px 2px 12px; }
	.cspa .cspa-search__where { border-left: 0; border-top: 1px solid var(--c-line); }
	.cspa .cspa-search__go { margin-top: 6px; min-height: 48px; border-radius: 14px; }
	.cspa .cspa-search--browse .cspa-search__bar { flex-direction: row; flex-wrap: wrap; }
	.cspa .cspa-search--browse .cspa-search__what { flex: 1 1 0; min-width: 0; order: 1; }
	.cspa .cspa-search--browse .cspa-search__go { order: 2; align-self: center; margin: 0 0 0 6px; width: 48px; min-height: 44px; padding: 0; }
	.cspa .cspa-search--browse .cspa-search__where { order: 3; flex: 1 1 100%; margin-top: 6px; border-top: 1px solid var(--c-line); }
	.cspa .cspa-search--browse .cspa-search__go span { display: none; }
	.cspa .cspa-show-sm { display: inline-block; }
	.cspa .cspa-search--big .cspa-search__go .cspa-show-sm { display: none; }
	.cspa .cspa-search__under { flex-direction: column; align-items: stretch; }
	.cspa .cspa-search__under .cspa-seg { display: flex; }
	.cspa .cspa-search__under .cspa-seg label { flex: 1; }
	.cspa .cspa-search__under .cspa-seg label > span { width: 100%; justify-content: center; padding: 9px 6px; }
	.cspa .cspa-cats { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 148px; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding-bottom: 8px; margin: 0 calc(var(--gut) * -1); padding-left: var(--gut); padding-right: var(--gut); scrollbar-width: none; }
	.cspa .cspa-cats::-webkit-scrollbar { display: none; }
	.cspa .cspa-cat { scroll-snap-align: start; }
	.cspa .cspa-cat__media { aspect-ratio: 4 / 3; }
	.cspa .cspa-cat__desc { display: none; }
	.cspa .cspa-cat__name { font-size: 16px; }
	.cspa .cspa-grid, .cspa .cspa-grid--home { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.cspa .cspa-card__media { aspect-ratio: 1; }
	.cspa .cspa-card__body { padding: 9px 10px 10px; gap: 2px; }
	.cspa .cspa-price__main { font-size: 16px; }
	.cspa .cspa-card__title { font-size: 14px; }
	.cspa .cspa-card__specs { font-size: 12px; }
	.cspa .cspa-card__meta { font-size: 12px; }
	.cspa .cspa-card__foot { font-size: 11.5px; }
	.cspa .cspa-card__foot .cspa-card__when { display: none; }
	.cspa .cspa-card__badges { left: 6px; bottom: 6px; max-width: calc(100% - 12px) !important; }
	.cspa .cspa-badge { font-size: 11.5px; padding: 3px 8px; }
	.cspa .cspa-card__count { display: none; }
	.cspa .cspa-fav { width: 38px; height: 38px; top: 6px; right: 6px; }
	.cspa .cspa-rail { grid-auto-columns: 46%; gap: 10px; margin: 0 calc(var(--gut) * -1); padding-left: var(--gut); padding-right: var(--gut); }
	.cspa .cspa-home-main__side { grid-template-columns: minmax(0, 1fr); }
	.cspa .cspa-wanted__in { grid-template-columns: minmax(0, 1fr); padding: 18px; }
	.cspa .cspa-wanted__list { grid-template-columns: minmax(0, 1fr); }
	.cspa .cspa-steps, .cspa .cspa-crosses { grid-template-columns: minmax(0, 1fr); }
	.cspa .cspa-section { margin-top: 32px; }
	.cspa .cspa-section__head { margin-bottom: 12px; }
	.cspa .cspa-tabs { width: 100%; }
	.cspa .cspa-ad__gallery { margin: 0 calc(var(--gut) * -1); }
	.cspa .cspa-gal { border-radius: 0; }
	.cspa .cspa-gal__nav, .cspa .cspa-gal__thumbs { display: none; }
	.cspa .cspa-gal__count { top: auto; bottom: 12px; }
	.cspa .cspa-specs { grid-template-columns: minmax(0, 1fr); }
	.cspa .cspa-block { padding: 16px; }
	.cspa .cspa-myad { grid-template-columns: 88px minmax(0, 1fr); gap: 12px; padding: 12px; }
	.cspa .cspa-myad .cspa-acts { margin: 6px 0 0 -100px; padding-left: 0; }
	.cspa .cspa-act span { font-size: 13px; }
	.cspa .cspa-act { min-height: 38px; padding: 7px 11px; }
	.cspa .cspa-rules__grid, .cspa .cspa-tips { grid-template-columns: minmax(0, 1fr); }
	.cspa .cspa-wiz__card { padding: 18px 16px; border-radius: 18px; }
	.cspa .cspa-types { grid-template-columns: minmax(0, 1fr); }
	.cspa .cspa-pickcats { grid-template-columns: repeat(3, 1fr); }
	.cspa .cspa-fields { grid-template-columns: minmax(0, 1fr); }
	.cspa .cspa-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.cspa .cspa-wiz__progress button span { display: none; }
	.cspa .cspa-wiz__progress { margin-bottom: 12px; }
	.cspa .cspa-wiz__nav { flex-wrap: wrap; gap: 8px; }
	.cspa .cspa-wiz__nav .cspa-btn--primary { min-width: min(100%, 180px); flex: 1 1 180px; white-space: normal; overflow-wrap: anywhere; }
	.cspa .cspa-wiz__nav .cspa-btn--ghost { flex: none; }
	.cspa .cspa-wiz__save { order: 3; width: 100%; justify-content: center; }
	.cspa .cspa-wiz__save:empty { display: none; }
	.cspa .cspa-photo--add small { display: none; }
	.cspa .cspa-photo--add { font-size: 13px; }
	.cspa .cspa-grid2 { grid-template-columns: minmax(0, 1fr); }
	.cspa .cspa-summary dl { grid-template-columns: minmax(0, 1fr); }
	.cspa .cspa-summary dd { margin-bottom: 6px; }
	.cspa .cspa-dialog--sheet { width: 100%; max-width: none; margin: auto 0 0; border-radius: 22px 22px 0 0; max-height: 92vh; }
	.cspa .cspa-dialog--sheet[open] { animation: cspa-up .28s cubic-bezier(.2, .8, .2, 1); }
	.cspa .cspa-dialog { max-height: 92vh; }
	.cspa .cspa-account__head { padding-top: 16px; }
	.cspa .cspa-account__head .cspa-btn { display: none; }
	.cspa .cspa-account__head .cspa-btn[data-login-link] { display: flex; width: 100%; justify-content: center; }
	.cspa .cspa-msg { height: calc(100vh - 190px); border-radius: 16px; margin: 0 -4px; }
	.cspa .cspa-toc { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
}
@keyframes cspa-up { from { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) {
	.cspa *, .cspa *::before, .cspa *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media print {
	.cspa .cspa-subnav, .cspa .cspa-tabbar, .cspa .cspa-stickybar, .cspa .cspa-ad__cta, .cspa .cspa-safety, .cspa .cspa-rail { display: none !important; }
}

/* Reviews: explicit light surfaces and strong ink remain legible in dark host themes. */
.cspa .cspa-review-flow,
.cspa .cspa-handover { color: #33251a; color-scheme: light; }
.cspa .cspa-review-flow .cspa-panel,
.cspa .cspa-review-flow .cspa-review,
.cspa .cspa-handover { background: #ffffff; border-color: #c7b5a6; color: #33251a; }
.cspa .cspa-review-flow h2,
.cspa .cspa-review-flow h3,
.cspa .cspa-review-flow legend,
.cspa .cspa-review-flow label,
.cspa .cspa-review-flow summary,
.cspa .cspa-review-flow strong,
.cspa .cspa-review-flow p,
.cspa .cspa-review-flow small,
.cspa .cspa-handover strong,
.cspa .cspa-handover p,
.cspa .cspa-handover label,
.cspa .cspa-handover summary { color: #33251a; }
.cspa .cspa-review-flow h2 { line-height: 1.35; margin-bottom: 10px; }
.cspa .cspa-review-flow h3 { font-size: 18px; line-height: 1.4; margin: 0 0 6px; }
.cspa .cspa-review-flow .cspa-muted { color: #65554a; }
.cspa .cspa-review-flow textarea,
.cspa .cspa-handover textarea { background: #ffffff; color: #33251a; border: 1px solid #8b7563; caret-color: #33251a; font: inherit; line-height: 1.5; }
.cspa .cspa-review-flow textarea::placeholder,
.cspa .cspa-handover textarea::placeholder { color: #716052; opacity: 1; }
.cspa .cspa-review-flow .cspa-btn--primary,
.cspa .cspa-handover .cspa-btn--primary { background: #8b432b; color: #ffffff; border-color: #8b432b; text-decoration: none; }
.cspa .cspa-review-flow .cspa-btn--primary:hover,
.cspa .cspa-handover .cspa-btn--primary:hover { background: #703420; color: #ffffff; border-color: #703420; }
.cspa .cspa-review-flow .cspa-btn--soft,
.cspa .cspa-handover .cspa-btn--soft,
.cspa .cspa-review-flow .cspa-chip { color: #63371f; background: #f6ebe3; border: 1px solid #b5957d; }
.cspa .cspa-review-flow .cspa-btn--soft:hover,
.cspa .cspa-handover .cspa-btn--soft:hover,
.cspa .cspa-review-flow .cspa-chip:hover { color: #512d1a; background: #ecdbcd; }
.cspa .cspa-review-flow .cspa-link,
.cspa .cspa-handover .cspa-link { color: #7d3e28; text-decoration: underline; text-underline-offset: 3px; }
.cspa .cspa-review-flow button,
.cspa .cspa-handover button,
.cspa .cspa-handover .cspa-btn { min-height: 44px; white-space: normal; }
.cspa .cspa-review-flow button:disabled,
.cspa .cspa-handover button:disabled { opacity: 1; background: #eee7e1; color: #65554a; border-color: #b7a594; cursor: wait; }
.cspa .cspa-review-flow :focus-visible,
.cspa .cspa-handover :focus-visible { outline: 3px solid #7d3e28; outline-offset: 3px; }
.cspa .cspa-review-form { margin-top: 18px; scroll-margin-top: 110px; }
.cspa .cspa-review-flow .cspa-rate { display: flex; flex-direction: row; justify-content: flex-start; gap: 6px; margin: 8px 0; }
.cspa .cspa-rate__option { position: relative; display: inline-flex; }
.cspa .cspa-review-flow .cspa-rate input { position: absolute; opacity: 0; width: 1px; height: 1px; top: 50%; left: 50%; }
.cspa .cspa-review-flow .cspa-rate label { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border-radius: 9px; border: 1px solid #bba692; background: #ffffff; color: #6b5a4c; font-size: 34px; line-height: 1; cursor: pointer; }
.cspa .cspa-review-flow .cspa-rate label.is-on,
.cspa .cspa-review-flow .cspa-rate label:hover { color: #8b432b; background: #f7e9dd; border-color: #8b432b; }
.cspa .cspa-review-flow .cspa-rate input:checked + label { color: #8b432b; border: 2px solid #8b432b; }
.cspa .cspa-review-flow .cspa-rate input:focus-visible + label { outline: 3px solid #7d3e28; outline-offset: 3px; }
.cspa .cspa-review-flow .cspa-star,
.cspa .cspa-seller__rating .cspa-star { color: #6b5a4c; }
.cspa .cspa-review-flow .cspa-star.is-on,
.cspa .cspa-seller__rating .cspa-star.is-on { color: #8b432b; }
.cspa .cspa-review-flow summary,
.cspa .cspa-handover summary { cursor: pointer; font-weight: 600; padding: 12px 0; min-height: 44px; }
.cspa .cspa-review-words { margin-top: 12px; border-top: 1px solid #d7c7b9; }
.cspa .cspa-review-phrases { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.cspa .cspa-review-phrases .cspa-chip { text-align: left; font-size: 14px; padding: 10px 13px; line-height: 1.45; height: auto; border-radius: 12px; max-width: 100%; overflow-wrap: anywhere; }
.cspa .cspa-review__privacy,
.cspa .cspa-review-notice,
.cspa .cspa-review__reply { color: #4c3a2c; background: #f5eee7; padding: 12px 14px; border-radius: 10px; margin-top: 16px; }
.cspa .cspa-review-skip { display: block; margin-top: 12px; }
.cspa .cspa-review-check { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0; line-height: 1.5; }
.cspa .cspa-review-check input { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px; accent-color: #8b432b; }
.cspa .cspa-review-group { margin-top: 24px; }
.cspa .cspa-review-flow .cspa-reviews { margin-top: 14px; }
.cspa .cspa-review-flow .cspa-review-error,
.cspa .cspa-handover .cspa-review-error { color: #8a2424; background: #fff1ef; border: 1px solid #b9544c; padding: 10px 12px; border-radius: 8px; margin-top: 12px; }
.cspa .cspa-review-flow [hidden],
.cspa .cspa-handover [hidden] { display: none !important; }
.cspa .cspa-handover { padding: 12px 18px; border-top: 1px solid #d7c7b9; border-bottom: 1px solid #d7c7b9; flex: 0 0 auto; max-height: 42vh; overflow-y: auto; font-size: 14px; }
.cspa .cspa-handover p { margin: 6px 0 10px; }
.cspa .cspa-handover__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cspa .cspa-handover__dispute { margin-top: 5px; }
.cspa .cspa-seller__rating { color: #4c3a2c; line-height: 1.5; }
@media (max-width: 540px) {
  .cspa .cspa-review-flow .cspa-panel { padding: 16px; }
  .cspa .cspa-review-flow .cspa-review { padding: 14px; }
  .cspa .cspa-review-flow .cspa-form-actions .cspa-btn { width: 100%; }
  .cspa .cspa-review-flow .cspa-rate { gap: 3px; }
  .cspa .cspa-review-flow .cspa-rate label { width: 44px; height: 44px; }
}
/* Keep the visually hidden native radios keyboard-focusable without covering their labels. */
.cspa .cspa-review-flow .cspa-rate input { clip: rect(0, 0, 0, 0); clip-path: inset(50%); pointer-events: none; }
.cspa .cspa-review-flow .cspa-rate { scroll-margin-top: 110px; scroll-margin-bottom: 100px; }
