/* Category landing pages only: bounded images and aligned product cards. */
body.bc-category-page:not(.bc-product-results-page) .hero-section { display:none; }
body.bc-category-page #main { border-top:2px solid #e0e9f6; }
.bc-category-intro { display:grid; grid-template-columns:minmax(0,1fr); gap:28px; padding:30px; margin:0 0 26px; background:#eef4fd; border:1px solid #d4e0f0; border-left:4px solid #1765f5; border-radius:14px; }
.bc-category-intro.has-image { grid-template-columns:minmax(0,1fr) minmax(220px,320px); align-items:center; }
.bc-category-path { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-bottom:16px; font-size:13px; line-height:1.5; color:#617891; }
.bc-category-path a { color:#37618f; text-decoration:none; }
.bc-category-intro h1 { margin:0 0 18px; color:#173656; font-size:clamp(28px,3vw,38px); font-weight:650; line-height:1.2; letter-spacing:-.02em; overflow-wrap:anywhere; }
.bc-category-description { max-width:78ch; color:#3e5570; font-size:16px; line-height:1.8; }
.bc-category-description p { margin:0 0 12px; }
.bc-category-request { display:inline-block; margin-top:12px; color:#1556bd; font-size:15px; font-weight:600; }
.bc-category-image img { display:block; width:100%; height:220px; object-fit:contain; border-radius:10px; background:#fff; }
body.bc-category-page ul.products:has(>li.type-product) { display:grid !important; grid-template-columns:repeat(3,minmax(0,1fr)) !important; gap:22px !important; align-items:stretch; }
body.bc-category-page ul.products > li.type-product { display:flex !important; flex-direction:column; align-items:stretch; gap:0; width:auto !important; min-width:0; padding:20px !important; margin:0 !important; border:1px solid #d7e2ef; border-radius:13px; background:#fff; box-shadow:0 5px 15px rgba(22,54,88,.035); text-align:left !important; }
body.bc-category-page ul.products > li.type-product > figure { margin:0 0 18px !important; width:100%; }
body.bc-category-page ul.products > li.type-product > figure .ct-media-container { display:flex !important; align-items:center; justify-content:center; width:100%; height:150px !important; aspect-ratio:auto !important; background:#f8fafd; border-radius:8px; overflow:hidden; }
body.bc-category-page ul.products > li.type-product > figure img { position:static !important; width:100% !important; height:150px !important; max-height:150px !important; padding:10px; aspect-ratio:auto !important; object-fit:contain !important; object-position:center; }
body.bc-category-page ul.products > li.type-product .woocommerce-loop-product__title { margin:0 0 12px !important; padding:0 !important; color:#183c64; font-size:18px !important; line-height:1.45; text-align:left !important; }
body.bc-category-page ul.products > li.type-product .entry-meta { margin:0 0 16px; padding:0; font-size:12px; line-height:1.5; text-align:left; }
body.bc-category-page ul.products > li.type-product .ct-woo-card-actions { position:static !important; margin-top:auto !important; padding-top:8px; opacity:1 !important; visibility:visible !important; transform:none !important; }
body.bc-category-page ul.products > li.type-product .ct-woo-card-actions .button { display:flex; justify-content:center; width:100%; min-height:44px; padding:11px 16px; border-radius:8px; font-size:15px; line-height:1.5; text-transform:none; letter-spacing:0; }
.bc-category-extra { margin-top:36px; padding:28px; border:1px solid #d6e2f0; border-radius:13px; background:#f3f7fd; clear:both; }
.bc-category-extra > h2 { margin:0 0 22px; font-size:25px; line-height:1.3; color:#183c64; }
.bc-category-recommendations, .bc-category-articles { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.bc-category-recommendations a, .bc-category-articles a { display:flex; flex-direction:column; gap:12px; padding:18px; border:1px solid #d6e2f0; border-radius:10px; background:#fff; color:#183c64; font-size:16px; line-height:1.5; text-decoration:none; }
.bc-category-recommendations img { width:100%; height:120px; object-fit:contain; }
.bc-category-recommendations span, .bc-category-articles span { margin-top:auto; color:#1556bd; font-size:14px; }
.bc-category-extra a:hover { border-color:#1765f5; background:#edf4ff; }
body.bc-category-page :is(.bc-category-intro,.bc-category-extra,ul.products) a:focus-visible { outline:3px solid #1765f5; outline-offset:3px; }
@media(max-width:900px) { body.bc-category-page ul.products:has(>li.type-product) { grid-template-columns:repeat(2,minmax(0,1fr)) !important; } .bc-category-recommendations,.bc-category-articles { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .bc-category-intro,.bc-category-intro.has-image { grid-template-columns:minmax(0,1fr); padding:20px; gap:20px; } .bc-category-image img { height:180px; } .bc-category-extra { padding:20px; } .bc-category-recommendations,.bc-category-articles { grid-template-columns:minmax(0,1fr); } }
@media(max-width:480px) { body.bc-category-page ul.products:has(>li.type-product) { grid-template-columns:minmax(0,1fr) !important; } body.bc-category-page ul.products > li.type-product > figure .ct-media-container,body.bc-category-page ul.products > li.type-product > figure img { height:125px !important; } }
