/* Aurora Cart Drawer — Shopify-style side cart */

body.aurora-storefront.aurora-drawer-open { overflow: hidden; }

body.aurora-storefront .aurora-cart-drawer {
  position: fixed; inset: 0; z-index: 99990; pointer-events: none; visibility: hidden;
  transition: visibility 0.35s ease;
}
body.aurora-storefront .aurora-cart-drawer.is-open { pointer-events: auto; visibility: visible; }
body.aurora-storefront .aurora-cart-drawer__overlay {
  position: absolute; inset: 0; background: rgba(3, 5, 13, 0.72); opacity: 0;
  transition: opacity 0.35s ease; backdrop-filter: blur(4px);
}
body.aurora-storefront .aurora-cart-drawer.is-open .aurora-cart-drawer__overlay { opacity: 1; }
body.aurora-storefront .aurora-cart-drawer__panel,
body.aurora-storefront #aurora-cart-drawer-inner {
  display: flex; flex-direction: column; height: 100%; min-height: 0;
}
body.aurora-storefront .aurora-cart-drawer__panel {
  position: absolute; top: 0; right: 0; width: min(100vw, 460px); max-width: 460px; height: 100%;
  background: var(--aurora-surface-elevated, rgba(11, 18, 40, 0.98));
  border-left: 1px solid var(--aurora-border, rgba(255, 255, 255, 0.08));
  box-shadow: -24px 0 80px rgba(0, 0, 0, 0.55);
  transform: translateX(104%);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
body.aurora-storefront .aurora-cart-drawer.is-open .aurora-cart-drawer__panel { transform: translateX(0); }
body.aurora-storefront .aurora-cart-drawer__header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; border-bottom: 1px solid var(--aurora-border); flex-shrink: 0;
}
body.aurora-storefront .aurora-cart-drawer__title {
  font-family: var(--font-d, "Bebas Neue", sans-serif); font-size: clamp(24px, 3vw, 28px);
  letter-spacing: 0.06em; color: var(--txt, #edf4ff); margin: 0;
}
body.aurora-storefront .aurora-cart-drawer__close {
  width: 40px; height: 40px; border: 1px solid var(--aurora-border); border-radius: var(--aurora-radius-btn, 12px);
  background: transparent; color: var(--txt, #edf4ff); cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease;
}
body.aurora-storefront .aurora-cart-drawer__close:hover { border-color: var(--aurora-border-accent); color: var(--acc, #00d4ff); }
body.aurora-storefront .aurora-cart-drawer__body { flex: 1 1 auto; overflow-y: auto; padding: 16px 24px; -webkit-overflow-scrolling: touch; }body.aurora-storefront .aurora-cart-drawer__items { display: flex; flex-direction: column; gap: 16px; }
body.aurora-storefront .aurora-cart-drawer__item {
  display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px;
  padding-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
body.aurora-storefront .aurora-cart-drawer__thumb {
  width: 72px; height: 72px; border-radius: var(--aurora-radius-btn, 12px);
  background: var(--aurora-input-bg, #0b1228); border: 1px solid var(--aurora-border);
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
body.aurora-storefront .aurora-cart-drawer__thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
body.aurora-storefront .aurora-cart-drawer__info { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
body.aurora-storefront .aurora-cart-drawer__name {
  font-size: var(--aurora-body-sm, 14px); font-weight: 600; color: var(--txt, #edf4ff);
  text-decoration: none; line-height: 1.4;
}
body.aurora-storefront .aurora-cart-drawer__name:hover { color: var(--acc, #00d4ff); }
body.aurora-storefront .body.aurora-storefront .aurora-cart-drawer__price,
body.aurora-storefront .aurora-cart-drawer__price .price,
body.aurora-storefront .aurora-cart-drawer__price .woocommerce-Price-amount,
body.aurora-storefront .aurora-cart-drawer__price .woocommerce-Price-currencySymbol {
  font-family: var(--font-b, sans-serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.3;
  color: var(--txt2, rgba(237, 244, 255, 0.82));
}
body.aurora-storefront .aurora-cart-drawer__actions {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}
body.aurora-storefront .aurora-cart-drawer__qty {
  display: inline-flex; align-items: center; border: 1px solid var(--aurora-border);
  border-radius: var(--aurora-radius-btn, 12px); overflow: hidden; background: var(--aurora-input-bg, #0b1228);
}
body.aurora-storefront .aurora-cart-drawer__qty button {
  width: 34px; height: 34px; border: 0; background: transparent; color: var(--txt, #edf4ff);
  cursor: pointer; font-size: 16px; transition: background 0.2s ease, color 0.2s ease;
}
body.aurora-storefront .aurora-cart-drawer__qty button:hover { background: rgba(0, 212, 255, 0.1); color: var(--acc, #00d4ff); }
body.aurora-storefront .aurora-cart-drawer__qty span {
  min-width: 28px; text-align: center; font-family: var(--font-m, monospace); font-size: 13px;
}
body.aurora-storefront .aurora-cart-drawer__remove {
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 120, 120, 0.9);
  background: none; border: 0; cursor: pointer; padding: 0;
}
body.aurora-storefront .aurora-cart-drawer__remove:hover { color: #ff6666; }
body.aurora-storefront .aurora-cart-drawer__empty { text-align: center; padding: 48px 16px; }
body.aurora-storefront .aurora-cart-drawer__empty-icon {
  width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(0, 212, 255, 0.06); border: 1px solid rgba(0, 212, 255, 0.18); color: var(--acc, #00d4ff); font-size: 28px;
}
body.aurora-storefront .aurora-cart-drawer__empty h3 { margin: 0 0 8px; font-size: 22px; }
body.aurora-storefront .aurora-cart-drawer__empty p { margin: 0 0 24px; font-size: 16px; }body.aurora-storefront .aurora-cart-drawer__related {
  margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--aurora-border);
}
body.aurora-storefront .aurora-cart-drawer__related-title {
  font-family: var(--font-m, monospace); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--aurora-text-muted); margin: 0 0 14px;
}
body.aurora-storefront .aurora-cart-drawer__related-list { display: flex; flex-direction: column; gap: 12px; }
body.aurora-storefront .aurora-cart-drawer__related-item {
  display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; align-items: center;
  padding: 10px; border-radius: var(--aurora-radius-btn, 12px); background: rgba(8, 13, 30, 0.65); border: 1px solid var(--aurora-border);
}
body.aurora-storefront .aurora-cart-drawer__related-item img {
  width: 48px; height: 48px; object-fit: contain; border-radius: 8px; background: var(--aurora-input-bg);
}
body.aurora-storefront .aurora-cart-drawer__related-item a {
  font-size: 13px; font-weight: 600; color: var(--txt, #edf4ff); text-decoration: none;
}
body.aurora-storefront .aurora-cart-drawer__related-atc { font-size: 11px; padding: 8px 12px; white-space: nowrap; }
body.aurora-storefront .aurora-cart-drawer__footer {
  flex-shrink: 0; padding: 20px 24px calc(20px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--aurora-border); background: rgba(8, 13, 30, 0.95);
  display: flex; flex-direction: column; gap: 12px;
}
body.aurora-storefront .aurora-cart-drawer__subtotal {
  display: flex; justify-content: space-between; align-items: center;
  font-size: var(--aurora-body-sm, 14px); color: var(--aurora-text-muted);
}
body.aurora-storefront .body.aurora-storefront .aurora-cart-drawer__subtotal strong,
body.aurora-storefront .aurora-cart-drawer__subtotal strong .woocommerce-Price-amount,
body.aurora-storefront .aurora-cart-drawer__subtotal strong .woocommerce-Price-currencySymbol {
  font-family: var(--font-d, "Bebas Neue", sans-serif);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--acc, #00d4ff);
}
body.aurora-storefront .aurora-cart-drawer__footer .btn-primary,
body.aurora-storefront .aurora-cart-drawer__footer .btn-ghost { width: 100%; justify-content: center; text-align: center; }
body.aurora-storefront .aurora-cart-toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120%); z-index: 99999;
  padding: 12px 20px; border-radius: var(--aurora-radius-btn, 12px); background: rgba(8, 13, 30, 0.95);
  border: 1px solid var(--aurora-border-accent); color: var(--txt, #edf4ff); font-size: var(--aurora-body-sm, 14px);
  box-shadow: var(--aurora-shadow-card); opacity: 0; transition: transform 0.35s ease, opacity 0.35s ease; pointer-events: none;
}
body.aurora-storefront .aurora-cart-toast.is-visible { transform: translateX(-50%) translateY(0); opacity: 1; }
body.aurora-storefront .SiteNav_cartBadge__FvJg8.aurora-badge-pulse { animation: auroraBadgePulse 0.6s ease; }
@keyframes auroraBadgePulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); } }
@media (max-width: 768px) {
  body.aurora-storefront .aurora-cart-drawer__panel { width: 100vw; max-width: 100vw; }
}
@media (max-width: 390px) {
  body.aurora-storefront .aurora-cart-drawer__header,
  body.aurora-storefront .aurora-cart-drawer__body,
  body.aurora-storefront .aurora-cart-drawer__footer { padding-left: 16px; padding-right: 16px; }
}