/* AN Free Shipping Amount Display � base layout */

.anfsad-block.shipping-amount-display .text {
  color: #555454;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
  width: 100%;
  margin-bottom: 0;
}

.anfsad-block.shipping-amount-display .price {
  color: #a6294b;
  font-size: 15px;
  font-weight: 700;
}

.anfsad-block.shipping-amount-display .line {
  position: relative;
  display: block;
  height: 4px;
  background: #d6d4d4;
  border-radius: 5px;
  margin-bottom: 10px;
  overflow: visible;
}

.anfsad-block.shipping-amount-display .filled-line {
  display: block;
  background: #a6294b;
  height: 4px;
  width: 0;
  max-width: 100%;
  border-radius: 5px;
  transition: width 0.35s ease;
}

.anfsad-block.shipping-amount-display .truck {
  position: absolute;
  right: 0;
  top: -18px;
}

.anfsad-block.shipping-amount-display .truck i {
  font-size: 22px;
  line-height: 1;
}

.anfsad-block.shipping-amount-display.cart .text,
.anfsad-block.shipping-amount-display.product .text {
  display: block;
  float: none;
}

.anfsad-block.shipping-amount-display.checkout .inner {
  width: 100%;
  padding: 0;
  text-align: center;
}

.anfsad-block.shipping-amount-display.checkout .text {
  float: none;
  margin-bottom: 0;
}

.anfsad-block.shipping-amount-display.anfsad-custom-html .line,
.anfsad-block.shipping-amount-display.anfsad-custom-html .truck {
  display: none !important;
}

.anfsad-block.shipping-amount-display.anfsad-custom-html .text {
  font-weight: inherit;
}

/* Custom HTML: marco al tama?o del mensaje, centrado (no full-width) */
.anfsad-block.shipping-amount-display.anfsad-custom-html {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.anfsad-block.shipping-amount-display.anfsad-custom-html .inner,
.anfsad-block.shipping-amount-display.anfsad-custom-html .text,
.anfsad-block.shipping-amount-display.anfsad-custom-html .text-inner {
  width: auto;
  max-width: 100%;
  display: block;
  float: none;
  text-align: center;
}

.anfsad-block.shipping-amount-display.anfsad-custom-html .text-inner > div {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  vertical-align: top;
}
