.nm-plugin-single {
  padding: 26px 0;
}

.nm-plugin-single__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.68fr) minmax(260px, 1fr);
  gap: 30px;
  align-items: start;
}

.nm-plugin-single__title {
  margin: 0 0 10px;
  color: var(--e-global-color-text, #111827);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
}

.nm-plugin-single__section-title {
  margin: 0 0 10px;
  color: #111827;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.nm-plugin-single__description {
  color: var(--e-global-color-text, #1f2937);
  font-size: 15px;
  line-height: 1.65;
}

.nm-plugin-single__description p {
  margin: 0 0 14px;
}

.nm-plugin-single__description p:last-child {
  margin-bottom: 0;
}

.nm-plugin-meta {
  border-bottom: 1px solid #d4d4d8;
  background: transparent;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.nm-plugin-downloads {
  margin-bottom: 16px;
  border: 1px solid #dbe0e7;
  border-radius: 10px;
  padding: 12px;
  background: #fff;
}

.nm-plugin-downloads__title {
  margin: 0 0 10px;
  font-size: 14px;
  color: #111827;
  font-weight: 600;
}

.nm-plugin-downloads__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.nm-plugin-downloads__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 8px;
  padding: 10px 12px;
  text-decoration: none;
  border: 1px solid transparent;
}

.nm-plugin-downloads__card--free {
  background: #eff8ff;
  border-color: #bfdbfe;
}

.nm-plugin-downloads__card--pro {
  background: #fff7ed;
  border-color: #fed7aa;
}

.nm-plugin-downloads__label {
  font-size: 13px;
  color: #1f2937;
  font-weight: 600;
}

.nm-plugin-downloads__cta {
  font-size: 12px;
  color: #111827;
  font-weight: 700;
}

.nm-plugin-meta__row {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(140px, auto);
  align-items: center;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid #d4d4d8;
}

.nm-plugin-meta__row:last-child {
  border-bottom: 0;
}

.nm-plugin-meta__label {
  color: #2f2f34;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
}

.nm-plugin-meta__value {
  color: #1f1f23;
  font-size: 15px;
  text-align: right;
  word-break: break-word;
  line-height: 1.45;
  font-weight: 500;
}

.nm-plugin-meta__value a {
  color: #1f1f23;
  text-decoration: none;
}

.nm-plugin-single__gallery {
  margin-top: 16px;
}

.nm-plugin-single__gallery-title {
  margin: 0 0 8px;
  color: #111827;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 600;
}

.nm-plugin-slider {
  border: 1px solid #e7e7ea;
  border-radius: 8px;
  background: transparent;
  position: relative;
  max-width: 560px;
  margin: 0;
  padding: 10px;
}

.nm-plugin-slider__track {
  position: relative;
  background: transparent;
  border: 0;
  border-radius: 6px;
  overflow: visible;
}

.nm-plugin-slider__slide {
  display: none;
}

.nm-plugin-slider__slide.is-active {
  display: block;
}

.nm-plugin-slider__image {
  width: 100%;
  height: 280px;
  object-fit: contain;
  display: block;
  cursor: zoom-in;
}

.nm-plugin-slider__caption {
  background: transparent;
  color: #6b7280;
  text-align: left;
  font-size: 11px;
  line-height: 1.4;
  padding: 8px 2px 2px;
  min-height: 24px;
  border: 0;
}

.nm-plugin-slider__controls {
  display: none;
}

.nm-plugin-slider__btn {
  pointer-events: auto;
  width: 24px;
  height: 24px;
  border: 1px solid #e1e4e8;
  border-radius: 50%;
  background: #fff;
  color: #4b5563;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.nm-plugin-slider__thumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.nm-plugin-slider__thumb-image {
  width: 86px;
  object-fit: contain;
  display: block;
  border-radius: 3px;
  border: 1px solid #dfe3e8;
  cursor: pointer;
  opacity: 0.8;
}

.nm-plugin-slider__thumb-image.is-active {
  border-color: #111827;
  opacity: 1;
}

.nm-plugin-lightbox[hidden] {
  display: none;
}

.nm-plugin-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.nm-plugin-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.nm-plugin-lightbox__dialog {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  margin: 4vh auto;
  width: fit-content;
  z-index: 1;
}

.nm-plugin-lightbox__image {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  display: block;
  border-radius: 6px;
}

.nm-plugin-lightbox__close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #111827;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

body.nm-plugin-lightbox-open {
  overflow: hidden;
}

.nm-plugin-meta__tag {
  display: inline-block;
  margin: 0;
  padding: 6px 11px;
  border-radius: 3px;
  background: #eef0f8;
  color: #374151;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 400;
}

.nm-plugin-meta__value--tags {
  display: inline-flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.nm-plugin-meta__row--tags {
  grid-template-columns: 1fr;
  align-items: start;
}

.nm-plugin-meta__row--tags .nm-plugin-meta__label {
  margin-bottom: 4px;
}

.nm-plugin-meta__row--tags .nm-plugin-meta__value--tags {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}

@media (max-width: 991px) {
  .nm-plugin-single__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .nm-plugin-single__title {
    font-size: 17px;
  }

  .nm-plugin-single__section-title {
    font-size: 19px;
  }

  .nm-plugin-single__gallery-title {
    font-size: 20px;
  }

  .nm-plugin-slider {
    max-width: 100%;
    padding: 8px;
  }

  .nm-plugin-slider__image {
    height: 220px;
  }
}
