[hidden] { display: none !important; }
body:has(#catalog) { background: #f3f6f4; }
#catalog { background: #f3f6f4; }
#catalog .toolbar { box-shadow: none; border-radius: 8px; }
#catalog .notice { background: transparent; border: 0; padding: 8px 0; font-weight: 400; }
#catalog .gold-button { border-radius: 6px; box-shadow: none; }
.product-body, #catalog .body { display: flex; flex-direction: column; }
.product-grid, #catalog .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.product-card, #catalog .card { border: 1px solid #dfe4e1; border-radius: 8px; box-shadow: none; overflow: hidden; }
.product-body, #catalog .body { padding: 20px; gap: 0; }
.product-body h3, #catalog .body h2 { font-size: 20px; line-height: 1.4; margin: 8px 0; }
.product-body h3 br, #catalog .body h2 br { display: none; }
.product-body h3 span, #catalog .body h2 span { display: block; }
.product-meta, #catalog .meta { font-size: 13px; font-weight: 400; }
.product-condition-note, #catalog .condition-note { margin: 12px 0; font-size: 13px; font-weight: 400; padding: 10px; }
.product-media, #catalog .media { aspect-ratio: 16/10; height: auto; background: #f5f7f6; }
.product-media img, #catalog .media img { width: 100%; height: 100%; object-fit: contain; }
.catalog-image-pending { height: 100%; display: grid; place-content: center; padding: 32px; color: #52625a; font-size: 15px; text-align: center; }
.catalog-price { margin: 0 0 16px; padding: 14px 0 0; border-top: 2px solid #486652; }
.catalog-price-main { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.catalog-price-main > span { color: #35483c; font-size: 13px; font-weight: 600; }
.catalog-price-main strong { font-size: 24px; line-height: 1.3; color: #183b2d; }
.catalog-price-comparison { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: 13px; color: #606a63; }
.catalog-saving { margin: 8px 0 0; font-size: 13px; color: #805d15; font-weight: 700; }
.catalog-price-pending { font-size: 13px; font-weight: 400; line-height: 1.6; margin: 8px 0 0; }
.catalog-reference { margin-top: 16px; padding: 12px 14px; background: #fff8e8; border-left: 3px solid #c2912e; color: #41391f; }
.catalog-price-comparison { flex-wrap: wrap; }
.catalog-price-comparison > span:last-child { white-space: nowrap; }
.catalog-reference > span { display: block; font-size: 15px; font-weight: 700; }
.catalog-reference small { font-size: 12px; font-weight: 400; }
.catalog-reference > strong { display: block; margin-top: 4px; font-size: 27px; line-height: 1.3; color: #3f341c; white-space: nowrap; }
.catalog-reference p { margin: 4px 0 0; }
.product-detail-note, #catalog .detail-note { font-size: 12px; font-weight: 400; line-height: 1.6; margin: 0 0 12px; }
.product-actions, #catalog .action-stack { margin-top: auto; gap: 8px; }
.product-link-direct, #catalog .consult-link { min-height: 48px; font-size: 15px; border-radius: 6px; box-shadow: none; }
.product-link-amazon, #catalog .amazon-sub-link { min-height: 44px; font-size: 13px; }
.product-toolbar, #catalog .toolbar { display: grid; grid-template-columns: minmax(0,1fr) 180px 160px; padding: 16px; gap: 12px; align-items: start; overflow: visible; }
.product-control, #catalog .control { min-width: 0; grid-column: auto; }
.catalog-filters { grid-column: 1 / -1; order: 3; border-top: 1px solid #e0e5e2; }
.catalog-filters > summary { padding: 12px 0 0; min-height: 44px; cursor: pointer; font-size: 14px; font-weight: 600; }
.catalog-filter-fields { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)) 48px; gap: 12px; padding-top: 12px; }
.catalog-filter-fields select { width: 100%; min-height: 44px; }
.product-control-sort, #catalog .control-sort { grid-column: 2 / -1; }
.product-intro { text-align: left; max-width: 820px; margin: 16px 0; font-size: 14px; line-height: 1.8; }
.catalog-explanation { margin: 12px 0 20px; font-size: 14px; max-width: 820px; }
.catalog-explanation summary { cursor: pointer; padding: 10px 0; text-decoration: underline; text-underline-offset: 4px; }
.catalog-explanation p { text-align: left; margin: 8px 0; font-weight: 400; line-height: 1.8; }
.catalog-explanation a { text-decoration: underline; }
.catalog-explanation h2 { font-size: 16px; line-height: 1.6; margin: 0 0 8px; color: inherit; }
.catalog-purchase-note { margin: 0 0 8px; font-size: 12px; font-weight: 400; line-height: 1.7; color: #52625a; }
@media(max-width: 950px) { .product-grid, #catalog .grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width: 640px) {
 body:has(#catalog) .header-inner { gap: 8px; }
 body:has(#catalog) .brand-name { font-size: 21px; }
 body:has(#catalog) .brand-note { font-size: 9px; }
 body:has(#catalog) .brand-mark { width: 27px; height: 30px; }
 body:has(#catalog) .header-actions { flex-shrink: 0; gap: 6px; }
 body:has(#catalog) .header-actions .gold-button { white-space: nowrap; padding: 10px; font-size: 12px; border-radius: 6px; box-shadow: none; }
 .product-grid, #catalog .grid { grid-template-columns: minmax(0,1fr); gap: 20px; }
 .product-body, #catalog .body { padding: 16px; }
 .product-toolbar, #catalog .toolbar { grid-template-columns: minmax(0,1fr) 145px; padding: 12px; gap: 8px; }
 .product-control-search, #catalog .control-search { grid-column: 1 / -1; }
 .product-control-sort, #catalog .control-sort { grid-column: 2; grid-row: 2; }
 .catalog-filters { grid-column: 1; grid-row: 2; border: 0; }
 .catalog-filter-fields { grid-template-columns: minmax(0,1fr); width: 100%; }
 .catalog-filters[open] { grid-column: 1 / -1; grid-row: 3; }
 .catalog-filters[open] .catalog-filter-fields { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
 .catalog-filter-fields .product-control, .catalog-filter-fields .control { grid-column: 1 / -1; }
 .catalog-price-main strong { font-size: 22px; }
 .product-intro { font-size: 14px; }
}
