/**
 * HappyPreggie — Reusable UI Cards, Carousels, Concierge Banner & Global Modals
 * Reference: planning/03-visual-design-and-ui-system.md (Section 6)
 */

/* Feminine Pink Diamond / Amethyst Points Gemstone Icon */
.hp-gem-icon {
  display: inline-block;
  line-height: 1;
  filter: hue-rotate(130deg) saturate(1.45) brightness(1.05);
  vertical-align: -0.06em;
  font-style: normal;
}

/* 6.1 Provider Directory Card (.cards2 / .listing-card) */
.cards2 {
  background: var(--hp-bg-white);
  border: 1px solid var(--hp-border-light);
  border-radius: var(--hp-radius-md);
  box-shadow: var(--hp-shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  max-width: 100%;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.cards2:hover {
  transform: translateY(-4px);
  box-shadow: var(--hp-shadow-hover);
  border-color: var(--hp-purple-soft);
}

.cards2 .card-image-box {
  position: relative;
  height: 195px;
  overflow: hidden;
  background-color: var(--hp-bg-muted);
  flex-shrink: 0;
}

.cards2 .card-image-box > a {
  display: block;
  width: 100%;
  height: 100%;
}

.cards2 .card-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.cards2:hover .card-image-box img {
  transform: scale(1.04);
}

/* 6.1.1 Featured Provider Card Accent (Gradient Pink Background matching Homepage Hero) */
.cards2.hp-card-featured {
  background: linear-gradient(135deg, #fce5e9 0%, #fef3f5 42%, #fce2e8 78%, #f7edf8 100%);
  border: 1px solid rgba(244, 180, 184, 0.75);
  box-shadow: 0 4px 18px rgba(244, 180, 184, 0.28);
}

.cards2.hp-card-featured:hover {
  border-color: rgba(235, 145, 155, 0.95);
  box-shadow: 0 10px 26px rgba(220, 100, 130, 0.22);
}

.cards2.hp-card-featured .card-meta-row {
  border-top-color: rgba(244, 180, 184, 0.5);
}

/* 6.1.2 Interactable Swipe-to-Slide Thumbnail Slider for Featured Providers */
.cards2 .card-image-box .hp-card-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.cards2 .card-image-box .hp-card-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.cards2 .card-image-box .hp-card-slider-track::-webkit-scrollbar {
  display: none;
}

.cards2 .card-image-box .hp-card-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: block;
  position: relative;
}

.cards2 .card-image-box .hp-card-slide img.hp-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* Slide Navigation Arrow Buttons */
.cards2 .card-image-box .hp-card-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #1f2937;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  cursor: pointer;
  z-index: 8;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.15s ease, background 0.15s ease;
  padding: 0;
  line-height: 1;
}

.cards2:hover .card-image-box .hp-card-slider-btn,
.cards2 .card-image-box .hp-card-slider:focus-within .hp-card-slider-btn {
  opacity: 0.92;
}

.cards2 .card-image-box .hp-card-slider-btn:hover {
  opacity: 1;
  background: #ffffff;
  transform: translateY(-50%) scale(1.08);
}

.cards2 .card-image-box .hp-card-slider-btn.hp-card-slider-prev {
  left: 8px;
}

.cards2 .card-image-box .hp-card-slider-btn.hp-card-slider-next {
  right: 8px;
}

@media (hover: none) {
  .cards2 .card-image-box .hp-card-slider-btn {
    display: none;
  }
}

/* Slide Dots Indicator (Top Left Pill) */
.cards2 .card-image-box .hp-card-slider-dots {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 12px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9;
  pointer-events: none;
}

.cards2 .card-image-box .hp-card-slider-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  transition: background 0.2s ease, transform 0.2s ease;
}

.cards2 .card-image-box .hp-card-slider-dot.is-active {
  background: #ffffff;
  transform: scale(1.3);
}

/* 6.1.3 Double Bounce Affordance Keyframe Animation */
@keyframes hpCardSliderDoubleBounce {
  0% {
    transform: translateX(0);
  }
  18% {
    transform: translateX(-32px);
  }
  36% {
    transform: translateX(0);
  }
  54% {
    transform: translateX(-16px);
  }
  72% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(0);
  }
}

.cards2 .card-image-box .hp-card-slider-track.hp-slider-bounce-cue {
  animation: hpCardSliderDoubleBounce 1.1s cubic-bezier(0.25, 1, 0.5, 1) both;
}

/* 6.1.4 Slide Photo Counter Badge ('1/3') */
.cards2 .card-image-box .hp-card-slider-counter {
  position: absolute;
  top: 10px;
  right: 52px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(18, 12, 28, 0.58);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9;
  pointer-events: none;
  line-height: 1;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.cards2 .card-image-box .hp-card-slider-counter i {
  font-size: 10px;
  opacity: 0.85;
}

/* 6.1.5 Animated Sparkles / Particles for Featured Cards */
.cards2 .card-image-box .hp-card-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 7;
  border-radius: var(--hp-radius-md, 12px) var(--hp-radius-md, 12px) 0 0;
}

.cards2 .card-image-box .hp-sparkle {
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 80%);
  width: var(--s, 10px);
  height: var(--s, 10px);
  display: inline-block;
  pointer-events: none;
  opacity: 0;
  animation: hpSparkleFloat var(--dur, 2.8s) ease-in-out var(--d, 0s) infinite;
  will-change: transform, opacity;
}

.cards2 .card-image-box .hp-sparkle svg {
  width: 100%;
  height: 100%;
  fill: var(--c, #ffb400);
  filter: drop-shadow(0 0 3px rgba(255, 180, 0, 0.85));
}

@keyframes hpSparkleFloat {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.3) rotate(0deg);
  }
  20% {
    opacity: 0.95;
    transform: translate3d(-3px, -18px, 0) scale(1.1) rotate(45deg);
  }
  60% {
    opacity: 0.8;
    transform: translate3d(4px, -45px, 0) scale(0.9) rotate(90deg);
  }
  90% {
    opacity: 0.2;
    transform: translate3d(-2px, -70px, 0) scale(0.5) rotate(135deg);
  }
  100% {
    opacity: 0;
    transform: translate3d(0, -85px, 0) scale(0.2) rotate(180deg);
  }
}

/* Animated Floating Hearts Particle Keyframes */
@keyframes hpHeartFloat {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.3) rotate(-8deg);
  }
  20% {
    opacity: 0.95;
    transform: translate3d(-4px, -18px, 0) scale(1.1) rotate(6deg);
  }
  50% {
    opacity: 0.85;
    transform: translate3d(5px, -45px, 0) scale(0.95) rotate(-6deg);
  }
  80% {
    opacity: 0.35;
    transform: translate3d(-3px, -72px, 0) scale(0.6) rotate(4deg);
  }
  100% {
    opacity: 0;
    transform: translate3d(2px, -90px, 0) scale(0.2) rotate(0deg);
  }
}

.cards2 .card-image-box .hp-sparkle.hp-sparkle-heart {
  animation-name: hpHeartFloat;
}

.cards2 .card-image-box .hp-sparkle.hp-sparkle-heart svg {
  filter: drop-shadow(0 0 3px rgba(244, 63, 94, 0.85));
}

/* Universal Floating Heart / Shortlist Button across all Card Components */
.add_mylove,
.cards2 .add_mylove,
.deal-card .add_mylove,
.hp-blog-card .add_mylove,
.hp-blog-spotlight-card .add_mylove,
.cards3 .add_mylove,
.hp-service-detail-card .add_mylove,
.hp-exp-card .add_mylove,
.hp-exp-banner-wrap .add_mylove,
.hp-deal-banner-image .add_mylove,
.hp-blog-hero-figure .add_mylove {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #71717a;
  font-size: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
  z-index: 12;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.add_mylove:hover,
.cards2 .add_mylove:hover,
.deal-card .add_mylove:hover,
.hp-blog-card .add_mylove:hover,
.hp-blog-spotlight-card .add_mylove:hover,
.cards3 .add_mylove:hover,
.hp-service-detail-card .add_mylove:hover,
.hp-exp-card .add_mylove:hover {
  transform: scale(1.12);
  color: var(--hp-heart-red, #ff3c3c);
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(255, 60, 60, 0.22);
}

.add_mylove.is-favorited,
.add_mylove.active,
.cards2 .add_mylove.is-favorited,
.cards2 .add_mylove.active,
.deal-card .add_mylove.is-favorited,
.deal-card .add_mylove.active,
.hp-blog-card .add_mylove.is-favorited,
.hp-blog-card .add_mylove.active,
.hp-blog-spotlight-card .add_mylove.is-favorited,
.hp-blog-spotlight-card .add_mylove.active,
.cards3 .add_mylove.is-favorited,
.cards3 .add_mylove.active,
.hp-service-detail-card .add_mylove.is-favorited,
.hp-service-detail-card .add_mylove.active,
.hp-exp-card .add_mylove.is-favorited,
.hp-exp-card .add_mylove.active,
.hp-exp-banner-wrap .add_mylove.is-favorited,
.hp-exp-banner-wrap .add_mylove.active,
.hp-deal-banner-image .add_mylove.is-favorited,
.hp-deal-banner-image .add_mylove.active,
.hp-blog-hero-figure .add_mylove.is-favorited,
.hp-blog-hero-figure .add_mylove.active {
  color: var(--hp-heart-red, #ff3c3c) !important;
  background: #ffffff !important;
  border-color: rgba(255, 60, 60, 0.22) !important;
  box-shadow: 0 3px 10px rgba(255, 60, 60, 0.28) !important;
}

.add_mylove.is-favorited i,
.add_mylove.active i,
.cards2 .add_mylove.is-favorited i,
.cards2 .add_mylove.active i,
.hp-service-detail-card .add_mylove.is-favorited i,
.hp-service-detail-card .add_mylove.active i,
.hp-exp-card .add_mylove.is-favorited i,
.hp-exp-card .add_mylove.active i {
  color: var(--hp-heart-red, #ff3c3c) !important;
}

/* Detail Page Hero Action Buttons (.btn.add_mylove) */
.btn.add_mylove {
  position: static;
  width: auto;
  height: auto;
  border-radius: var(--hp-radius-pill, 9999px);
  padding: 6px 16px;
  font-size: 13.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: none;
  background: transparent;
  color: var(--hp-purple, #612e95);
  border: 1.5px solid var(--hp-purple, #612e95);
  transition: all 0.2s ease;
}

.btn.add_mylove:hover {
  background: rgba(97, 46, 149, 0.06);
  color: var(--hp-purple, #612e95);
  transform: translateY(-1px);
}

.btn.add_mylove.is-favorited,
.btn.add_mylove.active {
  background: #fff1f2 !important;
  border-color: var(--hp-heart-red, #ff3c3c) !important;
  color: var(--hp-heart-red, #ff3c3c) !important;
  box-shadow: 0 2px 8px rgba(255, 60, 60, 0.2) !important;
}

.btn.add_mylove.is-favorited i,
.btn.add_mylove.active i {
  color: var(--hp-heart-red, #ff3c3c) !important;
}

/* Tactile Heart Pop Bounce Keyframe Animation */
@keyframes hpHeartPop {
  0% { transform: scale(1); }
  35% { transform: scale(1.4); }
  65% { transform: scale(0.85); }
  100% { transform: scale(1); }
}

.hp-heart-pop {
  display: inline-block;
  animation: hpHeartPop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@media (max-width: 767px) {
  .is-mobile-2-col .add_mylove,
  .hp-listings-grid.is-mobile-2-col .add_mylove,
  .hp-deals-grid.is-mobile-2-col .add_mylove,
  .hp-blog-cards-grid.is-mobile-2-col .add_mylove,
  .hp-services-grid.is-mobile-2-col .add_mylove,
  .hp-exp-cards-grid.is-mobile-2-col .add_mylove {
    width: 28px;
    height: 28px;
    font-size: 13px;
    top: 8px;
    right: 8px;
  }
}

.cards2 .card-badges-overlay {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  pointer-events: none;
  z-index: 10;
}

.cards2 .card-badges-overlay .hp-badge {
  pointer-events: auto;
  font-size: 9.5px;
  padding: 2px 6px;
  line-height: 1.2;
  gap: 3.5px;
}

.cards2 .card-badges-overlay .hp-badge i {
  font-size: 9.5px;
}

.cards2 .card-badges-overlay .hp-badge.hp-badge-icon-only {
  padding: 2px 5px;
  min-width: 18px;
  justify-content: center;
}

.hp-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: var(--hp-radius-pill);
  line-height: 1.2;
}

.hp-badge-featured {
  background-color: #fffbeb;
  color: #92400e;
  border: 1px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.hp-badge-featured i {
  color: var(--hp-star-gold, #ffb400);
}

.hp-badge-verified {
  background-color: var(--hp-teal-accent);
  color: #ffffff;
}

.hp-badge.hp-badge-icon-only {
  padding: 3px 7px;
  justify-content: center;
  min-width: 22px;
}

.hp-badge.hp-badge-icon-only i {
  margin: 0;
}

.hp-badge-hpcover {
  background-color: var(--hp-pink-pastel);
  color: var(--hp-purple-dark);
}

.hp-badge-muslim {
  background-color: #e6f4ea;
  color: #137333;
}

.hp-badge-purple {
  background-color: var(--hp-purple-tint);
  color: var(--hp-purple-primary);
}

.hp-badge-trending {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(234, 88, 12, 0.3);
}

/* ===================================================================
   6.1.6 Featured Card Effects Debug Toggles (Live Controlled Attributes)
   =================================================================== */

/* Card Background Variants */
html[data-hp-card-bg="white"] .cards2.hp-card-featured {
  background: #ffffff !important;
  border: 1px solid var(--hp-border-light, #ebe5f0) !important;
  box-shadow: var(--hp-shadow-card, 0 4px 14px rgba(35, 25, 27, 0.06)) !important;
}

html[data-hp-card-bg="white"] .cards2.hp-card-featured .card-meta-row {
  border-top-color: var(--hp-border-light, #f1eff5) !important;
}

html[data-hp-card-bg="pink"] .cards2.hp-card-featured {
  background: linear-gradient(135deg, #fce5e9 0%, #fef3f5 42%, #fce2e8 78%, #f7edf8 100%) !important;
  border: 1px solid rgba(244, 180, 184, 0.75) !important;
  box-shadow: 0 4px 18px rgba(244, 180, 184, 0.28) !important;
}

html[data-hp-card-bg="pink"] .cards2.hp-card-featured .card-meta-row {
  border-top-color: rgba(244, 180, 184, 0.5) !important;
}

html[data-hp-card-bg="purple"] .cards2.hp-card-featured {
  background: linear-gradient(135deg, #f7f0ff 0%, #faf5ff 40%, #f1e4fd 78%, #edd8fc 100%) !important;
  border: 1px solid rgba(199, 155, 237, 0.75) !important;
  box-shadow: 0 4px 18px rgba(186, 137, 230, 0.28) !important;
}

html[data-hp-card-bg="purple"] .cards2.hp-card-featured:hover {
  border-color: rgba(170, 105, 225, 0.95) !important;
  box-shadow: 0 10px 26px rgba(145, 75, 205, 0.25) !important;
}

html[data-hp-card-bg="purple"] .cards2.hp-card-featured .card-meta-row {
  border-top-color: rgba(209, 175, 240, 0.5) !important;
}

/* Featured Label Debug Toggles (Applied across directory, deals, services, articles) */
html[data-hp-featured-icon="false"] .cards2 .hp-badge-featured i,
html[data-hp-featured-icon="false"] .hp-badge-featured i {
  display: none !important;
}
html[data-hp-featured-text="false"] .cards2 .hp-badge-featured,
html[data-hp-featured-text="false"] .hp-badge-featured {
  font-size: 0 !important;
  padding: 2px 5px !important;
  min-width: 18px !important;
}
html[data-hp-featured-text="false"] .cards2 .hp-badge-featured i,
html[data-hp-featured-text="false"] .hp-badge-featured i {
  font-size: 9.5px !important;
  margin: 0 !important;
}
html[data-hp-featured-icon="false"][data-hp-featured-text="false"] .cards2 .hp-badge-featured,
html[data-hp-featured-icon="false"][data-hp-featured-text="false"] .hp-badge-featured {
  display: none !important;
}

/* Verified Label Debug Toggles (Applied across directory, deals, services, articles) */
html[data-hp-verified-icon="false"] .cards2 .hp-badge-verified i,
html[data-hp-verified-icon="false"] .hp-badge-verified i {
  display: none !important;
}
html[data-hp-verified-text="false"] .cards2 .hp-badge-verified,
html[data-hp-verified-text="false"] .hp-badge-verified {
  font-size: 0 !important;
  padding: 2px 5px !important;
  min-width: 18px !important;
}
html[data-hp-verified-text="false"] .cards2 .hp-badge-verified i,
html[data-hp-verified-text="false"] .hp-badge-verified i {
  font-size: 9.5px !important;
  margin: 0 !important;
}
html[data-hp-verified-text="true"] .cards2 .hp-badge-verified.hp-badge-icon-only,
html[data-hp-verified-text="true"] .hp-badge-verified.hp-badge-icon-only {
  padding: 2px 6px !important;
  min-width: 0 !important;
}
html[data-hp-verified-text="true"] .cards2 .hp-badge-verified.hp-badge-icon-only::after,
html[data-hp-verified-text="true"] .hp-badge-verified.hp-badge-icon-only::after {
  content: " Verified";
  font-size: 9.5px !important;
  font-weight: 800;
  display: inline;
}
html[data-hp-verified-icon="false"][data-hp-verified-text="false"] .cards2 .hp-badge-verified,
html[data-hp-verified-icon="false"][data-hp-verified-text="false"] .hp-badge-verified {
  display: none !important;
}

/* FREE HPCover Label Debug Toggles (Applied across directory, deals, services, articles) */
html[data-hp-hpcover-icon="false"] .cards2 .hp-badge-hpcover i,
html[data-hp-hpcover-icon="false"] .hp-badge-hpcover i {
  display: none !important;
}
html[data-hp-hpcover-text="false"] .cards2 .hp-badge-hpcover,
html[data-hp-hpcover-text="false"] .hp-badge-hpcover {
  font-size: 0 !important;
  padding: 2px 5px !important;
  min-width: 18px !important;
}
html[data-hp-hpcover-text="false"] .cards2 .hp-badge-hpcover i,
html[data-hp-hpcover-text="false"] .hp-badge-hpcover i {
  font-size: 9.5px !important;
  margin: 0 !important;
}
html[data-hp-hpcover-icon="false"][data-hp-hpcover-text="false"] .cards2 .hp-badge-hpcover,
html[data-hp-hpcover-icon="false"][data-hp-hpcover-text="false"] .hp-badge-hpcover {
  display: none !important;
}

/* Image Pager & Image Count Debug Toggles */
html[data-hp-image-pager="false"] .cards2 .card-image-box .hp-card-slider-dots {
  display: none !important;
}
html[data-hp-image-pager="true"] .cards2 .card-image-box .hp-card-slider-dots {
  display: inline-flex !important;
}

html[data-hp-image-count="false"] .cards2 .card-image-box .hp-card-slider-counter {
  display: none !important;
}
html[data-hp-image-count="true"] .cards2 .card-image-box .hp-card-slider-counter {
  display: inline-flex !important;
}

/* Sparkles / Particles Animation Modes: none | stars | hearts */
html[data-hp-sparkles="none"] .cards2 .card-image-box .hp-card-sparkles,
html[data-hp-sparkles="false"] .cards2 .card-image-box .hp-card-sparkles {
  display: none !important;
}

/* Default Particles Mode: hearts (hide stars, show floating hearts) */
.cards2 .card-image-box .hp-sparkle.hp-sparkle-star {
  display: none !important;
}
.cards2 .card-image-box .hp-sparkle.hp-sparkle-heart {
  display: inline-block !important;
}

/* Hearts mode: hide stars, show hearts */
html[data-hp-sparkles="hearts"] .cards2 .card-image-box .hp-sparkle.hp-sparkle-star {
  display: none !important;
}
html[data-hp-sparkles="hearts"] .cards2 .card-image-box .hp-sparkle.hp-sparkle-heart {
  display: inline-block !important;
}

/* Stars mode: show stars, hide hearts */
html[data-hp-sparkles="stars"] .cards2 .card-image-box .hp-sparkle.hp-sparkle-star {
  display: inline-block !important;
}
html[data-hp-sparkles="stars"] .cards2 .card-image-box .hp-sparkle.hp-sparkle-heart {
  display: none !important;
}

/* ===================================================================
   6.1.6 4th Slide "See All Images" Caption & Overlay
   =================================================================== */
.cards2 .card-image-box .hp-card-slide.hp-card-slide-see-all {
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
}

.cards2 .card-image-box .hp-card-slide.hp-card-slide-see-all .hp-card-thumb-darkened {
  filter: brightness(0.42);
  transition: filter 0.25s ease, transform 0.35s ease;
}

.cards2 .card-image-box .hp-card-slide.hp-card-slide-see-all:hover .hp-card-thumb-darkened {
  filter: brightness(0.32);
  transform: scale(1.03);
}

.cards2 .card-image-box .hp-card-see-all-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: rgba(18, 12, 28, 0.40);
  color: #ffffff;
  text-align: center;
  pointer-events: none;
  transition: background 0.2s ease;
  z-index: 2;
}

.cards2 .card-image-box .hp-card-slide.hp-card-slide-see-all:hover .hp-card-see-all-overlay {
  background: rgba(18, 12, 28, 0.55);
}

.cards2 .card-image-box .hp-card-see-all-overlay .hp-see-all-icon {
  font-size: 15px;
  color: #ffffff;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}

.cards2 .card-image-box .hp-card-see-all-overlay .hp-see-all-text {
  font-size: 11px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.2px;
  padding: 3px 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.40);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
}

@media (max-width: 767px) {
  .cards2 .card-image-box .hp-card-see-all-overlay {
    gap: 3px;
  }
  .cards2 .card-image-box .hp-card-see-all-overlay .hp-see-all-icon {
    font-size: 13px;
  }
  .cards2 .card-image-box .hp-card-see-all-overlay .hp-see-all-text {
    font-size: 10px;
    padding: 2px 8px;
    font-weight: 600;
  }
}

/* ===================================================================
   Saved Heart Icon Debug Toggles (Normal & Featured Across All Listings)
   =================================================================== */

/* Normal Listing: "Saved" Icon Circle Toggle (Show / Hide) */
html[data-hp-normal-saved-circle="false"] .cards2:not(.hp-card-featured) .add_mylove,
html[data-hp-normal-saved-circle="false"] .hp-blog-card .add_mylove,
html[data-hp-normal-saved-circle="false"] .deal-card:not(.hp-deal-featured) .add_mylove,
html[data-hp-normal-saved-circle="false"] .mainparent2-deal-box:not(.hp-deal-featured) .add_mylove,
html[data-hp-normal-saved-circle="false"] .cards3:not(.hp-card-featured) .add_mylove,
html[data-hp-normal-saved-circle="false"] .hp-service-detail-card:not(.hp-card-featured) .add_mylove,
html[data-hp-normal-saved-circle="false"] .hp-exp-card:not(.hp-card-featured):not(.hp-exp-featured) .add_mylove {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
html[data-hp-normal-saved-circle="false"] .cards2:not(.hp-card-featured) .add_mylove:not(.is-favorited):not(.active),
html[data-hp-normal-saved-circle="false"] .hp-blog-card .add_mylove:not(.is-favorited):not(.active),
html[data-hp-normal-saved-circle="false"] .deal-card:not(.hp-deal-featured) .add_mylove:not(.is-favorited):not(.active),
html[data-hp-normal-saved-circle="false"] .mainparent2-deal-box:not(.hp-deal-featured) .add_mylove:not(.is-favorited):not(.active),
html[data-hp-normal-saved-circle="false"] .cards3:not(.hp-card-featured) .add_mylove:not(.is-favorited):not(.active),
html[data-hp-normal-saved-circle="false"] .hp-service-detail-card:not(.hp-card-featured) .add_mylove:not(.is-favorited):not(.active),
html[data-hp-normal-saved-circle="false"] .hp-exp-card:not(.hp-card-featured):not(.hp-exp-featured) .add_mylove:not(.is-favorited):not(.active) {
  color: #ffffff !important;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.75));
}

/* Normal Listing: "Saved" Icon Opacity Toggles (20%, 50%, 100%) */
html[data-hp-normal-saved-opacity="20"] .cards2:not(.hp-card-featured) .add_mylove,
html[data-hp-normal-saved-opacity="20"] .hp-blog-card .add_mylove,
html[data-hp-normal-saved-opacity="20"] .deal-card:not(.hp-deal-featured) .add_mylove,
html[data-hp-normal-saved-opacity="20"] .mainparent2-deal-box:not(.hp-deal-featured) .add_mylove,
html[data-hp-normal-saved-opacity="20"] .cards3:not(.hp-card-featured) .add_mylove,
html[data-hp-normal-saved-opacity="20"] .hp-service-detail-card:not(.hp-card-featured) .add_mylove,
html[data-hp-normal-saved-opacity="20"] .hp-exp-card:not(.hp-card-featured):not(.hp-exp-featured) .add_mylove {
  opacity: 0.20 !important;
}
html[data-hp-normal-saved-opacity="50"] .cards2:not(.hp-card-featured) .add_mylove,
html[data-hp-normal-saved-opacity="50"] .hp-blog-card .add_mylove,
html[data-hp-normal-saved-opacity="50"] .deal-card:not(.hp-deal-featured) .add_mylove,
html[data-hp-normal-saved-opacity="50"] .mainparent2-deal-box:not(.hp-deal-featured) .add_mylove,
html[data-hp-normal-saved-opacity="50"] .cards3:not(.hp-card-featured) .add_mylove,
html[data-hp-normal-saved-opacity="50"] .hp-service-detail-card:not(.hp-card-featured) .add_mylove,
html[data-hp-normal-saved-opacity="50"] .hp-exp-card:not(.hp-card-featured):not(.hp-exp-featured) .add_mylove {
  opacity: 0.50 !important;
}
html[data-hp-normal-saved-opacity="100"] .cards2:not(.hp-card-featured) .add_mylove,
html[data-hp-normal-saved-opacity="100"] .hp-blog-card .add_mylove,
html[data-hp-normal-saved-opacity="100"] .deal-card:not(.hp-deal-featured) .add_mylove,
html[data-hp-normal-saved-opacity="100"] .mainparent2-deal-box:not(.hp-deal-featured) .add_mylove,
html[data-hp-normal-saved-opacity="100"] .cards3:not(.hp-card-featured) .add_mylove,
html[data-hp-normal-saved-opacity="100"] .hp-service-detail-card:not(.hp-card-featured) .add_mylove,
html[data-hp-normal-saved-opacity="100"] .hp-exp-card:not(.hp-card-featured):not(.hp-exp-featured) .add_mylove {
  opacity: 1.0 !important;
}
html[data-hp-normal-saved-opacity="20"] .cards2:not(.hp-card-featured) .add_mylove:hover,
html[data-hp-normal-saved-opacity="20"] .hp-blog-card .add_mylove:hover,
html[data-hp-normal-saved-opacity="20"] .deal-card:not(.hp-deal-featured) .add_mylove:hover,
html[data-hp-normal-saved-opacity="20"] .mainparent2-deal-box:not(.hp-deal-featured) .add_mylove:hover,
html[data-hp-normal-saved-opacity="20"] .cards3:not(.hp-card-featured) .add_mylove:hover,
html[data-hp-normal-saved-opacity="20"] .hp-service-detail-card:not(.hp-card-featured) .add_mylove:hover,
html[data-hp-normal-saved-opacity="20"] .hp-exp-card:not(.hp-card-featured):not(.hp-exp-featured) .add_mylove:hover,
html[data-hp-normal-saved-opacity="50"] .cards2:not(.hp-card-featured) .add_mylove:hover,
html[data-hp-normal-saved-opacity="50"] .hp-blog-card .add_mylove:hover,
html[data-hp-normal-saved-opacity="50"] .deal-card:not(.hp-deal-featured) .add_mylove:hover,
html[data-hp-normal-saved-opacity="50"] .mainparent2-deal-box:not(.hp-deal-featured) .add_mylove:hover,
html[data-hp-normal-saved-opacity="50"] .cards3:not(.hp-card-featured) .add_mylove:hover,
html[data-hp-normal-saved-opacity="50"] .hp-service-detail-card:not(.hp-card-featured) .add_mylove:hover,
html[data-hp-normal-saved-opacity="50"] .hp-exp-card:not(.hp-card-featured):not(.hp-exp-featured) .add_mylove:hover {
  opacity: 1.0 !important;
}

/* Feature Listing: "Saved" Icon Circle Toggle (Show / Hide) */
html[data-hp-featured-saved-circle="false"] .cards2.hp-card-featured .add_mylove,
html[data-hp-featured-saved-circle="false"] .hp-blog-spotlight-card .add_mylove,
html[data-hp-featured-saved-circle="false"] .deal-card.hp-deal-featured .add_mylove,
html[data-hp-featured-saved-circle="false"] .deal-card.hp-card-featured .add_mylove,
html[data-hp-featured-saved-circle="false"] .mainparent2-deal-box.hp-deal-featured .add_mylove,
html[data-hp-featured-saved-circle="false"] .cards3.hp-card-featured .add_mylove,
html[data-hp-featured-saved-circle="false"] .hp-service-detail-card.hp-service-featured-card .add_mylove,
html[data-hp-featured-saved-circle="false"] .hp-service-detail-card.hp-card-featured .add_mylove,
html[data-hp-featured-saved-circle="false"] .hp-exp-card.hp-card-featured .add_mylove,
html[data-hp-featured-saved-circle="false"] .hp-exp-card.hp-exp-featured .add_mylove {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
html[data-hp-featured-saved-circle="false"] .cards2.hp-card-featured .add_mylove:not(.is-favorited):not(.active),
html[data-hp-featured-saved-circle="false"] .hp-blog-spotlight-card .add_mylove:not(.is-favorited):not(.active),
html[data-hp-featured-saved-circle="false"] .deal-card.hp-deal-featured .add_mylove:not(.is-favorited):not(.active),
html[data-hp-featured-saved-circle="false"] .deal-card.hp-card-featured .add_mylove:not(.is-favorited):not(.active),
html[data-hp-featured-saved-circle="false"] .mainparent2-deal-box.hp-deal-featured .add_mylove:not(.is-favorited):not(.active),
html[data-hp-featured-saved-circle="false"] .cards3.hp-card-featured .add_mylove:not(.is-favorited):not(.active),
html[data-hp-featured-saved-circle="false"] .hp-service-detail-card.hp-service-featured-card .add_mylove:not(.is-favorited):not(.active),
html[data-hp-featured-saved-circle="false"] .hp-service-detail-card.hp-card-featured .add_mylove:not(.is-favorited):not(.active),
html[data-hp-featured-saved-circle="false"] .hp-exp-card.hp-card-featured .add_mylove:not(.is-favorited):not(.active),
html[data-hp-featured-saved-circle="false"] .hp-exp-card.hp-exp-featured .add_mylove:not(.is-favorited):not(.active) {
  color: #ffffff !important;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.75));
}

/* Feature Listing: "Saved" Icon Opacity Toggles (20%, 50%, 100%) */
html[data-hp-featured-saved-opacity="20"] .cards2.hp-card-featured .add_mylove,
html[data-hp-featured-saved-opacity="20"] .hp-blog-spotlight-card .add_mylove,
html[data-hp-featured-saved-opacity="20"] .deal-card.hp-deal-featured .add_mylove,
html[data-hp-featured-saved-opacity="20"] .deal-card.hp-card-featured .add_mylove,
html[data-hp-featured-saved-opacity="20"] .mainparent2-deal-box.hp-deal-featured .add_mylove,
html[data-hp-featured-saved-opacity="20"] .cards3.hp-card-featured .add_mylove,
html[data-hp-featured-saved-opacity="20"] .hp-service-detail-card.hp-service-featured-card .add_mylove,
html[data-hp-featured-saved-opacity="20"] .hp-service-detail-card.hp-card-featured .add_mylove,
html[data-hp-featured-saved-opacity="20"] .hp-exp-card.hp-card-featured .add_mylove,
html[data-hp-featured-saved-opacity="20"] .hp-exp-card.hp-exp-featured .add_mylove {
  opacity: 0.20 !important;
}
html[data-hp-featured-saved-opacity="50"] .cards2.hp-card-featured .add_mylove,
html[data-hp-featured-saved-opacity="50"] .hp-blog-spotlight-card .add_mylove,
html[data-hp-featured-saved-opacity="50"] .deal-card.hp-deal-featured .add_mylove,
html[data-hp-featured-saved-opacity="50"] .deal-card.hp-card-featured .add_mylove,
html[data-hp-featured-saved-opacity="50"] .mainparent2-deal-box.hp-deal-featured .add_mylove,
html[data-hp-featured-saved-opacity="50"] .cards3.hp-card-featured .add_mylove,
html[data-hp-featured-saved-opacity="50"] .hp-service-detail-card.hp-service-featured-card .add_mylove,
html[data-hp-featured-saved-opacity="50"] .hp-service-detail-card.hp-card-featured .add_mylove,
html[data-hp-featured-saved-opacity="50"] .hp-exp-card.hp-card-featured .add_mylove,
html[data-hp-featured-saved-opacity="50"] .hp-exp-card.hp-exp-featured .add_mylove {
  opacity: 0.50 !important;
}
html[data-hp-featured-saved-opacity="100"] .cards2.hp-card-featured .add_mylove,
html[data-hp-featured-saved-opacity="100"] .hp-blog-spotlight-card .add_mylove,
html[data-hp-featured-saved-opacity="100"] .deal-card.hp-deal-featured .add_mylove,
html[data-hp-featured-saved-opacity="100"] .deal-card.hp-card-featured .add_mylove,
html[data-hp-featured-saved-opacity="100"] .mainparent2-deal-box.hp-deal-featured .add_mylove,
html[data-hp-featured-saved-opacity="100"] .cards3.hp-card-featured .add_mylove,
html[data-hp-featured-saved-opacity="100"] .hp-service-detail-card.hp-service-featured-card .add_mylove,
html[data-hp-featured-saved-opacity="100"] .hp-service-detail-card.hp-card-featured .add_mylove,
html[data-hp-featured-saved-opacity="100"] .hp-exp-card.hp-card-featured .add_mylove,
html[data-hp-featured-saved-opacity="100"] .hp-exp-card.hp-exp-featured .add_mylove {
  opacity: 1.0 !important;
}
html[data-hp-featured-saved-opacity="20"] .cards2.hp-card-featured .add_mylove:hover,
html[data-hp-featured-saved-opacity="20"] .hp-blog-spotlight-card .add_mylove:hover,
html[data-hp-featured-saved-opacity="20"] .deal-card.hp-deal-featured .add_mylove:hover,
html[data-hp-featured-saved-opacity="20"] .deal-card.hp-card-featured .add_mylove:hover,
html[data-hp-featured-saved-opacity="20"] .mainparent2-deal-box.hp-deal-featured .add_mylove:hover,
html[data-hp-featured-saved-opacity="20"] .cards3.hp-card-featured .add_mylove:hover,
html[data-hp-featured-saved-opacity="20"] .hp-service-detail-card.hp-service-featured-card .add_mylove:hover,
html[data-hp-featured-saved-opacity="20"] .hp-service-detail-card.hp-card-featured .add_mylove:hover,
html[data-hp-featured-saved-opacity="20"] .hp-exp-card.hp-card-featured .add_mylove:hover,
html[data-hp-featured-saved-opacity="20"] .hp-exp-card.hp-exp-featured .add_mylove:hover,
html[data-hp-featured-saved-opacity="50"] .cards2.hp-card-featured .add_mylove:hover,
html[data-hp-featured-saved-opacity="50"] .hp-blog-spotlight-card .add_mylove:hover,
html[data-hp-featured-saved-opacity="50"] .deal-card.hp-deal-featured .add_mylove:hover,
html[data-hp-featured-saved-opacity="50"] .deal-card.hp-card-featured .add_mylove:hover,
html[data-hp-featured-saved-opacity="50"] .mainparent2-deal-box.hp-deal-featured .add_mylove:hover,
html[data-hp-featured-saved-opacity="50"] .cards3.hp-card-featured .add_mylove:hover,
html[data-hp-featured-saved-opacity="50"] .hp-service-detail-card.hp-service-featured-card .add_mylove:hover,
html[data-hp-featured-saved-opacity="50"] .hp-service-detail-card.hp-card-featured .add_mylove:hover,
html[data-hp-featured-saved-opacity="50"] .hp-exp-card.hp-card-featured .add_mylove:hover,
html[data-hp-featured-saved-opacity="50"] .hp-exp-card.hp-exp-featured .add_mylove:hover {
  opacity: 1.0 !important;
}

/* ===================================================================
   6.1.7 Featured Card FX Debug Floating Trigger & Glassmorphic Panel
   =================================================================== */
.hp-card-fx-trigger {
  position: fixed;
  bottom: 80px;
  right: 24px;
  background: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35), 0 2px 8px rgba(0, 0, 0, 0.15);
  border-radius: 28px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  z-index: 10002;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.hp-card-fx-trigger:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.45);
}

.hp-card-fx-trigger.is-dragging {
  cursor: grabbing !important;
  opacity: 0.9;
  transform: scale(1.05);
  box-shadow: 0 16px 36px rgba(124, 58, 237, 0.55);
  transition: none !important;
}

html.hp-debug-hide-card-fx #hp-card-fx-trigger,
html.hp-debug-hide-card-fx #hp-card-fx-panel,
.hp-card-fx-trigger.is-hidden {
  display: none !important;
}

.hp-card-fx-panel {
  position: fixed;
  bottom: 80px;
  right: 24px;
  width: 320px;
  max-width: calc(100vw - 32px);
  max-height: 80vh;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(220, 205, 240, 0.85);
  border-radius: 18px;
  box-shadow: 0 20px 48px rgba(35, 25, 50, 0.22), 0 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 10005;
  display: none;
  flex-direction: column;
  padding: 18px;
  color: #1f2937;
  font-size: 13px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hp-card-fx-panel.is-open {
  display: flex;
}

@media (max-width: 991px) {
  .hp-card-fx-trigger {
    bottom: calc(var(--hp-mobile-bottom-height, 62px) + 72px + env(safe-area-inset-bottom, 0px));
    right: 14px;
    padding: 8px 14px;
    font-size: 12px;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.45);
    z-index: 10002;
  }

  .hp-card-fx-panel {
    bottom: calc(var(--hp-mobile-bottom-height, 62px) + 68px + env(safe-area-inset-bottom, 0px));
    right: 12px;
    left: 12px;
    width: auto;
    max-width: calc(100vw - 24px);
    max-height: 72vh;
    padding: 16px;
    z-index: 10005;
  }
}

.hp-card-fx-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1e9f7;
  margin-bottom: 14px;
}

.hp-card-fx-title {
  font-size: 14px;
  font-weight: 800;
  color: #4b1f6d;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hp-card-fx-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hp-card-fx-btn {
  background: transparent;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 13px;
  transition: background 0.15s ease, color 0.15s ease;
}

.hp-card-fx-btn:hover {
  background: #f3e8ff;
  color: #7c3aed;
}

.hp-card-fx-section {
  margin-bottom: 14px;
}

.hp-card-fx-section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #8b5cf6;
  margin-bottom: 8px;
}

.hp-card-fx-segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background: #f3f0f7;
  padding: 3px;
  border-radius: 10px;
}

.hp-card-fx-seg-btn {
  background: transparent;
  border: none;
  border-radius: 8px;
  padding: 6px 4px;
  font-size: 11px;
  font-weight: 700;
  color: #4b5563;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
}

.hp-card-fx-seg-btn.is-active {
  background: #ffffff;
  color: #7c3aed;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.hp-card-fx-grid-toggles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.hp-card-fx-check {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 12px;
  user-select: none;
}

.hp-card-fx-check input[type="checkbox"] {
  accent-color: #7c3aed;
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.hp-card-fx-action-block {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid #f1e9f7;
}

.hp-card-fx-replay-btn {
  width: 100%;
  padding: 8px 12px;
  border-radius: 10px;
  background: #f5f0ff;
  border: 1px solid #d8b4fe;
  color: #6b21a8;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.hp-card-fx-replay-btn:hover {
  background: #ecdcfc;
  color: #581c87;
  border-color: #c084fc;
}

.cards2 .card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cards2 .card-category-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--hp-purple-muted);
  margin-bottom: 4px;
}

.cards2 .card-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--hp-text-primary);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cards2 .card-title a {
  color: inherit;
}

.cards2 .card-title a:hover {
  color: var(--hp-purple-primary);
}

.cards2 .card-location {
  font-size: 13px;
  color: var(--hp-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.cards2 .card-location i {
  color: var(--hp-purple-secondary);
}

.cards2 .card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--hp-border-light);
}

.hp-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 800;
  color: var(--hp-text-primary);
}

.hp-rating-pill i {
  color: var(--hp-star-gold);
}

.hp-rating-pill span.count {
  font-weight: 600;
  color: var(--hp-text-muted);
  font-size: 12px;
}

/* ===================================================================
   6.1.7 Standardized Uniform Directory Listing Card Vertical Heights
   Ensures services, deals, events, blogs, and provider cards stretch
   uniformly across all rows with bottom-aligned footers.
   =================================================================== */
.cards2,
.cards3,
.deal-card,
.mainparent2-deal-box,
.hp-service-detail-card,
.hp-exp-card,
.hp-blog-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

.cards2 > .card-body,
.deal-card > .deal-card-body,
.hp-service-detail-card > .hp-service-card-body,
.hp-exp-card > .hp-exp-card-body,
.hp-blog-card > .hp-blog-card-body {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  height: 100% !important;
}

.cards2 .card-meta-row,
.deal-card .deal-card-footer,
.hp-service-detail-card .hp-service-card-footer,
.hp-exp-card .hp-exp-card-footer,
.hp-blog-card .hp-blog-card-expert,
.hp-blog-card .hp-blog-card-footer {
  margin-top: auto !important;
}

.cards2 .card-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--hp-purple-primary);
}

.cards2 .card-actions {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

/* 6.2 Great Deal / Voucher Card (.mainparent2-deal-box / .deal-card) */
.mainparent2-deal-box {
  background: #ffffff;
  border: 1px solid var(--hp-border-light);
  border-radius: var(--hp-radius-md);
  box-shadow: var(--hp-shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mainparent2-deal-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--hp-shadow-hover);
}

.deal-card-banner {
  position: relative;
  height: 170px;
  overflow: hidden;
  flex-shrink: 0;
}

.deal-card-banner > a {
  display: block;
  width: 100%;
  height: 100%;
}

.deal-card-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.deal-voucher-ribbon {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--hp-purple-primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--hp-radius-pill);
}

.deal-discount-tag {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: var(--hp-warning-amber);
  color: #222222;
  font-weight: 900;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: var(--hp-radius-sm);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.deal-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.deal-card-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--hp-text-primary);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.deal-card-provider {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--hp-text-secondary);
  margin-bottom: 6px;
}

.deal-provider-logo {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--hp-border);
  flex-shrink: 0;
}

.deal-card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  color: var(--hp-text-muted);
  margin-bottom: 10px;
}

.card-location {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--hp-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.deal-card-min-spend {
  display: inline-flex;
  align-items: center;
  background: #e0f2fe;
  color: #0369a1;
  padding: 2px 7px;
  border-radius: var(--hp-radius-sm);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

/* Quota Scarcity Bar */
.deal-quota-wrap {
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.deal-quota-bar {
  height: 6px;
  background: #f1f5f9;
  border-radius: var(--hp-radius-pill);
  overflow: hidden;
  position: relative;
}

.deal-quota-fill {
  height: 100%;
  border-radius: var(--hp-radius-pill);
  background: linear-gradient(90deg, var(--hp-purple) 0%, var(--hp-pink-deep) 100%);
  transition: width 0.4s ease;
}

.deal-quota-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  color: var(--hp-text-secondary);
}

.deal-quota-scarcity {
  color: #dc2626;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.deal-quota-depleted {
  color: #9ca3af;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.deal-card-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--hp-border-medium);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.deal-validity-text {
  font-size: 11.5px;
  font-weight: 600;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.deal-card.is-depleted {
  opacity: 0.88;
}

.deal-card.is-depleted img {
  filter: grayscale(40%);
}

.deal-sold-out-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.72);
  backdrop-filter: blur(2px);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}

/* 6.3 Specialist Service / Companion Card (.cards3 / .service-widget-card) */
.cards3 {
  background: #ffffff;
  border: 1px solid var(--hp-border-light);
  border-radius: var(--hp-radius-md);
  box-shadow: var(--hp-shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  max-width: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cards3:hover {
  transform: translateY(-3px);
  box-shadow: var(--hp-shadow-hover);
}

.cards3-image {
  position: relative;
  height: 155px;
  overflow: hidden;
  flex-shrink: 0;
}

.cards3-image > a {
  display: block;
  width: 100%;
  height: 100%;
}

.cards3-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cards3-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--hp-purple-primary);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: var(--hp-radius-pill);
}

.cards3-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cards3-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--hp-text-primary);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cards3-price {
  font-size: 15px;
  font-weight: 900;
  color: var(--hp-teal-accent);
  margin-top: auto;
  margin-bottom: 10px;
}

/* 6.4 Category Tile (.service-t) */
.service-t {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.22s ease;
  position: relative;
  text-decoration: none;
}

.service-t:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(97, 46, 149, 0.12);
  border-color: var(--hp-purple-primary, #612e95);
}

.service-t-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.6), 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-t:hover .service-t-icon {
  transform: scale(1.08);
}

.service-t-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--hp-text-primary, #1e293b);
  line-height: 1.3;
}

.service-t-count {
  font-size: 11px;
  font-weight: 700;
  color: var(--hp-text-muted, #64748b);
  background: var(--hp-bg-light, #f8fafc);
  padding: 2px 8px;
  border-radius: 12px;
}

/* WhatsApp Concierge Recommendation Banner (#recommendation_form) */
.hp-concierge-box {
  container-type: inline-size;
  container-name: concierge;
  background: linear-gradient(135deg, #330066 0%, #612e95 60%, #8157aa 100%);
  border-radius: var(--hp-radius-lg, 16px);
  padding: 26px 30px;
  color: #ffffff;
  box-shadow: var(--hp-shadow-card, 0 4px 20px rgba(51, 0, 102, 0.25));
}

.hp-concierge-grid {
  display: grid;
  grid-template-columns: minmax(240px, 290px) 1fr;
  gap: 24px;
  align-items: center;
}

.hp-concierge-box h3 {
  color: #ffffff;
  font-size: 23px;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.25;
}

.hp-concierge-box p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13.5px;
  line-height: 1.45;
}

.hp-concierge-form-row {
  display: grid;
  grid-template-columns: minmax(150px, 1.4fr) minmax(140px, 1.25fr) minmax(105px, 0.9fr) auto;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  padding: 10px 12px;
  border-radius: var(--hp-radius-md, 12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  align-items: center;
}

.hp-concierge-form-row .hp-input,
.hp-concierge-form-row .hp-select {
  min-width: 0;
  height: 42px;
  padding: 8px 12px;
  font-size: 13.5px;
  border-radius: var(--hp-radius-sm, 8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background-color: #ffffff;
  color: var(--hp-text-primary, #222);
  box-sizing: border-box;
  width: 100%;
}

.hp-concierge-form-row .hp-select {
  cursor: pointer;
  text-overflow: ellipsis;
}

.hp-concierge-form-row .hp-input:focus,
.hp-concierge-form-row .hp-select:focus {
  outline: none;
  border-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}

.hp-concierge-form-row .btn-whatsapp {
  height: 42px;
  white-space: nowrap;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: var(--hp-radius-sm, 8px);
  background-color: #25d366;
  color: #ffffff !important;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.hp-concierge-form-row .btn-whatsapp:hover {
  background-color: #1ebc57;
}

.hp-concierge-form-row .btn-whatsapp:active {
  transform: scale(0.98);
}

/* Adaptive Container Queries for WhatsApp Concierge Banner */
/* When container is between 681px and 1040px (e.g. desktop listing page when filter sidebar is open):
   Switch to generous 2-row layout with inputs on Row 1 and full-width CTA on Row 2 */
@container concierge (min-width: 681px) and (max-width: 1040px) {
  .hp-concierge-grid {
    grid-template-columns: minmax(230px, 270px) 1fr;
    gap: 18px;
  }
  .hp-concierge-form-row {
    grid-template-columns: 1.35fr 1.25fr 0.9fr;
    gap: 8px;
  }
  .hp-concierge-form-row .btn-whatsapp {
    grid-column: 1 / -1;
    width: 100%;
  }
}

/* Narrow container / Mobile mode (<= 680px):
   Full vertical stack with 100% width inputs and CTA button */
@container concierge (max-width: 680px) {
  .hp-concierge-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hp-concierge-form-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .hp-concierge-form-row .btn-whatsapp {
    grid-column: 1;
    width: 100%;
  }
}

/* Fallback Media Queries for Viewports without Container Query Context */
@media (max-width: 991px) {
  .hp-concierge-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .hp-concierge-box {
    padding: 22px 18px;
  }
  .hp-concierge-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hp-concierge-form-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .hp-concierge-form-row .btn-whatsapp {
    grid-column: 1;
    width: 100%;
  }
}

/* Global Modals (<dialog> & Overlay Modals) */
.hp-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(24, 11, 40, 0.62);
  backdrop-filter: blur(3px);
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.hp-modal-backdrop.is-open,
.hp-modal-backdrop.open {
  display: flex;
}

/* Swiper & Carousel Containment Inside CSS Grid Columns */
.swiper,
.hp-card-swiper,
.hp-service-widget-section {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

/* Swiper Closing Card: "Browse More" */
.swiper-slide-browse-more {
  display: flex;
}

.hp-carousel-browse-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100%;
  background: linear-gradient(135deg, #fbf7ff 0%, #f6effc 50%, #fef3f6 100%);
  border: 2px dashed rgba(97, 46, 149, 0.28);
  border-radius: var(--hp-radius-lg, 16px);
  padding: 28px 20px;
  text-align: center;
  text-decoration: none !important;
  color: var(--hp-text-primary);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 10px rgba(97, 46, 149, 0.04);
  box-sizing: border-box;
}

.hp-carousel-browse-card:hover {
  transform: translateY(-4px);
  border-color: var(--hp-purple-primary);
  border-style: solid;
  background: linear-gradient(135deg, #ffffff 0%, #f7effd 100%);
  box-shadow: 0 10px 24px rgba(97, 46, 149, 0.16);
}

.hp-carousel-browse-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 240px;
  margin: auto;
}

.hp-carousel-browse-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hp-purple-primary) 0%, var(--hp-purple-dark) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 14px rgba(97, 46, 149, 0.3);
  transition: transform 0.25s ease;
}

.hp-carousel-browse-card:hover .hp-carousel-browse-icon {
  transform: scale(1.1) rotate(5deg);
}

.hp-carousel-browse-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--hp-purple-dark);
  margin: 0;
  line-height: 1.3;
}

.hp-carousel-browse-desc {
  font-size: 12.5px;
  color: var(--hp-text-secondary);
  line-height: 1.45;
  margin: 0;
}

.hp-carousel-browse-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 800;
  color: #ffffff;
  background: var(--hp-purple-primary);
  padding: 8px 16px;
  border-radius: var(--hp-radius-pill, 999px);
  margin-top: 4px;
  transition: all 0.2s ease;
}

.hp-carousel-browse-card:hover .hp-carousel-browse-btn {
  background: var(--hp-purple-dark);
  box-shadow: 0 3px 10px rgba(97, 46, 149, 0.25);
  gap: 9px;
}

/* Shared Search Field & Autocomplete Styles (Used across Home, Directory & All Categories) */
.hp-search-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 12px;
  min-width: 0;
}

.hp-search-field + .hp-search-field {
  border-left: 1px solid var(--hp-border-light);
  padding-left: 16px;
}

@media (max-width: 767px) {
  .hp-search-field + .hp-search-field {
    border-left: none;
    border-top: 1px solid var(--hp-border-light);
    padding-left: 0;
    padding-top: 10px;
  }
}

.hp-search-field i {
  color: var(--hp-purple-primary);
  font-size: 16px;
  flex-shrink: 0;
}

.hp-search-field-inputs {
  flex: 1;
  min-width: 0;
}

.hp-search-field-inputs label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--hp-purple-muted);
  margin-bottom: 1px;
}

.hp-search-field-inputs input {
  width: 100%;
  border: none;
  padding: 2px 0;
  font-family: var(--hp-font-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--hp-text-primary);
  background: transparent;
}

.hp-search-field-inputs input:focus {
  outline: none;
}

.hp-search-field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.hp-radius-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--hp-purple-muted);
}

.hp-location-input-group {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.hp-location-input-group input {
  flex: 1 1 auto;
  min-width: 0;
}

.btn-locate-me {
  background: transparent;
  border: 1px solid transparent;
  color: var(--hp-purple-primary);
  cursor: pointer;
  padding: 4px 6px;
  font-size: 14px;
  border-radius: var(--hp-radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  flex-shrink: 0;
  min-width: 30px;
  min-height: 30px;
}

.btn-locate-me:hover {
  background: var(--hp-purple-tint);
  color: var(--hp-purple-dark);
}

.btn-locate-me.active {
  background: var(--hp-teal-surface);
  color: var(--hp-teal-primary);
  border-color: rgba(10, 172, 162, 0.3);
}

.btn-locate-me:focus-visible {
  outline: 2px solid var(--hp-purple-primary);
  outline-offset: 2px;
}

.hp-radius-select {
  border: 1px solid var(--hp-border-light);
  border-radius: var(--hp-radius-pill);
  background: #f8f9fa;
  color: var(--hp-text-primary);
  font-family: var(--hp-font-sans);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  cursor: pointer;
  outline: none;
  flex-shrink: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.hp-radius-select:hover {
  border-color: var(--hp-purple-muted);
}

.hp-radius-select:focus,
.hp-radius-select:focus-visible {
  border-color: var(--hp-purple-primary);
  box-shadow: 0 0 0 2px rgba(129, 87, 170, 0.2);
}

.hp-category-item-all {
  border-bottom: 1px dashed var(--hp-border-light);
  padding-bottom: 8px;
  margin-bottom: 8px;
}

.hp-category-item-all strong {
  color: var(--hp-purple-dark);
}

.hp-autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid var(--hp-border-light);
  border-radius: var(--hp-radius-md);
  box-shadow: var(--hp-shadow-modal);
  z-index: 1020;
  max-height: 320px;
  overflow-y: auto;
  display: none;
  padding: 8px;
}

.hp-autocomplete-dropdown.is-open,
.hp-autocomplete-dropdown.open {
  display: block;
}

.hp-autocomplete-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--hp-radius-sm);
  font-size: 13px;
  font-weight: 700;
  color: var(--hp-text-primary);
  cursor: pointer;
}

.hp-autocomplete-item:hover {
  background-color: var(--hp-purple-tint);
  color: var(--hp-purple-primary);
}

.hp-autocomplete-item .badge-type {
  font-size: 11px;
  font-weight: 700;
  color: var(--hp-purple-primary);
  background: var(--hp-purple-tint);
  padding: 2px 8px;
  border-radius: var(--hp-radius-pill);
  white-space: nowrap;
}

.hp-modal-dialog {
  background: #ffffff;
  width: 100%;
  max-width: 560px;
  border-radius: var(--hp-radius-lg);
  box-shadow: var(--hp-shadow-modal);
  overflow: hidden;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.hp-modal-header {
  padding: 18px 24px;
  background: var(--hp-purple-tint);
  border-bottom: 1px solid var(--hp-border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.hp-modal-header h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--hp-purple-dark);
  margin: 0;
}

.hp-modal-close {
  background: #ffffff;
  border: 1px solid var(--hp-border-light);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--hp-text-secondary);
  flex-shrink: 0;
}

.hp-modal-body {
  padding: 24px;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
  max-width: 100%;
}

@media (max-width: 575px) {
  .hp-modal-backdrop {
    padding: 10px;
  }
  .hp-modal-dialog {
    max-width: 100%;
  }
  .hp-modal-header {
    padding: 14px 16px;
  }
  .hp-modal-body {
    padding: 16px;
  }
}

/* Selected Service & Provider Info Box in Quotation Wizard Modal (#myModal) */
.hp-wizard-selected-service {
  background: linear-gradient(135deg, #fdf9ff 0%, #f6f0fc 100%);
  border: 1px solid rgba(97, 46, 149, 0.22);
  border-radius: var(--hp-radius-md, 12px);
  padding: 12px 14px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(97, 46, 149, 0.05);
}

.hp-wizard-service-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.hp-wizard-service-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--hp-radius-pill, 999px);
}

.hp-wizard-service-price {
  font-size: 14.5px;
  font-weight: 900;
  color: var(--hp-teal-accent, #0aaca2);
}

.hp-wizard-service-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--hp-purple-dark, #3b1660);
  margin-bottom: 4px;
  line-height: 1.35;
}

.hp-wizard-service-provider {
  font-size: 12.5px;
  color: var(--hp-text-secondary, #64748b);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

/* Wizard Progress Bar */
.hp-wizard-progress {
  height: 6px;
  background-color: var(--hp-bg-muted);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 18px;
}

.hp-wizard-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--hp-purple-primary), var(--hp-indigo-wizard));
  transition: width 0.25s ease;
}

.hp-wizard-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1.5px solid var(--hp-border-light);
  border-radius: var(--hp-radius-sm);
  margin-bottom: 10px;
  cursor: pointer;
  font-weight: 700;
  color: var(--hp-text-primary);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.hp-wizard-option:hover,
.hp-wizard-option:has(input:checked) {
  border-color: var(--hp-indigo-wizard);
  background-color: #f4f2ff;
}

/* Service Request & WhatsApp Wizard Modal (#myModal) Enhancements */
.hp-wizard-steps-indicator {
  user-select: none;
}
.hp-wizard-step-tab {
  transition: color 0.2s ease;
}
#myModal .btn-whatsapp {
  background-color: #25d366;
  color: #ffffff;
  border: 1px solid #20ba59;
  box-shadow: 0 2px 6px rgba(37, 211, 102, 0.25);
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
#myModal .btn-whatsapp:hover {
  background-color: #20ba59;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.35);
}
#myModal .btn-whatsapp:active {
  transform: translateY(0);
}

/* Toast Notification */
.hp-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hp-toast {
  background: #231138;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: var(--hp-radius-md);
  box-shadow: var(--hp-shadow-modal);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 4px solid var(--hp-teal-accent);
}

/* 6.7 Top Slim Navigation Progress Bar & PJAX Transitions (planning/2026-10-18-ssr-latency-and-caching-architecture) */
.hp-pjax-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--hp-purple-primary, #612e95), var(--hp-teal-accent, #0aaca2), var(--hp-pink-tag, #e66767));
  box-shadow: 0 0 10px rgba(97, 46, 149, 0.45);
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: width 0.28s cubic-bezier(0.1, 0.8, 0.3, 1), opacity 0.2s ease;
}

.hp-pjax-progress.is-active {
  opacity: 1;
}

#hp-main-content {
  opacity: 1;
}

#hp-main-content.hp-pjax-loading {
  opacity: 1;
}

/* ==========================================================================
   Standardized Listing System: Toolbar, Grid Switchers & Listing Grid
   Unified across Directory (/listing), Experiences/Events (/experiences), and Deals (/promo-voucher-discount)
   ========================================================================== */

/* 1. Results Toolbar Container */
.hp-listing-toolbar,
.hp-results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.hp-listing-toolbar-summary,
.hp-results-count,
.hp-deals-count-text {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--hp-text-secondary, #475569);
  margin: 0;
}

.hp-listing-toolbar-summary strong,
.hp-results-count strong,
.hp-deals-count-text strong {
  font-weight: 800;
  color: var(--hp-text-primary, #1e293b);
}

.hp-listing-toolbar-actions,
.hp-results-toolbar-actions,
.hp-deals-subbar-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* 2. Standardized Controls (Show limit, Sort by, etc.) */
.hp-toolbar-control,
.hp-deals-control-item,
.hp-exp-control-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hp-toolbar-label,
.hp-deals-control-label,
.hp-exp-control-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--hp-text-secondary, #475569);
  white-space: nowrap;
}

.hp-toolbar-select,
.hp-deals-limit-select {
  height: 36px;
  padding: 0 30px 0 12px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--hp-text-primary, #1e293b);
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23612e95' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") no-repeat right 10px center;
  background-size: 13px 13px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.hp-toolbar-select:focus,
.hp-deals-limit-select:focus {
  outline: none;
  border-color: var(--hp-purple, #612e95);
  box-shadow: 0 0 0 2px rgba(97, 46, 149, 0.15);
}

/* 3. Standardized Column Grid Switchers (Desktop 3/4 Col & Mobile 1/2 Col) */
.hp-col-toggle,
.hp-directory-col-toggle,
.hp-exp-col-toggle,
.hp-deals-col-toggle {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--hp-radius-pill, 9999px);
  padding: 3px;
  gap: 3px;
}

.hp-col-btn,
.hp-directory-col-btn,
.hp-exp-col-btn,
.hp-deals-col-btn {
  background: transparent;
  border: none;
  padding: 5px 12px;
  border-radius: var(--hp-radius-pill, 9999px);
  font-size: 12.5px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s ease;
  user-select: none;
}

.hp-col-btn:hover,
.hp-directory-col-btn:hover,
.hp-exp-col-btn:hover,
.hp-deals-col-btn:hover {
  color: var(--hp-purple, #612e95);
}

.hp-col-btn.is-active,
.hp-directory-col-btn.is-active,
.hp-exp-col-btn.is-active,
.hp-deals-col-btn.is-active {
  background: var(--hp-purple, #612e95);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(97, 46, 149, 0.28);
}

/* Desktop vs Mobile Switcher Responsive Visibility */
.hp-toolbar-control--grid-mobile,
.hp-directory-mobile-col-control,
.hp-exp-mobile-col-control,
.hp-mobile-col-control {
  display: none !important;
}

.hp-toolbar-control--grid-desktop,
.hp-directory-desktop-col-control,
.hp-exp-desktop-col-control,
.hp-desktop-only {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 991px) {
  .hp-toolbar-control--grid-desktop,
  .hp-directory-desktop-col-control,
  .hp-exp-desktop-col-control,
  .hp-desktop-only {
    display: none !important;
  }

  .hp-toolbar-control--grid-mobile,
  .hp-directory-mobile-col-control,
  .hp-exp-mobile-col-control,
  .hp-mobile-col-control {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
  }
}

/* 4. Standardized Listing Grid Foundation */
.hp-listing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}

.hp-listing-grid.cols-4,
.hp-listing-grid.is-4-cols {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.hp-listing-grid.cols-3,
.hp-listing-grid.is-3-cols {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 1100px) {
  .hp-listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px;
  }
}

@media (max-width: 767px) {
  /* Default mobile 2-col with seamless 1-col toggle across all listing, deals, blog, and shortlist grids */
  .hp-listing-grid,
  .hp-listings-grid,
  .hp-shortlist-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
  }

  .hp-listing-grid.is-mobile-1-col,
  .hp-listings-grid.is-mobile-1-col,
  .hp-blog-cards-grid.is-mobile-1-col,
  .hp-blog-cards-grid.is-1-col,
  .hp-shortlist-cards-grid.is-mobile-1-col {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px;
  }

  .hp-listing-grid.is-mobile-2-col,
  .hp-listings-grid.is-mobile-2-col,
  .hp-blog-cards-grid.is-mobile-2-col,
  .hp-blog-cards-grid.is-2-cols,
  .hp-shortlist-cards-grid.is-mobile-2-col {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
    align-items: stretch !important;
  }

  /* Refined Compact Card styling for 2-column mobile layout */
  .is-mobile-2-col .cards2.listing-card,
  .hp-listing-grid.is-mobile-2-col .cards2.listing-card,
  .hp-listings-grid.is-mobile-2-col .cards2.listing-card,
  .hp-shortlist-cards-grid.is-mobile-2-col .cards2.listing-card {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .is-mobile-2-col .cards2.listing-card .card-image-box,
  .hp-listing-grid.is-mobile-2-col .cards2.listing-card .card-image-box,
  .hp-listings-grid.is-mobile-2-col .cards2.listing-card .card-image-box,
  .hp-shortlist-cards-grid.is-mobile-2-col .cards2.listing-card .card-image-box {
    height: 125px;
    flex-shrink: 0;
  }

  .is-mobile-2-col .cards2.listing-card .add_mylove,
  .hp-listing-grid.is-mobile-2-col .cards2.listing-card .add_mylove,
  .hp-listings-grid.is-mobile-2-col .cards2.listing-card .add_mylove,
  .hp-shortlist-cards-grid.is-mobile-2-col .cards2.listing-card .add_mylove,
  .hp-services-grid.is-mobile-2-col .hp-service-detail-card .add_mylove,
  .hp-exp-cards-grid.is-mobile-2-col .hp-exp-card .add_mylove {
    width: 28px;
    height: 28px;
    font-size: 13px;
    top: 8px;
    right: 8px;
  }

  .is-mobile-2-col .cards2.listing-card .card-badges-overlay,
  .hp-listing-grid.is-mobile-2-col .cards2.listing-card .card-badges-overlay,
  .hp-listings-grid.is-mobile-2-col .cards2.listing-card .card-badges-overlay,
  .hp-shortlist-cards-grid.is-mobile-2-col .cards2.listing-card .card-badges-overlay {
    bottom: 6px;
    left: 6px;
    right: 6px;
    gap: 4px;
    z-index: 10;
  }

  .is-mobile-2-col .cards2.listing-card .hp-badge,
  .is-mobile-2-col .cards2.hp-card-featured .hp-badge,
  .hp-listing-grid.is-mobile-2-col .cards2.listing-card .hp-badge,
  .hp-listing-grid.is-mobile-2-col .cards2.hp-card-featured .hp-badge,
  .hp-listings-grid.is-mobile-2-col .cards2.listing-card .hp-badge,
  .hp-listings-grid.is-mobile-2-col .cards2.hp-card-featured .hp-badge,
  .hp-shortlist-cards-grid.is-mobile-2-col .cards2.listing-card .hp-badge,
  .hp-shortlist-cards-grid.is-mobile-2-col .cards2.hp-card-featured .hp-badge {
    font-size: 9.5px;
    padding: 2px 6px;
    line-height: 1.2;
  }

  .is-mobile-2-col .cards2.listing-card .hp-badge.hp-badge-icon-only,
  .is-mobile-2-col .cards2.hp-card-featured .hp-badge.hp-badge-icon-only,
  .hp-listing-grid.is-mobile-2-col .cards2.listing-card .hp-badge.hp-badge-icon-only,
  .hp-listing-grid.is-mobile-2-col .cards2.hp-card-featured .hp-badge.hp-badge-icon-only,
  .hp-listings-grid.is-mobile-2-col .cards2.listing-card .hp-badge.hp-badge-icon-only,
  .hp-listings-grid.is-mobile-2-col .cards2.hp-card-featured .hp-badge.hp-badge-icon-only,
  .hp-shortlist-cards-grid.is-mobile-2-col .cards2.listing-card .hp-badge.hp-badge-icon-only,
  .hp-shortlist-cards-grid.is-mobile-2-col .cards2.hp-card-featured .hp-badge.hp-badge-icon-only {
    padding: 2px 5px;
    min-width: 18px;
    justify-content: center;
  }

  .is-mobile-2-col .cards2.listing-card .hp-badge i,
  .is-mobile-2-col .cards2.hp-card-featured .hp-badge i,
  .hp-listing-grid.is-mobile-2-col .cards2.listing-card .hp-badge i,
  .hp-listing-grid.is-mobile-2-col .cards2.hp-card-featured .hp-badge i,
  .hp-listings-grid.is-mobile-2-col .cards2.listing-card .hp-badge i,
  .hp-listings-grid.is-mobile-2-col .cards2.hp-card-featured .hp-badge i,
  .hp-shortlist-cards-grid.is-mobile-2-col .cards2.listing-card .hp-badge i,
  .hp-shortlist-cards-grid.is-mobile-2-col .cards2.hp-card-featured .hp-badge i {
    font-size: 9.5px;
  }

  .is-mobile-2-col .cards2.listing-card .card-body,
  .hp-listing-grid.is-mobile-2-col .cards2.listing-card .card-body,
  .hp-listings-grid.is-mobile-2-col .cards2.listing-card .card-body,
  .hp-shortlist-cards-grid.is-mobile-2-col .cards2.listing-card .card-body {
    padding: 10px 8px 12px;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    height: 100% !important;
  }

  .is-mobile-2-col .cards2.listing-card .card-category-label,
  .hp-listing-grid.is-mobile-2-col .cards2.listing-card .card-category-label,
  .hp-listings-grid.is-mobile-2-col .cards2.listing-card .card-category-label,
  .hp-shortlist-cards-grid.is-mobile-2-col .cards2.listing-card .card-category-label {
    font-size: 10px;
    margin-bottom: 2px;
  }

  .is-mobile-2-col .cards2.listing-card .card-title,
  .hp-listing-grid.is-mobile-2-col .cards2.listing-card .card-title,
  .hp-listings-grid.is-mobile-2-col .cards2.listing-card .card-title,
  .hp-shortlist-cards-grid.is-mobile-2-col .cards2.listing-card .card-title {
    font-size: 12.5px;
    line-height: 1.3;
    margin-bottom: 4px;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
  }

  .is-mobile-2-col .cards2.listing-card .card-location,
  .hp-listing-grid.is-mobile-2-col .cards2.listing-card .card-location,
  .hp-listings-grid.is-mobile-2-col .cards2.listing-card .card-location,
  .hp-shortlist-cards-grid.is-mobile-2-col .cards2.listing-card .card-location {
    font-size: 11px;
    margin-bottom: 6px;
    gap: 4px;
  }

  .is-mobile-2-col .cards2.listing-card .card-meta-row,
  .hp-listing-grid.is-mobile-2-col .cards2.listing-card .card-meta-row,
  .hp-listings-grid.is-mobile-2-col .cards2.listing-card .card-meta-row,
  .hp-shortlist-cards-grid.is-mobile-2-col .cards2.listing-card .card-meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding-top: 6px;
    margin-top: auto !important;
  }

  .is-mobile-2-col .cards2.listing-card .hp-rating-pill,
  .hp-listing-grid.is-mobile-2-col .cards2.listing-card .hp-rating-pill,
  .hp-listings-grid.is-mobile-2-col .cards2.listing-card .hp-rating-pill,
  .hp-shortlist-cards-grid.is-mobile-2-col .cards2.listing-card .hp-rating-pill {
    font-size: 11px;
    gap: 3px;
  }

  .is-mobile-2-col .cards2.listing-card .card-price,
  .hp-listing-grid.is-mobile-2-col .cards2.listing-card .card-price,
  .hp-listings-grid.is-mobile-2-col .cards2.listing-card .card-price,
  .hp-shortlist-cards-grid.is-mobile-2-col .cards2.listing-card .card-price {
    font-size: 11.5px;
    font-weight: 800;
  }

  .is-mobile-2-col .cards2.listing-card .card-actions,
  .hp-listing-grid.is-mobile-2-col .cards2.listing-card .card-actions,
  .hp-listings-grid.is-mobile-2-col .cards2.listing-card .card-actions,
  .hp-shortlist-cards-grid.is-mobile-2-col .cards2.listing-card .card-actions {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    margin-top: 8px;
  }

  .is-mobile-2-col .cards2.listing-card .card-actions .btn,
  .hp-listing-grid.is-mobile-2-col .cards2.listing-card .card-actions .btn,
  .hp-listings-grid.is-mobile-2-col .cards2.listing-card .card-actions .btn,
  .hp-shortlist-cards-grid.is-mobile-2-col .cards2.listing-card .card-actions .btn {
    width: 100%;
    justify-content: center;
    font-size: 11.5px;
    padding: 5px 6px;
  }
}

/* ==========================================================================
   Standardized User Avatar Circle & Header Quick Navigation
   ========================================================================== */

.hp-avatar-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  background-color: var(--hp-ruby-pastel, #e05368);
  color: #ffffff;
  font-family: var(--hp-font-sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
  font-weight: 700;
  text-transform: uppercase;
  user-select: none;
  flex-shrink: 0;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.hp-avatar-circle--nav {
  width: 28px;
  height: 28px;
  font-size: 11px;
  letter-spacing: 0.5px;
}

.hp-avatar-circle--dropdown {
  width: 42px;
  height: 42px;
  font-size: 15px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(224, 83, 104, 0.25);
}

.hp-avatar-circle--hero {
  width: 64px;
  height: 64px;
  font-size: 1.35rem;
  letter-spacing: 0.5px;
  font-family: var(--hp-font-serif, 'Fraunces', Georgia, serif);
  box-shadow: 0 8px 20px rgba(224, 83, 104, 0.22);
}

.hp-avatar-circle--sticky {
  width: 28px;
  height: 28px;
  font-size: 11px;
  letter-spacing: 0.3px;
}

.hp-avatar-circle--drawer {
  width: 36px;
  height: 36px;
  font-size: 13px;
  letter-spacing: 0.5px;
}

/* User Header Tile / Chip */
.hp-header-user-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.hp-header-user-chip {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e9d8fd;
  border-radius: 24px;
  padding: 3px 4px 3px 5px;
  box-shadow: 0 2px 6px rgba(97, 46, 149, 0.06);
  transition: all 0.18s ease;
  max-width: 175px;
}

.hp-header-user-chip:hover,
.hp-header-user-chip:focus-within {
  border-color: var(--hp-purple, #612e95);
  box-shadow: 0 3px 10px rgba(97, 46, 149, 0.12);
}

.hp-header-user-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  min-width: 0;
  padding: 2px 4px 2px 2px;
  border-radius: 20px;
}

.hp-header-user-link:hover {
  text-decoration: none;
}

.hp-header-user-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
  min-width: 0;
}

.hp-header-user-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--hp-text-primary, #2d3748);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 82px;
}

.hp-header-user-points {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--hp-purple, #612e95);
  white-space: nowrap;
  letter-spacing: -0.1px;
}

.hp-header-user-dropdown-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  border-left: 1px solid #ebdcfb;
  margin-left: 2px;
  padding: 0 8px;
  min-height: 28px;
  min-width: 28px;
  color: #718096;
  font-size: 11px;
  cursor: pointer;
  border-radius: 0 20px 20px 0;
  transition: color 0.15s ease, transform 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.hp-header-user-dropdown-btn:hover,
.hp-header-user-dropdown-btn[aria-expanded="true"] {
  color: var(--hp-purple, #612e95);
}

.hp-header-user-dropdown-btn[aria-expanded="true"] i {
  transform: rotate(180deg);
}

/* User Quick Dropdown Navigation Bar */
.hp-user-quick-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 270px;
  background: #ffffff;
  border: 1px solid #ebdcfb;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(35, 25, 27, 0.18);
  padding: 10px;
  z-index: 1050;
  display: none;
  flex-direction: column;
}

.hp-user-quick-dropdown.open {
  display: flex;
  opacity: 1;
  animation: hpDropdownFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes hpDropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hp-user-quick-dropdown__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 10px;
}

.hp-user-quick-dropdown__user {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 3px;
}

.hp-user-quick-dropdown__name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--hp-text-primary, #2d3748);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hp-user-quick-dropdown__divider {
  height: 1px;
  background: #f0e7f7;
  margin: 4px 0 6px;
  list-style: none;
}

.hp-user-quick-dropdown__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hp-user-quick-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--hp-text-primary, #2d3748);
  font-size: 13px;
  font-weight: 600;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.hp-user-quick-item:hover,
.hp-user-quick-item:focus {
  background: #fbf6ff;
  color: var(--hp-purple, #612e95);
  text-decoration: none;
}

.hp-user-quick-item__icon {
  font-size: 14px;
  width: 20px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.hp-user-quick-item--logout {
  color: #e53e3e;
}

.hp-user-quick-item--logout:hover {
  background: #fff5f5;
  color: #c53030;
}

@media (max-width: 575px) {
  .hp-header-user-chip {
    max-width: 145px;
    padding: 2px 3px 2px 4px;
  }
  .hp-header-user-name {
    max-width: 62px;
    font-size: 11.5px;
  }
  .hp-header-user-points {
    font-size: 10px;
  }
  .hp-user-quick-dropdown {
    width: min(280px, calc(100vw - 24px));
    right: -8px;
  }
}



