.catalog-page, .product-detail { padding-top: 48px; padding-bottom: 64px; min-height: 60vh; }
.catalog-page h1 { color: var(--blue); text-align: center; margin-bottom: 16px; }
.catalog-intro { text-align: center; color: var(--muted); }
.catalog-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 24px; border: 1px solid var(--line); background: #f7f9fc; }
.catalog-form label { display: block; font-weight: 500; margin-bottom: 8px; }
.catalog-form input, .catalog-form select { width: 100%; min-width: 0; padding: 9px 10px; border: 1px solid #bdc8d2; background: white; color: var(--ink); border-radius: 3px; }
.catalog-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; }
.alphabet-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin: 30px 0 20px; }
.alphabet-filter a { border: 1px solid var(--line); display: grid; place-items: center; width: 32px; height: 34px; }
.alphabet-filter [aria-current] { background: var(--blue); border-color: var(--blue); color: white; }
.catalog-count { color: var(--muted); margin: 24px 0; }
.catalog-grid .product-card { border: 1px solid var(--line); padding: 12px; }
.catalog-grid .product-caption { min-height: 85px; }
.catalog-grid .product-caption h3 { font-size: 18px; }
.product-caption, .product-detail, .catalog-form, .facility-gallery { overflow-wrap: anywhere; }
.catalog-empty { padding: 60px 20px; text-align: center; background: #f7f9fc; }
.catalog-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 36px; }
.catalog-pagination .page-numbers { display: inline-block; border: 1px solid var(--line); padding: 7px 13px; }
.catalog-pagination .current { color: white; background: var(--blue); border-color: var(--blue); }
.search-panel-body .catalog-form { display: block; border: 0; padding: 0; background: white; }
.search-panel-body .catalog-form > div { margin-bottom: 18px; }
.search-panel-body .catalog-actions { display: flex; align-items: center; gap: 15px; }
.search-panel-body .catalog-actions .button { margin-top: 0; width: auto; }
.breadcrumbs { font-size: 14px; margin-bottom: 32px; color: var(--muted); }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.detail-image img { width: 100%; aspect-ratio: 1.25; object-fit: contain; }
.product-detail h1 { color: var(--blue-dark); margin-bottom: 24px; }
.product-facts { margin: 0 0 30px; }
.product-facts dt { margin-top: 18px; font-weight: 600; }
.product-facts dd { margin: 7px 0 0; }
.product-facts dd a { display: inline-block; margin-right: 12px; margin-bottom: 6px; }
.product-provenance, .source-note { font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 20px; margin-top: 28px; }
.company-page { line-height: 1.8; }
.company-page h1 { color: var(--blue-dark); }
.company-page h2 { font-size: 25px; color: var(--blue-dark); margin-top: 30px; }
.company-page table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.company-page td, .company-page th { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.company-page th { background: #eff5fc; }
.company-page .news-grid { padding: 0; gap: 24px; }
.company-page .news-content h2 { font-size: 18px; margin-top: 0; }
.facility-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 30px; }
.facility-gallery figure { margin: 0; }
.facility-gallery button { display: block; width: 100%; padding: 0; border: 0; background: #f3f6fa; }
.facility-gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.facility-gallery figcaption { font-size: 13px; margin-top: 6px; }
.gallery-dialog { width: min(1100px, 96vw); background: white; padding: 16px; }
.gallery-dialog .dialog-close { display: block; margin-left: auto; }
.gallery-viewport { overflow: auto; max-height: 70dvh; text-align: center; }
.gallery-viewport img { max-height: 65dvh; width: auto; max-width: 100%; }
.gallery-caption { margin: 12px 0 0; text-align: center; font-size: 14px; }
.gallery-dialog.is-panorama .gallery-viewport { text-align: left; touch-action: pan-y; cursor: grab; }
.gallery-dialog.is-panorama .gallery-viewport img { max-width: none; height: min(400px, 55dvh); max-height: none; width: auto; pointer-events: none; user-select: none; }
.panorama-help { font-size: 13px; color: var(--muted); }
.story-panel { padding-top: 16px; padding-bottom: 16px; }
.story-copy { line-height: 1.5; }
.story-copy p:last-child { margin-bottom: 0; }
.products-section .section-heading { padding-bottom: 48px; }
.site-footer { margin-top: 24px; }
@media (max-width: 991px) { .catalog-form { grid-template-columns: repeat(2, minmax(0, 1fr)); } .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .product-detail-grid { gap: 24px; } }
@media (max-width: 767px) {
    .catalog-page, .product-detail { padding-top: 32px; }
    .catalog-page h1, .product-detail h1 { font-size: 32px; }
    .catalog-form { grid-template-columns: 1fr; padding: 18px; }
    .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
    .catalog-grid .product-caption h3 { font-size: 15px; }
    .product-detail-grid { grid-template-columns: 1fr; }
    .product-detail .related-products .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .facility-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
    .company-page .news-grid { grid-template-columns: 1fr; }
    .company-page table { font-size: 13px; }
    .company-page td, .company-page th { padding: 8px 6px; overflow-wrap: anywhere; }
}
