/* ═══════════════════════════════
   FEATURED PROMOTIONS — PREMIUM CARDS
   ═══════════════════════════════ */
.fp-section {
  margin-bottom: 20px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.fp-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

.fp-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
}

.fp-strip::-webkit-scrollbar {
  height: 4px;
}

.fp-strip::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 2px;
}

.fp-card {
  position: relative;
  min-width: 220px;
  max-width: 220px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
  transition: all .2s ease;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.fp-card:hover {
  border-color: #f59e0b;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, .12), 0 2px 8px rgba(0, 0, 0, .08);
}

.fp-card-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .6);
  color: #fff;
  border: none;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all .15s ease;
  backdrop-filter: blur(4px);
}

.fp-card:hover .fp-card-remove {
  opacity: 1;
}

.fp-card-remove:hover {
  background: var(--rose);
  transform: scale(1.1);
}

.fp-card-img-wrap {
  position: relative;
  width: 100%;
  height: 130px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg) 0%, var(--surface) 100%);
}

.fp-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}

.fp-card:hover .fp-card-img {
  transform: scale(1.06);
}

.fp-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(245, 158, 11, .06), rgba(249, 115, 22, .04));
}

.fp-card-discount {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #fff;
  letter-spacing: .3px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, .4);
  z-index: 2;
  text-transform: uppercase;
}

.fp-card-status {
  position: absolute;
  bottom: 8px;
  right: 8px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  backdrop-filter: blur(6px);
  z-index: 2;
}

.fp-status-active {
  background: rgba(34, 197, 94, .88);
  color: #fff;
}

.fp-status-scheduled {
  background: rgba(245, 158, 11, .88);
  color: #fff;
}

.fp-status-expired {
  background: rgba(239, 68, 68, .78);
  color: #fff;
}

.fp-card-body {
  padding: 12px 14px;
}

.fp-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fp-card-business {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.fp-card-prices {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.fp-price-old {
  font-size: 12px;
  text-decoration: line-through;
  color: var(--text-muted);
  font-weight: 500;
}

.fp-price-new {
  font-size: 15px;
  font-weight: 800;
  color: var(--green);
}

.fp-card-dates {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.fp-card-actions {
  display: flex;
  gap: 4px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

/* ── Empty state ── */
.fp-empty {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 2px dashed var(--border);
  border-radius: var(--radius-xl);
  padding: 20px 24px;
  margin-bottom: 20px;
  cursor: pointer;
  transition: all .2s ease;
}

.fp-empty:hover {
  border-color: #f59e0b;
  background: rgba(245, 158, 11, .04);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, .08);
}

.fp-empty-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .2s ease;
}

.fp-empty:hover .fp-empty-icon {
  background: #f59e0b;
}

.fp-empty:hover .fp-empty-icon .material-icons-outlined {
  color: #fff !important;
}

.fp-empty-text {
  flex: 1;
}

/* ── Featured row highlight in table ── */
.fp-row-featured {
  background: linear-gradient(90deg, rgba(245, 158, 11, .14) 0%, rgba(251, 191, 36, .07) 35%, rgba(249, 115, 22, .04) 100%);
  border-left: 4px solid transparent;
  border-image: linear-gradient(180deg, #f59e0b, #f97316, #ec4899) 1;
  position: relative;
}

.fp-row-featured::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #fbbf24, #f59e0b, #f97316);
  border-radius: 0 2px 2px 0;
  animation: fp-shimmer 2.5s ease-in-out infinite;
}

@keyframes fp-shimmer {
  0%, 100% { opacity: 1; }
  50% { opacity: .55; }
}

.fp-row-featured:hover {
  background: linear-gradient(90deg, rgba(245, 158, 11, .22) 0%, rgba(251, 191, 36, .12) 35%, rgba(249, 115, 22, .06) 100%) !important;
}

@media (max-width: 740px) {
  .fp-card {
    min-width: 180px;
    max-width: 180px;
  }

  .fp-card-img-wrap {
    height: 100px;
  }

  .fp-empty {
    flex-direction: column;
    text-align: center;
  }
}

/* ═══════════════════════════════
   FEATURED TOURIST SPOT — PREMIUM BANNER
   ═══════════════════════════════ */
.fsh-banner {
  position: relative;
  width: 100%;
  min-height: 200px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 20px;
  background-size: cover;
  background-position: center;
  background-color: var(--surface);
  box-shadow: var(--shadow-md);
  transition: box-shadow .3s ease;
}

.fsh-banner:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, .18);
}

.fsh-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(0, 0, 0, .75) 0%,
      rgba(0, 0, 0, .55) 40%,
      rgba(0, 0, 0, .20) 100%);
  z-index: 1;
}

.fsh-banner-content {
  position: relative;
  z-index: 2;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 200px;
}

.fsh-badge-glow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(245, 158, 11, .92);
  color: #fff;
  letter-spacing: .4px;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 14px rgba(245, 158, 11, .45), 0 2px 6px rgba(0, 0, 0, .2);
  width: fit-content;
  margin-bottom: 10px;
  animation: fsh-glow-pulse 2.5s ease-in-out infinite;
}

@keyframes fsh-glow-pulse {

  0%,
  100% {
    box-shadow: 0 0 14px rgba(245, 158, 11, .45), 0 2px 6px rgba(0, 0, 0, .2);
  }

  50% {
    box-shadow: 0 0 22px rgba(245, 158, 11, .65), 0 2px 8px rgba(0, 0, 0, .3);
  }
}

.fsh-banner-name {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.4px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .3);
  margin-bottom: 8px;
}

.fsh-banner-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.fsh-pill {
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .15);
}

.fsh-addr {
  font-size: 12px;
  color: rgba(255, 255, 255, .75);
  font-weight: 400;
}

.fsh-rating-pill {
  font-size: 12px;
  font-weight: 600;
  color: #fbbf24;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .4);
}

.fsh-change-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(10px);
  cursor: pointer;
  width: fit-content;
  transition: all .2s ease;
  letter-spacing: .2px;
}

.fsh-change-btn:hover {
  background: rgba(255, 255, 255, .22);
  border-color: rgba(255, 255, 255, .45);
  box-shadow: 0 4px 16px rgba(255, 255, 255, .1);
  transform: translateY(-1px);
}

/* ── Empty state ── */
.fsh-empty {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 2px dashed var(--border);
  border-radius: var(--radius-xl);
  padding: 24px 28px;
  margin-bottom: 20px;
  cursor: pointer;
  transition: all .2s ease;
}

.fsh-empty:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
  box-shadow: 0 0 0 4px var(--primary-soft);
}

.fsh-empty-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .2s ease;
}

.fsh-empty:hover .fsh-empty-icon {
  background: var(--primary);
}

.fsh-empty:hover .fsh-empty-icon .material-icons-outlined {
  color: #fff !important;
}

.fsh-empty-text {
  flex: 1;
}

/* ═══════════════════════════════
   FEATURED SPOT PICKER — MODAL CARDS
   ═══════════════════════════════ */
.fsp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  max-height: 420px;
  overflow-y: auto;
  padding: 2px;
}

.fsp-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .2s ease;
}

.fsp-card:not(.fsp-card-active):hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px var(--primary-shadow);
  transform: translateY(-3px);
}

.fsp-card-active {
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, .25), 0 4px 12px rgba(245, 158, 11, .15);
}

.fsp-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg);
}

.fsp-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.fsp-card:not(.fsp-card-active):hover .fsp-card-img {
  transform: scale(1.06);
}

.fsp-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}

.fsp-card-current {
  position: absolute;
  bottom: 6px;
  left: 6px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 700;
  background: rgba(245, 158, 11, .92);
  color: #fff;
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(245, 158, 11, .35);
}

.fsp-card-body {
  padding: 10px 12px;
}

.fsp-card-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fsp-card-cat {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
}

.fsp-card-rating {
  font-size: 10px;
  font-weight: 600;
  color: var(--text);
  margin-top: 2px;
}

@media (max-width: 740px) {
  .fsh-banner-content {
    padding: 20px;
    min-height: 160px;
  }

  .fsh-banner-name {
    font-size: 18px;
  }

  .fsh-empty {
    flex-direction: column;
    text-align: center;
  }

  .fsp-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
}

/* ═══════════════════════════════
   SIDEBAR BADGE (pending count)
   ═══════════════════════════════ */
.sidebar-badge {
  margin-left: auto;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 800;
  line-height: 20px;
  text-align: center;
  background: var(--rose);
  color: #fff;
  flex-shrink: 0;
}

.sidebar-item.active .sidebar-badge {
  background: rgba(255, 255, 255, .25);
  color: #fff;
}

