:root { --accent: #f6b8e6; --glow: 246,184,230; --ink: #17121a; --bg: #141016; --line: rgba(255,255,255,.14); color-scheme: dark; }
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 40px; }
body {
  background: var(--bg); color: #f5eef3;
  font-family: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
button { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }
[hidden] { display: none !important; }

/* ---- Üst bar */
.top { position: fixed; z-index: 30; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 14px 28px; background: linear-gradient(rgba(20,16,22,.92) 30%, rgba(20,16,22,0)); }
.logo { font-weight: 800; font-size: 24px; letter-spacing: -.04em; color: #fff; text-decoration: none; }
.logo span { color: var(--accent); transition: color .4s; }
.top nav { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.top nav a { color: #fff; text-decoration: none; opacity: .8; }
.top nav a:hover { opacity: 1; color: var(--accent); }
.cart-btn { cursor: pointer; background: rgba(20,16,22,.5); border: 1.5px solid rgba(255,255,255,.35); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 14px; }
.cart-btn span { display: inline-block; min-width: 20px; margin-left: 4px; padding: 1px 6px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 12px; transition: background .4s; }

/* ---- Sabit 3D sahne */
.show { height: 650vh; }
.pin { position: fixed; z-index: 10; inset: 0; height: 100vh; height: 100dvh; background: var(--bg); overflow: hidden; will-change: transform; }
.pin::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(58vmax 58vmax at 50% 46%, rgba(var(--glow), .32), transparent 62%);
}
body.product-open .pin { z-index: 25; }
#stage { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; }
body.product-open #stage { touch-action: none; }
#stage.dragging { cursor: grabbing; }

.heading, .caption, .panel { position: absolute; left: 16px; right: 16px; text-align: center; pointer-events: none; }
.heading { top: 68px; }
.heading > * { position: absolute; left: 0; right: 0; top: 0; }
h1, .h1like {
  font-size: clamp(28px, 5.2vw, 56px); line-height: 1; font-weight: 900; font-style: italic;
  text-transform: uppercase; letter-spacing: -.03em; text-shadow: 0 0 28px rgba(var(--glow), .55);
}
.caption { bottom: 9vh; max-width: 560px; margin-inline: auto; opacity: 0; }
.caption h2 { font-size: clamp(30px, 5vw, 52px); line-height: 1; font-weight: 900; font-style: italic; letter-spacing: -.04em; color: var(--accent); margin-bottom: 10px; }
.caption p { font-size: 17px; line-height: 1.45; opacity: .85; text-wrap: balance; }
.scrollcue { margin-top: 18px; font-size: 13px !important; letter-spacing: .14em; text-transform: uppercase; animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }

.arrow {
  position: absolute; top: 46%; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.35); background: rgba(20,16,22,.45);
  cursor: pointer; display: grid; place-items: center;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: border-color .15s ease, color .15s ease;
}
.arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.arrow.prev { left: 24px; } .arrow.next { right: 24px; }
.arrow:hover { border-color: var(--accent); color: var(--accent); }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.panel { bottom: 22px; }
.artist { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.panel h2, .product h2 { font-size: clamp(38px, 7vw, 76px); line-height: .95; font-weight: 900; font-style: italic; letter-spacing: -.045em; color: var(--accent); margin: 4px 0 6px; transition: color .4s; }
.meta { font-size: 13px; opacity: .7; }
.actions { display: flex; gap: 10px; justify-content: center; margin-top: 14px; flex-wrap: wrap; }
.btn {
  pointer-events: auto; cursor: pointer; font-weight: 700; font-size: 15px;
  color: var(--ink); background: var(--accent); border: 1.5px solid var(--accent);
  border-radius: 999px; padding: 12px 26px; min-width: 132px;
  transition: transform .15s ease, background .4s, border-color .4s, color .4s;
}
.btn.ghost { background: transparent; color: var(--accent); }
.btn:hover { transform: translateY(-2px); }
.dots { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.dots button { pointer-events: auto; width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,.28); cursor: pointer; transition: background .3s, transform .3s; }
.dots button[aria-current="true"] { background: var(--accent); transform: scale(1.35); }
.hint { margin-top: 12px; font-size: 12px; opacity: .55; line-height: 1.4; }
.off { visibility: hidden; }

/* ---- Ürün görünümü */
.product { position: absolute; right: 5vw; top: 50%; transform: translateY(-50%); width: min(400px, 36vw); }
.product h2 { font-size: clamp(36px, 4.6vw, 64px); }
.product .actions { justify-content: flex-start; }
.price { margin-top: 16px; font-size: 22px; font-weight: 800; }
.back { cursor: pointer; background: none; border: 0; padding: 6px 0; margin-bottom: 18px; font-size: 14px; font-weight: 700; opacity: .8; }
.back:hover { opacity: 1; color: var(--accent); }
body.product-open :is(.heading, .caption, .panel, .arrow) { display: none; }

/* ---- Görünümler: giriş ve mağaza ayrı ekranlardır */
body:not(.store) :is(main, .foot) { display: none; }
body.store .show { display: none; }
body.store:not(.product-open) .pin { display: none; }
body.store .top { background: var(--bg); border-bottom: 1px solid var(--line); }
.more { pointer-events: auto; display: inline-block; margin-top: 12px; font-size: 13px; color: #fff; opacity: .7; text-decoration: none; }
.more:hover { opacity: 1; color: var(--accent); }

/* ---- Mağaza bölümleri */
main, .foot { position: relative; z-index: 20; background: var(--bg); }
.block { max-width: 1120px; margin: 0 auto; padding: 96px 28px 40px; }
.block-title { font-size: clamp(34px, 5vw, 56px); font-weight: 900; font-style: italic; letter-spacing: -.04em; text-transform: uppercase; margin-bottom: 32px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px 22px; }
.card { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.card .cover { display: block; width: 100%; padding: 0; border: 0; background: #0c0a0e; cursor: pointer; aspect-ratio: 1; overflow: hidden; border-radius: 3px; box-shadow: 0 14px 30px rgba(0,0,0,.45); }
.card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.card .cover:hover img { transform: scale(1.04) rotate(-1deg); }
.card h3 { font-size: 19px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.card .artist { font-size: 12px; }
.card .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; }
.card .price { margin: 0; font-size: 15px; opacity: .85; }
.card .btn { min-width: 0; padding: 9px 16px; font-size: 13px; background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.card .btn:hover { border-color: #fff; }

.custom { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; padding-bottom: 110px; }
.lead { font-size: 18px; line-height: 1.5; opacity: .85; max-width: 46ch; margin-bottom: 26px; }
.steps { counter-reset: s; display: grid; gap: 0; border-top: 1px solid var(--line); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s); grid-row: span 2; font-size: 30px; font-weight: 900; font-style: italic; color: var(--accent); }
.steps strong { font-size: 17px; }
.steps span { font-size: 14px; opacity: .7; margin-top: 3px; }
.foot { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; padding: 28px; border-top: 1px solid var(--line); font-size: 13px; }
.foot > span:last-child { opacity: .6; }

/* ---- Sepet */
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.55); }
.cart { position: fixed; z-index: 41; top: 0; right: 0; bottom: 0; width: min(400px, 100vw); background: #1c171f; border-left: 1px solid var(--line); padding: 20px 22px; display: flex; flex-direction: column; }
.cart-head { display: flex; justify-content: space-between; align-items: center; }
.cart-head h2 { font-size: 26px; font-weight: 900; font-style: italic; text-transform: uppercase; }
.cart-head .back { margin: 0; }
#cart-items { flex: 1; overflow-y: auto; margin-top: 12px; }
#cart-items li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
#cart-items img { width: 56px; height: 56px; object-fit: cover; border-radius: 2px; }
#cart-items .t { min-width: 0; }
#cart-items .t strong { display: block; font-size: 15px; }
#cart-items .t span { font-size: 12px; opacity: .65; }
.qty { display: flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.qty button { cursor: pointer; width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: none; }
.qty button:hover { border-color: var(--accent); color: var(--accent); }
.cart-empty { flex: 1; opacity: .6; margin-top: 24px; }
.cart-foot .btn { width: 100%; }
.toast { position: fixed; z-index: 50; left: 50%; bottom: 26px; transform: translate(-50%, 20px); background: #fff; color: var(--ink); font-weight: 700; font-size: 14px; padding: 11px 20px; border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 760px) {
  .top { padding: 12px 16px; }
  .top nav { gap: 14px; font-size: 13px; }
  .logo { font-size: 21px; }
  .heading { top: 62px; }
  .arrow { width: 44px; height: 44px; margin-top: -22px; }
  .arrow.prev { left: 10px; } .arrow.next { right: 10px; }
  .panel .btn { flex: 1; min-width: 0; padding: 13px 10px; }
  .caption p { font-size: 15px; }
  .product { left: 16px; right: 16px; top: auto; bottom: 18px; width: auto; transform: none; text-align: center; }
  .product .actions { justify-content: center; }
  .product .btn { flex: 1; min-width: 0; padding: 13px 10px; }
  .product .back { position: fixed; top: 58px; left: 16px; margin: 0; }
  .product .hint { display: none; }
  .price { margin-top: 8px; font-size: 18px; }
  .block { padding: 72px 16px 28px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .card .row { flex-direction: column; align-items: stretch; }
  .custom { grid-template-columns: 1fr; gap: 32px; padding-bottom: 72px; }
  .foot { padding: 22px 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
