/* ==========================================================================
   SHINY — Paper World
   ========================================================================== */

:root {
  --paper: #F3EEE4;
  --paper-2: #EBE5D8;
  --ink: #161616;
  --ink-soft: #5b554c;
  --red: #C8321E;
  --line: rgba(22, 22, 22, .12);

  --f-head: 'Public Sans', system-ui, sans-serif;
  --f-body: 'DM Sans', system-ui, sans-serif;
  --f-hand: 'Caveat', 'Comic Sans MS', cursive;

  --wrap: 1280px;
  --gutter: clamp(16px, 3vw, 40px);
  --header-h: 84px;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-back: cubic-bezier(.34, 1.4, .64, 1);
  --shadow: 0 14px 30px -12px rgba(40, 28, 12, .28), 0 4px 10px -4px rgba(40, 28, 12, .12);
  --shadow-up: 0 26px 40px -18px rgba(40, 28, 12, .30), 0 6px 12px -6px rgba(40, 28, 12, .10);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
/* Çeviri seçiliyse: çeviri bitene kadar sayfa gizli (bkz. <head> ve common.js) */
html.gt-pending body { opacity: 0; }
body { transition: opacity .25s ease; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--paper);
  /* hafif kâğıt dokusu */
  background-image:
    radial-gradient(rgba(22,22,22,.035) 1px, transparent 0),
    radial-gradient(rgba(120,90,40,.025) 1px, transparent 0);
  background-size: 22px 22px, 7px 7px;
  background-position: 0 0, 3px 5px;
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; padding: 0; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.hand { font-family: var(--f-hand); font-weight: 500; }
.hand--muted { color: var(--ink-soft); font-size: 1.35rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--ink); color: #fff; padding: 8px 14px; }
.skip-link:focus { left: 8px; }

.eyebrow { font-family: var(--f-head); font-size: .75rem; font-weight: 700; letter-spacing: .22em; }
.display {
  font-family: var(--f-head); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.3rem, 6vw, 5rem); line-height: .95; letter-spacing: -.02em;
}

/* Yırtık kâğıt kenarı */
.tear { display: block; width: 100%; height: 34px; fill: var(--paper); pointer-events: none; }
.tear--up { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3; }
.tear--down { transform: scaleY(-1); margin-top: -1px; filter: drop-shadow(0 -3px 3px rgba(0,0,0,.08)); }
.tear--ink { fill: #181716; position: absolute; top: -33px; bottom: auto; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: #fff;
  transition: background-color .35s ease, color .35s ease, box-shadow .35s ease;
}
.nav {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter);
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  transition: height .35s var(--ease);
}
.site-header.is-solid, .site-header.is-open {
  background: var(--paper); color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-solid .nav { height: 64px; }

.nav__main, .nav__utils { display: flex; gap: clamp(18px, 2.6vw, 40px); }
.nav__utils { justify-self: end; gap: 6px; align-items: center; }
.nav__link {
  position: relative;
  font-family: var(--f-head); font-weight: 700; font-size: .75rem; letter-spacing: .2em;
  padding: 8px 0;
}
.nav__link::after { /* elle çizilmiş alt çizgi */
  content: ""; position: absolute; left: -2px; right: -2px; bottom: 0; height: 6px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M2 6C20 2 30 9 48 5S80 2 96 6 114 5 118 4' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M2 6C20 2 30 9 48 5S80 2 96 6 114 5 118 4' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  clip-path: inset(0 100% 0 0);
  transition: clip-path .35s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-expanded="true"]::after { clip-path: inset(0 0 0 0); }
/* Sağ üst ikonlar: arama, hesap, sepet */
.nav__icon { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; transition: background-color .2s, transform .3s var(--ease); }
.nav__icon svg { width: 22px; height: 22px; }
.nav__icon:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.site-header.is-solid .nav__icon:hover, .site-header.is-open .nav__icon:hover { background: rgba(22,22,22,.07); }
.nav__icon[aria-expanded="true"] { background: rgba(22,22,22,.08); }
.nav__badge {
  position: absolute; top: 2px; right: 0; min-width: 17px; height: 17px; padding: 0 4px;
  display: grid; place-items: center; border-radius: 999px;
  background: var(--red); color: #fff; font: 700 .62rem/1 var(--f-head);
  transition: transform .3s var(--ease-back);
}
.nav__badge.is-empty { transform: scale(0); }
.nav__bag { display: grid; }
.nav__bag.is-dipping { animation: bagDip .55s var(--ease); }
@keyframes bagDip {
  0% { transform: translateY(0); }
  35% { transform: translateY(6px) scaleY(.94); }
  70% { transform: translateY(-1px); }
  100% { transform: translateY(0); }
}
.nav__menu-btn { display: none; justify-self: end; font-family: var(--f-head); font-weight: 700; font-size: .75rem; letter-spacing: .2em; }

/* Logo — yalnızca içindeki roket hareket eder */
.logo { justify-self: start; display: inline-flex; }
.logo__word { font-family: var(--f-head); font-weight: 900; font-size: 1.75rem; letter-spacing: -.02em; line-height: 1; white-space: nowrap; }
/* Roket = I harfi */
.logo__i { position: relative; display: inline-block; width: .5em; height: .72em; margin: 0 .01em; }
.logo__ship {
  position: absolute; left: 50%; bottom: -.12em; width: .66em; height: .88em; margin-left: -.33em;
  transition: transform .45s var(--ease-back);
}
.logo__rocket { display: block; width: 100%; height: 100%; color: currentColor; --rocket-fin: var(--red); --rocket-window: transparent; }
.logo:hover .logo__ship { transform: translateY(-4px) rotate(-6deg); }

/* Roketin alevi: yalnızca uçarken görünür */
.logo__flame {
  position: absolute; left: 50%; top: 84%; width: .2em; height: .42em; margin-left: -.1em;
  border-radius: 50% 50% 50% 50% / 30% 30% 70% 70%;
  background: radial-gradient(ellipse at 50% 18%, #fff7cf 0 18%, #ffc23d 38%, #f0621f 66%, rgba(240,98,31,0) 72%);
  transform-origin: 50% 0; opacity: 0; pointer-events: none;
}

/* Site açılışı: roket ekranın altından uçup I'nın yerine iner */
.logo--launch .logo__ship { animation: rocketLaunch 1.7s cubic-bezier(.4, .05, .3, 1) .25s backwards; /* backwards: bitince hover serbest kalır */ }
.logo--launch .logo__flame { animation: flameLife 1.7s linear .25s both, flameFlicker .09s ease-in-out .25s 18 alternate; }
.logo--launch .logo__i::after { /* inişte küçük toz bulutu */
  content: ""; position: absolute; left: 50%; bottom: -.14em; width: .9em; height: .22em; margin-left: -.45em;
  border-radius: 50%; background: radial-gradient(ellipse, rgba(255,255,255,.75), rgba(255,255,255,0) 70%);
  opacity: 0; animation: landPuff .7s ease-out 1.72s both;
}
.site-header.is-solid .logo--launch .logo__i::after { background: radial-gradient(ellipse, rgba(120,100,70,.45), rgba(120,100,70,0) 70%); }

@keyframes rocketLaunch {
  0%   { transform: translate(34vw, 92vh) rotate(-24deg) scale(3.2); opacity: 0; }
  8%   { opacity: 1; }
  55%  { transform: translate(5vw, -46px) rotate(-18deg) scale(1.7); }
  72%  { transform: translate(0, -30px) rotate(5deg) scale(1.15); }
  86%  { transform: translate(0, 2px) rotate(0) scale(1); }
  93%  { transform: translate(0, -3px); }
  100% { transform: none; opacity: 1; }
}
@keyframes flameLife { 0%, 80% { opacity: 1; } 90%, 100% { opacity: 0; } }
@keyframes flameFlicker { from { transform: scale(.85, .8); } to { transform: scale(1.1, 1.25); } }
@keyframes landPuff {
  0% { opacity: 0; transform: scale(.2); }
  25% { opacity: 1; }
  100% { opacity: 0; transform: scale(2.4, 1.6); }
}
.logo--ink { color: var(--ink); }
.logo--light { color: var(--paper); }

/* ==========================================================================
   SHOP menü (kâğıt)
   ========================================================================== */
.shop-menu, .find-panel { position: absolute; left: 0; right: 0; top: 100%; color: var(--ink); }
.shop-menu__paper, .find-panel__paper { background: var(--paper); }
.shop-menu__grid {
  max-width: var(--wrap); margin: 0 auto; padding: 28px var(--gutter) 34px;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px;
}
.shop-menu__item a { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 8px; text-align: center; }
.shop-menu__obj {
  width: 100%; aspect-ratio: 1; border-radius: 3px; overflow: hidden;
  box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s ease;
}
.shop-menu__obj img { width: 100%; height: 100%; object-fit: cover; }
.shop-menu__name { position: relative; font-family: var(--f-head); font-weight: 800; letter-spacing: .12em; font-size: .85rem; }
.shop-menu__name::after {
  content: "→"; position: absolute; right: -26px; top: 50%; transform: translate(8px, -50%); opacity: 0;
  transition: transform .3s var(--ease), opacity .2s;
}
.shop-menu__sub { font-size: .8rem; color: var(--ink-soft); line-height: 1.3; }
.shop-menu__item a:hover .shop-menu__obj { transform: translateY(-4px); box-shadow: var(--shadow-up); }
.shop-menu__item a:hover .shop-menu__name::after { transform: translate(0, -50%); opacity: 1; }
.shop-menu__item a:hover .shop-menu__name { text-decoration: underline wavy rgba(22,22,22,.5) 1.5px; text-underline-offset: 5px; }

/* objeler farklı yönlerden gelip yerine oturur */
.shop-menu.is-open .shop-menu__item { animation: objIn .5s var(--ease-back) both; animation-delay: calc(var(--i) * 45ms); }
.shop-menu__item:nth-child(odd)  { --from: translate(-14px, 18px) rotate(-5deg); }
.shop-menu__item:nth-child(even) { --from: translate(12px, -14px) rotate(4deg); }
@keyframes objIn { from { opacity: 0; transform: var(--from); } to { opacity: 1; transform: none; } }

/* FIND paneli */
.find-panel__paper { max-width: none; padding: 30px var(--gutter) 34px; }
.find-panel__paper > * { max-width: 860px; margin-left: auto; margin-right: auto; }
.find-panel__label { display: block; font-family: var(--f-head); font-weight: 800; font-size: 1.1rem; letter-spacing: .04em; margin-bottom: 10px; }
.find-panel__input { display: block;
  width: 100%; border: 0; border-bottom: 2px solid var(--ink); background: transparent;
  font-size: clamp(1.4rem, 3vw, 2rem); padding: 6px 0 10px; outline: none;
}
.find-panel__input::placeholder { color: #a39c90; }
.find-panel__results { margin-top: 18px; display: grid; gap: 6px; }
.find-result { display: flex; align-items: center; gap: 14px; padding: 6px; border-radius: 3px; }
.find-result:hover, .find-result:focus-visible { background: var(--paper-2); }
.find-result img { width: 52px; height: 52px; object-fit: cover; border-radius: 2px; }
.find-empty strong { display: block; font-family: var(--f-head); font-size: 1.2rem; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 560px; max-height: 1000px;
  overflow: hidden; background: #2a1d12; color: #fff;
}
.hero__scene { position: absolute; inset: -12px; will-change: transform; transition: transform .6s var(--ease); }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; } /* main.js OBJ_X ile aynı */.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(20,12,4,.62) 0%, rgba(20,12,4,.25) 42%, rgba(20,12,4,0) 65%),
    linear-gradient(0deg, rgba(20,12,4,.55) 0%, rgba(20,12,4,0) 35%),
    linear-gradient(180deg, rgba(20,12,4,.45) 0%, rgba(20,12,4,0) 20%);
}

/* Gözler: görselin üzerine yerleştirilen ayrı katman (konumu JS hesaplar); görseldeki gözlerin üstünü örter */
.hero__eyes { position: absolute; inset: 0; pointer-events: none; }
.eye {
  position: absolute; border-radius: 50%; overflow: hidden;
  background: radial-gradient(ellipse at 45% 35%, #eee7dc 0%, #d8cfc2 55%, #a99e90 100%);
  box-shadow: inset 0 0 0 1.5px rgba(40,25,10,.45), 0 0 6px rgba(0,0,0,.35);
}
.eye__pupil {
  position: absolute; left: 50%; top: 50%; width: 52%; height: 44%;
  background: radial-gradient(circle at 35% 30%, #fff 0 12%, #2b221c 14% 100%);
  border-radius: 50%;
  transform: translate(calc(-50% + var(--px, 0px)), calc(-50% + var(--py, 0px)));
  transition: transform .18s ease-out;
}
.eye__lid {
  position: absolute; inset: 0; background: #1b120b; transform: scaleY(0); transform-origin: top;
}
.hero__eyes.is-blinking .eye__lid { animation: blink .32s ease-in-out; }
@keyframes blink { 0%,100% { transform: scaleY(0); } 45%,55% { transform: scaleY(1); } }

.hero__content {
  position: relative; z-index: 2; height: 100%;
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter) clamp(80px, 14vh, 150px);
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  will-change: transform; transition: transform .6s var(--ease);
}
.hero__title {
  font-size: clamp(3.4rem, 6.4vw, 6.6rem); font-weight: 700; line-height: .86;
  transform: rotate(-4deg); transform-origin: left bottom;
  text-shadow: 0 3px 18px rgba(0,0,0,.35);
}
.hero__line { display: block; }
.hero__line + .hero__line { padding-left: .5em; }
.hero__sub {
  display: flex; align-items: flex-end; gap: 8px;
  margin: 14px 0 0 clamp(60px, 10vw, 200px);
  font-size: clamp(1.4rem, 2.2vw, 2rem); color: #fbeed6; transform: rotate(-4deg);
}
.hero__arrow { width: 46px; height: 32px; color: #f2d492; transform: scaleX(-1) rotate(-10deg); margin-bottom: 14px; }
.hero__cta {
  margin-top: 38px; display: inline-flex; gap: 10px; align-items: center;
  font-family: var(--f-head); font-weight: 700; font-size: .85rem; letter-spacing: .22em;
  padding-bottom: 6px; border-bottom: 2px solid currentColor;
}
.hero__cta span { transition: transform .3s var(--ease); }
.hero__cta:hover span { transform: translateX(6px); }

/* ~1 sn açılış: oda, sonra metin; geçilemeyen intro yok */
.js .hero__scene { animation: sceneIn 1s var(--ease) both; }
.js .hero__title .hero__line, .js .hero__sub, .js .hero__cta { animation: riseIn .7s var(--ease) both; }
.js .hero__line:nth-child(1) { animation-delay: .25s; }
.js .hero__line:nth-child(2) { animation-delay: .38s; }
.js .hero__sub { animation-delay: .55s; }
.js .hero__cta { animation-delay: .7s; }
@keyframes sceneIn { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
@keyframes riseIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.js .hero__sub { animation-name: riseInTilt; }
@keyframes riseInTilt { from { opacity: 0; transform: translateY(16px) rotate(-4deg); } to { opacity: 1; transform: rotate(-4deg); } }

/* ==========================================================================
   KATEGORİ ŞERİDİ
   ========================================================================== */
.categories { padding: clamp(48px, 7vw, 90px) 0 clamp(40px, 5vw, 70px); }
.section-head--row { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.cat-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.cat {
  --rot: 0deg;
  display: flex; flex-direction: column; height: 100%;
  background: var(--c); color: var(--ink);
  padding: 14px 14px 16px; border-radius: 2px;
  transform: rotate(var(--rot)); box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s ease;
}
.cat.is-dark { color: var(--paper); }
.cat:hover { transform: rotate(var(--rot)) translateY(-4px); box-shadow: var(--shadow-up); }
.cat__img { aspect-ratio: 1; overflow: hidden; border-radius: 2px; box-shadow: 0 6px 14px -6px rgba(0,0,0,.35); }
.cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat:hover .cat__img img { transform: scale(1.06); }
.cat__name { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-family: var(--f-hand); font-size: 1.7rem; font-weight: 700; line-height: 1; }
.cat__name span:last-child { font-family: var(--f-body); font-size: 1rem; transition: transform .3s var(--ease); }
.cat:hover .cat__name span:last-child { transform: translate(3px, -3px); }
.cat__sub { margin-top: 6px; font-size: .82rem; line-height: 1.3; opacity: .85; }

/* ==========================================================================
   ÜRÜNLER
   ========================================================================== */
.products { padding: clamp(30px, 5vw, 60px) 0 clamp(100px, 12vw, 160px); }
.products__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.products__count { margin-top: 12px; display: flex; align-items: center; gap: 6px; font-size: 1.05rem; color: var(--ink-soft); }
.inline-arrow { width: 40px; height: 26px; color: var(--ink-soft); }
.products__reset { font-family: var(--f-head); font-weight: 700; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; border-bottom: 1.5px solid var(--ink); padding: 2px 0; margin-left: 10px; color: var(--ink); }
@keyframes panelIn { from { opacity: 0; transform: translateY(-8px) scaleY(.96); } to { opacity: 1; transform: none; } }

/* --- Izgara --- */
.grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(32px, 3.4vw, 52px) clamp(16px, 2vw, 28px);
  margin-top: 44px;
  
}

/* --- Ürün kartı --- */
.card { position: relative; opacity: 1; }
.card.is-entering { opacity: 0; transform: translateY(26px) rotate(var(--tilt, 0deg)); }
.card.is-in { transition: opacity .6s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }

.card__stage {
  position: relative; display: block; aspect-ratio: 1 / 1.02; border-radius: 2px;
  background: var(--bg);
  box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s ease;
  overflow: hidden;
}
.card:hover .card__stage, .card:focus-within .card__stage { transform: translateY(-4px); box-shadow: var(--shadow-up); }

/* ürün: sahneye konmuş fotoğraf "baskısı" */
.card__photo {
  position: absolute; inset: 13% 11% 17%;
  transform: rotate(var(--tilt, -1.5deg));
  transition: transform .45s var(--ease);
}
.card__photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 16px 22px -12px rgba(40,28,12,.55), 0 2px 4px rgba(40,28,12,.15);
  transition: opacity .45s ease, transform .6s var(--ease);
}
.card__photo img.is-flip { transform: scaleX(-1); }
.card__photo .img2 { opacity: 0; }
.card.has-img2:hover .img1 { opacity: 0; }
.card.has-img2:hover .img2 { opacity: 1; }
.card:hover .card__photo { transform: rotate(0deg) translateY(-3px); }

.card__keep {
  position: absolute; top: 12px; right: 14px; z-index: 3;
  font-family: var(--f-head); font-weight: 700; font-size: .68rem; letter-spacing: .2em; color: rgba(22,22,22,.6);
  padding: 6px 4px; transition: color .2s;
}
.card__keep:hover { color: var(--ink); }
.card.is-dark .card__keep { color: rgba(243,238,228,.7); }
.card.is-dark .card__keep:hover { color: #fff; }
.card__tape {
  position: absolute; top: 10px; right: 14px; z-index: 4; pointer-events: none;
  padding: 6px 16px; font-family: var(--f-hand); font-size: 1.15rem; font-weight: 700; color: #3a332a;
  background: rgba(240, 232, 205, .92);
  box-shadow: 0 1px 3px rgba(0,0,0,.18);
  clip-path: polygon(3% 8%, 12% 0, 25% 6%, 40% 0, 55% 5%, 70% 0, 85% 6%, 100% 2%, 97% 50%, 100% 96%, 85% 100%, 70% 94%, 55% 100%, 40% 95%, 25% 100%, 10% 94%, 0 100%, 3% 50%);
  transform: rotate(7deg) scale(0); transform-origin: 70% 30%;
}
.card.is-kept .card__tape { animation: tapeOn .45s var(--ease-back) forwards; }
.card.is-kept .card__keep { opacity: 0; z-index: 5; } /* bandın üstünde görünmez kalır; tıklama/klavye ile kayıt kaldırılır */
@keyframes tapeOn { 0% { transform: rotate(18deg) scale(1.35) translateY(-10px); opacity: 0; } 100% { transform: rotate(7deg) scale(1); opacity: 1; } }

.card__stamp {
  position: absolute; left: 50%; top: 48%; z-index: 3; pointer-events: none;
  padding: 6px 16px; border: 3px solid var(--red); color: var(--red); background: rgba(255,250,240,.82);
  font-family: var(--f-head); font-weight: 900; letter-spacing: .2em; font-size: 1.1rem;
  transform: translate(-50%, -50%) rotate(-11deg);
  -webkit-mask: radial-gradient(circle at 30% 40%, #000 60%, rgba(0,0,0,.75) 100%);
}

.card__note {
  position: absolute; left: 0; right: 0; bottom: 64px; z-index: 3; text-align: center;
  font-family: var(--f-hand); font-size: 1.25rem; color: #3a332a;
  opacity: 0; transform: translateY(6px) rotate(-2deg); transition: opacity .3s ease, transform .35s var(--ease);
  pointer-events: none;
}
.card.is-dark .card__note { color: #efe6d4; }
.card:hover .card__note { opacity: 1; transform: translateY(0) rotate(-2deg); }

.card__buy {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 3;
  height: 42px; border-radius: 999px;
  background: var(--ink); color: #fff;
  font-family: var(--f-head); font-weight: 800; font-size: .74rem; letter-spacing: .22em;
  opacity: 0; transform: translateY(10px);
  transition: opacity .25s ease, transform .35s var(--ease), background-color .2s;
}
.card.is-dark .card__buy { background: var(--paper); color: var(--ink); }
.card:hover .card__buy, .card:focus-within .card__buy { opacity: 1; transform: none; }
.card__buy:hover { background: var(--red); color: #fff; }
.card__buy.is-coming { background: var(--red); color: #fff; }

.card__info { display: flex; justify-content: space-between; gap: 14px; margin-top: 16px; }
.card__name { font-family: var(--f-head); font-weight: 800; font-size: .86rem; text-transform: uppercase; letter-spacing: .01em; line-height: 1.25; }
.card__price { font-weight: 500; white-space: nowrap; }
.card__cat { font-size: .72rem; letter-spacing: .18em; font-family: var(--f-head); font-weight: 600; color: var(--ink-soft); margin-top: 4px; }


/* ==========================================================================
   SEPETE UÇUŞ
   ========================================================================== */
.fly-layer { position: fixed; inset: 0; pointer-events: none; z-index: 100; }
.flyer {
  position: fixed; width: 64px; height: 64px; border-radius: 4px; overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,.25);
}
.flyer img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { position: relative; background: #181716; color: #d8d1c4; padding: 70px 0 30px; }
.footer__inner { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.footer__sign { font-size: 2rem; color: #f2c94c; margin-top: 12px; transform: rotate(-3deg); transform-origin: left; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__head { font-family: var(--f-head); font-weight: 800; font-size: .7rem; letter-spacing: .24em; color: #fff; margin-bottom: 14px; }
.footer__cols li { margin-bottom: 8px; font-size: .92rem; }
.footer__cols a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer__legal { margin-top: 60px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: #8f887c; }

/* ==========================================================================
   MOBİL MENÜ
   ========================================================================== */
.mobile-menu {
  position: fixed; inset: 0; z-index: 80; overflow-y: auto;
  background: var(--paper); color: var(--ink); padding: 18px 22px 40px;
  animation: panelIn .3s var(--ease);
}
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; height: 48px; }
.mobile-menu__close { font-family: var(--f-head); font-weight: 700; letter-spacing: .18em; font-size: .8rem; padding: 10px 0 10px 10px; }
.mobile-menu__shop summary, .mobile-menu__big {
  display: flex; justify-content: space-between; align-items: center; padding: 18px 0;
  font-family: var(--f-head); font-weight: 900; font-size: 2rem; letter-spacing: -.01em; border-bottom: 1px solid var(--line);
  list-style: none; cursor: pointer;
}
.mobile-menu__shop summary::-webkit-details-marker { display: none; }
.mobile-menu__shop summary::after { content: "⌄"; font-size: 1.4rem; transition: transform .3s; }
.mobile-menu__shop[open] summary::after { transform: rotate(180deg); }
.mobile-menu__big::after { content: "›"; font-weight: 400; }
.mobile-menu__shop li a { display: flex; align-items: center; gap: 18px; padding: 8px 0; border-bottom: 1px solid var(--line); font-family: var(--f-head); font-weight: 700; letter-spacing: .2em; font-size: .85rem; }
.mobile-menu__shop li img { width: 72px; height: 54px; object-fit: cover; border-radius: 2px; }
.mobile-menu__sign { font-size: 1.8rem; margin-top: 30px; transform: rotate(-3deg); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .cat-strip { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .shop-menu__grid { grid-template-columns: repeat(3, 1fr); }
  .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  /* mobil: arama, sakladıklarım, sepet ikonları MENÜ yazısının solunda */
  .nav { grid-template-columns: 1fr auto auto; }
  .nav__main { display: none; }
  .nav__utils { gap: 4px; }
  .nav__icon { width: 44px; height: 44px; }
  .nav__icon svg { width: 25px; height: 25px; }
  .nav__badge { min-width: 19px; height: 19px; font-size: .68rem; top: 3px; right: 1px; }
  .nav__menu-btn { display: block; margin-left: 14px; padding: 12px 0; font-size: .88rem; letter-spacing: .16em; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 34px 14px; }
  .card__buy { opacity: 1; transform: none; height: 36px; font-size: .64rem; left: 10px; right: 10px; bottom: 10px; }
  .card__note { display: none; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero__sub { margin-left: 20px; }
}
@media (max-width: 560px) {
  .cat-strip { grid-template-columns: repeat(2, 1fr); }
  .section-head--row { flex-direction: column; gap: 4px; }
  .card__name { font-size: .78rem; }
  .card__price { font-size: .85rem; }
  .card__info { flex-direction: column; gap: 2px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}

/* Dokunmatik cihazlarda hover yok — işlevler tek dokunuşla erişilebilir */
@media (hover: none) {
  .card__buy { opacity: 1; transform: none; }
}

/* Hareket azaltma */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero__scene, .hero__content { transform: none !important; }
  .card.is-entering { opacity: 1; transform: none; }
}

/* ==========================================================================
   DİL SEÇİCİ — sol altta sabit, yukarı açılan bayraklı liste
   ========================================================================== */
.langfloat {
  position: fixed; left: 16px; bottom: 16px; z-index: 90;
  font-family: var(--f-body); color: var(--ink);
}
.langfloat__btn {
  display: flex; align-items: center; gap: 9px;
  height: 42px; padding: 0 12px 0 10px;
  background: #fff; border-radius: 6px;
  box-shadow: 0 6px 20px -6px rgba(30, 20, 10, .28), 0 1px 3px rgba(30, 20, 10, .12);
  font-weight: 600; font-size: .86rem; letter-spacing: .04em;
  transition: box-shadow .2s, transform .25s var(--ease);
}
.langfloat__btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(30, 20, 10, .35), 0 1px 3px rgba(30, 20, 10, .12); }
.langfloat__chev { width: 10px; height: 6px; transition: transform .25s var(--ease); }
.langfloat.is-open .langfloat__chev { transform: rotate(180deg); }
.langfloat .flag { width: 24px; height: 16px; flex: none; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }

.langfloat__list {
  position: absolute; left: 0; bottom: calc(100% + 8px);
  min-width: 200px; max-height: min(320px, 60vh); overflow-y: auto; padding: 6px;
  background: #fff; border-radius: 6px;
  box-shadow: 0 18px 40px -12px rgba(30, 20, 10, .35), 0 2px 6px rgba(30, 20, 10, .1);
  opacity: 0; transform: translateY(8px) scale(.98); transform-origin: bottom left;
  transition: opacity .2s ease, transform .25s var(--ease);
}
.langfloat.is-open .langfloat__list { opacity: 1; transform: none; }
.langfloat__list button {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 9px 10px; border-radius: 4px; text-align: left; font-size: .9rem;
}
.langfloat__list button:hover, .langfloat__list button:focus-visible { background: var(--paper); outline: none; }
.langfloat__list [aria-selected="true"] button { font-weight: 700; background: var(--paper-2); }
.langfloat__list [aria-selected="true"] button::after { content: "✓"; margin-left: auto; font-size: .8rem; }

/* Google Translate motoru görünmez çalışır; üst bandı ve ipuçlarını gizle */
.gt-hidden { position: absolute !important; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; }
body { top: 0 !important; position: static !important; }
.goog-te-banner-frame, iframe.skiptranslate, .VIpgJd-ZVi9od-ORHb-OEVmcd, #goog-gt-tt, .goog-te-balloon-frame, .goog-tooltip,
.goog-te-spinner-pos, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf, .VIpgJd-ZVi9od-aZ2wEe-OiiCO { display: none !important; }
font[style] { background: none !important; box-shadow: none !important; } /* çeviri vurgusu */

@media (max-width: 560px) {
  .langfloat { left: 12px; bottom: 12px; }
  .langfloat__btn { height: 38px; }
}

/* ==========================================================================
   BUTONLAR
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 26px; border-radius: 999px;
  font-family: var(--f-head); font-weight: 800; font-size: .76rem; letter-spacing: .2em;
  transition: background-color .2s, color .2s, transform .25s var(--ease);
}
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--red); }
.btn--line { border: 1.5px solid var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--block { width: 100%; }
.btn:active { transform: scale(.98); }

/* Adet kontrolü */
.qty { display: inline-flex; align-items: center; border: 1.5px solid rgba(22,22,22,.2); border-radius: 999px; height: 34px; }
.qty button { width: 32px; height: 100%; font-size: 1.05rem; line-height: 1; border-radius: 999px; }
.qty button:hover:not(:disabled) { background: rgba(22,22,22,.06); }
.qty button:disabled { opacity: .3; cursor: default; }
.qty span { min-width: 22px; text-align: center; font-weight: 700; font-size: .9rem; }

/* ==========================================================================
   SEPET PANELİ (sağdan açılır)
   ========================================================================== */
.drawer { position: fixed; inset: 0; z-index: 120; }
.drawer__backdrop {
  position: absolute; inset: 0; background: rgba(24, 16, 8, .45);
  opacity: 0; transition: opacity .4s ease;
}
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100vw);
  background: var(--paper); display: flex; flex-direction: column;
  box-shadow: -20px 0 50px -20px rgba(0,0,0,.35);
  transform: translateX(104%);
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
}
/* sol kenar: yırtık kâğıt */
.drawer__panel::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -11px; width: 12px; background: var(--paper);
  clip-path: polygon(100% 0, 30% 2%, 70% 5%, 20% 8%, 60% 11%, 10% 15%, 55% 18%, 25% 22%, 80% 25%, 15% 29%, 50% 33%, 5% 37%, 65% 40%, 25% 44%, 75% 48%, 10% 52%, 55% 55%, 20% 59%, 70% 63%, 5% 67%, 60% 70%, 30% 74%, 80% 78%, 15% 82%, 55% 85%, 10% 89%, 65% 93%, 25% 97%, 60% 100%, 100% 100%);
}
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }

.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 22px 26px 18px; border-bottom: 1px solid var(--line); }
.drawer__title { font-family: var(--f-head); font-weight: 900; font-size: 1.35rem; display: flex; align-items: center; gap: 10px; }
.drawer__count { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .72rem; }
.drawer__close { width: 40px; height: 40px; border-radius: 50%; font-size: 1.8rem; line-height: 1; transition: background-color .2s, transform .3s var(--ease); }
.drawer__close:hover { background: rgba(22,22,22,.07); transform: rotate(90deg); }

.drawer__body { flex: 1; overflow-y: auto; padding: 6px 26px; overscroll-behavior: contain; }
.drawer__list .line { border-bottom: 1px solid var(--line); }
.drawer.is-open .line { animation: lineIn .45s var(--ease) both; animation-delay: calc(120ms + var(--i) * 60ms); }
@keyframes lineIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }

.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; padding: 18px 0; align-items: start; transition: opacity .26s ease, transform .26s ease; }
.line.is-leaving { opacity: 0; transform: translateX(30px); }
.line__img { width: 76px; height: 76px; border-radius: 3px; padding: 8px; box-shadow: var(--shadow); }
.line__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.line__img img.is-flip { transform: scaleX(-1); }
.line__name { font-family: var(--f-head); font-weight: 800; font-size: .86rem; line-height: 1.3; text-transform: uppercase; }
.line__cat { font-size: .68rem; letter-spacing: .18em; color: var(--ink-soft); font-family: var(--f-head); font-weight: 600; margin-top: 3px; }
.line__row { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.line__remove { font-size: .8rem; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.line__remove:hover { color: var(--red); }
.line__price { font-weight: 700; white-space: nowrap; }

.drawer__foot { padding: 20px 26px 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; background: var(--paper-2); }
.drawer__sum { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem; }
.drawer__sum strong { font-size: 1.25rem; }
.drawer__note { font-size: .8rem; color: var(--ink-soft); margin-bottom: 6px; }

.drawer__empty { text-align: center; padding: 70px 10px; display: grid; gap: 12px; justify-items: center; }
.drawer__empty-title { font-family: var(--f-head); font-weight: 900; font-size: 1.4rem; }
.drawer__empty .btn { margin-top: 14px; }

/* ==========================================================================
   SEPET SAYFASI
   ========================================================================== */
.page-cart .site-header { background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.page-cart .nav__icon:hover { background: rgba(22,22,22,.07); }
.cart-page { padding: calc(var(--header-h) + 50px) 0 110px; min-height: 70vh; }
.cart-page__crumb { font-size: .82rem; color: var(--ink-soft); margin-bottom: 14px; }
.cart-page__crumb a:hover { text-decoration: underline; }
.cart-page__layout { display: grid; grid-template-columns: 1fr 380px; gap: 50px; margin-top: 36px; align-items: start; }
.cart-table__head { display: grid; grid-template-columns: 1fr 140px 130px; gap: 16px; padding-bottom: 12px; border-bottom: 1.5px solid var(--ink);
  font-family: var(--f-head); font-weight: 700; font-size: .68rem; letter-spacing: .2em; color: var(--ink-soft); }
.cart-table__head span:last-child { text-align: right; }
.cart-row { display: grid; grid-template-columns: 1fr 140px 130px; gap: 16px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); transition: opacity .26s ease, transform .26s ease; }
.cart-row.is-leaving { opacity: 0; transform: translateX(30px); }
.cart-row__product { display: flex; gap: 18px; align-items: center; }
.cart-row__product .line__img { width: 96px; height: 96px; flex: none; }
.cart-row__unit { font-size: .85rem; color: var(--ink-soft); margin-top: 6px; }
.cart-row__total { text-align: right; font-weight: 700; font-size: 1.05rem; }
.cart-row .line__remove { display: inline-block; margin-top: 8px; }
.cart-row .qty { justify-self: start; }

.summary { background: var(--paper-2); padding: 28px; border-radius: 3px; box-shadow: var(--shadow); position: sticky; top: calc(var(--header-h) + 20px); }
.summary__title { font-family: var(--f-head); font-weight: 900; font-size: 1.1rem; letter-spacing: .04em; margin-bottom: 18px; }
.summary__row { display: flex; justify-content: space-between; padding: 8px 0; font-size: .95rem; }
.summary__row--total { border-top: 1.5px solid var(--ink); margin-top: 10px; padding-top: 16px; font-size: 1.15rem; font-weight: 700; }
.summary .btn { margin-top: 18px; }
.summary__note { font-size: .8rem; color: var(--ink-soft); margin-top: 12px; text-align: center; }

.cart-empty { text-align: center; padding: 80px 0 40px; display: grid; justify-items: center; gap: 14px; }
.cart-empty .hand { font-size: 1.6rem; }

@media (max-width: 900px) {
  .cart-page__layout { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 620px) {
  .cart-table__head { display: none; }
  .cart-row { grid-template-columns: 1fr auto; grid-template-areas: "p p" "q t"; }
  .cart-row__product { grid-area: p; }
  .cart-row .qty { grid-area: q; }
  .cart-row__total { grid-area: t; }
}


/* ==========================================================================
   ÖDEME SAYFASI (odeme.php) — sepet sayfasının düzeni ve özet kartı üzerine kurulu
   ========================================================================== */
.checkout__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; }

/* Adımlar: 1 SEPET — 2 BİLGİLER — 3 TAMAM */
.steps { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 0; margin: 0 0 8px; list-style: none; counter-reset: step;
  font-family: var(--f-head); font-weight: 700; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.steps__item { counter-increment: step; position: relative; display: flex; align-items: center; gap: 8px; }
.steps__item::before { content: counter(step); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px currentColor; font-size: .7rem; letter-spacing: 0; }
.steps__item:not(:last-child)::after { content: ""; display: block; width: 28px; height: 1.5px; margin-left: 6px; background: rgba(22,22,22,.25); }
.steps__item.is-done { color: var(--ink); }
.steps__item.is-done::before { content: "✓"; background: var(--ink); color: #fff; box-shadow: none; }
.steps__item.is-done a:hover { text-decoration: underline; text-underline-offset: 3px; }
.steps__item.is-active { color: var(--ink); font-weight: 800; }
.steps__item.is-active::before { background: var(--ink); color: #fff; box-shadow: none; }
.steps__squiggle { position: absolute; left: 32px; bottom: -9px; width: calc(100% - 32px); height: 8px; color: var(--red); }
.steps__item:not(:last-child) .steps__squiggle { width: calc(100% - 66px); }

/* Form */
.cform { min-width: 0; }
.cform__section { border: 0; margin: 0; padding: 0; min-width: 0; }
.cform__title { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 26px;
  font-family: var(--f-head); font-weight: 900; font-size: 1.15rem; letter-spacing: .04em; }
.cform__num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .8rem; transform: rotate(-4deg); }
.cform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 36px; }
.cform__tear { display: block; width: 100%; height: 22px; margin: 46px 0 40px; fill: var(--paper-2); filter: drop-shadow(0 2px 2px rgba(40, 28, 12, .08)); }
.cform__error { color: var(--red); font-size: .88rem; margin-top: 14px; }

.field { position: relative; display: grid; gap: 8px; align-content: start; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field__label { font-family: var(--f-head); font-weight: 700; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; }
.field__opt { font-weight: 500; letter-spacing: .06em; text-transform: none; color: var(--ink-soft); }
.field__input {
  width: 100%; min-width: 0; border: 0; border-bottom: 1.5px solid rgba(22,22,22,.55); border-radius: 0; background: transparent;
  padding: 9px 0; font-size: 1rem; outline: none; transition: border-color .2s, box-shadow .2s;
}
.field__input::placeholder { color: #a39c90; }
.field__input:hover { border-bottom-color: var(--ink); }
.field__input:focus { border-bottom-color: var(--ink); box-shadow: 0 1.5px 0 var(--ink); }
.field__input:disabled { color: var(--ink-soft); border-bottom-style: dashed; cursor: not-allowed; }
.field__input[aria-invalid="true"] { border-bottom-color: var(--red); box-shadow: 0 1.5px 0 var(--red); }
textarea.field__input { resize: vertical; min-height: 48px; line-height: 1.5; font: inherit; }
.field__error { color: var(--red); font-size: .8rem; }

.field__select { position: relative; }
.field__select select { appearance: none; -webkit-appearance: none; padding-right: 28px; cursor: pointer; }
.field__select select:disabled { cursor: not-allowed; }
.field__select::after { content: ""; position: absolute; right: 4px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: rotate(45deg); pointer-events: none; }


/* Özel seçim kutusu (assets/js/select.js): alt çizgili alan + bayrak + açılır kâğıt panel */
.field__select.is-enhanced::after { content: none; }
.cselect__native { position: absolute !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; overflow: hidden; clip: rect(0 0 0 0); }
.cselect__btn {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 46px; padding: 8px 2px 8px 0;
  border-bottom: 1.5px solid rgba(22,22,22,.55); text-align: left; font-size: 1rem; cursor: pointer;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.cselect__btn:hover { border-bottom-color: var(--ink); }
.cselect__btn:focus-visible, .is-open > .cselect__btn { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1.5px 0 var(--ink); }
.cselect__btn[aria-invalid] { border-bottom-color: var(--red); box-shadow: 0 1.5px 0 var(--red); }
.cselect__btn:disabled { cursor: not-allowed; color: var(--ink-soft); border-bottom-style: dashed; }
.cselect__value { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cselect__value.is-placeholder { color: #a39c90; }
.cselect__flag { width: 22px; height: 16px; flex: none; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(22,22,22,.12), 0 1px 2px rgba(40,28,12,.18); }
.cselect__chev { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--paper-2); transition: transform .25s var(--ease), background-color .2s; }
.cselect__chev svg { width: 10px; height: 6px; }
.cselect__btn:hover .cselect__chev { background: #e3dccd; }
.is-open .cselect__chev { transform: rotate(180deg); background: var(--ink); color: #fff; }
.cselect__btn:disabled .cselect__chev { opacity: .45; }

.cselect__pop {
  position: absolute; left: -8px; right: -8px; top: calc(100% + 8px); z-index: 40;
  background: #fffcf6; border-radius: 12px; padding: 8px;
  box-shadow: 0 0 0 1px rgba(22,22,22,.07), var(--shadow-up);
  animation: cselectIn .18s var(--ease) both; transform-origin: top center;
}
.is-up > .cselect__pop { top: auto; bottom: calc(100% + 8px); transform-origin: bottom center; }
@keyframes cselectIn { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
.cselect__search { position: relative; margin-bottom: 6px; }
.cselect__search svg { position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; margin-top: -8px; color: var(--ink-soft); pointer-events: none; }
.cselect__input {
  width: 100%; height: 42px; padding: 0 12px 0 38px; border: 0; border-radius: 8px; background: var(--paper-2);
  font-size: .95rem; outline: none; box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .2s;
}
.cselect__input:focus { box-shadow: inset 0 0 0 1.5px var(--ink); }
.cselect__input::placeholder { color: #a39c90; }
.cselect__list { max-height: 264px; overflow-y: auto; overscroll-behavior: contain; margin: 0; padding: 2px; list-style: none; outline: none; scrollbar-width: thin; scrollbar-color: #d6cebf transparent; }
.cselect__opt {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; cursor: pointer;
  font-size: .95rem; line-height: 1.3; scroll-margin: 4px;
}
.cselect__opt > span { flex: 1; min-width: 0; }
.cselect__opt.is-active { background: var(--paper-2); }
.cselect__opt.is-selected { font-weight: 700; }
.cselect__check { width: 16px; height: 16px; flex: none; color: var(--red); }
.cselect__empty { padding: 14px 10px; color: var(--ink-soft); font-size: .9rem; text-align: center; }
.done__country { display: inline-flex; align-items: center; gap: 8px; }
.done__country img { border-radius: 2px; box-shadow: 0 0 0 1px rgba(22,22,22,.12); }
@media (max-width: 620px) {
  .cselect__pop { left: 0; right: 0; }
  .cselect__list { max-height: 45vh; }
  .cselect__input { font-size: 16px; } /* iOS yakınlaştırmasın */
}
@media (prefers-reduced-motion: reduce) {
  .cselect__pop { animation: none; }
}
/* @ ön eki alt çizginin içinde kalsın: çizgi sarmalayıcıda */
.field__prefix { display: flex; align-items: baseline; border-bottom: 1.5px solid rgba(22,22,22,.55); transition: border-color .2s, box-shadow .2s; }
.field__prefix:hover { border-bottom-color: var(--ink); }
.field__prefix:focus-within { border-bottom-color: var(--ink); box-shadow: 0 1.5px 0 var(--ink); }
.field__prefix:has([aria-invalid="true"]) { border-bottom-color: var(--red); box-shadow: 0 1.5px 0 var(--red); }
.field__prefix > span { font-weight: 700; padding-right: 4px; }
.field__prefix .field__input, .field__prefix .field__input:focus, .field__prefix .field__input[aria-invalid="true"] { border-bottom: 0; box-shadow: none; }
/* el yazısı not: Instagram alanının yanındaki boş sütunda */
.field__aside { position: absolute; left: calc(100% + 64px); top: 20px; width: 220px; font-size: 1.35rem; line-height: 1.05; color: var(--ink-soft); transform: rotate(-4deg); }
.field__aside::before { content: "←"; font-family: var(--f-body); position: absolute; left: -30px; top: 6px; font-size: 1.1rem; }

/* Özet kartı: alt kenarı yırtık fiş */
.summary--receipt { border-radius: 3px 3px 0 0; }
.summary--receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 11px; background: var(--paper-2);
  clip-path: polygon(0 0, 100% 0, 100% 40%, 96% 90%, 91% 35%, 86% 80%, 80% 30%, 74% 95%, 69% 40%, 63% 85%, 57% 25%, 51% 90%, 45% 35%, 39% 80%, 33% 30%, 27% 95%, 21% 40%, 15% 85%, 9% 30%, 4% 90%, 0 45%); }
.receipt__list { margin-bottom: 14px; border-bottom: 1px dashed rgba(22,22,22,.3); }
.receipt__item { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; }
.receipt__item + .receipt__item { border-top: 1px solid var(--line); }
.receipt__item--plain { grid-template-columns: 1fr auto; }
.receipt__item .line__img { width: 56px; height: 56px; padding: 6px; }
.receipt__item .line__name { font-size: .8rem; }
.receipt__meta { font-size: .8rem; color: var(--ink-soft); margin-top: 3px; }
.receipt__item .line__price { font-size: .95rem; }
.summary__back { text-align: center; margin-top: 10px; }
.summary .btn:disabled { opacity: .7; cursor: progress; }

/* Sipariş tamamlandı */
.done { display: grid; grid-template-columns: 1fr 420px; gap: 60px; margin-top: 36px; align-items: start; }
.done__intro { display: grid; gap: 16px; justify-items: start; max-width: 520px; padding-top: 10px; }
.done__lead { font-family: var(--f-head); font-weight: 900; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.15; }
.done__text { color: var(--ink-soft); line-height: 1.6; }
.done__text strong { color: var(--ink); overflow-wrap: anywhere; }
.done__hand { font-size: 1.7rem; color: var(--red); transform: rotate(-3deg); margin: 4px 0 10px; }
.done__stamp { position: absolute; top: 22px; right: 22px; padding: 6px 12px; border: 2.5px solid var(--red); border-radius: 4px; color: var(--red);
  font-family: var(--f-head); font-weight: 900; font-size: .9rem; letter-spacing: .2em; transform: rotate(8deg); opacity: .85;
  animation: stampIn .5s var(--ease-back) .25s both; }
@keyframes stampIn { from { opacity: 0; transform: rotate(8deg) scale(1.6); } to { opacity: .85; transform: rotate(8deg) scale(1); } }
.done__code { display: flex; align-items: baseline; gap: 10px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); font-family: var(--f-head); font-weight: 700; }
.done__code strong { font-size: 1.25rem; letter-spacing: .08em; color: var(--ink); font-weight: 900; }
.done__date { font-size: .82rem; color: var(--ink-soft); margin: 2px 0 16px; }
.done__info { margin: 22px 0 0; padding-top: 18px; border-top: 1px dashed rgba(22,22,22,.3); display: grid; gap: 10px; font-size: .88rem; }
.done__row { display: grid; grid-template-columns: 86px 1fr; gap: 10px; }
.done__row dt { font-family: var(--f-head); font-weight: 700; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); padding-top: 3px; }
.done__row dd { margin: 0; overflow-wrap: anywhere; }

@media (max-width: 1180px) {
  .field__aside { display: none; }
}
@media (max-width: 900px) {
  .done { grid-template-columns: 1fr; gap: 40px; }
  .summary--receipt { position: relative; top: auto; margin-bottom: 10px; } /* yırtık kenar ve ALINDI damgası için */
}
@media (max-width: 620px) {
  .cform__grid { grid-template-columns: 1fr; gap: 24px; }
  .steps { gap: 10px; letter-spacing: .12em; }
  .steps__item:not(:last-child)::after { width: 14px; }
  .steps__item:not(:last-child) .steps__squiggle { width: calc(100% - 52px); }
}
@media (prefers-reduced-motion: reduce) {
  .done__stamp { animation: none; }
}

/* ==========================================================================
   SAKLA sistemi — header rozeti, sayfa, karttan çıkış
   ========================================================================== */
.nav__badge--kept { background: #f2c94c; color: var(--ink); }
.nav__icon[aria-current="page"], .site-header .nav__icon[aria-current="page"]:hover { background: rgba(22,22,22,.08); }
.card.is-leaving { transition: opacity .3s ease, transform .3s var(--ease); opacity: 0; transform: translateY(10px) scale(.96); }
.grid--empty { display: block; }
.page-kept .grid { margin-top: 30px; }

/* Arama sonucundan gelinen ürün kısa süre vurgulanır */
.card.is-found .card__stage { animation: foundPulse 1.4s var(--ease); }
@keyframes foundPulse {
  0%, 100% { box-shadow: var(--shadow); }
  30% { box-shadow: 0 0 0 4px var(--red), var(--shadow-up); }
}

/* ==========================================================================
   ARAMA — gruplu sonuçlar
   ========================================================================== */
.find-panel__results { gap: 18px; }
.find-group { display: grid; gap: 4px; }
.find-group__title { font-family: var(--f-head); font-weight: 800; font-size: .66rem; letter-spacing: .22em; color: var(--ink-soft); padding: 0 6px 4px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.find-result__name { font-weight: 500; }
.find-result__meta { margin-left: auto; font-size: .85rem; color: var(--ink-soft); text-align: right; }
.find-result__meta em { font-style: normal; font-family: var(--f-head); font-weight: 800; font-size: .7rem; letter-spacing: .18em; color: var(--red); }
.find-empty { display: grid; gap: 4px; padding: 6px; }
.find-empty span { color: var(--ink-soft); }

/* ==========================================================================
   TÜKENEN ÜRÜN — e-posta formu
   ========================================================================== */
.restock__form { display: grid; gap: 10px; }
.restock__form label { font-family: var(--f-hand); font-size: 1.3rem; line-height: 1.1; padding-right: 22px; }
.restock__row { display: flex; gap: 8px; align-items: center; }
.restock__row input { flex: 1; min-width: 0; border: 0; border-bottom: 1.5px solid var(--ink); background: transparent; padding: 7px 0; outline: none; font-size: .9rem; }
.restock__row input[aria-invalid="true"] { border-color: var(--red); }
.restock__row button { height: 34px; padding: 0 14px; border-radius: 999px; background: var(--ink); color: #fff; font-family: var(--f-head); font-weight: 800; font-size: .66rem; letter-spacing: .18em; }
.restock__row button:hover { background: var(--red); }
.restock__error { font-size: .78rem; color: var(--red); }

/* ==========================================================================
   TÜKENEN ÜRÜN — kartın içinde; kartın boyu diğerleriyle aynı kalır
   ========================================================================== */
.card.is-soldout .card__stamp { top: 42%; }
.card__soldnote {
  position: absolute; left: 50%; top: calc(42% + 36px); z-index: 3; pointer-events: none;
  padding: 3px 12px 4px; white-space: nowrap;
  background: #fffaf0; color: var(--red);
  font-family: var(--f-hand); font-size: 1.15rem; line-height: 1.2;
  box-shadow: 0 3px 8px -3px rgba(40, 28, 12, .35);
  transform: translateX(-50%) rotate(2.5deg);
}
/* BİRAZ DAHA ÜRETELİM: SEPETE EKLE ile aynı yer ve boy; kâğıt renginde, çerçeveli */
.card__buy--restock { background: #fffaf0; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.card__buy--restock:hover { background: var(--ink); color: #fff; }
.card__buy--done {
  display: grid; place-items: center; opacity: 1; transform: none; cursor: default;
  background: rgba(255, 250, 240, .92); color: var(--ink-soft); box-shadow: inset 0 0 0 1.5px rgba(22,22,22,.18);
}
.card.is-restocking .card__buy, .card.is-restocking .card__soldnote { opacity: 0; }

/* E-posta paneli: görselin altından kayarak açılır */
.restock {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 6;
  padding: 14px 14px 12px; border-radius: 4px;
  background: #fffaf0; color: var(--ink);
  box-shadow: 0 14px 28px -10px rgba(40, 28, 12, .45), 0 2px 5px rgba(40, 28, 12, .12);
  animation: sheetUp .35s var(--ease) both;
}
.restock.is-closing { animation: sheetDown .25s ease both; }
@keyframes sheetUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes sheetDown { to { opacity: 0; transform: translateY(18px); } }
.restock__close { position: absolute; top: 4px; right: 6px; width: 28px; height: 28px; border-radius: 50%; font-size: 1.3rem; line-height: 1; color: var(--ink-soft); }
.restock__close:hover { background: rgba(22,22,22,.06); color: var(--ink); }
.restock__done { display: flex; gap: 8px; align-items: center; font-family: var(--f-hand); font-size: 1.35rem; line-height: 1.15; padding: 4px 2px; }
.restock__done span { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--f-body); font-size: .8rem; }



/* ==========================================================================
   MOVE IT — masadaki gizli bölmenin kapağını kaldır, kart ortaya çıksın
   Sahne 1672×800 fotoğraftan türetildi; tüm katmanlar fotoğrafa göre yüzdeyle konumlanır.
   JS değişkenleri: --lc kapalı kapak (1→0), --lu açık kapak (0→1), --cu kart (0→1)
   ========================================================================== */
.moveit { position: relative; background: #120c07; color: #fff; overflow: hidden; margin-top: clamp(40px, 5vw, 80px); }
/* Çerçeve: başlık kâğıdı + sahne. Kâğıt masaüstünde sahnenin üstünde, mobilde üstünde ayrı bir şerit */
.mi-frame { position: relative; max-width: 1920px; margin: 0 auto; container-type: inline-size; }
.mi-scene { --lc: 1; --lu: 0; --cu: 0; position: relative; aspect-ratio: 1672 / 800; container-type: inline-size; }
/* Fotoğrafın altındaki boş masa kısmı kırpılır (≈170/800): katmanlar sahneye göre konumlandığı için sahne küçültülmez, bölümün altı kesilir */
.mi-scene { margin-bottom: -10.2%; }
.mi-photo { position: absolute; inset: 0; width: 100%; height: 100%; }
.mi-fade {
  position: absolute; top: 0; bottom: 0; left: 60%; right: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(18,12,7,0) 0%, rgba(18,12,7,.72) 20%, #120c07 40%);
}

/* Açık kapak: menteşesinden (alt kenar) kalkar */
.mi-lidup {
  position: absolute; left: 24.402%; top: 30.125%; width: 21.411%; height: auto; pointer-events: none;
  transform-origin: 50% 98%;
  transform: perspective(70cqw) rotateX(calc((1 - var(--lu)) * 84deg));
  opacity: min(1, calc(var(--lu) * 4));
}
/* Kart: bölmenin ön kenarının arkasından yükselir */
.mi-cardclip { position: absolute; inset: 0; pointer-events: none; clip-path: polygon(0 0, 100% 0, 100% 58.4%, 0 70.4%); }
.mi-card {
  position: absolute; left: 30.443%; top: 38.25%; width: 14.414%; height: auto;
  transform: translateY(calc((1 - var(--cu)) * 115%)) rotate(calc((1 - var(--cu)) * -3deg));
}
/* Kapalı kapak: bölme açıklığını tam kaplar; açılırken arka kenarına doğru katlanır */
.mi-lidclosed {
  position: absolute; left: 20.933%; top: 55%; width: 33.493%; height: 13.125%; pointer-events: none;
  clip-path: polygon(0 17.14%, 75.89% 0, 100% 64.76%, 16.96% 100%);
  background: linear-gradient(170deg, #b8914f, #7a5520 55%, #4a3010);
  transform-origin: 50% 8%;
  transform: scaleY(var(--lc));
  opacity: min(1, calc(var(--lc) * 3));
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.5));
}
.mi-lidclosed__wood {
  position: absolute; inset: 7% 2.2%;
  clip-path: polygon(0 17.14%, 75.89% 0, 100% 64.76%, 16.96% 100%);
  background:
    linear-gradient(180deg, rgba(60,30,8,.35), rgba(20,10,2,.55)),
    url(../img/mi-wood.jpg) center / cover;
  box-shadow: inset 0 0 12px rgba(0,0,0,.5);
}
/* ön kenardaki küçük pirinç tutamak */
.mi-lidclosed__tab {
  position: absolute; left: 56%; top: 76%; width: 7%; height: 12%; border-radius: 3px;
  background: linear-gradient(180deg, #f0cf86, #9a6b27); box-shadow: 0 1px 2px rgba(0,0,0,.6);
  transform: rotate(-3deg);
}

/* Tutma alanı (kapak + bölme) */
.mi-grab {
  position: absolute; left: 20.5%; top: 28%; width: 34.5%; height: 42%; z-index: 3;
  cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.mi-grab:active { cursor: grabbing; }
.mi-grab:focus-visible { outline: 2px dashed rgba(255,255,255,.7); outline-offset: 4px; border-radius: 8px; }
.mi-hint {
  position: absolute; left: 33%; top: 70%; z-index: 2; pointer-events: none;
  font-size: 1.8cqw; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.7); transform: rotate(-4deg);
  animation: hintLift 1.8s ease-in-out infinite; transition: opacity .3s;
}
.moveit.has-moved .mi-hint { opacity: 0; }
@keyframes hintLift { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

/* Sol: yırtık siyah kâğıt (canlı metin) */
.mi-paper {
  position: absolute; left: 0; top: 0; width: 26%; height: 72%; z-index: 4;
  background: #0b0b0b;
  clip-path: polygon(0 0, 96.5% 0, 93% 10%, 90% 24%, 85.5% 40%, 80% 52%, 75% 60%, 70% 68%, 62% 78%, 44% 88.5%, 21% 95.5%, 0 100%);
}
.mi-title {
  position: absolute; left: 8%; top: 13%; display: flex; align-items: center; gap: .5em;
  font-size: 3.5cqw; font-weight: 700; line-height: 1; letter-spacing: .02em; transform: rotate(-9deg); transform-origin: left;
}
.mi-dot { width: .38em; height: .38em; border: .07em solid #fff; border-radius: 50%; flex: none; margin-top: .25em; }
.mi-sub { position: absolute; left: 25%; top: 28%; font-size: 2cqw; transform: rotate(-9deg); }
.mi-btn {
  position: absolute; left: 12%; top: 45%;
  display: inline-flex; gap: 8px; align-items: center;
  font-family: var(--f-head); font-weight: 800; font-size: max(.62rem, .72cqw); letter-spacing: .2em;
  padding: .9cqw 1.3cqw; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.55);
  transition: background-color .2s, color .2s;
}
.mi-btn:hover { background: #fff; color: var(--ink); }

/* Not + ürün bilgisi: kart çıkınca belirir */
.mi-note {
  position: absolute; left: 43.4%; top: 14.6%; z-index: 2; pointer-events: none;
  font-size: 1.75cqw; line-height: 1.05; color: #fff; transform: rotate(-10deg);
  opacity: 0; transition: opacity .4s ease, transform .5s var(--ease);
}
.mi-note svg { position: absolute; left: -5.6cqw; top: 2.4cqw; width: 5.4cqw; height: 5.4cqw; }
/* çerçeveye göre konumlanır (sahneyle aynı genişlik): sahne yüksekliği = 47.85cqw */
.mi-info {
  position: absolute; left: 52cqw; top: 17.2cqw; z-index: 5;
  opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity .4s ease .1s, transform .5s var(--ease) .1s;
}
.mi-info__name { font-family: var(--f-body); font-weight: 500; font-size: 2.1cqw; line-height: 1.1; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.mi-info__price { font-size: 1.5cqw; margin-top: .3em; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.mi-info__btn {
  margin-top: 1.4cqw; display: inline-flex; gap: 10px; align-items: center;
  height: max(40px, 3cqw); padding: 0 max(20px, 1.8cqw); border-radius: 999px; background: #fbf6ea; color: var(--ink);
  font-family: var(--f-head); font-weight: 800; font-size: max(.66rem, .8cqw); letter-spacing: .18em;
  box-shadow: 0 8px 20px -8px rgba(0,0,0,.6); transition: background-color .2s, color .2s;
}
.mi-info__btn:hover { background: var(--red); color: #fff; }
.moveit.is-revealed .mi-note { opacity: 1; transform: rotate(-10deg) translateY(-3px); }
.moveit.is-revealed .mi-info { opacity: 1; transform: none; pointer-events: auto; }

/* İpucu: fareyle "kapağı kaldır", dokunmatikte "kapağa dokun" */
.mi-hint__touch { display: none; }
@media (hover: none), (pointer: coarse) {
  .mi-hint__mouse { display: none; }
  .mi-hint__touch { display: inline; }
}

/* Mobil: başlık kâğıdı fotoğrafın üstünde ayrı bir şerit; sahne bölmeyi gösterecek kadar genişletilir; kapağa dokununca açılır */
@media (max-width: 700px) {
  .mi-paper {
    position: relative; z-index: 4; width: 100%; height: auto;
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px;
    padding: 26px 20px 40px; margin-bottom: -22px;
    clip-path: polygon(0 0, 100% 0, 100% 84%, 93% 91%, 81% 86%, 68% 95%, 54% 88%, 40% 96%, 26% 89%, 12% 95%, 0 88%);
  }
  .mi-title, .mi-sub, .mi-btn { position: static; }
  .mi-title { width: 100%; font-size: 2.6rem; gap: .35em; transform: rotate(-5deg); }
  .mi-sub { font-size: 1.35rem; margin-left: 2.2rem; transform: rotate(-5deg); }
  .mi-btn { margin-left: auto; font-size: .66rem; padding: 10px 16px; }

  .mi-scene { width: 165%; margin-left: -20%; margin-bottom: -16.8%; }
  /* fotoğraftaki baskılı siyah kâğıdı örter; üstteki şeritle birleşik görünür */
  .mi-scene::before {
    content: ""; position: absolute; left: 0; top: 0; width: 26%; height: 72%; z-index: 1; background: #0b0b0b;
    clip-path: polygon(0 0, 96.5% 0, 93% 10%, 90% 24%, 85.5% 40%, 80% 52%, 75% 60%, 70% 68%, 62% 78%, 44% 88.5%, 21% 95.5%, 0 100%);
  }
  .mi-note { font-size: 15px; }
  .mi-note svg { width: 34px; height: 34px; left: -38px; top: 16px; }
  .mi-info { position: relative; left: auto; top: auto; max-height: 0; overflow: hidden; padding: 0 20px; transition: max-height .5s var(--ease), padding .5s var(--ease), opacity .4s ease .1s; }
  .moveit.is-revealed .mi-info { max-height: 220px; padding: 16px 20px 30px; }
  .mi-info__name { font-size: 20px; }
  .mi-info__price { font-size: 16px; }
  .mi-info__btn { font-size: 11px; height: 42px; padding: 0 20px; margin-top: 12px; }
  .mi-hint { font-size: 16px; left: 30%; top: 71%; }
}
@media (prefers-reduced-motion: reduce) {
  .mi-hint { animation: none; }
}

/* Kart bağlantıları */
.card__name a { color: inherit; }
.card__name a:hover { text-decoration: underline; text-underline-offset: 3px; }
a.card__photo { display: block; }
a.card__buy { display: grid; place-items: center; }
a.line__name { display: block; }
a.line__name:hover { text-decoration: underline; }

/* ==========================================================================
   ÜRÜN SAYFASI
   ========================================================================== */
.product-page { padding: calc(var(--header-h) + 34px) 0 110px; }
.crumb { font-size: .82rem; color: var(--ink-soft); margin-bottom: 22px; }
.crumb a:hover { text-decoration: underline; }
.product-missing { padding: 80px 0; }
.product {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0 clamp(30px, 5vw, 80px);
  grid-template-areas: "gallery info" "thumbs info"; align-items: start;
}
.pgallery { grid-area: gallery; }
.pinfo { grid-area: info; position: sticky; top: calc(var(--header-h) + 24px); }
.pthumbs { grid-area: thumbs; }

/* Sahne */
.pstage {
  position: relative; aspect-ratio: 1 / .92; border-radius: 3px; overflow: hidden;
  background: var(--bg); box-shadow: var(--shadow);
}
.pstage__behind {
  position: absolute; left: 14%; top: 50%; width: 30%; transform: translateY(-50%) rotate(-4deg);
  font-size: clamp(1.3rem, 2vw, 1.8rem); line-height: 1.1; color: var(--ink);
  background: #fffaf0; padding: 16px 18px; box-shadow: 0 8px 18px -8px rgba(0,0,0,.4);
}
.pstage.is-dark .pstage__hint { color: #f3eee4; }
.pstage__drag {
  position: absolute; inset: 9%; cursor: grab; touch-action: pan-y; user-select: none;
  transition: transform .55s var(--ease-back);
}
.pstage__drag.is-dragging { cursor: grabbing; transition: none; }
.pstage__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .45s ease; }
.pstage__slide.is-active { opacity: 1; }
.pstage__slide img, .pstage__slide video {
  width: 100%; height: 100%; object-fit: cover; border-radius: 2px; pointer-events: none;
  box-shadow: 0 24px 34px -18px rgba(40,28,12,.6), 0 3px 6px rgba(40,28,12,.18);
}
.pstage__slide img.is-flip { transform: scaleX(-1); }
.pstage__slide--scene img { transform: rotate(-1.5deg); }
.pstage__slide--clean img { object-fit: contain; background: #fbf7ef; padding: 6%; }
.pstage__slide--detail img { transform: scale(1.8); transform-origin: 55% 55%; }
.pstage__slide--detail { overflow: hidden; border-radius: 2px; }
.pstage__hint {
  position: absolute; right: 5%; bottom: 4%; font-size: 1.35rem; color: var(--ink); opacity: .75;
  transform: rotate(-4deg); pointer-events: none; transition: opacity .3s;
}
.pstage.is-peeking .pstage__hint { opacity: 0; }
.pstage.is-kept::after {
  content: "KEPT"; position: absolute; top: 14px; right: 18px; z-index: 3;
  padding: 6px 16px; font-family: var(--f-hand); font-size: 1.2rem; font-weight: 700; color: #3a332a;
  background: rgba(240, 232, 205, .92); transform: rotate(7deg); box-shadow: 0 1px 3px rgba(0,0,0,.18);
}

.pthumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.pthumbs__btn { display: block; width: 100%; opacity: .65; transition: opacity .2s; }
.pthumbs__btn img { display: block; width: 100%; aspect-ratio: 1; height: auto; object-fit: cover; border-radius: 2px; background: var(--bg); box-shadow: 0 0 0 1px var(--line); }
.pthumbs__btn img.is-flip { transform: scaleX(-1); }
.pthumbs__btn:hover, .pthumbs__btn.is-active { opacity: 1; }
.pthumbs__btn.is-active img { box-shadow: 0 0 0 2px var(--ink); }

/* Bilgi sütunu */
.pinfo__cat { font-family: var(--f-head); font-weight: 700; font-size: .72rem; letter-spacing: .2em; color: var(--ink-soft); }
.pinfo__cat a:hover { color: var(--ink); }
.pinfo__name { font-family: var(--f-head); font-weight: 900; text-transform: uppercase; font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: .98; letter-spacing: -.01em; margin: 10px 0 14px; }
.pinfo__line { font-size: 1.05rem; line-height: 1.45; max-width: 36ch; }
.pinfo__price { font-size: 1.6rem; font-weight: 700; margin-top: 16px; }
.pinfo__rating { display: inline-block; margin-top: 4px; font-size: .88rem; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }

.pvariant { border: 0; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); }
.pvariant legend { padding: 0; font-size: .92rem; }
.pvariant legend span { font-family: var(--f-head); font-weight: 700; font-size: .72rem; letter-spacing: .2em; }
.pvariant legend em { font-style: normal; color: var(--ink-soft); }
.pvariant__opts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.pvariant__opt input { position: absolute; opacity: 0; pointer-events: none; }
.pvariant__swatch { display: block; width: 34px; height: 34px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); cursor: pointer; transition: transform .2s var(--ease); }
.pvariant__opt:hover .pvariant__swatch { transform: scale(1.08); }
.pvariant__opt input:checked + .pvariant__swatch { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }
.pvariant__opt input:focus-visible + .pvariant__swatch, .pvariant__opt input:focus-visible + .pvariant__chip { outline: 2px solid var(--red); outline-offset: 3px; }
.pvariant__chip { display: inline-block; padding: 9px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(22,22,22,.25); font-size: .88rem; cursor: pointer; }
.pvariant__opt input:checked + .pvariant__chip { background: var(--ink); color: #fff; box-shadow: none; }
.pvariant__error { margin-top: 10px; font-family: var(--f-head); font-weight: 800; font-size: .75rem; letter-spacing: .18em; color: var(--red); }
.pvariant__error.is-shake { animation: shake .4s ease; }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }

.pqty { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.pqty__label { font-family: var(--f-head); font-weight: 700; font-size: .72rem; letter-spacing: .2em; }
.pqty .qty { height: 42px; }
.pqty .qty button { width: 40px; }
.pbuy { display: flex; gap: 12px; margin-top: 16px; }
.pbuy__add { flex: 1; height: 54px; }
.pbuy__add.is-coming { background: var(--red); }
.pbuy__keep { padding: 0 20px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--ink); font-family: var(--f-head); font-weight: 800; font-size: .72rem; letter-spacing: .2em; transition: background-color .2s, color .2s; }
.pbuy__keep:hover { background: var(--ink); color: #fff; }
.pbuy__keep.is-kept { background: rgba(240, 232, 205, .9); box-shadow: inset 0 0 0 1.5px rgba(22,22,22,.25); font-family: var(--f-hand); font-size: 1.1rem; letter-spacing: 0; }

.psold { margin-top: 20px; }
.psold__stamp { display: inline-block; padding: 5px 14px; border: 3px solid var(--red); color: var(--red); font-family: var(--f-head); font-weight: 900; letter-spacing: .2em; transform: rotate(-4deg); }
.psold__line { font-size: 1.5rem; color: var(--red); margin: 10px 0 14px; }
.restock__form--page { max-width: 420px; }

.paccs { margin-top: 28px; border-top: 1px solid var(--line); }
.pacc { border-bottom: 1px solid var(--line); }
.pacc summary {
  display: flex; justify-content: space-between; align-items: center; padding: 16px 0; cursor: pointer; list-style: none;
  font-family: var(--f-head); font-weight: 800; font-size: .78rem; letter-spacing: .16em;
}
.pacc summary::-webkit-details-marker { display: none; }
.pacc summary::after { content: "+"; font-size: 1.2rem; font-weight: 400; transition: transform .25s var(--ease); }
.pacc[open] summary::after { transform: rotate(45deg); }
.pacc dl { display: grid; grid-template-columns: 90px 1fr; gap: 8px 16px; margin: 0 0 18px; font-size: .92rem; }
.pacc dt { color: var(--ink-soft); }
.pacc dd { margin: 0; }

/* SHINY ürün dili — kullanım kılavuzu / envanter kaydı */
.pspec {
  margin-top: clamp(60px, 8vw, 110px); width: 100%;
  background: #fbf7ee; border: 1.5px solid var(--ink); box-shadow: 6px 6px 0 var(--ink);
  font-family: 'Courier New', ui-monospace, monospace;
}
.pspec__head { display: flex; gap: 18px; align-items: baseline; flex-wrap: wrap; padding: 12px 18px; border-bottom: 1.5px solid var(--ink); background: var(--ink); color: #fbf7ee; }
.pspec__head h2 { font-size: .9rem; letter-spacing: .24em; margin-right: auto; }
.pspec__head span { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.pspec__row { display: grid; grid-template-columns: 220px 1fr; border-bottom: 1px dashed rgba(22,22,22,.35); }
.pspec__row:last-child { border-bottom: 0; }
.pspec__row h3 { padding: 16px 18px; font-size: .78rem; letter-spacing: .18em; border-right: 1px dashed rgba(22,22,22,.35); }
.pspec__row > div { padding: 14px 18px; font-size: .95rem; line-height: 1.5; }
.pspec__row ul { margin: 0; padding: 0; list-style: none; }
.pspec__row li::before { content: "— "; }

/* Yorumlar */
.previews { margin-top: clamp(60px, 8vw, 110px); }
.display--sm { font-size: clamp(1.8rem, 3.6vw, 3rem); }
.previews__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px 26px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.previews__head .display { margin-right: auto; }
.previews__sum { font-size: 1.15rem; font-weight: 700; }
.previews__empty { padding: 40px 0; display: grid; gap: 16px; justify-items: start; }
.previews__empty-title { font-family: var(--f-head); font-weight: 900; font-size: 1.3rem; letter-spacing: .06em; }
.previews__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; margin-top: 26px; }
.review { position: relative; padding: 20px 22px; background: #fbf7ee; border-radius: 3px; box-shadow: var(--shadow); }
.review__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.review__rating { font-size: .95rem; }
.review__rating strong { font-size: 1.4rem; }
.review__badge { font-family: var(--f-head); font-weight: 800; font-size: .62rem; letter-spacing: .16em; padding: 4px 8px; border: 1.5px solid var(--ink); transform: rotate(-2deg); }
.review__text { margin: 12px 0 14px; line-height: 1.5; }
.review__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .78rem; color: var(--ink-soft); }
/* kullanıcı fotoğrafı: bantla iliştirilmiş küçük baskı */
.review__photo { float: right; width: 96px; margin: -34px -6px 8px 14px; padding: 6px 6px 14px; background: #fff; box-shadow: 0 6px 12px -6px rgba(0,0,0,.4); transform: rotate(4deg); position: relative; }
.review__photo::before { content: ""; position: absolute; left: 50%; top: -9px; width: 46px; height: 16px; margin-left: -23px; background: rgba(240, 232, 205, .85); transform: rotate(-6deg); }
.review__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.rform { margin-top: 26px; padding: 26px; background: var(--paper-2); border-radius: 3px; max-width: 720px; display: grid; gap: 20px; }
.rform__title { font-family: var(--f-head); font-weight: 900; font-size: 1.1rem; letter-spacing: .06em; }
.rform__field { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.rform__field legend, .rform__legend { font-family: var(--f-head); font-weight: 800; font-size: .72rem; letter-spacing: .18em; padding: 0; margin-bottom: 10px; }
.rform__rating, .rform__who { display: flex; flex-wrap: wrap; gap: 8px; }
.rform__rating input, .rform__who input { position: absolute; opacity: 0; }
.rform__rating span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(22,22,22,.3); font-weight: 700; cursor: pointer; }
.rform__who span { display: inline-block; padding: 9px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(22,22,22,.3); cursor: pointer; font-size: .9rem; }
.rform__rating input:checked + span, .rform__who input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.rform__rating input:focus-visible + span, .rform__who input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.rform textarea, .rform input[type="text"] { width: 100%; border: 0; border-bottom: 1.5px solid var(--ink); background: transparent; padding: 8px 0; resize: vertical; outline: none; }
.rform__preview img { width: 90px; height: 90px; object-fit: cover; border-radius: 2px; margin-top: 6px; }
.rform__error { color: var(--red); font-size: .85rem; }
.rform .btn { justify-self: start; }

@media (max-width: 900px) {
  .product { grid-template-columns: 1fr; grid-template-areas: "gallery" "info" "thumbs"; }
  .pinfo { position: static; margin-top: 22px; }
  .pthumbs { margin-top: 26px; }
  .pspec__row { grid-template-columns: 1fr; }
  .pspec__row h3 { border-right: 0; padding-bottom: 0; }
}

/* ==========================================================================
   KEŞFET — arşiv masası
   ========================================================================== */
.discover-page, .entry-page { padding: calc(var(--header-h) + 50px) 0 120px; }
.discover-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 40px; }
.discover-intro { max-width: 44ch; color: var(--ink-soft); font-size: 1.05rem; padding-bottom: 8px; }
.dtabs { display: flex; flex-wrap: wrap; gap: 6px 26px; margin: 34px 0 0; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.dtab { position: relative; padding: 8px 2px; font-family: var(--f-head); font-weight: 600; font-size: .74rem; letter-spacing: .2em; color: var(--ink-soft); }
.dtab:hover { color: var(--ink); }
.dtab[aria-selected="true"] { color: var(--ink); font-weight: 800; }
.dtab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: var(--red); border-radius: 2px; transform: rotate(-1deg); }

.dboard {
  display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 150px; grid-auto-flow: dense;
  gap: clamp(18px, 2.4vw, 34px); margin-top: 40px;
}
.ditem {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: #fbf7ee; border-radius: 3px; box-shadow: var(--shadow);
  transform: rotate(var(--tilt)); transition: transform .35s var(--ease), box-shadow .35s;
}
.ditem:hover { transform: rotate(0deg) translateY(-4px); box-shadow: var(--shadow-up); }
.ditem--big { grid-column: span 7; grid-row: span 3; }
.ditem--wide { grid-column: span 5; grid-row: span 2; }
.ditem--tall { grid-column: span 4; grid-row: span 3; }
.ditem--small { grid-column: span 3; grid-row: span 2; }
.ditem--note { grid-column: span 3; grid-row: span 1; background: #fff4b8; justify-content: space-between; padding: 16px 18px; }
.ditem--note::before { content: ""; position: absolute; left: 50%; top: -6px; width: 60px; height: 18px; margin-left: -30px; background: rgba(240,232,205,.85); transform: rotate(-4deg); }
.ditem__note { font-size: 1.45rem; line-height: 1.1; }
.ditem__fig { margin: 0; flex: 1; min-height: 0; overflow: hidden; }
.ditem__fig img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ditem:hover .ditem__fig img { transform: scale(1.04); }
.ditem__body { padding: 14px 18px 18px; }
.ditem--big .ditem__body { padding: 20px 24px 24px; }
.ditem__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-family: var(--f-head); font-weight: 700; font-size: .62rem; letter-spacing: .18em; color: var(--ink-soft); }
.ditem__meta span:first-child { color: var(--red); }
.ditem__title { font-family: var(--f-head); font-weight: 900; font-size: 1.05rem; line-height: 1.15; margin-top: 8px; text-transform: uppercase; }
.ditem--big .ditem__title { font-size: clamp(1.4rem, 2.4vw, 2.1rem); }
.ditem__excerpt { margin-top: 8px; font-size: .9rem; line-height: 1.45; color: var(--ink-soft); }
.ditem--small .ditem__excerpt { display: none; }

@media (max-width: 900px) {
  .dboard { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 130px; }
  .ditem--big, .ditem--wide { grid-column: span 6; }
  .ditem--tall, .ditem--small, .ditem--note { grid-column: span 3; }
}
@media (max-width: 560px) {
  .dboard { grid-template-columns: 1fr 1fr; }
  .ditem--big, .ditem--wide { grid-column: span 2; }
  .ditem--tall, .ditem--small, .ditem--note { grid-column: span 1; }
  .ditem--note { grid-row: span 2; }
}

/* --- İçerik detayı --- */
.entry-page .wrap { max-width: 860px; }
.entry__back { display: inline-block; font-family: var(--f-head); font-weight: 800; font-size: .72rem; letter-spacing: .2em; border-bottom: 1.5px solid var(--ink); padding-bottom: 3px; margin: 10px 0 30px; }
.entry__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-family: var(--f-head); font-weight: 700; font-size: .68rem; letter-spacing: .18em; color: var(--ink-soft); }
.entry__meta a { color: var(--red); }
.entry__title { font-family: var(--f-head); font-weight: 900; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1; text-transform: uppercase; margin: 12px 0 26px; }
.entry__fig { margin: 0 0 30px; }
.entry__fig img { width: 100%; max-height: 520px; object-fit: cover; border-radius: 3px; box-shadow: var(--shadow); }
.entry__bignote { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; background: #fff4b8; padding: 30px 34px; transform: rotate(-1.5deg); box-shadow: var(--shadow); max-width: 620px; }
.entry__text { max-width: 640px; font-size: 1.08rem; line-height: 1.7; }
.entry__text p + p { margin-top: 1.1em; }
.entry__quote { margin: 1.4em 0; font-size: 2rem; line-height: 1.15; }
.entry__qa { padding: 18px 0; border-top: 1px dashed rgba(22,22,22,.3); }
.entry__q { font-family: var(--f-head); font-weight: 800; font-size: .78rem; letter-spacing: .16em; color: var(--ink-soft); }
.entry__a { font-size: 1.25rem; margin-top: 6px; line-height: 1.45; }
.entry__who { font-size: .85rem; color: var(--ink-soft); margin-top: 6px; }
.entry__product { margin: 50px 0 10px; }
.entry__product .eyebrow { margin-bottom: 18px; }
.grid--one { grid-template-columns: minmax(0, 300px); margin-top: 0; }

/* ==========================================================================
   YAN KAPI — çalışma masası çekmecesi
   ========================================================================== */
.page-sidedoor { background: #1a110a; color: #f3eee4; }
.page-sidedoor .footer { margin-top: 0; }
.sidedoor-page { padding: calc(var(--header-h) + 50px) 0 140px; min-height: 90vh;
  background: radial-gradient(ellipse 60% 50% at 50% 30%, rgba(255, 180, 100, .16), transparent 70%), #1a110a; }
.sd-head { text-align: center; }
.sd-head .display { color: #f3eee4; }
.sd-sub { margin-top: 12px; color: rgba(243,238,228,.7); }
.sd-room { position: relative; z-index: 9; margin-top: 50px; }
.desk { width: min(960px, 94vw); margin: 0 auto; }
.desk__top { height: 26px; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #a4703f, #6b4424); box-shadow: 0 -1px 0 rgba(255,220,170,.35) inset; }
.desk__front {
  padding: 26px 0 60px;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.1) 0 2px, transparent 2px 14px),
    linear-gradient(180deg, #5d3a1d, #3b2410);
  box-shadow: inset 0 14px 20px -12px rgba(0,0,0,.7);
}
.sd-drawer { position: relative; width: 78%; margin: 0 auto; }
.sd-drawer__tray {
  height: 0; overflow: hidden; border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #2a180b, #3d2511);
  box-shadow: inset 0 18px 30px -12px rgba(0,0,0,.8), inset 12px 0 20px -14px rgba(0,0,0,.8), inset -12px 0 20px -14px rgba(0,0,0,.8);
}
.sd-drawer__inner { padding: 30px 30px 44px; }
.sd-drawer__theme { font-size: 1.4rem; color: rgba(243,238,228,.8); margin-bottom: 18px; }
.sd-drawer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.sd-drawer__front {
  --o: 0;
  position: relative; display: block; width: 100%; height: 118px; border-radius: 3px;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.09) 0 2px, transparent 2px 12px),
    linear-gradient(180deg, #86582f, #5e3a1c);
  box-shadow: 0 calc(6px + var(--o) * 18px) calc(10px + var(--o) * 26px) rgba(0,0,0,.55), inset 0 1px 0 rgba(255,220,170,.35);
  transform: perspective(900px) translateZ(calc(var(--o) * 40px));
  cursor: grab; touch-action: pan-y;
}
.sd-drawer__front:active { cursor: grabbing; }
.sd-drawer__handle {
  position: absolute; left: 50%; top: 50%; width: 120px; height: 16px; margin: -8px 0 0 -60px; border-radius: 10px;
  background: linear-gradient(180deg, #f1cf85, #9a6b27); box-shadow: 0 3px 6px rgba(0,0,0,.5);
}
.sd-drawer__label { position: absolute; left: 50%; top: 14px; transform: translateX(-50%) rotate(-2deg); padding: 2px 14px; background: #fbf6ea; color: var(--ink); font-size: 1.15rem; box-shadow: 0 2px 4px rgba(0,0,0,.4); }
.sd-hint { position: absolute; left: 50%; bottom: -44px; transform: translateX(-50%); font-size: 1.6rem; color: rgba(243,238,228,.8); animation: hintLift 1.8s ease-in-out infinite; transition: opacity .3s; }

/* ipucu: fareyle "çek", dokunmatikte "çekmeceye dokun" */
.sd-hint__touch { display: none; }
@media (hover: none), (pointer: coarse) {
  .sd-hint__mouse { display: none; }
  .sd-hint__touch { display: inline; }
}
.sd-box { background: rgba(251,246,234,.05); border: 1px dashed rgba(243,238,228,.25); border-radius: 4px; padding: 20px; display: grid; justify-items: center; gap: 16px; align-content: start; }
.sd-box__title { justify-self: start; font-family: var(--f-head); font-weight: 900; font-size: .9rem; letter-spacing: .18em; }
.sd-deck { perspective: 900px; }
.sd-card { position: relative; width: 200px; height: 270px; transform-style: preserve-3d; transition: transform .7s var(--ease-back); }
.sd-card.is-flipped { transform: rotateY(180deg) rotate(-2deg); }
.sd-card__back, .sd-card__front { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; border-radius: 10px; backface-visibility: hidden; -webkit-backface-visibility: hidden; text-align: center; }
.sd-card__back {
  background: repeating-linear-gradient(45deg, #c8321e 0 10px, #b12a18 10px 20px); color: #fbf6ea;
  font-family: var(--f-head); font-weight: 900; font-size: .85rem; letter-spacing: .2em; box-shadow: 0 14px 24px -10px rgba(0,0,0,.7);
}
.sd-card:hover .sd-card__back { filter: brightness(1.08); }
.sd-card__front { background: #fbf6ea; color: var(--ink); font-size: 1.55rem; line-height: 1.1; transform: rotateY(180deg); box-shadow: 0 14px 24px -10px rgba(0,0,0,.7); }
.sd-link { font-family: var(--f-head); font-weight: 800; font-size: .7rem; letter-spacing: .2em; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.sd-wall canvas { width: 150px; height: 267px; border-radius: 16px; box-shadow: 0 0 0 6px #111, 0 18px 30px -12px rgba(0,0,0,.8); }
.sd-download { background: #fbf6ea; color: var(--ink); }
.sd-download:hover { background: var(--red); color: #fff; }

@media (max-width: 760px) {
  .sd-drawer { width: 92%; }
  .sd-drawer__cols { grid-template-columns: 1fr; }
  .sd-drawer__inner { padding: 22px 16px; }
}

/* Sepet paneli — mobil: tam ekran, tarayıcı çubuklarını hesaba katan yükseklik, sıkı ama rahat satırlar */
@media (max-width: 560px) {
  .drawer__panel { width: 100vw; top: 0; bottom: auto; height: 100vh; height: 100dvh; }
  .drawer__panel::before { display: none; }
  .drawer__head { padding: 14px 18px 12px; }
  .drawer__title { font-size: 1.2rem; }
  .drawer__close { width: 44px; height: 44px; }
  .drawer__body { padding: 2px 18px; }
  .line { grid-template-columns: 64px 1fr auto; gap: 12px; padding: 14px 0; }
  .line__img { width: 64px; height: 64px; padding: 6px; }
  .line__name { font-size: .8rem; }
  .line__price { font-size: .92rem; }
  .line__row { gap: 12px; margin-top: 10px; }
  .drawer__foot { padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); gap: 8px; }
  .drawer__note { margin-bottom: 2px; }
  .drawer__foot .btn { height: 48px; }
  .drawer__empty { padding: 50px 6px; }
}

/* Çok dar telefonlar (≤380px): header sığsın */
@media (max-width: 380px) {
  .logo__word { font-size: 1.45rem; }
  .nav__utils { gap: 0; margin-left: 6px; }
  .nav__icon { width: 38px; height: 38px; }
  .nav__icon svg { width: 22px; height: 22px; }
  .nav__menu-btn { margin-left: 8px; font-size: .76rem; letter-spacing: .1em; }
}

/* ==========================================================================
   OYNA — etkileşimli oyun alanı
   ========================================================================== */
.play-page { padding: calc(var(--header-h) + 50px) 0 120px; }
.play-head { display: grid; gap: 10px; }
.play-intro { font-family: var(--f-head); font-weight: 800; font-size: clamp(1.2rem, 2.4vw, 1.8rem); line-height: 1.2; }
.play-intro span { color: var(--red); }
.play-note { font-size: 1.4rem; color: var(--ink-soft); transform: rotate(-2deg); transform-origin: left; }

/* --- KURALINI YAP: oyun masası --- */
.rule { margin-top: clamp(34px, 5vw, 60px); }
/* Kural panosu: ahşap çerçeveli beyaz pano, ince dalgalı dikey doku; mor-lacivert yazı, kahverengi çizgili kart arkaları */
.rule { --rule-blue: #3422d6; --rule-wood: #6b4424; --rule-wood-dark: #3b2410; }
.rule__table {
  position: relative; padding: clamp(30px, 4.5vw, 56px) clamp(18px, 4vw, 50px) 36px; border-radius: 6px;
  background:
    radial-gradient(ellipse 60% 50% at 50% 28%, rgba(255, 214, 170, .16), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='48' viewBox='0 0 9 48'%3E%3Cpath d='M4.5 0C6.6 8 2.4 16 4.5 24S6.6 40 4.5 48' fill='none' stroke='%23161616' stroke-opacity='.075' stroke-width='1'/%3E%3C/svg%3E") 0 0 / 9px 48px,
    #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 11px var(--rule-wood), inset 0 0 0 13px var(--rule-wood-dark), var(--shadow-up);
}
.rule__title { font-family: var(--f-head); font-weight: 900; font-size: clamp(1.6rem, 3.6vw, 2.8rem); letter-spacing: .02em; text-align: center; color: var(--rule-blue); }
.rule__how { text-align: center; margin-top: 10px; color: var(--rule-blue); }
.rule__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 230px)); justify-content: center; gap: clamp(12px, 2.6vw, 32px); margin-top: 30px; }
.rcard-slot { display: grid; justify-items: center; gap: 10px; perspective: 900px; }
.rcard-slot__label { font-family: var(--f-head); font-weight: 800; font-size: .7rem; letter-spacing: .2em; color: var(--ink-soft); }
.rcard {
  position: relative; width: 100%; aspect-ratio: 5 / 7; perspective: 900px; transform-style: preserve-3d;
  transition: transform .6s var(--ease-back); transform: rotate(calc((var(--i) - 1) * 2deg));
}
.rcard.is-flipped { transform: rotate(calc((var(--i) - 1) * 2deg)) rotateY(180deg); }
.rcard__back, .rcard__front {
  position: absolute; inset: 0; border-radius: 10px; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  display: grid; place-items: center; padding: 16px; text-align: center; box-shadow: 0 16px 26px -12px rgba(40,28,12,.55), 0 3px 6px -2px rgba(40,28,12,.25);
}
.rcard__back { background: repeating-linear-gradient(45deg, #a0622f 0 13px, #6e4424 13px 26px); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12), 0 16px 26px -12px rgba(40,28,12,.55), 0 3px 6px -2px rgba(40,28,12,.25); }
.rcard__back span { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #fbf6ea; color: var(--ink); font-family: var(--f-head); font-weight: 900; font-size: 1.4rem; }
.rcard:hover .rcard__back { filter: brightness(1.08); }
.rcard__front { background: #f8f3e7; color: var(--ink); font-size: clamp(1.1rem, 2vw, 1.55rem); line-height: 1.1; transform: rotateY(180deg); }
.rcard-slot__swap { font-size: .8rem; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.rcard-slot__swap:hover { color: var(--rule-blue); }
.rule__actions { display: flex; justify-content: center; margin-top: 26px; }
.rule .btn--ink { background: var(--rule-blue); color: #fff; }
.rule .btn--ink:hover { background: var(--ink); color: #fff; }
.rule__result { margin: 30px auto 0; max-width: 720px; text-align: center; padding: 22px 24px; background: #f8f3e7; color: var(--ink); border-radius: 4px; transform: rotate(-1deg); box-shadow: var(--shadow-up); animation: sheetUp .45s var(--ease) both; }
.rule__result-label { font-family: var(--f-head); font-weight: 800; font-size: .7rem; letter-spacing: .22em; color: var(--rule-blue); }
.rule__sentence { font-family: var(--f-head); font-weight: 800; font-size: clamp(1.15rem, 2.4vw, 1.7rem); line-height: 1.25; margin-top: 8px; }
.rule__result-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 22px; margin-top: 16px; }
.rule__result .sd-link { color: var(--ink); }
.rule__foot { text-align: center; margin-top: 22px; font-size: 1.3rem; color: var(--ink-soft); }

.play-interlude { text-align: center; font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: var(--ink-soft); margin: clamp(50px, 7vw, 90px) 0; transform: rotate(-1.5deg); }

/* --- Küçük oyunlar --- */
.minis { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.mini { padding: 26px; background: #fbf7ee; border-radius: 4px; box-shadow: var(--shadow); display: grid; justify-items: center; align-content: start; gap: 10px; text-align: center; }
.mini__title { font-family: var(--f-head); font-weight: 900; font-size: 1.05rem; letter-spacing: .08em; }
.mini__text { color: var(--ink-soft); font-size: .95rem; }
.mini__link { margin-top: 6px; font-family: var(--f-head); font-weight: 800; font-size: .72rem; letter-spacing: .18em; border-bottom: 1.5px solid var(--ink); }
.mini__result { font-size: 1.5rem; min-height: 1.6em; }

.gbox { position: relative; width: 100%; max-width: 360px; height: 320px; margin-top: 10px; }
.gbox__box { position: absolute; left: 50%; bottom: 0; width: 190px; margin-left: -95px; z-index: 2; border-radius: 4px; padding: 10px; background: var(--bg); box-shadow: var(--shadow); transition: transform .35s var(--ease); }
.gbox__box img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; }
.gbox__box:hover { transform: translateY(-3px); }
.gbox.is-open .gbox__box { transform: translateY(14px) scale(.94); }
.gbox__card {
  position: absolute; left: 50%; bottom: 40px; width: 130px; margin-left: -65px; min-height: 150px; padding: 14px 12px;
  display: grid; place-items: center; background: #fffaf0; border-radius: 8px; font-size: 1.05rem; line-height: 1.05;
  box-shadow: 0 10px 20px -8px rgba(0,0,0,.35); opacity: 0; transform: translateY(40px) scale(.8);
  transition: transform .5s var(--ease-back), opacity .3s ease; transition-delay: calc(var(--i) * 70ms);
}
.gbox.is-open .gbox__card { opacity: 1; }
.gbox.is-open .gbox__card:nth-child(1) { transform: translate(-120px, -70px) rotate(-12deg); }
.gbox.is-open .gbox__card:nth-child(2) { transform: translate(0, -100px) rotate(0deg); }
.gbox.is-open .gbox__card:nth-child(3) { transform: translate(120px, -70px) rotate(12deg); }

.coin {
  --turn: 0deg; position: relative; width: 150px; height: 150px; margin: 16px 0 4px; transform-style: preserve-3d;
  transform: perspective(700px) rotateY(var(--turn)); transition: transform .9s cubic-bezier(.3, 1.3, .5, 1);
}
.coin__face {
  position: absolute; inset: 0; border-radius: 50%; display: grid; place-items: center; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  font-family: var(--f-head); font-weight: 900; letter-spacing: .14em; font-size: .9rem; color: #4a3010;
  background: radial-gradient(circle at 35% 30%, #fbe3a2, #d9a441 55%, #9a6b27); box-shadow: inset 0 0 0 6px rgba(120, 80, 20, .4), 0 12px 20px -8px rgba(0,0,0,.4);
}
.coin__face--b { transform: rotateY(180deg); }

/* --- Mağazadaki oyunlar --- */
.play-shop { margin-top: clamp(60px, 8vw, 110px); }
.play-shop__head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.play-shop__all { font-family: var(--f-head); font-weight: 800; font-size: .74rem; letter-spacing: .18em; border-bottom: 1.5px solid var(--ink); }
.play-shop .grid { margin-top: 28px; }
.play-door { margin-top: 70px; text-align: center; }
.play-door a { font-size: 1.6rem; color: var(--ink-soft); }
.play-door a:hover { color: var(--ink); }

@media (max-width: 760px) {
  .rule__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .rcard__front { font-size: .95rem; padding: 8px; }
  .rcard__back span { width: 38px; height: 38px; font-size: 1rem; }
  .rcard-slot__label { font-size: .58rem; letter-spacing: .12em; }
  .minis { grid-template-columns: 1fr; }
  .gbox.is-open .gbox__card:nth-child(1) { transform: translate(-95px, -70px) rotate(-12deg); }
  .gbox.is-open .gbox__card:nth-child(3) { transform: translate(95px, -70px) rotate(12deg); }
  .gbox__card { width: 108px; margin-left: -54px; font-size: .92rem; }
}

/* Arama motorları için sunucuda üretilen içerik: JS açıkken gizli (JS aynı bilgileri kendi tasarımıyla çizer) */
.js .ssr { display: none !important; }
.ssr img { max-width: 320px; height: auto; }

/* MOVE IT: seçili ürüne göre çizilen kart (fotoğraftaki kartın yerine, aynı yerde ve aynı hareketle) */
.mi-card--gen { aspect-ratio: 241 / 225; }
.mi-gen {
  position: absolute; inset: 3% 7% 4% 5%; transform: rotate(-7deg); transform-origin: 50% 60%;
  display: flex; flex-direction: column; padding: 5% 7% 0; overflow: hidden; border-radius: .25cqw;
  background: linear-gradient(160deg, #f6eedd, #e6d7b8); color: #1d1b18;
  box-shadow: 0 .6cqw 1.4cqw rgba(0,0,0,.55), inset 0 0 1.2cqw rgba(120,80,20,.25);
}
.mi-gen.is-dark { background: linear-gradient(160deg, #2b2620, #15120e); color: #f3eee4; }
.mi-gen__brand { font-family: var(--f-display, inherit); font-weight: 900; font-size: 1.05cqw; letter-spacing: .08em; line-height: 1; }
.mi-gen__brand span { color: var(--red, #c8321e); }
.mi-gen__name { font-family: var(--f-hand, 'Caveat', cursive); font-size: 1.45cqw; line-height: 1.02; margin-top: .25cqw; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mi-gen__note { font-family: var(--f-hand, 'Caveat', cursive); font-size: .85cqw; line-height: 1.1; opacity: .75; margin-top: .15cqw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mi-gen__pic { flex: 1; margin: .5cqw -8% 0; background: var(--bg); min-height: 0; }
.mi-gen__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mi-gen__pic img.is-flip { transform: scaleX(-1); }
