.nm-dynamic-page {
  padding-bottom: 60px;
}

.nm-dynamic-breadcrumb {
  margin: 0;
  padding: 16px 0 12px;
  background: transparent;
  border-radius: 0;
  font-size: 11px;
}

.nm-dynamic-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 390px;
  margin-bottom: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--gray-50);
}

.nm-dynamic-hero.has-media {
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
}

.nm-dynamic-hero__copy {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 76px);
  overflow: hidden;
}

.nm-dynamic-hero__number {
  position: absolute;
  z-index: -1;
  top: -80px;
  right: 10px;
  color: rgba(79, 99, 86, .05);
  font-size: clamp(230px, 30vw, 420px);
  font-weight: 800;
  line-height: 1;
}

.nm-dynamic-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cta);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.nm-dynamic-eyebrow::before {
  width: 24px;
  height: 2px;
  background: currentColor;
  content: "";
}

.nm-dynamic-hero h1 {
  max-width: 760px;
  margin: 18px 0;
  color: var(--anthracite);
  font-size: clamp(42px, 5.7vw, 72px);
  font-weight: 650;
  letter-spacing: -.052em;
  line-height: 1.01;
}

.nm-dynamic-hero__copy > p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.nm-dynamic-hero__media {
  min-height: 390px;
  overflow: hidden;
}

.nm-dynamic-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nm-dynamic-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 850px);
  justify-content: center;
  gap: clamp(36px, 6vw, 78px);
  padding: 56px 0 0;
}

.nm-dynamic-layout:not(.has-nav) {
  grid-template-columns: 180px minmax(0, 850px);
}

.nm-dynamic-aside {
  min-width: 0;
}

.nm-dynamic-nav {
  margin-bottom: 22px;
  padding-top: 15px;
  border-top: 2px solid var(--cta);
}

.nm-dynamic-nav > span,
.nm-contract-info > span {
  display: block;
  margin-bottom: 10px;
  color: var(--gray-500);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.nm-dynamic-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nm-dynamic-nav li {
  border-bottom: 1px solid var(--line);
}

.nm-dynamic-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 2px;
  color: var(--gray-600);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.4;
}

.nm-dynamic-nav li.is-active a,
.nm-dynamic-nav a:hover {
  color: var(--cta);
}

.nm-dynamic-nav svg {
  width: 14px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.nm-dynamic-help,
.nm-contract-info {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--gray-50);
}

.nm-dynamic-help__icon {
  display: grid;
  width: 36px;
  height: 36px;
  margin-bottom: 15px;
  place-items: center;
  border-radius: 50%;
  background: var(--cta-tint);
  color: var(--cta);
}

.nm-dynamic-help__icon svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.nm-dynamic-help strong,
.nm-contract-info strong {
  display: block;
  margin-bottom: 7px;
  color: var(--anthracite);
  font-size: 13px;
}

.nm-dynamic-help p,
.nm-contract-info p {
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.nm-dynamic-help a {
  color: var(--cta);
  font-size: 11px;
  font-weight: 750;
}

.nm-dynamic-main {
  min-width: 0;
}

.nm-dynamic-content {
  color: var(--gray-700);
  font-size: 15px;
  line-height: 1.85;
}

.nm-dynamic-content > :first-child {
  margin-top: 0 !important;
}

.nm-dynamic-content > :last-child {
  margin-bottom: 0 !important;
}

.nm-dynamic-content h1,
.nm-dynamic-content h2,
.nm-dynamic-content h3,
.nm-dynamic-content h4 {
  color: var(--anthracite);
  font-weight: 650;
  letter-spacing: -.025em;
  line-height: 1.2;
}

.nm-dynamic-content h1 {
  margin: 0 0 22px;
  font-size: 34px;
}

.nm-dynamic-content h2 {
  margin: 42px 0 16px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
  font-size: 27px;
}

.nm-dynamic-content h3 {
  margin: 30px 0 12px;
  font-size: 20px;
}

.nm-dynamic-content h4 {
  margin: 25px 0 10px;
  font-size: 16px;
}

.nm-dynamic-content p,
.nm-dynamic-content ul,
.nm-dynamic-content ol {
  margin: 0 0 20px;
}

.nm-dynamic-content ul,
.nm-dynamic-content ol {
  padding-left: 23px;
}

.nm-dynamic-content li {
  margin-bottom: 8px;
}

.nm-dynamic-content a {
  border-bottom: 1px solid currentColor;
  color: var(--cta);
}

.nm-dynamic-content strong {
  color: var(--anthracite);
}

.nm-dynamic-content img {
  max-width: 100%;
  height: auto;
  margin: 25px 0;
  border-radius: var(--radius);
}

.nm-dynamic-content blockquote {
  margin: 28px 0;
  padding: 22px 25px;
  border-left: 3px solid var(--cta);
  background: var(--cta-tint);
  color: var(--anthracite);
  font-size: 16px;
}

.nm-dynamic-content table {
  width: 100% !important;
  min-width: 0 !important;
  margin: 26px 0;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 12px;
}

.nm-dynamic-content .table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.nm-dynamic-content th,
.nm-dynamic-content td {
  height: auto !important;
  padding: 11px 12px !important;
  border: 1px solid var(--line) !important;
  background: #fff;
  text-align: left;
  vertical-align: top;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* Fiyat listesi: 5 sütun simetrik hizalama (Referans | Ürün | Kutu | Koli | Fiyat) */
.nm-dynamic-content table thead th:nth-child(1),
.nm-dynamic-content table tbody tr:not(.group-row) td:nth-child(1) {
  width: 22%;
}
.nm-dynamic-content table thead th:nth-child(2),
.nm-dynamic-content table tbody tr:not(.group-row) td:nth-child(2) {
  width: 36%;
}
.nm-dynamic-content table thead th:nth-child(3),
.nm-dynamic-content table tbody tr:not(.group-row) td:nth-child(3),
.nm-dynamic-content table thead th:nth-child(4),
.nm-dynamic-content table tbody tr:not(.group-row) td:nth-child(4) {
  width: 11%;
  text-align: center;
}
.nm-dynamic-content table thead th:nth-child(5),
.nm-dynamic-content table tbody tr:not(.group-row) td:nth-child(5),
.nm-dynamic-content table th.price,
.nm-dynamic-content table td.price {
  width: 20%;
  text-align: right !important;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.nm-dynamic-content table .group-row td {
  text-align: left !important;
}

.nm-dynamic-content th {
  background: var(--gray-50);
  color: var(--anthracite);
  font-weight: 700;
}

.nm-dynamic-content hr,
.nm-dynamic-block hr {
  height: 1px;
  margin: 34px 0;
  border: 0;
  background: var(--line);
}

.nm-dynamic-blocks {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.nm-dynamic-block {
  grid-column: span var(--block-span, 12);
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--gray-50);
}

.nm-dynamic-block h2 {
  margin: 0 0 14px;
  color: var(--anthracite);
  font-size: 20px;
  font-weight: 650;
}

/* Legal documents */
.nm-contract-hero {
  min-height: 360px;
  background: #1d231f;
}

.nm-contract-hero .nm-dynamic-hero__number {
  top: -95px;
  color: rgba(255, 255, 255, .035);
  font-family: Georgia, serif;
}

.nm-contract-hero .nm-dynamic-eyebrow {
  color: #a7b9ac;
}

.nm-contract-hero h1 {
  max-width: 900px;
  color: #fff;
}

.nm-contract-hero .nm-dynamic-hero__copy > p {
  color: rgba(255, 255, 255, .64);
}

.nm-contract-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 27px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.nm-contract-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .7);
  font-size: 11px;
}

.nm-contract-meta svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: #a7b9ac;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.nm-contract-info {
  border-top: 2px solid var(--cta);
}

.nm-contract-info p {
  margin-bottom: 0;
}

.nm-contract-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 28px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cta-tint);
}

.nm-contract-notice svg {
  width: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: var(--cta);
  stroke-linecap: round;
  stroke-width: 1.8;
}

.nm-contract-notice p {
  margin: 0;
  color: var(--gray-700);
  font-size: 12px;
  line-height: 1.65;
}

.nm-legal-content {
  counter-reset: legal-section;
}

.nm-legal-content > h2 {
  counter-increment: legal-section;
}

.nm-legal-content > h2::before {
  margin-right: 9px;
  color: var(--cta);
  content: counter(legal-section, decimal-leading-zero);
  font-size: 12px;
  letter-spacing: .05em;
}

.nm-legal-content .legal-cart-lines {
  padding: 15px 18px 15px 38px;
  border: 1px solid var(--line);
  background: var(--gray-50);
}

@media (max-width: 960px) {
  .nm-dynamic-hero.has-media {
    grid-template-columns: 1fr;
  }

  .nm-dynamic-hero__media {
    min-height: 380px;
  }

  .nm-dynamic-layout,
  .nm-dynamic-layout:not(.has-nav) {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .nm-dynamic-aside {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .nm-dynamic-page {
    padding-bottom: 36px;
  }

  .nm-dynamic-breadcrumb {
    white-space: nowrap;
    overflow-x: auto;
  }

  .nm-dynamic-hero {
    min-height: 340px;
  }

  .nm-dynamic-hero__copy {
    padding: 35px 23px;
  }

  .nm-dynamic-hero h1 {
    font-size: 39px;
  }

  .nm-dynamic-hero__media {
    min-height: 290px;
  }

  .nm-dynamic-layout,
  .nm-dynamic-layout:not(.has-nav) {
    padding-top: 34px;
  }

  .nm-dynamic-aside {
    grid-template-columns: 1fr;
  }

  .nm-dynamic-content {
    font-size: 14px;
  }

  .nm-dynamic-content h2 {
    margin-top: 34px;
    font-size: 24px;
  }

  .nm-dynamic-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
  }

  .nm-dynamic-blocks {
    grid-template-columns: 1fr;
  }

  .nm-dynamic-block,
  .nm-dynamic-block[data-span] {
    grid-column: auto;
  }
}
