/**
 * HBJ liquid-glass cart.
 * All selectors are isolated under .hbj-cart-shell or cart-specific controls.
 */
.hbj-cart-shell{
  --hbj-cart-blue:#253785;
  --hbj-cart-green:#8FBE21;
  --hbj-cart-ink:#172033;
  --hbj-cart-muted:#667085;
  --hbj-cart-line:rgba(37,55,133,.13);
  --hbj-cart-glass:rgba(255,255,255,.48);
  --hbj-cart-glass-strong:rgba(255,255,255,.66);
  --hbj-cart-shadow:0 28px 80px rgba(23,32,51,.24),inset 0 1px 0 rgba(255,255,255,.88);
  position:relative;
  z-index:2147482000;
  font-family:inherit;
  color:var(--hbj-cart-ink);
}
.hbj-cart-shell *{box-sizing:border-box}
.hbj-cart-shell [hidden]{display:none!important}
html.hbj-cart-is-open{overflow:hidden}

.hbj-cart-fab{
  position:fixed;
  right:max(22px,env(safe-area-inset-right));
  bottom:max(22px,env(safe-area-inset-bottom));
  z-index:2147482002;
  width:62px;
  height:62px;
  border:1px solid rgba(255,255,255,.58);
  border-radius:7px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--hbj-cart-blue);
  background:rgba(255,255,255,.18);
  box-shadow:0 18px 44px rgba(23,32,51,.18),inset 0 1px 0 rgba(255,255,255,.82),inset 0 -1px 0 rgba(37,55,133,.08);
  -webkit-backdrop-filter:blur(24px) saturate(185%);
  backdrop-filter:blur(24px) saturate(185%);
  cursor:pointer;
  transition:transform .22s ease,box-shadow .22s ease,filter .22s ease;
}
.hbj-cart-fab:hover{transform:translateY(-3px) scale(1.035);color:var(--hbj-cart-blue);background:rgba(255,255,255,.24);box-shadow:0 24px 54px rgba(23,32,51,.22),inset 0 1px 0 rgba(255,255,255,.88),inset 0 -1px 0 rgba(37,55,133,.08)}
.hbj-cart-fab:active{transform:translateY(0) scale(.98)}
.hbj-cart-fab:focus-visible{outline:3px solid rgba(143,190,33,.42);outline-offset:4px}
.hbj-cart-shell[data-cart-state="open"] .hbj-cart-fab{opacity:0;pointer-events:none;transform:translateY(10px) scale(.86)}
.hbj-cart-fab-icon{width:29px;height:29px;display:block}
.hbj-cart-fab-icon svg{width:100%;height:100%;display:block}
.hbj-cart-fab-count{
  position:absolute;
  right:-6px;
  top:-7px;
  min-width:25px;
  height:25px;
  padding:0 7px;
  border:1px solid rgba(143,190,33,.38);
  border-radius:7px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.26);
  color:var(--hbj-cart-green);
  font-size:12px;
  line-height:1;
  font-weight:900;
  box-shadow:0 7px 18px rgba(80,120,10,.16),inset 0 1px 0 rgba(255,255,255,.84);
  -webkit-backdrop-filter:blur(14px) saturate(165%);
  backdrop-filter:blur(14px) saturate(165%);
}

.hbj-cart-menu-shortcode,
.hbj-cart-menu-primary{
  --hbj-cart-blue:#253785;
  --hbj-cart-green:#8FBE21;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  vertical-align:middle;
  line-height:1;
}
.hbj-cart-menu-shortcode *,
.hbj-cart-menu-primary *{box-sizing:border-box}
.hbj-cart-menu-shortcode [hidden],
.hbj-cart-menu-primary [hidden]{display:none!important}
.hbj-cart-primary-menu-item{
  display:flex!important;
  align-items:center;
  justify-content:center;
}
.hbj-cart-primary-menu-item .hbj-cart-menu-primary{
  width:100%;
  min-height:44px;
  align-items:center;
  justify-content:center;
}
.ast-builder-menu-mobile .hbj-cart-primary-menu-item,
.ast-mobile-popup-content .hbj-cart-primary-menu-item{
  justify-content:flex-start;
}
.ast-builder-menu-mobile .hbj-cart-primary-menu-item .hbj-cart-menu-primary,
.ast-mobile-popup-content .hbj-cart-primary-menu-item .hbj-cart-menu-primary{
  justify-content:flex-start;
  padding-inline:20px;
}
.hbj-cart-menu-button{
  position:relative;
  width:44px;
  height:44px;
  min-width:44px;
  padding:0;
  border:0;
  border-radius:7px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background-color:transparent;
  color:var(--hbj-cart-blue);
  box-shadow:none;
  cursor:pointer;
  appearance:none;
  -webkit-appearance:none;
  transition:transform .18s ease,background-color .18s ease;
}
.hbj-cart-menu-button:hover,.hbj-cart-menu-button:focus-visible{
  transform:scale(1.04);
  background-color:rgba(37,55,133,.07);
  color:var(--hbj-cart-blue);
}
.hbj-cart-menu-button:active{transform:scale(.97)}
.hbj-cart-menu-button:focus-visible{outline:3px solid rgba(143,190,33,.42);outline-offset:3px}
.hbj-cart-menu-count{
  position:absolute;
  right:-5px;
  top:-5px;
  min-width:22px;
  height:22px;
  padding:0 6px;
  border:1px solid rgba(143,190,33,.38);
  border-radius:7px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  color:var(--hbj-cart-green);
  font-size:11px;
  line-height:1;
  font-weight:900;
  box-shadow:0 5px 14px rgba(80,120,10,.15);
}

.hbj-cart-backdrop{
  position:fixed;
  inset:0;
  z-index:2147482000;
  background:rgba(12,18,34,.28);
  -webkit-backdrop-filter:blur(8px) saturate(120%);
  backdrop-filter:blur(8px) saturate(120%);
  opacity:0;
  transition:opacity .28s ease;
}
.hbj-cart-shell[data-cart-state="open"] .hbj-cart-backdrop{opacity:1}

.hbj-side-cart{
  position:fixed;
  top:12px;
  right:12px;
  bottom:12px;
  z-index:2147482001;
  width:min(455px,calc(100vw - 24px));
  height:calc(100vh - 24px);
  height:calc(100dvh - 24px);
  max-height:calc(100vh - 24px);
  max-height:calc(100dvh - 24px);
  min-height:0;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  overscroll-behavior:contain;
  border:1px solid rgba(255,255,255,.72);
  border-radius:28px;
  overflow:hidden;
  background:
    radial-gradient(circle at 12% 0%,rgba(255,255,255,.42),rgba(255,255,255,.17) 43%,rgba(224,233,255,.13) 100%);
  box-shadow:0 30px 90px rgba(19,29,55,.25),inset 0 1px 0 rgba(255,255,255,.78);
  -webkit-backdrop-filter:blur(44px) saturate(195%);
  backdrop-filter:blur(44px) saturate(195%);
  transform:translateX(calc(100% + 36px));
  visibility:hidden;
  transition:transform .34s cubic-bezier(.22,.75,.2,1),visibility 0s linear .34s;
  outline:none;
}
.hbj-cart-shell[data-cart-state="open"] .hbj-side-cart{
  transform:translateX(0);
  visibility:visible;
  transition:transform .34s cubic-bezier(.22,.75,.2,1),visibility 0s;
}
.hbj-side-cart:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius:inherit;
  background:linear-gradient(135deg,rgba(255,255,255,.55),transparent 32%,transparent 70%,rgba(37,55,133,.06));
}
.hbj-side-cart > *{position:relative;z-index:1}

.hbj-side-cart-header{
  grid-area:header;
  position:relative;
  z-index:4;
  padding:22px 22px 18px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  border-bottom:1px solid var(--hbj-cart-line);
  background:rgba(255,255,255,.10);
}
.hbj-side-cart-kicker{
  display:block;
  margin-bottom:3px;
  color:var(--hbj-cart-blue);
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.11em;
}
.hbj-side-cart-header h2{margin:0;color:var(--hbj-cart-ink);font-size:30px;line-height:1.05;letter-spacing:-.035em}
.hbj-side-cart-close{
  width:42px;
  height:42px;
  flex:0 0 42px;
  border:1px solid rgba(37,55,133,.12);
  border-radius:14px;
  background:rgba(255,255,255,.68);
  color:var(--hbj-cart-blue);
  font-size:29px;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 8px 20px rgba(37,55,133,.09);
  transition:transform .18s ease,background .18s ease;
}
.hbj-side-cart-close:hover{transform:rotate(4deg) scale(1.04);background:#fff;color:var(--hbj-cart-blue)!important}
.hbj-cart-shell .hbj-side-cart-close,
.hbj-cart-shell .hbj-side-cart-close:hover,
.hbj-cart-shell .hbj-side-cart-close:focus,
.hbj-cart-shell .hbj-side-cart-close:focus-visible,
.hbj-cart-shell .hbj-side-cart-close:active{color:var(--hbj-cart-blue)!important}

.hbj-side-cart-status{
  grid-area:status;
  margin:12px 18px 0;
  padding:11px 13px;
  border-radius:13px;
  border:1px solid rgba(37,55,133,.13);
  background:rgba(255,255,255,.52);
  color:var(--hbj-cart-blue);
  font-size:13px;
  font-weight:700;
}
.hbj-side-cart-status.is-error{border-color:rgba(178,40,40,.22);background:rgba(255,235,235,.9);color:#8d2020}
.hbj-side-cart-status.is-success{border-color:rgba(93,135,20,.22);background:rgba(244,255,225,.9);color:#486b0f}

.hbj-side-cart-body{
  grid-area:body;
  flex:0 1 auto;
  min-width:0;
  min-height:0;
  overflow-x:hidden;
  overflow-y:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  padding:18px;
  scrollbar-width:thin;
  scrollbar-color:rgba(37,55,133,.24) transparent;
}
.hbj-side-cart-body::-webkit-scrollbar{width:8px}
.hbj-side-cart-body::-webkit-scrollbar-thumb{background:rgba(37,55,133,.2);border-radius:999px;border:2px solid transparent;background-clip:padding-box}

.hbj-cart-loading,.hbj-cart-empty{
  min-height:310px;
  padding:30px 22px;
  border:1px solid rgba(255,255,255,.74);
  border-radius:22px;
  background:rgba(255,255,255,.26);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9);
}
.hbj-cart-loading{gap:13px;color:var(--hbj-cart-muted);font-weight:700}
.hbj-cart-spinner{width:30px;height:30px;border:3px solid rgba(37,55,133,.14);border-top-color:var(--hbj-cart-blue);border-radius:50%;animation:hbjCartSpin .8s linear infinite}
@keyframes hbjCartSpin{to{transform:rotate(360deg)}}
.hbj-cart-empty-icon{width:66px;height:66px;margin-bottom:16px;border-radius:22px;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,rgba(37,55,133,.09),rgba(143,190,33,.11));color:var(--hbj-cart-blue)}
.hbj-cart-empty-icon svg{width:35px;height:35px}
.hbj-cart-empty h3{margin:0 0 8px;font-size:21px;color:var(--hbj-cart-ink)}
.hbj-cart-empty p{max-width:310px;margin:0;color:var(--hbj-cart-muted);font-size:14px;line-height:1.55}

.hbj-cart-items{display:grid;gap:14px}
.hbj-cart-item{
  border:1px solid rgba(255,255,255,.76);
  border-radius:22px;
  overflow:hidden;
  background:rgba(255,255,255,.27);
  box-shadow:0 14px 34px rgba(37,55,133,.09),inset 0 1px 0 rgba(255,255,255,.9);
}
.hbj-cart-item-main{display:grid;grid-template-columns:92px minmax(0,1fr);gap:14px;padding:14px}
.hbj-cart-item-preview{
  --hbj-cart-preview-height:104px;
  position:relative;
  width:92px;
  min-height:var(--hbj-cart-preview-height);
  border-radius:16px;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(145deg,#e9edff,#f5f8ff);
  border:1px solid rgba(37,55,133,.09);
}
.hbj-cart-item-preview img{width:100%;height:100%;min-height:var(--hbj-cart-preview-height);object-fit:cover;display:block}
.hbj-cart-item-preview.has-loader .hbj-cart-preview-image{opacity:0;transition:opacity .18s ease}
.hbj-cart-item-preview.has-loader.is-loaded .hbj-cart-preview-image{opacity:1}
.hbj-cart-preview-loader{position:absolute;inset:0;z-index:2;padding:7px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;overflow:hidden;border-radius:12px;background:rgba(255,255,255,.34);color:var(--hbj-cart-blue);text-align:center;pointer-events:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.78);-webkit-backdrop-filter:blur(14px) saturate(155%);backdrop-filter:blur(14px) saturate(155%);transition:opacity .18s ease,visibility .18s ease}
.hbj-cart-preview-loader:after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 18%,rgba(255,255,255,.68) 48%,transparent 78%);transform:translateX(-100%);animation:hbjCartPreviewShimmer .9s ease-in-out infinite;pointer-events:none}
.hbj-cart-preview-loader i{position:relative;z-index:1;width:18px;height:18px;flex:0 0 18px;border:2px solid rgba(37,55,133,.16);border-top-color:var(--hbj-cart-blue);border-radius:50%;animation:hbjCartPreviewSpin .75s linear infinite}
.hbj-cart-preview-loader small{position:relative;z-index:1;font-size:9px;font-weight:800;line-height:1.2}
.hbj-cart-item-preview.has-loader.is-loaded .hbj-cart-preview-loader{opacity:0;visibility:hidden}
.hbj-cart-item-preview.has-loader.is-error .hbj-cart-preview-loader i{display:none}
@keyframes hbjCartPreviewSpin{to{transform:rotate(360deg)}}
@keyframes hbjCartPreviewShimmer{to{transform:translateX(100%)}}
.hbj-cart-item-preview.is-logomat img{
  flex:0 0 auto;
  min-height:0;
  object-fit:cover;
  background:rgba(255,255,255,.34);
}
/* LogoMat thumbnails mirror the three preview forms used in the designer.
 * Exact product dimensions remain visible in text and stored in the design data. */
.hbj-cart-item-preview.is-logomat.is-portrait img{
  width:calc(var(--hbj-cart-preview-height) * .625);
  height:var(--hbj-cart-preview-height);
}
.hbj-cart-item-preview.is-logomat.is-square img{
  width:calc(var(--hbj-cart-preview-height) * .86);
  height:calc(var(--hbj-cart-preview-height) * .86);
}
.hbj-cart-item-preview.is-logomat.is-landscape img{
  width:100%;
  height:calc(92px * .625);
}
.hbj-cart-product-monogram{color:var(--hbj-cart-blue);font-size:25px;font-weight:900;letter-spacing:-.04em}
.hbj-cart-item-copy{min-width:0}
.hbj-cart-item-title-row{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}
.hbj-cart-item-title-row h3{margin:1px 0 3px;font-size:17px;line-height:1.2;color:var(--hbj-cart-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hbj-cart-item-title-row p{margin:0;color:var(--hbj-cart-muted);font-size:12px;line-height:1.4}
.hbj-cart-remove{
  width:30px;
  height:30px;
  flex:0 0 30px;
  border:0;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(37,55,133,.07);
  color:var(--hbj-cart-blue);
  font-size:20px;
  cursor:pointer;
}
.hbj-cart-remove:hover{background:rgba(178,40,40,.1);color:#9c2828}
.hbj-cart-item-meta{margin-top:11px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}
.hbj-cart-unit-price{padding:6px 9px;border-radius:7px;background:rgba(37,55,133,.08);color:var(--hbj-cart-blue);font-size:12px;font-weight:850}
.hbj-cart-quantity{display:inline-flex;align-items:center;gap:3px;padding:3px;border:1px solid rgba(37,55,133,.12);border-radius:13px;background:rgba(255,255,255,.48);box-shadow:inset 0 1px 0 rgba(255,255,255,.82)}
.hbj-cart-quantity-label{padding:0 5px 0 7px;color:var(--hbj-cart-muted);font-size:11px;font-weight:800}
.hbj-cart-quantity button{width:30px;height:30px;padding:0;border:0;border-radius:9px;background:rgba(37,55,133,.08);color:var(--hbj-cart-blue);font-size:18px;font-weight:900;line-height:1;cursor:pointer}
.hbj-cart-quantity button:hover{background:rgba(37,55,133,.14)}
.hbj-cart-quantity button:disabled{opacity:.36;cursor:default}
.hbj-cart-quantity input{width:38px;height:30px;padding:0 2px;border:0!important;outline:0;background:transparent!important;color:var(--hbj-cart-ink);font-size:13px;font-weight:900;line-height:1;text-align:center;box-shadow:none!important;-moz-appearance:textfield}
.hbj-cart-quantity input::-webkit-outer-spin-button,.hbj-cart-quantity input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.hbj-cart-item.is-updating{opacity:.66;pointer-events:none}
.hbj-cart-item.is-updating:after{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(110deg,transparent 20%,rgba(255,255,255,.34) 48%,transparent 76%);transform:translateX(-100%);animation:hbjCartItemLoading .9s linear infinite}
@keyframes hbjCartItemLoading{to{transform:translateX(100%)}}
.hbj-cart-item{position:relative}
.hbj-cart-item-price{margin-top:10px;display:flex;align-items:flex-end;justify-content:space-between;gap:8px}
.hbj-cart-item-price span{color:var(--hbj-cart-muted);font-size:11px}
.hbj-cart-item-price strong{color:var(--hbj-cart-blue);font-size:18px;letter-spacing:-.025em}

.hbj-side-cart-footer{
  grid-area:footer;
  position:relative;
  right:auto;
  bottom:auto;
  left:auto;
  z-index:4;
  min-width:0;
  flex:0 0 auto;
  padding:16px 18px 18px;
  border-top:1px solid var(--hbj-cart-line);
  background:rgba(255,255,255,.16);
  box-shadow:0 -18px 36px rgba(23,32,51,.08),inset 0 1px 0 rgba(255,255,255,.56);
  -webkit-backdrop-filter:blur(22px) saturate(155%);
  backdrop-filter:blur(22px) saturate(155%);
}
.hbj-cart-total-row{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.hbj-cart-total-row > span{display:flex;flex-direction:column;color:var(--hbj-cart-ink);font-size:14px;font-weight:900}
.hbj-cart-total-row small{margin-top:3px;font-size:11.5px;font-weight:700;color:var(--hbj-cart-muted)}
.hbj-cart-total-row strong{font-size:29px;line-height:1;color:var(--hbj-cart-blue);letter-spacing:-.045em}
.hbj-cart-total-breakdown{margin-top:12px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.hbj-cart-total-breakdown span{min-width:0;padding:8px 9px;border:1px solid rgba(255,255,255,.48);border-radius:7px;background:rgba(255,255,255,.24);box-shadow:inset 0 1px 0 rgba(255,255,255,.64)}
.hbj-cart-total-breakdown em{display:block;margin-bottom:2px;color:var(--hbj-cart-muted);font-size:11.5px;font-style:normal;font-weight:750}
.hbj-cart-total-breakdown strong{display:block;color:var(--hbj-cart-blue);font-size:12.5px;line-height:1.2;white-space:nowrap}
.hbj-cart-footer-note{margin:12px 0;color:#53617b;font-size:12.5px;font-weight:650;line-height:1.48}
.hbj-cart-proceed{width:100%;min-height:48px;border:1px solid rgba(255,255,255,.30);border-radius:7px;background:rgba(255,255,255,.16);background-image:none;color:var(--hbj-cart-blue);font-size:14px;font-weight:850;line-height:1.2;text-transform:none;letter-spacing:normal;box-shadow:0 12px 34px rgba(23,32,51,.13),inset 0 1px 0 rgba(255,255,255,.82),inset 0 -1px 0 rgba(37,55,133,.08);-webkit-backdrop-filter:blur(16px) saturate(155%);backdrop-filter:blur(16px) saturate(155%);cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.hbj-cart-proceed:hover,.hbj-cart-proceed:focus,.hbj-cart-proceed:focus-visible,.hbj-cart-proceed:active,.hbj-cart-proceed.is-opening{transform:scale(1.035);border-color:rgba(255,255,255,.30)!important;background:rgba(255,255,255,.16)!important;background-image:none!important;color:var(--hbj-cart-blue)!important;box-shadow:0 24px 58px rgba(23,32,51,.18),0 10px 26px rgba(37,55,133,.16),inset 0 1px 0 rgba(255,255,255,.86),inset 0 -1px 0 rgba(37,55,133,.08)}
/* v9.0.197: the projected cart already has server-verified prices, while the
 * unchanged LogoMat bundle is still being generated/saved. Keep the existing
 * continue button visually active but safely locked until final save success. */
.hbj-cart-proceed.is-design-processing{position:relative;overflow:hidden;pointer-events:none;cursor:wait;transform:none!important}
.hbj-cart-proceed.is-design-processing::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 18%,rgba(255,255,255,.72) 48%,transparent 78%);transform:translateX(-115%);animation:hbjCartProceedShimmer 1s ease-in-out infinite}
.hbj-cart-proceed.is-design-processing:disabled{opacity:1!important;color:var(--hbj-cart-blue)!important;background:rgba(255,255,255,.16)!important}
@keyframes hbjCartProceedShimmer{to{transform:translateX(115%)}}
.hbj-cart-proceed-progress{min-height:18px;margin:8px 2px 0;color:#5b6475;font-size:12px;font-weight:800;line-height:1.45;text-align:center}
.hbj-cart-proceed-progress[hidden]{display:none!important}
.hbj-cart-proceed-progress.is-working::before{content:"";display:inline-block;width:8px;height:8px;margin-right:7px;border:2px solid rgba(37,55,133,.22);border-top-color:#253785;border-radius:50%;vertical-align:-1px;animation:hbjCartProceedSpin .75s linear infinite}
.hbj-cart-proceed-progress.is-success{color:#557c0c}
.hbj-cart-proceed-progress.is-error{color:#9c2828}
@keyframes hbjCartProceedSpin{to{transform:rotate(360deg)}}

.hbj-cart-toast{
  position:fixed;
  left:50%;
  top:50%;
  bottom:auto;
  z-index:2147482004;
  max-width:min(430px,calc(100vw - 30px));
  transform:translate(-50%,-50%);
  padding:12px 17px;
  border:1px solid rgba(255,255,255,.74);
  border-radius:15px;
  background:rgba(255,255,255,.86);
  color:var(--hbj-cart-blue);
  font-size:13px;
  font-weight:800;
  text-align:center;
  box-shadow:0 18px 46px rgba(23,32,51,.22),inset 0 1px 0 #fff;
  -webkit-backdrop-filter:blur(18px) saturate(150%);
  backdrop-filter:blur(18px) saturate(150%);
}
/* Success confirmations keep the neutral glass outline; red error/validation styling remains separate. */
.hbj-cart-toast.is-success{border-color:rgba(255,255,255,.74)}
.hbj-cart-toast.is-error{color:#8d2020;border-color:rgba(178,40,40,.25);background:rgba(255,239,239,.92)}

.hbj-product-page [data-action="add-to-cart"].is-loading{position:relative;opacity:.82;cursor:wait}
.hbj-product-page [data-action="add-to-cart"].is-loading .hbj-button-icon-wrap{animation:hbjCartPulse .9s ease-in-out infinite alternate}
@keyframes hbjCartPulse{to{transform:scale(1.12);opacity:.62}}

@media(max-width:640px){
  .hbj-cart-fab{right:max(14px,env(safe-area-inset-right));bottom:max(14px,env(safe-area-inset-bottom));width:56px;height:56px;border-radius:7px}
  .hbj-cart-fab-icon{width:26px;height:26px}
  .hbj-side-cart{top:6px;right:6px;bottom:6px;width:calc(100vw - 12px);height:calc(100vh - 12px);height:calc(100dvh - 12px);max-height:calc(100vh - 12px);max-height:calc(100dvh - 12px);border-radius:24px}
  .hbj-side-cart-header{padding:19px 18px 15px}
  .hbj-side-cart-header h2{font-size:27px}
  .hbj-side-cart-body{padding:13px}
  .hbj-cart-item-main{grid-template-columns:82px minmax(0,1fr);gap:11px;padding:12px}
  .hbj-cart-item-preview{--hbj-cart-preview-height:96px;width:82px;min-height:var(--hbj-cart-preview-height)}
  .hbj-cart-item-preview img{min-height:var(--hbj-cart-preview-height)}
  .hbj-cart-item-preview.is-logomat.is-landscape img{height:calc(82px * .625)}
  .hbj-cart-item-meta{align-items:flex-start}
  .hbj-cart-quantity-label{display:none}
  .hbj-side-cart-footer{padding:14px 14px calc(14px + env(safe-area-inset-bottom))}
  .hbj-cart-total-row strong{font-size:25px}
  .hbj-cart-total-breakdown{gap:5px}
  .hbj-cart-total-breakdown span{padding:7px}
  .hbj-cart-total-breakdown em{font-size:10.5px}
  .hbj-cart-total-breakdown strong{font-size:11.5px}
}

/* v9.0.183: keep the original mobile side-cart geometry. On iPhone Safari,
   provide an invisible bottom-edge tint sample so the native translucent
   browser chrome does not fall back to a solid white page tint. */
.hbj-cart-safari-tint{display:none}
@supports (-webkit-touch-callout:none){
  @media(max-width:640px){
    .hbj-cart-shell[data-cart-state="open"] .hbj-cart-safari-tint{
      display:block;
      visibility:hidden;
      position:fixed;
      left:6%;
      right:6%;
      bottom:-8px;
      min-height:12px;
      z-index:2147482003;
      pointer-events:none;
      background-color:#d2d9e8;
    }
  }
}

@media(max-width:380px){
  .hbj-cart-item-main{grid-template-columns:72px minmax(0,1fr)}
  .hbj-cart-item-preview{--hbj-cart-preview-height:88px;width:72px;min-height:var(--hbj-cart-preview-height)}
  .hbj-cart-item-preview img{min-height:var(--hbj-cart-preview-height)}
  .hbj-cart-item-preview.is-logomat.is-landscape img{height:calc(72px * .625)}
  .hbj-cart-item-title-row h3{font-size:15px}
}

@media(prefers-reduced-motion:reduce){
  .hbj-cart-shell *{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

.hbj-product-page button[data-action="add-to-cart"]{font:inherit}


/* v9.0.114: LogoMat proofs sit freely in the existing thumbnail slot.
 * Only the decorative thumbnail box is removed; card layout and controls stay unchanged. */
.hbj-cart-item-preview.is-logomat{
  overflow:visible;
  border-color:transparent;
  border-radius:0;
  background:transparent;
}
.hbj-cart-item-preview.is-logomat img{background:transparent}
