/* ==========================================================================
   Science Medikal — Ana Stil Dosyası
   Renkler logodan alınmıştır: lacivert #0A3D8F / turkuaz #10AFA5
   ========================================================================== */

/* ---------- 1. Değişkenler ---------- */
:root {
  --navy: #0a3d8f;
  --navy-700: #08337a;
  --navy-900: #06255a;
  --teal: #10afa5;          /* marka turkuazı — dekoratif yüzeyler, çizgiler */
  --teal-600: #0a7d76;      /* METİN için turkuaz (beyaz üzerinde 4.99:1) */
  --teal-btn: #0a827b;      /* beyaz metin taşıyan turkuaz ZEMİN (4.68:1) */
  --teal-btn-700: #097a72;  /* aynı zeminin hover tonu */
  --teal-050: #e7f7f6;

  --ink: #0f1b2d;
  --body: #3d4b60;
  --muted: #5f6d80;
  --line: #e3e9f0;
  --line-soft: #eef3f8;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --bg-navy: #06255a;

  --success: #137a3a;
  --warn: #a3540b;
  --danger: #dc2626;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 2px rgba(10, 32, 66, .06), 0 1px 3px rgba(10, 32, 66, .04);
  --shadow: 0 4px 16px rgba(10, 32, 66, .08);
  --shadow-lg: 0 18px 48px rgba(10, 32, 66, .14);

  --container: 1220px;
  --header-h: 104px;      /* header üst satırı (logo satırı) */
  --logo-h: 84px;         /* logo yüksekliği — eski 42px'in iki katı */
  --sticky-h: 154px;      /* header + kategori şeridi (sticky konumlandırma için) */

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

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

/* hidden özniteliği her zaman kazanmalı — display:grid/flex veren sınıflar
   aksi halde onu ezer ve gizlenmesi gereken alanlar görünür kalır. */
[hidden] { display: none !important; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4, h5 {
  margin: 0 0 .5em;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1rem; }

a { color: var(--navy); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--teal-600); }

ul, ol { margin: 0 0 1rem; padding-left: 1.2rem; }

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

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

/* ---------- 3. Yardımcı sınıflar ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.section { padding: clamp(56px, 7vw, 96px) 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--bg-navy); color: rgba(255,255,255,.82); }
.section--navy h2, .section--navy h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 12px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}
.section--navy .eyebrow { color: #5fd6cd; }
.section--navy .eyebrow::before { background: #5fd6cd; }

.text-center { text-align: center; }
/* Uzun metin blokları için okunur satır uzunluğu (~70 karakter) */
.prose { max-width: 72ch; }
.sr-only {
  position: absolute; 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: 16px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- 4. Butonlar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-full);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1;
  text-align: center;
  transition: transform .18s var(--ease), background .18s var(--ease),
              border-color .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary { background: var(--navy); color: #fff; box-shadow: 0 6px 18px rgba(10, 61, 143, .28); }
.btn--primary:hover { background: var(--navy-700); color: #fff; box-shadow: 0 10px 26px rgba(10, 61, 143, .34); }

.btn--teal { background: var(--teal-btn); color: #fff; box-shadow: 0 6px 18px rgba(10, 130, 123, .3); }
.btn--teal:hover { background: var(--teal-btn-700); color: #fff; }

.btn--outline { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--outline:hover { border-color: var(--navy); color: var(--navy); background: #fff; }

.btn--ghost-light { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.18); color: #fff; border-color: rgba(255,255,255,.55); }

.btn--white { background: #fff; color: var(--navy); }

/* Koyu lacivert bölümlerde turkuaz buton: parlak zemin + koyu yazı.
   Koyu zeminde koyu turkuaz buton arka plandan ayrışmıyordu. */
.section--navy .btn--teal,
.slide .btn--teal {
  background: var(--teal);
  color: var(--navy-900);
  box-shadow: 0 6px 20px rgba(16, 175, 165, .28);
}
.section--navy .btn--teal:hover,
.slide .btn--teal:hover { background: #3ec9bf; color: var(--navy-900); }
.btn--white:hover { background: #fff; color: var(--navy-700); }

.btn--sm { padding: 9px 18px; font-size: .87rem; }
.btn--lg { padding: 16px 34px; font-size: 1.02rem; }
.btn--block { width: 100%; }

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

/* ---------- 5. Duyuru çubuğu ---------- */
.topbar {
  background: var(--navy-900);
  color: rgba(255,255,255,.78);
  font-size: .82rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 40px;
  padding-block: 6px;
}
.topbar__msg { display: flex; align-items: center; gap: 8px; }
.topbar__msg svg { width: 15px; height: 15px; color: var(--teal); flex: none; }
.topbar__links { display: flex; align-items: center; gap: 20px; }
.topbar a { color: rgba(255,255,255,.78); }
.topbar a:hover { color: #fff; }
@media (max-width: 860px) { .topbar__links { display: none; } }

/* ---------- 6. Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: var(--header-h);
  padding-block: 10px;
}

.brand { display: flex; align-items: center; flex: none; }
.brand img { height: var(--logo-h); width: auto; }

/* --- Arama --- */
.search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  max-width: 540px;
  height: 52px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-full);
  background: #fff;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.search:focus-within { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(10, 61, 143, .09); }
.search__icon { width: 19px; height: 19px; margin-left: 18px; color: var(--muted); flex: none; }
.search__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  padding: 0 12px;
  border: 0;
  background: none;
  font-size: .95rem;
}
.search__input:focus { outline: none; }
.search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search__btn {
  height: 40px;
  margin-right: 6px;
  padding: 0 24px;
  flex: none;
  border: 0;
  border-radius: var(--radius-full);
  background: var(--navy);
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  transition: background .18s var(--ease);
}
.search__btn:hover { background: var(--teal-btn); }

/* Canlı öneri paneli */
.search__panel {
  position: absolute;
  top: calc(100% + 9px);
  left: 0; right: 0;
  z-index: 30;
  max-height: 400px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.search__panel[hidden] { display: none; }
.suggest {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: var(--radius-sm);
  background: none;
  text-align: left;
  color: inherit;
  transition: background .15s var(--ease);
}
.suggest:hover, .suggest.is-focus { background: var(--bg-soft); }
.suggest__img {
  width: 44px; height: 44px; flex: none;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.suggest__body { display: flex; flex-direction: column; min-width: 0; }
.suggest__name {
  display: block;
  font-size: .9rem; font-weight: 700; color: var(--ink); line-height: 1.3;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.suggest__meta { display: block; font-size: .78rem; color: var(--muted); }
.suggest__price {
  margin-left: auto; flex: none;
  font-size: .9rem; font-weight: 800; color: var(--navy); white-space: nowrap;
}
.search__empty { padding: 20px 12px; text-align: center; font-size: .9rem; color: var(--muted); }
.search__all {
  display: block; width: 100%;
  margin-top: 6px; padding: 12px;
  border: 0; border-top: 1px solid var(--line-soft);
  background: none;
  font-size: .87rem; font-weight: 700; color: var(--navy); text-align: center;
}
.search__all:hover { color: var(--teal-600); }

/* --- Sağ aksiyonlar --- */
.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
  margin-left: auto;
}

.header-cta { display: flex; align-items: center; gap: 11px; }
.header-cta__icon {
  display: grid; place-items: center;
  width: 44px; height: 44px; flex: none;
  border-radius: 50%;
  background: var(--teal-050);
  color: var(--teal-600);
  transition: background .18s var(--ease), color .18s var(--ease);
}
.header-cta:hover .header-cta__icon { background: var(--teal-btn); color: #fff; }
.header-cta__icon svg { width: 20px; height: 20px; }
.header-cta__text, .cart-btn__text { display: flex; flex-direction: column; line-height: 1.24; }
.header-cta small, .cart-btn small { font-size: .72rem; font-weight: 600; color: var(--muted); }
.header-cta strong, .cart-btn strong { font-size: .93rem; color: var(--ink); white-space: nowrap; }
.header-cta:hover strong { color: var(--navy); }

.cart-btn { display: flex; align-items: center; gap: 11px; }
.cart-btn__icon {
  position: relative;
  display: grid; place-items: center;
  width: 46px; height: 46px; flex: none;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  transition: background .18s var(--ease), transform .18s var(--ease);
}
.cart-btn:hover .cart-btn__icon { background: var(--teal-btn); }
.cart-btn__icon svg { width: 21px; height: 21px; }
.cart-btn:hover strong { color: var(--navy); }
.cart-btn__icon.is-bumped { animation: cartBump .4s var(--ease); }
@keyframes cartBump {
  35% { transform: scale(1.16); }
  70% { transform: scale(.95); }
}

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  background: #fff;
  color: var(--ink);
  transition: border-color .18s var(--ease), color .18s var(--ease);
}
.icon-btn:hover { border-color: var(--navy); color: var(--navy); }
.icon-btn svg { width: 21px; height: 21px; }

.cart-count {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 21px; height: 21px;
  padding: 0 5px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--teal-btn);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  border: 2px solid #fff;
}
.cart-count.is-visible { display: flex; }

.search-toggle, .nav-toggle { display: none; }

/* --- Kategori şeridi --- */
.catnav { border-top: 1px solid var(--line-soft); background: #fff; }
.catnav__inner { display: flex; align-items: center; gap: 4px; min-height: 50px; }
.catnav a {
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: .92rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  transition: background .16s var(--ease), color .16s var(--ease);
}
.catnav a:hover { background: var(--bg-soft); color: var(--navy); }
.catnav a.is-active { color: var(--navy); background: var(--teal-050); }
.catnav__sep { flex: 1 1 auto; }
.catnav__hl {
  border: 1.5px solid var(--teal);
  color: var(--teal-600) !important;
  padding: 8px 16px !important;
  border-radius: var(--radius-full) !important;
}
.catnav__hl:hover { background: var(--teal-btn) !important; color: #fff !important; }

/* Tüm kategoriler açılır menüsü */
.catmenu { position: relative; flex: none; margin-right: 8px; }
.catmenu__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius-full);
  background: var(--navy);
  color: #fff;
  font-size: .92rem;
  font-weight: 700;
  transition: background .18s var(--ease);
}
.catmenu__btn:hover { background: var(--navy-700); }
.catmenu__btn svg { width: 17px; height: 17px; flex: none; }
.catmenu__btn .chev { transition: transform .2s var(--ease); }
.catmenu__btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.catmenu__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 40;
  width: 320px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.catmenu__panel[hidden] { display: none; }
.catmenu__item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  transition: background .15s var(--ease);
}
.catmenu__item:hover { background: var(--bg-soft); }
.catmenu__item img { width: 42px; height: 42px; flex: none; border-radius: var(--radius-sm); object-fit: cover; }
.catmenu__item strong { display: block; font-size: .92rem; color: var(--ink); line-height: 1.3; }
.catmenu__item span { font-size: .78rem; color: var(--muted); }
.catmenu__all {
  display: block;
  margin-top: 6px;
  padding: 11px;
  border-top: 1px solid var(--line-soft);
  font-size: .88rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
}

/* --- Mobil menü paneli --- */
.mobilemenu {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  z-index: 95;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  padding: 16px 20px 26px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.mobilemenu[hidden] { display: none; }
.mobilemenu__title {
  margin: 18px 0 6px;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.mobilemenu__title:first-child { margin-top: 0; }
.mobilemenu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 10px;
  border-bottom: 1px solid var(--line-soft);
  font-size: .98rem;
  font-weight: 700;
  color: var(--ink);
}
.mobilemenu a:hover, .mobilemenu a.is-active { color: var(--navy); }
.mobilemenu a.is-active { background: var(--teal-050); border-radius: var(--radius-sm); }
.mobilemenu img { width: 34px; height: 34px; flex: none; border-radius: 6px; object-fit: cover; }
.mobilemenu__foot { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.mobilemenu__foot .btn { width: 100%; }

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 94;
  background: rgba(6, 37, 90, .42);
  backdrop-filter: blur(2px);
}
.menu-backdrop[hidden] { display: none; }

/* --- Header duyarlı davranış --- */
@media (max-width: 1180px) {
  .header__inner { gap: 18px; }
  .header-cta { display: none; }
  .search { max-width: 420px; }
}

@media (max-width: 1000px) {
  :root { --header-h: 84px; --logo-h: 60px; --sticky-h: 84px; }
  .search-toggle, .nav-toggle { display: inline-flex; }
  .catnav { display: none; }
  .cart-btn__text { display: none; }
  .header__actions { gap: 10px; }

  /* Arama: header altında açılan tam genişlik satırı */
  .search {
    position: absolute;
    top: 100%; left: 0; right: 0;
    max-width: none;
    height: 58px;
    margin: 0;
    padding-inline: 6px;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: #fff;
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s var(--ease);
  }
  .search.is-open { transform: none; opacity: 1; visibility: visible; }
  .search:focus-within { box-shadow: var(--shadow); }
  .search__icon { margin-left: 14px; }
  .search__btn { padding: 0 18px; }
  .search__panel { top: calc(100% + 1px); border-radius: 0 0 var(--radius) var(--radius); }
}

@media (max-width: 560px) {
  :root { --header-h: 74px; --logo-h: 50px; --sticky-h: 74px; }
  .header__inner { gap: 10px; }
  .icon-btn, .cart-btn__icon { width: 42px; height: 42px; }
  .icon-btn svg, .cart-btn__icon svg { width: 19px; height: 19px; }
  .header__actions { gap: 7px; }
}

/* ---------- 7. Slider ---------- */
.slider {
  position: relative;
  background: var(--navy-900);
  overflow: hidden;
}
.slider__track { position: relative; }
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s var(--ease);
}
.slide.is-active { position: relative; opacity: 1; visibility: visible; }
.slide__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, var(--navy-900) 0%, var(--navy) 52%, var(--teal-600) 128%);
}
.slide__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .55;
}
.slide__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 48px;
  min-height: 540px;
  padding-block: 64px;
}
.slide__content { max-width: 560px; }
.slide__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px 7px 12px;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
}
.slide__badge svg { width: 15px; height: 15px; color: #5fd6cd; }
.slide__title {
  color: #fff;
  font-size: clamp(2rem, 1.2rem + 3.1vw, 3.4rem);
  margin-bottom: 18px;
}
.slide__title em { font-style: normal; color: #5fd6cd; }
.slide__text {
  color: rgba(255,255,255,.82);
  font-size: 1.08rem;
  margin-bottom: 30px;
}
.slide__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.slide__media { position: relative; display: flex; justify-content: center; }
.slide__media::before {
  content: "";
  position: absolute;
  width: 78%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95,214,205,.32), transparent 68%);
  filter: blur(10px);
}
.slide__media img {
  position: relative;
  width: min(100%, 470px);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(0,0,0,.32);
}
.slide__media--plain img { box-shadow: none; border-radius: 0; background: none; }

.slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px; height: 50px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  backdrop-filter: blur(6px);
  transition: background .2s var(--ease);
}
.slider__nav:hover { background: rgba(255,255,255,.26); }
.slider__nav svg { width: 22px; height: 22px; }
.slider__nav--prev { left: 20px; }
.slider__nav--next { right: 20px; }

.slider__dots {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.slider__dot {
  width: 34px; height: 4px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: rgba(255,255,255,.32);
  transition: background .2s var(--ease), width .2s var(--ease);
}
.slider__dot.is-active { background: #5fd6cd; width: 48px; }

@media (max-width: 900px) {
  .slide__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: 0;
    padding-block: 48px 74px;
    text-align: center;
  }
  .slide__content { max-width: none; margin-inline: auto; }
  .slide__actions { justify-content: center; }
  .slide__media { order: -1; }
  .slide__media img { width: min(100%, 320px); }
  .slider__nav { width: 42px; height: 42px; }
  .slider__nav--prev { left: 8px; }
  .slider__nav--next { right: 8px; }
}

/* ---------- 8. Güven şeridi ---------- */
.trustbar { border-bottom: 1px solid var(--line); background: #fff; }
.trustbar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
}
.trust {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px 22px;
  background: #fff;
}
.trust__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  flex: none;
  border-radius: var(--radius);
  background: var(--teal-050);
  color: var(--teal-600);
}
.trust__icon svg { width: 23px; height: 23px; }
.trust strong { display: block; color: var(--ink); font-size: .96rem; line-height: 1.3; }
.trust span { font-size: .84rem; color: var(--muted); }
@media (max-width: 900px) { .trustbar__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .trustbar__grid { grid-template-columns: 1fr; } }

/* ---------- 9. Kategori kartları ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}
.cat-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.cat-card:hover {
  transform: translateY(-5px);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.cat-card__media {
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
  overflow: hidden;
}
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.cat-card:hover .cat-card__media img { transform: scale(1.04); }
.cat-card__body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.cat-card__body h3 { margin-bottom: 8px; font-size: 1.15rem; }
.cat-card__body p { color: var(--muted); font-size: .92rem; margin-bottom: 16px; flex: 1; }
.cat-card__link {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 800; font-size: .9rem; color: var(--navy);
}
.cat-card__link svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.cat-card:hover .cat-card__link svg { transform: translateX(4px); }

/* ---------- 10. Ürün kartı ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
  gap: 22px;
}
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.product-card:hover {
  transform: translateY(-5px);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.product-card__media {
  position: relative;
  aspect-ratio: 1;
  padding: 18px;
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
}
.product-card__media img {
  width: 100%; height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .35s var(--ease);
}
.product-card:hover .product-card__media img { transform: scale(1.05); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: var(--radius-full);
  font-size: .71rem;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.4;
}
.badge--teal { background: var(--teal-050); color: var(--teal-600); }
.badge--navy { background: #eaf1fd; color: var(--navy); }
.badge--warn { background: #fef3e2; color: var(--warn); }
.badge--muted { background: var(--bg-soft); color: var(--muted); }
.product-card__badges {
  position: absolute;
  top: 14px; left: 14px;
  display: flex; flex-direction: column; gap: 6px; align-items: flex-start;
  z-index: 2;
}

.product-card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; gap: 4px; }
.product-card__brand {
  font-size: .74rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--teal-600);
}
.product-card__title {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--ink);
}
.product-card__title a { color: inherit; }
.product-card__title a:hover { color: var(--navy); }
.product-card__meta { font-size: .84rem; color: var(--muted); margin-bottom: 14px; }
.product-card__foot {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.price { display: flex; flex-direction: column; line-height: 1.25; }
.price__value { font-size: 1.22rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.price__unit { font-size: .77rem; color: var(--muted); font-weight: 600; }
.price__vat { font-size: .72rem; color: var(--muted); }

.add-btn {
  display: inline-grid;
  place-items: center;
  width: 42px; height: 42px;
  flex: none;
  border: 0;
  border-radius: var(--radius-full);
  background: var(--navy);
  color: #fff;
  transition: background .18s var(--ease), transform .18s var(--ease);
}
.add-btn:hover { background: var(--teal-btn); transform: scale(1.07); }
.add-btn svg { width: 19px; height: 19px; }
.add-btn.is-added { background: var(--success); }

/* ---------- 11. Sayfa başlığı (iç sayfalar) ---------- */
.page-head {
  padding: 42px 0 38px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy) 130%);
  color: rgba(255,255,255,.8);
}
.page-head h1 { color: #fff; margin-bottom: 10px; }
.page-head p { max-width: 640px; margin: 0; }

.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-bottom: 14px; padding: 0; list-style: none;
  font-size: .85rem; color: rgba(255,255,255,.6);
}
.breadcrumb a { color: rgba(255,255,255,.78); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }

/* ---------- 12. Ürünler sayfası düzeni ---------- */
.shop { display: grid; grid-template-columns: 268px 1fr; gap: 34px; align-items: start; }

.filters {
  position: sticky; top: calc(var(--sticky-h) + 20px);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}
.filters__group + .filters__group { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.filters__title {
  margin: 0 0 12px;
  font-size: .8rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink);
}
.filter-opt {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 0;
  font-size: .93rem; cursor: pointer;
}
.filter-opt input { width: 17px; height: 17px; accent-color: var(--navy); flex: none; }
.filter-opt span { flex: 1; }
.filter-opt .count { color: var(--muted); font-size: .82rem; }

.shop__bar {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 14px;
  margin-bottom: 22px;
}
.shop__count { font-size: .92rem; color: var(--muted); }
.shop__count strong { color: var(--ink); }
.shop__tools { display: flex; align-items: center; gap: 10px; }

.field {
  padding: 11px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  background: #fff;
  font-size: .92rem;
  transition: border-color .18s var(--ease);
}
.field:focus { outline: none; border-color: var(--navy); }
select.field { padding-right: 38px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7a8f' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 15px; }

.filters-toggle { display: none; }

@media (max-width: 940px) {
  .shop { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.is-open { display: block; }
  .filters-toggle { display: inline-flex; }
}

.empty {
  padding: 60px 24px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
}
.empty svg { width: 54px; height: 54px; margin: 0 auto 16px; color: var(--muted); opacity: .55; }

/* ---------- 13. Ürün detay ---------- */
.pd { display: grid; grid-template-columns: 1.05fr 1fr; gap: 46px; align-items: start; }

.gallery__main {
  position: relative;
  aspect-ratio: 1;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}
.gallery__main img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gallery__thumbs { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.gallery__thumb {
  width: 84px; height: 84px;
  padding: 8px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .18s var(--ease);
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gallery__thumb.is-active { border-color: var(--navy); }

.pd__brand {
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
  font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-600);
}
.pd h1 { font-size: clamp(1.55rem, 1.2rem + 1.3vw, 2.15rem); margin-bottom: 12px; }
.pd__sku { font-size: .87rem; color: var(--muted); margin-bottom: 20px; }
.pd__lead { font-size: 1.02rem; margin-bottom: 24px; }

.pd__price {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px;
  padding: 20px 22px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.pd__price .amount { font-size: 2rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.pd__price .unit { font-size: .92rem; color: var(--muted); font-weight: 600; }
.pd__price .vat { width: 100%; font-size: .8rem; color: var(--muted); }

.variant-list { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 22px; }
.variant {
  padding: 9px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-full);
  background: #fff;
  font-size: .88rem; font-weight: 700; color: var(--ink);
  transition: all .18s var(--ease);
}
.variant:hover { border-color: var(--navy); color: var(--navy); }
.variant.is-active { border-color: var(--navy); background: var(--navy); color: #fff; }

.pd__buy { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.qty {
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.qty button {
  width: 44px; height: 48px;
  border: 0; background: #fff; color: var(--ink);
  font-size: 1.2rem; font-weight: 700;
  transition: background .18s var(--ease);
}
.qty button:hover { background: var(--bg-soft); color: var(--navy); }
.qty input {
  width: 56px; height: 48px;
  border: 0; text-align: center;
  font-weight: 800; font-size: 1rem;
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.pd__notice {
  display: flex; gap: 12px;
  padding: 16px 18px;
  border: 1px solid #d7e6fb;
  border-left: 3px solid var(--navy);
  border-radius: var(--radius);
  background: #f4f8ff;
  font-size: .9rem;
  color: var(--body);
}
.pd__notice svg { width: 19px; height: 19px; flex: none; color: var(--navy); margin-top: 2px; }
.pd__notice strong { color: var(--ink); }

.spec-table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.spec-table th, .spec-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.spec-table th { width: 42%; font-weight: 700; color: var(--ink); background: var(--bg-soft); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }

.tabs { margin-top: 56px; }
.tabs__nav {
  display: flex; gap: 4px; overflow-x: auto;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
}
.tabs__btn {
  padding: 13px 20px;
  border: 0; border-bottom: 3px solid transparent;
  background: none;
  font-size: .95rem; font-weight: 700; color: var(--muted);
  white-space: nowrap;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.tabs__btn:hover { color: var(--ink); }
.tabs__btn.is-active { color: var(--navy); border-bottom-color: var(--navy); }
.tabs__panel { display: none; }
.tabs__panel.is-active { display: block; animation: fadeIn .3s var(--ease); }

@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (max-width: 880px) { .pd { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- 14. Sepet ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 30px; align-items: start; }

.cart-row {
  display: grid;
  grid-template-columns: 96px 1fr auto auto;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.cart-row + .cart-row { margin-top: 12px; }
.cart-row__img {
  display: grid;
  place-items: center;
  width: 96px; height: 96px; padding: 8px;
  flex: none;
  border: 1px solid var(--line-soft); border-radius: var(--radius-sm); background: #fff;
}
.cart-row__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cart-row__name { font-weight: 800; color: var(--ink); font-size: .98rem; line-height: 1.35; }
.cart-row__meta { font-size: .84rem; color: var(--muted); }
.cart-row__total { font-weight: 800; font-size: 1.05rem; color: var(--ink); white-space: nowrap; }
.cart-row .qty { transform: scale(.86); transform-origin: right center; }
.link-remove {
  border: 0; background: none; padding: 6px;
  color: var(--muted); display: inline-grid; place-items: center;
  transition: color .18s var(--ease);
}
.link-remove:hover { color: var(--danger); }
.link-remove svg { width: 18px; height: 18px; }

.summary {
  position: sticky; top: calc(var(--sticky-h) + 20px);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
}
.summary h3 { font-size: 1.1rem; margin-bottom: 18px; }
.summary__row {
  display: flex; justify-content: space-between; gap: 14px;
  padding: 9px 0; font-size: .94rem;
}
.summary__row--total {
  margin-top: 10px; padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 1.15rem; font-weight: 800; color: var(--ink);
}
.summary .btn { margin-top: 18px; }
.summary__note { margin-top: 14px; font-size: .8rem; color: var(--muted); text-align: center; }

@media (max-width: 900px) {
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .cart-row { grid-template-columns: 72px 1fr; grid-template-areas: "img name" "img meta" "qty total"; row-gap: 12px; }
  .cart-row__img { width: 72px; height: 72px; grid-area: img; align-self: start; }
  .cart-row__info { grid-area: name; }
  .cart-row .qty { grid-area: qty; transform: scale(.8); transform-origin: left center; }
  .cart-row__end { grid-area: total; display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
}

/* ---------- 15. Formlar ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-row { display: flex; flex-direction: column; gap: 7px; }
.form-row--full { grid-column: 1 / -1; }
.form-row label { font-size: .88rem; font-weight: 700; color: var(--ink); }
.form-row label .req { color: var(--danger); }
.form-row input, .form-row select, .form-row textarea {
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: .95rem;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(10, 61, 143, .1);
}
.form-row textarea { resize: vertical; min-height: 130px; }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: .87rem; color: var(--muted); }
.form-check input { width: 18px; height: 18px; accent-color: var(--navy); flex: none; margin-top: 2px; }
.form-msg {
  display: none; gap: 10px; align-items: flex-start;
  padding: 14px 16px; margin-top: 16px;
  border-radius: var(--radius); font-size: .92rem;
}
.form-msg.is-visible { display: flex; }
.form-msg--ok { background: #ecfdf3; color: #14663d; border: 1px solid #bbf7d0; }
.form-msg--err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- 16. Kart / bilgi bloğu ---------- */
.card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}
.card--soft { background: var(--bg-soft); border-color: transparent; }

.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.info-item { display: flex; gap: 14px; }
.info-item__icon {
  display: grid; place-items: center;
  width: 44px; height: 44px; flex: none;
  border-radius: var(--radius);
  background: var(--teal-050); color: var(--teal-600);
}
.info-item__icon svg { width: 21px; height: 21px; }
.info-item strong { display: block; color: var(--ink); font-size: .95rem; }
.info-item a, .info-item span { font-size: .93rem; color: var(--muted); }
.info-item a:hover { color: var(--navy); }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.feature {
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: box-shadow .22s var(--ease), transform .22s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature__icon {
  display: grid; place-items: center;
  width: 50px; height: 50px; margin-bottom: 16px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), var(--teal));
  color: #fff;
}
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.08rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .93rem; margin: 0; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 26px; }
.stat { text-align: center; }
.stat__num {
  font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem);
  font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1.1;
}
.stat__label { font-size: .92rem; color: rgba(255,255,255,.68); }

/* ---------- 17. Yetkili satıcı bandı ---------- */
.dealer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  padding: 32px 36px;
  /* Düz yüzey: yarısı beyaza kaçan gradyan, beyaz bölüm zemininde
     bandın sağını arka plana karıştırıp dengesiz gösteriyordu. */
  background: var(--teal-050);
  border: 1px solid #c7e7e3;
  border-radius: var(--radius-lg);
}
.dealer__seal {
  display: grid; place-items: center;
  width: 76px; height: 76px; flex: none;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--teal);
  color: var(--teal-600);
  box-shadow: 0 4px 14px rgba(16, 175, 165, .18);
}
.dealer__seal svg { width: 34px; height: 34px; }
.dealer__body, .dealer > div { max-width: 72ch; }   /* satır uzunluğunu okunur sınırda tutar */
.dealer h3 { margin-bottom: 7px; font-size: 1.18rem; }
.dealer p { margin: 0; font-size: .94rem; line-height: 1.6; color: var(--body); }
.dealer .btn { white-space: nowrap; }

@media (max-width: 900px) {
  .dealer { grid-template-columns: auto minmax(0, 1fr); gap: 20px 22px; padding: 26px; }
  .dealer .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 560px) {
  .dealer { grid-template-columns: 1fr; gap: 16px; padding: 24px 22px; }
  .dealer__seal { width: 62px; height: 62px; }
  .dealer__seal svg { width: 28px; height: 28px; }
  .dealer .btn { width: 100%; }
}

/* ---------- 18. Footer ---------- */
.footer { background: var(--bg-navy); color: rgba(255,255,255,.66); font-size: .93rem; }
.footer a { color: rgba(255,255,255,.66); }
.footer a:hover { color: #fff; }
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding: 58px 0 46px;
}
.footer__brand { display: inline-block; padding: 12px 16px; margin-bottom: 18px; background: #fff; border-radius: var(--radius); }
.footer__brand img { height: 38px; width: auto; }
.footer h4 {
  margin-bottom: 16px; color: #fff;
  font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li + li { margin-top: 9px; }
.footer__contact li { display: flex; gap: 11px; align-items: flex-start; }
.footer__contact svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--teal); }
.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .85rem;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 20px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  transition: background .18s var(--ease), border-color .18s var(--ease);
}
.social a:hover { background: var(--teal-btn); border-color: var(--teal-btn); color: #fff; }
.social svg { width: 17px; height: 17px; }
@media (max-width: 980px) { .footer__top { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } }

/* ---------- 19. Toast ---------- */
.toast-zone {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 300;
  display: flex; flex-direction: column; gap: 10px;
  pointer-events: none;
}
.toast {
  display: flex; align-items: center; gap: 12px;
  min-width: 260px; max-width: 340px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-size: .92rem; font-weight: 600;
  box-shadow: var(--shadow-lg);
  animation: toastIn .3s var(--ease);
}
.toast svg { width: 20px; height: 20px; flex: none; color: #5fd6cd; }
.toast.is-out { animation: toastOut .25s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }
@media (max-width: 520px) { .toast-zone { left: 16px; right: 16px; } .toast { max-width: none; } }

/* ---------- 20. WhatsApp butonu ---------- */
.wa-fab {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 90;
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #128c4a;
  color: #fff;
  box-shadow: 0 8px 24px rgba(18, 140, 74, .38);
  transition: transform .2s var(--ease);
}
.wa-fab:hover { transform: scale(1.08); color: #fff; }
.wa-fab svg { width: 29px; height: 29px; }
@media (max-width: 520px) { .wa-fab { width: 50px; height: 50px; bottom: 16px; right: 16px; } }

/* ---------- 21. Yasal metin sayfası ---------- */
.legal { max-width: 72ch; }
.legal h2 { margin-top: 40px; font-size: 1.35rem; }
.legal h2:first-child { margin-top: 0; }
.legal li { margin-bottom: 8px; }

/* ---------- 22. Hareket azaltma ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- 23. Yazdırma ---------- */
@media print {
  .header, .topbar, .footer, .wa-fab, .slider, .toast-zone { display: none !important; }
  body { color: #000; }
}

/* ---------- 24. Sayfaya özel ızgara kırılımları ---------- */
@media (max-width: 900px) {
  .about-grid,
  .contact-grid,
  .cta-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
}

/* ---------- 25. Mobil ince ayarlar ---------- */
@media (max-width: 640px) {
  /* Dokunmatik kaydırma yeterli; oklar başlık üzerine binmesin */
  .slider__nav { display: none; }
  .slide__inner { padding-block: 40px 66px; }
  .slide__title { font-size: clamp(1.75rem, 1.1rem + 3.4vw, 2.2rem); }
  .slide__text { font-size: 1rem; }
  .slide__actions .btn { flex: 1 1 100%; }

  .topbar { font-size: .76rem; }
  .topbar__inner { padding-block: 8px; }
  .topbar__msg svg { width: 14px; height: 14px; }

  .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .product-card__media { padding: 10px; }
  .product-card__badges { top: 8px; left: 8px; }
  .product-card__badges .badge { padding: 3px 8px; font-size: .64rem; }
  /* Dar ekranda tek rozet yeterli; görseli kapatmasın */
  .product-card__badges .badge:nth-child(n+2) { display: none; }
  .product-card__body { padding: 14px 14px 16px; }
  .product-card__title { font-size: .92rem; }
  .price__value { font-size: 1.08rem; }

  .pd__buy .btn { flex: 1 1 100%; }
  .qty { width: 100%; justify-content: space-between; }

  /* Galeri: dar ekranda görsel daha büyük, küçük resimler tek satırda */
  .gallery__main { padding: 16px; }
  .gallery__thumbs { gap: 9px; }
  .gallery__thumb { width: 72px; height: 72px; padding: 6px; }
}

/* Form sonuç kutusu içindeki aksiyon butonları */
.form-msg__actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.form-msg__actions .btn { text-decoration: none; }

/* ---------- 26. Sayfalama (PHP sürümü) ---------- */
.sayfalama {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.sayfalama__no,
.sayfalama__ok {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: .93rem;
  font-weight: 700;
  color: var(--ink);
  transition: border-color .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
}
.sayfalama__no:hover,
.sayfalama__ok:hover { border-color: var(--navy); color: var(--navy); }
.sayfalama__no.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.sayfalama__ok svg { width: 18px; height: 18px; }

/* Ürün detayda açıklama sekmesi listesi */
.tabs__panel .prose ul { padding-left: 1.15rem; }
.tabs__panel .prose li { margin-bottom: 7px; }

/* ==========================================================================
   27. ÜYELİK, HESAP VE SİPARİŞ (Faz 3)
   ========================================================================== */

/* ---------- Form hata metni ---------- */
.form-hata { display: block; margin-top: 5px; font-size: .82rem; color: var(--danger); }

/* ---------- Başlıktaki hesap butonu ---------- */
.hesap-btn { position: relative; flex: none; }
.hesap-btn__ac {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
}
.hesap-btn__ikon {
  display: grid; place-items: center;
  width: 46px; height: 46px; flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  transition: border-color .18s var(--ease), color .18s var(--ease);
}
.hesap-btn__ac:hover .hesap-btn__ikon { border-color: var(--navy); color: var(--navy); }
.hesap-btn__ikon svg { width: 21px; height: 21px; }
.hesap-btn__metin { display: flex; flex-direction: column; line-height: 1.24; }
.hesap-btn__metin small { font-size: .72rem; font-weight: 600; color: var(--muted); }
.hesap-btn__metin strong { font-size: .93rem; color: var(--ink); white-space: nowrap; }

.hesap-btn__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 40;
  width: 226px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.hesap-btn__panel[hidden] { display: none; }
.hesap-btn__panel a,
.hesap-btn__panel button {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: var(--radius-sm);
  background: none;
  font-size: .92rem;
  font-weight: 700;
  color: var(--ink);
  text-align: left;
  transition: background .15s var(--ease), color .15s var(--ease);
}
.hesap-btn__panel a:hover,
.hesap-btn__panel button:hover { background: var(--bg-soft); color: var(--navy); }
.hesap-btn__panel form { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--line-soft); }
.hesap-btn__not {
  padding: 10px 12px 4px;
  font-size: .8rem;
  color: var(--muted);
  border-top: 1px solid var(--line-soft);
  margin-top: 4px;
}

/* ---------- Giriş / kayıt kutusu ---------- */
.hesap-kutu { max-width: 460px; margin-inline: auto; }
.hesap-kutu__ic {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}
.hesap-ayrac {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0 18px;
  color: var(--muted);
  font-size: .84rem;
}
.hesap-ayrac::before,
.hesap-ayrac::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* ---------- Hesabım düzeni ---------- */
.hesap-duzen {
  display: grid;
  grid-template-columns: 238px 1fr;
  gap: 30px;
  align-items: start;
}

.hesap-menu {
  position: sticky;
  top: calc(var(--sticky-h) + 20px);
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}
.hesap-menu a,
.hesap-menu__cikis {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 11px 13px;
  border: 0;
  border-radius: var(--radius-sm);
  background: none;
  font-size: .93rem;
  font-weight: 700;
  color: var(--ink);
  text-align: left;
  transition: background .16s var(--ease), color .16s var(--ease);
}
.hesap-menu a svg,
.hesap-menu__cikis svg { width: 18px; height: 18px; flex: none; color: var(--muted); }
.hesap-menu a:hover { background: var(--bg-soft); color: var(--navy); }
.hesap-menu a.is-active { background: var(--teal-050); color: var(--navy); }
.hesap-menu a.is-active svg { color: var(--teal-600); }
.hesap-menu__cikis { color: var(--muted); }
.hesap-menu__cikis:hover { background: #fef2f2; color: var(--danger); }
.hesap-menu__cikis:hover svg { color: var(--danger); }

/* ---------- Hesap özet kartları ---------- */
.hesap-kartlar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}
.hesap-kart {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
}
.hesap-kart__sayi {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.hesap-kart__etiket { font-size: .85rem; color: var(--muted); }

/* ---------- Sipariş satırı ---------- */
.siparis-satir {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
  color: inherit;
}
.siparis-satir:last-child { border-bottom: 0; }
.siparis-satir:hover .siparis-satir__no strong { color: var(--navy); }
.siparis-satir__no { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.siparis-satir__no strong { font-size: .96rem; color: var(--ink); transition: color .16s var(--ease); }
.siparis-satir__no span { font-size: .84rem; color: var(--muted); }
.siparis-satir__tutar { font-size: 1.02rem; font-weight: 800; color: var(--ink); white-space: nowrap; }

/* ---------- Durum etiketleri ---------- */
.durum-etiket {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: .77rem;
  font-weight: 800;
  white-space: nowrap;
}
.durum-yeni         { background: #eaf1fd; color: var(--navy); }
.durum-onaylandi    { background: var(--teal-050); color: var(--teal-600); }
.durum-hazirlaniyor { background: #fff8ef; color: var(--warn); }
.durum-kargoda      { background: #eef6ff; color: #0369a1; }
.durum-teslim       { background: #ecfdf3; color: var(--success); }
.durum-iptal        { background: #fef2f2; color: var(--danger); }

/* ---------- Ödeme sayfası ---------- */
.odeme-duzen {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 30px;
  align-items: start;
}
.odeme-ozet { position: sticky; top: calc(var(--sticky-h) + 20px); }

.odeme-uyari {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  margin-bottom: 22px;
  border: 1px solid #d7e6fb;
  border-radius: var(--radius);
  background: #f4f8ff;
  font-size: .93rem;
}

.odeme-blok {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}
.odeme-blok + .odeme-blok { margin-top: 18px; }
.odeme-blok__baslik {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  font-size: 1.15rem;
}
.odeme-blok__baslik span {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  flex: none;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: .88rem;
  font-weight: 800;
}

/* Adres seçim kartları */
.adres-secim { display: grid; gap: 10px; margin-bottom: 22px; }
.adres-kart {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 17px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.adres-kart:hover { border-color: var(--navy); }
.adres-kart.is-active { border-color: var(--navy); background: #f6f9ff; }
.adres-kart input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--navy); flex: none; }
.adres-kart > span { display: flex; flex-direction: column; gap: 3px; font-size: .88rem; color: var(--muted); }
.adres-kart strong { font-size: .95rem; color: var(--ink); }

/* Bireysel / kurumsal seçimi */
.secim-satir { display: flex; flex-wrap: wrap; gap: 10px; }
.secim {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-full);
  font-size: .91rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .18s var(--ease);
}
.secim:hover { border-color: var(--navy); }
.secim input { width: 17px; height: 17px; accent-color: var(--navy); }
.secim:has(input:checked) { border-color: var(--navy); background: #f6f9ff; }

/* Ödeme yöntemi kartları */
.odeme-secenekler { display: grid; gap: 10px; }
.odeme-secenek {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.odeme-secenek:hover { border-color: var(--navy); }
.odeme-secenek.is-active { border-color: var(--navy); background: #f6f9ff; }
.odeme-secenek input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--navy); flex: none; }
.odeme-secenek > span { display: flex; flex-direction: column; gap: 4px; }
.odeme-secenek strong { font-size: .96rem; color: var(--ink); }
.odeme-secenek span span { font-size: .85rem; color: var(--muted); line-height: 1.5; }

/* Özetteki ürün listesi */
.odeme-urunler {
  max-height: 260px;
  overflow-y: auto;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.odeme-urun {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}
.odeme-urun__gorsel {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  flex: none;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}
.odeme-urun__gorsel img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.odeme-urun__adet {
  position: absolute;
  top: -7px; right: -7px;
  min-width: 20px; height: 20px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  border: 2px solid #fff;
}
.odeme-urun__ad { font-size: .87rem; color: var(--ink); line-height: 1.35; min-width: 0; }
.odeme-urun__ad small { display: block; color: var(--muted); font-size: .78rem; }
.odeme-urun__tutar { font-size: .89rem; font-weight: 700; white-space: nowrap; }

/* ---------- Sipariş tamamlandı ---------- */
.siparis-ok { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.siparis-ok__ikon {
  display: grid;
  place-items: center;
  width: 74px; height: 74px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #ecfdf3;
  color: var(--success);
}
.siparis-ok__ikon svg { width: 36px; height: 36px; }
.siparis-ok h1 { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.2rem); margin-bottom: 10px; }
.siparis-ok p { color: var(--muted); margin: 0; }

.siparis-duzen {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 24px;
  align-items: start;
}

/* Sipariş kalemi */
.siparis-kalem {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}
.siparis-kalem:last-of-type { border-bottom: 0; }
.siparis-kalem__gorsel {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  flex: none;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}
.siparis-kalem__gorsel img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.siparis-kalem__bilgi { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.siparis-kalem__bilgi strong { font-size: .94rem; color: var(--ink); line-height: 1.35; }
.siparis-kalem__bilgi span { font-size: .83rem; color: var(--muted); }
.siparis-kalem__tutar { font-weight: 800; white-space: nowrap; }

/* Banka hesapları */
.banka-liste { display: grid; gap: 12px; margin-top: 18px; }
.banka {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.banka strong { font-size: .96rem; color: var(--ink); }
.banka span { font-size: .86rem; color: var(--muted); }
.banka code {
  margin-top: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .02em;
  word-break: break-all;
}

/* Bilgi listesi */
.bilgi-liste { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 12px 0 0; font-size: .9rem; }
.bilgi-liste dt { color: var(--muted); }
.bilgi-liste dd { margin: 0; color: var(--ink); font-weight: 700; text-align: right; }

/* Zaman çizgisi */
.zaman-cizgisi { list-style: none; padding: 0; margin: 12px 0 0; }
.zaman-cizgisi li {
  position: relative;
  padding: 0 0 16px 22px;
  border-left: 2px solid var(--line);
}
.zaman-cizgisi li:last-child { border-left-color: transparent; padding-bottom: 0; }
.zaman-cizgisi li::before {
  content: "";
  position: absolute;
  left: -6px; top: 4px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--teal);
  border: 2px solid #fff;
}
.zaman-cizgisi strong { display: block; font-size: .89rem; color: var(--ink); }
.zaman-cizgisi span { font-size: .8rem; color: var(--muted); }

/* ---------- Adres defteri ---------- */
.adres-izgara {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.adres-kutu {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.adres-kutu.is-varsayilan { border-color: var(--teal); }
.adres-kutu__bas { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.adres-kutu__bas strong { font-size: .98rem; color: var(--ink); }
.adres-kutu p { font-size: .89rem; color: var(--muted); margin: 0 0 10px; line-height: 1.6; }
.adres-kutu__islem { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.adres-kutu__islem a,
.adres-kutu__islem button {
  padding: 0;
  border: 0;
  background: none;
  font-size: .85rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}
.adres-kutu__islem a:hover,
.adres-kutu__islem button:hover { color: var(--teal-600); }
.adres-kutu__islem .sil { color: var(--muted); }
.adres-kutu__islem .sil:hover { color: var(--danger); }

/* ---------- Duyarlı ---------- */
@media (max-width: 1180px) {
  .hesap-btn__metin { display: none; }
}
@media (max-width: 1000px) {
  .hesap-btn { display: none; }        /* mobilde hesap bağlantıları menüde */
  .odeme-duzen,
  .siparis-duzen { grid-template-columns: 1fr; }
  .odeme-ozet { position: static; }
}
@media (max-width: 860px) {
  .hesap-duzen { grid-template-columns: 1fr; }
  .hesap-menu { position: static; flex-direction: row; overflow-x: auto; }
  .hesap-menu a { white-space: nowrap; }
  .hesap-menu form { display: none; }  /* çıkış mobil menüde var */
  .siparis-alt { grid-template-columns: 1fr !important; }
}
@media (max-width: 600px) {
  .hesap-kutu__ic { padding: 24px 20px; }
  .odeme-blok { padding: 20px 18px; }
  .siparis-satir { grid-template-columns: 1fr auto; row-gap: 8px; }
  .siparis-satir__tutar { grid-column: 2; }
  .siparis-kalem { grid-template-columns: 46px 1fr; row-gap: 6px; }
  .siparis-kalem__tutar { grid-column: 2; text-align: right; }
  .siparis-kalem__gorsel { width: 46px; height: 46px; }
}

/* ==========================================================================
   28. FORM KONTROLLERİ — TEK KAYNAK
   --------------------------------------------------------------------------
   Amaç: input, select, textarea, radio, checkbox ve file alanlarının
   her sayfada aynı yükseklik, kenarlık, köşe ve odak görünümünü paylaşması.
   Buradaki kurallar sınıf gerektirmez; ham etiketlere de uygulanır.
   ========================================================================== */

:root {
  --alan-yukseklik: 48px;      /* tüm tek satırlık alanların ortak yüksekliği */
  --alan-dolgu-y: 12px;
  --alan-dolgu-x: 15px;
  --secim-boyut: 18px;         /* radio ve checkbox */
}

/* ---------- Tek satırlık alanlar ---------- */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="date"],
input[type="time"],
select,
textarea {
  width: 100%;
  min-height: var(--alan-yukseklik);
  padding: var(--alan-dolgu-y) var(--alan-dolgu-x);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: .95rem;
  line-height: 1.4;
  appearance: none;                    /* tarayıcı farklarını sıfırla */
  -webkit-appearance: none;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}

textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

/* Sayı alanındaki artırma okları kapalı — adet kutuları kendi düğmelerini kullanır */
input[type="number"] { -moz-appearance: textfield; }
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }

/* Tarih alanı Safari'de daha kısa kalıyordu; takvim simgesi hizalanır */
/* Tarih ve saat alanları iç yükseklikleri yüzünden 1 px taşıyordu;
   sabit yükseklikle diğer alanlarla aynı hizaya getirilir. */
input[type="date"],
input[type="time"] { height: var(--alan-yukseklik); }
input[type="date"]::-webkit-calendar-picker-indicator { opacity: .55; cursor: pointer; }
input[type="date"]::-webkit-date-and-time-value { text-align: left; }

/* ---------- Açılır liste oku ---------- */
select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f6d80' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 15px;
  cursor: pointer;
}
select[multiple] { background-image: none; padding-right: var(--alan-dolgu-x); min-height: 120px; }

/* ---------- Odak ve durumlar ---------- */
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(10, 61, 143, .1);
}
input:disabled, select:disabled, textarea:disabled,
input[readonly] {
  background: var(--bg-soft);
  color: var(--muted);
  cursor: not-allowed;
}
input::placeholder, textarea::placeholder { color: #9aa8ba; }

input:invalid:not(:placeholder-shown),
select:invalid:not([value=""]) { border-color: var(--line); }   /* yazarken kırmızıya boyama */

/* ---------- Onay kutusu ve seçim düğmesi ---------- */
input[type="checkbox"],
input[type="radio"] {
  width: var(--secim-boyut);
  height: var(--secim-boyut);
  min-height: 0;
  padding: 0;
  flex: none;
  accent-color: var(--navy);
  cursor: pointer;
  appearance: auto;
  -webkit-appearance: auto;
  border: 0;
  background: none;
  box-shadow: none;
}
input[type="checkbox"]:focus-visible,
input[type="radio"]:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

/* ---------- Dosya seçimi ---------- */
input[type="file"] {
  width: 100%;
  min-height: 0;
  padding: 10px 12px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  font-size: .88rem;
  color: var(--body);
  cursor: pointer;
}
input[type="file"]:hover { border-color: var(--navy); }
input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 7px 14px;
  border: 0;
  border-radius: var(--radius-full);
  background: var(--navy);
  color: #fff;
  font-family: inherit;
  font-size: .84rem;
  font-weight: 700;
  cursor: pointer;
}
input[type="file"]::file-selector-button:hover { background: var(--navy-700); }

/* ---------- Yuvarlak alanlar (arama, filtre) ---------- */
.field,
.search__input {
  border-radius: var(--radius-full);
}
.field { min-height: 46px; padding-block: 10px; font-size: .92rem; }
select.field { background-position: right 14px center; }

/* Başlıktaki arama kutusu kendi çerçevesini kullanır */
.search__input {
  min-height: 0;
  height: 100%;
  padding: 0 12px;
  border: 0;
  background: none;
  border-radius: 0;
}
.search__input:focus { box-shadow: none; }

/* Adet kutusundaki alan kendi çerçevesini kullanır */
.qty input {
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: none;
  padding: 0;
}
.qty input:focus { box-shadow: none; }

/* Filtre ve onay satırlarındaki kutular hizalı dursun */
.filter-opt input,
.form-check input,
.secim input,
.adres-kart input,
.odeme-secenek input { margin: 0; }

/* ---------- 29. Kart ödeme sayfası (PayTR) ---------- */
.odeme-cerceve {
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.odeme-cerceve iframe { display: block; border: 0; border-radius: var(--radius); }

.odeme-guven {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  font-size: .87rem;
  color: var(--muted);
}
.odeme-guven span { display: flex; align-items: center; gap: 9px; }
.odeme-guven svg { width: 17px; height: 17px; flex: none; color: var(--success); }
.odeme-guven a { font-weight: 700; }

/* Footer — yapımcı firma satırı */
.footer__yapimci { color: rgba(255, 255, 255, .5); font-size: .82rem; }
.footer__yapimci a { color: rgba(255, 255, 255, .68); font-weight: 700; }
.footer__yapimci a:hover { color: #fff; }
@media (max-width: 860px) {
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}
