/* Keep the choices, rather than the full picker, scrollable. */
body dialog.filter-picker[open] {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  max-height: var(--picker-max-height, calc(100dvh - 24px)) !important;
  overflow: hidden;
}
.filter-picker :is(.picker-heading, .picker-search, .picker-done) { flex: 0 0 auto; }
.filter-picker .picker-options { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
.filter-picker .picker-option { overflow-wrap: anywhere; white-space: normal; }
@media (pointer: coarse), (max-width: 760px) {
  .filter-picker :is(.picker-option, .picker-search, .picker-done) { min-height: 44px; }
  .filter-picker .picker-close { width: 44px; height: 44px; }
}
.store-list .store-links { flex-wrap: wrap; gap: 8px; }
.store-list .store-links a,
.faq-list p a.faq-telegram {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid #fff;
  border-bottom-color: var(--bfb-edge);
  background: #ffffff80;
  color: var(--green);
  font: 600 12px/1.25 var(--font);
  text-decoration: none;
}
.faq-list p a.faq-telegram { margin-top: 10px; }
:is(.store-list .store-links a, .faq-list p a.faq-telegram):active { background: #dfece3; }
:is(.store-list .store-links a, .faq-list p a.faq-telegram):focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.detail-country:empty { display: none; }
.catalog-page .card .catalog-quantity button,
#product-dialog .detail-quantity button,
body #cart-dialog .quantity-control button {
  display: grid;
  place-items: center;
  border: 1px solid #ffffffe0;
  border-bottom-color: var(--bfb-edge);
  border-radius: 50%;
  color: var(--green);
  background: #ffffff90;
  padding: 0;
  font: 500 19px/1 var(--font);
}
:is(.catalog-page .card .catalog-quantity, #product-dialog .detail-quantity, body #cart-dialog .quantity-control) button:not(:disabled):active {
  background: #cfe3d7;
}
:is(.catalog-page .card .catalog-quantity, #product-dialog .detail-quantity, body #cart-dialog .quantity-control) button:disabled {
  opacity: .45;
}
:is(.catalog-page .card .catalog-quantity, #product-dialog .detail-quantity, body #cart-dialog .quantity-control) button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
