.ps-catalog {
  --ps-edge: var(--line, #d9d4c9);
  --ps-dim: #5d5d56;
  --ps-accent: #765934;
  --ps-img-bg: #e9e4d9;
  color: var(--ink, #20221f);
  padding: clamp(1.2rem, 3vw, 2.6rem) 0 clamp(3.5rem, 7vw, 6.5rem);
}
.ps-catalog *, .ps-catalog *::before { box-sizing: border-box; }
.ps-inner { width: min(1230px, calc(100% - 48px)); margin: 0 auto; }
.ps-breadcrumbs { margin-bottom: clamp(1.25rem, 3vw, 2.75rem); font-size: .88rem; }
.ps-breadcrumbs ol { margin: 0; padding: 0; display: flex; align-items: baseline; flex-wrap: wrap; list-style: none; gap: .25rem .6rem; color: var(--ps-dim); }
.ps-breadcrumbs li:not(:first-child)::before { content: "/"; display: inline-block; padding-right: .6rem; color: #8f8b80; }
.ps-breadcrumbs a { color: inherit; text-decoration: none; padding-block: .32rem; }
.ps-breadcrumbs a:hover { text-decoration: underline; text-underline-offset: .2rem; }
.ps-title { max-width: 22ch; margin: 0 0 clamp(1.6rem, 4vw, 3.4rem); font-size: clamp(2.35rem, 5.2vw, 4.8rem); font-weight: 560; letter-spacing: -.055em; line-height: 1.03; overflow-wrap: anywhere; text-wrap: balance; }
.ps-intro { margin: -1rem 0 2rem; color: var(--ps-dim); max-width: 58ch; }
.ps-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.75rem, 4vw, 3.5rem) clamp(1rem, 2.5vw, 2rem); }
.ps-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; min-width: 0; }
.ps-card-photo, .ps-stage { overflow: hidden; background: var(--ps-img-bg); border-radius: 15px; }
.ps-card-photo { aspect-ratio: 1.55; display: grid; place-items: center; }
.ps-card-photo img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.ps-card-body { padding: 1.25rem .1rem .3rem; }
.ps-card-body h2 { margin: 0 0 .6rem; font-size: clamp(1.55rem, 2.5vw, 2.45rem); line-height: 1.12; font-weight: 560; letter-spacing: -.04em; }
.ps-card-body p, .ps-desc, .ps-intro { line-height: 1.63; }
.ps-card-body p { max-width: 55ch; color: var(--ps-dim); margin: 0 0 .85rem; }
.ps-card-open { display: inline-block; font-size: .95rem; font-weight: 650; border-bottom: 1px solid var(--ps-accent); color: var(--ps-accent); }
.ps-card:hover .ps-card-open { color: var(--ink); border-color: var(--ink); }
.ps-card-grid.ps-single { display: block; }
.ps-single .ps-card { display: grid; align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem); grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.ps-product-layout { display: grid; align-items: start; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(1.65rem, 4.5vw, 4.4rem); }
.ps-figure { margin: 0; }
.ps-stage { display: grid; place-items: center; aspect-ratio: 1.36; }
.ps-stage img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.ps-caption { margin: .5rem 0 0; color: var(--ps-dim); font-size: .9rem; line-height: 1.35; }
.ps-product-info { min-width: 0; padding-top: .05rem; }
.ps-desc { font-size: clamp(1.03rem, 1.45vw, 1.24rem); color: #3e403a; max-width: 54ch; margin: 0 0 1.5rem; }
.ps-details-heading, .ps-choices legend { font-size: 1rem; font-weight: 650; letter-spacing: .005em; line-height: 1.4; margin: 0; }
.ps-specs { margin: .6rem 0 0; }
.ps-specs > div { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.3fr); gap: .75rem; padding: .8rem 0; border-top: 1px solid var(--ps-edge); }
.ps-specs dt, .ps-specs dd { margin: 0; overflow-wrap: anywhere; }
.ps-specs dt { color: var(--ps-dim); }
.ps-inquiry { border-top: 1px solid var(--ps-edge); margin-top: 1.5rem; padding-top: 1.25rem; }
.ps-inquiry p { color: var(--ps-dim); margin: 0 0 1rem; }
.ps-contact { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .7rem 1.35rem; border-radius: 999px; color: #fffdf7; background: #282b26; font-size: .99rem; font-weight: 600; text-decoration: none; text-align: center; }
.ps-contact:hover { background: #3a493d; }
.ps-choices { min-width: 0; margin: 1.15rem 0 0; border: 0; padding: 0; }
.ps-choices legend { padding: 0; margin-bottom: .45rem; }
.ps-thumb-row { display: grid; align-items: start; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }
.ps-thumb { display: grid; align-content: start; width: 100%; min-height: 44px; padding: .28rem; text-align: left; color: #373a34; background: transparent; font: inherit; cursor: pointer; border: 1px solid transparent; border-radius: 10px; }
.ps-thumb img { width: 100%; aspect-ratio: 1.55; object-fit: contain; background: var(--ps-img-bg); border-radius: 6px; }
.ps-thumb span { display: block; padding: .35rem .12rem .15rem; font-size: .88rem; line-height: 1.3; overflow-wrap: anywhere; }
.ps-thumb[aria-pressed="true"] { border-color: var(--ps-accent); background: #f0e9da; }
.ps-thumb:hover { background: #ede8de; }
.ps-catalog :focus-visible { outline: 2px solid var(--ps-accent); outline-offset: 3px; }
body.view-mobile .ps-inner { width: min(680px, calc(100% - 28px)); }
body.view-mobile .ps-product-layout, body.view-mobile .ps-card-grid, body.view-mobile .ps-single .ps-card { grid-template-columns: minmax(0, 1fr); }
body.view-mobile .ps-single .ps-card { display: flex; align-items: stretch; gap: 0; }
@media (max-width: 780px) {
  body:not(.view-desktop) .ps-inner { width: min(680px, calc(100% - 28px)); }
  body:not(.view-desktop) .ps-product-layout, body:not(.view-desktop) .ps-card-grid { grid-template-columns: minmax(0, 1fr); }
  body:not(.view-desktop) .ps-single .ps-card { display: flex; align-items: stretch; gap: 0; }
}
@media (max-width: 410px) {
  .ps-thumb-row { gap: .15rem; }
  .ps-thumb { padding: .18rem; }
}
