/* EMP Survive cart: header bag, Add to cart button, "added" card, /cart/ page */
.emp-bag{position:relative}
.emp-bag[hidden]{display:none!important}
.emp-bag svg{width:22px;height:22px}
.emp-bag-n{position:absolute;top:4px;right:2px;min-width:19px;height:19px;padding:0 5px;border-radius:10px;background:#F59E0B;color:#0B1C2E;font:700 12px/19px "Barlow",system-ui,sans-serif;font-style:normal;text-align:center;display:none}
.emp-bag.has-items .emp-bag-n{display:block}
.emp-bag.is-bump svg{animation:empBagBump .5s cubic-bezier(.3,1.6,.5,1)}
.emp-bag.is-bump .emp-bag-n{animation:empCountPop .45s cubic-bezier(.3,1.8,.5,1) .12s both}
@keyframes empBagBump{0%{transform:none}30%{transform:translateY(-4px) rotate(-10deg) scale(1.12)}60%{transform:translateY(0) rotate(6deg)}100%{transform:none}}
@keyframes empCountPop{0%{transform:scale(.4)}60%{transform:scale(1.35)}100%{transform:scale(1)}}

/* Add to cart (under Buy now) */
.emp-add{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:50px;margin-top:10px;padding:0 18px;border:2px solid #14304F;border-radius:8px;background:#fff;color:#14304F;font:700 1.05rem/1 "Barlow Condensed","Arial Narrow",sans-serif;letter-spacing:.06em;text-transform:uppercase;cursor:pointer;transition:background-color .15s ease,color .15s ease}
.emp-add svg{width:20px;height:20px;flex:none}
.emp-add:hover{background:#14304F;color:#fff}
.emp-add.is-in{border-color:#15803D;color:#15803D}
.emp-add.is-in:hover{background:#15803D;color:#fff}
.emp-add:focus-visible,.emp-cart-btn:focus-visible,.emp-toast button:focus-visible,.emp-cart-rm:focus-visible{outline:3px solid #F59E0B;outline-offset:2px}
.emp-add-ic{display:inline-grid;place-items:center;width:46px;min-height:46px;flex:none;border:2px solid #14304F;border-radius:8px;background:#fff;color:#14304F;cursor:pointer}
.emp-add-ic svg{width:20px;height:20px}.emp-add-ic span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.emp-add-ic.is-in{border-color:#15803D;color:#15803D}

/* buttons shared by the card and the cart page */
.emp-cart-btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 18px;border-radius:8px;font:600 16px/1 "Barlow",system-ui,sans-serif;text-decoration:none;cursor:pointer;white-space:nowrap;border:2px solid transparent;width:100%}
.emp-cart-amber{background:#F59E0B;border-color:#F59E0B;color:#0B1C2E!important}
.emp-cart-amber:hover{background:#FBBF24;border-color:#FBBF24}
.emp-cart-line{background:#fff;border-color:#B9C6D3;color:#14304F!important}
.emp-cart-line:hover{border-color:#14304F}

/* the "added" card */
.emp-toast{position:fixed;z-index:200;top:84px;right:16px;width:340px;max-width:calc(100vw - 32px);background:#fff;color:#132134;border:1px solid #DCE3EA;border-top:4px solid #F59E0B;border-radius:12px;box-shadow:0 18px 44px rgba(11,28,46,.28);padding:14px;opacity:0;transform:translateY(-12px) scale(.98);pointer-events:none;transition:opacity .22s ease,transform .32s cubic-bezier(.2,.9,.3,1.2)}
.emp-toast.is-shown{opacity:1;transform:none;pointer-events:auto}
.emp-toast-head{display:flex;align-items:center;gap:8px;margin-bottom:10px}
.emp-toast-head b{font:700 18px/1.1 "Barlow Condensed","Arial Narrow",sans-serif;letter-spacing:.02em}
.emp-toast-ok{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#DCFCE7;color:#15803D;flex:none}
.emp-toast-ok svg{width:16px;height:16px}
.emp-toast-x{margin-left:auto;display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:8px;background:none;color:#47566A;cursor:pointer}
.emp-toast-x:hover{background:#EEF2F6}.emp-toast-x svg{width:18px;height:18px}
.emp-toast-item{display:flex;gap:12px;align-items:center;padding:10px;background:#F6F8FB;border-radius:10px}
.emp-toast-item img{width:56px;height:56px;object-fit:cover;border-radius:6px;flex:none;margin:0}
.emp-toast-item strong{display:block;font-weight:600;line-height:1.25}
.emp-toast-item span{display:block;color:#47566A;font-size:14px}
.emp-toast-acts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.emp-toast-acts form{margin:0}
@media (max-width:600px){.emp-toast{top:auto;bottom:12px;right:12px;left:12px;width:auto;max-width:none;transform:translateY(16px)}}
@media (prefers-reduced-motion:reduce){.emp-toast{transition:opacity .15s ease;transform:none}.emp-bag.is-bump svg,.emp-bag.is-bump .emp-bag-n{animation:none}}

/* the /cart/ page */
.emp-cart{max-width:980px;margin:0 auto;padding:8px 0 32px;color:#132134;font-size:17px;line-height:1.5}
.emp-cart [hidden]{display:none!important}
.emp-cart-h1{font:700 clamp(32px,4vw,44px)/1.05 "Barlow Condensed","Arial Narrow",sans-serif;margin:0 0 18px}
.emp-cart-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px;align-items:start}
.emp-cart-list ul{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.emp-cart-item{display:grid;grid-template-columns:80px minmax(0,1fr) auto;gap:16px;align-items:center;background:#fff;border:1px solid #DCE3EA;border-radius:14px;padding:14px;margin:0}
.emp-cart-thumb img{width:80px;height:80px;object-fit:cover;border-radius:8px;display:block;margin:0}
.emp-cart-title{font:700 21px/1.15 "Barlow Condensed","Arial Narrow",sans-serif;color:#132134;text-decoration:none}
.emp-cart-title:hover{text-decoration:underline}
.emp-cart-info span{display:block;color:#47566A;font-size:15px;margin-top:2px}
.emp-cart-rm{margin-top:6px;padding:0;border:0;background:none;color:#B91C1C;font:600 14px "Barlow",sans-serif;text-decoration:underline;cursor:pointer}
.emp-cart-price{font:700 22px/1 "Barlow Condensed",sans-serif}
.emp-cart-sum{position:sticky;top:90px;background:#fff;border:1px solid #DCE3EA;border-radius:14px;padding:18px}
.emp-cart-sum h2{font:700 24px/1 "Barlow Condensed",sans-serif;margin:0 0 12px}
.emp-cart-row{display:flex;justify-content:space-between;align-items:baseline;border-top:1px solid #DCE3EA;padding-top:12px}
.emp-cart-row strong{font:700 28px/1 "Barlow Condensed",sans-serif}
.emp-cart-small{color:#47566A;font-size:14px;margin:6px 0 14px}
.emp-cart-go{min-height:52px;font-size:18px}
.emp-cart-test{font-size:13px;color:#8A5300;margin:8px 0 0}
.emp-cart-trust{list-style:none;margin:14px 0 0;padding:12px 0 0;border-top:1px solid #DCE3EA;display:grid;gap:8px;font-size:14px;color:#47566A}
.emp-cart-trust li{display:flex;gap:8px;align-items:center;margin:0}
.emp-cart-trust svg{width:18px;height:18px;flex:none;color:#2A5C8F}
.emp-cart-empty{background:#fff;border:1px solid #DCE3EA;border-radius:14px;padding:36px 22px;text-align:center;grid-column:1/-1}
.emp-cart-empty svg{width:48px;height:48px;color:#2A5C8F}
.emp-cart-empty h2{font:700 28px/1.1 "Barlow Condensed",sans-serif;margin:8px 0 6px}
.emp-cart-empty p{color:#47566A;margin:0 auto 16px;max-width:40ch}
.emp-cart-empty .emp-cart-btn{width:auto}
.emp-cart-err{color:#B91C1C;font-weight:600;margin:0 0 12px}
@media (max-width:820px){.emp-cart-grid{grid-template-columns:1fr}.emp-cart-sum{position:static}}
@media (max-width:520px){.emp-cart-item{grid-template-columns:64px minmax(0,1fr);row-gap:6px}.emp-cart-thumb img{width:64px;height:64px}.emp-cart-price{grid-column:2}}
.emp-cart-grid:has(> .emp-cart-sum[hidden]){grid-template-columns:1fr}
.emp-shp-buy .emp-add{flex:1 1 100%;margin-top:0}

/* payment marks: "Secure checkout by Stripe" + cards and wallets (includes/paymarks.php) */
.emp-pay{margin:12px 0 0}
.emp-pay-by{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:0 0 8px;font-size:14px;color:#47566A;line-height:1.3}
.emp-pay-lock{width:16px;height:16px;flex:none;color:#2A5C8F}
.emp-pay-stripe{display:inline-flex;align-items:center;gap:3px;font-weight:700;color:#635BFF;letter-spacing:-.01em}
.emp-pay-stripe svg{width:14px;height:14px}
.emp-pay-marks{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.emp-pay-marks li{display:grid;place-items:center;width:50px;height:32px;margin:0;padding:0;background:#fff;border:1px solid #DCE3EA;border-radius:6px}
.emp-pay-marks li::before{content:none}
.emp-pay-marks svg{width:38px;height:26px}
.emp-pay-pp{margin:14px 0 4px}
