/* ==========================================================================
   Medikaltek — tasarım sistemi
   8px tabanlı spacing, tek renk paleti, tek tipografi ölçeği.
   ========================================================================== */

:root {
  /* renk */
  --primary: #0f4c5c;
  --primary-dark: #0a3742;
  --accent: #1b7f79;
  --ink: #12211f;
  --muted: #5c6b68;
  --line: #dde5e3;
  --line-strong: #c3d1ce;
  --bg: #fff;
  --soft: #f5f8f7;
  --sale: #b4451f;
  --ok: #1b7f79;

  /* spacing — 8px tabanlı */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px;
  --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;

  /* biçim */
  --r-sm: 6px; --r: 10px; --r-lg: 16px; --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(18, 33, 31, .06);
  --sh-2: 0 4px 16px rgba(18, 33, 31, .10);
  --sh-3: 0 12px 32px rgba(18, 33, 31, .16);

  --wrap: 1240px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 var(--s3); letter-spacing: -.01em; }
h1 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.15rem); }
h2 { font-size: clamp(1.2rem, 1.05rem + .7vw, 1.55rem); }
h3 { font-size: 1.02rem; }
p { margin: 0 0 var(--s3); }
small { font-size: .85em; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--s5); }
.block { padding-block: var(--s7); }
.narrow { max-width: 760px; }
.lead { color: var(--muted); font-size: 1.03rem; max-width: 68ch; }
.sr-only, .skip {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip:focus {
  position: fixed; left: var(--s2); top: var(--s2); width: auto; height: auto;
  clip: auto; margin: 0; padding: var(--s3) var(--s4); background: #fff;
  border-radius: var(--r); box-shadow: var(--sh-2); z-index: 200;
}
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: var(--r-sm); }

/* ── butonlar ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  background: var(--primary); color: #fff; border: 1px solid var(--primary);
  padding: var(--s3) var(--s5); border-radius: var(--r); font: inherit; font-size: .97rem;
  font-weight: 500; text-decoration: none; cursor: pointer; min-height: 44px;
  transition: background .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: #fff; color: var(--primary); }
.btn--ghost:hover { background: var(--soft); color: var(--primary-dark); }
.btn--sm { padding: var(--s2) var(--s3); font-size: .88rem; min-height: 38px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn[disabled]:hover { background: var(--primary); }
.btn--buy { flex: 1 1 auto; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--primary); text-decoration: underline; cursor: pointer; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-width: 44px; min-height: 44px; padding: var(--s2) var(--s3);
  border: 1px solid var(--line); border-radius: var(--r); background: #fff;
  color: var(--muted); font: inherit; font-size: .9rem; cursor: pointer; text-decoration: none;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); background: var(--soft); }
.icon-btn--wide { flex: 1 1 auto; justify-content: center; }

/* ── header ── */
.top { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); }
.topbar { background: var(--soft); border-bottom: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.topbar-in { display: flex; justify-content: space-between; gap: var(--s4); padding-block: var(--s2); flex-wrap: wrap; }
.topbar-links { display: flex; gap: var(--s4); }
.topbar a { color: var(--muted); text-decoration: none; }
.topbar a:hover { color: var(--primary); }

.top-in { display: flex; align-items: center; gap: var(--s4); min-height: var(--header-h); }
.logo { font-size: 1.32rem; text-decoration: none; color: var(--primary); letter-spacing: -.02em; white-space: nowrap; }
.logo strong { font-weight: 700; }

.burger { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

.search { position: relative; flex: 1 1 320px; display: flex; max-width: 620px; }
.search input {
  flex: 1; min-width: 0; font: inherit; font-size: .95rem; padding: var(--s3) var(--s4);
  border: 1px solid var(--line-strong); border-right: 0;
  border-radius: var(--r) 0 0 var(--r); background: #fff; color: var(--ink); min-height: 44px;
}
.search input::placeholder { color: var(--muted); }
.search button {
  background: var(--primary); color: #fff; border: 1px solid var(--primary);
  border-radius: 0 var(--r) var(--r) 0; padding-inline: var(--s5); font: inherit; cursor: pointer; min-height: 44px;
}
.search button:hover { background: var(--primary-dark); }

.suggest {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 80;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh-3); max-height: 70vh; overflow-y: auto; padding: var(--s2);
}
.sug-item { display: flex; gap: var(--s3); align-items: center; padding: var(--s2); border-radius: var(--r-sm); text-decoration: none; color: inherit; }
.sug-item:hover, .sug-item.is-on { background: var(--soft); }
.sug-item img { width: 48px; height: 48px; object-fit: contain; background: var(--soft); border-radius: var(--r-sm); flex: none; }
.sug-t { font-size: .9rem; font-weight: 500; line-height: 1.3; }
.sug-m { font-size: .8rem; color: var(--muted); }
.sug-p { margin-left: auto; font-weight: 700; color: var(--primary); white-space: nowrap; font-size: .92rem; }
.sug-head { padding: var(--s2); font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.sug-all { display: block; padding: var(--s3); text-align: center; font-size: .9rem; border-top: 1px solid var(--line); margin-top: var(--s2); }

.top-actions { display: flex; align-items: center; gap: var(--s1); margin-left: auto; }
.act {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: var(--s2) var(--s3); text-decoration: none; color: var(--ink);
  font-size: .72rem; border-radius: var(--r); min-width: 60px; min-height: 44px; justify-content: center;
}
.act:hover { background: var(--soft); color: var(--primary); }
.act-ico { font-size: 1.1rem; line-height: 1; }
.badge {
  position: absolute; top: 2px; right: 6px; min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--sale); color: #fff; border-radius: var(--r-pill);
  font-size: .68rem; line-height: 18px; text-align: center; font-weight: 700;
}
.act--cart { background: var(--primary); color: #fff; }
.act--cart:hover { background: var(--primary-dark); color: #fff; }

/* ── mega menü ── */
.mega { border-top: 1px solid var(--line); background: #fff; }
.mega-list { display: flex; gap: var(--s5); list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: thin; }
.mega-col { position: relative; flex: none; }
.mega-head {
  display: block; padding: var(--s3) 0; font-size: .9rem; font-weight: 500;
  color: var(--ink); text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent;
}
.mega-col:hover > .mega-head, .mega-col:focus-within > .mega-head { color: var(--primary); border-bottom-color: var(--primary); }
.mega-col > ul {
  position: absolute; top: 100%; left: -var(--s4); z-index: 70; display: none;
  min-width: 260px; margin: 0; padding: var(--s3); list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: 0 0 var(--r) var(--r); box-shadow: var(--sh-3);
}
.mega-col:hover > ul, .mega-col:focus-within > ul { display: block; }
.mega-col > ul a { display: block; padding: var(--s2) var(--s3); font-size: .89rem; color: var(--ink); text-decoration: none; border-radius: var(--r-sm); }
.mega-col > ul a:hover { background: var(--soft); color: var(--primary); }

/* ── mobil menü ── */
.mobil-menu { position: fixed; inset: 0; z-index: 90; background: #fff; overflow-y: auto; padding: var(--s5); }
.mobil-menu nav { display: flex; flex-direction: column; }
.mobil-menu a { padding: var(--s4) 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: 1rem; }
.mobil-menu hr { border: 0; border-top: 8px solid var(--soft); margin: var(--s4) calc(var(--s5) * -1); }

/* ── hero ── */
.hero { background: linear-gradient(155deg, var(--soft) 0%, #fff 70%); border-bottom: 1px solid var(--line); }
.hero-in { padding-block: var(--s8) var(--s7); }
.hero h1 { max-width: 17ch; font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-actions { display: flex; gap: var(--s3); flex-wrap: wrap; margin-top: var(--s5); }

/* ── blok başlıkları ── */
.block-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s5); flex-wrap: wrap; }
.block-head h2 { margin: 0; }
.more { font-size: .9rem; text-decoration: none; white-space: nowrap; font-weight: 500; }
.more:hover { text-decoration: underline; }

/* ── kategori kutuları ── */
.tiles { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.tile {
  display: flex; flex-direction: column; gap: var(--s1); padding: var(--s4) var(--s5);
  border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.tile:hover { border-color: var(--accent); box-shadow: var(--sh-1); }
.tile-title { color: var(--ink); font-weight: 600; font-size: .96rem; }
.tile-count { color: var(--muted); font-size: .82rem; }

/* ── ürün ızgarası ── */
.grid { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fill, minmax(226px, 1fr)); }
.card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r); padding: var(--s3);
  transition: border-color .15s, box-shadow .15s;
}
.card:hover { border-color: var(--line-strong); box-shadow: var(--sh-2); }
.card[hidden] { display: none; }
.card-link { text-decoration: none; color: inherit; display: block; }
.card-media { position: relative; }
.card-img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--soft); border-radius: var(--r-sm); }
.card-img--empty { display: block; }
.tag {
  position: absolute; top: var(--s2); left: var(--s2); padding: 3px var(--s2);
  border-radius: var(--r-sm); font-size: .72rem; font-weight: 700; color: #fff;
}
.tag--sale { background: var(--sale); }
.tag--out { background: var(--muted); left: auto; right: var(--s2); }
.card-brand { margin: var(--s3) 0 0; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.card-title { margin: var(--s1) 0 0; font-size: .93rem; font-weight: 600; line-height: 1.35; }
.card-foot { margin-top: auto; padding-top: var(--s3); }
.card-price { margin: 0 0 var(--s3); font-size: 1.05rem; color: var(--primary); }
.card-price s { color: var(--muted); font-size: .85rem; font-weight: 400; margin-right: var(--s1); }
.card-price small { color: var(--muted); font-size: .75rem; font-weight: 400; }
.card-actions { display: flex; gap: var(--s2); }
.card-actions .btn { flex: 1; }

/* ── breadcrumb / sayfalama ── */
.crumbs { display: flex; flex-wrap: wrap; gap: var(--s2); font-size: .84rem; color: var(--muted); margin-bottom: var(--s4); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--primary); text-decoration: underline; }
.crumbs .sep { opacity: .5; }

.pager { display: flex; flex-wrap: wrap; gap: var(--s2); justify-content: center; margin-top: var(--s7); }
.pg {
  min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 var(--s3); border: 1px solid var(--line); border-radius: var(--r);
  text-decoration: none; color: var(--ink); font-size: .92rem;
}
.pg:hover { border-color: var(--accent); color: var(--accent); }
.pg--now { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }
.pg--gap { border: 0; min-width: 24px; color: var(--muted); }

/* ── listeleme + filtreler ── */
.listing { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: var(--s6); align-items: start; }
.filters {
  position: sticky; top: calc(var(--header-h) + var(--s4));
  border: 1px solid var(--line); border-radius: var(--r); padding: var(--s4); background: #fff;
}
.filter-h { font-size: 1rem; margin: 0 0 var(--s4); }
.filter-close, .filter-open { display: none; }
.facet { border: 0; border-top: 1px solid var(--line); padding: var(--s4) 0 0; margin: 0 0 var(--s4); }
.facet:first-of-type { border-top: 0; padding-top: 0; }
.facet legend { font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 0 0 var(--s2); }
.facet label { display: flex; align-items: center; gap: var(--s2); padding: var(--s2) 0; font-size: .9rem; cursor: pointer; min-height: 36px; }
.facet label span { margin-left: auto; color: var(--muted); font-size: .8rem; }
.facet input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--primary); flex: none; }
.range { display: flex; align-items: center; gap: var(--s2); }
.range input { width: 100%; min-width: 0; font: inherit; font-size: .9rem; padding: var(--s2); border: 1px solid var(--line); border-radius: var(--r-sm); min-height: 40px; }

.toolbar { display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap; margin-bottom: var(--s4); }
.count { margin: 0; color: var(--muted); font-size: .88rem; }
.sort { margin-left: auto; }
.sort select { font: inherit; font-size: .9rem; padding: var(--s2) var(--s3); border: 1px solid var(--line); border-radius: var(--r); background: #fff; min-height: 44px; }
.active-filters { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s4); }
.active-filters button {
  display: inline-flex; align-items: center; gap: var(--s2); padding: var(--s1) var(--s3);
  background: var(--soft); border: 1px solid var(--line); border-radius: var(--r-pill);
  font: inherit; font-size: .84rem; cursor: pointer; min-height: 34px;
}
.active-filters button::after { content: "✕"; font-size: .75rem; color: var(--muted); }
.empty { padding: var(--s7) 0; text-align: center; color: var(--muted); }

.subnav { display: flex; flex-wrap: wrap; gap: var(--s2); margin: var(--s5) 0; }
.subnav a {
  display: inline-flex; align-items: center; gap: var(--s2); padding: var(--s2) var(--s4);
  border: 1px solid var(--line); border-radius: var(--r-pill); background: #fff;
  text-decoration: none; color: var(--ink); font-size: .88rem; min-height: 40px;
}
.subnav a:hover { border-color: var(--accent); background: var(--soft); }
.subnav span { color: var(--muted); font-size: .78rem; }

.chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chip {
  display: inline-flex; align-items: center; gap: var(--s2); padding: var(--s2) var(--s4);
  border: 1px solid var(--line); border-radius: var(--r-pill); background: #fff;
  text-decoration: none; color: var(--ink); font-size: .88rem; min-height: 40px;
}
.chip:hover { border-color: var(--accent); background: var(--soft); }
.chip span { color: var(--muted); font-size: .78rem; }

/* ── kategori dizini ── */
.cat-index { display: grid; gap: var(--s6); grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.cat-index-col h2 { font-size: 1.02rem; display: flex; gap: var(--s2); align-items: baseline; }
.cat-index-col h2 span { color: var(--muted); font-size: .8rem; font-weight: 400; }
.cat-index-col ul { list-style: none; margin: 0; padding: 0; }
.cat-index-col li { padding: var(--s1) 0; font-size: .9rem; display: flex; gap: var(--s2); align-items: baseline; }
.cat-index-col li span { color: var(--muted); font-size: .78rem; }
.brand-group { margin-bottom: var(--s6); }
.brand-row { display: flex; flex-wrap: wrap; gap: var(--s2); }
.brand-chip {
  display: inline-flex; align-items: center; gap: var(--s2); padding: var(--s3) var(--s4);
  border: 1px solid var(--line); border-radius: var(--r); background: #fff;
  text-decoration: none; color: var(--ink); font-size: .9rem; font-weight: 500;
}
.brand-chip:hover { border-color: var(--accent); }
.brand-chip span { color: var(--muted); font-size: .78rem; font-weight: 400; }

/* ── ürün detay ── */
.pdp { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s7); align-items: start; }
.pdp-media { position: sticky; top: calc(var(--header-h) + var(--s4)); }
.pdp-img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--soft); border: 1px solid var(--line); border-radius: var(--r); }
.thumbs { display: flex; gap: var(--s2); margin-top: var(--s3); flex-wrap: wrap; }
.thumb { width: 72px; height: 72px; padding: 0; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; cursor: pointer; overflow: hidden; }
.thumb.is-on { border-color: var(--accent); border-width: 2px; }
.thumb img { width: 100%; height: 100%; object-fit: contain; background: var(--soft); }

.pdp-brand { margin: 0 0 var(--s2); font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; }
.pdp-brand a { color: var(--muted); text-decoration: none; }
.pdp-brand a:hover { color: var(--accent); }
.pdp-ids { display: flex; gap: var(--s5); margin: 0 0 var(--s4); flex-wrap: wrap; }
.pdp-ids div { display: flex; gap: var(--s2); font-size: .82rem; }
.pdp-ids dt { color: var(--muted); margin: 0; }
.pdp-ids dd { margin: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.pdp-price { margin: 0 0 var(--s1); font-size: 1.9rem; font-weight: 700; color: var(--primary); }
.pdp-price s { font-size: 1.05rem; font-weight: 400; color: var(--muted); margin-right: var(--s2); }
.pdp-price small { font-size: 1.05rem; font-weight: 600; }
.pdp-vat { margin: 0 0 var(--s4); font-size: .82rem; color: var(--muted); }
.pdp-stock { margin: 0 0 var(--s5); font-size: .93rem; font-weight: 500; }
.pdp-stock.ok { color: var(--ok); }
.pdp-stock.no { color: var(--sale); }

.buy { display: flex; gap: var(--s3); flex-wrap: wrap; align-items: flex-end; margin-bottom: var(--s4); }
.field { display: flex; flex-direction: column; gap: var(--s1); font-size: .82rem; color: var(--muted); }
.field select, .field input {
  font: inherit; font-size: .95rem; color: var(--ink); padding: var(--s3);
  border: 1px solid var(--line-strong); border-radius: var(--r); background: #fff; min-height: 44px; min-width: 0;
}
.field--qty input { width: 90px; }
.buy-actions { display: flex; gap: var(--s2); flex: 1 1 260px; }
.pdp-sec { display: flex; gap: var(--s2); flex-wrap: wrap; margin-bottom: var(--s5); }
.pdp-assure { list-style: none; margin: 0; padding: var(--s4); background: var(--soft); border-radius: var(--r); font-size: .88rem; }
.pdp-assure li { padding: var(--s1) 0; }
.pdp-block { margin-top: var(--s7); padding-top: var(--s6); border-top: 1px solid var(--line); }
.pdp-block.warn { background: var(--soft); padding: var(--s5); border-radius: var(--r); border-top: 0; }
.pdp-block.warn p { font-size: .9rem; color: var(--muted); margin-bottom: var(--s2); max-width: 72ch; }
.src-note { font-size: .8rem; color: var(--muted); margin-top: var(--s3); }

.spec-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.spec-table th, .spec-table td { padding: var(--s3); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th { width: 38%; font-weight: 600; color: var(--muted); }
.spec-table tr:nth-child(odd) { background: var(--soft); }

.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(18,33,31,.08); }
.sticky-in { display: flex; align-items: center; gap: var(--s4); max-width: var(--wrap); margin-inline: auto; padding: var(--s3) var(--s5); }
.sticky-title { margin: 0; font-size: .88rem; font-weight: 600; }
.sticky-price { margin: 0; font-size: .95rem; font-weight: 700; color: var(--primary); }
.sticky-in .btn { margin-left: auto; }

/* ── zengin metin ── */
.rte { max-width: 72ch; }
.rte img { border-radius: var(--r-sm); margin: var(--s4) 0; }
.rte table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; margin: var(--s4) 0; }
.rte td, .rte th { border: 1px solid var(--line); padding: var(--s2) var(--s3); text-align: left; font-size: .9rem; }
.rte h2, .rte h3 { margin-top: var(--s6); }
.rte ul, .rte ol { padding-left: var(--s5); }
.rte li { margin-bottom: var(--s2); }

.article h2 { margin-top: var(--s7); }
.byline { font-size: .85rem; color: var(--muted); margin-bottom: var(--s5); }
.disclaimer { margin-top: var(--s7); padding: var(--s4); background: var(--soft); border-radius: var(--r); font-size: .87rem; color: var(--muted); }
.biz { margin: 0; }
.biz div { display: flex; gap: var(--s3); padding: var(--s2) 0; border-bottom: 1px solid var(--line); font-size: .92rem; flex-wrap: wrap; }
.biz dt { min-width: 170px; color: var(--muted); margin: 0; }
.biz dd { margin: 0; }

/* ── rehber ── */
.guide-grid { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.guide-card { display: flex; flex-direction: column; gap: var(--s2); padding: var(--s5); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: inherit; background: #fff; }
.guide-card:hover { border-color: var(--accent); box-shadow: var(--sh-1); }
.guide-card h2, .guide-card h3 { font-size: 1rem; margin: 0; }
.guide-card p { color: var(--muted); font-size: .88rem; margin: 0; }
.guide-more { margin-top: auto; color: var(--primary); font-size: .88rem; font-weight: 500; }
.guide-cta { margin-top: var(--s7); padding: var(--s6); background: var(--soft); border-radius: var(--r-lg); }
.guide-cta h2 { margin-top: 0; }
.guide-next { margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--line); }

/* ── SSS ── */
.faq { margin-top: var(--s5); }
.faq details { border: 1px solid var(--line); border-radius: var(--r); margin-bottom: var(--s2); background: #fff; }
.faq summary { padding: var(--s4); cursor: pointer; font-weight: 500; font-size: .95rem; list-style: none; display: flex; justify-content: space-between; gap: var(--s3); min-height: 44px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .rte { padding: var(--s4); max-width: none; }
.faq .rte p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ── güven şeridi ── */
.trust { display: grid; gap: var(--s5); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-top: 1px solid var(--line); }
.trust h3 { margin-bottom: var(--s2); }
.trust p { margin: 0; color: var(--muted); font-size: .9rem; }
.related-links { margin-top: var(--s7); }
.recent { margin-top: var(--s7); padding-top: var(--s6); border-top: 1px solid var(--line); }
.notfound { margin-top: var(--s5); }
.notfound p { display: flex; gap: var(--s3); flex-wrap: wrap; }

/* ── durumlar ── */
.skeleton-text { height: 1.2em; width: 40%; background: linear-gradient(90deg, var(--soft), #eef3f2, var(--soft)); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: var(--r-sm); color: transparent; }
@keyframes sk { 0% { background-position: 200% 0 } 100% { background-position: -200% 0 } }

.toast-wrap { position: fixed; bottom: var(--s5); left: 50%; transform: translateX(-50%); z-index: 150; display: flex; flex-direction: column; gap: var(--s2); pointer-events: none; }
.toast { background: var(--ink); color: #fff; padding: var(--s3) var(--s5); border-radius: var(--r); box-shadow: var(--sh-3); font-size: .9rem; max-width: 90vw; }
.toast a { color: #9fe0d8; }

/* ── sepet / karşılaştırma ── */
.line { display: grid; grid-template-columns: 76px minmax(0,1fr) auto; gap: var(--s4); align-items: center; padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.line img { width: 76px; height: 76px; object-fit: contain; background: var(--soft); border-radius: var(--r-sm); }
.line-title { margin: 0 0 var(--s1); font-size: .93rem; font-weight: 600; }
.line-title a { color: inherit; text-decoration: none; }
.line-meta { margin: 0 0 var(--s2); color: var(--muted); font-size: .85rem; }
.line-qty { display: flex; align-items: center; gap: var(--s2); }
.line-qty input { width: 68px; font: inherit; padding: var(--s1) var(--s2); border: 1px solid var(--line); border-radius: var(--r-sm); min-height: 38px; }
.total { display: flex; justify-content: space-between; align-items: center; padding: var(--s5) 0; font-size: 1.15rem; font-weight: 700; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: .9rem; display: block; overflow-x: auto; }
.cmp-table th, .cmp-table td { border: 1px solid var(--line); padding: var(--s3); text-align: left; vertical-align: top; min-width: 160px; }
.cmp-table thead th { background: var(--soft); }
.cmp-table img { width: 120px; height: 120px; object-fit: contain; }

/* ── footer ── */
.foot { border-top: 1px solid var(--line); background: var(--soft); margin-top: var(--s8); font-size: .9rem; }
.foot-grid { display: grid; gap: var(--s6); grid-template-columns: 1.4fr repeat(3, 1fr); padding-block: var(--s7) var(--s6); }
.foot-brand { font-weight: 700; font-size: 1.05rem; margin-bottom: var(--s3); }
.foot-addr, .foot-hours { color: var(--muted); }
.foot-h { font-weight: 600; margin-bottom: var(--s3); }
.foot nav { display: flex; flex-direction: column; gap: var(--s2); }
.foot nav a { color: var(--muted); text-decoration: none; }
.foot nav a:hover { color: var(--primary); text-decoration: underline; }
.foot-legal { padding-block: var(--s5); border-top: 1px solid var(--line-strong); color: var(--muted); font-size: .84rem; }
.foot-note { max-width: 80ch; }
.foot-copy { margin: 0; }

/* ── duyarlı ── */
@media (max-width: 1080px) {
  .listing { grid-template-columns: 1fr; }
  .filters {
    position: fixed; inset: 0; z-index: 100; border-radius: 0; border: 0;
    overflow-y: auto; padding: var(--s5); display: none;
  }
  .filters.is-open { display: block; }
  .filter-close { display: block; position: absolute; top: var(--s4); right: var(--s4); background: none; border: 0; font: inherit; color: var(--primary); cursor: pointer; min-height: 44px; }
  .filter-open { display: inline-flex; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; gap: var(--s5); }
  .pdp-media { position: static; }
  .mega { display: none; }
  .burger { display: flex; }
  .topbar-in > span:first-child { display: none; }
  .act-txt { display: none; }
  .act { min-width: 44px; padding: var(--s2); }
  .search { order: 3; flex-basis: 100%; max-width: none; margin-bottom: var(--s3); }
  .top-in { flex-wrap: wrap; }
}

@media (max-width: 640px) {
  .wrap { padding-inline: var(--s4); }
  .block { padding-block: var(--s6); }
  .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: var(--s3); }
  .card { padding: var(--s2); }
  .card-actions .btn { font-size: .82rem; padding: var(--s2); }
  .foot-grid { grid-template-columns: 1fr; gap: var(--s5); }
  .hero-in { padding-block: var(--s6); }
  .line { grid-template-columns: 60px minmax(0,1fr); }
  .line img { width: 60px; height: 60px; }
  .line > strong { grid-column: 2; }
  body:has(.sticky-buy:not([hidden])) { padding-bottom: 76px; }
}

@media print {
  .top, .foot, .sticky-buy, .card-actions, .toast-wrap { display: none; }
}
