/* Specialists catalog, 7 Oct (Claude). One search bar of six fields (caption above the value),
   lists open as a floating panel with choice chips; price, sort and the result count share one row */
:root {--cat-green:#1E4D41;--cat-muted:#626B65;--cat-line:#E4DED3;--cat-paper:#FBF9F5;--cat-hover:#F1EDE5;
  --cat-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E4D41' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");}

html body.an-interior #content .specialist-browser{display:block!important}
html body.an-interior #content #local-specialist-filters{display:flex!important;flex-direction:column;gap:14px;position:relative;width:100%;margin:0 0 40px;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important}

/* ---- the bar ---- */
html body.an-interior #content .catalog-bar{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));padding:6px;border:1px solid var(--cat-line);border-radius:30px;background:var(--cat-paper);box-shadow:0 10px 30px rgba(30,77,65,.06)}
html body.an-interior #content .catalog-field{position:relative;min-width:0;min-height:64px;margin:0!important;padding:0!important;border:0!important;border-radius:24px!important;background:none!important;box-shadow:none!important;transition:background .2s ease}
/* thin dividers between fields, hidden around the hovered or open one */
html body.an-interior #content .catalog-field+.catalog-field::before{content:"";position:absolute;left:0;top:16px;bottom:16px;width:1px;background:var(--cat-line);transition:opacity .2s ease}
html body.an-interior #content .catalog-field:is(:hover,[open],:focus-within){background:var(--cat-hover)!important}
html body.an-interior #content .catalog-field:is(:hover,[open],:focus-within)::before,
html body.an-interior #content .catalog-field:is(:hover,[open],:focus-within)+.catalog-field::before{opacity:0}
html body.an-interior #content .catalog-cap{display:block;font:500 12px/1.3 'Golos Text',Arial,sans-serif!important;letter-spacing:0!important;text-transform:none!important;color:var(--cat-muted)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body.an-interior #content .catalog-val{display:block;font:500 15px/1.35 'Golos Text',Arial,sans-serif!important;color:var(--cat-green)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* select fields: the select covers the whole field, the caption sits on top of it */
html body.an-interior #content .catalog-field--select{display:block!important;cursor:pointer}
html body.an-interior #content .catalog-field--select .catalog-cap{position:absolute;left:20px;right:40px;top:13px;pointer-events:none;z-index:1}
html body.an-interior #content .catalog-field--select select{position:absolute;inset:0;width:100%!important;height:100%!important;min-height:0!important;margin:0!important;padding:31px 40px 11px 20px!important;border:0!important;border-radius:24px!important;background:transparent var(--cat-chevron) no-repeat right 18px center/14px!important;box-shadow:none!important;outline:none;-webkit-appearance:none;appearance:none;font:500 15px/1.35 'Golos Text',Arial,sans-serif!important;color:var(--cat-green)!important;cursor:pointer;text-overflow:ellipsis}
html body.an-interior #content .catalog-field--select select:focus-visible{box-shadow:inset 0 0 0 2px var(--cat-green)!important}

/* list fields */
html body.an-interior #content .catalog-field--facet>summary{position:relative;display:flex!important;flex-direction:column;justify-content:center;gap:3px;margin:0!important;padding:11px 40px 11px 20px!important;border:0!important;border-radius:24px;background:none!important;list-style:none;cursor:pointer;}
html body.an-interior #content .catalog-field--facet>summary::-webkit-details-marker{display:none}
html body.an-interior #content .catalog-field--facet>summary::before{display:none!important}
html body.an-interior #content .catalog-field--facet>summary::after{content:""!important;position:absolute;right:18px;top:50%;width:14px;height:14px;margin-top:-7px;background:var(--cat-chevron) no-repeat center/14px;transition:transform .2s ease}
html body.an-interior #content .catalog-field--facet[open]>summary::after{transform:rotate(180deg)}
html body.an-interior #content .catalog-field--facet>summary:focus-visible{outline:2px solid var(--cat-green);outline-offset:-2px}
html body.an-interior #content .catalog-field.is-chosen .catalog-val,
html body.an-interior #content .catalog-field--select.is-chosen select{font-weight:600!important}

/* the floating list */
html body.an-interior #content .catalog-field--facet>.filter-dropdown__panel{position:absolute!important;z-index:30;top:calc(100% + 10px);left:0;right:auto;display:flex!important;flex-direction:column;gap:6px;width:min(420px,calc(100vw - 32px))!important;max-height:min(480px,62vh);overflow:auto;margin:0!important;padding:10px!important;border:1px solid var(--cat-line)!important;border-radius:22px!important;background:#fff!important;box-shadow:0 24px 60px rgba(20,30,25,.16)!important;overscroll-behavior:contain}
html body.an-interior #content .catalog-field--facet:last-child>.filter-dropdown__panel{left:auto;right:0}
html body.an-interior #content .facet-tree{display:flex!important;flex-direction:column;gap:2px;margin:0!important;padding:0!important;border:0!important;background:none!important}
html body.an-interior #content .facet-tree__group{margin:0!important;padding:0!important;border:0!important;border-radius:14px;background:none!important;box-shadow:none!important}
html body.an-interior #content .facet-tree__group>summary{display:flex!important;align-items:center;justify-content:space-between;gap:12px;min-height:0!important;height:auto!important;margin:0!important;padding:10px 12px!important;border:0!important;border-radius:14px;background:none!important;list-style:none;cursor:pointer;font:500 14px/1.35 'Golos Text',Arial,sans-serif!important;letter-spacing:0!important;color:var(--cat-green)!important}
html body.an-interior #content .facet-tree__group>summary::-webkit-details-marker{display:none}
html body.an-interior #content .facet-tree__group>summary::before,html body.an-interior #content .facet-tree__group>summary::after{display:none!important}
html body.an-interior #content .facet-tree__group>summary:hover{background:#F6F3EC!important}
html body.an-interior #content .facet-tree__group>summary i{flex:none;font:300 20px/1 'Golos Text',Arial,sans-serif!important;font-style:normal!important;color:var(--cat-muted);transition:transform .2s ease}
html body.an-interior #content .facet-tree__group[open]>summary i{transform:rotate(45deg)}
html body.an-interior #content .facet-checks{display:flex!important;flex-wrap:wrap;gap:6px;margin:0!important;padding:2px 12px 12px!important;border:0!important;background:none!important}
html body.an-interior #content .facet-checks label{position:relative;display:inline-flex!important;margin:0!important;padding:0!important;border:0!important;background:none!important;cursor:pointer}
html body.an-interior #content .facet-checks input{position:absolute;width:1px;height:1px;margin:0;opacity:0;pointer-events:none}
html body.an-interior #content .facet-checks label span{display:inline-block;padding:7px 13px;border:1px solid #DCE2DA;border-radius:999px;background:var(--cat-paper);font:400 13px/1.3 'Golos Text',Arial,sans-serif!important;color:var(--cat-green);transition:background .15s ease,border-color .15s ease,color .15s ease}
html body.an-interior #content .facet-checks label:hover span{border-color:var(--cat-green)}

html body.an-interior #content .facet-checks input:focus-visible+span{outline:2px solid var(--cat-green);outline-offset:2px}
html body.an-interior #content .filter-dropdown__ok{position:sticky;bottom:0;flex:none;height:46px!important;margin-top:4px!important;border:0!important;border-radius:999px!important;background:var(--cat-green)!important;color:#fff!important;font:600 15px/1 'Golos Text',Arial,sans-serif!important;cursor:pointer;box-shadow:0 -8px 16px #fff;}

/* ---- price, sort, result count ---- */
html body.an-interior #content .catalog-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
html body.an-interior #content .catalog-price,html body.an-interior #content .catalog-sort{display:flex!important;align-items:center;gap:8px;min-width:0;height:52px;margin:0!important;padding:6px 6px 6px 20px!important;border:1px solid var(--cat-line)!important;border-radius:999px!important;background:var(--cat-paper)!important}
html body.an-interior #content .catalog-price{padding-right:16px!important}
html body.an-interior #content .catalog-row__cap{font:500 14px/1 'Golos Text',Arial,sans-serif!important;color:var(--cat-muted)!important;white-space:nowrap}
html body.an-interior #content .catalog-dash{color:var(--cat-muted)}
html body.an-interior #content .catalog-price label{display:block;margin:0!important}
html body.an-interior #content .catalog-price input{width:96px!important;height:38px!important;min-height:0!important;margin:0!important;padding:0 14px!important;border:1px solid var(--cat-line)!important;border-radius:999px!important;background:#fff!important;box-shadow:none!important;font:500 15px/1 'Golos Text',Arial,sans-serif!important;color:var(--cat-green)!important;-moz-appearance:textfield;appearance:textfield}
html body.an-interior #content .catalog-price input::-webkit-outer-spin-button,html body.an-interior #content .catalog-price input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
html body.an-interior #content .catalog-price input::placeholder{color:var(--cat-muted);opacity:1}
html body.an-interior #content .catalog-sort select{width:auto!important;height:38px!important;min-height:0!important;margin:0!important;padding:0 38px 0 14px!important;border:1px solid var(--cat-line)!important;border-radius:999px!important;background:#fff var(--cat-chevron) no-repeat right 14px center/12px!important;box-shadow:none!important;-webkit-appearance:none;appearance:none;font:500 15px/1 'Golos Text',Arial,sans-serif!important;color:var(--cat-green)!important;cursor:pointer}
html body.an-interior #content :is(.catalog-price input,.catalog-sort select):focus-visible{outline:2px solid var(--cat-green)!important;outline-offset:2px}
html body.an-interior #content #local-specialist-filters .filter-status{display:flex!important;align-items:center;gap:18px;margin:0 0 0 auto!important;padding:0!important;border:0!important;background:none!important}
html body.an-interior #content #local-specialist-filters .filter-status :is(p,output,span,strong){margin:0!important;font:500 15px/1 'Golos Text',Arial,sans-serif!important;color:var(--cat-green)!important}
html body.an-interior #content #local-specialist-filters .filter-status :is(button,a){height:auto!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;font:500 15px/1 'Golos Text',Arial,sans-serif!important;color:var(--cat-muted)!important;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
html body.an-interior #content #local-specialist-filters .filter-status :is(button,a):hover{color:var(--cat-green)!important}

/* ---- results grid (kept from the previous pass) ---- */
html body.an-interior #content .specialist-results{width:100%;min-width:0}
html body.an-interior #content .specialist-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:32px 24px}
html body.an-interior #content .specialist-card[hidden],html body.an-interior #content .catalog-error[hidden]{display:none!important}
.catalog-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.catalog-error{margin:0!important;color:#a3432d;font:500 14px/1.4 'Golos Text',Arial,sans-serif}

/* ---- narrower screens: fields become separate tiles ---- */
@media(max-width:1180px){
 html body.an-interior #content .catalog-bar{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
 html body.an-interior #content .catalog-field{border:1px solid var(--cat-line)!important;border-radius:20px!important;background:var(--cat-paper)!important}
 html body.an-interior #content .catalog-field+.catalog-field::before{display:none}
 html body.an-interior #content .catalog-field--facet:nth-child(3n)>.filter-dropdown__panel{left:auto;right:0}
}
@media(max-width:1100px){html body.an-interior #content .specialist-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){
 html body.an-interior #content .catalog-bar{grid-template-columns:1fr 1fr}
 html body.an-interior #content .catalog-field--select .catalog-cap{left:16px;right:34px}
 html body.an-interior #content .catalog-field--select select{padding:31px 34px 11px 16px!important;background-position:right 14px center!important}
 html body.an-interior #content .catalog-field--facet>summary{padding:11px 34px 11px 16px!important}
 html body.an-interior #content .catalog-field--facet>summary::after{right:14px}
 /* on phones the list opens as a sheet at the bottom of the screen */
 html body.an-interior #content .catalog-field--facet>.filter-dropdown__panel{position:fixed!important;left:12px!important;right:12px!important;top:auto;bottom:12px;width:auto!important;max-height:72vh;border-radius:24px!important;box-shadow:0 -10px 60px rgba(20,30,25,.28)!important}
 html body.an-interior #content .catalog-row{flex-direction:column;align-items:stretch}
 html body.an-interior #content :is(.catalog-price,.catalog-sort){justify-content:space-between}
 html body.an-interior #content .catalog-price input{width:100%!important}
 html body.an-interior #content .catalog-price label{flex:1}
 html body.an-interior #content .catalog-sort select{flex:1;max-width:230px}
 html body.an-interior #content #local-specialist-filters .filter-status{justify-content:space-between;margin:4px 0 0!important}
 html body.an-interior #content .specialist-grid{grid-template-columns:1fr!important}
}
@media(prefers-reduced-motion:reduce){html body.an-interior #content :is(.catalog-field,.catalog-field--facet>summary::after,.facet-tree__group>summary i,.facet-checks label span){transition:none!important}}

/* the site gives list headers their own height and centring, and paints checked chips pale green */
html body.an-interior #content .catalog-field--facet>summary{height:64px!important;min-height:0!important;align-items:flex-start!important;text-align:left!important;box-sizing:border-box}
html body.an-interior #content .facet-checks input:checked+span{border-color:var(--cat-green)!important;background:var(--cat-green)!important;color:#fff!important}
html body.an-interior #content .facet-checks input+span::before,html body.an-interior #content .facet-checks input+span::after{display:none!important}
html body.an-interior #content .filter-dropdown__ok{width:auto!important;align-self:stretch;margin:4px 0 0!important;box-sizing:border-box}
@media(max-width:760px){
 /* the sheet dims the page; a tap on the dimmed page closes it (catalog.js) */
 html body.an-interior #content .catalog-field--facet[open]::before{content:""!important;display:block!important;position:fixed;inset:0;z-index:29;width:auto;background:rgba(10,18,15,.38);opacity:1!important}
}
