.law-restock-alerts {
  --restock-pink: #f63b6d;
  --restock-red: #bc123e;
  --restock-paper: #fff7f7;
  --restock-muted: rgba(255, 239, 244, 0.67);
  --restock-line: rgba(255, 224, 233, 0.16);
  --restock-glass: rgba(35, 4, 14, 0.64);
  display: grid;
  gap: 18px;
  color: var(--restock-paper);
}

.law-restock-alerts-shell {
  display: grid;
  gap: 16px;
  margin: 2px 0 24px;
  padding: clamp(16px, 2.4vw, 24px);
  border: 1px solid rgba(255, 224, 233, 0.15);
  border-radius: 28px;
  background: rgba(18, 2, 8, 0.36);
}

.law-restock-alerts-shell__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.law-restock-alerts-shell__head span {
  display: block;
  margin-bottom: 6px;
  color: #ff91af;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.law-restock-alerts-shell__head h4 {
  margin: 0;
  color: #fff7f7;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(23px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.05;
}

.law-restock-alerts-shell__head p {
  margin: 8px 0 0;
  color: rgba(255, 239, 244, 0.67);
  line-height: 1.55;
}

[data-restock-alerts-refresh] {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid rgba(255, 130, 165, 0.36);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.055);
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

[data-restock-alerts-refresh]:hover,
[data-restock-alerts-refresh]:focus-visible {
  border-color: #f63b6d;
  background: rgba(246, 59, 109, 0.12);
}

.law-restock-alerts[aria-busy="true"] {
  cursor: progress;
}

.law-restock-alerts__sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.law-restock-alerts__summary,
.law-restock-alert,
.law-restock-alerts__empty,
.law-restock-alerts__error,
.law-restock-alerts__skeleton {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--restock-line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.018) 48%),
    var(--restock-glass);
  box-shadow:
    0 22px 55px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  backdrop-filter: blur(22px) saturate(145%);
}

.law-restock-alerts__summary::before,
.law-restock-alert::before,
.law-restock-alerts__empty::before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(246, 59, 109, 0.18), transparent 68%);
  filter: blur(4px);
}

.law-restock-alerts__summary::before {
  top: -105px;
  right: -35px;
}

.law-restock-alert::before {
  right: -120px;
  bottom: -125px;
}

.law-restock-alerts__empty::before {
  left: -90px;
  bottom: -115px;
}

.law-restock-alerts__summary {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(20px, 3vw, 30px);
  border-radius: 26px;
}

.law-restock-alerts__summary-copy {
  position: relative;
  z-index: 1;
  max-width: 580px;
}

.law-restock-alerts__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #ff91af;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.law-restock-alerts__summary-copy > strong {
  display: block;
  color: var(--restock-paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.02;
}

.law-restock-alerts__summary-copy p,
.law-restock-alerts__empty p,
.law-restock-alerts__error p {
  margin: 10px 0 0;
  color: var(--restock-muted);
  line-height: 1.6;
}

.law-restock-alerts__stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(88px, 1fr));
  min-width: 210px;
  margin: 0;
  border: 1px solid var(--restock-line);
  border-radius: 19px;
  background: rgba(10, 1, 5, 0.22);
}

.law-restock-alerts__stat {
  display: flex;
  flex-direction: column-reverse;
  gap: 3px;
  padding: 14px 17px;
  text-align: center;
}

.law-restock-alerts__stat + .law-restock-alerts__stat {
  border-left: 1px solid var(--restock-line);
}

.law-restock-alerts__stat dt {
  color: var(--restock-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.law-restock-alerts__stat dd {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  line-height: 1;
}

.law-restock-alerts__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.law-restock-alert {
  display: grid;
  align-content: space-between;
  min-height: 210px;
  padding: 20px;
  border-radius: 22px;
}

.law-restock-alert__top,
.law-restock-alert__identity,
.law-restock-alert__footer,
.law-restock-alert__meta {
  position: relative;
  z-index: 1;
}

.law-restock-alert__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.law-restock-alert__identity {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.law-restock-alert__initial {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 164, 188, 0.43);
  border-radius: 17px;
  color: #fff;
  background: linear-gradient(145deg, rgba(246, 59, 109, 0.74), rgba(112, 4, 35, 0.82));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.law-restock-alert__name {
  min-width: 0;
}

.law-restock-alert__name a {
  display: block;
  overflow: hidden;
  color: var(--restock-paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.1;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.law-restock-alert__name a:hover,
.law-restock-alert__name a:focus-visible {
  color: #ff9ab5;
}

.law-restock-alert__name span {
  display: block;
  margin-top: 5px;
  color: var(--restock-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.law-restock-alert__status {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.055);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.law-restock-alert__status[data-tone="active"] {
  border-color: rgba(255, 100, 142, 0.42);
  color: #ffb0c5;
  background: rgba(246, 59, 109, 0.12);
}

.law-restock-alert__status[data-tone="sent"] {
  border-color: rgba(90, 215, 155, 0.34);
  color: #a8efc9;
  background: rgba(49, 164, 105, 0.1);
}

.law-restock-alert__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 24px 0 18px;
  color: var(--restock-muted);
  font-size: 12px;
  line-height: 1.5;
}

.law-restock-alert__stock {
  color: #a8efc9;
  font-weight: 800;
}

.law-restock-alert__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--restock-line);
}

.law-restock-alert__view,
.law-restock-alert__stop,
.law-restock-alerts__shop,
.law-restock-alerts__retry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.law-restock-alert__view,
.law-restock-alerts__shop,
.law-restock-alerts__retry {
  border: 1px solid rgba(255, 130, 165, 0.42);
  color: #fff;
  background: linear-gradient(135deg, var(--restock-pink), var(--restock-red));
  box-shadow: 0 9px 25px rgba(188, 18, 62, 0.2);
}

.law-restock-alert__stop {
  border: 1px solid var(--restock-line);
  color: var(--restock-muted);
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
}

.law-restock-alert__view:hover,
.law-restock-alert__view:focus-visible,
.law-restock-alert__stop:hover,
.law-restock-alert__stop:focus-visible,
.law-restock-alerts__shop:hover,
.law-restock-alerts__shop:focus-visible,
.law-restock-alerts__retry:hover,
.law-restock-alerts__retry:focus-visible {
  transform: translateY(-1px);
}

.law-restock-alert__stop:hover,
.law-restock-alert__stop:focus-visible {
  border-color: rgba(255, 116, 153, 0.44);
  color: #fff;
}

.law-restock-alert__stop:disabled,
[data-restock-alerts-refresh]:disabled {
  cursor: wait;
  opacity: 0.62;
}

.law-restock-alerts__empty,
.law-restock-alerts__error {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 220px;
  padding: clamp(24px, 4vw, 42px);
  border-radius: 26px;
}

.law-restock-alerts__empty-mark {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255, 145, 175, 0.35);
  border-radius: 26px;
  color: #fff;
  background: linear-gradient(145deg, rgba(246, 59, 109, 0.72), rgba(73, 2, 22, 0.86));
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
}

.law-restock-alerts__empty-copy,
.law-restock-alerts__error > * {
  position: relative;
  z-index: 1;
}

.law-restock-alerts__empty h4,
.law-restock-alerts__error h4 {
  margin: 0;
  color: var(--restock-paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
}

.law-restock-alerts__shop,
.law-restock-alerts__retry {
  margin-top: 18px;
}

.law-restock-alerts__error {
  display: block;
}

.law-restock-alerts__skeleton {
  display: grid;
  gap: 13px;
  min-height: 220px;
  padding: 28px;
  border-radius: 26px;
}

.law-restock-alerts__skeleton-line {
  display: block;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035));
  background-size: 200% 100%;
  animation: law-restock-shimmer 1.25s linear infinite;
}

.law-restock-alerts__skeleton-line:nth-child(1) {
  width: 55%;
}

.law-restock-alerts__skeleton-line:nth-child(3) {
  width: 78%;
}

@keyframes law-restock-shimmer {
  to { background-position: -200% 0; }
}

@media (max-width: 780px) {
  .law-restock-alerts__summary {
    align-items: stretch;
    flex-direction: column;
  }

  .law-restock-alerts__stats {
    width: 100%;
    min-width: 0;
  }

  .law-restock-alerts__list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .law-restock-alerts-shell {
    margin-inline: 0;
    padding: 14px;
    border-radius: 22px;
  }

  .law-restock-alerts-shell__head {
    align-items: stretch;
    flex-direction: column;
  }

  [data-restock-alerts-refresh] {
    width: 100%;
  }

  .law-restock-alerts {
    gap: 12px;
  }

  .law-restock-alerts__summary,
  .law-restock-alert,
  .law-restock-alerts__empty,
  .law-restock-alerts__error,
  .law-restock-alerts__skeleton {
    border-radius: 20px;
  }

  .law-restock-alerts__summary,
  .law-restock-alert {
    padding: 17px;
  }

  .law-restock-alert {
    min-height: 0;
  }

  .law-restock-alert__top {
    gap: 9px;
  }

  .law-restock-alert__initial {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 19px;
  }

  .law-restock-alert__name a {
    max-width: 150px;
    font-size: 18px;
  }

  .law-restock-alert__status {
    padding: 6px 8px;
    font-size: 9px;
  }

  .law-restock-alert__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .law-restock-alert__view,
  .law-restock-alert__stop {
    width: 100%;
  }

  .law-restock-alerts__empty {
    align-items: flex-start;
    flex-direction: column;
  }

  .law-restock-alerts__empty-mark {
    flex-basis: 58px;
    width: 58px;
    height: 58px;
    border-radius: 20px;
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .law-restock-alerts__skeleton-line {
    animation: none;
  }

  .law-restock-alert__view,
  .law-restock-alert__stop,
  .law-restock-alerts__shop,
  .law-restock-alerts__retry {
    transition: none;
  }
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .law-restock-alerts__summary,
  .law-restock-alert,
  .law-restock-alerts__empty,
  .law-restock-alerts__error,
  .law-restock-alerts__skeleton {
    background: rgba(35, 4, 14, 0.96);
  }
}
