/* Wrapper */
#lnk-cart-progress-bar,
.lnkcp-gift-badge{
  color: #D55335;
}
.lnkcp-gift-title {
    font-size: .9rem;
    line-height: 1.2;
    color: #161615;
}
#lnk-cart-progress-bar.my-p {
  margin: 5px 0 !important;
}
#lnk-cart-progress-bar .progress {
    position: relative;
}
@media (max-width: 767px) {
	#lnk-cart-progress-bar.my-p {
    margin-top: 5px !important;
    border-bottom: solid 1px #e6e6e6;
}
}
.lnkcp-gift-box.gift-locked {
    opacity: 0.6;
    filter: grayscale(100%);
    border: 1px dashed #ddd;
    background-color: #fbfbfb;
    pointer-events: none; 
	border-radius: 14px;
}

.lnkcp-gift-box.gift-locked .lnkcp-remaining-msg {
    color: #888;
    font-weight: bold;
}


.lnkcp-gift-box.gift-unlocked {
    opacity: 1;
    filter: none;
    border: 1px dashed #d55335;
    background-color: #f0faff;
    transition: all 0.4s ease-in-out;
	border-radius: 14px;
}

#lnk-cart-progress-bar .pbar-line {
display: inline-block;
    line-height: 1.25;
    margin: 0;
    padding: 0;
    font-size: .7rem;
    font-weight: 900;
}

/* petit écart entre la 1ère et la 2ème ligne */
#lnk-cart-progress-bar .pbar-line + .pbar-line {
  margin-top: 2px;
}

#lnk-cart-progress-bar .pbar-line .amount,
#lnk-cart-progress-bar .pbar-line .currency {
  padding: 0 1px;
}

/* Barre de progression */
#lnk-cart-progress-bar .progress {
  align-items: center;
  height: 10px;
  margin: 1.45rem auto 0;
  background-color: rgba(213, 83, 53, .08);
  border-radius: 999px;
  border: 1px solid rgba(213, 83, 53, .5);
}

#lnk-cart-progress-bar .progress-bar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background-color: #D55335;
  transition: width .3s ease;
}


#lnk-cart-progress-bar .p_progress {
  position: absolute;
  top: 0px;             
  font-weight: 600;
  font-size: .55rem;
  text-transform: uppercase;
  white-space: nowrap;
}

#lnk-cart-progress-bar .p_progress .text-dg {
	position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    top: -22px;
    left: -50%;
    flex-direction: column;
    line-height: .7;
}
#lnk-cart-progress-bar .p_progress .text-dg:before {
    content: '|';
    position: absolute;
    color: #2e2e2d;
    top: 22px;
    left: 50%;
    /* text-shadow: 1px 1px 1px #ffffff; */
    /* height: 14px; */
    font-size: .75rem;
}

#lnk-cart-progress-bar .p_progress span i {
  font-size: .8rem;
  color: #D55335;
}

#lnk-cart-progress-bar .p_progress .position {
  position: absolute;
  top: 4px;
  left: 0;
  color: #D55335;
  font-weight: 700;
  font-size: .8rem;
}

#lnk-cart-progress-bar .p_progress .price {
  position: absolute;
  top: 14px;
  left: -4px;
  font-size: .7rem;
  font-weight: 700;
  color: #262626;
}

.lnk_free_gift .price{
	color: #d55335 !important;	
}

/* Contexte side-cart */
.cart_block #lnk-cart-progress-bar {
  padding: .5rem .75rem;
}

.cart_block #lnk-cart-progress-bar .progress {
  margin-top: .4rem !important;
  height: 8px !important;
}

/* Responsive */
@media (max-width: 768px) {
  #lnk-cart-progress-bar .pbar-line {
    font-size: .75rem;
  }

  #lnk-cart-progress-bar .p_progress {
    font-size: .5rem;
      }
}
