.nux-download {
  --nux-bg: #f6f7fb;
  --nux-white: #ffffff;
  --nux-text: #111827;
  --nux-muted: #6b7280;
  --nux-light: #9ca3af;
  --nux-border: #e1e5eb;
  --nux-border-dark: #cbd1da;
  --nux-primary: #111827;
  width: 100%;
  padding: 54px 0 72px;
  background: var(--nux-bg);
  color: var(--nux-text);
}
.nux-download *,
.nux-download *::before,
.nux-download *::after {
  box-sizing: border-box;
}
.nux-download button,
.nux-download input {
  font: inherit;
}
.nux-download button {
  appearance: none;
  -webkit-appearance: none;
}
.nux-download a {
  text-decoration: none;
}
.nux-download .nux-download__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  margin-bottom: 28px;
}
.nux-download .nux-download__heading {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}
.nux-download .nux-download__heading-mark {
  display: block;
  width: 8px;
  height: 8px;
  background: #111827;
}
.nux-download .nux-download__heading h2 {
  position: relative;
  margin: 0;
  padding-bottom: 7px;
  color: #111827;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.nux-download .nux-download__heading h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #111827;
}
.nux-download .nux-download__search {
  display: flex;
  align-items: center;
  width: min(520px, 50%);
  height: 46px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #d5dae1;
  border-radius: 999px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.nux-download .nux-download__search:focus-within {
  border-color: #111827;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.07);
}
.nux-download .nux-download__search-field {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  height: 100%;
}
.nux-download .nux-download__search-icon {
  position: absolute;
  left: 16px;
  width: 15px;
  height: 15px;
  color: #9ca3af;
  pointer-events: none;
}
.nux-download .nux-download__search-input {
  width: 100%;
  height: 100%;
  margin: 0 !important;
  padding: 0 12px 0 41px !important;
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  color: #111827 !important;
  font-size: 12px;
}
.nux-download .nux-download__search-input::placeholder {
  color: #9ca3af;
  opacity: 1;
}
.nux-download .nux-download__search-button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 38px;
  margin: 0 4px 0 0 !important;
  padding: 0 21px !important;
  background: #111827 !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: #ffffff !important;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.nux-download .nux-download__search-button:hover {
  background: #000000 !important;
}
.nux-download .nux-download__nav-wrapper {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}
.nux-download .nux-download__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: auto;
  min-height: 40px;
}
.nux-download .nux-download__nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: 0 !important;
  min-height: 38px !important;
  margin: 0 !important;
  padding: 0 17px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #6b7280 !important;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s ease;
}
.nux-download .nux-download__nav-item:hover {
  color: #111827 !important;
}
.nux-download .nux-download__nav-item.is-active {
  color: #111827 !important;
  font-weight: 700;
}
.nux-download .nux-download__nav-item.is-active::after {
  content: "";
  position: absolute;
  left: 17px;
  right: 17px;
  bottom: 0;
  height: 2px;
  background: #111827;
}
.nux-download .nux-download__separator {
  display: block;
  width: 1px;
  height: 16px;
  flex-shrink: 0;
  background: #d6dae0;
}
.nux-download .nux-download__genre {
  position: relative;
  z-index: 50;
}
.nux-download .nux-download__genre-button {
  gap: 6px;
}
.nux-download .nux-download__genre-arrow {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.nux-download .nux-download__genre.is-open .nux-download__genre-arrow {
  transform: rotate(180deg);
}
.nux-download .nux-download__genre-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 100;
  width: 175px;
  padding: 6px;
  background: #ffffff;
  border: 1px solid #e1e5eb;
  border-radius: 11px;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.13);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
}
.nux-download .nux-download__genre.is-open .nux-download__genre-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.nux-download .nux-download__genre-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100% !important;
  min-height: 38px !important;
  margin: 0 !important;
  padding: 0 11px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 7px !important;
  color: #4b5563 !important;
  font-size: 11px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.nux-download .nux-download__genre-item:hover {
  background: #f3f4f6 !important;
  color: #111827 !important;
}
.nux-download .nux-download__genre-item.is-active {
  background: #111827 !important;
  color: #ffffff !important;
}
.nux-download .nux-download__genre-check {
  display: none;
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.nux-download .nux-download__genre-item.is-active .nux-download__genre-check {
  display: block;
}
.nux-download .nux-download__divider {
  width: 100%;
  height: 1px;
  margin: 12px 0 14px;
  background: #dfe3e8;
}
.nux-download .nux-download__result {
  min-height: 18px;
  margin-bottom: 14px;
  color: #8b919a;
  font-size: 10px;
  text-align: right;
}
.nux-download .nux-download__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.nux-download .nux-preset-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e1e5eb;
  border-radius: 16px;
  box-shadow: 0 4px 13px rgba(15, 23, 42, 0.045);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}
.nux-download .nux-preset-card:hover {
  transform: translateY(-5px);
  border-color: #cbd1da;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.1);
}
.nux-download .nux-preset-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f3f4f6;
}
.nux-download .nux-preset-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.nux-download .nux-preset-card:hover .nux-preset-card__img {
  transform: scale(1.045);
}
.nux-download .nux-preset-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #9ca3af;
}
.nux-download .nux-preset-card__placeholder svg {
  width: 42px;
  height: 42px;
}
.nux-download .nux-preset-card__content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px;
}
.nux-download .nux-preset-card__category {
  margin-bottom: 6px;
  color: #9ca3af;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.nux-download .nux-preset-card__title {
  display: -webkit-box;
  margin: 0 0 5px;
  overflow: hidden;
  color: #111827;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.nux-download .nux-preset-card__device {
  margin-bottom: 5px;
  color: #6b7280;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.35;
}
.nux-download .nux-preset-card__author {
  margin-bottom: 12px;
  color: #9ca3af;
  font-size: 9px;
  line-height: 1.35;
}
.nux-download .nux-preset-card__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: auto;
}
.nux-download .nux-preset-card__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  height: 35px;
  padding: 0 8px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}
.nux-download .nux-preset-card__button svg {
  width: 12px;
  height: 12px;
}
.nux-download .nux-preset-card__button--download {
  background: #111827;
  border: 1px solid #111827;
  color: #ffffff;
}
.nux-download .nux-preset-card__button--download:hover {
  background: #000000;
  color: #ffffff;
  transform: translateY(-1px);
}
.nux-download .nux-preset-card__button--detail {
  background: #ffffff;
  border: 1px solid #d1d5db;
  color: #111827;
}
.nux-download .nux-preset-card__button--detail:hover {
  background: #111827;
  border-color: #111827;
  color: #ffffff;
  transform: translateY(-1px);
}
.nux-download .nux-download__empty {
  padding: 65px 20px;
  background: #ffffff;
  border: 1px solid #e1e5eb;
  border-radius: 16px;
  text-align: center;
}
.nux-download .nux-download__empty[hidden] {
  display: none !important;
}
.nux-download .nux-download__empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  background: #f3f4f6;
  border-radius: 50%;
  color: #6b7280;
}
.nux-download .nux-download__empty-icon svg {
  width: 21px;
  height: 21px;
}
.nux-download .nux-download__empty h3 {
  margin: 0 0 6px;
  color: #111827;
  font-size: 16px;
}
.nux-download .nux-download__empty p {
  margin: 0;
  color: #6b7280;
  font-size: 12px;
}
.nux-download .nux-download__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  width: 100%;
  margin-top: 36px;
}
.nux-download .nux-download__pagination[hidden] {
  display: none !important;
}
.nux-download .nux-pagination__pages {
  display: flex;
  align-items: center;
  gap: 5px;
}
.nux-download .nux-pagination__nav,
.nux-download .nux-pagination__page {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  background: #ffffff;
  border: 1px solid #d2d7df;
  border-radius: 9px;
  color: #111827;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.nux-download .nux-pagination__nav {
  min-width: 100px;
  gap: 6px;
  padding: 0 13px;
}
.nux-download .nux-pagination__page {
  width: 40px;
  padding: 0;
}
.nux-download .nux-pagination__nav:hover:not(:disabled),
.nux-download .nux-pagination__page:hover,
.nux-download .nux-pagination__page.is-active {
  background: #111827;
  border-color: #111827;
  color: #ffffff;
}
.nux-download .nux-pagination__nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.nux-download .nux-pagination__ellipsis {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 40px;
  color: #6b7280;
  font-size: 12px;
}
@media screen and (max-width: 1200px) {
  .nux-download .nux-download__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media screen and (max-width: 990px) {
  .nux-download .nux-download__header {
    gap: 25px;
  }
  .nux-download .nux-download__search {
    width: min(480px, 60%);
  }
  .nux-download .nux-download__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media screen and (max-width: 768px) {
  .nux-download {
    padding: 30px 0 48px;
  }
  .nux-download .nux-download__header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 17px;
    margin-bottom: 18px;
  }
  .nux-download .nux-download__heading-mark {
    width: 6px;
    height: 6px;
  }
  .nux-download .nux-download__heading h2 {
    font-size: 20px;
  }
  .nux-download .nux-download__search {
    width: 100%;
    height: 42px;
  }
  .nux-download .nux-download__search-icon {
    left: 13px;
    width: 13px;
    height: 13px;
  }
  .nux-download .nux-download__search-input {
    padding-left: 35px !important;
    font-size: 10px;
  }
  .nux-download .nux-download__search-button {
    height: 34px;
    padding: 0 15px !important;
    font-size: 9px;
  }
  .nux-download .nux-download__nav-wrapper {
    display: block;
    width: 100%;
    overflow: visible;
  }
  .nux-download .nux-download__nav {
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    padding-bottom: 5px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .nux-download .nux-download__nav::-webkit-scrollbar {
    display: none;
  }
  .nux-download .nux-download__nav-item {
    flex: 0 0 auto;
    min-height: 33px !important;
    padding: 0 11px !important;
    font-size: 9px;
  }
  .nux-download .nux-download__nav-item.is-active::after {
    left: 11px;
    right: 11px;
  }
  .nux-download .nux-download__separator {
    height: 13px;
  }
  .nux-download .nux-download__genre {
    flex: 0 0 auto;
  }
  .nux-download .nux-download__genre-arrow {
    width: 10px;
    height: 10px;
  }
  .nux-download .nux-download__genre-menu {
    right: 0;
    width: 145px;
    padding: 5px;
    border-radius: 9px;
  }
  .nux-download .nux-download__genre-item {
    min-height: 34px !important;
    padding: 0 10px !important;
    font-size: 9px;
  }
  .nux-download .nux-download__divider {
    margin-top: 8px;
    margin-bottom: 10px;
  }
  .nux-download .nux-download__result {
    margin-bottom: 9px;
    font-size: 8px;
  }
  .nux-download .nux-download__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .nux-download .nux-preset-card {
    border-radius: 13px;
  }
  .nux-download .nux-preset-card__content {
    padding: 10px;
  }
  .nux-download .nux-preset-card__category {
    margin-bottom: 4px;
    font-size: 7px;
  }
  .nux-download .nux-preset-card__title {
    margin-bottom: 4px;
    font-size: 11px;
    line-height: 1.3;
  }
  .nux-download .nux-preset-card__device {
    margin-bottom: 3px;
    font-size: 8px;
  }
  .nux-download .nux-preset-card__author {
    margin-bottom: 8px;
    font-size: 7px;
  }
  .nux-download .nux-preset-card__actions {
    gap: 5px;
  }
  .nux-download .nux-preset-card__button {
    height: 29px;
    padding: 0 5px;
    border-radius: 7px;
    font-size: 8px;
  }
  .nux-download .nux-preset-card__button svg {
    width: 9px;
    height: 9px;
  }
}
@media screen and (max-width: 420px) {
  .nux-download .nux-download__grid {
    gap: 8px;
  }
  .nux-download .nux-preset-card__content {
    padding: 9px 8px;
  }
  .nux-download .nux-preset-card__button {
    height: 28px;
    font-size: 7.5px;
  }
  .nux-download .nux-pagination__nav {
    min-width: auto;
    height: 36px;
    padding: 0 9px;
    font-size: 9px;
  }
  .nux-download .nux-pagination__page {
    width: 36px;
    height: 36px;
    font-size: 9px;
  }
}
@media screen and (max-width: 768px) {
  .nux-download .nux-download__genre-menu {
    position: fixed !important;
    top: auto;
    left: auto;
    right: auto;
    z-index: 999999 !important;
    width: 165px;
    max-width: calc(100vw - 24px);
    max-height: 280px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 6px;
    background: #ffffff;
    border: 1px solid #e1e5eb;
    border-radius: 10px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
  }
  .nux-download .nux-download__genre.is-open .nux-download__genre-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
  }
}
/* =========================================================
   SUBSCRIBER DOWNLOAD GATE
========================================================= */

.nux-download [hidden] {
  display: none !important;
}

.nux-download .nux-preset-card__download-slot {
  min-width: 0;
  width: 100%;
}

.nux-download .nux-preset-card__button--subscribe {
  background: #111827;
  border: 1px solid #111827;
  color: #ffffff;
  cursor: pointer;
}

.nux-download .nux-preset-card__button--subscribe:hover {
  background: #000000;
  color: #ffffff;
  transform: translateY(-1px);
}

html.nux-subscribe-open,
html.nux-subscribe-open body {
  overflow: hidden;
}

.nux-download .nux-subscribe-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.18s ease,
    visibility 0.18s ease;
}

.nux-download .nux-subscribe-modal[hidden] {
  display: none !important;
}

.nux-download .nux-subscribe-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.nux-download .nux-subscribe-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.nux-download .nux-subscribe-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 34px;
  background: #ffffff;
  border: 1px solid #e1e5eb;
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.24);
  transform: translateY(10px) scale(0.985);
  transition: transform 0.18s ease;
}

.nux-download .nux-subscribe-modal.is-open .nux-subscribe-modal__dialog {
  transform: translateY(0) scale(1);
}

.nux-download .nux-subscribe-modal__close {
  position: absolute;
  top: 13px;
  right: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: 0;
  padding: 0;
  background: #f3f4f6;
  border: 0;
  border-radius: 50%;
  color: #111827;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.nux-download .nux-subscribe-modal__close:hover {
  background: #e5e7eb;
}

.nux-download .nux-subscribe-modal__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  background: #111827;
  border-radius: 50%;
  color: #ffffff;
}

.nux-download .nux-subscribe-modal__icon svg {
  width: 22px;
  height: 22px;
}

.nux-download .nux-subscribe-modal__title {
  margin: 0 0 8px;
  color: #111827;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.nux-download .nux-subscribe-modal__description {
  max-width: 340px;
  margin: 0 auto 22px;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.nux-download .nux-subscribe-form__label {
  display: block;
  margin: 0 0 7px;
  color: #374151;
  font-size: 11px;
  font-weight: 700;
}

.nux-download .nux-subscribe-form__input {
  display: block;
  width: 100%;
  height: 46px;
  margin: 0 0 10px !important;
  padding: 0 14px !important;
  background: #ffffff !important;
  border: 1px solid #d1d5db !important;
  border-radius: 9px !important;
  outline: none !important;
  box-shadow: none !important;
  color: #111827 !important;
  font-size: 12px;
}

.nux-download .nux-subscribe-form__input:focus {
  border-color: #111827 !important;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.07) !important;
}

.nux-download .nux-subscribe-form__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  margin: 0 !important;
  padding: 0 16px !important;
  background: #111827 !important;
  border: 1px solid #111827 !important;
  border-radius: 9px !important;
  color: #ffffff !important;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s ease,
    opacity 0.2s ease;
}

.nux-download .nux-subscribe-form__submit:hover {
  background: #000000 !important;
}

.nux-download .nux-subscribe-form__submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.nux-download .nux-subscribe-form__note {
  margin: 11px 0 0;
  color: #9ca3af;
  font-size: 9px;
  line-height: 1.5;
  text-align: center;
}

.nux-download .nux-subscribe-form__message {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 10px;
  line-height: 1.45;
}

.nux-download .nux-subscribe-form__message--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.nux-download .nux-subscribe-form__message--success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

@media screen and (max-width: 768px) {
  .nux-download .nux-subscribe-modal {
    padding: 14px;
  }

  .nux-download .nux-subscribe-modal__dialog {
    width: 100%;
    max-height: calc(100vh - 28px);
    padding: 28px 20px 22px;
    border-radius: 15px;
  }

  .nux-download .nux-subscribe-modal__title {
    font-size: 19px;
  }

  .nux-download .nux-subscribe-modal__description {
    font-size: 11px;
  }

  .nux-download .nux-subscribe-form__input,
  .nux-download .nux-subscribe-form__submit {
    height: 44px;
    min-height: 44px;
  }
}

/* Detail-only preset card actions */
.nux-download .nux-preset-card__actions{grid-template-columns:1fr!important;}
.nux-download .nux-preset-card__button--detail{width:100%;background:#111827;border-color:#111827;color:#fff;}
.nux-download .nux-preset-card__button--detail:hover{background:#000;border-color:#000;color:#fff;}
