/* 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], input[type=search], input[type=tel], input[type=url], 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;
  box-sizing: border-box;
  min-height: 2.65rem;
  appearance: none;
  -webkit-appearance: none;
}
input[type=search] {
  /* WebKit varsayılan arama stili bozmasın */
  -webkit-appearance: none;
}
input[type=search]::-webkit-search-decoration,
input[type=search]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1.4 1.4L6 6l4.6-4.6L12 2.8 6 8.8 0 2.8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  padding-right: 2.25rem;
  cursor: pointer;
}
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.3fr 1fr 1fr 1.15fr; gap: 1.5rem 1.75rem;
}
@media (max-width: 900px) { .store-footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .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-form-flags {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1.1rem;
  margin: .85rem 0 1rem;
}
.cat-tree, .cat-tree ul { list-style: none; margin: 0; padding: 0; }
.cat-tree ul {
  margin: .35rem 0 0 .7rem;
  padding-left: .85rem;
  border-left: 2px solid #e2e8f0;
}
.cat-tree-item { margin: .35rem 0; }
.cat-tree-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: .65rem 1rem;
  padding: .65rem .85rem;
  background: #fff;
  border: 1px solid #e8eef5;
  border-radius: 10px;
}
.cat-tree-item.is-editing > .cat-tree-row {
  border-color: #7dd3fc;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, .12);
  background: #f0f9ff;
}
.cat-tree-main {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .4rem .6rem;
  min-width: 0;
}
.cat-tree-name {
  font-size: .95rem;
  font-weight: 750;
  color: #0f172a;
}
.cat-tree-count {
  font-size: .75rem;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  border-radius: 999px;
  padding: .1rem .5rem;
}
.cat-tree-meta, .cat-tree-actions {
  display: flex;
  align-items: center;
  gap: .35rem;
  flex-shrink: 0;
}
.cat-tree-actions form { margin: 0; display: inline; }
@media (max-width: 720px) {
  .cat-tree-row {
    grid-template-columns: 1fr;
    gap: .45rem;
  }
  .cat-tree-actions { justify-content: flex-end; }
}



/* =========================================================
   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: 1.3fr 1fr 1fr 1.15fr !important;
  gap: 1.5rem 1.75rem;
}
.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;
}
/* Hızlı sipariş / hesap filtre kutuları */
.qo-filter-card {
  padding: 1rem 1.15rem 1.1rem !important;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 48px);
}
.qo-filter-card label {
  margin: 0 0 .35rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: #64748b;
}
.qo-filter-card input[type=text],
.qo-filter-card input[type=search],
.qo-filter-card input[type=number],
.qo-filter-card input[type=email],
.qo-filter-card select {
  width: 100%;
  min-height: 2.7rem;
  padding: .7rem .9rem;
  border: 1px solid #cbd5e1;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
  font-size: .92rem;
}
.qo-filter-card input:focus,
.qo-filter-card select:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 4px rgba(0, 160, 227, .12);
}
.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;
  align-items: flex-end;
  padding-bottom: .05rem;
}
.qo-filter-actions .btn { min-height: 2.7rem; }

/* Hesap form alanları (periyodik, profil, cari vb.) */
.account-main input[type=text],
.account-main input[type=search],
.account-main input[type=email],
.account-main input[type=password],
.account-main input[type=number],
.account-main input[type=tel],
.account-main input[type=date],
.account-main input[type=url],
.account-main select,
.account-main textarea {
  width: 100%;
  min-height: 2.65rem;
  padding: .7rem .9rem;
  border: 1px solid #cbd5e1;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
  font: inherit;
  font-size: .92rem;
  box-sizing: border-box;
}
.account-main select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1.4 1.4L6 6l4.6-4.6L12 2.8 6 8.8 0 2.8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  padding-right: 2.25rem;
  cursor: pointer;
}
.account-main input:focus,
.account-main select:focus,
.account-main textarea:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 4px rgba(0, 160, 227, .12);
}
.account-main textarea { min-height: 110px; }
.account-main label {
  margin: .75rem 0 .35rem;
  font-size: .82rem;
  font-weight: 700;
  color: #64748b;
}
.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; min-height: 2.2rem !important; padding: .4rem .5rem !important; }
.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: 250px 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: .4rem .45rem .55rem;
  gap: .15rem;
  max-height: calc(100vh - 7rem);
  overflow-y: auto;
}
.account-side-group {
  display: flex;
  flex-direction: column;
  gap: .12rem;
  padding: .35rem 0 .2rem;
}
.account-side-group + .account-side-group {
  border-top: 1px solid #eef2f7;
  margin-top: .2rem;
  padding-top: .45rem;
}
.account-side-group-label {
  padding: .15rem .75rem .35rem;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #94a3b8;
}
.account-side-group-foot {
  border-top: 1px solid #eef2f7;
  margin-top: .25rem;
  padding-top: .45rem;
}
.account-side-link {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .55rem .7rem;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 650;
  font-size: .88rem;
  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: .15rem; }
.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;
    max-height: none;
  }
  .account-side-group {
    display: contents;
  }
  .account-side-group-label {
    display: none;
  }
  .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; }
}


/* ===== v1.27 sales order / mobile / home / header ===== */
html, body { max-width: 100%; overflow-x: hidden; }
.admin-body, .sales-body, .store-body { overflow-x: hidden; }
.admin-content, .ahub, .main { max-width: 100%; }
.table-wrap, .ahub-table-wrap, .sales-table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.ahub-table { min-width: 0; width: 100%; }
@media (max-width: 900px) {
  .ahub-split { display: flex !important; flex-direction: column !important; }
  .sales-order-grid { display: flex; flex-direction: column; gap: 1rem; }
  .sales-order-page .ahub-form-row { flex-wrap: wrap; }
  .ahub-table th, .ahub-table td { white-space: normal; word-break: break-word; font-size: .85rem; }
  .sales-prod-table .btn-sm { padding: .35rem .5rem; }
  .admin-shell .sidebar { max-width: 100%; }
  .store-header-inner, .store-top-row { flex-wrap: wrap; }
  .header-search { order: 3; width: 100%; max-width: 100%; flex: 1 1 100%; }
  .home-cat-grid, .home-cat-grid-pro { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: .75rem; }
  .home-campaign-grid { grid-template-columns: 1fr !important; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
.sales-order-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
  align-items: start;
}
@media (max-width: 960px) {
  .sales-order-grid { grid-template-columns: 1fr; }
}
.sales-table-scroll { max-height: 420px; overflow: auto; border-radius: 10px; }
.qty-input { width: 64px !important; min-width: 56px; text-align: center; }
.sales-adj-box { margin: .5rem 0; padding: .5rem .75rem; border: 1px dashed rgba(0,0,0,.12); border-radius: 10px; background: rgba(0,0,0,.02); }

/* Home categories pro */
.home-sec-eyebrow { margin: 0; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: #64748b; font-weight: 600; }
.home-cat-grid-pro {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.home-cat-card-pro {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 8px 24px rgba(15,23,42,.06);
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
}
.home-cat-card-pro:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(15,23,42,.1); }
.home-cat-card-pro .home-cat-thumb {
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, #f1f5f9, #e2e8f0);
  display: flex; align-items: center; justify-content: center;
}
.home-cat-card-pro .home-cat-thumb img { width: 100%; height: 100%; object-fit: cover; }
.home-cat-meta { padding: .85rem 1rem 1rem; display: flex; flex-direction: column; gap: .25rem; }
.home-cat-meta strong { font-size: .95rem; }
.home-cat-go { font-size: .8rem; color: #0369a1; font-weight: 600; }

/* Campaign tiles separated */
.home-campaign-grid {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0 1.75rem;
  padding: 0 clamp(.5rem, 2vw, 1rem);
}
.home-campaign-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-campaign-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-campaign-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-campaign-tile {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 160px;
  background: var(--camp-bg, #1e3a8a);
  color: #fff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 10px 28px rgba(15,23,42,.12);
  border: 1px solid rgba(255,255,255,.08);
}
.home-campaign-tile-media {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .35;
}
.home-campaign-tile-body { position: relative; z-index: 1; padding: 1.1rem 1.15rem 1.2rem; }
.home-campaign-tile-body h3 { margin: 0 0 .35rem; font-size: 1.1rem; }
.home-campaign-tile-body p { margin: 0 0 .5rem; opacity: .9; font-size: .9rem; line-height: 1.4; }
.home-campaign-tile-cta { font-weight: 700; font-size: .85rem; letter-spacing: .02em; }
.home-campaign-pro { border-radius: 18px; margin: 1.25rem clamp(.5rem,2vw,1rem) 1.75rem; overflow: hidden; }

/* Header pro */
.store-header-v3 {
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 4px 20px rgba(15,23,42,.04);
  position: sticky;
  top: 0;
  z-index: 50;
}
.store-header-nav-flat {
  border-top: 1px solid rgba(15,23,42,.05);
  background: linear-gradient(180deg, #f8fafc, #fff);
}
.store-nav-flat a {
  font-weight: 600;
  font-size: .9rem;
  padding: .65rem .85rem;
  border-radius: 999px;
  color: #334155;
}
.store-nav-flat a:hover, .store-nav-flat a.active {
  background: #e0f2fe;
  color: #0369a1;
}

/* PWA install — only mobile via JS + CSS fallback */
.pwa-install-bar {
  z-index: 9999 !important;
  pointer-events: auto !important;
}
.pwa-install-bar .pwa-install-actions { position: relative; z-index: 2; }
#pwaInstallDismiss {
  pointer-events: auto !important;
  cursor: pointer;
  min-width: 2.25rem;
  min-height: 2.25rem;
  line-height: 1;
  font-size: 1.1rem;
}
@media (min-width: 901px) {
  .pwa-install-bar { display: none !important; }
}

/* ========== v1.28 — Header pro + anasayfa + admin fixed sidebar ========== */

/* Admin: sabit menü, viewport yüksekliği, altta boşluk yok */
body.admin-body { overflow-x: hidden; }
body.admin-body .app-shell.admin-shell {
  display: block !important;
  min-height: 100vh;
  background: var(--bg);
}
body.admin-body .admin-sidebar {
  position: fixed !important;
  top: 0;
  left: 0;
  bottom: 0;
  height: 100vh !important;
  height: 100dvh !important;
  width: var(--sidebar) !important;
  max-height: 100vh !important;
  max-height: 100dvh !important;
  z-index: 100;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  margin: 0 !important;
}
body.admin-body .admin-sidebar .sidebar-nav {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch;
}
body.admin-body .admin-sidebar .sidebar-foot {
  flex-shrink: 0 !important;
  margin-top: 0 !important;
}
body.admin-body .admin-main {
  margin-left: var(--sidebar) !important;
  width: calc(100% - var(--sidebar)) !important;
  max-width: calc(100% - var(--sidebar)) !important;
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
}
@media (max-width: 900px) {
  body.admin-body .admin-sidebar {
    transform: translateX(-105%);
    transition: transform .22s ease;
    box-shadow: 8px 0 32px rgba(0,0,0,.25);
  }
  body.admin-body .admin-sidebar.is-open {
    transform: translateX(0);
  }
  body.admin-body .admin-main {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* —— Store header professional —— */
.store-header-pro {
  position: sticky;
  top: 0;
  z-index: 80;
  background: #fff;
  border-bottom: 1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 1px 0 rgba(15,23,42,.04), 0 8px 28px rgba(15,23,42,.06);
}
.store-header-bar {
  background: #fff;
  border-bottom: 1px solid #f1f5f9;
}
.store-header-bar-inner {
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto;
  gap: 1rem 1.25rem;
  align-items: center;
  padding: .85rem 0;
}
.store-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: clamp(1rem, 3vw, 1.5rem);
  padding-right: clamp(1rem, 3vw, 1.5rem);
}
.brand-pro {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none !important;
  color: inherit;
  min-width: 0;
}
.brand-pro .brand-logo {
  height: 42px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}
.brand-pro .brand-text strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #0f172a;
  line-height: 1.15;
}
.brand-pro .brand-text small {
  display: block;
  font-size: .72rem;
  color: #64748b;
  font-weight: 600;
  margin-top: .1rem;
}
.header-search-pro {
  position: relative;
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
}
.header-search-pro .search-ico {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}
.header-search-pro input[type=search] {
  width: 100%;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 999px;
  padding: .72rem 1rem .72rem 2.55rem;
  font-size: .92rem;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.header-search-pro input[type=search]:focus {
  outline: none;
  background: #fff;
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.h-act {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .1rem;
  min-width: 52px;
  padding: .4rem .5rem;
  border-radius: 12px;
  color: #334155;
  text-decoration: none !important;
  font-weight: 650;
  font-size: .7rem;
  transition: background .15s, color .15s;
}
.h-act:hover { background: #f1f5f9; color: #0369a1; }
.h-act-primary {
  background: #eff6ff;
  color: #1d4ed8;
}
.h-act .h-ico { font-size: 1.15rem; line-height: 1; }
.h-lang-cur-pro {
  display: flex;
  gap: .25rem;
  margin-right: .25rem;
}
.h-lang-cur-pro select {
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 8px;
  padding: .3rem .4rem;
  font-size: .75rem;
  font-weight: 650;
  color: #475569;
}
.nav-toggle-pro {
  display: none;
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 10px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
}

/* Nav bar with dropdowns */
.store-header-nav-pro {
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  border-top: 1px solid #f1f5f9;
}
.store-nav-pro {
  display: flex;
  align-items: stretch;
  gap: .15rem;
  flex-wrap: wrap;
  padding: .25rem 0;
  position: relative;
}
.store-nav-pro .nav-link,
.store-nav-pro .nav-dd-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .7rem 1rem;
  border: 0;
  background: transparent;
  border-radius: 10px;
  font: inherit;
  font-weight: 650;
  font-size: .9rem;
  color: #334155;
  text-decoration: none !important;
  cursor: pointer;
  white-space: nowrap;
}
.store-nav-pro .nav-link:hover,
.store-nav-pro .nav-dd-btn:hover,
.store-nav-pro .nav-link.is-active {
  background: #eff6ff;
  color: #1d4ed8;
}
.store-nav-pro .nav-link-muted { color: #64748b; font-weight: 600; }
.nav-caret { font-size: .65rem; opacity: .7; }
.nav-item {
  position: relative;
}
.nav-dropdown {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(15,23,42,.14);
  padding: .45rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  z-index: 90;
}
.nav-dropdown-mega {
  min-width: min(720px, 92vw);
  max-width: min(880px, 96vw);
  padding: 1rem;
}
.nav-item:hover > .nav-dropdown,
.nav-item:focus-within > .nav-dropdown,
.nav-item.is-open > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dd-link {
  display: block;
  padding: .55rem .75rem;
  border-radius: 9px;
  color: #334155;
  font-weight: 600;
  font-size: .88rem;
  text-decoration: none !important;
}
.nav-dd-link:hover { background: #f1f5f9; color: #1d4ed8; }
.nav-mega-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: .85rem 1.1rem;
}
.nav-mega-parent {
  display: block;
  font-weight: 800;
  font-size: .9rem;
  color: #0f172a;
  text-decoration: none !important;
  margin-bottom: .35rem;
  padding-bottom: .35rem;
  border-bottom: 1px solid #e2e8f0;
}
.nav-mega-parent:hover { color: #1d4ed8; }
.nav-mega-children {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-mega-children a {
  display: block;
  padding: .28rem 0;
  font-size: .84rem;
  color: #64748b;
  text-decoration: none !important;
  font-weight: 550;
}
.nav-mega-children a:hover { color: #1d4ed8; }

@media (max-width: 960px) {
  .store-header-bar-inner {
    grid-template-columns: 1fr auto;
  }
  .header-search-pro {
    grid-column: 1 / -1;
    order: 3;
    max-width: none;
  }
  .h-act .h-lbl { display: none; }
  .h-act { min-width: 42px; }
  .h-lang-cur-pro { display: none; }
  .nav-toggle-pro { display: inline-flex !important; }
  .store-nav-pro {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: .5rem 0 .85rem;
    gap: .15rem;
  }
  .store-nav-pro.is-open { display: flex !important; }
  .store-nav-pro .nav-link,
  .store-nav-pro .nav-dd-btn {
    width: 100%;
    justify-content: space-between;
    border-radius: 10px;
    background: #f8fafc;
  }
  .nav-dropdown,
  .nav-dropdown-mega {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    box-shadow: none;
    border: 0;
    background: #f1f5f9;
    min-width: 0;
    max-width: none;
    margin: .25rem 0 .5rem;
  }
  .nav-item.is-open > .nav-dropdown { display: block; }
  .nav-mega-grid { grid-template-columns: 1fr 1fr; }
}

/* —— Full-bleed slider (edge to edge) —— */
.store-body { overflow-x: clip; }
.home-page-v2 { padding-bottom: 2.5rem; }
.home-slider,
.home-slider-fullbleed {
  position: relative;
  width: 100vw !important;
  max-width: 100vw !important;
  left: 50%;
  right: 50%;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  border-radius: 0 !important;
  min-height: clamp(320px, 46vw, 560px) !important;
  overflow: hidden;
  background: #0b1220;
}
.home-slider-track { min-height: inherit; }
.home-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(8%);
  transition: opacity .55s ease, transform .55s ease, visibility .55s;
  display: flex;
  align-items: center;
}
.home-slide.is-active {
  opacity: 1;
  visibility: visible;
  position: relative;
  min-height: inherit;
  transform: translateX(0);
  z-index: 2;
}
.home-slide.is-from-right { animation: slideInFromRight .55s ease; }
.home-slide.is-from-left { animation: slideInFromLeft .55s ease; }
@keyframes slideInFromRight {
  from { opacity: 0; transform: translateX(12%); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInFromLeft {
  from { opacity: 0; transform: translateX(-12%); }
  to { opacity: 1; transform: translateX(0); }
}
.home-slide-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.home-slide-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 2rem);
}

/* Campaign tiles: independent, gapped */
.home-campaign-wrap {
  margin-top: 1.35rem !important;
  margin-bottom: .5rem;
}
.home-wrap {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 3vw, 1.5rem);
  padding-right: clamp(1rem, 3vw, 1.5rem);
}
.home-campaign-grid {
  display: grid !important;
  gap: 1.15rem !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
}
.home-campaign-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.home-campaign-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.home-campaign-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.home-campaign-tile {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 168px;
  background: var(--camp-bg, #0f2744);
  color: #fff;
  text-decoration: none !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .1);
  border: 1px solid rgba(15,23,42,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.home-campaign-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, .14);
}
.home-campaign-tile-media {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.home-campaign-tile-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,.15) 0%, rgba(15,23,42,.72) 100%);
  z-index: 1;
}
.home-campaign-tile-body {
  position: relative;
  z-index: 2;
  padding: 1.15rem 1.2rem 1.25rem;
}
.home-campaign-tile-body h3 {
  margin: 0 0 .3rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.home-campaign-tile-body p {
  margin: 0 0 .55rem;
  font-size: .88rem;
  opacity: .92;
  line-height: 1.4;
}
.home-campaign-tile-cta {
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .02em;
  opacity: .95;
}
.home-campaign-pro {
  border-radius: 18px;
  overflow: hidden;
  margin: 0;
  box-shadow: 0 10px 28px rgba(15,23,42,.1);
}

/* Trust strip */
.home-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
  margin: 1.5rem auto 1.75rem;
}
.home-trust-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .95rem 1rem;
  background: #fff;
  border: 1px solid rgba(15,23,42,.07);
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(15,23,42,.04);
}
.home-trust-ico {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 800;
  flex-shrink: 0;
}
.home-trust-item strong {
  display: block;
  font-size: .9rem;
  color: #0f172a;
  font-weight: 750;
}
.home-trust-item small {
  display: block;
  color: #64748b;
  font-size: .78rem;
  margin-top: .1rem;
}

/* Home sections */
.home-sections { padding-bottom: 1rem; }
.home-block { margin-bottom: 2.25rem; }
.home-sec-head-pro {
  margin-bottom: 1rem;
  align-items: flex-end;
}
.home-sec-eyebrow {
  margin: 0 0 .2rem;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 700;
}
.home-sec-head-pro h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  letter-spacing: -.02em;
  color: #0f172a;
}
.home-sec-more {
  font-weight: 700;
  font-size: .9rem;
  color: #1d4ed8;
  text-decoration: none !important;
  white-space: nowrap;
}
.home-sec-more:hover { text-decoration: underline !important; }

.home-cat-grid-pro {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}
.home-cat-card-pro {
  background: #fff;
  border: 1px solid rgba(15,23,42,.07);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(15,23,42,.05);
  transition: transform .18s ease, box-shadow .18s ease;
  text-decoration: none !important;
  color: inherit;
}
.home-cat-card-pro:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(15,23,42,.1);
}
.home-cat-card-pro .home-cat-thumb {
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, #f1f5f9, #e2e8f0);
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-cat-card-pro .home-cat-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-cat-placeholder {
  font-size: 1.6rem;
  font-weight: 800;
  color: #94a3b8;
}
.home-cat-meta {
  padding: .85rem 1rem 1rem;
}
.home-cat-meta strong {
  display: block;
  font-size: .95rem;
  margin-bottom: .2rem;
}
.home-cat-go {
  font-size: .8rem;
  color: #1d4ed8;
  font-weight: 700;
}

.product-grid-pro {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.product-grid-pro .product-card {
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.07);
  box-shadow: 0 6px 20px rgba(15,23,42,.05);
  overflow: hidden;
  background: #fff;
  transition: transform .18s ease, box-shadow .18s ease;
}
.product-grid-pro .product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(15,23,42,.1);
}

@media (max-width: 1100px) {
  .home-cat-grid-pro { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .product-grid-pro { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-campaign-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 800px) {
  .home-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-cat-grid-pro { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid-pro { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-campaign-cols-2,
  .home-campaign-cols-3,
  .home-campaign-cols-4 {
    grid-template-columns: 1fr !important;
  }
  .home-slider, .home-slider-fullbleed { min-height: 260px !important; }
}
@media (max-width: 520px) {
  .home-trust { grid-template-columns: 1fr; }
}


/* ========== v1.28.1 — Slider truly full-bleed (edge to edge) ========== */
/* Anasayfa: main container kısıtını kaldır */
.store-body:has(.home-page-v2),
.store-body:has(.home-slider-fullbleed) {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 0 3rem !important;
  overflow-x: visible !important;
}
.store-body:has(.home-page-v2) > .alert {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1rem;
  width: calc(100% - 2rem);
}

.home-page-v2 {
  width: 100%;
  max-width: none;
  padding-bottom: 2rem;
  overflow: visible;
}

/* Slider: sağdan sola / kenardan kenara tam kapla */
.home-slider,
.home-slider-fullbleed,
.home-page-v2 > .home-slider {
  display: block !important;
  position: relative !important;
  width: 100vw !important;
  max-width: 100vw !important;
  min-width: 100vw !important;
  left: 0 !important;
  right: 0 !important;
  margin: 0 !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  min-height: clamp(340px, 48vw, 620px) !important;
  background: #0b1220;
  box-sizing: border-box;
}

.home-slider-track {
  position: relative;
  width: 100%;
  min-height: inherit;
}

.home-slide {
  width: 100%;
  min-height: inherit;
}

.home-slide-bg {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.home-slide-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(2.75rem, 7vw, 5rem) clamp(1.25rem, 4vw, 2rem) !important;
  width: 100%;
  box-sizing: border-box;
}

/* Alttaki içerik yine ortalı max-width */
.home-page-v2 .home-wrap,
.home-page-v2 .home-campaign-wrap,
.home-page-v2 .home-trust,
.home-page-v2 .home-sections {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 3vw, 1.5rem);
  padding-right: clamp(1rem, 3vw, 1.5rem);
  box-sizing: border-box;
}
.home-page-v2 .home-campaign-wrap {
  margin-top: 1.35rem !important;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* ========== v1.28.2 — footer slim, mobile barcode, blog ========== */
.nav-link-mobile-only { display: none !important; }
@media (max-width: 960px) {
  .store-nav-pro.is-open .nav-link-mobile-only,
  .store-nav-pro .nav-link-mobile-only {
    display: inline-flex !important;
  }
}

/* Footer slim — no extra white band */
html, body {
  background: #0b1220;
}
body.admin-body, body.sales-body {
  background: var(--bg, #f4f6f9);
}
.store-footer,
.store-footer-slim {
  background: #0b1220 !important;
  color: #94a3b8;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 1.75rem 1rem 1.1rem !important;
  border-top: 1px solid rgba(255,255,255,.06);
}
.store-footer-slim-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem 1.5rem;
  grid-template-columns: none !important;
}
.store-footer-brand {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  min-width: 0;
}
.store-footer-brand strong {
  color: #f8fafc;
  font-size: 1rem;
  font-weight: 800;
}
.store-footer-brand span {
  color: #94a3b8;
  font-size: .88rem;
  max-width: 36rem;
  line-height: 1.45;
}
.store-footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1rem;
  align-items: center;
}
.store-footer-contact a,
.store-footer-contact span {
  color: #cbd5e1 !important;
  font-size: .88rem;
  text-decoration: none !important;
  display: inline !important;
  margin: 0 !important;
}
.store-footer-contact a:hover { color: #fff !important; }
.footer-copy,
.footer-copy-end {
  max-width: 1200px !important;
  margin: 1.1rem auto 0 !important;
  padding: .85rem 0 0 !important;
  border-top: 1px solid rgba(255,255,255,.08) !important;
  font-size: .8rem !important;
  color: #64748b !important;
  text-align: left;
}
.footer-copy a { display: inline !important; color: #94a3b8 !important; margin: 0 .15rem !important; }
.footer-kb {
  color: #e2e8f0;
  font-weight: 700;
  letter-spacing: .02em;
}
/* Remove white gap under footer */
body:not(.admin-body):not(.sales-body) {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
body:not(.admin-body):not(.sales-body) > .store-header-pro,
body:not(.admin-body):not(.sales-body) > .store-header {
  flex-shrink: 0;
}
body:not(.admin-body):not(.sales-body) > #main-content,
body:not(.admin-body):not(.sales-body) > .store-body {
  flex: 1 0 auto;
  background: #f4f6f9;
}
body:not(.admin-body):not(.sales-body) > .store-footer,
body:not(.admin-body):not(.sales-body) > .store-footer-slim,
body:not(.admin-body):not(.sales-body) > .footer-banner-full,
body:not(.admin-body):not(.sales-body) > .wa-float,
body:not(.admin-body):not(.sales-body) > .cookie-banner,
body:not(.admin-body):not(.sales-body) > .pwa-install-bar,
body:not(.admin-body):not(.sales-body) > .login-modal {
  flex-shrink: 0;
}
body:not(.admin-body):not(.sales-body) > .store-footer-slim:last-of-type {
  margin-bottom: 0 !important;
  padding-bottom: 1.15rem !important;
}

/* Blog / duyurular vitrin */
.blog-page-head { margin-bottom: 1.5rem; }
.blog-page-title {
  margin: .15rem 0 .4rem;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  letter-spacing: -.02em;
  color: #0f172a;
}
.blog-page-lead { margin: 0; color: #64748b; font-size: .95rem; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}
.blog-card {
  background: #fff;
  border: 1px solid rgba(15,23,42,.07);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15,23,42,.05);
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(15,23,42,.1);
}
.blog-card-media {
  display: block;
  aspect-ratio: 16/10;
  background: linear-gradient(145deg, #e2e8f0, #f1f5f9);
  overflow: hidden;
}
.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-card-placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: #94a3b8;
}
.blog-card-body { padding: 1rem 1.1rem 1.15rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.blog-card-date {
  font-size: .78rem;
  font-weight: 650;
  color: #64748b;
  letter-spacing: .02em;
}
.blog-card-title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
}
.blog-card-title a {
  color: #0f172a;
  text-decoration: none !important;
}
.blog-card-title a:hover { color: #1d4ed8; }
.blog-card-excerpt {
  margin: 0;
  color: #64748b;
  font-size: .9rem;
  line-height: 1.45;
  flex: 1;
}
.blog-card-more {
  font-weight: 700;
  font-size: .88rem;
  color: #1d4ed8;
  text-decoration: none !important;
  margin-top: .25rem;
}
.blog-empty { padding: 2rem; text-align: center; }
.blog-post-back { margin: 0 0 1rem; }
.blog-post-back a { color: #64748b; font-weight: 600; text-decoration: none; }
.blog-post-back a:hover { color: #1d4ed8; }
.blog-post-hero {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  aspect-ratio: 21/9;
  background: #e2e8f0;
}
.blog-post-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-post-title {
  margin: .35rem 0 .5rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -.02em;
  color: #0f172a;
  line-height: 1.2;
}
.blog-post-excerpt {
  margin: 0 0 1.25rem;
  color: #64748b;
  font-size: 1.05rem;
  line-height: 1.5;
}
.blog-post-body {
  color: #334155;
  font-size: 1.02rem;
  line-height: 1.7;
  background: #fff;
  border: 1px solid rgba(15,23,42,.06);
  border-radius: 16px;
  padding: 1.35rem 1.4rem;
  box-shadow: 0 6px 20px rgba(15,23,42,.04);
}
@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .blog-post-hero { aspect-ratio: 16/9; }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
  .store-footer-slim-inner { flex-direction: column; }
}

/* ========== Footer restored (revert slim overrides) ========== */
html, body {
  background: #fff;
}
body.admin-body, body.sales-body {
  background: var(--bg, #f4f6f9);
}
body:not(.admin-body):not(.sales-body) {
  display: block;
  min-height: auto;
}
body:not(.admin-body):not(.sales-body) > #main-content,
body:not(.admin-body):not(.sales-body) > .store-body {
  flex: none;
  background: transparent;
}
.store-footer {
  background: var(--bg-deep, #0b1220) !important;
  color: #94a3b8;
  margin-top: 2rem !important;
  padding: 2.5rem 1rem 1.5rem !important;
}
.store-footer-inner.store-footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid !important;
  grid-template-columns: 1.3fr 1fr 1fr 1.15fr !important;
  gap: 1.5rem 1.75rem;
  align-items: start;
}
.store-footer .footer-col { min-width: 0; }
.store-footer .footer-blurb {
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
  font-size: .9rem;
}
.store-footer .footer-address {
  display: block;
  margin: .35rem 0 0;
  color: #94a3b8;
  font-size: .88rem;
  line-height: 1.45;
}
.store-footer .footer-col-contact {
  /* Her zaman son sütun */
  order: 4;
}
@media (max-width: 900px) {
  .store-footer-inner.store-footer-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  .store-footer .footer-col-brand { order: 1; }
  .store-footer .footer-col-links { order: 2; }
  .store-footer .footer-col-cats { order: 3; }
  .store-footer .footer-col-contact { order: 4; }
}
@media (max-width: 560px) {
  .store-footer-inner.store-footer-grid {
    grid-template-columns: 1fr !important;
  }
}
.store-footer h4 { color: #fff; margin: 0 0 .7rem; font-size: .95rem; }
.store-footer a {
  color: #cbd5e1 !important;
  display: block !important;
  margin: .3rem 0 !important;
  font-size: .9rem;
  text-decoration: none;
}
.store-footer a:hover { color: #e2e8f0 !important; }
.footer-copy {
  max-width: 1180px !important;
  margin: 1.5rem auto 0 !important;
  padding-top: 1rem !important;
  border-top: 1px solid rgba(255,255,255,.08) !important;
  font-size: .8rem !important;
  color: #64748b !important;
}
.footer-copy a {
  display: inline !important;
  margin: 0 .2rem !important;
  color: #94a3b8 !important;
}

/* ========== v1.28.4 — utility bar under ticker + blog side menu + banks ========== */
.store-utility-bar {
  background: #0f172a;
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: #cbd5e1;
  font-size: .86rem;
}
.store-utility-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: .45rem clamp(1rem, 3vw, 1.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1.25rem;
}
.store-utility-links {
  display: flex;
  flex-wrap: wrap;
  gap: .15rem .15rem;
  align-items: center;
}
.store-utility-links a {
  color: #e2e8f0;
  text-decoration: none !important;
  font-weight: 650;
  padding: .35rem .7rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.store-utility-links a:hover,
.store-utility-links a.is-active {
  background: rgba(255,255,255,.1);
  color: #fff;
}
.store-utility-contact {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .85rem;
  align-items: center;
}
.store-utility-contact a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: #94a3b8;
  text-decoration: none !important;
  font-weight: 600;
  font-size: .84rem;
}
.store-utility-contact a:hover { color: #fff; }
.util-ico { opacity: .85; font-size: .9rem; }
@media (max-width: 720px) {
  .store-utility-inner { flex-direction: column; align-items: stretch; }
  .store-utility-links { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .store-utility-contact { justify-content: flex-start; }
}

/* Blog detail with left sidebar */
.blog-detail-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
  max-width: 1100px !important;
}
.blog-detail-side {
  position: sticky;
  top: 5.5rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.blog-side-card {
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 14px;
  padding: 1rem 1.05rem;
  box-shadow: 0 6px 18px rgba(15,23,42,.04);
}
.blog-side-title {
  margin: 0 0 .65rem;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #64748b;
  font-weight: 800;
}
.blog-side-nav {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.blog-side-link {
  display: block;
  padding: .5rem .65rem;
  border-radius: 9px;
  color: #334155;
  font-weight: 650;
  font-size: .9rem;
  text-decoration: none !important;
}
.blog-side-link:hover,
.blog-side-link.is-active {
  background: #eff6ff;
  color: #1d4ed8;
}
.blog-side-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.blog-side-list li { margin: 0 0 .45rem; }
.blog-side-list a {
  display: block;
  text-decoration: none !important;
  color: #334155;
  font-weight: 600;
  font-size: .88rem;
  line-height: 1.35;
}
.blog-side-list a:hover { color: #1d4ed8; }
.blog-side-list-date {
  display: block;
  font-size: .75rem;
  color: #94a3b8;
  font-weight: 550;
  margin-top: .1rem;
}
.blog-side-contact-row {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: #334155;
  text-decoration: none !important;
  font-weight: 600;
  font-size: .88rem;
  margin: .35rem 0;
}
.blog-side-contact-row:hover { color: #1d4ed8; }
.blog-detail-main { min-width: 0; }
@media (max-width: 900px) {
  .blog-detail-layout {
    grid-template-columns: 1fr;
  }
  .blog-detail-side {
    position: static;
    order: 2;
  }
  .blog-detail-main { order: 1; }
}

/* Banks page */
.banks-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.bank-card {
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 16px;
  padding: 1.15rem 1.2rem;
  box-shadow: 0 8px 22px rgba(15,23,42,.05);
}
.bank-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  margin-bottom: .75rem;
  padding-bottom: .65rem;
  border-bottom: 1px solid #f1f5f9;
}
.bank-card-name {
  margin: 0;
  font-size: 1.05rem;
  color: #0f172a;
}
.bank-card-cur {
  font-size: .75rem;
  font-weight: 800;
  background: #eff6ff;
  color: #1d4ed8;
  padding: .25rem .55rem;
  border-radius: 999px;
}
.bank-card-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .65rem;
  margin: .45rem 0;
  font-size: .9rem;
}
.bank-card-row > span:first-child {
  color: #64748b;
  min-width: 5.5rem;
  font-weight: 600;
}
.bank-card-row strong { color: #0f172a; word-break: break-all; }
.bank-card-iban .iban-text {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .02em;
}
.bank-card-note { margin: .65rem 0 0; }
@media (max-width: 700px) {
  .banks-grid { grid-template-columns: 1fr; }
}

/* ========== v1.28.5 — utility white + contact left; blog home scroll ========== */
.store-utility-bar {
  background: #fff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  color: #334155;
}
.store-utility-links a {
  color: #334155 !important;
  font-weight: 650;
}
.store-utility-links a:hover,
.store-utility-links a.is-active {
  background: #eff6ff !important;
  color: #1d4ed8 !important;
}
.store-utility-contact a {
  color: #475569 !important;
}
.store-utility-contact a:hover { color: #0f172a !important; }
.store-utility-inner {
  justify-content: space-between;
}
/* contact left, menus right (flex order already in HTML) */
.blog-home-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: .35rem;
  -webkit-overflow-scrolling: touch;
}
.blog-card-scroll {
  flex: 0 0 min(280px, 78vw);
  scroll-snap-align: start;
  max-width: 300px;
}
.blog-home-grid {
  margin-bottom: .25rem;
}

/* ========== v1.28.7 — pro top nav + clickable parents + submenu ========== */
.store-header-nav-pro {
  background: #fff !important;
  border-top: 1px solid #eef2f7 !important;
  box-shadow: 0 1px 0 rgba(15,23,42,.03);
}
.store-nav-pro {
  display: flex;
  align-items: center;
  gap: .2rem;
  flex-wrap: wrap;
  padding: .4rem 0;
}
.store-nav-pro > .nav-link,
.store-nav-pro .nav-link-split {
  border-radius: 10px;
}
.store-nav-pro > .nav-link,
.store-nav-pro .nav-link-main,
.store-nav-pro .nav-dd-btn:not(.nav-caret-btn) {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .55rem .95rem;
  font-weight: 650;
  font-size: .9rem;
  color: #1e293b !important;
  text-decoration: none !important;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 10px;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}
.store-nav-pro > .nav-link:hover,
.store-nav-pro > .nav-link.is-active,
.store-nav-pro .nav-link-split:hover,
.store-nav-pro .nav-link-split.is-active,
.store-nav-pro .nav-item:hover > .nav-link-split,
.store-nav-pro .nav-dd-btn:not(.nav-caret-btn):hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}

/* Parent + caret split (clickable menu) */
.nav-link-split {
  display: inline-flex;
  align-items: stretch;
  background: transparent;
  border-radius: 10px;
  overflow: hidden;
}
.nav-link-split .nav-link-main {
  padding: .55rem .45rem .55rem .95rem !important;
  border-radius: 10px 0 0 10px !important;
  color: #1e293b !important;
  font-weight: 650;
  font-size: .9rem;
  text-decoration: none !important;
}
.nav-link-split .nav-caret-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 2rem;
  padding: 0 !important;
  margin: 0;
  border: 0;
  border-radius: 0 10px 10px 0 !important;
  background: transparent;
  color: #64748b;
  cursor: pointer;
}
.nav-link-split .nav-caret-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.nav-link-split:hover .nav-link-main,
.nav-link-split.is-active .nav-link-main {
  background: #f1f5f9;
}
.nav-caret {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: .75;
  vertical-align: middle;
}
.nav-item.has-dropdown:hover .nav-caret,
.nav-item.is-open .nav-caret {
  transform: rotate(180deg);
}

/* Professional dropdown panel */
.nav-dropdown,
.nav-dropdown-pro {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  padding: .45rem !important;
  background: #fff !important;
  border: 1px solid rgba(15,23,42,.08) !important;
  border-radius: 14px !important;
  box-shadow: 0 16px 40px rgba(15,23,42,.12), 0 2px 8px rgba(15,23,42,.04) !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  z-index: 120;
}
.nav-item { position: relative; }
.nav-item:hover > .nav-dropdown,
.nav-item:focus-within > .nav-dropdown,
.nav-item.is-open > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 1.25rem;
  width: 12px;
  height: 12px;
  background: #fff;
  border-left: 1px solid rgba(15,23,42,.08);
  border-top: 1px solid rgba(15,23,42,.08);
  transform: rotate(45deg);
}
.nav-dd-link {
  display: flex !important;
  align-items: center;
  gap: .5rem;
  padding: .62rem .85rem !important;
  border-radius: 10px !important;
  color: #334155 !important;
  font-weight: 600 !important;
  font-size: .88rem !important;
  text-decoration: none !important;
  transition: background .12s ease, color .12s ease;
}
.nav-dd-link:hover,
.nav-dd-link.is-active {
  background: #eff6ff !important;
  color: #1d4ed8 !important;
}
.nav-dd-link::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cbd5e1;
  flex-shrink: 0;
}
.nav-dd-link:hover::before,
.nav-dd-link.is-active::before {
  background: #3b82f6;
}

/* Mega menu pro */
.nav-dropdown-mega {
  min-width: min(720px, 92vw) !important;
  max-width: min(900px, 96vw);
  padding: 1rem 1.1rem !important;
}
.nav-dropdown-mega::before { left: 2rem; }
.nav-mega-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem 1.25rem;
}
.nav-mega-col {
  min-width: 0;
  padding: .15rem .25rem;
}
.nav-mega-parent {
  display: block;
  font-weight: 800 !important;
  font-size: .9rem !important;
  color: #0f172a !important;
  text-decoration: none !important;
  padding-bottom: .4rem;
  margin-bottom: .35rem;
  border-bottom: 2px solid #e2e8f0;
  letter-spacing: -.01em;
}
.nav-mega-parent:hover {
  color: #1d4ed8 !important;
  border-bottom-color: #93c5fd;
}
.nav-mega-children {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-mega-children li { margin: 0; }
.nav-mega-children a {
  display: block;
  padding: .32rem 0;
  font-size: .84rem;
  font-weight: 550;
  color: #64748b;
  text-decoration: none !important;
  border-radius: 6px;
}
.nav-mega-children a:hover {
  color: #1d4ed8;
  padding-left: .25rem;
}

@media (max-width: 960px) {
  .store-nav-pro {
    flex-direction: column;
    align-items: stretch;
    gap: .35rem;
  }
  .nav-link-split {
    width: 100%;
    background: #f8fafc;
  }
  .nav-link-split .nav-link-main { flex: 1; }
  .store-nav-pro > .nav-link {
    width: 100%;
    background: #f8fafc;
  }
  .nav-dropdown,
  .nav-dropdown-pro,
  .nav-dropdown-mega {
    position: static !important;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    box-shadow: none !important;
    border: 0 !important;
    background: #f1f5f9 !important;
    min-width: 0 !important;
    margin: .25rem 0 .4rem;
    padding: .35rem !important;
  }
  .nav-dropdown::before { display: none; }
  .nav-item.is-open > .nav-dropdown { display: block !important; }
  .nav-mega-grid { grid-template-columns: 1fr 1fr; }
}

/* ========== v1.28.8 — multi-level categories + premium mega menu ========== */
.nav-mega-panel {
  min-width: min(860px, 94vw) !important;
  max-width: min(960px, 96vw) !important;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 16px !important;
  border: 1px solid rgba(15,23,42,.08) !important;
  box-shadow: 0 24px 56px rgba(15,23,42,.14), 0 4px 16px rgba(15,23,42,.05) !important;
}
.nav-mega-panel::before { display: none; }
.nav-mega-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1.2rem;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid #e2e8f0;
}
.nav-mega-head-title {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #64748b;
}
.nav-mega-head-link {
  font-size: .84rem;
  font-weight: 700;
  color: #1d4ed8;
  text-decoration: none !important;
}
.nav-mega-head-link:hover { color: #1e40af; }
.nav-mega-panel .nav-mega-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0;
  padding: .35rem;
  max-height: min(70vh, 480px);
  overflow-y: auto;
}
.nav-mega-col {
  padding: .85rem 1rem 1rem;
  border-radius: 12px;
  transition: background .15s ease;
}
.nav-mega-col:hover {
  background: #f8fafc;
}
.nav-mega-parent {
  display: block;
  font-weight: 800 !important;
  font-size: .92rem !important;
  color: #0f172a !important;
  text-decoration: none !important;
  margin: 0 0 .55rem;
  padding: 0 0 .45rem;
  border-bottom: 2px solid #e2e8f0;
  letter-spacing: -.015em;
}
.nav-mega-parent:hover {
  color: #1d4ed8 !important;
  border-bottom-color: #93c5fd;
}
.nav-mega-children {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-mega-children > li {
  margin: 0;
  position: relative;
}
.nav-mega-children > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .35rem;
  padding: .38rem .2rem;
  font-size: .86rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none !important;
  border-radius: 8px;
  transition: color .12s, background .12s, padding .12s;
}
.nav-mega-children > li > a:hover {
  color: #1d4ed8;
  background: #eff6ff;
  padding-left: .45rem;
  padding-right: .45rem;
}
.nav-mega-arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 5px solid #94a3b8;
  flex-shrink: 0;
  opacity: .7;
}
.nav-mega-children > li:hover > a .nav-mega-arrow {
  border-left-color: #3b82f6;
}
/* Nested levels in mega */
.nav-mega-nested {
  list-style: none;
  margin: .15rem 0 .35rem .65rem !important;
  padding: .15rem 0 .15rem .55rem !important;
  border-left: 2px solid #e2e8f0;
}
.nav-mega-nested > li > a {
  font-size: .82rem !important;
  font-weight: 550 !important;
  color: #64748b !important;
  padding: .28rem .15rem !important;
}
.nav-mega-nested .nav-mega-nested {
  margin-left: .5rem !important;
  border-left-color: #f1f5f9;
}
.nav-mega-nested .nav-mega-nested > li > a {
  font-size: .8rem !important;
  color: #94a3b8 !important;
}

/* Top menu multi-level flyout */
.nav-dropdown-tree {
  min-width: 240px !important;
  padding: .4rem !important;
}
.nav-dd-group {
  position: relative;
}
.nav-dd-row {
  display: flex;
  align-items: center;
  gap: .15rem;
}
.nav-dd-row .nav-dd-link {
  flex: 1;
}
.nav-dd-chevron {
  display: inline-block;
  width: 0;
  height: 0;
  margin-right: .55rem;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 5px solid #94a3b8;
  flex-shrink: 0;
}
.nav-dropdown-nested {
  display: none;
  position: absolute;
  left: calc(100% - 6px);
  top: -.35rem;
  min-width: 200px;
  padding: .4rem;
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(15,23,42,.12);
  z-index: 130;
}
.nav-dd-group:hover > .nav-dropdown-nested,
.nav-dd-group:focus-within > .nav-dropdown-nested {
  display: block;
}
.nav-dd-group:hover > .nav-dd-row .nav-dd-chevron {
  border-left-color: #3b82f6;
}
.nav-dd-group:hover > .nav-dd-row .nav-dd-link {
  background: #eff6ff !important;
  color: #1d4ed8 !important;
}

@media (max-width: 960px) {
  .nav-mega-panel .nav-mega-grid {
    max-height: none;
    grid-template-columns: 1fr;
  }
  .nav-dropdown-nested {
    position: static;
    display: none;
    box-shadow: none;
    border: 0;
    background: #e2e8f0;
    margin: .2rem 0 .2rem .5rem;
    min-width: 0;
  }
  .nav-dd-group.is-open > .nav-dropdown-nested,
  .nav-item.is-open .nav-dd-group > .nav-dropdown-nested {
    display: block;
  }
  /* mobile: show nested always when parent open */
  .nav-item.is-open .nav-dropdown-nested {
    display: block;
  }
  .nav-mega-nested {
    display: block !important;
  }
}
/* ========== v1.29.0 � Mobile nav drawer, trust cards, slider fit ========== */

/* Desktop: hide mobile-only chrome */
.mobile-nav-head,
.mobile-nav-only,
.mobile-nav-backdrop,
.mobile-bottom-bar {
  display: none;
}

/* Trust cards � base polish */
.home-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
  margin: 1.35rem auto 1.6rem;
  width: 100%;
  box-sizing: border-box;
}
.home-trust-item {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-width: 0;
  padding: .95rem 1rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .07);
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, .04);
  box-sizing: border-box;
}
.home-trust-text {
  min-width: 0;
  flex: 1;
}
.home-trust-text strong,
.home-trust-item strong {
  display: block;
  font-size: .9rem;
  color: #0f172a;
  font-weight: 750;
  line-height: 1.25;
  word-break: break-word;
}
.home-trust-text small,
.home-trust-item small {
  display: block;
  color: #64748b;
  font-size: .78rem;
  margin-top: .15rem;
  line-height: 1.3;
  word-break: break-word;
}
.home-trust-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #eff6ff, #dbeafe);
  color: #1d4ed8;
  font-weight: 800;
  flex-shrink: 0;
  font-size: 1.05rem;
}

/* Slider: prevent horizontal overflow from 100vw */
.home-slider,
.home-slider-fullbleed,
.home-page-v2 > .home-slider {
  max-width: 100vw !important;
  box-sizing: border-box !important;
}

/* �� Mobile layout �� */
@media (max-width: 960px) {
  /* Utility bar: compact horizontal scroll */
  .store-utility-bar {
    overflow: hidden;
  }
  .store-utility-inner {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: .35rem !important;
    padding: .4rem 0 !important;
  }
  .store-utility-contact {
    justify-content: flex-start !important;
    gap: .65rem !important;
    font-size: .8rem;
  }
  .store-utility-contact span:last-child {
    max-width: 42vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .store-utility-links {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    gap: .35rem !important;
    padding-bottom: .15rem;
    scrollbar-width: none;
  }
  .store-utility-links::-webkit-scrollbar { display: none; }
  .store-utility-links a {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: .78rem !important;
    padding: .35rem .65rem !important;
  }

  /* Header bar */
  .store-header-bar-inner {
    grid-template-columns: 1fr auto !important;
    gap: .55rem .65rem !important;
    padding: .55rem 0 !important;
  }
  .brand-pro .brand-logo {
    height: 34px !important;
    max-width: 120px !important;
  }
  .brand-pro .brand-text strong { font-size: .95rem !important; }
  .brand-pro .brand-text small { display: none !important; }
  .header-search-pro {
    grid-column: 1 / -1;
    order: 3;
    max-width: none !important;
  }
  .header-search-pro input[type=search] {
    min-height: 2.55rem;
    font-size: 16px !important; /* iOS zoom prevent */
    padding: .65rem 1rem .65rem 2.4rem !important;
  }
  .header-actions {
    gap: .1rem !important;
  }
  .h-act .h-lbl { display: none !important; }
  .h-act {
    min-width: 40px !important;
    padding: .35rem !important;
  }
  .h-lang-cur-pro { display: none !important; }
  .nav-toggle-pro {
    display: inline-flex !important;
    width: 40px;
    height: 40px;
  }

  /* Backdrop */
  .mobile-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 190;
    background: rgba(15, 23, 42, .48);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease, visibility .22s;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
  }
  .mobile-nav-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
  }

  /* Drawer menu */
  .store-header-nav-pro,
  #storeNavDrawer {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: min(340px, 90vw) !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100dvh !important;
    z-index: 200 !important;
    background: #fff !important;
    border: 0 !important;
    border-left: 1px solid rgba(15, 23, 42, .08) !important;
    box-shadow: -12px 0 40px rgba(15, 23, 42, .18) !important;
    transform: translateX(105%);
    transition: transform .26s cubic-bezier(.22, 1, .36, 1);
    overflow: hidden !important;
    padding: 0 !important;
  }
  .store-header-nav-pro.is-open,
  #storeNavDrawer.is-open {
    transform: translateX(0) !important;
  }
  .store-nav-drawer-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 100dvh;
    padding: 0 !important;
    max-width: none !important;
    overflow: hidden;
  }
  .mobile-nav-head {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .9rem 1rem;
    border-bottom: 1px solid #eef2f7;
    background: linear-gradient(180deg, #f8fafc, #fff);
    flex-shrink: 0;
  }
  .mobile-nav-head-text {
    display: flex;
    flex-direction: column;
    gap: .1rem;
    min-width: 0;
  }
  .mobile-nav-head-text strong {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
  }
  .mobile-nav-head-text small {
    font-size: .78rem;
    color: #64748b;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mobile-nav-close {
    width: 40px;
    height: 40px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    font-size: 1.45rem;
    line-height: 1;
    color: #475569;
    cursor: pointer;
    flex-shrink: 0;
  }
  .mobile-nav-close:active { background: #f1f5f9; }

  .store-nav-pro,
  #storeNav {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: .3rem !important;
    padding: .75rem .85rem 1.25rem !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    flex: 1 1 auto;
    max-height: none !important;
    width: 100% !important;
  }
  .store-nav-pro > .nav-link,
  .store-nav-pro .nav-link-split,
  .store-nav-pro .nav-dd-btn:not(.nav-caret-btn) {
    width: 100% !important;
    justify-content: flex-start !important;
    min-height: 46px;
    padding: .7rem .9rem !important;
    background: #f8fafc !important;
    border-radius: 12px !important;
    font-size: .92rem !important;
    white-space: normal !important;
  }
  .nav-link-split {
    display: flex !important;
    width: 100% !important;
    background: #f8fafc !important;
    border-radius: 12px !important;
    overflow: hidden;
  }
  .nav-link-split .nav-link-main {
    flex: 1 !important;
    min-height: 46px;
    padding: .7rem .55rem .7rem .9rem !important;
    background: transparent !important;
  }
  .nav-link-split .nav-caret-btn {
    width: 46px !important;
    min-height: 46px;
    border-left: 1px solid #e2e8f0 !important;
    border-radius: 0 !important;
    background: #f1f5f9 !important;
  }
  .nav-item {
    width: 100%;
  }
  .nav-dropdown,
  .nav-dropdown-pro,
  .nav-dropdown-mega,
  .nav-mega-panel {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    display: none !important;
    box-shadow: none !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: #f1f5f9 !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: .25rem 0 .35rem !important;
    padding: .4rem !important;
    max-height: none !important;
  }
  .nav-dropdown::before,
  .nav-mega-panel::before { display: none !important; }
  .nav-item.is-open > .nav-dropdown {
    display: block !important;
  }
  .nav-mega-head {
    padding: .55rem .65rem !important;
    border-radius: 10px;
  }
  .nav-mega-panel .nav-mega-grid,
  .nav-mega-grid {
    grid-template-columns: 1fr !important;
    max-height: none !important;
    gap: .25rem !important;
    padding: .25rem !important;
  }
  .nav-mega-col {
    padding: .55rem .65rem !important;
    background: #fff;
    border-radius: 10px;
    margin-bottom: .3rem;
  }
  .mobile-nav-only {
    display: flex !important;
    flex-direction: column;
    gap: .3rem;
    margin-top: .55rem;
    padding-top: .75rem;
    border-top: 1px solid #e2e8f0;
  }
  .mobile-nav-section-label {
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #94a3b8;
    padding: .15rem .35rem .35rem;
  }
  .nav-link-mobile-only {
    display: inline-flex !important;
  }

  body.nav-open {
    overflow: hidden !important;
    touch-action: none;
  }

  /* Bottom bar */
  .mobile-bottom-bar {
    display: flex !important;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 160;
    height: calc(58px + env(safe-area-inset-bottom, 0px));
    padding: .3rem .25rem calc(.3rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, .97);
    border-top: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 -8px 28px rgba(15, 23, 42, .08);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    align-items: stretch;
    justify-content: space-around;
    gap: .1rem;
  }
  .mbb-item {
    flex: 1 1 0;
    min-width: 0;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .12rem;
    border: 0;
    background: transparent;
    color: #64748b;
    text-decoration: none !important;
    font-size: .65rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    border-radius: 12px;
    padding: .25rem .15rem;
    position: relative;
    -webkit-tap-highlight-color: transparent;
  }
  .mbb-item:active { background: #f1f5f9; }
  .mbb-item.is-active {
    color: #1d4ed8;
    background: #eff6ff;
  }
  .mbb-ico {
    font-size: 1.15rem;
    line-height: 1;
  }
  .mbb-cart { position: relative; }
  .mbb-badge {
    position: absolute;
    top: .05rem;
    right: calc(50% - 18px);
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: .62rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }

  /* Space for bottom bar */
  body.store-pro,
  body.store-v18 {
    padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px));
  }
  .store-footer {
    padding-bottom: 1.25rem !important;
  }

  /* �� Slider mobile fit �� */
  .store-body:has(.home-page-v2),
  .store-body:has(.home-slider-fullbleed) {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .home-slider,
  .home-slider-fullbleed,
  .home-page-v2 > .home-slider {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: 16 / 10;
    max-height: min(52vh, 320px);
    overflow: hidden !important;
    border-radius: 0 !important;
  }
  .home-slider-track {
    min-height: 100% !important;
    height: 100%;
    position: absolute !important;
    inset: 0;
  }
  .home-slide {
    position: absolute !important;
    inset: 0 !important;
    min-height: 0 !important;
    height: 100% !important;
    width: 100% !important;
  }
  .home-slide.is-active {
    position: absolute !important;
    min-height: 0 !important;
  }
  .home-slide-bg {
    background-size: cover !important;
    background-position: center center !important;
    transform: none !important;
  }
  .home-slide-overlay {
    background: linear-gradient(180deg, rgba(11,18,32,.55) 0%, rgba(11,18,32,.25) 45%, rgba(11,18,32,.65) 100%) !important;
  }
  .home-slide-content {
    padding: 1.15rem 1rem 2.4rem !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    box-sizing: border-box;
  }
  .home-slide-content h1 {
    font-size: clamp(1.2rem, 5.5vw, 1.55rem) !important;
    max-width: none !important;
    margin-bottom: .4rem !important;
    line-height: 1.2 !important;
  }
  .home-slide-content p {
    font-size: .88rem !important;
    margin-bottom: .75rem !important;
    max-width: none !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .home-slide-content .btn {
    align-self: flex-start;
    padding: .55rem 1rem !important;
    font-size: .88rem !important;
    min-height: 2.4rem;
  }
  .home-slider-btn {
    width: 34px !important;
    height: 34px !important;
    font-size: 1.2rem !important;
    top: 50% !important;
  }
  .home-slider-prev { left: .4rem !important; }
  .home-slider-next { right: .4rem !important; }
  .home-slider-dots { bottom: .55rem !important; }

  /* �� Trust cards mobile �� */
  .home-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .55rem !important;
    margin: 1rem auto 1.15rem !important;
    padding-left: .85rem !important;
    padding-right: .85rem !important;
  }
  .home-trust-item {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: .55rem !important;
    padding: .8rem .75rem !important;
    border-radius: 14px !important;
    min-height: 0;
  }
  .home-trust-ico {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    font-size: .95rem !important;
  }
  .home-trust-text strong,
  .home-trust-item strong {
    font-size: .84rem !important;
  }
  .home-trust-text small,
  .home-trust-item small {
    font-size: .72rem !important;
  }

  /* Home content padding */
  .home-page-v2 .home-wrap,
  .home-page-v2 .home-campaign-wrap,
  .home-page-v2 .home-sections {
    padding-left: .85rem !important;
    padding-right: .85rem !important;
  }
  .home-campaign-tile-body h3 { font-size: 1.05rem !important; }
  .product-grid-pro { gap: .65rem !important; }
  .product-card .pc-name { font-size: .88rem !important; }
}

@media (max-width: 400px) {
  .home-slider,
  .home-slider-fullbleed,
  .home-page-v2 > .home-slider {
    aspect-ratio: 4 / 3;
    max-height: min(48vh, 280px);
  }
  .home-trust {
    gap: .45rem !important;
  }
  .home-trust-item {
    padding: .7rem .6rem !important;
  }
  .mbb-item span:not(.mbb-ico):not(.mbb-badge) {
    font-size: .6rem;
  }
}

/* Desktop: ensure drawer is static in flow */
@media (min-width: 961px) {
  .mobile-nav-backdrop,
  .mobile-bottom-bar,
  .mobile-nav-head,
  .mobile-nav-only {
    display: none !important;
  }
  #storeNavDrawer.store-header-nav-pro {
    position: relative !important;
    transform: none !important;
    width: auto !important;
    height: auto !important;
    max-height: none !important;
    box-shadow: none !important;
    overflow: visible !important;
  }
  body.store-pro,
  body.store-v18 {
    padding-bottom: 0;
  }
}

/* ========== v1.29.3 � Dedicated mobile accordion menu with categories ========== */
.mobile-nav-menu { display: none; }

@media (max-width: 960px) {
  /* Masa�st� mega men�y� drawer i�inde gizle */
  .store-nav-desktop,
  #storeNav.store-nav-desktop,
  .store-nav-pro.store-nav-desktop {
    display: none !important;
  }

  /* Mobil men� paneli */
  .mobile-nav-menu {
    display: flex !important;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    background: #fff;
    overflow: hidden;
  }
  .mobile-nav-menu .mnav-scroll {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: .65rem .85rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    gap: .3rem;
  }
  .mnav-section {
    display: flex;
    flex-direction: column;
    gap: .28rem;
    margin-top: .65rem;
    padding-top: .7rem;
    border-top: 1px solid #eef2f7;
  }
  .mnav-section-label {
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #94a3b8;
    padding: .1rem .35rem .35rem;
  }
  .mnav-link {
    display: flex !important;
    align-items: center;
    min-height: 46px;
    padding: .7rem .9rem !important;
    border-radius: 12px !important;
    background: #f8fafc !important;
    color: #1e293b !important;
    font-weight: 650 !important;
    font-size: .92rem !important;
    text-decoration: none !important;
    margin: 0 !important;
    border: 1px solid transparent;
  }
  .mnav-link:active,
  .mnav-link.is-active {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    border-color: #bfdbfe;
  }
  .mnav-link-main {
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    font-weight: 750 !important;
  }
  .mnav-link.depth-1 {
    margin-left: .55rem !important;
    background: #f1f5f9 !important;
    font-size: .88rem !important;
    min-height: 42px;
  }
  .mnav-link.depth-2 {
    margin-left: 1.1rem !important;
    background: #eef2f7 !important;
    font-size: .86rem !important;
    min-height: 40px;
  }
  .mnav-acc {
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    overflow: hidden;
  }
  .mnav-acc + .mnav-acc { margin-top: .15rem; }
  .mnav-sum {
    list-style: none;
    display: flex;
    align-items: center;
    gap: .35rem;
    min-height: 48px;
    padding: 0 .35rem 0 0;
    cursor: pointer;
    user-select: none;
  }
  .mnav-sum::-webkit-details-marker { display: none; }
  .mnav-sum::marker { content: ""; }
  .mnav-sum-link {
    flex: 1;
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: .7rem .9rem;
    color: #0f172a !important;
    font-weight: 750;
    font-size: .94rem;
    text-decoration: none !important;
  }
  .mnav-sum-link:active { color: #1d4ed8 !important; }
  .mnav-chev {
    width: 36px;
    height: 36px;
    margin-right: .35rem;
    border-radius: 10px;
    background: #e2e8f0;
    flex-shrink: 0;
    position: relative;
  }
  .mnav-chev::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #475569;
    transform: translate(-50%, -40%);
    transition: transform .15s ease;
  }
  .mnav-acc[open] > .mnav-sum .mnav-chev::before {
    transform: translate(-50%, -60%) rotate(180deg);
  }
  .mnav-acc[open] {
    background: #fff;
    border-color: #cbd5e1;
  }
  .mnav-children {
    display: flex;
    flex-direction: column;
    gap: .22rem;
    padding: 0 .55rem .65rem .55rem;
  }
  .mnav-children .mnav-link {
    background: #f1f5f9 !important;
  }
  .mnav-children .mnav-acc {
    background: #f8fafc;
    border-color: #e2e8f0;
  }
  .mnav-children .mnav-sum-link {
    font-size: .9rem;
    font-weight: 700;
    min-height: 42px;
  }

  /* Drawer i�i d�zen */
  #storeNavDrawer.is-open .store-nav-drawer-inner,
  .store-header-nav-pro.is-open .store-nav-drawer-inner {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    max-height: 100dvh !important;
    overflow: hidden !important;
  }
}

@media (min-width: 961px) {
  .mobile-nav-menu {
    display: none !important;
  }
  .store-nav-desktop,
  #storeNav.store-nav-desktop {
    display: flex !important;
  }
}

/* ========== v1.29.4 � Full-screen mobile drawer (outside sticky header) ========== */
.mobile-nav-drawer {
  display: none;
}
.mobile-nav-backdrop {
  display: none;
}

@media (max-width: 960px) {
  /* Hide desktop category bar on mobile */
  .store-header-nav-pro {
    display: none !important;
  }

  /* Backdrop: full viewport dim */
  .mobile-nav-backdrop {
    display: block !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 10000 !important;
    background: rgba(15, 23, 42, .55) !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
  }
  .mobile-nav-backdrop.is-visible {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  /* Right drawer panel � always full viewport height */
  .mobile-nav-drawer,
  #storeNavDrawer.mobile-nav-drawer {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: min(360px, 92vw) !important;
    max-width: 100vw !important;
    height: 100% !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 10001 !important;
    background: #ffffff !important;
    border: 0 !important;
    border-left: 1px solid rgba(15, 23, 42, .1) !important;
    border-radius: 0 !important;
    box-shadow: -16px 0 48px rgba(15, 23, 42, .22) !important;
    transform: translate3d(105%, 0, 0) !important;
    transition: transform .26s cubic-bezier(.22, 1, .36, 1) !important;
    overflow: hidden !important;
    -webkit-overflow-scrolling: touch;
  }
  .mobile-nav-drawer.is-open,
  #storeNavDrawer.mobile-nav-drawer.is-open {
    transform: translate3d(0, 0, 0) !important;
  }

  .mobile-nav-drawer-inner {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    max-height: 100dvh !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #fff !important;
  }

  .mobile-nav-head {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    flex-shrink: 0;
    padding: .9rem 1rem;
    padding-top: max(.9rem, env(safe-area-inset-top, 0px));
    border-bottom: 1px solid #e8edf3;
    background: #f8fafc;
  }
  .mobile-nav-head-text strong {
    display: block;
    font-size: 1.08rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
  }
  .mobile-nav-head-text small {
    display: block;
    font-size: .78rem;
    color: #64748b;
    font-weight: 600;
    margin-top: .12rem;
  }
  .mobile-nav-close {
    width: 42px;
    height: 42px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    font-size: 1.5rem;
    line-height: 1;
    color: #475569;
    cursor: pointer;
    flex-shrink: 0;
  }

  .mobile-nav-menu {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    width: 100% !important;
    overflow: hidden !important;
    background: #fff !important;
  }
  .mobile-nav-menu .mnav-scroll {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    padding: .7rem .85rem calc(1.4rem + 70px + env(safe-area-inset-bottom, 0px)) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: .35rem !important;
  }

  .mnav-section {
    display: flex !important;
    flex-direction: column !important;
    gap: .3rem !important;
    margin-top: .55rem !important;
    padding-top: .7rem !important;
    border-top: 1px solid #eef2f7 !important;
    width: 100% !important;
  }
  .mnav-section-label {
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #94a3b8;
    padding: .05rem .25rem .3rem;
  }

  .mnav-link,
  .mnav-row-link {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
    min-height: 48px !important;
    padding: .75rem .95rem !important;
    border-radius: 12px !important;
    background: #f8fafc !important;
    color: #1e293b !important;
    font-weight: 650 !important;
    font-size: .94rem !important;
    text-decoration: none !important;
    margin: 0 !important;
    border: 1px solid #e8edf3 !important;
    line-height: 1.3 !important;
  }
  .mnav-link-main {
    background: #fff !important;
    border-color: #dbe3ee !important;
    font-weight: 750 !important;
  }
  .mnav-link.is-active,
  .mnav-link:active,
  .mnav-row-link:active {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    border-color: #bfdbfe !important;
  }
  .mnav-link.depth-1 {
    min-height: 44px !important;
    padding-left: 1.15rem !important;
    font-size: .9rem !important;
    background: #f1f5f9 !important;
  }
  .mnav-link.depth-2 {
    min-height: 42px !important;
    padding-left: 1.45rem !important;
    font-size: .88rem !important;
    background: #eef2f7 !important;
  }

  /* Accordion row: link + toggle */
  .mnav-acc {
    width: 100% !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    background: #fff !important;
    overflow: hidden !important;
  }
  .mnav-row {
    display: flex !important;
    align-items: stretch !important;
    width: 100% !important;
    min-height: 48px !important;
  }
  .mnav-row-link {
    flex: 1 1 auto !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    min-height: 48px !important;
  }
  .mnav-toggle {
    flex: 0 0 48px !important;
    width: 48px !important;
    border: 0 !important;
    border-left: 1px solid #e2e8f0 !important;
    background: #f1f5f9 !important;
    color: #334155 !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    line-height: 1 !important;
  }
  .mnav-acc.is-open {
    border-color: #cbd5e1 !important;
    background: #fafbfc !important;
  }
  .mnav-acc.is-open > .mnav-row .mnav-toggle {
    background: #e2e8f0 !important;
  }
  .mnav-children {
    display: flex !important;
    flex-direction: column !important;
    gap: .25rem !important;
    padding: .15rem .55rem .65rem !important;
    border-top: 1px solid #eef2f7 !important;
    background: #f8fafc !important;
  }
  .mnav-children[hidden] {
    display: none !important;
  }
  .mnav-children .mnav-acc {
    background: #fff !important;
  }
  .mnav-children .mnav-link {
    border-color: transparent !important;
  }

  body.nav-open {
    overflow: hidden !important;
    touch-action: none !important;
  }

  /* Bottom bar polish */
  .mobile-bottom-bar {
    display: flex !important;
    z-index: 9990 !important;
  }
  .mbb-ico {
    font-size: 1.2rem !important;
    line-height: 1 !important;
  }
}

@media (min-width: 961px) {
  .mobile-nav-drawer,
  .mobile-nav-backdrop,
  .mobile-nav-head,
  .mobile-bottom-bar {
    display: none !important;
  }
  .store-header-nav-pro {
    display: block !important;
  }
}

/* ========== v1.29.6 � Contact page + form ========== */
.contact-page {
  margin: -1.25rem -1rem 0;
  padding-bottom: 2.5rem;
}
.contact-hero {
  background:
    radial-gradient(700px 280px at 10% -20%, rgba(37,99,235,.22), transparent 55%),
    radial-gradient(500px 220px at 90% 0%, rgba(14,165,233,.14), transparent 50%),
    linear-gradient(180deg, #0b1220 0%, #111827 100%);
  color: #e2e8f0;
  padding: 2.4rem 1.25rem 2.6rem;
  margin-bottom: 0;
}
.contact-hero-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.contact-eyebrow {
  display: inline-block;
  margin: 0 0 .55rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #93c5fd;
}
.contact-hero h1 {
  margin: 0 0 .65rem;
  color: #fff;
  font-size: clamp(1.65rem, 3.5vw, 2.2rem);
  letter-spacing: -.02em;
}
.contact-lead {
  margin: 0;
  max-width: 40rem;
  color: #94a3b8;
  font-size: 1.02rem;
  line-height: 1.55;
}
.contact-wrap {
  max-width: 1120px;
  margin: -1.35rem auto 0;
  padding: 0 1rem;
  position: relative;
  z-index: 2;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr);
  gap: 1.15rem;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-page { margin-left: 0; margin-right: 0; }
}
.contact-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 18px;
  padding: 1.35rem 1.4rem 1.45rem;
  box-shadow: 0 10px 36px rgba(15, 23, 42, .07);
  margin-bottom: 1rem;
}
.contact-card h2 {
  margin: 0 0 .35rem;
  font-size: 1.15rem;
  color: #0f172a;
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin: 1.15rem 0 1.25rem;
}
.contact-info-item {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  padding: .85rem .95rem;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #eef2f7;
}
.contact-info-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #eff6ff, #dbeafe);
  flex-shrink: 0;
  font-size: 1.05rem;
}
.contact-info-item strong {
  display: block;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: .2rem;
}
.contact-info-item span,
.contact-info-item a {
  color: #0f172a;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  line-height: 1.4;
}
.contact-info-item a:hover { color: #1d4ed8; }
.contact-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.contact-map {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #f1f5f9;
  min-height: 220px;
  margin-top: .75rem;
}
.contact-map iframe {
  display: block;
  width: 100%;
  min-height: 260px;
  border: 0;
}
.contact-card-form {
  border-top: 3px solid #2563eb;
}
.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem 1rem;
  margin-top: 1rem;
}
@media (max-width: 640px) {
  .contact-form-grid { grid-template-columns: 1fr; }
}
.contact-form-full { grid-column: 1 / -1; }
.contact-form label {
  margin: 0 0 .35rem;
  font-size: .8rem;
  font-weight: 700;
  color: #64748b;
}
.contact-form input[type=text],
.contact-form input[type=email],
.contact-form input[type=tel],
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 2.7rem;
  padding: .7rem .9rem;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
  font: inherit;
  box-sizing: border-box;
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 4px rgba(0, 160, 227, .12);
}
.contact-form-actions {
  margin-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1rem;
}
.contact-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.contact-form { position: relative; }

/* ========== v1.29.7 � Admin suppliers page ========== */
.suppliers-admin .ahub-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}
.suppliers-admin .ahub-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
}
.suppliers-admin .ahub-desc {
  margin: .3rem 0 0;
  color: #64748b;
  font-size: .92rem;
}
.suppliers-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.15rem;
}
.suppliers-form-card,
.suppliers-list-card {
  padding: 1.35rem 1.4rem 1.4rem !important;
  border-radius: 16px !important;
  border: 1px solid rgba(15, 23, 42, .07) !important;
  box-shadow: 0 8px 28px rgba(15, 23, 42, .05) !important;
}
.suppliers-card-head {
  margin-bottom: 1.1rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid #eef2f7;
}
.suppliers-list-head {
  display: flex;
  align-items: center;
  gap: .55rem;
}
.suppliers-card-title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
  color: #0f172a;
}
.suppliers-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem 1.1rem;
}
@media (max-width: 720px) {
  .suppliers-form-grid { grid-template-columns: 1fr; }
}
.suppliers-form-full { grid-column: 1 / -1; }
.suppliers-form label {
  display: block;
  margin: 0 0 .35rem;
  font-size: .8rem;
  font-weight: 700;
  color: #64748b;
}
.suppliers-form input[type=text],
.suppliers-form input[type=email],
.suppliers-form input[type=tel],
.suppliers-form textarea {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 2.65rem;
  padding: .7rem .9rem !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 11px !important;
  background: #fff !important;
  box-sizing: border-box !important;
  font: inherit;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
.suppliers-form textarea {
  min-height: 96px;
  resize: vertical;
}
.suppliers-form input:focus,
.suppliers-form textarea:focus {
  outline: none;
  border-color: #38bdf8 !important;
  box-shadow: 0 0 0 4px rgba(0, 160, 227, .12) !important;
}
.suppliers-form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .85rem 1rem;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid #eef2f7;
}
.suppliers-active-check {
  display: flex !important;
  align-items: flex-start;
  gap: .55rem;
  margin: 0 !important;
  max-width: 28rem;
  color: #334155;
  font-size: .9rem;
}
.suppliers-active-check input { margin-top: .2rem; }
.sup-firm {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  min-width: 0;
}
.sup-avatar {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  flex-shrink: 0;
}
.sup-contact a {
  color: #1d4ed8;
  font-weight: 600;
  text-decoration: none;
  word-break: break-all;
}
.sup-contact a:hover { text-decoration: underline; }
.suppliers-table th {
  white-space: nowrap;
}
.suppliers-table td {
  vertical-align: top;
  padding-top: .9rem;
  padding-bottom: .9rem;
}
.suppliers-empty {
  text-align: center;
  padding: 2.25rem 1.25rem 2rem;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  background: #f8fafc;
}
.suppliers-empty-ico {
  width: 52px;
  height: 52px;
  margin: 0 auto .75rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #eff6ff;
  color: #2563eb;
  font-size: 1.35rem;
  font-weight: 800;
}
.suppliers-empty strong {
  display: block;
  font-size: 1.05rem;
  color: #0f172a;
  margin-bottom: .35rem;
}

/* ========== v1.29.8 — shared admin CRUD (brands, warehouses, PO) ========== */
.crud-admin .ahub-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}
.crud-admin .ahub-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
}
.crud-admin .ahub-desc {
  margin: .3rem 0 0;
  color: #64748b;
  font-size: .92rem;
}
.crud-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.15rem;
}
.crud-form-card,
.crud-list-card {
  padding: 1.35rem 1.4rem 1.4rem !important;
  border-radius: 16px !important;
  border: 1px solid rgba(15, 23, 42, .07) !important;
  box-shadow: 0 8px 28px rgba(15, 23, 42, .05) !important;
}
.crud-card-head {
  margin-bottom: 1.1rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid #eef2f7;
}
.crud-list-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .55rem;
}
.crud-card-title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
  color: #0f172a;
}
.crud-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem 1.1rem;
}
@media (max-width: 720px) {
  .crud-form-grid { grid-template-columns: 1fr; }
}
.crud-form-full { grid-column: 1 / -1; }
.crud-form label {
  display: block;
  margin: 0 0 .35rem;
  font-size: .8rem;
  font-weight: 700;
  color: #64748b;
}
.crud-form input[type=text],
.crud-form input[type=email],
.crud-form input[type=tel],
.crud-form input[type=number],
.crud-form input[type=file],
.crud-form select,
.crud-form textarea {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 2.65rem;
  padding: .7rem .9rem !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 11px !important;
  background: #fff !important;
  box-sizing: border-box !important;
  font: inherit;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
.crud-form textarea {
  min-height: 80px;
  resize: vertical;
}
.crud-form input:focus,
.crud-form select:focus,
.crud-form textarea:focus {
  outline: none;
  border-color: #38bdf8 !important;
  box-shadow: 0 0 0 4px rgba(0, 160, 227, .12) !important;
}
.crud-form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .85rem 1rem;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid #eef2f7;
}
.crud-checks {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
}
.crud-active-check {
  display: flex !important;
  align-items: flex-start;
  gap: .55rem;
  margin: 0 !important;
  max-width: 28rem;
  color: #334155;
  font-size: .9rem;
}
.crud-active-check input { margin-top: .2rem; }
.crud-firm {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  min-width: 0;
}
.crud-avatar {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  flex-shrink: 0;
}
.crud-avatar-img {
  object-fit: cover;
  background: #f1f5f9;
  padding: 0;
}
.crud-table th { white-space: nowrap; }
.crud-table td {
  vertical-align: top;
  padding-top: .9rem;
  padding-bottom: .9rem;
}
.crud-empty {
  text-align: center;
  padding: 2.25rem 1.25rem 2rem;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  background: #f8fafc;
}
.crud-empty-ico {
  width: 52px;
  height: 52px;
  margin: 0 auto .75rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #eff6ff;
  color: #2563eb;
  font-size: 1.35rem;
  font-weight: 800;
}
.crud-empty strong {
  display: block;
  font-size: 1.05rem;
  color: #0f172a;
  margin-bottom: .35rem;
}
.crud-empty .hint { margin: 0; }
.crud-img-preview {
  margin: 0 0 .65rem;
  width: 72px;
  height: 72px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.crud-img-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.crud-lines-wrap { margin-bottom: .65rem; }
.crud-lines { min-width: 480px; }
.crud-lines td { vertical-align: middle; }
.crud-select-sm {
  min-height: 2.15rem;
  padding: .35rem .55rem;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  background: #fff;
  font: inherit;
  font-size: .86rem;
  max-width: 180px;
}
.po-row-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: .4rem;
}
.po-status-form,
.po-recv-form {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem;
  margin: 0;
}
.crud-pill-draft { background: #f1f5f9; color: #475569; }
.crud-pill-ordered { background: #e0f2fe; color: #0369a1; }
.crud-pill-partial { background: #fef3c7; color: #92400e; }
.crud-pill-received { background: #d1fae5; color: #065f46; }
.crud-pill-cancelled { background: #fee2e2; color: #991b1b; }
.warehouses-admin .ahub-head {
  align-items: flex-end;
  padding: 1.1rem 1.25rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .04);
}

/* ========== v1.30.0 — PO picker + demo mode ========== */
.po-pick { position: relative; display: grid; gap: .4rem; min-width: 220px; }
.po-pick .po-q,
.po-pick .po-select {
  width: 100%;
  min-height: 2.4rem;
  padding: .5rem .7rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  font: inherit;
  box-sizing: border-box;
}
.po-drop {
  position: absolute;
  left: 0; right: 0;
  top: 2.55rem;
  z-index: 20;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .12);
  max-height: 240px;
  overflow: auto;
  padding: .3rem;
}
.po-drop-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .1rem;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: .5rem .65rem;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
}
.po-drop-item:hover { background: #f1f5f9; }
.po-drop-new { color: #0369a1; font-weight: 700; }
.po-chosen { margin: 0; color: #0369a1; font-weight: 650; }
.po-new-products {
  margin-bottom: 1.15rem;
  padding: 1.2rem 1.35rem;
  border: 1px solid #bae6fd;
  background: #f0f9ff;
  border-radius: 16px;
}
.po-new-list { display: grid; gap: .55rem; }
.po-new-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .7rem .85rem;
  background: #fff;
  border: 1px solid #e0f2fe;
  border-radius: 10px;
}
.demo-toggle-form { margin: 0; display: inline; }
.demo-toggle-btn {
  border-color: #cbd5e1 !important;
  background: #f8fafc !important;
  color: #334155 !important;
  font-weight: 750;
}
.demo-toggle-btn.is-on {
  background: #fef3c7 !important;
  border-color: #f59e0b !important;
  color: #92400e !important;
}
.demo-lock-banner {
  background: #fff7ed;
  color: #9a3412;
  border-bottom: 1px solid #fdba74;
  padding: .65rem 1.25rem;
  font-size: .88rem;
  font-weight: 700;
  text-align: center;
}
.demo-lock-banner-store {
  position: sticky;
  top: 0;
  z-index: 80;
}
.po-pdf-card { margin-bottom: 1.15rem; }
.po-import-report {
  margin-bottom: 1.15rem;
  padding: 1.2rem 1.35rem;
  border: 1px solid #bae6fd;
  background: #f0f9ff;
  border-radius: 16px;
}
.po-import-report.is-warn {
  border-color: #fcd34d;
  background: #fffbeb;
}
.po-import-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .65rem;
  margin-bottom: .85rem;
}
.po-import-stats > div {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: .65rem .75rem;
}
.po-import-stats strong { display: block; font-size: 1.25rem; color: #0f172a; }
.po-import-stats span { font-size: .78rem; color: #64748b; font-weight: 650; }
.po-passive-warn { margin-top: .5rem; }
@media (max-width: 720px) {
  .po-import-stats { grid-template-columns: 1fr 1fr; }
}

/* ========== v1.32 — Entegrasyon kartları ========== */
.int-page { display: grid; gap: 1.15rem; }
.int-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: .85rem;
  padding: 1.15rem 1.25rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 60%, #0ea5e9 160%);
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .16);
}
.int-hero h2 { margin: 0 0 .25rem; font-size: 1.35rem; letter-spacing: -.02em; }
.int-hero p { margin: 0; color: rgba(255,255,255,.78); max-width: 46rem; font-size: .9rem; line-height: 1.45; }
.int-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;
}
.int-card {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 16px;
  padding: 1.05rem 1.1rem 1rem;
  box-shadow: 0 6px 20px rgba(15, 23, 42, .05);
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.int-card:hover { border-color: #c7d2fe; }
.int-card-head {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
}
.int-mark {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .78rem; letter-spacing: .02em;
  background: #eff6ff; color: #1d4ed8; flex-shrink: 0;
}
.int-mark.is-pay { background: #ecfdf5; color: #047857; }
.int-mark.is-erp { background: #f5f3ff; color: #6d28d9; }
.int-mark.is-cargo { background: #fff7ed; color: #c2410c; }
.int-mark.is-msg { background: #fdf2f8; color: #be185d; }
.int-card-head strong { display: block; font-size: .98rem; color: #0f172a; }
.int-card-head small { color: #64748b; font-size: .78rem; }
.int-pills { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .25rem; }
.int-pill {
  display: inline-flex; align-items: center;
  padding: .12rem .5rem; border-radius: 999px;
  font-size: .7rem; font-weight: 750;
  background: #f1f5f9; color: #475569;
}
.int-pill.on { background: #d1fae5; color: #065f46; }
.int-pill.off { background: #fee2e2; color: #991b1b; }
.int-pill.test { background: #fef3c7; color: #92400e; }
.int-card label { font-size: .78rem; font-weight: 700; color: #475569; }
.int-card input, .int-card select, .int-card textarea {
  width: 100%; box-sizing: border-box;
  min-height: 2.35rem; padding: .45rem .65rem;
  border: 1px solid #dbe3ee; border-radius: 10px;
  background: #f8fafc; font: inherit; font-size: .88rem;
}
.int-card textarea { min-height: 4.2rem; resize: vertical; }
.int-card input:focus, .int-card select:focus, .int-card textarea:focus {
  outline: 0; border-color: #93c5fd; background: #fff;
  box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}
.int-fields { display: grid; gap: .5rem; }
.int-fields-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.int-check { display: flex; align-items: center; gap: .4rem; font-size: .84rem; font-weight: 650; }
.int-check input { width: auto; min-height: 0; }
.int-actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; }
.int-panel {
  background: #fff; border: 1px solid #e8edf3; border-radius: 16px;
  padding: 1.05rem 1.15rem; box-shadow: 0 6px 20px rgba(15, 23, 42, .04);
}
.int-panel h3 { margin: 0 0 .75rem; font-size: 1.02rem; }
.int-mod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .85rem; }
.int-mod {
  border: 1px solid #e8edf3; border-radius: 14px; padding: .9rem 1rem;
  background: #fff; display: flex; flex-direction: column; gap: .45rem;
}
.int-mod.is-off { opacity: .72; background: #f8fafc; }
@media (max-width: 720px) {
  .int-fields-2 { grid-template-columns: 1fr; }
  .int-grid { grid-template-columns: 1fr; }
}

/* ========== v1.33.1 — Raf etiketi / barkod ========== */
.lbl-toolbar { display: grid; gap: .85rem; }
.lbl-kind {
  display: inline-flex; background: #f1f5f9; border-radius: 999px; padding: 3px; gap: 2px;
}
.lbl-kind-btn {
  border: 0; background: transparent; font: inherit; font-weight: 750; font-size: .86rem;
  padding: .45rem 1rem; border-radius: 999px; cursor: pointer; color: #475569;
}
.lbl-kind-btn.is-on { background: #0f172a; color: #fff; }
.lbl-designs {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: .55rem;
}
.lbl-des {
  border: 1px solid #e2e8f0; background: #fff; border-radius: 12px; padding: .55rem .55rem .5rem;
  text-align: left; cursor: pointer; display: grid; gap: .28rem; font: inherit;
}
.lbl-des:hover { border-color: #93c5fd; }
.lbl-des.is-on { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.16); }
.lbl-des strong { font-size: .8rem; color: #0f172a; }
.lbl-des small { color: #64748b; font-size: .68rem; }
.lbl-des-preview {
  height: 42px; border-radius: 8px; background: #f8fafc; border: 1px solid #e2e8f0;
  position: relative; overflow: hidden;
}
.lbl-des-preview::before, .lbl-des-preview::after {
  content: ""; position: absolute; background: #94a3b8;
}
.lbl-des-classic::before { left: 10%; right: 10%; top: 18%; height: 4px; border-radius: 2px; }
.lbl-des-classic::after { left: 14%; right: 14%; top: 42%; height: 16px; background: repeating-linear-gradient(90deg,#111 0 2px,#fff 2px 4px); }
.lbl-des-shelf::before { left: 8%; width: 46%; top: 28%; height: 18px; border-radius: 3px; opacity: .35; }
.lbl-des-shelf::after { right: 8%; width: 32%; top: 28%; height: 16px; background: repeating-linear-gradient(90deg,#111 0 2px,#fff 2px 3px); }
.lbl-des-price::before { left: 22%; right: 22%; top: 22%; height: 12px; border-radius: 3px; background: #0f172a; }
.lbl-des-price::after { left: 16%; right: 16%; bottom: 10px; height: 8px; background: repeating-linear-gradient(90deg,#111 0 2px,#fff 2px 3px); }
.lbl-des-compact::before { left: 10%; right: 10%; top: 14%; height: 3px; }
.lbl-des-compact::after { left: 10%; right: 10%; top: 38%; height: 14px; background: repeating-linear-gradient(90deg,#111 0 2px,#fff 2px 3px); }
.lbl-des-dark { background: #0f172a; }
.lbl-des-dark::before { left: 12%; right: 12%; top: 20%; height: 4px; background: #38bdf8; }
.lbl-des-dark::after { left: 14%; right: 14%; top: 44%; height: 14px; background: repeating-linear-gradient(90deg,#e2e8f0 0 2px,#0f172a 2px 4px); }
.lbl-des-square::before {
  left: 50%; top: 46%; width: 22px; height: 22px; margin: -11px 0 0 -11px;
  background:
    linear-gradient(#0f172a,#0f172a) 0 0 / 7px 7px no-repeat,
    linear-gradient(#0f172a,#0f172a) 100% 0 / 7px 7px no-repeat,
    linear-gradient(#0f172a,#0f172a) 0 100% / 7px 7px no-repeat,
    repeating-linear-gradient(90deg,#0f172a 0 2px,#fff 2px 4px);
}
.lbl-layout {
  display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 1rem; align-items: start;
}
.lbl-search-wrap { position: relative; }
.lbl-q {
  width: 100%; box-sizing: border-box; min-height: 2.55rem; padding: .55rem .8rem;
  border: 1px solid #dbe3ee; border-radius: 12px; background: #f8fafc; font: inherit;
}
.lbl-q:focus { outline: 0; border-color: #93c5fd; background: #fff; box-shadow: 0 0 0 3px rgba(59,130,246,.15); }
.lbl-drop {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 40;
  background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
  box-shadow: 0 16px 36px rgba(15,23,42,.14); max-height: 280px; overflow: auto; padding: .3rem;
}
.lbl-drop-empty { padding: .75rem; color: #64748b; text-align: center; font-size: .86rem; }
.lbl-hit {
  display: grid; gap: .12rem; width: 100%; text-align: left; border: 0; background: transparent;
  padding: .5rem .55rem; border-radius: 8px; cursor: pointer; font: inherit;
}
.lbl-hit:hover, .lbl-hit.is-on { background: #eff6ff; }
.lbl-hit strong { font-size: .88rem; color: #0f172a; }
.lbl-hit small { color: #64748b; font-size: .75rem; }
.lbl-sel { display: grid; gap: .45rem; margin-top: .75rem; }
.lbl-chip {
  display: grid; grid-template-columns: 1fr auto auto; gap: .45rem; align-items: center;
  border: 1px solid #e2e8f0; border-radius: 12px; padding: .5rem .6rem; background: #f8fafc;
}
.lbl-chip strong { display: block; font-size: .84rem; }
.lbl-chip small { color: #64748b; font-size: .74rem; }
.lbl-chip label { font-size: .72rem; color: #64748b; font-weight: 700; display: grid; gap: .15rem; }
.lbl-copies { width: 4.2rem; min-height: 2rem; padding: .2rem .35rem; border: 1px solid #dbe3ee; border-radius: 8px; font: inherit; }
.lbl-preview-head { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; margin-bottom: .7rem; }
.lbl-preview-head h3 { margin: 0; }
.lbl-sheet {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start;
  min-height: 220px; background: #f1f5f9; border-radius: 14px; padding: 12px;
}
.lbl-item {
  background: #fff; border-radius: 10px; box-shadow: 0 4px 14px rgba(15,23,42,.06);
  padding: 0; break-inside: avoid; page-break-inside: avoid;
}
.lbl-item svg, .lbl-item img { display: block; max-width: 100%; height: auto; }
.lbl-card {
  width: 260px; min-height: 168px; box-sizing: border-box;
  border: 1.5px solid #cbd5e1; border-radius: 10px; padding: 10px 12px 8px;
  background: #fff; color: #111; display: flex; flex-direction: column; gap: 4px;
  print-color-adjust: exact; -webkit-print-color-adjust: exact;
}
.lbl-card-site { font-size: 10px; color: #64748b; letter-spacing: .02em; }
.lbl-card-name { font-size: 13px; font-weight: 700; line-height: 1.25; min-height: 1.25em; }
.lbl-card-sym { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 56px; }
.lbl-card-foot {
  display: flex; justify-content: space-between; align-items: baseline; gap: .5rem;
  font-size: 11px; color: #64748b; font-family: ui-monospace, Consolas, monospace;
}
.lbl-card-foot strong { color: #0f172a; font-size: 14px; font-family: inherit; }
.lbl-c128 { display: flex; align-items: stretch; height: 52px; width: 100%; overflow: hidden; }
.lbl-c128 i { display: block; height: 100%; flex: 0 0 auto; }
.lbl-qr {
  display: grid; width: 108px; height: 108px; background: #fff;
}
.lbl-qr i { display: block; width: 100%; height: 100%; background: transparent; }
.lbl-qr i.on { background: currentColor; }
.lbl-card-shelf { width: 320px; min-height: 108px; }
.lbl-card-shelf .lbl-card-sym { justify-content: flex-end; }
.lbl-card-shelf .lbl-c128 { height: 44px; max-width: 150px; }
.lbl-card-shelf .lbl-qr { width: 76px; height: 76px; }
.lbl-card-price { width: 220px; min-height: 200px; }
.lbl-card-price .lbl-card-name { text-align: center; }
.lbl-card-price .lbl-card-foot { flex-direction: column; align-items: center; }
.lbl-card-price .lbl-card-foot strong { font-size: 22px; }
.lbl-card-compact { width: 200px; min-height: 112px; }
.lbl-card-compact .lbl-c128 { height: 40px; }
.lbl-card-compact .lbl-qr { width: 64px; height: 64px; }
.lbl-card-dark { background: #0f172a; color: #f8fafc; border-color: #1e293b; }
.lbl-card-dark .lbl-card-site, .lbl-card-dark .lbl-card-foot { color: #94a3b8; }
.lbl-card-dark .lbl-card-foot strong { color: #38bdf8; }
.lbl-card-square { width: 200px; min-height: 220px; }
.lbl-card-square .lbl-qr { width: 140px; height: 140px; }
.lbl-card.is-qr .lbl-c128 { display: none; }
.lbl-empty {
  margin: auto; text-align: center; padding: 2rem 1rem; color: #64748b; max-width: 22rem;
}
.lbl-empty strong { display: block; color: #0f172a; margin-bottom: .35rem; }
.lbl-empty p { margin: 0; font-size: .88rem; }
@media (max-width: 900px) {
  .lbl-layout { grid-template-columns: 1fr; }
}
@media print {
  .admin-sidebar, .admin-topbar, .admin-topnav, .admin-pagehead, .admin-footer-credit, .demo-lock-banner, .admin-flash,
  .lbl-toolbar, .lbl-pick, .int-hero, .lbl-preview-head, .nav-search { display: none !important; }
  .admin-shell { display: block !important; }
  .admin-main, .admin-content, .int-page, .lbl-preview-wrap, .int-panel { padding: 0 !important; margin: 0 !important; border: 0 !important; box-shadow: none !important; background: #fff !important; }
  .lbl-layout { display: block !important; }
  .lbl-sheet { background: #fff !important; padding: 0; gap: 8px; min-height: 0; }
  .lbl-item { box-shadow: none; }
  .lbl-card, .lbl-c128 i.on, .lbl-qr i.on { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}

/* Admin menü — grup + arama */
.nav-search { padding: .15rem .15rem .65rem; }
.nav-search input {
  width: 100%; box-sizing: border-box; min-height: 2.15rem;
  padding: .4rem .7rem; border-radius: 10px; border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.06); color: #e2e8f0; font: inherit; font-size: .82rem;
}
.nav-search input::placeholder { color: #64748b; }
.nav-search input:focus { outline: 0; border-color: rgba(59,130,246,.5); background: rgba(255,255,255,.1); }
.nav-group { margin: 0 0 .25rem; border: 0; }
.nav-group > summary {
  list-style: none; cursor: pointer; user-select: none;
  font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700;
  color: #64748b; padding: .55rem .55rem .3rem; display: flex; justify-content: space-between; align-items: center;
}
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group > summary::after { content: "▸"; font-size: .7rem; opacity: .7; }
.nav-group[open] > summary::after { content: "▾"; }
.nav-group > summary:hover { color: #94a3b8; }
.nav-more { margin: .15rem 0 .2rem .15rem; }
.nav-more > summary {
  list-style: none; cursor: pointer; color: #64748b; font-size: .75rem; font-weight: 650;
  padding: .4rem .75rem; border-radius: 8px;
}
.nav-more > summary::-webkit-details-marker { display: none; }
.nav-more > summary:hover { color: #cbd5e1; background: rgba(255,255,255,.04); }
.nav-more[open] > summary { color: #94a3b8; }
.admin-sidebar.nav-filtering .nav-group,
#adminNav.is-filtering .nav-group { display: block; }

/* ========== v1.33.4 — Admin üst / yan menü + orta canvas ========== */
body.admin-body.admin-topnav-on { overflow-x: hidden; }
body.admin-body.admin-topnav-on .admin-shell {
  display: flex !important;
  flex-direction: column;
  min-height: 100vh;
  background: var(--bg);
}
body.admin-body.admin-topnav-on .admin-sidebar { display: none !important; }
body.admin-body.admin-topnav-on .admin-main {
  margin-left: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 0;
  flex: 1;
}
.admin-canvas {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem 1.5rem;
  box-sizing: border-box;
}
body.admin-topnav-on .admin-content { padding: .75rem 0 1rem; }
body.admin-sidenav-on .admin-content { padding: 1rem 0 1rem; }
.admin-topnav {
  position: sticky; top: 0; z-index: 90;
  background: #0b1220;
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 8px 24px rgba(15,23,42,.18);
}
.atn-inner { max-width: 1360px; margin: 0 auto; }
.atn-bar {
  display: flex; align-items: center; gap: .75rem;
  padding: .7rem 1.15rem;
  min-height: 76px;
}
.atn-brand {
  display: inline-flex; align-items: center; gap: .6rem;
  text-decoration: none; color: #fff; flex-shrink: 0; margin-right: .35rem;
}
.atn-brand:hover { text-decoration: none; color: #fff; }
.atn-brand strong { display: block; font-size: 1.05rem; letter-spacing: -.02em; line-height: 1.15; }
.atn-brand small { display: block; font-size: .72rem; color: #94a3b8; font-weight: 650; }
.atn-burger {
  display: none; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06);
  color: #fff; border-radius: 10px; width: 38px; height: 38px; cursor: pointer; font-size: 1.05rem;
}
.atn-nav {
  display: flex; align-items: center; gap: .1rem; flex: 1; min-width: 0;
  flex-wrap: nowrap;
}
.atn-search { position: relative; width: 220px; flex-shrink: 0; }
.atn-search input {
  width: 100%; box-sizing: border-box; min-height: 2.05rem;
  padding: .35rem .7rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.07); color: #e2e8f0; font: inherit; font-size: .82rem;
}
.atn-search input::placeholder { color: #64748b; }
.atn-search input:focus { outline: 0; border-color: rgba(59,130,246,.55); background: rgba(255,255,255,.12); }
.atn-hits {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 120;
  width: min(320px, 80vw); background: #fff; color: #0f172a;
  border: 1px solid #e2e8f0; border-radius: 12px;
  box-shadow: 0 16px 40px rgba(15,23,42,.2); padding: .3rem; max-height: 360px; overflow: auto;
}
.atn-hits a {
  display: grid; gap: .05rem; padding: .45rem .6rem; border-radius: 8px;
  text-decoration: none; color: #0f172a;
}
.atn-hits a:hover { background: #eff6ff; text-decoration: none; }
.atn-hits small { color: #64748b; font-size: .68rem; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.atn-hits-empty { padding: .7rem; color: #64748b; text-align: center; font-size: .84rem; }
.atn-drop { position: relative; }
.atn-drop > summary {
  list-style: none; cursor: pointer; user-select: none;
  color: #e2e8f0; font-weight: 750; font-size: 1rem;
  padding: .62rem .9rem; border-radius: 11px;
  display: inline-flex; align-items: center; gap: .35rem;
}
.atn-drop > summary::-webkit-details-marker { display: none; }
.atn-drop > summary::after { content: "▾"; font-size: .65rem; opacity: .65; }
.atn-drop > summary:hover { background: rgba(255,255,255,.07); color: #fff; }
.atn-drop[open] > summary, .atn-drop.is-on > summary {
  background: rgba(37,99,235,.22); color: #fff;
}
.atn-menu {
  position: absolute; left: 0; top: calc(100% + 10px); z-index: 110;
  min-width: 260px; padding: .5rem;
  background: #fff; border: 1px solid #e2e8f0; border-radius: 16px;
  box-shadow: 0 18px 40px rgba(15,23,42,.18);
  display: grid; gap: .1rem;
}
.atn-menu a {
  display: flex; align-items: center; gap: .6rem;
  padding: .62rem .75rem; border-radius: 10px;
  color: #334155; text-decoration: none; font-weight: 650; font-size: .95rem;
}
.atn-menu a:hover { background: #f1f5f9; text-decoration: none; color: #0f172a; }
.atn-menu a.active { background: #eff6ff; color: #1d4ed8; }
.atn-right { display: flex; align-items: center; gap: .4rem; flex-shrink: 0; }
.atn-user { position: relative; }
.atn-user > summary {
  list-style: none; cursor: pointer; border-radius: 10px; padding: 2px;
}
.atn-user > summary::-webkit-details-marker { display: none; }
.atn-user-menu { right: 0; left: auto; min-width: 200px; }
.atn-user-meta { padding: .45rem .65rem .55rem; border-bottom: 1px solid #e2e8f0; margin-bottom: .25rem; }
.atn-user-meta strong { display: block; font-size: .88rem; }
.atn-user-meta small { color: #64748b; font-size: .74rem; }
.admin-pagehead {
  padding: 1.15rem 0 .15rem;
}
.admin-pagehead h1 {
  margin: 0; font-size: 1.45rem; letter-spacing: -.025em;
}
.atn-switch-btn, .nav-style-form button {
  display: block; width: 100%; text-align: left; border: 0; background: transparent;
  padding: .55rem .65rem; border-radius: 9px; font: inherit; font-weight: 650;
  font-size: .9rem; color: #334155; cursor: pointer;
}
.atn-switch-btn:hover, .nav-style-form button:hover { background: #f1f5f9; }
.nav-style-form { margin: .15rem 0; }
.nav-style-form button { color: #94a3b8; padding: .55rem .75rem; }
.nav-style-form button:hover { background: rgba(255,255,255,.06); color: #e2e8f0; }

.dash-stats { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.dash-stats .stat { text-decoration: none; color: inherit; }
.dash-stats .stat:hover { border-color: #93c5fd; text-decoration: none; }
.stat-f .stat-ico { background: #fef3c7; color: #b45309; }
.stat-g .stat-ico { background: #fce7f3; color: #be185d; }
.stat-h .stat-ico { background: #e0e7ff; color: #4338ca; }
.dash-shortcuts {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .65rem; margin: 0 0 1.15rem;
}
.dash-sc {
  display: flex; flex-direction: column; gap: .15rem;
  background: #fff; border: 1px solid #e2e8f0; border-radius: 14px;
  padding: .75rem .8rem; text-decoration: none; color: inherit;
  box-shadow: 0 1px 3px rgba(15,23,42,.04);
}
.dash-sc:hover { border-color: #93c5fd; text-decoration: none; color: inherit; }
.dash-sc strong { font-size: .9rem; }
.dash-sc span { font-size: .75rem; color: #64748b; }
.dash-grid {
  display: grid; grid-template-columns: 1.2fr .9fr .9fr; gap: 1rem; align-items: start;
}
.dash-nav-switch { display: inline; margin: 0; }
@media (max-width: 1100px) {
  .dash-shortcuts { grid-template-columns: repeat(3, 1fr); }
  .dash-grid, .dash-stats { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 720px) {
  .dash-shortcuts { grid-template-columns: 1fr 1fr; }
  .dash-grid, .dash-stats { grid-template-columns: 1fr !important; }
  .admin-canvas { padding: 0 1rem 1rem; }
}
@media (max-width: 1100px) {
  .atn-burger { display: inline-flex; align-items: center; justify-content: center; }
  .atn-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #0b1220; border-bottom: 1px solid rgba(255,255,255,.08);
    flex-direction: column; align-items: stretch; padding: .65rem .75rem 1rem;
    max-height: calc(100vh - 56px); overflow: auto; gap: .15rem;
  }
  .admin-topnav.is-open .atn-nav { display: flex; }
  .atn-search { width: 100%; margin: 0 0 .5rem; }
  .atn-drop > summary { width: 100%; }
  .atn-menu {
    position: static; box-shadow: none; border: 0; background: rgba(255,255,255,.04);
    margin: .2rem 0 .35rem; padding: .25rem;
  }
  .atn-menu a { color: #e2e8f0; }
  .atn-menu a:hover { background: rgba(255,255,255,.08); color: #fff; }
  .atn-menu a.active { background: rgba(37,99,235,.28); color: #fff; }
  .atn-right .badge, .atn-right .btn:not(.btn-primary) { display: none; }
  .admin-pagehead { padding: .75rem 1rem .1rem; }
}
@media (max-width: 640px) {
  .atn-brand span small { display: none; }
  .atn-bar { padding: .4rem .65rem; }
}
