/* The listing layout is separate from the project detail and guide styles. */
.ready-catalog {
  --ready-ink:#261633;
  --ready-muted:#544b5d;
  --ready-line:#ded6e7;
  --ready-action:#7514bb;
  --ready-wash:#f4edfa;
  --focus:#7514bb;
  color:var(--ready-ink);
}
.guide-page .ready-catalog .project-head { margin-bottom:32px; }
.guide-page .ready-catalog .project-head > .lead { margin:7px 0 0; color:var(--ready-muted); }
.ready-catalog .crumb { margin-bottom:20px; }
.ready-browser { display:grid; grid-template-columns:minmax(230px, 27%) minmax(0, 1fr); align-items:start; gap:clamp(18px, 2vw, 30px); }
.ready-sidebar,.ready-gallery { min-width:0; }
.ready-catalog .ready-filter {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:14px;
  padding:clamp(15px, 1.7vw, 25px);
  border:0;
  border-radius:18px;
  background:var(--ready-wash);
}
.guide-page main .ready-filter > h2 { font-size:clamp(1.16rem,1.7vw,1.5rem); line-height:1.2; }
.ready-room-diagram {width:100%;max-width:280px;margin:0 auto}
.ready-room-diagram img {display:block;width:100%;height:auto;border-radius:10px}
.ready-room-diagram figcaption {margin-top:4px;text-align:center;color:#604969;font-size:.75rem;font-weight:650}
.ready-dimensions,.ready-filter .ready-facet-fields { display:grid; grid-template-columns:minmax(0,1fr); gap:14px; }
.ready-catalog .ready-filter label { color:var(--ready-ink); }
.ready-catalog :is(input,select),.ready-sort select { accent-color:var(--ready-action); }
.ready-catalog .ready-filter input[type="checkbox"],.ready-catalog .ready-check input { accent-color:var(--ready-action); }
.ready-catalog .ready-filter :is(select,input:not([type="checkbox"])),.ready-catalog .ready-plan select,.ready-sort select {
  min-width:0;
  min-height:44px;
  border:1px solid #aca0b6;
  border-radius:8px;
  padding:8px 10px;
  background:#fff;
  color:var(--ready-ink);
  font:inherit;
  font-size:16px;
}
.ready-catalog .ready-filter .ready-rotate { min-height:36px; }
.ready-filter-help { border-top:1px solid var(--ready-line); }
.ready-catalog :is(.ready-facets,.ready-filter-help,.ready-quote) summary {
  cursor:pointer;
  padding-block:10px;
  min-height:44px;
  font-weight:620;
  font-size:.9rem;
}
.ready-catalog .ready-filter :is(#ready-fit,#ready-budget) { margin:0 0 8px; }
.ready-catalog .ready-actions button { color:var(--ready-ink); background:#fff; border-color:#aca0b6; }
.ready-catalog .ready-actions button:not([type="reset"]),
.ready-catalog .ready-pagination :is(a,button)[aria-current] { color:#fff; background:var(--ready-action); border-color:var(--ready-action); }
.ready-catalog .ready-filter .ready-actions { display:grid; }
.ready-catalog .ready-filter .ready-actions button[type="reset"] { background:transparent; }
.ready-results-bar { display:flex; gap:10px 18px; flex-wrap:wrap; align-items:center; justify-content:space-between; }
.ready-sort { display:flex; align-items:center; flex-wrap:wrap; min-width:0; gap:8px; color:var(--ready-muted); font-size:.86rem; }
.ready-sort select { max-width:100%; font-weight:570; }
.ready-catalog #ready-result { margin:5px 0; min-height:0; color:var(--ready-muted); font-size:.88rem; }
.ready-catalog .ready-quote { margin:0 0 12px; padding:0; border:0; background:none; }
.ready-catalog .ready-quote summary { min-height:36px; padding-block:7px; width:max-content; max-width:100%; color:var(--ready-action); }
.ready-catalog .ready-quote details[open] { margin:5px 0; }
.ready-catalog .ready-quote details p { padding:0 10px 6px; max-width:76ch; }
.ready-catalog .ready-quote [data-ready-price-notice] { padding:8px 10px; background:#fff4e8; border-radius:8px; }
.ready-catalog .ready-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(13px, 1.8vw, 24px); }
.ready-catalog .ready-card { display:flex; flex-direction:column; border-radius:17px; }
.ready-catalog .ready-plan-link { position:relative; display:block; padding:0; flex:none; background:#f6f1ed; }
.ready-catalog .ready-plan-link img { aspect-ratio:520 / 360; object-fit:cover; object-position:center; }
.ready-stickers {position:absolute;inset:auto 9px 10px;display:flex;flex-wrap:wrap;gap:5px;pointer-events:none}
.ready-stickers > span {
  padding:4px 8px;border:1px solid #ffffff90;border-radius:20px;background:#fff;color:#462259;
  font-size:.72rem;font-weight:700;line-height:1.2;box-shadow:0 2px 8px #2a143028
}
.ready-stickers > span:first-child {background:#4c2365;color:#fff}
.ready-catalog .ready-plan-details { flex:1; display:flex; flex-direction:column; padding:clamp(12px, 1.55vw, 21px); }
.ready-catalog .ready-plan-meta { display:grid; grid-template-columns:clamp(52px,6vw,86px) minmax(0,1fr); gap:clamp(9px,1.3vw,18px); align-items:center; margin-bottom:8px; }
.ready-catalog img.ready-plan-icon { width:100%; height:auto; aspect-ratio:85 / 48; object-fit:contain; }
.guide-page main.ready-catalog .ready-plan h3 { margin:0 0 4px; font-size:clamp(1.04rem,1.55vw,1.4rem); text-wrap:initial; }
.guide-page main.ready-catalog .ready-plan-meta p { margin:0; }
.ready-catalog .ready-plan strong { margin-top:auto; color:var(--ready-ink); font-size:clamp(1.05rem,1.95vw,1.78rem); line-height:1.2; }
.ready-catalog .ready-plan :is(.ready-plan-controls,label) { margin-top:9px; }
.ready-catalog .ready-plan .ready-edit {
  display:grid;
  place-items:center;
  height:auto;
  padding:8px 12px;
  min-height:44px;
  margin:12px 0 3px;
  border:1px solid var(--ready-action);
  border-radius:8px;
  color:var(--ready-action);
  background:#fff;
  text-align:center;
  font-weight:670;
  font-size:.92rem;
  line-height:1.25;
}
.ready-catalog .ready-plan .ready-edit:hover { color:#fff; background:var(--ready-action); }
.ready-catalog .ready-plan-controls .ready-check { margin-top:0; }
.ready-catalog :is(#ready-results-title,#ready-compare-title) { scroll-margin-top:24px; }
.ready-catalog :is(#ready-results-title,#ready-compare-title):focus { outline-color:var(--ready-action); }
.ready-catalog .ready-compare { background:#f9f5fc; }
.ready-catalog #ready-compare-title { scroll-margin-top:calc(var(--ready-header-height,0px) + 18px); }
.ready-compare-shortcut {
  position:fixed;right:max(15px,env(safe-area-inset-right));bottom:max(15px,env(safe-area-inset-bottom));z-index:6;
  display:flex;min-height:48px;align-items:center;justify-content:center;padding:8px 16px;border:1px solid #5b1481;
  border-radius:12px;background:#71169f;color:#fff;font:inherit;font-weight:750;box-shadow:0 6px 20px #30183e33;cursor:pointer;
}
.ready-compare-shortcut[hidden] { display:none; }
.ready-compare-shortcut:focus-visible { outline:2px solid #71169f;outline-offset:3px; }
body:has(.ready-compare-shortcut:not([hidden])) { padding-bottom:calc(70px + env(safe-area-inset-bottom)); }
@media(max-width:460px) {
  .ready-compare-shortcut { left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right)); }
}
.ready-filter-toggle { display:none; }
.ready-foot { background:#fff; }
.ready-foot .atelier-brand { display:inline-flex; align-items:center; gap:9px; min-height:44px; color:#2b1b35; font-weight:790; font-size:clamp(1.12rem,1.7vw,1.48rem); letter-spacing:-.045em; text-decoration:none; }
.ready-foot .atelier-brand img { display:block; flex:none; }
@media(max-width:760px) {
  .ready-browser { grid-template-columns:minmax(0,1fr); gap:20px; }
  .guide-page .ready-catalog .project-head { margin-bottom:20px; }
  .ready-catalog .crumb { margin-bottom:14px; }
  .ready-catalog .ready-filter:not(.ready-filter-open) { display:none; }
  .ready-catalog .ready-filter { margin-top:8px; padding:16px; }
  .ready-catalog .ready-filter > h2 { display:none; }
  .ready-room-diagram {max-width:194px}
  .ready-dimensions,.ready-filter .ready-facet-fields { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .ready-catalog .ready-filter .ready-actions { display:flex; }
  .ready-filter-toggle { display:flex; align-items:center; gap:8px; padding:10px 14px; width:100%; min-height:48px; border:1px solid #d9c6ea; border-radius:10px; background:var(--ready-wash); color:var(--ready-ink); font:inherit; font-weight:660; text-align:left; cursor:pointer; }
  .ready-filter-toggle::after { content:""; width:8px; height:8px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:rotate(45deg); margin:-4px 2px 0 auto; }
  .ready-filter-toggle[aria-expanded="true"]::after { transform:rotate(225deg); margin-top:3px; }
  .ready-filter-toggle span:not(:empty) { display:grid; place-items:center; min-width:23px; height:23px; border-radius:20px; background:var(--ready-action); color:#fff; font-size:.8rem; }
}
@media(max-width:540px) {
  .ready-catalog .ready-grid { grid-template-columns:minmax(0,1fr); }
  .ready-catalog .ready-filter label { font-size:.86rem; }
  .ready-catalog .ready-sort span { position:absolute; clip-path:inset(50%); width:1px; height:1px; overflow:hidden; white-space:nowrap; }
  .ready-catalog .ready-sort select { font-size:16px; }
  .ready-catalog .ready-plan-meta { grid-template-columns:66px minmax(0,1fr); gap:13px; }
  .ready-catalog .ready-plan strong { font-size:1.3rem; }
}

@media(min-width:761px){
  .ready-catalog .ready-sidebar {position:sticky;top:88px}
  .ready-catalog .ready-filter {max-height:calc(100dvh - 110px);overflow:auto;scrollbar-width:thin;scrollbar-color:#ceb9db transparent}
}
.ready-catalog .ready-plan {box-shadow:var(--site-shadow)}
.ready-catalog .ready-plan-link {overflow:hidden}
.ready-catalog .ready-plan-link > img {display:block;width:100%}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  .ready-catalog .ready-plan {transition:transform 200ms ease-out,box-shadow 200ms ease-out}
  .ready-catalog .ready-plan-link > img {transition:transform 300ms ease-out}
  .ready-catalog .ready-plan:hover {transform:translateY(-3px);box-shadow:var(--site-shadow-raised)}
  .ready-catalog .ready-plan:hover .ready-plan-link > img {transform:scale(1.045)}
}
.ready-catalog .ready-plan:focus-within {border-color:#ac76c8;box-shadow:var(--site-shadow-raised)}
.ready-page-note {
  margin:8px 0 18px;padding:clamp(17px,3vw,32px);border:1px solid #e5d6ec;border-radius:15px;background:#fbf7fd
}
.guide-page .ready-page-note h2 {margin:0 0 9px;font-size:clamp(1.25rem,2.3vw,1.8rem);text-wrap:pretty}
.ready-page-note p {max-width:68ch}
.ready-page-note a {display:inline-flex;align-items:center;min-height:44px;color:#65198e;font-weight:670}
.ready-other-variants {margin-bottom:22px}
.ready-other-variants > summary {min-height:44px;cursor:pointer;color:#5b246e;font-weight:650}
.ready-other-variants ul {padding-inline-start:22px}
.ready-guides-heading {padding:0 0 20px;border-left:4px solid #862bc0;padding-inline-start:16px}
.guide-page .ready-guides-heading h2 {margin:0;color:#351649;letter-spacing:-.025em}
.ready-guides-heading p {margin:7px 0 0;color:#584760}
.ready-catalog .ready-topics {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;columns:auto;margin:18px 0 0
}
.ready-catalog .ready-topics li {margin:0}
.ready-catalog .ready-topics a {
  display:grid;grid-template-columns:60px minmax(0,1fr);align-items:center;gap:9px;height:100%;
  min-height:58px;padding:5px;border:1px solid #e6ddea;border-radius:10px;color:#382342;
  text-decoration:none;font-size:.86rem;font-weight:650;line-height:1.25
}
.ready-catalog .ready-topics a:is(:hover,:focus-visible) {border-color:#aa73c3;background:#fcf7ff;color:#69148c}
.ready-topics img {width:60px;height:45px;object-fit:cover;border-radius:6px}
@media(max-width:830px){.ready-catalog .ready-topics {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:490px){.ready-catalog .ready-topics {grid-template-columns:minmax(0,1fr)}}

.ready-measure-scene {position:relative}
.ready-measure-axis {
  position:absolute;height:2px;background:#7726a6;color:#7726a6;
  box-shadow:0 0 0 1px #ffffffb0;transform-origin:left center;pointer-events:none
}
.ready-measure-axis::before,.ready-measure-axis::after {
  content:"";position:absolute;top:-2px;width:5px;height:5px;border:solid currentColor;border-width:0 0 2px 2px
}
.ready-measure-axis::before {left:0;transform:rotate(45deg)}
.ready-measure-axis::after {right:0;transform:rotate(225deg)}
.ready-measure-width {left:14%;top:69%;width:56%;transform:rotate(17deg)}
.ready-measure-depth {left:66%;top:94%;width:23%;transform:rotate(-44deg)}

@media(max-width:760px){
  .ready-catalog .ready-sidebar:not(:has(.ready-filter-open)) {position:sticky;top:var(--ready-header-height,100px);z-index:4;background:#fff}
}

.ready-catalog .ready-reset-results {
  min-height:44px;padding:0 5px;margin:0 0 2px;border:0;border-radius:7px;background:none;
  color:#65198e;font:700 .86rem/1.2 var(--studio-font,system-ui,sans-serif);
  text-decoration:underline;text-underline-offset:3px;cursor:pointer
}
