/* The basket has one scrollable item area and a persistent summary/action area. */
body .hfj-cart-drawer { width:min(460px,100%); height:calc(100dvh - var(--hfj-cookie-banner-height,0px)); overflow:hidden; background:var(--hfj-paper); }
body .hfj-cart-drawer__inner { display:flex; flex-direction:column; height:100%; min-height:0; padding:0; }
body .hfj-cart-drawer__header { flex:0 0 auto; min-height:68px; padding:12px 24px; margin:0; border:0; background:transparent; }
body .hfj-cart-drawer__header h2 { margin:0; font:400 28px/1.2 Georgia,serif; }
body .hfj-cart-drawer__close { width:44px; height:44px; border-radius:50%; color:var(--hfj-ink); }
body .hfj-cart-drawer__close:is(:hover,:focus-visible) { background:var(--hfj-surface); color:var(--hfj-action-hover); }
body .hfj-cart-drawer__content { display:grid; grid-template-rows:minmax(0,1fr) auto auto; flex:1; min-height:0; gap:0; }
body .hfj-cart-drawer__items { display:flex; flex-direction:column; gap:24px; min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:8px 24px 24px; margin:0; }
body .hfj-cart-drawer__item { flex:0 0 auto; grid-template-columns:88px minmax(0,1fr) 44px; gap:12px; padding:0; }
body .hfj-cart-drawer__item-image { grid-column:1; grid-row:1; }
body .hfj-cart-drawer__item+.hfj-cart-drawer__item { padding-top:0; border:0; }
body .hfj-cart-drawer__item-image img { width:88px; height:88px; border-radius:4px; object-fit:contain; background:var(--hfj-surface); }
body .hfj-cart-drawer__item-details { min-width:0; grid-column:2; grid-row:1; }
body .hfj-cart-drawer__item-details h3 { margin:0 0 8px; font:400 14px/1.5 var(--hfj-font,Poppins,sans-serif); }
body .hfj-cart-drawer__item-details h3 a { color:var(--hfj-ink); }
body .hfj-cart-drawer__item-details h3 a:is(:hover,:focus-visible) { color:var(--hfj-action-hover); }
body .hfj-cart-drawer__item-meta { margin:0 0 6px; font-size:12px; line-height:1.5; color:var(--hfj-muted); }
body .hfj-cart-drawer__item-price { margin:0; font-size:16px; font-weight:600; color:var(--hfj-ink); }
body .hfj-cart-drawer__remove { display:flex; align-items:center; justify-content:center; position:static; grid-column:3; grid-row:1; align-self:start; width:44px; height:44px; margin:0; padding:10px; border:0; border-radius:3px; color:var(--hfj-muted); background:transparent; transition:color 160ms ease,background-color 160ms ease; }
body .hfj-cart-drawer__remove:is(:hover,:focus-visible) { background:var(--hfj-surface); color:var(--hfj-action-hover); }
body .hfj-cart-drawer__subtotal { padding:16px 24px; border-top:1px solid var(--hfj-line); font-size:16px; line-height:1.4; background:transparent; }
body .hfj-cart-drawer__actions { display:flex; flex-direction:column; gap:10px; padding:0 24px calc(24px + env(safe-area-inset-bottom)); background:transparent; }
body .hfj-cart-drawer .hfj-cart-drawer__button {
  box-sizing:border-box; display:flex; align-items:center; justify-content:center; gap:10px;
  width:100%; min-height:52px; margin:0; padding:14px 18px;
  border:1px solid var(--hfj-control-border); border-radius:3px; background:var(--hfj-cream); color:var(--hfj-ink);
  font:600 14px/22px var(--hfj-font,Arial,sans-serif); text-align:center; text-transform:none;
  letter-spacing:0; text-decoration:none; transition:background .18s,color .18s,border-color .18s;
}
body .hfj-cart-drawer .hfj-cart-drawer__button:hover,body .hfj-cart-drawer .hfj-cart-drawer__button:focus-visible { background:var(--hfj-surface); border-color:var(--hfj-accent); color:var(--hfj-ink); }
body .hfj-cart-drawer .hfj-cart-drawer__button--primary { background:var(--hfj-action); border-color:var(--hfj-action); color:#fff; }
body .hfj-cart-drawer .hfj-cart-drawer__button--primary:hover,body .hfj-cart-drawer .hfj-cart-drawer__button--primary:focus-visible { background:var(--hfj-action-hover); border-color:var(--hfj-action-hover); color:#fff; }
body .hfj-cart-drawer .hfj-cart-drawer__button:not(.hfj-cart-drawer__button--primary):focus-visible {
  outline:2px solid var(--hfj-action)!important; outline-offset:-2px!important;
  border-color:transparent; box-shadow:none;
}
body .hfj-cart-drawer .hfj-cart-drawer__button:not(.hfj-cart-drawer__button--primary):active { background:var(--hfj-soft); box-shadow:none; }
body .hfj-cart-drawer__button .hfj-icon { font-size:20px; }
body .hfj-cart-drawer__content:has(.hfj-cart-drawer__empty) { grid-template-rows:1fr; }
body .hfj-cart-drawer__empty { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:20px; padding:28px; text-align:center; }
body .hfj-cart-drawer__empty p { margin:0; font:400 24px/1.4 Georgia,serif; }
@media(max-width:480px) { body .hfj-cart-drawer__header { padding-inline:20px; } body .hfj-cart-drawer__items { padding-inline:20px; } body .hfj-cart-drawer__subtotal { padding-inline:20px; } body .hfj-cart-drawer__actions { padding-inline:20px; } }
@media(prefers-reduced-motion:reduce) { body .hfj-cart-drawer .hfj-cart-drawer__button { transition:none; } }

/* Drawers sit above the persistent header and its menu backdrop. */
body .hfj-cart-drawer-overlay { z-index:210; }
body .hfj-cart-drawer { z-index:220; }
