/* yaman.gg — Decorations shop (theme.css üzerine eklemeler) */

.page { padding: 132px 0 40px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ── üst bölüm ────────────────────────────────────── */
.dh {
  display: grid; grid-template-columns: minmax(0, 1fr) 440px; align-items: center; gap: 40px;
  margin-bottom: 46px;
}
.dh-title {
  font-family: var(--display); font-weight: 800; letter-spacing: -.035em; line-height: .98;
  font-size: clamp(40px, 5.6vw, 70px);
}
.dh-title .hl { color: var(--amber); }
.dh .lead { max-width: 560px; font-size: 17.5px; }
.dh .lead b { color: var(--mint); font-weight: 600; }
.dh .lead a, .how-steps a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.dh .lead a:hover, .how-steps a:hover { color: var(--amber); text-decoration-color: var(--amber); }
.how { scroll-margin-top: 110px; }

/* profil önizlemesi (Discord profil kartı) */
.dh-show { position: relative; height: 500px; }
.dh-show[hidden] { display: none; }
.dh-show::before {   /* arkadaki yumuşak ışık */
  content: ""; position: absolute; left: 50%; top: 46%; width: 420px; height: 420px; translate: -50% -50%;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(169,155,255,.20), rgba(255,143,184,.07) 60%, transparent);
  pointer-events: none;
}
.face {   /* mockup avatarı: kedi logosu */
  display: block; border-radius: 50%;
  background: var(--cat) 50% 62% / 56% no-repeat, linear-gradient(160deg, #3b2a63, #241a3c);
}
.dp { position: absolute; left: 50%; top: 66px; width: 252px; height: 384px; translate: -50% 0; rotate: 2deg; }
.dp-card {
  position: absolute; inset: 0; border-radius: 18px; overflow: hidden;
  background: #1a1726; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 70px -30px rgba(0,0,0,.9);
}
.fl { position: absolute; max-width: none; pointer-events: none; user-select: none; }   /* çerçeve katmanı */
.dp-banner { position: absolute; left: 0; right: 0; top: 0; height: 96px; background: linear-gradient(120deg, #6d4fd1, #c45d9b 60%, #f0a35e); }
.dp-av { position: absolute; left: 16px; top: 52px; width: 88px; height: 88px; }
.dp-av .face { position: absolute; inset: 0; box-shadow: 0 0 0 6px #1a1726; }
.dp-av img { position: absolute; left: -10%; top: -10%; width: 120%; height: 120%; }
.dp-body { position: absolute; left: 16px; right: 16px; top: 150px; display: flex; flex-direction: column; }
.dp-name { font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -.02em; line-height: 1.1; }
.dp-handle { font-size: 13px; color: var(--muted); }
.dp-sec { margin: 16px 0 7px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.dp-l { height: 7px; width: 92%; border-radius: 4px; background: rgba(255,255,255,.1); }
.dp-l.s { width: 66%; margin-top: 6px; }
.dp-l.xs { width: 44%; }
.dp-fx { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; pointer-events: none; }
.dp-np {
  position: absolute; left: 50%; top: 392px; width: 252px; height: 50px; translate: -62% 0; rotate: -4deg; z-index: 2;
  display: flex; align-items: center; gap: 10px; padding: 0 12px; border-radius: 12px; overflow: hidden;
  background: #221d31; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 24px 40px -18px rgba(0,0,0,.9);
}
.dp-np img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right; }
.dp-np .face { position: relative; width: 30px; height: 30px; flex: none; }
.dp-np b { position: relative; font-weight: 600; font-size: 15px; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.dp-cta {
  position: absolute; left: 50%; bottom: 0; translate: -50% 0;
  display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 8px 0 8px;
  border-radius: 999px; border: 1px solid var(--line2); background: rgba(18,14,30,.9); color: var(--ink);
  font: 500 14px var(--body); cursor: pointer; white-space: nowrap; backdrop-filter: blur(8px);
  transition: border-color .25s, transform .35s var(--spring);
}
.dp-cta span { height: 26px; padding: 0 9px; display: inline-grid; place-items: center; border-radius: 999px; background: var(--amber); color: #1a1225; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; }
.dp-cta b { font-weight: 600; }
.dp-cta i { width: 26px; height: 26px; display: grid; place-items: center; font-size: 12px; color: var(--amber); transition: transform .3s var(--spring); }
.dp-cta:hover { border-color: color-mix(in srgb, var(--amber) 60%, transparent); transform: translateY(-2px); }
.dp-cta:hover i { transform: translateX(3px); }
@media (prefers-reduced-motion: no-preference) {
  .dp { animation: dpFloat 7s ease-in-out infinite; }
  .dp-np { animation: dpFloat 7s ease-in-out -3.5s infinite; }
}
@keyframes dpFloat { 50% { transform: translateY(-7px); } }

/* ── araç çubuğu ─────────────────────────────────── */
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.search { position: relative; flex: 1 1 260px; min-width: 200px; }
.search > i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--dim); font-size: 14px; pointer-events: none; }
.search input {
  width: 100%; height: 50px; padding: 0 42px 0 42px; border-radius: 999px;
  background: var(--field); border: 1px solid var(--line);
  color: var(--ink); font: 400 15px var(--body); outline: none;
  transition: border-color .2s, background .2s;
}
.search input::-webkit-search-cancel-button { display: none; }
.search input::placeholder { color: var(--dim); }
.search input:focus { border-color: color-mix(in srgb, var(--lav) 50%, transparent); background: rgba(255,255,255,.05); }
.search-x {
  position: absolute; right: 8px; top: 50%; translate: 0 -50%; width: 34px; height: 34px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.06); color: var(--muted); cursor: pointer; font-size: 13px;
}
.search-x:hover { color: var(--ink); background: rgba(255,255,255,.1); }
.search-x[hidden] { display: none; }
.toolbar .tabs { flex: none; }
.meta-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 2px 0; }
.meta { font: 400 14px var(--body); color: var(--dim); }
.meta b { color: var(--muted); font-weight: 600; }
.sort { position: relative; display: inline-flex; align-items: center; gap: 4px; flex: none; font-size: 14px; color: var(--dim); }
.sort select {
  appearance: none; -webkit-appearance: none; height: 36px; padding: 0 32px 0 12px; border-radius: 999px;
  background: none; border: 1px solid transparent; color: var(--ink);
  font: 500 14px var(--body); cursor: pointer; outline: none; transition: border-color .2s, background .2s;
}
.sort select:hover, .sort select:focus-visible { border-color: var(--line2); background: var(--field); }
.sort select option { background: #1b1628; color: var(--ink); }
.sort > i { position: absolute; right: 13px; top: 50%; translate: 0 -50%; font-size: 10px; color: var(--muted); pointer-events: none; }

/* ── grid + koleksiyon başlıkları ─────────────────── */
.grid { grid-template-columns: repeat(auto-fill, minmax(212px, 1fr)); gap: 16px; padding-top: 14px; }
.coll {
  grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px;
  margin: 26px 2px 2px;
}
.coll.first { margin-top: 6px; }
.coll h2 { font-family: var(--display); font-weight: 800; font-size: 25px; letter-spacing: -.025em; line-height: 1.15; }
.coll-new { height: 24px; padding: 0 10px; display: inline-grid; place-items: center; border-radius: 999px; background: var(--amber); color: #1a1225; font-size: 11.5px; font-weight: 700; rotate: -4deg; }
.coll-n { font-size: 14px; color: var(--dim); }
.coll-all {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--muted);
  font: 500 13.5px var(--body); cursor: pointer; transition: color .2s, border-color .2s;
}
.coll-all i { font-size: 11px; transition: transform .3s var(--spring); }
.coll-all:hover { color: var(--ink); border-color: var(--line2); }
.coll-all:hover i { transform: translateX(3px); }
/* banner'lı set başlığı: Discord'un mağaza banner'ı, logo solda */
.coll.has-bn {
  position: relative; display: block; aspect-ratio: 4 / 1; min-height: 168px; margin: 34px 0 4px;
  border-radius: 22px; overflow: hidden; background: #15111f; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.coll.has-bn.first { margin-top: 8px; }
.coll-bn { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.coll.has-bn::after {   /* sol taraf koyulaşsın: logo ve yazılar okunsun */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(12,10,20,.72), rgba(12,10,20,.25) 45%, transparent 70%), linear-gradient(0deg, rgba(12,10,20,.45), transparent 45%);
}
.coll-logo {
  position: absolute; z-index: 1; left: 3.5%; top: 42%; translate: 0 -50%; width: auto; max-width: 36%; height: 42%;
  object-fit: contain; object-position: left center; filter: drop-shadow(0 6px 18px rgba(0,0,0,.55));
}
.coll-bar { position: absolute; z-index: 1; left: 3.5%; bottom: 10%; display: flex; align-items: center; gap: 10px; }
.coll.has-bn .coll-n { color: rgba(255,255,255,.82); font-weight: 500; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.coll.has-bn .coll-all { margin-left: 4px; background: rgba(12,10,20,.55); border-color: rgba(255,255,255,.18); color: var(--ink); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.coll.has-bn .coll-all:hover { border-color: var(--amber); }

/* ── kart ─────────────────────────────────────────── */
.grid .card { padding: 10px; border-radius: 22px; gap: 0; }
.grid .card:hover { transform: translateY(-4px); }
.art {
  position: relative; aspect-ratio: 1 / 1; border-radius: 15px; overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--c) 15%, transparent), transparent 66%),
    #110d1b;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
  transition: background-color .3s;
}
.card:hover .art { background-color: #151022; }
.art .off {
  position: absolute; right: 9px; top: 9px; z-index: 5;
  height: 24px; padding: 0 9px; display: inline-grid; place-items: center; border-radius: 999px;
  background: rgba(15,11,26,.82); color: var(--mint); font: 700 12px var(--body);
  box-shadow: inset 0 0 0 1px rgba(110,231,200,.22); backdrop-filter: blur(6px);
}
.art img { display: block; user-select: none; -webkit-user-drag: none; }
.card.broken .art img { visibility: hidden; }

/* avatar decoration: avatarın üstünde, Discord'daki oranla (süs = avatar × 1.2) */
.av { position: absolute; left: 50%; top: 50%; width: 74%; aspect-ratio: 1; translate: -50% -50%; }
.av .face { position: absolute; inset: 8.33%; transition: transform .5s var(--spring); }
.av-deco { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--spring); }
.card:hover .av-deco, .card:hover .av .face { transform: scale(1.05); }

/* profile effect / frame: dikey mini profil kartı */
.pf {
  position: absolute; left: 50%; top: 50%; height: 88%; aspect-ratio: .519; translate: -50% -50%;   /* Discord profil kartı: çerçeve tuvali 1312×2528 */
  border-radius: 11px; overflow: hidden; background: #1a1726;
  box-shadow: 0 0 0 1px rgba(255,255,255,.07), 0 18px 30px -18px rgba(0,0,0,.9);
}
.pf-banner { position: absolute; left: 0; right: 0; top: 0; height: 26%; background: linear-gradient(120deg, color-mix(in srgb, var(--c) 55%, #2a2140), #2a2140); }
.pf-av { position: absolute; left: 8%; top: 15%; width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--cat) 50% 62% / 56% no-repeat, linear-gradient(160deg, #3b2a63, #241a3c); box-shadow: 0 0 0 3px #1a1726; }
.pf-l { position: absolute; left: 9%; top: 56%; width: 56%; height: 6px; border-radius: 3px; background: rgba(255,255,255,.28); }
.pf-l.s { top: 64%; width: 76%; height: 4px; background: rgba(255,255,255,.1); }
.pf-l.xs { top: 70%; width: 48%; height: 4px; background: rgba(255,255,255,.1); }
.pf-fx { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pf-frame { position: absolute; left: 0; top: 0; width: 100%; height: auto; z-index: 2; }   /* katman verisi olmayan çerçeve: tek görsel, üste hizalı */
/* katmanlı çerçeve: Discord'un örnek kart oranı; taşmalarla birlikte kutuda ortalanır */
.pf.framed {
  height: 70%; aspect-ratio: 1200 / 2012; overflow: visible; background: none; box-shadow: none;
  translate: -50% calc(-50% + var(--sh, 0) * 100%);
}
.pf-card { position: absolute; inset: 0; border-radius: 10px; overflow: hidden; background: #1a1726; box-shadow: 0 0 0 1px rgba(255,255,255,.07), 0 18px 30px -18px rgba(0,0,0,.9); }

/* nameplate: üye listesi satırı */
.np { position: absolute; left: 8%; right: 8%; top: 50%; translate: 0 -50%; display: grid; gap: 7px; }
.np-row { position: relative; display: flex; align-items: center; gap: 9px; height: 40px; padding: 0 10px; border-radius: 9px; overflow: hidden; }
.np-row .face { position: relative; z-index: 1; width: 24px; height: 24px; flex: none; }
.np-row b { width: 46%; height: 6px; border-radius: 3px; background: rgba(255,255,255,.12); }
.np-row b.s { width: 32%; }
.np-row:not(.on) { opacity: .55; }
.np-row:not(.on) .face { filter: grayscale(1) brightness(.7); }
.np-row.on { height: 46px; background: rgba(255,255,255,.04); box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 14px 26px -14px rgba(0,0,0,.9); }
.np-strip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right; }
.np-row em { position: relative; z-index: 1; font-style: normal; font-weight: 600; font-size: 14px; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.7); }

/* bundle: paketin ön plan görseli, içeriğine kırpılmış */
.bx { position: absolute; inset: 0; }
.bx-fg { position: absolute; left: 6%; top: 6%; width: 88%; height: 88%; object-fit: contain; }
.bx.fit .bx-fg { height: auto; object-fit: fill; }
.card:hover .bx-fg { transform: scale(1.03); }
.bx-fg { transition: transform .5s var(--spring); }

/* gövde */
.info { display: flex; flex-direction: column; flex: 1; padding: 12px 6px 4px; }
.grid .card h3 { font-size: 16.5px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sub-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 2px; min-height: 20px; }
.grid .card .sub { margin: 0; font-size: 13px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.swatches { display: flex; gap: 5px; flex: none; }
.swatch {
  width: 14px; height: 14px; border-radius: 50%; padding: 0; cursor: pointer; flex: none;
  background: var(--sw); border: 1px solid rgba(255,255,255,.25);
  transition: transform .15s var(--spring), box-shadow .2s;
}
.swatch:hover { transform: scale(1.18); }
.swatch.active { box-shadow: 0 0 0 2px var(--card), 0 0 0 3.5px var(--sw); }

.buy { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; }
.grid .price { margin: 0; display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.grid .price b { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.03em; white-space: nowrap; }
.grid .price .was { order: -1; font-size: 12px; color: var(--dim); white-space: nowrap; margin-bottom: 3px; }
.grid .price .was[hidden] { display: none; }

.add {
  flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 40px; padding: 0 15px; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line2); color: var(--ink);
  font: 600 14px var(--body); cursor: pointer; white-space: nowrap;
  transition: background .25s, border-color .25s, color .25s, transform .35s var(--spring);
}
.add i { font-size: 12px; }
.card:hover .add, .add:focus-visible { background: var(--amber); border-color: var(--amber); color: #1a1225; }
.add:hover { transform: translateY(-2px); }
.add:active { transform: scale(.94); }
.add.added, .card:hover .add.added { background: var(--mint); border-color: var(--mint); color: #12201c; }

/* ── boş / load more ─────────────────────────────── */
.empty { grid-column: 1 / -1; display: grid; justify-items: center; text-align: center; padding: 70px 20px 60px; color: var(--muted); }
.empty-i { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--field); border: 1px solid var(--line); color: var(--dim); font-size: 20px; margin-bottom: 16px; }
.empty b { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--ink); }
.empty p { margin: 6px 0 20px; font-size: 15px; }
.empty .btn { height: 46px; }
.more-wrap { text-align: center; margin-top: 34px; }
.more-wrap .btn { width: auto; min-width: 220px; height: 50px; }

/* ── nasıl çalışır ───────────────────────────────── */
.how { margin-top: 90px; padding: 44px; border-radius: 30px; background: linear-gradient(180deg, var(--card2), var(--card)); border: 1px solid var(--line); }
.how-title { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.03em; line-height: 1.05; }
.how-title .hl { color: var(--amber); }
.how-steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.how-steps li { counter-increment: s; position: relative; padding: 22px; border-radius: 20px; background: rgba(0,0,0,.18); border: 1px solid var(--line); }
.how-steps li::after { content: counter(s); position: absolute; right: 20px; top: 16px; font-family: var(--display); font-weight: 800; font-size: 34px; color: rgba(255,255,255,.06); }
.how-i { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: rgba(255,201,77,.12); color: var(--amber); font-size: 17px; margin-bottom: 16px; }
.how-steps b { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.how-steps p { margin-top: 6px; font-size: 15px; color: var(--muted); line-height: 1.5; }
.how-help { margin-top: 22px; font-size: 15px; color: var(--muted); }
.how-help a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.how-help a:hover { color: var(--amber); text-decoration-color: var(--amber); }

/* ── duyarlı ─────────────────────────────────────── */
@media (max-width: 1100px) {
  .toolbar .tabs { order: 3; flex: 1 1 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }   /* tek satır, yatay kaydırma */
  .toolbar .tabs::-webkit-scrollbar { display: none; }
  .toolbar .tab { flex: none; }
  .dh { grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; }
}
@media (max-width: 860px) {
  .dh { grid-template-columns: 1fr; }
  .dh-show { display: none; }
}
@media (max-width: 600px) {
  .page { padding-top: 104px; }
  .dh { margin-bottom: 26px; }
  .dh .lead { font-size: 16px; margin-top: 14px; }
  .search input { height: 46px; }
  .meta, .sort { font-size: 13px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .grid .card { padding: 7px; border-radius: 18px; }
  .art { border-radius: 12px; }
  .info { padding: 10px 4px 3px; }
  .grid .card h3 { font-size: 15px; }
  .grid .card .sub { font-size: 12px; }
  .grid .price b { font-size: 19px; }
  .add { width: 38px; height: 38px; padding: 0; }
  .add span { display: none; }
  .art .off { right: 6px; top: 6px; height: 22px; padding: 0 7px; font-size: 11px; }
  .np { gap: 5px; }
  .np-row { height: 30px; padding: 0 8px; gap: 7px; }
  .np-row.on { height: 36px; }
  .np-row .face { width: 20px; height: 20px; }
  .np-row em { font-size: 12px; }
  .coll { margin-top: 20px; }
  .coll h2 { font-size: 21px; }
  .coll-all { height: 30px; padding: 0 11px; font-size: 12.5px; }
  .coll.has-bn { aspect-ratio: 16 / 9; min-height: 0; border-radius: 18px; margin-top: 26px; }
  .coll-bn { object-position: 70% center; }
  .coll-logo { left: 5%; top: 34%; max-width: 70%; height: 30%; }
  .coll-bar { left: 5%; right: 5%; bottom: 8%; gap: 8px; }
  .coll.has-bn .coll-n { display: none; }   /* dar ekranda buton sığsın */
  .how { margin-top: 60px; padding: 24px 18px; border-radius: 24px; }
  .how-steps { grid-template-columns: 1fr; gap: 10px; }
}

/* ── cart ─────────────────────────────────────────── */
.cart-btn {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  height: 58px; width: 58px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--amber); border: none; color: #14101d;
  cursor: pointer; font-size: 20px;
  box-shadow: 0 16px 40px -14px rgba(0,0,0,.55);
  transition: transform .2s var(--spring);
}
.cart-btn:hover { transform: translateY(-3px) scale(1.03); }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px;
  padding: 0 6px; border-radius: 999px; display: grid; place-items: center;
  background: #14101d; color: #fff; font: 700 12px var(--body);
  box-shadow: 0 4px 10px -3px rgba(0,0,0,.5);
}

/* ── cart (slide-in drawer) ──────────────────────── */
.cart-backdrop {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(8,6,16,.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease);
}
.cart-backdrop.show { opacity: 1; pointer-events: auto; }

.cart-panel {
  position: fixed; left: 50%; top: 50%; z-index: 100;
  width: min(480px, calc(100vw - 28px)); max-height: min(640px, calc(100svh - 40px));
  display: flex; flex-direction: column; overflow: hidden;
  background: linear-gradient(180deg, var(--card2), var(--bg2));
  border: 1px solid var(--line2); border-radius: 24px;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.85);
  transform: translate(-50%, -50%) scale(.96); opacity: 0;
  transition: opacity .22s var(--ease), transform .32s var(--spring);
  pointer-events: none;
}
.cart-panel.open { transform: translate(-50%, -50%) scale(1); opacity: 1; pointer-events: auto; }

.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.cart-head h3 { font-family: var(--display); font-weight: 800; font-size: 24px; margin: 0; letter-spacing: -.02em; }
.cart-close { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--field); color: var(--muted); cursor: pointer; font-size: 15px; display: grid; place-items: center; transition: all .2s; }
.cart-close:hover { color: var(--ink); border-color: var(--line2); }

.cart-items { flex: 1; overflow-y: auto; padding: 18px 24px; display: grid; gap: 12px; align-content: start; }
.cart-empty { text-align: center; color: var(--dim); padding: 60px 0; font: 400 14px var(--body); }
.cart-empty i { display: block; font-size: 32px; margin-bottom: 12px; color: var(--dim); opacity: .6; }

.cart-item { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 16px; background: var(--field); border: 1px solid var(--line); }
.cart-item img { width: 56px; height: 56px; border-radius: 12px; object-fit: contain; background: var(--bg); border: 1px solid var(--line); padding: 4px; flex: none; }
.cart-item .ci-mid { flex: 1; min-width: 0; }
.cart-item .ci-name { font: 600 14px var(--body); color: var(--ink); line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-item .ci-price { font: 400 13px var(--body); color: var(--muted); margin-top: 3px; }
.cart-qty { display: flex; align-items: center; gap: 9px; }
.cart-qty button { width: 28px; height: 28px; border-radius: 9px; border: 1px solid var(--line); background: var(--bg); color: var(--muted); cursor: pointer; font-size: 12px; line-height: 1; display: grid; place-items: center; transition: all .15s; }
.cart-qty button:hover { color: var(--ink); border-color: var(--line2); }
.cart-qty b { min-width: 18px; text-align: center; font: 600 14px var(--body); }
.cart-rm { background: none; border: none; color: var(--dim); cursor: pointer; font-size: 14px; padding: 6px; transition: color .15s; }
.cart-rm:hover { color: var(--red); }

.cart-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 14px; background: var(--bg2); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; }
.cart-total span { font: 500 14px var(--body); color: var(--muted); }
.cart-total b { font-family: var(--display); font-weight: 800; font-size: 28px; color: var(--ink); }
#cart-checkout { width: 100%; height: 54px; background: var(--amber); color: #14101d; border: none; font-weight: 700; }
#cart-checkout:hover { filter: brightness(1.06); }
#cart-checkout:disabled { opacity: .6; cursor: default; }
.checkout-email {
  width: 100%; height: 48px; border-radius: 12px;
  background: var(--field); border: 1px solid var(--line);
  color: var(--ink); padding: 0 14px; font: 400 14px var(--body);
  outline: none; transition: border-color .2s;
}
.checkout-email:focus { border-color: color-mix(in srgb, var(--lav) 45%, transparent); }
.checkout-email::placeholder { color: var(--dim); }

/* ── add-to-cart feedback ────────────────────────── */
.cart-btn.bump { animation: bump .45s var(--spring); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.18); } 100% { transform: scale(1); } }

.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 18px);
  padding: 12px 20px; border-radius: 999px; z-index: 200; pointer-events: none;
  background: var(--card2); border: 1px solid var(--line2); color: var(--ink);
  font: 500 14px var(--body); box-shadow: 0 16px 40px -16px rgba(0,0,0,.6);
  opacity: 0; transition: opacity .25s var(--ease), transform .3s var(--spring);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* form / wl geçişi */
#d-form[hidden], #d-wl[hidden] { display: none !important; }

/* sepet (cart-modal dialog): ana sitenin .ci bileşeni */
#cart-modal .ci-list { overflow-y: auto; min-height: 0; padding: 0; max-height: none; -webkit-mask: none; mask: none; }
#cart-modal .ci { display: flex; align-items: center; gap: 10px; }
#cart-modal .ci-img { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; flex: none; }
#cart-modal .ci-n { flex: 1; min-width: 0; gap: 10px; align-items: center; }
#cart-modal .ci-n b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#cart-modal .cart-foot { margin-top: 14px; }
#cart-modal .cart-foot .linkbtn { margin-top: 10px; display: block; margin-left: auto; margin-right: auto; }
/* cart-foot: sitedeki sticky footer'ın koyu gradienti dialoga uymuyor → düz zemin */
#cart-modal .cart-foot {
  position: static; background: none; margin: 0; padding: 0;
}
/* sepet: 5 satırdan sonra kaydır */
#cart-modal .ci-list { overflow-y: auto; overscroll-behavior: contain; }
#cart-modal .ci-list::-webkit-scrollbar { width: 6px; }
#cart-modal .ci-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,.14); border-radius: 999px; }
#cart-modal .ci-list { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.14) transparent; }

/* checkout başlığı: View cart linki */
.mh .s .subcart {
  background: none; border: 0; padding: 0; margin: 0 0 0 2px;
  color: var(--lav); font: inherit; cursor: pointer;
  text-decoration: underline; text-underline-offset: 2px;
  transition: color .2s;
}
.mh .s .subcart:hover { color: var(--amber); }

/* sepet satırı: görsel + isim + each dikeyde ortalanmış */
#cart-modal .ci { align-items: center; }
#cart-modal .ci-n small { line-height: 1; }

/* mockup avatar = the account picture (the pixel cat in the navbar), filling the circle */
.face, .pf-av { background: url("/assets/images/mascot/avatar-cat.webp") 50% 50% / cover no-repeat, #3b2a63; }

/* moved here from the old theme.css copy when the page switched to /assets/css/shop.css (10 Nov 2026) */
#deco-modal .m-grid>.mb:first-child .lbl.ac-oh{margin-top:0}
.ac-l .it-img{width:30px;height:30px;border-radius:8px;object-fit:cover;flex:none;background:rgba(255,255,255,.05)}
.ac-l .it-n{font-family:var(--body);font-size:14px;font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ac-l .it-q{color:var(--dim);font-size:12.5px;flex:none}
.ac-l.it{align-items:center}
.acc-mbar.inl .amb-sum{flex:none}
.all-cta .btn{height:50px;padding:0 26px}

/* ===== mirror layout (draft, body.deco-v2, 11 Nov 2026): catalogue on the left, your profile on the right ===== */
.deco-v2 .dv2 { display: grid; grid-template-columns: minmax(0, 1fr) 296px; gap: 30px; align-items: start; }
.deco-v2 .dh { grid-template-columns: 1fr; margin-bottom: 30px; }
.deco-v2 .dh-title .hl { color: #c6b9ff; }
.deco-v2 .toolbar { flex-direction: column; align-items: stretch; }
.deco-v2 .toolbar .search { flex: none; }
.deco-v2 .toolbar .tabs { overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap; }
.deco-v2 .toolbar .tabs::-webkit-scrollbar { display: none; }
.deco-v2 .toolbar .tab { flex: none; }
.deco-v2 .grid { grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); }
.deco-v2 .card .off { display: none; }               /* the struck Discord price already says it, once per card was noise */
.deco-v2 .cart-btn { display: none; }                /* the mirror is the cart */
.mirror[hidden] { display: none; }
.deco-v2 .mirror { position: sticky; top: 88px; --ms: .74; }
@media (max-height: 860px) { .deco-v2 .mirror { --ms: .62; } }
@media (max-height: 720px) { .deco-v2 .mirror { --ms: .52; } }
.mr-in { padding: 14px 14px 14px; border-radius: 26px; background: linear-gradient(180deg, var(--card2), var(--card)); border: 1px solid var(--line); }
.mr-head { position: relative; z-index: 3; display: flex; align-items: baseline; gap: 8px; margin: 2px 4px 4px; }
.mr-head b { font-family: var(--display); font-weight: 700; font-size: 15.5px; flex: none; }
.mr-head small { font-size: 12px; color: var(--muted); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mr-x { display: none; }
.mr-stage { position: relative; height: calc(14px + 44px * var(--ms) + 384px * var(--ms) + 10px + 50px * var(--ms) + 6px); margin: 0 -4px; }
.mr-stage .dp { top: calc(14px + 44px * var(--ms)); rotate: 0deg; scale: var(--ms); transform-origin: 50% 0; transition: filter .3s; }   /* room above for frames that rise over the card */
.mr-stage .dp-card { transition: box-shadow .3s; }
.mr-stage.trying .dp-card { box-shadow: 0 0 0 2px rgba(198,185,255,.55), 0 20px 50px -20px rgba(143,114,255,.6); }
.mr-stage .dp-np { top: calc(14px + 44px * var(--ms) + 384px * var(--ms) + 10px); translate: -50% 0; rotate: 0deg; scale: var(--ms); transform-origin: 50% 0; }
.mr-stage .dp-np.bare { background: #221d31; }
.mr-stage img { animation: mrIn .35s var(--ease) both; }
@keyframes mrIn { from { opacity: 0; transform: scale(.97); } }
.mr-lines { display: grid; gap: 4px; max-height: 118px; overflow-y: auto; margin-top: 4px; scrollbar-width: thin; }
.mr-l { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 8px; padding: 5px 4px 5px 10px; border-radius: 11px; background: var(--field); border: 1px solid var(--line); font-size: 13px; }
.mr-l-t { font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--dim); }
.mr-l b { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mr-l b em { font-style: normal; color: var(--muted); font-weight: 500; }
.mr-l-p { font-weight: 600; color: var(--ink); }
.mr-l button { width: 26px; height: 26px; display: grid; place-items: center; border: 0; border-radius: 8px; background: none; color: var(--dim); font-size: 12px; cursor: pointer; transition: color .2s, background .2s; }
.mr-l button:hover { color: var(--ink); background: rgba(255,255,255,.06); }
.mr-foot { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.mr-tot { display: flex; justify-content: space-between; align-items: baseline; margin: 0 4px 10px; color: var(--muted); font-size: 13.5px; }
.mr-tot b { font-family: var(--display); font-size: 20px; color: var(--ink); }
.mr-foot .btn[disabled] { opacity: .45; cursor: default; box-shadow: none; }
.mr-bar { display: none; }
@media (max-width: 1100px) { .deco-v2 .dv2 { grid-template-columns: minmax(0, 1fr) 276px; gap: 22px; } }
.deco-v2 .mirror .mr-foot .btn { height: 46px; }
/* phones and small tablets: the mirror is a bar at the bottom that opens into a sheet */
@media (max-width: 900px) {
  .deco-v2 .dv2 { grid-template-columns: 1fr; }
  .deco-v2 .mirror { position: fixed; top: auto; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; }
  .deco-v2 .mirror .mr-in { display: none; }
  .deco-v2 .mirror.open .mr-in { display: block; max-height: calc(100dvh - 120px); overflow-y: auto; box-shadow: 0 30px 80px -10px rgba(0,0,0,.85); animation: mrUp .35s var(--ease) both; }
  .deco-v2 .mirror.open .mr-bar { display: none; }
  .deco-v2 .mr-x { display: grid; place-items: center; margin-left: auto; width: 32px; height: 32px; border: 0; border-radius: 10px; background: rgba(255,255,255,.06); color: var(--ink); }
  .mr-bar { display: flex; align-items: center; gap: 12px; width: 100%; height: 62px; padding: 0 16px 0 10px; border-radius: 20px; border: 1px solid var(--line2);
    background: #1c1630; color: var(--ink); box-shadow: 0 18px 40px -12px rgba(0,0,0,.8); text-align: left; cursor: pointer; }
  .mr-bar-av { width: 40px; height: 40px; flex: none; border-radius: 50%; background: url("/assets/images/mascot/avatar-cat.webp") 50% 50% / cover no-repeat, #3b2a63; }
  .mr-bar-t { display: grid; line-height: 1.2; min-width: 0; }
  .mr-bar-t b { font-size: 15px; }
  .mr-bar-t small { font-size: 12.5px; color: var(--muted); }
  .mr-bar-p { margin-left: auto; font-family: var(--display); font-size: 17px; }
  .mr-bar i { color: var(--muted); font-size: 12px; }
  .deco-v2 .page { padding-bottom: 90px; }
}
@keyframes mrUp { from { opacity: 0; transform: translateY(24px); } }

/* ── Ayna 2. adım: koleksiyon rafları ─────────────── */
.deco-v2 .grid.shelves { display: block; padding-top: 6px; }
.deco-v2 .dshelf { margin-top: 30px; padding: 0; }
.deco-v2 .dshelf:first-child { margin-top: 8px; }
.sh-head { display: flex; align-items: center; gap: 12px; min-height: 44px; margin: 0 2px 4px; }
.sh-head h2 { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.025em; line-height: 1.15; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-bn { position: relative; flex: none; width: 210px; height: 56px; border-radius: 14px; overflow: hidden; background: #15111f; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.sh-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; opacity: .4; }
.sh-logo { position: absolute; inset: 4px 8px; width: calc(100% - 16px); height: calc(100% - 8px); object-fit: contain; filter: drop-shadow(0 3px 8px rgba(0,0,0,.6)); }
.sh-r { margin-left: auto; display: flex; align-items: center; gap: 10px; flex: none; }
.sh-n { font-size: 14px; color: var(--dim); }
.sh-all {
  height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: none;
  color: var(--muted); font: 500 13.5px var(--body); cursor: pointer; transition: color .2s, border-color .2s;
}
.sh-all:hover { color: var(--ink); border-color: var(--line2); }
.sh-nav { display: flex; gap: 6px; }
.sh-arr {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--ink);
  display: grid; place-items: center; font-size: 11px; cursor: pointer; transition: border-color .2s, opacity .2s, background .2s;
}
.sh-arr:hover:not(:disabled) { border-color: var(--line2); background: var(--field); }
.sh-arr:disabled { opacity: .3; cursor: default; }
.dshelf.fits .sh-nav { display: none; }
.sh-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: 196px; gap: 14px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 2px;
  padding: 10px 2px 14px; margin: -4px -2px 0; scrollbar-width: none;
}
.sh-row::-webkit-scrollbar { display: none; }
.sh-row > .card { scroll-snap-align: start; }
@media (max-width: 900px) {
  .sh-nav { display: none; }
  .sh-row { grid-auto-columns: 168px; gap: 12px; margin: -4px -16px 0; padding: 10px 16px 14px; scroll-padding: 0 16px; }
  .sh-bn { width: 132px; height: 44px; }
  .sh-head h2 { font-size: 19px; }
}

.deco-v2 .dv2-main { min-width: 0; }
@media (max-width: 900px) { .deco-v2 .dv2 { grid-template-columns: minmax(0, 1fr); } }

/* 11 Nov: the mirror sits in the right margin, without a box, and does not bob */
@media (min-width: 901px) {
  .deco-v2 .dv2 { margin-right: calc(-1 * clamp(0px, (100vw - 1200px) / 2 - 28px, 150px)); }
  .deco-v2 .mr-in { background: none; border: 0; padding: 0; border-radius: 0; }
  .deco-v2 .mr-head { margin: 0 2px 4px; }
  .deco-v2 .mr-stage { margin: 0; }
}
.mr-stage .dp, .mr-stage .dp-np { animation: none; }

/* 11 Nov: shelves fade out at the edges instead of being cut */
@property --fl { syntax: "<length>"; inherits: false; initial-value: 0px; }
@property --fr { syntax: "<length>"; inherits: false; initial-value: 0px; }
.sh-row {
  --fl: 56px; --fr: 96px; transition: --fl .3s, --fr .3s;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fl), #000 calc(100% - var(--fr)), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 var(--fl), #000 calc(100% - var(--fr)), transparent);
}
.dshelf.at-start .sh-row { --fl: 0px; }
.dshelf.at-end .sh-row, .dshelf.fits .sh-row { --fr: 0px; }
@media (max-width: 900px) { .sh-row { --fl: 0px; --fr: 40px; } }

/* the profile rail: a soft spotlight and a floor, the cart behind one button */
.deco-v2 .mirror .mr-lines { display: none; }
.deco-v2 .mr-stage::before {
  content: ""; position: absolute; left: 50%; top: 46%; width: 125%; aspect-ratio: 1; translate: -50% -50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(143,114,255,.22), rgba(143,114,255,.07) 55%, transparent);
}
.deco-v2 .mr-stage::after {
  content: ""; position: absolute; left: 50%; bottom: -4px; width: 78%; height: 22px; translate: -50% 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0,0,0,.55), transparent); z-index: -1;
}
.deco-v2 .mr-foot { margin-top: 14px; padding-top: 0; border-top: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; }
.mr-cart {
  position: relative; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line2); background: rgba(255,255,255,.03); color: var(--ink); font: 600 14px var(--body); cursor: pointer;
  transition: border-color .2s, background .2s, transform .25s var(--spring);
}
.mr-cart i { font-size: 13px; color: #c6b9ff; }
.mr-cart:hover:not(:disabled) { border-color: rgba(198,185,255,.5); background: rgba(198,185,255,.08); }
.mr-cart:active:not(:disabled) { transform: scale(.96); }
.mr-cart:disabled { color: var(--dim); cursor: default; }
.mr-cart:disabled i { color: var(--dim); }
.mr-cart.bump { animation: mrBump .45s var(--spring); }
@keyframes mrBump { 40% { transform: scale(1.07); } }
.mr-go { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 16px; min-width: 0; }
.mr-go b { font-family: var(--display); font-weight: 800; opacity: .75; }
.mr-go i { font-size: 12px; }
@media (min-width: 901px) {
  .deco-v2 .mirror::before {   /* a hairline that separates the rail from the shop without boxing it in */
    content: ""; position: absolute; left: -16px; top: 24px; bottom: 24px; width: 1px;
    background: linear-gradient(180deg, transparent, var(--line2) 20%, var(--line2) 80%, transparent);
  }
}

/* 11 Nov: on phones the type tabs scroll; fade the cut edge so it reads as "more this way" */
@media (max-width: 900px) {
  .deco-v2 .toolbar .tabs {
    --fl: 0px; --fr: 48px; transition: --fl .3s, --fr .3s;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fl), #000 calc(100% - var(--fr)), transparent);
            mask-image: linear-gradient(90deg, transparent, #000 var(--fl), #000 calc(100% - var(--fr)), transparent);
  }
  .deco-v2 .toolbar .tabs.scrolled { --fl: 36px; }
  .deco-v2 .toolbar .tabs.at-end { --fr: 0px; }
}

/* 12 Nov: "All collections" — a plain index of every set under the shop (also gives search engines real links and names) */
.dcoll { margin: 56px 2px 0; padding-top: 26px; border-top: 1px solid var(--line); }
.dcoll h2 { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -.02em; margin-bottom: 14px; }
.dcoll ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.dcoll a { display: inline-flex; align-items: baseline; gap: 7px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: 13.5px; text-decoration: none; transition: color .2s, border-color .2s; }
.dcoll a span { font-size: 12px; color: var(--dim); }
.dcoll a:hover { color: var(--ink); border-color: var(--line2); }
#more[hidden] { display: none; }   /* .btn sets display and was beating [hidden]: "Show more · 0 left" stayed on screen */
