/* "Added to cart" sheet (plugin cuddlepaws-checkout, includes/sheet.php). A sheet from the bottom on phones,
   a panel on the right on wide screens. Colours and sizes are the theme's own tokens. */
.cps-back{position:fixed;inset:0;z-index:9998;background:rgba(12,22,36,.5);animation:cps-fade .18s ease-out}
.cps{--navy:var(--cp-navy,#003662);--action:var(--cp-action,#d9480f);--ink:var(--cp-heading,#16202b);--soft:var(--cp-caption,#6b7280);--line:var(--cp-line,#e6e9ee);--mist:var(--cp-mist,#f7f8fa);--green:var(--cp-green,#1f7a3f);
	position:fixed;left:0;right:0;bottom:0;z-index:9999;background:#fff;color:var(--ink);border-radius:22px 22px 0 0;padding:10px 20px calc(20px + env(safe-area-inset-bottom));
	box-shadow:0 -10px 40px rgba(0,20,40,.25);font-size:15px;line-height:1.4;animation:cps-up .22s ease-out;max-height:92vh;overflow:auto}
.cps svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.cps-grab{width:40px;height:4px;border-radius:99px;background:#d5dbe2;margin:0 auto 16px}
.cps-head{display:flex;align-items:center;gap:10px;font-size:17px}
.cps-ok{width:24px;height:24px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;flex:none}
.cps-item{display:flex;gap:12px;align-items:center;margin-top:14px}
.cps-item img{width:52px;height:52px;object-fit:contain;border-radius:10px;background:var(--mist);flex:none}
.cps-item__text{flex:1;min-width:0}
.cps-item__name{font-weight:600;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.cps-item__meta{color:var(--soft);font-size:13px}
.cps-item__meta:empty{display:none}
.cps-price{font-weight:700;font-variant-numeric:tabular-nums}
.cps-free{margin:16px 0 0;font-size:13px}
.cps-track{height:5px;border-radius:99px;background:#eef1f4;margin-top:8px;overflow:hidden}
.cps-track i{display:block;height:100%;background:var(--green);border-radius:99px}
.cps-btn{display:flex;align-items:center;justify-content:center;height:54px;margin-top:18px;border-radius:12px;background:var(--action);color:#fff;font-weight:700;font-size:16px;text-decoration:none;font-variant-numeric:tabular-nums}
.cps-btn:hover{background:var(--cp-action-hover,#bf3f0c);color:#fff}
.cps-btn span{font-weight:500;opacity:.9;white-space:pre}
.cps-keep{all:unset;box-sizing:border-box;display:block;width:100%;text-align:center;margin-top:8px;padding:12px;color:var(--navy);font-weight:600;cursor:pointer;border-radius:10px}
.cps-btn:focus-visible,.cps-keep:focus-visible{outline:3px solid rgba(0,54,98,.35);outline-offset:2px}
html.cps-open{overflow:hidden}
@keyframes cps-up{from{transform:translateY(24px);opacity:0}to{transform:none;opacity:1}}
@keyframes cps-fade{from{opacity:0}to{opacity:1}}
@media (min-width:900px){
	.cps{left:auto;top:0;width:420px;border-radius:0;padding:28px 24px 24px;box-shadow:-12px 0 40px rgba(0,20,40,.25);animation-name:cps-in;max-height:none}
	.cps-grab{display:none}
	@keyframes cps-in{from{transform:translateX(24px);opacity:0}to{transform:none;opacity:1}}
}
@media (prefers-reduced-motion:reduce){.cps,.cps-back{animation:none}}
