/* KariyerBil B2B — Enterprise Theme v1.6 */
:root {
  --bg: #eef1f6;
  --bg-deep: #0a0f1c;
  --panel: #ffffff;
  --panel-soft: #f7f8fb;
  --border: #e4e7ee;
  --border-strong: #c9d0dc;
  --text: #0c1222;
  --muted: #5b6577;
  --primary: #1a56db;
  --primary-h: #1243b0;
  --primary-soft: #e8effc;
  --accent: #0d9488;
  --success: #059669;
  --danger: #dc2626;
  --warn: #d97706;
  --shadow: 0 12px 40px rgba(12, 18, 34, .08);
  --shadow-sm: 0 1px 3px rgba(12, 18, 34, .06), 0 4px 12px rgba(12, 18, 34, .04);
  --radius: 16px;
  --radius-sm: 11px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --sidebar: 272px;
  --admin-sidebar: #0b1220;
  --admin-sidebar-2: #111827;
  --admin-accent: #3b82f6;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1,h2,h3 { margin: 0 0 .75rem; font-weight: 700; letter-spacing: -.02em; color: var(--text); }
p { margin: 0 0 1rem; color: var(--muted); }
img { max-width: 100%; height: auto; display: block; }
code, .sku { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  border: 1px solid transparent; border-radius: 10px;
  padding: .62rem 1.1rem; font-weight: 650; font-size: .92rem;
  cursor: pointer; background: #eef2ff; color: var(--text);
  text-decoration: none; transition: .15s ease; line-height: 1.2;
}
.btn:hover { filter: brightness(.98); text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: linear-gradient(180deg, #2563eb, var(--primary)); color: #fff; box-shadow: 0 6px 16px rgba(37,99,235,.25); }
.btn-primary:hover { background: var(--primary-h); color: #fff; }
.btn-danger { background: #fee2e2; color: #991b1b; border-color: #fecaca; }
.btn-success { background: #d1fae5; color: #065f46; }
.btn-ghost { background: transparent; border-color: var(--border); }
.btn-sm { padding: .35rem .7rem; font-size: .82rem; border-radius: 8px; }
.btn-lg { padding: .85rem 1.4rem; font-size: 1.02rem; }

label { display: block; margin: .85rem 0 .35rem; font-size: .86rem; color: var(--muted); font-weight: 600; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=file], input[type=date], select, textarea {
  width: 100%; padding: .72rem .85rem; border-radius: 10px;
  border: 1px solid var(--border-strong); background: #fff; color: var(--text); font: inherit;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: #93c5fd; box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}
textarea { min-height: 110px; resize: vertical; }
.check { display: flex; align-items: center; gap: .55rem; color: var(--text); font-weight: 500; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 900px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

.alert {
  padding: .95rem 1.1rem; border-radius: var(--radius-sm); margin-bottom: 1rem;
  border: 1px solid transparent; font-size: .95rem;
}
.alert-error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.alert-success { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.alert-warn { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.alert-info { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }

table { width: 100%; border-collapse: separate; border-spacing: 0; }
th, td { padding: .85rem .75rem; border-bottom: 1px solid var(--border); text-align: left; font-size: .92rem; vertical-align: middle; }
th {
  color: var(--muted); font-weight: 700; font-size: .75rem; text-transform: uppercase;
  letter-spacing: .04em; background: var(--panel-soft);
}
tr:hover td { background: #fafbff; }
.card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.35rem; margin-bottom: 1rem; box-shadow: var(--shadow-sm);
}
.card h2 { font-size: 1.1rem; margin-bottom: 1rem; }
.badge {
  display: inline-flex; align-items: center; padding: .2rem .55rem; border-radius: 999px;
  font-size: .75rem; font-weight: 700; background: #f1f5f9; color: var(--muted);
}
.badge-ok { background: #d1fae5; color: #065f46; }
.badge-wait { background: #fef3c7; color: #92400e; }
.badge-off { background: #fee2e2; color: #991b1b; }

/* ===== Store pro (public) ===== */
.skip-link { display: none !important; } /* kaldırıldı */

/* Üst kayan / sabit / görsel şerit */
.store-ticker {
  background: var(--ticker-bg, #0b1220);
  color: var(--ticker-color, #e2e8f0);
  overflow: hidden;
  min-height: 36px;
  display: flex;
  align-items: center;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .01em;
  z-index: 60;
  position: relative;
}
.store-ticker a { color: inherit; text-decoration: none; }
.store-ticker a:hover { text-decoration: underline; }
.store-ticker-inner, .store-ticker-fixed {
  width: 100%; max-width: 1180px; margin: 0 auto; padding: .55rem 1.25rem;
  text-align: center;
}
.store-ticker-track { width: 100%; overflow: hidden; white-space: nowrap; }
.store-ticker-marquee {
  display: inline-flex; white-space: nowrap;
  animation: tickerScroll var(--ticker-speed, 40s) linear infinite;
}
.store-ticker-marquee span { display: inline-block; padding-right: 3rem; }
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.store-ticker--image { min-height: 0; padding: 0; }
.store-ticker-img-link, .store-ticker--image { display: block; width: 100%; line-height: 0; }
.store-ticker-img {
  width: 100%; height: auto; max-height: 100px; object-fit: cover; display: block;
}

.store-header {
  background: rgba(255,255,255,.94); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50;
  padding: .75rem 1.25rem; box-shadow: 0 4px 20px rgba(15,23,42,.04);
}
.store-header-inner {
  max-width: 1180px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.store-header .brand {
  font-weight: 800; font-size: 1.15rem; color: var(--text); text-decoration: none;
  display: flex; align-items: center; gap: .65rem;
}
.store-header .brand:hover { text-decoration: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.05rem; letter-spacing: -.02em; }
.brand-text small { font-size: .7rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, #1d4ed8, #0f766e); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .95rem;
  box-shadow: 0 6px 14px rgba(29,78,216,.28);
}
.store-nav { display: flex; gap: .3rem; align-items: center; flex-wrap: wrap; }
.store-nav a {
  color: #334155; text-decoration: none; font-size: .9rem; font-weight: 650;
  padding: .5rem .8rem; border-radius: 9px;
}
.store-nav a:hover, .store-nav a.active { background: var(--primary-soft); color: var(--primary); text-decoration: none; }
.nav-toggle {
  display: none; border: 1px solid var(--border); background: #fff; border-radius: 10px;
  padding: .5rem .7rem; font-weight: 700; cursor: pointer;
}
@media (max-width: 800px) {
  .nav-toggle { display: inline-flex; }
  .store-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; }
  .store-nav.open { display: flex; }
  .store-header-inner { flex-wrap: wrap; }
}

/* Home slider — tam genişlik (sağdan sola ekranı kaplar) */
.home-slider, .home-slider-fullbleed {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: -1.25rem;
  margin-bottom: 1.75rem;
  border-radius: 0;
  overflow: hidden;
  background: #0b1220;
  min-height: clamp(300px, 48vw, 560px);
}
.home-slider-track { position: relative; min-height: inherit; }
.home-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .55s ease, visibility .55s;
  display: flex; align-items: center;
}
.home-slide.is-active { opacity: 1; visibility: visible; position: relative; min-height: inherit; }
.home-slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.02);
}
.home-slide-bg--fallback {
  background:
    radial-gradient(900px 400px at 10% -10%, rgba(37,99,235,.35), transparent 55%),
    radial-gradient(700px 300px at 90% 0%, rgba(15,118,110,.28), transparent 50%),
    linear-gradient(135deg, #0b1220 0%, #1e3a8a 55%, #0f766e 100%);
}
.home-slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11,18,32,.82) 0%, rgba(11,18,32,.45) 55%, rgba(11,18,32,.2) 100%);
}
.home-slide-content {
  position: relative; z-index: 2; max-width: 1180px; margin: 0 auto;
  padding: 3rem 1.5rem; width: 100%; color: #fff;
}
.home-slide-content h1 {
  color: #fff; font-size: clamp(1.7rem, 4vw, 2.75rem); line-height: 1.12;
  margin: 0 0 .75rem; max-width: 16ch; text-shadow: 0 2px 20px rgba(0,0,0,.25);
}
.home-slide-content p {
  color: #cbd5e1; font-size: 1.08rem; max-width: 34rem; margin: 0 0 1.25rem;
}
.home-slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.92); color: #0f172a; font-size: 1.5rem;
  cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.18); line-height: 1;
}
.home-slider-btn:hover { background: #fff; }
.home-slider-prev { left: .75rem; }
.home-slider-next { right: .75rem; }
.home-slider-dots {
  position: absolute; bottom: 1rem; left: 0; right: 0; z-index: 3;
  display: flex; justify-content: center; gap: .4rem;
}
.home-slider-dot {
  width: 9px; height: 9px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.4); cursor: pointer; padding: 0;
}
.home-slider-dot.is-active { background: #fff; width: 22px; border-radius: 999px; }

/* Kampanya */
.home-campaign {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  border-radius: 18px; overflow: hidden; margin-bottom: 1.75rem;
  background: var(--camp-bg, #1e3a8a); color: #fff;
  box-shadow: var(--shadow);
}
@media (max-width: 800px) { .home-campaign { grid-template-columns: 1fr; } }
.home-campaign-media { min-height: 180px; background: rgba(0,0,0,.15); }
.home-campaign-media img { width: 100%; height: 100%; object-fit: cover; min-height: 180px; }
.home-campaign-body { padding: 1.6rem 1.75rem; display: flex; flex-direction: column; justify-content: center; }
.home-campaign-body h2 { color: #fff; margin: 0 0 .5rem; font-size: 1.45rem; }
.home-campaign-body p { color: rgba(255,255,255,.88); margin: 0 0 1rem; }
.home-campaign-btn {
  align-self: flex-start; background: #fff !important; color: #0f172a !important;
  box-shadow: none !important;
}
.home-campaign:not(:has(.home-campaign-media)) {
  grid-template-columns: 1fr;
}

.hero, .hero-pro {
  background:
    radial-gradient(900px 400px at 10% -10%, rgba(37,99,235,.22), transparent 55%),
    radial-gradient(700px 300px at 90% 0%, rgba(15,118,110,.18), transparent 50%),
    linear-gradient(180deg, #0b1220 0%, #111827 100%);
  color: #e2e8f0; border-radius: 0 0 28px 28px; margin: -1.25rem -1rem 1.5rem;
  width: calc(100% + 2rem); max-width: none;
}
.hero-inner {
  max-width: 1180px; margin: 0 auto; padding: 3.2rem 1.25rem 3.5rem;
  display: grid; grid-template-columns: 1.3fr .9fr; gap: 2rem; align-items: center;
}
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; padding-top: 2rem; } }
.hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.15; margin-bottom: .8rem; }
.hero p { color: #94a3b8; font-size: 1.05rem; max-width: 36rem; }
.hero-btn-ghost { background: rgba(255,255,255,.1) !important; color: #fff !important; border-color: rgba(255,255,255,.2) !important; }
.hero-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px; padding: 1.25rem; backdrop-filter: blur(8px);
}
.hero-card .stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.hero-card .mini { background: rgba(255,255,255,.06); border-radius: 12px; padding: .85rem; }
.hero-card .mini b { display: block; color: #fff; font-size: 1.2rem; }
.hero-card .mini span { color: #94a3b8; font-size: .8rem; }

.store-body { max-width: 1180px; margin: 0 auto; padding: 1.25rem 1rem 3.5rem; }
.section-head {
  display: flex; justify-content: space-between; align-items: end; gap: 1rem;
  margin: 1.5rem 0 1rem; flex-wrap: wrap;
}
.section-head h2 { margin: 0; font-size: 1.35rem; }
.cat-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.cat-pill {
  display: inline-flex; padding: .45rem .9rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--border); color: #334155;
  font-weight: 650; font-size: .88rem; text-decoration: none;
  transition: .15s;
}
.cat-pill:hover { border-color: #93c5fd; color: var(--primary); background: #eff6ff; text-decoration: none; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.1rem; }
.product-card {
  position: relative;
  background: var(--panel); border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; display: flex; flex-direction: column; color: inherit; text-decoration: none;
  box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; color: inherit; }
.product-card .thumb {
  aspect-ratio: 1; background: linear-gradient(180deg, #f1f5f9, #e2e8f0);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .body { padding: 1rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.product-card h3 { font-size: 1rem; margin: 0; line-height: 1.3; }
.product-card .price { font-weight: 800; color: var(--primary); font-size: 1.15rem; }

/* Admin storefront */
.sf-preview-bar { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin: .5rem 0; background: #0b1220; }
.sf-preview-bar img { width: 100%; max-height: 80px; object-fit: cover; display: block; }
.sf-preview-slide { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin: .5rem 0 0; aspect-ratio: 16/6; background: #f1f5f9; }
.sf-preview-slide img { width: 100%; height: 100%; object-fit: cover; }
.sf-preview-empty { display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: .85rem; }
.sf-slide-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; }
.sf-slide-item { border: 1px solid var(--border); border-radius: 14px; padding: 1rem; background: #fafbff; }
.sf-slide-item-grid { display: grid; grid-template-columns: 220px 1fr; gap: 1rem; }
@media (max-width: 700px) { .sf-slide-item-grid { grid-template-columns: 1fr; } }
.product-detail {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 1.5rem;
}
@media (max-width: 900px) { .product-detail { grid-template-columns: 1fr; } }
.gallery-wrap { display: flex; flex-direction: column; gap: .65rem; }
.product-detail .gallery {
  background: #fff; border: 1px solid var(--border); border-radius: 18px; overflow: hidden;
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
}
.product-detail .gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: .45rem;
}
.gallery-thumb {
  border: 2px solid var(--border); border-radius: 10px; padding: 0; overflow: hidden;
  background: #fff; cursor: pointer; aspect-ratio: 1; display: block;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb:hover { border-color: #93c5fd; }
.gallery-thumb.active { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(37,99,235,.2); }

.store-footer {
  background: var(--bg-deep); color: #94a3b8; margin-top: 2rem;
  padding: 2.5rem 1rem 1.5rem;
}
.store-footer-inner {
  max-width: 1180px; margin: 0 auto; display: grid;
  grid-template-columns: 1.4fr 1fr 1fr; gap: 1.5rem;
}
@media (max-width: 800px) { .store-footer-inner { grid-template-columns: 1fr; } }
.store-footer h4 { color: #fff; margin: 0 0 .7rem; font-size: .95rem; }
.store-footer a { color: #cbd5e1; display: block; margin: .3rem 0; font-size: .9rem; }
.footer-copy {
  max-width: 1180px; margin: 1.5rem auto 0; padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.08); font-size: .8rem; color: #64748b;
}

/* ===== App shell (admin / customer) ===== */
.app-shell { display: grid; grid-template-columns: var(--sidebar) 1fr; min-height: 100vh; }
.sidebar {
  background: linear-gradient(180deg, #0b1220 0%, #111827 100%);
  color: #cbd5e1; padding: 1.25rem 1rem; position: sticky; top: 0; height: 100vh; overflow: auto;
}
.sidebar .logo { font-weight: 800; font-size: 1.05rem; color: #fff; letter-spacing: -.02em; }
.sidebar .sub { color: #64748b; font-size: .75rem; margin: .2rem 0 1.25rem; }
.sidebar nav a {
  display: flex; align-items: center; gap: .55rem;
  padding: .62rem .8rem; border-radius: 10px; color: #94a3b8;
  margin-bottom: .2rem; text-decoration: none; font-weight: 600; font-size: .9rem;
}
.sidebar nav a:hover, .sidebar nav a.active {
  background: rgba(37,99,235,.18); color: #fff;
}
.sidebar .nav-label {
  font-size: .68rem; text-transform: uppercase; letter-spacing: .08em;
  color: #475569; margin: 1rem 0 .4rem .8rem; font-weight: 700;
}
.main { padding: 1.35rem 1.5rem 2.5rem; }
.topbar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.2rem; gap: 1rem; flex-wrap: wrap;
}
.topbar h1 { margin: 0; font-size: 1.45rem; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .85rem; margin-bottom: 1.2rem; }
.stat {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.05rem 1.1rem; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.stat::after {
  content: ""; position: absolute; right: -10px; top: -10px; width: 60px; height: 60px;
  border-radius: 50%; background: var(--primary-soft); opacity: .7;
}
.stat .n { font-size: 1.45rem; font-weight: 800; letter-spacing: -.03em; }
.stat .l { color: var(--muted); font-size: .8rem; font-weight: 600; margin-top: .15rem; }

.auth-wrap { max-width: 440px; margin: 4.5rem auto; padding: 0 1rem; }
.auth-brand { text-align: center; margin-bottom: 1.25rem; }
.auth-brand h1 { font-size: 1.5rem; }
.auth-card {
  background: #fff; border: 1px solid var(--border); border-radius: 18px;
  padding: 1.5rem; box-shadow: var(--shadow);
}

.thumb-sm { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: #e2e8f0; }
.actions { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.form-actions { margin-top: 1.25rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.empty { color: var(--muted); padding: 2rem; text-align: center; }
.hint { font-size: .85rem; color: var(--muted); margin-top: .6rem; }
.footer-note { text-align: center; color: var(--muted); font-size: .75rem; margin-top: 2rem; padding: 1rem; }

/* Install kept compatible */
.install-body { background: radial-gradient(1000px 500px at 15% -10%, #dbeafe, transparent 50%), var(--bg); }
.install-wrap { max-width: 560px; margin: 3rem auto; padding: 0 1rem; }
.install-brand { text-align: center; margin-bottom: 1.5rem; }
.install-steps { display: flex; justify-content: center; gap: .5rem; margin-bottom: 1.25rem; }
.install-steps .step {
  width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--border); color: var(--muted); font-weight: 700; font-size: .85rem;
}
.install-steps .step.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.install-steps .step.done { background: #d1fae5; border-color: #6ee7b7; color: #065f46; }
.install-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem; box-shadow: var(--shadow); }
.summary { padding-left: 1.1rem; color: var(--text); }
.token { word-break: break-all; display: block; margin: .5rem 0; padding: .5rem; background: #f8fafc; border-radius: 6px; }

@media (max-width: 900px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: relative; height: auto; }
}

.skip-link:focus { left: 1rem; top: 1rem; z-index: 100; background: #fff; padding: .5rem 1rem; }
.log-box {
  background: #0b1220; color: #a7f3d0; border-radius: 12px; padding: 1rem;
  font-family: ui-monospace, monospace; font-size: .78rem; max-height: 320px; overflow: auto; white-space: pre-wrap;
}
.pill-tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1rem; }
.pill-tabs a {
  padding: .4rem .8rem; border-radius: 999px; background: #fff; border: 1px solid var(--border);
  color: var(--muted); font-weight: 600; font-size: .85rem; text-decoration: none;
}
.pill-tabs a.active, .pill-tabs a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ===== Profesyonel ürün editörü ===== */
.product-editor { margin-bottom: 2rem; }
.pe-toolbar {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem;
  margin-bottom: 1rem; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.1rem 1.25rem; box-shadow: var(--shadow-sm);
}
.pe-kicker { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.pe-title { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; margin: .15rem 0; }
.pe-tabs {
  display: flex; gap: .35rem; flex-wrap: wrap; margin-bottom: 1rem;
  background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: .45rem;
  box-shadow: var(--shadow-sm); position: sticky; top: .5rem; z-index: 20;
}
.pe-tab {
  border: 0; background: transparent; color: var(--muted); font-weight: 700; font-size: .86rem;
  padding: .65rem .95rem; border-radius: 10px; cursor: pointer; font-family: inherit;
}
.pe-tab:hover { background: #f1f5f9; color: var(--text); }
.pe-tab.active { background: linear-gradient(180deg, #2563eb, #1d4ed8); color: #fff; box-shadow: 0 6px 14px rgba(37,99,235,.25); }
.pe-panel { display: none; }
.pe-panel.active { display: block; animation: peIn .18s ease; }
@keyframes peIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.pe-grid-main { display: grid; grid-template-columns: 1.4fr .7fr; gap: 1.5rem; }
@media (max-width: 900px) {
  .pe-grid-main { grid-template-columns: 1fr; }
  .pe-tabs { position: static; }
}
.pe-media-box {
  border: 1px dashed var(--border-strong); border-radius: 14px; background: #f8fafc;
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: .75rem;
}
.pe-media-box img { width: 100%; height: 100%; object-fit: cover; }
.pe-gallery-grid, .pe-gallery-preview {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: .65rem; margin-top: .75rem;
}
.pe-gallery-item {
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #fff;
}
.pe-gallery-item img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: #f1f5f9; }
.pe-gallery-meta {
  display: flex; justify-content: space-between; gap: .35rem; padding: .4rem .5rem; font-size: .78rem; flex-wrap: wrap;
}
.pe-gallery-item--new { border-style: dashed; border-color: #93c5fd; }
.card-inset {
  background: #f8fafc; border: 1px solid var(--border); border-radius: 14px; padding: 1rem 1.1rem; margin-bottom: .5rem;
}
.var-matrix-h { display: flex; flex-direction: column; gap: .2rem; margin-bottom: .75rem; }
.matrix-axis { margin-bottom: .65rem; padding-bottom: .65rem; border-bottom: 1px solid var(--border); }
.matrix-axis:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .85rem; }
.price-card {
  border: 1px solid var(--border); border-radius: 12px; padding: 1rem; background: #fafbff;
}
.price-card-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; gap: .5rem; }
.attr-row { margin-bottom: .75rem; padding-bottom: .75rem; border-bottom: 1px solid var(--border); }
.table-wrap { overflow-x: auto; }
.var-table input[type=text] { min-width: 110px; padding: .5rem .55rem; font-size: .88rem; }
.var-table th { white-space: nowrap; }
.var-table .var-price-inp { min-width: 72px; max-width: 100px; text-align: right; font-variant-numeric: tabular-nums; }
.var-table .var-price-inp::placeholder { color: #cbd5e1; }
.channel-grid { display: grid; gap: .75rem; }
.channel-card {
  display: flex; gap: .85rem; align-items: flex-start; padding: 1rem 1.1rem;
  border: 1px solid var(--border); border-radius: 12px; background: #fff; cursor: pointer;
}
.channel-card:hover { border-color: #93c5fd; background: #f8fbff; }
.channel-card input { margin-top: .25rem; width: 18px; height: 18px; }
.channel-card strong { display: block; margin-bottom: .2rem; }
.channel-card span { color: var(--muted); font-size: .88rem; font-weight: 500; }
.pe-footer-actions {
  display: flex; justify-content: flex-end; gap: .6rem; margin-top: 1rem;
  position: sticky; bottom: .75rem; background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border: 1px solid var(--border); border-radius: 14px; padding: .75rem 1rem; box-shadow: var(--shadow);
}
.spec-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.spec-list li {
  display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0;
  border-bottom: 1px solid var(--border); font-size: .92rem;
}
.spec-list li span:first-child { color: var(--muted); font-weight: 600; }

/* Tema seçici (ayarlar) */
.theme-pick {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .65rem; margin: .75rem 0 1rem;
}
.theme-card {
  display: flex; flex-direction: column; gap: .25rem; padding: .9rem 1rem;
  border: 2px solid var(--border); border-radius: 12px; background: #fff; cursor: pointer;
}
.theme-card input { margin-bottom: .25rem; }
.theme-card strong { font-size: .95rem; }
.theme-card span { color: var(--muted); font-size: .8rem; font-weight: 500; }
.theme-card:hover { border-color: #93c5fd; }
.theme-card.active { border-color: var(--primary); background: var(--primary-soft); }

/* =========================================================
   v1.6 Enterprise Admin + Store polish
   ========================================================= */
.btn {
  border-radius: 11px; font-weight: 650; letter-spacing: -.01em;
  box-shadow: none; transition: background .15s, box-shadow .15s, transform .12s, border-color .15s;
}
.btn-primary {
  background: linear-gradient(180deg, #2563eb 0%, #1a56db 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 8px 18px rgba(26,86,219,.22);
}
.btn-primary:hover { background: linear-gradient(180deg, #1d4ed8, #1243b0); }
.card {
  border: 1px solid rgba(15,23,42,.06);
  box-shadow: var(--shadow-sm);
  border-radius: 16px;
}
.card-head {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  margin-bottom: 1rem; flex-wrap: wrap;
}
.card-head h2 { margin: 0; font-size: 1.05rem; }
.card-soft {
  background: linear-gradient(135deg, #fff 0%, #f4f7fc 100%);
  border: 1px solid var(--border); border-radius: 16px;
  padding: 1.15rem 1.35rem; margin-bottom: 1.1rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.card-table { padding: 0; overflow: hidden; }
.card-table .card-head { padding: 1.1rem 1.25rem .2rem; margin: 0; }
.card-table .empty { padding: 2rem 1.25rem; }
.card-table .table-wrap { padding: 0 0 .25rem; }

table.table-pro th {
  background: #f4f6fa; border-bottom: 1px solid var(--border);
  position: sticky; top: 0;
}
table.table-pro td { padding: .9rem .85rem; }
table.table-pro tr:last-child td { border-bottom: 0; }
table.table-pro tr:hover td { background: #f8faff; }
.td-strong { font-weight: 700; }
.td-muted { color: var(--muted); font-size: .88rem; }

/* —— Admin shell —— */
.admin-body { background: var(--bg); }
.admin-shell { background: var(--bg); }
.admin-sidebar {
  background: linear-gradient(175deg, #0a0f1c 0%, #111827 48%, #0f172a 100%) !important;
  border-right: 1px solid rgba(255,255,255,.05);
  padding: 0 !important;
  display: flex; flex-direction: column;
  width: var(--sidebar);
}
.sidebar-brand {
  display: flex; align-items: center; gap: .75rem;
  padding: 1.15rem 1.1rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.brand-mark-sm {
  width: 38px; height: 38px; border-radius: 11px; font-size: .85rem;
  flex-shrink: 0; box-shadow: 0 8px 18px rgba(37,99,235,.35);
}
.admin-sidebar .logo { font-size: .98rem; line-height: 1.2; }
.admin-sidebar .sub { margin: .15rem 0 0; color: #64748b; font-size: .72rem; }
.sidebar-nav {
  flex: 1; overflow: auto; padding: .75rem .7rem 1rem;
  scrollbar-width: thin;
}
.admin-sidebar .nav-label {
  font-size: .65rem; letter-spacing: .1em; color: #475569;
  margin: .95rem .55rem .35rem; font-weight: 700;
}
.admin-sidebar nav a,
.admin-sidebar .sidebar-nav a {
  display: flex; align-items: center; gap: .65rem;
  padding: .62rem .75rem; border-radius: 11px; color: #94a3b8;
  margin-bottom: .15rem; text-decoration: none; font-weight: 600; font-size: .88rem;
  border: 1px solid transparent; transition: .14s ease;
}
.admin-sidebar .sidebar-nav a:hover {
  background: rgba(255,255,255,.05); color: #e2e8f0; text-decoration: none;
}
.admin-sidebar .sidebar-nav a.active {
  background: linear-gradient(90deg, rgba(37,99,235,.28), rgba(37,99,235,.08));
  color: #fff; border-color: rgba(59,130,246,.25);
  box-shadow: 0 0 0 1px rgba(59,130,246,.08);
}
.nav-ico {
  width: 1.35rem; display: inline-flex; justify-content: center;
  opacity: .85; font-size: .9rem; flex-shrink: 0;
}
.nav-logout { color: #fca5a5 !important; }
.nav-logout:hover { background: rgba(220,38,38,.12) !important; color: #fecaca !important; }

.sidebar-foot {
  padding: .85rem 1rem 1rem;
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.15);
}
.sidebar-user {
  display: flex; align-items: center; gap: .65rem; margin-bottom: .55rem;
}
.sidebar-user strong { display: block; color: #f1f5f9; font-size: .86rem; font-weight: 700; }
.sidebar-user small { color: #64748b; font-size: .72rem; }
.avatar {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, #2563eb, #0f766e);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .78rem; flex-shrink: 0;
}
.sidebar-ver { color: #475569; font-size: .68rem; padding-left: .15rem; }

.admin-main {
  padding: 0 !important;
  min-width: 0;
  display: flex; flex-direction: column; min-height: 100vh;
}
.admin-topbar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
  padding: 1rem 1.5rem;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 30;
}
.admin-topbar-left { display: flex; align-items: center; gap: .85rem; min-width: 0; }
.admin-topbar h1 {
  margin: 0; font-size: 1.28rem; letter-spacing: -.025em; line-height: 1.2;
}
.admin-crumb {
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--muted); margin-bottom: .1rem;
}
.admin-menu-btn {
  display: none; border: 1px solid var(--border); background: #fff;
  border-radius: 10px; width: 40px; height: 40px; font-size: 1.1rem; cursor: pointer;
}
.admin-content { padding: 1.25rem 1.5rem 1rem; flex: 1; }
.admin-main .footer-note { margin-top: auto; }

/* Dashboard */
.dash-welcome .dash-hello { margin: .15rem 0 .25rem; font-size: 1.35rem; }
.stats-pro {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .85rem; margin-bottom: 1.2rem;
}
@media (max-width: 1100px) { .stats-pro { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .stats-pro { grid-template-columns: 1fr 1fr; } }
.stats-pro .stat {
  display: flex; align-items: center; gap: .85rem;
  padding: 1.05rem 1.1rem; border-radius: 16px;
  background: #fff; border: 1px solid rgba(15,23,42,.06);
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.stats-pro .stat::after { display: none; }
.stat-ico {
  width: 42px; height: 42px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.05rem; font-weight: 700; flex-shrink: 0;
  background: var(--primary-soft); color: var(--primary);
}
.stat-a .stat-ico { background: #e8effc; color: #1a56db; }
.stat-b .stat-ico { background: #d1fae5; color: #047857; }
.stat-c .stat-ico { background: #ede9fe; color: #6d28d9; }
.stat-d .stat-ico { background: #fef3c7; color: #b45309; }
.stat-e .stat-ico { background: #cffafe; color: #0e7490; }
.stats-pro .stat .n { font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.stats-pro .stat .n-sm { font-size: 1.05rem; }
.stats-pro .stat .l { color: var(--muted); font-size: .78rem; font-weight: 650; margin-top: .2rem; }

/* Auth pro */
.auth-body {
  min-height: 100vh; margin: 0; position: relative;
  background: #0a0f1c;
}
.auth-bg {
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(37,99,235,.35), transparent 55%),
    radial-gradient(700px 400px at 90% 10%, rgba(13,148,136,.22), transparent 50%),
    linear-gradient(165deg, #0a0f1c 0%, #111827 55%, #0f172a 100%);
}
.auth-wrap-pro { position: relative; z-index: 1; padding-top: 4rem; }
.auth-wrap-pro .auth-brand h1 { color: #fff; font-size: 1.55rem; margin: 0 0 .35rem; }
.auth-wrap-pro .auth-brand p { color: #94a3b8; margin: 0; }
.auth-card-pro {
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
  border-radius: 20px;
}

/* Store refinements */
.store-pro .store-header {
  box-shadow: 0 1px 0 rgba(15,23,42,.04), 0 8px 24px rgba(15,23,42,.03);
}
.store-pro .store-footer {
  background: linear-gradient(180deg, #0a0f1c 0%, #0f172a 100%);
  margin-top: 3rem;
}
.store-pro .product-card {
  border-color: rgba(15,23,42,.06);
}
.store-pro .product-card:hover {
  border-color: rgba(26,86,219,.2);
}

/* Mobile admin sidebar */
@media (max-width: 900px) {
  .admin-menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .admin-shell { grid-template-columns: 1fr !important; }
  .admin-sidebar {
    position: fixed !important; left: 0; top: 0; bottom: 0; z-index: 80;
    transform: translateX(-105%); transition: transform .22s ease;
    height: 100vh !important; width: min(288px, 88vw);
    box-shadow: 12px 0 40px rgba(0,0,0,.35);
  }
  .admin-sidebar.is-open { transform: translateX(0); }
  body.sidebar-open::after {
    content: ""; position: fixed; inset: 0; background: rgba(15,23,42,.45);
    z-index: 70;
  }
  .admin-content { padding: 1rem; }
  .admin-topbar { padding: .85rem 1rem; }
}

/* ===== v1.7 store header + live search + dealer ===== */
.store-header-v2 { padding: .7rem 1.15rem; }
.store-header-grid {
  display: grid;
  grid-template-columns: auto minmax(180px, 1.2fr) auto;
  align-items: center; gap: .85rem 1rem;
}
@media (max-width: 900px) {
  .store-header-grid { grid-template-columns: 1fr auto; }
  .header-search { grid-column: 1 / -1; order: 3; }
}
.brand-logo {
  height: 42px; width: auto; max-width: 160px; object-fit: contain; display: block;
}
.header-search { position: relative; width: 100%; }
.header-search input[type=search] {
  width: 100%; margin: 0; border-radius: 999px; padding: .65rem 1rem;
  border: 1px solid var(--border-strong); background: #f8fafc;
}
.header-search input[type=search]:focus {
  background: #fff; border-color: #93c5fd; box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}
.live-search-drop {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 80;
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 16px 40px rgba(15,23,42,.14); max-height: 360px; overflow: auto;
  padding: .35rem;
}
.ls-item {
  display: grid; grid-template-columns: 48px 1fr auto; gap: .65rem; align-items: center;
  padding: .5rem .55rem; border-radius: 10px; text-decoration: none; color: inherit;
}
.ls-item:hover { background: #f1f5f9; text-decoration: none; }
.ls-item img {
  width: 48px; height: 48px; object-fit: cover; border-radius: 8px; background: #e2e8f0;
}
.ls-meta { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.ls-meta strong { font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ls-meta small { color: var(--muted); font-size: .75rem; }
.ls-price { font-weight: 800; color: var(--primary); font-size: .88rem; white-space: nowrap; }
.ls-empty { padding: .9rem; color: var(--muted); text-align: center; font-size: .9rem; }
.nav-badge {
  display: inline-flex; min-width: 1.15rem; height: 1.15rem; padding: 0 .35rem;
  align-items: center; justify-content: center; border-radius: 999px;
  background: #dc2626; color: #fff; font-size: .68rem; font-weight: 800; margin-left: .2rem;
}
.store-nav-v2 a.active { background: var(--primary-soft); color: var(--primary); }

.price-box { margin: .5rem 0 1rem; }
.price-unit { color: var(--muted); font-size: .92rem; margin-bottom: .2rem; }
.price-line { font-size: 1.75rem !important; margin: 0 !important; }

.brand-preview {
  border: 1px solid var(--border); border-radius: 12px; padding: 1rem; background: #f8fafc;
  margin: .5rem 0; display: flex; align-items: center; justify-content: center; min-height: 80px;
}
.brand-preview img { max-height: 64px; max-width: 100%; object-fit: contain; }
.brand-preview-fav img { max-height: 40px; max-width: 40px; }

/* Bayi paneli (site teması) */
.dealer-wrap {
  display: grid; grid-template-columns: 260px 1fr; gap: 1.25rem;
  max-width: 1180px; margin: 1.25rem auto 0; padding: 0 1rem 2rem;
}
@media (max-width: 900px) { .dealer-wrap { grid-template-columns: 1fr; } }
.dealer-side { padding: 1rem; height: fit-content; position: sticky; top: 5.5rem; }
.dealer-side-head { display: flex; flex-direction: column; gap: .4rem; margin-bottom: .85rem; }
.dealer-side-nav { display: flex; flex-direction: column; gap: .2rem; }
.dealer-side-nav a {
  padding: .55rem .7rem; border-radius: 10px; color: #334155; font-weight: 650;
  text-decoration: none; font-size: .9rem;
}
.dealer-side-nav a:hover, .dealer-side-nav a.active {
  background: var(--primary-soft); color: var(--primary); text-decoration: none;
}
.dealer-side-meta {
  margin-top: 1rem; padding-top: .85rem; border-top: 1px solid var(--border);
}
.dealer-page-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap;
}
.dealer-page-head h1 { margin: 0; font-size: 1.4rem; }

.notif-list { display: flex; flex-direction: column; gap: .45rem; }
.notif-item {
  display: flex; gap: .75rem; align-items: flex-start;
  padding: .85rem .9rem; border-radius: 12px; border: 1px solid var(--border);
  text-decoration: none; color: inherit; background: #fff;
}
.notif-item:hover { border-color: #93c5fd; background: #f8fbff; text-decoration: none; }
.notif-ico {
  width: 36px; height: 36px; border-radius: 10px; background: var(--primary-soft);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.notif-body { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.notif-body small { color: var(--muted); font-size: .78rem; }
.notif-cari .notif-ico { background: #cffafe; }
.notif-order .notif-ico { background: #ede9fe; }

/* ===== v1.8 header 2-row + product detail + order totals ===== */
.store-header-v3 {
  padding: 0; background: #fff; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 4px 20px rgba(15,23,42,.05);
}
.store-header-top { padding: .75rem 0; border-bottom: 1px solid #f1f5f9; }
.store-top-row {
  display: grid; grid-template-columns: auto minmax(200px,1fr) auto;
  gap: 1rem; align-items: center;
}
.store-header-nav { background: #f8fafc; }
.store-nav-bar {
  display: flex; flex-wrap: wrap; gap: .15rem; padding: .35rem 0;
}
.store-nav-bar a {
  padding: .55rem .95rem; border-radius: 8px; font-weight: 650; font-size: .9rem;
  color: #334155; text-decoration: none;
}
.store-nav-bar a:hover, .store-nav-bar a.active {
  background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); text-decoration: none;
}
.header-icons { display: flex; align-items: center; gap: .35rem; }
.h-icon {
  position: relative; display: inline-flex; flex-direction: column; align-items: center;
  gap: .1rem; padding: .4rem .55rem; border-radius: 10px; color: #334155;
  text-decoration: none; min-width: 52px; font-weight: 650; font-size: .72rem;
}
.h-icon:hover { background: #f1f5f9; text-decoration: none; color: var(--primary); }
.h-icon-primary { background: var(--primary-soft); color: var(--primary); }
.h-ico { font-size: 1.15rem; line-height: 1; }
.h-lbl { color: inherit; opacity: .9; }
.header-search { position: relative; }
.header-search .search-ico {
  position: absolute; left: .85rem; top: 50%; transform: translateY(-50%);
  color: #94a3b8; pointer-events: none; font-size: 1rem;
}
.header-search input[type=search] { padding-left: 2.2rem; border-radius: 999px; }
@media (max-width: 900px) {
  .store-top-row { grid-template-columns: 1fr auto; }
  .header-search { grid-column: 1 / -1; order: 3; }
  .h-lbl { display: none; }
  .store-nav-bar { display: none; flex-direction: column; }
  .store-nav-bar.open { display: flex; padding: .5rem 0 .75rem; }
  .nav-toggle { display: inline-flex !important; }
}

.order-totals {
  margin-top: 1.1rem; padding: 1rem 1.1rem; border-radius: 14px;
  background: #f8fafc; border: 1px solid var(--border); max-width: 420px; margin-left: auto;
}
.order-totals-row {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .35rem 0; font-size: .92rem; color: var(--muted);
}
.order-totals-row strong { color: var(--text); }
.order-totals-grand {
  margin-top: .4rem; padding-top: .65rem; border-top: 1px solid var(--border);
  font-size: 1.05rem; color: var(--text);
}
.order-totals-grand strong { color: var(--primary); font-size: 1.15rem; }

/* Product detail pro */
.pd-breadcrumb {
  display: flex; flex-wrap: wrap; gap: .4rem; align-items: center;
  font-size: .85rem; color: var(--muted); margin-bottom: 1rem;
}
.pd-breadcrumb a { color: var(--muted); }
.pd-layout {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 1.75rem; align-items: start;
}
@media (max-width: 900px) { .pd-layout { grid-template-columns: 1fr; } }
.pd-gallery-main {
  background: #fff; border: 1px solid var(--border); border-radius: 18px; overflow: hidden;
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.pd-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(68px, 1fr)); gap: .5rem; margin-top: .65rem; }
.pd-thumb {
  border: 2px solid var(--border); border-radius: 10px; padding: 0; overflow: hidden;
  background: #fff; cursor: pointer; aspect-ratio: 1;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumb.is-active { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(26,86,219,.15); }
.pd-sku { color: var(--muted); font-size: .88rem; margin-bottom: .35rem; }
.pd-title { font-size: clamp(1.4rem, 3vw, 1.85rem); margin: 0 0 .6rem; letter-spacing: -.02em; }
.pd-cat { margin-bottom: .85rem; }
.pd-meta-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; margin-bottom: 1rem; }
@media (max-width: 600px) { .pd-meta-row { grid-template-columns: 1fr; } }
.pd-meta {
  background: #f8fafc; border: 1px solid var(--border); border-radius: 12px; padding: .65rem .75rem;
}
.pd-meta span { display: block; font-size: .72rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.pd-meta strong { font-size: .95rem; }
.pd-price-card {
  background: linear-gradient(135deg, #eff6ff, #f8fafc);
  border: 1px solid #dbeafe; border-radius: 16px; padding: 1rem 1.15rem; margin-bottom: 1.1rem;
}
.pd-price-unit { color: var(--muted); font-size: .9rem; }
.pd-price-line { font-size: 1.85rem; font-weight: 800; color: var(--primary); letter-spacing: -.03em; margin: .15rem 0; }
.pd-variants { margin-bottom: 1rem; }
/* Kompakt varyant seçici (buton / chip) */
.pd-variants {
  margin: 0 0 1rem; padding: .85rem 1rem;
  border: 1px solid var(--border); border-radius: 14px; background: #fafbff;
}
.pd-variants-h {
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 750; margin-bottom: .55rem;
}
.pd-var-toggle { font-size: .8rem; }
.pd-axis { margin-bottom: .75rem; }
.pd-axis:last-of-type { margin-bottom: .5rem; }
.pd-axis-label {
  font-size: .8rem; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: .04em; margin-bottom: .4rem;
}
.pd-axis-opts { display: flex; flex-wrap: wrap; gap: .4rem; }
.pd-chip {
  appearance: none; border: 1.5px solid var(--border); background: #fff;
  color: var(--text); font-weight: 650; font-size: .88rem; font-family: inherit;
  padding: .4rem .85rem; border-radius: 999px; cursor: pointer; transition: .12s;
  line-height: 1.2;
}
.pd-chip:hover:not(:disabled) { border-color: #93c5fd; background: #f0f7ff; }
.pd-chip.is-on {
  border-color: var(--primary); background: linear-gradient(180deg, #2563eb, #1d4ed8);
  color: #fff; box-shadow: 0 4px 12px rgba(37,99,235,.25);
}
.pd-chip.is-disabled, .pd-chip:disabled {
  opacity: .35; cursor: not-allowed;
}
.pd-chip.is-oos, .pd-chip.is-oos:disabled {
  opacity: .45; cursor: not-allowed;
  text-decoration: line-through;
  background: #f1f5f9; color: #94a3b8; border-color: #e2e8f0;
}
/* Sepete eklendi baloncuk */
.kb-toast {
  position: fixed; left: 50%; bottom: 1.5rem; z-index: 10000;
  transform: translateX(-50%) translateY(120%);
  background: #0f172a; color: #fff; font-weight: 650; font-size: .95rem;
  padding: .85rem 1.35rem; border-radius: 999px;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
  opacity: 0; pointer-events: none; transition: .28s ease;
  max-width: min(92vw, 420px); text-align: center;
}
.kb-toast.is-show { transform: translateX(-50%) translateY(0); opacity: 1; }
.kb-toast-ok { background: #065f46; }
.kb-toast-err { background: #991b1b; }

/* Üst menü — düz, sade */
.store-header-nav-flat {
  border-top: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, #0f172a 0%, #0b1220 100%);
}
.store-nav-flat {
  display: flex; flex-wrap: wrap; align-items: center; gap: .25rem;
  padding: .45rem 0; min-height: 44px;
}
.store-nav-flat .nav-link {
  display: inline-flex; align-items: center;
  padding: .45rem .85rem; border-radius: 999px;
  color: #cbd5e1; text-decoration: none; font-weight: 650; font-size: .9rem;
  transition: .15s background, .15s color;
}
.store-nav-flat .nav-link:hover {
  background: rgba(255,255,255,.08); color: #fff;
}
.store-nav-flat .nav-link.is-active {
  background: #2563eb; color: #fff;
  box-shadow: 0 4px 14px rgba(37,99,235,.35);
}
@media (max-width: 700px) {
  .store-nav-flat .nav-link { font-size: .82rem; padding: .4rem .65rem; }
}
.contact-map iframe { width: 100%; min-height: 280px; border: 0; border-radius: 12px; }
.cms-page h1 { margin-top: 0; }
.cms-body { line-height: 1.7; color: var(--text); }

/* Ürün etiketleri + indirim sticker */
.product-card .thumb { position: relative; }
.pd-gallery-main { position: relative; }
.product-badges {
  position: absolute; top: .5rem; left: .5rem; z-index: 2;
  display: flex; flex-wrap: wrap; gap: .3rem; max-width: 90%;
  pointer-events: none;
}
.product-badges-lg .pbadge { font-size: .85rem; padding: .35rem .6rem; }
.pbadge {
  font-size: .68rem; font-weight: 800; letter-spacing: .03em;
  text-transform: uppercase; padding: .22rem .45rem; border-radius: 6px;
  color: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.badge-new { background: #0891b2; }
.badge-sale {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  border-radius: 999px;
  min-width: 2.4rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(220, 38, 38, .35);
}
.badge-sale-pct {
  font-size: .78rem;
  padding: .3rem .5rem;
}
.badge-featured { background: #7c3aed; }

/* Üstü çizili / indirimli fiyat */
.price-block {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .35rem .5rem;
}
.price-was {
  text-decoration: line-through;
  color: #94a3b8;
  font-weight: 600;
  font-size: .9em;
}
.price-now {
  color: #dc2626 !important;
  font-weight: 800;
}
.price-disc-tag {
  display: inline-block;
  background: #fef2f2;
  color: #b91c1c;
  font-size: .72rem;
  font-weight: 800;
  padding: .12rem .4rem;
  border-radius: 6px;
  border: 1px solid #fecaca;
}
.pd-price-was-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .65rem;
  margin-bottom: .35rem;
}
.pd-price-card .price-now { font-size: 1.35em; }

/* Admin soft (legacy) — no max-width constraint */
.admin-soft-page { max-width: none; width: 100%; }

/* Admin hub full-width (depo + kupon/kampanya) */
.ahub {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.ahub-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.15rem;
  padding: 1.1rem 1.25rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .04);
}
.ahub-head-text { min-width: 0; flex: 1 1 220px; }
.ahub-title {
  margin: 0 0 .25rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #0f172a;
  line-height: 1.25;
}
.ahub-desc {
  margin: 0;
  color: #64748b;
  font-size: .92rem;
  line-height: 1.4;
}
.ahub-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  padding: .3rem;
  background: #f1f5f9;
  border-radius: 12px;
}
.ahub-tab {
  display: inline-flex;
  align-items: center;
  padding: .5rem 1rem;
  border-radius: 9px;
  color: #475569;
  text-decoration: none;
  font-weight: 650;
  font-size: .9rem;
  transition: .12s background, .12s color, .12s box-shadow;
  white-space: nowrap;
}
.ahub-tab:hover { background: rgba(255,255,255,.75); color: #0f172a; }
.ahub-tab.is-on {
  background: #fff;
  color: #0369a1;
  box-shadow: 0 1px 4px rgba(15, 23, 42, .08);
  font-weight: 750;
}
.ahub-panel {
  width: 100%;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  margin-bottom: 1rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .04);
  overflow: hidden;
}
.ahub-panel-pad { padding: 1.15rem 1.25rem 1.25rem; }
.ahub-panel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .95rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
}
.ahub-panel-title {
  margin: 0 0 .85rem;
  font-size: 1rem;
  font-weight: 750;
  color: #0f172a;
}
.ahub-panel-bar .ahub-panel-title { margin: 0; }
.ahub-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.7rem;
  height: 1.7rem;
  padding: 0 .5rem;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
  font-size: .78rem;
  font-weight: 800;
}
.ahub-form-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: .75rem 1rem;
  width: 100%;
}
.ahub-field {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  min-width: 120px;
  flex: 0 1 auto;
}
.ahub-field-grow { flex: 1 1 200px; min-width: 160px; }
.ahub-field-btn { flex: 0 0 auto; }
.ahub-field-checks {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem 1rem;
  padding-bottom: .15rem;
}
.ahub-field label,
.ahub-label-block {
  display: block;
  font-size: .8rem;
  font-weight: 650;
  color: #475569;
  margin: 0;
}
.ahub-label-block { margin: .85rem 0 .45rem; }
.ahub-input {
  width: 100%;
  min-width: 0;
  padding: .55rem .7rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  font-size: .9rem;
  color: #0f172a;
  box-sizing: border-box;
  transition: border-color .12s, background .12s, box-shadow .12s;
}
.ahub-input:focus {
  outline: none;
  background: #fff;
  border-color: #7dd3fc;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, .15);
}
.ahub-input-sm {
  padding: .4rem .55rem;
  font-size: .86rem;
  min-width: 140px;
}
.ahub-check {
  display: inline-flex !important;
  align-items: center;
  gap: .4rem;
  margin: 0 !important;
  font-size: .86rem !important;
  font-weight: 600 !important;
  color: #475569 !important;
  white-space: nowrap;
  cursor: pointer;
}
.ahub-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.ahub-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
.ahub-table th {
  text-align: left;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #94a3b8;
  font-weight: 700;
  padding: .7rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  background: #fafbfc;
  white-space: nowrap;
}
.ahub-table td {
  padding: .75rem 1rem;
  border-bottom: 1px solid #f8fafc;
  vertical-align: middle;
  font-size: .9rem;
  color: #1e293b;
}
.ahub-table tbody tr:hover td { background: #f8fafc; }
.ahub-table tr:last-child td { border-bottom: 0; }
.ahub-th-actions { text-align: right !important; }
.ahub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  justify-content: flex-end;
  align-items: center;
}
.ahub-inline { display: inline; margin: 0; }
.ahub-code {
  display: inline-block;
  background: #f1f5f9;
  border-radius: 6px;
  padding: .12rem .4rem;
  font-size: .84rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #334155;
}
.ahub-pill {
  display: inline-block;
  background: #f1f5f9;
  color: #475569;
  border-radius: 999px;
  padding: .15rem .55rem;
  font-size: .78rem;
  font-weight: 650;
}
.ahub-muted { color: #94a3b8; font-size: .88rem; }
.ahub-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
  align-items: start;
}
.ahub-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem 1rem;
  margin-bottom: .35rem;
}
.ahub-scope {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 0 0 .85rem;
}
.ahub-scope-btn {
  display: inline-flex !important;
  align-items: center;
  gap: .4rem;
  margin: 0 !important;
  padding: .5rem .9rem;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: .88rem;
  font-weight: 650;
  cursor: pointer;
  color: #334155 !important;
  transition: .12s background, .12s border-color, .12s color;
}
.ahub-scope-btn input { margin: 0; }
.ahub-scope-btn.is-on,
.ahub-scope-btn:has(input:checked) {
  background: #e0f2fe;
  border-color: #7dd3fc;
  color: #0369a1 !important;
}
.ahub .hint {
  margin: .35rem 0 .65rem;
  font-size: .82rem;
  color: #94a3b8;
  line-height: 1.4;
}
.ahub .empty {
  text-align: center;
  color: #94a3b8;
  padding: 1.5rem 1rem !important;
  font-size: .92rem;
}
.ahub .scope-panel { margin-bottom: .5rem; }
@media (max-width: 900px) {
  .ahub-split { grid-template-columns: 1fr; }
  .ahub-grid-2 { grid-template-columns: 1fr; }
  .ahub-head { flex-direction: column; align-items: stretch; }
  .ahub-tabs { width: 100%; }
  .ahub-tab { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 640px) {
  .ahub-field { flex: 1 1 100%; min-width: 0; }
  .ahub-field-btn { width: 100%; }
  .ahub-field-btn .btn { width: 100%; }
  .ahub-panel-pad { padding: 1rem; }
  .ahub-panel-bar { padding: .85rem 1rem; }
  .ahub-table th,
  .ahub-table td { padding: .6rem .75rem; }
}

/* Admin soft unified pages (promosyon + depo) — legacy classes kept */
.admin-soft-hero {
  background: linear-gradient(135deg, #f0f9ff 0%, #f8fafc 55%, #fdf4ff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 1.35rem 1.5rem;
  margin-bottom: 1.15rem;
  box-shadow: 0 8px 28px rgba(15, 23, 42, .04);
}
.admin-soft-hero h1 {
  margin: 0 0 .35rem;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #0f172a;
}
.admin-soft-hero p {
  margin: 0;
  color: #64748b;
  font-size: .95rem;
  line-height: 1.45;
}
.admin-soft-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: 1.15rem;
  padding: .35rem;
  background: #f1f5f9;
  border-radius: 999px;
  width: fit-content;
  max-width: 100%;
}
.admin-soft-tab {
  display: inline-flex;
  align-items: center;
  padding: .55rem 1.05rem;
  border-radius: 999px;
  color: #475569;
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  transition: .15s background, .15s color, .15s box-shadow;
}
.admin-soft-tab:hover { background: rgba(255,255,255,.7); color: #0f172a; }
.admin-soft-tab.is-active {
  background: #fff;
  color: #0369a1;
  box-shadow: 0 2px 10px rgba(15, 23, 42, .08);
}
.admin-soft-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 1.1rem;
  align-items: start;
}
@media (max-width: 960px) {
  .admin-soft-grid { grid-template-columns: 1fr; }
}
.admin-soft-card {
  background: #fff;
  border: 1px solid #e8eef5;
  border-radius: 22px;
  padding: 1.2rem 1.3rem 1.35rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .045);
}
.admin-soft-card-form {
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
}
.admin-soft-card-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid #f1f5f9;
}
.admin-soft-card-h h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 750;
  color: #0f172a;
}
.admin-soft-count {
  min-width: 1.75rem;
  height: 1.75rem;
  padding: 0 .5rem;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
  font-size: .8rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.admin-soft-form label {
  display: block;
  margin: .65rem 0 .3rem;
  font-size: .84rem;
  font-weight: 650;
  color: #334155;
}
.admin-soft-form input,
.admin-soft-form select,
.admin-soft-form textarea {
  border-radius: 12px !important;
  border-color: #e2e8f0 !important;
  background: #f8fafc;
}
.admin-soft-form input:focus,
.admin-soft-form select:focus,
.admin-soft-form textarea:focus {
  background: #fff;
}
.admin-soft-check {
  display: flex !important;
  align-items: center;
  gap: .45rem;
  margin: .65rem 0 !important;
  font-weight: 600 !important;
  color: #475569 !important;
}
.admin-soft-check.tight { margin: 0 !important; font-size: .8rem !important; white-space: nowrap; }
.admin-soft-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.admin-soft-table th {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #94a3b8;
  font-weight: 700;
  border-bottom: 1px solid #f1f5f9;
  padding: .55rem .4rem;
}
.admin-soft-table td {
  padding: .7rem .4rem;
  border-bottom: 1px solid #f8fafc;
  vertical-align: middle;
}
.admin-soft-table tr:last-child td { border-bottom: 0; }
.admin-soft-code {
  background: #f1f5f9;
  border-radius: 8px;
  padding: .15rem .45rem;
  font-size: .85rem;
}
.admin-soft-pill {
  display: inline-block;
  background: #f1f5f9;
  color: #475569;
  border-radius: 999px;
  padding: .15rem .55rem;
  font-size: .78rem;
  font-weight: 650;
}
.admin-soft-inline-form {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .35rem;
  align-items: center;
}
.admin-soft-scope {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: .35rem 0 .75rem;
}
.admin-soft-scope-item {
  display: inline-flex !important;
  align-items: center;
  gap: .4rem;
  margin: 0 !important;
  padding: .55rem .85rem;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: .88rem;
  font-weight: 650;
  cursor: pointer;
  color: #334155 !important;
}
.admin-soft-scope-item:has(input:checked) {
  background: #e0f2fe;
  border-color: #7dd3fc;
  color: #0369a1 !important;
}
.admin-body .card {
  border-radius: 18px;
  border-color: #e8eef5;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
}

/* Katalog filtre + dil/para + çerez + varyant matris */
.catalog-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: .75rem 1rem;
}
.catalog-filter-checks {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  justify-content: flex-end;
  padding-bottom: .2rem;
}
.h-lang-cur {
  display: flex;
  gap: .35rem;
  align-items: center;
}
.h-mini-form select {
  font-size: .78rem;
  padding: .25rem .35rem;
  border-radius: 8px;
  max-width: 72px;
}
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: #0f172a;
  color: #e2e8f0;
  padding: .85rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  box-shadow: 0 -4px 24px rgba(0,0,0,.25);
}
.cookie-banner a { color: #7dd3fc; }
.cookie-banner p { margin: 0; font-size: .9rem; max-width: 70ch; }
.variant-matrix th, .variant-matrix td {
  text-align: center;
  min-width: 88px;
  vertical-align: middle;
}
.variant-matrix .vm-sku { font-size: .72rem; color: #64748b; }
.variant-matrix .vm-empty { background: #fef2f2; }

/* Sepet indirim kodu */
.cart-coupon-box {
  padding: 1rem 1.1rem;
  border: 1px dashed var(--border, #e2e8f0);
  border-radius: 12px;
  background: #f8fafc;
}
.cart-coupon-title {
  margin: 0 0 .65rem;
  font-size: 1rem;
}
.cart-coupon-form {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
}
.cart-coupon-applied {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.cart-coupon-row strong { color: #15803d; }

/* Stok gelince haber ver */
.stock-notify-box {
  margin: 1rem 0;
  padding: 1rem 1.1rem;
  border: 1px solid #fecaca;
  background: linear-gradient(180deg, #fff7f7, #fff);
  border-radius: 14px;
}
.stock-notify-title {
  margin: 0 0 .35rem;
  font-size: 1.05rem;
  color: #b91c1c;
}
.stock-notify-form label {
  display: block;
  margin-top: .55rem;
  font-size: .85rem;
  font-weight: 600;
}
.stock-notify-form input {
  width: 100%;
  max-width: 360px;
}
.stock-notify-msg {
  margin-top: .65rem;
  padding: .55rem .75rem;
  border-radius: 8px;
  font-size: .9rem;
}
.stock-notify-msg.is-ok {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.stock-notify-msg.is-err {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

/* Anasayfa kategori kartları */
.home-cat-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: .85rem; margin-bottom: 2rem;
}
.home-cat-card {
  display: flex; flex-direction: column; align-items: center; gap: .55rem;
  text-decoration: none; color: var(--text); font-weight: 700; font-size: .92rem;
  padding: .75rem; border: 1px solid var(--border); border-radius: 16px;
  background: #fff; transition: .15s box-shadow, .15s transform;
  -webkit-tap-highlight-color: transparent;
}
.home-cat-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.home-cat-thumb {
  width: 100%; aspect-ratio: 1; border-radius: 12px; overflow: hidden;
  background: #f1f5f9; display: flex; align-items: center; justify-content: center;
  pointer-events: none; /* kaydırırken img sürüklenmesin */
}
.home-cat-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}
.home-cat-placeholder {
  font-size: 1.6rem; font-weight: 800; color: #94a3b8;
}
/* Kategori yatay kaydırma */
.home-cat-scroll {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: .85rem;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: .25rem .1rem 1rem;
  margin-bottom: 1.5rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.home-cat-scroll .home-cat-card-scroll,
.home-cat-scroll .home-cat-card {
  flex: 0 0 auto !important;
  width: min(132px, 38vw);
  min-width: min(132px, 38vw);
  max-width: 150px;
  scroll-snap-align: start;
}

/* Footer öncesi banner — tam genişlik */
.footer-banner-full {
  width: 100vw; max-width: 100vw;
  margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  margin-bottom: 0; position: relative; overflow: hidden;
  background: #0b1220;
}
.footer-banner-full img {
  width: 100%; height: auto; max-height: 320px; object-fit: cover; display: block;
}
.footer-banner-link { display: block; position: relative; color: inherit; text-decoration: none; }
.footer-banner-title {
  position: absolute; left: 1.25rem; bottom: 1rem; z-index: 2;
  color: #fff; font-weight: 800; font-size: 1.25rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.pd-var-summary {
  margin-top: .55rem; padding-top: .55rem; border-top: 1px dashed var(--border);
  font-size: .9rem; min-height: 1.4em;
}
.pd-var-summary-empty { color: var(--muted); font-size: .86rem; }
.pd-var-summary-ok { display: flex; flex-direction: column; gap: .15rem; }
.pd-var-summary-ok .hint { margin: 0; }
/* eski kart stilleri (başka yerde kalırsa) */
.pd-variant-grid { display: none; }
.pd-qty-row { margin-bottom: .9rem; }
.pd-qty-ctrl { display: flex; align-items: center; gap: .4rem; max-width: 220px; }
.pd-qty-ctrl input { text-align: center; margin: 0; }
.pd-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.25rem; }
.pd-desc, .pd-specs { border-top: 1px solid var(--border); padding-top: 1rem; margin-top: .5rem; }
.pd-desc h3, .pd-specs h3 { font-size: 1rem; margin-bottom: .5rem; }

/* ===== Ödeme / banka / dekont lightbox ===== */
.pay-purpose-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; margin: .5rem 0 1rem;
}
@media (max-width: 600px) { .pay-purpose-row { grid-template-columns: 1fr; } }
.pay-purpose-row .channel-card {
  display: flex; gap: .65rem; align-items: flex-start;
  border: 1px solid var(--border); border-radius: 12px; padding: .75rem .9rem;
  background: #fafbff; cursor: pointer;
}
.pay-purpose-row .channel-card input { margin-top: .2rem; }
.pay-purpose-row .channel-card strong { display: block; }
.pay-purpose-row .channel-card span { font-size: .85rem; color: var(--muted); }
.bank-detail-card {
  margin: .75rem 0 1rem; padding: 1rem; border: 1px solid var(--border);
  border-radius: 14px; background: linear-gradient(180deg, #f8fafc, #fff);
}
.bank-detail-grid {
  display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center;
}
@media (max-width: 600px) { .bank-detail-grid { grid-template-columns: 1fr; } }
.iban-code {
  display: block; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .95rem; letter-spacing: .04em; margin: .35rem 0 .5rem; word-break: break-all;
  background: #0b1220; color: #e2e8f0; padding: .55rem .75rem; border-radius: 8px;
}
.iban-qr-thumb { border-radius: 8px; border: 1px solid var(--border); background: #fff; }
.bank-qr-wrap { text-align: center; }
.order-pay-meta {
  display: flex; flex-wrap: wrap; gap: 1rem; margin: 1rem 0 .5rem;
  font-size: .92rem; color: var(--muted);
}
body.lb-open { overflow: hidden; }
.receipt-lightbox {
  position: fixed; inset: 0; z-index: 9999; display: flex;
  align-items: center; justify-content: center; padding: 1rem;
}
.receipt-lightbox[hidden] { display: none !important; }
.receipt-lightbox-backdrop {
  position: absolute; inset: 0; background: rgba(15, 23, 42, .72); backdrop-filter: blur(2px);
}
.receipt-lightbox-panel {
  position: relative; z-index: 1; width: min(920px, 100%); max-height: 92vh;
  background: #fff; border-radius: 16px; box-shadow: 0 25px 50px rgba(0,0,0,.35);
  display: flex; flex-direction: column; overflow: hidden;
}
.receipt-lightbox-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: .75rem 1rem; border-bottom: 1px solid var(--border); background: #f8fafc;
}
.receipt-lightbox-body {
  flex: 1; overflow: auto; min-height: 280px; background: #0f172a;
  display: flex; align-items: center; justify-content: center;
}
.receipt-lightbox-body img {
  max-width: 100%; max-height: 80vh; object-fit: contain; display: block;
}
.receipt-lightbox-body iframe {
  width: 100%; height: 80vh; border: 0; background: #fff;
}

/* Kategori ağacı */
.cat-tree, .cat-tree ul { list-style: none; margin: 0; padding-left: 0; }
.cat-tree ul { padding-left: 1.1rem; border-left: 2px solid #e2e8f0; margin-left: .35rem; }
.cat-tree-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: .4rem;
  padding: .45rem 0; border-bottom: 1px solid #f1f5f9;
}
.cat-tree-root > li > .cat-tree-row { font-size: 1.02rem; }



/* =========================================================
   v1.14 Admin redesign � soft, modern (torem-inspired)
   ========================================================= */
.admin-body {
  --bg: #f0f4f8;
  --panel: #ffffff;
  --border: #e2e8f0;
  --text: #1a2332;
  --muted: #5c6b7a;
  --primary: #00a0e3;
  --primary-h: #0077b6;
  --primary-soft: rgba(0,160,227,.1);
  --admin-sidebar: #0b1f3a;
  --admin-sidebar-2: #132f54;
  --radius: 14px;
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
}
.admin-body .btn {
  border-radius: 10px;
  transition: background .2s ease, box-shadow .2s ease, transform .18s ease, border-color .2s ease, color .2s ease;
}
.admin-body .btn-primary {
  background: linear-gradient(180deg, #00a0e3, #0077b6);
  box-shadow: 0 8px 18px rgba(0,119,182,.22);
}
.admin-body .btn-primary:hover {
  background: linear-gradient(180deg, #0090cc, #006a9e);
  transform: translateY(-1px);
}
.admin-body .card {
  border: 1px solid rgba(15,23,42,.06);
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(11,31,58,.04);
  transition: box-shadow .25s ease, transform .25s ease;
}
.admin-body .card:hover {
  box-shadow: 0 10px 28px rgba(11,31,58,.07);
}
.admin-sidebar {
  background: linear-gradient(180deg, #0b1f3a 0%, #132f54 55%, #0a4d7a 100%) !important;
}
.admin-sidebar .sidebar-nav a {
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.admin-sidebar .sidebar-nav a:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}
.admin-sidebar .sidebar-nav a.active {
  background: rgba(0,160,227,.16);
  border-color: rgba(0,160,227,.35);
  color: #fff;
}
.admin-topbar {
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px);
  transition: box-shadow .25s ease;
}
.admin-flash {
  transition: opacity .4s ease, transform .4s ease;
}
.admin-flash.is-hiding {
  opacity: 0;
  transform: translateY(-6px);
}
.admin-footer-credit {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  padding: .9rem 1.5rem 1.15rem;
  border-top: 1px solid var(--border);
  background: #fafbfc;
  color: var(--muted);
  font-size: .8rem;
}
.admin-content .pe-tabs {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(11,31,58,.04);
}
.admin-body .pe-tab {
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.admin-body .pe-tab.active {
  background: linear-gradient(180deg, #00a0e3, #0077b6);
  box-shadow: 0 6px 14px rgba(0,160,227,.25);
}
.admin-body .pe-panel.active {
  animation: peIn .28s cubic-bezier(.22,1,.36,1);
}
@keyframes peIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* Smaller previews */
.admin-thumb-sm img, .admin-thumb-sm {
  max-height: 56px;
  max-width: 180px;
  border-radius: 8px;
  object-fit: cover;
}
.admin-thumb-md img, .admin-thumb-md {
  max-height: 100px;
  max-width: 240px;
  border-radius: 10px;
  object-fit: cover;
}
.thumb-xs {
  width: 36px; height: 36px; border-radius: 8px; object-fit: cover;
  display: inline-flex; align-items: center; justify-content: center;
  background: #e8eef5; font-size: .75rem; font-weight: 700; color: #5c6b7a;
}
.thumb-empty { border: 1px dashed var(--border); }
.pe-media-box-sm {
  aspect-ratio: 1;
  max-width: 160px;
  border-radius: 12px !important;
}
.pe-gallery-grid-sm {
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)) !important;
}
.pe-gallery-grid-sm .pe-gallery-item img {
  aspect-ratio: 1;
}

/* Dropzone */
.dropzone, .pe-dropzone {
  position: relative;
  border: 1.5px dashed #b8c7d6;
  border-radius: 14px;
  padding: 1rem;
  background: linear-gradient(180deg, #f8fafc, #f1f5f9);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
  text-align: center;
}
.dropzone:hover, .pe-dropzone.is-drag {
  border-color: #00a0e3;
  background: rgba(0,160,227,.06);
  box-shadow: 0 0 0 4px rgba(0,160,227,.1);
}
.dropzone-hint {
  margin: .5rem 0 0;
  font-size: .85rem;
  color: var(--muted);
  font-weight: 600;
}
.dropzone-input {
  position: absolute !important;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100% !important;
  height: 100% !important;
  margin: 0;
  padding: 0;
  border: 0;
}
.pe-dropzone .pe-media-box { margin: 0 auto .35rem; pointer-events: none; }
.pe-dropzone-gallery { min-height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; }

/* Toggle switch */
.toggle-row {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  cursor: pointer;
  font-weight: 500;
}
.toggle-row input { position: absolute; opacity: 0; width: 0; height: 0; }
.toggle-ui {
  width: 44px; height: 26px; border-radius: 999px;
  background: #cbd5e1; flex-shrink: 0; position: relative;
  transition: background .25s ease;
  margin-top: .1rem;
}
.toggle-ui::after {
  content: "";
  position: absolute; top: 3px; left: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.15);
  transition: transform .25s cubic-bezier(.22,1,.36,1);
}
.toggle-row input:checked + .toggle-ui {
  background: linear-gradient(90deg, #00a0e3, #0077b6);
}
.toggle-row input:checked + .toggle-ui::after {
  transform: translateX(18px);
}

/* Home / banner admin */
.hm-hero {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 1rem; flex-wrap: wrap;
}
.hm-hero-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .75rem; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; color: #0077b6;
  background: rgba(0,160,227,.1); padding: .35rem .7rem; border-radius: 999px;
  margin-bottom: .55rem;
}
.hm-hero h2 { margin: 0 0 .35rem; font-size: 1.25rem; }
.mod-row {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 1rem;
  align-items: end; padding: .85rem 0;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 720px) { .mod-row { grid-template-columns: 1fr; } }
.cat-check-grid {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem;
}
.check-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .55rem .9rem; border-radius: 999px;
  border: 1px solid var(--border); background: #fff;
  font-weight: 600; font-size: .88rem; cursor: pointer;
  transition: .2s ease;
}
.check-chip:hover { border-color: #7ec8e8; }
.check-chip.is-on {
  border-color: #00a0e3;
  background: rgba(0,160,227,.1);
  color: #0077b6;
  box-shadow: 0 0 0 3px rgba(0,160,227,.12);
}
.check-chip input { margin: 0; }
.form-section-title {
  margin: 1.5rem 0 .75rem;
  font-size: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.channel-grid-compact {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .65rem;
}
.channel-card {
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
  border-radius: 14px;
}
.channel-card:hover {
  border-color: #7ec8e8;
  box-shadow: 0 6px 16px rgba(0,160,227,.08);
}
.price-card {
  border-radius: 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.price-card:hover {
  border-color: #7ec8e8;
  box-shadow: 0 6px 16px rgba(0,160,227,.08);
}
.tier-list-block {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: .85rem 1rem;
  margin-bottom: .75rem;
  background: #fff;
}
.tier-list-h {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: .5rem;
}
.tier-row { margin-bottom: .5rem; }
.brand-img-preview img {
  max-height: 48px; max-width: 120px; border-radius: 8px; object-fit: contain;
  background: #f8fafc; border: 1px solid var(--border); padding: 4px;
}
.sf-preview-bar img, .sf-preview-slide img {
  max-height: 72px; width: auto; max-width: 100%;
  border-radius: 8px; object-fit: cover;
}
.admin-body table th {
  background: #f4f7fb;
}
.admin-body .stats-pro .stat {
  border-radius: 16px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.admin-body .stats-pro .stat:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(11,31,58,.08);
}
.pe-media-layout .pe-media-box-sm { max-width: 140px; }

/* =========================================================
   v1.15 � site modes, scroll products, footer grid
   ========================================================= */
.product-scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: .35rem .15rem 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.product-scroll .product-card-scroll {
  flex: 0 0 min(240px, 78vw);
  width: min(240px, 78vw);
  min-width: min(240px, 78vw);
  max-width: 280px;
  scroll-snap-align: start;
  margin: 0;
}
.product-scroll .product-card-scroll .thumb img,
.product-scroll .product-card img {
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}
.product-scroll::-webkit-scrollbar { height: 8px; }
.product-scroll::-webkit-scrollbar-thumb {
  background: #cbd5e1; border-radius: 999px;
}
/* Mobilde yatay kaydırmanın bozulmaması */
@media (max-width: 900px) {
  .product-scroll,
  .home-cat-scroll {
    -webkit-overflow-scrolling: touch !important;
    overflow-x: auto !important;
    touch-action: pan-x pinch-zoom;
  }
  .product-scroll .product-card-scroll {
    flex: 0 0 min(70vw, 220px);
    width: min(70vw, 220px);
    min-width: min(70vw, 220px);
  }
  .home-cat-scroll .home-cat-card {
    flex: 0 0 38vw;
    width: 38vw;
    min-width: 110px;
  }
  /* Kart hover transform mobil kaydırmayı bozmasın */
  .product-scroll .product-card:hover,
  .home-cat-scroll .home-cat-card:hover {
    transform: none;
  }
}
.store-footer-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem 2rem;
}
.store-footer a { display: block; margin: .28rem 0; color: #94a3b8; text-decoration: none; }
.store-footer a:hover { color: #e2e8f0; }
.mode-pick {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: .75rem;
  margin: .75rem 0 1rem;
}
.mode-card {
  display: flex; flex-direction: column; gap: .35rem;
  padding: 1rem 1.1rem;
  border: 2px solid var(--border);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.mode-card input { margin-bottom: .2rem; }
.mode-card strong { font-size: .98rem; }
.mode-card span { color: var(--muted); font-size: .82rem; font-weight: 500; line-height: 1.4; }
.mode-card:hover { border-color: #7ec8e8; }
.mode-card.active {
  border-color: #00a0e3;
  background: rgba(0,160,227,.08);
  box-shadow: 0 0 0 3px rgba(0,160,227,.12);
}
.mod-row-3 {
  grid-template-columns: 1.1fr .9fr .7fr !important;
}
@media (max-width: 900px) {
  .mod-row-3 { grid-template-columns: 1fr !important; }
}
body.store-pro.mode-b2c .h-lbl { white-space: nowrap; }

/* =========================================================
   v1.15.1 � login modal, auth page, mobile polish
   ========================================================= */
body.modal-open, body.nav-open { overflow: hidden; }

.login-modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.login-modal[hidden] { display: none !important; }
.login-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(15,23,42,.55);
  backdrop-filter: blur(4px);
  animation: lmFade .2s ease;
}
.login-modal-dialog {
  position: relative; z-index: 1;
  width: min(100%, 400px);
  margin: 0;
  padding: 1.5rem 1.35rem 1.25rem;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
  animation: lmIn .28s cubic-bezier(.22,1,.36,1);
}
.login-modal-dialog h2 { margin: 0 0 .35rem; font-size: 1.25rem; }
.login-modal-close {
  position: absolute; top: .65rem; right: .75rem;
  border: 0; background: #f1f5f9; width: 36px; height: 36px;
  border-radius: 10px; font-size: 1.35rem; line-height: 1;
  cursor: pointer; color: #64748b;
}
.login-modal-close:hover { background: #e2e8f0; color: #0f172a; }
.login-modal-msg {
  margin-top: .75rem; padding: .65rem .8rem; border-radius: 10px;
  font-size: .9rem; font-weight: 600;
}
.login-modal-msg.is-err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.login-modal-foot {
  display: flex; flex-wrap: wrap; gap: .75rem 1.25rem;
  margin-top: 1rem; padding-top: .85rem; border-top: 1px solid var(--border);
  font-weight: 600; font-size: .9rem;
}
@keyframes lmFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lmIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: none; }
}

.auth-page-wrap {
  max-width: 560px; margin: 0 auto 2rem;
}
.auth-page-store { max-width: 640px; padding-top: .5rem; }
.auth-page-card { padding: 1.5rem 1.4rem 1.35rem; }
.auth-page-head h1 { margin: 0 0 .4rem; font-size: 1.45rem; }
.auth-form-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }
.auth-tabs a { text-decoration: none; }

/* �� Store mobile �� */
@media (max-width: 900px) {
  .store-header-v3 .brand-text small { display: none; }
  .store-header-v3 .h-lbl { display: none; }
  .store-header-v3 .h-icon { min-width: 42px; padding: .45rem; justify-content: center; }
  .store-header-top { padding: .55rem .75rem; }
  .store-header-inner { gap: .5rem; }
  .store-top-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: .5rem;
  }
  .header-search { grid-column: 1 / -1; order: 3; }
  .store-nav-flat {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem 0 1rem;
    max-height: min(70vh, 480px);
    overflow: auto;
  }
  .store-nav-flat.open {
    display: flex !important;
  }
  .store-nav-flat .nav-link {
    padding: .75rem 1rem;
    border-radius: 10px;
    border-bottom: 1px solid rgba(0,0,0,.04);
  }
  .store-header-nav-flat {
    border-top: 1px solid var(--border);
  }
  .nav-toggle {
    display: inline-flex !important;
    align-items: center; justify-content: center;
    width: 42px; height: 42px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: #fff;
    font-size: 1.15rem;
    cursor: pointer;
  }
  .home-slider-fullbleed, .home-slider { min-height: 280px; }
  .home-slide-content h1 { font-size: 1.45rem; }
  .home-slide-content p { font-size: .95rem; }
  .home-cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .65rem;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .65rem;
  }
  .product-card .body { padding: .65rem .7rem; }
  .product-card h3 { font-size: .9rem; }
  .store-body { padding: 1rem .75rem 2.5rem; }
  .pd-layout { grid-template-columns: 1fr !important; }
  .section-head { flex-wrap: wrap; gap: .5rem; }
  .login-modal-dialog { width: min(100%, 100%); max-height: 92vh; overflow: auto; }
  .store-footer-grid { grid-template-columns: 1fr 1fr !important; gap: 1.25rem; }
  .grid-2, .grid-3 { grid-template-columns: 1fr !important; }
  .pe-tabs { position: static !important; overflow-x: auto; flex-wrap: nowrap; }
  .pe-tab { white-space: nowrap; flex-shrink: 0; }
}
@media (max-width: 480px) {
  .product-grid, .home-cat-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  .stats-pro { grid-template-columns: 1fr 1fr !important; }
  .brand-text strong { font-size: .92rem; }
  .store-footer-grid { grid-template-columns: 1fr !important; }
}

/* �� Admin mobile polish �� */
@media (max-width: 900px) {
  .admin-content { padding: .85rem .75rem 1.25rem !important; }
  .admin-topbar { padding: .75rem .85rem !important; }
  .admin-topbar h1 { font-size: 1.05rem !important; }
  .admin-topbar-right .btn { padding: .4rem .65rem; font-size: .8rem; }
  .admin-topbar-right .badge { display: none; }
  .stats-pro { grid-template-columns: 1fr 1fr !important; gap: .55rem !important; }
  .stats-pro .stat { padding: .75rem !important; }
  .stats-pro .stat .n { font-size: 1.1rem !important; }
  .card { padding: 1rem .9rem !important; }
  .table-wrap { margin: 0 -.5rem; }
  table { font-size: .85rem; }
  th, td { padding: .55rem .45rem !important; }
  .pe-toolbar { flex-direction: column; align-items: stretch !important; }
  .mod-row, .mod-row-3 { grid-template-columns: 1fr !important; }
  .price-grid { grid-template-columns: 1fr !important; }
  .channel-grid, .channel-grid-compact { grid-template-columns: 1fr !important; }
  .form-actions, .pe-footer-actions {
    flex-wrap: wrap;
    position: static !important;
  }
  .mode-pick { grid-template-columns: 1fr !important; }
  .admin-sidebar {
    width: min(300px, 88vw) !important;
  }
}
@media (max-width: 600px) {
  .admin-topbar-right a.btn:not(.btn-primary) { display: none; }
}

/* Nav toggle default hidden desktop */
.nav-toggle { display: none; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .store-nav { display: none; }
  .store-nav.open, .store-nav-flat.open { display: flex !important; }
}

/* Product section scroll arrows (title side) */
.section-head-scroll {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}
.section-head-left {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-wrap: wrap;
  min-width: 0;
}
.section-head-left h2 { margin: 0; }
.section-scroll-arrows {
  display: inline-flex;
  gap: .35rem;
  align-items: center;
}
.sec-arrow {
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background .15s, border-color .15s, transform .12s;
}
.sec-arrow:hover {
  border-color: #93c5fd;
  background: #f0f7ff;
  transform: translateY(-1px);
}
.sec-arrow:active { transform: none; }
.product-scroll-nav {
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: .35rem;
}
.product-scroll-nav::-webkit-scrollbar { display: none; height: 0; }

/* Account area (store layout) */
.account-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 0 0 .25rem;
  padding: .55rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.account-nav-item {
  display: inline-flex;
  align-items: center;
  padding: .45rem .85rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: .86rem;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid transparent;
  transition: .15s ease;
}
.account-nav-item:hover {
  background: #f1f5f9;
  color: var(--text);
  text-decoration: none;
}
.account-nav-item.is-active {
  background: linear-gradient(180deg, #00a0e3, #0077b6);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,160,227,.25);
}
.address-list { display: grid; gap: .75rem; }
.address-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: .9rem 1rem;
  background: #fafbfc;
}
.address-card-h {
  display: flex; align-items: center; gap: .5rem; margin-bottom: .35rem;
}
.qo-filter-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  gap: .75rem;
  align-items: end;
}
.qo-filter-actions { display: flex; gap: .4rem; flex-wrap: wrap; padding-bottom: .1rem; }
.qo-table .qo-prod {
  display: flex; align-items: center; gap: .65rem;
}
.qo-thumb {
  width: 44px; height: 44px; border-radius: 8px; object-fit: cover;
  background: #f1f5f9; border: 1px solid var(--border); flex-shrink: 0;
}
.qo-qty { width: 90px; margin: 0; }
.qo-row.is-oos { opacity: .55; }
.qo-price { white-space: nowrap; }
@media (max-width: 900px) {
  .qo-filter-grid { grid-template-columns: 1fr 1fr; }
  .account-nav { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .account-nav-item { flex-shrink: 0; }
}
@media (max-width: 600px) {
  .qo-filter-grid { grid-template-columns: 1fr; }
  .qo-table th:nth-child(4), .qo-table td:nth-child(4) { display: none; }
}

/* Account sidebar shell */
.account-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 1.15rem;
  align-items: start;
  margin-bottom: 1.5rem;
}
.account-side {
  position: sticky;
  top: 1rem;
  padding: 0 !important;
  overflow: hidden;
}
.account-side-head {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: .35rem;
  background: linear-gradient(180deg, #f8fafc, #fff);
}
.account-side-head strong {
  font-size: .95rem;
  line-height: 1.3;
}
.account-side-nav {
  display: flex;
  flex-direction: column;
  padding: .5rem;
  gap: .15rem;
}
.account-side-link {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .62rem .75rem;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 650;
  font-size: .9rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: .15s ease;
}
.account-side-link:hover {
  background: #f1f5f9;
  color: var(--text);
  text-decoration: none;
}
.account-side-link.is-active {
  background: linear-gradient(90deg, rgba(0,160,227,.14), rgba(0,160,227,.05));
  color: #0077b6;
  border-color: rgba(0,160,227,.2);
}
.account-side-ico {
  width: 1.25rem;
  text-align: center;
  opacity: .9;
  flex-shrink: 0;
}
.account-side-logout { color: #b91c1c !important; margin-top: .35rem; }
.account-side-logout:hover { background: #fef2f2 !important; }
.account-main { min-width: 0; }
.account-main > .section-head:first-child { margin-top: 0 !important; }

/* Notifications */
.notif-list { display: flex; flex-direction: column; gap: .45rem; }
.notif-item {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  padding: .85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  background: #fff;
  transition: .15s ease;
}
.notif-item:hover { border-color: #93c5fd; background: #f8fbff; text-decoration: none; }
.notif-item.is-unread {
  background: #f0f9ff;
  border-color: #bae6fd;
  box-shadow: 0 0 0 1px rgba(0,160,227,.08);
}
.notif-item.is-read { opacity: .85; }
.notif-ico {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  background: #f1f5f9; flex-shrink: 0;
}
.notif-body { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.notif-body strong { font-size: .95rem; }
.notif-body span { color: var(--muted); font-size: .88rem; }
.notif-body small { color: #94a3b8; font-size: .78rem; }
.notif-dot {
  display: inline-block;
  width: 8px; height: 8px; border-radius: 50%;
  background: #00a0e3;
  margin-left: .25rem;
  vertical-align: middle;
}

/* Favorite button */
.fav-btn {
  border: 1px solid var(--border);
  background: #fff;
}
.fav-btn.is-on {
  border-color: #fda4af;
  background: #fff1f2;
  color: #be123c;
}
.fav-heart { font-size: 1.05rem; }

/* Katalog / anasayfa kart favori kalbi */
.fav-card-btn {
  position: absolute;
  top: .55rem;
  right: .55rem;
  z-index: 3;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, .08);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 4px 14px rgba(15, 23, 42, .12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #94a3b8;
  padding: 0;
  line-height: 1;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.fav-card-btn:hover {
  transform: scale(1.06);
  color: #be123c;
  border-color: #fecdd3;
}
.fav-card-btn.is-on {
  color: #be123c;
  background: #fff1f2;
  border-color: #fda4af;
}
.fav-card-btn .fav-heart {
  font-size: 1rem;
  pointer-events: none;
}
.fav-card-btn:disabled {
  opacity: .65;
  cursor: wait;
}

/* Admin sipariş kargo paneli */
.order-cargo-panel {
  border: 1px solid #bae6fd;
  background: linear-gradient(180deg, #f0f9ff 0%, var(--panel, #fff) 80px);
}
.order-cargo-panel h2 { color: #0369a1; }
.order-cargo-form .grid-2 { margin-top: .5rem; }
.cargo-active-list .badge small { opacity: .75; margin-left: .2rem; }
.cargo-row-delivered { background: #f0fdf4; }
.customer-cargo-box {
  margin: 1rem 0;
  padding: .85rem 1rem;
  border: 1px solid #bae6fd;
  border-radius: 12px;
  background: #f0f9ff;
}

/* Anasayfa sepete ekle */
.home-add-cart {
  margin-top: .35rem;
}
.home-add-cart .btn {
  width: 100%;
}
.price-login-hint {
  font-size: .82rem !important;
  font-weight: 500 !important;
  color: var(--muted) !important;
  line-height: 1.35;
}
.price-login-hint a {
  color: var(--primary);
  font-weight: 600;
}

@media (max-width: 900px) {
  .account-shell {
    grid-template-columns: 1fr;
  }
  .account-side {
    position: static;
  }
  .account-side-nav {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: .35rem;
    padding: .55rem;
  }
  .account-side-link {
    flex-shrink: 0;
    white-space: nowrap;
    padding: .5rem .75rem;
    border-radius: 999px;
    font-size: .84rem;
  }
  .account-side-link.is-active {
    background: linear-gradient(180deg, #00a0e3, #0077b6);
    color: #fff;
    border-color: transparent;
  }
  .account-side-head { display: none; }
}

/* Raporlar */
.report-kpis { margin-bottom: 1.15rem; }
@media (min-width: 1100px) {
  .report-kpis.stats-pro { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
.report-bars { display: flex; flex-direction: column; gap: .55rem; }
.report-bar-row {
  display: grid;
  grid-template-columns: 120px 1fr 100px;
  gap: .5rem .75rem;
  align-items: center;
}
@media (max-width: 700px) {
  .report-bar-row { grid-template-columns: 1fr; gap: .2rem; }
}
.report-bar-label {
  display: flex;
  flex-direction: column;
  font-size: .82rem;
  font-weight: 650;
  color: #334155;
}
.report-bar-track {
  height: 10px;
  background: #f1f5f9;
  border-radius: 999px;
  overflow: hidden;
}
.report-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #0ea5e9, #0369a1);
  border-radius: 999px;
  min-width: 4px;
}
.report-bar-val {
  text-align: right;
  font-size: .86rem;
  font-weight: 700;
  color: #0f172a;
}
.text-danger { color: #dc2626 !important; }
.sales-body .admin-sidebar { background: #0c1929; }

/* Ürün yorumları — kompakt */
.pd-reviews {
  margin-top: 1.25rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: .9rem 1rem 1rem;
  box-shadow: 0 1px 3px rgba(15,23,42,.04);
}
.pd-reviews-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: .65rem;
}
.pd-reviews-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
}
.pd-reviews-meta {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-top: .2rem;
  font-size: .88rem;
  color: #475569;
}
.pd-reviews-stars { color: #f59e0b; letter-spacing: .02em; font-size: .9rem; }
.pd-reviews-stars-off { color: #e2e8f0; }
.pd-reviews-count { color: #94a3b8; }
.pd-reviews-empty-hint { margin: .15rem 0 0; font-size: .85rem; color: #94a3b8; }
.pd-review-form {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: .75rem .85rem;
  margin-bottom: .75rem;
}
.pd-review-form-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: .55rem .75rem;
  margin-bottom: .5rem;
}
@media (max-width: 560px) {
  .pd-review-form-row { grid-template-columns: 1fr; }
}
.pd-review-field label {
  display: block;
  font-size: .75rem;
  font-weight: 650;
  color: #64748b;
  margin-bottom: .2rem;
}
.pd-review-input {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  padding: .45rem .6rem;
  font-size: .9rem;
  background: #fff;
  box-sizing: border-box;
}
.pd-review-input:focus {
  outline: none;
  border-color: #7dd3fc;
  box-shadow: 0 0 0 3px rgba(14,165,233,.12);
}
.pd-review-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  margin-top: .45rem;
}
.pd-review-list { display: flex; flex-direction: column; gap: .55rem; }
.pd-review-item {
  padding: .55rem .65rem;
  border-radius: 10px;
  background: #fafbfc;
  border: 1px solid #f1f5f9;
}
.pd-review-item-top {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.pd-review-avatar {
  width: 28px; height: 28px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
  font-size: .75rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pd-review-item-who {
  display: flex;
  flex-direction: column;
  gap: .05rem;
  min-width: 0;
  flex: 1;
  font-size: .86rem;
}
.pd-review-item-who strong { font-size: .88rem; color: #0f172a; }
.pd-review-item-stars { color: #f59e0b; font-size: .72rem; letter-spacing: .03em; }
.pd-review-date { font-size: .75rem; color: #94a3b8; white-space: nowrap; }
.pd-review-item-title {
  margin: .3rem 0 0 2.1rem;
  font-size: .86rem;
  font-weight: 650;
  color: #334155;
}
.pd-review-item-body {
  margin: .25rem 0 0 2.1rem;
  font-size: .88rem;
  line-height: 1.45;
  color: #475569;
}
.pd-review-none {
  margin: .35rem 0 0;
  font-size: .88rem;
  color: #94a3b8;
  text-align: center;
  padding: .5rem;
}

/* PWA install bar */
.pwa-install-bar {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
  padding: .75rem 1rem;
  background: #0f172a;
  color: #f8fafc;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(15,23,42,.35);
}
.pwa-install-text { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.pwa-install-text strong { font-size: .95rem; }
.pwa-install-text span { font-size: .8rem; color: #94a3b8; }
.pwa-install-actions { display: flex; gap: .4rem; align-items: center; }
.pwa-install-bar .btn-primary {
  background: #0ea5e9;
  border-color: #0ea5e9;
}
.pwa-install-bar .btn:not(.btn-primary) {
  background: transparent;
  color: #cbd5e1;
  border-color: #334155;
}

/* WhatsApp float */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 9990;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .65rem 1rem;
  background: #25d366;
  color: #fff !important;
  font-weight: 700;
  font-size: .9rem;
  border-radius: 999px;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .4);
}
.wa-float:hover { filter: brightness(1.05); color: #fff !important; }
.wa-float-ico { font-size: 1.15rem; }
@media (max-width: 560px) {
  .wa-float-txt { display: none; }
  .wa-float { padding: .75rem; bottom: 72px; }
}

