/**
 * 2007-2026 PrestaShop
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-3.0.php
 *
 *  @author    Ether Creation
 *  @copyright 2007-2026 PrestaShop SA
 *  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 *  International Registered Trademark & Property of PrestaShop SA
 */
.ecfp-box {
  margin: 0.75rem 0;
  padding: 0.75rem 1rem 0.75rem 3rem;
  border-radius: 6px;
  background: #f1f8f4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232e7d4f'%3E%3Cpath d='M20 8h-3V4H3c-1.1 0-2 .9-2 2v11h2a3 3 0 0 0 6 0h6a3 3 0 0 0 6 0h2v-5l-3-4zM6 18.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm13.5-9 1.96 2.5H17V9.5h2.5zM18 18.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z'/%3E%3C/svg%3E") no-repeat 0.9rem 0.8rem;
  background-size: 1.4rem;
  border: 1px solid #cfe6d8;
}

.ecfp-text {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  line-height: 1.4;
  color: #23412f;
}

.ecfp-text:last-of-type {
  margin-bottom: 0;
}

.ecfp-text--free {
  font-weight: 700;
  color: #2e7d4f;
}

.ecfp-text--exceeded {
  color: #8a5a00;
}

.ecfp-progress {
  display: block;
  width: 100%;
  height: 0.5rem;
  margin-top: 0.5rem;
  border: 0;
  border-radius: 1rem;
  background: #dbe9e0;
  overflow: hidden;
  -webkit-appearance: none;
  appearance: none;
}

.ecfp-progress::-webkit-progress-bar {
  background: #dbe9e0;
  border-radius: 1rem;
}

.ecfp-progress::-webkit-progress-value {
  background: #2e7d4f;
  border-radius: 1rem;
}

.ecfp-progress::-moz-progress-bar {
  background: #2e7d4f;
  border-radius: 1rem;
}

.cart-summary .ecfp-message,
#js-checkout-summary .ecfp-message {
  padding: 0 1.25rem;
}

#blockcart-modal .ecfp-message {
  display: block;
  padding: 0 1rem 1rem;
}

.ecfp-text--excluded {
  color: #8a5a00;
}

.ecfp-excluded-product {
  margin: 0.75rem 0;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  background: #fff8e6;
  border: 1px solid #f0dca8;
}

.ecfp-excluded-product .ecfp-text {
  margin: 0;
}
