/* Interactive coffee catalogue controls. Kept separate so rebuilding product cards cannot remove filter styles. */
.coffee-catalog-heading {
  max-width: 1100px;
  margin-bottom: 30px;
}
.coffee-filters {
  max-width: 1100px;
  margin: 0 auto 24px;
  padding: 26px 28px 18px;
  border: 1px solid #e4e3de;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff 60%, #f3f5fb);
  box-shadow: 0 8px 28px #1a233108;
}
.coffee-filter-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.coffee-filter-top h2 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -.025em;
}
.coffee-reset {
  min-height: 44px;
  padding: 6px 0;
  border: 0;
  background: none;
  color: #2448d8;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.coffee-reset:disabled {
  color: #767873;
  cursor: default;
}
.coffee-format-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.coffee-format {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 54px;
  padding: 11px 15px;
  border: 1px solid #dedfdc;
  border-radius: 12px;
  background: #fff;
  color: #353a35;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.coffee-format:hover {
  border-color: #2448d8;
  background: #f3f5ff;
}
.coffee-format[aria-pressed="true"] {
  border-color: #2448d8;
  background: #2448d8;
  color: #fff;
  box-shadow: 0 4px 12px #2448d824;
}
.coffee-format-count {
  display: grid;
  place-items: center;
  min-width: 23px;
  height: 23px;
  padding: 0 4px;
  border-radius: 6px;
  background: #eef0f3;
  color: #656b72;
  font-size: 12px;
}
.coffee-format[aria-pressed="true"] .coffee-format-count {
  background: #ffffff26;
  color: #fff;
}
.coffee-filter-fields {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  margin-top: 22px;
}
.coffee-filter-fields label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #5e655f;
  font-size: 12px;
  font-weight: 600;
}
.coffee-filter-fields input,
.coffee-filter-fields select {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #d9dcd8;
  border-radius: 9px;
  background: #fff;
  color: #232923;
  font: inherit;
  font-size: 15px;
  font-weight: 400;
}
.coffee-filter-fields input::placeholder {
  color: #858981;
}
.coffee-filters :focus-visible,
.coffee-empty-reset:focus-visible {
  outline: 3px solid #5676fa;
  outline-offset: 3px;
}
.coffee-results {
  margin: 17px 0 0;
  color: #737970;
  font-size: 13px;
}
.coffee-empty {
  max-width: 1100px;
  margin: 30px auto;
  padding: 32px 20px;
  border-radius: 14px;
  background: #f4f3ee;
  text-align: center;
}
.coffee-empty h2 {
  font-size: 24px;
}
.coffee-empty p {
  color: #626960;
}
.coffee-empty-reset {
  min-height: 44px;
  padding: 12px 20px;
  border: 0;
  border-radius: 9px;
  background: #2448d8;
  color: #fff;
  font: inherit;
  cursor: pointer;
}
.coffee-catalog [hidden] {
  display: none !important;
}
.coffee-catalog-note {
  max-width: 1100px;
  margin: 26px auto 0;
  color: #6d716b;
  font-size: 13px;
  line-height: 1.6;
}
@media (max-width: 720px) {
  .coffee-filters {
    padding: 20px 16px 16px;
    border-radius: 14px;
  }
  .coffee-filter-top {
    align-items: flex-start;
    gap: 10px;
  }
  .coffee-filter-top h2 {
    padding-top: 10px;
    font-size: 19px;
  }
  .coffee-reset {
    max-width: 110px;
    font-size: 12px;
    text-align: right;
  }
  .coffee-format-list {
    gap: 8px;
  }
  .coffee-format {
    gap: 7px;
    min-height: 48px;
    padding: 9px 11px;
    font-size: 13px;
  }
  .coffee-format svg {
    width: 19px;
    height: 19px;
  }
  .coffee-filter-fields {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 20px;
  }
}
