/* Ürün detay — tasarim/urun_detay_html_sayfasi.html (sayfa içeriği; layout header/footer hariç) */

.urun-detay .urun-detay-hero {
  padding: 26px 0 0;
  background: #fff;
}

.urun-detay .breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: #94a3b8;
  font-size: 13px;
  padding-bottom: 10px;
  margin: 0;
}

.urun-detay .breadcrumb a:hover {
  color: var(--blue);
}

.urun-detay .breadcrumb b {
  color: var(--navy);
}

.urun-detay .urun-detay-section {
  padding: 54px 0 78px;
}

.urun-detay .product-layout {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  gap: 38px;
  align-items: start;
}

.urun-detay .gallery-card {
  border: 1px solid #e7edf5;
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 10px 34px rgba(8, 26, 51, 0.06);
  padding: 20px;
  position: sticky;
  top: 106px;
}

.urun-detay .main-image {
  height: 430px;
  border-radius: 28px;
  background: linear-gradient(135deg, #f8fbff, #eef5ff);
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #edf2f7;
  cursor: zoom-in;
}

.urun-detay .main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.urun-detay .image-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5, 12, 24, 0.94);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: 0.25s;
  padding: 40px;
}

.urun-detay .image-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.urun-detay .lightbox-inner {
  position: relative;
  width: min(1100px, 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.urun-detay .lightbox-image {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.urun-detay .lightbox-close,
.urun-detay .lightbox-prev,
.urun-detay .lightbox-next {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  font-size: 24px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: 0.2s;
}

.urun-detay .lightbox-close:hover,
.urun-detay .lightbox-prev:hover,
.urun-detay .lightbox-next:hover {
  background: rgba(255, 255, 255, 0.2);
}

.urun-detay .lightbox-close {
  top: -70px;
  right: 0;
}

.urun-detay .lightbox-prev {
  left: -80px;
}

.urun-detay .lightbox-next {
  right: -80px;
}

.urun-detay .thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.urun-detay .thumb {
  height: 88px;
  border-radius: 18px;
  border: 1px solid #e7edf5;
  background: #f8fafc;
  overflow: hidden;
  cursor: pointer;
  transition: 0.2s;
}

.urun-detay .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.urun-detay .thumb.active,
.urun-detay .thumb:hover {
  border-color: #bcd2ff;
  box-shadow: 0 0 0 4px rgba(17, 103, 255, 0.08);
}

.urun-detay .product-info {
  display: grid;
  gap: 20px;
}

.urun-detay .product-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}

.urun-detay .badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.urun-detay .badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
}

.urun-detay .badge.blue {
  background: #eef5ff;
  color: var(--blue);
}

.urun-detay .badge.green {
  background: #eafff5;
  color: #059669;
}

.urun-detay .badge.gray {
  background: #f8fafc;
  color: #64748b;
  border: 1px solid #edf2f7;
}

.urun-detay .product-head h1 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -1.7px;
  line-height: 1.08;
}

.urun-detay .product-code {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #64748b;
  font-size: 14px;
}

.urun-detay .product-code span {
  display: inline-flex;
  gap: 6px;
}

.urun-detay .product-code b {
  color: #26364f;
}

.urun-detay .product-code a.meta-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.urun-detay .product-code a.meta-link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.urun-detay .product-code a.meta-link b {
  color: #26364f;
}

.urun-detay .summary {
  color: #64748b;
  line-height: 1.75;
  margin: 0;
  font-size: 15.5px;
}

.urun-detay .action-panel {
  border: 1px solid #dbeafe;
  background: linear-gradient(135deg, #f8fbff, #fff);
  border-radius: 28px;
  padding: 22px;
  box-shadow: 0 12px 34px rgba(17, 103, 255, 0.08);
  margin-top: 4px;
}

.urun-detay .product-info .summary {
  margin-top: 20px;
}

.urun-detay .action-panel h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 22px;
  letter-spacing: -0.6px;
}

.urun-detay .action-panel p {
  margin: 0 0 18px;
  color: #64748b;
  line-height: 1.65;
  font-size: 14px;
}

.urun-detay .action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.urun-detay .action-buttons .btn-action {
  gap: 10px;
  padding: 12px 20px;
  flex-shrink: 0;
}

.urun-detay .action-buttons .btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.urun-detay .btn-soft {
  background: #f1f6ff;
  color: var(--blue);
  border: 1px solid #dbeafe;
  box-shadow: 0 4px 14px rgba(17, 103, 255, 0.06);
}

.urun-detay .btn-soft:hover {
  background: #e8f1ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(17, 103, 255, 0.12);
}

.urun-detay .btn-whatsapp {
  background: #25d366;
  color: #fff;
  border: 0;
  box-shadow: 0 14px 28px rgba(37, 211, 102, 0.28);
}

.urun-detay .btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(37, 211, 102, 0.36);
}

.urun-detay .urun-detay-related {
  padding: 76px 0;
}

.urun-detay .section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.urun-detay .section-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: 36px;
  letter-spacing: -1.2px;
}

.urun-detay .section-head p {
  margin: 0;
  color: #64748b;
  line-height: 1.7;
  max-width: 520px;
}

.urun-detay .related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.urun-detay .related-card {
  border: 1px solid #e7edf5;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(8, 26, 51, 0.05);
  overflow: hidden;
  transition: 0.22s;
}

.urun-detay .related-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px rgba(8, 26, 51, 0.1);
}

.urun-detay .related-img {
  height: 150px;
  background: #f8fbff;
  overflow: hidden;
}

.urun-detay .related-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.urun-detay .related-body {
  padding: 18px;
}

.urun-detay .related-body small {
  color: var(--blue);
  font-weight: 800;
}

.urun-detay .related-body h3 {
  margin: 8px 0 14px;
  color: var(--navy);
  font-size: 17px;
}

.urun-detay .related-body a {
  display: inline-flex;
  height: 36px;
  align-items: center;
  padding: 0 13px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e8eef6;
  color: #4b5b74;
  font-size: 12px;
  font-weight: 800;
}

.urun-detay .related-body a:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

@media (max-width: 1080px) {
  .urun-detay .product-layout {
    grid-template-columns: 1fr;
  }

  .urun-detay .gallery-card {
    position: relative;
    top: auto;
  }

  .urun-detay .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .urun-detay .lightbox-prev,
  .urun-detay .lightbox-next {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    top: auto;
    bottom: -70px;
  }

  .urun-detay .lightbox-prev {
    left: calc(50% - 58px);
  }

  .urun-detay .lightbox-next {
    right: calc(50% - 58px);
  }

  .urun-detay .lightbox-close {
    top: -58px;
    right: 0;
    width: 44px;
    height: 44px;
  }

  .urun-detay .urun-detay-section {
    padding: 42px 0 58px;
  }

  .urun-detay .main-image {
    height: 300px;
  }

  .urun-detay .thumbs {
    grid-template-columns: repeat(4, 1fr);
  }

  .urun-detay .thumb {
    height: 68px;
  }

  .urun-detay .product-head h1 {
    font-size: 30px;
  }

  .urun-detay .action-buttons {
    grid-template-columns: 1fr;
    display: grid;
  }

  .urun-detay .action-buttons .btn {
    width: 100%;
  }

  .urun-detay .urun-detay-related {
    padding: 56px 0;
  }

  .urun-detay .section-head {
    display: block;
  }

  .urun-detay .section-head h2 {
    font-size: 28px;
  }

  .urun-detay .section-head p {
    margin-top: 10px;
  }

  .urun-detay .related-grid {
    grid-template-columns: 1fr;
  }
}
