/* ElektrikPark public %40 discount visibility */
.ep40-card{font-family:inherit;background:linear-gradient(135deg,#fffaf0 0%,#ffffff 100%);border:1px solid rgba(17,34,51,.12);border-radius:18px;padding:12px;box-shadow:0 12px 30px rgba(10,25,42,.08);margin:10px 0;display:grid;gap:10px;color:#0e1b2b;clear:both}.ep40-card *{box-sizing:border-box}.ep40-card__top{display:grid;grid-template-columns:1fr auto 1.25fr;gap:8px;align-items:stretch}.ep40-cell{background:#fff;border:1px solid rgba(17,34,51,.10);border-radius:13px;padding:9px 10px;min-width:0}.ep40-cell span{display:block;font-size:11px;line-height:1.15;letter-spacing:.08em;text-transform:uppercase;font-weight:900;color:#66717f;margin-bottom:5px}.ep40-list s{display:block;color:#6d7580;font-size:14px;font-weight:850;text-decoration-thickness:2px;text-decoration-color:#a23b2a;white-space:nowrap}.ep40-discount{background:#073db8!important;color:#fff!important;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;min-width:82px}.ep40-discount span{color:rgba(255,255,255,.78);margin:0 0 5px}.ep40-discount strong{font-size:22px;line-height:1;font-weight:950;color:#fff}.ep40-net{background:#101b17!important;color:#fff!important;border-color:#101b17!important}.ep40-net span{color:#f2d68e}.ep40-net strong{display:block;color:#fff;font-size:20px;line-height:1.05;font-weight:950;white-space:nowrap}.ep40-card__meta{display:flex;gap:8px;flex-wrap:wrap}.ep40-meta-pill{border-radius:999px;background:#f2f5f7;border:1px solid rgba(17,34,51,.08);padding:7px 10px;font-size:12px;line-height:1.2;color:#263441;font-weight:850}.ep40-meta-pill strong{font-weight:950}.ep40-card--compact{padding:10px;border-radius:15px}.ep40-card--compact .ep40-card__top{grid-template-columns:1fr auto}.ep40-card--compact .ep40-net{grid-column:1 / -1}.ep40-card--compact .ep40-net strong{font-size:18px}.ep40-processed .product_price,.ep40-processed .o_wsale_product_price,.ep40-processed .oe_product_price,.ep40-processed .ep-price-row{display:none!important}.ep40-cart-note{border:1px solid rgba(7,61,184,.18);border-left:5px solid #073db8;background:#f5f8ff;border-radius:18px;padding:14px 16px;margin:12px 0;color:#0e1b2b;box-shadow:0 10px 26px rgba(10,25,42,.06)}.ep40-cart-note strong{display:block;font-size:15px;margin-bottom:4px}.ep40-cart-note span{display:block;font-size:13px;color:#445365;line-height:1.45}.ep40-line-badge{display:inline-flex;align-items:center;gap:6px;border-radius:999px;background:#f5f8ff;border:1px solid rgba(7,61,184,.18);color:#073db8;font-size:12px;font-weight:900;padding:5px 8px;margin-top:5px}.ep40-home-products .ep-price-row{display:none!important}@media(max-width:767px){.ep40-card__top{grid-template-columns:1fr}.ep40-discount{min-width:0}.ep40-net strong{font-size:18px}.ep40-list s{white-space:normal}.ep40-card{border-radius:16px;padding:10px}}


/* v17.1.4 - readable price card, no explanatory meta text */
.ep40-card{width:100%!important;max-width:100%!important;overflow:visible!important;}
.ep40-card__top{grid-template-columns:minmax(0,1fr) 76px!important;gap:8px!important;}
.ep40-net{grid-column:1 / -1!important;}
.ep40-net strong{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;word-break:normal!important;overflow-wrap:break-word!important;font-size:clamp(17px,3.8vw,22px)!important;line-height:1.18!important;}
.ep40-list s{white-space:normal!important;overflow-wrap:break-word!important;}
.ep40-card__meta,.ep40-meta-pill,.ep40-cart-note,.ep40-line-badge{display:none!important;}
.ep40-cell{min-height:58px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;}
.ep40-discount{min-width:0!important;width:76px!important;}
.ep40-discount strong{font-size:20px!important;}
.ep40-card--compact .ep40-card__top{grid-template-columns:minmax(0,1fr) 70px!important;}
.ep40-card--compact .ep40-net strong{font-size:17px!important;}
@media(max-width:480px){.ep40-card__top,.ep40-card--compact .ep40-card__top{grid-template-columns:1fr!important}.ep40-discount{width:100%!important}.ep40-net{grid-column:auto!important}}


/* v17.1.5 - do not duplicate homepage module cards */
.ep-product:has(.ep-public40-home-price) .ep40-card,.ep-all-product:has(.ep-public40-home-price) .ep40-card{display:none!important;}


/* v17.1.6 - B2B users must not see public %40 cards */
body:has(#ep-discount-context[data-b2b="1"]) .ep40-card,
body:has(#ep-discount-context[data-b2b="1"]) .ep40-cart-note,
body:has(#ep-discount-context[data-b2b="1"]) .ep40-line-badge{display:none!important;}
.ep-product:has(.ep-account-price-card) .ep40-card,
.ep-all-product:has(.ep-account-price-card) .ep40-card{display:none!important;}


/* v17.1.7: B2B strict guard - public %40 card must never appear in B2B sessions. */
body:has(#noche-b2b-pricelist-session) .ep40-card,
body:has(#noche-b2b-pricelist-session) .ep40-cart-note,
body:has(#noche-b2b-pricelist-session) .ep40-line-badge{display:none!important;}
body:has(.noche-b2b-price-data) .ep40-card,
body:has([data-noche-rendered-price]) .ep40-card{display:none!important;}
