.scripts-page .site-header {
  background: rgba(2, 7, 18, .68);
}

.scripts-hero {
  position: relative;
  padding: 130px 0 52px;
}

.scripts-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1fr);
  align-items: center;
  gap: 44px;
}

.scripts-kicker {
  display: block;
  margin-bottom: 20px;
  color: var(--purple-2);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.scripts-hero h1 {
  margin: 0 0 22px;
  font-size: clamp(42px, 5.4vw, 58px);
  line-height: 1.08;
  letter-spacing: -.052em;
}

.scripts-hero h1 span {
  background: linear-gradient(90deg, #b86cff, #7c3cff);
  -webkit-background-clip: text;
  color: transparent;
}

.scripts-hero p {
  max-width: 590px;
  margin: 0;
  color: rgba(247, 248, 255, .86);
  font-size: 17px;
  line-height: 1.75;
}

.scripts-hero-art {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.scripts-hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 52% 52%, rgba(124, 60, 255, .42), transparent 31%),
    radial-gradient(circle at 48% 68%, rgba(0, 213, 255, .12), transparent 22%);
  filter: blur(18px);
  z-index: -1;
}

.scripts-hero-art::after {
  content: "";
  position: absolute;
  inset: 18px 0 0;
  background-image:
    linear-gradient(rgba(124, 60, 255, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 60, 255, .12) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle, #000 0%, transparent 68%);
  opacity: .55;
  z-index: -1;
}

.scripts-art-rings {
  position: absolute;
  top: 228px;
  width: 430px;
  height: 116px;
  border-radius: 999px;
  border: 2px solid rgba(124, 60, 255, .44);
  transform: perspective(600px) rotateX(67deg);
  box-shadow:
    0 0 24px rgba(124, 60, 255, .45),
    inset 0 0 28px rgba(124, 60, 255, .22);
}

.scripts-art-rings::before,
.scripts-art-rings::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  inset: -28px -70px;
  border: 1px solid rgba(0, 213, 255, .14);
}

.scripts-art-rings::after {
  inset: -58px -130px;
  border-style: dashed;
  border-color: rgba(255, 255, 255, .12);
}

.scripts-code-window {
  position: relative;
  width: 210px;
  height: 205px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(47, 41, 132, .92), rgba(19, 12, 62, .9)),
    radial-gradient(circle at 50% 70%, rgba(124, 60, 255, .4), transparent 60%);
  border: 2px solid rgba(179, 134, 255, .58);
  box-shadow:
    0 0 28px rgba(124, 60, 255, .62),
    0 30px 90px rgba(76, 25, 216, .34),
    inset 0 1px 0 rgba(255, 255, 255, .28);
  transform: rotate(-7deg);
}

.scripts-code-window::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .08), transparent 40%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 13px);
}

.scripts-code-window > span {
  position: absolute;
  top: 18px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #ad7cff;
  box-shadow: 0 0 12px rgba(173, 124, 255, .8);
}

.scripts-code-window > span:nth-child(1) {
  right: 48px;
}

.scripts-code-window > span:nth-child(2) {
  right: 32px;
}

.scripts-code-window > span:nth-child(3) {
  right: 16px;
}

.scripts-code-window div {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #bd9cff;
}

.scripts-code-window svg {
  width: 96px;
  height: 96px;
  stroke-width: 1.35;
  filter: drop-shadow(0 0 22px rgba(124, 60, 255, .8));
}

.scripts-shell-section {
  padding: 20px 0 32px;
}

.scripts-sale-section {
  padding: 0 0 22px;
}

.scripts-sale-banner {
  padding: 15px 18px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border-radius: 8px;
  background: linear-gradient(100deg, rgba(124, 60, 255, .18), rgba(8, 17, 37, .92) 58%);
  border: 1px solid rgba(181, 76, 255, .26);
  box-shadow: 0 18px 55px rgba(0, 0, 0, .2);
}

.scripts-sale-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #cc8aff;
  background: rgba(124, 60, 255, .18);
  border: 1px solid rgba(181, 76, 255, .2);
}

.scripts-sale-icon svg {
  width: 22px;
  height: 22px;
}

.scripts-sale-banner > div > span,
.scripts-sale-banner strong,
.scripts-sale-banner small {
  display: block;
}

.scripts-sale-banner > div > span {
  margin-bottom: 3px;
  color: #c982ff;
  font-size: 9px;
  font-weight: 950;
  text-transform: uppercase;
}

.scripts-sale-banner strong {
  font-size: 15px;
}

.scripts-sale-banner small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.scripts-sale-banner button {
  padding: 10px 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  border-radius: 7px;
  border: 1px solid rgba(181, 76, 255, .3);
  background: rgba(124, 60, 255, .2);
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.scripts-sale-banner button span {
  padding: 3px 6px;
  border-radius: 4px;
  color: #d69bff;
  background: rgba(124, 60, 255, .18);
  font-size: 9px;
}

.scripts-sale-banner button svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 720px) {
  .scripts-sale-banner {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .scripts-sale-banner form {
    grid-column: 1 / -1;
  }

  .scripts-sale-banner button {
    width: 100%;
    justify-content: center;
  }
}

.scripts-shell {
  padding: 30px 22px 28px;
  border-radius: 10px;
  background: rgba(7, 17, 36, .72);
  border: 1px solid rgba(160, 130, 255, .16);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, .28),
    inset 0 1px 0 rgba(255, 255, 255, .035);
}

.scripts-toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 210px 210px 46px;
  gap: 16px;
}

.search-field,
.shop-dropdown-trigger,
.filter-square {
  min-height: 54px;
  border-radius: 8px;
  color: #fff;
  background: rgba(5, 13, 29, .84);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.search-field {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
}

.search-field svg {
  color: var(--muted);
  font-size: 20px;
}

.search-field input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
}

.search-field input::placeholder {
  color: var(--muted-2);
}

.filter-square {
  position: relative;
  display: grid;
  place-items: center;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.filter-square:hover,
.filter-square.has-active-filters {
  border-color: rgba(151, 91, 255, .42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 0 24px rgba(124, 60, 255, .22);
  transform: translateY(-1px);
}

.filter-square svg {
  font-size: 20px;
}

.filter-count {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  padding: 0 7px;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 950;
  background: linear-gradient(135deg, #7c3cff, #b54cff);
  border: 1px solid rgba(255, 255, 255, .24);
  box-shadow: 0 8px 22px rgba(124, 60, 255, .42);
}

.filter-count[hidden] {
  display: none;
}

.shop-dropdown {
  position: relative;
}

.shop-dropdown-trigger {
  width: 100%;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.dropdown-icon {
  width: 18px;
  height: 18px;
  color: var(--muted);
  transition: transform .2s ease, color .2s ease;
}

.shop-dropdown.open .dropdown-icon {
  color: #fff;
  transform: rotate(180deg);
}

.shop-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 50;
  padding: 8px;
  display: grid;
  gap: 6px;
  border-radius: 10px;
  background: rgba(5, 12, 28, .98);
  border: 1px solid rgba(160, 130, 255, .2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .36), 0 0 28px rgba(124, 60, 255, .16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.shop-dropdown.open .shop-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.shop-dropdown-menu button {
  min-height: 36px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  color: rgba(255, 255, 255, .86);
  background: transparent;
  font-size: 12px;
  font-weight: 900;
  text-align: left;
}

.shop-dropdown-menu button:hover,
.shop-dropdown-menu button.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(142, 81, 255, .95), rgba(77, 25, 216, .95));
}

.result-count {
  margin: 24px 0;
  color: var(--muted);
  font-size: 14px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-card {
  height: 462px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 0%, rgba(36, 120, 255, .08), transparent 44%),
    linear-gradient(180deg, rgba(10, 22, 48, .84), rgba(6, 14, 31, .86));
  border: 1px solid rgba(160, 130, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(177, 76, 255, .38);
  box-shadow: 0 24px 70px rgba(124, 60, 255, .14);
}

.product-card.is-hidden {
  display: none;
}

.product-shot {
  position: relative;
  height: 192px;
  overflow: hidden;
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .48)),
    radial-gradient(circle at 72% 16%, rgba(124, 60, 255, .58), transparent 20%),
    linear-gradient(135deg, #08172f, #040811);
  border: 1px solid rgba(255, 255, 255, .055);
}

.product-shot::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, #000, transparent 78%);
}

.product-shot::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 52%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .64));
}

.product-shot::before,
.product-shot::after {
  z-index: 2;
  pointer-events: none;
}

.product-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shot-banking { background-color: #071733; }
.shot-inventory { background: radial-gradient(circle at 78% 18%, rgba(255, 171, 45, .4), transparent 18%), linear-gradient(135deg, #0b1d31, #050914); }
.shot-admin { background: radial-gradient(circle at 70% 16%, rgba(21, 226, 141, .24), transparent 18%), linear-gradient(135deg, #101445, #050914); }
.shot-shops { background: radial-gradient(circle at 66% 28%, rgba(255, 133, 41, .32), transparent 18%), linear-gradient(135deg, #21130d, #080812); }
.shot-workstation { background: radial-gradient(circle at 80% 20%, rgba(19, 231, 177, .22), transparent 18%), linear-gradient(135deg, #071429, #070912); }
.shot-elevator { background: linear-gradient(90deg, #1a1713, #071127 52%, #0a0d14); }
.shot-vehicle { background: radial-gradient(circle at 72% 18%, rgba(36, 120, 255, .34), transparent 20%), linear-gradient(135deg, #101826, #050914); }
.shot-fuel { background: linear-gradient(160deg, #081320 0%, #111b1c 54%, #060813 100%); }
.shot-reports { background: radial-gradient(circle at 82% 20%, rgba(0, 213, 255, .18), transparent 18%), linear-gradient(135deg, #0b1730, #050914); }

.product-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 4;
  padding: 8px 11px;
  border-radius: 6px;
  background: linear-gradient(135deg, #6431d8, #33118e);
  color: #fff;
  font-size: 11px;
  font-weight: 950;
  box-shadow: 0 10px 26px rgba(76, 25, 216, .34);
}

.shot-ui {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  height: 116px;
  border-radius: 8px;
  background: rgba(5, 12, 26, .74);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .34);
}

.shot-ui::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 12px;
  bottom: 12px;
  width: 30px;
  border-radius: 6px;
  background:
    repeating-linear-gradient(180deg, rgba(124, 60, 255, .9) 0 9px, transparent 9px 19px),
    rgba(255, 255, 255, .04);
}

.shot-ui::after {
  content: "";
  position: absolute;
  left: 58px;
  right: 16px;
  top: 18px;
  height: 76px;
  border-radius: 6px;
  background:
    repeating-linear-gradient(180deg, rgba(0, 213, 255, .26) 0 4px, transparent 4px 18px),
    linear-gradient(90deg, rgba(124, 60, 255, .12), rgba(0, 213, 255, .06));
}

.shot-ui i {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(124, 60, 255, .44);
  box-shadow: 0 0 18px rgba(124, 60, 255, .4);
}

.shot-ui i:nth-child(1) { right: 20px; top: 18px; }
.shot-ui i:nth-child(2) { right: 50px; top: 18px; background: rgba(0, 213, 255, .32); }
.shot-ui i:nth-child(3) { right: 80px; top: 18px; background: rgba(24, 226, 141, .32); }
.shot-ui i:nth-child(4) { right: 20px; top: 50px; background: rgba(255, 175, 60, .34); }
.shot-ui i:nth-child(5) { right: 50px; top: 50px; }
.shot-ui i:nth-child(6) { right: 80px; top: 50px; background: rgba(0, 213, 255, .26); }

.shot-shops .shot-ui,
.shot-elevator .shot-ui,
.shot-fuel .shot-ui {
  left: 34px;
  right: 34px;
  bottom: 28px;
  height: 88px;
  background:
    linear-gradient(90deg, rgba(255, 166, 61, .2), rgba(124, 60, 255, .08)),
    rgba(8, 9, 18, .74);
}

.shot-elevator .shot-ui::after {
  left: 46%;
  right: auto;
  width: 12px;
  height: 86px;
  top: -4px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .44), rgba(36, 120, 255, .16));
}

.shot-fuel .shot-ui {
  border-top: 4px solid rgba(255, 36, 76, .75);
  box-shadow: 0 -8px 0 rgba(30, 121, 255, .75), 0 18px 40px rgba(0, 0, 0, .34);
}

.product-card h2 {
  margin: 20px 0 10px;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -.02em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card p {
  min-height: 64px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card > strong {
  display: block;
  margin: auto 0 14px;
  font-size: 20px;
  line-height: 1;
}

.product-actions {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 10px;
}

.add-cart,
.details-btn {
  min-height: 46px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 900;
}

.add-cart {
  border: 0;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #8e51ff, #4d19d8);
  box-shadow: 0 14px 32px rgba(124, 60, 255, .32);
}

.add-cart.is-in-cart {
  color: #ff9ab4;
  background: rgba(255, 67, 113, .09);
  border-color: rgba(255, 122, 155, .22);
}

.add-cart span:empty {
  display: none;
}

.add-cart:disabled {
  cursor: wait;
  opacity: .66;
}

.add-cart svg {
  font-size: 20px;
}

.details-btn {
  border: 1px solid rgba(255, 255, 255, .11);
  background: rgba(5, 13, 29, .58);
}

.details-btn:hover {
  border-color: rgba(177, 76, 255, .42);
}

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

.pagination span {
  display: flex;
  gap: 8px;
}

.pagination a,
.pagination button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: rgba(255, 255, 255, .9);
  background: rgba(7, 15, 32, .74);
  border: 1px solid rgba(255, 255, 255, .1);
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.pagination button svg {
  width: 18px;
  height: 18px;
}

.pagination a:hover,
.pagination button:hover:not(:disabled) {
  border-color: rgba(151, 91, 255, .4);
  background: rgba(124, 60, 255, .14);
  box-shadow: 0 0 24px rgba(124, 60, 255, .16);
  transform: translateY(-1px);
}

.pagination a.active,
.pagination button.active {
  background: linear-gradient(135deg, #8e51ff, #4d19d8);
  border-color: transparent;
  box-shadow: 0 12px 30px rgba(124, 60, 255, .3);
}

.pagination button:disabled {
  cursor: not-allowed;
  opacity: .42;
}

.empty-results {
  padding: 48px 20px;
  text-align: center;
  border-radius: 10px;
  background: rgba(5, 13, 29, .62);
  border: 1px solid rgba(160, 130, 255, .16);
}

.empty-results strong,
.empty-results span {
  display: block;
}

.empty-results strong {
  margin-bottom: 8px;
  font-size: 20px;
}

.empty-results span {
  color: var(--muted);
}

.filter-modal[hidden] {
  display: none;
}

.filter-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  height: 100dvh;
  pointer-events: none;
}

.filter-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: auto;
  background: rgba(0, 0, 0, .58);
  backdrop-filter: blur(10px);
}

.filter-dialog {
  position: fixed;
  top: 50dvh;
  left: 50vw;
  z-index: 2;
  width: min(720px, calc(100vw - 48px));
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding: 28px;
  pointer-events: auto;
  border-radius: 14px;
  background:
    radial-gradient(circle at 20% 0%, rgba(124, 60, 255, .22), transparent 32%),
    radial-gradient(circle at 84% 24%, rgba(0, 174, 255, .12), transparent 30%),
    rgba(5, 12, 28, .98);
  border: 1px solid rgba(160, 130, 255, .22);
  box-shadow: 0 30px 100px rgba(0, 0, 0, .48), 0 0 45px rgba(124, 60, 255, .18);
  animation: filter-dialog-in .24s cubic-bezier(.16, 1, .3, 1) both;
}

.filter-dialog::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, .08), transparent 32%, rgba(124, 60, 255, .08));
  mask-image: linear-gradient(#000, transparent 80%);
}

body.filter-modal-open {
  overflow: hidden;
}

@keyframes filter-dialog-in {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 16px)) scale(.98);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.filter-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.filter-dialog-head span {
  color: var(--purple-2);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.filter-dialog-head h2 {
  margin: 7px 0 0;
  font-size: 28px;
  letter-spacing: -.035em;
}

.filter-close {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12);
  color: #fff;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, .16), transparent 28%),
    rgba(8, 16, 34, .9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 10px 26px rgba(0, 0, 0, .28);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease, color .2s ease;
}

.filter-close svg {
  width: 19px;
  height: 19px;
}

.filter-close:hover,
.filter-close:focus-visible {
  color: #fff;
  border-color: rgba(181, 76, 255, .52);
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, .2), transparent 28%),
    rgba(124, 60, 255, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 0 28px rgba(124, 60, 255, .28);
  transform: rotate(90deg) scale(1.04);
}

.filter-groups {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 18px;
}

.filter-card {
  padding: 18px;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .035), transparent),
    rgba(7, 15, 32, .74);
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.filter-groups h3 {
  margin: 0 0 14px;
  font-size: 15px;
}

.toggle-filter {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  padding: 0 12px 0 14px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 13px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .035), transparent),
    rgba(3, 10, 24, .56);
  border: 1px solid rgba(255, 255, 255, .08);
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.toggle-filter:hover,
.toggle-filter:has(input:focus-visible) {
  color: #fff;
  border-color: rgba(151, 91, 255, .36);
  background: rgba(124, 60, 255, .12);
}

.toggle-filter:has(input:checked) {
  color: #fff;
  border-color: rgba(181, 76, 255, .42);
  background:
    radial-gradient(circle at 100% 50%, rgba(124, 60, 255, .24), transparent 44%),
    rgba(124, 60, 255, .12);
  box-shadow: 0 0 24px rgba(124, 60, 255, .12), inset 0 1px 0 rgba(255, 255, 255, .055);
}

.toggle-filter input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-copy {
  font-weight: 850;
}

.toggle-switch {
  position: relative;
  width: 52px;
  height: 28px;
  flex: 0 0 52px;
  border-radius: 999px;
  background: rgba(2, 8, 20, .92);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: inset 0 0 14px rgba(0, 0, 0, .42);
  transition: background .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.toggle-switch span {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff, #9ba8c7);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
  transition: transform .22s cubic-bezier(.16, 1, .3, 1), background .22s ease, box-shadow .22s ease;
}

.toggle-filter input:checked ~ .toggle-switch {
  border-color: rgba(181, 76, 255, .64);
  background: linear-gradient(135deg, #7c3cff, #b54cff);
  box-shadow: 0 0 22px rgba(124, 60, 255, .35), inset 0 1px 0 rgba(255, 255, 255, .18);
}

.toggle-filter input:checked ~ .toggle-switch span {
  transform: translateX(24px);
  background: #fff;
  box-shadow: 0 0 18px rgba(255, 255, 255, .42), 0 5px 14px rgba(0, 0, 0, .28);
}

.price-filter-card {
  display: grid;
  align-content: start;
}

.price-range-values {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.price-range-values strong {
  margin-left: 6px;
  color: #fff;
  font-size: 16px;
  letter-spacing: 0;
}

.range-stack {
  position: relative;
  height: 44px;
  margin: 2px 0 18px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(124, 60, 255, .22), rgba(181, 76, 255, .38)),
    rgba(2, 8, 20, .72);
  border: 1px solid rgba(151, 91, 255, .18);
  box-shadow: inset 0 0 18px rgba(0, 0, 0, .28);
}

.range-stack input[type="range"] {
  position: absolute;
  inset: 0 13px;
  width: calc(100% - 26px);
  height: 44px;
  margin: 0;
  pointer-events: none;
  appearance: none;
  background: transparent;
}

.range-stack input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
}

.range-stack input[type="range"]::-webkit-slider-thumb {
  width: 20px;
  height: 20px;
  margin-top: -8px;
  border-radius: 999px;
  pointer-events: auto;
  appearance: none;
  background: linear-gradient(135deg, #fff, #bda7ff);
  border: 4px solid #7c3cff;
  box-shadow: 0 0 22px rgba(124, 60, 255, .65);
  cursor: grab;
}

.range-stack input[type="range"]::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
}

.range-stack input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  pointer-events: auto;
  background: linear-gradient(135deg, #fff, #bda7ff);
  border: 4px solid #7c3cff;
  box-shadow: 0 0 22px rgba(124, 60, 255, .65);
  cursor: grab;
}

.quick-price-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.quick-price-row button {
  min-height: 38px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  background: rgba(4, 12, 28, .75);
  border: 1px solid rgba(255, 255, 255, .08);
  transition: color .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.quick-price-row button:hover,
.quick-price-row button.active {
  color: #fff;
  border-color: rgba(151, 91, 255, .38);
  background: rgba(124, 60, 255, .16);
  box-shadow: 0 0 22px rgba(124, 60, 255, .14);
}

.filter-dialog-actions {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.scripts-custom-section {
  padding: 2px 0 28px;
}

.scripts-custom-cta {
  position: relative;
  overflow: hidden;
  min-height: 138px;
  padding: 30px 40px 30px 152px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 7% 50%, rgba(124, 60, 255, .48), transparent 18%),
    linear-gradient(135deg, rgba(20, 24, 68, .92), rgba(18, 12, 55, .9));
  border: 1px solid rgba(160, 130, 255, .2);
  box-shadow: var(--shadow-soft);
}

.scripts-custom-cta::before {
  content: "";
  position: absolute;
  left: 40px;
  top: 50%;
  width: 96px;
  height: 96px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: rgba(124, 60, 255, .18);
  box-shadow: inset 0 0 28px rgba(124, 60, 255, .28), 0 0 36px rgba(124, 60, 255, .24);
}

.custom-script-icon {
  position: absolute;
  left: 60px;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  color: #b86cff;
}

.custom-script-icon svg {
  width: 54px;
  height: 54px;
  filter: drop-shadow(0 0 20px rgba(124, 60, 255, .62));
}

.scripts-custom-cta h2 {
  margin: 0 0 8px;
  font-size: 24px;
  letter-spacing: -.03em;
}

.scripts-custom-cta p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 1120px) {
  .scripts-hero-grid {
    grid-template-columns: 1fr;
  }

  .scripts-hero {
    padding-top: 82px;
  }

  .scripts-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .filter-square {
    width: 54px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .scripts-hero {
    padding-top: 58px;
  }

  .scripts-hero-art {
    min-height: 300px;
  }

  .scripts-code-window {
    width: 170px;
    height: 166px;
  }

  .scripts-art-rings {
    top: 196px;
    width: 300px;
  }

  .scripts-toolbar,
  .products-grid,
  .scripts-custom-cta,
  .filter-groups {
    grid-template-columns: 1fr;
  }

  .shop-dropdown,
  .filter-square {
    width: 100%;
  }

  .filter-dialog {
    padding: 22px;
  }

  .quick-price-row {
    grid-template-columns: 1fr;
  }

  .scripts-shell {
    padding: 18px 14px 22px;
  }

  .product-shot {
    height: 178px;
  }

  .product-card {
    height: 448px;
  }

  .scripts-custom-cta {
    padding: 132px 22px 28px;
  }

  .scripts-custom-cta::before {
    left: 22px;
    top: 24px;
    transform: none;
  }

  .custom-script-icon {
    left: 42px;
    top: 44px;
    transform: none;
  }
}
