/* Ürün sayfası: galeri + sağda sabit bilgi kolonu */
.pdp { display: grid; padding-bottom: 88px; }
.pdp__gallery { min-width: 0; }
.pdp__viewer { position: relative; background: var(--surface); }
.pdp__slides { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 4 / 5; }
.pdp__slides::-webkit-scrollbar { display: none; }
.pdp__slide { position: relative; scroll-snap-align: start; scroll-snap-stop: always; }
.pdp__zoom { all: unset; cursor: zoom-in; position: absolute; inset: 0; }
.pdp__slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pdp__panel { background: var(--bg); }
.pdp__panel[data-tool="3d"], .pdp__panel[data-tool="light"] { aspect-ratio: 4 / 5; background: var(--surface); }
.pdp__model, .pdp__model model-viewer { width: 100%; height: 100%; }
.pdp__counter { position: absolute; right: 16px; bottom: 14px; color: var(--ink-2); }
.pdp__thumbs { display: flex; gap: 2px; padding-top: 2px; overflow-x: auto; scrollbar-width: none; }
.pdp__thumbs::-webkit-scrollbar { display: none; }
.pdp__thumb { all: unset; cursor: pointer; position: relative; flex: 0 0 56px; aspect-ratio: 4 / 5; background: var(--surface); outline-offset: -1px; }
.pdp__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pdp__thumb[aria-current="true"] { outline: 1px solid var(--ink); }
.pdp__thumb--tool { display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line); }
.pdp__thumb--tool span { font-size: 9px; letter-spacing: .08em; text-transform: uppercase; text-align: center; line-height: 1.25; padding: 2px; }

/* Detay noktaları */
.hs { position: absolute; z-index: 2; left: var(--x); top: var(--y); transform: translate(-50%, -50%); }
.hs__dot { all: unset; cursor: pointer; display: grid; place-items: center; width: 32px; height: 32px; }
.hs__dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--ink); background: rgba(255,255,255,.7); transition: transform var(--t) var(--ease); }
.hs__dot:hover::before, .hs__dot[aria-expanded="true"]::before { transform: scale(1.5); background: var(--ink); }
.hs__pop { position: absolute; z-index: 3; left: 50%; top: calc(100% + 4px); width: 200px; transform: translateX(-50%); background: var(--bg); }
.hs__pop .hs__zoom { aspect-ratio: 1; background-color: var(--surface); background-repeat: no-repeat; background-blend-mode: multiply; }
.hs__pop p { padding: 10px 12px 12px; font-size: 12px; line-height: 1.45; }
.hs__pop strong { display: block; font-weight: 400; font-size: 10px; letter-spacing: var(--track); text-transform: uppercase; color: var(--ink-2); margin-bottom: 2px; }
.hs--up .hs__pop { top: auto; bottom: calc(100% + 4px); }

/* 360° */
/* Yakından: köşesiz kare lens, 1px kontur, gölgesiz */
.loupe { position: absolute; inset: 0; z-index: 6; cursor: none; touch-action: none; }
.loupe__lens { position: absolute; top: 0; left: 0; border: 1px solid var(--ink); background-color: var(--surface); background-repeat: no-repeat; pointer-events: none; will-change: transform, background-position; }
.loupe__bar { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 12px var(--gutter); background: var(--bg); cursor: default; }
.loupe__label { text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.loupe__nav, .loupe__close { all: unset; cursor: pointer; padding: 4px 6px; font-size: 18px; line-height: 1; }
.loupe__close { font-size: 11px; text-decoration: underline; text-underline-offset: 3px; margin-left: 12px; }
.loupe--full { width: 100%; height: 100%; height: 100dvh; margin: 0; padding: 0; background: var(--surface); overflow: hidden; }
.loupe--full[open] { display: block; }
.loupe--full::backdrop { background: var(--surface); }
.loupe__img { position: absolute; inset: 0 0 56px; width: 100%; height: calc(100% - 56px); object-fit: contain; mix-blend-mode: multiply; pointer-events: none; }
.loupe--full .loupe__bar { padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
/* Işıkta gör: aynı kadraj, üç ışık, 400 ms crossfade */
.light { position: relative; width: 100%; height: 100%; }
.light__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 400ms var(--ease); }
.light__img.is-on { opacity: 1; }
.light__tabs { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 24px; }
.light__tabs button { all: unset; cursor: pointer; font-size: 11px; letter-spacing: var(--track); text-transform: uppercase; color: var(--ink-2); padding-bottom: 4px; border-bottom: 1px solid transparent; }
.light__tabs button[aria-selected="true"] { color: var(--ink); border-color: currentColor; }

/* Bilgi kolonu */
.pdp__info { padding: 28px var(--gutter) 56px; }
.pdp__col { display: grid; gap: 20px; }
.pdp__head { display: grid; gap: 6px; }
.pdp__edition { font-size: 11px; letter-spacing: var(--track); text-transform: uppercase; color: var(--ink-2); }
.pdp__price { display: flex; gap: 12px; align-items: baseline; font-size: 15px; font-variant-numeric: tabular-nums; }
.pdp__opt { display: grid; gap: 10px; }
.pdp__opt-head { display: flex; justify-content: space-between; align-items: baseline; }
.pdp__colors { display: flex; flex-wrap: wrap; gap: 2px; }
.pdp__color { position: relative; width: 60px; aspect-ratio: 4 / 5; background: var(--surface); outline-offset: -1px; }
.pdp__color img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pdp__color[aria-current="true"] { outline: 1px solid var(--ink); }
.pdp__sizes { display: flex; gap: 8px; align-items: center; }
.pdp__compare { all: unset; cursor: pointer; margin-left: 8px; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.pdp__form { display: grid; gap: 10px; }
.pdp__atc { display: none; }
.pdp__ship { font-size: 12px; }
.pdp__stock { font-size: 12px; }
.pdp__notify { display: grid; gap: 10px; }
.pdp__tools { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 10px; color: var(--ink-2); }
.pdp__tools button { all: unset; cursor: pointer; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.pdp__error { font-size: 13px; }

.pdp__acc { border-top: 1px solid var(--line); }
.pdp__acc details { border-bottom: 1px solid var(--line); }
.pdp__acc summary { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; cursor: pointer; list-style: none; font-size: 11px; letter-spacing: var(--track); text-transform: uppercase; }
.pdp__acc summary::-webkit-details-marker { display: none; }
.pdp__acc details[open] .plus { transform: rotate(45deg); }
.pdp__acc-body { padding-bottom: 24px; font-size: 14px; line-height: 1.65; }
.pdp__tech { display: grid; }
.pdp__tech div { display: grid; grid-template-columns: 36% 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13px; }
.pdp__tech div:first-child { border-top: 0; }
.pdp__tech dt { color: var(--ink-2); }

.pdp__bar { position: fixed; z-index: 15; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)) var(--gutter); background: var(--bg); border-top: 1px solid var(--line); font-size: 14px; }

.zoom { width: 100vw; height: 100dvh; margin: 0; background: var(--surface); }
.zoom__scroll { width: 100%; height: 100%; overflow: auto; }
.zoom__scroll img { width: 220%; max-width: none; mix-blend-mode: multiply; }
.zoom__close { position: fixed; top: 8px; right: 8px; z-index: 2; background: var(--bg); }
@media (min-width: 990px) { .zoom__scroll { cursor: crosshair; overflow: hidden; } .zoom__scroll img { width: 160%; } }

@media (min-width: 990px) {
  .pdp { grid-template-columns: minmax(0, 1.5fr) minmax(400px, 1fr); padding-bottom: 0; align-items: start; }
  .pdp__gallery { position: sticky; top: var(--header-h); }
  .pdp__slides, .pdp__panel[data-tool="3d"], .pdp__panel[data-tool="light"] { aspect-ratio: auto; height: calc(100svh - var(--header-h) - 112px); }
  .pdp__thumbs { padding-left: var(--gutter); }
  .pdp__info { padding: 72px var(--gutter) 96px 64px; }
  .pdp__col { max-width: 420px; }
  .pdp__atc { display: flex; }
  .pdp__bar { display: none; }
}

/* Sığar mı stüdyosu galeri içinde */
.pdp__panel lome-fit-studio { padding: 0 var(--gutter) 40px; }
.pdp__panel lome-fit-studio .fs-stage { margin-inline: calc(var(--gutter) * -1); }
@media (min-width: 990px) {
  .pdp__panel lome-fit-studio { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, 1fr); grid-template-rows: auto 1fr auto; column-gap: 48px; padding: 0 48px 0 0; height: calc(100svh - var(--header-h) - 112px); }
  .pdp__panel lome-fit-studio .fs-stage { grid-column: 1; grid-row: 1 / 4; aspect-ratio: auto; height: 100%; margin: 0; }
  .pdp__panel lome-fit-studio .fs-tabs { grid-column: 2; grid-row: 1; margin-top: 24px; }
  .pdp__panel lome-fit-studio .fs-panel { grid-column: 2; grid-row: 2; overflow-y: auto; scrollbar-width: thin; }
  .pdp__panel lome-fit-studio .fs-foot { grid-column: 2; grid-row: 3; padding-bottom: 20px; }
}

.is-soft .pdp__thumb img, .is-soft .pdp__color img, .is-soft .hs__zoom { filter: brightness(1.045); }
.pdp__frame { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); height: 100%; aspect-ratio: var(--ar); max-width: 100%; pointer-events: none; }
.pdp__frame .hs { pointer-events: auto; }

.pdp__viewer:has(.loupe) .hs, .pdp__viewer:has(.loupe) .pdp__counter { visibility: hidden; }
.loupe.is-soft .loupe__lens, .loupe.is-soft .loupe__img { filter: brightness(1.045); }
