/* ==========================================================================
   Tuba Uğurlu Akademi: mağaza arayüzü
   Tasarım dili: "kadim el yazması + mor gece"
   Renk: lavanta sisi zemin, mürdüm mürekkep, marka moru (#6E026F) tek vurgu.
   Tipografi: Cormorant (başlık, el yazması/tezhip çağrışımı) + Figtree (gövde, arayüz).
   Biçim kuralı: etkileşimli öğeler hap (999px), kartlar/görseller 16px, formlar 12px,
   imza biçimi: kemer (mihrap) üstlü görseller.
   ========================================================================== */

@font-face {
  font-family: 'Figtree Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url('/fonts/figtree/figtree-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url('/fonts/figtree/figtree-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url('/fonts/cormorant/cormorant-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url('/fonts/cormorant/cormorant-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Variable';
  font-style: italic;
  font-display: swap;
  font-weight: 300 700;
  src: url('/fonts/cormorant/cormorant-latin-ext-wght-italic.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Variable';
  font-style: italic;
  font-display: swap;
  font-weight: 300 700;
  src: url('/fonts/cormorant/cormorant-latin-wght-italic.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light dark;

  --paper: #f7f2f6;
  --paper-2: #efe5ee;
  --card: #fcf9fb;
  --ink: #24122a;
  --ink-2: #5b4760;
  --ink-3: #76637b;
  --plum: #6e026f;
  --plum-deep: #4e0150;
  --plum-soft: #ebd7eb;
  --plum-text: #6e026f;
  --on-plum: #fcf6fb;
  --blush: #f7dccb;
  --blush-ink: #4a2a28;
  --line: rgba(36, 18, 42, 0.12);
  --line-strong: rgba(36, 18, 42, 0.24);
  --ok: #1e6a47;
  --ok-bg: #e3f1e9;
  --err: #a42330;
  --err-bg: #f8e3e5;
  --warn: #8a5800;
  --warn-bg: #f7ecd6;
  --overlay: rgba(28, 10, 32, 0.46);
  --night: #2a0a2e;
  --night-ink: #f4ecf3;
  --night-ink-2: #cdb8cf;

  --font-display: 'Cormorant Variable', 'Cormorant', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --font-body: 'Figtree Variable', 'Figtree', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --radius-s: 12px;
  --radius-m: 16px;
  --radius-l: 28px;
  --radius-pill: 999px;
  --shadow-s: 0 1px 2px rgba(78, 1, 80, 0.06), 0 4px 14px -6px rgba(78, 1, 80, 0.14);
  --shadow-m: 0 1px 2px rgba(78, 1, 80, 0.06), 0 18px 44px -18px rgba(78, 1, 80, 0.28);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --container: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --header-h: 64px;
  --section-y: clamp(3.5rem, 8vw, 6.5rem);

  /* katman sırası */
  --z-header: 30;
  --z-sticky: 25;
  --z-drawer: 60;
  --z-toast: 80;
}

/* Koyu tema iki durumda açılır: cihaz ayarı koyu (ve kullanıcı açık temayı seçmemişse)
   ya da kullanıcı başlıktaki düğmeyle koyu temayı seçmişse. Değerler iki blokta aynı. */
:root[data-theme='dark'] {
  --paper: #150c18;
  --paper-2: #1d1221;
  --card: #221627;
  --ink: #f4ecf3;
  --ink-2: #c7b6c9;
  --ink-3: #a896ab;
  --plum: #9b2a9d;
  --plum-deep: #b13cb3;
  --plum-soft: #3a1d3d;
  --plum-text: #e2a6e3;
  --on-plum: #fff8fd;
  --blush: #3a2330;
  --blush-ink: #f6dfd3;
  --line: rgba(244, 236, 243, 0.12);
  --line-strong: rgba(244, 236, 243, 0.24);
  --ok: #7fd1a6;
  --ok-bg: #17301f;
  --err: #ff9aa4;
  --err-bg: #3a1419;
  --warn: #f0c46f;
  --warn-bg: #33270f;
  --overlay: rgba(6, 2, 8, 0.66);
  --night: #26102b;
  --shadow-s: 0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 14px -6px rgba(0, 0, 0, 0.5);
  --shadow-m: 0 1px 2px rgba(0, 0, 0, 0.4), 0 18px 44px -18px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}

:root[data-theme='light'] {
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --paper: #150c18;
    --paper-2: #1d1221;
    --card: #221627;
    --ink: #f4ecf3;
    --ink-2: #c7b6c9;
    --ink-3: #a896ab;
    --plum: #9b2a9d;
    --plum-deep: #b13cb3;
    --plum-soft: #3a1d3d;
    --plum-text: #e2a6e3;
    --on-plum: #fff8fd;
    --blush: #3a2330;
    --blush-ink: #f6dfd3;
    --line: rgba(244, 236, 243, 0.12);
    --line-strong: rgba(244, 236, 243, 0.24);
    --ok: #7fd1a6;
    --ok-bg: #17301f;
    --err: #ff9aa4;
    --err-bg: #3a1419;
    --warn: #f0c46f;
    --warn-bg: #33270f;
    --overlay: rgba(6, 2, 8, 0.66);
    --night: #26102b;
    --shadow-s: 0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 14px -6px rgba(0, 0, 0, 0.5);
    --shadow-m: 0 1px 2px rgba(0, 0, 0, 0.4), 0 18px 44px -18px rgba(0, 0, 0, 0.7);
  }
}

@media (min-width: 1024px) {
  :root {
    --header-h: 72px;
  }
}

/* --------------------------------------------------------------------------
   Temel
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
  @view-transition {
    navigation: auto;
  }
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  font-feature-settings: 'kern' 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

main {
  flex: 1 0 auto;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--plum-text);
  outline-offset: 3px;
}

::selection {
  background: var(--plum-soft);
  color: var(--ink);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 500;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--plum);
  color: var(--on-plum);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* --------------------------------------------------------------------------
   Tipografi
   -------------------------------------------------------------------------- */

.display,
.h1,
.h2,
.h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
}

.display {
  font-size: clamp(2.75rem, 1.55rem + 4.6vw, 5.25rem);
  line-height: 1;
  letter-spacing: -0.022em;
}

.h1 {
  font-size: clamp(2.35rem, 1.6rem + 2.8vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: -0.018em;
}

.h2 {
  font-size: clamp(2rem, 1.45rem + 2.1vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.h3 {
  font-size: clamp(1.45rem, 1.25rem + 0.7vw, 1.8rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 600;
}

.lead {
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 58ch;
}

.muted {
  color: var(--ink-2);
}

.small {
  font-size: 0.875rem;
}

.tiny {
  font-size: 0.8125rem;
}

.label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--plum-text);
}

.nums {
  font-variant-numeric: tabular-nums;
}

.link {
  color: var(--plum-text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--plum-text) 40%, transparent);
}

.link:hover {
  text-decoration-color: currentColor;
}

.prose {
  max-width: 70ch;
  color: var(--ink);
}

.prose > * + * {
  margin-top: 1em;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin-top: 1.8em;
}

.prose h2 {
  font-size: 1.8rem;
}

.prose h3 {
  font-size: 1.4rem;
  font-weight: 600;
}

.prose h4 {
  font-size: 1.2rem;
  font-weight: 600;
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
}

.prose li + li {
  margin-top: 0.4em;
}

.prose li::marker {
  color: var(--plum-text);
}

.prose a {
  color: var(--plum-text);
}

.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2em 0;
}

.prose .order-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.prose .order-table th,
.prose .order-table td {
  padding: 0.5rem 0.4rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose .order-table td:last-child,
.prose .order-table th:last-child {
  text-align: right;
}

.ph {
  color: var(--ink-3);
  font-style: italic;
}

/* --------------------------------------------------------------------------
   Yerleşim
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: 820px;
}

.section {
  padding-block: var(--section-y);
}

.section--tint {
  background: var(--paper-2);
}

.stack > * + * {
  margin-top: var(--stack, 1rem);
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap, 0.75rem);
  align-items: center;
}

.cluster--center {
  justify-content: center;
}

.cluster--between {
  justify-content: space-between;
}

html:has(dialog[open]) {
  overflow: hidden;
}

.drawer__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.img-empty {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--plum-text);
  background: var(--plum-soft);
}

.img-empty .icon {
  width: 2rem;
  height: 2rem;
}

.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2.5rem;
}

.text-center {
  text-align: center;
}

.w-full {
  width: 100%;
}

.section-head {
  display: grid;
  gap: 0.9rem;
  margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
  max-width: 62ch;
}

.section-head--row {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.page-head {
  padding-top: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.page-head .lead {
  margin-top: 0.9rem;
}

/* --------------------------------------------------------------------------
   Butonlar ve çipler
   -------------------------------------------------------------------------- */

.btn {
  --btn-bg: var(--plum);
  --btn-fg: var(--on-plum);
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.7rem 1.45rem;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: 0.975rem;
  letter-spacing: 0.005em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.12s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.btn:hover {
  --btn-bg: var(--plum-deep);
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn[disabled],
.btn[aria-disabled='true'] {
  opacity: 0.55;
  pointer-events: none;
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--line-strong);
}

.btn--ghost:hover {
  --btn-bg: var(--plum-soft);
  --btn-bd: transparent;
}

.btn--quiet {
  --btn-bg: var(--plum-soft);
  --btn-fg: var(--plum-text);
}

.btn--quiet:hover {
  --btn-bg: color-mix(in srgb, var(--plum-soft) 70%, var(--plum) 30%);
  --btn-fg: var(--on-plum);
}

.btn--danger {
  --btn-bg: var(--err);
  --btn-fg: #fff8f8;
}

.btn--danger:hover {
  --btn-bg: color-mix(in srgb, var(--err) 85%, black);
}

.btn--sm {
  min-height: 40px;
  padding: 0.5rem 1.05rem;
  font-size: 0.9rem;
}

.btn--block {
  width: 100%;
}

.btn .icon {
  width: 1.2em;
  height: 1.2em;
}

.btn.is-loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}

.btn.is-loading::after {
  content: '';
  position: absolute;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  border: 2px solid var(--btn-fg);
  border-right-color: transparent;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  position: relative;
  transition: background-color 0.2s var(--ease);
}

.icon-btn:hover {
  background: var(--plum-soft);
}

.icon-btn .icon {
  width: 1.45rem;
  height: 1.45rem;
}

.count-badge {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: var(--radius-pill);
  background: var(--plum);
  color: var(--on-plum);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 19px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.count-badge:empty,
.count-badge[data-count='0'] {
  display: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.45rem 1.05rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.chip:hover {
  border-color: var(--plum-text);
}

.chip[aria-pressed='true'],
.chip[aria-current='page'],
.chip.is-active {
  background: var(--plum);
  border-color: var(--plum);
  color: var(--on-plum);
}

.chip .icon {
  width: 1.1rem;
  height: 1.1rem;
}

.chip-row {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  scroll-padding-inline: var(--gutter);
}

.chip-row::-webkit-scrollbar {
  display: none;
}

@media (min-width: 900px) {
  .chip-row {
    flex-wrap: wrap;
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
  }
}

/* --------------------------------------------------------------------------
   Duyuru bandı, üst menü
   -------------------------------------------------------------------------- */

.announce {
  background: var(--plum);
  color: var(--on-plum);
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: center;
  padding: 0.5rem var(--gutter);
  line-height: 1.4;
}

.announce a {
  color: inherit;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--paper);
    backdrop-filter: none;
  }
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  text-decoration: none;
}

.brand img {
  height: 40px;
  width: auto;
  max-width: 44vw;
  object-fit: contain;
}

@media (min-width: 1024px) {
  .brand img {
    height: 46px;
  }
}

.footer-brand .brand img {
  height: 56px;
}

/* Logo marka moru (#6E026F); koyu zeminde okunması için açılır */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .brand img {
    filter: brightness(2.6) saturate(0.55);
  }
}

:root[data-theme='dark'] .brand img {
  filter: brightness(2.6) saturate(0.55);
}

/* Tema düğmesi: başlıkta, diğer simge düğmeleriyle aynı boyutta */
.theme-toggle .icon--sun {
  display: none;
}

:root[data-theme='dark'] .theme-toggle .icon--sun {
  display: block;
}

:root[data-theme='dark'] .theme-toggle .icon--moon {
  display: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .theme-toggle .icon--sun {
    display: block;
  }
  :root:not([data-theme='light']) .theme-toggle .icon--moon {
    display: none;
  }
  :root[data-theme='light'] .theme-toggle .icon--sun {
    display: none;
  }
  :root[data-theme='light'] .theme-toggle .icon--moon {
    display: block;
  }
}

.brand__text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--plum-text);
}

.nav {
  display: none;
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: 1.5rem;
  }
}

.nav a {
  position: relative;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}

.nav a:hover {
  background: var(--plum-soft);
}

.nav a[aria-current='page'] {
  color: var(--plum-text);
  background: var(--plum-soft);
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.menu-toggle {
  margin-left: -0.5rem;
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

/* Mobil menü (dialog) */
.sheet {
  width: min(420px, 100vw);
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0 0 0 auto;
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.sheet::backdrop {
  background: var(--overlay);
}

.sheet[open] {
  animation: sheet-in 0.32s var(--ease-out);
}

.sheet--left {
  margin: 0 auto 0 0;
}

.sheet--left[open] {
  animation-name: sheet-in-left;
}

@keyframes sheet-in {
  from {
    transform: translateX(24px);
    opacity: 0;
  }
}

@keyframes sheet-in-left {
  from {
    transform: translateX(-24px);
    opacity: 0;
  }
}

.sheet__head {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem 0.75rem 1.25rem;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  z-index: 1;
}

.sheet__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
}

.menu-links {
  list-style: none;
  margin: 0;
  padding: 1rem 1.25rem 0.5rem;
}

.menu-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.menu-links a .icon {
  color: var(--ink-3);
  width: 1.2rem;
}

.menu-meta {
  padding: 1rem 1.25rem 2rem;
  display: grid;
  gap: 0.75rem;
  color: var(--ink-2);
  font-size: 0.95rem;
}

.menu-meta a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  .sheet[open],
  .drawer[open],
  .modal[open] {
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   Görseller
   -------------------------------------------------------------------------- */

.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-m);
  background: var(--paper-2);
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.arch {
  border-radius: 1000px 1000px var(--radius-m) var(--radius-m);
}

.ratio-45 {
  aspect-ratio: 4 / 5;
}

.ratio-11 {
  aspect-ratio: 1 / 1;
}

.ratio-34 {
  aspect-ratio: 3 / 4;
}

/* --------------------------------------------------------------------------
   Ana sayfa: hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(1.25rem, 3.5vw, 3.25rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
  background:
    radial-gradient(ellipse 55% 70% at 80% 38%, color-mix(in srgb, var(--plum-soft) 75%, transparent), transparent 72%),
    radial-gradient(ellipse 38% 45% at 6% 96%, color-mix(in srgb, var(--blush) 60%, transparent), transparent 70%);
}

.hero__grid {
  display: grid;
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: center;
}

/* Portre: kemer (mihrap) görsel, arkasında iç içe iki ince kemer çizgisi, altta taşan isim kartı */
.hero__figure {
  position: relative;
  margin: 0;
  width: min(54vw, 250px);
  justify-self: center;
  display: grid;
}

.hero__halo,
.hero__halo::after {
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--plum-text) 30%, transparent);
  border-bottom: 0;
  border-radius: 1000px 1000px 0 0;
  pointer-events: none;
}

.hero__halo {
  inset: -7% -11% 18% -11%;
}

.hero__halo::after {
  content: '';
  inset: -9% -9% 0 -9%;
  border-color: color-mix(in srgb, var(--plum-text) 16%, transparent);
}

.hero__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-m);
}

.hero--portrait .hero__media img {
  object-position: 50% 16%;
}

.hero__caption {
  position: relative;
  justify-self: start;
  display: grid;
  gap: 0.1rem;
  max-width: 92%;
  margin: -2.1rem 0 0 -0.9rem;
  padding: 0.7rem 1.05rem 0.75rem;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow-s);
}

.hero__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.1;
}

.hero__role {
  font-size: 0.8rem;
  color: var(--ink-2);
  line-height: 1.35;
}

.hero__copy {
  display: grid;
  gap: 1.25rem;
  justify-items: start;
}

.hero__title {
  font-size: clamp(2.9rem, 1.5rem + 4.4vw, 4.75rem);
  line-height: 1;
  text-wrap: balance;
}

.hero__copy .lead {
  max-width: 40ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.btn--lg {
  min-height: 54px;
  padding: 0.9rem 1.65rem;
  font-size: 1.02rem;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
  .hero__figure {
    order: 2;
    width: 100%;
    max-width: 430px;
    justify-self: end;
    margin-right: clamp(0rem, 3vw, 2.5rem);
  }
  .hero__caption {
    margin-left: -2.25rem;
  }
}

@media (max-width: 899px) {
  .hero__copy {
    text-align: left;
  }
}

@media (max-width: 899px) {
  .hero__grid {
    gap: 1.5rem;
  }
  .hero__caption {
    margin-top: -1.6rem;
    padding: 0.5rem 0.85rem 0.55rem;
  }
  .hero__name {
    font-size: 1.2rem;
  }
  .hero__role {
    font-size: 0.75rem;
  }
  .hero__copy {
    gap: 0.9rem;
  }
}

@media (max-width: 420px) {
  .hero__actions .btn {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .reveal-seq > * {
    animation: rise 0.9s var(--ease-out) both;
  }
  .reveal-seq > *:nth-child(2) {
    animation-delay: 0.08s;
  }
  .reveal-seq > *:nth-child(3) {
    animation-delay: 0.16s;
  }
  .reveal-seq > *:nth-child(4) {
    animation-delay: 0.24s;
  }
  .hero__media img {
    animation: settle 1.4s var(--ease-out) both;
  }
  .hero__halo {
    animation: halo 1.8s var(--ease-out) 0.2s both;
  }
  .hero__caption {
    animation: rise 0.9s var(--ease-out) 0.45s both;
  }
}

@keyframes halo {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

@keyframes settle {
  from {
    transform: scale(1.06);
    opacity: 0.4;
  }
}

/* --------------------------------------------------------------------------
   Niyet seçici (imza bölüm)
   -------------------------------------------------------------------------- */

.intent {
  display: grid;
  gap: 1.75rem;
}

.intent__head {
  display: grid;
  gap: 0.75rem;
}

.intent__hint {
  color: var(--ink-2);
  max-width: 52ch;
}

.intent-desc {
  min-height: 1.6em;
  color: var(--ink-2);
  font-size: 0.95rem;
}

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(62%, 1fr);
  gap: 0.9rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  scroll-padding-inline: var(--gutter);
  padding-bottom: 0.5rem;
}

.rail > * {
  scroll-snap-align: start;
}

@media (min-width: 640px) {
  .rail {
    grid-auto-columns: minmax(38%, 1fr);
  }
}

@media (min-width: 1024px) {
  .rail {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, 1fr);
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
  }
}

/* --------------------------------------------------------------------------
   Ürün kartı ve ızgara
   -------------------------------------------------------------------------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.9rem, 2.2vw, 1.6rem) clamp(0.75rem, 2vw, 1.5rem);
}

@media (min-width: 760px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.pcard {
  position: relative;
  display: grid;
  gap: 0.65rem;
  align-content: start;
}

.pcard__media {
  aspect-ratio: 4 / 5;
}

.pcard__media img {
  transition: transform 0.7s var(--ease-out);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .pcard:hover .pcard__media img {
    transform: scale(1.035);
  }
}

.pcard__body {
  display: grid;
  gap: 0.2rem;
}

.pcard__cat {
  font-size: 0.8125rem;
  color: var(--ink-3);
}

.pcard__title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

.pcard__title a {
  text-decoration: none;
}

.pcard__title a::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-m);
}

.pcard__title a:focus-visible {
  outline: none;
}

.pcard__title a:focus-visible::after {
  outline: 2px solid var(--plum-text);
  outline-offset: 4px;
}

.pcard__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.1rem;
}

.pcard__add {
  position: relative;
  z-index: 1;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: var(--card);
  color: var(--ink);
  display: inline-grid;
  place-items: center;
  text-decoration: none;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.12s var(--ease);
}

.pcard__add:hover {
  background: var(--plum);
  border-color: var(--plum);
  color: var(--on-plum);
}

.pcard__add:active {
  transform: scale(0.94);
}

.pcard__add.is-done {
  background: var(--ok);
  border-color: var(--ok);
  color: var(--paper);
}

.pcard__add .icon {
  width: 1.2rem;
  height: 1.2rem;
}

.pcard__soldout {
  font-size: 0.8125rem;
  color: var(--ink-3);
}

.price {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  white-space: nowrap;
}

.price--lg {
  font-size: 1.55rem;
  font-weight: 650;
}

.price s {
  color: var(--ink-3);
  font-weight: 400;
  margin-left: 0.4rem;
  font-size: 0.85em;
}

.member-price {
  font-size: 0.8125rem;
  color: var(--plum-text);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Koleksiyon karosu (bento)
   -------------------------------------------------------------------------- */

.bento {
  display: grid;
  gap: clamp(0.75rem, 1.6vw, 1.1rem);
  grid-template-columns: 1fr;
}

.tile {
  position: relative;
  display: grid;
  overflow: hidden;
  border-radius: var(--radius-m);
  background: var(--paper-2);
  color: #fdf7fc;
  text-decoration: none;
  min-height: 220px;
  isolation: isolate;
}

.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.9s var(--ease-out);
}

.tile::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(26, 8, 30, 0) 38%, rgba(26, 8, 30, 0.72) 100%);
}

.tile__body {
  align-self: end;
  padding: clamp(1rem, 2.4vw, 1.6rem);
  display: grid;
  gap: 0.3rem;
}

.tile__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem);
  font-weight: 500;
  line-height: 1.05;
}

.tile__meta {
  font-size: 0.9rem;
  opacity: 0.92;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .tile:hover img {
    transform: scale(1.04);
  }
}

@media (min-width: 760px) {
  .bento {
    grid-template-columns: 1.15fr 1fr 1fr;
    grid-template-rows: repeat(2, minmax(220px, 1fr));
  }
  .bento .tile:nth-child(1) {
    grid-row: span 2;
    min-height: 470px;
  }
  .bento .tile:nth-child(1) img {
    border-radius: 0;
  }
  .bento .tile:nth-child(4) {
    grid-column: 2 / span 2;
  }
}

@media (max-width: 759px) {
  .bento {
    grid-template-columns: 1fr 1fr;
  }
  .bento .tile:nth-child(1) {
    grid-column: span 2;
    min-height: 300px;
  }
  .bento .tile:nth-child(4) {
    grid-column: span 2;
  }
  .bento .tile {
    min-height: 190px;
  }
}

/* --------------------------------------------------------------------------
   Aile üyeliği bandı
   -------------------------------------------------------------------------- */

.join {
  background: var(--blush);
  color: var(--blush-ink);
  border-radius: var(--radius-l);
  padding: clamp(1.75rem, 4.5vw, 3.5rem);
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
}

.join .h2 {
  color: inherit;
}

.join__perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.join__perks li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.join__perks .icon {
  margin-top: 0.15rem;
  color: var(--plum-text);
}

@media (min-width: 900px) {
  .join {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

/* --------------------------------------------------------------------------
   Eğitim yolculuğu
   -------------------------------------------------------------------------- */

.path {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  counter-reset: step;
}

.path__step {
  position: relative;
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 0 1rem;
  padding-bottom: 1.75rem;
}

.path__step::before {
  content: '';
  position: absolute;
  left: calc(1.375rem - 0.5px);
  top: 2.75rem;
  bottom: 0.25rem;
  width: 1px;
  background: var(--line-strong);
}

.path__step:last-child::before {
  display: none;
}

.path__num {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--plum);
  color: var(--on-plum);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}

.path__body {
  display: grid;
  gap: 0.25rem;
  padding-top: 0.35rem;
}

.path__body a {
  text-decoration: none;
}

.path__name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.15;
}

.path__meta {
  color: var(--ink-2);
  font-size: 0.9rem;
}

@media (min-width: 900px) {
  .path {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
  .path__step {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-bottom: 0;
  }
  .path__step::before {
    left: 3.25rem;
    right: -1.25rem;
    top: 1.375rem;
    bottom: auto;
    width: auto;
    height: 1px;
  }
}

.course-group {
  padding-bottom: clamp(2.25rem, 5vw, 3.5rem);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.course-group__title {
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line);
}

.path-details {
  margin-top: 1.25rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  background: var(--card);
}

.path-details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--plum-text);
}

.course-list {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 760px) {
  .course-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 1.5rem;
  }
}

@media (min-width: 1100px) {
  .course-list--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.course {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem;
  border-radius: var(--radius-m);
  background: var(--card);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.course:hover {
  border-color: var(--plum-text);
}

.course__img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-s);
  overflow: hidden;
  background: var(--plum-soft);
  display: grid;
  place-items: center;
  color: var(--plum-text);
}

.course__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course__img .icon {
  width: 1.8rem;
  height: 1.8rem;
}

.course__name {
  font-weight: 600;
  line-height: 1.3;
}

.course__meta {
  font-size: 0.85rem;
  color: var(--ink-2);
}

.course__price {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-size: 0.95rem;
}

@media (max-width: 480px) {
  .course {
    grid-template-columns: 60px 1fr;
  }
  .course__img {
    width: 60px;
    height: 60px;
  }
  .course__price {
    grid-column: 2;
    font-size: 0.9rem;
  }
}

/* --------------------------------------------------------------------------
   Ana sayfa: gece bandı (eğitimler) ve Tuba Uğurlu sözü
   Sayfadaki tek koyu bölüm; "mor gece" dili burada bir kez kullanılır.
   -------------------------------------------------------------------------- */

.night {
  position: relative;
  overflow: hidden;
  padding-block: var(--section-y);
  color: var(--night-ink);
  background:
    radial-gradient(ellipse 50% 65% at 88% 8%, rgba(155, 42, 157, 0.42), transparent 72%),
    radial-gradient(ellipse 40% 55% at 0% 100%, rgba(247, 220, 203, 0.1), transparent 70%),
    var(--night);
}

.night__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.night__title {
  color: var(--night-ink);
}

.night__text {
  margin: 0.9rem 0 1.6rem;
  max-width: 44ch;
  color: var(--night-ink-2);
  font-size: 1.05rem;
  line-height: 1.6;
}

.btn--light {
  --btn-bg: var(--night-ink);
  --btn-fg: #4e0150;
  --btn-bd: transparent;
}

.btn--light:hover {
  --btn-bg: #fcf6fb;
}

.night__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.night__course {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.7rem 1rem 0.7rem 0.7rem;
  border-radius: var(--radius-m);
  border: 1px solid rgba(255, 248, 253, 0.12);
  background: rgba(255, 248, 253, 0.05);
  color: var(--night-ink);
  text-decoration: none;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.night__course:hover {
  background: rgba(255, 248, 253, 0.11);
  border-color: rgba(255, 248, 253, 0.24);
}

.night a:focus-visible {
  outline: 2px solid var(--night-ink);
  outline-offset: 3px;
}

.night__img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-s);
  overflow: hidden;
  display: grid;
  place-items: center;
  background: rgba(255, 248, 253, 0.08);
  color: var(--night-ink-2);
}

.night__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.night__body {
  display: grid;
  gap: 0.15rem;
}

.night__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.15;
}

.night__meta {
  font-size: 0.85rem;
  color: var(--night-ink-2);
}

.night__price {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

@media (min-width: 900px) {
  .night__grid {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

@media (max-width: 480px) {
  .night__course {
    grid-template-columns: 56px 1fr;
  }
  .night__img {
    width: 56px;
    height: 56px;
  }
  .night__price {
    grid-column: 2;
    font-size: 0.92rem;
  }
}

.manifesto {
  display: grid;
  justify-items: center;
  gap: 1rem;
  max-width: 920px;
  text-align: center;
}

.manifesto__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.2rem, 1.35rem + 3.4vw, 4.1rem);
  line-height: 1.1;
  padding-bottom: 0.12em;
  max-width: 18ch;
  color: var(--plum-text);
  text-wrap: balance;
}

.manifesto__by {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.manifesto__text {
  max-width: 50ch;
  color: var(--ink-2);
}

.manifesto__pills {
  justify-content: center;
  margin-block: 0.4rem 0.6rem;
}

/* --------------------------------------------------------------------------
   Hakkında
   -------------------------------------------------------------------------- */

.about {
  display: grid;
  gap: clamp(1.75rem, 4vw, 4rem);
  align-items: center;
}

.about__media {
  width: min(82vw, 380px);
  aspect-ratio: 4 / 5;
}

.about__quote {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.5rem);
  line-height: 1.15;
  font-weight: 500;
  font-style: italic;
  padding-bottom: 0.1em;
}

.pill-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pill-list li {
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  background: var(--plum-soft);
  color: var(--plum-text);
  font-size: 0.875rem;
  font-weight: 500;
}

@media (min-width: 900px) {
  .about {
    grid-template-columns: 0.8fr 1.2fr;
  }
  .about__media {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Güvence satırı
   -------------------------------------------------------------------------- */

.assure {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1rem;
  padding-block: 2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.assure__item {
  display: grid;
  gap: 0.35rem;
  align-content: start;
}

.assure__item .icon {
  width: 1.7rem;
  height: 1.7rem;
  color: var(--plum-text);
}

.assure__title {
  font-weight: 600;
  font-size: 0.975rem;
}

.assure__text {
  font-size: 0.875rem;
  color: var(--ink-2);
}

@media (min-width: 900px) {
  .assure {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
  }
}

/* --------------------------------------------------------------------------
   Alt bilgi
   -------------------------------------------------------------------------- */

.site-footer {
  margin-top: var(--section-y);
  background: var(--paper-2);
  color: var(--ink-2);
  font-size: 0.925rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.footer-brand p {
  margin-top: 0.75rem;
  max-width: 34ch;
}

.footer-col h2 {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-col a {
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--plum-text);
  text-decoration: underline;
}

.social {
  display: flex;
  gap: 0.25rem;
  margin-top: 1rem;
}

.footer-legal {
  border-top: 1px solid var(--line);
  padding-block: 1.25rem 1.75rem;
  display: grid;
  gap: 0.6rem;
  font-size: 0.8125rem;
  color: var(--ink-3);
}

/* Yasal uyarı: küçük, sakin, okunaklı; bağlantı dışında vurgu yok */
.footer-legal .footer-notice {
  max-width: 88ch;
  color: var(--ink-2);
  font-size: 0.78rem;
  line-height: 1.65;
}

.footer-legal .footer-notice strong {
  font-weight: 600;
  color: var(--ink);
}

.footer-legal .footer-notice a {
  color: var(--plum-text);
  white-space: nowrap;
}

.footer-legal .pay-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink-2);
}

.pay-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.pay-badge .icon {
  width: 1rem;
  height: 1rem;
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1.5fr repeat(4, 1fr);
  }
}

/* --------------------------------------------------------------------------
   Mağaza filtreleri
   -------------------------------------------------------------------------- */

.toolbar {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.toolbar__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  justify-content: space-between;
}

.toolbar__count {
  color: var(--ink-2);
  font-size: 0.925rem;
}

.search-inline {
  position: relative;
  flex: 1 1 240px;
  max-width: 360px;
}

.search-inline .icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-3);
  pointer-events: none;
}

.search-inline input {
  padding-left: 2.6rem;
}

.sort-select {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.925rem;
  color: var(--ink-2);
}

.sort-select select {
  min-height: 42px;
  padding-block: 0.4rem;
  width: auto;
}

/* --------------------------------------------------------------------------
   Ürün sayfası
   -------------------------------------------------------------------------- */

.breadcrumbs {
  padding-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--ink-3);
}

.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.breadcrumbs li + li::before {
  content: '/';
  margin-right: 0.35rem;
  color: var(--line-strong);
}

.breadcrumbs a {
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--plum-text);
  text-decoration: underline;
}

.pdp {
  display: grid;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-top: 1.25rem;
}

@media (min-width: 960px) {
  .pdp {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: start;
  }
  .pdp__panel {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }
}

.gallery {
  display: grid;
  gap: 0.75rem;
}

.gallery__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: var(--radius-m);
}

.gallery__track::-webkit-scrollbar {
  display: none;
}

.gallery__slide {
  scroll-snap-align: center;
  aspect-ratio: 1 / 1;
  background: var(--paper-2);
}

.gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery__thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.gallery__thumbs button {
  flex: none;
  width: 68px;
  height: 68px;
  padding: 0;
  border-radius: var(--radius-s);
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--paper-2);
}

.gallery__thumbs button[aria-current='true'] {
  border-color: var(--plum-text);
}

.gallery__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery__dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}

.gallery__dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line-strong);
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.gallery__dots span.is-active {
  background: var(--plum-text);
  transform: scale(1.25);
}

.pdp__panel {
  display: grid;
  gap: 1.1rem;
  align-content: start;
}

.pdp__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  font-weight: 500;
}

.pdp__short {
  color: var(--ink-2);
  font-size: 1.05rem;
}

.buy {
  display: grid;
  gap: 0.9rem;
  padding: 1.1rem;
  border-radius: var(--radius-m);
  background: var(--card);
  border: 1px solid var(--line);
}

.buy__row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.buy__row .btn {
  flex: 1;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  height: 48px;
  flex: none;
}

.qty button {
  width: 42px;
  height: 100%;
  border: 0;
  background: transparent;
  border-radius: var(--radius-pill);
  display: grid;
  place-items: center;
  color: var(--ink);
}

.qty button:hover {
  background: var(--plum-soft);
}

.qty button .icon {
  width: 1rem;
  height: 1rem;
}

.qty input {
  width: 2.4rem;
  border: 0;
  background: transparent;
  text-align: center;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
  appearance: textfield;
  padding: 0;
}

.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty--sm {
  height: 38px;
}

.qty--sm button {
  width: 34px;
}

.qty--sm input {
  width: 1.9rem;
  font-size: 0.925rem;
}

.perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  font-size: 0.925rem;
  color: var(--ink-2);
}

.perks li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.perks .icon {
  color: var(--plum-text);
  margin-top: 0.1rem;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.meta-grid div {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-s);
  background: var(--paper-2);
}

.meta-grid dt {
  font-size: 0.8125rem;
  color: var(--ink-3);
}

.meta-grid dd {
  margin: 0.15rem 0 0;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.45;
}

.accordion {
  border-top: 1px solid var(--line);
}

.accordion details {
  border-bottom: 1px solid var(--line);
}

.accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 0;
  font-weight: 600;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary .icon {
  transition: transform 0.25s var(--ease);
  color: var(--ink-3);
}

.accordion details[open] summary .icon {
  transform: rotate(45deg);
}

.accordion .prose {
  padding-bottom: 1.25rem;
  font-size: 0.975rem;
}

.sticky-buy {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem var(--gutter) calc(0.75rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.3s var(--ease-out);
}

.sticky-buy.is-visible {
  transform: none;
}

.sticky-buy__info {
  min-width: 0;
  flex: 1;
}

.sticky-buy__name {
  font-size: 0.875rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 960px) {
  .sticky-buy {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Formlar
   -------------------------------------------------------------------------- */

.form {
  display: grid;
  gap: 1.1rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .form-grid .span-2 {
    grid-column: span 2;
  }
}

.fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.fieldset legend {
  padding: 0;
  margin-bottom: 0.25rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.2;
}

.field {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}

.field__label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.field__label .opt {
  font-weight: 400;
  color: var(--ink-3);
}

.field__hint {
  font-size: 0.8125rem;
  color: var(--ink-2);
}

.field__error {
  font-size: 0.8125rem;
  color: var(--err);
  font-weight: 500;
  display: flex;
  gap: 0.35rem;
  align-items: flex-start;
}

.field__error .icon {
  width: 1rem;
  height: 1rem;
  margin-top: 0.1rem;
}

.input,
.select,
.textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  background: var(--card);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.input::placeholder,
.textarea::placeholder {
  color: var(--ink-3);
}

.input:hover,
.select:hover,
.textarea:hover {
  border-color: color-mix(in srgb, var(--line-strong) 40%, var(--plum-text) 60%);
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--plum-text);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--plum-text) 22%, transparent);
}

.textarea {
  min-height: 110px;
  resize: vertical;
}

.select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 1.15rem) 50%, calc(100% - 0.8rem) 50%;
  background-size: 0.35rem 0.35rem, 0.35rem 0.35rem;
  background-repeat: no-repeat;
}

.field.has-error .input,
.field.has-error .select,
.field.has-error .textarea {
  border-color: var(--err);
}

.check {
  display: grid;
  grid-template-columns: 1.35rem 1fr;
  gap: 0.7rem;
  align-items: start;
  font-size: 0.925rem;
  line-height: 1.5;
  cursor: pointer;
}

.check input {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0.1rem 0 0;
  accent-color: var(--plum);
  cursor: pointer;
}

.check a {
  color: var(--plum-text);
  font-weight: 600;
}

.check.has-error {
  color: var(--err);
}

.segmented {
  display: inline-flex;
  padding: 4px;
  border-radius: var(--radius-pill);
  background: var(--paper-2);
  gap: 4px;
}

.segmented label {
  position: relative;
}

.segmented input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented span {
  display: inline-block;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.925rem;
  cursor: pointer;
  color: var(--ink-2);
}

.segmented input:checked + span {
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow-s);
}

.segmented input:focus-visible + span {
  outline: 2px solid var(--plum-text);
  outline-offset: 2px;
}

.form-card {
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius-m);
  background: var(--card);
  border: 1px solid var(--line);
}

.auth {
  max-width: 460px;
  margin-inline: auto;
}

.errors-summary {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-s);
  background: var(--err-bg);
  color: var(--err);
  font-size: 0.925rem;
}

.errors-summary ul {
  margin: 0.4rem 0 0;
  padding-left: 1.2rem;
}

/* --------------------------------------------------------------------------
   Bildirimler
   -------------------------------------------------------------------------- */

.notice {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-s);
  background: var(--plum-soft);
  color: var(--ink);
  font-size: 0.95rem;
}

.notice .icon {
  margin-top: 0.1rem;
  color: var(--plum-text);
}

.notice--ok {
  background: var(--ok-bg);
}

.notice--ok .icon {
  color: var(--ok);
}

.notice--err {
  background: var(--err-bg);
}

.notice--err .icon {
  color: var(--err);
}

.notice--warn {
  background: var(--warn-bg);
}

.notice--warn .icon {
  color: var(--warn);
}

.flash-wrap {
  padding-top: 1rem;
}

.toast-region {
  position: fixed;
  z-index: var(--z-toast);
  left: 50%;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: grid;
  gap: 0.5rem;
  width: min(92vw, 420px);
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-m);
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow-m);
  font-size: 0.95rem;
}

.toast a {
  color: inherit;
  font-weight: 700;
  margin-left: auto;
  white-space: nowrap;
}

@media (prefers-reduced-motion: no-preference) {
  .toast {
    animation: rise 0.35s var(--ease-out);
  }
}

/* --------------------------------------------------------------------------
   Sepet çekmecesi
   -------------------------------------------------------------------------- */

.drawer {
  width: min(440px, 100vw);
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0 0 0 auto;
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  overscroll-behavior: contain;
}

.drawer::backdrop {
  background: var(--overlay);
}

.drawer[open] {
  display: flex;
  flex-direction: column;
  animation: sheet-in 0.32s var(--ease-out);
}

@media (max-width: 639px) {
  .drawer {
    width: 100vw;
    height: auto;
    max-height: 90dvh;
    margin: auto 0 0;
    border-radius: var(--radius-l) var(--radius-l) 0 0;
  }
  .drawer[open] {
    animation-name: drawer-up;
  }
}

@keyframes drawer-up {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
}

.drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem 1.25rem 1rem;
}

.drawer__foot {
  padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.75rem;
  background: var(--paper);
}

.drawer-loading {
  padding: 2rem 0;
  display: grid;
  gap: 0.75rem;
}

.skeleton {
  height: 84px;
  border-radius: var(--radius-s);
  background: linear-gradient(90deg, var(--paper-2), color-mix(in srgb, var(--paper-2) 60%, var(--card)), var(--paper-2));
  background-size: 200% 100%;
}

@media (prefers-reduced-motion: no-preference) {
  .skeleton {
    animation: shimmer 1.4s linear infinite;
  }
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

.cart-lines {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cart-line {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 0.9rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.cart-line__img {
  width: 76px;
  height: 92px;
  border-radius: var(--radius-s);
  overflow: hidden;
  background: var(--paper-2);
}

.cart-line__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-line__main {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.cart-line__top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.cart-line__name {
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}

.cart-line__note {
  font-size: 0.8125rem;
  color: var(--ink-2);
  overflow-wrap: anywhere;
}

.cart-line__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.cart-line__remove {
  border: 0;
  background: transparent;
  color: var(--ink-3);
  font-size: 0.8125rem;
  text-decoration: underline;
  padding: 0.25rem 0;
}

.cart-line__remove:hover {
  color: var(--err);
}

.summary {
  display: grid;
  gap: 0.55rem;
  font-size: 0.95rem;
}

.summary__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.summary__row dt {
  color: var(--ink-2);
}

.summary__row dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.summary__row--discount dd {
  color: var(--ok);
}

.summary__row--total {
  padding-top: 0.65rem;
  border-top: 1px solid var(--line);
  font-size: 1.1rem;
  font-weight: 700;
}

.summary__row--total dt {
  color: var(--ink);
}

.ship-progress {
  display: grid;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: var(--ink-2);
}

.ship-progress progress {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 4px;
  border: 0;
  border-radius: 4px;
  background: var(--line);
  color: var(--plum-text);
  overflow: hidden;
}

.ship-progress progress::-webkit-progress-bar {
  background: var(--line);
  border-radius: 4px;
}

.ship-progress progress::-webkit-progress-value {
  background: var(--plum-text);
  border-radius: 4px;
}

.ship-progress progress::-moz-progress-bar {
  background: var(--plum-text);
  border-radius: 4px;
}

/* Ödeme formu: koşullu alanlar JavaScript olmadan da doğru görünür */
.checkout [data-show-when] {
  display: none;
}

.checkout:has(input[name='invoice_type'][value='kurumsal']:checked) [data-show-when='invoice_type=kurumsal'],
.checkout:has(input[name='invoice_type'][value='bireysel']:checked) [data-show-when='invoice_type=bireysel'],
.checkout:has(input[name='billing_same']:not(:checked)) [data-show-when='billing_same=0'] {
  display: grid;
}

.checkout .panel__title .opt {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--ink-3);
}

.qty-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stack--lg {
  --stack: 1.5rem;
}

.pw-wrap {
  position: relative;
}

.pw-wrap .input {
  padding-right: 5.25rem;
}

.pw-toggle {
  position: absolute;
  right: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--plum-text);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.45rem 0.65rem;
}

.pw-toggle:hover {
  background: var(--plum-soft);
}

.track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.track li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink-3);
  font-size: 0.95rem;
}

.track__dot {
  flex: none;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
}

.track__dot .icon {
  width: 0.95rem;
  height: 0.95rem;
}

.track li.is-done {
  color: var(--ink);
}

.track li.is-done .track__dot {
  background: var(--plum);
  border-color: var(--plum);
  color: var(--on-plum);
}

.track li.is-current {
  font-weight: 700;
}

@media (min-width: 760px) {
  .track {
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
  }
}

.num-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: n;
  display: grid;
  gap: 0.9rem;
}

.num-list li {
  counter-increment: n;
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.75rem;
  align-items: start;
}

.num-list li::before {
  content: counter(n);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--plum-soft);
  color: var(--plum-text);
  font-weight: 700;
  font-size: 0.9rem;
}

.num-list li span {
  padding-top: 0.25rem;
}

.prose--pills ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.prose--pills li {
  margin: 0 !important;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  background: var(--plum-soft);
  color: var(--plum-text);
  font-size: 0.875rem;
  font-weight: 500;
}

details.panel > summary {
  cursor: pointer;
}

.member-nudge {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.8rem 0.95rem;
  border-radius: var(--radius-s);
  background: var(--blush);
  color: var(--blush-ink);
  font-size: 0.875rem;
}

.member-nudge .icon {
  flex: none;
  margin-top: 0.1rem;
}

.member-nudge a {
  color: inherit;
  font-weight: 700;
}

.empty {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: clamp(2.5rem, 7vw, 4.5rem) 1rem;
}

.empty .icon {
  width: 2.75rem;
  height: 2.75rem;
  color: var(--plum-text);
}

.empty p {
  color: var(--ink-2);
  max-width: 42ch;
}

/* --------------------------------------------------------------------------
   Sepet ve ödeme sayfaları
   -------------------------------------------------------------------------- */

.cart-page,
.checkout {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

@media (min-width: 960px) {
  .cart-page,
  .checkout {
    grid-template-columns: minmax(0, 1fr) 400px;
  }
  .aside-sticky {
    position: sticky;
    top: calc(var(--header-h) + 1.25rem);
  }
}

.panel {
  padding: clamp(1.1rem, 2.5vw, 1.6rem);
  border-radius: var(--radius-m);
  background: var(--card);
  border: 1px solid var(--line);
}

.panel + .panel {
  margin-top: 1rem;
}

.panel--highlight {
  border: 2px solid var(--plum);
  background: color-mix(in srgb, var(--plum-soft) 45%, var(--card));
}

.panel--highlight .panel__title .icon {
  vertical-align: -0.15em;
  color: var(--plum);
}

.panel__title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.coupon-form {
  display: flex;
  gap: 0.5rem;
}

.coupon-form .input {
  min-height: 44px;
  text-transform: uppercase;
}

.mini-lines {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.mini-line {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.9rem;
}

.mini-line__img {
  position: relative;
  width: 52px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--paper-2);
}

.mini-line__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-line__qty {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  padding: 0 4px;
}

.mini-line__name {
  line-height: 1.3;
}

.steps {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.875rem;
  color: var(--ink-3);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.steps span[aria-current='step'] {
  color: var(--ink);
  font-weight: 600;
}

.steps .icon {
  width: 0.9rem;
  height: 0.9rem;
}

.pay-frame {
  border-radius: var(--radius-m);
  background: #fdfbfd;
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 420px;
}

.pay-frame iframe {
  display: block;
  width: 100%;
  min-height: 600px;
  border: 0;
}

.secure-note {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  font-size: 0.875rem;
  color: var(--ink-2);
}

.secure-note .icon {
  color: var(--ok);
}

.mock-pay {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
}

.result {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  display: grid;
  gap: 1rem;
  justify-items: center;
  padding-block: clamp(2.5rem, 7vw, 5rem) 1rem;
}

.result__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--plum-soft);
  color: var(--plum-text);
}

.result__icon .icon {
  width: 2.2rem;
  height: 2.2rem;
}

.result__icon--ok {
  background: var(--ok-bg);
  color: var(--ok);
}

.result__icon--err {
  background: var(--err-bg);
  color: var(--err);
}

.result .lead {
  margin-inline: auto;
}

.pulse {
  animation: none;
}

@media (prefers-reduced-motion: no-preference) {
  .pulse {
    animation: pulse 1.6s var(--ease) infinite;
  }
}

@keyframes pulse {
  50% {
    transform: scale(0.94);
    opacity: 0.7;
  }
}

/* --------------------------------------------------------------------------
   Sipariş, hesap
   -------------------------------------------------------------------------- */

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--paper-2);
  color: var(--ink-2);
  white-space: nowrap;
}

.status--ok {
  background: var(--ok-bg);
  color: var(--ok);
}

.status--warn {
  background: var(--warn-bg);
  color: var(--warn);
}

.status--err {
  background: var(--err-bg);
  color: var(--err);
}

.status--plum {
  background: var(--plum-soft);
  color: var(--plum-text);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.timeline li {
  display: grid;
  grid-template-columns: 0.75rem 1fr;
  gap: 0.8rem;
  font-size: 0.925rem;
}

.timeline li::before {
  content: '';
  width: 0.6rem;
  height: 0.6rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--plum-text);
}

.timeline time {
  display: block;
  font-size: 0.8125rem;
  color: var(--ink-3);
}

.order-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.order-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-m);
  background: var(--card);
  border: 1px solid var(--line);
  text-decoration: none;
}

.order-row:hover {
  border-color: var(--plum-text);
}

.tabs {
  display: flex;
  gap: 0.25rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs a {
  padding: 0.75rem 1rem;
  text-decoration: none;
  font-weight: 600;
  color: var(--ink-2);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
}

.tabs a[aria-current='page'] {
  color: var(--plum-text);
  border-bottom-color: var(--plum-text);
}

.split {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .split--wide {
    grid-template-columns: 1.3fr 0.7fr;
  }
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.contact-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.contact-list .icon {
  width: 1.4rem;
  height: 1.4rem;
  color: var(--plum-text);
  margin-top: 0.1rem;
}

.contact-list a {
  text-decoration: none;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Diyalog (sözleşme önizleme)
   -------------------------------------------------------------------------- */

.modal {
  width: min(760px, calc(100vw - 1.5rem));
  max-height: min(86dvh, 900px);
  padding: 0;
  border: 0;
  border-radius: var(--radius-m);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-m);
}

.modal::backdrop {
  background: var(--overlay);
}

.modal[open] {
  display: flex;
  flex-direction: column;
  animation: rise 0.3s var(--ease-out);
}

.modal__body {
  overflow-y: auto;
  padding: 0.5rem clamp(1.1rem, 3vw, 2rem) 2rem;
}

.modal__foot {
  padding: 1rem clamp(1.1rem, 3vw, 2rem);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
}

/* --------------------------------------------------------------------------
   Çerez bildirimi
   -------------------------------------------------------------------------- */

.cookie-note {
  position: fixed;
  z-index: var(--z-toast);
  left: 1rem;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  max-width: 520px;
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-m);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-m);
  font-size: 0.875rem;
  color: var(--ink-2);
}

.cookie-note a {
  color: var(--plum-text);
  font-weight: 600;
}

.cookie-note .btn {
  flex: none;
}

/* Iki secenek: dar ekranda alt alta, genis ekranda yan yana. */
.cookie-note__actions {
  display: flex;
  flex: none;
  flex-wrap: wrap;
  gap: 0.5rem;
}

@media (max-width: 520px) {
  .cookie-note {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .cookie-note__actions .btn {
    flex: 1 1 0;
    justify-content: center;
  }
}

/* Alt bilgideki "tercihini degistir": baglanti gibi gorunen dugme. */
.linklike {
  border: 0;
  padding: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

.linklike:hover {
  color: var(--plum-text);
}

/* --------------------------------------------------------------------------
   Sayfalama
   -------------------------------------------------------------------------- */

.pagination {
  display: flex;
  gap: 0.35rem;
  justify-content: center;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  min-width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  padding: 0 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}

.pagination [aria-current='page'] {
  background: var(--plum);
  color: var(--on-plum);
  border-color: var(--plum);
}

/* --------------------------------------------------------------------------
   Ödeme yöntemi ve havale bilgileri
   -------------------------------------------------------------------------- */

.pay-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.pay-method {
  position: relative;
  display: block;
  cursor: pointer;
}

.pay-method input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pay-method > span {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-s);
  background: var(--card);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.pay-method .icon {
  grid-row: span 2;
  font-size: 1.6rem;
  color: var(--plum);
}

.pay-method small {
  color: var(--ink-2);
  font-size: 0.85rem;
}

.pay-method input:checked + span {
  border-color: var(--plum);
  background: var(--plum-soft);
}

.pay-method input:focus-visible + span {
  outline: 2px solid var(--plum);
  outline-offset: 2px;
}

/* Tek ödeme yöntemi varken gösterilen bilgi kutusu */
.pay-single {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border: 1.5px solid var(--plum);
  border-radius: var(--radius-s);
  background: var(--plum-soft);
}

.pay-single .icon {
  font-size: 1.5rem;
  color: var(--plum-text);
}

.pay-single p {
  margin-top: 0.25rem;
}

.pay-steps {
  counter-reset: pay-step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.pay-steps li {
  counter-increment: pay-step;
  display: grid;
  grid-template-columns: 1.9rem 1fr;
  gap: 0.75rem;
  align-items: baseline;
  font-size: 1.02rem;
}

.pay-steps li::before {
  content: counter(pay-step);
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--plum);
  color: var(--on-plum);
  font-weight: 700;
  font-size: 0.9rem;
}

/* WhatsApp eylemi: sistemdeki yeşil token kullanılır, yeni renk eklenmez */
.btn--wa {
  --btn-bg: var(--ok);
  --btn-fg: #fcfefd;
  --btn-bd: transparent;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .btn--wa {
    --btn-fg: #10291c;
  }
}

:root[data-theme='dark'] .btn--wa {
  --btn-fg: #10291c;
}

.bank-box .panel__title .icon {
  vertical-align: -0.15em;
  color: var(--plum);
}

.bank-list {
  display: grid;
  gap: 2px;
  margin: 8px 0 14px;
}

.bank-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.bank-row dt {
  color: var(--ink-2);
  font-size: 0.9rem;
}

.bank-row dd {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

@media (max-width: 480px) {
  .bank-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* --------------------------------------------------------------------------
   Yazdırma
   -------------------------------------------------------------------------- */

@media print {
  .announce,
  .site-header,
  .site-footer,
  .cookie-note,
  .sticky-buy,
  .toast-region,
  .no-print {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
}


/* ==========================================================================
   Bireysel manevi danışmanlık: sitenin imza sayfası
   Cesaret tek yerde toplanır: gece zemininde kemer (mihrap) portre ve Cormorant
   hitap satırı. Altındaki bölümler kağıt zeminde sessiz kalır.
   Yeni renk ya da biçim icat edilmez; mevcut tokenlar ve kemer biçimi kullanılır.
   ========================================================================== */

.consult-hero__grid {
  display: grid;
  gap: 1.6rem;
  align-items: center;
  /* Mobilde tek sütunlu, ortalı bir açılış ekranı; masaüstünde asimetrik ikiliye döner. */
  justify-items: center;
  text-align: center;
}

/* Kemer nişi: portre öne çıkar, arkasındaki halkalar duvarda açılmış bir mihrap gibi geri çekilir */
.consult-hero__frame {
  position: relative;
  /* Dar ekranda portre küçülür ki başlık, metin ve düğme kaydırmadan görünsün. */
  width: min(62%, 208px);
  isolation: isolate;
}

.consult-hero__media {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 34px 70px -26px rgba(0, 0, 0, 0.75);
}

.consult-hero__halo,
.consult-hero__halo::after,
.consult-hero__halo::before {
  position: absolute;
  border: 1px solid rgba(244, 236, 243, 0.22);
  border-bottom: 0;
  border-radius: 1000px 1000px 0 0;
  pointer-events: none;
}

.consult-hero__halo {
  inset: -6% -9% 12% -9%;
}

.consult-hero__halo::after {
  content: '';
  inset: -7% -9% 0 -9%;
  border-color: rgba(244, 236, 243, 0.13);
}

.consult-hero__halo::before {
  content: '';
  inset: -15% -19% 0 -19%;
  border-color: rgba(244, 236, 243, 0.07);
}

.consult-hero__title {
  margin: 0 auto;
  font-size: clamp(2.5rem, 1.4rem + 4.6vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--night-ink);
  max-width: 13ch;
}

.consult-hero__lead {
  margin: 0 auto;
  font-size: clamp(1.02rem, 0.98rem + 0.35vw, 1.2rem);
  line-height: 1.6;
  color: var(--night-ink-2);
  max-width: 34ch;
}

/* Dar ekranda tek ve net bir eylem: düğme satırı doldurur. */
.consult-hero .cluster {
  width: 100%;
}

.consult-hero .cluster .btn {
  width: 100%;
  justify-content: center;
}

@media (min-width: 900px) {
  .consult-hero__grid {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: 4rem;
    justify-items: start;
    text-align: left;
  }

  .consult-hero__frame {
    width: min(100%, 300px);
  }

  .consult-hero__title {
    margin-inline: 0;
    max-width: 15ch;
  }

  .consult-hero__lead {
    margin-inline: 0;
    max-width: 46ch;
  }

  .consult-hero .cluster,
  .consult-hero .cluster .btn {
    width: auto;
  }
}

/* Sahibin kendi sözleri: dar, sakin, tek sütun */
.consult-words {
  font-size: 1.06rem;
}

.consult-words h1 {
  display: none;
}

/* Seansta ne yaparız: eşit üç kart değil, ağırlığı kayan asimetrik üçlü */
.ways {
  display: grid;
  gap: 1rem;
}

.ways__item {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  padding: 1.6rem 1.45rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--card);
}

.ways__item p {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.6;
}

.ways__item h3 {
  margin: 0;
}

.ways__item--wide {
  border-color: transparent;
  background: linear-gradient(158deg, var(--plum-soft), var(--card) 68%);
}

.ways__icon .icon {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--plum-text);
}

@media (min-width: 820px) {
  .ways {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .ways__item--wide {
    grid-row: span 2;
    padding: 2.2rem 2rem;
  }

  .ways__item--wide h3 {
    font-size: 1.6rem;
  }
}

/* Ne olduğu, ne olmadığı: iki sütun, aralarında tek saç teli çizgi */
.balance {
  display: grid;
  gap: 2.25rem;
}

.balance__title {
  margin: 0;
}

.balance__list {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.balance__list li {
  display: grid;
  grid-template-columns: 1.2rem minmax(0, 1fr);
  gap: 0.6rem;
  align-items: start;
  line-height: 1.6;
}

.balance__list .icon {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.22rem;
  color: var(--plum-text);
}

.balance__col--quiet .balance__list li,
.balance__col--quiet .balance__list .icon {
  color: var(--ink-2);
}

@media (min-width: 820px) {
  .balance {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .balance__col {
    padding-right: 3rem;
  }

  .balance__col + .balance__col {
    padding-right: 0;
    padding-left: 3rem;
    border-left: 1px solid var(--line);
  }
}

/* Nasıl başlar: gerçekten sıralı olduğu için numaralı; rakamlar sayfanın kemer biçimini taşır */
.flow {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.6rem;
}

.flow__step {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
}

.flow__step p {
  margin: 0.2rem 0 0;
  color: var(--ink-2);
  line-height: 1.6;
}

.flow__title {
  margin: 0;
  font-size: 1.35rem;
}

.flow__num {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 3rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--on-plum);
  background: var(--plum);
}

.ways__item {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) {
  .ways__item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-m);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ways__item {
    transition: none;
  }

  .ways__item:hover {
    transform: none;
  }
}

/* Bölümler arasında sessiz bir duraklama: sahibin kendi cümlesi */
.consult-quote {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  text-align: center;
}

.consult-quote blockquote {
  margin: 0;
  max-width: 24ch;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1.2rem + 2.1vw, 2.9rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
}

.consult-quote figcaption {
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: var(--ink-3);
}
