/* ============================================================
   Alajan Marketplace — Tasarım Sistemi
   Kaynak: alajan.com kurumsal kimliği (vv29zc5m65-art/alajan)
   Palet: accent #FF6B4A · teal #2A9D8F · sun #FFC46B · pink #FF8DC7
   Zemin: #FBF7F1 · Metin: #241F26 · Vurgu metin: #C53F22
   Tipografi: Plus Jakarta Sans (başlık) + DM Sans (gövde) + DM Mono
   ============================================================ */

:root {
  --accent: #FF6B4A;
  --accent-ink: #3A1A10;
  --accent-text: #C53F22;
  --accent-2: #2A9D8F;
  --accent-2-deep: #1F7F74;
  --sun: #FFC46B;
  --pink: #FF8DC7;
  --bg: #FBF7F1;
  --bg-2: #FFFFFF;
  --bg-3: #F4EEE5;
  --surface: rgba(46, 34, 28, 0.035);
  --surface-2: rgba(46, 34, 28, 0.06);
  --border: rgba(46, 34, 28, 0.09);
  --border-strong: rgba(46, 34, 28, 0.18);
  --text: #241F26;
  --muted: #5E5660;
  --dim: #6B646E;
  --success: #2A9D8F;
  --danger: #C53F22;
  --shadow: 0 24px 64px -28px rgba(60, 40, 30, 0.22);
  --shadow-sm: 0 8px 24px -12px rgba(60, 40, 30, 0.18);
  --r-sm: 14px;
  --r-md: 18px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-full: 999px;
  --font-display: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --container: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ---------- Üst yardımcı bar ---------- */
.topbar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  font-size: 0.8rem;
}
.topbar-inner {
  display: flex; justify-content: flex-end; gap: 22px;
  padding: 7px 0;
}
.topbar a { color: var(--muted); display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.topbar a:hover { color: var(--accent-text); }
.topbar .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- Ana başlık (header) ---------- */
.header { background: var(--bg); position: sticky; top: 0; z-index: 90; border-bottom: 1px solid var(--border); }
.header-inner {
  display: flex; align-items: center; gap: 20px;
  padding: 14px 0;
}
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; letter-spacing: -0.02em; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--sun) 100%);
  display: grid; place-items: center; color: #fff; font-size: 1.15rem; font-weight: 800;
  box-shadow: var(--shadow-sm);
}
.logo em { font-style: normal; color: var(--accent); }

.search-box { flex: 1; position: relative; }
.search-box input {
  width: 100%; padding: 13px 46px 13px 48px;
  border: 1.5px solid var(--border-strong); border-radius: var(--r-full);
  background: var(--bg-2); font: 0.95rem var(--font-body); color: var(--text);
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.search-box input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent); }
.search-box .search-ic { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--dim); }
.search-box .go { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.h-action { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 0.72rem; color: var(--muted); position: relative; }
.h-action .ic { font-size: 1.3rem; line-height: 1; }
.h-action:hover { color: var(--accent-text); }
.h-action .badge {
  position: absolute; top: -6px; right: -10px;
  min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--accent); color: #fff; border-radius: var(--r-full);
  font-size: 0.68rem; font-weight: 700; display: grid; place-items: center;
  font-family: var(--font-mono);
}
.delivery { text-align: right; font-size: 0.7rem; color: var(--dim); }
.delivery strong { display: block; font-size: 0.78rem; color: var(--text); letter-spacing: .06em; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent-2); color: #fff; display: grid; place-items: center;
  font-weight: 700; font-size: 0.9rem; font-family: var(--font-display);
}

/* ---------- Kategori şeridi ---------- */
.catnav { background: var(--bg); border-bottom: 1px solid var(--border); }
.catnav-inner { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.catnav-inner::-webkit-scrollbar { display: none; }
.cat {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  min-width: 92px; padding: 8px 10px; border-radius: var(--r-md);
  font-size: 0.76rem; font-weight: 600; text-align: center; color: var(--muted);
  transition: background .2s var(--ease-out), color .2s;
}
.cat .em { font-size: 1.7rem; line-height: 1; filter: saturate(.9); }
.cat:hover, .cat.active { background: var(--surface-2); color: var(--accent-text); }

/* ---------- Kampanya şeridi + sayaç ---------- */
.camp-strip {
  margin: 18px 0 0;
  background: linear-gradient(90deg, color-mix(in srgb, var(--pink) 28%, var(--bg)), color-mix(in srgb, var(--sun) 34%, var(--bg)));
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  border-radius: var(--r-md); padding: 12px 22px;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  font-family: var(--font-display); font-weight: 700;
}
.countdown { display: flex; gap: 6px; align-items: center; }
.countdown span {
  background: var(--bg-2); border: 1px solid var(--border-strong); border-radius: 8px;
  padding: 3px 9px; font-family: var(--font-mono); font-size: 0.95rem; min-width: 40px; text-align: center;
}

/* ---------- Hero slider ---------- */
.hero { margin-top: 18px; position: relative; overflow: hidden; border-radius: var(--r-xl); }
.hero-track { display: flex; transition: transform .6s var(--ease-out); }
.hero-slide { min-width: 100%; padding: 56px 60px; min-height: 320px; display: flex; flex-direction: column; justify-content: center; gap: 14px; position: relative; }
.hero-slide.s1 { background: linear-gradient(120deg, var(--accent) 0%, color-mix(in srgb, var(--accent) 55%, var(--pink)) 100%); color: #fff; }
.hero-slide.s2 { background: linear-gradient(120deg, var(--accent-2-deep) 0%, var(--accent-2) 100%); color: #fff; }
.hero-slide.s3 { background: linear-gradient(120deg, color-mix(in srgb, var(--sun) 88%, #fff) 0%, color-mix(in srgb, var(--sun) 55%, var(--pink) 20%) 100%); color: var(--accent-ink); }
.hero-slide h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3.4vw, 2.6rem); letter-spacing: -0.02em; line-height: 1.15; }
.hero-slide p { max-width: 520px; font-size: 1.02rem; opacity: .92; }
.hero-cta {
  align-self: flex-start; margin-top: 8px; padding: 11px 26px;
  background: var(--bg-2); color: var(--accent-text); border-radius: var(--r-full);
  font-weight: 700; font-size: 0.92rem; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease-spring);
}
.hero-cta:hover { transform: translateY(-2px); }
.hero-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.hero-dots button { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.5); transition: all .3s; }
.hero-dots button.on { background: #fff; width: 26px; border-radius: var(--r-full); }

/* ---------- Bölüm başlıkları ---------- */
.section { margin: 40px 0; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.sec-head h2 { font-family: var(--font-display); font-size: 1.45rem; letter-spacing: -0.015em; display: flex; align-items: center; gap: 10px; }
.sec-head h2 .streak { font-size: 1.25rem; }
.sec-head .all { color: var(--accent-text); font-weight: 700; font-size: 0.88rem; }
.sec-head .all:hover { text-decoration: underline; }

/* ---------- Ürün kartı ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
.card {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s;
  position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card-media {
  aspect-ratio: 1; background: var(--bg-3);
  display: grid; place-items: center; font-size: 3.4rem; position: relative;
}
.card-media .tag {
  position: absolute; top: 10px; left: 10px; padding: 4px 10px;
  background: var(--accent-2); color: #fff; border-radius: var(--r-full);
  font-size: 0.68rem; font-weight: 700; letter-spacing: .04em;
}
.card-media .tag.hot { background: var(--accent); }
.card-media .tag.deal { background: var(--sun); color: var(--accent-ink); }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-brand { font-size: 0.68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); font-family: var(--font-label, var(--font-body)); }
.card-title { font-size: 0.9rem; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.card-rating { font-size: 0.76rem; color: var(--muted); }
.card-rating b { color: var(--text); }
.card-price-row { margin-top: auto; display: flex; flex-direction: column; gap: 3px; }
.price-old { font-size: 0.78rem; color: var(--dim); text-decoration: line-through; }
.price-old b { color: var(--danger); text-decoration: none; margin-right: 6px; font-family: var(--font-mono); }
.price { font-family: var(--font-display); font-weight: 800; font-size: 1.08rem; }
.price-basket { font-size: 0.7rem; color: var(--muted); letter-spacing: .05em; }
.price-basket b { color: var(--accent-2-deep); font-size: 0.92rem; }
.card-add {
  margin-top: 10px; padding: 9px; border-radius: var(--r-sm);
  border: 1.5px solid var(--accent); color: var(--accent-text); font-weight: 700; font-size: 0.84rem;
  transition: all .2s;
}
.card-add:hover { background: var(--accent); color: #fff; }

/* ---------- Marka vitrini ---------- */
.brand-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.brand-tile {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 18px 10px; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 0.92rem;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: transform .25s var(--ease-spring), box-shadow .25s;
}
.brand-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.brand-tile .b-em { font-size: 1.9rem; }
.brand-tile small { font-weight: 500; color: var(--dim); font-size: 0.7rem; }

/* ---------- Vitrin kategorileri (D karoları) ---------- */
.showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.show-tile {
  border-radius: var(--r-lg); padding: 26px; min-height: 130px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  font-family: var(--font-display); color: #fff; position: relative; overflow: hidden;
}
.show-tile h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
.show-tile small { opacity: .85; font-family: var(--font-body); font-weight: 500; }
.show-tile::after { content: ''; position: absolute; right: -30px; top: -30px; width: 130px; height: 130px; border-radius: 50%; background: rgba(255,255,255,.14); }
.show-tile:hover { filter: brightness(1.04); }
.st-1 { background: linear-gradient(135deg, var(--accent), var(--accent-text)); }
.st-2 { background: linear-gradient(135deg, var(--accent-2), var(--accent-2-deep)); }
.st-3 { background: linear-gradient(135deg, var(--pink), #E0559F); }
.st-4 { background: linear-gradient(135deg, var(--sun), #E89B3C); color: var(--accent-ink); }
.st-5 { background: linear-gradient(135deg, #6C5CE7, #4834B8); }
.st-6 { background: linear-gradient(135deg, #2E86C1, #1B5E8F); }

/* ---------- SEO / tanıtım bloğu ---------- */
.seo-block {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 34px 38px; margin: 46px 0;
}
.seo-block h1 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 12px; letter-spacing: -0.015em; }
.seo-block p { color: var(--muted); font-size: 0.95rem; max-width: 860px; }
.seo-block p b { color: var(--text); }
.seo-block .more { color: var(--accent-text); font-weight: 700; font-size: 0.85rem; margin-top: 10px; display: inline-block; }

/* ---------- Popüler aramalar ---------- */
.pop-searches { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 8px 18px; border-radius: var(--r-full); background: var(--bg-2);
  border: 1px solid var(--border-strong); font-size: 0.86rem; font-weight: 600; color: var(--muted);
  transition: all .2s;
}
.chip:hover { border-color: var(--accent); color: var(--accent-text); background: color-mix(in srgb, var(--accent) 8%, var(--bg-2)); }

/* ---------- Sayfalama ---------- */
.pagination button {
  min-width: 38px; height: 38px; padding: 0 12px; border-radius: var(--r-sm);
  border: 1px solid var(--border-strong); background: var(--bg-2);
  font-family: var(--font-mono); font-size: 0.9rem; color: var(--muted); transition: all .2s;
}
.pagination button:hover:not(:disabled) { border-color: var(--accent); color: var(--accent-text); }
.pagination button.on { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; }
.pagination button:disabled { opacity: .4; cursor: default; }

/* ---------- Giriş tanıtım paneli ---------- */
.auth-wrap { max-width: 900px; }
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.auth-grid .auth-card { border: none; border-radius: 0; box-shadow: none; }
.auth-side {
  background: linear-gradient(150deg, var(--accent) 0%, color-mix(in srgb, var(--accent) 45%, var(--pink) 35%) 100%);
  color: #fff; padding: 40px 36px; display: flex; flex-direction: column; gap: 14px; justify-content: center;
}
.auth-side h2 { font-family: var(--font-display); font-size: 1.7rem; line-height: 1.2; letter-spacing: -0.02em; }
.auth-side p { opacity: .92; font-size: 0.95rem; }
.auth-side .perks { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; font-size: 0.9rem; font-weight: 600; }
.auth-side .perks span { display: flex; gap: 10px; align-items: center; }
@media (max-width: 760px) { .auth-grid { grid-template-columns: 1fr; } .auth-side { display: none; } }

/* ---------- Soru-cevap ---------- */
.qa-item { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-md); padding: 16px 20px; margin-bottom: 10px; }
.qa-item .q { font-weight: 700; font-size: 0.92rem; margin-bottom: 6px; }
.qa-item .q::before { content: 'S: '; color: var(--accent-text); }
.qa-item .a { font-size: 0.9rem; color: var(--muted); }
.qa-item .a::before { content: 'C: '; color: var(--accent-2-deep); font-weight: 700; }

/* ---------- Sayfa giriş (breadcrumb) ---------- */
.breadcrumb { display: flex; gap: 8px; align-items: center; padding: 18px 0 0; font-size: 0.82rem; color: var(--dim); flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--accent-text); }
.breadcrumb .sep { opacity: .5; }

/* ---------- Keşfet düzeni ---------- */
.listing { display: grid; grid-template-columns: 250px 1fr; gap: 26px; margin: 22px 0 50px; align-items: start; }
.filters { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px; position: sticky; top: 96px; }
.filters h3 { font-family: var(--font-display); font-size: 0.8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin: 18px 0 10px; }
.filters h3:first-child { margin-top: 0; }
.filter-group { display: flex; flex-direction: column; gap: 8px; }
.filter-group label { display: flex; align-items: center; gap: 9px; font-size: 0.88rem; color: var(--muted); cursor: pointer; }
.filter-group input { accent-color: var(--accent); width: 16px; height: 16px; }
.filter-group label:hover { color: var(--text); }
.filter-group label.on { color: var(--accent-text); font-weight: 600; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar .result { font-size: 0.9rem; color: var(--muted); }
.toolbar .result b { color: var(--text); }
.sort { display: flex; gap: 8px; }
.sort button {
  padding: 7px 14px; border-radius: var(--r-full); border: 1px solid var(--border-strong);
  font-size: 0.8rem; font-weight: 600; color: var(--muted); transition: all .2s;
}
.sort button.on { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- Ürün detay ---------- */
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; margin: 24px 0 40px; }
.pdp-gallery { display: flex; flex-direction: column; gap: 14px; }
.pdp-main {
  aspect-ratio: 1; border-radius: var(--r-xl); display: grid; place-items: center; font-size: 7rem;
  border: 1px solid var(--border); background: var(--bg-2);
}
.pdp-thumbs { display: flex; gap: 10px; }
.pdp-thumbs button {
  width: 74px; height: 74px; border-radius: var(--r-md); background: var(--bg-2); border: 1.5px solid var(--border);
  display: grid; place-items: center; font-size: 1.7rem; transition: border-color .2s;
}
.pdp-thumbs button.on, .pdp-thumbs button:hover { border-color: var(--accent); }
.pdp-info h1 { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: -0.02em; line-height: 1.25; }
.pdp-meta { display: flex; align-items: center; gap: 12px; margin: 12px 0 4px; font-size: 0.86rem; color: var(--muted); }
.rate { background: var(--accent-2); color: #fff; font-weight: 700; padding: 3px 10px; border-radius: var(--r-full); font-family: var(--font-mono); font-size: 0.82rem; }
.pdp-price-box {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 22px; margin: 18px 0; display: flex; flex-direction: column; gap: 6px;
}
.pdp-price-box .price { font-size: 1.7rem; }
.pdp-price-box .installment { font-size: 0.85rem; color: var(--accent-2-deep); font-weight: 600; }
.pdp-price-box .points { font-size: 0.8rem; color: var(--dim); }
.attr-table { width: 100%; border-collapse: collapse; margin: 14px 0 20px; font-size: 0.9rem; }
.attr-table td { padding: 9px 4px; border-bottom: 1px dashed var(--border); }
.attr-table td:first-child { color: var(--dim); width: 42%; }
.pdp-actions { display: flex; gap: 12px; }
.btn {
  padding: 14px 28px; border-radius: var(--r-full); font-weight: 700; font-size: 0.98rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform .2s var(--ease-spring), box-shadow .2s, background .2s;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 26px -12px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid var(--border-strong); color: var(--text); background: var(--bg-2); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-text); }
.btn-teal { background: var(--accent-2); color: #fff; }
.btn.full { width: 100%; }
.fav-btn.on { color: var(--danger); border-color: var(--danger); }

.seller-box {
  display: flex; align-items: center; gap: 14px; background: var(--bg-2);
  border: 1px solid var(--border); border-radius: var(--r-md); padding: 14px 18px; margin-top: 16px;
}
.seller-box .sc { font-family: var(--font-display); font-weight: 800; color: var(--accent-2-deep); }
.pdp-tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--border); margin: 34px 0 22px; }
.pdp-tabs button { padding: 12px 22px; font-weight: 700; font-size: 0.94rem; color: var(--dim); border-bottom: 2.5px solid transparent; margin-bottom: -2px; }
.pdp-tabs button.on { color: var(--accent-text); border-color: var(--accent); }
.tab-panel { display: none; }
.tab-panel.on { display: block; }
.tab-panel h2 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 10px; }
.tab-panel p { color: var(--muted); font-size: 0.94rem; max-width: 820px; }
.review {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 18px 20px; margin-bottom: 12px;
}
.review .r-head { display: flex; gap: 10px; align-items: center; font-size: 0.8rem; color: var(--dim); margin-bottom: 8px; }
.review .r-stars { color: var(--sun); }
.review p { color: var(--text); }

/* ---------- Sepet ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 26px; margin: 24px 0 50px; align-items: start; }
.cart-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cart-head h1 { font-family: var(--font-display); font-size: 1.4rem; }
.cart-head .clear { color: var(--danger); font-size: 0.85rem; font-weight: 600; }
.cart-item {
  display: grid; grid-template-columns: 86px 1fr auto; gap: 16px; align-items: center;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 14px 18px; margin-bottom: 12px;
}
.cart-item .ci-media { width: 86px; height: 86px; border-radius: var(--r-md); background: var(--bg-3); display: grid; place-items: center; font-size: 2rem; }
.cart-item h3 { font-size: 0.95rem; font-weight: 600; }
.cart-item .ci-seller { font-size: 0.75rem; color: var(--dim); margin-top: 2px; }
.ci-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.qty { display: flex; align-items: center; gap: 2px; border: 1px solid var(--border-strong); border-radius: var(--r-full); }
.qty button { width: 30px; height: 30px; font-size: 1rem; color: var(--muted); }
.qty button:hover { color: var(--accent-text); }
.qty span { min-width: 26px; text-align: center; font-family: var(--font-mono); font-size: 0.9rem; }
.ci-price { font-family: var(--font-display); font-weight: 800; }
.ci-remove { font-size: 0.74rem; color: var(--dim); }
.ci-remove:hover { color: var(--danger); }
.summary {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 22px; position: sticky; top: 96px;
}
.summary h2 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 14px; }
.summary .row { display: flex; justify-content: space-between; font-size: 0.92rem; color: var(--muted); padding: 7px 0; }
.summary .row.total { border-top: 1px dashed var(--border-strong); margin-top: 10px; padding-top: 14px; color: var(--text); font-weight: 700; font-size: 1.05rem; }
.summary .row.total b { font-family: var(--font-display); font-size: 1.2rem; color: var(--accent-text); }
.summary .btn { margin-top: 16px; }
.cart-empty { text-align: center; padding: 70px 20px; color: var(--muted); }
.cart-empty .big { font-size: 3.4rem; margin-bottom: 12px; }
.cart-empty h2 { font-family: var(--font-display); color: var(--text); margin-bottom: 8px; }

/* ---------- Giriş ---------- */
.auth-wrap { max-width: 460px; margin: 50px auto 70px; }
.auth-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 36px; box-shadow: var(--shadow-sm); }
.auth-card h1 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: .04em; margin-bottom: 7px; color: var(--muted); }
.field input {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--border-strong); border-radius: var(--r-sm);
  font: 0.95rem var(--font-body); background: var(--bg); color: var(--text); outline: none; transition: border-color .2s, box-shadow .2s;
}
.field input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 12%, transparent); }
.auth-links { display: flex; justify-content: space-between; font-size: 0.84rem; margin: 6px 0 20px; }
.auth-links a { color: var(--accent-text); font-weight: 600; }
.auth-alt { text-align: center; color: var(--dim); font-size: 0.82rem; margin: 18px 0 12px; position: relative; }
.auth-alt::before, .auth-alt::after { content: ''; position: absolute; top: 50%; width: 32%; height: 1px; background: var(--border); }
.auth-alt::before { left: 0; } .auth-alt::after { right: 0; }
.auth-note { text-align: center; font-size: 0.85rem; color: var(--muted); margin-top: 20px; }
.auth-note a { color: var(--accent-text); font-weight: 700; }

/* ---------- Hesabım ---------- */
.account-layout { display: grid; grid-template-columns: 260px 1fr; gap: 26px; margin: 24px 0 60px; align-items: start; }
.account-side { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px; }
.account-side .hello { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; margin-bottom: 4px; }
.account-side .mail { font-size: 0.78rem; color: var(--dim); margin-bottom: 18px; word-break: break-all; }
.account-side h4 { font-size: 0.72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin: 16px 0 8px; }
.account-side a { display: block; padding: 8px 10px; border-radius: var(--r-sm); font-size: 0.9rem; color: var(--muted); }
.account-side a:hover, .account-side a.on { background: var(--surface-2); color: var(--accent-text); font-weight: 600; }
.order-card {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 18px 22px; margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.order-card .o-no { font-size: 0.8rem; color: var(--dim); font-family: var(--font-mono); }
.order-card .o-date { font-size: 0.82rem; color: var(--muted); }
.order-card .o-amount { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; }
.order-status { padding: 5px 14px; border-radius: var(--r-full); font-size: 0.76rem; font-weight: 700; }
.order-status.ok { background: color-mix(in srgb, var(--accent-2) 16%, var(--bg-2)); color: var(--accent-2-deep); }
.order-status.cancel { background: color-mix(in srgb, var(--danger) 12%, var(--bg-2)); color: var(--danger); }
.order-status.cargo { background: color-mix(in srgb, var(--sun) 26%, var(--bg-2)); color: var(--accent-ink); }

/* ---------- Footer ---------- */
.footer { background: #241F26; color: #C9C2CE; margin-top: 60px; }
.footer-motto { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 34px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.motto { display: flex; gap: 12px; align-items: center; font-size: 0.88rem; font-weight: 600; color: #EDE7F0; }
.motto .m-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; }
.motto:nth-child(1) .m-ic { background: color-mix(in srgb, var(--accent) 30%, transparent); }
.motto:nth-child(2) .m-ic { background: color-mix(in srgb, var(--accent-2) 30%, transparent); }
.motto:nth-child(3) .m-ic { background: color-mix(in srgb, var(--sun) 30%, transparent); }
.motto:nth-child(4) .m-ic { background: color-mix(in srgb, var(--pink) 30%, transparent); }
.footer-cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr; gap: 26px; padding: 36px 0; }
.footer-cols h4 { font-family: var(--font-display); color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.footer-cols a { display: block; padding: 4px 0; font-size: 0.85rem; color: #A79FAE; transition: color .2s; }
.footer-cols a:hover { color: var(--sun); }
.footer-cols p { font-size: 0.85rem; color: #A79FAE; line-height: 1.7; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 0.8rem; color: #8A8292; flex-wrap: wrap; }
.footer-bottom .legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--sun); }
.social-row { display: flex; gap: 10px; margin-top: 8px; }
.social-row a { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.07); display: grid; place-items: center; font-size: 1rem; }
.social-row a:hover { background: color-mix(in srgb, var(--accent) 40%, transparent); }

/* ---------- Asistan balonu ---------- */
.assistant-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 120;
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-2-deep));
  color: #fff; font-size: 1.5rem; display: grid; place-items: center;
  box-shadow: var(--shadow); transition: transform .25s var(--ease-spring);
}
.assistant-fab:hover { transform: scale(1.08); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: #241F26; color: #fff; padding: 12px 24px; border-radius: var(--r-full);
  font-size: 0.9rem; font-weight: 600; opacity: 0; pointer-events: none; z-index: 200;
  transition: all .35s var(--ease-spring); box-shadow: var(--shadow);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Duyarlılık ---------- */
@media (max-width: 1024px) {
  .grid, .grid.cols-5 { grid-template-columns: repeat(3, 1fr); }
  .brand-row { grid-template-columns: repeat(3, 1fr); }
  .pdp { grid-template-columns: 1fr; }
  .listing { grid-template-columns: 1fr; }
  .filters { position: static; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .account-layout { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .grid, .grid.cols-5 { grid-template-columns: repeat(2, 1fr); }
  .cart-layout { grid-template-columns: 1fr; }
  .showcase { grid-template-columns: 1fr 1fr; }
  .footer-motto { grid-template-columns: 1fr 1fr; }
  .hero-slide { padding: 34px 26px; }
  .header-inner { flex-wrap: wrap; }
  .search-box { order: 3; flex-basis: 100%; }
  .delivery { display: none; }
}
