/* CT-04: scoped to the three catalog templates; no checkout/archive styles. */
.ct04-facets{margin:18px 0 24px;border:1px solid #ddd;border-radius:10px;background:#fafafa;color:#222}
.ct04-facets summary{padding:14px 16px;min-height:48px;cursor:pointer;font-size:17px;font-weight:700;list-style-position:inside}
.ct04-facets[open] summary{border-bottom:1px solid #ddd}
.ct04-facets-form{padding:16px}
.ct04-facet-fields{display:flex;flex-wrap:wrap;gap:16px}
.ct04-facet-fields label{display:block;flex:1 1 220px;font-weight:600;min-width:0}
.ct04-facet-fields select{margin-top:7px;width:100%;min-height:44px;font-size:16px;background:#fff;color:#222}
.ct04-facet-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.ct04-facet-actions button,.ct04-facet-actions a{min-height:44px;display:inline-flex;align-items:center;padding:10px 16px}
.ct04-facet-actions a{color:#984300;text-decoration:underline}
.ct04-facet-note,.ct04-search-help{font-size:14px;line-height:1.5;color:#555;margin:10px 0 14px}
.ct04-gallery-help{font-size:14px;line-height:1.5;color:#555;margin:10px 4px;text-align:center}
#product-product [role=button]:focus-visible,.ct04-facets :focus-visible{outline:3px solid #f58220;outline-offset:3px}
#product-product .product-stats li{line-height:1.6;overflow-wrap:anywhere}
#product-product .product-sku span{font-weight:700;user-select:all}
#product-product .table td{line-height:1.5;overflow-wrap:anywhere}
html.route-product-product .lg-container .lg-prev,html.route-product-product .lg-container .lg-next,html.route-product-product .lg-container .lg-close{width:44px!important;height:44px!important;min-width:44px;min-height:44px;font:36px/40px Arial!important;text-align:center;color:#fff;background:rgba(0,0,0,.5);border-radius:6px}
html.route-product-product .lg-container .lg-prev::before,html.route-product-product .lg-container .lg-prev::after,html.route-product-product .lg-container .lg-next::before,html.route-product-product .lg-container .lg-next::after,html.route-product-product .lg-container .lg-close::before,html.route-product-product .lg-container .lg-close::after{content:none!important}
@media(max-width:767px){
 html.route-product-product .page-title,html.route-product-search .page-title,html.route-product-category .page-title{font-size:24px!important;line-height:1.25!important;margin-top:12px!important;margin-bottom:16px!important;overflow-wrap:anywhere}
 html.route-product-product .breadcrumbs,html.route-product-search .breadcrumbs,html.route-product-category .breadcrumbs{font-size:12px!important;line-height:1.5!important;padding-top:8px!important;padding-bottom:8px!important}
 #product-product .product-left-wrapper{position:static!important}
 #product-product .product-image .main-image img{object-fit:contain;max-width:100%}
 #product-product .additional-image{min-width:52px;min-height:52px;cursor:pointer}
 #product-product .product-info .product-stats{font-size:16px}
 #product-product .product-blocks{font-size:16px;line-height:1.6}
 #product-product .product-blocks .nav-tabs{display:flex;flex-wrap:wrap}
 #product-product .product-blocks .nav-tabs a{padding:12px 10px;min-height:44px;font-size:16px}
 #product-product .product-blocks .table{width:100%;table-layout:fixed;font-size:16px}
 #product-product .product-blocks .table td{padding:10px 8px;white-space:normal}
 #product-product .product-blocks .table td:first-child{width:49%}
 #product-search .search-form .inputs{display:flex;flex-direction:column;gap:10px}
 #product-search .search-form .inputs>*{width:100%;min-height:44px;font-size:16px}
 #product-search .checkbox label{line-height:1.5;min-height:40px;padding-top:9px}
 #product-search .products-filter .select-group,#product-category .products-filter .select-group{flex-wrap:wrap;gap:8px;max-width:100%}
 #product-search .products-filter select,#product-category .products-filter select{min-height:44px;font-size:16px;max-width:100%}
 .ct04-facet-fields{display:block}.ct04-facet-fields label{margin-bottom:12px}
 .ct04-facet-actions{display:flex}.ct04-facet-actions button{width:100%;justify-content:center}
 html.route-product-product .mobile-wrapper-header .x,html.route-product-search .mobile-wrapper-header .x,html.route-product-category .mobile-wrapper-header .x{min-width:44px;min-height:44px}
}
