.eb-archive-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 10px 12px;
}

.eb-archive-title {
  margin: 0 0 10px 0;
}

.eb-toolbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  min-width: 0;
}

.eb-result-count {
  color: #374151;
  font-size: 14px;
}

.eb-ppp-form,
.eb-order-form {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.eb-ppp-inline {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.eb-seg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 10px;
  padding: 6px 10px;
  color: #111;
  text-decoration: none;
}

.eb-seg.active {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

.eb-label {
  white-space: nowrap;
  color: #374151;
  font-size: 13px;
}

.eb-ppp-select {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 6px 10px;
}

.eb-filter-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: #2563eb38;
  color: #0d6efd;
  cursor: pointer;
  border-radius: 10px;
}

.eb-filter-trigger svg {
  width: 20px;
  height: 20px;
}

.eb-order-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.eb-order-select {
  min-width: 180px;
}

.eb-products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

@media (min-width: 768px) {
  .eb-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .eb-products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.eb-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
}

.eb-pagination .page-numbers {
  display: inline-block;
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #111;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}

.eb-pagination .page-numbers:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.eb-pagination .current {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
  font-weight: 600;
}

.eb-pagination .prev,
.eb-pagination .next {
  background: #f9fafb;
}

/* Drawer */
.eb-filter-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 2147483646;
}

.eb-filter-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 340px;
  max-width: 92vw;
  background: #fff;
  box-shadow: -6px 0 20px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
  z-index: 2147483647;
}

.eb-filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #e5e7eb;
}

.eb-filter-body {
  padding: 12px 16px;
  overflow: auto;
  flex: 1 1 auto;
}

.eb-filter-footer {
  padding: 12px 16px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.eb-drawer-open .eb-filter-overlay {
  opacity: 1;
  pointer-events: auto;
}

.eb-drawer-open .eb-filter-drawer {
  transform: translateX(0);
}

.eb-filter-group {
  margin-bottom: 14px;
}

.eb-filter-group h6 {
  font-size: 14px;
  margin: 0 0 8px 0;
  color: #374151;
}

/* Searchable multiselect */
.eb-searchable {
  position: relative;
  z-index: auto;
}

.eb-select-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 8px 10px;
  width: 100%;
  background: #fff;
  cursor: pointer;
}

.eb-select-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  margin-top: 6px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
  max-height: 340px;
  overflow: auto;
  display: none;
  z-index: 3;
}

.eb-searchable.open {
  z-index: 4;
}

.eb-searchable.open .eb-select-dropdown {
  display: block;
}

.eb-select-search {
  position: sticky;
  top: 0;
  background: #fff;
  padding: 10px;
  border-bottom: 1px solid #e5e7eb;
}

.eb-select-options {
  padding: 10px;
}

.eb-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 4px;
  border-radius: 6px;
}

.eb-option:hover {
  background: #f9fafb;
}

.eb-option input {
  margin: 0;
}

.eb-input {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 8px 10px;
  width: 100%;
}

.eb-btn {
  border: none;
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
}

.eb-btn-primary {
  background: #2563eb;
  color: #fff;
}

.eb-btn-light {
  background: #f3f4f6;
  color: #111;
  &:hover {
    background: #e5e7eb;
    /* color: #111; */
  }
}
