/* ========================================================================
   Mobile Quick Links FAB + slide-in drawer.
   The button starts docked at the right-middle of the screen and can be
   dragged anywhere by the user (see js/components/quick-links-fab.js).
   Only shown below 992px — desktop keeps the sticky sidebar instead
   (see .sidebar-widget.sidebar-quick-access in department-theme.css).
   ======================================================================== */

.quick-links-fab {
  display: none;
  position: fixed;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #910029, #1E4D8C);
  color: #fff;
  font-size: 1.3rem;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  z-index: 9997;
  cursor: grab;
  touch-action: none;
  padding: 0;
}

.quick-links-fab:active {
  cursor: grabbing;
}

@media (max-width: 991px) {
  .quick-links-fab {
    display: flex;
  }
}

.quick-links-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.quick-links-overlay.active {
  display: block;
  opacity: 1;
}

.quick-links-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 82%;
  max-width: 340px;
  background: #fff;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.quick-links-drawer.active {
  transform: translateX(0);
}

.quick-links-drawer-header {
  flex-shrink: 0;
  background: linear-gradient(135deg, #910029, #1E4D8C);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quick-links-drawer-header h3 {
  margin: 0;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.quick-links-drawer-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
}

.quick-links-drawer-body {
  flex: 1;
  overflow-y: auto;
  background: #fff;
}

.quick-links-drawer-body .sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.quick-links-drawer-body .sidebar-list li {
  margin: 0;
  border-bottom: 1px solid #f0f0f0;
}

.quick-links-drawer-body .sidebar-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 22px;
  color: #555;
  font-weight: 600;
  text-decoration: none;
}

.quick-links-drawer-body .sidebar-list a:hover,
.quick-links-drawer-body .sidebar-list a:active {
  background: #f8f9fa;
  color: #910029;
}

.quick-links-drawer-body .sidebar-list a::after {
  content: '\f054';
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 0.75rem;
  opacity: 0.5;
  color: #999;
}
