/*
 * Stacked like the source section; gutters match UrunDetayi (16px / 32px) so
 * the reviews line up with the product above. Stars use Trendyol orange:
 * filled = --sz-rating, empty = line colour (--ty-star / --ty-star-empty,
 * read by the Trendyol* sub-components). position: relative keeps absolute
 * descendants inside the section (B12).
 */
.cc_24r44pfa_6QU28H4FqV .ty {
  --ty-star: var(--sz-rating);
  --ty-star-empty: var(--sz-line);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 48px 16px;
  border-top: 1px solid var(--sz-line);
  background: var(--ty-bg, var(--sz-bg));
  color: var(--sz-text);
}

.cc_24r44pfa_6QU28H4FqV .ty .ty__title {
  display: block;
  margin: 0;
  color: inherit;
  font-size: 18px;
}

.cc_24r44pfa_6QU28H4FqV .ty__overview {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cc_24r44pfa_6QU28H4FqV .ty__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--sz-line);
}

.cc_24r44pfa_6QU28H4FqV .ty .ty__more {
  align-self: center;
}

@media (min-width: 768px) {
  .cc_24r44pfa_6QU28H4FqV .ty {
    gap: 32px;
    padding: 64px 32px;
  }

  .cc_24r44pfa_6QU28H4FqV .ty .ty__title {
    font-size: 22px;
  }

  .cc_24r44pfa_6QU28H4FqV .ty__overview {
    flex-direction: row;
    align-items: center;
    gap: 48px;
  }
}

.cc_24r44pfa_6QU28H4FqV .trendyol-summary {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cc_24r44pfa_6QU28H4FqV .trendyol-summary__average {
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
}

.cc_24r44pfa_6QU28H4FqV .trendyol-summary__details {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cc_24r44pfa_6QU28H4FqV .trendyol-summary__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  color: var(--sz-text-muted);
  font-size: 13px;
}

.cc_24r44pfa_6QU28H4FqV .trendyol-distribution {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  max-width: 352px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
}

.cc_24r44pfa_6QU28H4FqV .trendyol-distribution__row {
  display: grid;
  grid-template-columns: 32px 1fr 44px;
  align-items: center;
  gap: 8px;
}

.cc_24r44pfa_6QU28H4FqV .trendyol-distribution__bar {
  height: 4px;
  overflow: hidden;
  background: var(--sz-surface);
}

.cc_24r44pfa_6QU28H4FqV .trendyol-distribution__fill {
  display: block;
  height: 100%;
  background: var(--ty-star, var(--sz-text));
}

.cc_24r44pfa_6QU28H4FqV .trendyol-distribution__pct {
  color: var(--sz-text-muted);
  text-align: right;
}

.cc_24r44pfa_6QU28H4FqV .trendyol-photos {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cc_24r44pfa_6QU28H4FqV .trendyol-photos .trendyol-photos__title {
  display: block;
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Scroll container: relative so absolute descendants stay inside (B12). */
.cc_24r44pfa_6QU28H4FqV .trendyol-photos__strip {
  position: relative;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x proximity;
}

.cc_24r44pfa_6QU28H4FqV .trendyol-photos__thumb {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--sz-surface);
  cursor: zoom-in;
  scroll-snap-align: start;
}

.cc_24r44pfa_6QU28H4FqV .trendyol-photos__thumb:focus-visible {
  outline: 1px solid var(--sz-text);
  outline-offset: 2px;
}

.cc_24r44pfa_6QU28H4FqV .trendyol-photos__thumb img {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .cc_24r44pfa_6QU28H4FqV .trendyol-photos__thumb img {
    width: 120px;
    height: 120px;
  }
}

.cc_24r44pfa_6QU28H4FqV .trendyol-review {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 0;
  border-bottom: 1px solid var(--sz-line);
}

.cc_24r44pfa_6QU28H4FqV .trendyol-review__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  font-size: 13px;
}

.cc_24r44pfa_6QU28H4FqV .trendyol-review__author {
  font-weight: 600;
}

.cc_24r44pfa_6QU28H4FqV .trendyol-review__date {
  color: var(--sz-text-muted);
}

.cc_24r44pfa_6QU28H4FqV .trendyol-review__comment {
  max-width: 72ch;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-line;
}

.cc_24r44pfa_6QU28H4FqV .trendyol-review__size {
  margin: 0;
  color: var(--sz-text-muted);
  font-size: 13px;
}

.cc_24r44pfa_6QU28H4FqV .trendyol-review__photos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cc_24r44pfa_6QU28H4FqV .trendyol-review__photo {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--sz-surface);
  cursor: zoom-in;
}

.cc_24r44pfa_6QU28H4FqV .trendyol-review__photo:focus-visible {
  outline: 1px solid var(--sz-text);
  outline-offset: 2px;
}

.cc_24r44pfa_6QU28H4FqV .trendyol-review__photo img {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: cover;
}

/* Rendered in place, position: fixed (B3: no transform on ancestors). */
.cc_24r44pfa_6QU28H4FqV .trendyol-lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--sz-z-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 16px;
  background: color-mix(in srgb, var(--sz-text) 88%, transparent);
  animation: cc_24r44pfa_sz-fade-in var(--sz-duration) var(--sz-ease);
}

.cc_24r44pfa_6QU28H4FqV .trendyol-lightbox__image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cc_24r44pfa_6QU28H4FqV .trendyol-lightbox__close, .cc_24r44pfa_6QU28H4FqV .trendyol-lightbox__nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--sz-text);
  border-radius: 0;
  background: var(--sz-bg);
  color: var(--sz-text);
  cursor: pointer;
  transition:
    background-color var(--sz-duration) var(--sz-ease),
    color var(--sz-duration) var(--sz-ease);
}

.cc_24r44pfa_6QU28H4FqV .trendyol-lightbox__close:hover, .cc_24r44pfa_6QU28H4FqV .trendyol-lightbox__nav:hover {
  background: var(--sz-text);
  color: var(--sz-bg);
}

.cc_24r44pfa_6QU28H4FqV .trendyol-lightbox__close:focus-visible, .cc_24r44pfa_6QU28H4FqV .trendyol-lightbox__nav:focus-visible {
  outline: 1px solid var(--sz-bg);
  outline-offset: 2px;
}

.cc_24r44pfa_6QU28H4FqV .trendyol-lightbox__close .sz-icon, .cc_24r44pfa_6QU28H4FqV .trendyol-lightbox__nav .sz-icon {
  width: 20px;
  height: 20px;
}

.cc_24r44pfa_6QU28H4FqV .trendyol-lightbox__close {
  top: 16px;
  right: 16px;
}

.cc_24r44pfa_6QU28H4FqV .trendyol-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
}

.cc_24r44pfa_6QU28H4FqV .trendyol-lightbox__nav--prev {
  left: 16px;
}

.cc_24r44pfa_6QU28H4FqV .trendyol-lightbox__nav--next {
  right: 16px;
}

@media (prefers-reduced-motion: reduce) {
  .cc_24r44pfa_6QU28H4FqV .trendyol-lightbox {
    animation: none;
  }

  .cc_24r44pfa_6QU28H4FqV .trendyol-lightbox__close, .cc_24r44pfa_6QU28H4FqV .trendyol-lightbox__nav {
    transition: none;
  }
}
