/* --- ACTIVITIES CATALOG PAGE --- */
html:has(.boh-activities),
body:has(.boh-activities) {
  height: 100%;
  overflow: hidden;
}

body:has(.boh-activities) .boh-shell {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

body:has(.boh-activities) .boh-shell__header,
body:has(.boh-activities) .boh-shell__bottom {
  display: none;
}


#activities-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
body:has(.boh-activities) .boh-shell__main {
  flex: 1;
  overflow: hidden;
  padding-left: 0;
  padding-right: 0;
}

.boh-activities {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: var(--boh-color-bg);
  font-family: var(--boh-font-sans);
  position: relative;
}

/* --- HEADER --- */
.boh-activities__header {
  padding: 3rem var(--boh-space-screen) 1rem var(--boh-space-screen);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--boh-color-bg);
  flex-shrink: 0;
  z-index: 10;
}

.boh-activities__back-btn,
.boh-activities__search-toggle {
  background: none;
  border: none;
  padding: 0.25rem;
  color: var(--boh-color-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease;
}

.boh-activities__back-btn:active,
.boh-activities__search-toggle:active {
  transform: scale(0.95);
}

.boh-activities__back-btn svg,
.boh-activities__search-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

.boh-activities__title {
  font-size: 16px;
  font-weight: var(--boh-font-weight-700);
  color: var(--boh-color-primary);
  margin: 0;
}

/* --- FILTER BAR --- */
.boh-activities__filter-section {
  padding: 0 var(--boh-space-screen) 1rem var(--boh-space-screen);
  background-color: var(--boh-color-bg);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Search bar styling */
.boh-activities__search-bar {
  position: relative;
  width: 100%;
}

.boh-activities__search-bar svg {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: color-mix(in srgb, var(--boh-color-muted) 50%, transparent);
}

.boh-activities__search-input {
  width: 100%;
  background-color: var(--boh-color-surface);
  border: 1px solid color-mix(in srgb, var(--boh-color-border) 10%, transparent);
  border-radius: 9999px;
  padding: 0.625rem 1rem 0.625rem 2.5rem;
  font-size: 14px;
  color: var(--boh-color-primary);
  outline: none;
  box-shadow: var(--boh-shadow-card);
}

.boh-activities__search-input:focus {
  border-color: var(--boh-color-primary);
}

/* Filter buttons */
.boh-activities__filters-row {
  display: flex;
  gap: 0.5rem;
}

.boh-activities__filter-btn {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: var(--boh-font-weight-500);
  border: 1px solid color-mix(in srgb, var(--boh-color-border) 10%, transparent);
  background-color: var(--boh-color-surface);
  color: var(--boh-color-primary);
  box-shadow: var(--boh-shadow-card);
  cursor: pointer;
  transition: all 0.2s ease;
}

.boh-activities__filter-btn svg {
  width: 0.875rem;
  height: 0.875rem;
}

.boh-activities__filter-btn svg:last-child {
  width: 0.875rem;
  height: 0.875rem;
  margin-left: 0.25rem;
  transition: transform 0.2s ease;
}

.boh-activities__filter-btn--active {
  background-color: var(--boh-color-primary);
  color: var(--boh-color-surface);
  border-color: var(--boh-color-primary);
}

.boh-activities__filter-btn--open svg:last-child {
  transform: rotate(180deg);
}

/* --- TABS --- */
.boh-activities__tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
}

.boh-activities__tab-btn {
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: var(--boh-font-weight-700);
  border: none;
  background: transparent;
  color: color-mix(in srgb, var(--boh-color-muted) 70%, transparent);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.boh-activities__tab-btn--active {
  background-color: var(--boh-color-primary);
  color: var(--boh-color-surface);
}

/* --- DROP DOWN MENUS --- */
.boh-activities__dropdown {
  background-color: var(--boh-color-surface);
  border-radius: var(--boh-radius-16);
  border: 1px solid color-mix(in srgb, var(--boh-color-border) 10%, transparent);
  box-shadow: var(--boh-shadow-card);
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.boh-activities__dropdown-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: none;
  border: none;
  border-bottom: 1px solid color-mix(in srgb, var(--boh-color-border) 5%, transparent);
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.boh-activities__dropdown-item:last-child {
  border-bottom: none;
}

.boh-activities__dropdown-item:active {
  background-color: var(--boh-color-bg);
}

.boh-activities__dropdown-text {
  font-size: 14px;
  font-weight: var(--boh-font-weight-500);
  color: color-mix(in srgb, var(--boh-color-muted) 80%, transparent);
}

.boh-activities__dropdown-text--active {
  font-weight: var(--boh-font-weight-700);
  color: var(--boh-color-primary);
}

.boh-activities__dropdown-item svg {
  width: 1rem;
  height: 1rem;
  color: var(--boh-color-primary);
}

/* --- CALENDAR DROPDOWN --- */
.boh-activities__calendar {
  background-color: var(--boh-color-surface);
  border-radius: var(--boh-radius-16);
  border: 1px solid color-mix(in srgb, var(--boh-color-border) 10%, transparent);
  box-shadow: var(--boh-shadow-card);
  padding: 0.875rem;
  margin-bottom: 0.5rem;
}

.boh-activities__cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.boh-activities__cal-nav-btn {
  background: none;
  border: none;
  padding: 0.25rem;
  color: color-mix(in srgb, var(--boh-color-muted) 30%, transparent);
  cursor: pointer;
}

.boh-activities__cal-nav-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.boh-activities__cal-month {
  font-size: 14px;
  font-weight: var(--boh-font-weight-700);
  color: var(--boh-color-primary);
}

.boh-activities__cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  row-gap: 0.25rem;
  text-align: center;
  margin-bottom: 0.75rem;
}

.boh-activities__cal-day-name {
  font-size: 10px;
  font-weight: var(--boh-font-weight-700);
  color: color-mix(in srgb, var(--boh-color-muted) 30%, transparent);
  padding-bottom: 0.25rem;
}

.boh-activities__cal-day-cell {
  display: flex;
  justify-content: center;
}

.boh-activities__cal-day-btn {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  border: none;
  background: transparent;
  font-size: 13px;
  font-weight: var(--boh-font-weight-600);
  color: var(--boh-color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.boh-activities__cal-day-btn--edge {
  background-color: var(--boh-color-primary);
  color: var(--boh-color-surface);
}

.boh-activities__cal-day-btn--between {
  background-color: color-mix(in srgb, var(--boh-color-primary) 10%, transparent);
  color: var(--boh-color-primary);
  border-radius: 0;
}

.boh-activities__cal-actions {
  display: flex;
  gap: 0.5rem;
}

.boh-activities__cal-clear {
  width: 2.75rem;
  padding: 0.625rem 0;
  border-radius: var(--boh-radius-button);
  border: 1px solid color-mix(in srgb, var(--boh-color-border) 15%, transparent);
  background: transparent;
  color: var(--boh-color-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.boh-activities__cal-clear svg {
  width: 1rem;
  height: 1rem;
}

.boh-activities__cal-action-btn {
  flex: 1;
  padding: 0.625rem 0;
  border-radius: var(--boh-radius-button);
  font-size: 13px;
  font-weight: var(--boh-font-weight-700);
  cursor: pointer;
  text-align: center;
}

.boh-activities__cal-action-btn--secondary {
  border: 1px solid color-mix(in srgb, var(--boh-color-border) 15%, transparent);
  background: transparent;
  color: var(--boh-color-primary);
}

.boh-activities__cal-action-btn--primary {
  background-color: var(--boh-color-primary);
  color: var(--boh-color-surface);
  border: none;
}

/* --- MAIN SCROLL CONTENT --- */
.boh-activities__main {
  flex: 1;
  overflow-y: auto;
  padding: 0 var(--boh-space-screen) calc(2rem + env(safe-area-inset-bottom, 0px)) var(--boh-space-screen);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.boh-activities__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
  text-align: center;
}

.boh-activities__empty-text {
  color: color-mix(in srgb, var(--boh-color-muted) 70%, transparent);
  font-size: 14px;
}

/* --- ACTIVITY CARD --- */
.boh-activities__card {
  width: 100%;
  display: flex;
  gap: 0.75rem;
  background-color: var(--boh-color-surface);
  border-radius: var(--boh-radius-16);
  padding: 0.75rem;
  box-shadow: var(--boh-shadow-card);
  border: 1px solid color-mix(in srgb, var(--boh-color-border) 5%, transparent);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.2s ease;
  box-sizing: border-box;
}

.boh-activities__card:active {
  transform: scale(0.98);
}

.boh-activities__card-img-wrapper {
  width: 100px;
  height: 100px;
  border-radius: var(--boh-radius-12);
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.boh-activities__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.boh-activities__card-badge {
  position: absolute;
  top: 0.375rem;
  left: 0.375rem;
  background-color: var(--boh-color-primary);
  color: var(--boh-color-surface);
  font-size: 9px;
  font-weight: var(--boh-font-weight-700);
  padding: 0.125rem 0.375rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.boh-activities__card-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.boh-activities__card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.125rem;
}

.boh-activities__card-title {
  font-size: 14px;
  font-weight: var(--boh-font-weight-700);
  color: var(--boh-color-primary);
  line-height: 1.2;
  margin: 0;
  padding-right: 0.5rem;
}

.boh-activities__card-price {
  font-size: 13px;
  font-weight: var(--boh-font-weight-700);
  color: var(--boh-color-primary);
  white-space: nowrap;
  flex-shrink: 0;
}

.boh-activities__card-host {
  font-size: 11px;
  color: color-mix(in srgb, var(--boh-color-muted) 70%, transparent);
  margin: 0 0 0.125rem 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.boh-activities__card-meta {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 11px;
  color: color-mix(in srgb, var(--boh-color-muted) 50%, transparent);
  margin-bottom: auto;
}

.boh-activities__card-meta svg {
  width: 0.75rem;
  height: 0.75rem;
  flex-shrink: 0;
}

.boh-activities__card-meta span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.boh-activities__card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.boh-activities__card-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.boh-activities__card-rating svg {
  width: 0.875rem;
  height: 0.875rem;
  color: var(--boh-color-gold);
  fill: var(--boh-color-gold);
}

.boh-activities__card-rating-val {
  font-size: 12px;
  font-weight: var(--boh-font-weight-700);
  color: var(--boh-color-primary);
}

.boh-activities__card-rating-count {
  font-size: 11px;
  color: color-mix(in srgb, var(--boh-color-muted) 50%, transparent);
}

.boh-activities__card-action {
  background-color: var(--boh-color-primary);
  color: var(--boh-color-surface);
  font-size: 12px;
  font-weight: var(--boh-font-weight-700);
  padding: 0.375rem 1rem;
  border-radius: 8px;
  line-height: 1.2;
}
