/* El Mirasol — feature pack overlays & sections */

/* ── Scroll progress ── */
.feat-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--bou-gold, #c9a962), var(--bou-gold-light, #e8d5a3));
  z-index: 9999;
  pointer-events: none;
  transition: width 0.08s linear;
}

/* ── Kitchen status ribbon ── */
.feat-ribbon {
  background: var(--bou-charcoal, #1e1c1a);
  color: var(--bou-pearl, #f8f5f0);
  border-bottom: 1px solid rgba(201, 169, 98, 0.25);
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  overflow: hidden;
}

.feat-ribbon__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.55rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: nowrap;
}

.feat-ribbon__right {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  flex-shrink: 0;
  margin-left: auto;
}

.feat-ribbon__status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  font-weight: 600;
}

.feat-ribbon__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
}

.feat-ribbon__dot--closed {
  background: #f87171;
  box-shadow: 0 0 8px rgba(248, 113, 113, 0.5);
  animation: none;
}

@keyframes featPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.feat-ribbon__clock {
  color: rgba(248, 245, 240, 0.65);
  font-variant-numeric: tabular-nums;
  min-width: 12ch;
  display: inline-block;
}

.feat-ribbon__specials {
  flex: 1;
  min-width: 0;
  text-align: left;
  color: var(--bou-gold-light, #e8d5a3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feat-ribbon__meal {
  text-transform: uppercase;
  color: var(--bou-gold, #c9a962);
  font-weight: 600;
  white-space: nowrap;
}

.feat-ribbon__meal[hidden] {
  display: none !important;
}

/* ── Hero caption ── */
.feat-hero-caption {
  position: absolute;
  bottom: 5.5rem;
  right: 1.5rem;
  z-index: 4;
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  opacity: 0;
  transition: opacity 0.6s ease;
}

.feat-hero-caption.is-visible {
  opacity: 1;
}

/* Party planner */
.feat-party__slider-wrap {
  text-align: center;
  margin-bottom: 1.5rem;
}

.feat-party__count {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--bou-gold-light);
  line-height: 1;
}

.feat-party__count span {
  font-size: 1rem;
  color: rgba(248, 245, 240, 0.5);
  letter-spacing: 0.14em;
}

.feat-party input[type="range"] {
  width: 100%;
  max-width: 400px;
  margin: 1rem auto;
  accent-color: var(--bou-gold);
  display: block;
}

.feat-party__plan {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.feat-party__item {
  background: var(--bou-charcoal);
  border: 1px solid rgba(201, 169, 98, 0.2);
  padding: 1rem;
  text-align: center;
}

.feat-party__item strong {
  display: block;
  font-family: var(--font-display);
  color: var(--bou-gold-light);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.feat-party__item span {
  font-size: 0.75rem;
  color: rgba(248, 245, 240, 0.6);
}

/* Flavor atlas */
.feat-atlas {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.5rem;
}

.feat-atlas__item {
  background: var(--bou-charcoal);
  border: 1px solid rgba(201, 169, 98, 0.2);
  padding: 1rem 0.75rem;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.feat-atlas__item:hover,
.feat-atlas__item.is-active {
  border-color: var(--bou-gold);
  transform: scale(1.03);
}

.feat-atlas__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--bou-gold-light);
  margin-bottom: 0.2rem;
}

.feat-atlas__item span {
  font-size: 0.65rem;
  color: rgba(248, 245, 240, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.feat-atlas__detail {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border: 1px solid rgba(201, 169, 98, 0.25);
  background: rgba(0, 0, 0, 0.2);
  min-height: 80px;
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(248, 245, 240, 0.8);
}

/* ── Stats band ── */
.feat-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(0, 150, 199, 0.18);
  border-top: 1px solid rgba(0, 150, 199, 0.22);
  border-bottom: 1px solid rgba(255, 109, 0, 0.28);
}

.feat-stat {
  background: var(--coast-foam, #f0f9ff);
  padding: 2rem 1rem;
  text-align: center;
}

.feat-stat__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: var(--bou-noir);
  font-weight: 500;
  line-height: 1;
}

.feat-stat__num small {
  font-size: 0.55em;
  color: var(--bou-gold);
}

.feat-stat__num--text {
  font-family: var(--font-body, 'Montserrat', sans-serif);
  font-size: clamp(1.4rem, 3.8vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.1;
}

.feat-stat__label {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bou-muted, #6b6560);
  margin-top: 0.5rem;
  font-weight: 600;
}

.feat-stat__hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: none;
  font-weight: 500;
  color: var(--bou-muted, #6b6560);
  opacity: 0.85;
}

/* ── Stories row ── */
.feat-lounge {
  background: var(--bou-linen, #f0ebe3);
}

.feat-stories {
  padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 3vw, 2rem);
}

.feat-stories h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bou-noir);
  margin-bottom: 1rem;
}

.feat-tonight__card {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: var(--bou-ivory);
  border: 1px solid rgba(201, 169, 98, 0.25);
  padding: 1rem;
  transition: opacity 0.5s ease;
}

.feat-tonight__img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  flex-shrink: 0;
}

.feat-tonight__body strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--bou-noir);
  display: block;
}

.feat-tonight__body p {
  font-size: 0.82rem;
  color: var(--bou-muted);
  line-height: 1.6;
  margin-top: 0.25rem;
}

.feat-tonight__tag {
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bou-gold);
  font-weight: 600;
}

.feat-stories__track {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--bou-gold) transparent;
}

.feat-story {
  flex: 0 0 100px;
  scroll-snap-align: start;
  text-align: center;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  color: inherit;
}

.feat-story__ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--bou-gold), var(--bou-red, #b91c3c));
  margin: 0 auto 0.4rem;
}

.feat-story__ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bou-ivory);
}

.feat-story span {
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bou-muted);
}

/* ── Concierge FAB (disabled) ── */
.feat-concierge {
  display: none !important;
}

body.has-mobile-cta .feat-concierge {
  bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
}

.feat-concierge__toggle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bou-noir);
  border: 1px solid var(--bou-gold);
  color: var(--bou-gold-light);
  font-size: 1.35rem;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s, background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feat-concierge__toggle:hover,
.feat-concierge.is-open .feat-concierge__toggle {
  background: var(--bou-gold);
  color: var(--bou-noir);
  transform: rotate(45deg);
}

.feat-concierge__menu {
  position: absolute;
  bottom: calc(100% + 0.65rem);
  right: 0;
  background: var(--bou-noir);
  border: 1px solid rgba(201, 169, 98, 0.35);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.95);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.feat-concierge.is-open .feat-concierge__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.feat-concierge__menu a,
.feat-concierge__menu button {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--bou-pearl);
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  text-align: left;
}

.feat-concierge__menu a:hover,
.feat-concierge__menu button:hover {
  background: rgba(201, 169, 98, 0.12);
  color: var(--bou-gold-light);
}

/* ── Section spy ── */
.feat-spy {
  position: fixed;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 800;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feat-spy__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(201, 169, 98, 0.3);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.feat-spy__dot.is-active,
.feat-spy__dot:hover {
  background: var(--bou-gold);
  transform: scale(1.35);
}

/* ── Command palette ── */
.feat-cmd {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(18, 17, 16, 0.72);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 12vh 1rem 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.feat-cmd.is-open {
  opacity: 1;
  visibility: visible;
}

.feat-cmd__dialog {
  width: 100%;
  max-width: 520px;
  background: var(--bou-ivory);
  border: 1px solid rgba(201, 169, 98, 0.4);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.feat-cmd__input {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(201, 169, 98, 0.3);
  padding: 1rem 1.25rem;
  font-family: var(--font-body);
  font-size: 1rem;
  background: transparent;
  color: var(--bou-noir);
  outline: none;
}

.feat-cmd__list {
  max-height: 320px;
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
}

.feat-cmd__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.25rem;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--bou-noir);
  transition: background 0.15s;
}

.feat-cmd__item:hover,
.feat-cmd__item.is-highlighted {
  background: rgba(201, 169, 98, 0.15);
}

.feat-cmd__item kbd {
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: var(--bou-muted);
  background: rgba(0, 0, 0, 0.05);
  padding: 0.15rem 0.4rem;
  border-radius: 2px;
}

.feat-cmd__hint {
  padding: 0.6rem 1.25rem;
  font-size: 0.65rem;
  color: var(--bou-muted);
  letter-spacing: 0.08em;
  border-top: 1px solid rgba(201, 169, 98, 0.2);
}

/* ── Toast ── */
.feat-toast-wrap {
  position: fixed;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 9500;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
  max-width: 90vw;
}

body.has-mobile-cta .feat-toast-wrap {
  bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
}

.feat-toast {
  background: var(--bou-noir);
  color: var(--bou-pearl);
  border: 1px solid rgba(201, 169, 98, 0.4);
  padding: 0.75rem 1.25rem;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  animation: featToastIn 0.4s ease, featToastOut 0.4s ease 4.6s forwards;
  text-align: center;
  max-width: 420px;
}

.feat-toast--review {
  font-style: italic;
  font-family: var(--font-display);
}

.feat-toast strong {
  color: var(--bou-gold-light);
  font-style: normal;
}

@keyframes featToastIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes featToastOut {
  to { opacity: 0; transform: translateY(-8px); }
}

@keyframes featKonami {
  0%, 100% { filter: none; }
  50% { filter: sepia(0.3) saturate(1.2); }
}

/* ── Custom cursor: off — always show normal system pointer ── */
body.feat-cursor-on,
body.feat-cursor-on a,
body.feat-cursor-on button,
body.feat-cursor-on .feat-chip,
body.feat-cursor-on .feat-mood-btn {
  cursor: auto;
}

.feat-cursor,
.feat-cursor-ring {
  display: none !important;
}

/* ── Distance badge ── */
.feat-distance {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: var(--bou-gold);
  letter-spacing: 0.06em;
  margin-top: 0.5rem;
}

/* ── Lightbox nav ── */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(18, 17, 16, 0.6);
  border: 1px solid rgba(201, 169, 98, 0.4);
  color: #fff;
  width: 44px;
  height: 44px;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s;
}

.lightbox-nav:hover {
  background: var(--bou-gold);
  color: var(--bou-noir);
}

.lightbox-nav--prev { left: 1rem; }
.lightbox-nav--next { right: 1rem; }

/* ── Keyboard hint ── */
.feat-kbd-hint {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  z-index: 700;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(107, 101, 96, 0.6);
  font-family: var(--font-body);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.feat-kbd-hint.is-visible {
  opacity: 1;
}

.feat-kbd-hint kbd {
  background: rgba(0, 0, 0, 0.06);
  padding: 0.1rem 0.35rem;
  border-radius: 2px;
  color: var(--bou-muted);
}

/* ── Particles canvas ── */
.feat-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9997;
}

/* ── 3D tilt cards ── */
.fav-card.feat-tilt {
  transform-style: preserve-3d;
  will-change: transform;
}

/* ── Visit share row ── */
.visit-share-lead {
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
}

.feat-share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.feat-share-row .btn {
  font-size: 0.65rem !important;
  padding: 0.6rem 1rem !important;
}

body.site-boujee .feat-share-row .btn-outline {
  border-color: rgba(201, 169, 98, 0.5) !important;
  color: var(--bou-noir) !important;
}

body.site-boujee .feat-share-row .btn-outline:hover {
  background: rgba(201, 169, 98, 0.12) !important;
  border-color: var(--bou-gold) !important;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .feat-scroll-progress,
  .feat-ribbon__dot,
  .feat-toast,
  .feat-cursor,
  .feat-cursor-ring {
    animation: none !important;
    transition: none !important;
  }
  body.feat-cursor-on { cursor: auto; }
  .feat-cursor, .feat-cursor-ring { display: none; }
}

@media (max-width: 900px) {
  .feat-party__plan { grid-template-columns: 1fr; }
  .feat-stats { grid-template-columns: repeat(2, 1fr); }

  .feat-spy { display: none; }
  .feat-hero-caption { display: none; }
  .feat-kbd-hint { display: none; }
}

@media (max-width: 520px) {
  .feat-ribbon__inner {
    gap: 0.4rem;
    padding: 0.55rem 0.75rem;
  }

  .feat-ribbon__specials {
    font-size: clamp(0.58rem, 2.6vw, 0.64rem);
    line-height: 1.4;
  }

  .feat-ribbon__right {
    gap: 0.35rem 0.55rem;
  }
}