/* Product Information Tabs Module
   Standalone, reusable panel for description, specs, tags, reviews and FAQ.
   Every sub-section (Açıklama / Özellikler / Etiketler / Yorumlar / SSS)
   follows the same visual language: eyebrow + heading, bordered cards,
   circular icon badges and consistent hover lift. */

.tabs-panel {
  margin-top: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 26px 60px -48px rgba(20, 24, 21, .45);
  overflow: hidden;
}

/* —— Tab bar —— */
.tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  padding: 10px;
  overflow-x: auto;
  background: var(--gray-50);
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius);
  margin: 0;
  background: transparent;
  color: var(--gray-500);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease;
}

.tab svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .75;
}

.tab:hover {
  color: var(--anthracite);
  background: var(--white);
}

.tab.active {
  color: #fff;
  background: var(--anthracite);
}

.tab.active svg {
  opacity: 1;
}

.tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  font-size: 9.5px;
}

.tab:not(.active) .tab-count {
  background: var(--gray-100);
  color: var(--gray-500);
}

/* —— Panel body —— */
.tab-content {
  display: none;
  padding: clamp(24px, 3vw, 36px);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.tab-content.active {
  display: block;
  animation: tabFadeIn .35s ease;
}

@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.tab-content__head {
  margin-bottom: 20px;
}

.tab-content__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  color: var(--cta);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.tab-content__eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--cta);
}

.tab-content h3 {
  margin: 0;
  color: var(--anthracite);
  font-size: clamp(21px, 2.4vw, 27px);
  font-weight: 650;
  letter-spacing: -.02em;
}

.tab-content p {
  margin: 0 0 12px;
}

/* —— Açıklama: lead —— */
.desc-lead {
  max-width: 720px;
  margin-bottom: 22px;
  color: var(--gray-700);
  font-size: 15px;
  line-height: 1.8;
}

/* —— Açıklama: feature cards —— */
.desc-grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 14px;
  margin-bottom: 14px;
}

.desc-card {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--gray-50);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.desc-card:hover {
  transform: translateY(-2px);
  border-color: var(--gray-300);
  box-shadow: 0 24px 46px -34px rgba(20, 24, 21, .4);
}

.desc-card.dark {
  background: #1c211e;
  border-color: #1c211e;
  color: #d8d8d8;
}

.desc-card.dark:hover {
  border-color: #2c332e;
}

.desc-card__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--cta-tint);
  color: var(--cta);
}

.desc-card.dark .desc-card__icon {
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.desc-card__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.desc-card h4 {
  margin: 0 0 10px;
  color: var(--anthracite);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.desc-card.dark h4 {
  color: #fff;
}

.desc-card p {
  margin: 0;
  color: var(--gray-700);
  font-size: 13.5px;
  line-height: 1.7;
}

.desc-card.dark p {
  color: #cfcfcf;
}

/* —— Açıklama: quick point chips —— */
.desc-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 4px;
}

.desc-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 100px;
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.desc-point:hover {
  transform: translateY(-2px);
  border-color: var(--gray-300);
  box-shadow: 0 20px 40px -32px rgba(20, 24, 21, .4);
}

.desc-point__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--cta-tint);
  color: var(--cta);
  transition: transform .3s cubic-bezier(.22,1,.36,1), background .3s ease;
}

.desc-point:hover .desc-point__icon {
  transform: scale(1.08);
  background: var(--cta);
  color: #fff;
}

.desc-point__icon svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.desc-point b {
  display: block;
  margin-bottom: 5px;
  color: var(--anthracite);
  font-size: 13px;
  font-weight: 700;
}

.desc-point span {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
}

/* —— Açıklama: info banner —— */
.desc-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cta-tint);
  color: var(--gray-700);
  font-size: 13px;
  line-height: 1.6;
}

.desc-note svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  fill: none;
  stroke: var(--cta);
  stroke-width: 1.9;
}

.desc-note p {
  margin: 0;
}

/* —— Özellikler: spec grid —— */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-width: 780px;
}

.spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--gray-50);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.spec-row:hover {
  transform: translateY(-1px);
  border-color: var(--gray-300);
  background: var(--white);
}

.spec-row__label {
  color: var(--gray-500);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.spec-row__value {
  color: var(--anthracite);
  font-size: 13px;
  font-weight: 650;
  text-align: right;
}

/* —— Etiketler: tag chips —— */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--gray-50);
  color: var(--gray-700);
  font-size: 12.5px;
  font-weight: 600;
  transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}

.tag-chip:hover {
  transform: translateY(-1px);
  border-color: var(--cta);
  background: var(--cta-tint);
  color: var(--cta);
}

/* —— Yorumlar: empty state —— */
.reviews-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 440px;
  padding: 34px;
  border: 1px dashed var(--gray-300);
  border-radius: var(--radius);
  background: var(--gray-50);
}

.reviews-empty__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--cta-tint);
  color: var(--cta);
}

.reviews-empty__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reviews-empty h4 {
  margin: 0 0 8px;
  color: var(--anthracite);
  font-size: 16px;
  font-weight: 650;
}

.reviews-empty p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

/* —— SSS: accordion —— */
.faq-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 860px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.faq-item:hover {
  border-color: var(--gray-300);
  box-shadow: 0 20px 40px -34px rgba(20, 24, 21, .4);
}

.faq-item[open] {
  border-color: var(--gray-300);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  cursor: pointer;
  color: var(--anthracite);
  font-size: 13.5px;
  font-weight: 650;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--line);
  background: var(--gray-50);
}

.faq-item__icon {
  display: grid;
  place-items: center;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-500);
  transition: transform .3s cubic-bezier(.22,1,.36,1), background .3s ease, color .3s ease;
}

.faq-item[open] .faq-item__icon {
  background: var(--cta);
  color: #fff;
  transform: rotate(180deg);
}

.faq-item__icon svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.faq-item p {
  margin: 0;
  padding: 16px 18px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

/* —— Responsive —— */
@media (max-width: 900px) {
  .desc-grid {
    grid-template-columns: 1fr;
  }

  .spec-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .desc-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .tab-content {
    padding: 22px 18px;
  }

  /* Mobil: 5 sekme eşit kolon, taşma yok, ikon üstte — simetrik bar. */
  .tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 3px;
    padding: 8px;
    overflow: visible;
  }

  .tab {
    flex: none;
    width: 100%;
    min-width: 0;
    min-height: 56px;
    padding: 8px 2px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    font-size: 9px;
    letter-spacing: .04em;
    white-space: normal;
    text-align: center;
    line-height: 1.15;
  }

  .tab svg {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
  }

  .tab-count {
    min-width: 14px;
    height: 14px;
    padding: 0 3px;
    font-size: 8.5px;
  }

  .desc-point {
    min-height: 0;
  }

  .reviews-empty {
    max-width: none;
    padding: 26px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tab-content.active,
  .desc-card,
  .desc-point,
  .desc-point__icon,
  .faq-item__icon {
    animation: none !important;
    transition: none !important;
  }
}
