/* SKU drill-down drawer (Bedding Performance > Stores / RSAs, 2026-09-02).
   A right-side slide-over listing the clicked store's or RSA's bedding SKUs for
   the active date window + vendor filter. Injected once by js/views/bedding.js
   and appended to <body>, so it sits above the app chrome. Token-driven where a
   token exists; falls back to the same neutral greys the bedding tables use. */

.sku-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 1000;
}
.sku-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.sku-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 540px;
  max-width: 92vw;
  background: #fff;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.18);
  transform: translateX(100%);
  transition: transform 0.22s ease;
  z-index: 1001;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.sku-drawer.open {
  transform: translateX(0);
}

.sku-drawer-head {
  position: sticky;
  top: 0;
  background: var(--primary-teal, #003B4A);
  color: #fff;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.sku-drawer-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
}
.sku-drawer-title {
  font-size: 17px;
  font-weight: 700;
  margin-top: 2px;
}
.sku-drawer-sub {
  font-size: 12px;
  opacity: 0.85;
  margin-top: 2px;
}
.sku-drawer-x {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}
.sku-drawer-x:hover { opacity: 0.8; }

.sku-drawer-body {
  padding: 16px 20px 32px;
}
.sku-drawer-note {
  margin-top: 12px;
  font-size: 11px;
  color: #9ca3af;
  line-height: 1.5;
}
