.nm-detail {
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 20px 72px;
}

.nm-detail-crumb {
  margin: 0 0 16px;
  color: #7a7a7a;
  font-size: 0.85rem;
  line-height: 1.4;
}

.nm-detail-crumb a {
  color: #6BB252;
  text-decoration: none;
}

.nm-detail-top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 28px;
  align-items: start;
}

.nm-detail-gallery {
  position: sticky;
  top: 132px;
}

.nm-detail-stage {
  position: relative;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  background: #f8f9f5;
  overflow: hidden;
}

.nm-detail-stage img {
  display: block;
  width: 100%;
  height: 460px;
  object-fit: contain;
}

.nm-detail-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 8px;
  border-radius: 8px;
  background: #6BB252;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.nm-detail-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.nm-detail-thumbs button {
  width: 72px;
  height: 72px;
  padding: 6px;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  background: #fff;
}

.nm-detail-thumbs button.is-active {
  border-color: #6BB252;
}

.nm-detail-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nm-detail-kicker {
  margin: 0 0 6px;
  font-size: 0.85rem;
  line-height: 1.3;
}

.nm-detail-kicker a {
  color: #6BB252;
  font-weight: 700;
  text-decoration: none;
}

.nm-detail-buy h1 {
  margin: 0;
  color: #212121;
  font-size: clamp(1.8rem, 2.3vw, 2.4rem);
  line-height: 1.2;
}

.nm-detail-rating {
  margin: 8px 0 0;
  color: #212121;
  font-size: 0.92rem;
  line-height: 1.3;
}

.nm-detail-rating span {
  color: #212121;
  letter-spacing: 1px;
}

.nm-detail-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 10px;
  margin-top: 12px;
}

.nm-detail-price strong,
.nm-buybar strong {
  color: #212121;
  font-variant-numeric: tabular-nums;
  font-size: 1.7rem;
  line-height: 1;
}

.nm-detail-price del,
.nm-buybar del {
  color: #8a8a8a;
  font-size: 1rem;
}

.nm-detail-price span {
  color: #212121;
  font-size: 0.9rem;
  font-weight: 700;
}

.nm-detail-block {
  margin-top: 18px;
}

.nm-detail-block p,
.nm-detail-specs h2,
.nm-detail-about h2,
.nm-detail-rec h2 {
  margin: 0 0 8px;
  color: #6BB252;
  font-size: 1rem;
  line-height: 1.3;
}

.nm-detail-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nm-detail-pills button,
.nm-qty button {
  border: 1px solid #d7ddd2;
  border-radius: 8px;
  background: #fff;
  color: #212121;
  font-weight: 700;
}

.nm-detail-pills button {
  min-width: 84px;
  padding: 8px 12px;
}

.nm-detail-pills button.is-active {
  border-color: #6BB252;
  background: #f3f8ef;
}

.nm-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d7ddd2;
  border-radius: 8px;
  overflow: hidden;
}

.nm-qty button {
  width: 40px;
  height: 40px;
  border: 0;
  font-size: 1.2rem;
}

.nm-qty input {
  width: 48px;
  height: 40px;
  border: 0;
  border-left: 1px solid #d7ddd2;
  border-right: 1px solid #d7ddd2;
  color: #212121;
  text-align: center;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.nm-detail-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.nm-detail-actions .btn-primary {
  flex: 1;
  padding: 12px 16px;
  font-weight: 700;
}

.nm-detail-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid #6BB252;
  border-radius: 8px;
  color: #4f9140;
  font-weight: 700;
  text-decoration: none;
}

.nm-detail-actions .btn-outline-dark {
  width: 48px;
  padding: 0;
}

.nm-detail-notes {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.nm-detail-notes li {
  position: relative;
  margin: 0;
  padding: 7px 0 7px 16px;
  border-top: 1px solid #f0f0f0;
  color: #4d4d4d;
  font-size: 0.92rem;
  line-height: 1.4;
}

.nm-detail-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6BB252;
}

.nm-detail-info {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  margin-top: 28px;
}

.nm-detail-specs,
.nm-detail-about {
  padding: 16px;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  background: #fff;
}

.nm-detail-specs dl {
  margin: 0;
}

.nm-detail-specs dl div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid #f2f2f2;
}

.nm-detail-specs dt {
  color: #6d6d6d;
  font-weight: 600;
}

.nm-detail-specs dd,
.nm-detail-about p,
.nm-detail-about li {
  margin: 0;
  color: #6BB252;
  line-height: 1.45;
}

.nm-detail-about ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.nm-detail-rec {
  margin-top: 28px;
}

.nm-detail-rec h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.nm-buybar {
  display: none;
}

@media (max-width: 991.98px) {
  body.nm-page-detail {
    padding-bottom: calc(128px + env(safe-area-inset-bottom));
  }

  .nm-detail {
    padding: 8px 12px 24px;
  }

  .nm-detail-crumb {
    display: none;
  }

  .nm-detail-top,
  .nm-detail-info {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .nm-detail-gallery {
    position: static;
  }

  .nm-detail-stage img {
    height: 280px;
  }

  .nm-detail-buy h1 {
    font-size: 1.35rem;
  }

  .nm-detail-price strong {
    font-size: 1.9rem;
  }

  .nm-detail-rating,
  .nm-detail-pills button,
  .nm-qty input {
    font-size: 1rem;
  }

  .nm-detail-actions {
    display: none;
  }

  .nm-detail-rec .nm-cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .nm-buybar {
    position: fixed;
    right: 0;
    bottom: calc(64px + env(safe-area-inset-bottom));
    left: 0;
    z-index: 1035;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 6px;
    align-items: center;
    padding: 6px 10px;
    background: rgba(255, 255, 255, .98);
    border: 1px solid #e5eadf;
    border-bottom: 0;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -4px 16px rgba(28, 50, 20, .10);
  }

  .nm-buybar-summary {
    display: grid;
    min-width: 0;
    gap: 0;
    grid-template-columns: auto auto;
    align-items: baseline;
    justify-content: start;
    column-gap: 5px;
  }

  .nm-buybar-summary strong {
    color: #212121;
    font-size: 1.15rem;
  }

  .nm-buybar-summary del {
    font-size: .76rem;
  }

  .nm-buybar-summary span {
    overflow: hidden;
    color: #65705f;
    font-size: .7rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nm-buybar .btn,
  .nm-buybar-checkout {
    display: flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 10px;
    font-weight: 700;
    font-size: .78rem;
    white-space: nowrap;
  }

  .nm-buybar .btn svg,
  .nm-buybar-checkout svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
  }

  .nm-buybar-checkout {
    border: 1px solid #6BB252;
    border-radius: 8px;
    background: #fff;
    color: #4f9140;
    text-decoration: none;
  }
}

@media (max-width: 390px) {
  .nm-buybar-summary span {
    display: none;
  }

  .nm-buybar .btn,
  .nm-buybar-checkout {
    padding-right: 8px;
    padding-left: 8px;
    font-size: .72rem;
  }
}
