/* Bollsen functional CSS — GLOBAL UI chrome.
 * Pairs with mu-plugin 23 (reviews) + the theme custom.js UX features (Sticky CTA, Site Switcher,
 * ATC price). Extracted verbatim from the UK master Customizer (custom-css-audit.md) so each feature's
 * styling travels with its code in git instead of being stranded per-market in the Customizer.
 * Enqueued site-wide (front-end) by 30-bollsen-assets.php — small, cached, W3TC-combinable.
 *
 * DELIBERATELY EXCLUDED (brand-adjacent / divergent → design track, not here):
 *   general button+form styling, PDP spacing, product-gallery dots, bundle styling, WQM cart-button
 *   theming, sale-badge content, top-bar ticker, heading sizes, ::selection. */

/* ===== Trustpilot / BBR: hide the business header  (mu23 #61) — UK L86-103 ===== */
.bollsen-bbr-scope .brtpmj_reviews_container > .brtpmj_business_rating,
.bollsen-bbr-scope .brtpmj_reviews_container > .brtpnj_business_rating, /* alt class */
.bollsen-bbr-scope .brtpmj_reviews_container > [class*="business_rating"],
.bollsen-bbr-scope .brtpmj_reviews_container > [class*="business-header"] {
  display: none !important;
}
/* Fallback: if class names change, hide ONLY the first child inside the reviews container */
.bollsen-bbr-scope .brtpmj_reviews_container > :first-child {
  display: none !important;
}
.bollsen-bbr-scope .brtpmj_reviews_container {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* ===== Sticky CTA  (custom.js) — UK L427-476 ===== */
.sticky-cta,
.sticky-cta2{
    position: fixed;
    bottom: 0;
    padding: 10px 20px;
    background-color: #063c97;
    color: white;
    text-align: center;
    font-size: 16px;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    pointer-events: none;
}
.sticky-cta.visible,
.sticky-cta2.visible{
    opacity: 1;
    pointer-events: auto;
}
.sticky-cta-transparent{
    position: fixed;
    bottom: -20px;
    left: 0;
    width: 100%;
    background-color: transparent;
    color: white;
    text-align: center;
    font-size: 16px;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    pointer-events: none;
}
.sticky-cta-transparent.visible{
    opacity: 1;
    pointer-events: auto;
}

/* ===== Site Switcher / locale selector  (custom.js) — UK L484-556 ===== */
.bollsen-locale-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  font-family: inherit;
}
.bollsen-locale-switcher .bls-label {
  font-size: 0.9rem;
  opacity: 0.9;
}
.bollsen-locale-switcher .bls-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 0.6rem 2.2rem 0.6rem 0.8rem;
  font-size: 0.95rem;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
.bollsen-locale-switcher::after {
  content: "";
  position: absolute;
  right: 0.8rem;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  margin-top: -0.35rem;
  pointer-events: none;
  border-right: 2px solid #222;
  border-bottom: 2px solid #222;
  transform: rotate(45deg);
}
.bollsen-locale-switcher.small .bls-select {
  padding: 0.4rem 1.8rem 0.4rem 0.6rem;
  font-size: 0.85rem;
}
.is-dark .bollsen-locale-switcher .bls-select {
  background: #111;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}
.is-dark .bollsen-locale-switcher::after {
  border-color: #fff;
}
@media (max-width: 480px) {
  .bollsen-locale-switcher { width: 100%; }
  .bollsen-locale-switcher .bls-select { width: 100%; }
}

/* ===== ATC price display target  (custom.js ATC) — UK L631-635, 700-703 ===== */
.embedded-product-price .price.wqm-total-price {
  font-size: 1.5em;
  font-weight: 700;
  text-align: left;
}
.price.wqm-total-price {
  margin-top: 0px;
  margin-bottom: 0px;
}
