/* Styles for the Alotyre filter offcanvas (extracted from inline partial) */
.alotyre-offcanvas-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 9998;
  display: none;
}
.alotyre-offcanvas {
  position: fixed;
  top: 0;
  bottom: 0;
  right: -420px;
  width: 420px;
  max-width: 90%;
  background: #fff;
  z-index: 9999;
  box-shadow: -12px 0 36px rgba(0, 0, 0, 0.12);
  transition: right 280ms ease;
  padding: 18px;
  overflow: auto;
  direction: rtl;
}
.alotyre-offcanvas.open {
  right: 0;
}
.alotyre-offcanvas .alotyre-offcanvas-close {
  position: absolute;
  left: 12px;
  top: 12px;
  background: #f3f4f6;
  border: 0;
  padding: 6px 8px;
  border-radius: 6px;
  cursor: pointer;
}
.alotyre-offcanvas h3 {
  margin-top: 0;
}
@media (max-width: 640px) {
  .alotyre-offcanvas {
    width: 100%;
    right: -100%;
  }
  .alotyre-offcanvas.open {
    right: 0;
  }
}

/* Accordion & checkbox styles */
.alotyre-filter-group {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}
.alotyre-filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: #fff;
  border: 0;
  width: 100%;
  cursor: pointer;
  font-weight: 700;
  color: #c8102e;
  text-align: right;
}
.alotyre-filter-head:hover {
  background: #c8102e !important;
}
.alotyre-filter-head:focus {
  background: #c8102e !important;
}
.alotyre-filter-head .alotyre-caret {
  transform: rotate(0);
  transition: transform 180ms ease;
}
.alotyre-filter-head[aria-expanded="true"] .alotyre-caret {
  transform: rotate(180deg);
}
.alotyre-filter-body {
  padding: 10px 12px 14px;
  background: #fff;
  display: block;
}
.alotyre-filter-search {
  width: 100%;
  padding: 8px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  margin-bottom: 8px;
}
.alotyre-checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px;
  border-radius: 6px;
  max-height: 220px;
  overflow: auto;
}
.alotyre-checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 4px;
  border-bottom: 1px solid #f3f4f6;
}
.alotyre-checkbox-item:last-child {
  border-bottom: 0;
}
.alotyre-checkbox-item input {
  width: 16px;
  height: 16px;
}
.alotyre-checkbox-list::-webkit-scrollbar {
  width: 10px;
}
.alotyre-checkbox-list::-webkit-scrollbar-thumb {
  background: #f1f1f1;
  border-radius: 6px;
  border-left: 3px solid #fff;
}
.alotyre-checkbox-list::-webkit-scrollbar-track {
  background: transparent;
}
