/* LOCAL twelve-category banner lot. Activated only by the guarded template marker. */
body#category:has(.br-universe-panorama) #inner-wrapper #main{padding:0!important;--br-universe-inset:32px}
body#category #main>.br-universe-panorama{display:block;margin:0;width:100%;border-radius:11px 11px 0 0;overflow:hidden}
body#category #main>.br-universe-panorama>img{display:block;width:100%;max-width:100%;height:auto;max-height:none;object-fit:contain}
body#category:has(.br-universe-panorama) #main>.br-category-location{margin:20px var(--br-universe-inset) 10px;font-size:12px}
body#category:has(.br-universe-panorama) #main>#js-product-list-header{padding:0 var(--br-universe-inset)}
body#category:has(.br-universe-panorama) #js-product-list-header .page-title{display:block;text-align:left;margin:0 0 12px;padding:0;border:0;font-size:clamp(32px,4vw,48px);line-height:1.15;color:#2d5a43}
body#category:has(.br-universe-panorama) #js-product-list-header .page-title span{padding:0}
body#category:has(.br-universe-panorama) #js-product-list-header .page-title:before,
body#category:has(.br-universe-panorama) #js-product-list-header .page-title:after,
body#category:has(.br-universe-panorama) #js-product-list-header .page-title span:before,
body#category:has(.br-universe-panorama) #js-product-list-header .page-title span:after{display:none}
body#category:has(.br-universe-panorama) #main>#products{padding:0 var(--br-universe-inset) var(--br-universe-inset)}
body#category:has(.br-universe-panorama) #main>.category-description,
body#category:has(.br-universe-panorama) #main>.category-image{margin-left:var(--br-universe-inset);margin-right:var(--br-universe-inset)}
body#category:has(.br-universe-panorama) #main>.category-image:empty{display:none}
@media(max-width:767px){body#category:has(.br-universe-panorama) #inner-wrapper #main{--br-universe-inset:14px}body#category:has(.br-universe-panorama) #main>.br-category-location{margin-top:14px;margin-bottom:8px}}

/* Coffee children only: same landscape as Cafés, existing CMS text stays intact. */
body#category:is(.category-id-6,.category-id-7):has(.br-universe-panorama){--br-category-scene:url('/themes/brulea-child/assets/img/cafeiers-ciel-bleu-v1.png');--br-shop-scene:url('/themes/brulea-child/assets/img/cafeiers-ciel-bleu-v1.png')}
body#category:is(.category-id-6,.category-id-7):has(.br-universe-panorama) #main>#js-product-list-header{display:block!important;visibility:visible!important}
body#category:is(.category-id-6,.category-id-7):has(.br-universe-panorama) #main>#js-product-list-header .page-title{display:block!important;visibility:visible!important;text-align:left}
body#category.category-id-6:has(.br-universe-panorama) .elementor-image:has(>img[src$='/img/cms/cafe-bresil-tabuoes-moulu-brulea.jpg']),
body#category.category-id-7:has(.br-universe-panorama) .elementor-image:has(>img[src$='/img/cms/bandeau-cafe-grains.jpg']){display:none!important}
/* Remove spacing that belonged to the legacy coffee-grain image montage. */
body#category.category-id-7:has(.br-universe-panorama) .elementor-element-pg150od{display:none!important}
body#category.category-id-7:has(.br-universe-panorama) .elementor-element-edm4o3y>.elementor-widget-container{margin:0!important;background:transparent!important;padding:0!important}
body#category.category-id-7:has(.br-universe-panorama) #main>.elementor{padding:0 17px}

/* LOCAL sommaires: the full panorama introduces the existing coffee content. */
body#category.category-id-3:has(.br-universe-panorama) #main>.br-universe-panorama{width:calc(100% - clamp(32px,16vw,320px));max-width:1180px;margin:0 auto}
body#category.category-id-3:has(.br-universe-panorama) .br-cafe-category{min-height:0;padding:0}
body#category.category-id-3:has(.br-universe-panorama) .br-cafe-category-copy{width:calc(100% - clamp(32px,16vw,320px));max-width:1180px;padding:24px 32px;border-radius:0}
@media(max-width:600px){body#category.category-id-3:has(.br-universe-panorama) .br-cafe-category-copy{padding:20px 18px}}
/* Hide only the former tea image; keep any Elementor text or future content. */
body#category.category-id-4:has(.br-universe-panorama) #main>.elementor{order:0}
body#category.category-id-4:has(.br-universe-panorama) .elementor-element-06f0ax3:has(img[src$='/img/cms/bandeau-the.jpg']){display:none!important}

/* Finitions LOCAL: rendre le choix grains/moulu visible plus tôt. */
body#category.category-id-3:has(.br-universe-panorama) #main>.br-universe-panorama{width:calc(100% - 64px);max-width:1240px}
body#category.category-id-3 #main>.br-universe-panorama>img{height:180px;object-fit:cover;object-position:center 52%}
body#category.category-id-3:has(.br-universe-panorama) .br-cafe-category{min-height:0!important;padding:0!important}
body#category.category-id-3:has(.br-universe-panorama) .br-cafe-category-copy{width:100%;max-width:850px;padding:16px 24px 10px}
body#category.category-id-3 .br-cafe-category h1{font-size:clamp(34px,3.5vw,48px);margin-bottom:10px}
body#category.category-id-3 .br-cafe-kicker{margin-bottom:8px}
body#category.category-id-3 .br-cafe-choices{padding:12px 0}
body#category.category-id-3 .br-cafe-choices a{min-height:76px;gap:6px}
body#category.category-id-3 .br-cafe-catalogue-heading{padding-top:22px}
@media(max-width:767px){body#category.category-id-3 #main>.br-universe-panorama>img{height:125px}body#category.category-id-3:has(.br-universe-panorama) #main>.br-universe-panorama{width:calc(100% - 24px)}body#category.category-id-3 .br-cafe-choices a{min-height:66px}body#category.category-id-3 .br-cafe-category-copy>p:not(.br-cafe-kicker){font-size:14px;margin-bottom:8px}}
