/* MAPARAPHARMACIE - ABS Frequently Bought Together 2.2.5
   Ajouter APRES le CSS du module dans le CSS personnalise du theme.
   Scope limite au bloc routine ; aucun changement des fonctions panier. */
#abs_usually_bought_together {
  --mp-green: #006b6a;
  --mp-dark: #164b50;
  --mp-line: #deebe7;
  margin: 30px 0 40px;
  padding: 0;
  font-family: inherit;
  color: #263f42;
  width: 100%;
  min-width: 0;
}
#abs_usually_bought_together h3.abs_usually_bought_together {
  color: var(--mp-dark) !important;
  font-size: clamp(21px, 2vw, 28px) !important;
  font-weight: 700 !important;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: -.4px;
  margin: 0 0 18px;
}
#abs_usually_bought_together .block_abs_usually_bought {
  background: #fff !important;
  border: 1px solid var(--mp-line) !important;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(22,75,80,.06);
  padding: 26px;
  margin: 0;
  overflow: auto;
}
#abs_usually_bought_together ul.products_abs_u_b_together {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  float: none;
  width: 100%;
  margin: 0;
  padding: 0 0 22px;
  list-style: none;
}
#abs_usually_bought_together ul.products_abs_u_b_together > li {
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
}
#abs_usually_bought_together ul.products_abs_u_b_together > li.absini { display: none; }
#abs_usually_bought_together li[class^="absimgfbt"] {
  border: 1px solid #edf2ef;
  border-radius: 14px;
  background: white;
  padding: 10px !important;
}
#abs_usually_bought_together .block_abs_usually_bought li[class^="absimgfbt"] img.img {
  width: 128px !important;
  height: 145px !important;
  max-width: 100% !important;
  object-fit: contain;
  vertical-align: middle;
}
#abs_usually_bought_together .abs_u_b_t_plus {
  color: #799b96;
  font-weight: 400;
}
#abs_usually_bought_together li#price-abs-u-b-tog {
  margin-left: auto;
  flex: 1 1 230px;
  max-width: 340px;
  padding: 22px !important;
  background: #f0f7f4;
  border-radius: 16px;
  text-align: center;
}
#abs_usually_bought_together #price-abs-u-b-tog .price-abs-u-b-tog { font-size: 15px; }
#abs_usually_bought_together #price-abs-u-b-tog #abspricetotal {
  color: var(--mp-green) !important;
  font-size: 27px;
  font-weight: 750;
  line-height: 1.4;
}
#abs_usually_bought_together .bt-abs-fbt-modal.abs-fbt-bt2 {
  display: block;
  margin: 12px 0 0 !important;
  background: var(--mp-green) !important;
  border: 1px solid var(--mp-green) !important;
  border-radius: 10px;
  color: #fff !important;
  box-shadow: none;
  transition: background .18s ease;
}
#abs_usually_bought_together .bt-abs-fbt-modal.abs-fbt-bt2:hover {
  background: #005654 !important;
  color: #fff !important;
}
#abs_usually_bought_together #addcartabsfbt {
  width: 100%;
  min-height: 48px;
  padding: 12px 15px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 650;
  line-height: 1.4;
  white-space: normal;
  cursor: pointer;
}
#abs_usually_bought_together #addcartabsfbt:disabled { cursor: wait; opacity: .65; }
#abs_usually_bought_together #addcartabsfbt:focus-visible,
#abs_usually_bought_together a:focus-visible,
#abs_usually_bought_together input:focus-visible {
  outline: 3px solid #c58a27;
  outline-offset: 4px;
}
#abs_usually_bought_together .block-abs-list_products_u_b_together {
  clear: both;
  border-top: 1px solid var(--mp-line);
  padding-top: 16px;
}
#abs_usually_bought_together ul.list_products_abs_u_b_together {
  float: none;
  margin: 0;
  padding: 0;
  list-style: none;
}
#abs_usually_bought_together ul.list_products_abs_u_b_together > li {
  padding: 10px 0;
  border-bottom: 1px solid #f0f4f2;
}
#abs_usually_bought_together ul.list_products_abs_u_b_together > li:last-child { border-bottom: 0; }
#abs_usually_bought_together ul.list_products_abs_u_b_together li label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 0;
  top: 0;
  text-indent: 0;
  line-height: 1.65;
  width: 100%;
}
#abs_usually_bought_together .block-abs--u-b-tt { flex: 1; min-width: 0; }
#abs_usually_bought_together ul.list_products_abs_u_b_together li .txt-abs-u-b {
  text-indent: 0;
  color: #29474b !important;
  font-size: 14px;
}
#abs_usually_bought_together ul.list_products_abs_u_b_together li .txt-abs-u-b a {
  color: var(--mp-green) !important;
  text-decoration: none;
}
#abs_usually_bought_together ul.list_products_abs_u_b_together li .txt-abs-u-b a:hover {
  color: #004d4c !important;
  text-decoration: underline;
}
#abs_usually_bought_together ul.list_products_abs_u_b_together li .price-abs-u-b-tog.abs-currency {
  color: var(--mp-dark) !important;
  font-weight: 700;
  white-space: nowrap;
}
#abs_usually_bought_together ul.list_products_abs_u_b_together li input[type="checkbox"] {
  accent-color: var(--mp-green);
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  margin: 3px 0 0;
  bottom: 0;
}
#abs_usually_bought_together label[class^="labelabsfreqb"].unselected { opacity: .55; }
#abs_usually_bought_together .absfqbselect {
  max-width: 100%;
  border-radius: 7px;
  border-color: var(--mp-line);
}
@media (max-width: 767px) {
  #abs_usually_bought_together .block_abs_usually_bought { padding: 16px; border-radius: 15px; }
  #abs_usually_bought_together ul.products_abs_u_b_together { gap: 8px; justify-content: center; }
  #abs_usually_bought_together li[class^="absimgfbt"] { padding: 5px !important; }
  #abs_usually_bought_together .block_abs_usually_bought li[class^="absimgfbt"] img.img {
    width: clamp(48px, 16vw, 90px) !important;
    height: 100px !important;
  }
  #abs_usually_bought_together li#price-abs-u-b-tog { flex-basis: 100%; max-width: none; margin: 8px 0 0; padding: 16px !important; }
  #abs_usually_bought_together ul.list_products_abs_u_b_together li .txt-abs-u-b { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  #abs_usually_bought_together .bt-abs-fbt-modal.abs-fbt-bt2 { transition: none; }
}
/* Promotion et vente flash : valeurs dynamiques conservees. */
#abs_usually_bought_together .block_abs_usually_bought { padding-top: 26px !important; }
#abs_usually_bought_together .cont--abspromofqbsale { position: static; }
#abs_usually_bought_together .isabspromofqbflsale {
  position: relative;
  top: auto;
  left: auto;
  min-width: 0;
  width: 100%;
  margin: 0;
}
#abs_usually_bought_together .isabspromofqbflsale .abs-flashsale-fqbtogether {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  height: auto;
  padding: 13px 20px;
  margin-bottom: 16px;
  border: 1px solid #cce3db;
  border-radius: 12px;
  background: #eaf5f0 !important;
  color: #164b50 !important;
  font-family: inherit !important;
}
#abs_usually_bought_together .abs-flashsale-fqbtogether-intro-backimg { display: none; }
#abs_usually_bought_together .isabspromofqbflsale .offer-fqbtogether-flashsale {
  display: flex;
  align-items: center;
  padding: 0;
  font-family: inherit !important;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
}
#abs_usually_bought_together .offer-fqbtogether-flashsale > span { padding-left: 0 !important; }
#abs_usually_bought_together .isabspromofqbflsale .offer-fqbtogether-flashsale .material-icons.icontit {
  position: static;
  padding: 0;
  margin-right: 8px;
  font-size: 23px;
  rotate: none;
}
#abs_usually_bought_together .isabspromofqbflsale .abs-countdown-fqbtogether {
  padding: 0;
  font-family: inherit !important;
  font-size: 13px;
  color: #164b50;
}
#abs_usually_bought_together .isabspromofqbflsale .abs-countdown-fqbtogether em {
  min-width: 29px;
  height: 29px;
  line-height: 29px;
  margin: 0 3px;
  border-radius: 6px;
  background: #164b50 !important;
  color: white !important;
  font-size: 14px;
  font-weight: 700;
}
#abs_usually_bought_together #price-abs-u-b-tog .isabspromo {
  text-align: center !important;
  padding-bottom: 8px;
}
#abs_usually_bought_together #price-abs-u-b-tog .isabspromo .abs-old-price {
  color: #677b78 !important;
  font-size: 15px;
}
#abs_usually_bought_together .abs-has-discount {
  display: inline-block;
  width: auto;
  padding: 4px 9px;
  border-radius: 6px;
  background: #006b6a !important;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  vertical-align: middle;
}
@media (max-width: 767px) {
  #abs_usually_bought_together .block_abs_usually_bought { padding-top: 16px !important; }
  #abs_usually_bought_together .isabspromofqbflsale .abs-flashsale-fqbtogether { padding: 12px; }
}
@media (max-width: 1100px) {
  #abs_usually_bought_together ul.products_abs_u_b_together { justify-content: center; }
  #abs_usually_bought_together li#price-abs-u-b-tog {
    flex: 1 1 100%;
    max-width: none;
    margin: 8px 0 0;
  }
}
/* Vente flash : accent corail/orange, sans animation clignotante. */
#abs_usually_bought_together .isabspromofqbflsale .abs-flashsale-fqbtogether {
  background: linear-gradient(110deg, #ff7955 0%, #ffb563 100%) !important;
  border-color: #f88759;
  color: #48231b !important;
  box-shadow: 0 5px 16px rgba(214,81,43,.14);
}
#abs_usually_bought_together .isabspromofqbflsale .abs-countdown-fqbtogether { color: #48231b; }
#abs_usually_bought_together .isabspromofqbflsale .abs-countdown-fqbtogether em {
  background: #fff !important;
  color: #9d301f !important;
}
#abs_usually_bought_together .abs-has-discount {
  background: #c44129 !important;
  color: #fff !important;
}
