/*
Theme Name: Be-Pro Home
Theme URI: https://beprohomesolution.hu/
Author: BaraSuite
Description: Be-Pro Home Solution Kft. bemutatkozó oldala: purhab szigetelés, klíma és hőszivattyú, villany és okosotthon, Wekerle+ partner kivitelező Veszprém megyében. A barasuite-alap témára épül, Elementorral kattintásra szerkeszthető.
Version: 0.1.2
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bepro
Tags: e-commerce, custom-colors, custom-menu, custom-logo, featured-images, translation-ready, accessibility-ready
*/

/* Bundled Barlow (SIL OFL 1.1), latin + latin-ext subsets. No external font request by default. */
@font-face{
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/barlow-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face{
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/barlow-400-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF;
}
@font-face{
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/barlow-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face{
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/barlow-500-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF;
}
@font-face{
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/barlow-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face{
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/barlow-600-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF;
}
@font-face{
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/barlow-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face{
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/barlow-700-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF;
}


/* ==========================================================================
   Design tokens
   Neutral fallbacks. inc/shared/design-system.php prints the palette chosen
   in the admin panel after this file, under the same --bpro-* names;
   theme-options.php adds the --bpro-ap-* layout values.
   ========================================================================== */
:root{
  --bpro-primary: #0a6b3d;
  --bpro-primary-dark: #08502e;
  --bpro-primary-tint: #eef9e3;
  --bpro-text: #4a4f4b;
  --bpro-dark: #303030;
  --bpro-bg: #ffffff;
  --bpro-bg-soft: #f4f8f1;
  --bpro-border: #dde8d6;
  --bpro-white: #ffffff;
  /* Logo accents: decorative only (contrast too low for text on white). */
  --bpro-lime: #c4f47c;
  --bpro-emerald: #12b068;
  --bpro-error: #b91c1c;
  --bpro-focus: #0a6b3d;
  --bpro-radius-s: 4px;
  --bpro-radius-m: 8px;
  --bpro-radius-l: var(--bpro-ap-card-radius, 16px);
  --bpro-radius-pill: var(--bpro-ap-radius, 999px);
  --bpro-container: var(--bpro-ap-content-width, 1280px);
  --bpro-pad: 24px;
  --bpro-tap: 44px;
  --font-heading: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
html.bpro-locked{ overflow: hidden; }
body{
  margin: 0;
  font-family: var(--font-body) !important;
  font-weight: 400;
  color: var(--bpro-text) !important;
  background: var(--bpro-bg);
  line-height: 1.6;
  font-size: var(--bpro-font-size, 16px);
  overflow-x: hidden;
}
img,svg,video,iframe{ max-width: 100%; display: block; }
img{ height: auto; }
a{ color: inherit; text-decoration: none; }
.entry-content a, .page-description a, .footer-brand__note a{ color: var(--bpro-primary-dark); text-decoration: underline; text-underline-offset: 3px; }
ul{ list-style: none; margin: 0; padding: 0; }
.entry-content ul{ list-style: disc; padding-left: 1.4em; margin: 0 0 1em; }
.entry-content ol{ padding-left: 1.4em; margin: 0 0 1em; }
/* !important on heading font/weight/colour: the Elementor Kit typography
   (Site Settings > Theme Style) targets the same bare elements and loads
   after this file, so it would silently win otherwise. */
h1,h2,h3,h4{
  font-family: var(--font-heading) !important;
  font-weight: 600 !important;
  color: var(--bpro-dark) !important;
  margin: 0 0 .5em;
  line-height: 1.2;
}
h1{ font-size: clamp(28px, 4vw, 44px); }
h2{ font-size: clamp(24px, 3vw, 34px); }
h3{ font-size: clamp(19px, 2.2vw, 24px); }
p{ margin: 0 0 1em; }

/* Visible focus everywhere (WCAG 2.4.7 / 2.4.11). */
:focus-visible{ outline: 3px solid var(--bpro-focus); outline-offset: 2px; }
.site-main:focus{ outline: none; }

.screen-reader-text{
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus,
.screen-reader-text:focus{
  position: fixed !important;
  top: 16px; left: 16px;
  z-index: 100000;
  width: auto; height: auto;
  clip: auto;
  white-space: normal;
  padding: 12px 18px;
  background: var(--bpro-dark);
  color: #fff;
  border-radius: var(--bpro-radius-s);
}

.container{
  max-width: var(--bpro-container);
  margin: 0 auto;
  padding: 0 var(--bpro-pad);
}
@media (max-width: 480px){
  :root{ --bpro-pad: 16px; }
}

/* padding-top/bottom, not the shorthand: .section always sits on a
   .container and the shorthand would wipe its side padding. */
.section{ padding-top: 56px; padding-bottom: 56px; }
.section--soft{ background: var(--bpro-bg-soft); }
.section-title{ text-align: center; margin-bottom: 32px; }

/* Page settings box: content width and padding overrides. */
.bpro-ap-content-narrow .content-page{ max-width: 680px; }
.bpro-ap-content-full .site-main > .container{ max-width: none; }
.bpro-ap-no-content-padding .site-main > .section{ padding-top: 0; padding-bottom: 0; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--bpro-tap);
  padding: 11px 28px;
  border-radius: var(--bpro-radius-pill);
  background: var(--bpro-primary);
  color: var(--bpro-white);
  font-weight: 600;
  font-size: 15px;
  font-family: var(--font-body);
  border: 1px solid var(--bpro-primary);
  cursor: pointer;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.btn:hover{ background: var(--bpro-primary-dark); border-color: var(--bpro-primary-dark); }
.btn--outline{ background: transparent; color: var(--bpro-dark); border-color: var(--bpro-dark); }
.btn--outline:hover{ background: var(--bpro-dark); color: var(--bpro-white); }
.btn--sm{ padding: 9px 20px; font-size: 14px; }

.pill{
  display: inline-block;
  padding: 4px 14px;
  border-radius: var(--bpro-radius-pill);
  background: var(--bpro-primary-tint);
  color: var(--bpro-primary-dark);
  font-size: 13px;
  font-weight: 600;
}

/* Forms (search form, comments, block widgets). */
input[type="text"], input[type="email"], input[type="search"], input[type="url"],
input[type="tel"], input[type="password"], input[type="number"], select, textarea{
  min-height: var(--bpro-tap);
  border: 1px solid #94a3b8;
  border-radius: var(--bpro-radius-s);
  padding: 10px 14px;
  font: inherit;
  color: var(--bpro-dark);
  background: var(--bpro-white);
  max-width: 100%;
}
.search-form{ display: flex; gap: 8px; flex-wrap: wrap; }
.search-form label{ flex: 1 1 220px; }
.search-form .search-field{ width: 100%; }
.search-form .search-submit, .wp-block-search__button{
  min-height: var(--bpro-tap); padding: 0 20px; border: 1px solid var(--bpro-primary);
  border-radius: var(--bpro-radius-pill); background: var(--bpro-primary); color: #fff; font: inherit; font-weight: 600; cursor: pointer;
}

/* ==========================================================================
   Announcement bar
   ========================================================================== */
.announcement-bar{
  position: relative;
  background: var(--bpro-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 52px;
  letter-spacing: .02em;
}
.announcement-bar[hidden]{ display: none; }
.announcement-bar a{ color: inherit; text-decoration: underline; }
.announcement-bar__text p{ margin: 0; }
.announcement-bar__close{
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: var(--bpro-tap); height: var(--bpro-tap);
  background: none; border: 0; color: inherit; font-size: 22px; line-height: 1; cursor: pointer;
}
.announcement-bar__close[hidden]{ display: none; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header{
  border-bottom: 1px solid var(--bpro-border);
  position: sticky;
  top: 0;
  background: var(--bpro-white);
  z-index: 500;
}
.admin-bar .site-header{ top: 32px; }
@media (max-width: 782px){ .admin-bar .site-header{ top: 0; position: relative; } }
.site-header__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--bpro-ap-header-height, 72px);
  padding: 8px var(--bpro-pad);
  max-width: var(--bpro-container);
  margin: 0 auto;
  position: relative;
}
.site-logo{ flex: none; min-width: 0; }
.site-logo a{ display: inline-flex; align-items: center; min-height: var(--bpro-tap); }
.site-logo img{ height: var(--bpro-ap-logo-height, 40px); width: auto; }
.site-title{ font-family: var(--font-heading); font-weight: 700; font-size: 20px; color: var(--bpro-dark); }

.primary-nav > ul{ display: flex; flex-wrap: wrap; gap: 4px 24px; }
.primary-nav li{ position: relative; }
.primary-nav a{
  display: inline-flex; align-items: center; min-height: var(--bpro-tap);
  font-weight: 600;
  font-size: 15px;
  color: var(--bpro-dark);
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a{ color: var(--bpro-primary-dark); text-decoration: underline; text-underline-offset: 6px; }
/* Desktop dropdown: opens on hover and on keyboard focus. */
.primary-nav .sub-menu{
  display: none;
  position: absolute; left: -16px; top: 100%; z-index: 20;
  min-width: 220px; padding: 8px 16px;
  background: var(--bpro-white); border: 1px solid var(--bpro-border); border-radius: var(--bpro-radius-m);
  box-shadow: 0 12px 28px rgba(15,23,42,.1);
}
.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu{ display: block; }
.primary-nav .sub-menu a{ display: flex; font-weight: 500; }

.header-icons{ display: flex; align-items: center; gap: 2px; flex: none; }
.header-icons a, .header-icons button, .header-icons label{
  background: none;
  border: none;
  cursor: pointer;
  color: var(--bpro-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--bpro-tap);
  min-height: var(--bpro-tap);
  border-radius: var(--bpro-radius-s);
  position: relative;
}
.header-icons a:hover, .header-icons label:hover{ background: var(--bpro-bg-soft); }
.header-icons .bpro-header-cta{ margin-left: 8px; padding: 9px 20px; color: #fff; background: var(--bpro-primary); border-radius: var(--bpro-radius-pill); }
.header-icons .bpro-header-cta:hover{ background: var(--bpro-primary-dark); }
@media (max-width: 768px){ .header-icons .bpro-header-cta{ display: none; } }
/* SVGs inside flex labels need an explicit size, otherwise they collapse to 0. */
.header-icons svg{ width: 20px; height: 20px; flex: none; }
.cart-count{
  position: absolute;
  top: 2px;
  right: 0;
  background: var(--bpro-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Checkbox + label toggles (menu, search, cart). The checkboxes stay
   keyboard-focusable without JS; the visible focus ring goes on their
   label. With JS, effects.js turns the labels into buttons. */
.bpro-toggle{ position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.site-header__inner:has(.bpro-nav-toggle:focus-visible) label.menu-toggle,
.site-header__inner:has(.bpro-search-toggle:focus-visible) .bpro-search-open,
.site-header__inner:has(.bpro-cart-toggle:focus-visible) .bpro-cart-open{ outline: 3px solid var(--bpro-focus); outline-offset: 2px; }
@media (min-width: 769px){ .bpro-nav-toggle{ display: none; } }

/* The hamburger only exists on mobile. The selector must beat ".header-icons label". */
.header-icons label.menu-toggle{ display: none; }
label.menu-toggle svg:last-child{ display: none; }
.bpro-nav-toggle:checked ~ .header-icons label.menu-toggle svg:first-child{ display: none; }
.bpro-nav-toggle:checked ~ .header-icons label.menu-toggle svg:last-child{ display: inline-flex; }

/* Close "x" labels used in the drawers and the search panel. */
.bpro-nav-drawer__close, .bpro-cart-drawer__close, .bpro-search-panel__close{
  display: inline-flex; align-items: center; justify-content: center;
  min-width: var(--bpro-tap); min-height: var(--bpro-tap);
  cursor: pointer; font-size: 26px; line-height: 1; color: var(--bpro-text);
  border-radius: var(--bpro-radius-s);
}

/* ---------- Cart drawer ----------
   Same checkbox pattern as the menu. The checkbox and .bpro-cart-drawer share
   .site-header__inner as parent so the ~ selector works. */
.bpro-cart-open{ cursor: pointer; }
.bpro-cart-drawer{ position: fixed; inset: 0; z-index: 1000; visibility: hidden; }
.bpro-cart-toggle:checked ~ .bpro-cart-drawer{ visibility: visible; }

.bpro-cart-drawer__overlay{
  position: absolute; inset: 0;
  background: rgba(15, 23, 42, .5);
  opacity: 0;
  transition: opacity .25s ease;
  cursor: pointer;
}
.bpro-cart-toggle:checked ~ .bpro-cart-drawer .bpro-cart-drawer__overlay{ opacity: 1; }

.bpro-cart-drawer__panel{
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(420px, 100vw);
  background: var(--bpro-white);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s ease;
  box-shadow: -8px 0 24px rgba(0,0,0,.12);
}
.bpro-cart-toggle:checked ~ .bpro-cart-drawer .bpro-cart-drawer__panel{ transform: translateX(0); }

.bpro-cart-drawer__head{
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px 12px 24px; border-bottom: 1px solid var(--bpro-border);
}
.bpro-cart-drawer__title{ font-size: 18px; margin: 0; }
.bpro-shipping-bar{ padding: 16px 24px; border-bottom: 1px solid var(--bpro-border); }
.bpro-shipping-bar__text{ font-size: 13px; color: var(--bpro-text); margin: 0 0 8px; text-align: center; }
.bpro-shipping-bar__text--done{ color: var(--bpro-primary-dark); font-weight: 600; }
.bpro-shipping-bar__track{ height: 6px; border-radius: 100px; background: var(--bpro-border); overflow: hidden; }
.bpro-shipping-bar__fill{ height: 100%; background: var(--bpro-primary); border-radius: 100px; transition: width .3s ease; }

.bpro-cart-drawer__body{ flex: 1; overflow-y: auto; padding: 20px 24px; }
.bpro-cart-drawer__empty{ color: var(--bpro-text); margin-bottom: 16px; }

.bpro-cart-drawer__items{ display: flex; flex-direction: column; gap: 16px; margin-bottom: 20px; }
.bpro-cart-drawer__item{ display: flex; gap: 12px; }
.bpro-cart-drawer__item-media{ flex: none; width: 64px; height: 64px; border-radius: var(--bpro-radius-s); overflow: hidden; background: var(--bpro-bg-soft); }
.bpro-cart-drawer__item-media img{ width: 100%; height: 100%; object-fit: cover; }
.bpro-cart-drawer__item-body{ display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bpro-cart-drawer__item-name{ font-weight: 600; color: var(--bpro-dark); }
.bpro-cart-drawer__item-qty{ font-size: 13px; color: var(--bpro-text); }
.bpro-cart-drawer__item-remove{
  display: inline-flex; align-items: center; min-height: var(--bpro-tap);
  font-size: 13px; text-decoration: underline; color: var(--bpro-text); align-self: flex-start;
}

.bpro-cart-drawer__subtotal{
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; border-top: 1px solid var(--bpro-border);
  font-size: 16px; margin-bottom: 16px;
}
.bpro-cart-drawer__checkout{ width: 100%; text-align: center; margin-bottom: 4px; }
.bpro-cart-drawer__view{ display: flex; align-items: center; justify-content: center; min-height: var(--bpro-tap); font-size: 14px; text-decoration: underline; color: var(--bpro-text); }

/* ---------- Search panel ----------
   Slides down under the header. Hidden with visibility as well, so the
   collapsed field is not reachable with Tab. */
.bpro-search-open{ cursor: pointer; }
.bpro-search-panel{
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--bpro-white);
  border-bottom: 1px solid var(--bpro-border);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: max-height .25s ease, visibility 0s linear .25s;
}
.bpro-search-toggle:checked ~ .bpro-search-panel{ max-height: 96px; visibility: visible; transition: max-height .25s ease; }
.bpro-search-panel__form{
  display: flex; align-items: center; gap: 8px;
  max-width: var(--bpro-container); margin: 0 auto;
  padding: 16px var(--bpro-pad);
}
.bpro-search-panel__form input[type="search"]{ flex: 1; min-width: 0; font-size: 16px; }
.bpro-search-panel__form button{
  background: none; border: none; cursor: pointer; color: var(--bpro-dark);
  display: inline-flex; align-items: center; justify-content: center;
  min-width: var(--bpro-tap); min-height: var(--bpro-tap);
}

/* ---------- Mobile navigation ----------
   Full-height slide-in panel, same pattern as the cart drawer. */
.bpro-nav-drawer__overlay,
.bpro-nav-drawer__head{ display: none; }

@media (max-width: 768px){
  .bpro-nav-drawer__overlay{
    display: block; position: fixed; inset: 0; z-index: 999;
    background: rgba(15, 23, 42, .5);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .25s ease;
  }
  .bpro-nav-toggle:checked ~ .bpro-nav-drawer__overlay{ opacity: 1; visibility: visible; pointer-events: auto; }

  .site-header__inner .primary-nav{
    position: fixed; top: 0; bottom: 0; left: 0;
    width: min(320px, 85vw);
    background: var(--bpro-white);
    z-index: 1000;
    display: flex; flex-direction: column;
    padding: 0 var(--bpro-pad) 24px;
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform .3s ease, visibility 0s linear .3s;
    box-shadow: 8px 0 24px rgba(0,0,0,.12);
    overflow-y: auto;
  }
  .bpro-nav-toggle:checked ~ .primary-nav{ transform: translateX(0); visibility: visible; transition: transform .3s ease; }

  .bpro-nav-drawer__head{
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 0; margin-bottom: 8px; border-bottom: 1px solid var(--bpro-border);
    font-weight: 700; font-size: 18px; color: var(--bpro-dark);
    position: sticky; top: 0; background: var(--bpro-white);
  }

  .primary-nav > ul{ flex-direction: column; flex-wrap: nowrap; gap: 0; }
  .primary-nav a{ display: flex; padding: 4px 0; }
  .primary-nav .sub-menu{ display: block; position: static; min-width: 0; padding: 0 0 0 16px; border: 0; box-shadow: none; }
  .header-icons label.menu-toggle{ display: inline-flex; }
}

/* ==========================================================================
   Elementor sections built by the setup wizard
   ========================================================================== */

/* !important: the Elementor Container adds 10px side padding to every
   section, which shifts the inner .bpro-row. Side spacing comes from
   .bpro-row only. */
.bpro-sec{ padding: 56px 0 !important; }
.bpro-sec.bpro-sec--soft{ background: var(--bpro-bg-soft); }
/* .bpro-row is the inner container that bpro_el_section() inserts: a centred,
   max-width content strip. !important because Elementor's base CSS loads
   later and zeroes the margins and sets 10px padding on every container. */
.bpro-row{
  max-width: var(--bpro-container) !important;
  margin-left: auto !important; margin-right: auto !important;
  width: 100% !important;
  padding: 0 var(--bpro-pad) !important;
}
/* Column widths via own classes (bpro_el_column()); Elementor's native
   container width setting prints no CSS here. The row gap (32px) is
   subtracted so N columns fit in one row. */
.bpro-w-100{ width: 100% !important; }
.bpro-w-80{ width: calc(80% - 6.4px) !important; }
.bpro-w-75{ width: calc(75% - 8px) !important; }
.bpro-w-66{ width: calc(66.666% - 10.7px) !important; }
.bpro-w-60{ width: calc(60% - 12.8px) !important; }
.bpro-w-50{ width: calc((100% - 32px) / 2) !important; }
.bpro-w-40{ width: calc(40% - 19.2px) !important; }
.bpro-w-33{ width: calc((100% - 64px) / 3) !important; }
.bpro-w-25{ width: calc((100% - 96px) / 4) !important; }
.bpro-w-20{ width: calc((100% - 128px) / 5) !important; }
@media (max-width: 1024px){
  .bpro-w-25, .bpro-w-20{ width: calc((100% - 32px) / 2) !important; }
}
@media (max-width: 900px){
  .bpro-w-100, .bpro-w-80, .bpro-w-75, .bpro-w-66, .bpro-w-60, .bpro-w-50, .bpro-w-40, .bpro-w-33{ width: 100% !important; }
}
@media (max-width: 560px){
  [class*="bpro-w-"]{ width: 100% !important; }
}

.bpro-sec--head .bpro-row{ text-align: center; max-width: 720px; margin: 0 auto 32px; }
.bpro-kicker .elementor-heading-title{
  font-family: var(--font-body) !important; font-weight: 700 !important; text-transform: uppercase !important; letter-spacing: 1.6px !important;
  font-size: 12px !important; color: var(--bpro-primary-dark) !important; margin-bottom: 6px;
}
.bpro-section-title .elementor-heading-title{ margin-bottom: 0; }
.bpro-lead{ color: var(--bpro-text) !important; font-size: 17px; }

/* Buttons: bpro_el_button() always adds .bpro-button. !important because the
   Elementor Kit button style targets every .elementor-button. */
.bpro-button .elementor-button{
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--bpro-tap);
  padding: 11px 28px; border-radius: var(--bpro-radius-pill) !important;
  background: var(--bpro-primary) !important; color: var(--bpro-white) !important;
  font-weight: 600 !important; font-size: 15px; font-family: var(--font-body) !important;
  border: 1px solid var(--bpro-primary) !important; transition: background .15s ease, color .15s ease;
}
.bpro-button .elementor-button:hover{ background: var(--bpro-primary-dark) !important; border-color: var(--bpro-primary-dark) !important; }
.bpro-button--outline .elementor-button{ background: transparent !important; color: var(--bpro-dark) !important; border-color: var(--bpro-dark) !important; }
.bpro-button--outline .elementor-button:hover{ background: var(--bpro-dark) !important; color: var(--bpro-white) !important; }

/* ---------- Hero ----------
   The photo stays in the document flow at full width and fixed height
   (object-fit: cover), the text box floats over it with a dark gradient.
   Two-class selectors and !important are needed: Elementor's container CSS
   loads later, and .bpro-sec / .bpro-w-* would otherwise win. */
.bpro-sec.bpro-hero{
  position: relative !important;
  overflow: hidden !important;
  background: var(--bpro-dark);
  padding: 0 !important;
  display: block !important;
}
.bpro-hero .hero__media{
  position: static !important;
  width: 100% !important;
  max-width: none !important;
  height: 640px !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
}
.hero__media .elementor-widget-image,
.hero__media .elementor-widget-container{ width: 100% !important; height: 100% !important; }
.hero__media img{
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}
.bpro-hero .hero__content{
  position: absolute !important;
  top: 0 !important; bottom: 0 !important; left: 0 !important;
  z-index: 2 !important;
  width: 100% !important;
  max-width: 620px;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  padding: 48px 56px !important;
  margin: 0 !important;
  background: linear-gradient(to right, rgba(8,48,28,.88) 0%, rgba(8,48,28,.62) 65%, rgba(8,48,28,0) 100%);
}
.bpro-hero h1, .hero__content h1.elementor-heading-title{ color: #fff !important; }
.bpro-hero p, .hero__content .bpro-text, .hero__content .bpro-lead{ color: #fff !important; font-size: 18px; margin-bottom: 16px; }
.bpro-hero .btn{ align-self: flex-start; }
.bpro-hero .bpro-button .elementor-button{ background: var(--bpro-white) !important; color: var(--bpro-dark) !important; border-color: var(--bpro-white) !important; }
.bpro-hero .bpro-button .elementor-button:hover{ background: var(--bpro-primary-tint) !important; border-color: var(--bpro-primary-tint) !important; }
@media (max-width: 900px){
  /* On phones the photo is too low for overlaid text: the text box moves
     back into the flow, above the photo, on a dark background. */
  .bpro-hero .hero__media{ height: 320px !important; }
  .bpro-hero .hero__content{
    position: static !important;
    max-width: none;
    padding: 32px var(--bpro-pad) !important;
    background: var(--bpro-dark);
  }
}

/* ---------- Trust bar / benefits ---------- */
.bpro-sec.trust-bar{ padding: 24px 0 !important; }
.trust-bar__text strong{ display: block; font-size: 18px; color: var(--bpro-dark); margin-bottom: 6px; }
.trust-bar__stars{ color: var(--bpro-primary-dark); letter-spacing: 2px; }
.trust-bar__stars span{ color: var(--bpro-text); letter-spacing: normal; font-weight: 600; margin-left: 6px; }
.trust-bar__badges img{ height: 40px; width: auto; }
@media (max-width: 900px){
  .trust-bar{ justify-content: center; text-align: center; }
}

.bpro-benefit.elementor-widget-icon-box{
  height: 100%;
  padding: 24px;
  background: var(--bpro-white);
  border: 1px solid var(--bpro-border);
  border-radius: var(--bpro-radius-l);
}
.bpro-benefit .elementor-icon-box-icon .elementor-icon{
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--bpro-primary-tint); color: var(--bpro-primary-dark); fill: var(--bpro-primary-dark);
  font-size: 20px;
}
.bpro-benefit .elementor-icon-box-icon svg{ width: 20px; height: 20px; }
.bpro-benefit .elementor-icon-box-title{
  font-family: var(--font-heading); font-weight: 600; font-size: 17px; color: var(--bpro-dark);
  text-transform: none; letter-spacing: 0; margin: 0 0 6px;
}
.bpro-benefit .elementor-icon-box-description{ font-size: 15px; color: var(--bpro-text); margin: 0; }

/* ---------- Product cards (home page) ---------- */
.bpro-product-grid{ margin-bottom: 0; }
.bpro-sec.bpro-product-grid__more{ padding-top: 0 !important; }
.bpro-product-grid__more .bpro-row{ align-items: center !important; justify-content: center; text-align: center; }
.product-card{
  position: relative;
  border: 1px solid var(--bpro-border);
  border-radius: var(--bpro-radius-m);
  overflow: hidden;
  background: #fff;
  transition: box-shadow .15s ease, transform .15s ease;
}
.product-card:hover{ box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
.product-card__media{ aspect-ratio: 1/1; background: var(--bpro-bg-soft); overflow: hidden; position: relative; }
.product-card__media img{ width: 100%; height: 100%; object-fit: contain; padding: 16px; }
/* The badge sits on the image as a small sticker. !important: Elementor
   widget CSS loads later and resets the positioning. */
.product-card__badge{
  position: absolute !important; top: 10px !important; left: 10px !important; z-index: 2 !important;
  background: var(--bpro-dark); color: #fff;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  padding: 4px 10px; border-radius: var(--bpro-radius-pill);
  max-width: calc(100% - 20px);
}
.product-card__badge p{ margin: 0; }
.product-card__title, .product-card__desc, .product-card__price{ padding-left: 16px; padding-right: 16px; }
.product-card__title{ font-weight: 600; color: var(--bpro-dark); font-size: 15px; margin-top: 14px; }
.product-card__title a{ color: inherit; text-decoration: none; }
.product-card__desc{ font-size: 13px; color: var(--bpro-text); margin-top: 4px; }
.product-card__title p, .product-card__desc p, .product-card__price p{ margin: 0; }
.product-card__price{ margin: 8px 0 16px; }
.product-card__meta{ display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.product-card__meta .price{ font-weight: 700; color: var(--bpro-dark); }
.product-card__meta del{ color: var(--bpro-text); font-weight: 400; margin-right: 6px; }
.product-card__meta ins{ text-decoration: none; }
.product-card__rating{ font-weight: 600; color: var(--bpro-primary-dark); font-size: 13px; white-space: nowrap; }
.product-card__cta{ padding-left: 16px; padding-right: 16px; margin-bottom: 16px; }
.product-card__cta .button{ width: 100%; justify-content: center; }
/* The WooCommerce [add_to_cart] shortcode prints an inline border/padding
   on p.add_to_cart_inline; inline styles only yield to !important. */
.product-card__cta .add_to_cart_inline{ border: none !important; padding: 0 !important; margin: 0 !important; }

/* ---------- Category cards ---------- */
.category-card{ position: relative; border-radius: var(--bpro-radius-l); overflow: hidden; aspect-ratio: 4/5; background: var(--bpro-bg-soft); }
.category-card > img,
.category-card .elementor-widget-image{ position: absolute; inset: 0; z-index: 0; }
.category-card > img,
.category-card .elementor-widget-image img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.category-card::before{ content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(0,0,0,.55), transparent 55%); pointer-events: none; }
.category-card > span,
.category-card__title{ position: absolute; left: 16px; bottom: 16px; z-index: 2; color: #fff; font-weight: 700; font-size: 17px; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.category-card__title p{ margin: 0; }

/* ---------- Split (image + text) ---------- */
.bpro-split .bpro-row{ align-items: center !important; }
.bpro-split img{ border-radius: var(--bpro-radius-l); }
.bpro-split.bpro-split--reverse .bpro-row{ flex-direction: row-reverse !important; }
@media (max-width: 900px){
  .bpro-split.bpro-split--reverse .bpro-row{ flex-direction: column !important; }
}

/* ---------- Team / stats ---------- */
.bpro-sec.bpro-team-experts{ padding: 32px 0 !important; }
.bpro-team > .bpro-row > div{ text-align: center; }
.bpro-team-experts img{ width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; }
.bpro-team .bpro-team__role{ color: var(--bpro-text) !important; font-size: 14px; }
.bpro-stat__num .elementor-heading-title{ font-size: 32px; color: var(--bpro-primary-dark) !important; font-weight: 700 !important; }

/* ---------- Testimonials ---------- */
.testimonial-card{ background: #fff; border: 1px solid var(--bpro-border); border-radius: var(--bpro-radius-m); padding: 24px;
  box-shadow: 0 10px 26px -20px rgba(15,23,42,.3); }
.testimonial-card .stars{ color: var(--bpro-primary-dark); letter-spacing: 2px; margin-bottom: 12px; }
.testimonial-card .stars p{ margin: 0; }
.testimonial-card cite,
.testimonial-card__name{ display: block; margin-top: 12px; font-style: normal; font-weight: 600; color: var(--bpro-dark); }
.testimonial-card__name p{ margin: 0; }

/* ---------- Call to action / newsletter ---------- */
.bpro-cta{
  max-width: 760px;
  margin-left: auto !important; margin-right: auto !important;
  padding: 40px 32px !important;
  text-align: center;
  background: var(--bpro-white);
  border: 1px solid var(--bpro-border);
  border-radius: var(--bpro-radius-l);
}
.bpro-cta .elementor-widget-button, .bpro-cta .elementor-button-wrapper{ text-align: center; }
@media (max-width: 480px){ .bpro-cta{ padding: 28px 20px !important; } }

.newsletter{ background: var(--bpro-dark); color: #fff; border-radius: var(--bpro-radius-l); padding: 48px; text-align: center; }
.newsletter h2{ color: #fff !important; }
.newsletter form{ display: flex; flex-wrap: wrap; gap: 12px; max-width: 420px; margin: 24px auto 0; }
.newsletter input[type=email]{ flex: 1 1 200px; border-radius: var(--bpro-radius-pill); border: none; }

/* ---------- Page head, map, contact icon boxes ---------- */
.bpro-pagehead{ padding: 40px 0 16px; text-align: center; }
.bpro-pagehead .elementor-widget-heading{ margin: 0 auto; }

.bpro-map{ border-radius: var(--bpro-radius-l); overflow: hidden; border: 1px solid var(--bpro-border); margin-top: 16px; }
.bpro-map iframe{ width: 100%; height: 280px; border: 0; }

.bpro-icon-box.elementor-widget-icon-box:not(.bpro-benefit){ padding: 14px 0; border-bottom: 1px solid var(--bpro-border); }
.bpro-icon-box .elementor-icon-box-icon{ color: var(--bpro-primary-dark); }
.bpro-icon-box:not(.bpro-benefit) .elementor-icon-box-title{ font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--bpro-text); margin-bottom: 3px; }
.bpro-icon-box:not(.bpro-benefit) .elementor-icon-box-description{ font-size: 15px; color: var(--bpro-dark); }

/* ==========================================================================
   Content pages, blog, 404
   ========================================================================== */
.page-header{ padding: 0 0 24px; text-align: center; }
.page-header p, .page-description{ color: var(--bpro-text); max-width: 620px; margin: 0 auto; }

.content-page{ max-width: 800px; margin: 0 auto; }
/* Centred intro text on prose sections; Elementor zeroes the margin otherwise. */
.bpro-sec--prose .content-page{ margin-left: auto !important; margin-right: auto !important; text-align: center; }
.content-page h2{ margin-top: 1.6em; }
.entry-header{ margin-bottom: 24px; }
.entry-thumbnail{ margin: 0 0 24px; }
.entry-thumbnail img{ border-radius: var(--bpro-radius-l); width: 100%; }
.entry-footer{ margin-top: 32px; font-size: 14px; }
.page-links{ margin: 24px 0; display: flex; gap: 8px; flex-wrap: wrap; }

.post-list{ display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.post-card{ display: flex; flex-direction: column; border: 1px solid var(--bpro-border); border-radius: var(--bpro-radius-m); overflow: hidden; background: var(--bpro-white); }
.post-card__media img{ width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.post-card__body{ padding: 20px; }
.post-card__title{ font-size: 20px; }
.post-card__title a:hover{ color: var(--bpro-primary-dark); text-decoration: underline; }

.pagination, .navigation.pagination{ margin-top: 40px; }
.nav-links{ display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.nav-links .page-numbers{
  display: inline-flex; align-items: center; justify-content: center;
  min-width: var(--bpro-tap); min-height: var(--bpro-tap); padding: 0 14px;
  border: 1px solid var(--bpro-border); border-radius: var(--bpro-radius-s); color: var(--bpro-dark);
}
.nav-links .page-numbers.current{ background: var(--bpro-primary); border-color: var(--bpro-primary); color: #fff; }

.error-404{ text-align: center; }
.error-404__text{ max-width: 560px; margin: 0 auto 24px; }
.error-404__search{ max-width: 480px; margin: 0 auto 24px; }
.error-404__links{ display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Shared blog helpers (inc/shared/blog.php). */
.bpro-ap-meta{ display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--bpro-text); margin-bottom: 12px; }
.bpro-ap-meta a{ text-decoration: underline; }
.bpro-ap-postnav{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 40px auto 0; max-width: 800px; }
.bpro-ap-postnav__link{ display: flex; flex-direction: column; padding: 16px; border: 1px solid var(--bpro-border); border-radius: var(--bpro-radius-m); }
.bpro-ap-postnav__link--next{ text-align: right; }
.bpro-ap-postnav__label{ font-size: 13px; color: var(--bpro-text); }
.bpro-ap-postnav__title{ font-weight: 600; color: var(--bpro-dark); }
.bpro-ap-related{ margin: 56px auto 0; max-width: 1000px; }
.bpro-ap-related__grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 24px; }
.bpro-ap-card{ border: 1px solid var(--bpro-border); border-radius: var(--bpro-radius-m); overflow: hidden; }
.bpro-ap-card__body{ padding: 16px; }
.bpro-ap-card__title{ font-size: 17px; }
.bpro-ap-author{ display: flex; gap: 16px; margin-top: 32px; padding: 20px; background: var(--bpro-bg-soft); border-radius: var(--bpro-radius-m); }
.bpro-ap-author__avatar img{ border-radius: 50%; }
.bpro-ap-share{ display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.bpro-ap-share__list{ display: flex; gap: 6px; }
.bpro-ap-share__link{
  display: inline-flex; align-items: center; justify-content: center;
  width: var(--bpro-tap); height: var(--bpro-tap); border-radius: 50%; border: 1px solid var(--bpro-border); color: var(--bpro-dark);
}
@media (max-width: 560px){ .bpro-ap-postnav{ grid-template-columns: 1fr; } .bpro-ap-postnav__link--next{ text-align: left; } }

/* FAQ: native <details>/<summary>, no JS. */
.faq-group h3{ margin-top: 2em; }
.faq-item{
  background: #fff; border: 1px solid var(--bpro-border); border-radius: var(--bpro-radius-m);
  padding: 0 20px; margin-bottom: 10px;
}
.faq-item summary{
  list-style: none; cursor: pointer; padding: 12px 32px 12px 0; min-height: var(--bpro-tap); position: relative;
  font-weight: 600; color: var(--bpro-dark); font-size: 15px;
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::after{
  content: "+"; position: absolute; right: 0; top: 10px; font-size: 22px; line-height: 1;
  color: var(--bpro-primary-dark); transition: transform .2s ease;
}
.faq-item[open] summary::after{ transform: rotate(45deg); }
.faq-item p{ margin: 0 0 18px; font-size: 15px; color: var(--bpro-text); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{ background: var(--bpro-bg-soft); border-top: 1px solid var(--bpro-border); padding: 56px 0 24px; }
.footer-brand .custom-logo, .footer-brand img{ max-height: 48px; width: auto; height: auto; }
.footer-grid{ display: grid; grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; margin-bottom: 40px; }
.footer-brand__logo{ height: 36px; width: auto; margin-bottom: 16px; }
.footer-brand__name{ font-family: var(--font-heading); font-weight: 700; font-size: 20px; color: var(--bpro-dark); }
.footer-col__title,
.footer-col .widget-title{ font-size: 14px !important; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.footer-grid li{ font-size: 15px; }
.footer-grid li a, .footer-contact a{ display: inline-flex; align-items: center; min-height: var(--bpro-tap); }
.footer-grid a:hover{ color: var(--bpro-primary-dark); text-decoration: underline; }
.footer-contact{ margin-top: 8px; }
.footer-social{ display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.footer-social a{
  width: var(--bpro-tap); height: var(--bpro-tap); border-radius: 50%; border: 1px solid #94a3b8;
  display: flex; align-items: center; justify-content: center; color: var(--bpro-dark);
}
.footer-social a:hover{ background: var(--bpro-primary); border-color: var(--bpro-primary); color: #fff; text-decoration: none; }
.footer-bottom{ border-top: 1px solid var(--bpro-border); padding-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; font-size: 14px; }
.footer-bottom a{ display: inline-flex; align-items: center; min-height: var(--bpro-tap); color: inherit; text-decoration: underline; }

@media (max-width: 900px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .footer-brand{ grid-column: 1 / -1; }
}
@media (max-width: 620px){
  .footer-grid{ gap: 24px 18px; }
  .footer-bottom{ flex-direction: column; text-align: center; }
}
/* Only very narrow screens fall back to a single column. */
@media (max-width: 340px){
  .footer-grid{ grid-template-columns: 1fr; }
}

/* Back-to-top: also hidden from Tab while invisible. */
.bpro-back-to-top{
  position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--bpro-dark); color: #fff; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s; z-index: 400; border: none; cursor: pointer;
}
.bpro-back-to-top.is-visible{ opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .25s ease; }
@media (max-width: 480px){ .bpro-back-to-top{ right: 16px; bottom: 16px; } }

/* ==========================================================================
   WooCommerce reskin: appearance only, WooCommerce markup and logic
   (cart, checkout, quantity, nonces) stay untouched.
   ========================================================================== */
.woocommerce-breadcrumb{ font-size: 13px; color: var(--bpro-text); margin-bottom: 24px; }
.woocommerce-breadcrumb a{ color: var(--bpro-text); text-decoration: underline; }
.woocommerce-breadcrumb a:hover{ color: var(--bpro-primary-dark); }

.woocommerce ul.products{
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 24px;
  list-style: none; margin: 0 0 32px; padding: 0;
}
@media (max-width: 480px){
  .woocommerce ul.products{ grid-template-columns: 1fr 1fr; gap: 12px; }
}
/* WooCommerce's float clearfix pseudo-elements would become empty grid items. */
.woocommerce ul.products::before,
.woocommerce ul.products::after{ content: none; display: none; }
.woocommerce ul.products li.product{
  /* woocommerce.css sets width: 22.05% for its float layout; in a grid
     that shrinks the card inside its cell. */
  width: auto !important; margin: 0 !important;
  border: 1px solid var(--bpro-border); border-radius: var(--bpro-radius-m); overflow: hidden;
  background: #fff; padding: 0 0 16px; position: relative; text-align: left;
  transition: box-shadow .15s ease;
}
.woocommerce ul.products li.product:hover{ box-shadow: 0 8px 24px rgba(0,0,0,.08); }
/* The loop link wraps image, title and price: the square ratio goes on the
   image, never on the link, or title and price get clipped. */
.woocommerce ul.products li.product .woocommerce-loop-product__link{ display: block; }
.woocommerce ul.products li.product img{ display: block; width: 100%; aspect-ratio: 1/1; object-fit: contain; background: var(--bpro-bg-soft); padding: 16px; margin: 0; }
.woocommerce ul.products li.product .woocommerce-loop-product__title{ font-family: var(--font-heading); font-weight: 600; font-size: 15px; color: var(--bpro-dark); margin: 12px 16px 4px; padding: 0; }
.woocommerce ul.products li.product .price{ display: block; margin: 0 16px; font-weight: 700; color: var(--bpro-dark); }
.woocommerce ul.products li.product .price del{ color: var(--bpro-text); font-weight: 400; margin-right: 6px; }
.woocommerce ul.products li.product .price ins{ text-decoration: none; }
.woocommerce ul.products li.product .button{ margin: 12px 16px 0; display: inline-flex; }
.bpro-in-cart-badge{ display: none; align-items: center; gap: 5px; margin: 8px 16px 0; font-size: 12px; font-weight: 600; color: var(--bpro-primary-dark); }
.bpro-in-cart-badge:not(:empty){ display: inline-flex; }
.bpro-in-cart-badge svg{ width: 13px; height: 13px; }
.woocommerce span.onsale{
  position: absolute; top: 10px; left: 10px; background: var(--bpro-dark); color: #fff;
  font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: var(--bpro-radius-pill);
  min-height: 0; min-width: 0; line-height: 1.6; margin: 0;
}

.woocommerce a.button, .woocommerce button.button, .woocommerce #respond input#submit,
.woocommerce input.button, .woocommerce #place_order{
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--bpro-tap);
  background: var(--bpro-primary) !important; color: #fff !important; border: 1px solid var(--bpro-primary) !important;
  border-radius: var(--bpro-radius-pill) !important; font-weight: 600 !important; padding: 10px 26px !important;
  font-family: var(--font-body) !important; transition: background .15s ease;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce #place_order:hover{
  background: var(--bpro-primary-dark) !important; border-color: var(--bpro-primary-dark) !important;
}
/* In drawer mode the drawer opens after add-to-cart, so WooCommerce's extra
   "View cart" link is redundant. In cart-page mode it stays as feedback. */
.bpro-cart-drawer-mode a.added_to_cart.wc-forward{ display: none !important; }

.woocommerce div.product{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
/* WooCommerce outputs .images / .summary directly under div.product. */
.woocommerce div.product > .images{ grid-column: 1; width: auto !important; float: none !important; }
.woocommerce div.product > .summary{ grid-column: 2; width: auto !important; float: none !important; padding-left: 8px; }
.woocommerce div.product > .woocommerce-tabs,
.woocommerce div.product > .related.products,
.woocommerce div.product > .up-sells{ grid-column: 1 / -1; }
.woocommerce div.product .woocommerce-product-gallery{ border-radius: var(--bpro-radius-l); overflow: hidden; }
.woocommerce div.product > .images img{ border-radius: var(--bpro-radius-l); }
.woocommerce div.product p.price, .woocommerce div.product span.price{ color: var(--bpro-dark); font-size: 26px; font-weight: 700; }
.woocommerce div.product .stock{ color: var(--bpro-primary-dark); font-weight: 600; }
.woocommerce div.product form.cart{ margin: 20px 0; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.woocommerce div.product form.cart::before, .woocommerce div.product form.cart::after{ display: none; }
.woocommerce .quantity input.qty{ border: 1px solid #94a3b8; border-radius: var(--bpro-radius-s); height: var(--bpro-tap); padding: 0 8px; width: 72px; }
.woocommerce table.variations select{ height: var(--bpro-tap); }
.woocommerce .woocommerce-tabs ul.tabs{ border-bottom: 1px solid var(--bpro-border); padding: 0; margin: 32px 0 0; list-style: none; display: flex; flex-wrap: wrap; gap: 0 24px; }
.woocommerce .woocommerce-tabs ul.tabs li{ margin: 0; }
.woocommerce .woocommerce-tabs ul.tabs li a{ font-weight: 600; color: var(--bpro-text); display: inline-flex; align-items: center; min-height: var(--bpro-tap); }
.woocommerce .woocommerce-tabs ul.tabs li.active a{ color: var(--bpro-primary-dark); border-bottom: 2px solid var(--bpro-primary); }
.woocommerce .woocommerce-tabs .panel{ padding: 24px 0; }

@media (max-width: 900px){
  /* Both columns must go back to column 1, otherwise the desktop
     grid-column: 2 creates an implicit narrow second column. */
  .woocommerce div.product{ grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .woocommerce div.product > .images,
  .woocommerce div.product > .summary,
  .woocommerce div.product > .woocommerce-tabs{ grid-column: 1; grid-row: auto; padding-left: 0; }
}

.woocommerce-cart table.cart{ width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.woocommerce-cart table.cart th{ text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--bpro-border); font-size: 13px; color: var(--bpro-text); }
.woocommerce-cart table.cart td{ padding: 16px 8px; border-bottom: 1px solid var(--bpro-border); vertical-align: middle; }
.woocommerce-cart table.cart img{ width: 64px; border-radius: var(--bpro-radius-s); }
.cart-collaterals .cart_totals{ background: var(--bpro-bg-soft); border-radius: var(--bpro-radius-m); padding: 24px; max-width: 380px; margin-left: auto; }
.cart-collaterals .cart_totals table{ width: 100%; }
.cart-collaterals .cart_totals th, .cart-collaterals .cart_totals td{ padding: 8px 0; }

.woocommerce-checkout form.checkout .form-row label{ font-size: 14px; font-weight: 600; color: var(--bpro-dark); margin-bottom: 4px; display: block; }
.woocommerce-checkout form.checkout input.input-text, .woocommerce-checkout form.checkout select, .woocommerce-checkout form.checkout textarea{ width: 100%; }
#order_review{ background: var(--bpro-bg-soft); border-radius: var(--bpro-radius-m); padding: 24px; }
.woocommerce-checkout-payment ul.payment_methods{ list-style: none; padding: 0; }
.woocommerce-checkout-payment li{ border: 1px solid var(--bpro-border); border-radius: var(--bpro-radius-s); padding: 12px; margin-bottom: 8px; }

.woocommerce-MyAccount-navigation ul{ list-style: none; padding: 0; border: 1px solid var(--bpro-border); border-radius: var(--bpro-radius-m); overflow: hidden; }
.woocommerce-MyAccount-navigation li{ border-bottom: 1px solid var(--bpro-border); }
.woocommerce-MyAccount-navigation li:last-child{ border-bottom: none; }
.woocommerce-MyAccount-navigation li a{ display: flex; align-items: center; min-height: var(--bpro-tap); padding: 0 16px; }
.woocommerce-MyAccount-navigation li.is-active a{ background: var(--bpro-primary-tint); color: var(--bpro-primary-dark); font-weight: 600; }

.woocommerce-message, .woocommerce-info{ border-top-color: var(--bpro-primary) !important; border-radius: var(--bpro-radius-s); background: var(--bpro-primary-tint); }
.woocommerce-error{ border-top-color: var(--bpro-error) !important; }

/* Block-based cart/checkout pages rendered through page.php. */
.wc-page{ max-width: none; }

/* ==========================================================================
   Shared front-end components (inc/shared: mobile bar, cookie notice,
   popups). Minimal neutral styling so they are usable out of the box.
   ========================================================================== */
.bpro-ap-btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--bpro-tap); padding: 10px 24px;
  border-radius: var(--bpro-radius-pill); border: 1px solid var(--bpro-primary);
  font: inherit; font-weight: 600; cursor: pointer; text-decoration: none;
}
.bpro-ap-btn--solid{ background: var(--bpro-primary); color: #fff; }
.bpro-ap-btn--solid:hover{ background: var(--bpro-primary-dark); border-color: var(--bpro-primary-dark); }
.bpro-ap-btn--outline{ background: transparent; color: var(--bpro-dark); border-color: var(--bpro-dark); }
body.bpro-ap-locked{ overflow: hidden; }

.bpro-ap-mobilebar{ display: none; }
@media (max-width: 768px){
  .bpro-ap-mobilebar{
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 450;
    display: flex; justify-content: space-around;
    padding: 4px 4px calc(4px + env(safe-area-inset-bottom));
    background: var(--bpro-white); border-top: 1px solid var(--bpro-border);
    box-shadow: 0 -6px 18px rgba(15,23,42,.08);
  }
  .bpro-ap-mobilebar__item{
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    min-height: 52px; font-size: 11px; font-weight: 600; color: var(--bpro-dark);
  }
  .bpro-ap-mobilebar__icon{ position: relative; display: inline-flex; }
  .bpro-ap-mobilebar__icon svg{ width: 22px; height: 22px; }
  .bpro-ap-mobilebar__icon .cart-count{ top: -6px; right: -12px; }
}

.bpro-ap-cookie{
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 900;
  max-width: 560px; margin: 0 auto; padding: 16px 20px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px;
  background: var(--bpro-dark); color: #fff; border-radius: var(--bpro-radius-m);
  box-shadow: 0 12px 32px rgba(15,23,42,.25); font-size: 14px;
}
.bpro-ap-cookie[hidden]{ display: none; }
.bpro-ap-cookie__text{ flex: 1 1 240px; }
.bpro-ap-cookie__text a{ color: inherit; text-decoration: underline; }
.bpro-ap-cookie .bpro-ap-btn--solid{ background: #fff; color: var(--bpro-dark); border-color: #fff; }
.bpro-ap-cookie__actions{ display: flex; flex-wrap: wrap; gap: 10px; }
.bpro-ap-cookie__deny{ background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }

.bpro-ap-agegate, .bpro-ap-promo{
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.bpro-ap-agegate{ background: rgba(15,23,42,.92); }
.bpro-ap-agegate[hidden], .bpro-ap-promo[hidden]{ display: none; }
.bpro-ap-agegate__box, .bpro-ap-promo__box{
  position: relative; width: min(100%, 460px); max-height: calc(100vh - 32px); overflow: auto;
  background: var(--bpro-white); border-radius: var(--bpro-radius-l); padding: 32px 24px; text-align: center;
}
.bpro-ap-agegate__logo{ height: 40px; width: auto; margin: 0 auto 16px; }
.bpro-ap-agegate__actions{ display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.bpro-ap-promo__veil{ position: absolute; inset: 0; background: rgba(15,23,42,.6); opacity: 0; transition: opacity .25s ease; }
.bpro-ap-promo__box{ opacity: 0; transform: translateY(12px); transition: opacity .25s ease, transform .25s ease; padding: 0; text-align: left; }
.bpro-ap-promo.is-open .bpro-ap-promo__veil{ opacity: 1; }
.bpro-ap-promo.is-open .bpro-ap-promo__box{ opacity: 1; transform: none; }
.bpro-ap-promo__media img{ width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.bpro-ap-promo__body{ padding: 24px; }
.bpro-ap-promo__close{
  position: absolute; top: 8px; right: 8px; z-index: 2;
  width: var(--bpro-tap); height: var(--bpro-tap); border: 0; border-radius: 50%;
  background: var(--bpro-white); color: var(--bpro-dark); display: flex; align-items: center; justify-content: center; cursor: pointer;
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ transition: none !important; animation: none !important; }
}

/* Plain content fallback of setup-built pages when Elementor is not active. */
.bpro-fallback-section{ margin-block: 0 48px; }
.bpro-fallback-section img{ border-radius: var(--bpro-radius-card, 12px); }

/* ==========================================================================
   Be-Pro sections
   ========================================================================== */

/* Kicker: small uppercase label with a lime underline (logo accent). */
.bpro-kicker .elementor-heading-title{
  display: inline-block;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--bpro-primary) !important;
  border-bottom: 3px solid var(--bpro-lime);
  padding-bottom: 2px;
  margin-bottom: 12px;
}
.bpro-hero .bpro-kicker .elementor-heading-title{ color: var(--bpro-lime) !important; border-color: var(--bpro-emerald); }

/* Hero: two buttons side by side. */
.bpro-hero .hero__content .bpro-button{ display: inline-block; margin: 0 12px 12px 0; }
.bpro-hero .hero__content{ flex-direction: column !important; }
.bpro-hero .bpro-button--outline .elementor-button{ background: transparent !important; color: #fff !important; border-color: #fff !important; }
.bpro-hero .bpro-button--outline .elementor-button:hover{ background: rgba(255,255,255,.12) !important; }

/* Trust bar: pulled up over the hero edge on desktop. */
.bpro-sec.bpro-trust{ padding-top: 32px !important; padding-bottom: 32px !important; }
.bpro-trust .bpro-benefit{ height: 100%; }
.bpro-trust .elementor-icon{ color: var(--bpro-primary) !important; background: var(--bpro-primary-tint); border-radius: 50%; }

/* Services: alternating splits; the checklist uses brand ticks. */
.bpro-service h2{ margin-top: 0; }
.bpro-why .elementor-heading-title, .bpro-why{ font-size: 18px !important; margin: 8px 0 4px; color: var(--bpro-dark); }
.bpro-checklist{ list-style: none; margin: 0 0 20px; padding: 0; }
.bpro-checklist li{ position: relative; padding: 6px 0 6px 34px; line-height: 1.5; }
.bpro-checklist li::before{
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--bpro-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='%23c4f47c'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.bpro-split__media img{ border-radius: var(--bpro-radius-l); width: 100%; height: auto; object-fit: cover; }
.bpro-service .bpro-split__media img{ aspect-ratio: 4 / 3; }
@media (min-width: 901px){
  .bpro-split--reverse > .bpro-row,
  .bpro-split--reverse > .e-con-inner{ flex-direction: row !important; }
}

/* Wekerle+: deep green band. */
.bpro-sec.bpro-sec--brand{ background: var(--bpro-primary-dark) !important; color: #fff; }
.bpro-sec--brand h1, .bpro-sec--brand h2, .bpro-sec--brand h3,
.bpro-sec--brand .elementor-heading-title{ color: #fff !important; }
.bpro-sec--brand p, .bpro-sec--brand li{ color: rgba(255,255,255,.92) !important; }
.bpro-sec--brand .bpro-kicker .elementor-heading-title{ color: var(--bpro-lime) !important; border-color: var(--bpro-emerald); }
.bpro-sec--brand a:not(.elementor-button){ color: var(--bpro-lime); }
.bpro-sec--brand .bpro-button .elementor-button{ background: var(--bpro-lime) !important; color: var(--bpro-dark) !important; border-color: var(--bpro-lime) !important; }
.bpro-sec--brand .bpro-button .elementor-button:hover{ background: #fff !important; border-color: #fff !important; }
.bpro-sec--brand .bpro-button--outline .elementor-button{ background: transparent !important; color: #fff !important; border-color: #fff !important; }
.bpro-stat{
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(196,244,124,.35);
  border-radius: var(--bpro-radius-l);
  padding: 24px !important;
}
.bpro-stat__num .elementor-heading-title, .bpro-stat__num{ font-size: clamp(26px, 3vw, 34px) !important; font-weight: 800 !important; color: var(--bpro-lime) !important; line-height: 1.1; }
.bpro-stat__label p{ margin: 8px 0 0; font-size: 15px; }
.bpro-wekerle .bpro-note{ max-width: 820px; margin: 0 auto 24px; text-align: center; }
.bpro-wekerle .bpro-button{ text-align: center; margin-top: 24px; }
/* The calculator sits on a white card inside the green band; its own colours win. */
.bpro-sec .bpro-wekerle.content-page{ max-width: 1100px !important; margin-left: auto; margin-right: auto; }
.bpro-wekerle .wkk{
  color: var(--bpro-dark); text-align: left;
  background: #fff; border-radius: var(--bpro-radius-l);
  padding: clamp(20px, 4vw, 40px); margin: 32px 0 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
}
.bpro-sec--brand .wkk h2, .bpro-sec--brand .wkk h3, .bpro-sec--brand .wkk h4,
.bpro-sec--brand .wkk legend, .bpro-sec--brand .wkk strong{ color: var(--wkk-ink, #303030) !important; }
.bpro-sec--brand .wkk p, .bpro-sec--brand .wkk li,
.bpro-sec--brand .wkk label, .bpro-sec--brand .wkk small{ color: inherit !important; }
.bpro-sec--brand .wkk a{ color: var(--bpro-primary) !important; }

/* Process steps. */
.bpro-step{
  background: var(--bpro-bg);
  border: 1px solid var(--bpro-border);
  border-radius: var(--bpro-radius-l);
  padding: 28px 24px !important;
}
.bpro-step h3{ font-size: 20px; margin: 12px 0 6px; }
.bpro-step__num{
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bpro-lime); color: var(--bpro-dark);
  font-weight: 800; font-size: 20px;
}

/* References gallery. */
.bpro-ref{
  background: var(--bpro-bg);
  border-radius: var(--bpro-radius-l);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(20,40,25,.07);
  padding: 0 0 16px !important;
}
.bpro-ref__img img{ display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.bpro-ref__title .elementor-heading-title, .bpro-ref__title{ font-size: 17px !important; margin: 14px 16px 4px !important; }
.bpro-ref__caption p{ margin: 0 16px; font-size: 15px; }

/* Contact page. */
.bpro-contact__info .bpro-icon-box,
.bpro-contact__info .elementor-widget-icon-box{ margin-bottom: 16px; }
.bpro-contact__info .elementor-icon{ color: var(--bpro-primary) !important; }

/* Plain-HTML fallback (Elementor inactive). */
.bpro-fallback-section .bpro-checklist{ margin-top: 8px; }

/* Closing CTA on the green band: no white card. */
.bpro-sec--brand .bpro-cta{ background: transparent !important; border: 0 !important; box-shadow: none !important; text-align: center; }
.bpro-sec--brand .bpro-cta .bpro-button{ display: inline-block; margin: 8px 6px 0; }

/* Mobile hero text box in brand green; tighter section heads; compact trust cards. */
@media (max-width: 900px){
  .bpro-hero .hero__content{ background: var(--bpro-primary-dark) !important; }
}
.bpro-sec.bpro-sec--head{ padding-bottom: 0 !important; }
.bpro-sec--head .bpro-row{ margin-bottom: 8px; }
@media (max-width: 560px){
  .bpro-trust .elementor-icon-box-wrapper{ display: flex !important; text-align: left !important; gap: 14px; align-items: flex-start; }
  .bpro-trust .elementor-icon-box-icon{ margin: 0 !important; flex: 0 0 auto; }
  .bpro-trust .bpro-benefit{ padding: 16px !important; }
  .bpro-sec.bpro-trust .bpro-row{ gap: 12px !important; }
}
@media (max-width: 900px){ .bpro-service .bpro-split__media{ order: -1; } }

/* ==========================================================================
   1.1.0: service pages, FAQ, rating badge, news
   ========================================================================== */

/* Button rows (bpro_demo_actions()): wrap on narrow screens. */
.bpro-actions{
  flex-direction: row !important; flex-wrap: wrap !important; gap: 12px !important;
  padding: 0 !important; margin: 8px 0 0;
}
.bpro-actions .elementor-widget{ width: auto !important; margin: 0 !important; }

/* Service page head: centred, the text stays readable on wide screens. */
.bpro-sec.bpro-pagehead--service{ padding: 48px 0 40px !important; background: var(--bpro-bg-soft); }
.bpro-service-head{ max-width: 820px; margin: 0 auto !important; text-align: center; }
.bpro-service-head .bpro-actions{ justify-content: center; }
.bpro-service-head .bpro-lead p{ font-size: 18px; }
.bpro-badge-wrap{ margin-top: 16px; }
.bpro-service-head .bpro-badge-wrap{ text-align: center; }

/* Google rating badge (inc/shared/schema.php). */
.bpro-gbadge{ border-color: var(--bpro-border); }
.bpro-gbadge__star{ color: #8a5a00; }
.bpro-gbadge--hero{ background: rgba(255,255,255,.96); border-color: transparent; }
.footer-badge{ margin: 12px 0 0; }

/* Wekerle+ block on the service pages. */
.bpro-service-wekerle{ text-align: center; }
.bpro-service-wekerle .bpro-note p{ font-size: 15px; }
.bpro-service-wekerle .elementor-widget-button{ margin-top: 8px; }

/* Two reference photos side by side, never stretched too wide. */
.bpro-refs--two .bpro-row{ max-width: 900px !important; }

/* FAQ sections on the home and service pages. */
.bpro-faq{ max-width: 820px !important; margin-left: auto !important; margin-right: auto !important; }
.bpro-faq h2{ text-align: center; margin-bottom: 24px; }
.bpro-sec--soft .faq-item{ background: var(--bpro-white); }
.faq-item summary:focus-visible{ outline: 3px solid var(--bpro-focus); outline-offset: 2px; border-radius: var(--bpro-radius-s); }

/* Quote form section: info and form start at the top. */
.bpro-quote .bpro-row{ align-items: flex-start !important; }

/* News: post cards and single posts in the brand palette. */
.blog .page-header .page-title, .archive .page-header .page-title{ margin-bottom: 8px; }
.post-card{ box-shadow: 0 6px 20px rgba(20,40,25,.06); }
.post-card__title a{ color: var(--bpro-dark); }
.post-card .bpro-ap-meta{ font-size: 13px; }
.entry-content h2{ color: var(--bpro-dark); margin-top: 1.6em; }
.entry-content li{ margin-bottom: 6px; }
.bpro-post-note{
  background: var(--bpro-primary-tint); border-left: 4px solid var(--bpro-primary);
  border-radius: var(--bpro-radius-m); padding: 14px 18px; font-size: 15px;
}
.bpro-sec .bpro-service-wekerle.content-page{ max-width: 820px !important; margin-left: auto !important; margin-right: auto !important; }
.bpro-service-wekerle .elementor-heading-title, .bpro-service-wekerle .elementor-widget-button{ text-align: center; }

/* ==========================================================================
   0.1.1 review: tighter rhythm, boxed hero, contact page, gallery, quote form
   ========================================================================== */

/* Less empty space between sections: the page was needlessly long. */
.bpro-sec{ padding: 44px 0 !important; }
.bpro-sec.bpro-sec--head{ padding-bottom: 0 !important; }
.bpro-sec--head .bpro-row{ margin-bottom: 4px; }
@media (max-width: 900px){
  .bpro-sec{ padding: 32px 0 !important; }
}

/* Hero: boxed and lower on wide screens, so it is readable at a glance. */
@media (min-width: 901px){
  .bpro-sec.bpro-hero{
    width: calc(100% - 48px) !important;
    max-width: var(--bpro-container);
    margin: 24px auto 0 !important;
    border-radius: 24px;
  }
  .bpro-hero .hero__media{ height: clamp(420px, 36vw, 520px) !important; }
  .bpro-hero .hero__content{ max-width: 600px; padding: 40px 48px !important; }
}

/* Wekerle+ partner card. */
.bpro-sec.bpro-partner-sec{ padding-top: 16px !important; padding-bottom: 8px !important; }
.bpro-partner{
  max-width: 980px; margin: 0 auto;
  display: flex !important; flex-direction: row !important; flex-wrap: wrap; align-items: center; gap: 16px 32px;
  padding: 24px 28px !important;
  border: 2px solid var(--bpro-lime); border-radius: var(--bpro-radius-l);
  background: rgba(255,255,255,.07);
}
.bpro-partner .bpro-partner__box{ flex: 1 1 420px; }
.bpro-partner .elementor-icon{ color: var(--bpro-lime) !important; font-size: 34px; }
.bpro-partner .elementor-icon-box-title,
.bpro-partner .elementor-icon-box-title a{ color: #fff !important; font-size: 21px; margin-bottom: 6px; }
.bpro-partner .elementor-icon-box-description{ color: rgba(255,255,255,.92) !important; font-size: 16px; }
.bpro-partner .bpro-button{ flex: 0 0 auto; }

/* Calculator: the full content width, so fewer rows. */
.bpro-sec .bpro-wekerle.content-page{ max-width: 1200px !important; }
.bpro-wekerle .wkk{ max-width: none !important; }

/* Quote form on the home page. */
.bpro-quote{
  max-width: 900px; margin: 0 auto;
  background: #fff; border-radius: var(--bpro-radius-l);
  padding: clamp(20px, 4vw, 36px) !important;
  box-shadow: 0 10px 30px rgba(20,40,25,.08);
}
.bpro-quote__phone{ margin: 16px 0 0; text-align: center; font-weight: 600; }
.bpro-quote__phone a{ color: var(--bpro-primary-dark); }

/* Services overview page: cards. */
.bpro-svc{
  background: var(--bpro-bg);
  border: 1px solid var(--bpro-border);
  border-radius: var(--bpro-radius-l);
  overflow: hidden;
  padding: 0 0 24px !important;
  box-shadow: 0 6px 20px rgba(20,40,25,.06);
}
.bpro-svc > .elementor-element:not(.bpro-svc__img){ padding-left: 24px; padding-right: 24px; }
.bpro-svc__img img{ display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.bpro-svc .bpro-kicker{ margin-top: 20px; }
.bpro-svc__title .elementor-heading-title{ font-size: 22px !important; margin: 4px 0 10px !important; }
.bpro-svc .bpro-actions{ margin-top: auto; }

/* Page heads (contact, services, service pages): a brand band, not a blank sheet. */
.bpro-sec.bpro-pagehead{
  background: var(--bpro-primary-dark);
  padding: 44px 0 40px !important;
}
.bpro-pagehead h1,
.bpro-pagehead .elementor-heading-title{ color: #fff !important; }
.bpro-pagehead .bpro-lead,
.bpro-pagehead .bpro-lead p{ color: rgba(255,255,255,.92) !important; font-size: 18px; max-width: 760px; margin: 8px auto 0; }

/* Contact page: form card and a dark contact card on a soft background. */
.bpro-sec.bpro-contact{ background: var(--bpro-bg-soft); }
.bpro-contact__form{
  background: #fff; border-radius: var(--bpro-radius-l);
  padding: clamp(20px, 3vw, 36px) !important;
  box-shadow: 0 10px 30px rgba(20,40,25,.08);
}
.bpro-contact__info{
  align-self: flex-start;
  background: var(--bpro-primary-dark); color: #fff;
  border-radius: var(--bpro-radius-l);
  padding: clamp(20px, 3vw, 32px) !important;
}
.bpro-contact__info .elementor-heading-title{ color: #fff !important; }
.bpro-contact__info .elementor-icon{ color: var(--bpro-lime) !important; font-size: 26px; }
.bpro-contact__info .elementor-icon-box-title,
.bpro-contact__info .elementor-icon-box-title a{ color: rgba(255,255,255,.8) !important; font-size: 13px !important; letter-spacing: .08em; text-transform: uppercase; }
.bpro-contact__info .elementor-icon-box-description{ color: #fff !important; font-size: 17px !important; font-weight: 600; }
.bpro-contact__info a{ color: #fff !important; }
.bpro-contact__info .elementor-widget-google_maps iframe{ border-radius: 12px; }

/* Reference photos open large (assets/js/effects.js). */
.bpro-ref__img img,
.bpro-svc__img img,
.bpro-split__media img{ cursor: zoom-in; }
.bpro-lightbox{
  position: fixed; inset: 0; z-index: 100000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(8,20,12,.9);
}
.bpro-lightbox[hidden]{ display: none; }
.bpro-lightbox figure{ margin: 0; max-width: min(1200px, 100%); text-align: center; }
.bpro-lightbox img{ max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; border-radius: 12px; }
.bpro-lightbox figcaption{ margin-top: 12px; color: #fff; font-size: 16px; }
.bpro-lightbox__btn{
  position: absolute; display: grid; place-items: center;
  width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.14); color: #fff; font-size: 26px; line-height: 1; cursor: pointer;
}
.bpro-lightbox__btn:hover{ background: rgba(255,255,255,.26); }
.bpro-lightbox__btn:focus-visible{ outline: 3px solid var(--bpro-lime); outline-offset: 2px; }
.bpro-lightbox__close{ top: 16px; right: 16px; }
.bpro-lightbox__prev{ left: 16px; top: 50%; transform: translateY(-50%); }
.bpro-lightbox__next{ right: 16px; top: 50%; transform: translateY(-50%); }

/* The calculator's container queries inside an Elementor flex column made
   Chrome size the column far too tall on phones (thousands of px of empty
   space): a plain block column avoids it. */
.bpro-sec .bpro-wekerle.content-page{ display: block !important; }
.bpro-wekerle > .elementor-element + .elementor-element{ margin-top: 16px; }

/* ================================================================
   0.1.2: trust strip, news list, call-back form, calculators
   ================================================================ */
.bpro-ap-trust{
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px;
  margin: 0; padding: 0; list-style: none; font-weight: 600; color: var(--bpro-dark);
}
.bpro-ap-trust li{ display: inline-flex; align-items: center; gap: 8px; }
.bpro-ap-trust svg{ color: var(--bpro-primary, #0b6b3e); flex: none; }
.bpro-trust-strip{ padding: 0 0 32px !important; }
.bpro-trust-strip:not(:has(.bpro-ap-trust)){ display: none !important; }
.bpro-contact__form .bpro-ap-trust,
.bpro-quote .bpro-ap-trust{ justify-content: flex-start; margin-top: 20px; font-size: 15px; }

.bpro-ap-news{ margin-top: 28px; text-align: left; }
.bpro-ap-news__title{ margin: 0 0 12px; font-size: 1.25rem; color: inherit; }
.bpro-ap-news__list{ display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 900px){ .bpro-ap-news__list{ grid-template-columns: repeat(3, 1fr); } }
.bpro-ap-news__item{ padding: 16px 18px; border-radius: var(--bpro-radius-m); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); }
.bpro-ap-news__item time{ display: block; font-size: 13px; opacity: .8; }
.bpro-ap-news__item a{ display: inline-block; margin: 4px 0 6px; font-weight: 700; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.bpro-ap-news__item p{ margin: 0; font-size: 15px; opacity: .9; }

.bpro-contact__info .ajk--callback{
  margin-top: 24px; padding: 20px; border-radius: var(--bpro-radius-m);
  background: #fff; color: var(--bpro-dark);
}
.bpro-contact__info .ajk--callback .ajk-title{ font-size: 1.25rem; }
.bpro-anchor{ display: block; position: relative; top: -96px; visibility: hidden; }

.bpro-saving .wkk{ margin-bottom: 0; }
.bpro-service-wekerle .wkk--tool{ margin-top: 24px; padding: 20px; border-radius: var(--bpro-radius-m); background: #fff; color: var(--bpro-dark); text-align: left; }

.footer-linkbtn{
  min-height: 32px; padding: 0; border: 0; background: none; color: inherit;
  font: inherit; text-decoration: underline; cursor: pointer;
}
.footer-linkbtn:focus-visible{ outline: 2px solid currentColor; outline-offset: 2px; }

/* Calculators in an Elementor flex column inflate its height in Chrome (container queries): plain blocks. */
.bpro-sec .bpro-saving.content-page,
.bpro-sec .bpro-service-wekerle.content-page{ display: block !important; }
.bpro-service-wekerle > .elementor-element + .elementor-element{ margin-top: 16px; }
.bpro-contact__info .ajk--callback a{ color: var(--bpro-primary-dark) !important; text-decoration: underline; }
.bpro-contact__info .ajk--callback label,
.bpro-contact__info .ajk--callback .ajk-note{ color: var(--bpro-dark); }

/* Every Elementor flex column holding a form or calculator (container queries inflate it in Chrome): plain block. */
.e-con:has(> .elementor-widget .ajk),
.e-con:has(> .elementor-widget .wkk){ display: block !important; }
.e-con:has(> .elementor-widget .ajk) > .elementor-element + .elementor-element,
.e-con:has(> .elementor-widget .wkk) > .elementor-element + .elementor-element{ margin-top: 16px; }
