/* Bar standaard verborgen */
.sticky-atc-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9990;
  background: #fff;
  border-top: 3px solid #6ccbac;
  box-shadow: 0 -3px 14px rgba(0,0,0,.09);
  transform: translateY(100%);
  transition: transform .3s ease;
}

/* Bar zichtbaar */
.sticky-atc-bar.is-visible {
  transform: translateY(0);
}

/* Inner layout */
.sticky-atc-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 20px;
  gap: 14px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Left */
.sticky-atc-bar__left {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 1;
  min-width: 0;
}
.sticky-atc-bar__img {
  width: 50px;
  height: 50px;
  border-radius: 5px;
  border: 1px solid #e8e6e0;
  flex-shrink: 0;
  overflow: hidden;
}
.sticky-atc-bar__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sticky-atc-bar__title {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 380px;
  margin-bottom: 4px;
  line-height: 1.2;
}
.sticky-atc-bar__usps {
  display: flex;
  gap: 0 14px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}
.sticky-atc-bar__usps li {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #555;
  line-height: 1.3;
}
.sticky-atc-bar__usps li img {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

/* Right */
.sticky-atc-bar__right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.sticky-atc-bar__price {
  text-align: right;
  line-height: 1.15;
}
.sticky-atc-bar__price .woocommerce-Price-amount {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  display: block;
}
.sticky-atc-bar__price small {
  font-size: 11px;
  color: #888;
}
.sticky-atc-bar__btn {
  background: #6ccbac;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  font-family: Arial, sans-serif;
  line-height: 1;
  text-decoration: none;
}
.sticky-atc-bar__btn:hover {
  background: #56b896;
}

/* B2B prijs binnen de sticky bar */
.sticky-atc-bar__price .b2b-price-container {
  text-align: right;
  line-height: 1.15;
}
.sticky-atc-bar__price .b2b-price-excl {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
}
.sticky-atc-bar__price .b2b-price-label-excl {
  font-size: 10px;
  color: #888;
  margin-bottom: 2px;
}
.sticky-atc-bar__price .b2b-price-incl {
  font-size: 13px;
  font-weight: 600;
  color: #444;
}
.sticky-atc-bar__price .b2b-price-label-incl {
  font-size: 10px;
  color: #888;
}

@media (max-width: 768px) {
  .sticky-atc-bar__price .b2b-price-excl {
    font-size: 16px;
  }
  .sticky-atc-bar__price .b2b-price-incl {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .sticky-atc-bar__price .b2b-price-excl {
    font-size: 15px;
  }
  .sticky-atc-bar__price .b2b-price-label-excl,
  .sticky-atc-bar__price .b2b-price-incl,
  .sticky-atc-bar__price .b2b-price-label-incl {
    display: none;
  }
}

/* Push andere fixed elementen omhoog via CSS variabele */
body {
  --sticky-bar-height: 0px;
}
body.sticky-bar-active {
  --sticky-bar-height: 72px;
}

/* Bekende elementen die omhoog moeten */
.tawk-min-container,
.tawk-button,
#cookie-notice,
.cookie-notice-container,
.pum-container {
  bottom: calc(var(--sticky-bar-height) + 8px) !important;
  transition: bottom .3s ease;
}

/* Tablet: ≤768px */
@media (max-width: 768px) {
  .sticky-atc-bar__title {
    max-width: 180px;
    font-size: 12.5px;
  }
  .sticky-atc-bar__usps li {
    font-size: 11px;
  }
  .sticky-atc-bar__btn {
    padding: 10px 15px;
    font-size: 13px;
  }
  .sticky-atc-bar__price .woocommerce-Price-amount {
    font-size: 16px;
  }
}

/* Mobiel: ≤480px — alleen afbeelding tonen, geen titel of USPs */
@media (max-width: 480px) {
  .sticky-atc-bar__inner {
    padding: 9px 14px;
  }
  .sticky-atc-bar__img {
    width: 44px;
    height: 44px;
  }
  .sticky-atc-bar__content {
    display: none;
  }
  .sticky-atc-bar__right {
    gap: 10px;
  }
  .sticky-atc-bar__price .woocommerce-Price-amount {
    font-size: 15px;
  }
  .sticky-atc-bar__price small {
    font-size: 10px;
  }
  .sticky-atc-bar__btn {
    padding: 10px 14px;
    font-size: 13px;
  }
}
