/* ============================================================
   Reusable components
   Pills, icon buttons, CTAs, filter chips, info card
   ============================================================ */

/* ----- Pill button (text + icon) ----- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-white);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: transform .25s var(--ease-out), background .25s ease, color .25s ease;
}
.pill:hover { background: var(--white-soft); transform: translateY(-1px); }
.pill svg  { width: 16px; height: 16px; stroke-width: 1.6; }

/* ----- Icon button (square) ----- */
.icon-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-white);
  transition: background .25s ease, transform .25s ease, color .25s ease;
}
.icon-btn:hover { background: var(--white-soft); transform: translateY(-1px); }
.icon-btn svg   { width: 18px; height: 18px; stroke-width: 1.6; }

.icon-btn.red          { background: var(--accent); color: white; }
.icon-btn.red:hover    { background: var(--accent-deep); }
.icon-btn.red svg      { stroke: white; }

/* ----- Primary CTA (dark ink, cream type) ----- */
.btn-primary {
  background: var(--ink);
  color: #f3e9c8;
  padding: 14px 22px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform .25s ease, background .25s ease;
}
.btn-primary:hover { background: #2a2620; transform: translateY(-1px); }

/* ----- Reserve CTA (red, used on booking form) ----- */
.btn-reserve {
  background: var(--accent);
  color: var(--white);
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .25s, transform .25s;
}
.btn-reserve:hover { background: var(--accent-deep); transform: translateY(-1px); }

/* ----- Filter strip ----- */
.filters {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 10px;
  display: flex;
  gap: 6px;
  box-shadow: var(--shadow-white);
  margin-bottom: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}
.filters::-webkit-scrollbar { display: none; }

.filter-chip {
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: background .25s, color .25s;
}
.filter-chip:hover  { background: rgba(20,19,15,0.04); color: var(--ink); }
.filter-chip.active { background: var(--accent); color: var(--white); }

/* ----- Mobile nav burger + panel ----- */
.nav-menu-btn              { display: none; }
.nav-menu-btn .icon-close  { display: none; }
.nav-menu-btn[aria-expanded="true"] .icon-burger { display: none; }
.nav-menu-btn[aria-expanded="true"] .icon-close  { display: block; }

.mobile-menu {
  display: none;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-white);
  padding: 10px;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 28px;
}
.mobile-menu a {
  display: block;
  padding: 13px 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: var(--radius-md);
  transition: color .2s, background .25s;
}
.mobile-menu a:hover  { color: var(--ink); background: var(--surface-soft); }
.mobile-menu a.active { color: var(--ink); background: var(--surface-soft); }

/* ----- Floating info card (used in hero) ----- */
.info-card {
  position: absolute;
  right: 88px;
  bottom: 36px;
  width: 320px;
  background: var(--surface-soft);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow-card);
  z-index: 5;
}
.info-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}
.info-card-head h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.info-card-head .meta {
  font-size: 11px;
  color: var(--ink-mute);
  margin-top: 2px;
  letter-spacing: 0.04em;
}

.stars { display: flex; gap: 3px; margin-top: 8px; }
.stars svg       { width: 12px; height: 12px; fill: var(--ink); }
.stars svg.empty { fill: none; stroke: var(--ink-mute); stroke-width: 1.5; }

.close-x {
  width: 30px;
  height: 30px;
  border-radius: 12px;
  background: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.close-x svg { width: 14px; height: 14px; }

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.info-tile {
  background: var(--white);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 1px 3px rgba(40,38,30,0.05);
}
.info-tile .label {
  font-family: var(--display);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.1;
}
.info-tile .desc {
  font-size: 10.5px;
  color: var(--ink-mute);
  margin-top: 2px;
  letter-spacing: 0.04em;
}
.info-tile svg { width: 18px; height: 18px; stroke-width: 1.5; flex-shrink: 0; }
