.yx-catalog.yx-section { padding-top: 28px; padding-bottom: 56px; }
.yx-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; color: var(--yx-copy); font-size: 14px; }
.yx-crumbs a { color: var(--yx-copy); text-underline-offset: 3px; }
.yx-site-main .yx-catalog h1 { font-size: 34px; line-height: 1.2; overflow-wrap: anywhere; }
.yx-catalog-intro { max-width: 820px; margin-bottom: 26px; }
.yx-catalog-intro p { max-width: 72ch; }
.yx-catalog-tools { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 24px; padding: 20px 0; border-top: 1px solid var(--yx-line); border-bottom: 1px solid var(--yx-line); }
.yx-catalog-tools label { display: grid; gap: 8px; font-size: 14px; font-weight: 600; }
.yx-catalog-tools input, .yx-catalog-tools select { width: 100%; min-width: 0; min-height: 46px; padding: 10px 12px; border: 1px solid #88998f; border-radius: 4px; background: white; color: var(--yx-ink); font: inherit; font-weight: 400; }
.yx-catalog-tools input::placeholder { color: #626c66; }
.yx-catalog-count { font-size: 14px; min-height: 22px; color: var(--yx-copy); }
.yx-color-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 24px; }
.yx-color-card { min-width: 0; }
.yx-color-card[hidden], .yx-catalog [hidden] { display: none !important; }
.yx-color-card a { display: block; color: var(--yx-ink); text-decoration: none; }
.yx-color-card img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #f5f5f4; }
.yx-color-card a > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 12px; }
.yx-site-main .yx-color-card h2 { font-size: 18px; line-height: 1.35; margin: 0; overflow-wrap: anywhere; }
.yx-color-card span { white-space: nowrap; font-size: 14px; color: var(--yx-copy); font-variant-numeric: tabular-nums; }
.yx-color-card a:hover h2 { color: var(--yx-green); text-decoration: underline; text-underline-offset: 4px; }
.yx-catalog-pagination { display: flex; justify-content: center; gap: 20px; align-items: center; margin-top: 36px; }
.yx-catalog-pagination button, .yx-photo-dialog button { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #88998f; border-radius: 4px; background: white; cursor: pointer; }
.yx-catalog-pagination button:disabled { opacity: .35; cursor: default; }
.yx-catalog-pagination span { min-width: 90px; text-align: center; font-variant-numeric: tabular-nums; }
.yx-catalog :is(a, input, select, button):focus-visible { outline: 3px solid var(--yx-green); outline-offset: 3px; }
.yx-card-detail { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); grid-template-areas: "gallery heading" "gallery info"; grid-template-rows: auto 1fr; gap: 24px 48px; align-items: start; }
.yx-card-detail > [data-yx-gallery] { grid-area: gallery; min-width: 0; }
.yx-card-heading { grid-area: heading; min-width: 0; }
.yx-card-info { grid-area: info; min-width: 0; }
.yx-card-heading h1 { margin: 0 0 10px; }
.yx-card-heading > p { margin: 0 0 18px; color: var(--yx-copy); }
.yx-card-main-photo { display: block; aspect-ratio: 1; cursor: zoom-in; }
.yx-card-main-photo > img { display: block; width: 100%; height: 100%; object-fit: contain; background: #f5f5f4; }
.yx-card-thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.yx-card-thumbs.yx-has-video { grid-template-columns: repeat(7, minmax(44px, 1fr)); overflow-x: auto; padding-bottom: 3px; }
.yx-card-thumbs a { display: block; aspect-ratio: 1; border: 2px solid transparent; border-radius: 2px; }
.yx-card-thumbs a[aria-current=true] { border-color: var(--yx-green); }
.yx-card-thumbs img { display: block; width: 100%; height: 100%; object-fit: contain; }
.yx-card-thumbs [data-yx-video] { position: relative; background: #f5f5f4; }
.yx-video-play-icon { position: absolute; inset: 0; display: grid; place-items: center; }
.yx-card-thumbs .yx-video-play-icon img { width: 28px; height: 28px; padding: 4px; border: 1px solid #88998f; border-radius: 4px; background: white; }
.yx-card-video { position: relative; aspect-ratio: 1; background: #f5f5f4; }
.yx-card-video video { display: block; width: 100%; height: 100%; object-fit: contain; }
.yx-site-main .yx-video-error { position: absolute; inset: auto 12px 56px; margin: 0; padding: 12px; color: var(--yx-ink); background: white; border: 1px solid var(--yx-line); font-size: 14px; }
.yx-site-main .yx-card-photo-note { font-size: 13px; line-height: 1.6; color: var(--yx-copy); margin-top: 14px; }
.yx-card-info > p { color: var(--yx-copy); }
.yx-card-info dl { margin: 0 0 24px; border-top: 1px solid var(--yx-line); }
.yx-card-info dl > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--yx-line); font-size: 15px; line-height: 1.55; }
.yx-card-info dt { font-weight: 600; }
.yx-card-info dd { margin: 0; color: var(--yx-copy); }
.yx-card-inquiry { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.yx-card-inquiry > a { min-height: 44px; display: inline-flex; align-items: center; }
.yx-card-notes { max-width: 850px; margin-top: 42px; }
.yx-card-notes p { max-width: 72ch; }
.yx-card-related { margin-top: 46px; border-top: 1px solid var(--yx-line); padding-top: 30px; }
.yx-photo-dialog { max-width: min(92vw, 1400px); max-height: 94dvh; border: 0; border-radius: 4px; padding: 12px; background: white; }
.yx-photo-dialog::backdrop { background: rgba(0,0,0,.72); }
.yx-photo-dialog form { display: flex; justify-content: flex-end; margin-bottom: 8px; }
.yx-photo-dialog > img { display: block; max-width: 100%; max-height: calc(90dvh - 76px); height: auto; width: auto; object-fit: contain; }
@media (max-width: 1000px) { .yx-color-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .yx-card-detail { gap: 28px; } }
@media (max-width: 780px) {
  .yx-card-detail { grid-template-columns: minmax(0, 1fr); grid-template-areas: "heading" "gallery" "info"; grid-template-rows: auto; gap: 20px; }
  .yx-card-heading > p { margin-bottom: 12px; font-size: 14px; }
  .yx-card-info dl { margin: 0 0 10px; }
  .yx-site-main .yx-catalog h1 { font-size: 28px; }
  .yx-card-info dl > div { grid-template-columns: 120px minmax(0, 1fr); }
}
@media (max-width: 640px) { .yx-color-grid { grid-template-columns: minmax(0, 1fr); } .yx-catalog-tools { grid-template-columns: minmax(0, 1fr); gap: 14px; } .yx-card-thumbs { gap: 5px; } .yx-crumbs { margin-bottom: 22px; } }
