.btn-blue {
  --bs-btn-bg: #0d6efd;
  --bs-btn-border-color: #0d6efd;
  --bs-btn-hover-bg: #0b5ed7;
  --bs-btn-hover-border-color: #0b5ed7;
  --bs-btn-active-bg: #0a58ca;
  --bs-btn-active-border-color: #0a58ca;
  --bs-btn-disabled-bg: #6ea8fe;
  --bs-btn-disabled-border-color: #6ea8fe;
  color: #fff;
}

.form-check-input:checked {
  background-color: #000;
  border-color: #000;
}

.form-check-input:checked:disabled {
  background-color: #000;
  border-color: #000;
  opacity: 0.65;
}

.form-check-input:focus {
  border-color: #000;
  box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.25);
}

.permission-chips {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0;
  cursor: default;
}

.permission-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.25rem;
  cursor: default;
}

.permission-chips i {
  font-size: 0.9rem;
  pointer-events: none;
  line-height: 1;
}

.household-badge,
.household-badge:hover,
.household-badge:focus,
.household-badge * {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  font-size: 0.65rem;
  padding: 0.12rem 0.35rem;
  line-height: 1;
  vertical-align: middle;
  transform: translateY(-1px);
  cursor: default !important;
  user-select: none;
}

.household-subtitle {
  font-size: 0.72rem;
  line-height: 1.2;
}

.permission-label {
  font-size: inherit;
  font-weight: normal;
  color: inherit;
  margin-right: 0;
}

.permission-meta {
  font-size: 0.875rem;
  line-height: 1.2;
}

.count-meta {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.2;
}

.nav-divider {
  background-color: rgba(255, 255, 255, 0.35);
}

.badge-action {
  cursor: pointer;
  padding: 0.45em 0.6em;
}

.btn-static {
  cursor: default;
}

.filter-hh-select,
.filter-search-input {
  max-width: none;
}

@media (min-width: 768px) {
  .filter-hh-select {
    max-width: 300px;
  }

  .filter-search-input {
    max-width: 360px;
  }
}

@media (max-width: 576px) {
  .filter-hh-select,
  .filter-search-input {
    max-width: 100%;
  }
}

.filter-dropdown-menu {
  min-width: 260px;
  max-height: 320px;
  overflow: auto;
}

.preview-box {
  display: none;
}


.preview-box.is-visible {
  display: block;
}

.img-grid-right {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .img-grid-right {
    grid-template-columns: repeat(4, 1fr);
  }
}

.img-grid-right .img-grid-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  display: block;
  cursor: zoom-in;
  user-select: none;
  -webkit-user-drag: none;
}

.image-lightbox-img {
  max-height: 80vh;
  width: 100%;
  object-fit: contain;
  touch-action: manipulation;
  transform-origin: center center;
  user-select: none;
  -webkit-user-drag: none;
}

.image-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  opacity: 0.9;
}

.image-lightbox-prev {
  left: 0.5rem;
}

.image-lightbox-next {
  right: 0.5rem;
}

.img-grid-item .rounded-top-left {
  border-top-left-radius: 0.5rem !important;
}

.card-image-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  grid-auto-rows: auto;
}

@media (min-width: 576px) {
  .card-image-grid {
    grid-template-columns: repeat(8, 1fr);
  }
}

.card-image-grid .img-item {
  width: 100%;
  overflow: hidden;
}

.card-image-grid .img-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.moving-supplies-img {
  max-height: 200px;
  object-fit: contain;
}

#helpCarousel .carousel-indicators {
  position: static;
  margin-top: 0;
  margin-bottom: 0;
}

#helpCarousel .carousel-indicators [data-bs-target] {
  background-color: #212529;
  opacity: 0.35;
  width: 30px;
  height: 4px;
  border-radius: 2px;
}

#helpCarousel .carousel-indicators .active {
  opacity: 1;
}

/* Landing page */
.landing-hero {
  background: #ffffff;
  background-image: none;
  border: 1px solid rgba(33, 37, 41, 0.08);
  border-radius: 0.5rem;
}

.landing-hero,
.landing-hero * {
  font-family: inherit;
}

.landing-hero .hero-kicker {
  letter-spacing: 0.22em;
  font-size: 0.75rem;
}

.landing-hero .hero-title {
}

.landing-hero .hero-sub,
.landing-hero .hero-copy {
}

.hero-card {
  border: 1px solid rgba(33, 37, 41, 0.08);
  background: #ffffff;
}

.hero-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 0;
  border-bottom: 1px dashed rgba(33, 37, 41, 0.1);
}

.hero-step:last-of-type {
  border-bottom: 0;
}

.hero-step-final {
  border-bottom: 0;
}

.hero-step-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid rgba(33, 37, 41, 0.2);
  color: inherit;
  font-size: 1.1rem;
}

.hero-steps .fw-semibold {
  font-size: 1.05rem;
}

.hero-image {
  max-width: 100%;
}

@media (min-width: 576px) {
  .w-sm-auto {
    width: auto !important;
  }
}

.hero-feature {
  border: 1px solid rgba(33, 37, 41, 0.08);
  background: #ffffff;
}

.hero-feature-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Offcanvas navbar spacing */
@media (max-width: 991.98px) {
  .navbar .offcanvas .navbar-nav {
    row-gap: 0.45rem;
    width: 100%;
  }
  .navbar .offcanvas .nav-link {
    padding: 0.45rem 0;
  }
  .navbar .offcanvas .navbar-nav + .navbar-nav {
    margin-top: 0.45rem;
  }
}
