/* ==========================================================================
   Yeni Şafak Kırtasiye — Kurumsal Tasarım Sistemi
   Tek dosya, çerçeve yok. Renk/ölçü değişiklikleri :root altındaki
   token'lardan yapılır; bileşen kodlarına dokunmaya gerek yoktur.
   ========================================================================== */

/* --- 1. Tasarım token'ları ------------------------------------------------ */
:root {
  /* Kurumsal palet — Yeni Şafak Kırtasiye logosundan türetilmiştir (şartname §4).
     Logodaki iki gerçek marka rengi:
       mor     rgb(30.6%, 22.7%, 49.0%)  = #4E3A7D  → --brand-600
       turuncu rgb(94.1%, 47.1%,  2.0%)  = #F07805  → --accent-500
     Diğer tonlar bu ikisinden kurumsal bir skala olarak üretilmiştir. */
  --brand-900: #241a3d;   /* hero / footer zemini */
  --brand-800: #31245a;
  --brand-700: #3f2e6e;
  --brand-600: #4e3a7d;   /* LOGO MORU */
  --brand-500: #614a93;
  --brand-100: #e8e4f1;
  --brand-50:  #f5f3f9;

  /* Turuncu: zemin olarak logo tonu, METİN olarak koyulaştırılmış tonu kullanılır.
     #F07805 üzerine beyaz yazı WCAG AA'yı geçmediği için turuncu butonlarda
     koyu mor yazı (--ink-900), beyaz üzerine turuncu yazıda --accent-700 kullanılır. */
  --accent-700: #b35705;  /* beyaz üzerine metin için — kontrast 4.9:1 */
  --accent-600: #d66a04;
  --accent-500: #f07805;  /* LOGO TURUNCUSU */
  --accent-100: #fdeddd;

  --ink-900: #1c1630;
  --ink-700: #3b3650;
  --ink-500: #635e77;
  --ink-400: #8a94a4;
  --ink-200: #dde2e9;
  --ink-100: #eef1f5;
  --ink-50:  #f7f9fb;
  --white:   #ffffff;

  --ok-600: #15803d;
  --danger-600: #b91c1c;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.375rem;
  --text-2xl:  1.75rem;
  --text-3xl:  2.25rem;
  --text-4xl:  3rem;

  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --space-9: 96px;

  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 14px;

  --shadow-sm: 0 1px 2px rgba(11, 31, 58, .06);
  --shadow:    0 2px 8px rgba(11, 31, 58, .08);
  --shadow-lg: 0 12px 32px rgba(11, 31, 58, .12);

  --container: 1240px;
  --header-h: 84px;

  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* --- 2. Temel sıfırlama --------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  margin: 0 0 var(--space-4);
  color: var(--ink-900);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.015em;
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-xl); }

p { margin: 0 0 var(--space-4); }

a { color: var(--brand-600); text-decoration: none; transition: color .16s var(--ease); }
a:hover { color: var(--brand-800); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { margin: 0 0 var(--space-4); padding-left: var(--space-5); }

/* Erişilebilirlik: klavye odağı her zaman görünür (şartname §34) */
:focus-visible {
  outline: 3px solid var(--accent-500);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--brand-900); color: var(--white);
  padding: var(--space-3) var(--space-4); border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; color: var(--white); }

.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;
}

/* --- 3. Düzen ------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

.section { padding-block: var(--space-9); }
.section--tight { padding-block: var(--space-8); }
.section--tinted { background: var(--ink-50); }
.section--brand { background: var(--brand-900); color: rgba(255,255,255,.82); }
.section--brand h2, .section--brand h3 { color: var(--white); }

.grid { display: grid; gap: var(--space-5); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }

.section-head { max-width: 720px; margin-bottom: var(--space-7); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-500); font-size: var(--text-lg); margin: 0; }

.eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-700);
  margin-bottom: var(--space-3);
}
.section--brand .eyebrow { color: var(--accent-500); }

/* --- 4. Butonlar ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--space-2);
  padding: 13px var(--space-5);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease), transform .16s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--brand-700); color: var(--white); }
.btn--primary:hover { background: var(--brand-800); color: var(--white); }

.btn--accent { background: var(--accent-500); color: var(--ink-900); }
.btn--accent:hover { background: var(--accent-600); color: var(--ink-900); }

.btn--ghost { background: transparent; color: var(--ink-900); border-color: var(--ink-200); }
.btn--ghost:hover { background: var(--ink-50); color: var(--ink-900); border-color: var(--ink-400); }

.btn--light { background: var(--white); color: var(--brand-900); }
.btn--light:hover { background: var(--brand-50); color: var(--brand-900); }

.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.btn--outline-light:hover { background: rgba(255,255,255,.1); color: var(--white); }

.btn--lg { padding: 16px var(--space-6); font-size: var(--text-base); }
.btn--block { width: 100%; }

/* --- 5. Üst bar + Header -------------------------------------------------- */
.topbar {
  background: var(--brand-900);
  color: rgba(255,255,255,.72);
  font-size: var(--text-sm);
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-5); min-height: 42px;
}
.topbar__list { display: flex; align-items: center; gap: var(--space-5); list-style: none; margin: 0; padding: 0; }
.topbar a { color: rgba(255,255,255,.82); display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--white); }

.header {
  position: sticky; top: 0; z-index: 60;
  background: var(--white);
  border-bottom: 1px solid var(--ink-100);
}
.header__inner {
  display: flex; align-items: center; gap: var(--space-5);
  min-height: var(--header-h);
}
.logo { display: inline-flex; align-items: center; gap: var(--space-3); flex-shrink: 0; }
.logo img { max-height: 54px; width: auto; }
@media (max-width: 720px) { .logo img { max-height: 42px; } }
.logo__fallback { display: flex; flex-direction: column; line-height: 1.15; }
.logo__name { font-size: var(--text-lg); font-weight: 800; color: var(--brand-900); letter-spacing: -.02em; }
.logo__sub { font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-400); }

.search { flex: 1; max-width: 460px; position: relative; }
.search input {
  width: 100%; height: 44px;
  padding: 0 44px 0 var(--space-4);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  background: var(--ink-50);
  font: inherit; font-size: var(--text-sm); color: var(--ink-900);
  transition: border-color .16s var(--ease), background .16s var(--ease);
}
.search input:focus { background: var(--white); border-color: var(--brand-500); outline: none; }
.search input::placeholder { color: var(--ink-400); }
.search button {
  position: absolute; right: 4px; top: 4px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 0; border-radius: var(--radius-sm);
  background: transparent; color: var(--ink-500); cursor: pointer;
}
.search button:hover { background: var(--ink-100); color: var(--brand-700); }

.header__actions { display: flex; align-items: center; gap: var(--space-3); margin-left: auto; }
.header__cta-short { display: none; }

.nav-toggle {
  display: none; width: 44px; height: 44px;
  border: 1px solid var(--ink-200); border-radius: var(--radius);
  background: var(--white); cursor: pointer;
  color: var(--ink-900);
}

/* --- 6. Ana menü + Mega menü ---------------------------------------------- */
.nav { border-top: 1px solid var(--ink-100); background: var(--white); }
.nav__list { display: flex; align-items: center; gap: var(--space-2); list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: var(--space-4) var(--space-4);
  font-size: var(--text-sm); font-weight: 600; color: var(--ink-700);
  border-bottom: 2px solid transparent;
}
.nav__link:hover, .nav__item[aria-expanded="true"] > .nav__link { color: var(--brand-700); border-bottom-color: var(--brand-600); }
.nav__link--active { color: var(--brand-800); border-bottom-color: var(--brand-700); }

.megamenu {
  position: absolute; left: 0; top: 100%; z-index: 70;
  min-width: 940px;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-6);
  display: none;
}
.nav__item--open > .megamenu { display: block; }
.megamenu__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5) var(--space-6); }
.megamenu__col h4 {
  font-size: var(--text-sm); margin-bottom: var(--space-3);
  padding-bottom: var(--space-2); border-bottom: 1px solid var(--ink-100);
  color: var(--brand-800);
}
.megamenu__col ul { list-style: none; margin: 0; padding: 0; }
.megamenu__col li + li { margin-top: 2px; }
.megamenu__col a {
  display: block; padding: 5px 0;
  font-size: var(--text-sm); color: var(--ink-500);
}
.megamenu__col a:hover { color: var(--brand-700); }
.megamenu__footer {
  margin-top: var(--space-5); padding-top: var(--space-4);
  border-top: 1px solid var(--ink-100);
  display: flex; justify-content: space-between; align-items: center;
}

/* --- 7. Hero -------------------------------------------------------------- */
.hero { position: relative; background: var(--brand-900); color: var(--white); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, var(--brand-900) 8%, rgba(11,31,58,.86) 48%, rgba(11,31,58,.55) 100%);
}
.hero__inner { position: relative; z-index: 2; padding-block: var(--space-9); max-width: 730px; }
.hero h1 { color: var(--white); font-size: var(--text-4xl); margin-bottom: var(--space-4); }
.hero__sub { font-size: var(--text-lg); color: rgba(255,255,255,.8); margin-bottom: var(--space-6); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero__meta {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; gap: var(--space-7);
  padding-block: var(--space-5);
  border-top: 1px solid rgba(255,255,255,.14);
}
.hero__meta div strong { display: block; color: var(--white); font-size: var(--text-lg); }
.hero__meta div span { font-size: var(--text-sm); color: rgba(255,255,255,.62); }

/* --- 8. Kartlar ----------------------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { border-color: var(--brand-100); box-shadow: var(--shadow); transform: translateY(-2px); }

.card__media { aspect-ratio: 4 / 3; background: var(--ink-50); display: grid; place-items: center; overflow: hidden; }
/* Kartta görsel alanı doldurur: hem fotoğraf hem çizim doğru görünür.
   Çizimlerin sanat alanı merkezde olduğu için 4:3 kırpımdan etkilenmez. */
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media--empty { color: var(--ink-400); font-size: var(--text-xs); }
.card__body { padding: var(--space-4) var(--space-5) var(--space-5); flex: 1; display: flex; flex-direction: column; }
.card__brand { font-size: var(--text-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-700); margin-bottom: var(--space-2); }
.card__title { font-size: var(--text-base); font-weight: 650; color: var(--ink-900); margin: 0 0 var(--space-2); line-height: 1.4; }
.card__meta { font-size: var(--text-sm); color: var(--ink-400); margin: 0 0 var(--space-4); }
.card__link { margin-top: auto; font-size: var(--text-sm); font-weight: 600; color: var(--brand-600); display: inline-flex; align-items: center; gap: 6px; }
.card a.card__stretch::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }

/* Kategori kartı */
.cat-card {
  position: relative; display: block;
  padding: var(--space-6) var(--space-5);
  background: var(--white); border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  transition: all .18s var(--ease);
}
.cat-card:hover { border-color: var(--brand-500); box-shadow: var(--shadow); }
.cat-card__icon {
  width: 46px; height: 46px; margin-bottom: var(--space-4);
  display: grid; place-items: center;
  border-radius: var(--radius); background: var(--brand-50); color: var(--brand-700);
}
/* Alt kategori kartındaki çizim */
.cat-card__art {
  display: block; width: 68px; height: 68px; margin-bottom: var(--space-4);
  border-radius: var(--radius); overflow: hidden; background: var(--brand-50);
}
.cat-card__art img { width: 100%; height: 100%; object-fit: cover; }
.cat-card { display: flex; flex-direction: column; }
.cat-card h3 { font-size: var(--text-base); line-height: 1.35; margin-bottom: var(--space-2); }
.cat-card__count {
  margin-top: auto; display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--text-xs); font-weight: 600; color: var(--brand-600);
}
.cat-card h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.cat-card p { font-size: var(--text-sm); color: var(--ink-500); margin: 0; }
.cat-card__count { font-size: var(--text-xs); color: var(--ink-400); }

/* Kurumsal güç kartı (§15) */
.feature { padding: var(--space-5) 0; }
.feature__icon {
  width: 48px; height: 48px; margin-bottom: var(--space-4);
  display: grid; place-items: center;
  border-radius: var(--radius); background: var(--brand-50); color: var(--brand-700);
}
.section--brand .feature__icon { background: rgba(255,255,255,.08); color: var(--accent-500); }
.feature h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.feature p { font-size: var(--text-sm); color: var(--ink-500); margin: 0; }
.section--brand .feature p { color: rgba(255,255,255,.66); }

/* Kurumsal hizmet bloğu (§16) */
.promo {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 320px; padding: var(--space-6);
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--brand-800); color: var(--white);
}
.promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .4; }
.promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,31,58,.94) 12%, rgba(11,31,58,.32) 100%); }
.promo > * { position: relative; z-index: 2; }
.promo h3 { color: var(--white); font-size: var(--text-xl); margin-bottom: var(--space-2); }
.promo p { color: rgba(255,255,255,.78); font-size: var(--text-sm); margin-bottom: var(--space-4); }

/* Marka logosu (§13) */
.brand-tile {
  display: grid; place-items: center;
  height: 96px; padding: var(--space-4);
  background: var(--white); border: 1px solid var(--ink-100); border-radius: var(--radius);
  transition: border-color .18s var(--ease);
}
.brand-tile:hover { border-color: var(--brand-500); }
.brand-tile img { max-height: 48px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .68; transition: all .18s var(--ease); }
.brand-tile:hover img { filter: none; opacity: 1; }
.brand-tile__text { font-weight: 700; color: var(--ink-400); font-size: var(--text-sm); text-align: center; }

/* --- 9. Kategori sekmeleri (§14) ------------------------------------------ */
.tabs { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-6); }
.tabs__btn {
  padding: 10px var(--space-5);
  border: 1px solid var(--ink-200); border-radius: 999px;
  background: var(--white); color: var(--ink-700);
  font: inherit; font-size: var(--text-sm); font-weight: 600;
  cursor: pointer; transition: all .16s var(--ease);
}
.tabs__btn:hover { border-color: var(--brand-500); color: var(--brand-700); }
.tabs__btn[aria-selected="true"] { background: var(--brand-800); border-color: var(--brand-800); color: var(--white); }
.tabs__panel[hidden] { display: none; }

/* --- 10. Breadcrumb (§27) ------------------------------------------------- */
.breadcrumb { background: var(--ink-50); border-bottom: 1px solid var(--ink-100); }
.breadcrumb ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2);
  list-style: none; margin: 0; padding: var(--space-3) 0;
  font-size: var(--text-sm); color: var(--ink-400);
}
.breadcrumb a { color: var(--ink-500); }
.breadcrumb a:hover { color: var(--brand-700); }
.breadcrumb li + li::before { content: "/"; margin-right: var(--space-2); color: var(--ink-200); }
.breadcrumb [aria-current="page"] { color: var(--ink-900); font-weight: 600; }

/* --- 11. Sayfa başlığı ---------------------------------------------------- */
.page-head { background: var(--brand-900); color: var(--white); padding-block: var(--space-8); }
.page-head h1 { color: var(--white); margin-bottom: var(--space-2); }
.page-head p { color: rgba(255,255,255,.72); margin: 0; max-width: 680px; }

/* --- 12. İçerik (Rich text) ----------------------------------------------- */
.prose { max-width: 76ch; font-size: var(--text-lg); color: var(--ink-700); }
.prose h2 { font-size: var(--text-2xl); margin-top: var(--space-7); }
.prose h3 { font-size: var(--text-xl); margin-top: var(--space-6); }
.prose ul, .prose ol { margin-bottom: var(--space-5); }
.prose li { margin-bottom: var(--space-2); }
.prose img { border-radius: var(--radius); margin-block: var(--space-5); }

/* --- 13. Ürün detay ------------------------------------------------------- */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-8); }
.gallery__main {
  aspect-ratio: 1; background: var(--ink-50);
  border: 1px solid var(--ink-100); border-radius: var(--radius-lg);
  display: grid; place-items: center; overflow: hidden;
}
.gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: var(--space-6); }
.gallery__thumbs { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-4); }
.gallery__thumb {
  width: 76px; height: 76px; padding: var(--space-2);
  border: 1px solid var(--ink-200); border-radius: var(--radius);
  background: var(--white); cursor: pointer;
}
.gallery__thumb[aria-selected="true"] { border-color: var(--brand-600); box-shadow: 0 0 0 2px var(--brand-100); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }

.spec-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.spec-table th, .spec-table td { padding: var(--space-3) var(--space-4); text-align: left; border-bottom: 1px solid var(--ink-100); }
.spec-table th { width: 40%; color: var(--ink-500); font-weight: 600; background: var(--ink-50); }
.spec-table td { color: var(--ink-900); }

.cta-box {
  padding: var(--space-6); border-radius: var(--radius-lg);
  background: var(--brand-50); border: 1px solid var(--brand-100);
}
.cta-box h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.cta-box p { font-size: var(--text-sm); color: var(--ink-500); margin-bottom: var(--space-4); }

/* --- 14. Formlar (§22, §34) ----------------------------------------------- */
.form { display: grid; gap: var(--space-4); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: var(--text-sm); font-weight: 600; color: var(--ink-900); }
.field .req { color: var(--danger-600); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px var(--space-4);
  border: 1px solid var(--ink-200); border-radius: var(--radius);
  background: var(--white); font: inherit; font-size: var(--text-sm); color: var(--ink-900);
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 3px var(--brand-100);
}
.field textarea { min-height: 140px; resize: vertical; }
.field__error { font-size: var(--text-sm); color: var(--danger-600); }
.field--check { flex-direction: row; align-items: flex-start; gap: var(--space-3); }
.field--check input { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; }
.field--check label { font-weight: 400; font-size: var(--text-sm); color: var(--ink-500); }

.alert { padding: var(--space-4) var(--space-5); border-radius: var(--radius); font-size: var(--text-sm); }
.alert--success { background: #ecfdf3; border: 1px solid #abefc6; color: var(--ok-600); }
.alert--error { background: #fef3f2; border: 1px solid #fecdca; color: var(--danger-600); }

/* --- 15. İletişim / lokasyon / banka -------------------------------------- */
.info-card { padding: var(--space-5); background: var(--white); border: 1px solid var(--ink-100); border-radius: var(--radius-lg); }
.info-card h3 { font-size: var(--text-base); margin-bottom: var(--space-3); }
.info-card dl { display: grid; gap: var(--space-3); margin: 0; font-size: var(--text-sm); }
.info-card dt { font-weight: 600; color: var(--ink-400); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .06em; }
.info-card dd { margin: 2px 0 0; color: var(--ink-900); }

.iban { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; }
.iban code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: var(--text-sm); letter-spacing: .04em;
  background: var(--ink-50); padding: 8px var(--space-3); border-radius: var(--radius-sm);
  border: 1px solid var(--ink-100); color: var(--ink-900);
}
.copy-btn {
  padding: 7px var(--space-3); font-size: var(--text-xs); font-weight: 600;
  border: 1px solid var(--ink-200); border-radius: var(--radius-sm);
  background: var(--white); color: var(--ink-700); cursor: pointer;
}
.copy-btn:hover { border-color: var(--brand-500); color: var(--brand-700); }
.copy-btn[data-copied="1"] { border-color: var(--ok-600); color: var(--ok-600); }

/* --- 16. Tarihçe timeline (§19) ------------------------------------------- */
.timeline { position: relative; padding-left: var(--space-7); }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--ink-200); }
.timeline__item { position: relative; padding-bottom: var(--space-7); }
.timeline__item::before {
  content: ""; position: absolute; left: calc(-1 * var(--space-7) + 1px); top: 7px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--brand-600);
}
.timeline__year { font-size: var(--text-2xl); font-weight: 800; color: var(--brand-700); line-height: 1; margin-bottom: var(--space-2); }
.timeline__item h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.timeline__item p { color: var(--ink-500); margin: 0; }

/* --- 17. Footer (§24) ----------------------------------------------------- */
.footer { background: var(--brand-900); color: rgba(255,255,255,.62); font-size: var(--text-sm); }
.footer__top { padding-block: var(--space-8); display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--space-6); }
.footer h4 { color: var(--white); font-size: var(--text-sm); text-transform: uppercase; letter-spacing: .1em; margin-bottom: var(--space-4); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: var(--space-3); }
.footer a { color: rgba(255,255,255,.62); }
.footer a:hover { color: var(--white); }
.footer__logo { margin-bottom: var(--space-4); }
.footer__logo .logo__name { color: var(--white); }
.footer__logo .logo__sub { color: rgba(255,255,255,.45); }
.footer__social { display: flex; gap: var(--space-3); margin-top: var(--space-4); }
.footer__social a {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-sm);
}
.footer__social a:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: var(--space-4);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4);
  font-size: var(--text-xs); color: rgba(255,255,255,.45);
}
.footer__secure { display: inline-flex; align-items: center; gap: 7px; }

/* --- 18. Yardımcılar & boş durumlar --------------------------------------- */
.empty-state {
  padding: var(--space-8); text-align: center;
  background: var(--ink-50); border: 1px dashed var(--ink-200); border-radius: var(--radius-lg);
  color: var(--ink-500);
}
.empty-state h3 { color: var(--ink-700); font-size: var(--text-lg); }
.pill { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); font-size: var(--text-xs); font-weight: 600; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }

.pagination { display: flex; gap: var(--space-2); justify-content: center; margin-top: var(--space-7); list-style: none; padding: 0; }
.pagination a, .pagination span {
  display: grid; place-items: center; min-width: 40px; height: 40px; padding-inline: var(--space-3);
  border: 1px solid var(--ink-200); border-radius: var(--radius);
  font-size: var(--text-sm); color: var(--ink-700);
}
.pagination .is-active span { background: var(--brand-800); border-color: var(--brand-800); color: var(--white); }

/* --- 19. Responsive (§35) ------------------------------------------------- */
@media (max-width: 1100px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .megamenu { min-width: 680px; }
  .megamenu__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  :root { --text-4xl: 2.25rem; --text-3xl: 1.75rem; --space-9: 64px; }
  .grid--4, .grid--5 { grid-template-columns: repeat(3, 1fr); }
  .product { grid-template-columns: 1fr; gap: var(--space-6); }
  .search { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .nav { position: fixed; inset: var(--header-h) 0 0; overflow-y: auto; border-top: 1px solid var(--ink-100); display: none; }
  .nav--open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; padding: var(--space-3); gap: 0; }
  .nav__link { padding: var(--space-4); border-bottom: 1px solid var(--ink-100); justify-content: space-between; }
  .nav__link:hover, .nav__link--active { border-bottom-color: var(--ink-100); }
  .megamenu { position: static; min-width: 0; box-shadow: none; border: 0; border-radius: 0; padding: 0 0 var(--space-4) var(--space-4); }
  .megamenu__grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .megamenu__footer { display: none; }
}

@media (max-width: 720px) {
  :root { --text-4xl: 1.875rem; --text-3xl: 1.5rem; --space-9: 48px; --space-8: 40px; }
  /* Header CTA'sı dar ekranda iki satıra kırılmasın: kısa metne geçer */
  .header__actions .btn { padding-inline: var(--space-4); white-space: nowrap; }
  .header__cta-long { display: none; }
  .header__cta-short { display: inline; }
  .container { padding-inline: var(--space-4); }
  .grid--2, .grid--3, .grid--4, .grid--5 { grid-template-columns: repeat(2, 1fr); }
  .grid--feature { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: var(--space-6); }
  .topbar__inner { justify-content: center; }
  .topbar__list--secondary { display: none; }
  .hero__meta { gap: var(--space-5); }
  .hero__actions .btn { flex: 1; }
}

@media (max-width: 460px) {
  .grid--2, .grid--3, .grid--4, .grid--5 { grid-template-columns: 1fr; }
  .gallery__thumb { width: 62px; height: 62px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

@media print {
  .topbar, .header, .nav, .footer, .btn { display: none !important; }
}

/* --- 20. Gömülü harita (responsive) --------------------------------------- */
.map-embed { position: relative; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--ink-100); }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 720px) { .map-embed { aspect-ratio: 4 / 3; } }

/* --- 21. WhatsApp bağlantısı ---------------------------------------------- */
.btn--whatsapp { background: #25d366; color: #0b2b16; }
.btn--whatsapp:hover { background: #1fb955; color: #0b2b16; }

/* --- 22. Kategori sayfa banner'ı ------------------------------------------ */
.page-head--media { position: relative; overflow: hidden; }
.page-head--media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.page-head--media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--brand-900) 10%, rgba(36,26,61,.82) 60%, rgba(36,26,61,.55) 100%); }
.page-head--media .container { position: relative; z-index: 2; }
