/* The cards stay unchanged; only their purchase control switches state. */
.freshup-catalog-purchase > a[hidden], .freshup-catalog-quantity[hidden] { display:none!important; }
.freshup-catalog-purchase[aria-busy="true"] { opacity:.65; }
.freshup-catalog-quantity { display:grid; grid-template-columns:52px minmax(0,1fr) 52px; align-items:center; width:100%; min-height:44px; background:#fff; border:1px solid #bbc1c1; border-radius:5px; color:#222; overflow:hidden; }
.freshup-catalog-quantity button { display:flex; align-items:center; justify-content:center; width:52px; min-height:44px; padding:0!important; border:0; border-radius:0; background:transparent; color:#222; font:700 27px/1 Lato,Arial,sans-serif; cursor:pointer; touch-action:manipulation; }
.freshup-catalog-quantity button:hover { background:#f3f6ef; color:#0e6b75; }
.freshup-catalog-quantity button:disabled { opacity:.35; cursor:default; }
.freshup-catalog-quantity button:focus-visible { outline:2px solid #0e6b75; outline-offset:-3px; }
.freshup-catalog-quantity__value { text-align:center; font:700 19px/1.2 Lato,Arial,sans-serif; font-variant-numeric:tabular-nums; }
.freshup-cart-toasts { position:fixed; top:10px; right:10px; z-index:100001; display:grid; width:min(390px,calc(100vw - 20px)); padding-bottom:24px; pointer-events:none; }
.freshup-cart-toast { position:relative; grid-area:1/1; display:flex; align-items:center; gap:12px; padding:14px 14px 14px 16px; border-left:4px solid #b5e354; border-radius:6px; box-shadow:0 4px 20px #0002; background:#fff; color:#0e6b75; font:600 14px/1.4 Lato,Arial,sans-serif; transform-origin:top center; pointer-events:none; }
.freshup-cart-toast:nth-child(1) { z-index:4; transform:translateY(0); pointer-events:auto; }
.freshup-cart-toast:nth-child(2) { z-index:3; transform:translateY(8px) scale(.985); }
.freshup-cart-toast:nth-child(3) { z-index:2; transform:translateY(16px) scale(.97); }
.freshup-cart-toast:nth-child(4) { z-index:1; transform:translateY(24px) scale(.955); }
.freshup-cart-toast.is-error { border-left-color:#b64735; }
.freshup-cart-toast > span { flex:1; }
.freshup-cart-toast > button { flex:0 0 32px; height:32px; border:0; padding:0; background:none; color:inherit; font:400 24px/1 Arial,sans-serif; cursor:pointer; }
.freshup-catalog-cart-bar { position:fixed; right:50%; bottom:max(12px,env(safe-area-inset-bottom,0px)); z-index:100000; display:grid; grid-template-columns:minmax(0,1fr) minmax(190px,1fr); gap:8px; width:min(720px,calc(100vw - 32px)); min-height:54px; padding:6px; border:1px solid rgba(14,107,117,.18); border-radius:10px; box-shadow:0 6px 26px rgba(14,107,117,.2); background:#fff; transform:translateX(50%); }
.freshup-catalog-cart-bar[hidden] { display:none!important; }
.freshup-catalog-cart-bar__summary,.freshup-catalog-cart-bar__checkout { min-width:0; min-height:42px; margin:0; border:0; border-radius:6px; font-family:Lato,Arial,sans-serif; }
.freshup-catalog-cart-bar__summary { display:flex; align-items:center; gap:9px; padding:3px 10px; background:#f6f3e9; color:#0e6b75; text-align:left; cursor:pointer; touch-action:manipulation; }
.freshup-catalog-cart-bar__count { display:grid; place-items:center; flex:0 0 30px; height:30px; border-radius:50%; background:#b5e354; color:#0e6b75; font-size:14px; font-weight:800; font-variant-numeric:tabular-nums; }
.freshup-catalog-cart-bar__copy { display:flex; flex-direction:column; justify-content:center; gap:1px; min-width:0; font-size:13px; line-height:1.15; }
.freshup-catalog-cart-bar__copy strong { color:#0e6b75; font-size:14px; white-space:nowrap; }
.freshup-catalog-cart-bar__copy > span { color:#53676a; white-space:nowrap; }
.freshup-catalog-cart-bar__total { margin-left:auto; color:#0e6b75; font-size:16px; font-weight:800; line-height:1.1; white-space:nowrap; font-variant-numeric:tabular-nums; }
.freshup-catalog-cart-bar__checkout { display:flex; align-items:center; justify-content:center; padding:6px 14px; background:#b5e354; color:#0e6b75!important; font-size:14px; font-weight:800; line-height:1.1; text-align:center; text-transform:uppercase; touch-action:manipulation; }
.freshup-catalog-cart-bar__summary:hover,.freshup-catalog-cart-bar__summary:focus-visible { background:#eef0e6; color:#0e6b75; }
.freshup-catalog-cart-bar__checkout:hover,.freshup-catalog-cart-bar__checkout:focus-visible { background:#a7d844; color:#0e6b75!important; }
.freshup-catalog-cart-bar__summary:focus-visible,.freshup-catalog-cart-bar__checkout:focus-visible { outline:2px solid #0e6b75; outline-offset:2px; }
body.freshup-catalog-cart-bar-visible { padding-bottom:86px; }
@media(max-width:767px) {
    .freshup-cart-toasts { top:10px; right:10px; width:calc(100vw - 20px); }
    .freshup-cart-toast { padding:11px 10px 11px 13px; font-size:13px; }
    .freshup-catalog-cart-bar { bottom:max(8px,env(safe-area-inset-bottom,0px)); grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr); gap:5px; width:calc(100vw - 16px); min-height:50px; padding:5px; border-radius:9px; }
    .freshup-catalog-cart-bar__summary,.freshup-catalog-cart-bar__checkout { min-height:40px; }
    .freshup-catalog-cart-bar__summary { gap:7px; padding:2px 7px; }
    .freshup-catalog-cart-bar__count { flex-basis:28px; height:28px; font-size:13px; }
    .freshup-catalog-cart-bar__copy { display:block; font-size:11px; }
    .freshup-catalog-cart-bar__copy strong,.freshup-catalog-cart-bar__copy > span { display:block; overflow:hidden; text-overflow:ellipsis; font-size:12px; }
	.freshup-catalog-cart-bar__total { font-size:14px; }
    .freshup-catalog-cart-bar__checkout { padding:5px 7px; font-size:12px; }
    body.freshup-catalog-cart-bar-visible { padding-bottom:calc(72px + env(safe-area-inset-bottom,0px)); }
}
