/* Shared Shopify-style cart drawer. Loaded after page-specific styles. */
/* Older pages contain their own #cart drawer. The shared drawer replaces it. */
html.usc-shared-cart-enabled #cart.usc-cart-drawer {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
#usc-shared-cart-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 3000 !important;
  background: rgba(17, 17, 24, .28) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity .24s ease !important;
}
#usc-shared-cart-overlay.is-open { opacity: 1 !important; pointer-events: auto !important; }
#usc-shared-cart-drawer {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  z-index: 3001 !important;
  display: flex !important;
  width: min(420px, 100vw) !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  flex-direction: column !important;
  overflow: hidden !important;
  background: #fff !important;
  border-left: 1px solid rgba(17, 17, 24, .12) !important;
  box-shadow: -18px 0 48px rgba(17, 17, 24, .18) !important;
  color: #111118 !important;
  font-family: "Inter var", Inter, system-ui, sans-serif !important;
  transform: translateX(104%) !important;
  visibility: hidden !important;
  transition: transform .28s cubic-bezier(.4, 0, .2, 1), visibility 0s linear .28s !important;
}
#usc-shared-cart-drawer.is-open { transform: translateX(0) !important; visibility: visible !important; transition-delay: 0s !important; }
#usc-shared-cart-drawer *, #usc-shared-cart-drawer *::before, #usc-shared-cart-drawer *::after { box-sizing: border-box !important; }
.usc-shared-cart-head { display: flex !important; align-items: flex-start !important; justify-content: space-between !important; gap: 16px !important; padding: 22px 20px 16px !important; border-bottom: 1px solid rgba(17, 17, 24, .1) !important; }
.usc-shared-cart-head h2 { margin: 0 !important; color: #111118 !important; font-size: 20px !important; line-height: 1.2 !important; }
.usc-shared-cart-head p { margin: 4px 0 0 !important; color: #6b7280 !important; font-size: 12px !important; }
.usc-shared-cart-close { width: 36px !important; min-width: 36px !important; height: 36px !important; border: 1px solid rgba(17, 17, 24, .12) !important; border-radius: 8px !important; background: #fff !important; color: #111118 !important; font-size: 22px !important; line-height: 1 !important; cursor: pointer !important; }
.usc-shared-cart-body { flex: 1 1 auto !important; overflow-y: auto !important; padding: 4px 20px !important; }
.usc-shared-cart-empty { margin: 20px 0 !important; padding: 28px 16px !important; border: 1px dashed rgba(17, 17, 24, .18) !important; border-radius: 10px !important; color: #6b7280 !important; font-size: 13px !important; text-align: center !important; }
.usc-shared-cart-item { display: grid !important; grid-template-columns: 64px minmax(0, 1fr) auto !important; gap: 12px !important; align-items: start !important; padding: 16px 0 !important; border-bottom: 1px solid rgba(17, 17, 24, .08) !important; }
.usc-shared-cart-item img { display: block !important; width: 64px !important; height: 64px !important; border: 1px solid rgba(17, 17, 24, .08) !important; border-radius: 9px !important; background: #f7f7f8 !important; object-fit: cover !important; }
.usc-shared-cart-name { color: #111118 !important; font-size: 13px !important; font-weight: 700 !important; line-height: 1.35 !important; }
.usc-shared-cart-meta { margin-top: 3px !important; color: #6b7280 !important; font-size: 12px !important; line-height: 1.35 !important; }
.usc-shared-cart-price { color: #111118 !important; font-size: 13px !important; font-weight: 700 !important; white-space: nowrap !important; }
.usc-shared-cart-footer { padding: 16px 20px max(20px, calc(16px + env(safe-area-inset-bottom))) !important; border-top: 1px solid rgba(17, 17, 24, .1) !important; }
.usc-shared-cart-total { display: flex !important; justify-content: space-between !important; gap: 16px !important; color: #111118 !important; font-size: 15px !important; font-weight: 700 !important; }
.usc-shared-cart-actions { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 8px !important; margin-top: 14px !important; }
.usc-shared-cart-actions a, .usc-shared-cart-actions button { display: inline-flex !important; min-height: 44px !important; align-items: center !important; justify-content: center !important; border: 1px solid #111118 !important; border-radius: 8px !important; background: #111118 !important; color: #fff !important; font-size: 13px !important; font-weight: 700 !important; text-decoration: none !important; cursor: pointer !important; }
.usc-shared-cart-actions .usc-shared-cart-secondary { background: #fff !important; color: #111118 !important; }
body.usc-shared-cart-open { overflow: hidden !important; }
@media (max-width: 480px) { .usc-shared-cart-head { padding-inline: 16px !important; } .usc-shared-cart-body { padding-inline: 16px !important; } .usc-shared-cart-footer { padding-inline: 16px !important; } }
