.product-detail-wrapper {
  display: grid;
  grid-template-columns: 500px 1fr;
  gap: 24px;
  align-items: start;
}

.product-detail__gallery {
  width: 100%;
}

.product-gallery__main-wrapper {
  margin-bottom: 20px;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  width: 100%;
}

.product-gallery__main-image {
  width: 100%;
  height: 400px;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.product-gallery__zoom-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}

.product-gallery__zoom-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-gallery__placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: var(--color-gray-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-gallery__placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Thumbnail Slider */
.product-gallery__thumbnails-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.product-gallery__thumbnails {
  flex: 1;
  overflow: hidden;
  position: relative;
  min-width: 0;
  max-width: 100%;
}

.product-gallery__thumbnails-track {
  display: flex;
  gap: 12px;
  transition: transform 0.3s ease;
  will-change: transform;
}

.product-gallery__thumb {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-gray-light);
  cursor: pointer;
  padding: 4px;
  transition: border-color 0.3s ease;
}

.product-gallery__thumb:hover {
  border-color: var(--color-green);
}

.product-gallery__thumb.active {
  border-color: var(--color-green);
}

.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-gallery__thumb-nav {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  transition: opacity 0.3s ease;
}

.product-gallery__thumb-nav:hover {
  opacity: 0.7;
}

.product-gallery__thumb-nav.is-disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.product-gallery__thumb-nav img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.slide-arrow--left {
  transform: rotate(180deg);
}

.slide-arrow--right {
  transform: rotate(0deg);
}

/* Ana İçerik */
.product-detail__content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 24px;
  margin-bottom: 30px;
}

/* Ürün Bilgileri */
.product-detail__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.product-detail__title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-gray-dark);
  margin: 0;
  line-height: 1.3;
}

.product-detail__subtitle {
  font-size: 48px;
  font-weight: bold;
  color: var(--color-green);
}

.product-detail__short-desc,
.product-detail__description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-gray-dark);
}

.product-detail__short-desc p,
.product-detail__description p {
  margin: 0 0 16px 0;
}

.product-detail__short-desc p:last-child,
.product-detail__description p:last-child {
  margin-bottom: 0;
}

/* Tabs */
.product-detail__tabs {
  margin-top: 24px;
}

.product-tabs {
  display: flex;
  justify-content: space-between;
  gap: 0;
  border-bottom: 2px solid var(--color-medium-gray);
  margin-bottom: 0;
  position: relative;
}

.product-tabs::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--color-green);
  transition: all 0.3s ease;
  width: 0;
}

.product-tab {
  padding: 12px 24px;
  font-size: 20px;
  font-weight: 300;
  color: var(--color-gray-dark);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  width: 100%;
}

.product-tab:hover {
  color: var(--color-green);
}

.product-tab.active {
  color: var(--color-green);
  border-bottom-color: var(--color-green);
  font-weight: bold;
}

.product-tabs-content {
  padding-top: 24px;
}

.product-tab-panel {
  display: none;
}

.product-tab-panel.active {
  display: block;
}

.product-tab-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.product-tab-content p {
  margin: 0 0 12px 0;
  font-size: 20px;
  color: var(--color-gray-dark);
}

.product-tab-content p:last-child {
  margin-bottom: 0;
}

/* Sosyal Medya */
.product-detail__social {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--color-medium-gray);
}

.product-social-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-gray-dark);
}

.product-social-icons {
  display: flex;
  gap: 12px;
}

.product-social-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-gray-light);
  transition: all 0.3s ease;
  text-decoration: none;
}

.product-social-icon:hover {
  background: var(--color-green);
  transform: translateY(-2px);
}

.product-social-icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* İçerik Bölümleri */
.product-system-content,
.product-features-content,
.product-stats-content,
.product-why-choose-content,
.product-faq-content {
  margin-top: 40px;
}

.product-section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-green);
  margin: 0 0 24px 0;
  line-height: 1.3;
}

/* Sistem Açıklaması */
.product-system-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-gray-dark);
}

.product-system-text p {
  margin: 0 0 16px 0;
}

.product-system-text p:last-child {
  margin-bottom: 0;
}

/* Özellikler */
.product-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-feature-item {
  padding-left: 24px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-gray-dark);
  position: relative;
}

.product-feature-item::before {
  content: "•";
  color: var(--color-green);
  font-weight: bold;
  position: absolute;
  left: 0;
  font-size: 20px;
}

/* İstatistikler */
.product-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.product-stat-card {
  padding: 20px;
  background: var(--color-gray-light);
  border-radius: 12px;
  border: 1px solid var(--color-medium-gray);
}

.product-stat-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-green);
  margin: 0 0 8px 0;
}

.product-stat-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-gray-dark);
  margin: 0;
}

/* Neden Tercih Etmelisiniz */
.product-why-choose-content {
  margin-top: 40px;
}

.product-why-choose-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
}

.product-why-choose-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-why-choose-title-box {
  padding: 28px 20px;
  border: 2px dashed var(--color-green);
  border-radius: 48px;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-green);
  background: transparent;
  width: 100%;
  box-sizing: border-box;
}

.product-why-choose-desc {
  margin: 0;
  padding-left: 24px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-gray-dark);
  position: relative;
}

.product-why-choose-desc::before {
  content: "•";
  color: var(--color-green);
  font-weight: bold;
  position: absolute;
  left: 0;
  font-size: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
  .product-detail-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-detail__sidebar {
    position: static;
  }

  .product-detail__gallery {
    max-width: 100%;
  }

  .product-gallery__thumbnails {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    max-width: calc(3 * 100px + 2 * 12px);
  }

  .product-gallery__thumbnails::-webkit-scrollbar {
    display: none;
  }

  .product-gallery__thumbnails-track {
    width: max-content;
    display: flex;
    gap: 12px;
  }

  .product-gallery__thumb {
    width: 100px;
    flex-shrink: 0;
  }

  .product-gallery__thumb-nav {
    flex-shrink: 0;
  }
}

@media (max-width: 768px) {
  .product-detail-section {
    padding: 0;
  }

  .product-detail-wrapper {
    gap: 32px;
  }

  .product-detail__title {
    font-size: 24px;
  }

  .product-detail__subtitle {
    font-size: 16px;
  }

  .product-gallery__thumbnails {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    max-width: calc(3 * 70px + 2 * 12px);
  }

  .product-gallery__thumbnails::-webkit-scrollbar {
    display: none;
  }

  .product-gallery__thumbnails-track {
    width: max-content;
    display: flex;
    gap: 12px;
  }

  .product-gallery__thumb {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
  }

  .product-gallery__thumb-nav {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }

  .product-gallery__zoom-icon {
    width: 32px;
    height: 32px;
    top: 12px;
    right: 12px;
  }

  .product-tab {
    padding: 10px 16px;
    font-size: 14px;
  }

  .product-section-title {
    font-size: 24px;
  }

  .product-why-choose-title-box {
    font-size: 16px;
    padding: 10px 16px;
  }

  .product-stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Sidebar Bilgi Kartları */
.product-sidebar-info {
  margin-top: 40px;
  padding: 20px 24px;
  background-color: #fff;
  border-radius: 12px;
}

.product-sidebar-info__title {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-green);
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.product-sidebar-info__desc {
  font-size: 20px;
  color: var(--color-gray-dark);
  margin: 0 0 24px 0;
}

.product-sidebar-info__cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-sidebar-info__card {
  background: #ffffff;
  border-radius: 20px 19px;
  padding: 20px;
  border: 1px solid var(--color-medium-gray);
  transition: all 0.3s ease;
}

.product-sidebar-info__card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-sidebar-info__card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-gray-dark);
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.product-sidebar-info__card-desc {
  font-size: 16px;
  color: var(--color-gray-dark);
  margin: 0;
  font-weight: 300;
}

/* FAQ Bölümü - Ürün Detay Sayfası */
.product-faq-content .accordion-content__inner p {
  position: relative;
  padding-left: 20px;
  margin: 0 0 12px 0;
}

.product-faq-content .accordion-content__inner p::before {
  content: "•";
  color: #000000;
  font-weight: bold;
  position: absolute;
  left: 0;
  font-size: 18px;
}

.product-faq-content .accordion-content__inner p:last-child {
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .product-sidebar-info__title {
    font-size: 20px;
  }

  .product-sidebar-info__card {
    padding: 16px;
  }

  .product-sidebar-info__card-title {
    font-size: 16px;
  }

  .product-sidebar-info__card-desc {
    font-size: 14px;
  }
}

/* Product Gallery Modal (Lightbox) */
.product-gallery-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.product-gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.product-gallery-lightbox__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
  will-change: opacity;
}

.product-gallery-lightbox.is-open .product-gallery-lightbox__overlay {
  opacity: 1;
}

.product-gallery-lightbox__container {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  justify-content: flex-start;
  z-index: 1;
  border-radius: 12px;
  transform: scale(0.9) translateY(20px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  overflow: hidden;
  will-change: transform, opacity;
  padding-top: 90px;
}

.product-gallery-lightbox.is-open .product-gallery-lightbox__container {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.product-gallery-lightbox__header {
  position: absolute;
  top: -6px;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0 24px;
  pointer-events: auto;
  width: 100%;
  max-width: 800px;
}

.product-gallery-lightbox__close {
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
  padding: 0;
  margin-bottom: 0;
}

.product-gallery-lightbox__close:hover {
  opacity: 0.8;
}

.product-gallery-lightbox__close img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-gallery-lightbox__title {
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  text-align: left;
  line-height: 1.4;
  max-width: 320px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  pointer-events: auto;
  align-self: flex-start;
}

.product-gallery-lightbox__main {
  width: 100%;
  max-width: 800px;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  border-radius: 24px;
}

.product-gallery-lightbox__main-image {
  width: 100%;
  height: 100%;
  max-width: 800px;
  max-height: 600px;
  object-fit: cover;
  border-radius: 0;
  display: block;
  opacity: 1;
  transition: none;
  will-change: auto;
  border-radius: 24px;
}

.product-gallery-lightbox__main-image.fade-out {
  opacity: 1;
}

.product-gallery-lightbox__main-image.fade-in {
  opacity: 1;
}

.product-gallery-lightbox__thumbnails-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 800px;
  padding: 20px;
  flex-shrink: 0;
  margin: 0;
  background-color: #fff;
  border-radius: 24px;
}

.product-gallery-lightbox__thumbnails {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.product-gallery-lightbox__thumbnails-track {
  display: flex;
  gap: 20px;
  transition: transform 0.3s ease;
  will-change: transform;
}

.product-gallery-lightbox__thumb {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border: none;
  border-radius: 8px;
  overflow: visible;
  background: transparent;
  cursor: pointer;
  padding: 0;
  display: block;
}

.product-gallery-lightbox__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 2px solid var(--color-medium-gray);
  border-radius: 8px;
  --webkit-transition: border-color 0.3s ease;
  -moz-transition: border-color 0.3s ease;
  -ms-transition: border-color 0.3s ease;
  -o-transition: border-color 0.3s ease;
  transition: border-color 0.3s ease;
  padding: 4px;
}

.product-gallery-lightbox__thumb:hover img {
  border-color: var(--color-green);
}

.product-gallery-lightbox__thumb.active img {
  border-color: var(--color-green);
  border-width: 2px;
}

.product-gallery-lightbox__thumb-nav {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  transition: opacity 0.3s ease;
}

.product-gallery-lightbox__thumb-nav:hover {
  opacity: 0.7;
}

.product-gallery-lightbox__thumb-nav.is-disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.product-gallery-lightbox__thumb-nav img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Modal Responsive */
@media (max-width: 1024px) {
  .product-gallery-lightbox__container {
    max-width: 90%;
    padding: 88px 0 20px 0;
  }

  .product-gallery-lightbox__main {
    max-height: 500px;
  }

  .product-gallery-lightbox__main-image {
    max-width: 100%;
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  .product-gallery-lightbox__container {
    max-width: 95%;
    padding: 72px 0 15px 0;
    border-radius: 8px;
  }

  .product-gallery-lightbox__header {
    padding: 0 16px;
  }

  .product-gallery-lightbox__close {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
  }

  .product-gallery-lightbox__title {
    font-size: 16px;
    max-width: 220px;
  }

  .product-gallery-lightbox__main {
    max-height: 400px;
  }

  .product-gallery-lightbox__header {
    top: -3px;
  }

  .product-gallery-lightbox__main-image {
    max-width: 100%;
    max-height: 400px;
  }

  .product-gallery-lightbox__thumb {
    width: 60px;
    height: 60px;
  }

  .product-gallery-lightbox__thumb-nav {
    width: 32px;
    height: 32px;
  }
}
