/* ============================================
   SINGLE PRODUCT — TÜM STILLER
   ============================================ */

/* === BREADCRUMB === */
.urun-breadcrumb {
  background: #f5f5f5;
  padding: 12px 0;
  border-bottom: 1px solid #e8e8e8;
}
.urun-breadcrumb a {
  color: #555;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
.urun-breadcrumb a:hover { color: #d9232a; }
.urun-breadcrumb .ayrac {
  margin: 0 8px;
  color: #999;
}
.urun-breadcrumb .aktif {
  color: #333;
  font-weight: 500;
  font-size: 13px;
}

/* === HERO — Sabit geometrik arka plan === */
.urun-hero {
  position: relative;
  background-image: url('../images/hero-background.svg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 50px 0 60px 0;
  overflow: hidden;
}
/* Sol tarafın daha okunaklı olması için beyaz overlay */
.urun-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.5) 70%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}
.urun-hero-ic {
  position: relative;
  z-index: 2;
}
.urun-hero-grid {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}
.urun-hero-bilgi {
  flex: 1;
  min-width: 0;
}
.urun-hero-baslik {
  font-size: 28px;
  font-weight: 700;
  color: #111;
  margin: 0 0 20px 0;
  line-height: 1.25;
  letter-spacing: -0.3px;
}
.urun-hero-meta {
  margin-bottom: 22px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.95);
  border: 1px solid #e8e8e8;
  border-left: 3px solid #d9232a;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}
.meta-satir {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.5;
}
.meta-satir:last-child { margin-bottom: 0; }
.meta-etiket {
  width: 100px;
  color: #888;
  font-weight: 600;
  flex-shrink: 0;
}
.meta-ayrac {
  width: 12px;
  color: #ccc;
  text-align: center;
  flex-shrink: 0;
}
.meta-deger {
  color: #222;
  font-weight: 600;
  word-break: break-all;
}
.urun-hero-aciklama {
  font-size: 15px;
  color: #333;
  line-height: 1.7;
  margin-bottom: 25px;
  padding: 0;
}
.urun-hero-aciklama p { margin: 0 0 12px 0; }
.urun-hero-aciklama p:last-child { margin-bottom: 0; }

/* === VARYASYON ALANI === */
.urun-varyasyon-alani {
  margin-bottom: 20px;
}
.urun-varyasyon-basit {
  padding: 10px 0;
}
.urun-fiyat-gosterim {
  font-size: 22px;
  font-weight: 700;
  color: #d9232a;
  padding: 8px 0;
}
.urun-fiyat-placeholder {
  font-size: 16px;
  color: #d9232a;
  font-weight: 700;
  padding: 12px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  margin-bottom: 5px;
}

/* Basit ürün nitelikleri — radio benzeri etiketler */
.basit-nitelik-grup {
  margin-bottom: 15px;
}
.basit-nitelik-etiket {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.basit-nitelik-secenekler {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.basit-nitelik-opsiyon {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  color: #555;
  background: #fff;
  transition: all 0.2s ease;
}
.basit-nitelik-opsiyon:hover {
  border-color: #d9232a;
  color: #d9232a;
}

/* WooCommerce variation form — radio button UI */
.urun-varyasyon-alani .variations {
  border: none !important;
  margin: 0 0 20px 0 !important;
}
.urun-varyasyon-alani .variations tr {
  display: block;
  margin-bottom: 20px;
}
.urun-varyasyon-alani .variations td {
  display: block;
  padding: 0 !important;
  border: none !important;
}
.urun-varyasyon-alani .variations .label {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
  display: block;
}
.urun-varyasyon-alani .variations select {
  display: none !important; /* Hidden — JS radio buttons used instead */
}
/* Radio button group — injected by JS */
.variation-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.variation-radio-option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: #555;
  transition: all 0.2s ease;
  user-select: none;
}
.variation-radio-option:hover {
  border-color: #d9232a;
  color: #d9232a;
}
.variation-radio-option.selected {
  border-color: #d9232a;
  background: #d9232a;
  color: #fff;
}
.variation-radio-option .radio-dot {
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 50%;
  flex-shrink: 0;
}
.variation-radio-option.selected .radio-dot {
  background: #fff;
  border-color: #fff;
}
/* WooCommerce single_variation (fiyat/stok) gösterimi */
.urun-varyasyon-alani .single_variation_wrap {
  margin-top: 15px;
}
.urun-varyasyon-alani .woocommerce-variation-price {
  font-size: 20px;
  font-weight: 700;
  color: #d9232a;
  margin-bottom: 10px;
}
/* Cart butonunu gizle — B2B bilgi al odaklı */
.urun-varyasyon-alani .woocommerce-variation-add-to-cart,
.urun-varyasyon-alani .quantity,
.urun-varyasyon-alani .single_add_to_cart_button {
  display: none !important;
}

/* === BİLGİ AL BUTONU === */
.urun-bilgi-al-alani {
  margin-top: 20px;
}
.urun-btn-bilgi-al {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #38a853;
  color: #fff;
  padding: 14px 40px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px rgba(56,168,83,0.3);
}
.urun-btn-bilgi-al:hover {
  background: #2d8a44;
  color: #fff;
  box-shadow: 0 4px 15px rgba(56,168,83,0.4);
  transform: translateY(-1px);
}
.urun-btn-bilgi-al i { font-size: 20px; }

/* === TAB BOŞ MESAJ === */
.tab-bos-mesaj {
  text-align: center;
  padding: 40px 20px;
  color: #888;
}
.tab-bos-mesaj i {
  font-size: 48px;
  color: #ddd;
  margin-bottom: 15px;
  display: block;
}
.tab-bos-mesaj p {
  font-size: 15px;
  margin: 0 0 20px 0;
}
.tab-bos-link {
  display: inline-block;
  background: #d9232a;
  color: #fff;
  padding: 10px 25px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s ease;
}
.tab-bos-link:hover {
  background: #b51e23;
  color: #fff;
}

/* === HERO GÖRSEL — Arka plan üzerinde === */
.urun-hero-gorsel {
  flex: 0 0 48%;
  max-width: 560px;
  position: relative;
  z-index: 3;
}
.urun-gorsel-kutu {
  position: relative;
  background: rgba(255,255,255,0.9);
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  backdrop-filter: blur(4px);
}
.urun-ana-gorsel {
  max-width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: contain;
}
.urun-gorsel-buyut {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  background: #fff;
  border-radius: 50%;
  border: 2px solid #d9232a;
  color: #d9232a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.urun-gorsel-buyut:hover {
  background: #d9232a;
  color: #fff;
}
.urun-kucuk-gorseller {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  flex-wrap: wrap;
}
.urun-kucuk-gorsel {
  display: block;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.urun-kucuk-gorsel:hover {
  border-color: #d9232a;
}
.urun-kucuk-gorsel img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  display: block;
}

/* === TABS === */
.urun-tablar {
  padding: 30px 0 50px 0;
  background: #fff;
}
.urun-tab-basliklar {
  display: flex;
  background: #222;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
}
.urun-tab-btn {
  padding: 15px 25px;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  border: none;
  background: #222222;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease;
  border-right: 1px solid #333333;
  letter-spacing: 0.5px;
}
.urun-tab-btn:hover {
  background: #333333;
  color: #ffffff !important;
}
.urun-tab-btn.active {
  background: #ffffff;
  color: #111111 !important;
  border-bottom: 3px solid #d9232a;
  padding-bottom: 12px;
}
.urun-tab-icerikler {
  border: 1px solid #e8e8e8;
  border-top: none;
  background: #fff;
  min-height: 200px;
}
.urun-tab-panel { display: none; }
.urun-tab-panel.active { display: block; }
.urun-tab-icerik {
  padding: 35px;
  font-size: 14px;
  line-height: 1.8;
  color: #444;
}
.urun-tab-icerik h1,
.urun-tab-icerik h2,
.urun-tab-icerik h3 {
  color: #111;
  margin: 20px 0 10px 0;
}
.urun-tab-icerik img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 15px 0;
}

/* === GALERİ GRID (Tab içinde) === */
.urun-galeri-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
}
.urun-galeri-item {
  display: block;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.urun-galeri-item:hover {
  border-color: #d9232a;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}
.urun-galeri-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* === VIDEO EMBED === */
.urun-video-embed {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}
.urun-video-embed iframe {
  width: 100%;
  min-height: 450px;
  border: none;
  border-radius: 6px;
}

/* === Z-PATTERN İÇERİK === */
.urun-z-bolumler {
  padding: 60px 0;
  background: #f9f9f9;
}
.urun-z-section {
  display: flex;
  align-items: center;
  gap: 60px;
  margin: 60px 0;
}
.urun-z-section.is-reverse {
  flex-direction: row-reverse;
}
.urun-z-gorsel {
  flex: 1;
}
.urun-z-gorsel img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.urun-z-icerik {
  flex: 1;
}
.urun-z-icerik.tam-genislik {
  flex: 2;
}
.urun-z-baslik {
  font-size: 28px;
  font-weight: 700;
  color: #111;
  margin: 0 0 20px 0;
  line-height: 1.3;
}
.urun-z-metin {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
}
.urun-z-metin p { margin: 0 0 15px 0; }

/* === GALERİ BÖLÜMÜ === */
.urun-galeri-bolum {
  padding: 60px 0;
  background: #fff;
}
.bolum-baslik {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: #111;
  margin: 0 0 40px 0;
}
.urun-galeri-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}
.urun-galeri-kutu {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}
.urun-galeri-kutu:hover {
  box-shadow: 0 6px 25px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}
.urun-galeri-kutu img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

/* === NEDEN BİZ (3 Sütun) === */
.neden-biz {
  padding: 80px 0;
  background: #f5f5f5;
}
.neden-biz-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}
.neden-biz-sutun {
  padding: 50px 40px;
}
.neden-biz-acik {
  background: #fff;
  color: #111;
}
.neden-biz-koyu {
  background: #222;
  color: #fff;
}
.neden-biz-etiket {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #d9232a;
  margin-bottom: 30px;
}
.neden-biz-koyu .neden-biz-etiket {
  color: #ff6b6b;
}
.neden-biz-koyu h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 20px 0;
  line-height: 1.3;
}
.neden-biz-koyu p {
  font-size: 14px;
  line-height: 1.8;
  color: #ccc;
  margin: 0 0 30px 0;
}
.neden-biz-btn {
  display: inline-block;
  background: #d9232a;
  color: #fff;
  padding: 14px 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  border-radius: 4px;
  letter-spacing: 1px;
  transition: background 0.2s ease;
}
.neden-biz-btn:hover {
  background: #b51e23;
  color: #fff;
}
.hizmet-item {
  display: flex;
  gap: 18px;
  margin-bottom: 30px;
}
.hizmet-item:last-child { margin-bottom: 0; }
.hizmet-ikon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: #222;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.hizmet-item h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: #111;
}
.hizmet-item p {
  font-size: 13px;
  color: #777;
  line-height: 1.6;
  margin: 0;
}

/* === BENZER ÜRÜNLER === */
.related.products {
  padding: 30px 0 40px 0;
  background: #fff;
}
.related.products h2 {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #111;
  margin: 0 0 20px 0;
}
/* Related ürün kartları — küçük ve kompakt */
.related.products ul.products,
.related.products ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.related.products ul.products li.product,
.related.products ul li {
  flex: 0 0 180px;
  max-width: 180px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  padding: 12px;
  text-align: center;
  transition: box-shadow 0.2s ease;
  margin: 0 !important;
  width: auto !important;
  float: none !important;
}
.related.products ul.products li.product:hover,
.related.products ul li:hover {
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}
.related.products ul.products li.product img,
.related.products ul li img {
  max-height: 120px;
  width: auto;
  margin: 0 auto 10px auto;
  border-radius: 4px;
}
.related.products ul.products li.product .woocommerce-loop-product__title,
.related.products ul li h2,
.related.products ul li .product-title {
  font-size: 13px !important;
  font-weight: 600;
  color: #222;
  margin: 0 0 6px 0 !important;
  line-height: 1.3;
  padding: 0 !important;
}
.related.products ul.products li.product .price,
.related.products ul li .price {
  font-size: 13px !important;
  color: #d9232a;
  margin-bottom: 8px;
}
.related.products ul.products li.product .button,
.related.products ul li .button {
  font-size: 12px !important;
  padding: 5px 12px !important;
  margin: 0 !important;
}
.related.products ul.products li.product .star-rating,
.related.products ul li .star-rating {
  display: none !important;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .urun-hero-grid {
    flex-direction: column-reverse;
    gap: 30px;
  }
  .urun-hero-gorsel {
    flex: none;
    max-width: 100%;
  }
  .urun-hero-baslik {
    font-size: 24px;
  }
  .urun-tab-basliklar {
    flex-wrap: wrap;
  }
  .urun-tab-btn {
    flex: 1 1 50%;
    padding: 12px 15px;
    font-size: 12px;
  }
  .urun-z-section,
  .urun-z-section.is-reverse {
    flex-direction: column;
    gap: 25px;
    margin: 40px 0;
  }
  .neden-biz-grid {
    grid-template-columns: 1fr;
  }
  .neden-biz-sutun {
    padding: 35px 25px;
  }
  .urun-galeri-grid,
  .urun-galeri-masonry {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
  }
  .urun-galeri-item img,
  .urun-galeri-kutu img {
    height: 150px;
  }
}
