:root {
  --emerald: #7A5A46;
  --emerald-mid: #947059;
  --emerald-soft: #F6EDE4;
  --coral: #B98C69;
  --coral-dark: #9D7150;
  --coral-soft: #FAF2EA;
  --bg: #FDFBF8;
  --surface: #FFFFFF;
  --ink: #3B2B22;
  --ink-muted: #826E61;
  --border: #EFE5DC;
  --wa: #1E9E53;
  --wa-dark: #168042;
  --grad-latte: linear-gradient(135deg, #745441 0%, #96715A 52%, #BC9578 100%);
  --grad-soft: linear-gradient(180deg, #FDFBF8 0%, #F6EDE4 100%);
  --grad-btn: linear-gradient(135deg, #7B5B47 0%, #A17B62 100%);
  --grad-coral: linear-gradient(135deg, #B98B68 0%, #D2A786 100%);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 4px 16px rgba(122, 90, 70, 0.06);
  --shadow-md: 0 14px 36px rgba(122, 90, 70, 0.09);
  --shadow-lg: 0 24px 56px rgba(116, 84, 65, 0.16);
  --font-serif: "Fraunces", Georgia, serif;
  --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--grad-soft);
  background-attachment: fixed;
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }

.container {
  width: min(1220px, 92%);
  margin: 0 auto;
}

.hidden { display: none !important; }

/* Üst Kayar Duyuru Bandı (Marquee) */
.marquee-bar {
  width: 100%;
  overflow: hidden;
  background: var(--grad-latte);
  color: #FFF9F4;
  padding: 0.48rem 0;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
}
.marquee-bar::before,
.marquee-bar::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 24px;
  z-index: 2;
  pointer-events: none;
}
.marquee-bar::before { left: 0; background: linear-gradient(to right, #745441, transparent); }
.marquee-bar::after { right: 0; background: linear-gradient(to left, #BC9578, transparent); }

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-bar:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding-right: 1.4rem;
  white-space: nowrap;
}

.marquee-content strong {
  color: #FFF1E2;
  font-weight: 700;
}

.m-dot {
  opacity: 0.55;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Navigation */
.nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 120;
  padding: 0.85rem 0;
  background: rgba(251, 248, 245, 0.84);
  backdrop-filter: blur(14px);
}

.nav-pill {
  width: min(1220px, 92%);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.5rem 0.65rem 0.5rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--grad-btn);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.brand-badge.light {
  background: rgba(255, 255, 255, 0.14);
}

.brand-info {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
}

.brand-tag {
  font-size: 0.68rem;
  color: var(--ink-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-links a {
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--emerald); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.btn-icon-pill,
.btn-panel-pill,
.btn-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-icon-pill {
  background: transparent;
  border: 1px solid transparent;
  color: var(--ink-muted);
  padding: 0.48rem 0.85rem;
}
.btn-icon-pill:hover { background: var(--bg); color: var(--ink); }

.btn-panel-pill {
  background: var(--emerald-soft);
  border: 1px solid rgba(74, 53, 40, 0.14);
  color: var(--emerald);
  padding: 0.48rem 0.9rem;
}
.btn-panel-pill:hover { background: #E7D8CA; }

.btn-cta-pill {
  background: var(--grad-coral);
  color: #fff;
  padding: 0.54rem 1.15rem;
  border: none;
}
.btn-cta-pill:hover { filter: brightness(0.95); }

/* Hamburger Butonu & Kayar Yan Menü (Drawer) */
.hamburger-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.46rem 0.85rem;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.hamburger-btn:hover {
  border-color: var(--emerald);
  background: var(--emerald-soft);
  color: var(--emerald);
}
.hb-bars {
  display: flex;
  flex-direction: column;
  gap: 3.5px;
}
.hb-bars span {
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  display: block;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 240;
  background: rgba(34, 24, 18, 0.52);
  backdrop-filter: blur(4px);
}

.hamburger-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(390px, 92vw);
  z-index: 250;
  background: var(--surface);
  border-left: 1px solid var(--border);
  box-shadow: -14px 0 38px rgba(42, 28, 19, 0.22);
  display: flex;
  flex-direction: column;
  transform: translateX(104%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.hamburger-drawer.open {
  transform: translateX(0);
}

.drawer-head {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, #FBF7F2 0%, #F4EAE0 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #FFFFFF;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.drawer-close:hover {
  background: var(--emerald-soft);
  color: var(--emerald);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.drawer-section-title {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 0.65rem;
}
.drawer-sec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}
.drawer-sec-row .drawer-section-title { margin-bottom: 0; }
.drawer-cat-total {
  font-size: 0.7rem;
  font-weight: 800;
  background: var(--emerald-soft);
  color: var(--emerald);
  padding: 0.16rem 0.55rem;
  border-radius: 999px;
}

.drawer-quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
.drawer-quick-card {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.68rem 0.72rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}
.drawer-quick-card:hover {
  border-color: var(--emerald);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.drawer-quick-card.primary {
  background: var(--grad-btn);
  color: #FFFFFF;
  border-color: var(--emerald);
}
.drawer-quick-card.primary span { color: rgba(255, 255, 255, 0.85); }
.drawer-quick-card.wa {
  background: #F0FDF4;
  border-color: #BBF7D0;
}
.dq-icon {
  font-size: 1.15rem;
  line-height: 1;
  flex-shrink: 0;
}
.drawer-quick-card strong {
  display: block;
  font-size: 0.8rem;
  line-height: 1.2;
}
.drawer-quick-card span {
  display: block;
  font-size: 0.68rem;
  color: var(--ink-muted);
  margin-top: 0.1rem;
}

.drawer-cat-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.drawer-cat-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.58rem 0.78rem;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: #FFFFFF;
  color: var(--ink);
  font-size: 0.83rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: all 0.18s ease;
}
.drawer-cat-item:hover {
  border-color: var(--emerald);
  background: var(--bg);
}
.drawer-cat-item.active {
  background: var(--grad-btn);
  color: #FFFFFF;
  border-color: var(--emerald);
}
.dci-icon { font-size: 1.05rem; line-height: 1; flex-shrink: 0; }
.dci-name { flex: 1; min-width: 0; }
.dci-count {
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--emerald-soft);
  color: var(--emerald);
  padding: 0.15rem 0.52rem;
  border-radius: 999px;
}
.drawer-cat-item.active .dci-count {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}

.drawer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.drawer-nav-list a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
  transition: background 0.18s ease;
}
.drawer-nav-list a:hover {
  background: var(--emerald-soft);
  color: var(--emerald);
}

.drawer-foot {
  padding: 0.9rem 1.2rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.drawer-gift-note {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--emerald);
  text-align: center;
  margin-bottom: 0.6rem;
}
.drawer-foot-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
  padding: 0.68rem 1.35rem;
  font-size: 0.88rem;
}
.btn-sm { padding: 0.48rem 0.95rem; font-size: 0.8rem; }
.btn-lg { padding: 0.88rem 1.6rem; font-size: 0.94rem; }

.btn-coral { background: var(--grad-coral); color: #fff; }
.btn-coral:hover { filter: brightness(0.95); }

.btn-emerald { background: var(--grad-btn); color: #fff; }
.btn-emerald:hover { filter: brightness(0.95); }

.btn-glass {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.2); }

.btn-outline-dark {
  background: transparent;
  border-color: var(--border);
  color: var(--ink);
}
.btn-outline-dark:hover { border-color: var(--emerald); background: var(--emerald-soft); color: var(--emerald); }

.btn-whatsapp { background: var(--wa); color: #fff; }
.btn-whatsapp:hover { background: var(--wa-dark); }

/* Hero */
.hero-section { padding: 0.7rem 0 2.5rem; }

.hero-canvas {
  position: relative;
  background: var(--grad-latte);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 3.2rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.8rem;
  align-items: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-glow-1 { width: 380px; height: 380px; background: rgba(255, 242, 230, 0.28); top: -110px; right: -60px; }
.hero-glow-2 { width: 320px; height: 320px; background: rgba(236, 206, 178, 0.25); bottom: -130px; left: -70px; }

.hero-left, .hero-right { position: relative; z-index: 2; min-width: 0; max-width: 100%; }

.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.76rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  color: #F6E9DE;
  margin-bottom: 1.4rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #E8C09B;
}

.hero-canvas h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.2vw, 3.7rem);
  line-height: 1.08;
  font-weight: 600;
  margin-bottom: 1.15rem;
}

.accent-italic {
  display: block;
  font-style: italic;
  color: #F0D2B8;
  font-weight: 500;
}

.hero-lead {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 500px;
  margin-bottom: 1.9rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.hero-highlights-clean {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1.1rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.86);
}

.hl-gift {
  background: rgba(255, 241, 226, 0.2);
  border: 1px solid rgba(255, 241, 226, 0.36);
  color: #FFF6EC;
  font-weight: 700;
  padding: 0.32rem 0.82rem;
  border-radius: 999px;
}

/* Hero Showcase */
.hero-showcase-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  border-radius: 22px;
  padding: 0.85rem;
}

.showcase-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #5C4334;
}

.showcase-media img { width: 100%; height: 100%; object-fit: cover; }

.showcase-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(58, 40, 30, 0.86);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.34rem 0.8rem;
  border-radius: 999px;
}

.showcase-order-fab {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: #fff;
  color: var(--emerald);
  border: none;
  border-radius: 999px;
  padding: 0.48rem 0.95rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}
.showcase-order-fab:hover { background: var(--coral); color: #fff; }

.showcase-caption { padding: 0.9rem 0.35rem 0.7rem; }
.showcase-caption strong { display: block; font-family: var(--font-serif); font-size: 1.16rem; line-height: 1.25; margin-bottom: 0.2rem; }
.showcase-caption span { font-size: 0.82rem; color: rgba(255, 255, 255, 0.72); }

.showcase-switcher {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.38rem;
  background: rgba(0, 0, 0, 0.22);
  padding: 0.3rem;
  border-radius: 999px;
}

.sw-btn {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  padding: 0.44rem 0.5rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}
.sw-btn.active { background: #fff; color: var(--emerald); }

/* Sections */
.section { padding: 4.2rem 0; }

.kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--coral);
  margin-bottom: 0.4rem;
}
.kicker.light { color: #F0D2B8; }

.section-head-center {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.4rem;
}
.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
}
.section-head-row h2,
.section-head-center h2,
.catalog-top h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  line-height: 1.15;
}
.section-head-center p { color: var(--ink-muted); margin-top: 0.45rem; font-size: 0.94rem; }
.link-arrow { font-weight: 700; font-size: 0.9rem; color: var(--emerald); }
.link-arrow:hover { color: var(--coral); }

/* Visual Category Cards */
.visual-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.vcat-card {
  position: relative;
  border: none;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  text-align: left;
  box-shadow: var(--shadow-sm);
}
.vcat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.vcat-card:hover img { transform: scale(1.06); }
.vcat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(54, 36, 26, 0.94) 12%, rgba(74, 51, 38, 0.45) 52%, transparent 82%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.3rem;
  color: #fff;
}
.vcat-count { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #F0D2B8; margin-bottom: 0.25rem; }
.vcat-overlay h3 { font-family: var(--font-serif); font-size: 1.4rem; line-height: 1.15; margin-bottom: 0.28rem; }
.vcat-overlay p { font-size: 0.8rem; color: rgba(255, 255, 255, 0.82); }

/* 3D Yazıcı & Kişiye Özel Tasarım Şeridi */
.custom-3d-banner {
  margin-top: 1.25rem;
  background: linear-gradient(135deg, #FFFFFF 0%, #F8EFE6 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.45rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}
.c3d-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  flex: 1;
  min-width: 260px;
}
.c3d-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.c3d-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--emerald-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.c3d-item > div strong {
  display: block;
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 0.12rem;
}
.c3d-item > div span {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-muted);
  line-height: 1.42;
}
.c3d-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Instagram @esranuraydins Ekranı */
.ig-section { background: var(--bg); }
.ig-screen-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.ig-window-bar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.ig-dots { display: flex; gap: 6px; }
.ig-dots span { width: 10px; height: 10px; border-radius: 50%; background: #CBD5E1; }
.ig-dots span:nth-child(1) { background: #F87171; }
.ig-dots span:nth-child(2) { background: #FBBF24; }
.ig-dots span:nth-child(3) { background: #34D399; }
.ig-url-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.25rem 1.1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-muted);
}
.ig-open-link { font-size: 0.78rem; font-weight: 700; color: var(--emerald); }
.ig-open-link:hover { color: var(--coral); }

.ig-profile-header {
  padding: 1.8rem 2rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}
.ig-avatar-ring {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #F59E0B, #EC4899, #8B5CF6);
  flex-shrink: 0;
}
.ig-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--emerald);
  color: #fff;
  border: 3px solid #fff;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.ig-profile-info { flex: 1; min-width: 240px; }
.ig-username-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}
.ig-username-row h3 { font-size: 1.25rem; font-weight: 700; }
.ig-verified-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--emerald);
  background: var(--emerald-soft);
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
}
.ig-bio-name { font-weight: 700; font-size: 0.9rem; margin-bottom: 0.2rem; }
.ig-bio-text { font-size: 0.85rem; color: var(--ink-muted); line-height: 1.5; }

.ig-posts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
  padding: 0.35rem;
  background: var(--bg);
}
.ig-post-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: none;
  padding: 0;
  cursor: pointer;
  background: #E2E8F0;
}
.ig-post-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.ig-post-tile:hover img { transform: scale(1.06); }
.ig-post-hover {
  position: absolute;
  inset: 0;
  background: rgba(74, 53, 40, 0.74);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.22s ease;
}
.ig-post-tile:hover .ig-post-hover { opacity: 1; }
.ig-post-hover span { font-size: 0.7rem; color: #F0D2B8; font-weight: 700; letter-spacing: 0.08em; }
.ig-post-hover strong { font-size: 0.84rem; margin-top: 0.25rem; }

/* Catalog */
.catalog-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.catalog-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.62rem 1.15rem;
  min-width: 280px;
}
.search-box input { border: none; outline: none; background: transparent; width: 100%; font-size: 0.88rem; }

/* Kategori Seçim Kutusu — Tüm kategoriler rahatça görünür & seçilir */
.category-selector-box {
  background: linear-gradient(135deg, #FBF7F2 0%, #F4EAE0 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.cat-selector-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}
.cat-selector-label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--emerald);
}
.cat-active-summary {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  background: #FFFFFF;
  border: 1px solid var(--border);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}

.filter-bar {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
  gap: 0.55rem;
}

.cat-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  background: #FFFFFF;
  color: var(--ink);
  padding: 0.62rem 0.85rem;
  border-radius: 12px;
  font-size: 0.83rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(74, 53, 40, 0.04);
}
.cat-pill-icon {
  font-size: 1.05rem;
  line-height: 1;
  flex-shrink: 0;
}
.cat-pill-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cat-pill-count {
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--emerald-soft);
  color: var(--emerald);
  padding: 0.16rem 0.52rem;
  border-radius: 999px;
  flex-shrink: 0;
}
.cat-pill:hover {
  border-color: var(--emerald);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.cat-pill.active {
  background: var(--grad-btn);
  color: #FFFFFF;
  border-color: var(--emerald);
  box-shadow: 0 6px 16px rgba(116, 84, 65, 0.24);
}
.cat-pill.active .cat-pill-count {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}

/* Kategori Gruplu Katalog Görünümü */
.products-catalog-container {
  display: flex;
  flex-direction: column;
  gap: 2.6rem;
}

.catalog-category-group {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.cat-group-header,
.cat-single-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.15rem;
  margin-bottom: 1.35rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.cat-single-banner {
  background: linear-gradient(135deg, #FBF7F2 0%, #F4EAE0 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.35rem;
  margin-bottom: 0;
}

.cat-group-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.cat-group-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.cat-group-title-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.cat-group-title-row h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  line-height: 1.15;
  color: var(--ink);
}
.cat-group-badge {
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--emerald-soft);
  color: var(--emerald);
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.cat-group-desc {
  font-size: 0.84rem;
  color: var(--ink-muted);
  margin-top: 0.2rem;
}

.catalog-empty-state {
  text-align: center;
  padding: 2.5rem 1.2rem;
  color: var(--ink-muted);
  background: var(--bg);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.product-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg);
  cursor: pointer;
}
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-img-wrap img { transform: scale(1.05); }

.badge-code {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(74, 53, 40, 0.86);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.24rem 0.6rem;
  border-radius: 999px;
}

.product-body { padding: 1.1rem; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: 0.7rem; font-weight: 700; color: var(--coral); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.25rem; }
.product-body h3 { font-family: var(--font-serif); font-size: 1.14rem; line-height: 1.24; margin-bottom: 0.4rem; }
.product-body p { font-size: 0.82rem; color: var(--ink-muted); margin-bottom: 0.85rem; flex: 1; }
.product-meta { display: flex; justify-content: space-between; font-size: 0.74rem; color: var(--ink-muted); padding: 0.5rem 0; border-top: 1px solid var(--border); margin-bottom: 0.75rem; }
.product-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem; }
.catalog-more-wrap { text-align: center; margin-top: 1.6rem; }

/* Process */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.timeline-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.35rem;
}
.tl-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad-btn);
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-bottom: 0.95rem;
}
.timeline-card h3 { font-family: var(--font-serif); font-size: 1.22rem; margin-bottom: 0.4rem; }
.timeline-card p { font-size: 0.86rem; color: var(--ink-muted); }

/* Testimonials */
.testimonials-section { background: linear-gradient(135deg, #F8F1EA 0%, #F1E4D7 100%); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}
.t-stars { color: #D99B26; font-size: 0.88rem; letter-spacing: 2px; }
.t-quote { font-size: 0.9rem; color: var(--ink); margin-top: 0.6rem; }
.t-author { padding-top: 0.8rem; border-top: 1px solid var(--border); }
.t-author strong { display: block; font-size: 0.9rem; }
.t-author span { font-size: 0.76rem; color: var(--ink-muted); }

/* Hub Section */
.hub-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  background: var(--surface);
}

.hub-sidebar {
  background: var(--grad-latte);
  color: #fff;
  padding: 2.4rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  min-width: 0;
  max-width: 100%;
  width: 100%;
}
.hub-sidebar h2 { font-family: var(--font-serif); font-size: 1.9rem; line-height: 1.15; margin-bottom: 0.55rem; }
.hub-sidebar p { font-size: 0.89rem; color: rgba(255, 255, 255, 0.76); }

.hub-contacts { display: flex; flex-direction: column; gap: 0.7rem; }
.hub-contact-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255, 255, 255, 0.09);
  padding: 0.8rem 0.95rem;
  border-radius: var(--radius-sm);
}
.hub-contact-card:hover { background: rgba(255, 255, 255, 0.16); }
.hc-icon { width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #fff; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.16); }
.hc-icon.wa { background: linear-gradient(135deg, #25D366 0%, #169C46 100%); }
.hc-icon.ig { background: linear-gradient(135deg, #F58529 0%, #DD2A7B 52%, #8134AF 100%); }
.hub-contact-card > div span { display: block; font-size: 0.72rem; color: rgba(255, 255, 255, 0.66); }
.hub-contact-card > div strong { font-size: 0.9rem; }

.hub-surprise-box {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255, 246, 236, 0.16);
  border: 1px solid rgba(255, 241, 226, 0.32);
  border-radius: 14px;
  padding: 0.85rem 1rem;
}
.surprise-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.hub-surprise-box > div strong {
  display: block;
  font-size: 0.88rem;
  color: #FFF8F0;
}
.hub-surprise-box > div span {
  display: block;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.38;
}

.hub-facts {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.82rem;
}
.hub-facts div { display: flex; justify-content: space-between; gap: 0.5rem; }
.hub-facts span { color: rgba(255, 255, 255, 0.65); }

.hub-main { padding: 2.1rem 2.2rem; min-width: 0; max-width: 100%; width: 100%; }
.hub-panel, .modern-form { width: 100%; max-width: 100%; min-width: 0; }
.hub-tabs {
  display: flex;
  gap: 0.35rem;
  background: var(--bg);
  padding: 0.32rem;
  border-radius: 999px;
  margin-bottom: 1.6rem;
  width: 100%;
  max-width: 100%;
}
.hub-tab {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--ink-muted);
  cursor: pointer;
}
.hub-tab.active { background: var(--surface); color: var(--emerald); box-shadow: var(--shadow-sm); }

.form-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; width: 100%; }
.form-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.65rem; width: 100%; }

.field { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 0.9rem; min-width: 0; width: 100%; max-width: 100%; }
.field label { font-size: 0.8rem; font-weight: 600; }

.field input,
.field select,
.field textarea,
.admin-inline-form input,
.admin-inline-form select,
.admin-inline-form textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0.68rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 0.87rem;
  color: var(--ink);
  text-overflow: ellipsis;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--emerald); background: #fff; }

.form-btn-row { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 0.7rem; margin-top: 0.4rem; }

.panel-intro h3 { font-family: var(--font-serif); font-size: 1.5rem; margin-bottom: 0.3rem; }
.panel-intro p { font-size: 0.87rem; color: var(--ink-muted); margin-bottom: 1.2rem; }

.inline-track-bar { display: flex; gap: 0.6rem; margin-bottom: 0.8rem; }
.inline-track-bar input {
  flex: 1;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 0.89rem;
}
.inline-track-bar .btn { padding-left: 1.45rem; padding-right: 1.45rem; }

.demo-codes { display: flex; align-items: center; flex-wrap: wrap; gap: 0.45rem; font-size: 0.78rem; color: var(--ink-muted); margin-bottom: 1.2rem; }
.demo-chip {
  border: 1px solid var(--border);
  background: var(--bg);
  padding: 0.24rem 0.68rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}
.demo-chip:hover { border-color: var(--emerald); color: var(--emerald); }

/* Success Box */
.order-success-box { text-align: center; padding: 1.1rem 0; }
.success-check {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--emerald-soft); color: var(--emerald);
  font-size: 1.6rem; font-weight: 700; display: grid; place-items: center;
  margin: 0 auto 0.9rem;
}
.order-success-box h3 { font-family: var(--font-serif); font-size: 1.75rem; margin-bottom: 0.35rem; }
.order-success-box p { font-size: 0.89rem; color: var(--ink-muted); margin-bottom: 1.2rem; }
.code-ticket { background: var(--emerald-soft); border: 1px dashed var(--emerald); border-radius: var(--radius-sm); padding: 0.95rem; margin-bottom: 1.2rem; }
.code-ticket span { display: block; font-size: 0.7rem; letter-spacing: 0.1em; color: var(--emerald); font-weight: 700; }
.code-ticket strong { font-size: 1.5rem; letter-spacing: 0.08em; color: var(--emerald); }
.success-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; }

/* FAQ */
.faq-wrap { max-width: 780px; }
.faq-list { display: flex; flex-direction: column; gap: 0.7rem; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq-question {
  width: 100%; background: none; border: none; padding: 1.1rem 1.3rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  text-align: left; font-size: 0.93rem; font-weight: 600; cursor: pointer;
}
.faq-plus { display: inline-block; flex-shrink: 0; font-size: 1.25rem; line-height: 1; color: var(--coral); transition: transform 0.2s; }
.faq-item.open .faq-plus { transform: rotate(45deg); }
.faq-answer { display: none; }
.faq-item.open .faq-answer { display: block; }
.faq-answer p { padding: 0 1.3rem 1.1rem; font-size: 0.87rem; color: var(--ink-muted); }

/* Footer */
.footer { background: var(--grad-latte); color: rgba(255, 255, 255, 0.86); padding: 3.4rem 0 1.8rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.footer .brand-name { color: #fff; }
.footer .brand-tag { color: rgba(255, 255, 255, 0.62); }
.footer-brand p { margin-top: 0.85rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.66); max-width: 290px; }
.footer-col { display: flex; flex-direction: column; gap: 0.45rem; font-size: 0.84rem; }
.footer-col h4 { color: #fff; font-family: var(--font-serif); font-size: 1.15rem; margin-bottom: 0.4rem; }
.footer-col a:hover { color: #F0D2B8; }
.footer-bottom { padding-top: 1.3rem; font-size: 0.78rem; color: rgba(255, 255, 255, 0.52); text-align: center; }

/* Floating WhatsApp */
.floating-wa {
  position: fixed; right: 20px; bottom: 72px; z-index: 90;
  background: var(--wa); color: #fff; padding: 0.7rem 1.1rem;
  border-radius: 999px; display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.84rem; font-weight: 700; box-shadow: 0 10px 26px rgba(30, 158, 83, 0.34);
}
.floating-wa:hover { background: var(--wa-dark); }

/* Modals */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(43, 32, 26, 0.62); backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: 1.2rem; overflow-y: auto;
}
.modal-card {
  position: relative; background: var(--surface); border-radius: var(--radius-lg);
  width: 100%; box-shadow: var(--shadow-lg); padding: 2rem; max-height: 90vh; overflow-y: auto;
}
.modal-sm { max-width: 420px; }
.modal-md { max-width: 620px; }
.modal-lg { max-width: 840px; }
.modal-xl { max-width: 1180px; padding: 0; overflow: hidden; display: flex; flex-direction: column; }

.modal-title { font-family: var(--font-serif); font-size: 1.75rem; margin-bottom: 0.35rem; }
.modal-sub { font-size: 0.87rem; color: var(--ink-muted); margin-bottom: 1.15rem; }

.modal-close {
  position: absolute; top: 16px; right: 16px; width: 34px; height: 34px;
  border-radius: 50%; border: 1px solid var(--border); background: var(--surface);
  font-size: 1.3rem; cursor: pointer; display: grid; place-items: center;
}

/* Login Modal */
.login-header { text-align: center; margin-bottom: 1.4rem; }
.login-icon {
  width: 52px; height: 52px; border-radius: 50%; background: var(--emerald); color: #fff;
  font-family: var(--font-serif); font-size: 1.35rem; font-weight: 700;
  display: grid; place-items: center; margin: 0 auto 0.85rem;
}
.login-header h3 { font-family: var(--font-serif); font-size: 1.6rem; margin-bottom: 0.25rem; }
.login-header p { font-size: 0.84rem; color: var(--ink-muted); }
.login-error {
  background: #FEE2E2; color: #B91C1C; font-size: 0.82rem; font-weight: 600;
  padding: 0.55rem 0.85rem; border-radius: 8px; margin-bottom: 0.8rem; text-align: center;
}

/* Product Modal */
.product-modal-body { display: grid; grid-template-columns: 1fr 1.1fr; gap: 1.8rem; align-items: center; }
.product-modal-img { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/4; background: var(--bg); }
.product-modal-img img { width: 100%; height: 100%; object-fit: cover; }
.product-modal-info h3 { font-family: var(--font-serif); font-size: 1.8rem; line-height: 1.15; margin: 0.3rem 0 0.7rem; }
.product-modal-info p { font-size: 0.89rem; color: var(--ink-muted); margin-bottom: 1.1rem; }
.modal-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-bottom: 1.3rem; }
.spec-box { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.65rem 0.85rem; }
.spec-box span { display: block; font-size: 0.71rem; color: var(--ink-muted); }
.spec-box strong { font-size: 0.85rem; }

/* Track Result */
.track-result { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.25rem; }
.track-summary { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; padding-bottom: 0.85rem; margin-bottom: 0.85rem; border-bottom: 1px solid var(--border); }
.track-stepper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-top: 1.05rem; }
.track-step { text-align: center; font-size: 0.78rem; color: var(--ink-muted); }
.track-dot { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--border); margin: 0 auto 0.35rem; display: grid; place-items: center; font-size: 0.76rem; font-weight: 700; background: #fff; }
.track-step.done .track-dot, .track-step.current .track-dot { background: var(--emerald); border-color: var(--emerald); color: #fff; }
.track-step.current { color: var(--emerald); font-weight: 700; }

/* Müşteri Takip — Çoklu Sipariş Seçimi & Mesajlaşma */
.track-multi-list { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1rem; }
.track-multi-btn {
  border: 1px solid var(--border); background: #fff; padding: 0.4rem 0.85rem;
  border-radius: 999px; font-size: 0.78rem; font-weight: 600; cursor: pointer;
}
.track-multi-btn.active { background: var(--emerald); color: #fff; border-color: var(--emerald); }

.track-info-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.55rem;
  margin-top: 0.85rem; font-size: 0.82rem;
}
.track-info-item {
  background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 0.55rem 0.8rem;
}
.track-info-item span { display: block; font-size: 0.7rem; color: var(--ink-muted); }
.track-info-item strong { color: var(--ink); }

.chat-section {
  margin-top: 1.15rem; padding-top: 1rem; border-top: 1px solid var(--border);
}
.chat-section-title {
  font-size: 0.84rem; font-weight: 700; color: var(--emerald); margin-bottom: 0.65rem;
  display: flex; justify-content: space-between; align-items: center;
}
.chat-messages {
  display: flex; flex-direction: column; gap: 0.55rem;
  max-height: 210px; overflow-y: auto; padding: 0.35rem 0.2rem; margin-bottom: 0.75rem;
}
.chat-empty { font-size: 0.8rem; color: var(--ink-muted); padding: 0.5rem 0; }
.chat-bubble {
  max-width: 84%; padding: 0.6rem 0.85rem; border-radius: 14px; font-size: 0.83rem; line-height: 1.45;
}
.chat-bubble.customer {
  align-self: flex-end; background: var(--emerald); color: #fff; border-bottom-right-radius: 4px;
}
.chat-bubble.atelier {
  align-self: flex-start; background: #fff; border: 1px solid var(--border); color: var(--ink); border-bottom-left-radius: 4px;
}
.chat-meta {
  display: block; font-size: 0.68rem; opacity: 0.72; margin-top: 0.25rem;
}
.chat-form { display: flex; gap: 0.5rem; }
.chat-form input {
  flex: 1; padding: 0.62rem 0.95rem; border-radius: 999px;
  border: 1px solid var(--border); background: #fff; font-size: 0.84rem;
}
.chat-form input:focus { outline: none; border-color: var(--emerald); }

/* Sade Master-Detail Yönetim Paneli */
.admin-master-detail {
  display: grid; grid-template-columns: 330px 1fr; gap: 1.25rem; min-height: 480px;
}
.admin-list-col {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 0.9rem; display: flex; flex-direction: column; gap: 0.75rem; max-height: 62vh;
}
.admin-list-controls { display: flex; flex-direction: column; gap: 0.5rem; }
.admin-search-full {
  width: 100%; padding: 0.55rem 0.9rem; border-radius: 999px;
  border: 1px solid var(--border); background: #fff; font-size: 0.82rem;
}
.admin-list-row { display: flex; gap: 0.45rem; }
.admin-filter-select {
  flex: 1; padding: 0.45rem 0.7rem; border-radius: 999px;
  border: 1px solid var(--border); background: #fff; font-size: 0.8rem; font-weight: 600;
}
.order-cards-list {
  display: flex; flex-direction: column; gap: 0.5rem; overflow-y: auto; flex: 1; padding-right: 2px;
}
.order-card-item {
  width: 100%; text-align: left; background: #fff; border: 1px solid var(--border);
  border-radius: 14px; padding: 0.8rem 0.9rem; cursor: pointer; transition: all 0.18s ease;
}
.order-card-item:hover { border-color: var(--emerald); }
.order-card-item.active { border-color: var(--emerald); background: var(--emerald-soft); box-shadow: var(--shadow-sm); }
.oci-top { display: flex; justify-content: space-between; align-items: center; gap: 0.4rem; margin-bottom: 0.25rem; }
.oci-code { font-size: 0.74rem; font-weight: 700; color: var(--ink-muted); }
.oci-name { font-size: 0.92rem; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 0.4rem; }
.oci-sub { font-size: 0.77rem; color: var(--ink-muted); margin-top: 0.15rem; }
.unread-badge {
  background: var(--coral); color: #fff; font-size: 0.66rem; font-weight: 700;
  padding: 0.12rem 0.48rem; border-radius: 999px;
}

.admin-detail-col {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 1.35rem; max-height: 62vh; overflow-y: auto;
}
.empty-detail {
  height: 100%; display: grid; place-items: center; color: var(--ink-muted); font-size: 0.9rem; padding: 3rem 1rem;
}
.detail-header {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem;
  flex-wrap: wrap; padding-bottom: 1rem; border-bottom: 1px solid var(--border); margin-bottom: 1rem;
}
.detail-header h4 { font-family: var(--font-serif); font-size: 1.45rem; line-height: 1.2; }
.detail-contact-line { font-size: 0.82rem; color: var(--ink-muted); margin-top: 0.2rem; }

/* 3 Adımlı Sade Sipariş Durumu & Özet Kartı */
.stage-selector-clean {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.85rem;
  margin-bottom: 0.9rem;
}
.stage-pills-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.stage-pill-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink-muted);
  padding: 0.62rem 0.65rem;
  border-radius: 11px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}
.stage-pill-btn:hover { border-color: var(--emerald); color: var(--emerald); }
.stage-pill-btn.active {
  background: var(--grad-btn);
  color: #fff;
  border-color: var(--emerald);
  box-shadow: var(--shadow-sm);
}

.cargo-quick-row {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px dashed var(--border);
}
.cargo-quick-row input {
  flex: 1;
  padding: 0.48rem 0.8rem;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 0.8rem;
}

/* Müşteriye Hazır WhatsApp Mesajı Gönderme Kutusu */
.wa-ready-box {
  margin-top: 0.75rem;
  padding: 0.78rem 0.85rem;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.wa-ready-head {
  font-size: 0.77rem;
  color: #166534;
}
.wa-main-send-btn {
  width: 100%;
  justify-content: center;
  padding: 0.62rem 1rem;
  font-size: 0.84rem;
}
.wa-template-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
}
.wa-tpl-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.42rem 0.5rem;
  border-radius: 8px;
  background: #FFFFFF;
  border: 1px solid #86EFAC;
  color: #166534;
  font-size: 0.73rem;
  font-weight: 700;
  transition: all 0.18s ease;
}
.wa-tpl-chip:hover {
  background: #DCFCE7;
  border-color: #22C55E;
}
.wa-tpl-chip.active {
  background: #DCFCE7;
  border-color: #16A34A;
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.14);
}

.clean-order-summary {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.95rem 1.05rem;
}
.cos-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
  flex-wrap: wrap;
}
.cos-main strong {
  font-size: 0.98rem;
  color: var(--ink);
}
.cos-qty-badge {
  background: var(--emerald-soft);
  color: var(--emerald);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
}
.cos-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
  font-size: 0.82rem;
  color: var(--ink-muted);
}
.cos-meta strong { color: var(--ink); }

/* Sade Bilgi Talepleri & Katalog Yönetimi */
.simple-cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
.inquiry-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: 16px;
  padding: 1.1rem; display: flex; flex-direction: column; justify-content: space-between; gap: 0.8rem;
}
.catalog-admin-split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1.2rem; }
.catalog-admin-box {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.1rem;
}
.box-head-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.9rem; }
.box-head-row h4 { font-family: var(--font-serif); font-size: 1.25rem; }
.simple-list { display: flex; flex-direction: column; gap: 0.55rem; max-height: 46vh; overflow-y: auto; }
.simple-list-item {
  background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 0.7rem 0.85rem;
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
}
.sli-left { display: flex; align-items: center; gap: 0.7rem; min-width: 0; }
.sli-left strong { display: block; font-size: 0.85rem; }
.sli-left span { display: block; font-size: 0.75rem; color: var(--ink-muted); }

/* Özel Kampanya Banner'ı */
.campaign-section { padding: 0.4rem 0 1.4rem; }
.campaign-banner {
  background: linear-gradient(135deg, #FBF2E9 0%, #F1E1D2 100%);
  border: 1px solid #E3CEBB;
  border-radius: var(--radius-md);
  padding: 1.5rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.campaign-content { flex: 1; min-width: 0; }
.campaign-badge {
  display: inline-block;
  background: var(--grad-coral);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.55rem;
}
.campaign-banner h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.3vw, 1.8rem);
  line-height: 1.2;
  margin-bottom: 0.35rem;
}
.campaign-banner p {
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin-bottom: 0.9rem;
}
.campaign-media {
  width: 190px;
  height: 130px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.campaign-media img { width: 100%; height: 100%; object-fit: cover; }

/* Yönetim Paneli — Ana Ekran & Kampanya CMS */
.cms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  align-items: start;
}
.cms-col { display: flex; flex-direction: column; gap: 1.1rem; min-width: 0; }
.cms-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.15rem;
}
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0.85rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  cursor: pointer;
}
.toggle-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--emerald);
  cursor: pointer;
}
.cms-divider { border: none; border-top: 1px solid var(--border); margin: 0.95rem 0; }
.upload-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.upload-label { cursor: pointer; }

/* Admin Dashboard */
.admin-topbar {
  background: var(--grad-latte); color: #fff; padding: 1.3rem 1.8rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.admin-topbar h3 { font-family: var(--font-serif); font-size: 1.6rem; }
.admin-top-actions { display: flex; align-items: center; gap: 0.6rem; }
.modal-close-dark {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.1);
  color: #fff; font-size: 1.3rem; cursor: pointer;
}

.admin-nav-tabs {
  display: flex; gap: 0.4rem; padding: 0.75rem 1.8rem;
  background: var(--bg); border-bottom: 1px solid var(--border); flex-wrap: wrap;
}
.admin-nav-tab {
  border: 1px solid transparent; background: transparent; color: var(--ink-muted);
  padding: 0.48rem 1rem; border-radius: 999px; font-size: 0.84rem; font-weight: 600;
  cursor: pointer; display: inline-flex; align-items: center; gap: 0.45rem;
}
.admin-nav-tab.active { background: var(--surface); border-color: var(--border); color: var(--emerald); box-shadow: var(--shadow-sm); }
.tab-pill { background: var(--emerald-soft); color: var(--emerald); font-size: 0.72rem; padding: 0.1rem 0.5rem; border-radius: 999px; font-weight: 700; }

.admin-body { padding: 1.5rem 1.8rem; overflow-y: auto; }

.admin-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.85rem; margin-bottom: 1.25rem; }
.kpi-box { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.85rem 1rem; }
.kpi-box span { display: block; font-size: 0.72rem; color: var(--ink-muted); }
.kpi-box strong { font-family: var(--font-serif); font-size: 1.6rem; color: var(--emerald); }

.admin-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 0.85rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.admin-toolbar-right { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.admin-status-tabs { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.status-tab {
  border: 1px solid var(--border); background: var(--surface); padding: 0.35rem 0.82rem;
  border-radius: 999px; font-size: 0.77rem; font-weight: 600; cursor: pointer; color: var(--ink-muted);
}
.status-tab.active { background: var(--emerald); color: #fff; border-color: var(--emerald); }

.admin-search { padding: 0.48rem 0.9rem; border-radius: 999px; border: 1px solid var(--border); min-width: 210px; font-size: 0.82rem; }

.admin-inline-form {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 1.15rem; margin-bottom: 1.15rem;
}
.admin-inline-form h4 { font-family: var(--font-serif); font-size: 1.18rem; margin-bottom: 0.75rem; }

.admin-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.83rem; }
.admin-table th {
  background: var(--bg); text-align: left; padding: 0.75rem 0.85rem;
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-muted); white-space: nowrap;
}
.admin-table td { padding: 0.82rem 0.85rem; border-top: 1px solid var(--border); vertical-align: top; }

.order-code-cell { white-space: nowrap; }
.admin-thumb { width: 52px; height: 40px; border-radius: 8px; object-fit: cover; }

.status-select {
  padding: 0.34rem 0.55rem; border-radius: 8px; border: 1px solid var(--border);
  font-size: 0.78rem; font-weight: 600; cursor: pointer; min-width: 132px; white-space: nowrap;
}

.status-badge { display: inline-block; padding: 0.22rem 0.65rem; border-radius: 999px; font-size: 0.73rem; font-weight: 700; white-space: nowrap; }
.st-yeni { background: #FEF3C7; color: #92400E; }
.st-onay { background: #E0E7FF; color: #3730A3; }
.st-uretim { background: #F3E8FF; color: #6B21A8; }
.st-kargo { background: #DBEAFE; color: #1E40AF; }
.st-teslim { background: #DCFCE7; color: #166534; }

.row-actions { display: flex; gap: 0.35rem; flex-wrap: nowrap; }
.icon-btn {
  border: 1px solid var(--border); background: var(--bg); padding: 0.3rem 0.55rem;
  border-radius: 8px; font-size: 0.74rem; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.icon-btn:hover { background: var(--emerald-soft); color: var(--emerald); }
.icon-btn.danger:hover { background: #FEE2E2; color: #B91C1C; border-color: #FCA5A5; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 300;
  background: var(--emerald); color: #fff; padding: 0.78rem 1.4rem;
  border-radius: 999px; font-size: 0.85rem; font-weight: 600; box-shadow: var(--shadow-lg);
}

/* Responsive */
@media (max-width: 1080px) {
  .visual-cat-grid, .products-grid, .timeline-grid, .ig-posts-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-kpis { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1040px) {
  .hero-canvas, .product-modal-body, .footer-top,
  .admin-master-detail, .catalog-admin-split, .simple-cards-grid, .detail-edit-grid, .cms-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hub-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
  }
  .campaign-banner { flex-direction: column; align-items: flex-start; padding: 1.2rem; }
  .campaign-media { width: 100%; height: 165px; }
  .c3d-items { grid-template-columns: 1fr; gap: 0.85rem; }
  .custom-3d-banner { padding: 1rem; }
  .c3d-actions { width: 100%; }
  .c3d-actions .btn { flex: 1; }
  .hero-canvas { padding: 2rem 1.4rem; gap: 1.8rem; }
  .admin-list-col, .admin-detail-col { max-height: none; }
  .nav-links { display: none; }
  .btn-cta-pill { display: none; }
}

@media (max-width: 620px) {
  .container { width: 92%; }
  .section { padding: 2.2rem 0; }
  .section-head-row, .catalog-top { margin-bottom: 1.1rem; gap: 0.7rem; }
  .section-head-center { margin-bottom: 1.4rem; }
  .section-head-row h2, .section-head-center h2, .catalog-top h2 { font-size: 1.5rem; }

  /* Mobil Navigasyon — tek satır marka, ferah ikon aralığı */
  .nav-wrapper { padding: 0.45rem 0; }
  .nav-pill { width: 92%; padding: 0.4rem 0.55rem 0.4rem 0.65rem; gap: 0.5rem; }
  .brand { gap: 0.5rem; min-width: 0; }
  .brand-badge { width: 32px; height: 32px; font-size: 0.88rem; }
  .brand-name { font-size: 0.94rem; white-space: nowrap; }
  .brand-tag { display: none; }
  .nav-actions { gap: 0.35rem; flex-shrink: 0; }
  .btn-icon-pill { padding: 0.45rem 0.55rem; }
  .btn-icon-pill span { display: none; }
  .btn-panel-pill { padding: 0.45rem 0.62rem; font-size: 0.76rem; }
  .hamburger-btn { padding: 0.44rem 0.68rem; font-size: 0.75rem; gap: 0.35rem; }
  .drawer-head { padding: 0.85rem 1rem; }
  .drawer-body { padding: 0.95rem 1rem; gap: 1.15rem; }
  .drawer-quick-grid { grid-template-columns: 1fr 1fr; gap: 0.45rem; }
  .drawer-quick-card { padding: 0.58rem 0.6rem; }

  /* Mobil Hero — kompakt, kaymasız ve okunaklı */
  .hero-section { padding: 0.25rem 0 1.2rem; }
  .hero-canvas { padding: 1.35rem 1.05rem; border-radius: 18px; gap: 1.15rem; }
  .live-status-pill { font-size: 0.68rem; padding: 0.3rem 0.72rem; margin-bottom: 0.8rem; }
  .hero-canvas h1 { font-size: 1.82rem; margin-bottom: 0.65rem; }
  .hero-lead { font-size: 0.87rem; margin-bottom: 1rem; }
  .hero-buttons { display: grid; grid-template-columns: 1fr; gap: 0.5rem; margin-bottom: 0.95rem; }
  .hero-buttons .btn { width: 100%; min-height: 44px; padding: 0.68rem 1rem; font-size: 0.86rem; }
  .hero-highlights-clean { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.76rem; padding-top: 0.8rem; }
  .showcase-media { aspect-ratio: 16 / 10; }
  .showcase-caption { padding: 0.6rem 0.25rem 0.5rem; }
  .showcase-caption strong {
    font-size: 0.94rem;
    line-height: 1.25;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .showcase-caption span { display: none; }
  .sw-btn { font-size: 0.73rem; padding: 0.42rem 0.2rem; }

  /* Görsel Kategori Kartları — yüksek kontrastlı 2x2 */
  .visual-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
  .vcat-card { aspect-ratio: 4 / 3; border-radius: 14px; }
  .vcat-overlay { padding: 0.7rem; }
  .vcat-count { font-size: 0.62rem; }
  .vcat-overlay h3 { font-size: 0.94rem; line-height: 1.18; min-height: 2.36em; display: flex; align-items: flex-end; margin-bottom: 0; }
  .vcat-overlay p { display: none; }

  /* Katalog — 2 sütunlu net kategori seçim kutusu + dengeli 2 sütun ürün ızgarası */
  .catalog-controls { width: 100%; }
  .search-box { min-width: 0; width: 100%; padding: 0.55rem 0.95rem; }
  .category-selector-box { padding: 0.85rem; margin-bottom: 1.25rem; border-radius: 14px; }
  .cat-selector-head { margin-bottom: 0.65rem; }
  .cat-selector-label { font-size: 0.72rem; }
  .cat-active-summary { font-size: 0.73rem; padding: 0.2rem 0.6rem; }
  .filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
  }
  .cat-pill {
    padding: 0.52rem 0.62rem;
    font-size: 0.75rem;
    border-radius: 10px;
    gap: 0.35rem;
  }
  .cat-pill:first-child {
    grid-column: 1 / -1;
    justify-content: center;
  }
  .cat-pill:first-child .cat-pill-name {
    flex: initial;
  }
  .cat-pill-icon { font-size: 0.92rem; }
  .cat-pill-count { font-size: 0.66rem; padding: 0.12rem 0.42rem; }

  .products-catalog-container { gap: 1.4rem; }
  .catalog-category-group { padding: 0.95rem; border-radius: 16px; }
  .cat-group-header, .cat-single-banner {
    padding-bottom: 0.85rem;
    margin-bottom: 0.95rem;
    gap: 0.65rem;
  }
  .cat-single-banner { padding: 0.95rem; margin-bottom: 0; }
  .cat-group-icon { width: 38px; height: 38px; font-size: 1.15rem; border-radius: 11px; }
  .cat-group-title-row h3 { font-size: 1.15rem; }
  .cat-group-badge { font-size: 0.66rem; padding: 0.16rem 0.5rem; }
  .cat-group-desc { font-size: 0.76rem; }
  .cat-group-header .btn, .cat-single-banner .btn { width: 100%; }

  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; }
  .product-card { border-radius: 14px; min-width: 0; }
  .product-img-wrap { aspect-ratio: 1 / 1; }
  .badge-code { top: 6px; right: 6px; font-size: 0.6rem; padding: 0.18rem 0.45rem; }
  .product-body { padding: 0.65rem; }
  .product-cat { font-size: 0.62rem; margin-bottom: 0.15rem; }
  .product-body h3 {
    font-size: 0.86rem;
    line-height: 1.25;
    min-height: 2.5em;
    margin-bottom: 0.4rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .product-body p { display: none; }
  .product-meta { font-size: 0.65rem; padding: 0.35rem 0; margin-bottom: 0.45rem; gap: 0.2rem; }
  .product-actions { gap: 0.35rem; }
  .product-actions .btn { min-height: 36px; padding: 0.46rem 0.3rem; font-size: 0.74rem; }

  /* Instagram @esranuraydins — gerçek mobil IG 3x2 ızgara */
  .ig-screen-frame { border-radius: 18px; }
  .ig-window-bar { padding: 0.55rem 0.8rem; }
  .ig-url-pill { font-size: 0.7rem; padding: 0.18rem 0.7rem; }
  .ig-open-link { display: none; }
  .ig-profile-header { padding: 1rem; gap: 0.85rem; }
  .ig-avatar-ring { width: 56px; height: 56px; }
  .ig-avatar-inner { font-size: 1.15rem; }
  .ig-username-row h3 { font-size: 1.05rem; }
  .ig-bio-name { font-size: 0.84rem; }
  .ig-bio-text { font-size: 0.78rem; }
  .ig-posts-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; padding: 3px; }
  .ig-post-hover { display: none; }

  /* 4 Adımda Sipariş Süreci — hizalı yatay kart listesi (dar sütun kırılması yok!) */
  .timeline-grid { grid-template-columns: 1fr; gap: 0.6rem; }
  .timeline-card {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    min-width: 0;
  }
  .tl-num { width: 34px; height: 34px; font-size: 0.88rem; margin-bottom: 0; flex-shrink: 0; }
  .tl-body { min-width: 0; }
  .timeline-card h3 { font-size: 0.98rem; line-height: 1.25; margin-bottom: 0.2rem; }
  .timeline-card p { font-size: 0.8rem; line-height: 1.45; }

  /* Müşteri Yorumları — yatay kaydırılabilir kartlar */
  .testimonials-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0.75rem;
    padding-bottom: 0.5rem;
  }
  .testimonial-card {
    flex: 0 0 84%;
    scroll-snap-align: start;
    padding: 1.15rem;
  }
  .t-quote { font-size: 0.85rem; }

  /* Sipariş, Bilgi & Takip Merkezi — tam genişlik, sıfır kesilme */
  .hub-section .container { width: 96%; }
  .hub-wrapper { border-radius: 18px; width: 100%; }
  .hub-sidebar { padding: 1.35rem 1.1rem; gap: 1rem; width: 100%; }
  .hub-sidebar h2 { font-size: 1.42rem; }
  .hub-facts div { flex-wrap: wrap; }
  .hub-main { padding: 1.25rem 1.05rem; width: 100%; }
  .hub-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.25rem; border-radius: 12px; padding: 0.25rem; }
  .hub-tab { padding: 0.55rem 0.2rem; font-size: 0.76rem; white-space: nowrap; }
  .form-grid-2, .form-grid-3, .form-btn-row, .admin-kpis, .track-info-grid { grid-template-columns: minmax(0, 1fr); }
  .inline-track-bar { flex-direction: column; }
  .inline-track-bar input, .inline-track-bar .btn { width: 100%; }
  .chat-section-title { flex-direction: column; align-items: flex-start; gap: 0.15rem; }
  .chat-form { flex-direction: column; }
  .chat-form .btn { width: 100%; }
  .chat-bubble { max-width: 94%; }

  /* 5 Adımlı Sipariş Takip — kaymasız dikey zaman çizelgesi */
  .track-stepper {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding-left: 0.2rem;
    margin-top: 0.9rem;
  }
  .track-step {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-align: left;
    font-size: 0.82rem;
  }
  .track-dot { margin: 0; flex-shrink: 0; width: 26px; height: 26px; }

  /* Modallar & Yönetim Paneli */
  .modal-overlay { padding: 0.5rem; align-items: flex-start; }
  .modal-card { padding: 1.15rem; border-radius: 16px; max-height: 92vh; }
  .modal-xl { padding: 0; }
  .admin-topbar { padding: 0.95rem 1rem; }
  .admin-topbar h3 { font-size: 1.22rem; }
  .admin-nav-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.6rem 0.85rem;
    gap: 0.35rem;
  }
  .admin-nav-tabs::-webkit-scrollbar { display: none; }
  .admin-nav-tab { flex-shrink: 0; padding: 0.4rem 0.75rem; font-size: 0.76rem; }
  .admin-body { padding: 0.85rem; }
  .admin-list-col, .admin-detail-col { padding: 0.8rem; }
  .detail-header { flex-direction: column; }
  .stage-pills-3 { grid-template-columns: 1fr; }
  .wa-template-chips { grid-template-columns: 1fr; }
  .cargo-quick-row { flex-direction: column; }
  .cargo-quick-row .btn { width: 100%; }
  .simple-list-item { flex-direction: column; align-items: flex-start; }

  /* iOS Safari input yakınlaştırma engeli */
  input, select, textarea { font-size: 16px !important; }

  /* Toast, Footer & Yüzen WhatsApp — sıfır çakışma */
  .toast { bottom: 80px; max-width: 90vw; text-align: center; }
  .footer { padding: 2.2rem 0 7rem; }
  .footer-top { gap: 1.3rem; }
  .floating-wa { right: 14px; bottom: 72px; z-index: 80; width: 46px; height: 46px; padding: 0; justify-content: center; }
  .floating-wa span { display: none; }
}

@media (max-width: 420px) {
  .btn-panel-pill span { display: none; }
  .btn-panel-pill { padding: 0.45rem 0.55rem; }
}

/* Model Fotoğraf Önizleme - Lüks Butik Tasarım */
.label-with-action {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 0.35rem !important;
}
.label-with-action label {
  margin-bottom: 0 !important;
}
.btn-model-preview-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  color: #745441 !important;
  background: rgba(116, 84, 65, 0.08) !important;
  border: 1px solid rgba(116, 84, 65, 0.2) !important;
  padding: 0.24rem 0.72rem !important;
  border-radius: 999px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}
.btn-model-preview-link:hover {
  background: #745441 !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 10px rgba(116, 84, 65, 0.2) !important;
}

.model-preview-bar {
  margin-top: 0.65rem !important;
  background: linear-gradient(135deg, #FFFFFF 0%, #FAF6F0 100%) !important;
  border: 1.5px solid rgba(116, 84, 65, 0.22) !important;
  border-radius: 16px !important;
  padding: 0.75rem 0.95rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.85rem !important;
  box-shadow: 0 6px 20px rgba(116, 84, 65, 0.08) !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  animation: smpSlideDown 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}
@keyframes smpSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.model-preview-bar:hover {
  border-color: #745441 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 26px rgba(116, 84, 65, 0.14) !important;
}

.smp-thumb-wrap {
  position: relative !important;
  width: 62px !important;
  height: 62px !important;
  min-width: 62px !important;
  max-width: 62px !important;
  min-height: 62px !important;
  max-height: 62px !important;
  flex-shrink: 0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  border: 1.5px solid rgba(116, 84, 65, 0.18) !important;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08) !important;
}
.smp-thumb {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.25s ease !important;
}
.model-preview-bar:hover .smp-thumb {
  transform: scale(1.08) !important;
}
.smp-thumb-badge {
  position: absolute !important;
  right: 3px !important;
  bottom: 3px !important;
  background: rgba(43, 32, 26, 0.72) !important;
  backdrop-filter: blur(4px) !important;
  color: #fff !important;
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  display: grid !important;
  place-items: center !important;
}

.smp-info {
  flex: 1 !important;
  min-width: 0 !important;
}
.smp-kicker {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  color: #A88166 !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  margin-bottom: 0.25rem !important;
}
.smp-pulse {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #10B981 !important;
  display: inline-block !important;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25) !important;
}
.smp-title {
  font-family: var(--font-serif, serif) !important;
  font-size: 0.94rem !important;
  font-weight: 700 !important;
  color: #2B201A !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.25 !important;
}
.smp-sub {
  font-size: 0.75rem !important;
  color: #7A665A !important;
  margin-top: 0.18rem !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.smp-zoom-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.38rem !important;
  padding: 0.48rem 0.95rem !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #745441 0%, #906A53 100%) !important;
  border: none !important;
  color: #ffffff !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
  box-shadow: 0 3px 10px rgba(116, 84, 65, 0.22) !important;
  flex-shrink: 0 !important;
}
.smp-zoom-btn:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 5px 14px rgba(116, 84, 65, 0.32) !important;
}
.smp-zoom-btn:active {
  transform: translateY(0) !important;
}

/* Mobile Uyarlama */
@media (max-width: 600px) {
  .model-preview-bar {
    padding: 0.65rem 0.75rem !important;
    gap: 0.65rem !important;
    border-radius: 14px !important;
  }
  .smp-thumb-wrap {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    border-radius: 10px !important;
  }
  .smp-title {
    font-size: 0.88rem !important;
  }
  .smp-sub {
    font-size: 0.72rem !important;
  }
  .smp-zoom-btn {
    padding: 0.42rem 0.75rem !important;
    font-size: 0.74rem !important;
  }
}
@media (max-width: 380px) {
  .smp-zoom-btn span {
    display: none !important;
  }
  .smp-zoom-btn {
    padding: 0.45rem !important;
    border-radius: 50% !important;
  }
}

/* Modern Scroll To Top Butonu */
.scroll-top-btn {
  position: fixed;
  right: 22px;
  bottom: 130px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  color: #745441;
  border: 1.5px solid rgba(116, 84, 65, 0.2);
  box-shadow: 0 6px 18px rgba(116, 84, 65, 0.16);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 85;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.9);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.scroll-top-btn:hover {
  background: #745441;
  color: #ffffff;
  border-color: #745441;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 24px rgba(116, 84, 65, 0.28);
}

.scroll-top-btn:active {
  transform: translateY(0) scale(0.96);
}

@media (max-width: 768px) {
  .scroll-top-btn {
    right: 15px;
    bottom: 126px;
    width: 40px;
    height: 40px;
  }
}

/* =========================================================
   YÖNETİM PANELİ: KAPSAMLI TEKİL ZİYARETÇİ SAYACI & ANALİZ
   ========================================================= */
.visitor-top-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-weight: 600;
}
.visitor-top-pill:hover {
  background: rgba(255, 255, 255, 0.24);
}
.v-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.28);
  display: inline-block;
  animation: vPulseAnim 2s infinite;
}
@keyframes vPulseAnim {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.75; }
}

/* Üst Canlı Özet Bandı */
.admin-visitor-strip {
  background: linear-gradient(135deg, #FAF6F0 0%, #F2EAE0 100%);
  border-bottom: 1px solid var(--border);
  padding: 0.7rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.avs-items {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
}
.avs-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.avs-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(116, 84, 65, 0.14);
  display: grid;
  place-items: center;
  font-size: 1rem;
  box-shadow: 0 2px 6px rgba(116, 84, 65, 0.06);
}
.avs-label {
  display: block;
  font-size: 0.7rem;
  color: var(--ink-muted);
  font-weight: 600;
  line-height: 1.15;
}
.avs-val {
  font-size: 0.9rem;
  color: var(--ink);
  font-weight: 700;
}
.avs-divider {
  width: 1px;
  height: 26px;
  background: rgba(116, 84, 65, 0.15);
}
.avs-action-btn {
  white-space: nowrap;
  font-weight: 700;
  background: #fff;
}

/* Ziyaretçi Analiz Sekmesi Ana Alanı */
.visitors-dashboard-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.v-header-banner {
  background: linear-gradient(135deg, #FFFDFB 0%, #F7EFE6 100%);
  border: 1px solid rgba(116, 84, 65, 0.18);
  border-radius: 16px;
  padding: 1.15rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.v-header-left {
  max-width: 680px;
}
.v-shield-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(16, 185, 129, 0.12);
  color: #065F46;
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 0.73rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.4rem;
}
.v-header-left h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 0.2rem;
}
.v-header-left p {
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.45;
}
.v-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.v-exclude-admin-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--border);
  padding: 0.42rem 0.75rem;
  border-radius: 10px;
  cursor: pointer;
}
.v-exclude-admin-toggle input {
  width: 15px;
  height: 15px;
  accent-color: #745441;
}

/* 4 KPI Kartı */
.v-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}
.v-kpi-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 4px 14px rgba(116, 84, 65, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.v-kpi-card.primary {
  background: linear-gradient(135deg, #6A4E42 0%, #8C6754 100%);
  color: #fff;
  border-color: #6A4E42;
  box-shadow: 0 8px 22px rgba(106, 78, 66, 0.22);
}
.v-kpi-card.accent {
  background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
  border-color: #BBF7D0;
}
.v-kpi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}
.v-kpi-label {
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}
.v-kpi-card.primary .v-kpi-label {
  color: rgba(255, 255, 255, 0.82);
}
.v-kpi-card.accent .v-kpi-label {
  color: #166534;
}
.v-kpi-icon {
  font-size: 1.2rem;
}
.v-kpi-number {
  font-family: var(--font-serif);
  font-size: 2.15rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.v-kpi-card.primary .v-kpi-number {
  color: #fff;
}
.v-kpi-card.accent .v-kpi-number {
  color: #14532D;
}
.v-kpi-foot {
  font-size: 0.76rem;
  color: var(--ink-muted);
  font-weight: 500;
}
.v-kpi-card.primary .v-kpi-foot {
  color: rgba(255, 255, 255, 0.85);
}
.v-kpi-card.accent .v-kpi-foot {
  color: #15803D;
}

/* 3'lü Dağılım Panelleri */
.v-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}
.v-panel-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 4px 14px rgba(116, 84, 65, 0.04);
}
.v-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-bottom: 0.7rem;
  margin-bottom: 0.8rem;
  border-bottom: 1px solid var(--border-soft);
  flex-wrap: wrap;
}
.v-panel-head h5 {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}
.v-panel-head span {
  font-size: 0.73rem;
  color: var(--ink-muted);
  font-weight: 600;
}
.v-bars-list {
  display: flex;
  flex-direction: column;
  gap: 0.68rem;
}
.v-bar-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.v-bar-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}
.v-bar-name {
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.v-bar-stat {
  font-weight: 700;
  color: #745441;
  font-size: 0.77rem;
}
.v-bar-track {
  width: 100%;
  height: 8px;
  background: #F2ECE6;
  border-radius: 999px;
  overflow: hidden;
}
.v-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #745441, #B68F72);
  border-radius: 999px;
  transition: width 0.35s ease;
}
.v-bar-fill.emerald {
  background: linear-gradient(90deg, #059669, #34D399);
}
.v-bar-fill.blue {
  background: linear-gradient(90deg, #2563EB, #60A5FA);
}

/* 7 Günlük Sütun Grafiği */
.v-chart-legend {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-muted);
}
.vcl-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.vcl-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
}
.vcl-dot.unique {
  background: #745441;
}
.vcl-dot.views {
  background: #E2D5C8;
}
.v-daily-chart {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.65rem;
  align-items: end;
  min-height: 155px;
  padding-top: 0.8rem;
}
.v-day-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}
.v-day-bars {
  width: 100%;
  height: 105px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  background: #FDFBF9;
  border-radius: 10px;
  padding: 0.35rem 0.25rem 0;
  border: 1px dashed rgba(116, 84, 65, 0.14);
}
.v-col-bar {
  width: 42%;
  max-width: 24px;
  border-radius: 6px 6px 2px 2px;
  transition: height 0.35s ease;
  min-height: 6px;
}
.v-col-bar.unique {
  background: linear-gradient(180deg, #745441 0%, #9E765E 100%);
}
.v-col-bar.views {
  background: #E2D5C8;
}
.v-day-counts {
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
}
.v-day-counts small {
  font-weight: 500;
  color: var(--ink-muted);
  font-size: 0.68rem;
}
.v-day-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-muted);
}
.v-day-col.today .v-day-label {
  color: #745441;
  font-weight: 700;
}
.v-day-col.today .v-day-bars {
  background: #FAF3EB;
  border-color: #745441;
}

/* Ziyaretçi Kayıt Tablosu */
.v-log-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
}
.v-log-header h5 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.15rem;
}
.v-log-header span {
  font-size: 0.76rem;
  color: var(--ink-muted);
}
.v-log-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.v-search-input {
  padding: 0.45rem 0.75rem;
  font-size: 0.8rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  min-width: 210px;
}
.v-filter-select {
  padding: 0.45rem 0.7rem;
  font-size: 0.8rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
}
.v-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
}
.v-visitor-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  text-align: left;
}
.v-visitor-table th {
  background: #FAF6F0;
  color: var(--ink-muted);
  font-weight: 700;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.v-visitor-table td {
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: middle;
  color: var(--ink);
}
.v-visitor-table tr:last-child td {
  border-bottom: none;
}
.v-visitor-table tr:hover td {
  background: #FDFBF8;
}
.v-visitor-table tr.is-current-device td {
  background: #FFFBEB;
}
.v-id-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 700;
  color: #745441;
  background: #F5EFEB;
  padding: 0.2rem 0.55rem;
  border-radius: 8px;
  font-size: 0.75rem;
}
.v-self-tag {
  display: inline-block;
  background: #D97706;
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  margin-left: 0.35rem;
}
.v-admin-tag {
  display: inline-block;
  background: #4F46E5;
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  margin-left: 0.35rem;
}
.v-dedup-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.73rem;
  white-space: nowrap;
}
.v-repeat-note {
  display: block;
  font-size: 0.71rem;
  color: var(--ink-muted);
  margin-top: 0.18rem;
}
.v-ip-code {
  font-family: monospace;
  font-weight: 700;
  font-size: 0.79rem;
  color: #374151;
  background: #F3F4F6;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
}

/* Yönetim Paneli Esnek Kaydırma & Ziyaretçi Giriş Geçmişi Sekmeleri */
.modal-xl.admin-dashboard {
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.admin-topbar,
.admin-nav-tabs,
.admin-visitor-strip {
  flex-shrink: 0;
}
.admin-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.v-history-mode-tabs {
  display: inline-flex;
  background: #F4ECE4;
  padding: 0.25rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  gap: 0.25rem;
}
.vhm-tab {
  border: none;
  background: transparent;
  color: var(--ink-muted);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.42rem 0.85rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.vhm-tab.active {
  background: #745441;
  color: #fff;
  box-shadow: 0 2px 6px rgba(116, 84, 65, 0.22);
}

.v-hist-head {
  font-size: 0.74rem;
  color: #745441;
  margin-bottom: 0.35rem;
}
.v-hist-list {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  max-height: 150px;
  overflow-y: auto;
  padding-right: 4px;
}
.v-hist-chip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.25rem 0.55rem;
  border-radius: 7px;
  font-size: 0.72rem;
  line-height: 1.3;
  border: 1px solid #E5DDD5;
  background: #FAF7F4;
}
.v-hist-chip.first {
  background: #ECFDF5;
  border-color: #A7F3D0;
}
.v-hist-num {
  font-weight: 700;
  color: var(--ink);
}
.v-hist-chip.first .v-hist-num {
  color: #065F46;
}
.v-hist-time {
  font-family: monospace;
  font-weight: 600;
  color: #374151;
}
.v-hist-tag {
  font-size: 0.67rem;
  font-weight: 700;
  padding: 0.08rem 0.4rem;
  border-radius: 999px;
  background: #E5E7EB;
  color: #4B5563;
}
.v-hist-chip.first .v-hist-tag {
  background: #10B981;
  color: #fff;
}

.v-repeat-filtered-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.72rem;
  white-space: nowrap;
}

@media (max-width: 1040px) {
  .v-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .v-breakdown-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .v-kpi-grid {
    grid-template-columns: 1fr;
  }
  .admin-visitor-strip {
    padding: 0.65rem 0.85rem;
  }
  .avs-divider {
    display: none;
  }
  .avs-items {
    gap: 0.75rem;
  }
  .v-daily-chart {
    gap: 0.3rem;
  }
  .v-log-controls {
    width: 100%;
  }
  .v-history-mode-tabs {
    width: 100%;
    display: flex;
  }
  .vhm-tab {
    flex: 1;
    text-align: center;
    padding: 0.45rem 0.4rem;
    font-size: 0.72rem;
  }
  .v-search-input, .v-filter-select {
    flex: 1;
    min-width: 0;
  }
}
