html.bdpa-restricted .product-price,
html.bdpa-restricted .price,
html.bdpa-restricted .current-price,
html.bdpa-restricted .regular-price,
html.bdpa-restricted .old-price,
html.bdpa-restricted .unit-price,
html.bdpa-restricted .product-unit-price,
html.bdpa-restricted .product-without-taxes,
html.bdpa-restricted .price-tax-excl,
html.bdpa-restricted .price-tax-incl,
html.bdpa-restricted .tax-shipping-delivery-label,
html.bdpa-restricted .product-discount,
html.bdpa-restricted .discount,
html.bdpa-restricted .discount-percentage,
html.bdpa-restricted .product-price-and-shipping,
html.bdpa-restricted [itemprop="price"],
html.bdpa-restricted [itemprop="priceCurrency"],
html.bdpa-restricted [data-product-price],
html.bdpa-restricted .product-add-to-cart,
html.bdpa-restricted .product-quantity,
html.bdpa-restricted .add-to-cart,
html.bdpa-restricted .ajax_add_to_cart_button,
body.bdpa-restricted .product-price,
body.bdpa-restricted .price,
body.bdpa-restricted .current-price,
body.bdpa-restricted .regular-price,
body.bdpa-restricted .old-price,
body.bdpa-restricted .unit-price,
body.bdpa-restricted .product-unit-price,
body.bdpa-restricted .product-without-taxes,
body.bdpa-restricted .price-tax-excl,
body.bdpa-restricted .price-tax-incl,
body.bdpa-restricted .tax-shipping-delivery-label,
body.bdpa-restricted .product-discount,
body.bdpa-restricted .discount,
body.bdpa-restricted .discount-percentage,
body.bdpa-restricted .product-price-and-shipping,
body.bdpa-restricted [itemprop="price"],
body.bdpa-restricted [itemprop="priceCurrency"],
body.bdpa-restricted [data-product-price],
body.bdpa-restricted .product-add-to-cart,
body.bdpa-restricted .product-quantity,
body.bdpa-restricted .add-to-cart,
body.bdpa-restricted .ajax_add_to_cart_button {
  display: none !important;
  visibility: hidden !important;
}

/* Le hook prix de certains thèmes est placé dans un conteneur lui-même
 * masqué ci-dessus. On réaffiche uniquement le conteneur qui porte notre
 * message, tout en neutralisant son éventuel texte tarifaire direct. */
html.bdpa-restricted .product-price:has(.bdpa-price-gate),
html.bdpa-restricted .price:has(.bdpa-price-gate),
html.bdpa-restricted .current-price:has(.bdpa-price-gate),
html.bdpa-restricted .product-price-and-shipping:has(.bdpa-price-gate),
html.bdpa-restricted .product-add-to-cart:has(.bdpa-price-gate),
html.bdpa-restricted .product-quantity:has(.bdpa-price-gate),
body.bdpa-restricted .product-price:has(.bdpa-price-gate),
body.bdpa-restricted .price:has(.bdpa-price-gate),
body.bdpa-restricted .current-price:has(.bdpa-price-gate),
body.bdpa-restricted .product-price-and-shipping:has(.bdpa-price-gate),
body.bdpa-restricted .product-add-to-cart:has(.bdpa-price-gate),
body.bdpa-restricted .product-quantity:has(.bdpa-price-gate) {
  display: block !important;
  visibility: visible !important;
  font-size: 0 !important;
}

html.bdpa-restricted .bdpa-price-gate-host,
body.bdpa-restricted .bdpa-price-gate-host {
  display: block !important;
  visibility: visible !important;
  font-size: 0 !important;
}

html.bdpa-restricted .product-prices,
body.bdpa-restricted .product-prices {
  font-size: 0 !important;
}

.bdpa-price-gate {
  display: flex !important;
  visibility: visible !important;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
  max-width: 680px;
  box-sizing: border-box;
  margin: 1rem 0;
  padding: 1.15rem 1.25rem;
  border: 1px solid #c7dce2;
  border-left: 4px solid #31758a;
  border-radius: 5px;
  background: #f3f8fa;
  color: #283b42;
  font-size: 1rem !important;
  line-height: 1.45;
  text-align: left;
}

.bdpa-price-gate__icon {
  display: inline-flex;
  flex: 0 0 2.55rem;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
  background: #dcecf0;
  font-size: 1.15rem;
  line-height: 1;
}

.bdpa-price-gate__content {
  min-width: 0;
}

.bdpa-price-gate__title {
  display: block;
  margin: 0 0 .3rem;
  color: #235f72;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.3;
}

.bdpa-price-gate__text {
  margin: 0;
  color: #40565e;
  font-size: .96rem;
  line-height: 1.5;
}

.bdpa-price-gate__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem .8rem;
  margin-top: .8rem;
}

.bdpa-price-gate__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .62rem .9rem;
  border-radius: 4px;
  background: #58473b;
  color: #fff !important;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
  transition: background-color .15s ease, transform .15s ease;
}

.bdpa-price-gate__action:hover,
.bdpa-price-gate__action:focus {
  background: #3f322a;
  color: #fff !important;
  transform: translateY(-1px);
}

.bdpa-price-gate__action--secondary {
  padding-right: .25rem;
  padding-left: .25rem;
  background: transparent;
  color: #58473b !important;
  font-weight: 600;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

.bdpa-price-gate__action--secondary:hover,
.bdpa-price-gate__action--secondary:focus {
  background: transparent;
  color: #2f251f !important;
}

.bdpa-status-notice {
  position: fixed !important;
  right: 1.25rem !important;
  bottom: 1.25rem !important;
  top: auto !important;
  left: auto !important;
  z-index: 100000 !important;
  display: flex !important;
  align-items: flex-start;
  gap: .85rem;
  width: calc(100vw - 2rem);
  max-width: 410px;
  box-sizing: border-box;
  margin: 0 !important;
  padding: 1rem 1.1rem !important;
  border: 1px solid #c4dce3 !important;
  border-left: 4px solid #31758a !important;
  border-radius: 6px !important;
  background: #f2f9fb !important;
  box-shadow: 0 10px 28px rgba(21, 42, 50, .18);
  color: #2c444d !important;
  font-size: .94rem !important;
  line-height: 1.45 !important;
  text-align: left !important;
}

.bdpa-status-notice--success {
  border-color: #bedbc7 !important;
  border-left-color: #348254 !important;
  background: #f1f8f3 !important;
  color: #294936 !important;
}

.bdpa-status-notice--danger {
  border-color: #e2c5c5 !important;
  border-left-color: #a64040 !important;
  background: #fff5f5 !important;
  color: #633333 !important;
}

.bdpa-status-notice__icon {
  display: inline-flex;
  flex: 0 0 2rem;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #d9ebf0;
  color: #235f72;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.bdpa-status-notice--success .bdpa-status-notice__icon {
  background: #dcefe2;
  color: #2b7447;
}

.bdpa-status-notice--danger .bdpa-status-notice__icon {
  background: #f2dddd;
  color: #943a3a;
}

.bdpa-status-notice__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: .18rem;
}

.bdpa-status-notice__content strong {
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.25;
}

.bdpa-status-notice__content span {
  display: block;
}

.bdpa-french-billing {
  max-width: 720px;
}

@media (max-width: 575px) {
  .bdpa-price-gate {
    gap: .75rem;
    padding: 1rem;
  }

  .bdpa-price-gate__icon {
    flex-basis: 2.2rem;
    width: 2.2rem;
    height: 2.2rem;
  }

  .bdpa-status-notice {
    right: .75rem !important;
    bottom: .75rem !important;
    width: calc(100vw - 1.5rem);
    padding: .9rem !important;
  }
}
