html { scroll-behavior: smooth; }

/* —— Product gallery (birebir adore-dream.html) —— */

.ya-pd-gallery {
  position: relative;
}

@media (min-width: 1024px) {
  .ya-pd-gallery {
    position: sticky;
    top: 7rem;
    align-self: start;
    z-index: 1;
  }
}

.ya-pd-gallery__layout {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

/* ── Thumb track ── */
.ya-pd-gallery__thumbs-track {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  width: 112px;
}
@media (min-width: 640px) {
  .ya-pd-gallery__thumbs-track {
    display: flex;
  }
}

/* ── Viewport: clipping penceresi, max 4 thumbnail ── */
.ya-pd-gallery__thumbs-viewport {
  /* 4 thumb × 108px + 3 gap × 8px = 456px; + 4px top padding = 460px */
  max-height: 460px;
  overflow: hidden;
  width: 112px;
  position: relative;
}

/* ── Inner list: transform ile kaydırılır ── */
.ya-pd-gallery__thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 4px 4px 0;
  width: 112px;
  will-change: transform;
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}

/* ── Nav: iki ok altta yan yana ── */
.ya-pd-gallery__thumbs-nav {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
}

/* ── Ok butonları ── */
.ya-pd-gallery__thumbs-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 34px;
  border: 1px solid #d6d1c9;
  border-radius: 6px;
  background: #fff;
  color: #5a5248;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
  outline: none;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.ya-pd-gallery__thumbs-arrow:hover {
  background: #f6f3ef;
  border-color: #a9a099;
  color: #2a2520;
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
}
.ya-pd-gallery__thumbs-arrow:focus-visible {
  outline: 2px solid #7c6f5b;
  outline-offset: 2px;
}
.ya-pd-gallery__thumbs-arrow[aria-disabled="true"] {
  opacity: 0.28;
  pointer-events: none;
  box-shadow: none;
}

.ya-pd-gallery__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 108px;
  height: 108px;
  margin: 0;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  line-height: 0;
  outline: none;
  transition: border-color 0.2s ease;
}

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

.ya-pd-gallery__thumb:hover {
  border-color: #E5E2DC;
}

.ya-pd-gallery__thumb.is-active {
  border-color: #C0392B;
}

.ya-pd-gallery__stage {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 340px;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  cursor: zoom-in;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #E5E2DC;
}

@media (min-width: 640px) {
  .ya-pd-gallery__stage {
    min-height: 400px;
  }
}

@media (min-width: 1024px) {
  .ya-pd-gallery__stage {
    min-height: 480px;
  }
}

#gallery-main {
  display: block;
  width: auto;
  max-width: min(100%, 472px);
  max-height: 320px;
  height: auto;
  margin: 0 auto;
  object-fit: cover;
  transition: opacity 0.28s ease, transform 0.22s ease-out;
  will-change: transform;
}

@media (min-width: 640px) {
  #gallery-main {
    max-height: 480px;
  }
}

@media (min-width: 1024px) {
  #gallery-main {
    max-height: 542px;
  }
}

#gallery-main.is-fading {
  opacity: 0;
  transform: scale(0.98) !important;
}

#gallery-stage.is-loading #gallery-main {
  opacity: 0.6;
}

.ya-pd-gallery__lens {
  pointer-events: none;
  position: absolute;
  z-index: 5;
  width: 120px;
  height: 120px;
  margin: -60px 0 0 -60px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  opacity: 0;
  transition: opacity 0.15s ease;
}

#gallery-stage.is-hover-zoom .ya-pd-gallery__lens {
  opacity: 1;
}

.ya-pd-gallery__zoom {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #4B5563;
  cursor: pointer;
  box-shadow: 0 2px 4px -2px rgba(0,0,0,0.10), 0 4px 6px -1px rgba(0,0,0,0.10);
  transition: box-shadow 0.15s ease;
}

.ya-pd-gallery__zoom:hover {
  box-shadow: 0 4px 8px -2px rgba(0,0,0,0.15), 0 6px 12px -2px rgba(0,0,0,0.12);
}

.ya-pd-gallery__zoom-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.ya-pd-gallery__thumbs-mobile {
  display: none;
}

@media (max-width: 639px) {
  .ya-pd-gallery__thumbs-mobile {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0 0.5rem 0.25rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .ya-pd-gallery__thumbs-mobile .gallery-thumb-mobile {
    flex: 0 0 auto;
    width: 4rem;
    height: 4rem;
    padding: 0.125rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    background: #fff;
    cursor: pointer;
    outline: none;
    transition: box-shadow 0.2s ease;
  }

  .ya-pd-gallery__thumbs-mobile .gallery-thumb-mobile.is-active {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #dc2626;
  }

  .ya-pd-gallery__thumbs-mobile .gallery-thumb-mobile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.375rem;
  }
}

/* PhotoSwipe-style lightbox */
.ya-pd-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.88);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.ya-pd-lightbox.is-open {
  display: flex;
}

.ya-pd-lightbox.is-visible {
  opacity: 1;
}

.ya-pd-lightbox__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: min(96vw, 1400px);
  max-height: 94vh;
}

.ya-pd-lightbox #lightbox-img {
  max-width: min(96vw, 1400px);
  max-height: 94vh;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.28s ease, opacity 0.28s ease;
  transform: scale(0.96);
}

.ya-pd-lightbox.is-visible #lightbox-img {
  transform: scale(1);
}

.ya-pd-lightbox__close,
.ya-pd-lightbox__nav {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.15s ease;
}

.ya-pd-lightbox__close:hover,
.ya-pd-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.ya-pd-lightbox__close {
  top: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
}

.ya-pd-lightbox__close svg {
  width: 1.5rem;
  height: 1.5rem;
}

.ya-pd-lightbox__nav {
  top: 50%;
  width: 2.75rem;
  height: 2.75rem;
  margin-top: -1.375rem;
  border-radius: 50%;
}

.ya-pd-lightbox__nav svg {
  width: 1.5rem;
  height: 1.5rem;
}

.ya-pd-lightbox__nav--prev {
  left: 1rem;
}

.ya-pd-lightbox__nav--next {
  right: 1rem;
}

.ya-pd-lightbox__counter {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.ya-pd-gallery [data-thumb]:focus-visible,
.ya-pd-gallery .gallery-thumb-mobile:focus-visible,
.ya-pd-gallery__zoom:focus-visible {
  outline: 2px solid #dc2626;
  outline-offset: 2px;
}

.color-swatch:focus-visible .ya-pd-swatch__box {
  outline: 2px solid #dc2626;
  outline-offset: 3px;
}

.ya-pd-info__accordion-panel {
  overflow: hidden;
  transition: max-height 0.34s cubic-bezier(0.4, 0, 0.2, 1);
}

#art-nr {
  transition: opacity 0.2s ease;
}

@media (hover: none), (pointer: coarse) {
  #gallery-stage {
    cursor: zoom-in;
  }

  .ya-pd-gallery__lens {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #gallery-stage.is-hover-zoom #gallery-main {
    transform: none !important;
  }

  #gallery-main,
  .ya-pd-gallery__lens,
  .ya-pd-gallery__thumb,
  .gallery-thumb-mobile,
  .ya-pd-info__accordion-panel,
  .ya-pd-info__accordion-chevron,
  .ya-pd-lightbox,
  #lightbox-img,
  #art-nr {
    transition: none !important;
  }
}

/* —— Product detail page (birebir adore-dream.html bilgi kolonu) —— */

.ya-pd {
  --ya-pd-red: #C0392B;
  --ya-pd-ink: #1C1C1C;
  --ya-pd-body: #4a5565;
  --ya-pd-muted: #6B6B6B;
  background: #ffffff;
}

.ya-pd__wrap {
  max-width: 80rem;
  margin-inline: auto;
  padding: 1.25rem 1rem;
}

@media (min-width: 640px) {
  .ya-pd__wrap {
    padding-inline: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .ya-pd__wrap {
    padding-block: 1.75rem;
  }
}

.ya-pd__grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .ya-pd__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }
}

/* Breadcrumb — başlık sütununun içinde, h1 üstünde (Figma) */
.ya-pd__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin: 0 0 0.75rem 0;
  padding: 0;
  list-style: none;
}

.ya-pd__crumb {
  font-size: 1rem;
  font-weight: 500;
  color: #262626;
  text-decoration: none;
  line-height: 1.25rem;
  transition: color 0.15s ease;
}

.ya-pd__crumb:hover {
  color: var(--ya-pd-red);
}

/* Son eleman (kategori): text-sm font-normal gray-900 */
.ya-pd__crumb--last {
  font-size: 0.875rem;
  font-weight: 400;
  color: #111827;
}

.ya-pd__crumb--last:hover {
  color: var(--ya-pd-red);
}

.ya-pd__crumb-sep {
  display: inline-flex;
  align-items: center;
  color: #4B5563;
  flex-shrink: 0;
}

.ya-pd-info {
  display: flex;
  flex-direction: column;
  /* gap: .5rem; */
}

.ya-pd-info__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.ya-pd-info__crumb {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.25rem;
  color: #1f2a24;
  text-decoration: none;
  transition: color 0.15s ease;
}

.ya-pd-info__crumb:hover {
  color: var(--ya-pd-red);
}

.ya-pd-info__crumb-sep {
  display: inline-flex;
  color: #9ca3af;
}

.ya-pd-info__head {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ya-pd-info__title {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 2.5rem;
  letter-spacing: -0.3px;
  color: #111827;
}

.ya-pd-info__title-tag {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 2.5rem;
  color: #111827;
}

.ya-pd-info__intro {
  margin: 0;
  font-size: 1rem;
  line-height: 1.625rem;
  color: var(--ya-pd-muted);
}

/* Highlights — Figma: gap-3, icon size-5 (20px), text-sm font-medium gray-900 */
.ya-pd-info__highlights {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 10px 0 0 0;
  list-style: none;
  border-top: 1px solid #E5E2DC;
}

.ya-pd-info__highlight {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ya-pd-info__highlight-icon {
  display: inline-flex;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #374151;
}

.ya-pd-info__highlight-icon svg {
  width: 20px;
  height: 20px;
  stroke: #374151;
  fill: none;
  stroke-width: 1.25;
}

.ya-pd-info__highlight-text {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.ya-pd-info__hl-main {
  font-size: 0.875rem;
  font-weight: 500;
  color: #111827;
}

.ya-pd-info__hl-sep {
  font-size: 0.875rem;
  font-weight: 400;
  color: #6B7280;
}

.ya-pd-info__hl-sub {
  font-size: 0.875rem;
  font-weight: 400;
  color: #374151;
}

.ya-pd-info__art-label {
  font-weight: 400;
  color: #374151;
}

.ya-pd-info__art-value {
  font-weight: 500;
  color: #111827;
}

/* İplik kalınlık, şiş/tığ ölçüleri, bakım sembolleri */
.ya-pd-yarn-meta {
  /* margin-top: 1.5rem; */
  /* padding-top: 0.25rem; */
}

.ya-pd-yarn-meta__tagline {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  color: #333;
}

.ya-pd-yarn-meta__profile {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.ya-pd-yarn-meta__weight {
  flex-shrink: 0;
  width: 4rem;
  height: auto;
  object-fit: contain;
}

.ya-pd-yarn-meta__facts {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-top: 0.15rem;
}

.ya-pd-yarn-meta__fact {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.45;
}

.ya-pd-yarn-meta__fact-label {
  font-weight: 600;
  color: var(--ya-pd-ink);
}

.ya-pd-yarn-meta__fact-label::after {
  content: ': ';
}

.ya-pd-yarn-meta__fact-value {
  font-weight: 400;
  color: #364153;
}

.ya-pd-yarn-meta__tools {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #ececec;
}

.ya-pd-yarn-meta__gauges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 1.25rem 1.75rem;
}

.ya-pd-yarn-meta__gauge {
  position: relative;
  flex: 0 0 auto;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--ya-pd-ink);
}

.ya-pd-yarn-meta__gauge-img {
  display: block;
  width: 4.5rem;
  height: auto;
}

.ya-pd-yarn-meta__gauge--1 .ya-pd-yarn-meta__gauge-num--1 { position: absolute; bottom: -0.25rem; left: 0; width: 100%; text-align: center; }
.ya-pd-yarn-meta__gauge--1 .ya-pd-yarn-meta__gauge-num--2 { position: absolute; transform: rotate(270deg); right: -0.2rem; top: 1.45rem; }
.ya-pd-yarn-meta__gauge--1 .ya-pd-yarn-meta__gauge-num--3 { position: absolute; top: 0.65rem; left: 0; width: 100%; text-align: center; }
.ya-pd-yarn-meta__gauge--1 .ya-pd-yarn-meta__gauge-num--4 { position: absolute; bottom: 0.45rem; left: 0.125rem; width: 100%; text-align: center; }

.ya-pd-yarn-meta__gauge--2 .ya-pd-yarn-meta__gauge-num--1 { position: absolute; bottom: -0.25rem; left: 0; width: 100%; text-align: center; }
.ya-pd-yarn-meta__gauge--2 .ya-pd-yarn-meta__gauge-num--2 { position: absolute; transform: rotate(270deg); right: -0.2rem; top: 1.45rem; }
.ya-pd-yarn-meta__gauge--2 .ya-pd-yarn-meta__gauge-num--3 { position: absolute; top: 0.65rem; left: 0; width: 100%; text-align: center; }
.ya-pd-yarn-meta__gauge--2 .ya-pd-yarn-meta__gauge-num--4 { position: absolute; bottom: 0.45rem; left: 0.125rem; width: 100%; text-align: center; }

.ya-pd-yarn-meta__gauge--3 .ya-pd-yarn-meta__gauge-num--1 { position: absolute; bottom: -0.1rem; left: 0; width: 100%; text-align: center; }

.ya-pd-yarn-meta__care {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.ya-pd-yarn-meta__care-symbol {
  width: 1.75rem;
  height: 1.75rem;
  object-fit: contain;
  opacity: 0.92;
}

@media (min-width: 640px) {
  .ya-pd-yarn-meta__gauges {
    gap: 1.5rem 2.25rem;
  }

  .ya-pd-yarn-meta__gauge-img {
    width: 4.9375rem;
  }
}

#art-nr.is-updating .ya-pd-info__art-value {
  opacity: 0.5;
}

.ya-pd-info__details {
  margin-top: 0.25rem;
}

.ya-pd-info__tab-wrap {
  position: relative;
  display: inline-block;
  padding-bottom: 0.75rem;
}

.ya-pd-info__tab {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.16px;
  color: var(--ya-pd-red);
}

.ya-pd-info__tab-wrap::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 96px;
  height: 2px;
  background: var(--ya-pd-red);
}

/* Specs — Figma: inline bold label + normal value, leading-8 (2rem) */
.ya-pd-info__specs {
  margin: .5rem 0 0;
}

.ya-pd-info__spec-item {
  margin: 0;
  padding: 0;
  line-height: 27.5px;
  font-size: 1rem;
}

.ya-pd-info__spec-label {
  display: inline;
  font-weight: 600;
  color: #374151;
}

.ya-pd-info__spec-value {
  display: inline;
  font-weight: 400;
  color: #374151;
}

.ya-pd-info__accordions {
  margin-top: 1rem;
  max-width: 739px;
  border-top: 1px solid var(--ya-pd-body);
}

.ya-pd-info__accordion {
  border-bottom: 1px solid var(--ya-pd-body);
}

.ya-pd-info__accordion:last-child {
  border-bottom: none;
}

.ya-pd-info__accordion-trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.ya-pd-info__accordion-title {
  font-size: 1.109375rem;
  font-weight: 500;
  letter-spacing: 0.18px;
  color: var(--ya-pd-body);
}

.ya-pd-info__accordion-chevron {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.ya-pd-info__accordion-chevron.rotate-180,
[data-accordion][data-open='true'] .ya-pd-info__accordion-chevron {
  transform: rotate(180deg);
}

.ya-pd-info__accordion-body {
  padding-bottom: 1rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--ya-pd-muted);
}

/* Diğer Renkler (adore-dream.html) */
.ya-pd-colors {
  margin-top: 4rem;
}

@media (min-width: 1024px) {
  .ya-pd-colors {
    margin-top: 4rem;
  }
}

.ya-pd-colors__title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 2rem;
  letter-spacing: -0.12px;
  color: var(--ya-pd-ink);
}

.ya-pd-colors__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 0.75rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .ya-pd-colors__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem 0.75rem;
  }
}

@media (min-width: 1024px) {
  .ya-pd-colors__grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}

.ya-pd-swatch {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-decoration: none;
  color: inherit;
}

.ya-pd-swatch__box {
  aspect-ratio: 1;
  border-radius: 0.625rem;
  background: #fff;
  border: 1px solid rgba(148, 148, 148, 0.45);
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.ya-pd-swatch:hover .ya-pd-swatch__box {
  border-color: var(--ya-pd-red);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.1);
  transform: translateY(-2px);
}

.ya-pd-swatch__img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: opacity 0.28s ease;
}

.ya-pd-swatch__img--hover {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.ya-pd-swatch:hover .ya-pd-swatch__img--hover {
  opacity: 1;
}

.ya-pd-swatch:hover .ya-pd-swatch__img--main {
  opacity: 0;
}

.ya-pd-swatch__code {
  margin-top: 0.5rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ya-pd-ink);
  transition: color 0.15s ease;
}

.ya-pd-swatch:hover .ya-pd-swatch__code {
  color: var(--ya-pd-red);
}

.color-swatch.is-active .ya-pd-swatch__box {
  border-color: var(--ya-pd-red);
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.15);
}

.color-swatch.is-active .ya-pd-swatch__code {
  color: var(--ya-pd-red);
}

.color-swatch:focus-visible .ya-pd-swatch__box {
  outline: 2px solid var(--ya-pd-red);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .ya-pd-info__accordion-chevron,
  .ya-pd-swatch__box,
  .ya-pd-info__crumb {
    transition: none !important;
  }

  .ya-pd-swatch:hover .ya-pd-swatch__box {
    transform: none;
  }
}

/* ── Ürün detay açıklama bölümü ─────────────────────────────────── */
/* Ürün detay açıklaması — background yok, sadece metin + scroll */
.ya-pd-desc {
  margin: 0.5rem 0 0.75rem;
  overflow: hidden;
}

.ya-pd-desc__inner {
  max-height: 3.6rem; /* ~2 satır görünür */
  overflow: hidden;
  padding: 0;
  font-size: 0.875rem;
  line-height: 1.8rem;
  color: #4b5563;
  transition: max-height 0.3s ease;
}

.ya-pd-desc--open .ya-pd-desc__inner {
  max-height: 40rem;
  overflow-y: auto;
  scrollbar-width: thin;
}

.ya-pd-desc__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: none;
  border: none;
  padding: 0.2rem 0;
  margin-top: 0.15rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #dc2626;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ya-pd-desc__toggle:hover { opacity: 0.75; }
