/* =====================================================================
   ALIDEDE — MAĞAZA ARAYÜZÜ
   core.css sonrasında yüklenir.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. ÜST BAR (duyuru şeridi)
   --------------------------------------------------------------------- */
.topbar {
  position: relative;
  z-index: var(--z-topbar);
  background: var(--ink-950);
  color: rgba(255, 255, 255, .92);
  font-size: var(--fs-xs);
  font-weight: 600;
  overflow: hidden;
}
.topbar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--brand-800) 0%, transparent 32%, transparent 68%, var(--brand-800) 100%);
  opacity: .55;
  pointer-events: none;
}
.topbar__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  height: var(--topbar-h);
}
.topbar__rotator {
  position: relative;
  flex: 1 1 auto;
  height: var(--topbar-h);
  overflow: hidden;
}
.topbar__msg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out);
  white-space: nowrap;
}
.topbar__msg.is-active { opacity: 1; transform: translateY(0); }
.topbar__msg.is-leaving { opacity: 0; transform: translateY(-100%); }
.topbar__msg svg { width: 15px; height: 15px; color: var(--brand-300); flex: 0 0 auto; }
.topbar__links { display: flex; align-items: center; gap: var(--sp-4); }
.topbar__link {
  display: inline-flex; align-items: center; gap: 5px;
  color: rgba(255,255,255,.7);
  transition: color var(--t-fast);
}
.topbar__link:hover { color: #fff; }
.topbar__link svg { width: 14px; height: 14px; }

@media (max-width: 900px) {
  .topbar__links { display: none; }
  .topbar__rotator { text-align: center; }
}

/* ---------------------------------------------------------------------
   2. BAŞLIK / NAVİGASYON
   --------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--t-base) var(--ease-out),
              border-color var(--t-base),
              background-color var(--t-base);
}
.site-header.is-stuck {
  border-bottom-color: var(--border);
  box-shadow: 0 6px 24px rgba(12, 14, 18, .07);
  background: rgba(255, 255, 255, .96);
}

.header__main {
  display: grid;
  grid-template-columns: minmax(180px, 280px) minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--sp-5);
  min-height: var(--header-h);
  height: auto;
  padding: 10px 0;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: 280px;
}
.logo__mark {
  position: relative;
  width: 42px; height: 42px;
  border-radius: 13px;
  background: var(--grad-brand-soft);
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  box-shadow: var(--sh-brand);
  overflow: hidden;
}
.logo__mark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-sheen);
  transform: translateX(-130%);
  transition: transform 900ms var(--ease-out);
}
.logo:hover .logo__mark::after { transform: translateX(130%); }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}
.logo__tagline {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand-600);
}
.logo__img {
  display: block;
  max-height: 72px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

/* Arama */
.search {
  position: relative;
  width: 100%;
  max-width: none;
  min-width: 0;
}
.search__form {
  display: flex;
  align-items: center;
  height: 48px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-full);
  background: var(--ink-50);
  padding-left: var(--sp-4);
  transition: all var(--t-base) var(--ease-out);
}
.search__form:focus-within {
  background: #fff;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(245, 21, 74, .1);
}
.search__icon { width: 19px; height: 19px; color: var(--ink-400); flex: 0 0 auto; }
.search__input {
  flex: 1 1 auto;
  height: 100%;
  border: 0;
  background: transparent;
  padding: 0 var(--sp-3);
  font-size: var(--fs-base);
  min-width: 0;
}
.search__input:focus { outline: none; }
.search__submit {
  height: 38px;
  margin-right: 5px;
  padding: 0 1.1rem;
  border-radius: var(--r-full);
  background: var(--ink-900);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 700;
  transition: background-color var(--t-fast);
  flex: 0 0 auto;
}
.search__submit:hover { background: var(--brand-600); }

/* Canlı arama sonuçları */
.search__panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0; right: 0;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--t-base) var(--ease-out);
  max-height: min(70vh, 560px);
  overflow-y: auto;
}
.search.is-open .search__panel { opacity: 1; visibility: visible; transform: none; }
.search__group-title {
  padding: var(--sp-3) var(--sp-4) 6px;
  font-size: var(--fs-2xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ink-400);
}
.search__item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-2) var(--sp-4);
  transition: background-color var(--t-fast);
}
.search__item:hover, .search__item.is-active { background: var(--brand-50); }
.search__item img {
  width: 46px; height: 46px;
  border-radius: var(--r-xs);
  object-fit: cover;
  background: var(--ink-50);
  flex: 0 0 auto;
}
.search__item-name { font-size: var(--fs-sm); font-weight: 600; }
.search__item-price { font-size: var(--fs-sm); font-weight: 800; color: var(--brand-600); }
.search__empty { padding: var(--sp-8) var(--sp-4); text-align: center; color: var(--text-muted); }
.search__footer {
  padding: var(--sp-3) var(--sp-4);
  border-top: 1px solid var(--border);
  background: var(--ink-50);
  text-align: center;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--brand-600);
}
.search__tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 var(--sp-4) var(--sp-4); }

/* Başlık aksiyonları */
.header__actions { display: flex; align-items: center; gap: 2px; flex: 0 0 auto; white-space: nowrap; }
.header__action {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 56px;
  height: 52px;
  border-radius: var(--r-md);
  color: var(--ink-700);
  transition: background-color var(--t-fast), color var(--t-fast);
}
.header__action:hover { background: var(--brand-50); color: var(--brand-600); }
.header__action svg { width: 21px; height: 21px; }
.header__action-label { font-size: 10px; font-weight: 700; letter-spacing: .01em; }
.header__count {
  position: absolute;
  top: 4px; right: 8px;
  min-width: 19px; height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--brand-600);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  display: grid; place-items: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(220, 0, 50, .35);
}
.header__count.is-bumping { animation: cart-bump 520ms var(--ease-spring); }

/* Ana menü şeridi */
.header__nav {
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,.6);
}
.nav { display: flex; align-items: center; gap: var(--sp-1); height: 50px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 50px;
  padding: 0 var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink-700);
  transition: color var(--t-fast);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: var(--sp-4); right: var(--sp-4); bottom: 8px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--brand-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease-out);
}
.nav__link:hover, .nav__item.is-open .nav__link, .nav__link.is-current { color: var(--brand-600); }
.nav__link:hover::after, .nav__item.is-open .nav__link::after, .nav__link.is-current::after { transform: scaleX(1); }
.nav__link svg { width: 14px; height: 14px; transition: transform var(--t-base) var(--ease-out); }
.nav__item.is-open .nav__link svg { transform: rotate(180deg); }
.nav__link--hot { color: var(--brand-600); }
.nav__all {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 var(--sp-4);
  margin-right: var(--sp-2);
  border-radius: var(--r-full);
  background: var(--ink-900);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 700;
}
.nav__all:hover { background: var(--brand-600); }
.nav__all svg { width: 16px; height: 16px; }

/* Mega menü */
.mega {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 640px;
  padding: var(--sp-6);
  background: #fff;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  box-shadow: var(--sh-xl);
  border: 1px solid var(--border);
  border-top: 3px solid var(--brand-600);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--t-base) var(--ease-out);
  z-index: 5;
}
.nav__item.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega--wide { min-width: min(960px, calc(100vw - 60px)); }
.mega__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5) var(--sp-6); }
.mega__col-title {
  font-size: var(--fs-2xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--ink-400);
  margin-bottom: var(--sp-3);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.mega__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  margin-inline: -10px;
  border-radius: var(--r-xs);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-600);
  transition: background-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.mega__link:hover { background: var(--brand-50); color: var(--brand-700); transform: translateX(3px); }
.mega__link img { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; background: var(--ink-50); }
.mega__count { margin-left: auto; font-size: var(--fs-2xs); font-weight: 700; color: var(--ink-300); }
.mega__promo {
  grid-column: span 1;
  padding: var(--sp-5);
  border-radius: var(--r-md);
  background: var(--grad-dark);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 200px;
}
.mega__promo-title { font-family: var(--font-display); font-size: var(--fs-xl); margin-bottom: 6px; }

/* Mobil menü tetikleyici */
.burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  place-items: center;
  color: var(--ink-800);
}
.burger:hover { background: var(--ink-100); }
.burger svg { width: 24px; height: 24px; }

@media (max-width: 1100px) {
  .header__nav { display: none; }
  .burger { display: grid; }
  .header__main {
    grid-template-columns: auto minmax(150px, 220px) minmax(0, 1fr) auto;
  }
}
@media (max-width: 767px) {
  :root { --header-h: 64px; }
  .search { display: none; }
  .header__main {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
  .logo { max-width: 200px; }
  .logo__img { max-height: 56px; }
  .header__action { min-width: 46px; }
  .header__action-label { display: none; }
  .logo__tagline { display: none; }
  .logo__name { font-size: 21px; }
}

/* Mobil arama şeridi */
.mobile-search { display: none; padding-bottom: var(--sp-3); }
@media (max-width: 767px) { .mobile-search { display: block; } .mobile-search .search { display: block; max-width: none; } }

/* ---------------------------------------------------------------------
   3. MOBİL ÇEKMECE MENÜ
   --------------------------------------------------------------------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 8, 11, .55);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-base), visibility var(--t-base);
  z-index: var(--z-drawer);
}
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0; bottom: 0;
  width: min(420px, 90vw);
  background: #fff;
  z-index: calc(var(--z-drawer) + 1);
  display: flex;
  flex-direction: column;
  transition: transform var(--t-slow) var(--ease-out);
  box-shadow: var(--sh-xl);
}
.drawer--left { left: 0; transform: translateX(-101%); }
.drawer--right { right: 0; transform: translateX(101%); }
.drawer.is-open { transform: none; }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px solid var(--border);
  flex: 0 0 auto;
}
.drawer__title { font-size: var(--fs-md); font-weight: 800; }
.drawer__body { flex: 1 1 auto; overflow-y: auto; padding: var(--sp-4) var(--sp-5); }
.drawer__foot { flex: 0 0 auto; padding: var(--sp-5); border-top: 1px solid var(--border); background: var(--ink-50); }

/* Katlanır menü ağacı */
.tree__item + .tree__item { border-top: 1px solid var(--border); }
.tree__row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  width: 100%;
  padding: var(--sp-3) 0;
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--ink-800);
  text-align: left;
}
.tree__row img { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; }
.tree__toggle {
  margin-left: auto;
  display: grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--ink-100);
  color: var(--ink-600);
  transition: transform var(--t-base) var(--ease-out), background-color var(--t-fast);
}
.tree__toggle svg { width: 16px; height: 16px; }
.tree__item.is-open > .tree__row .tree__toggle { transform: rotate(180deg); background: var(--brand-600); color: #fff; }
.tree__children {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-base) var(--ease-out);
}
.tree__item.is-open > .tree__children { grid-template-rows: 1fr; }
.tree__children > div { overflow: hidden; }
.tree__sub {
  display: block;
  padding: 9px 0 9px var(--sp-5);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-500);
}
.tree__sub:hover { color: var(--brand-600); }

/* ---------------------------------------------------------------------
   4. SEPET ÇEKMECESİ
   --------------------------------------------------------------------- */
.cart-drawer__empty { text-align: center; padding: var(--sp-12) var(--sp-4); }
.cart-drawer__empty svg { width: 72px; height: 72px; color: var(--ink-200); margin: 0 auto var(--sp-4); }

.mini-item {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: var(--sp-3);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--border);
  animation: fade-up var(--t-base) var(--ease-out) both;
}
.mini-item__img {
  width: 76px; height: 76px;
  border-radius: var(--r-sm);
  object-fit: cover;
  background: var(--ink-50);
  border: 1px solid var(--border);
}
.mini-item__name {
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 3px;
}
.mini-item__meta { font-size: var(--fs-xs); color: var(--text-muted); }
.mini-item__price { font-size: var(--fs-sm); font-weight: 800; }
.mini-item__remove { color: var(--ink-300); transition: color var(--t-fast); }
.mini-item__remove:hover { color: var(--danger); }
.mini-item__remove svg { width: 16px; height: 16px; }
.mini-item--gift { background: var(--brand-50); border-radius: var(--r-sm); padding-inline: var(--sp-3); }

/* Ücretsiz kargo göstergesi */
.free-ship {
  padding: var(--sp-4);
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--brand-50), #fff);
  border: 1px solid var(--brand-100);
  margin-bottom: var(--sp-4);
}
.free-ship__text { font-size: var(--fs-sm); font-weight: 700; margin-bottom: var(--sp-2); display: flex; align-items: center; gap: 8px; }
.free-ship__text svg { width: 18px; height: 18px; color: var(--brand-600); flex: 0 0 auto; }
.free-ship--done { background: linear-gradient(135deg, var(--success-bg), #fff); border-color: #b7ebd6; }
.free-ship--done .free-ship__text svg { color: var(--success); }

/* Toplamlar */
.totals { display: grid; gap: 10px; }
.totals__row { display: flex; align-items: center; justify-content: space-between; font-size: var(--fs-sm); }
.totals__row--muted { color: var(--text-muted); }
.totals__row--discount { color: var(--success); font-weight: 700; }
.totals__row--grand {
  padding-top: var(--sp-3);
  border-top: 1.5px dashed var(--border-strong);
  font-size: var(--fs-lg);
  font-weight: 800;
}
.totals__row--grand .totals__value { color: var(--brand-600); font-size: var(--fs-xl); }

/* ---------------------------------------------------------------------
   5. KAHRAMAN SLIDER
   --------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--ink-900); }
.hero__viewport { position: relative; height: clamp(420px, 56vw, 640px); }
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 900ms var(--ease-out), visibility 900ms;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 8s linear;
}
.hero__slide.is-active .hero__bg { transform: scale(1); }
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,8,11,.86) 0%, rgba(7,8,11,.55) 45%, rgba(7,8,11,.12) 100%),
    radial-gradient(120% 90% at 10% 100%, rgba(220,0,50,.35), transparent 60%);
}
.hero__content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--sp-5);
  max-width: 620px;
  color: #fff;
  padding-block: var(--sp-10);
}
.hero__slide.is-active .hero__content > * { animation: fade-up 800ms var(--ease-out) both; }
.hero__slide.is-active .hero__content > *:nth-child(1) { animation-delay: 120ms; }
.hero__slide.is-active .hero__content > *:nth-child(2) { animation-delay: 220ms; }
.hero__slide.is-active .hero__content > *:nth-child(3) { animation-delay: 320ms; }
.hero__slide.is-active .hero__content > *:nth-child(4) { animation-delay: 420ms; }
.hero__slide.is-active .hero__content > *:nth-child(5) { animation-delay: 520ms; }

.hero__badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: .4rem .9rem;
  border-radius: var(--r-full);
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.2vw, 4rem);
  font-weight: 700;
  line-height: 1.06;
  color: #fff;
  letter-spacing: -0.025em;
}
.hero__title em { font-style: italic; color: var(--brand-300); }
.hero__sub {
  font-size: clamp(var(--fs-base), 1.4vw, var(--fs-lg));
  color: rgba(255,255,255,.82);
  max-width: 50ch;
}
.hero__cta { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; }

/* Slider kontrolleri */
.hero__nav {
  position: absolute;
  bottom: var(--sp-8);
  right: var(--sp-8);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  z-index: 3;
}
.hero__arrow {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.24);
  backdrop-filter: blur(8px);
  color: #fff;
  transition: all var(--t-fast) var(--ease-out);
}
.hero__arrow:hover { background: #fff; color: var(--ink-900); transform: scale(1.08); }
.hero__arrow svg { width: 20px; height: 20px; }

.hero__dots {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.hero__dot {
  width: 34px; height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,.3);
  overflow: hidden;
  transition: background-color var(--t-base);
}
.hero__dot.is-active { background: rgba(255,255,255,.35); }
.hero__dot span {
  display: block;
  height: 100%;
  width: 0;
  background: #fff;
  border-radius: 999px;
}
.hero__dot.is-active span { animation: hero-progress var(--hero-duration, 6s) linear forwards; }
@keyframes hero-progress { from { width: 0; } to { width: 100%; } }

@media (max-width: 767px) {
  .hero__viewport { height: clamp(440px, 88vw, 560px); }
  .hero__overlay { background: linear-gradient(0deg, rgba(7,8,11,.92) 0%, rgba(7,8,11,.5) 60%, rgba(7,8,11,.35) 100%); }
  .hero__content { justify-content: flex-end; padding-bottom: var(--sp-16); }
  .hero__nav { display: none; }
  .hero__dots { bottom: var(--sp-5); }
}

/* Split hero: solda slider, sagda iki kare */
.hero-stage {
  padding-top: var(--sp-5);
  padding-bottom: 0;
}
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.92fr);
  gap: 14px;
  height: clamp(460px, 52vw, 560px);
}
.hero-split .hero {
  height: 100%;
  border-radius: var(--r-lg);
  isolation: isolate;
}
.hero-split .hero__viewport {
  height: 100%;
}
.hero-split .hero__content {
  max-width: 520px;
  padding-inline: var(--sp-8);
  padding-block: var(--sp-8);
  justify-content: flex-end;
}
.hero-split .hero__title {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}
.hero-split .hero__sub { max-width: 42ch; }
.hero-split .hero__nav { right: var(--sp-5); bottom: var(--sp-5); }
.hero-split .hero__dots { left: var(--sp-8); transform: none; bottom: var(--sp-6); }
.hero-split .hero__arrow { width: 40px; height: 40px; }
.hero--fallback {
  background:
    radial-gradient(80% 70% at 12% 88%, rgba(220,0,50,.42), transparent 58%),
    linear-gradient(135deg, #14161c 0%, #2a0a14 55%, #3a1220 100%);
}

.hero-split__aside {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  min-height: 0;
}
.hero-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--r-lg);
  padding: 20px 22px;
  color: #fff;
  text-decoration: none;
  background: #16181e;
  isolation: isolate;
  transition: transform var(--t-fast) var(--ease-out);
}
.hero-tile:hover { transform: translateY(-2px); }
.hero-tile__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 700ms var(--ease-out);
}
.hero-tile:hover .hero-tile__bg { transform: scale(1.1); }
.hero-tile__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,9,12,.12) 0%, rgba(8,9,12,.55) 48%, rgba(8,9,12,.88) 100%);
}
.hero-tile--picks .hero-tile__shade {
  background:
    linear-gradient(180deg, rgba(8,9,12,.08) 0%, rgba(8,9,12,.5) 46%, rgba(8,9,12,.9) 100%),
    radial-gradient(90% 70% at 100% 0%, rgba(220,0,50,.28), transparent 62%);
}
.hero-tile--weekly .hero-tile__shade {
  background:
    linear-gradient(180deg, rgba(8,9,12,.08) 0%, rgba(8,9,12,.5) 46%, rgba(8,9,12,.9) 100%),
    radial-gradient(90% 70% at 0% 0%, rgba(201,162,39,.32), transparent 62%);
}
.hero-tile__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.hero-tile__label {
  display: inline-flex;
  padding: .28rem .7rem;
  border-radius: var(--r-full);
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-tile__kicker {
  font-size: 11.5px;
  color: rgba(255,255,255,.72);
  margin-top: 2px;
}
.hero-tile__name {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  max-width: 22ch;
}
.hero-tile__price {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: var(--fs-md);
  font-weight: 800;
}
.hero-tile__price s {
  color: rgba(255,255,255,.55);
  font-weight: 600;
  font-size: var(--fs-sm);
}
.hero-tile__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hero-tile__cta svg { width: 14px; height: 14px; }

@media (max-width: 991px) {
  .hero-split {
    grid-template-columns: 1fr;
    height: auto;
  }
  .hero-split .hero__viewport { height: clamp(380px, 62vw, 480px); }
  .hero-split .hero__content { justify-content: flex-end; padding-bottom: var(--sp-12); }
  .hero-split__aside {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .hero-tile { min-height: 220px; }
}
@media (max-width: 639px) {
  .hero-split__aside { grid-template-columns: 1fr; }
  .hero-tile { min-height: 200px; padding: 18px; }
  .hero-split .hero__dots { left: 50%; transform: translateX(-50%); }
}

/* Geri sayım */
.countdown { display: flex; align-items: center; gap: var(--sp-2); }
.countdown__unit {
  min-width: 58px;
  padding: 8px 6px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(6px);
  text-align: center;
}
.countdown__num { display: block; font-size: var(--fs-xl); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown__label { font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; opacity: .72; }
.countdown--light .countdown__unit { background: var(--ink-900); color: #fff; border-color: transparent; }
.countdown--sm .countdown__unit { min-width: 42px; padding: 5px 4px; }
.countdown--sm .countdown__num { font-size: var(--fs-md); }

/* ---------------------------------------------------------------------
   6. GÜVEN ŞERİDİ
   --------------------------------------------------------------------- */
.trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.trust__item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-5);
  background: #fff;
  transition: background-color var(--t-base);
}
.trust__item:hover { background: var(--brand-50); }
.trust__icon {
  flex: 0 0 auto;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 13px;
  background: var(--brand-50);
  color: var(--brand-600);
}
.trust__item:hover .trust__icon { background: var(--brand-600); color: #fff; }
.trust__icon svg { width: 21px; height: 21px; }
.trust__title { font-size: var(--fs-sm); font-weight: 800; }
.trust__desc { font-size: var(--fs-xs); color: var(--text-muted); }
@media (max-width: 900px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .trust { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------
   7. ÜRÜN KARTI
   --------------------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr));
  gap: var(--sp-5);
}
.product-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1200px) { .product-grid--5 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px)  { .product-grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px)  {
  .product-grid, .product-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }
}

.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out),
              border-color var(--t-base);
}
.pcard:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: transparent;
  z-index: 2;
}

.pcard__media {
  position: relative;
  aspect-ratio: 1;
  background: var(--ink-50);
  overflow: hidden;
}
.pcard__media > a { display: block; width: 100%; height: 100%; }
.pcard__img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 700ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .pcard:hover .pcard__img { transform: scale(1.08); }
}

/* Rozetler */
.pcard__badges {
  position: absolute;
  top: 10px; left: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  z-index: 2;
  pointer-events: none;
}
.pcard__discount {
  padding: .3rem .55rem;
  border-radius: var(--r-xs);
  background: var(--brand-600);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 800;
  box-shadow: 0 3px 10px rgba(220,0,50,.35);
}

/* Hızlı aksiyonlar */
.pcard__quick {
  position: absolute;
  top: 10px; right: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 3;
}
.pcard__qbtn {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: var(--ink-600);
  box-shadow: var(--sh-sm);
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--t-base) var(--ease-out);
}
.pcard:hover .pcard__qbtn { opacity: 1; transform: none; }
.pcard__qbtn:nth-child(2) { transition-delay: 50ms; }
.pcard__qbtn:nth-child(3) { transition-delay: 100ms; }
.pcard__qbtn:hover { background: var(--ink-900); color: #fff; transform: scale(1.1); }
.pcard__qbtn svg { width: 17px; height: 17px; }
.pcard__qbtn.is-active { background: var(--brand-600); color: #fff; opacity: 1; transform: none; }
.pcard__qbtn.is-active svg { fill: currentColor; animation: heart-pop 420ms var(--ease-spring); }
@media (hover: none) { .pcard__qbtn { opacity: 1; transform: none; } }

/* Stok uyarısı */
.pcard__stock-alert {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 6px 10px;
  background: linear-gradient(0deg, rgba(7,8,11,.88), transparent);
  color: #fff;
  font-size: var(--fs-2xs);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}
.pcard__stock-alert svg { width: 13px; height: 13px; color: var(--brand-300); }

/* Tükendi maskesi */
.pcard__soldout {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(2px);
  z-index: 2;
}
.pcard__soldout span {
  padding: .45rem 1rem;
  border-radius: var(--r-full);
  background: var(--ink-900);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Gövde */
.pcard__body {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: var(--sp-4);
  flex: 1 1 auto;
}
.pcard__cat {
  font-size: var(--fs-2xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-300);
}
.pcard__name {
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink-800);
  min-height: 2.8em;
  transition: color var(--t-fast);
}
.pcard:hover .pcard__name { color: var(--brand-600); }
.pcard__rating { display: flex; align-items: center; gap: 5px; font-size: var(--fs-xs); color: var(--text-muted); }

.pcard__prices { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.pcard__price { font-size: var(--fs-lg); font-weight: 800; color: var(--ink-900); letter-spacing: -0.02em; }
.pcard__old { font-size: var(--fs-sm); color: var(--ink-300); text-decoration: line-through; }
.pcard__unit { font-size: var(--fs-2xs); color: var(--text-muted); }

.pcard__actions { display: flex; gap: 6px; padding: 0 var(--sp-4) var(--sp-4); }
.pcard__add {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 42px;
  border-radius: var(--r-full);
  background: var(--ink-900);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 700;
  transition: background-color var(--t-base), transform var(--t-fast), box-shadow var(--t-base);
  overflow: hidden;
  position: relative;
}
.pcard__add:hover { background: var(--brand-600); box-shadow: var(--sh-brand); }
.pcard__add:active { transform: scale(.97); }
.pcard__add svg { width: 17px; height: 17px; }
.pcard__add.is-loading { color: transparent; }
.pcard__add.is-loading::after {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.pcard__add.is-added { background: var(--success); }
.pcard__notify {
  flex: 1 1 auto;
  height: 42px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--border-strong);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink-600);
}
.pcard__notify:hover { border-color: var(--ink-900); color: var(--ink-900); }

/* Yatay ürün satırı (liste görünümü) */
.pcard--list { flex-direction: row; }
.pcard--list .pcard__media { width: 200px; flex: 0 0 auto; aspect-ratio: auto; }
.pcard--list .pcard__body { padding: var(--sp-5); }
.pcard--list .pcard__name { min-height: 0; font-size: var(--fs-md); }
.pcard--list .pcard__actions { padding: 0 var(--sp-5) var(--sp-5); max-width: 280px; }
@media (max-width: 767px) { .pcard--list { flex-direction: column; } .pcard--list .pcard__media { width: 100%; aspect-ratio: 1; } }

/* ---------------------------------------------------------------------
   8. KATEGORİ KARTLARI
   --------------------------------------------------------------------- */
.ccard {
  position: relative;
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--ink-800);
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base);
}
.ccard:hover { transform: translateY(-6px); box-shadow: var(--sh-xl); }
.ccard__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease-out);
}
.ccard:hover .ccard__img { transform: scale(1.09); }
.ccard__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(7,8,11,.9) 0%, rgba(7,8,11,.32) 52%, transparent 100%);
}
.ccard__body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: var(--sp-5);
  color: #fff;
}
.ccard__name { font-family: var(--font-display); font-size: var(--fs-xl); color: #fff; margin-bottom: 3px; }
.ccard__count { font-size: var(--fs-xs); font-weight: 700; opacity: .78; letter-spacing: .04em; }
.ccard__arrow {
  position: absolute;
  top: var(--sp-4); right: var(--sp-4);
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(6px);
  color: #fff;
  opacity: 0;
  transform: translate(-8px, 8px);
  transition: all var(--t-base) var(--ease-out);
}
.ccard:hover .ccard__arrow { opacity: 1; transform: none; }
.ccard__arrow svg { width: 18px; height: 18px; }

.ccard--compact { aspect-ratio: 1; }
.ccard--tile {
  aspect-ratio: auto;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.ccard--tile:hover { border-color: var(--brand-300); background: var(--brand-50); }
.ccard--tile img { width: 56px; height: 56px; border-radius: var(--r-sm); object-fit: cover; position: static; }
.ccard--tile .ccard__name { font-family: var(--font-sans); font-size: var(--fs-sm); font-weight: 700; color: var(--ink-800); margin: 0; }
.ccard--tile .ccard__count { color: var(--text-muted); opacity: 1; }

/* ---------------------------------------------------------------------
   9. KAMPANYA ŞERİTLERİ
   --------------------------------------------------------------------- */
.campaign-strip {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: var(--sp-10);
  background: var(--grad-brand-soft);
  color: #fff;
  background-size: 200% 200%;
  animation: gradient-shift 12s var(--ease-in-out) infinite;
}
.campaign-strip::before,
.campaign-strip::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  pointer-events: none;
}
.campaign-strip::before { width: 320px; height: 320px; top: -120px; right: -60px; }
.campaign-strip::after { width: 200px; height: 200px; bottom: -90px; left: 18%; }
.campaign-strip__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-8); flex-wrap: wrap; }
.campaign-strip__title { font-family: var(--font-display); font-size: clamp(1.7rem, 3.4vw, 2.6rem); color: #fff; }
.campaign-strip__sub { color: rgba(255,255,255,.85); max-width: 52ch; margin-top: 6px; }

/* Birlikte al */
.bundle {
  border: 2px dashed var(--brand-200);
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--brand-50), #fff);
  padding: var(--sp-6);
}
.bundle__head { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-5); }
.bundle__icon {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 13px;
  background: var(--brand-600);
  color: #fff;
  flex: 0 0 auto;
}
.bundle__icon svg { width: 21px; height: 21px; }
.bundle__title { font-size: var(--fs-md); font-weight: 800; }
.bundle__items {
  display: flex;
  align-items: stretch;
  gap: var(--sp-3);
  flex-wrap: wrap;
}
.bundle__item {
  position: relative;
  flex: 1 1 150px;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: var(--sp-3);
  border-radius: var(--r-md);
  background: #fff;
  border: 1.5px solid var(--border);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.bundle__item.is-selected { border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(245,21,74,.1); }
.bundle__item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-xs); background: var(--ink-50); }
.bundle__item-name { font-size: var(--fs-xs); font-weight: 700; line-height: 1.35; }
.bundle__item-price { font-size: var(--fs-sm); font-weight: 800; color: var(--brand-600); }
.bundle__plus {
  display: grid; place-items: center;
  align-self: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--brand-600);
  color: #fff;
  font-weight: 800;
  flex: 0 0 auto;
}
.bundle__summary {
  margin-top: var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1.5px dashed var(--brand-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  flex-wrap: wrap;
}
.bundle__save {
  display: inline-flex; align-items: center; gap: 6px;
  padding: .3rem .7rem;
  border-radius: var(--r-full);
  background: var(--success);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 800;
}

/* ---------------------------------------------------------------------
   10. FİLTRE / KATALOG DÜZENİ
   --------------------------------------------------------------------- */
.catalog { display: grid; grid-template-columns: 276px minmax(0, 1fr); gap: var(--sp-8); align-items: start; }
@media (max-width: 1023px) { .catalog { grid-template-columns: 1fr; } }

.filters { position: sticky; top: calc(var(--header-h) + 16px); }
.filters__group { border-bottom: 1px solid var(--border); padding-block: var(--sp-4); }
.filters__group:first-child { padding-top: 0; }
.filters__head {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  width: 100%;
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--ink-800);
  text-align: left;
}
.filters__head svg { width: 17px; height: 17px; color: var(--ink-400); transition: transform var(--t-base) var(--ease-out); }
.filters__group.is-collapsed .filters__head svg { transform: rotate(-90deg); }
.filters__body { padding-top: var(--sp-3); display: grid; gap: 9px; max-height: 280px; overflow-y: auto; }
.filters__group.is-collapsed .filters__body { display: none; }
.filters__count { font-size: var(--fs-xs); color: var(--ink-300); font-weight: 700; margin-left: auto; }

.price-range { padding-top: var(--sp-2); }
.price-range__inputs { display: flex; align-items: center; gap: 8px; }
.price-range__inputs .input { min-height: 40px; text-align: center; }

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-3) var(--sp-4);
  margin-bottom: var(--sp-5);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  flex-wrap: wrap;
}
.toolbar__info { font-size: var(--fs-sm); color: var(--text-muted); }
.toolbar__info strong { color: var(--ink-900); }
.toolbar__right { display: flex; align-items: center; gap: var(--sp-2); }
.view-toggle { display: inline-flex; border: 1.5px solid var(--border); border-radius: var(--r-sm); overflow: hidden; }
.view-toggle button,
.view-toggle a {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  color: var(--ink-400);
  transition: all var(--t-fast);
}
.view-toggle button:hover,
.view-toggle a:hover { background: var(--ink-50); color: var(--ink-700); }
.view-toggle button.is-active,
.view-toggle a.is-active { background: var(--ink-900); color: #fff; }
.view-toggle svg { width: 17px; height: 17px; }

.active-filters { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: var(--sp-4); }

/* Sayfalama */
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: var(--sp-10); flex-wrap: wrap; }
.pagination__link {
  display: grid; place-items: center;
  min-width: 42px; height: 42px;
  padding: 0 12px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border);
  background: #fff;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink-600);
  transition: all var(--t-fast) var(--ease-out);
}
.pagination__link:hover { border-color: var(--ink-900); color: var(--ink-900); transform: translateY(-2px); }
.pagination__link.is-active { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }
.pagination__link.is-disabled { opacity: .4; pointer-events: none; }
.pagination__gap { padding: 0 6px; color: var(--ink-300); }

/* ---------------------------------------------------------------------
   11. ÜRÜN DETAY
   --------------------------------------------------------------------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--sp-10); align-items: start; }
.pdp > * { min-width: 0; }

.gallery { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: var(--sp-3); }
.gallery__main {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink-50);
  border: 1px solid var(--border);
  cursor: zoom-in;
}
.gallery__img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
.gallery__main.is-zoomed .gallery__img { transform: scale(1.9); cursor: zoom-out; }
.gallery__badges { position: absolute; top: var(--sp-4); left: var(--sp-4); display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.gallery__zoom-hint {
  position: absolute;
  bottom: var(--sp-4); right: var(--sp-4);
  display: inline-flex; align-items: center; gap: 6px;
  padding: .35rem .7rem;
  border-radius: var(--r-full);
  background: rgba(255,255,255,.92);
  font-size: var(--fs-2xs);
  font-weight: 700;
  color: var(--ink-600);
  box-shadow: var(--sh-sm);
  pointer-events: none;
}
.gallery__zoom-hint svg { width: 13px; height: 13px; }
.gallery__thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.gallery__thumbs::-webkit-scrollbar { display: none; }
.gallery__thumb {
  flex: 0 0 auto;
  width: 76px; height: 76px;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--ink-50);
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { transform: translateY(-2px); }
.gallery__thumb.is-active { border-color: var(--brand-600); }

@media (max-width: 1023px) {
  .pdp { grid-template-columns: 1fr; gap: var(--sp-6); }
  .gallery { position: relative; top: auto; }
}

.pdp__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Bilgi bölümü */
.pdp__cat { display: flex; align-items: center; gap: 8px; font-size: var(--fs-xs); color: var(--text-muted); margin-bottom: var(--sp-3); }
.pdp__title {
  font-size: clamp(1.25rem, 2.6vw, 2rem);
  line-height: 1.2;
  margin-bottom: var(--sp-3);
  overflow-wrap: anywhere;
  word-break: break-word;
}
.pdp__meta { display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap; font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: var(--sp-5); }
.pdp__sku { font-family: var(--font-mono); font-size: var(--fs-xs); }

.pdp__price-box {
  padding: var(--sp-5);
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--ink-50), #fff);
  border: 1px solid var(--border);
  margin-bottom: var(--sp-5);
}
.pdp__price-row { display: flex; align-items: flex-end; gap: var(--sp-3); flex-wrap: wrap; }
.pdp__price {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink-900);
}
.pdp__price sup { font-size: .45em; font-weight: 800; vertical-align: super; }
.pdp__price-old { font-size: var(--fs-lg); color: var(--ink-300); text-decoration: line-through; padding-bottom: 4px; }
.pdp__save {
  display: inline-flex; align-items: center; gap: 6px;
  padding: .35rem .75rem;
  border-radius: var(--r-full);
  background: var(--brand-600);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 800;
}
.pdp__tax-note { font-size: var(--fs-xs); color: var(--text-muted); margin-top: 8px; }
.pdp__installment {
  margin-top: var(--sp-3);
  padding-top: var(--sp-3);
  border-top: 1px dashed var(--border-strong);
  font-size: var(--fs-sm);
}
.pdp__installment strong { color: var(--brand-600); }

/* Stok / aciliyet */
.urgency {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-sm);
  background: var(--warning-bg);
  border: 1px solid #fbdba7;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: #8a4d05;
  margin-bottom: var(--sp-4);
}
.urgency svg { width: 18px; height: 18px; flex: 0 0 auto; }
.urgency--stock { background: var(--danger-bg); border-color: #f7c4c4; color: #981818; }
.urgency--viewers { background: var(--info-bg); border-color: #c2d4fb; color: #1a3f9e; }

/* Varyasyon seçici */
.variants { margin-bottom: var(--sp-5); }
.variants__label { font-size: var(--fs-sm); font-weight: 800; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.variants__options { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-opt {
  padding: .55rem 1rem;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border-strong);
  background: #fff;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink-700);
  transition: all var(--t-fast) var(--ease-out);
}
.variant-opt:hover { border-color: var(--ink-900); }
.variant-opt.is-active { border-color: var(--brand-600); background: var(--brand-50); color: var(--brand-700); box-shadow: 0 0 0 3px rgba(245,21,74,.09); }
.variant-opt.is-disabled { opacity: .4; text-decoration: line-through; pointer-events: none; }
.variant-opt--swatch { width: 42px; height: 42px; padding: 0; border-radius: 50%; overflow: hidden; }
.variant-opt--swatch span { display: block; width: 100%; height: 100%; }

/* Satın alma kutusu */
.buybox { display: flex; gap: var(--sp-3); align-items: stretch; margin-bottom: var(--sp-4); flex-wrap: wrap; }
.buybox__add { flex: 1 1 180px; min-height: 54px; min-width: 0; font-size: var(--fs-md); }
.buybox__fav { width: 54px; min-height: 54px; flex: 0 0 auto; }

/* Hediye paketi seçici */
.giftwrap { border: 1.5px solid var(--border); border-radius: var(--r-md); overflow: hidden; margin-bottom: var(--sp-5); }
.giftwrap__head {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-4);
  background: linear-gradient(135deg, #fff8f9, #fff);
  cursor: pointer;
}
.giftwrap__head svg.gift { width: 22px; height: 22px; color: var(--brand-600); flex: 0 0 auto; }
.giftwrap__title { font-size: var(--fs-sm); font-weight: 800; }
.giftwrap__hint { font-size: var(--fs-xs); color: var(--text-muted); }
.giftwrap__chev { margin-left: auto; width: 18px; height: 18px; color: var(--ink-400); transition: transform var(--t-base); }
.giftwrap.is-open .giftwrap__chev { transform: rotate(180deg); }
.giftwrap__body { display: none; padding: var(--sp-4); border-top: 1px solid var(--border); }
.giftwrap.is-open .giftwrap__body { display: block; animation: fade-down var(--t-base) var(--ease-out); }
.giftwrap__opts { display: grid; gap: 8px; }
.gift-opt {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-3);
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all var(--t-fast);
}
.gift-opt:hover { border-color: var(--brand-300); background: var(--brand-50); }
.gift-opt.is-active { border-color: var(--brand-600); background: var(--brand-50); }
.gift-opt input { position: absolute; opacity: 0; }
.gift-opt__img { width: 48px; height: 48px; border-radius: var(--r-xs); object-fit: cover; background: var(--ink-100); flex: 0 0 auto; }
.gift-opt__name { font-size: var(--fs-sm); font-weight: 700; }
.gift-opt__desc { font-size: var(--fs-xs); color: var(--text-muted); }
.gift-opt__price { margin-left: auto; font-size: var(--fs-sm); font-weight: 800; color: var(--brand-600); white-space: nowrap; }

/* Sekmeler */
.tabs { border-bottom: 1.5px solid var(--border); display: flex; gap: var(--sp-1); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative;
  padding: var(--sp-4) var(--sp-5);
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--ink-400);
  white-space: nowrap;
  transition: color var(--t-fast);
}
.tab::after {
  content: '';
  position: absolute;
  left: var(--sp-4); right: var(--sp-4); bottom: -1.5px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--brand-600);
  transform: scaleX(0);
  transition: transform var(--t-base) var(--ease-out);
}
.tab:hover { color: var(--ink-700); }
.tab.is-active { color: var(--brand-600); }
.tab.is-active::after { transform: scaleX(1); }
.tab-panel { display: none; padding-top: var(--sp-6); animation: fade-up var(--t-base) var(--ease-out); }
.tab-panel.is-active { display: block; }

/* Zengin içerik */
.prose { font-size: var(--fs-base); line-height: 1.75; color: var(--ink-600); max-width: 78ch; }
.prose h2, .prose h3, .prose h4 { margin: var(--sp-6) 0 var(--sp-3); color: var(--ink-900); }
.prose h2 { font-size: var(--fs-xl); }
.prose h3 { font-size: var(--fs-lg); }
.prose ul, .prose ol { margin: 0 0 var(--sp-4); padding-left: 1.35rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--brand-600); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.prose img, .prose iframe, .prose video { max-width: 100%; height: auto; border-radius: var(--r-md); margin-block: var(--sp-5); }
.prose blockquote {
  margin: var(--sp-5) 0;
  padding: var(--sp-4) var(--sp-5);
  border-left: 3px solid var(--brand-600);
  background: var(--brand-50);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-style: italic;
}
.prose table { display: block; max-width: 100%; overflow-x: auto; margin-block: var(--sp-5); font-size: var(--fs-sm); }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--border); text-align: left; }
.prose th { background: var(--ink-50); font-weight: 800; }

/* Özellik tablosu */
.spec-table { width: 100%; font-size: var(--fs-sm); }
.spec-table tr:nth-child(odd) { background: var(--ink-50); }
.spec-table th, .spec-table td { padding: 11px var(--sp-4); text-align: left; }
.spec-table th { width: 38%; font-weight: 700; color: var(--ink-500); }
.spec-table td { font-weight: 700; }

/* Değerlendirmeler */
.review-summary { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-8); align-items: center; }
@media (max-width: 620px) { .review-summary { grid-template-columns: 1fr; gap: var(--sp-5); } }
.review-score { text-align: center; }
.review-score__num { font-size: 3.2rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.review-bars { display: grid; gap: 7px; }
.review-bar { display: grid; grid-template-columns: 46px 1fr 42px; align-items: center; gap: var(--sp-3); font-size: var(--fs-xs); }
.review {
  padding: var(--sp-5) 0;
  border-bottom: 1px solid var(--border);
}
.review__head { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: 10px; }
.review__avatar {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand-700);
  font-weight: 800;
  font-size: var(--fs-sm);
  flex: 0 0 auto;
}
.review__author { font-size: var(--fs-sm); font-weight: 800; }
.review__date { font-size: var(--fs-xs); color: var(--text-muted); }
.review__reply {
  margin-top: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-sm);
  background: var(--ink-50);
  border-left: 3px solid var(--brand-600);
  font-size: var(--fs-sm);
}

/* ---------------------------------------------------------------------
   12. SEPET / ÖDEME SAYFALARI
   --------------------------------------------------------------------- */
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: var(--sp-8); align-items: start; }
@media (max-width: 1023px) { .checkout-layout { grid-template-columns: 1fr; } }

.summary-card { position: sticky; top: calc(var(--header-h) + 16px); }

.cart-line {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) auto;
  gap: var(--sp-4);
  padding: var(--sp-5) 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.cart-line__img {
  width: 104px; height: 104px;
  border-radius: var(--r-sm);
  object-fit: cover;
  border: 1px solid var(--border);
  background: var(--ink-50);
}
.cart-line__name { font-size: var(--fs-base); font-weight: 700; line-height: 1.4; margin-bottom: 5px; }
.cart-line__meta { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; font-size: var(--fs-xs); color: var(--text-muted); }
.cart-line__right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.cart-line__total { font-size: var(--fs-md); font-weight: 800; }
@media (max-width: 620px) {
  .cart-line { grid-template-columns: 76px minmax(0, 1fr); }
  .cart-line__img { width: 76px; height: 76px; }
  .cart-line__right { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
}

/* Kupon kutusu */
.coupon-box { display: flex; gap: 8px; }
.coupon-box .input { flex: 1 1 auto; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.coupon-applied {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-sm);
  background: var(--success-bg);
  border: 1px dashed #8ddcb8;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: #06603f;
}

/* Adımlar */
.steps { display: flex; align-items: center; gap: 0; margin-bottom: var(--sp-8); }
.step { display: flex; align-items: center; gap: var(--sp-3); flex: 1 1 auto; }
.step__num {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  background: #fff;
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--ink-400);
  flex: 0 0 auto;
  transition: all var(--t-base) var(--ease-out);
}
.step__label { font-size: var(--fs-sm); font-weight: 700; color: var(--ink-400); }
.step__line { flex: 1 1 auto; height: 2px; background: var(--border-strong); margin-inline: var(--sp-3); }
.step.is-active .step__num { border-color: var(--brand-600); background: var(--brand-600); color: #fff; box-shadow: 0 0 0 4px rgba(245,21,74,.14); }
.step.is-active .step__label { color: var(--ink-900); }
.step.is-done .step__num { border-color: var(--success); background: var(--success); color: #fff; }
.step.is-done .step__label { color: var(--ink-700); }
@media (max-width: 620px) { .step__label { display: none; } }

/* Ödeme yöntemi kartları */
.pay-opts { display: grid; gap: 10px; }
.pay-opt {
  display: flex; align-items: center; gap: var(--sp-4);
  padding: var(--sp-4);
  border-radius: var(--r-md);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease-out);
}
.pay-opt:hover { border-color: var(--brand-300); }
.pay-opt.is-active { border-color: var(--brand-600); background: var(--brand-50); box-shadow: 0 0 0 3px rgba(245,21,74,.08); }
.pay-opt input { position: absolute; opacity: 0; }
.pay-opt__radio {
  width: 20px; height: 20px;
  border: 2px solid var(--border-strong);
  border-radius: 50%;
  flex: 0 0 auto;
  display: grid; place-items: center;
  transition: border-color var(--t-fast);
}
.pay-opt__radio::after {
  content: '';
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--brand-600);
  transform: scale(0);
  transition: transform var(--t-fast) var(--ease-spring);
}
.pay-opt.is-active .pay-opt__radio { border-color: var(--brand-600); }
.pay-opt.is-active .pay-opt__radio::after { transform: scale(1); }
.pay-opt__name { font-size: var(--fs-sm); font-weight: 800; }
.pay-opt__desc { font-size: var(--fs-xs); color: var(--text-muted); }
.pay-opt__logos { margin-left: auto; display: flex; gap: 5px; align-items: center; }
.pay-opt__logos img { height: 20px; width: auto; }

/* Adres kartı */
.addr-card {
  position: relative;
  padding: var(--sp-4);
  border-radius: var(--r-md);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all var(--t-fast);
}
.addr-card:hover { border-color: var(--brand-300); }
.addr-card.is-active { border-color: var(--brand-600); background: var(--brand-50); }
.addr-card__title { font-size: var(--fs-sm); font-weight: 800; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.addr-card__text { font-size: var(--fs-xs); color: var(--text-soft); line-height: 1.6; }

/* Sipariş tamam */
.success-hero { text-align: center; padding-block: var(--sp-12); }
.success-hero__icon {
  width: 92px; height: 92px;
  margin: 0 auto var(--sp-5);
  border-radius: 50%;
  background: var(--success-bg);
  display: grid; place-items: center;
  color: var(--success);
  animation: bounce-in 620ms var(--ease-spring) both;
}
.success-hero__icon svg { width: 46px; height: 46px; }

/* ---------------------------------------------------------------------
   13. HESAP SAYFALARI
   --------------------------------------------------------------------- */
.account-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: var(--sp-8); align-items: start; }
@media (max-width: 900px) { .account-layout { grid-template-columns: 1fr; } }

.account-nav { display: grid; gap: 3px; }
.account-nav__link {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink-600);
  transition: all var(--t-fast);
}
.account-nav__link svg { width: 18px; height: 18px; color: var(--ink-400); }
.account-nav__link:hover { background: var(--ink-50); color: var(--ink-900); }
.account-nav__link.is-active { background: var(--ink-900); color: #fff; }
.account-nav__link.is-active svg { color: #fff; }
.account-nav__badge {
  margin-left: auto;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--brand-600);
  color: #fff;
  font-size: var(--fs-2xs);
  font-weight: 800;
}

.order-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--sp-4);
  padding: var(--sp-5);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: box-shadow var(--t-base), border-color var(--t-base);
}
.order-row:hover { box-shadow: var(--sh-md); border-color: transparent; }
.order-row__num { font-family: var(--font-mono); font-size: var(--fs-sm); font-weight: 700; }
.order-row__thumbs { display: flex; gap: 6px; margin-top: 10px; }
.order-row__thumbs img {
  width: 44px; height: 44px;
  border-radius: var(--r-xs);
  object-fit: cover;
  border: 1px solid var(--border);
  background: var(--ink-50);
}
.order-row__more {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: var(--r-xs);
  background: var(--ink-100);
  font-size: var(--fs-xs);
  font-weight: 800;
  color: var(--ink-500);
}

/* Kargo takip zaman çizelgesi */
.timeline { display: grid; gap: 0; }
.timeline__item { display: grid; grid-template-columns: 34px 1fr; gap: var(--sp-4); }
.timeline__dot-wrap { display: flex; flex-direction: column; align-items: center; }
.timeline__dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 3px solid var(--border-strong);
  background: #fff;
  flex: 0 0 auto;
  margin-top: 5px;
}
.timeline__line { flex: 1 1 auto; width: 2px; background: var(--border-strong); min-height: 26px; }
.timeline__item.is-done .timeline__dot { border-color: var(--success); background: var(--success); }
.timeline__item.is-done .timeline__line { background: var(--success); }
.timeline__item.is-current .timeline__dot { border-color: var(--brand-600); background: var(--brand-600); box-shadow: 0 0 0 5px rgba(245,21,74,.15); }
.timeline__body { padding-bottom: var(--sp-5); }
.timeline__title { font-size: var(--fs-sm); font-weight: 800; }
.timeline__time { font-size: var(--fs-xs); color: var(--text-muted); }

/* ---------------------------------------------------------------------
   14. ALT BİLGİ
   --------------------------------------------------------------------- */
.site-footer { background: var(--ink-950); color: rgba(255,255,255,.66); margin-top: var(--sp-20); }

.newsletter-band {
  position: relative;
  overflow: hidden;
  background: var(--grad-brand-soft);
  background-size: 200% 200%;
  animation: gradient-shift 14s var(--ease-in-out) infinite;
  color: #fff;
}
.newsletter-band::before {
  content: '';
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: rgba(255,255,255,.09);
  top: -180px; right: -80px;
}
.newsletter-band__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
  padding-block: var(--sp-10);
  flex-wrap: wrap;
}
.newsletter-band__title { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.2rem); color: #fff; }
.newsletter-band__sub { color: rgba(255,255,255,.84); margin-top: 6px; }
.newsletter-form { display: flex; gap: 8px; flex: 1 1 380px; max-width: 480px; }
.newsletter-form .input {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.28);
  color: #fff;
  min-height: 52px;
}
.newsletter-form .input::placeholder { color: rgba(255,255,255,.6); }
.newsletter-form .input:focus { background: rgba(255,255,255,.2); border-color: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.14); }

.footer__main { padding-block: var(--sp-12); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr) 1.2fr;
  gap: var(--sp-8);
}
@media (max-width: 1023px) { .footer__grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-8) var(--sp-6); } }
@media (max-width: 560px)  { .footer__grid { grid-template-columns: 1fr; } }

.footer__brand-text { font-size: var(--fs-sm); line-height: 1.7; margin-top: var(--sp-4); max-width: 38ch; }
.footer__col-title {
  font-size: var(--fs-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #fff;
  margin-bottom: var(--sp-4);
}
.footer__link {
  display: block;
  padding: 5px 0;
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.62);
  transition: color var(--t-fast), transform var(--t-fast);
}
.footer__link:hover { color: #fff; transform: translateX(4px); }
.footer__contact-item { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; font-size: var(--fs-sm); }
.footer__contact-item svg { width: 16px; height: 16px; color: var(--brand-400); flex: 0 0 auto; margin-top: 3px; }

.socials { display: flex; gap: 8px; margin-top: var(--sp-5); }
.social-btn {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.72);
  transition: all var(--t-fast) var(--ease-out);
}
.social-btn:hover { background: var(--brand-600); border-color: var(--brand-600); color: #fff; transform: translateY(-3px); }
.social-btn svg { width: 18px; height: 18px; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-block: var(--sp-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  font-size: var(--fs-xs);
}
.payment-logos { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.payment-logo {
  height: 30px;
  padding: 0 10px;
  display: grid; place-items: center;
  border-radius: 6px;
  background: rgba(255,255,255,.94);
  font-size: 10px;
  font-weight: 800;
  color: var(--ink-800);
  letter-spacing: .02em;
}

/* ---------------------------------------------------------------------
   15. POP-UP / MODAL
   --------------------------------------------------------------------- */
.popup-layer {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: grid;
  place-items: center;
  padding: var(--sp-5);
  background: rgba(7,8,11,.6);
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-base), visibility var(--t-base);
}
.popup-layer.is-open { opacity: 1; visibility: visible; }

.popup {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-xl);
  transform: translateY(24px) scale(.96);
  transition: transform var(--t-slow) var(--ease-spring);
  max-height: 92vh;
  overflow-y: auto;
}
.popup-layer.is-open .popup { transform: none; }
.popup--lg { max-width: 720px; }
.popup--xl { max-width: 980px; }

.popup__close {
  position: absolute;
  top: var(--sp-4); right: var(--sp-4);
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  color: var(--ink-600);
  z-index: 3;
  box-shadow: var(--sh-sm);
  transition: all var(--t-fast);
}
.popup__close:hover { background: var(--ink-900); color: #fff; transform: rotate(90deg); }
.popup__close svg { width: 18px; height: 18px; }

.popup__hero {
  position: relative;
  padding: var(--sp-8) var(--sp-8) var(--sp-6);
  background: var(--grad-brand-soft);
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.popup__hero::before {
  content: '';
  position: absolute;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  top: -110px; left: -60px;
}
.popup__discount {
  position: relative;
  font-family: var(--font-display);
  font-size: 4.2rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-shadow: 0 6px 24px rgba(0,0,0,.2);
}
.popup__title { position: relative; font-size: var(--fs-xl); color: #fff; margin-top: var(--sp-2); }
.popup__body { padding: var(--sp-6) var(--sp-8) var(--sp-8); }
.popup__sub { color: var(--text-soft); text-align: center; margin-bottom: var(--sp-5); }
.popup__coupon {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  padding: var(--sp-4);
  border-radius: var(--r-md);
  border: 2px dashed var(--brand-300);
  background: var(--brand-50);
  margin-bottom: var(--sp-4);
}
.popup__coupon-code {
  font-family: var(--font-mono);
  font-size: var(--fs-lg);
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--brand-700);
}
.popup__fine { font-size: var(--fs-xs); color: var(--text-muted); text-align: center; margin-top: var(--sp-4); }
.popup__dismiss {
  display: block;
  width: 100%;
  margin-top: var(--sp-3);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ink-400);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.popup__dismiss:hover { color: var(--ink-700); }

/* Yan/köşe pop-up */
.popup--side {
  position: fixed;
  bottom: var(--sp-5);
  left: var(--sp-5);
  max-width: 340px;
  margin: 0;
  transform: translateY(120%);
}
.popup-layer--side {
  background: none;
  backdrop-filter: none;
  display: block;
  padding: 0;
  pointer-events: none;
}
.popup-layer--side .popup { pointer-events: auto; }
.popup-layer--side.is-open .popup--side { transform: none; }

/* Hızlı bakış */
.quickview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; }
.quickview__media { background: var(--ink-50); aspect-ratio: 1; }
.quickview__media img { width: 100%; height: 100%; object-fit: cover; }
.quickview__body { padding: var(--sp-8); overflow-y: auto; max-height: 92vh; }
@media (max-width: 720px) { .quickview { grid-template-columns: 1fr; } .quickview__body { padding: var(--sp-5); } }

/* ---------------------------------------------------------------------
   16. BİLDİRİMLER (toast)
   --------------------------------------------------------------------- */
.toast-stack {
  position: fixed;
  top: calc(var(--header-h) + 16px);
  right: var(--sp-5);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  max-width: 380px;
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-4);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--sh-xl);
  border-left: 4px solid var(--brand-600);
  pointer-events: auto;
  animation: toast-in 420ms var(--ease-spring) both;
  position: relative;
  overflow: hidden;
}
.toast.is-leaving { animation: toast-out 300ms var(--ease-out) both; }
@keyframes toast-in { from { opacity: 0; transform: translateX(110%); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateX(110%) scale(.94); } }
.toast__icon { flex: 0 0 auto; width: 22px; height: 22px; }
.toast__title { font-size: var(--fs-sm); font-weight: 800; }
.toast__msg { font-size: var(--fs-xs); color: var(--text-soft); line-height: 1.5; margin-top: 2px; }
.toast__close { margin-left: auto; color: var(--ink-300); flex: 0 0 auto; }
.toast__close:hover { color: var(--ink-700); }
.toast__close svg { width: 16px; height: 16px; }
.toast--success { border-left-color: var(--success); }
.toast--success .toast__icon { color: var(--success); }
.toast--error { border-left-color: var(--danger); }
.toast--error .toast__icon { color: var(--danger); }
.toast--warning { border-left-color: var(--warning); }
.toast--warning .toast__icon { color: var(--warning); }
.toast--info { border-left-color: var(--info); }
.toast--info .toast__icon { color: var(--info); }
.toast__bar { position: absolute; bottom: 0; left: 0; height: 2px; background: currentColor; opacity: .3; animation: toast-bar var(--toast-life, 4s) linear forwards; }
@keyframes toast-bar { from { width: 100%; } to { width: 0; } }

@media (max-width: 620px) {
  .toast-stack { left: var(--sp-3); right: var(--sp-3); max-width: none; top: auto; bottom: var(--sp-3); }
  .toast { animation-name: fade-up; }
}

/* Sosyal kanıt bildirimi */
.social-proof {
  position: fixed;
  bottom: var(--sp-5);
  left: var(--sp-5);
  z-index: calc(var(--z-toast) - 5);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 10px var(--sp-4) 10px 10px;
  border-radius: var(--r-full);
  background: #fff;
  box-shadow: var(--sh-lg);
  border: 1px solid var(--border);
  max-width: 330px;
  transform: translateY(150%);
  transition: transform 620ms var(--ease-spring);
}
.social-proof.is-visible { transform: none; }
.social-proof img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; background: var(--ink-50); }
.social-proof__text { font-size: var(--fs-xs); line-height: 1.45; }
.social-proof__text strong { font-weight: 800; }
.social-proof__time { color: var(--ink-300); }
@media (max-width: 620px) { .social-proof { display: none; } }

/* ---------------------------------------------------------------------
   17. YARDIMCI PARÇALAR
   --------------------------------------------------------------------- */
.breadcrumb { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; font-size: var(--fs-xs); color: var(--text-muted); padding-block: var(--sp-4); }
.breadcrumb a { transition: color var(--t-fast); }
.breadcrumb a:hover { color: var(--brand-600); }
.breadcrumb svg { width: 13px; height: 13px; color: var(--ink-300); flex: 0 0 auto; }
.breadcrumb__current { color: var(--ink-800); font-weight: 700; }
@media (max-width: 767px) {
  .page--product .breadcrumb { padding-block: var(--sp-3); }
  .page--product .breadcrumb__current { display: none; }
  .page--product .breadcrumb svg:last-of-type { display: none; }
}

.page-hero {
  padding-block: var(--sp-10);
  background: linear-gradient(135deg, var(--ink-50), #fff);
  border-bottom: 1px solid var(--border);
}
.page-hero__title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.page-hero__sub { color: var(--text-muted); margin-top: 10px; max-width: 68ch; }

.empty-state { text-align: center; padding: var(--sp-16) var(--sp-5); }
.empty-state__icon {
  width: 96px; height: 96px;
  margin: 0 auto var(--sp-5);
  border-radius: 50%;
  background: var(--ink-50);
  display: grid; place-items: center;
  color: var(--ink-300);
}
.empty-state__icon svg { width: 44px; height: 44px; }
.empty-state__title { font-size: var(--fs-xl); margin-bottom: 8px; }
.empty-state__text { color: var(--text-muted); max-width: 46ch; margin: 0 auto var(--sp-6); }

/* Yukarı çık */
.to-top {
  position: fixed;
  bottom: var(--sp-5);
  right: var(--sp-5);
  z-index: 45;
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--ink-900);
  color: #fff;
  box-shadow: var(--sh-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all var(--t-base) var(--ease-out);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand-600); transform: translateY(-3px); }
.to-top svg { width: 20px; height: 20px; }

/* WhatsApp */
.wa-float {
  position: fixed;
  bottom: calc(var(--sp-5) + 58px);
  right: var(--sp-5);
  z-index: 45;
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 22px rgba(37, 211, 102, .4);
  transition: transform var(--t-fast) var(--ease-spring);
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 24px; height: 24px; }

/* Mobil alt aksiyon çubuğu (ürün detay) */
.sticky-buy {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 46;
  display: none;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 24px rgba(12,14,18,.08);
  transform: translateY(110%);
  transition: transform var(--t-base) var(--ease-out);
}
.sticky-buy.is-visible { transform: none; }
.sticky-buy img { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.sticky-buy > div { min-width: 0; overflow: hidden; }
.sticky-buy .text-xs { line-height: 1.25; }
@media (max-width: 767px) {
  .sticky-buy {
    display: flex;
    align-items: center;
    min-height: 64px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  }
  .sticky-buy .btn { flex: 0 0 auto; white-space: nowrap; font-size: var(--fs-sm); padding-inline: 14px; }
  .to-top, .wa-float { bottom: calc(var(--sp-5) + 72px + env(safe-area-inset-bottom, 0px)); }
  body.page--product { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
  .gallery__zoom-hint { display: none; }
  .gallery__main { cursor: default; }
  .gallery__main.is-zoomed .gallery__img { transform: none; }
  .pdp__price { font-size: 1.7rem; }
  .spec-table th { width: 40%; }
}

/* Marka şeridi */
.logo-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-marquee__track { display: flex; gap: var(--sp-10); width: max-content; animation: marquee 32s linear infinite; }
.logo-marquee:hover .logo-marquee__track { animation-play-state: paused; }
.logo-marquee__item {
  display: grid; place-items: center;
  height: 56px;
  padding-inline: var(--sp-5);
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--ink-300);
  white-space: nowrap;
  transition: color var(--t-base);
}
.logo-marquee__item:hover { color: var(--brand-600); }
