/* Deliberately scoped: the existing theme and full WooCommerce checkout stay native. */
html.epc-cart-open{overflow:hidden}
#epc-cart,#epc-cart *{box-sizing:border-box}
#epc-cart{position:fixed;inset:0 0 0 auto;margin:0;width:490px;max-width:100%;height:100vh;height:100dvh;max-height:none;padding:0;border:0;border-left:1px solid #d8e2d9;background:#fafbf8;color:#183e34;box-shadow:-16px 0 60px #123f3512;font:14px/1.6 EpcInter,Arial,sans-serif;overscroll-behavior:contain}
#epc-cart:not([open]){display:none}
#epc-cart::backdrop{background:rgba(13,40,32,.32)}
.epc-cart-frame{height:100%;display:flex;flex-direction:column;min-height:0}
#epc-cart h2,#epc-cart h3,#epc-cart p{margin:0;color:inherit}
#epc-cart a{color:inherit;text-decoration:none;text-underline-offset:4px}
#epc-cart button,#epc-cart input{font:inherit;border-radius:0;box-shadow:none;text-transform:none;letter-spacing:normal}
#epc-cart button{cursor:pointer}
#epc-cart input{margin:0}
#epc-cart :focus-visible{outline:2px solid #087f68;outline-offset:3px}
.epc-cart-heading{display:flex;justify-content:space-between;gap:24px;align-items:center;padding:29px 30px 25px;border-bottom:1px solid #dce4dd;flex-shrink:0}
.epc-cart-heading p,.epc-cart-eyebrow{font-size:9px!important;font-weight:500;letter-spacing:.18em;line-height:1.6;color:#66766f!important;margin:0 0 10px!important}
.epc-cart-heading h2{font:500 32px/1.15 EpcManrope,Arial,sans-serif;letter-spacing:-.05em;display:flex;gap:13px;align-items:center}
.epc-cart-heading h2>span{display:flex;align-items:center;justify-content:center;min-width:24px;height:24px;background:#e9f0e6;font:12px/1 EpcInter,Arial,sans-serif;letter-spacing:0;padding:5px}
#epc-cart .epc-cart-close{width:44px;height:44px;min-height:44px;flex-shrink:0;display:grid;place-items:center;padding:10px;border:1px solid #d8e2d9;background:transparent;color:#183e34}
.epc-cart-close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.3}
.epc-cart-close:hover{background:#eaf1e7}
.epc-cart-feedback{font-size:11px;line-height:1.5;min-height:0;flex-shrink:0;background:#edf4e9;color:#386959}
.epc-cart-feedback:not(:empty){padding:12px 30px;border-bottom:1px solid #dce4dd}
.epc-cart-content{flex:1;min-height:0;display:flex;flex-direction:column;transition:opacity .16s}
.epc-cart-loading{padding:38px 30px;color:#66766f;font-size:13px}
.epc-cart-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 30px;scrollbar-width:thin;scrollbar-color:#b5c8b9 transparent}
.epc-cart-items{list-style:none!important;display:block!important;padding:0!important;margin:0!important}
.epc-cart-item{display:grid!important;grid-template-columns:90px minmax(0,1fr);gap:21px;padding:25px 0!important;margin:0!important;border:0!important;border-bottom:1px solid #dce4dd!important;background:transparent!important;float:none!important;width:auto!important}
.epc-cart-image{width:90px;min-width:0;background:#edf2e9;align-self:start;aspect-ratio:4/5}
.epc-cart-image img{display:block!important;width:100%!important;height:100%!important;max-height:125px;object-fit:contain;margin:0!important;float:none!important}
.epc-cart-image a{display:block;height:100%}
.epc-cart-product{min-width:0;padding-top:3px}
.epc-cart-product h3{font:500 17px/1.4 EpcManrope,Arial,sans-serif;letter-spacing:-.03em;overflow-wrap:anywhere;margin:0 0 8px!important}
.epc-cart-product h3 a:hover{color:#087f68}
.epc-cart-product .variation{font-size:11px;margin:4px 0 11px!important;color:#66766f;line-height:1.6}
.epc-cart-product .variation dt,.epc-cart-product .variation dd{display:inline;margin:0 4px 0 0;float:none;border:0;padding:0}
.epc-cart-product .variation p{display:inline}
.epc-cart-item-note{font-size:10px!important;line-height:1.7;color:#66766f!important;margin:0 0 12px!important}
.epc-cart-line-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:14px}
.epc-cart-quantity{display:flex;align-items:center;border:1px solid #d5dfd3;height:39px;background:#fafbf8}
#epc-cart .epc-cart-quantity button{width:34px;height:37px;min-height:0;min-width:0;background:transparent;border:0;padding:4px;color:#183e34;font:18px/1 EpcInter,Arial,sans-serif}
#epc-cart .epc-cart-quantity input{width:34px;height:37px!important;min-height:0;min-width:0;max-width:none;border:0!important;padding:0;text-align:center;font-size:12px;background:transparent;color:#183e34;appearance:textfield;-moz-appearance:textfield}
.epc-cart-quantity input::-webkit-inner-spin-button,.epc-cart-quantity input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.epc-cart-quantity button:hover{background:#e7efe2}
#epc-cart button:disabled{opacity:.35;cursor:default}
.epc-cart-line-price{font-size:14px;font-weight:500;color:#183e34;white-space:nowrap;line-height:1.5}
.epc-cart-line-price .amount{font:inherit!important;color:inherit!important;white-space:nowrap}
.epc-cart-fixed{font-size:11px;color:#66766f;min-height:39px;display:flex;align-items:center}
#epc-cart .epc-cart-remove{display:inline-block;padding:8px 0 0;margin-top:5px;min-height:30px;border:0;background:none;color:#66766f;text-decoration:underline;text-underline-offset:3px;font-size:10px;font-weight:400}
.epc-cart-remove:hover{color:#123f35}
.epc-cart-summary{flex-shrink:0;background:#edf3e9;border-top:1px solid #d8e2d6;padding:25px 30px calc(22px + env(safe-area-inset-bottom,0px))}
.epc-cart-subtotal{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:12px;line-height:1.4}
.epc-cart-subtotal>span{font-size:13px;font-weight:500}
.epc-cart-subtotal>strong{font:500 26px/1.2 EpcManrope,Arial,sans-serif;letter-spacing:-.04em;white-space:nowrap}
.epc-cart-subtotal .amount{font:inherit!important;color:inherit!important}
.epc-cart-summary>p{color:#66766f;font-size:11px;line-height:1.7;margin:0 0 18px;max-width:315px}
#epc-cart .epc-cart-primary{min-height:51px;display:flex;align-items:center;justify-content:space-between;gap:24px;width:100%;padding:15px 19px;background:#3c7e6b;border:1px solid #3c7e6b;color:#fff!important;font:500 12px/1.5 EpcInter,Arial,sans-serif;transition:background .15s}
.epc-cart-primary:hover{background:#285c4d!important;border-color:#285c4d!important}
.epc-cart-primary>span{font-size:17px}
.epc-cart-secondary{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:14px;flex-wrap:wrap}
#epc-cart .epc-cart-secondary button,.epc-cart-secondary a{background:transparent;border:0;padding:6px 0;color:#526a5d;font-size:10px;min-height:32px;font-weight:400;text-decoration:underline;text-underline-offset:4px}
.epc-cart-empty{padding:45px 30px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;flex:1;min-height:0}
.epc-cart-empty>svg{width:61px;height:61px;fill:none;stroke:#6c927d;stroke-width:1.1;margin:0 0 33px}
.epc-cart-empty h3{font:500 30px/1.2 EpcManrope,Arial,sans-serif;letter-spacing:-.05em;margin:3px 0 14px}
.epc-cart-empty>p:not(.epc-cart-eyebrow){color:#66766f;font-size:13px;line-height:1.8;max-width:290px;margin:0 0 29px}
.epc-cart-empty .epc-cart-primary{margin-top:4px}
.epc-cart-error{flex-shrink:0;padding:15px 30px;background:#f7eee5;color:#7d4529;border-top:1px solid #e7d6c7;font-size:12px;line-height:1.7;max-height:30vh;overflow:auto}
.epc-cart-error[hidden]{display:none!important}
.epc-cart-error a{text-decoration:underline;color:inherit}
.epc-cart-busy .epc-cart-content{opacity:.6}
.epc-cart-busy .epc-cart-primary,.epc-cart-busy [data-epc-cart-full]{pointer-events:none;opacity:.6}
@media(max-width:520px){#epc-cart{width:100%;border:0}.epc-cart-heading{padding:24px 22px 22px}.epc-cart-heading h2{font-size:30px}.epc-cart-feedback:not(:empty){padding:11px 22px}.epc-cart-scroll{padding:0 22px}.epc-cart-item{grid-template-columns:78px minmax(0,1fr);gap:17px;padding:23px 0!important}.epc-cart-image{width:78px}.epc-cart-product h3{font-size:17px}.epc-cart-line-bottom{gap:10px}#epc-cart .epc-cart-quantity{height:44px}#epc-cart .epc-cart-quantity button{height:42px;width:44px}#epc-cart .epc-cart-quantity input{height:42px!important;width:30px;font-size:16px}#epc-cart .epc-cart-remove{min-height:36px;padding-top:8px;font-size:11px}.epc-cart-line-price{font-size:13px}.epc-cart-summary{padding:23px 22px calc(16px + env(safe-area-inset-bottom,0px))}.epc-cart-subtotal>strong{font-size:25px}.epc-cart-secondary{gap:8px}#epc-cart .epc-cart-secondary button,.epc-cart-secondary a{min-height:40px;font-size:10px}.epc-cart-error{padding:14px 22px}.epc-cart-empty{padding:35px 25px}}
@media(max-height:540px){.epc-cart-heading{position:sticky;top:0;z-index:2;background:#fafbf8}.epc-cart-frame{display:block;overflow:auto}.epc-cart-heading{padding:15px 22px}.epc-cart-heading p{display:none}.epc-cart-heading h2{font-size:27px}.epc-cart-scroll{overflow:visible}.epc-cart-content{display:block}.epc-cart-summary{position:static;padding-top:18px;padding-bottom:15px}.epc-cart-empty{padding:30px 25px}.epc-cart-empty>svg{display:none}.epc-cart-error{max-height:none}}
@media(prefers-reduced-motion:no-preference){#epc-cart[open]{animation:epc-cart-enter .26s cubic-bezier(.2,.75,.25,1)}#epc-cart[open]::backdrop{animation:epc-cart-backdrop .2s ease-out}.epc-cart-feedback:not(:empty){animation:epc-cart-notice .18s ease-out}@keyframes epc-cart-enter{from{transform:translateX(100%)}to{transform:translateX(0)}}@keyframes epc-cart-backdrop{from{opacity:0}to{opacity:1}}@keyframes epc-cart-notice{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}}
@media(prefers-reduced-motion:reduce){#epc-cart,#epc-cart *,#epc-cart::backdrop{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
