.efrc-benefits{
  --efrc-dark:#101114;
  --efrc-text:#252a30;
  --efrc-muted:#65707b;
  --efrc-line:#dce3e6;
  --efrc-soft:#f7f9f8;
  --efrc-accent:#00ac2c;
  box-sizing:border-box;
  width:100%;
  margin:18px auto 22px;
  padding:20px;
  border:1px solid #cfd9d3;
  border-top:4px solid var(--efrc-accent);
  border-radius:16px;
  background:linear-gradient(180deg,#ffffff 0%,#fbfdfb 100%);
  box-shadow:0 12px 32px rgba(16,17,20,.07);
  color:var(--efrc-text);
}
.efrc-benefits *{box-sizing:border-box}
.efrc-benefits__header{display:flex;align-items:center;gap:13px;margin-bottom:16px}
.efrc-benefits__header-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:12px;background:var(--efrc-dark);color:#fff;box-shadow:0 8px 18px rgba(16,17,20,.14)}
.efrc-benefits__header-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.efrc-benefits__eyebrow{display:block;margin-bottom:3px;color:#078629;font-size:10px;font-weight:900;letter-spacing:.13em;line-height:1.2}
.efrc-benefits h2{margin:0 0 3px!important;color:var(--efrc-dark)!important;font-size:20px!important;line-height:1.2!important;font-weight:850!important;letter-spacing:-.02em}
.efrc-benefits__header p{margin:0!important;color:var(--efrc-muted)!important;font-size:12px!important;line-height:1.45!important}
.efrc-benefits__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.efrc-benefit-card{display:flex;align-items:flex-start;gap:11px;min-width:0;padding:14px;border:1px solid var(--efrc-line);border-radius:12px;background:#fff}
.efrc-benefit-card--gift,.efrc-benefit-card--coupon.is-applied{border-color:#bfe0c7;background:#f1faf3}
.efrc-benefit-card__icon{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:10px;background:#f4f6f5;color:var(--efrc-dark);border:1px solid #e0e5e3}
.efrc-benefit-card--gift .efrc-benefit-card__icon,.efrc-benefit-card--coupon.is-applied .efrc-benefit-card__icon{background:#fff;color:#078629;border-color:#cfe7d5}
.efrc-benefit-card__icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.efrc-benefit-card>div{min-width:0}
.efrc-benefit-card strong{display:block;margin:0 0 3px;color:var(--efrc-dark);font-size:13px;line-height:1.35;font-weight:850}
.efrc-benefit-card span{display:block;color:var(--efrc-text);font-size:11.7px;line-height:1.42;overflow-wrap:anywhere}
.efrc-benefit-card small{display:block;margin-top:4px;color:var(--efrc-muted);font-size:10.5px;line-height:1.42}
.efrc-benefits__legal{margin:11px 1px 0!important;color:#76808a!important;font-size:10px!important;line-height:1.45!important}
.efrc-benefits--checkout{margin:16px 0 18px;padding:18px}
.efrc-benefits--checkout h2{font-size:18px!important}
.efrc-consent-field{margin:6px 0 0!important;padding:0!important;border:0!important;background:transparent!important}
.efrc-consent-field label{display:flex!important;align-items:flex-start;gap:8px;font-size:10.5px!important;line-height:1.4!important;color:#66707a!important}
.efrc-consent-field input{margin-top:2px!important;flex:0 0 auto;accent-color:var(--efrc-accent)}
.efrc-capture-status{display:block;margin-top:5px;color:#18753a;font-size:10.5px;line-height:1.35}
.efrc-capture-status.is-error{color:#996515}
.efrc-free{color:#18753a;font-weight:850}
.efrc-gift-name{display:inline-block;color:#18753a;font-weight:750}
.efrc-gift-qty{display:inline-grid;place-items:center;min-width:32px;height:32px;border-radius:8px;background:#f1f3f4;font-weight:700}
.efrc-block-gift-item{padding:12px!important;border:1px solid #cfe8d5!important;border-radius:12px!important;background:#f5faf6!important}
.efrc-block-gift-item .wc-block-components-product-name{color:#17211a!important;font-weight:800!important}
.efrc-block-gift-item .wc-block-components-quantity-selector{pointer-events:none;opacity:.72}
.efrc-block-gift-item .wc-block-cart-item__remove-link{display:none!important}
.efrc-block-gift-item .wc-block-components-product-metadata__description{color:#657069}
body.efrc-cart .wp-block-woocommerce-cart + .efrc-benefits,
body.efrc-cart .cart-collaterals + .efrc-benefits{margin-top:18px}
body.efrc-checkout .place-order > .efrc-benefits{margin-top:14px}
@media(max-width:900px){
  .efrc-benefits__grid{grid-template-columns:1fr}
}
@media(max-width:767px){
  .efrc-benefits{margin:12px 0 16px;padding:14px;border-radius:12px;box-shadow:none}
  .efrc-benefits__header{gap:10px;margin-bottom:11px}
  .efrc-benefits__header-icon{flex-basis:34px;width:34px;height:34px;border-radius:10px}
  .efrc-benefits h2{font-size:17px!important}
  .efrc-benefits__header p{font-size:11px!important}
  .efrc-benefits__grid{gap:7px}
  .efrc-benefit-card{padding:10px}
}


/* EFRC 1.3.2 — benefit visibility, concise gifts and automatic saving */
.efrc-consent-field{display:none!important}
.efrc-capture-status:not(.is-error){display:none!important}
.efrc-block-gift-item .wc-block-components-product-metadata,
.efrc-block-gift-item .wc-block-components-product-details,
.efrc-block-gift-item .wc-block-components-product-metadata__description{display:none!important}
.efrc-block-gift-item{border-left:4px solid var(--efrc-accent)!important}
.efrc-coupon-row-applied{flex-wrap:wrap!important}
.efrc-coupon-row-note{display:flex!important;align-items:center!important;gap:6px!important;flex-basis:100%!important;margin-top:6px!important;color:#087c26!important;font-size:10.8px!important;line-height:1.35!important}
.efrc-coupon-row-note>span{display:inline-grid;place-items:center;width:17px;height:17px;border-radius:50%;background:#e8f7ec;font-weight:900}
body.efrc-cart .efcx-cart-intro + .efrc-benefits,
body.efrc-checkout .efcx-checkout-intro + .efrc-benefits{margin-top:14px!important;margin-bottom:22px!important}
@media(max-width:900px){.efrc-benefits__grid{grid-template-columns:1fr}}
@media(max-width:767px){
  .efrc-benefits{margin:12px 0 16px;padding:15px;border-radius:13px;box-shadow:none}
  .efrc-benefits__header{gap:10px;margin-bottom:12px}
  .efrc-benefits__header-icon{flex-basis:36px;width:36px;height:36px;border-radius:10px}
  .efrc-benefits h2{font-size:17px!important}
  .efrc-benefits__header p{font-size:11px!important}
  .efrc-benefits__grid{gap:8px}
  .efrc-benefit-card{padding:11px}
}


/* EFRC 1.3.3 — preserve form priority and reinforce benefits after the action */
.efrc-benefits--checkout.efrc-benefits--compact{
  margin:16px 0 0;
  padding:14px 15px;
  border:1px solid #d7e2dc;
  border-left:4px solid var(--efrc-accent);
  border-top-width:1px;
  border-radius:12px;
  background:#fbfdfb;
  box-shadow:none;
}
.efrc-benefits-compact__heading{display:flex;align-items:center;gap:10px;margin-bottom:11px}
.efrc-benefits-compact__mark{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:9px;background:var(--efrc-dark);color:#fff}
.efrc-benefits-compact__mark svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.efrc-benefits-compact__heading>span:last-child{display:flex;flex-direction:column;gap:1px;min-width:0}
.efrc-benefits-compact__heading strong{color:var(--efrc-dark);font-size:13px;line-height:1.3;font-weight:850}
.efrc-benefits-compact__heading small{color:var(--efrc-muted);font-size:10.5px;line-height:1.35}
.efrc-benefits-compact__items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.efrc-benefits-compact__item{display:flex;align-items:center;gap:8px;min-width:0;padding:9px 10px;border:1px solid #e0e6e3;border-radius:10px;background:#fff}
.efrc-benefits-compact__item>span{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:8px;background:#f2f5f3;color:#20252a}
.efrc-benefits-compact__item>span svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.efrc-benefits-compact__item p{min-width:0;margin:0!important}
.efrc-benefits-compact__item strong{display:block;color:var(--efrc-dark);font-size:11.2px;line-height:1.3;font-weight:850}
.efrc-benefits-compact__item small{display:block;margin-top:1px;color:var(--efrc-muted);font-size:9.8px;line-height:1.35;overflow-wrap:anywhere}
.efrc-benefits-compact__item--gift,.efrc-benefits-compact__item--coupon.is-applied{border-color:#c9e2cf;background:#f4faf5}
.efrc-benefits-compact__item--gift>span,.efrc-benefits-compact__item--coupon.is-applied>span{background:#fff;color:#087c26}
body.efrc-checkout .efcx-checkout-intro + .efrc-benefits{margin-top:0!important}
body.efrc-checkout form.checkout>.efrc-benefits--checkout{width:100%;clear:both}
body.efrc-checkout form.efcx-step-1>.efrc-benefits--checkout,
body.efrc-checkout form.efcx-step-2>.efrc-benefits--checkout{margin-top:16px!important}
body.efrc-checkout .place-order>.efrc-benefits--checkout{margin:0 0 12px!important;padding:12px;border-left-width:3px}
body.efrc-checkout .place-order>.efrc-benefits--checkout .efrc-benefits-compact__heading{margin-bottom:8px}
body.efrc-checkout .place-order>.efrc-benefits--checkout .efrc-benefits-compact__heading small{display:none}
body.efrc-checkout .place-order>.efrc-benefits--checkout .efrc-benefits-compact__items{gap:6px}
body.efrc-checkout .place-order>.efrc-benefits--checkout .efrc-benefits-compact__item{padding:8px;border-radius:9px}
body.efrc-checkout .place-order>.efrc-benefits--checkout .efrc-benefits-compact__item small{font-size:9.2px}
@media(max-width:820px){
  .efrc-benefits-compact__items{grid-template-columns:1fr}
  .efrc-benefits--checkout.efrc-benefits--compact{padding:13px}
}
@media(max-width:767px){
  .efrc-benefits--checkout.efrc-benefits--compact{margin-top:14px;padding:12px;border-radius:11px}
  .efrc-benefits-compact__heading{margin-bottom:9px}
  .efrc-benefits-compact__heading small{font-size:10px}
  .efrc-benefits-compact__item{padding:8px 9px}
}


/* EFRC 1.3.4 — one benefit block, below cart, and native coupon totals */
.efrc-coupon-row-note,
.efcx-discount-confirmation{display:none!important}
body.efrc-cart .wp-block-woocommerce-cart + .efrc-benefits,
body.efrc-cart .woocommerce-cart-form + .efrc-benefits,
body.efrc-cart .cart-collaterals + .efrc-benefits{
  margin-top:22px!important;
  margin-bottom:18px!important;
}
body.efrc-checkout [data-efrc-benefits] + [data-efrc-benefits]{display:none!important}
