:root {
  --blue: #0a4ea2;
  --blue-600: #083f86;
  --blue-800: #062c60;
  --blue-50: #eef4fd;
  --blue-100: #dbe8fb;
  --red: #e2231a;
  --green: #0fa457;
  --green-50: #e8f8ef;
  --amber-50: #fff6e5;
  --amber: #b26a00;
  --ink: #0f1b2d;
  --ink-2: #344256;
  --muted: #6b7a90;
  --line: #e5eaf2;
  --bg: #f3f5f9;
  --card: #ffffff;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(15, 27, 45, .06), 0 1px 1px rgba(15, 27, 45, .04);
  --shadow: 0 6px 24px -8px rgba(15, 27, 45, .18), 0 2px 6px rgba(15, 27, 45, .06);
  --shadow-lg: 0 24px 60px -12px rgba(6, 44, 96, .35);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
.chips-track { overscroll-behavior-x: contain; }
.grid { contain: layout style; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', 'Noto Sans Arabic', system-ui, -apple-system, 'Segoe UI', Tahoma, Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  padding-bottom: calc(110px + var(--safe-b));
}
body.locked { overflow: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding-inline: 16px; }

/* ───────── Hero ───────── */
.hero {
  position: relative;
  color: #fff;
  background: linear-gradient(160deg, #0d5cc0 0%, var(--blue) 45%, var(--blue-800) 100%);
  padding-top: calc(env(safe-area-inset-top, 0px) + 18px);
  padding-bottom: 18px;
  border-radius: 0 0 28px 28px;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  overflow: hidden; border-radius: inherit;
  background:
    radial-gradient(circle at 92% -10%, rgba(255,255,255,.18) 0 90px, transparent 91px),
    radial-gradient(circle at 105% 40%, rgba(255,255,255,.08) 0 120px, transparent 121px),
    radial-gradient(circle at -10% 110%, rgba(226,35,26,.35) 0 110px, transparent 111px);
}
.hero-inner { position: relative; }
.brand { display: flex; align-items: center; gap: 12px; }
.logo {
  width: 46px; height: 46px; flex: none;
  display: grid; place-items: center;
  border-radius: 14px;
  background: #fff; color: var(--blue);
  box-shadow: 0 6px 16px rgba(0,0,0,.18);
  position: relative;
}
.logo::after {
  content: ''; position: absolute; top: 7px; right: 7px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--red);
}
.logo svg { width: 26px; height: 26px; }
.brand-text { min-width: 0; flex: 1; }
.brand-text h1 { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.brand-text p { margin: 2px 0 0; font-size: 13px; opacity: .88; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-text #siteName { font-weight: 700; }
.dot { opacity: .6; margin: 0 2px; }
.status {
  flex: none; font-size: 12px; font-weight: 700;
  padding: 6px 10px; border-radius: 999px;
  background: rgba(255,255,255,.2);
  display: inline-flex; align-items: center; gap: 6px;
}
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,.25); }
.status.closed::before { background: #fca5a5; box-shadow: 0 0 0 3px rgba(252,165,165,.25); }

.search {
  margin-top: 16px;
  display: flex; align-items: center; gap: 10px;
  background: #fff; color: var(--ink);
  border-radius: 14px; padding-inline: 14px 12px; height: 50px;
  box-shadow: 0 10px 24px -10px rgba(0,0,0,.35);
}
.search svg { width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2.2; stroke-linecap: round; flex: none; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 16px; height: 100%; }
.search input::placeholder { color: #98a3b5; }
.search input::-webkit-search-cancel-button { display: none; }
.search-clear { width: 28px; height: 28px; border-radius: 50%; background: var(--bg); color: var(--muted); font-size: 18px; line-height: 1; }

.perks { list-style: none; margin: 14px 0 0; padding: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.perks::-webkit-scrollbar { display: none; }
.perks li {
  flex: none; display: flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600;
  padding: 7px 11px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.14);
}

.closed-banner {
  margin-top: 14px;
  background: var(--amber-50); color: var(--amber);
  border: 1px solid #ffe2a8; border-radius: 14px;
  padding: 12px 14px; font-weight: 600; font-size: 14px;
  display: flex; gap: 10px; align-items: flex-start;
}

/* ───────── Dil seçimi ───────── */
.lang { position: relative; flex: none; }
.lang-btn {
  height: 40px; padding: 0 12px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.22);
  color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .03em;
  transition: background .15s;
}
.lang-btn:active { background: rgba(255,255,255,.28); }
.lang-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.lang-menu {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 25;
  min-width: 170px; padding: 6px; border-radius: 16px;
  background: #fff; color: var(--ink); box-shadow: var(--shadow-lg);
  animation: pop .18s var(--ease);
}
.lang-menu button {
  width: 100%; height: 46px; padding: 0 12px; border-radius: 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-weight: 700; font-size: 15px; text-align: start;
}
.lang-menu button:hover, .lang-menu button:active { background: var(--bg); }
.lang-menu button[aria-checked="true"] { color: var(--blue); }
.lang-menu button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* ───────── Kategori çipleri ───────── */
.chips {
  position: sticky; top: 0; z-index: 20;
  background: rgba(243,245,249,.97);
  padding: 10px 0;
  transition: box-shadow .2s;
}
.chips.stuck { box-shadow: 0 6px 16px -10px rgba(15,27,45,.25); }
.chips-track { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
.chips-track::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  transition: background .2s, color .2s, border-color .2s, transform .15s;
  white-space: nowrap;
}
.chip:active { transform: scale(.96); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip .e { font-size: 16px; }

/* ───────── Katalog ───────── */
.section { padding-top: 14px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin: 6px 2px 12px; }
.section-head h2 { margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -.02em; display: flex; align-items: center; gap: 8px; }
.section-head span { font-size: 13px; color: var(--muted); font-weight: 500; }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 560px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 820px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.card {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(229,234,242,.7);
  padding: 10px; display: flex; flex-direction: column;
  position: relative;
}
.card.anim { animation: rise .4s var(--ease) both; }
.card.in-cart { border-color: var(--blue-100); box-shadow: 0 0 0 1px var(--blue-100), var(--shadow-sm); }
.thumb {
  aspect-ratio: 3 / 4; border-radius: 13px; overflow: hidden;
  background: linear-gradient(145deg, #f6f8fc, #e9eef7);
  display: grid; place-items: center; position: relative;
}
/* Ürün görseli: dikey 3:4 çerçeve, ürünün tamamı görünür, boşluklar beyaz */
.thumb.has-img { background: #fff; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb .emoji { font-size: clamp(44px, 14vw, 64px); line-height: 1; }
.qty-badge {
  position: absolute; top: 8px; inset-inline-end: 8px;
  min-width: 26px; height: 26px; padding: 0 7px; border-radius: 999px;
  background: var(--blue); color: #fff; font-size: 13px; font-weight: 800;
  display: grid; place-items: center; box-shadow: 0 4px 10px rgba(10,78,162,.4);
  animation: pop .3s var(--ease);
}
.soldout .thumb { filter: grayscale(1); opacity: .55; }
.soldout-tag {
  position: absolute; inset-inline-start: 8px; bottom: 8px;
  background: rgba(15,27,45,.82); color: #fff; font-size: 11.5px; font-weight: 700;
  padding: 4px 8px; border-radius: 8px;
}
.card h3 {
  margin: 10px 2px 0; font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.6em;
}
.card .meta { margin: 4px 2px 12px; min-height: 1.3em; font-size: 12.5px; color: var(--muted); font-weight: 500; }
.card .pa { margin-top: auto; }

.add-btn {
  width: 100%; height: 40px; border-radius: 12px;
  background: var(--blue-50); color: var(--blue);
  font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: background .15s, transform .12s;
}
.add-btn:active { transform: scale(.97); background: var(--blue-100); }
.add-btn svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2.6; fill: none; stroke-linecap: round; }
.add-btn:disabled { background: #f1f3f7; color: #a5afbf; cursor: not-allowed; }

.stepper {
  direction: ltr;
  display: flex; align-items: center; justify-content: space-between;
  height: 40px; border-radius: 12px; background: var(--blue); color: #fff;
  box-shadow: 0 6px 14px -6px rgba(10,78,162,.6);
  animation: pop .25s var(--ease);
}
.stepper button {
  width: 42px; height: 40px; display: grid; place-items: center; color: #fff;
  border-radius: 12px; transition: background .15s;
}
.stepper button:active { background: rgba(255,255,255,.18); }
.stepper svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2.6; fill: none; stroke-linecap: round; }
.stepper output { font-weight: 800; font-size: 15px; min-width: 2ch; text-align: center; }
.stepper.sm { height: 34px; border-radius: 10px; box-shadow: none; }
.stepper.sm button { width: 34px; height: 34px; border-radius: 10px; }
.stepper.sm output { font-size: 14px; }

.empty {
  text-align: center; padding: 48px 20px; color: var(--muted);
}
.empty .big { font-size: 52px; margin-bottom: 10px; }
.empty h3 { margin: 0 0 6px; color: var(--ink); font-size: 17px; }
.empty p { margin: 0; font-size: 14px; }

.skeleton-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding-top: 16px; }
.sk { height: 250px; border-radius: var(--radius); background: linear-gradient(90deg, #e9edf3 0%, #f5f7fa 50%, #e9edf3 100%); background-size: 200% 100%; animation: shimmer 1.2s infinite; }

.page-foot { text-align: center; color: var(--muted); font-size: 12.5px; padding-top: 28px; }

/* ───────── Sepet çubuğu ───────── */
.cartbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 12px 16px calc(12px + var(--safe-b));
  background: linear-gradient(to top, rgba(243,245,249,1) 55%, rgba(243,245,249,0));
  pointer-events: none;
  animation: slideUp .35s var(--ease);
}
.cartbar-btn {
  pointer-events: auto;
  width: 100%; max-width: 560px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px;
  height: 60px; padding: 0 10px 0 10px; border-radius: 18px;
  background: var(--ink); color: #fff;
  box-shadow: var(--shadow-lg);
  transition: transform .15s;
}
.cartbar-btn:active { transform: scale(.98); }
.cartbar-btn.bump { animation: bump .35s var(--ease); }
.cartbar-count {
  min-width: 40px; height: 40px; padding: 0 8px; border-radius: 12px;
  background: var(--blue); display: grid; place-items: center;
  font-weight: 800; font-size: 15px;
}
.cartbar-label { flex: 1; text-align: start; font-weight: 700; font-size: 16px; }
.cartbar-arrow { width: 22px; height: 22px; margin-inline-end: 10px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ───────── Panel (sheet) ───────── */
.backdrop {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(8, 20, 40, .5);
  animation: fade .25s ease both;
}
.backdrop.out { animation: fadeOut .22s ease both; }
.sheet {
  position: fixed; z-index: 41; left: 0; right: 0; bottom: 0;
  max-height: 92dvh; height: 92dvh;
  background: #fff; border-radius: 26px 26px 0 0;
  display: flex; flex-direction: column;
  box-shadow: 0 -10px 40px rgba(0,0,0,.2);
  animation: sheetIn .38s var(--ease) both;
}
.sheet.out { animation: sheetOut .25s ease both; }
@media (min-width: 640px) {
  .sheet { left: 50%; bottom: auto; top: 50%; width: 520px; height: min(760px, 90dvh); border-radius: 26px; transform: translate(-50%, -50%); animation: modalIn .3s var(--ease) both; }
  .sheet.out { animation: modalOut .2s ease both; }
  .grabber { display: none; }
}
.grabber { width: 44px; height: 5px; border-radius: 99px; background: #d7dde7; margin: 10px auto 2px; flex: none; }
.sheet-head { display: flex; align-items: center; gap: 8px; padding: 8px 14px 12px; border-bottom: 1px solid var(--line); flex: none; }
.sheet-titles { flex: 1; min-width: 0; padding-inline-start: 4px; }
.sheet-head h2 { margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.steps { display: flex; gap: 5px; margin-top: 6px; }
.steps span { width: 22px; height: 4px; border-radius: 99px; background: var(--line); transition: background .3s, width .3s; }
.steps span.on { background: var(--blue); width: 32px; }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--bg); flex: none; transition: background .15s; }
.icon-btn:active { background: var(--line); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }

.sheet-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 6px 16px 16px; -webkit-overflow-scrolling: touch; }
.sheet-foot {
  flex: none; padding: 12px 16px calc(12px + var(--safe-b));
  border-top: 1px solid var(--line); background: #fff;
}
@media (min-width: 640px) { .sheet-foot { border-radius: 0 0 26px 26px; } }

.line { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); animation: rise .3s var(--ease) both; }
.line:last-of-type { border-bottom: 0; }
.line .thumb { width: 58px; height: 58px; flex: none; border-radius: 12px; aspect-ratio: auto; }
.line .thumb .emoji { font-size: 32px; }
.line-info { flex: 1; min-width: 0; }
.line-info b { display: block; font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.line-info small { color: var(--muted); font-size: 12.5px; }
.line .stepper { width: 112px; flex: none; }

.cart-tools { display: flex; justify-content: space-between; align-items: center; padding: 8px 0 4px; }
.link-btn { color: var(--red); font-weight: 600; font-size: 13.5px; padding: 8px 0; }
.link-btn.blue { color: var(--blue); }

.note-card {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--blue-50); color: var(--blue-800);
  border-radius: 14px; padding: 12px 14px; font-size: 13.5px; line-height: 1.45; margin-top: 12px;
}
.note-card.warn { background: var(--amber-50); color: var(--amber); }


.primary {
  width: 100%; height: 56px; border-radius: 16px;
  background: var(--blue); color: #fff;
  font-weight: 800; font-size: 16.5px; letter-spacing: -.01em;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 10px 22px -10px rgba(10,78,162,.7);
  transition: transform .12s, background .2s, opacity .2s;
}
.primary:active { transform: scale(.98); background: var(--blue-600); }
.primary:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.primary.green { background: var(--green); box-shadow: 0 10px 22px -10px rgba(15,164,87,.7); }
.primary svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .7s linear infinite; }

/* ───────── Form ───────── */
.form-section { margin-top: 18px; }
.form-section > h3 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.field label .opt { color: var(--muted); font-weight: 500; }
.input {
  width: 100%; height: 52px; border-radius: 14px;
  border: 1.5px solid var(--line); background: #fbfcfe;
  padding: 0 14px; font-size: 16px; outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
textarea.input { height: 84px; padding: 12px 14px; resize: none; line-height: 1.4; }
.input:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(10,78,162,.12); }
.input.invalid { border-color: var(--red); box-shadow: 0 0 0 4px rgba(226,35,26,.1); }
.input-icon { position: relative; }
.input-icon .input { padding-inline-start: 46px; }
.input-icon .pre { position: absolute; inset-inline-start: 14px; top: 50%; transform: translateY(-50%); font-size: 18px; pointer-events: none; }
.err { color: var(--red); font-size: 12.5px; font-weight: 600; margin-top: 6px; display: none; }
.field.has-err .err { display: block; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  min-width: 52px; height: 46px; padding: 0 14px; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fff;
  font-weight: 700; font-size: 15px; color: var(--ink-2);
  transition: all .15s;
}
.pill[aria-pressed="true"] { border-color: var(--blue); background: var(--blue); color: #fff; box-shadow: 0 6px 14px -8px rgba(10,78,162,.7); }

.pay { display: grid; gap: 10px; }
.pay-opt {
  display: flex; align-items: center; gap: 12px;
  min-height: 62px; padding: 10px 14px; border-radius: 16px;
  border: 1.5px solid var(--line); background: #fff; text-align: start; width: 100%;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.pay-opt .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--bg); display: grid; place-items: center; font-size: 22px; flex: none; transition: background .15s; }
.pay-opt .txt { flex: 1; font-weight: 700; font-size: 15px; }
.pay-opt .txt small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; margin-top: 1px; }
.pay-opt .radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #c9d2df; flex: none; position: relative; transition: border-color .15s; }
.pay-opt[aria-checked="true"] { border-color: var(--blue); background: var(--blue-50); box-shadow: 0 0 0 3px rgba(10,78,162,.1); }
.pay-opt[aria-checked="true"] .ico { background: #fff; }
.pay-opt[aria-checked="true"] .radio { border-color: var(--blue); }
.pay-opt[aria-checked="true"] .radio::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--blue); animation: pop .2s var(--ease); }
.group-err { color: var(--red); font-size: 12.5px; font-weight: 600; margin-top: 8px; }

.kvkk { margin-top: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.kvkk > summary { cursor: pointer; padding: 12px 14px; font-size: 13px; line-height: 1.5; color: var(--ink-2); list-style: none; }
.kvkk > summary::-webkit-details-marker { display: none; }
.kvkk > summary u { color: var(--blue); font-weight: 700; white-space: nowrap; }
.kvkk-text { padding: 0 14px 12px; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.kvkk-text p { margin: 0 0 8px; }
.summary-mini { background: var(--bg); border-radius: 14px; padding: 12px 14px; font-size: 13.5px; color: var(--ink-2); display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.summary-mini b { color: var(--ink); }

/* ───────── Başarı ekranı ───────── */
.success {
  position: fixed; inset: 0; z-index: 60;
  background: #fff; overflow-y: auto;
  animation: fade .3s ease both;
}
.success-top {
  background: linear-gradient(165deg, #12b866, var(--green) 50%, #0a7f43);
  color: #fff; text-align: center;
  padding: calc(env(safe-area-inset-top, 0px) + 44px) 24px 72px;
  position: relative; overflow: hidden;
}
.success-top::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(255,255,255,.18) 0 60px, transparent 61px),
              radial-gradient(circle at 90% 75%, rgba(255,255,255,.12) 0 90px, transparent 91px);
}
.check {
  position: relative; width: 96px; height: 96px; margin: 0 auto 18px;
  border-radius: 50%; background: #fff; display: grid; place-items: center;
  box-shadow: 0 0 0 10px rgba(255,255,255,.18), 0 0 0 22px rgba(255,255,255,.08);
  animation: pop .5s var(--ease) both;
}
.check svg { width: 52px; height: 52px; fill: none; stroke: var(--green); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .35s var(--ease) forwards; }
.success-top h2 { position: relative; margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.success-top p { position: relative; margin: 8px auto 0; max-width: 340px; font-size: 15px; opacity: .92; line-height: 1.45; }
.order-no {
  position: relative; display: inline-flex; gap: 8px; align-items: center;
  margin-top: 16px; padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,.18); font-weight: 800; font-size: 15px; letter-spacing: .02em;
}
.receipt {
  position: relative; max-width: 520px; margin: -44px auto 0; padding: 0 16px calc(24px + var(--safe-b));
  animation: rise .5s .2s var(--ease) both;
}
.receipt-card { background: #fff; border-radius: 22px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.receipt-sec { padding: 16px 18px; border-bottom: 1px dashed var(--line); }
.receipt-sec:last-child { border-bottom: 0; }
.receipt-sec h4 { margin: 0 0 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.kv { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; padding: 4px 0; }
.kv span:first-child { color: var(--muted); }
.kv span:last-child { font-weight: 600; text-align: end; }
.receipt .primary { margin-top: 16px; }
.sent-note { display: flex; gap: 10px; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; margin-top: 14px; text-align: center; }

/* ───────── Toast ───────── */
.toast {
  position: fixed; left: 50%; bottom: calc(96px + var(--safe-b)); z-index: 80;
  transform: translateX(-50%);
  max-width: calc(100% - 32px); width: max-content;
  background: var(--ink); color: #fff; font-weight: 600; font-size: 14px;
  padding: 12px 16px; border-radius: 14px; box-shadow: var(--shadow-lg);
  animation: toastIn .3s var(--ease) both;
}
.toast.error { background: var(--red); }

/* ───────── Animasyonlar ───────── */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 70% { transform: scale(1.06); } 100% { transform: scale(1); opacity: 1; } }
@keyframes bump { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.035); } }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes sheetIn { from { transform: translateY(100%); } to { transform: none; } }
@keyframes sheetOut { to { transform: translateY(100%); } }
@keyframes modalIn { from { opacity: 0; transform: translate(-50%, -46%) scale(.97); } to { opacity: 1; transform: translate(-50%, -50%); } }
@keyframes modalOut { to { opacity: 0; transform: translate(-50%, -48%) scale(.98); } }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
}

/* ───────── Sağdan sola (Arapça) ───────── */
.dir-flip { transition: transform .2s; }
[dir="rtl"] .dir-flip { transform: scaleX(-1); }
[dir="rtl"] body { line-height: 1.55; }
[dir="rtl"] .brand-text h1 { letter-spacing: 0; }
[dir="rtl"] .section-head h2,
[dir="rtl"] .sheet-head h2,
[dir="rtl"] .success-top h2,
[dir="rtl"] .lang-btn { letter-spacing: 0; }
[dir="rtl"] .form-section > h3 { letter-spacing: 0; text-transform: none; font-size: 14px; }
[dir="rtl"] .receipt-sec h4 { letter-spacing: 0; text-transform: none; font-size: 13px; }
/* Telefon ve numara alanları her zaman soldan sağa yazılır; simge sağda kalır */
[dir="rtl"] .input[dir="ltr"] { padding-left: 14px; padding-right: 46px; text-align: right; }
[dir="rtl"] .input[dir="ltr"]::placeholder { text-align: right; }
[dir="rtl"] .toast { text-align: center; }
