/* DOES: Stylesheet for preprestore.com/shop/ (36-SKU Storm Hardware + Digital Binder Storefront).
   IN:   CSS custom properties from /assets/pr.css?v=20261204d; html[data-mode="light|dark"]
   OUT:  Shipping & category radio filter pills, Hawaii Class-9 Hazmat / USPS Flat-Rate notice, 36-SKU card grid
   LAWS: 0 style tags, 0 inline style attributes, 0 emojis, 0 em-dashes, normal vertical scrolling. */

html, body {
  overflow-y: auto;
}

.shop-controls {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 28px);
  margin-bottom: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.filter-group {
  display: grid;
  gap: 10px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 6px 15px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.filter-pill input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
}

.filter-pill:hover {
  border-color: var(--accent);
  background: var(--soft);
}

.filter-pill:focus-within {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.filter-pill[data-active="true"],
.filter-pill:has(input:checked) {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.shop-search-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.shop-search-wrap {
  flex: 1 1 16rem;
  max-width: 24rem;
}

.shop-count {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.hi-notice {
  margin: 0 0 24px;
  padding: 18px 22px;
  background: var(--accent-soft);
  border: 1.5px solid var(--accent);
  border-radius: var(--radius);
  display: grid;
  gap: 6px;
}

.hi-notice[hidden] {
  display: none;
}

.hi-notice strong {
  color: var(--ink);
}

.hi-notice p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--ink);
}

.sku-card {
  justify-content: flex-start;
}

.sku-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 8px;
}

.sku-code {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.badge--hi-ok {
  background: transparent;
  color: var(--ok);
  border: 1px solid currentColor;
}

.badge--hi-local {
  background: var(--soft);
  color: var(--ink);
  border: 1px dashed var(--line-strong);
}

.sku-ship {
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  line-height: 1.45;
}

.sku-foot {
  margin-top: auto;
  padding-top: 6px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sku-brand {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.shop-empty {
  padding: 28px;
  text-align: center;
  background: var(--card);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}

.shop-empty[hidden] {
  display: none;
}

@media (max-width: 480px) {
  .filter-pill {
    padding: 6px 12px;
    font-size: 0.85rem;
  }
}
