/* ============================================================
   MILA ELEKTRIK — Light · White · Orange · Ergonomic
   Pure white surfaces, soft radii, professional spacing
   ============================================================ */

:root {
  /* Surface scale — pure white, cool greys */
  --bg-base: #ffffff;
  --bg-elev-1: #fafafa;
  --bg-elev-2: #ffffff;
  --bg-elev-3: #f4f4f5;
  --bg-tint:   #fff9e6;          /* very soft orange wash */
  --bg-ink: #18181b;
  --bg-ink-2: #27272a;

  /* Borders */
  --br-faint:   rgba(24, 24, 27, 0.04);
  --br-subtle:  rgba(24, 24, 27, 0.07);
  --br-default: rgba(24, 24, 27, 0.11);
  --br-strong:  rgba(24, 24, 27, 0.20);

  /* Text */
  --fg-primary:   #18181b;
  --fg-secondary: #3f3f46;
  --fg-tertiary:  #52525b;
  --fg-muted:     #71717a;
  --fg-faint:     #a1a1aa;
  --fg-on-accent: #1c1602;
  --fg-on-ink:    #fafafa;

  /* Accent — sarı (#FBB90A marka rengi) */
  --accent: #fbb90a;            /* main */
  --accent-hi: #ffc633;         /* hover/lighter */
  --accent-lo: #d99b00;         /* pressed/darker */
  --accent-deep: #a87800;       /* shadow tone */
  --accent-soft: #fff9e6;       /* bg wash */
  --accent-soft-2: #fdf0c2;     /* hover bg */
  --accent-ring: rgba(251, 185, 10, 0.18);

  /* Status */
  --ok: #15803d;
  --warn: #b45309;
  --bad: #dc2626;
  --info: #1d4ed8;

  /* Typography */
  --font-sans: "Inter Tight", "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: "Inter Tight", "IBM Plex Sans", system-ui, sans-serif;

  /* Density */
  --u: 4px;
  --pad-card: 20px;
  --pad-cell: 14px;
  --gap-stack: 14px;
  --row-h: 38px;

  /* Radii — softer */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-pill: 999px;

  /* Shadows — light & layered */
  --shadow-1: 0 1px 2px rgba(24,24,27,.04), 0 1px 1px rgba(24,24,27,.03);
  --shadow-2: 0 4px 14px rgba(24,24,27,.06), 0 1px 2px rgba(24,24,27,.04);
  --shadow-3: 0 12px 32px rgba(24,24,27,.10), 0 2px 6px rgba(24,24,27,.04);
  --shadow-pop: 0 24px 56px rgba(24,24,27,.16), 0 0 0 1px var(--br-subtle);
  --shadow-orange: 0 10px 24px rgba(251, 185, 10,0.24);

  /* Anim */
  --t-fast: 120ms;
  --t-norm: 220ms;
  --t-slow: 380ms;
  --ease: cubic-bezier(.22,.7,.18,1);
}

[data-density="compact"] {
  --pad-card: 14px; --pad-cell: 10px; --gap-stack: 10px; --row-h: 32px;
}
[data-density="comfy"] {
  --pad-card: 26px; --pad-cell: 18px; --gap-stack: 18px; --row-h: 44px;
}

[data-font="plex"]   { --font-sans: "IBM Plex Sans", system-ui, sans-serif; }
[data-font="geist"]  { --font-sans: "Geist", "IBM Plex Sans", system-ui, sans-serif; --font-mono: "Helvetica Neue", Helvetica, Arial, sans-serif; }
[data-font="space"]  { --font-sans: "Space Grotesk", "IBM Plex Sans", system-ui, sans-serif; --font-mono: "Helvetica Neue", Helvetica, Arial, sans-serif; }
[data-font="inter"]  { --font-sans: "Inter Tight", "IBM Plex Sans", system-ui, sans-serif; }

* { box-sizing: border-box; }
html, body {
  margin: 0;
  background: var(--bg-base);
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body { min-height: 100vh; }

a { color: inherit; text-decoration: none; cursor: default; }
button { font: inherit; color: inherit; cursor: default; }
input, select, textarea { font: inherit; color: inherit; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(24,24,27,0.16);
  border-radius: 8px;
  border: 2px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover { background: rgba(24,24,27,0.30); background-clip: content-box; border: 2px solid transparent; }

::selection { background: var(--accent-soft-2); color: var(--accent-deep); }

/* Type utilities */
.mono { font-family: var(--font-mono); font-feature-settings: "tnum" 1; letter-spacing: 0; }
.tn { font-variant-numeric: tabular-nums; }
.upper { text-transform: uppercase; letter-spacing: 0.08em; }
.h1 { font-size: 60px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.02; }
.h2 { font-size: 38px; font-weight: 600; letter-spacing: -0.024em; line-height: 1.08; }
.h3 { font-size: 26px; font-weight: 600; letter-spacing: -0.016em; line-height: 1.2; }
.h4 { font-size: 17px; font-weight: 600; letter-spacing: -0.005em; line-height: 1.3; }
.eyebrow {
  font-family: var(--font-mono); font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--accent); font-weight: 500;
}
.lbl {
  font-family: var(--font-mono); font-size: 11.5px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--fg-muted); font-weight: 500;
}
.kbd {
  font-family: var(--font-mono); font-size: 12px;
  padding: 2px 6px; border: 1px solid var(--br-default);
  background: var(--bg-elev-2); border-radius: 5px;
  color: var(--fg-secondary);
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}

/* Buttons */
.btn {
  --bg: var(--bg-elev-2);
  --fg: var(--fg-primary);
  --br: var(--br-default);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 16px; height: var(--row-h);
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--br);
  border-radius: var(--r-md);
  font-weight: 500; font-size: 14px;
  transition: all var(--t-fast) var(--ease);
  user-select: none; white-space: nowrap;
}
.btn:hover { --bg: var(--bg-elev-3); --br: var(--br-strong); }
.btn:active { --bg: var(--bg-elev-3); }
.btn-primary {
  --bg: var(--accent); --fg: var(--fg-on-accent); --br: var(--accent);
}
.btn-primary:hover { --bg: var(--accent-hi); --br: var(--accent-hi); }
.btn-primary:active { --bg: var(--accent-hi); }
.btn-accent { /* alias kept for compatibility */
  --bg: var(--accent); --fg: var(--fg-on-accent); --br: var(--accent);
}
.btn-accent:hover { --bg: var(--accent-hi); --br: var(--accent-hi); }
.btn-dark {
  --bg: var(--bg-ink); --fg: var(--fg-on-ink); --br: var(--bg-ink);
}
.btn-dark:hover { --bg: var(--bg-ink-2); --br: var(--bg-ink-2); }
.btn-ghost { --bg: transparent; --br: transparent; box-shadow: none; }
.btn-ghost:hover { --bg: var(--bg-elev-3); --br: transparent; box-shadow: none; }
.btn-outline { --bg: transparent; box-shadow: none; }
.btn-outline:hover { --bg: var(--bg-elev-3); }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; gap: 6px; border-radius: 8px; }
.btn-lg { height: 50px; padding: 0 24px; font-size: 15px; gap: 10px; border-radius: 12px; }
.btn-icon { width: var(--row-h); padding: 0; justify-content: center; }
.btn-sm.btn-icon { width: 30px; }
.btn-lg.btn-icon { width: 48px; }
.btn:disabled { opacity: 0.45; cursor: default; }

/* Cards / surfaces */
.card {
  border-radius: var(--r-lg);
}
.card-pad { padding: 20px; }
.card-pad-sm { padding: 16px; }
.card-hover {
  transition: border-color var(--t-norm), box-shadow var(--t-norm), transform var(--t-norm);
}
.card-hover:hover {
  border-color: var(--br-default);
  box-shadow: var(--shadow-2);
}
.surface { background: var(--bg-elev-2); border: 1px solid var(--br-subtle); border-radius: var(--r-md); }
.surface-2 { background: var(--bg-elev-1); border: 1px solid var(--br-subtle); border-radius: var(--r-md); }
.surface-tint { background: var(--bg-tint); border: 1px solid #fce49a; border-radius: var(--r-md); }
.surface-ink { background: var(--bg-ink); color: var(--fg-on-ink); border-radius: var(--r-md); }

/* Inputs */
input[type=checkbox], input[type=radio] { accent-color: var(--accent); }
.input, .select, .textarea {
  height: var(--row-h);
  padding: 0 14px;
  background: var(--bg-elev-2);
  border: 1px solid var(--br-default);
  border-radius: var(--r-md);
  color: var(--fg-primary);
  font-size: 14px;
  width: 100%;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  outline: none;
  box-shadow: var(--shadow-1);
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-ring); }
.input::placeholder { color: var(--fg-muted); }
.textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 80px; line-height: 1.5; }
.input-lg { height: 48px; font-size: 15px; }

/* Variant option list */
.vopts { display: flex; flex-direction: column; gap: 8px; }
.vopt { position: relative; }
.vopt input { position: absolute; opacity: 0; pointer-events: none; }
.vopt label {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 14px;
  background: var(--bg-elev-2);
  border: 1px solid var(--br-default);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.vopt label:hover { border-color: var(--br-strong); }
.vopt-dot {
  width: 16px; height: 16px; flex-shrink: 0; position: relative;
  border: 1.5px solid var(--br-strong); border-radius: 50%;
  transition: border-color var(--t-fast) var(--ease);
}
.vopt-name { flex: 1; font-size: 13.5px; font-weight: 500; color: var(--fg-primary); }
.vopt-price { font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; color: var(--fg-secondary); }
.vopt input:checked + label { border-color: var(--accent); background: var(--accent-soft); }
.vopt input:checked + label .vopt-dot { border-color: var(--accent); }
.vopt input:checked + label .vopt-dot::after {
  content: ''; position: absolute; inset: 3px;
  background: var(--accent); border-radius: 50%;
}
.vopt input:checked + label .vopt-price { color: var(--accent-lo); }
.vopt input:focus-visible + label { box-shadow: 0 0 0 3px var(--accent-ring); }

/* Variant price change animation — pulse: anlık renklen + nabız, sonra eski hale dön */
@keyframes pricePulse {
  0%   { color: var(--fg-primary); transform: scale(1); }
  30%  { color: var(--accent); transform: scale(1.07); }
  100% { color: var(--fg-primary); transform: scale(1); }
}
.price-anim { display: inline-block; animation: pricePulse 420ms var(--ease); }
@media (prefers-reduced-motion: reduce) { .price-anim { animation: none; } }

/* Badge */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid var(--br-default);
  border-radius: var(--r-pill);
  background: var(--bg-elev-2);
  color: var(--fg-secondary);
  line-height: 1.5;
  white-space: nowrap;
  font-weight: 500;
}
.badge-accent { background: var(--accent-soft); color: var(--accent-lo); border-color: #fce49a; }
.badge-ok { background: #f0fdf4; color: var(--ok); border-color: #bbf7d0; }
.badge-warn { background: #fffbeb; color: var(--warn); border-color: #fde68a; }
.badge-info { background: #eff6ff; color: var(--info); border-color: #bfdbfe; }
.badge-ink { background: var(--bg-ink); color: var(--fg-on-ink); border-color: var(--bg-ink); }
.badge-solid { background: var(--accent); color: var(--fg-on-accent); border-color: var(--accent); }

/* Dot */
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--fg-muted); }
.dot-ok { background: var(--ok); }
.dot-warn { background: var(--warn); }
.dot-bad { background: var(--bad); }

/* Divider */
.hr { height: 1px; background: var(--br-subtle); border: 0; margin: 0; }
.vr { width: 1px; background: var(--br-subtle); align-self: stretch; }

/* Helpers */
.row { display: flex; align-items: center; }
.col { display: flex; flex-direction: column; }
.flex { display: flex; }
.gap-2 { gap: 2px; } .gap-4 { gap: 4px; } .gap-6 { gap: 6px; } .gap-8 { gap: 8px; }
.gap-10 { gap: 10px; } .gap-12 { gap: 12px; } .gap-14 { gap: 14px; } .gap-16 { gap: 16px; }
.gap-20 { gap: 20px; } .gap-24 { gap: 24px; } .gap-32 { gap: 32px; } .gap-40 { gap: 40px; } .gap-48 { gap: 48px; }
.grow { flex: 1 1 auto; min-width: 0; }
.center { align-items: center; justify-content: center; }
.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.muted { color: var(--fg-muted); }
.secondary { color: var(--fg-secondary); }
.accent { color: var(--accent); }
.hide { display: none !important; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }

/* Striped image placeholder */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(135deg, rgba(24,24,27,0.018) 0 14px, rgba(24,24,27,0.04) 14px 15px),
    linear-gradient(180deg, #f4f4f5, #e4e4e7);
  border: 1px solid var(--br-subtle);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: var(--fg-muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.ph::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 50% 50%, rgba(255,255,255,.5), transparent 70%);
  pointer-events: none;
}
.ph-label { position: relative; z-index: 1; padding: 4px 10px; background: rgba(255,255,255,0.92); border: 1px solid var(--br-subtle); border-radius: var(--r-sm); font-weight: 500; box-shadow: var(--shadow-1); }
/* Görseli olmayan ürün: favicon filigranı (soluk, gri temsili görsel) */
.ph .ph-watermark { width: 46%; max-width: 88px; height: auto; opacity: .2; filter: grayscale(1); mix-blend-mode: normal; }

/* Animations */
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes slide-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slide-down { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slide-in-right { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
.fade-in { animation: fade-in var(--t-norm) var(--ease); }
.slide-up { animation: slide-up var(--t-norm) var(--ease); }

/* Subtle bg patterns */
.dot-bg {
  background-image: radial-gradient(rgba(24,24,27,0.08) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* Layout shell */
.app { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg-base); }
.shell {
  max-width: 1480px;
  margin: 0 auto;
  width: 100%;
  padding: 0 40px;
}

/* Modal */
.modal-back {
  position: fixed; inset: 0;
  background: rgba(24, 24, 27, 0.50);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex; align-items: center; justify-content: center;
  animation: fade-in var(--t-norm) var(--ease);
}
.modal {
  background: var(--bg-elev-2);
  border: 1px solid var(--br-subtle);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-pop);
  max-width: 560px; width: calc(100% - 48px);
  max-height: calc(100vh - 48px);
  display: flex; flex-direction: column;
  animation: slide-up var(--t-norm) var(--ease);
  overflow: hidden;
}
.modal-h { padding: 18px 22px; border-bottom: 1px solid var(--br-subtle); display: flex; align-items: center; justify-content: space-between; }
.modal-b { padding: 22px; overflow-y: auto; }
.modal-f { padding: 16px 22px; border-top: 1px solid var(--br-subtle); display: flex; align-items: center; justify-content: flex-end; gap: 8px; background: var(--bg-elev-1); }

/* ===== Tooltip (proje geneli) =====
   [data-tip] taşıyan her öğeye uygulanır. Konumlandırma JS ile (assets/js/tooltip.js)
   .tip-el adlı tek bir kayan kutu üzerinden yapılır; taşma (overflow) kırpmasından etkilenmez. */
.tip-el {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  background: #18181b;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .005em;
  padding: 6px 9px;
  border-radius: 7px;
  max-width: 240px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0,0,0,.22);
  opacity: 0;
  transform: translateY(2px);
  transition: opacity .12s ease, transform .12s ease;
}
.tip-el.is-on { opacity: 1; transform: translateY(0); }
.tip-el::after {
  content: ""; position: absolute; left: var(--tip-arrow, 50%); margin-left: -5px;
  border: 5px solid transparent;
}
.tip-el[data-pos="top"]::after    { top: 100%; border-top-color: #18181b; }
.tip-el[data-pos="bottom"]::after { bottom: 100%; border-bottom-color: #18181b; }

/* Drawer */
.drawer-back {
  position: fixed; inset: 0;
  background: rgba(24, 24, 27, 0.40);
  backdrop-filter: blur(4px);
  z-index: 100;
  animation: fade-in var(--t-norm) var(--ease);
}
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 460px; max-width: 100vw;
  background: var(--bg-elev-2);
  border-left: 1px solid var(--br-subtle);
  display: flex; flex-direction: column;
  animation: slide-in-right var(--t-norm) var(--ease);
  z-index: 101;
}

/* Section title rail */
.section-rail {
  display: flex; align-items: end; justify-content: space-between;
  padding: 0 0 24px;
  margin-bottom: 28px;
}

/* spec table */
/* table-layout:fixed + overflow-wrap: uzun kesintisiz değer (parça no, URL)
   tabloyu kabından geniş yapıp sayfayı yana kaydırmasın */
.spec-table { width: 100%; border-collapse: collapse; font-size: 13.5px; table-layout: fixed; }
.spec-table td { padding: 12px 16px; border-bottom: 1px solid var(--br-subtle); vertical-align: top; overflow-wrap: anywhere; }
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table td:first-child { color: var(--fg-muted); font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em; width: 38%; }
.spec-table tr:nth-child(odd) td { background: var(--bg-elev-1); }

/* Focus visible */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r-sm); }
button:focus-visible { outline-offset: 1px; }

/* PDF preview */
.pdf-page {
  background: #ffffff;
  color: #18181b;
  width: 100%;
  aspect-ratio: 1 / 1.414;
  padding: 40px;
  border-radius: 4px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.18);
  font-family: var(--font-sans);
  display: flex; flex-direction: column; gap: 20px;
}

/* Brand image lock-up for logo */
.brand-logo { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo img { display: block; height: 32px; width: auto; max-width: 200px; object-fit: contain; }

/* ============================================================
   PHP storefront ek kurallar (prototip inline stillerini tamamlar)
   ============================================================ */
.ph img { width: 100%; height: 100%; object-fit: contain; position: relative; z-index: 1; }
/* Gerçek ürün görseli: çizgili zemin görselin üzerinden geçmesin (multiply yok), kap beyaz olsun */
.ph:has(img:not(.ph-watermark)) { background: #fff; }
.ph:has(img:not(.ph-watermark))::after { display: none; }
.pcard-img { aspect-ratio: 1/1; flex-shrink: 0; min-height: 0; }

/* Ürün kartları — küçültülmüş köşe yarıçapı, gölge ve parlama efektleri kaldırıldı */
.pcard { border-radius: var(--r-sm); background: var(--bg-elev-2); border: 1px solid var(--br-subtle); }
/* Üzerine gelince hafif çerçeve belirginleşir */
.card-hover.pcard:hover { box-shadow: none; border-color: var(--br-strong); }
.pcard-img::after { display: none; }            /* görsel üzerindeki radyal parlama */
.pcard-img .ph-label { box-shadow: none; }

/* Favoride olan ürün — hafif kırmızı çerçeve */
.pcard.is-fav { border-color: rgba(220, 38, 38, 0.45); }
.card-hover.pcard.is-fav:hover { border-color: rgba(220, 38, 38, 0.7); }

/* Aksiyon ikonları (favori + karşılaştırma) — kart üzerine gelince belirir */
.pcard-actions { opacity: 0; transition: opacity var(--t-norm); }
.pcard:hover .pcard-actions,
.pcard:focus-within .pcard-actions,
.pcard.is-fav .pcard-actions { opacity: 1; }    /* favorideyse kırmızı kalp hep görünür */
@media (hover: none) { .pcard-actions { opacity: 1; } }   /* dokunmatik: her zaman göster */

/* Ürün kartı listeleri — tüm kartlar eşit yükseklik (en uzun karta hizalanır) */
.grid-3:has(.pcard), .grid-4:has(.pcard) { grid-auto-rows: 1fr; }

/* ============================================================
   Skeleton loading (shimmer) — yeniden kullanılabilir mimari
   .skeleton herhangi bir bloğa shimmer verir; .skeleton-text/-line
   yardımcıları iskelet metin satırları içindir.
   ============================================================ */
@keyframes skeleton-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.skeleton {
  background: linear-gradient(90deg, var(--bg-elev-3) 25%, var(--bg-elev-1) 50%, var(--bg-elev-3) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s linear infinite;
  border-radius: var(--r-sm);
}
.skeleton-line { height: 11px; border-radius: 4px; }
.skeleton-line.sk-sm { height: 9px; }
.skeleton-line.sk-lg { height: 16px; }
/* Ürün görseli yüklenene kadar shimmer (store-footer.php script'i ile tetiklenir) */
.pcard-img.is-loading::before {
  content: ''; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(90deg, var(--bg-elev-3) 25%, var(--bg-elev-1) 50%, var(--bg-elev-3) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .skeleton, .pcard-img.is-loading::before { animation: none; }
}

.link-accent { color: var(--accent); font-weight: 600; cursor: pointer; }
a, button { cursor: pointer; }
.nav-link:hover { color: var(--accent) !important; }
.brand-cell:hover { color: var(--accent) !important; background: var(--bg-elev-1); }
.cat-link:hover { background: var(--bg-elev-1); }

/* Anasayfa kategori kartları — yatay, tek satır kurumsal düzen */
.hcat-grid { display: grid; gap: 12px; }
.hcat {
  display: flex; align-items: center; gap: 14px; min-width: 0;
  padding: 16px 18px;
  background: var(--bg-elev-2);
  border: 1px solid var(--br-subtle); border-radius: var(--r-lg);
  transition: border-color var(--t-norm), box-shadow var(--t-norm);
}
.hcat:hover { border-color: var(--br-strong); box-shadow: var(--shadow-2); }
.hcat-ico {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 10px;
  background: var(--bg-tint); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.hcat-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hcat-name { font-size: 14.5px; font-weight: 600; line-height: 1.3; color: var(--fg-primary); }
.hcat-count { font-size: 11.5px; color: var(--fg-muted); }
.hcat-arrow {
  margin-left: auto; flex: 0 0 auto; color: var(--fg-muted);
  opacity: 0; transform: translateX(-4px);
  transition: opacity var(--t-norm), transform var(--t-norm), color var(--t-norm);
}
.hcat:hover .hcat-arrow { opacity: 1; transform: none; color: var(--accent); }
@media (hover: none) { .hcat-arrow { opacity: 0.55; transform: none; } }

/* Responsive */
@media (max-width: 1100px){
  .shell { padding: 0 20px; }
  .grid-6 { grid-template-columns: repeat(3, 1fr) !important; }
  .hcat-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .grid-4 { grid-template-columns: repeat(2, 1fr) !important; }
  .grid-3 { grid-template-columns: 1fr 1fr !important; }
  .hide-md { display: none !important; }
}
@media (max-width: 720px){
  /* minmax(0,1fr): kart içeriği (uzun SKU/fiyat) kabı AŞMASIN, parça daralabilsin */
  .grid-6, .grid-4, .grid-3, .grid-10 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
  .hcat-grid { grid-template-columns: 1fr !important; gap: 10px !important; }
  .catalog-grid { grid-template-columns: 1fr !important; }
  .pdp-grid { grid-template-columns: 1fr !important; }
  .utility-bar, .hide-sm { display: none !important; }
  .h1 { font-size: 38px; } .h2 { font-size: 26px; }
  /* Bölüm başlık şeridi: mobilde dikey yığ, metin tam genişlik, CTA/rozet alta */
  .sec-head { flex-direction: column; align-items: stretch !important; gap: 14px; }
  .sec-head > .col { width: 100%; }
  .sec-head > .btn, .sec-head > .row { align-self: flex-start; }
}

/* ============================================================
   İçerik / yasal sayfalar (sipariş takibi, iade, garanti, SSS,
   teknik destek, kullanım koşulları, gizlilik, KVKK, çerezler)
   ============================================================ */
.page-head .shell { padding: 36px 40px 30px; }

.legal-grid { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.legal-toc { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 2px; }
.legal-toc a {
  font-size: 13px; color: var(--fg-tertiary); padding: 7px 12px; border-radius: var(--r-md);
  border-left: 2px solid transparent; line-height: 1.4;
}
.legal-toc a:hover { color: var(--fg-primary); background: var(--bg-elev-1); }

/* Okunabilir uzun metin bloğu */
.prose { max-width: 760px; color: var(--fg-secondary); font-size: 14.5px; line-height: 1.75; overflow-wrap: anywhere; }
/* Yonetici icerigindeki uzun URL/kod, tablo veya gorsel mobilde tasmasin */
.prose img { max-width: 100%; height: auto; }
.prose pre { overflow-x: auto; max-width: 100%; }
.prose table { display: block; max-width: 100%; overflow-x: auto; }
.prose section { scroll-margin-top: 96px; padding: 28px 0; border-top: 1px solid var(--br-subtle); }
.prose section:first-child { border-top: 0; padding-top: 4px; }
.prose h2 { font-size: 17px; font-weight: 600; color: var(--fg-primary); margin: 0 0 12px;
  display: flex; align-items: baseline; gap: 10px; }
.prose h2 .num { font-family: var(--font-mono); font-size: 12px; color: var(--accent); font-weight: 600; }
.prose h3 { font-size: 14px; font-weight: 600; color: var(--fg-primary); margin: 20px 0 8px; }
.prose p { margin: 0 0 12px; }
.prose ul, .prose ol { margin: 0 0 12px; padding-left: 20px; }
.prose li { margin: 0 0 7px; padding-left: 4px; }
.prose strong { color: var(--fg-primary); font-weight: 600; }
.prose a:not(.btn) { color: var(--accent); font-weight: 500; }
.prose a:not(.btn):hover { text-decoration: underline; }
.prose .lead { font-size: 15px; color: var(--fg-secondary); }

/* Kanun / referans kutusu */
.lawbox { background: var(--bg-elev-1); border: 1px solid var(--br-subtle); border-radius: var(--r-md);
  padding: 14px 16px; margin: 4px 0 16px; font-size: 13px; color: var(--fg-tertiary); line-height: 1.6; }
.lawbox b { color: var(--fg-secondary); }

/* SSS akordeon */
.faq-item { border: 1px solid var(--br-subtle); border-radius: var(--r-md); background: var(--bg-elev-2);
  margin-bottom: 10px; overflow: hidden; }
.faq-item > summary { list-style: none; cursor: pointer; padding: 16px 18px; font-weight: 500;
  font-size: 14.5px; color: var(--fg-primary); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary .chev { transition: transform var(--t-fast, .15s) ease; color: var(--fg-tertiary); flex-shrink: 0; }
.faq-item[open] > summary .chev { transform: rotate(180deg); }
.faq-item[open] > summary { color: var(--accent); }
.faq-body { padding: 0 18px 18px; font-size: 13.5px; color: var(--fg-tertiary); line-height: 1.7; }
.faq-body p { margin: 0 0 10px; } .faq-body p:last-child { margin: 0; }

/* Adım / süreç şeridi */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { position: relative; padding: 20px; border: 1px solid var(--br-subtle); border-radius: var(--r-lg);
  background: var(--bg-elev-2); }
.step .step-no { width: 30px; height: 30px; border-radius: 9px; background: var(--accent-soft);
  color: var(--accent-lo); font-weight: 700; font-size: 13px; display: flex; align-items: center;
  justify-content: center; font-family: var(--font-mono); margin-bottom: 12px; }
.step h4 { margin: 0 0 5px; font-size: 14px; }
.step p { margin: 0; font-size: 12.5px; color: var(--fg-tertiary); line-height: 1.55; }

/* Dikey durum zaman çizelgesi */
.track-line { position: relative; padding-left: 30px; }
.track-step { position: relative; padding-bottom: 26px; }
.track-step:last-child { padding-bottom: 0; }
.track-step::before { content: ''; position: absolute; left: -23px; top: 3px; width: 13px; height: 13px;
  border-radius: 50%; background: var(--bg-elev-2); border: 2px solid var(--br-strong); z-index: 1; }
.track-step::after { content: ''; position: absolute; left: -17px; top: 16px; bottom: -3px; width: 2px;
  background: var(--br-subtle); }
.track-step:last-child::after { display: none; }
.track-step.done::before { background: var(--accent); border-color: var(--accent); }
.track-step.now::before { background: var(--bg-elev-2); border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.track-step.done::after { background: var(--accent); }

@media (max-width: 900px){
  .legal-grid { grid-template-columns: 1fr; gap: 20px; }
  .legal-toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px;
    padding-bottom: 16px; border-bottom: 1px solid var(--br-subtle); }
  .legal-toc a { border-left: 0; background: var(--bg-elev-1); }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px){ .steps { grid-template-columns: 1fr; } }

/* ── Yorum yıldız puanlama (önyüz) ── */
.star-rate { flex-direction: row-reverse; justify-content: flex-end; }
.star-rate input { position: absolute; opacity: 0; pointer-events: none; }
.star-rate label { color: var(--fg-faint); cursor: pointer; line-height: 0; transition: color .12s ease, transform .12s ease; }
.star-rate label:hover { transform: scale(1.12); }
.star-rate input:checked ~ label,
.star-rate label:hover,
.star-rate label:hover ~ label { color: var(--warn); }
.star-rate input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ============================================================
   MOBİL UYUMLULUK — kapsamlı responsive katman
   Masaüstü (> 880px) görünümü DEĞİŞTİRMEZ. Tüm kurallar küçük
   ekranlara kapsüllenmiştir; yatay taşma ve kayma yaşanmaz.
   Switch noktası: 880px (tablet/telefon → mobil kabuk).
   ============================================================ */

/* Yatay taşma koruması — hiçbir öğe sayfayı yana kaydırmasın.
   overflow-x:clip kullanılır (hidden değil): position:sticky başlığı bozmaz,
   yeni bir kaydırma bağlamı oluşturmaz. */
html { -webkit-text-size-adjust: 100%; }
body { overflow-x: clip; }

/* Mobil-yalnız / masaüstü-yalnız yardımcıları */
.m-only  { display: none !important; }              /* masaüstünde gizli */
@media (max-width: 880px) {
  .m-only   { display: inline-flex !important; }     /* mobilde göster */
  .hide-mob { display: none !important; }            /* mobilde gizle */
  /* Görsel/medya kabını aşmasın — yalnız küçük ekranda, masaüstü dokunulmaz */
  img, video, canvas, iframe { max-width: 100%; height: auto; }
  svg { max-width: 100%; }                            /* ikon boyutları korunur */
  .ph img { height: 100%; }                           /* ürün görseli oranı korunur */
  .brand-logo img { height: 28px; width: auto; }      /* logo oranını koru */
}

/* ===== Masaüstü açılır menüler (hesap + mega kategori) =====
   Gizleme kuralı head'de yüklenen bu dosyada olmalı. Footer'daki <style>
   bloğunda kalırsa, sayfa açılışında menü markup'ı parse edilip de o stil
   yüklenene dek absolute konumlu menüler AÇIK görünür (FOUC). */
.acct-menu { display: none; }
.mega { display: none; }
.acct:hover .acct-menu, .acct:focus-within .acct-menu { display: block; }
.mega-wrap:hover .mega, .mega-wrap:focus-within .mega { display: flex; }
.menu-link:hover { background: var(--bg-elev-1); }
.mega-cat:hover { background: var(--bg-elev-1); }

/* ===== Mega menü 3. seviye: yana açılan panel (cascade flyout) ===== */
.mega-cascade { display: flex; align-items: stretch; min-height: 210px; }
.mega-l2col { display: flex; flex-direction: column; gap: 1px; width: 252px; flex-shrink: 0;
              border-right: 1px solid var(--br-subtle); padding-right: 12px; }
.mega-l2 { display: flex; justify-content: space-between; align-items: center; gap: 8px;
           padding: 9px 12px; border-radius: var(--r-md); color: var(--fg-secondary);
           font-size: 13px; font-weight: 500; text-decoration: none; }
.mega-l2:hover, .mega-l2.on { background: var(--bg-elev-1); color: var(--fg-primary); }
.mega-l2.on { font-weight: 600; }
.mega-l3col { flex: 1; padding-left: 16px; min-width: 0; }
.mega-l3-hint { font-size: 12px; color: var(--fg-faint); padding: 10px 4px; }
.mega-l3 { display: flex; flex-direction: column; gap: 1px; }
.mega-l3-title { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 10px;
                 font-size: 12px; font-weight: 600; color: var(--accent); text-decoration: none; }
.mega-l3-link { display: flex; justify-content: space-between; align-items: center; gap: 8px;
                padding: 8px 12px; border-radius: var(--r-md); color: var(--fg-secondary);
                font-size: 13px; text-decoration: none; }
.mega-l3-link:hover { background: var(--bg-elev-1); color: var(--fg-primary); }

/* ===== Mobil üst bar (header) — flat, çerçevesiz, ikonik ===== */
@media (max-width: 880px) {
  .mainbar { height: 60px !important; gap: 4px !important; }
  .d-nav   { display: none !important; }             /* masaüstü kategori navı */
  .brand-logo img { max-width: 150px; height: 28px !important; object-fit: contain; }

  /* Masaüstü büyük arama kutusu mobilde gizli — yerine arama ikonu + açılır panel */
  .bigsearch { display: none !important; }

  /* Tüm header butonları: arka plansız, çerçevesiz, yalnız ikon */
  .m-menu-btn, .m-icon-btn {
    background: transparent !important; border: 0 !important; box-shadow: none !important;
    color: var(--fg-primary) !important;
  }
  /* Sepet de mobilde flat ikon (turuncu dolgu kalkar) */
  #cart-open.btn {
    background: transparent !important; border: 0 !important; box-shadow: none !important;
    color: var(--fg-primary) !important; padding: 0 8px !important; height: 44px !important; width: auto !important;
  }
  #cart-amount { display: none !important; }          /* mobilde tutar gizli, rozet kalır */
  #cart-count { background: var(--accent) !important; color: #1c1602 !important; }  /* flat zeminde rozet görünür */
  .acct { margin-left: 0; }
}
@media (max-width: 360px) {
  .brand-logo img { max-width: 118px; }
}

/* ===== Header ikon butonu (hamburger + arama) ===== */
.m-menu-btn, .m-icon-btn {
  width: 42px; height: 42px; flex-shrink: 0;
  align-items: center; justify-content: center;
  background: transparent; border: 0;
  border-radius: var(--r-md); color: var(--fg-primary); padding: 0;
}
.m-menu-btn:active, .m-icon-btn:active { background: var(--bg-elev-1); }

/* ===== Mobil arama paneli (header altında açılır) ===== */
.m-search-panel {
  display: none; overflow: hidden;
  border-top: 1px solid var(--br-subtle);
  background: var(--bg-elev-2);
  box-shadow: var(--shadow-2);
  animation: slide-down var(--t-fast) var(--ease);
}
.m-search-panel.open { display: block; }
@media (min-width: 881px) { .m-search-panel { display: none !important; } }  /* masaüstünde asla görünmez */

/* ===== Off-canvas mobil menü ===== */
.mnav-back {
  position: fixed; inset: 0; z-index: 109;
  background: rgba(24,24,27,0.45); backdrop-filter: blur(3px);
  animation: fade-in var(--t-fast) var(--ease);
}
.mnav-back[hidden] { display: none; }
.mnav {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 110;
  width: 340px; max-width: 86vw;
  background: var(--bg-elev-2); border-right: 1px solid var(--br-subtle);
  display: flex; flex-direction: column;
  transform: translateX(-100%);
  transition: transform var(--t-norm) var(--ease);
  box-shadow: 0 0 0 1px var(--br-subtle);
}
.mnav.open { transform: translateX(0); box-shadow: 24px 0 56px rgba(24,24,27,0.18); }
.mnav-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid var(--br-subtle); flex-shrink: 0;
}
.mnav-body { flex: 1; overflow-y: auto; padding: 12px 14px 28px; -webkit-overflow-scrolling: touch; }
.mnav-sec-title {
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--fg-muted); margin: 18px 6px 8px;
}
.mnav-link {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 12px; border-radius: var(--r-md);
  color: var(--fg-secondary); font-size: 14.5px; font-weight: 500;
}
.mnav-link:active { background: var(--bg-elev-1); }
.mnav-link.accent { color: var(--accent); font-weight: 600; }
.mnav-cat { border-bottom: 1px solid var(--br-faint); }
.mnav-cat > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center;
  justify-content: space-between; gap: 10px; padding: 13px 12px;
  font-size: 14.5px; font-weight: 500; color: var(--fg-primary);
}
.mnav-cat > summary::-webkit-details-marker { display: none; }
.mnav-cat > summary .chev { color: var(--fg-muted); transition: transform var(--t-fast) var(--ease); flex-shrink: 0; }
.mnav-cat[open] > summary { color: var(--accent); }
.mnav-cat[open] > summary .chev { transform: rotate(180deg); }
.mnav-sub { display: flex; flex-direction: column; padding: 2px 0 10px 12px; }
.mnav-sub a {
  padding: 9px 12px; border-radius: var(--r-sm); border-left: 2px solid var(--br-subtle);
  color: var(--fg-tertiary); font-size: 13.5px;
}
.mnav-sub a:active { background: var(--bg-elev-1); color: var(--fg-primary); }

/* ===== Footer — sütunlar yığılır, sabit genişlikler kalkar ===== */
/* Bülten formu: masaüstü boyutları burada (inline değil), mobil kuralı ezebilsin */
.nl-form { min-width: 420px; flex: 1 1 auto; max-width: 520px; }
@media (max-width: 880px) {
  /* Footer mobilde daima 2 sütun; marka bloğu üstte tam genişlik */
  .footer-cols { grid-template-columns: 1fr 1fr !important; gap: 28px !important; }
  .footer-cols > div:first-child { grid-column: 1 / -1; }
  /* flex-basis:100% şart: basis 0 kalırsa form başlıkla aynı satırı paylaşıp
     sıkışıyor, buton ekran dışına taşıyordu */
  .nl-form { min-width: 0; max-width: none; flex: 1 1 100%; flex-wrap: wrap; }
  .nl-form .input { min-width: 0; }
}

/* ===== Genel: shell iç dolgusu küçük ekranda daralır =====
   Sayfalardaki satır-içi padding:NN 40px değerleri longhand !important
   ile ezilir; dikey dolgu korunur, yalnız yatay daralır. */
@media (max-width: 720px) {
  .shell { padding-left: 16px !important; padding-right: 16px !important; }
}
@media (max-width: 400px) {
  .shell { padding-left: 12px !important; padding-right: 12px !important; }
}

/* ===== Karşılaştırma barı (footer floating) — mobilde kompakt ===== */
@media (max-width: 720px) {
  .cmp-bar-row { height: auto !important; padding: 10px 0 !important; gap: 10px !important; flex-wrap: wrap; }
}

/* ===== Tipografi — küçük ekranda başlıklar ölçeklenir ===== */
@media (max-width: 560px) {
  .h1 { font-size: 30px !important; }
  .h2 { font-size: 22px !important; }
  .h3 { font-size: 19px !important; }
  .section-rail { padding-bottom: 16px; margin-bottom: 18px; }
}

/* ===== Tablo taşmasını engelle (spec/teknik tablolar) ===== */
@media (max-width: 640px) {
  .spec-table td { padding: 9px 10px; }
  .spec-table td:first-child { width: 42%; }
}

/* ===== Anasayfa promo kartları — mobilde tek sütun, kompakt, taşmasız =====
   grid-3 küresel kuralı 2 sütun yapıyordu; geniş hero kart sıkışıyordu.
   Mobilde her kart tam genişlik; sabit min-height ve büyük başlık küçülür. */
@media (max-width: 720px) {
  .home-promo { grid-template-columns: 1fr !important; min-height: 0 !important; gap: 12px !important; }
  .home-promo > .card { padding: 24px !important; }
  .home-promo h2 { font-size: 24px !important; }
  .home-promo h3 { font-size: 18px !important; }
}

/* ===== Anasayfa CTA bandı — mobilde tek sütuna iner, dolgu küçülür ===== */
@media (max-width: 880px) {
  .home-cta { grid-template-columns: 1fr !important; }
  .home-cta-card { flex-direction: column !important; gap: 20px !important; }
}
@media (max-width: 560px) {
  .home-cta-card { padding: 24px !important; }
}

/* ===== Ürün kartları — mobilde kompakt, taşmasız =====
   2'li ızgarada her kart daralabildiği için iç dolgu/aralık küçültülür,
   uzun metin (SKU/isim) kabı aşmadan kırpılır. Masaüstü dokunulmaz. */
@media (max-width: 720px) {
  .pcard { --pad-card: 12px; }
  .pcard a, .pcard .col, .pcard .row { min-width: 0; }          /* flex/grid çocukları daralabilsin */
  .pcard .mono { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pcard-img { border-radius: var(--r-sm) var(--r-sm) 0 0; }
}
@media (max-width: 400px) {
  .pcard { --pad-card: 10px; }
}

/* ===== Sepet satırı — mobilde 2 satıra düzenlenir (görsel|isim / adet|tutar) ===== */
@media (max-width: 560px) {
  .cart-line { grid-template-columns: 64px 1fr !important; gap: 10px 14px !important; padding: 12px !important; }
  .cart-line > .ph { width: 64px !important; height: 64px !important; }
  .cart-line > .mono:last-child { text-align: right !important; align-self: center; }
}

/* ===== Mobilde input/textarea/select odaklanınca iOS Safari otomatik zoom'unu
   engelle. iOS, 16px altı font-size'a sahip alana odaklanınca sayfayı yakınlaştırır.
   Görünümü yalnızca dokunmatik mobilde 16px'e çıkarırız; masaüstü 14px kalır. ===== */
@media (max-width: 720px) {
  .input, .select, .textarea, .input-lg,
  input, select, textarea {
    font-size: 16px;
  }
}

/* ===== Katalog araç çubuğu: sıralama seçimi minimal =====
   Native select kutusu cihaza göre büyük/farklı çiziliyordu; çerçevesiz,
   metin görünümlü kompakt kontrole indirgenir (açılır liste yine native).
   Not: iOS zoom kuralı gereği mobilde font 16px kalır, krom yine sade. */
.select.sort-select {
  width: auto; height: 32px; padding: 0 22px 0 8px;
  border: 0; background: transparent; box-shadow: none;
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 4px center; background-size: 14px;
  font-size: 13px; font-weight: 600; color: var(--fg-secondary); cursor: pointer;
}
.select.sort-select:focus { border: 0; box-shadow: none; color: var(--fg-primary); }
@media (max-width: 720px) {
  .cat-toolbar { justify-content: space-between !important; margin-top: 12px !important; }
  /* Font 16px şart (altına düşerse iOS odakta sayfayı yakınlaştırır);
     görsel küçültme scale ile: 16px metin ~12.5px görünür, kutu da ufalır */
  .select.sort-select {
    height: 36px; font-size: 16px; max-width: 74vw;
    text-overflow: ellipsis; white-space: nowrap; overflow: hidden;
    transform: scale(.78); transform-origin: right center;
  }
}

/* ===== Mobil filtre çekmecesi =====
   Katalog sayfalarında sol filtre paneli ≤720px'te gizli; "Filtrele" butonu
   body.flt-open ile aynı aside'ı alttan açılan çekmeceye çevirir. Sayfa içi
   ".catalog-grid > aside{display:none!important}" kuralını daha yüksek
   özgüllük ezer. */
.flt-open-btn { display: none; }
.flt-head-m { display: none; }
.flt-back {
  position: fixed; inset: 0; z-index: 110;
  background: rgba(24,24,27,0.45); backdrop-filter: blur(3px);
  animation: fade-in var(--t-fast) var(--ease);
}
.flt-back[hidden] { display: none; }
@media (max-width: 720px) {
  .flt-open-btn { display: inline-flex; }
  body.flt-open .catalog-grid > aside {
    display: block !important;
    position: fixed !important; top: auto !important; left: 0; right: 0; bottom: 0;
    max-height: 82dvh; overflow-y: auto; -webkit-overflow-scrolling: touch;
    z-index: 111; background: var(--bg-elev-2);
    border-radius: 16px 16px 0 0; border-top: 1px solid var(--br-subtle);
    padding: 14px 16px calc(24px + env(safe-area-inset-bottom)) !important;
    box-shadow: 0 -24px 56px rgba(24,24,27,0.20);
    animation: slide-up var(--t-norm) var(--ease);
  }
  body.flt-open .flt-head-m {
    display: flex; align-items: center; justify-content: space-between;
    position: sticky; top: -14px; margin: -14px -16px 10px; padding: 12px 12px 10px 16px;
    background: var(--bg-elev-2); border-bottom: 1px solid var(--br-subtle); z-index: 2;
  }
}
@media (min-width: 721px) { .flt-back { display: none !important; } } /* masaüstünde karartma asla görünmez */
@keyframes slide-up { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
