/* Rehearsal rooms catalog — match mockup (desktop horizontal filters + rich cards) */

.rrc-page {
  --rrc-yellow: #ffc107;
  --rrc-surface: #161616;
  --rrc-surface-2: #1c1c1c;
  --rrc-border: rgba(255,255,255,.12);
  --rrc-muted: #a3a3a3;
  color: #fff;
}

.rrc-hero {
  position: relative;
  padding: 1.75rem 0 1.25rem;
  overflow: hidden;
}
.rrc-hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(920px 340px at 8% -20%, rgba(255,193,7,.22), transparent 58%),
    #0a0a0a;
  pointer-events: none;
}
.rrc-hero__inner { position: relative; z-index: 1; }

.rrc-hero__title {
  margin: 0 0 1.1rem;
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  color: #fff;
  letter-spacing: -0.03em;
}
.rrc-hero__title span { color: var(--rrc-yellow); }

/* One panel: search + horizontal filters */
.rrc-panel {
  background: rgba(255,255,255,.045);
  border: 1px solid var(--rrc-border);
  border-radius: 18px;
  padding: 1rem 1.1rem 1.05rem;
  backdrop-filter: blur(10px);
}

.rrc-search {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: .15rem .2rem .15rem 1rem;
  margin-bottom: .85rem;
}
.rrc-search i { color: rgba(255,255,255,.4); flex: 0 0 auto; }
.rrc-search input {
  flex: 1 1 auto;
  width: auto !important;
  min-width: 0;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #fff !important;
  font-size: 1rem;
  outline: none;
  padding: .7rem 0 !important;
}
.rrc-search input::placeholder { color: rgba(255,255,255,.38); }

.rrc-filters {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap;
  align-items: center;
  gap: .5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: .15rem;
}

/* Kill Bootstrap width:100% on these selects — fixed height keeps row aligned */
.rrc-filters .form-select,
.rrc-filters .rrc-select,
body.page-catalog .rrc-filters .form-select {
  flex: 0 0 auto !important;
  align-self: center !important;
  width: auto !important;
  max-width: none !important;
  min-width: 7.5rem;
  height: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  box-sizing: border-box !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background-color: rgba(0,0,0,.35) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23a3a3a3' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right .7rem center !important;
  background-size: 10px !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  color: #fff !important;
  border-radius: 10px !important;
  padding: 0 1.9rem 0 .8rem !important;
  font-size: .86rem !important;
  font-weight: 600 !important;
  line-height: 40px !important;
  box-shadow: none !important;
}
.rrc-filters .form-select:focus {
  border-color: rgba(255,193,7,.55) !important;
  box-shadow: 0 0 0 .15rem rgba(255,193,7,.12) !important;
}
.rrc-filters .form-select option { background: #161616; color: #fff; }

/* Multi-select equipment dropdown */
.rrc-multi {
  position: relative;
  flex: 0 0 auto;
  align-self: center;
  z-index: 5;
  height: 42px;
}
.rrc-multi.is-open { z-index: 40; }
.rrc-multi__btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  height: 42px;
  min-height: 42px;
  max-height: 42px;
  box-sizing: border-box;
  min-width: 7.5rem;
  padding: 0 .85rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.35);
  color: #fff !important;
  font-size: .86rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}
.rrc-multi__btn span,
.rrc-multi__btn i { color: inherit !important; }
.rrc-multi__btn i {
  font-size: .65rem;
  opacity: .65;
  transition: transform .15s ease;
}
.rrc-multi.is-open .rrc-multi__btn i { transform: rotate(180deg); }
.rrc-multi__btn.is-active,
.rrc-multi.is-open .rrc-multi__btn {
  border-color: rgba(255,193,7,.55);
  box-shadow: 0 0 0 .15rem rgba(255,193,7,.12);
}
.rrc-multi__panel {
  position: absolute;
  top: calc(100% + .35rem);
  left: 0;
  width: min(280px, 82vw);
  background: #161616;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,.55);
  overflow: hidden;
}
.rrc-multi__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .7rem .85rem .45rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.rrc-multi__head strong {
  font-size: .82rem;
  font-weight: 750;
  color: #fff;
}
.rrc-multi__clear {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.55);
  font-size: .78rem;
  font-weight: 650;
  cursor: pointer;
  padding: 0;
}
.rrc-multi__clear:hover { color: #ffc107; }
.rrc-multi__list {
  max-height: 220px;
  overflow-y: auto;
  padding: .35rem 0;
}
.rrc-multi__item {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: 0;
  padding: .45rem .85rem;
  cursor: pointer;
  color: rgba(255,255,255,.9);
  font-size: .86rem;
  font-weight: 550;
}
.rrc-multi__item:hover { background: rgba(255,255,255,.05); }
.rrc-multi__item input {
  width: 1rem;
  height: 1rem;
  accent-color: #ffc107;
  flex: 0 0 auto;
  margin: 0;
}
.rrc-multi__empty {
  padding: .85rem;
  color: rgba(255,255,255,.45);
  font-size: .85rem;
  text-align: center;
}
.rrc-multi__foot {
  padding: .55rem .75rem .75rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.rrc-multi__apply {
  width: 100%;
  justify-content: center;
  min-height: 38px;
  padding: .45rem .8rem;
}

.rrc-filter-actions {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-left: auto;
  flex: 0 0 auto;
  align-self: center;
  height: 42px;
}
.rrc-clear {
  color: rgba(255,255,255,.55) !important;
  text-decoration: none !important;
  font-weight: 650;
  font-size: .88rem;
  white-space: nowrap;
  padding: .35rem .4rem;
  line-height: 1;
}
.rrc-clear:hover { color: #fff !important; }

.rrc-btn-search {
  appearance: none;
  border: 0;
  background: var(--rrc-yellow) !important;
  color: #111 !important;
  font-weight: 800;
  border-radius: 10px;
  padding: 0 1.15rem;
  height: 42px;
  min-height: 42px;
  max-height: 42px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
  transition: background .15s ease, transform .15s ease;
}
.rrc-btn-search:hover,
.rrc-btn-search:focus,
.rrc-btn-search:active {
  background: #ffd54f !important;
  transform: translateY(-1px);
  color: #111 !important;
}
/* Beat layout dark-theme `body[data-theme=dark] * { color }` */
html[data-theme="dark"] .rrc-btn-search,
html[data-theme="dark"] .rrc-btn-search *,
html[data-theme="dark"] body .rrc-btn-search,
html[data-theme="dark"] body .rrc-btn-search *,
body[data-theme="dark"] .rrc-btn-search,
body[data-theme="dark"] .rrc-btn-search *,
body.page-catalog .rrc-btn-search,
body.page-catalog .rrc-btn-search * {
  color: #111 !important;
}

.rrc-mobile-toggle { display: none; }

.rrc-catalog { padding: .85rem 0 3rem; }
.rrc-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.rrc-count {
  color: rgba(255,255,255,.72);
  font-size: .95rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.rrc-count i { color: var(--rrc-yellow); }
.rrc-count strong { color: var(--rrc-yellow); font-weight: 800; }
.rrc-sort {
  display: flex;
  align-items: center;
  gap: .45rem;
  color: rgba(255,255,255,.5);
  font-size: .88rem;
}
.rrc-sort select,
body.page-catalog .rrc-sort .form-select {
  width: auto !important;
  min-width: 140px;
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  color: #fff !important;
  border-radius: 10px !important;
  padding: .4rem 1.8rem .4rem .7rem !important;
  font-size: .85rem !important;
  font-weight: 650 !important;
  min-height: 36px !important;
}

.rrc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}

.rrc-card {
  background: var(--rrc-surface);
  border: 1px solid var(--rrc-border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: #fff;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.rrc-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,193,7,.4);
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
}

.rrc-card__media {
  position: relative;
  aspect-ratio: 16 / 10.5;
  background: #0f0f0f;
  overflow: hidden;
  flex: 0 0 auto;
}
.rrc-card__media a { display: block; height: 100%; }
.rrc-card__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s ease;
}
.rrc-card:hover .rrc-card__media img { transform: scale(1.05); }

.rrc-card__rating {
  position: absolute; left: .7rem; bottom: .7rem; z-index: 2;
  display: inline-flex; align-items: center; gap: .28rem;
  background: rgba(0,0,0,.75);
  border: 1px solid rgba(255,193,7,.5);
  color: #ffc107 !important;
  font-weight: 800; font-size: .8rem;
  padding: .25rem .55rem;
  border-radius: 999px;
}
.rrc-card__heart {
  position: absolute; top: .65rem; right: .65rem; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.5);
  color: #fff !important;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.rrc-card__heart.is-on,
.rrc-card__heart:hover { color: #ff6b81 !important; border-color: rgba(255,107,129,.55); }

.rrc-card__body {
  padding: .9rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  flex: 1 1 auto;
  background: var(--rrc-surface);
  color: #fff;
}
.rrc-card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
  color: #fff !important;
  display: flex; align-items: center; gap: .35rem; flex-wrap: wrap;
}
.rrc-card__title a { color: #fff !important; text-decoration: none !important; }
.rrc-card__title a:hover { color: var(--rrc-yellow) !important; }
.rrc-card__verified { color: var(--rrc-yellow) !important; font-size: .85rem; }

.rrc-card__loc {
  color: var(--rrc-muted) !important;
  font-size: .8rem;
  display: flex; align-items: flex-start; gap: .35rem;
  line-height: 1.35;
}
.rrc-card__loc i { margin-top: .12rem; opacity: .7; }

.rrc-card__tags { display: flex; flex-wrap: wrap; gap: .3rem; }
.rrc-tag {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.75) !important;
  font-size: .7rem; font-weight: 650;
  padding: .2rem .48rem; border-radius: 999px;
}

.rrc-card__price {
  margin-top: .25rem;
  color: var(--rrc-yellow) !important;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.rrc-card__actions {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: .45rem;
  margin-top: auto;
  padding-top: .45rem;
}
.rrc-btn-book {
  text-decoration: none !important; text-align: center;
  background: var(--rrc-yellow) !important; color: #111 !important; font-weight: 800;
  border-radius: 10px; padding: .58rem .65rem; font-size: .88rem;
  border: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.rrc-btn-book:hover { background: #ffd54f !important; color: #111 !important; }
html[data-theme="dark"] .rrc-btn-book,
html[data-theme="dark"] .rrc-btn-book *,
html[data-theme="dark"] body .rrc-btn-book,
html[data-theme="dark"] body .rrc-btn-book *,
body[data-theme="dark"] .rrc-btn-book,
body[data-theme="dark"] .rrc-btn-book *,
body.page-catalog .rrc-btn-book,
body.page-catalog .rrc-btn-book * {
  color: #111 !important;
}
.rrc-btn-details {
  text-decoration: none !important; text-align: center;
  background: rgba(255,255,255,.04); color: #fff !important; font-weight: 700;
  border-radius: 10px; padding: .58rem .65rem; font-size: .88rem;
  border: 1px solid rgba(255,255,255,.18);
  display: inline-flex; align-items: center; justify-content: center;
}
.rrc-btn-details:hover {
  background: rgba(255,255,255,.08);
  color: #fff !important;
}

.rrc-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--rrc-muted);
  border: 1px dashed rgba(255,255,255,.12);
  border-radius: 16px;
}

@media (max-width: 1199.98px) {
  .rrc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  .rrc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rrc-filters { flex-wrap: wrap; }
  .rrc-filter-actions { margin-left: 0; width: 100%; justify-content: flex-end; }
}

@media (max-width: 767.98px) {
  .rrc-hero__title { font-size: 1.7rem; }
  .rrc-mobile-toggle { display: block; margin-bottom: .65rem; }
  .rrc-mobile-toggle .rrc-btn-search { width: 100%; justify-content: center; }
  .rrc-filters-desktop { display: none !important; }
  .rrc-filters-desktop.is-open {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap;
    align-items: stretch;
    margin-top: .55rem;
  }
  .rrc-filters-desktop.is-open .form-select,
  .rrc-filters-desktop.is-open .rrc-select,
  .rrc-filters-desktop.is-open .rrc-multi,
  .rrc-filters-desktop.is-open .rrc-multi__btn {
    width: 100% !important;
    min-width: 0 !important;
  }
  .rrc-filters-desktop.is-open .rrc-multi__btn { justify-content: space-between; }
  .rrc-filters-desktop.is-open .rrc-multi__panel {
    width: 100%;
    left: 0;
  }
  .rrc-filter-actions { width: 100%; }
  .rrc-filter-actions .rrc-btn-search { flex: 1; justify-content: center; }

  .rrc-grid { grid-template-columns: 1fr; gap: .8rem; }
  .rrc-card {
    display: grid;
    grid-template-columns: 128px minmax(0,1fr);
  }
  .rrc-card__media { aspect-ratio: auto; min-height: 100%; }
  .rrc-card__body { padding: .7rem .75rem .8rem; gap: .28rem; }
  .rrc-card__title { font-size: .95rem; }
  .rrc-card__tags { display: none; }
  .rrc-card__price { font-size: 1.05rem; }
  .rrc-card__actions { grid-template-columns: 1fr 1fr; }
}
