/* ═══════════════════════════════════════════════════════
   PRODUCT.CSS – Ürün Detay Sayfası Özel Stiller
   L60, LPi, LQi vb. tüm ürün sayfalarında kullanılır.
   ═══════════════════════════════════════════════════════ */

/* ── PRODUCT HERO (Ürün Hero Bölümü) ─────────────────── */
#product-hero {
  background: var(--white);
  padding: 5px 0;
  border-bottom: 1px solid var(--gray-200);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
}
.prod-image-box {
  position: relative;
  border-radius: 4px;
  padding: 5px;
  /* padding-top: 50px; */
  text-align: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-height: calc( var(--picMaxHeight) - 10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.prod-badge {
  /* position: absolute; */
  top: 12px;
  left: 12px;
  z-index: 10;
}

#img-caption {
  /* position: absolute; */
  top: 32px;
  left: 12px;
  right: 32px;
  text-align: left !important;
  font-size: 12px;
  color: var(--gray-400);
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--siteBaseColor);
  padding: 1px 1px;
  margin: 4px;
  z-index: 5;
}

.prod-image-box img { 
  max-width: 100%; 
  /* min-height: 10%; */
  min-height: calc( var(--picMaxHeight) );
  max-height: calc( var(--picMaxHeight) );
  object-fit: contain; 
  width: auto;
  height: auto;
  /* margin-top: 20px; */
}
.thumb-row {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.prod-thumb {
  width: 100px;
  height: 100px;
  /* background: var(--white); */
  border: 1.5px solid var(--gray-100);
  border-radius: 5px;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s;
}
/* Ana görsel fade efekti */
#main-img {
  transition: opacity 0.425s ease;
}

.prod-image-box {
  transition: all 0.2s ease;
  min-height: calc( var(--picMaxHeight) - 10px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.prod-thumb:hover, .prod-thumb.active { border-color: var(--gray-400); }
.prod-thumb img { max-width: 90%; max-height: 90%; object-fit: contain; }
.prod-code {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--siteBaseColor);
  margin-bottom: 6px;
}
.prod-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--black);
  line-height: 1.05;
  margin-bottom: 6px;
}
.prod-sub {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gray-400);
  padding-bottom: 5px;
  /* margin-bottom: 18px; */
  border-bottom: 1px solid var(--gray-200);
}
.prod-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray-600);
  /* margin-bottom: 20px; */
}
.feat-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 20px;
}
.feat-badge {
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: 2px;
  padding: 4px 10px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--siteBaseColor);
  letter-spacing: 0.04em;
}
/* ── DOKUMANLAR LABEL (specs-section-label ile aynı) ── */
/* ── DOKUMANLAR LABEL (specs-section-label ile aynı) ── */
.prod-docs-label {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--siteBaseColor);
  margin: 24px 0 12px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.prod-docs-label::before {
  content: '';
  width: 4px;
  height: 18px;
  background: var(--siteBaseColor);
  display: inline-block;
}

.prod-docs-label::after {
  content: '';
  flex: 1;
  height: 2px;
  background: var(--siteBaseColor);
  opacity: 0.3;
}
.doc-list { list-style: none; }
.doc-list li { margin-bottom: 7px; }
.doc-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--siteBaseColor);
}
.prod-badge {
  /* position: absolute; */
  top: 12px;
  left: 12px;
  background: var(--siteBaseColor);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.doc-list a:hover { text-decoration: underline; }
.doc-tag {
  width: 32px;
  height: 18px;
  font-size: 9px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  color: var(--white);
  flex-shrink: 0;
}
.doc-tag.pdf { background: #d93025; }
.doc-tag.dwg { background: var(--siteBaseColor); }
.doc-tag.rar { background: rgb(12, 146, 12); }
.doc-tag.xml { background: rgb(250, 112, 0); }
.doc-tag.zip { background: blue; }
.doc-tag.step { background: red; }

.cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
}
.btn-primary {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 28px;
  background: var(--siteBaseColor);
  color: var(--white);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--siteBaseColorDark); color: var(--white); }
.btn-ghost {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 11px 28px;
  background: transparent;
  color: var(--black);
  border: 1px solid var(--gray-200);
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}
.btn-ghost:hover { border-color: var(--black); background: var(--gray-100); }

/* ── FEATURE ICONS (Özellik İkonları) ───────────────── */
.feature-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}
.fi-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
  width: 70px;
  text-align: center;
}
.fi-item img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: invert(12%) sepia(90%) saturate(600%) hue-rotate(210deg);
  opacity: .85;
}
.fi-item span {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--gray-600);
  /* line-height: 1.2; */
}
.fi-fa {
  font-size: 28px;
  color: var(--siteBaseColor);
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── HIGHLIGHT - TAM GENİŞLİK ── */
.hz-highlight {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: var(--siteBaseColorSelect);
  border-left: 3px solid var(--siteBaseColor);
  border-radius: 2px;
  padding: 12px 24px;
  margin: 12px 0 16px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--siteBaseColor);
  width: 100%;
  box-sizing: border-box;
}
.hz-highlight .hz-num {
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
}
.hz-highlight span:last-child {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  padding-top: 5px;
}

.video-wrapper {
    max-width: 360px; 
    width: 100%;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: 4px;
}

.video-wrapper:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}


@media (max-width: 480px) {
  .hz-highlight {
    padding: 10px 16px;
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
  .hz-highlight .hz-num {
    font-size: 28px;
  }
}

/* ── SPECS GRID (Tablo yerine grid) ── */
.specs-grid {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  overflow: hidden;
}
.specs-row {
  display: grid;
  grid-template-columns: 35% 1fr;
  border-bottom: 1px solid var(--gray-200);
}

.specs-row:last-child {
  border-bottom: none;
}
.specs-label {
  background: var(--gray-100);
  color: var(--gray-600);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 10px 14px;
}
.specs-value {
  background: var(--white);
  color: var(--black);
  font-size: 13px;
  padding: 10px 14px;
  line-height: 1.5;
}

/* ── TABS PANELS ── */
.tab-panels {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: none;
}
.tab-panel {
  display: none;
  padding: 28px 4px;
  min-height: 550px;  /* Minimum yükseklik - en uzun içeriğe göre ayarla */
  animation: fadeIn 0.45s ease-in-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.tab-panel.active {
  display: block;
}

/* ── TABS KAYDIRMA DÜZELTMESİ ── */
/* ── TABS KAYDIRMA DÜZELTMESİ ── */
.tab-nav-wrap {
  background: var(--white);
  border-bottom: 2px solid var(--gray-200);
  position: sticky;
  top: 64px;
  z-index: 100;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.tab-nav {
  display: flex;
  gap: 0;
  min-width: max-content;
}
.tab-btn {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
  background: none;
  border: none;
  border-left: 2px solid var(--gray-200);  /* Sağ border */
  border-bottom: 3px solid transparent;
  padding: 14px 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
  flex-shrink: 0;
}
.tab-btn:first-child {
  border-left: 1px solid var(--gray-200);  /* İlk butona sol border */
}
.tab-btn:last-child {
  border-right: 1px solid var(--gray-200);  /* Son butona sağ border */
}
.tab-btn:hover { color: var(--black); }
.tab-btn.active {
  color: var(--siteBaseColor);
  border-bottom-color: var(--siteBaseColor);
}

/* Mobilde tab butonları daha kompakt */
@media (max-width: 640px) {
  .tab-btn {
    font-size: 12px;
    padding: 10px 14px;
  }
}
.tab-btn:hover { color: var(--black); }
.tab-btn.active {
  color: var(--siteBaseColor);
  border-bottom-color: var(--siteBaseColor);
}

/* Mobilde tab butonları daha kompakt */
@media (max-width: 640px) {
  .tab-btn {
    font-size: 12px;
    padding: 10px 14px;
  }
}

/* ── SPECS SECTION LABEL ── */
.specs-section-label {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--siteBaseColor);
  margin: 24px 0 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.specs-section-label::before {
  content: '';
  width: 4px;
  height: 18px;
  background: var(--siteBaseColor);
  display: inline-block;
}
.specs-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--siteBaseColor);
  opacity: 0.3;
}

/* Mobilde grid alt alta */
@media (max-width: 640px) {
  /* .specs-row {
    grid-template-columns: 1fr;
  } */
  .specs-label {
    border-bottom: 1px solid var(--gray-200);
  }
}

/* ── APP GRID PROD ── */
.app-grid-prod {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
}
.app-item-prod {
  background: var(--white);
  padding: 24px 20px;
  transition: background 0.2s;
}
.app-item-prod:hover { background: var(--gray-100); }
.app-item-prod h5 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--black);
  margin: 0 0 5px;
  border-left: 3px solid var(--siteBaseColor);
  padding-left: 10px;
}
.app-item-prod p {
  font-size: 12px;
  color: var(--gray-400);
  margin: 0;
  line-height: 1.5;
  padding-left: 13px;
}

/* ── OPT GRID ── */
.opt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 8px;
}
.opt-item {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--siteBaseColor);
  border-radius: 2px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--black);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ── DIM BOX ── */
.dim-box {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 2px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 28px;
  flex-wrap: wrap;
}
.dim-box img { max-width: 180px; }
.dim-info {
  font-size: 13px;
  color: var(--gray-400);
}
.dim-info strong {
  display: block;
  font-size: 14px;
  color: var(--black);
  margin-bottom: 3px;
  font-family: var(--font-display);
}
.dim-note {
  font-size: 12px;
  color: var(--gray-400);
  margin-top: 14px;
}

/* ── YAZILIM KARTLARI (Soft Cards) ── */
.soft-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 8px;
}
.soft-card {
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--siteBaseColor);
  border-radius: 2px;
  padding: 16px 18px;
  background: var(--gray-100);
}
.soft-card h5 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--black);
  margin: 0 0 6px;
}
.soft-card p {
  font-size: 13px;
  color: var(--gray-600);
  margin: 0 0 10px;
  line-height: 1.6;
}
.soft-card a {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--siteBaseColor);
}
.soft-card a:hover { text-decoration: underline; }

/* ── BOYUT KARTLARI (Dim Cards) ── */
.dim-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 20px;
}
.dim-card {
  /* background: var(--gray-100); */
  border: 1px solid var(--gray-200);
  border-radius: 2px;
  padding: 10px;
  text-align: center;
}
.dim-card img {
  max-width: 100%;
  max-height: 160px;
  object-fit: contain;
  margin-bottom: 12px;
}
.dim-card-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--black);
  margin-bottom: 4px;
}
.dim-card-val {
  font-size: 13px;
  color: var(--gray-600);
}
.dim-card-sub {
  font-size: 11px;
  color: var(--gray-400);
  margin-top: 2px;
}

/* ── RESPONSIVE (Ürün Sayfası) ── */
@media (max-width: 860px) {
  .fi-item {  width: 50px;   }/* şkonlar minnoş */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .prod-title { font-size: 28px; }
  .prod-image-box { 
    max-width: 500px;
    margin: 0 auto;
  }
}
@media (max-width: 640px) {
  .soft-cards {
    grid-template-columns: 1fr;
  }
  .dim-cards {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .app-grid-prod { grid-template-columns: 1fr; }
  .prod-image-box { 
    padding: 20px;
  }
  .prod-image-box img { 
    max-height: 200px;
  }
  /* .prod-thumb {
    width: 50px;
    height: 42px;
  } */
  .hz-highlight {
    font-size: 13px;
    padding: 8px 12px;
  }
  .hz-highlight .hz-num {
    font-size: 24px;
  }
}
/* Ürün sayfası section header - tamamen sıfırla */
#products.section-padding {
  padding-top: 0 !important;
}

#products .section-header {
  padding: 15px 0 10px !important;
  margin-bottom: 25px !important;
}

#products .section-header .section-eyebrow {
  margin-bottom: 5px !important;
}

#products .section-header .section-title {
  font-size: 32px !important;
  margin-bottom: 5px !important;
}

#products .section-header .section-divider {
  margin-top: 8px !important;
  width: 60px !important;
  height: 3px !important;
}

/* Tab navigator üst border'ını düzelt */
.tab-nav-wrap {
  border-top: 1px solid var(--gray-200) !important;
  border-bottom: 1px solid var(--gray-200) !important;
}

/* Tab panellerin üst border'ını kaldır (çift border olmasın) */
.tab-panels {
  border-top: none !important;
}
/* Ürün sayfası section header - index.html ile tamamen aynı */
#products .section-header {
  padding: 10px 0 0px !important;
}

#products .section-header .container {
  padding: 0px 24px !important;
}

#products .section-header .section-title {
  font-size: 40px !important;
  margin-bottom: 16px !important;
}

#products .section-header .section-divider {
  margin-top: 0 !important;
}

/* Ana sayfadaki gibi görünmesi için */
@media (max-width: 768px) {
  #products .section-header {
    padding: 10px 0 0px !important;
    margin-bottom: 30px !important;
  }

}

#products .section-header .section-divider {
  width: 100% !important;
  display: block !important;
}