/* Ürün sayfası yerleşimi + galeriler + açılır galeri (urun-galeri.js ile). Site teması: antrasit + #f39200.
   Yapı (urun.php): #ngpg-top (ürün görselleri) → .ngpg-body [ .ngpg-info-col (açıklama) | .ngpg-aside-col (medya + Seçim Merkezi) ] */

.ngpg-area { padding: 60px 0 80px; }
.ngpg-top { margin-bottom: 56px; }
/* Tema, açıklama paragraflarını 450px ile sınırlıyor; metin sütunu genişliğin tamamını kullanır. */
.ngpg-info-col .ltn__section-title-2 p,
.ngpg-info-col .section-title-area p { max-width: none; }
.ngpg-info-col .section-title-area { margin-bottom: 0; }

/* Galeri: büyük ana görsel + altında küçük önizleme şeridi */
.ngpg-gal { display: grid; gap: 10px; }
.ngpg-gal button { font: inherit; color: inherit; }
.ngpg-main {
  position: relative; display: block; width: 100%; padding: 0; margin: 0;
  background: #1c1c1c; border: 1px solid #444; border-radius: 6px; overflow: hidden; cursor: zoom-in;
}
.ngpg-main img, .ngpg-main video { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .3s ease; }
.ngpg-main:hover img { transform: scale(1.03); }
.ngpg-gal-top .ngpg-main { height: clamp(240px, 28vw, 380px); }
.ngpg-gal-media .ngpg-main { aspect-ratio: 4 / 3; }
.ngpg-main:focus-visible, .ngpg-thumb:focus-visible { outline: 2px solid #f39200; outline-offset: 2px; }
.ngpg-badge {
  position: absolute; top: 10px; right: 10px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 9px; border-radius: 4px;
  background: rgba(0, 0, 0, .72); color: #fff; font-size: 13px; font-weight: 700; line-height: 1;
  transition: background .15s;
}
.ngpg-badge svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.ngpg-main:hover .ngpg-badge, .ngpg-main:focus-visible .ngpg-badge { background: #f39200; color: #1b1b1b; }
[dir="rtl"] .ngpg-badge { right: auto; left: 10px; }

.ngpg-strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; scrollbar-color: #575757 transparent; }
.ngpg-thumb {
  flex: 0 0 96px; height: 72px; padding: 0; margin: 0; position: relative;
  background: #1c1c1c; border: 2px solid #444; border-radius: 4px; overflow: hidden; cursor: pointer;
  opacity: .7; transition: opacity .15s, border-color .15s;
}
.ngpg-gal-media .ngpg-thumb { flex-basis: 72px; height: 54px; }
.ngpg-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ngpg-thumb:hover { opacity: 1; border-color: #575757; }
.ngpg-thumb.is-active { opacity: 1; border-color: #f39200; }
.ngpg-play { position: absolute; inset: 0; display: grid; place-items: center; color: #f39200; font-size: 20px; }

/* SEO anahtar kelimeleri: açıklamanın altında etiketler */
.ngpg-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 28px 0 0; padding: 0; }
.ngpg-tags li {
  margin: 0; padding: 5px 12px; border: 1px solid #575757; border-radius: 999px;
  background: #262626; color: #f1f1f1; font-size: 14px; line-height: 1.4;
}

/* Sağ sütun: medya kutusu + Ekipman Seçim Merkezi kutusu */
.ngpg-aside { display: grid; gap: 24px; }
.ngpg-aside-title { font-size: 18px; margin: 0 0 12px; color: #fff; }
.ngpg-media { background: #262626; border: 1px solid #444; border-radius: 6px; padding: 16px; }
.ngpg-selector {
  background: #1a1a1a; border: 1px solid #444; border-top: 3px solid #f39200; border-radius: 6px; padding: 22px 22px 24px;
}
.ngpg-selector .ngpg-sel-eyebrow { color: #f39200; font-weight: 700; font-size: 14px; margin: 0 0 6px; }
.ngpg-selector h2 { font-size: 22px; line-height: 1.25; margin: 0 0 10px; color: #fff; }
.ngpg-selector p { margin: 0 0 18px; font-size: 15px; line-height: 1.55; max-width: none; }
.ngpg-sel-btn {
  display: inline-block; padding: 12px 20px; border-radius: 4px;
  background: #f39200; color: #1b1b1b !important; font-weight: 700; font-size: 15px; line-height: 1.2;
  transition: background .15s;
}
.ngpg-sel-btn:hover, .ngpg-sel-btn:focus-visible { background: #ffa51f; color: #1b1b1b; }

/* Teknik doküman (PDF): kapalı gelir, butonla açılır */
.ngpg-pdf { margin-top: 56px; background: #262626; border: 1px solid #444; border-radius: 6px; padding: 18px 22px; }
.ngpg-pdf-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.ngpg-pdf-title { font-size: 20px; margin: 0; color: #fff; }
.ngpg-pdf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.ngpg-pdf-btn {
  padding: 11px 18px; border-radius: 4px; border: 1px solid #f39200; background: transparent;
  color: #f39200; font: inherit; font-weight: 700; font-size: 15px; line-height: 1.2; cursor: pointer; transition: background .15s, color .15s;
}
.ngpg-pdf-btn:hover, .ngpg-pdf-btn:focus-visible, .ngpg-pdf-btn[aria-expanded="true"] { background: #f39200; color: #1b1b1b; outline: none; }
.ngpg-pdf-link { color: #f1f1f1; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ngpg-pdf-link:hover { color: #f39200; }
.ngpg-pdf-frame { margin-top: 18px; }
.ngpg-pdf-frame iframe { display: block; width: 100%; height: 80vh; min-height: 420px; border: 0; border-radius: 4px; background: #fff; }

/* Masaüstü: görsel/kutular ile metin arası ≈ 90px (2–3 cm); sağ sütun kayarken üstte sabit kalır. */
@media (min-width: 992px) {
  .ngpg-aside-col { padding-inline-start: 75px; }
  .ngpg-aside { position: sticky; top: 110px; }
}
@media (max-width: 991px) {
  .ngpg-area { padding: 40px 0 60px; }
  .ngpg-top { margin-bottom: 40px; }
  .ngpg-aside-col { margin-top: 48px; }
  .ngpg-gal-top .ngpg-main { height: clamp(220px, 56vw, 420px); }
  .ngpg-thumb { flex-basis: 76px; height: 58px; }
}

/* Açılır galeri */
html.ngpg-lock, html.ngpg-lock body { overflow: hidden; }
.ngpg-lb {
  position: fixed; inset: 0; z-index: 100000;
  background: rgba(12, 12, 12, .985);
  display: grid; grid-template-rows: auto 1fr auto;
  color: #f1f1f1; font-family: var(--ltn__body-font, "Titillium Web", sans-serif);
}
.ngpg-lb[hidden] { display: none; }
.ngpg-lb button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
.ngpg-lb-top { display: flex; align-items: center; gap: 16px; padding: 14px 20px; border-bottom: 1px solid #2c2c2c; }
.ngpg-lb-name { font-weight: 700; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; }
.ngpg-lb-counter { color: #f39200; font-weight: 700; font-size: 14px; white-space: nowrap; }
.ngpg-lb-close {
  width: 40px; height: 40px; border-radius: 50% !important; border: 1px solid #575757 !important;
  font-size: 26px !important; line-height: 1; display: grid; place-items: center; flex-shrink: 0;
}
.ngpg-lb-close:hover, .ngpg-lb-close:focus-visible { border-color: #f39200 !important; color: #f39200; outline: none; }
.ngpg-lb-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 16px 72px; }
.ngpg-lb-img, .ngpg-lb-video { max-width: 100%; max-height: 100%; object-fit: contain; display: block; user-select: none; }
.ngpg-lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50% !important;
  background: rgba(255, 255, 255, .08) !important; display: grid; place-items: center;
  transition: background .15s;
}
.ngpg-lb-nav:hover, .ngpg-lb-nav:focus-visible { background: #f39200 !important; outline: none; }
.ngpg-lb-nav svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.5; }
.ngpg-lb-prev { left: 14px; }
.ngpg-lb-next { right: 14px; }
.ngpg-lb-single .ngpg-lb-nav { display: none; }
.ngpg-lb-strip {
  display: flex; gap: 8px; justify-content: center; overflow-x: auto;
  padding: 12px 20px 16px; border-top: 1px solid #2c2c2c; scrollbar-width: thin;
}
.ngpg-lb-strip[hidden] { display: none; }
.ngpg-lb-t {
  flex: 0 0 72px; height: 56px; border-radius: 4px !important; overflow: hidden; position: relative;
  border: 2px solid transparent !important; background: #1c1c1c !important; opacity: .55;
  transition: opacity .15s, border-color .15s;
}
.ngpg-lb-t img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ngpg-lb-t:hover, .ngpg-lb-t:focus-visible { opacity: .9; outline: none; }
.ngpg-lb-t.is-active { opacity: 1; border-color: #f39200 !important; }

@media (max-width: 575px) {
  .ngpg-lb-stage { padding: 10px 10px 66px; }
  .ngpg-lb-nav { width: 40px; height: 40px; top: auto; bottom: 14px; transform: none; }
  .ngpg-lb-prev { left: calc(50% - 50px); }
  .ngpg-lb-next { right: calc(50% - 50px); }
  .ngpg-lb-t { flex-basis: 56px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .ngpg-main img, .ngpg-thumb, .ngpg-lb-t, .ngpg-sel-btn, .ngpg-badge, .ngpg-pdf-btn { transition: none; }
  .ngpg-main:hover img { transform: none; }
}

/* Masaüstünde dört küçük görsel kutuya tam sığar; Ataşman Seçici butonu da medya kutusuna binmesin diye bu sayfada yalnızca simge olur, üstüne gelince yazısı açılır. */
@media (min-width: 992px) {
  .ngpg-gal-media .ngpg-thumb { flex-basis: calc((100% - 24px) / 4); }
}
@media (min-width: 992px) and (max-width: 1599px) {
  .ng-selector-fab, html[dir="rtl"] .ng-selector-fab { padding: 10px 8px; gap: 0; }
  .ng-selector-fab span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .ng-selector-fab:hover, .ng-selector-fab:focus-visible,
  html[dir="rtl"] .ng-selector-fab:hover, html[dir="rtl"] .ng-selector-fab:focus-visible { padding: 12px 16px 12px 14px; gap: 8px; }
  .ng-selector-fab:hover span, .ng-selector-fab:focus-visible span { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
}
