/* BBL brand language: green #76b828, green dark #6eab27, gray #959a93, light gray #e3e3e3, Roboto. */
.bbl-modul-wrap{--bbl-green:#76b828;--bbl-deep:#6eab27;--bbl-mid:#959a93;--bbl-light:#e3e3e3;max-width:1240px;margin:0 auto;padding:30px 18px 72px;font-family:Roboto,sans-serif;color:#000;font-size:16px;line-height:1.65}
.bbl-modul-wrap *{box-sizing:border-box}
.bbl-modul-wrap .bbl-eyebrow{font-size:12px;letter-spacing:.09em;text-transform:uppercase;font-weight:700;color:#4f8318}
.bbl-modul-wrap .bbl-hero{padding:24px 0 34px;border-bottom:5px solid var(--bbl-green)}
.bbl-modul-wrap .bbl-hero h1,.bbl-modul-wrap .bbl-detail-info h1{font:700 clamp(30px,4.5vw,51px)/1.18 Roboto,sans-serif;letter-spacing:-.025em;color:#000;margin:8px 0 16px}
.bbl-modul-wrap .bbl-hero p{max-width:830px;margin:0;font-size:clamp(16px,1.8vw,19px)}
.bbl-modul-wrap .bbl-tools{padding:28px 0 26px}
.bbl-modul-wrap .bbl-tools label{font-weight:700;display:block;margin:0 0 7px}
.bbl-modul-wrap .bbl-searchrow{display:flex;gap:12px;max-width:760px;align-items:stretch}
.bbl-modul-wrap .bbl-search{appearance:none;width:100%;min-width:0;border:2px solid var(--bbl-mid);border-radius:8px;padding:13px 16px;color:#000;background:#fff;font:inherit;font-size:16px;line-height:1.5}
.bbl-modul-wrap .bbl-search:focus{outline:3px solid var(--bbl-green);outline-offset:1px;border-color:#000}
.bbl-modul-wrap .bbl-clear{background:#fff;border:1px solid #959a93;border-radius:8px;color:#000;cursor:pointer;font:600 15px Roboto,sans-serif;padding:11px 15px}
.bbl-modul-wrap [hidden]{display:none!important}
.bbl-modul-wrap .bbl-search-result{color:#444;font-size:14px;margin-top:10px}
.bbl-modul-wrap .bbl-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.bbl-modul-wrap .bbl-product{display:flex;flex-direction:column;min-width:0;border:1px solid var(--bbl-light);border-radius:12px;overflow:hidden;background:#fff;transition:border-color .2s,transform .2s}
.bbl-modul-wrap .bbl-product:hover{border-color:var(--bbl-green);transform:translateY(-2px)}
.bbl-modul-wrap .bbl-picture{height:247px;background:#fff;border-bottom:1px solid var(--bbl-light);padding:18px;display:grid;place-items:center;overflow:hidden}
.bbl-modul-wrap .bbl-picture img{display:block;max-width:100%;width:100%;height:100%;max-height:100%;object-fit:contain;border:0}
.bbl-modul-wrap .bbl-modul-noimage{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;width:100%;height:100%;border-radius:7px;background:var(--bbl-light);color:#555;text-align:center;font-size:13px}
.bbl-modul-wrap .bbl-modul-noimage span:first-child{color:var(--bbl-deep);font-size:32px}
.bbl-modul-wrap .bbl-card-body{flex:1;display:flex;flex-direction:column;padding:20px 20px 22px}
.bbl-modul-wrap .bbl-card-kicker{font-size:12px;font-weight:600;color:#555}
.bbl-modul-wrap .bbl-card-body h2{font:700 clamp(17px,1.7vw,20px)/1.38 Roboto,sans-serif;margin:9px 0 0;color:#000;overflow-wrap:anywhere}
.bbl-modul-wrap .bbl-variant-count{color:#333;font-size:14px;margin:10px 0 27px}
.bbl-modul-wrap .bbl-detail-link{margin-top:auto;background:var(--bbl-green);padding:12px 14px;border-radius:6px;color:#000!important;font:700 15px/1.4 Roboto,sans-serif;display:flex;justify-content:space-between;gap:12px;text-decoration:none!important}
.bbl-modul-wrap .bbl-detail-link:hover{background:var(--bbl-deep)}
.bbl-modul-wrap :is(a,button,input,summary):focus-visible{outline:3px solid var(--bbl-deep);outline-offset:3px}
.bbl-modul-wrap .bbl-empty{padding:36px;border:2px dashed var(--bbl-mid);border-radius:10px;text-align:center}
.bbl-modul-wrap .bbl-smallprint{font-size:12px;color:#555;line-height:1.7;margin-top:28px}
.bbl-modul-wrap .bbl-back{display:inline-block;font-weight:700;color:#000;margin:0 0 26px;text-decoration:none;font-size:15px}
.bbl-modul-wrap .bbl-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);gap:clamp(25px,4vw,55px);align-items:start}
.bbl-modul-wrap .bbl-detail-visual{min-width:0}
.bbl-modul-wrap .bbl-gallery-stage{height:425px;display:flex;align-items:center;justify-content:center;border:1px solid var(--bbl-light);border-radius:12px;overflow:hidden;background:#fff;padding:15px}
.bbl-modul-wrap .bbl-gallery-zoom{display:flex;width:100%;height:100%;align-items:center;justify-content:center}
.bbl-modul-wrap .bbl-gallery-main{display:block;max-height:100%;max-width:100%;object-fit:contain}
.bbl-modul-wrap .bbl-gallery-navigation{display:flex;justify-content:center;gap:26px;align-items:center;margin-top:8px}
.bbl-modul-wrap .bbl-gallery-navigation button{border:1px solid var(--bbl-light);background:#fff;cursor:pointer;width:43px;height:43px;color:#000;font-size:25px;border-radius:6px}
.bbl-modul-wrap .bbl-gallery-position{min-width:50px;text-align:center;color:#333;font-size:14px}
.bbl-modul-wrap .bbl-gallery-thumbs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin-top:9px}
.bbl-modul-wrap .bbl-gallery-thumb{display:flex;justify-content:center;align-items:center;background:#fff;cursor:pointer;min-width:0;aspect-ratio:1;border:1px solid var(--bbl-light);border-radius:5px;padding:4px}
.bbl-modul-wrap .bbl-gallery-thumb.is-active{border:2px solid var(--bbl-green)}
.bbl-modul-wrap .bbl-gallery-thumb img{width:100%;height:100%;object-fit:contain;display:block}
.bbl-modul-wrap .bbl-detail-placeholder{height:370px}
.bbl-modul-wrap .bbl-detail-info h2{font:700 21px/1.35 Roboto,sans-serif;color:#000;margin:30px 0 12px}
.bbl-modul-wrap .bbl-description{white-space:pre-line;line-height:1.72;margin:10px 0 18px}
.bbl-modul-wrap .bbl-sku-list{border-top:1px solid var(--bbl-light)}
.bbl-modul-wrap .bbl-sku-row{border-bottom:1px solid var(--bbl-light);padding:13px 4px}
.bbl-modul-wrap .bbl-sku-header{display:grid;grid-template-columns:110px minmax(0,1fr);gap:13px;align-items:start;font-size:15px}
.bbl-modul-wrap .bbl-sku-code{font-weight:700;color:#000}
.bbl-modul-wrap .bbl-sku-more{margin-top:8px;font-size:14px;color:#333}
.bbl-modul-wrap .bbl-sku-more summary{cursor:pointer;font-weight:600;color:#295306}
.bbl-modul-wrap .bbl-sku-more p{white-space:pre-line;margin:7px 0 0}
.bbl-modul-wrap .bbl-accessories{display:grid;gap:10px}
.bbl-modul-wrap .bbl-accessory{padding:14px;border:1px solid var(--bbl-light);border-left:4px solid var(--bbl-green);border-radius:6px}
.bbl-modul-wrap .bbl-accessory-top{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;font-size:15px}
.bbl-modul-wrap .bbl-accessory-top span{color:#444;white-space:nowrap}
.bbl-modul-wrap .bbl-accessory p{font-size:14px;white-space:pre-line;line-height:1.65;margin:6px 0 0}
@media(max-width:950px){.bbl-modul-wrap .bbl-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bbl-modul-wrap .bbl-picture{height:220px}}
@media(max-width:650px){.bbl-modul-wrap{padding:14px 12px 44px}.bbl-modul-wrap .bbl-hero{padding:14px 0 26px}.bbl-modul-wrap .bbl-tools{padding:22px 0}.bbl-modul-wrap .bbl-grid{grid-template-columns:1fr;gap:14px}.bbl-modul-wrap .bbl-picture{height:240px}.bbl-modul-wrap .bbl-searchrow{flex-direction:column}.bbl-modul-wrap .bbl-detail-grid{grid-template-columns:1fr;gap:25px}.bbl-modul-wrap .bbl-gallery-stage{height:310px}.bbl-modul-wrap .bbl-sku-header{grid-template-columns:95px minmax(0,1fr);gap:8px}.bbl-modul-wrap .bbl-accessory-top{flex-direction:column}}
@media(prefers-reduced-motion:reduce){.bbl-modul-wrap .bbl-product{transition:none}}

/* Bilingual preview selector (does not replace the theme/Polylang language menu). */
.bbl-modul-wrap .bbl-overview-top{display:flex;justify-content:flex-end;margin-bottom:5px}
.bbl-modul-wrap .bbl-detail-top{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:20px}
.bbl-modul-wrap .bbl-detail-top .bbl-back{margin:0}
.bbl-modul-wrap .bbl-languages{display:flex;justify-content:flex-end;gap:5px;align-items:center;font:700 13px/1.4 Roboto,sans-serif}
.bbl-modul-wrap .bbl-languages a,.bbl-modul-wrap .bbl-languages span{display:inline-block;padding:7px 12px;border:1px solid #959a93;border-radius:5px;text-decoration:none;color:#000}
.bbl-modul-wrap .bbl-languages .is-current{border-color:#76b828;background:#76b828}


/* V0.5.2: Keep just the catalog's visible product heading, not the theme's
   duplicate WordPress page title. Scoped to BBL detail pages only; the
   document <title>, the page database title and navigation stay unchanged. */
body.bbl-modul-detail-page :is(
  .entry-title,
  .page-title,
  .elementor-page-title,
  .wp-block-post-title
){display:none!important}
/* Remove an otherwise empty heading-only wrapper to avoid a blank gap.
   Wrappers with additional content (e.g. breadcrumbs) are preserved. */
body.bbl-modul-detail-page header.entry-header:has(> .entry-title):not(:has(> :not(.entry-title))),
body.bbl-modul-detail-page header.page-header:has(> .page-title):not(:has(> :not(.page-title)))
{display:none!important}

/* V0.5.7: resist theme and Elementor button/figure styles on legacy pages.
   Applies only inside the BBL product detail renderer. */
.bbl-modul-wrap.bbl-modul-detail .bbl-detail-grid {
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);
}
.bbl-modul-wrap.bbl-modul-detail .bbl-gallery-navigation {
  display:flex; align-items:center; justify-content:center; gap:26px;
}
.bbl-modul-wrap.bbl-modul-detail .bbl-gallery-navigation button {
  appearance:none; display:inline-flex; align-items:center; justify-content:center;
  flex:0 0 43px; width:43px; height:43px; padding:0; margin:0;
  border:1px solid var(--bbl-light); border-radius:6px; box-shadow:none;
  background:#fff; color:#000; cursor:pointer; font:400 25px/1 Roboto,sans-serif;
}
.bbl-modul-wrap.bbl-modul-detail .bbl-gallery-thumbs {
  display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:7px;
}
.bbl-modul-wrap.bbl-modul-detail .bbl-gallery-thumbs .bbl-gallery-thumb {
  appearance:none; display:flex; width:100%; min-width:0; max-width:100%;
  align-items:center; justify-content:center; margin:0; padding:4px;
  aspect-ratio:1; border:1px solid var(--bbl-light); border-radius:5px;
  box-shadow:none; background:#fff; cursor:pointer;
}
.bbl-modul-wrap.bbl-modul-detail .bbl-gallery-thumbs .bbl-gallery-thumb.is-active {
  border:2px solid var(--bbl-green);
}
.bbl-modul-wrap.bbl-modul-detail .bbl-gallery-thumb img {
  display:block; width:100%; height:100%; max-width:100%; max-height:100%;
  margin:0; object-fit:contain; border:0;
}
.bbl-modul-wrap.bbl-modul-detail .bbl-sku-header {
  display:grid; grid-template-columns:110px minmax(0,1fr); gap:13px;
}
@media(max-width:650px){
  .bbl-modul-wrap.bbl-modul-detail .bbl-detail-grid{grid-template-columns:1fr}
  .bbl-modul-wrap.bbl-modul-detail .bbl-sku-header{grid-template-columns:95px minmax(0,1fr)}
}

/* V0.5.8: critical layout with high specificity for Elementor + legacy theme. */
.bbl-modul-wrap.bbl-modul-detail .bbl-gallery-thumbs {display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:7px!important;width:100%!important}
.bbl-modul-wrap.bbl-modul-detail .bbl-gallery-thumbs > button.bbl-gallery-thumb {display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:auto!important;min-width:0!important;max-width:100%!important;aspect-ratio:1/1!important;padding:4px!important;margin:0!important;overflow:hidden!important;box-shadow:none!important;background:#fff!important;border:1px solid #e3e3e3!important;border-radius:5px!important}
.bbl-modul-wrap.bbl-modul-detail .bbl-gallery-thumbs > button.bbl-gallery-thumb.is-active {border:2px solid #76b828!important}
.bbl-modul-wrap.bbl-modul-detail .bbl-gallery-thumbs > button.bbl-gallery-thumb > img {display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;margin:0!important;padding:0!important;border:0!important}
.bbl-modul-wrap.bbl-modul-detail .bbl-gallery-navigation {display:flex!important;justify-content:center!important;align-items:center!important;gap:26px!important}
.bbl-modul-wrap.bbl-modul-detail .bbl-gallery-navigation > button {appearance:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 43px!important;width:43px!important;height:43px!important;padding:0!important;margin:0!important;border:1px solid #e3e3e3!important;border-radius:6px!important;background:#fff!important;color:#000!important;box-shadow:none!important;font:400 25px/1 Roboto,sans-serif!important}
.bbl-modul-wrap.bbl-modul-detail .bbl-sku-header {display:grid!important;grid-template-columns:110px minmax(0,1fr)!important;gap:13px!important}
@media(max-width:650px){.bbl-modul-wrap.bbl-modul-detail .bbl-sku-header{grid-template-columns:95px minmax(0,1fr)!important}}

/* V0.5.12: complete full-width accessory section AFTER the image/specification grid. */
.bbl-modul-wrap.bbl-modul-detail .bbl-accessory-section{margin:48px 0 10px;padding-top:26px;border-top:1px solid #e3e3e3}
.bbl-modul-wrap.bbl-modul-detail .bbl-accessory-section>h2{font:700 25px/1.35 Roboto,sans-serif;color:#000;margin:0 0 8px}
.bbl-modul-wrap.bbl-modul-detail .bbl-accessory-intro{font-size:15px;color:#444;margin:0 0 19px}
.bbl-modul-wrap.bbl-modul-detail .bbl-accessories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;align-items:stretch}
.bbl-modul-wrap.bbl-modul-detail .bbl-accessory{display:flex;flex-direction:column;min-width:0;padding:20px;border:1px solid #e3e3e3;border-left:4px solid #76b828;border-radius:8px;background:#fff}
.bbl-modul-wrap.bbl-modul-detail .bbl-accessory-top{display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between;align-items:start}
.bbl-modul-wrap.bbl-modul-detail .bbl-accessory-top strong{flex:1;min-width:180px;color:#000}
.bbl-modul-wrap.bbl-modul-detail .bbl-accessory-top span{font-size:13px;white-space:nowrap;color:#4a4a4a}
.bbl-modul-wrap.bbl-modul-detail a.bbl-accessory-link{display:inline-flex;align-items:center;align-self:flex-start;gap:8px;margin-top:auto;padding:15px 0 0;text-decoration:underline;text-underline-offset:4px;color:#366e08!important;font:700 14px/1.45 Roboto,sans-serif}
.bbl-modul-wrap.bbl-modul-detail a.bbl-accessory-link:hover{color:#000!important}
.bbl-modul-wrap.bbl-modul-detail .bbl-accessory-legacy{border-left-color:#959a93}
@media(max-width:700px){.bbl-modul-wrap.bbl-modul-detail .bbl-accessories{grid-template-columns:1fr}.bbl-modul-wrap.bbl-modul-detail .bbl-accessory-section{margin-top:30px;padding-top:20px}}

/* V0.6.1: searchable accessory index below the existing product-family grid. */
.bbl-modul-wrap.bbl-catalog .bbl-filter-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.bbl-modul-wrap.bbl-catalog button.bbl-filter-button{appearance:none;cursor:pointer;background:#fff;border:1px solid #959a93;border-radius:7px;padding:9px 17px;color:#000;font:600 14px/1.35 Roboto,sans-serif;box-shadow:none;margin:0}
.bbl-modul-wrap.bbl-catalog button.bbl-filter-button.is-active{background:#76b828;border-color:#76b828;color:#000}
.bbl-modul-wrap.bbl-catalog button.bbl-filter-button:hover{border-color:#6eab27}
.bbl-modul-wrap.bbl-catalog .bbl-catalog-section-title{font:700 clamp(22px,2.6vw,29px)/1.3 Roboto,sans-serif;color:#000;margin:0 0 20px}
.bbl-modul-wrap.bbl-catalog .bbl-catalog-section-title span{font-size:.7em;color:#595959;font-weight:400}
.bbl-modul-wrap.bbl-catalog .bbl-catalog-main{padding:6px 0 14px}
.bbl-modul-wrap.bbl-catalog .bbl-catalog-accessories{padding-top:34px;margin-top:35px;border-top:2px solid #e3e3e3;scroll-margin-top:110px}
.bbl-modul-wrap.bbl-catalog .bbl-catalog-accessories-head{margin-bottom:19px}
.bbl-modul-wrap.bbl-catalog .bbl-catalog-accessories-head .bbl-catalog-section-title{margin-bottom:7px}
.bbl-modul-wrap.bbl-catalog .bbl-catalog-accessories-head p{color:#444;margin:0;font-size:15px}
.bbl-modul-wrap.bbl-catalog .bbl-accessory-catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.bbl-modul-wrap.bbl-catalog .bbl-accessory-card{display:flex;flex-direction:column;min-width:0;padding:19px;border:1px solid #e3e3e3;border-top:4px solid #76b828;border-radius:9px;background:#fff}
.bbl-modul-wrap.bbl-catalog .bbl-accessory-card-sku{font:600 13px/1.4 Roboto,sans-serif;color:#444}
.bbl-modul-wrap.bbl-catalog .bbl-accessory-card h3{font:700 17px/1.4 Roboto,sans-serif;color:#000;margin:9px 0 11px;overflow-wrap:anywhere}
.bbl-modul-wrap.bbl-catalog .bbl-accessory-card-parent{font:400 14px/1.6 Roboto,sans-serif;color:#444;margin:0 0 16px}
.bbl-modul-wrap.bbl-catalog .bbl-accessory-card-link{font:700 14px/1.45 Roboto,sans-serif;color:#295306!important;text-decoration:underline;text-underline-offset:4px;display:inline-flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto}
.bbl-modul-wrap.bbl-catalog .bbl-accessory-card-link:hover{color:#000!important}
@media(max-width:950px){.bbl-modul-wrap.bbl-catalog .bbl-accessory-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.bbl-modul-wrap.bbl-catalog .bbl-accessory-catalog-grid{grid-template-columns:1fr}.bbl-modul-wrap.bbl-catalog .bbl-catalog-accessories{margin-top:25px;padding-top:25px}}

/* V0.6.2: real accessory product thumbnails and standalone bilingual product detail pages. */
.bbl-modul-wrap.bbl-catalog .bbl-accessory-catalog-picture{display:block;width:100%;aspect-ratio:1.45;object-fit:contain;margin:0 0 16px;background:#fff;border:1px solid #e3e3e3;border-radius:5px}
.bbl-modul-wrap.bbl-modul-detail .bbl-accessory-back-link{display:inline-flex;margin:23px 0 0;text-decoration:underline;text-underline-offset:3px;color:#366e08!important;font:700 15px/1.5 Roboto,sans-serif}
.bbl-modul-wrap.bbl-modul-detail .bbl-accessory-related{margin-top:26px;padding-top:24px;border-top:1px solid #e3e3e3}
.bbl-modul-wrap.bbl-modul-detail .bbl-accessory-related h2{font:700 22px/1.4 Roboto,sans-serif}

.bbl-modul-wrap .bbl-accessory-link-unavailable{display:block;padding-top:12px;font:600 13px/1.4 Roboto,sans-serif;color:#a40063}
