/* =====================================================================
   ESTORIX MAĞAZA — /urunlerimiz/ ve ürün detayı (2026-10-02)
   Anasayfa "ferah" teması ile aynı dil: açık zemin, koyu metin, tek mavi aksan,
   beyaz kartlar ve yumuşak gölge. Tüm seçiciler .emg altında kapsanır.
   ===================================================================== */
.emg {
  --e-bg: #F6F8FB;
  --e-card: #FFFFFF;
  --e-ink: #0F172A;
  --e-dim: #475467;
  --e-faint: #8A94A6;
  --e-blue: #2563EB;
  --e-blue-d: #1D4ED8;
  --e-blue-bg: #EFF5FF;
  --e-green: #16A34A;
  --e-line: rgba(15, 23, 42, 0.09);
  --e-line-2: rgba(15, 23, 42, 0.14);
  --e-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px -18px rgba(15, 23, 42, 0.18);
  --e-shadow-h: 0 1px 2px rgba(15, 23, 42, 0.05), 0 22px 44px -22px rgba(37, 99, 235, 0.32);
  --e-r: 16px;
  --e-ease: cubic-bezier(0.22, 1, 0.36, 1);
  display: block;
  background: var(--e-bg);
  color: var(--e-ink);
  font-feature-settings: "tnum" 0;
}
.emg *, .emg *::before, .emg *::after { box-sizing: border-box; }
.emg img { max-width: 100%; }
.emg .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.emg-wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }

/* ---------- başlık alanı ---------- */
.emg-hero {
  padding: clamp(112px, 15vh, 150px) 0 clamp(28px, 4vh, 44px);
  background:
    radial-gradient(90% 120% at 50% 0%, #EAF1FF 0%, rgba(234, 241, 255, 0) 62%),
    var(--e-bg);
}
.emg-crumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin: 0 0 22px; font-size: 13px; color: var(--e-faint);
}
.emg-crumb a { color: var(--e-dim); text-decoration: none; }
.emg-crumb a:hover { color: var(--e-blue); }
.emg-crumb i { font-size: 9px; opacity: 0.6; }
.emg-crumb span { color: var(--e-ink); font-weight: 500; }

.emg-eyebrow {
  margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--e-blue);
}
.emg-h1 {
  margin: 0; font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.05;
  letter-spacing: -0.035em; font-weight: 750; color: var(--e-ink);
}
.emg-lead { margin: 14px 0 0; max-width: 62ch; font-size: clamp(1rem, 1.4vw, 1.14rem); line-height: 1.55; color: var(--e-dim); }
.emg-h2 { margin: 0 0 20px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -0.025em; font-weight: 700; color: var(--e-ink); }

.emg-trust {
  list-style: none; margin: clamp(24px, 4vh, 36px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
}
.emg-trust li {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: var(--e-card); border: 1px solid var(--e-line); border-radius: 14px;
}
.emg-trust i {
  flex: 0 0 38px; width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 10px; background: var(--e-blue-bg); color: var(--e-blue); font-size: 15px;
}
.emg-trust span { display: flex; flex-direction: column; font-size: 12.5px; line-height: 1.35; color: var(--e-dim); }
.emg-trust b { font-size: 14px; color: var(--e-ink); font-weight: 600; }

/* ---------- liste düzeni ---------- */
.emg-shop { padding: 8px 0 clamp(56px, 8vh, 88px); }
.emg-shop__grid { display: grid; grid-template-columns: 252px minmax(0, 1fr); gap: 28px; align-items: start; }

.emg-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
.emg-side__title { margin: 0 0 2px 4px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--e-faint); }
.emg-cats {
  display: flex; flex-direction: column; gap: 2px; padding: 8px;
  background: var(--e-card); border: 1px solid var(--e-line); border-radius: var(--e-r);
}
.emg-cat {
  appearance: none; border: 0; background: none; font: inherit; cursor: pointer;
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px;
  border-radius: 10px; text-align: left; font-size: 14px; color: var(--e-dim);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.emg-cat i { width: 18px; text-align: center; font-size: 14px; color: var(--e-faint); transition: color 0.2s ease; }
.emg-cat span { flex: 1; min-width: 0; }
.emg-cat b { font-size: 12px; font-weight: 600; color: var(--e-faint); background: #F2F4F7; border-radius: 999px; padding: 1px 8px; }
.emg-cat:hover { background: #F5F7FA; color: var(--e-ink); }
.emg-cat.is-on { background: var(--e-blue-bg); color: var(--e-blue); font-weight: 600; }
.emg-cat.is-on i { color: var(--e-blue); }
.emg-cat.is-on b { background: #fff; color: var(--e-blue); }

.emg-side__help {
  padding: 16px; border-radius: var(--e-r);
  background: linear-gradient(160deg, #EFF5FF, #FFFFFF 70%);
  border: 1px solid rgba(37, 99, 235, 0.16);
}
.emg-side__help p { margin: 0 0 12px; font-size: 13px; line-height: 1.5; color: var(--e-dim); }
.emg-side__help b { color: var(--e-ink); }
.emg-side__help a {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600;
  color: var(--e-blue); text-decoration: none;
}
.emg-side__help a:hover { text-decoration: underline; }

.emg-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.emg-search {
  flex: 1; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px;
  background: var(--e-card); border: 1px solid var(--e-line-2); border-radius: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.emg-search:focus-within { border-color: var(--e-blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12); }
.emg-search i { color: var(--e-faint); font-size: 14px; }
.emg-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 15px; color: var(--e-ink); }
.emg-count { margin: 0; font-size: 14px; color: var(--e-dim); white-space: nowrap; }
.emg-count b { color: var(--e-ink); }
.emg-sort select {
  height: 46px; padding: 0 38px 0 14px; border: 1px solid var(--e-line-2); border-radius: 12px;
  background: var(--e-card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23475467' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
  font: inherit; font-size: 14px; color: var(--e-ink); appearance: none; cursor: pointer;
}

/* ---------- ürün kartı ---------- */
.emg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 16px; }
.emg-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.emg-card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: var(--e-card); border: 1px solid var(--e-line); border-radius: var(--e-r);
  overflow: hidden; transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.35s var(--e-ease);
}
.emg-card[hidden] { display: none; }
.emg-card:hover { border-color: rgba(37, 99, 235, 0.28); box-shadow: var(--e-shadow-h); transform: translateY(-3px); }
.emg-card__media {
  position: relative; display: grid; place-items: center; aspect-ratio: 1 / 0.86;
  margin: 8px 8px 0; border-radius: 12px; background: #F4F6F9; overflow: hidden;
}
.emg-card__media img {
  width: 78%; height: 78%; object-fit: contain; mix-blend-mode: multiply;
  transition: transform 0.5s var(--e-ease);
}
.emg-card:hover .emg-card__media img { transform: scale(1.05); }
.emg-card__media > i { font-size: 32px; color: #CBD2DC; }
.emg-badge {
  position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 600; color: var(--e-blue); background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
}
.emg-badge--green { color: var(--e-green); }

.emg-card__body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; }
.emg-card__brand { margin: 0 0 6px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.02em; color: var(--e-faint); }
.emg-card__name { margin: 0 0 6px; font-size: 15.5px; line-height: 1.3; font-weight: 650; letter-spacing: -0.01em; }
.emg-card__name a { color: var(--e-ink); text-decoration: none; }
.emg-card__name a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.emg-card__name a:hover { color: var(--e-blue); }
.emg-card__ozet {
  margin: 0 0 14px; font-size: 13px; line-height: 1.45; color: var(--e-dim);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.emg-card__foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }

.emg-price b { display: block; font-size: 19px; font-weight: 750; letter-spacing: -0.02em; color: var(--e-ink); }
.emg-price b span, .emg-price b em { font-size: 12px; font-weight: 500; font-style: normal; color: var(--e-faint); letter-spacing: 0; }
.emg-price small { display: block; margin-top: 2px; font-size: 12px; color: var(--e-dim); }
.emg-price--free b { color: var(--e-green); }

.emg-add {
  position: relative; z-index: 1; appearance: none; cursor: pointer; font: inherit;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px;
  border-radius: 10px; border: 1px solid var(--e-blue); background: var(--e-blue); color: #fff;
  font-size: 14px; font-weight: 600; transition: background-color 0.2s ease, transform 0.2s ease;
}
.emg-add:hover { background: var(--e-blue-d); border-color: var(--e-blue-d); }
.emg-add:active { transform: scale(0.97); }
.emg-add.is-added { background: var(--e-green); border-color: var(--e-green); }

.emg-empty { margin: 32px 0; text-align: center; color: var(--e-dim); }
.emg-empty button { appearance: none; border: 0; background: none; color: var(--e-blue); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; }
.emg-fine { margin: 26px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--e-faint); max-width: 90ch; }

/* ---------- sipariş adımları ---------- */
.emg-steps { padding: clamp(56px, 8vh, 88px) 0; background: #fff; border-top: 1px solid var(--e-line); }
.emg-steps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.emg-steps__list li { padding: 20px; border-radius: var(--e-r); background: var(--e-bg); border: 1px solid var(--e-line); }
.emg-steps__list b {
  display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 14px;
  border-radius: 10px; background: var(--e-blue); color: #fff; font-size: 15px;
}
.emg-steps__list h3 { margin: 0 0 6px; font-size: 15.5px; font-weight: 650; color: var(--e-ink); }
.emg-steps__list p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--e-dim); }
.emg-steps__links { margin: 20px 0 0; font-size: 13px; color: var(--e-faint); }
.emg-steps__links a { color: var(--e-dim); }

/* ---------- butonlar ---------- */
.emg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent;
  font: inherit; font-size: 14.5px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.emg-btn--lg { height: 52px; padding: 0 26px; font-size: 15.5px; }
.emg-btn--primary { background: var(--e-blue); color: #fff; box-shadow: 0 8px 20px -10px rgba(37, 99, 235, 0.6); }
.emg-btn--primary:hover { background: var(--e-blue-d); color: #fff; }
.emg-btn--ghost { background: #fff; border-color: var(--e-line-2); color: var(--e-ink); }
.emg-btn--ghost:hover { border-color: rgba(37, 99, 235, 0.45); color: var(--e-blue); }
.emg-link { color: var(--e-blue); font-weight: 600; font-size: 14px; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.emg-link:hover { text-decoration: underline; }
.emg-muted { color: var(--e-faint); font-size: 13px; line-height: 1.55; }

/* ---------- ürün detayı ---------- */
.emg-pd { padding: clamp(108px, 14vh, 140px) 0 clamp(40px, 6vh, 64px); background: linear-gradient(180deg, #fff 0%, var(--e-bg) 100%); }
.emg-pd__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }

.emg-gallery { position: sticky; top: 96px; }
.emg-gallery__main {
  display: grid; place-items: center; aspect-ratio: 1 / 0.9; border-radius: 22px;
  background: #F4F6F9; border: 1px solid var(--e-line); overflow: hidden;
}
.emg-gallery__main img { width: 80%; height: 80%; object-fit: contain; mix-blend-mode: multiply; }
.emg-gallery__main > i { font-size: 48px; color: #CBD2DC; }
.emg-gallery__thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.emg-thumb {
  appearance: none; cursor: pointer; padding: 6px; width: 76px; height: 76px; border-radius: 12px;
  background: #F4F6F9; border: 1.5px solid transparent; transition: border-color 0.2s ease;
}
.emg-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.emg-thumb.is-on, .emg-thumb:hover { border-color: var(--e-blue); }

.emg-pd__brand { margin: 0 0 10px; font-size: 13px; font-weight: 600; color: var(--e-faint); }
.emg-pd__brand a { color: var(--e-blue); text-decoration: none; }
.emg-pd__title { margin: 0 0 12px; font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.1; letter-spacing: -0.03em; font-weight: 750; color: var(--e-ink); }
.emg-pd__ozet { margin: 0 0 18px; font-size: 16px; line-height: 1.55; color: var(--e-dim); }
.emg-pd__keys { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.emg-pd__keys li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.45; color: var(--e-ink); }
.emg-pd__keys i { margin-top: 3px; font-size: 12px; color: var(--e-green); }

.emg-buy {
  display: flex; flex-direction: column; gap: 14px; padding: 20px;
  background: #fff; border: 1px solid var(--e-line); border-radius: 18px; box-shadow: var(--e-shadow);
}
.emg-buy__price b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -0.03em; color: var(--e-ink); }
.emg-buy__price b span, .emg-buy__price b em { font-size: 14px; font-weight: 500; font-style: normal; color: var(--e-faint); letter-spacing: 0; }
.emg-buy__price small { display: block; margin-top: 4px; font-size: 13.5px; color: var(--e-dim); }
.emg-buy__price.emg-buy__price--free b { color: var(--e-green); }
.emg-buy__row { display: flex; gap: 10px; }
.emg-buy__row .emg-btn { flex: 1; }

.emg-qty {
  display: inline-flex; align-items: center; height: 52px; border: 1px solid var(--e-line-2);
  border-radius: 12px; background: #fff; overflow: hidden;
}
.emg-qty button { appearance: none; border: 0; background: none; width: 42px; height: 100%; font-size: 20px; color: var(--e-dim); cursor: pointer; }
.emg-qty button:hover { color: var(--e-blue); background: var(--e-blue-bg); }
.emg-qty input { width: 40px; border: 0; text-align: center; font: inherit; font-size: 16px; font-weight: 600; color: var(--e-ink); -moz-appearance: textfield; }
.emg-qty input::-webkit-outer-spin-button, .emg-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.emg-qty--sm { height: 32px; border-radius: 9px; }
.emg-qty--sm button { width: 30px; font-size: 16px; }
.emg-qty--sm span { min-width: 26px; text-align: center; font-size: 14px; font-weight: 600; }

.emg-assure { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.emg-assure li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--e-dim); }
.emg-assure i { flex: 0 0 18px; margin-top: 2px; color: var(--e-blue); }

.emg-specs { padding: clamp(40px, 6vh, 64px) 0; background: var(--e-bg); }
.emg-specs__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.emg-spec-table { margin: 0; background: #fff; border: 1px solid var(--e-line); border-radius: var(--e-r); overflow: hidden; }
.emg-spec-table > div { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 16px; padding: 14px 18px; border-top: 1px solid var(--e-line); }
.emg-spec-table > div:first-child { border-top: 0; }
.emg-spec-table dt { font-size: 13px; font-weight: 600; color: var(--e-faint); }
.emg-spec-table dd { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--e-ink); }
.emg-specs__side { padding: 22px; background: #fff; border: 1px solid var(--e-line); border-radius: var(--e-r); }
.emg-specs__side h3 { margin: 0 0 10px; font-size: 16px; font-weight: 650; }
.emg-specs__side p { margin: 0 0 10px; font-size: 14px; line-height: 1.55; color: var(--e-dim); }
.emg-specs__side a { color: var(--e-blue); }

.emg-related { padding: 0 0 clamp(56px, 8vh, 88px); background: var(--e-bg); }
.emg-related__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }

/* ---------- sepet: yüzen düğme + çekmece ---------- */
.emg-fab {
  position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 1200;
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px 0 20px;
  border: 0; border-radius: 999px; background: #0F172A; color: #fff; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 600;
  box-shadow: 0 14px 30px -12px rgba(15, 23, 42, 0.55);
  transition: transform 0.3s var(--e-ease, ease), background-color 0.2s ease;
}
.emg-fab:hover { transform: translateY(-2px); }
.emg-fab b {
  display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px;
  border-radius: 999px; background: rgba(255, 255, 255, 0.18); font-size: 13px;
}
.emg-fab.has-items { background: #2563EB; }
.emg-fab.has-items b { background: #fff; color: #2563EB; }

.emg-drawer { position: fixed; inset: 0; z-index: 1300; }
.emg-drawer[hidden] { display: none; }
.emg-drawer__veil { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.32); opacity: 0; transition: opacity 0.25s ease; }
.emg-drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100vw);
  display: flex; flex-direction: column; background: #fff; color: #0F172A;
  box-shadow: -20px 0 60px -20px rgba(15, 23, 42, 0.35);
  transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.emg-drawer.is-open .emg-drawer__veil { opacity: 1; }
.emg-drawer.is-open .emg-drawer__panel { transform: none; }
html.emg-kilit { overflow: hidden; }
.emg-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid rgba(15, 23, 42, 0.08); }
.emg-drawer__head h2 { margin: 0; font-size: 19px; font-weight: 700; }
.emg-drawer__x { appearance: none; border: 0; background: #F2F4F7; width: 36px; height: 36px; border-radius: 10px; cursor: pointer; color: #475467; font-size: 16px; }
.emg-drawer__list { flex: 1; overflow-y: auto; padding: 8px 22px; }
.emg-drawer__empty { margin: 0; padding: 28px 22px; color: #475467; font-size: 14.5px; line-height: 1.55; }
.emg-drawer__empty[hidden], .emg-drawer__foot[hidden] { display: none; }
.emg-line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(15, 23, 42, 0.07); }
.emg-line__img { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 12px; background: #F4F6F9; }
.emg-line__img img { width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; }
.emg-line__name { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; color: #0F172A; text-decoration: none; }
.emg-line__price { margin: 3px 0 8px; font-size: 13px; color: #475467; }
.emg-line__rm { appearance: none; border: 0; background: none; color: #8A94A6; cursor: pointer; padding: 8px; border-radius: 8px; }
.emg-line__rm:hover { color: #DC2626; background: #FEF2F2; }
.emg-drawer__foot { display: flex; flex-direction: column; gap: 10px; padding: 18px 22px max(18px, env(safe-area-inset-bottom)); border-top: 1px solid rgba(15, 23, 42, 0.08); background: #FAFBFC; }
.emg-drawer__foot .emg-btn { width: 100%; }
.emg-sum { margin: 0 0 6px; }
.emg-sum > div { display: flex; justify-content: space-between; padding: 4px 0; font-size: 14px; color: #475467; }
.emg-sum dd { margin: 0; font-weight: 600; color: #0F172A; }
.emg-sum__total { margin-top: 4px; padding-top: 10px !important; border-top: 1px dashed rgba(15, 23, 42, 0.14); font-size: 16px !important; color: #0F172A !important; }
.emg-sum__total dd { font-size: 18px; font-weight: 800; }
.emg-drawer__note { margin: 4px 0 0; font-size: 12px; line-height: 1.5; color: #8A94A6; }
/* çekmece .emg dışında: buton stilleri burada da geçerli olsun */
.emg-drawer .emg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 48px; border-radius: 12px; font-size: 14.5px; font-weight: 600; text-decoration: none; }
.emg-drawer .emg-btn--primary { background: #16A34A; color: #fff; }
.emg-drawer .emg-btn--primary:hover { background: #15803D; }
.emg-drawer .emg-btn--ghost { background: #fff; border: 1px solid rgba(15, 23, 42, 0.14); color: #0F172A; }

.emg-toast {
  position: fixed; left: 50%; bottom: 86px; z-index: 1250; display: flex; align-items: center; gap: 10px;
  max-width: calc(100vw - 32px); padding: 12px 14px 12px 16px; border-radius: 14px;
  background: #0F172A; color: #fff; font-size: 14px; box-shadow: 0 16px 36px -14px rgba(15, 23, 42, 0.6);
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.emg-toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.emg-toast i { color: #4ADE80; }
.emg-toast span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.emg-toast button { appearance: none; border: 0; background: rgba(255, 255, 255, 0.14); color: #fff; font: inherit; font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 8px; cursor: pointer; white-space: nowrap; }

/* ---------- duyarlılık ---------- */
@media (max-width: 1080px) {
  .emg-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .emg-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .emg-shop__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .emg-side { position: static; }
  .emg-side__title, .emg-side__help { display: none; }
  .emg-cats {
    flex-direction: row; overflow-x: auto; gap: 8px; padding: 0; background: none; border: 0;
    scrollbar-width: none; margin: 0 calc(-1 * clamp(16px, 4vw, 40px)); padding: 0 clamp(16px, 4vw, 40px);
  }
  .emg-cats::-webkit-scrollbar { display: none; }
  .emg-cat { flex: 0 0 auto; width: auto; padding: 9px 14px; background: #fff; border: 1px solid var(--e-line); border-radius: 999px; white-space: nowrap; }
  .emg-cat.is-on { border-color: rgba(37, 99, 235, 0.35); }
  .emg-pd__grid, .emg-specs__grid { grid-template-columns: minmax(0, 1fr); }
  .emg-gallery { position: static; }
  .emg-steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .emg-toolbar { flex-wrap: wrap; }
  .emg-search { flex: 1 1 100%; }
  .emg-count { flex: 1; }
  .emg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .emg-card__body { padding: 12px; }
  .emg-card__name { font-size: 14px; }
  .emg-card__ozet { display: none; }
  .emg-price b { font-size: 16px; }
  .emg-add span { display: none; }
  .emg-add { height: 38px; }
  .emg-trust { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .emg-trust li { padding: 12px 14px; }
  .emg-spec-table > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .emg-spec-table dt:empty { display: none; }
  .emg-buy__row { flex-direction: column; }
  .emg-qty { align-self: flex-start; }
  .emg-steps__list { grid-template-columns: minmax(0, 1fr); }
  .emg-fab span { display: none; }
  .emg-fab { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .emg-card, .emg-card__media img, .emg-drawer__panel, .emg-drawer__veil, .emg-toast, .emg-fab { transition: none; }
}
