/* Copper Healer cart/checkout UI CSS
 * Source of truth: Astra child theme asset.
 * Moved from WPCode 8103 on 2026-07-22 so WPCode keeps business logic only.
 */
/* Cart/checkout meter */
.ch-cart-meter{border:1px solid #e7d7c3;background:#fffaf4;border-radius:14px;padding:12px 14px;margin:0 0 12px;color:var(--ch-ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Helvetica,Arial,sans-serif}.ch-cart-meter strong{font-weight:800;color:var(--ch-copper-dark)}.ch-cart-meter-line{font-size:14px;line-height:1.35}.ch-cart-meter-sub{font-size:13px;color:var(--ch-muted);margin-top:3px}.ch-meter-track{height:6px;background:#f1e7d8;border-radius:99px;overflow:hidden;margin-top:8px}.ch-meter-fill{height:100%;background:linear-gradient(90deg,#c8894c,#8b4a1f);border-radius:99px;transition:width .25s ease}.ch-meter-qualified{background:#f5fbf1;border-color:#cfe8c2}.ch-meter-qualified strong{color:#247a37}.ch-meter-qualified .ch-meter-track{background:#ddeecf}.ch-meter-qualified .ch-meter-fill{background:linear-gradient(90deg,#9ab66b,#49613a)}

/* Checkout order bump */
.ch-checkout-bump{display:block;border:1.5px solid #e4c6a8;background:#fffaf6;border-radius:14px;padding:13px 14px;margin:0 0 12px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Helvetica,Arial,sans-serif}.ch-checkout-bump label{display:flex;gap:10px;align-items:flex-start;cursor:pointer;margin:0}.ch-checkout-bump input{width:18px!important;height:18px!important;margin:2px 0 0!important;accent-color:var(--ch-copper);flex:0 0 auto}.ch-bump-title{font-size:15px;font-weight:850;color:var(--ch-copper-dark);line-height:1.25}.ch-bump-sub{font-size:13px;color:var(--ch-muted);margin-top:2px;line-height:1.35}.ch-bump-price{font-weight:850;color:#15803d}

.woocommerce-checkout-review-order .ch-checkout-page-meter,
    .woocommerce-checkout-review-order .ch-checkout-page-bump{
        background:#fff8ec;border:1px solid #e8cfa5;border-radius:10px;padding:12px 14px;margin:0 0 14px 0;color:#3f3325;line-height:1.35;font-size:15px;
    }
    .woocommerce-checkout-review-order .ch-checkout-page-meter{background:#f7fbf5;border-color:#cfe3c8;}
    .woocommerce-checkout-review-order .ch-cart-meter-line{font-size:15px;margin-bottom:2px;}
    .woocommerce-checkout-review-order .ch-cart-meter-sub{font-size:13px;color:#6a625b;margin-bottom:8px;}
    .woocommerce-checkout-review-order .ch-meter-track{height:7px;background:#e6e2dc;border-radius:999px;overflow:hidden;}
    .woocommerce-checkout-review-order .ch-meter-fill{height:100%;background:#5f8f3f;border-radius:999px;}
    .woocommerce-checkout-review-order .ch-checkout-page-bump label{display:flex;gap:10px;align-items:flex-start;margin:0;cursor:pointer;}
    .woocommerce-checkout-review-order .ch-checkout-page-bump input{margin-top:3px;min-width:18px;width:18px;height:18px;}
    .woocommerce-checkout-review-order .ch-bump-title{font-weight:700;color:#2f271f;font-size:15px;}
    .woocommerce-checkout-review-order .ch-bump-sub{display:block;margin-top:2px;color:#65584c;font-size:13px;line-height:1.35;}
    .woocommerce-checkout-review-order .ch-bump-price{font-weight:700;color:#5f2f16;}

/* Cart meter mini-box: keep compact inside Cart totals, not page-wide */
.woocommerce-cart .cart_totals .ch-checkout-page-meter,
.woocommerce-cart .cart_totals .ch-cart-meter{
  display:block!important;
  width:auto!important;
  max-width:100%!important;
  margin:0 0 14px 0!important;
  padding:12px 14px!important;
  border:1px solid #e7d7c3!important;
  border-radius:12px!important;
  background:#fffaf4!important;
  box-shadow:none!important;
  color:#3f3325!important;
}
.woocommerce-cart .cart_totals .ch-checkout-page-meter.ch-meter-qualified,
.woocommerce-cart .cart_totals .ch-cart-meter.ch-meter-qualified{
  background:#f5fbf1!important;
  border-color:#cfe8c2!important;
}
.woocommerce-cart .cart_totals .ch-cart-meter-line{font-size:14px!important;line-height:1.3!important;margin:0 0 3px!important;}
.woocommerce-cart .cart_totals .ch-cart-meter-sub{font-size:12.5px!important;line-height:1.3!important;margin:0 0 8px!important;color:#6a625b!important;}
.woocommerce-cart .cart_totals .ch-meter-track{height:6px!important;margin-top:7px!important;border-radius:999px!important;background:#f1e7d8!important;overflow:hidden!important;}
.woocommerce-cart .cart_totals .ch-meter-fill{height:100%!important;border-radius:999px!important;background:linear-gradient(90deg,#c8894c,#8b4a1f)!important;}
.woocommerce-cart .cart_totals .ch-meter-qualified .ch-meter-fill{background:linear-gradient(90deg,#9ab66b,#49613a)!important;}
.woocommerce-cart > .ch-checkout-page-meter,
.woocommerce-cart > .ch-cart-meter,
.woocommerce-cart-form + .ch-checkout-page-meter,
.woocommerce-cart-form + .ch-cart-meter{display:none!important;}

/* Discounted subtotal display: WooCommerce totals row clarity only. Pricing remains calculated by WooCommerce. */
.ch-discounted-subtotal {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-end;
  gap: 0.35rem;
  line-height: 1.25;
}

.ch-discounted-subtotal-original {
  color: inherit;
  opacity: 0.68;
  font-weight: 500;
}

.ch-discounted-subtotal-final {
  color: var(--ch-green, var(--ast-global-color-3));
  font-weight: 700;
}

.ch-discounted-subtotal-note {
  flex-basis: 100%;
  color: var(--ch-green, var(--ast-global-color-3));
  font-size: 0.82em;
  font-weight: 600;
}

@media (max-width: 544px) {
  .ch-discounted-subtotal {
    justify-content: flex-start;
  }
}



/* 2026-07-23: Snippet-owned cart/checkout add-on cards (replaces FunnelKit bridge) */
.ch-offer-section {
    display: block;
    margin: 0 0 16px;
    padding: 14px;
    border: 1px solid #e8cfa5;
    border-radius: 18px;
    background: #fffaf2;
    color: #3f3325;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
}

.ch-offer-section-heading {
    margin: 0 0 12px;
    font-size: 14px;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-weight: 800;
    color: #8f4d22;
}

.ch-offer-card {
    display: grid !important;
    grid-template-columns: 24px minmax(0, 1fr) auto !important;
    gap: 12px !important;
    align-items: center;
    width: 100%;
    margin: 0 0 10px !important;
    padding: 13px 14px !important;
    border: 1px solid #eadfd6 !important;
    border-radius: 14px !important;
    background: #fff !important;
    cursor: pointer !important;
    transition: border-color .18s ease, background .18s ease;
}

.ch-offer-card:last-child {
    margin-bottom: 0 !important;
}

.ch-offer-card:hover,
.ch-offer-card.is-selected {
    border-color: #c98d62 !important;
    background: #fffdf8 !important;
}

.ch-offer-check {
    align-self: start !important;
    margin-top: 2px;
}

.ch-offer-check input {
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    accent-color: #8b4a1f;
}

.ch-offer-badge {
    display: inline-block;
    margin-bottom: 4px;
    padding: 2px 7px;
    border-radius: 999px;
    background: #f5eadf;
    color: #8f4d22;
    font-size: 11px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.ch-offer-title {
    display: block;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 800;
    color: #2f271f;
}

.ch-offer-desc {
    display: block;
    margin-top: 3px;
    font-size: 13px;
    line-height: 1.35;
    color: #67594d;
}

.ch-offer-price {
    align-self: center;
    white-space: nowrap;
    font-size: 16px;
    font-weight: 850;
    color: #247a37;
}

@media (max-width: 544px) {
    .ch-offer-card {
        grid-template-columns: 24px minmax(0, 1fr) !important;
    }
    .ch-offer-price {
        grid-column: 2 !important;
        justify-self: start !important;
    }
}

/* Cart page offer section */
.woocommerce-cart .cart_totals .ch-offer-section {
    margin: 0 0 16px !important;
}
.woocommerce-cart .cart_totals .ch-offer-card {
    grid-template-columns: 24px minmax(0, 1fr) auto !important;
}
