/*!
 * RFK Shortlists — styles
 * --------------------------------------------------
 * Star button on every card + floating "My list (N)" widget bottom-right.
 */

.rfk-star-btn {
  background: rgba(10, 10, 8, 0.75);
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: rgba(255, 255, 255, 0.85);
  padding: 7px;
  cursor: pointer;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.18s, color 0.18s, transform 0.18s, border-color 0.18s;
  line-height: 0;
}

.rfk-star-btn:hover {
  color: #C9A84C;
  border-color: rgba(201, 168, 76, 0.7);
  transform: scale(1.08);
}

.rfk-star-btn:focus-visible {
  outline: 2px solid #C9A84C;
  outline-offset: 2px;
}

.rfk-star-on {
  color: #C9A84C;
  border-color: #C9A84C;
}

.rfk-star-detail {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  margin-left: 12px;
  width: 44px;
  height: 44px;
  vertical-align: middle;
}

/* ───────── Floating list widget ───────── */
.rfk-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 8500;
  display: flex;
  align-items: stretch;
  background: #111110;
  border: 1px solid rgba(201, 168, 76, 0.45);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow: hidden;
}

.rfk-fab-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: #F5F2EA;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.05em;
  transition: background 0.18s;
}

.rfk-fab-link:hover {
  background: rgba(201, 168, 76, 0.08);
}

.rfk-fab-icon {
  color: #C9A84C;
  display: inline-flex;
  line-height: 0;
}

.rfk-fab-text {
  font-weight: 500;
}

.rfk-fab-share {
  background: #C9A84C;
  border: none;
  color: #0A0A08;
  padding: 0 18px;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s;
}

.rfk-fab-share:hover {
  background: #d9b765;
}

.rfk-fab-share:focus-visible {
  outline: 2px solid #C9A84C;
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .rfk-fab {
    bottom: 16px;
    right: 16px;
    left: 16px;
    justify-content: space-between;
  }
  .rfk-fab-link {
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rfk-star-btn,
  .rfk-fab-link,
  .rfk-fab-share { transition: none; }
}
