/* Endrust Buy Table 1.3.0: sticky cart bar. px units only (the site's root font size is 10px). */
.erbt-cartbar{position:fixed;left:0;right:0;top:0;z-index:98;display:none;font-family:inherit;color:#fff;font-size:15px;line-height:1.3}
.erbt-cartbar.is-on{display:block}
.erbt-cartbar *{box-sizing:border-box}
.erbt-cb-inner{position:relative;z-index:1;background:#141414;box-shadow:0 6px 18px rgba(0,0,0,.18)}
.erbt-cb-row{max-width:1200px;margin:0 auto;min-height:56px;display:flex;align-items:center;gap:14px;padding:8px 24px}
.erbt-cb-grow{flex:1 1 auto}
.erbt-cartbar button{font-family:inherit;text-transform:none;letter-spacing:0;line-height:1;min-height:0;box-shadow:none;margin:0}
.erbt-cartbar .erbt-cb-sum{display:flex;align-items:center;gap:10px;background:transparent;border:0;color:#fff;padding:0;cursor:pointer;text-align:left}
.erbt-cartbar .erbt-cb-sum:hover,.erbt-cartbar .erbt-cb-sum:focus{background:transparent;color:#fff}
.erbt-cb-sumtxt{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.erbt-cb-sumtxt strong{font-size:15px;font-weight:700}
.erbt-cb-total{font-size:15px;font-weight:700}
.erbt-cb-total::before{content:"·";margin-right:8px;color:#9a9a9a}
.erbt-cb-hint{display:none}
.erbt-cb-flash{display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:4px 12px;border-radius:14px;background:#0F5A33;font-size:13px;font-weight:600;animation:erbt-cb-in .25s ease-out}
.erbt-cb-flash::before{content:"";width:12px;height:7px;border-left:2.5px solid #fff;border-bottom:2.5px solid #fff;transform:translateY(-2px) rotate(-45deg)}
.erbt-cb-flash.is-bad{background:#8A1414}
.erbt-cb-flash.is-bad::before{display:none}
@keyframes erbt-cb-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
.erbt-cartbar .erbt-cb-btn{display:inline-flex;align-items:center;justify-content:center;height:36px;padding:0 14px;border-radius:4px;font-size:14px;font-weight:700;text-decoration:none;white-space:nowrap;cursor:pointer;border:1px solid transparent;transition:background .15s,border-color .15s}
.erbt-cartbar .erbt-cb-ghost{background:transparent;border-color:#5A5A5A;color:#fff}
.erbt-cartbar .erbt-cb-ghost:hover,.erbt-cartbar .erbt-cb-ghost:focus{background:#2a2a2a;border-color:#8a8a8a;color:#fff}
.erbt-cartbar .erbt-cb-outline{background:transparent;border-color:#fff;color:#fff}
.erbt-cartbar .erbt-cb-outline:hover,.erbt-cartbar .erbt-cb-outline:focus{background:#fff;color:#141414}
.erbt-cartbar .erbt-cb-red{background:#DB1B1B;color:#fff;padding:0 16px}
.erbt-cartbar .erbt-cb-red:hover,.erbt-cartbar .erbt-cb-red:focus{background:#B31515;color:#fff}

/* items panel (desktop: drops down under the bar) */
.erbt-cb-panel{background:#fff;color:#141414;border-bottom:1px solid #E3E3E3;box-shadow:0 10px 24px rgba(0,0,0,.18);max-height:calc(100vh - 160px);overflow:auto;padding:6px max(24px,calc((100% - 1152px)/2)) 16px}
.erbt-cb-item{display:grid;grid-template-columns:48px minmax(0,1fr) 92px 110px 32px;gap:14px;align-items:center;padding:10px 0;border-bottom:1px solid #EEEEEE;transition:opacity .15s}
.erbt-cb-item.is-busy{opacity:.5;pointer-events:none}
.erbt-cb-img{width:48px;height:48px;border-radius:4px;background:#F2F2F2;overflow:hidden;display:block}
.erbt-cb-img img{width:100%;height:100%;object-fit:contain;display:block}
.erbt-cb-name{display:flex;flex-direction:column;gap:2px;min-width:0}
.erbt-cb-name strong{font-size:15px;font-weight:700;color:#141414}
.erbt-cb-name span{font-size:13px;color:#666}
.erbt-cb-qty{display:inline-flex;border:1px solid #D4D4D4;border-radius:4px;overflow:hidden;height:32px;width:92px;background:#fff}
.erbt-cartbar .erbt-cb-qty button{width:28px;height:30px;border:0;border-radius:0;background:#F4F4F4;color:#141414;font-size:15px;font-weight:700;padding:0;cursor:pointer}
.erbt-cartbar .erbt-cb-qty button:hover,.erbt-cartbar .erbt-cb-qty button:focus{background:#E6E6E6;color:#141414}
.erbt-cb-qty span{flex:1;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;color:#141414}
.erbt-cb-line{font-size:15px;font-weight:800;text-align:right;color:#141414}
.erbt-cartbar .erbt-cb-rm{width:32px;height:32px;border:0;border-radius:16px;background:#F4F4F4;color:#555;font-size:16px;padding:0;cursor:pointer}
.erbt-cartbar .erbt-cb-rm:hover,.erbt-cartbar .erbt-cb-rm:focus{background:#FBE3E3;color:#DB1B1B}
.erbt-cb-foot{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px 18px;padding-top:12px}
.erbt-cb-note{font-size:13px;color:#777}
.erbt-cb-foot strong{font-size:17px;font-weight:800;color:#141414}
.erbt-cb-phead,.erbt-cb-full{display:none}
.erbt-cb-spacer{height:0;transition:height .2s}

/* Added-to-cart tick on the row's button */
.erbt-add.is-added{background:#0F5A33 !important;border-color:#0F5A33 !important}

/* Phones: bar at the bottom, items slide up */
@media (max-width:767px){
	.erbt-cartbar{top:auto !important;bottom:0}
	.erbt-cb-inner{display:flex;flex-direction:column-reverse;box-shadow:0 -4px 14px rgba(0,0,0,.2)}
	.erbt-cb-row{min-height:64px;padding:10px 12px;gap:10px}
	.erbt-cb-sum{flex:1 1 auto;min-width:0}
	.erbt-cb-grow{display:none}
	.erbt-cb-sumtxt{flex-direction:column;align-items:flex-start;gap:2px}
	.erbt-cb-sumtxt strong{font-size:14px}
	.erbt-cb-total{display:inline;font-size:12px;font-weight:400;color:#CFCFCF}
	.erbt-cb-total::before{display:none}
	.erbt-cb-hint{display:inline;font-size:12px;color:#CFCFCF}
	.erbt-cb-sumtxt{display:grid;grid-template-columns:auto auto;justify-content:start;column-gap:6px}
	.erbt-cb-sumtxt strong{grid-column:1 / -1}
	.erbt-cb-hint::before{content:"· ";}
	.erbt-cb-flash{position:absolute;left:12px;bottom:72px;max-width:calc(100% - 24px)}
	.erbt-cb-panel{border-radius:14px 14px 0 0;padding:14px 16px 12px;max-height:calc(100vh - 140px);box-shadow:none;border:0}
	.erbt-cb-phead{display:flex;justify-content:space-between;align-items:center;padding-bottom:6px}
	.erbt-cb-phead strong{font-size:16px;font-weight:800}
	.erbt-cartbar .erbt-cb-x{width:32px;height:32px;border:0;border-radius:16px;background:#F4F4F4;color:#141414;font-size:16px;padding:0}
	.erbt-cb-item{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"name line" "qty rm";gap:8px 10px;border-bottom:0;border-top:1px solid #EEEEEE}
	.erbt-cb-img{display:none}
	.erbt-cb-name{grid-area:name}
	.erbt-cb-line{grid-area:line;align-self:start}
	.erbt-cb-qty{grid-area:qty;width:104px;height:36px}
	.erbt-cartbar .erbt-cb-qty button{width:34px;height:34px;font-size:16px}
	.erbt-cartbar .erbt-cb-rm{grid-area:rm;justify-self:end;width:auto;height:auto;border-radius:0;background:transparent;color:#DB1B1B;font-size:13px;font-weight:700;text-decoration:underline}
	.erbt-cartbar .erbt-cb-rm:hover,.erbt-cartbar .erbt-cb-rm:focus{background:transparent}
	.erbt-cb-foot{justify-content:space-between;border-top:1px solid #E3E3E3;padding-top:10px}
	.erbt-cb-foot strong{font-size:16px}
	.erbt-cartbar .erbt-cb-full{display:flex;margin-top:10px;height:40px;border-color:#141414;color:#141414}
	.erbt-cartbar .erbt-cb-red{height:44px;padding:0 18px;font-size:15px}
	.erbt-cb-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.45)}
	body.erbt-cartbar-on{padding-bottom:64px}
}
@media (prefers-reduced-motion:reduce){.erbt-cb-flash{animation:none}.erbt-cb-spacer{transition:none}}
