/* ============================================================
   PANDACADO — ANA STİL DOSYASI v1.0
   /assets/css/main.css
   ============================================================ */

:root {
  --brand:        #0F4C3A;
  --brand-light:  #1A6B52;
  --brand-accent: #00D97E;
  --brand-warm:   #FF6B35;
  --brand-dark:   #0B3D2E;
  --bg:           #F7F6F1;
  --surface:      #FFFFFF;
  --surface2:     #F0EEE8;
  --surface3:     #E8E6DF;
  --text:         #1A1A18;
  --text-muted:   #6B6960;
  --text-light:   #9C9B94;
  --border:       rgba(26,26,24,0.10);
  --border-dark:  rgba(26,26,24,0.18);
  --radius:       14px;
  --radius-sm:    8px;
  --radius-lg:    20px;
  --shadow-sm:    0 1px 4px rgba(0,0,0,0.06);
  --shadow:       0 2px 12px rgba(0,0,0,0.07), 0 0 0 0.5px rgba(0,0,0,0.04);
  --shadow-lg:    0 8px 32px rgba(0,0,0,0.12), 0 0 0 0.5px rgba(0,0,0,0.04);
  --transition:   .2s ease;
}

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; margin: 0 !important; padding: 0 !important; }
body { font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--text); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; margin: 0 !important; padding: 0 !important; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── CONTAINER ──────────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* ── TOPBAR ─────────────────────────────────────────────────── */
.topbar { background: var(--brand); color: rgba(255,255,255,.85); font-size: 12.5px; padding: 8px 0; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar-link { color: rgba(255,255,255,.75); transition: color var(--transition); font-size: 12px; }
.topbar-link:hover { color: #fff; }

/* ── HEADER ─────────────────────────────────────────────────── */
.site-header { background: rgba(247,246,241,.95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 900; overflow: visible; }
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: clamp(68px, calc(var(--header-logo-size, 62px) + 18px), 138px);
  padding: 8px 0;
}

.site-logo { display: inline-flex; align-items: center; gap: 12px; flex: 0 1 auto; min-width: 0; max-width: max-content; text-decoration: none; }
.logo-mark {
  width: var(--logo-size, 62px);
  height: var(--logo-size, 62px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(6px, calc(var(--logo-size, 62px) * 0.12), 10px);
  border-radius: clamp(14px, calc(var(--logo-size, 62px) * 0.28), 24px);
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.98), rgba(255,255,255,0.9) 42%, rgba(246,243,235,0.96) 100%);
  border: 1px solid rgba(15, 76, 58, 0.08);
  box-shadow:
    0 10px 26px rgba(15, 76, 58, 0.10),
    inset 0 1px 0 rgba(255,255,255,0.95);
}
.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: saturate(1.02) contrast(1.03);
}
.logo-icon { width: 36px; height: 36px; background: var(--brand); border-radius: 9px; display: flex; align-items: center; justify-content: center; color: #fff; font-family: 'Syne', sans-serif; font-weight: 800; font-size: 16px; flex-shrink: 0; }
.logo-text { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 18px; }

/* Search */
.search-bar-wrap { flex: 1; max-width: 600px; position: relative; }
.search-form { display: flex; align-items: center; background: var(--surface); border: 1.5px solid var(--border); border-radius: 10px; overflow: hidden; transition: border-color var(--transition); }
.search-form:focus-within { border-color: var(--brand); }
.search-ico { padding: 0 12px; font-size: 16px; color: var(--text-light); flex-shrink: 0; }
.search-field { flex: 1; padding: 11px 0; border: none; outline: none; font-size: 14px; background: none; }
.search-submit-btn { background: var(--brand); color: #fff; border: none; padding: 0 18px; height: 100%; font-size: 13px; font-weight: 600; white-space: nowrap; transition: background var(--transition); }
.search-submit-btn:hover { background: var(--brand-light); }

/* Autocomplete */
.search-autocomplete { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg); z-index: 200; display: none; border: 1px solid var(--border); overflow: hidden; }
.search-autocomplete.open { display: block; }
.ac-item { display: flex; align-items: center; gap: 12px; padding: 10px 16px; cursor: pointer; transition: background var(--transition); font-size: 13.5px; }
.ac-item:hover { background: var(--surface2); }
.ac-thumb { width: 38px; height: 38px; background: var(--bg); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.ac-info { flex: 1; }
.ac-name { font-weight: 500; }
.ac-price { font-size: 12px; color: var(--brand); font-weight: 600; }
.ac-footer { padding: 8px 16px; background: var(--surface2); font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.ai-badge { display: inline-flex; align-items: center; gap: 3px; padding: 2px 8px; background: linear-gradient(135deg,#7C3AED,#4F46E5); color: #fff; border-radius: 20px; font-size: 10px; font-weight: 700; }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.hdr-btn {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 66px;
  padding: 8px 10px 7px;
  border-radius: 16px;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
  position: relative;
}
.hdr-btn:hover {
  background: rgba(15,76,58,0.05);
  transform: translateY(-1px);
}
.hdr-btn-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F1EA 100%);
  border: 1px solid rgba(26,26,24,0.08);
  box-shadow: 0 8px 18px rgba(26,26,24,0.06);
  color: var(--brand-dark);
}
.hdr-btn:hover .hdr-btn-icon {
  background: linear-gradient(180deg, #FFFFFF 0%, #EEF5F0 100%);
  border-color: rgba(15,76,58,0.16);
  box-shadow: 0 12px 24px rgba(15,76,58,0.10);
}
.hdr-btn-label {
  font-size: 11px;
  line-height: 1;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}
.cart-badge {
  position: absolute;
  top: 3px;
  right: 10px;
  background: linear-gradient(135deg, #D9B24C 0%, #C89B2A 100%);
  color: #1F1A0E;
  border-radius: 999px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(200,155,42,0.28);
  border: 2px solid var(--surface);
}

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu { position: absolute; top: calc(100% + 6px); right: 0; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--border); min-width: 180px; display: none; z-index: 300; overflow: hidden; }
.dropdown.open .dropdown-menu { display: block; }
.dropdown-item { display: block; padding: 10px 16px; font-size: 13.5px; transition: background var(--transition); }
.dropdown-item:hover { background: var(--surface2); }
.dropdown-divider { height: 1px; background: var(--border); margin: 4px 0; }
.text-danger { color: #E53E3E; }

/* Category Nav */
.cat-nav { border-top: 1px solid var(--border); background: var(--surface); }
.cat-nav-list { display: flex; align-items: center; gap: 0; overflow: visible; scrollbar-width: none; padding: 0; }
.cat-nav-list::-webkit-scrollbar { display: none; }
.cat-nav-link { display: block; padding: 10px 14px; font-size: 13.5px; font-weight: 500; color: var(--text-muted); white-space: nowrap; transition: all var(--transition); border-bottom: 2px solid transparent; }
.cat-nav-link:hover { color: var(--text); background: var(--surface2); }
.cat-nav-all { color: var(--brand); font-weight: 600; }
.cat-nav-sale { color: var(--brand-warm); font-weight: 600; }
.cat-nav-new { color: #7C3AED; font-weight: 600; }

/* Mobile Menu */
.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.mobile-menu-btn span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all var(--transition); }

/* ── SLIDER ─────────────────────────────────────────────────── */
.hero-slider { position: relative; overflow: hidden; }
.slider-track { display: flex; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.slide { min-width: 100%; position: relative; padding: 80px 0 100px; overflow: hidden; }
.slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.slide-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.25); z-index: 1; }
.slide-content { position: relative; z-index: 2; max-width: 600px; }
.slide-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.15); backdrop-filter: blur(6px); color: #fff; padding: 5px 14px; border-radius: 20px; font-size: 12px; font-weight: 600; margin-bottom: 18px; border: 1px solid rgba(255,255,255,.2); }
.slide-title { font-family: 'Syne', sans-serif; font-size: clamp(28px, 5vw, 56px); font-weight: 800; color: #fff; line-height: 1.1; margin-bottom: 14px; }
.slide-title span { color: var(--brand-accent); }
.slide-subtitle { color: rgba(255,255,255,.8); font-size: 16px; margin-bottom: 28px; max-width: 440px; }
.slide-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.slide-stats { display: flex; gap: 28px; margin-top: 40px; }
.slide-stat { text-align: center; color: #fff; }
.slide-stat-val { font-family: 'Syne', sans-serif; font-size: 26px; font-weight: 800; color: var(--brand-accent); }
.slide-stat-label { font-size: 11px; opacity: .6; text-transform: uppercase; letter-spacing: .5px; }
.slide-divider { width: 1px; background: rgba(255,255,255,.2); }
.slide-emoji { position: absolute; right: 10%; top: 50%; transform: translateY(-50%); font-size: clamp(80px, 15vw, 180px); z-index: 2; animation: floatEmoji 3s ease-in-out infinite; pointer-events: none; }
@keyframes floatEmoji { 0%,100%{transform:translateY(-50%)} 50%{transform:translateY(calc(-50% - 12px))} }

/* Slider Controls */
.slider-prev, .slider-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; width: 44px; height: 44px; background: rgba(255,255,255,.9); border: none; border-radius: 50%; font-size: 18px; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); transition: all var(--transition); }
.slider-prev { left: 16px; }
.slider-next { right: 16px; }
.slider-prev:hover, .slider-next:hover { background: #fff; transform: translateY(-50%) scale(1.05); }
.slider-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.slider-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.5); border: none; transition: all var(--transition); }
.slider-dot.active { background: #fff; width: 24px; border-radius: 4px; }

/* ── BUTONLAR ────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 22px; border-radius: 10px; font-size: 14px; font-weight: 600; border: none; transition: all var(--transition); cursor: pointer; font-family: 'DM Sans', sans-serif; white-space: nowrap; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-light); transform: translateY(-1px); }
.btn-primary:active { transform: scale(.98); }
.btn-accent { background: var(--brand-accent); color: #0B3D2E; }
.btn-accent:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-white { background: #fff; color: var(--brand); }
.btn-white:hover { background: var(--surface2); }
.btn-outline { background: none; border: 1.5px solid currentColor; color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-ghost { background: none; border: 1.5px solid var(--border); color: var(--text); }
.btn-ghost:hover { background: var(--surface2); }
.btn-danger { background: #E53E3E; color: #fff; }
.btn-sm { padding: 7px 14px; font-size: 13px; border-radius: 8px; }
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }

/* ── KARTLAR ─────────────────────────────────────────────────── */
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.card-header { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.card-title { font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700; }
.card-body { padding: 20px; }

/* ── ÜRÜN KARTI ─────────────────────────────────────────────── */
.product-card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: all .25s; display: flex; flex-direction: column; }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.product-card-img { aspect-ratio: 4 / 5; background: linear-gradient(180deg, #f7f5ef 0%, #f1eee6 100%); display: flex; align-items: center; justify-content: center; font-size: 72px; position: relative; overflow: hidden; padding: 12px; }
.product-card-img img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.product-card-badge { position: absolute; top: 10px; left: 10px; background: var(--brand-warm); color: #fff; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 6px; font-family: 'Syne', sans-serif; }
.product-card-badge.badge-new { background: #7C3AED; }
.product-card-badge.badge-sale { background: #E53E3E; }
.wishlist-btn { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; background: rgba(255,255,255,.9); border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; transition: all var(--transition); box-shadow: var(--shadow-sm); }
.wishlist-btn:hover { background: #fff; transform: scale(1.1); }
.wishlist-btn.active { background: #fee; color: #E53E3E; }
.product-card-body { padding: 14px; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.product-card-brand { font-size: 11px; color: var(--text-light); font-weight: 500; text-transform: uppercase; letter-spacing: .5px; }
.product-card-name { font-family: 'Syne', sans-serif; font-weight: 600; font-size: 14px; line-height: 1.35; }
.product-card-rating { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--text-muted); }
.stars { color: #F6A609; }
.product-card-price { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.price-current { font-family: 'Syne', sans-serif; font-size: 17px; font-weight: 700; color: var(--brand); }
.price-old { font-size: 12px; color: var(--text-light); text-decoration: line-through; }
.price-disc { font-size: 11px; background: #FFF4E6; color: #B05800; padding: 2px 6px; border-radius: 4px; font-weight: 700; }
.product-card-footer { padding: 0 14px 14px; }
.add-to-cart-btn { width: 100%; padding: 9px; background: var(--brand); color: #fff; border: none; border-radius: 9px; font-size: 13px; font-weight: 600; font-family: 'DM Sans', sans-serif; transition: all var(--transition); }
.add-to-cart-btn:hover { background: var(--brand-light); }
.add-to-cart-btn:active { transform: scale(.98); }
.stock-low { color: #E53E3E; font-size: 11px; font-weight: 600; margin-top: 4px; }

/* ── SECTION BAŞLIKLARI ──────────────────────────────────────── */
.section { padding: 60px 0; }
.section-sm { padding: 36px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; gap: 12px; }
.section-title { font-family: 'Syne', sans-serif; font-size: clamp(20px,3vw,28px); font-weight: 800; line-height: 1.2; }
.section-subtitle { color: var(--text-muted); font-size: 15px; margin-top: 4px; }
.section-link { font-size: 14px; color: var(--brand); font-weight: 600; white-space: nowrap; }
.section-link:hover { text-decoration: underline; }

/* ── ÜRÜN GRID ────────────────────────────────────────────────── */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }

/* ── FREE SHIPPING BAR ────────────────────────────────────────── */
.free-ship-banner { background: linear-gradient(135deg, var(--brand), var(--brand-light)); color: #fff; padding: 16px 20px; border-radius: var(--radius); display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.free-ship-icon { font-size: 26px; flex-shrink: 0; }
.free-ship-text { flex: 1; font-size: 14px; }
.free-ship-bar { width: 140px; height: 5px; background: rgba(255,255,255,.25); border-radius: 3px; overflow: hidden; flex-shrink: 0; }
.free-ship-fill { height: 100%; background: var(--brand-accent); border-radius: 3px; transition: width 1s ease; }

/* ── KATEGORİ KARTLARI ───────────────────────────────────────── */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 14px; }
.category-card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 14px; text-align: center; transition: all .25s; cursor: pointer; }
.category-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); background: var(--brand); color: #fff; }
.category-icon { font-size: 38px; margin-bottom: 8px; }
.category-name { font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700; line-height: 1.2; }
.category-count { font-size: 11px; color: var(--text-light); margin-top: 2px; }
.category-card:hover .category-count { color: rgba(255,255,255,.7); }

/* ── FLASH SALE BANNER ───────────────────────────────────────── */
.flash-banner { background: linear-gradient(135deg, #FF4500, #FF6B35); border-radius: var(--radius); padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; color: #fff; }
.flash-left h2 { font-family: 'Syne', sans-serif; font-size: 26px; font-weight: 800; margin-bottom: 4px; }
.flash-left p { font-size: 14px; opacity: .85; }
.flash-badge { background: rgba(255,255,255,.15); padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; display: inline-block; margin-bottom: 8px; }
.countdown { display: flex; gap: 8px; align-items: center; }
.cd-block { background: rgba(0,0,0,.25); padding: 8px 12px; border-radius: 8px; font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 800; min-width: 48px; text-align: center; }
.cd-sep { font-size: 22px; font-weight: 300; opacity: .7; }

/* ── FORMLAR ──────────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.form-label { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.form-control { width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 9px; font-size: 14px; background: var(--surface); transition: border-color var(--transition); }
.form-control:focus { outline: none; border-color: var(--brand); }
.form-control.error { border-color: #E53E3E; }
.form-error { font-size: 12px; color: #E53E3E; margin-top: 2px; }
.form-hint { font-size: 12px; color: var(--text-muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
textarea.form-control { resize: vertical; min-height: 100px; }

/* ── GİRİŞ SAYFASI ───────────────────────────────────────────── */
.auth-page { min-height: calc(100vh - 130px); display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.auth-card { background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 40px; width: 100%; max-width: 420px; }
.auth-logo { text-align: center; margin-bottom: 28px; }
.auth-title { font-family: 'Syne', sans-serif; font-size: 24px; font-weight: 800; margin-bottom: 6px; text-align: center; }
.auth-subtitle { color: var(--text-muted); font-size: 14px; text-align: center; margin-bottom: 28px; }
.social-login { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.btn-social { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border: 1.5px solid var(--border); border-radius: 10px; background: var(--surface); font-size: 14px; font-weight: 500; transition: background var(--transition); cursor: pointer; }
.btn-social:hover { background: var(--surface2); }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: var(--text-muted); font-size: 13px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ── TABLO ────────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
thead th { text-align: left; padding: 11px 14px; font-size: 11px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; background: var(--surface2); border-bottom: 1px solid var(--border); white-space: nowrap; }
tbody td { padding: 13px 14px; border-bottom: 1px solid var(--border); }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: rgba(0,0,0,.015); }

/* Badge / Status */
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.badge-success { background: #E6F9F1; color: #00875A; }
.badge-info    { background: #E8F4FF; color: #0055CC; }
.badge-warning { background: #FFF4E6; color: #B05800; }
.badge-danger  { background: #FFF0F0; color: #CC0000; }
.badge-gray    { background: var(--surface2); color: var(--text-muted); }

/* ── SEPETİ ───────────────────────────────────────────────────── */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 1000; display: none; backdrop-filter: blur(3px); }
.cart-overlay.open { display: block; }
.cart-drawer { position: fixed; right: 0; top: 0; bottom: 0; width: 400px; max-width: 100vw; background: var(--surface); z-index: 1001; box-shadow: -10px 0 50px rgba(0,0,0,.12); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1); }
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-head { padding: 18px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.cart-drawer-head h3 { font-family: 'Syne', sans-serif; font-size: 17px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.cart-drawer-close { background: none; border: none; font-size: 20px; color: var(--text-muted); width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.cart-drawer-close:hover { background: var(--surface2); }
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.cart-item { display: flex; gap: 12px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--border); }
.cart-item:last-child { border-bottom: none; }
.cart-item-img { width: 70px; height: 70px; background: var(--surface2); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 32px; flex-shrink: 0; overflow: hidden; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 13.5px; font-weight: 600; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-variant { font-size: 11.5px; color: var(--text-muted); margin-top: 2px; }
.cart-item-price { font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700; color: var(--brand); margin-top: 4px; }
.cart-qty-ctrl { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.qty-btn { width: 26px; height: 26px; border: 1px solid var(--border); background: var(--surface2); border-radius: 6px; font-size: 14px; display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.qty-btn:hover { background: var(--border); }
.qty-num { font-size: 13px; font-weight: 700; min-width: 22px; text-align: center; }
.cart-item-remove { background: none; border: none; font-size: 14px; color: var(--text-light); transition: color var(--transition); }
.cart-item-remove:hover { color: #E53E3E; }
.cart-drawer-footer { padding: 16px 20px; border-top: 1px solid var(--border); flex-shrink: 0; }
.ship-progress { margin-bottom: 14px; }
.ship-progress-label { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.prog-bar { height: 4px; background: var(--surface3); border-radius: 2px; overflow: hidden; }
.prog-fill { height: 100%; background: var(--brand-accent); border-radius: 2px; transition: width .5s ease; }
.coupon-row { display: flex; gap: 6px; margin-bottom: 12px; }
.coupon-input { flex: 1; padding: 9px 12px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 13px; }
.coupon-btn { background: var(--brand); color: #fff; border: none; padding: 9px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.cart-total-row { display: flex; justify-content: space-between; font-size: 14px; padding: 4px 0; }
.cart-total-final { font-family: 'Syne', sans-serif; font-size: 16px; font-weight: 800; border-top: 1px solid var(--border); padding-top: 10px; margin-top: 8px; }
.checkout-cta { width: 100%; padding: 14px; background: var(--brand); color: #fff; border: none; border-radius: 11px; font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700; margin-top: 14px; transition: all var(--transition); }
.checkout-cta:hover { background: var(--brand-light); transform: translateY(-1px); }
.continue-shopping-cta {
  display: block;
  width: 100%;
  padding: 12px 14px;
  margin-top: 12px;
  text-align: center;
  text-decoration: none;
  border: 1.5px solid var(--border);
  border-radius: 11px;
  background: #fff;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  transition: all var(--transition);
}
.continue-shopping-cta:hover {
  background: var(--surface2);
  border-color: var(--border-dark);
  transform: translateY(-1px);
}
.cart-empty { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.cart-empty-icon { font-size: 52px; margin-bottom: 12px; }

/* ── TOAST ────────────────────────────────────────────────────── */
.toast-container { position: fixed; top: 76px; right: 20px; z-index: 3000; display: flex; flex-direction: column; gap: 8px; }
.toast { background: var(--text); color: #fff; padding: 12px 18px; border-radius: 11px; font-size: 13.5px; font-weight: 500; box-shadow: var(--shadow-lg); animation: toastIn .3s ease; max-width: 320px; display: flex; align-items: center; gap: 8px; }
.toast.success { background: #00875A; }
.toast.error   { background: #E53E3E; }
.toast.warning { background: #B05800; }
@keyframes toastIn  { from{opacity:0;transform:translateX(20px)} to{opacity:1;transform:translateX(0)} }
@keyframes toastOut { from{opacity:1} to{opacity:0;transform:translateX(20px)} }

/* ── ÇEREZ BARI ──────────────────────────────────────────────── */
.cookie-bar { position: fixed; bottom: 0; left: 0; right: 0; background: var(--text); color: #fff; padding: 14px 0; z-index: 800; box-shadow: 0 -4px 20px rgba(0,0,0,.2); }
.cookie-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cookie-text { flex: 1; font-size: 13.5px; color: rgba(255,255,255,.85); }
.cookie-link { color: var(--brand-accent); text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.btn-cookie-reject { background: none; border: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.7); padding: 8px 16px; border-radius: 8px; font-size: 13px; transition: all var(--transition); }
.btn-cookie-reject:hover { background: rgba(255,255,255,.1); }
.btn-cookie-accept { background: var(--brand-accent); color: #0B3D2E; padding: 8px 18px; border-radius: 8px; font-size: 13px; font-weight: 700; border: none; }

/* ── EXIT INTENT ─────────────────────────────────────────────── */
.exit-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 4000; display: none; align-items: center; justify-content: center; backdrop-filter: blur(6px); }
.exit-overlay.open { display: flex; }
.exit-modal { background: var(--surface); border-radius: var(--radius-lg); padding: 44px 40px; max-width: 420px; width: 92%; text-align: center; position: relative; animation: popIn .4s cubic-bezier(.34,1.56,.64,1); }
@keyframes popIn { from{opacity:0;transform:scale(.85)} to{opacity:1;transform:scale(1)} }
.exit-close { position: absolute; top: 14px; right: 16px; background: none; border: none; font-size: 20px; color: var(--text-muted); }
.exit-emoji { font-size: 68px; margin-bottom: 16px; }
.exit-title { font-family: 'Syne', sans-serif; font-size: 26px; font-weight: 800; margin-bottom: 8px; }
.exit-desc { color: var(--text-muted); font-size: 15px; margin-bottom: 20px; line-height: 1.6; }
.exit-coupon { background: var(--surface2); border: 2px dashed var(--brand); border-radius: 10px; padding: 14px 24px; font-family: 'Syne', sans-serif; font-size: 26px; font-weight: 800; color: var(--brand); letter-spacing: 4px; margin-bottom: 20px; cursor: pointer; }
.btn-exit-accept { width: 100%; padding: 14px; background: var(--brand); color: #fff; border: none; border-radius: 11px; font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700; margin-bottom: 10px; transition: all var(--transition); display: block; }
.btn-exit-accept:hover { background: var(--brand-light); }
.btn-exit-cart { display: block; padding: 11px; border: 1.5px solid var(--border); border-radius: 11px; font-size: 14px; font-weight: 600; margin-bottom: 10px; transition: background var(--transition); }
.btn-exit-cart:hover { background: var(--surface2); }
.exit-skip { background: none; border: none; color: var(--text-light); font-size: 13px; margin-top: 6px; }
.exit-skip:hover { text-decoration: underline; }

/* ── CHATBOT ──────────────────────────────────────────────────── */
.chatbot-fab { position: fixed; bottom: 24px; right: 24px; width: 54px; height: 54px; background: var(--brand); border: none; border-radius: 50%; font-size: 26px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(15,76,58,.4); z-index: 500; transition: all var(--transition); animation: chatPulse 2.5s infinite; }
.chatbot-fab:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(15,76,58,.5); }
@keyframes chatPulse { 0%,100%{box-shadow:0 4px 20px rgba(15,76,58,.4)} 50%{box-shadow:0 4px 30px rgba(15,76,58,.6)} }
.chatbot-notification { position: absolute; top: 2px; right: 2px; background: #E53E3E; color: #fff; width: 18px; height: 18px; border-radius: 50%; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.chatbot-window { position: fixed; bottom: 88px; right: 24px; width: 350px; max-height: 520px; background: var(--surface); border-radius: var(--radius-lg); box-shadow: 0 20px 60px rgba(0,0,0,.15); z-index: 500; display: none; flex-direction: column; overflow: hidden; border: 1px solid var(--border); }
.chatbot-window.open { display: flex; animation: slideUpChat .3s ease; }
@keyframes slideUpChat { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
.chatbot-head { background: var(--brand); color: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.chatbot-avatar { width: 36px; height: 36px; background: rgba(255,255,255,.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.chatbot-name { font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 700; }
.chatbot-status { font-size: 11px; opacity: .75; }
.chatbot-close { margin-left: auto; background: none; border: none; color: rgba(255,255,255,.8); font-size: 18px; }
.chatbot-messages { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.chat-msg { max-width: 82%; padding: 10px 14px; border-radius: 14px; font-size: 13.5px; line-height: 1.5; animation: msgIn .2s ease; }
.chat-msg.bot { background: var(--surface2); color: var(--text); border-bottom-left-radius: 4px; align-self: flex-start; }
.chat-msg.user { background: var(--brand); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-msg.typing { display: flex; gap: 5px; align-items: center; padding: 12px 16px; }
@keyframes msgIn { from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:translateY(0)} }
.typing-dot { width: 7px; height: 7px; background: var(--text-muted); border-radius: 50%; animation: typBlink 1.2s infinite; }
.typing-dot:nth-child(2){animation-delay:.2s}.typing-dot:nth-child(3){animation-delay:.4s}
@keyframes typBlink{0%,80%,100%{opacity:.3}40%{opacity:1}}
.chatbot-quick { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 14px 8px; }
.quick-chip { background: none; border: 1px solid var(--brand); color: var(--brand); padding: 5px 11px; border-radius: 20px; font-size: 12px; font-weight: 500; transition: all var(--transition); }
.quick-chip:hover { background: var(--brand); color: #fff; }
.chatbot-input-wrap { padding: 10px 12px; border-top: 1px solid var(--border); display: flex; gap: 8px; }
.chatbot-input { flex: 1; padding: 9px 13px; border: 1.5px solid var(--border); border-radius: 20px; font-size: 13px; background: var(--surface); }
.chatbot-input:focus { outline: none; border-color: var(--brand); }
.chatbot-send { width: 36px; height: 36px; background: var(--brand); color: #fff; border: none; border-radius: 50%; font-size: 16px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background var(--transition); }
.chatbot-send:hover { background: var(--brand-light); }

/* ── SOSYAL KANIT ──────────────────────────────────────────────── */
.social-proof-popup { position: fixed; bottom: 92px; left: 20px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 12px 16px; display: flex; align-items: center; gap: 12px; z-index: 400; border: 1px solid var(--border); max-width: 280px; }
.sp-icon { font-size: 26px; flex-shrink: 0; }
.sp-body { flex: 1; min-width: 0; }
.sp-msg { font-size: 13px; font-weight: 600; line-height: 1.3; }
.sp-time { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.sp-close { background: none; border: none; font-size: 14px; color: var(--text-light); flex-shrink: 0; }
@keyframes spSlideIn  { from{opacity:0;transform:translateX(-16px)} to{opacity:1;transform:translateX(0)} }
@keyframes spSlideOut { from{opacity:1} to{opacity:0;transform:translateX(-16px)} }

/* ── FOOTER ───────────────────────────────────────────────────── */
.footer-newsletter { background: var(--brand); padding: 40px 0; }
.newsletter-inner { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.newsletter-text h3 { font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.newsletter-text p { color: rgba(255,255,255,.7); font-size: 14px; }
.newsletter-form { display: flex; gap: 8px; flex: 1; min-width: 260px; }
.newsletter-input { flex: 1; padding: 12px 16px; border: none; border-radius: 10px; font-size: 14px; background: rgba(255,255,255,.12); color: #fff; }
.newsletter-input::placeholder { color: rgba(255,255,255,.5); }
.newsletter-input:focus { outline: none; background: rgba(255,255,255,.2); }
.newsletter-btn { background: var(--brand-accent); color: #0B3D2E; border: none; padding: 12px 22px; border-radius: 10px; font-size: 14px; font-weight: 700; white-space: nowrap; transition: filter var(--transition); }
.newsletter-btn:hover { filter: brightness(1.05); }

.footer-main { background: #0B3D2E; padding: 56px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px; max-width: 100%; }
.footer-logo-mark {
  width: var(--footer-logo-size, 58px);
  height: var(--footer-logo-size, 58px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(6px, calc(var(--footer-logo-size, 58px) * 0.12), 10px);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(241,245,239,0.92));
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.9);
  flex-shrink: 0;
}
.footer-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.footer-logo-box { width: 36px; height: 36px; background: var(--brand-accent); border-radius: 9px; display: flex; align-items: center; justify-content: center; font-family: 'Syne',sans-serif; font-weight: 800; font-size: 16px; color: #0B3D2E; flex-shrink: 0; }
.footer-logo-name { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 18px; color: #fff; }
.footer-desc { color: rgba(255,255,255,.55); font-size: 13.5px; line-height: 1.7; margin-bottom: 18px; }
.footer-contact { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.footer-contact-item { font-size: 13px; color: rgba(255,255,255,.65); display: flex; align-items: center; gap: 6px; }
.footer-contact-item:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; }
.social-link { width: 34px; height: 34px; background: rgba(255,255,255,.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.7); transition: all var(--transition); }
.social-link:hover { background: var(--brand-accent); color: #0B3D2E; }
.footer-col-title { font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13.5px; color: rgba(255,255,255,.55); transition: color var(--transition); }
.footer-links a:hover { color: #fff; }

.footer-bottom { background: #091E13; padding: 16px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom-left { font-size: 12.5px; color: rgba(255,255,255,.4); display: flex; flex-direction: column; gap: 2px; }
.footer-powered { font-size: 11px; }
.payment-methods { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pm-badge { background: rgba(255,255,255,.08); color: rgba(255,255,255,.6); padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 700; border: 1px solid rgba(255,255,255,.1); }
.pm-secure { border-color: var(--brand-accent); color: var(--brand-accent); }

/* ── SAYFA BAŞLIĞI ────────────────────────────────────────────── */
.page-header-hero { background: var(--surface2); padding: 36px 0; border-bottom: 1px solid var(--border); }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.breadcrumb a { color: var(--brand); }
.breadcrumb-sep { color: var(--text-light); }
.page-heading { font-family: 'Syne', sans-serif; font-size: 30px; font-weight: 800; }

/* ── ALERT ─────────────────────────────────────────────────────── */
.alert { padding: 13px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 16px; display: flex; align-items: flex-start; gap: 8px; }
.alert-success { background: #E6F9F1; color: #00875A; border: 1px solid #B3EDD8; }
.alert-error   { background: #FFF0F0; color: #CC0000; border: 1px solid #FFC9C9; }
.alert-info    { background: #E8F4FF; color: #0055CC; border: 1px solid #B3D4FF; }
.alert-warning { background: #FFF4E6; color: #B05800; border: 1px solid #FFD9A8; }

/* ── SAYFALAMA ─────────────────────────────────────────────────── */
.pagination { display: flex; align-items: center; gap: 6px; justify-content: center; padding: 32px 0; flex-wrap: wrap; }
.page-link { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 9px; font-size: 14px; font-weight: 500; border: 1.5px solid var(--border); background: var(--surface); color: var(--text); transition: all var(--transition); }
.page-link:hover, .page-link.active { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ── YÜKLEME ───────────────────────────────────────────────────── */
.spinner { width: 36px; height: 36px; border: 3px solid var(--surface2); border-top-color: var(--brand); border-radius: 50%; animation: spin .7s linear infinite; margin: 40px auto; }
@keyframes spin { to{transform:rotate(360deg)} }
.skeleton { background: linear-gradient(90deg, var(--surface2) 25%, var(--surface3) 50%, var(--surface2) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 6px; }
@keyframes shimmer { from{background-position:200% 0} to{background-position:-200% 0} }

/* ── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand-col { grid-column: 1/-1; }
}
@media (max-width: 768px) {
  .topbar { display: none; }
  .header-inner { min-height: clamp(62px, calc(var(--header-logo-size, 62px) + 12px), 118px); padding: 6px 0; }
  .search-bar-wrap { display: none; }
  .hdr-btn-label { display: none; }
  .mobile-menu-btn { display: flex; }
  .cat-nav { display: none; }
  .cat-nav.open { display: block; }
  .cat-nav-list { flex-direction: column; padding: 8px 0; }
  .slide { padding: 48px 0 60px; }
  .slide-emoji { display: none; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand-col { grid-column: 1/-1; }
  .form-row { grid-template-columns: 1fr; }
  .newsletter-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
  .cart-drawer { width: 100%; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr 1fr; }
  .slide-title { font-size: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PANDACADO — MASAÜSTÜ TASARIM DÜZELTMELERİ v2
   ============================================================ */

/* ── HEADER DÜZELTMELERİ ─────────────────────────────────── */
.header-inner {
  height: 68px;
  gap: 20px;
}
.site-logo {
  min-width: 180px;
}
.search-bar-wrap {
  flex: 1;
  max-width: 560px;
}
.search-form {
  height: 44px;
  border-radius: 12px;
  border: 1.5px solid var(--border-dark);
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.search-form:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(15,76,58,0.08);
}
.search-submit-btn {
  border-radius: 0 10px 10px 0;
  padding: 0 20px;
  font-weight: 600;
  height: 100%;
  font-size: 14px;
  letter-spacing: 0.3px;
}
.search-ico {
  padding: 0 10px 0 14px;
}
.search-field {
  font-size: 14px;
}
.header-actions {
  gap: 2px;
  min-width: 240px;
  justify-content: flex-end;
}
.hdr-btn {
  padding: 8px 10px;
  border-radius: 10px;
  position: relative;
  min-width: 56px;
  font-size: 17px;
}
.hdr-btn-label {
  font-size: 10px;
  font-weight: 500;
  margin-top: 2px;
}
.cart-trigger .cart-badge {
  top: 4px;
  right: 8px;
}

/* ── KATEGORİ NAV DÜZELTMELERİ ──────────────────────────── */
.cat-nav {
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.cat-nav-list {
  gap: 0;
  height: 44px;
  align-items: stretch;
}
.cat-nav-link {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-size: 13px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.cat-nav-link:hover {
  border-bottom-color: var(--brand);
}

/* ── MOBİL MENÜ DÜZELTMELERİ ────────────────────────────── */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: var(--surface2);
  border: 1px solid var(--border);
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
}
.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .25s;
}
/* Hamburger açık animasyonu */
.mobile-menu-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── MOBİL RESPONSIVE ────────────────────────────────────── */
@media (max-width: 1024px) {
  .header-inner { gap: 12px; }
  .site-logo { min-width: auto; }
}

@media (max-width: 768px) {
  .topbar { display: none; }
  .header-inner { height: 60px; gap: 10px; padding: 0 16px; }
  .search-bar-wrap { display: none; }
  .hdr-btn-label { display: none; }
  .mobile-menu-btn { display: flex !important; position: relative; z-index: 1002; }
  .cart-trigger { order: 1; }
  .mobile-menu-btn { order: 2; }

  /* Mobil nav - drawer stili */
  .cat-nav {
    display: block;
    position: fixed;
    top: 60px;
    left: 0;
    width: min(86vw, 360px);
    bottom: 0;
    background: var(--surface);
    z-index: 1001;
    overflow-y: auto;
    border-top: 1px solid var(--border);
    box-shadow: 12px 0 40px rgba(0,0,0,.12);
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform .25s ease, opacity .2s ease, visibility .2s ease;
  }
  .cat-nav.open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }
  .cat-nav-list {
    flex-direction: column;
    height: auto;
    padding: 10px 0 40px;
    overflow-x: hidden;
    overflow-y: auto;
  }
  .cat-nav-item { width: 100%; }
  .cat-nav-link {
    height: auto;
    padding: 14px 20px;
    font-size: 15px;
    border-bottom: 1px solid var(--border) !important;
    border-left: none;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .cat-nav-link:last-child { border-bottom: none !important; }
  .mega-menu {
    position: static;
    min-width: 0;
    width: 100%;
    display: none !important;
    border: none;
    border-top: 1px solid var(--border);
    border-radius: 0;
    box-shadow: none;
    padding: 6px 16px 14px;
    background: var(--surface2);
  }
  .cat-nav-item.open .mega-menu {
    display: block !important;
  }
  .mega-menu-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .mega-menu-item {
    background: rgba(255,255,255,.75);
  }
  .mega-menu-footer {
    flex-direction: column;
  }

  /* Mobilde arama ayrı satır */
  .site-header { flex-wrap: wrap; }
  .header-inner { flex-wrap: nowrap; }
  body.menu-open::before {
    content: '';
    position: fixed;
    inset: 60px 0 0 0;
    background: rgba(0,0,0,.28);
    z-index: 1000;
  }
}

/* ── ÜRÜN GRID BOŞLUK DÜZELTMESİ ────────────────────────── */
.products-grid {
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 20px;
}
@media (min-width: 1200px) {
  .products-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* ── SEPET & ÖDEME ───────────────────────────────────────── */
.checkout-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px;
  margin-top: 16px;
  border: none;
  cursor: pointer;
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  transition: all .2s;
}
.checkout-cta:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* ── SECTION BOŞLUK DÜZELTMELERİ ────────────────────────── */
.section { padding: 56px 0; }
.section-sm { padding: 32px 0; }
.container { max-width: 1240px; padding: 0 24px; }

/* ── DROPDOWN GELİŞTİRME ─────────────────────────────────── */
.dropdown-menu {
  top: calc(100% + 8px);
  border-radius: 12px;
  padding: 6px;
  min-width: 200px;
  animation: dropIn .15s ease;
}
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.dropdown-item {
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 13.5px;
}

/* ── ÜRÜN DETAY DÜZELTMELERİ ────────────────────────────── */
.atc-main { flex: 1; }
@media (max-width: 768px) {
  .product-detail-layout { gap: 20px; }
  .atc-row { flex-wrap: wrap; }
  .atc-main { width: 100%; }
}

/* ============================================================
   v3 — MEGA MENÜ + MASAÜSTÜ HEADER DÜZELTMELERİ
   ============================================================ */

/* ── MEGA MENÜ ────────────────────────────────────────────── */
.cat-nav-item { position: relative; }
.mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 600px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
  z-index: 500;
  padding: 20px;
  animation: megaIn .18s ease;
}
.mega-menu.open { display: block; }
.cat-nav-item:hover .mega-menu { display: block; }
.cat-nav-item.open .mega-menu { display: block; }
.cat-nav-item.open .cat-nav-link { color: var(--brand); }
.cat-nav-item.open .cat-nav-link::after { transform: scaleX(1); }
.cat-nav-item.open .cat-nav-link .arrow { transform: rotate(180deg); }
@keyframes megaIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.mega-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  font-size: 13.5px;
  font-weight: 500;
  transition: all .15s;
}
.mega-menu-item:hover {
  background: var(--surface2);
  color: var(--brand);
}
.mega-menu-icon {
  width: 34px;
  height: 34px;
  background: var(--surface2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: background .15s;
}
.mega-menu-item:hover .mega-menu-icon { background: rgba(15,76,58,0.1); }
.mega-menu-item-name { font-size: 13px; font-weight: 600; }
.mega-menu-item-count { font-size: 11px; color: var(--text-light); }
.mega-menu-footer {
  border-top: 1px solid var(--border);
  margin-top: 14px;
  padding-top: 12px;
  display: flex;
  gap: 8px;
}
.mega-menu-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all .15s;
}
.mega-menu-cta-primary { background: var(--brand); color: #fff; }
.mega-menu-cta-primary:hover { background: var(--brand-light); }
.mega-menu-cta-secondary { background: var(--surface2); color: var(--text); }
.mega-menu-cta-secondary:hover { background: var(--surface3); }

/* ── HEADER GENİŞLETİLMİŞ ───────────────────────────────── */
.cat-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 16px;
  height: 100%;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all .2s;
  position: relative;
}
.cat-nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transition: transform .2s;
}
.cat-nav-link:hover { color: var(--brand); }
.cat-nav-link:hover::after { transform: scaleX(1); }
.cat-nav-link .arrow {
  font-size: 10px;
  transition: transform .2s;
  opacity: 0.5;
}
.cat-nav-item:hover .cat-nav-link .arrow { transform: rotate(180deg); }

/* ── SEPETİN DÖNMESI DÜZELTMESİ ─────────────────────────── */
.free-ship-achieved {
  background: #E6F9F1;
  color: #00875A;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 12px;
}

/* ── MÜŞTERİ PROFİL ─────────────────────────────────────── */
.profile-tabs {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin-bottom: 24px;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.profile-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: all .2s;
}
.profile-tab:hover { color: var(--brand); }
.profile-tab.active { color: var(--brand); border-bottom-color: var(--brand); font-weight: 600; }

/* ── RESPONSIVE MEGA MENÜ ────────────────────────────────── */
@media (max-width: 768px) {
  .mega-menu { display: none !important; }
  .cat-nav-link .arrow { display: none; }
}

/* ============================================================
   HEADER / MOBILE MENU HOTFIX
   Sadece boşluk ve hamburger açılmasını düzeltir
   ============================================================ */

.site-header {
  margin-bottom: 0 !important;
}

#main-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

#main-content > :first-child,
.ah-hero {
  margin-top: 0 !important;
}

@media (min-width: 769px) {
  .cat-nav {
    margin-bottom: 0 !important;
  }

  .ah-hero {
    margin-top: -1px !important;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex !important;
    position: relative;
    z-index: 1102;
  }

  .cat-nav {
    display: block !important;
    position: fixed !important;
    top: 60px;
    left: 0;
    bottom: 0;
    width: min(86vw, 360px);
    background: var(--surface);
    border-top: 1px solid var(--border);
    box-shadow: 12px 0 40px rgba(0,0,0,.12);
    overflow-y: auto;
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform .25s ease, opacity .2s ease, visibility .2s ease;
    z-index: 1101;
  }

  .cat-nav.open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .cat-nav .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .cat-nav-list {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    padding: 8px 0 32px !important;
    gap: 0 !important;
  }

  .cat-nav-item {
    width: 100%;
  }

  .cat-nav-link {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    height: auto !important;
    width: 100%;
    padding: 14px 20px !important;
    border-bottom: 1px solid var(--border) !important;
    background: transparent !important;
  }

  .cat-nav-item.open .mega-menu {
    display: block !important;
  }

  body.menu-open::before {
    content: '';
    position: fixed;
    inset: 60px 0 0 0;
    background: rgba(0,0,0,.28);
    z-index: 1100;
  }
}

/* ============================================================
   FINAL HEADER / NAV FIXES
   Desktop gap kapatma + mobil drawer toparlama
   ============================================================ */

body {
  overflow-x: hidden;
}

#main-content {
  position: relative;
}

#main-content > :first-child,
#home-sections > :first-child,
.ah-hero {
  margin-top: 0 !important;
}

.site-header {
  margin-bottom: 0 !important;
}

.site-header .container,
.cat-nav .container {
  max-width: 1240px;
}

.header-inner {
  min-height: clamp(68px, calc(var(--header-logo-size, 62px) + 16px), 124px) !important;
  height: auto !important;
  padding: 8px 0 !important;
  align-items: center !important;
}

.cat-nav {
  display: block !important;
  position: relative;
  margin: 0 !important;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid rgba(44,44,42,0.05);
  box-shadow: 0 8px 24px rgba(18, 35, 28, 0.05);
}

.cat-nav .container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.cat-nav-list {
  min-height: 44px;
  height: auto !important;
  margin: 0 !important;
}

.cat-nav-item,
.cat-nav-link {
  margin-bottom: 0 !important;
}

.ah-hero {
  margin-top: 0 !important;
}

@media (min-width: 769px) {
  .mobile-menu-btn {
    display: none !important;
  }

  body.menu-open::before {
    display: none !important;
  }

  .cat-nav {
    transform: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    left: auto !important;
    width: 100% !important;
    max-width: none !important;
    background: var(--surface) !important;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex !important;
    position: relative;
    z-index: 1302;
  }

  .cat-nav {
    display: none !important;
    position: fixed !important;
    top: 60px;
    left: 0;
    bottom: 0;
    width: min(86vw, 360px) !important;
    height: calc(100dvh - 60px) !important;
    min-height: calc(100dvh - 60px) !important;
    max-height: calc(100dvh - 60px) !important;
    background: #fff !important;
    border-top: 1px solid var(--border) !important;
    box-shadow: 12px 0 40px rgba(0,0,0,.12);
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform .25s ease, opacity .2s ease, visibility .2s ease;
    z-index: 1400;
    overflow-y: auto;
    overflow-x: hidden;
    pointer-events: auto;
  }

  .cat-nav.open {
    display: block !important;
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .cat-nav .container {
    max-width: none !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
  }

  .cat-nav-mobile-head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 52px;
    padding: 8px 12px;
    background: #fff;
    border-bottom: 1px solid rgba(44,44,42,.08);
  }

  .cat-nav-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    color: var(--text);
    font-size: 28px;
    line-height: 1;
    box-shadow: 0 8px 22px rgba(18,35,28,.08);
  }

  .cat-nav-list {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    height: auto !important;
    min-height: 0 !important;
    width: 100% !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 0 28px !important;
    overflow: visible !important;
  }

  .cat-nav-item {
    width: 100% !important;
    margin: 0 !important;
    border-bottom: 1px solid rgba(44,44,42,.08);
  }

  .cat-nav-link {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-height: 52px !important;
    height: auto !important;
    padding: 14px 18px !important;
    border-bottom: 0 !important;
    background: transparent !important;
    white-space: normal !important;
  }

  .cat-nav-link::after {
    display: none !important;
  }

  .cat-nav-item.has-children > .cat-nav-link .arrow {
    display: inline-flex !important;
    opacity: .65;
    font-size: 12px;
    margin-left: 8px;
  }

  .mega-menu {
    position: static !important;
    min-width: 0 !important;
    width: 100% !important;
    display: none !important;
    margin: 0 !important;
    padding: 8px 14px 14px !important;
    border: 0 !important;
    border-top: 1px solid rgba(44,44,42,.06) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #f8f7f2 !important;
    animation: none !important;
  }

  .cat-nav-item.open .mega-menu,
  .mega-menu.open {
    display: block !important;
  }

  .mega-menu-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }

  .mega-menu-item {
    background: rgba(255,255,255,.82) !important;
    border-radius: 12px !important;
    padding: 10px 12px !important;
  }

  .mega-menu-footer {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  body.menu-open::before {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .cat-nav {
    width: 100vw !important;
    max-width: 100vw !important;
  }
}

@media (min-width: 769px) {
  .cat-nav-mobile-head {
    display: none !important;
  }
}
