:root {
  --color-bg: #ffffff;
  --color-cream: #faf8f5;
  --color-text: #161616;
  --color-text-muted: #6b6b6b;
  --color-border: #e7e3dd;
  --color-accent: #161616;
  --color-danger: #b23b3b;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --header-height: 64px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
/* Kaydırma çubuğu için her zaman yer ayır — modal açılıp overflow:hidden olduğunda
   sayfanın sağa/sola kaymasını (scrollbar kaybolup geri gelmesini) önler. */
html { scrollbar-gutter: stable; }

#root { min-height: 100vh; display: flex; flex-direction: column; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 2px;
  border: 1px solid var(--color-text);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: background 0.15s ease, color 0.15s ease;
  background: var(--color-text);
  color: #fff;
}
.btn:hover { background: #000; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-outline {
  background: transparent;
  color: var(--color-text);
}
.btn-outline:hover { background: var(--color-text); color: #fff; }
.btn-sm { padding: 8px 14px; font-size: 12px; }
.btn-block { width: 100%; }
.btn-danger { border-color: var(--color-danger); background: transparent; color: var(--color-danger); }
.btn-danger:hover { background: var(--color-danger); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}
.header-main {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-height);
}
.header-main-bar {
  background: #f5c518;
}
.logo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  line-height: 1.05;
  white-space: nowrap;
}
.logo-line {
  display: flex;
  justify-content: space-between;
  width: 138px;
  gap: 0;
}
.logo-ch { display: inline-block; }
/* Üzerine gelince harfler sırayla (soldan sağa gecikmeli) kısa bir "yenilenme" hareketi yapar. */
.logo:hover .logo-ch { animation: logoLetterRefresh 0.5s ease both; }
@keyframes logoLetterRefresh {
  0% { opacity: 1; transform: translateY(0); }
  40% { opacity: 0.15; transform: translateY(-7px); }
  60% { opacity: 0.15; transform: translateY(7px); }
  100% { opacity: 1; transform: translateY(0); }
}
.logo-line1 {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-text);
}
.logo-line2 {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: none;
  margin-top: 3px;
}
.logo-dot { color: var(--color-text-muted); }
.header-search {
  flex: 1;
  max-width: 560px;
  margin: 0 auto;
}
.header-search form {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.header-search form:focus-within {
  border-color: var(--color-text);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}
.header-search-category {
  flex-shrink: 0;
  border: none;
  border-right: 1px solid var(--color-border);
  background: transparent;
  padding: 13px 12px 13px 20px;
  font-size: 12.5px;
  color: var(--color-text-muted);
  max-width: 140px;
  outline: none;
  cursor: pointer;
}
.header-search input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 13px 4px 13px 16px;
  font-size: 15px;
  outline: none;
  min-width: 0;
}
.header-search input::placeholder {
  font-size: 12.5px;
  color: var(--color-text-muted);
  opacity: 0.6;
}
.header-search button {
  display: flex;
  align-items: center;
  align-self: stretch;
  border: none;
  background: var(--color-text);
  color: #fff;
  padding: 0 20px;
  border-radius: 0 999px 999px 0;
}
.header-icons {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}
.header-icons-secondary {
  display: flex;
  align-items: center;
  gap: 20px;
}
/* Mobilde gizlenip yerine header-main'in altına tam genişlikte bir arama çubuğu koyuyoruz. */
.header-search-mobile {
  display: none;
  padding: 8px 24px 12px;
}
.header-search-mobile form {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  overflow: hidden;
  background: var(--color-cream);
}
.header-search-mobile form:focus-within { border-color: var(--color-text); background: #fff; }
.header-search-mobile input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 4px 10px 16px;
  font-size: 13.5px;
  outline: none;
  min-width: 0;
}
.header-search-mobile button {
  display: flex;
  align-items: center;
  border: none;
  background: transparent;
  padding: 0 16px;
  color: var(--color-text-muted);
}
.header-icon-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
}
.header-icon-btn {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  padding: 0;
}
.header-icon-cart {
  background: transparent;
  border: none;
  border-radius: 999px;
  height: 38px;
  padding: 3px 16px 3px 3px;
  gap: 4px;
}
.header-icon-cart-icon {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.header-icon-cart-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
}
.header-icon-cart-text .cart-label { font-size: 13px; font-weight: 500; }
.header-icon-cart-text .cart-total { font-size: 12px; color: var(--color-text); font-weight: 700; margin-top: 3px; }
.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--color-text);
  color: #fff;
  font-size: 10px;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  border: 2px solid #fff;
}
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  color: var(--color-text);
  align-items: center;
}
.hamburger-btn svg { width: 22px; height: 22px; }

.top-info-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 24px;
  font-size: 11.5px;
  background: var(--color-cream);
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
}
.top-info-bar .utility-links { display: flex; align-items: center; gap: 16px; }
.top-info-bar a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--color-text-muted);
}
.top-info-bar a:hover { color: var(--color-text); }
.top-info-bar .top-info-right { gap: 20px; }
.top-info-logout {
  background: none;
  border: none;
  font: inherit;
  font-size: 11.5px;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 0;
}
.top-info-logout:hover { color: var(--color-text); text-decoration: underline; }
@media (max-width: 720px) {
  .top-info-bar { display: none; }
}

.utility-links a:hover { color: var(--color-text); text-decoration: underline; }

.header-icon-square {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.header-icon-square:hover { background: var(--color-cream); }
button.header-icon-square { background: transparent; font: inherit; cursor: pointer; }
button.header-icon-square:hover { background: var(--color-cream); }

/* Favorilerim / Sipariş Takibi / Hesabım ikonlarının altında beliren siyah balon açıklama. */
.icon-tooltip {
  position: absolute;
  left: 50%;
  top: calc(100% + 12px);
  transform: translateX(-50%) translateY(-6px);
  background: rgba(18, 16, 13, 0.9);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  z-index: 60;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.icon-tooltip::after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-bottom-color: rgba(18, 16, 13, 0.9);
}
.icon-tooltip-wrap:hover .icon-tooltip { opacity: 1; transform: translateX(-50%) translateY(0); }
.utility-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1.8px dashed var(--color-text);
  color: var(--color-text);
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
  animation: cta-bg-fade 3.2s ease-in-out infinite;
}
.utility-cta span { display: inline-block; }
.utility-cta:hover { background: var(--color-text); color: #fff; animation-play-state: paused; }
@keyframes cta-bg-fade {
  0%, 100% { background-color: transparent; color: var(--color-text); }
  50% { background-color: #000; color: #fff; }
}
.utility-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 35%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(0, 0, 0, 0.12), transparent);
  transform: skewX(-20deg);
  animation: cta-shine 3.4s ease-in-out infinite;
}
@keyframes cta-shine {
  0% { left: -60%; }
  45% { left: 130%; }
  100% { left: 130%; }
}

.lang-switcher { position: relative; }
.lang-switcher-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: 11.5px;
  cursor: pointer;
  padding: 0;
}
.lang-switcher-btn:hover { color: var(--color-text); }
.lang-switcher-btn svg { width: 10px; height: 10px; }
.lang-switcher-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  min-width: 140px;
  padding: 6px;
  z-index: 40;
  list-style: none;
  margin: 0;
}
.lang-switcher-menu li { margin: 0; }
.lang-switcher-menu button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 12.5px;
  color: var(--color-text);
  cursor: pointer;
}
.lang-switcher-menu button:hover { background: var(--color-cream); }
.lang-switcher-menu button.active { font-weight: 700; }

.category-nav {
  border-top: 1px solid var(--color-border);
  background: #efeeec;
  margin-top: 10px;
  margin-bottom: 14px;
}
.category-nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
}
.all-departments { position: relative; }
.all-departments-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-text);
  color: #fff;
  border: none;
  padding: 12px 18px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}
.all-departments-btn:hover { background: #000; }
.all-departments-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  min-width: 220px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.1);
  z-index: 40;
  list-style: none;
  margin: 0;
  padding: 6px 0;
}
.all-departments-menu li { margin: 0; }
.all-departments-menu li a { display: block; padding: 9px 18px; font-size: 13px; font-weight: 500; }
.all-departments-menu li a:hover { background: var(--color-border); }
/* Henüz yayında olmayan kategoriler: tıklanamaz, "yasak" imleci gösterir.
   (Genel kural: header dropdown, footer ve mobil menüde ortak kullanılır.) */
.menu-item-disabled {
  color: var(--color-text-muted);
  cursor: not-allowed;
  opacity: 0.55;
}
.all-departments-menu li .menu-item-disabled {
  display: block;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 500;
}
.all-departments-menu li .menu-item-disabled:hover { background: none; }

/* Sağ taraftaki linkler grubu (Tüm Kategoriler + linkler), slaytın sağ kenarıyla hizalanması için
   sağdan slaytın yanındaki tanıtım kutuları kadar (300px + 16px boşluk) içeri çekilir. */
.category-nav-right-group {
  position: absolute;
  top: 50%;
  right: 340px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 26px;
}
@media (max-width: 900px) {
  .category-nav-right-group {
    position: static;
    transform: none;
    margin-left: auto;
  }
}
.tum-kategoriler-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 13px 2px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-text);
  cursor: pointer;
  white-space: nowrap;
}
.tum-kategoriler-menu { left: 0; min-width: 180px; }
.category-nav-links { display: flex; gap: 26px; text-transform: uppercase; }
.category-nav-links li a {
  display: inline-block;
  position: relative;
  padding: 13px 2px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.category-nav-links li a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 9px;
  height: 2px;
  background: var(--color-text);
  transition: right 0.2s ease;
}
.category-nav-links li a:hover::after { right: 0; }

.category-nav-note {
  margin-left: auto;
  font-size: 12px;
  color: var(--color-text-muted);
  white-space: nowrap;
}
@media (max-width: 1000px) {
  .category-nav-note { display: none; }
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}
.mobile-drawer.open { display: block; }
.mobile-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}
.mobile-drawer-panel {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 78%;
  max-width: 320px;
  background: #fff;
  padding: 20px;
  overflow-y: auto;
}
.mobile-drawer-panel h3 { margin-top: 0; }
.mobile-drawer-panel ul li { border-bottom: 1px solid var(--color-border); }

/* Hesabım modalı: sayfa merkezinde modern giriş / kayıt penceresi */
body.modal-open { overflow: hidden; }
.account-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.account-modal.open { display: flex; }
.account-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 13, 10, 0.55);
  backdrop-filter: blur(2px);
  animation: accountFadeIn 0.2s ease;
}
.account-modal-panel {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: #fff;
  border-radius: 10px;
  padding: 36px 32px 28px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.28);
  animation: accountPopIn 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes accountFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes accountPopIn {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.account-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  color: var(--color-text-muted);
  cursor: pointer;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
.account-modal-close:hover { background: var(--color-cream); color: var(--color-text); }
.account-modal-tabs {
  display: flex;
  gap: 4px;
  background: var(--color-cream);
  border-radius: 999px;
  padding: 4px;
  margin: 0 0 24px;
}
.account-modal-tab {
  flex: 1;
  border: none;
  background: none;
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.account-modal-tab.active {
  background: #fff;
  color: var(--color-text);
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.account-modal-body .field { margin-bottom: 14px; }
.account-modal-switch {
  text-align: center;
  font-size: 13px;
  color: var(--color-text-muted);
  margin: 16px 0 0;
}
.account-modal-switch a { font-weight: 700; color: var(--color-text); text-decoration: underline; text-underline-offset: 2px; }
.mobile-drawer-panel ul li a { display: block; padding: 14px 4px; font-weight: 600; }
.mobile-drawer-close { float: right; background: none; border: none; font-size: 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 62vh;
  min-height: 380px;
  max-height: 640px;
  color: #fff;
  overflow: hidden;
  perspective: 1800px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
}
.hero-slide.active { opacity: 1; visibility: visible; z-index: 2; }
/* Slayt geçişi: görüntü ince dikey şeritlere bölünüp, şeritler sırayla (rastgele gecikmeyle)
   üstten/alttan içeri kırpılarak kaybolur ve altındaki bir sonraki görüntüyü açığa çıkarır. */
.hero-wipe-cols {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}
.hero-wipe-cols.active { opacity: 1; visibility: visible; }
.hero-wipe-col {
  position: absolute;
  top: 0;
  height: 100%;
  background-repeat: no-repeat;
  clip-path: inset(0 0 0 0);
  transition: clip-path 1400ms cubic-bezier(.85, 0, .15, 1);
}
.hero-wipe-col.top.collapsed { clip-path: inset(100% 0 0 0); }
.hero-wipe-col.bottom.collapsed { clip-path: inset(0 0 100% 0); }
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #2b2b2b, #565656);
}
.hero-bg-photo {
  background-size: cover;
  background-position: center;
  transform: scale(1);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.6), rgba(0,0,0,0.15));
}
.hero-slide .hero-text > * {
  opacity: 0;
  transform: translateY(22px);
}
.hero-slide.active .hero-text > * {
  animation: heroTextIn 0.8s ease forwards;
}
.hero-slide.active .hero-text h1 { animation-delay: 0.15s; }
.hero-slide.active .hero-text p { animation-delay: 0.3s; }
.hero-slide.active .hero-text .btn { animation-delay: 0.45s; }
@keyframes heroTextIn {
  to { opacity: 1; transform: translateY(0); }
}
.hero-content {
  position: relative;
  padding: 48px 24px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.hero-text { flex: 1; min-width: 0; }
.hero-content h1 {
  font-size: clamp(28px, 5vw, 52px);
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.hero-content p { font-size: 16px; margin: 0 0 20px; max-width: 480px; opacity: 0.9; }

/* Slaytın sağındaki üst üste (kolaj) 3 görsel */
.hero-image-stack {
  position: relative;
  width: 220px;
  height: 300px;
  flex-shrink: 0;
}
.hero-image-stack img {
  position: absolute;
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  border: 4px solid #fff;
  box-shadow: 0 14px 30px rgba(0,0,0,0.35);
  background: #f2f0ec;
}
.hero-image-stack img:nth-child(1) { top: 0; right: 30px; z-index: 3; }
.hero-image-stack img:nth-child(2) { top: 78px; right: 0; z-index: 2; }
.hero-image-stack img:nth-child(3) { top: 156px; right: 48px; z-index: 1; }
@media (max-width: 760px) {
  .hero-image-stack { display: none; }
}
.hero-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.hero-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.8);
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.hero-dots button.active { background: #fff; }

/* ---------- Section headings ---------- */
.section { padding: 28px 0; }
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
}
.section-heading h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin: 0;
}
.section-heading a { font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Category tiles ---------- */
.category-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.category-tile {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: #eee;
}
.category-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.category-tile:hover img { transform: scale(1.05); }
.category-tile-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px;
  background: linear-gradient(0deg, rgba(0,0,0,0.55), transparent);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
}

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 20px;
}
.product-grid[hidden] { display: none; }
.product-card {
  position: relative;
}
.product-card-media {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #f2f0ec;
  border-radius: 2px;
}
.product-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.product-card:hover .product-card-media img { transform: scale(1.06); }
.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #fff;
  border: 1px solid var(--color-text);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 8px;
}
.product-quick-add {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: flex;
  gap: 6px;
}
.product-quick-add form { flex: 1; }
.product-card:hover .product-quick-add { opacity: 1; transform: translateY(0); }
.product-wishlist-btn {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 2px;
}
.product-wishlist-btn:hover { border-color: var(--color-text); }
.product-card-info { padding: 12px 2px; }
.product-card-info .name { font-size: 14px; font-weight: 500; margin: 0 0 4px; }
.product-card-info .price { font-size: 14px; font-weight: 700; }
.product-card-info .category { font-size: 12px; color: var(--color-text-muted); margin: 0 0 2px; }

/* ---------- Electro'nun gerçek ürün kartı yapısı (product-outer > product-inner > product-loop-*) ---------- */
.star-rating { font-size: 11px; letter-spacing: 1px; color: var(--color-text); }
.star-rating .muted { color: var(--color-border); }
.star-rating span { font-size: 11px; color: var(--color-text-muted); letter-spacing: normal; margin-left: 4px; }
.product { position: relative; }
.product-outer, .product-inner { display: block; }
.product-loop-header { display: flex; flex-direction: column; }
.product-thumbnail {
  order: -1;
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #f2f0ec;
  border-radius: 2px;
  margin-bottom: 10px;
}
.product-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.product:hover .product-thumbnail img { transform: scale(1.06); }
.loop-product-categories { display: block; font-size: 12px; color: var(--color-text-muted); margin: 0 0 2px; order: 0; }
.woocommerce-loop-product__title { font-size: 14px; font-weight: 500; margin: 0 0 4px; order: 1; }
.product-loop-header a { color: inherit; display: contents; }
.product-rating { margin: 0 0 6px; }
.price-add-to-cart { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price-add-to-cart .price { font-size: 14px; font-weight: 700; }
.hover-area { margin-top: 8px; }
.action-buttons { display: flex; gap: 10px; }
.add_to_wishlist { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: var(--color-text-muted); }
.add_to_wishlist:hover { color: var(--color-text); }
.add_to_wishlist svg { flex-shrink: 0; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: 12px;
  color: var(--color-text-muted);
  padding: 16px 0;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { margin: 0 6px; }

/* ---------- Product detail ---------- */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 24px 0 64px;
}
.product-detail-media {
  aspect-ratio: 4/5;
  background: #f2f0ec;
  border-radius: 2px;
  overflow: hidden;
}
.product-detail-info h1 { font-size: 26px; font-weight: 800; margin: 0 0 8px; }
.product-detail-info .price { font-size: 22px; font-weight: 700; margin: 0 0 20px; }
.product-detail-info .desc { color: #333; margin-bottom: 24px; line-height: 1.7; }
.stock-note { font-size: 13px; margin-bottom: 16px; }
.stock-ok { color: #2c7a3f; }
.stock-low { color: #b8860b; }
.stock-out { color: var(--color-danger); }
.qty-row { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.qty-stepper { display: flex; align-items: center; border: 1px solid var(--color-border); }
.qty-stepper button { width: 34px; height: 34px; border: none; background: none; font-size: 16px; }
.qty-stepper span { width: 32px; text-align: center; font-size: 14px; }

/* ---------- Forms ---------- */
.form-page { max-width: 420px; margin: 48px auto; padding: 0 24px; }
.form-page h1 { font-size: 24px; font-weight: 800; margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  font-size: 14px;
}
.field textarea { resize: vertical; }
.form-error {
  background: #fdeeee;
  border: 1px solid #f0c9c9;
  color: var(--color-danger);
  padding: 10px 14px;
  font-size: 13px;
  border-radius: 2px;
  margin-bottom: 16px;
}
.form-success {
  background: #eaf6ec;
  border: 1px solid #c6e6cc;
  color: #2c7a3f;
  padding: 10px 14px;
  font-size: 13px;
  border-radius: 2px;
  margin-bottom: 16px;
}
.form-note { font-size: 13px; color: var(--color-text-muted); margin-top: 16px; text-align: center; }

/* ---------- Cart page ---------- */
.cart-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; padding: 32px 0 64px; }
.cart-item { display: grid; grid-template-columns: 90px 1fr auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--color-border); align-items: center; }
.cart-item-media { width: 90px; height: 110px; background: #f2f0ec; overflow: hidden; }
.cart-item-media img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name { font-weight: 600; font-size: 14px; margin: 0 0 4px; }
.cart-item-price { font-size: 13px; color: var(--color-text-muted); }
.cart-summary { border: 1px solid var(--color-border); padding: 24px; border-radius: 2px; height: fit-content; }
.cart-summary h2 { font-size: 18px; margin: 0 0 16px; }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 10px; }
.summary-row.total { font-size: 16px; font-weight: 800; border-top: 1px solid var(--color-border); padding-top: 12px; margin-top: 12px; }
.empty-state { text-align: center; padding: 80px 24px; color: var(--color-text-muted); }

/* ---------- Checkout ---------- */
.checkout-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding: 32px 0 64px; }
.checkout-section { border: 1px solid var(--color-border); padding: 24px; border-radius: 2px; margin-bottom: 24px; }
.checkout-section h2 { font-size: 16px; margin: 0 0 16px; text-transform: uppercase; letter-spacing: 0.03em; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.payment-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--color-border);
  padding: 14px;
  border-radius: 2px;
  margin-bottom: 10px;
  cursor: pointer;
}
.payment-option.selected { border-color: var(--color-text); background: #faf8f5; }
.payment-option strong { display: block; font-size: 14px; }
.payment-option span.desc { font-size: 12px; color: var(--color-text-muted); }
.test-mode-note {
  background: #fff7e0;
  border: 1px solid #f0dca0;
  color: #7a5c00;
  padding: 10px 14px;
  font-size: 12.5px;
  border-radius: 2px;
  margin-top: 12px;
}
.order-success { text-align: center; padding: 72px 24px; }
.order-success h1 { font-size: 26px; margin-bottom: 12px; }

/* ---------- Account ---------- */
.account-layout { display: grid; grid-template-columns: 220px 1fr; gap: 32px; padding: 32px 0 64px; }
.account-nav a { display: block; padding: 10px 0; font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--color-border); }
.order-card { border: 1px solid var(--color-border); border-radius: 2px; padding: 18px; margin-bottom: 16px; }
.order-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 13px; color: var(--color-text-muted); }
.status-pill { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.status-pending { background: #fff3cd; color: #856404; }
.status-shipped { background: #cfe2ff; color: #084298; }
.status-delivered { background: #d1e7dd; color: #0f5132; }
.status-cancelled { background: #f8d7da; color: #842029; }
.order-item-row { display: flex; justify-content: space-between; font-size: 13px; padding: 4px 0; }

/* ---------- Admin ---------- */
.admin-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--admin-bg);
  color: var(--admin-text);
  /* Açık tema (varsayılan) değişkenleri */
  --admin-bg: #f7f6f4;
  --admin-card-bg: #ffffff;
  --admin-border: #e7e3dd;
  --admin-text: #161616;
  --admin-text-muted: #6b6b6b;
  --admin-cream: #f4f2ee;
  --admin-topbar-bg: #161616;
  --admin-hover: #fafaf9;
}
.admin-shell.theme-dark {
  --admin-bg: #14151a;
  --admin-card-bg: #1d1e25;
  --admin-border: #2d2e37;
  --admin-text: #f1f1f3;
  --admin-text-muted: #9a9aa6;
  --admin-cream: #262730;
  --admin-topbar-bg: #0c0d11;
  --admin-hover: #23242c;
}
.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 56px;
  background: var(--admin-topbar-bg);
  color: #fff;
  flex-shrink: 0;
}
.admin-topbar-brand { color: #fff; font-weight: 800; letter-spacing: 0.02em; font-size: 15px; }
.admin-topbar-brand span { font-weight: 500; opacity: 0.7; margin-left: 6px; font-size: 12px; }
.admin-topbar-right { display: flex; align-items: center; gap: 20px; font-size: 13px; }
.admin-topbar-link { color: rgba(255,255,255,0.75); }
.admin-topbar-link:hover { color: #fff; }
.admin-topbar-user { display: flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; }
.theme-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  color: #fff;
  cursor: pointer;
}
.theme-toggle-btn:hover { background: rgba(255,255,255,0.18); }

.admin-layout { display: grid; grid-template-columns: 232px 1fr; flex: 1; }
.admin-sidebar { background: var(--admin-card-bg); border-right: 1px solid var(--admin-border); padding: 18px 12px; display: flex; flex-direction: column; gap: 2px; }
.admin-sidebar a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--admin-text-muted);
}
.admin-sidebar a:hover { background: var(--admin-cream); color: var(--admin-text); }
.admin-sidebar a.active { background: var(--admin-text); color: var(--admin-bg); }

.admin-content { padding: 28px 32px 48px; max-width: 1280px; width: 100%; margin: 0 auto; color: var(--admin-text); }
.admin-content h1 { margin-top: 0; font-size: 22px; }
.admin-hint { font-size: 13px; color: var(--admin-text-muted); margin: -8px 0 18px; }
.admin-muted { color: var(--admin-text-muted); }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--admin-card-bg);
  border: 1px solid var(--admin-border);
  padding: 18px 20px;
  border-radius: 8px;
}
.stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--admin-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--admin-text);
}
.stat-card .label { font-size: 11.5px; color: var(--admin-text-muted); text-transform: uppercase; letter-spacing: 0.03em; }
.stat-card .value { font-size: 22px; font-weight: 800; margin-top: 3px; }

.admin-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.chart-card { background: var(--admin-card-bg); border: 1px solid var(--admin-border); border-radius: 8px; padding: 20px; margin-bottom: 16px; }
.chart-card h3 { margin: 0 0 16px; font-size: 14px; font-weight: 700; }
.chart-card .admin-table { margin: 0; }
.empty-state-inline { font-size: 13px; color: var(--admin-text-muted); }

.chart-wrap { color: var(--admin-text); }
.line-chart-svg { width: 100%; height: 160px; display: block; }
.chart-x-labels { display: flex; justify-content: space-between; font-size: 10px; color: var(--admin-text-muted); margin-top: 6px; }
.chart-x-labels span:not(:first-child):not(:last-child) { display: none; }
@media (min-width: 900px) {
  .chart-x-labels span { display: block; }
}

.bar-chart { display: flex; flex-direction: column; gap: 14px; }
.bar-chart-row { display: grid; grid-template-columns: 110px 1fr 36px; align-items: center; gap: 10px; }
.bar-chart-label { font-size: 12px; color: var(--admin-text-muted); }
.bar-chart-track { height: 10px; background: var(--admin-cream); border-radius: 6px; overflow: hidden; }
.bar-chart-fill { height: 100%; border-radius: 6px; }
.bar-chart-value { font-size: 12px; font-weight: 700; text-align: right; }

table.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; color: var(--admin-text); }
table.admin-table th, table.admin-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--admin-border); }
table.admin-table th { text-transform: uppercase; font-size: 10.5px; letter-spacing: 0.04em; color: var(--admin-text-muted); background: var(--admin-cream); }
table.admin-table tbody tr:hover { background: var(--admin-hover); }
.admin-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.admin-toolbar-count { font-size: 12.5px; color: var(--admin-text-muted); }
.admin-inline-form { display: flex; gap: 12px; margin-bottom: 20px; }
.admin-inline-form input { flex: 1; padding: 10px 14px; border: 1px solid var(--admin-border); border-radius: 6px; font-size: 13px; background: var(--admin-card-bg); color: var(--admin-text); }
.admin-thumb { width: 42px; height: 52px; object-fit: cover; border-radius: 4px; background: var(--admin-cream); }
.admin-thumb-swatch { width: 60px; height: 40px; border-radius: 4px; border: 1px solid var(--admin-border); }

.admin-shell .modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; z-index: 200; }
.admin-shell .modal-box { background: var(--admin-card-bg); color: var(--admin-text); padding: 28px; border-radius: 8px; width: 480px; max-width: 92vw; max-height: 88vh; overflow-y: auto; }
.admin-shell .modal-box h2 { margin-top: 0; }
.admin-shell .field label { color: var(--admin-text-muted); }
.admin-shell .field input,
.admin-shell .field select,
.admin-shell .field textarea {
  background: var(--admin-card-bg);
  color: var(--admin-text);
  border: 1px solid var(--admin-border);
}
.field-checkbox label { display: flex; align-items: center; gap: 8px; font-weight: 500; }

.status-select { padding: 6px 10px; border: 1px solid var(--admin-border); border-radius: 20px; font-size: 11.5px; font-weight: 700; cursor: pointer; background: var(--admin-card-bg); color: var(--admin-text); }
.action-link { font-size: 12px; font-weight: 700; text-decoration: underline; cursor: pointer; background: none; border: none; color: var(--admin-text); }
.action-link.danger { color: var(--color-danger); }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: 1px solid var(--admin-border);
  background: var(--admin-card-bg);
  color: var(--admin-text);
  cursor: pointer;
  margin-right: 6px;
}
.icon-btn:hover { background: var(--admin-cream); }
.icon-btn.danger { color: var(--color-danger); border-color: #eed4d4; }
.icon-btn.danger:hover { background: #fbeaea; }

.badge-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  background: var(--admin-cream);
  border: 1px solid var(--admin-border);
  color: var(--admin-text);
}
.badge-pill.toggle { cursor: pointer; border: none; }
.badge-pill.toggle.on { background: #d1e7dd; color: #0f5132; }
.badge-pill.toggle.off { background: #f1f0ee; color: #6b6b6b; }

.stock-pill {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  background: var(--admin-cream);
  color: var(--admin-text);
}
.stock-pill.low { background: #f8d7da; color: #842029; }

@media (max-width: 1000px) {
  .admin-grid-2 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--color-cream); border-top: 1px solid var(--color-border); margin-top: auto; }

.trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 28px 24px;
  background: #edecea;
  border-bottom: 1px solid var(--color-border);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--color-text);
}
.trust-item svg { flex-shrink: 0; stroke-width: 1.3; opacity: 0.85; }
.trust-item strong {
  display: block;
  font-size: 16.5px;
  letter-spacing: 0.03em;
  margin-bottom: 3px;
}
.trust-item span {
  display: block;
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.4;
}
@media (max-width: 860px) {
  .trust-bar { grid-template-columns: 1fr; gap: 16px; padding: 20px 24px; }
}
.footer-newsletter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 32px 0;
  border-bottom: 1px solid var(--color-border);
}
.footer-newsletter h4 { margin: 0 0 4px; font-size: 16px; }
.footer-newsletter p { margin: 0; font-size: 13px; color: var(--color-text-muted); }
.newsletter-form { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-right: 56px; }
.newsletter-form-row { display: flex; gap: 0; }
.newsletter-form input[type="email"] {
  padding: 12px 22px;
  border: 1px solid var(--color-border);
  border-right: none;
  border-radius: 999px 0 0 999px;
  font-size: 13px;
  min-width: 480px;
}
.newsletter-btn { border-radius: 0 999px 999px 0; }
.newsletter-consent {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #000;
  cursor: pointer;
}
.newsletter-consent span { color: #000; line-height: 1; }
.newsletter-consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border-radius: 3px;
  border: 1.5px solid #000;
  background: #f5c518;
  cursor: pointer;
  position: relative;
}
.newsletter-consent input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.footer-grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px 56px; padding: 48px 0 24px; }
.footer-grid > div { flex: 0 0 auto; }
.footer-contact-col { width: 340px; }
.footer-link-cols { display: flex; flex-direction: column; gap: 26px; margin-left: 28px; }
.footer-link-cols-row { display: flex; flex-wrap: wrap; gap: 32px 76px; }
.footer-link-cols-row > div:nth-child(3) { margin-left: -40px; }
.footer-app-badges { display: flex; align-items: center; gap: 14px; }
.footer-app-badges img { height: 46px; width: auto; display: block; max-width: 100%; }
.footer-trust-col { width: 250px; flex: 0 0 auto; display: flex; flex-direction: column; gap: 36.8px; }
.footer-grid .footer-trust-col h4 { font-size: 19px; font-weight: 700; line-height: 1.2; margin: 0; }
.footer-trust-item { display: flex; align-items: flex-start; gap: 14px; color: var(--color-text); }
.footer-trust-item svg { flex-shrink: 0; stroke-width: 1.3; opacity: 0.85; margin-top: 2px; }
.footer-trust-item strong { display: block; font-size: 16.5px; letter-spacing: 0.03em; margin-bottom: 3px; }
.footer-trust-item span { display: block; font-size: 15px; color: var(--color-text-muted); line-height: 1.4; }
.footer-product-lists { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 40px 0 8px; border-bottom: 1px solid var(--color-border); }
.footer-product-lists .bottom-list h3 { font-size: 17px; text-transform: uppercase; letter-spacing: 0.04em; }
.footer-product-lists .bottom-list-item .name { font-size: 17px; }
.footer-product-lists .bottom-list-item .price { font-size: 17px; }
.footer-newsletter-bar { background: #f5c518; }
.footer-newsletter-bar .footer-newsletter-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 28px 0;
}
.footer-newsletter-bar h5 { margin: 0 0 4px; font-size: 16px; }
.footer-newsletter-bar span { font-size: 13px; color: var(--color-text-muted); }
.newsletter-info { display: flex; align-items: center; gap: 16px; }
.newsletter-icon { flex-shrink: 0; color: var(--color-text); }
@media (max-width: 860px) {
  .footer-product-lists { grid-template-columns: 1fr; }
}
.footer-grid h4 { font-size: 19px; font-weight: 700; margin: 0 0 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; font-size: 17px; color: #444; }
.footer-grid li a { color: inherit; }
.footer-grid li a:hover { text-decoration: underline; }
.footer-link-list li a::before { content: '›'; display: inline-block; margin-right: 6px; font-weight: 700; color: var(--color-text-muted); }

.footer-contact-col {
  padding-right: 32px;
  border-right: 1px solid var(--color-border);
}
.footer-contact-line { margin: 0 0 8px; font-size: 17px; color: #444; line-height: 1.6; }
.footer-contact-line a { color: inherit; }
.footer-support-line { display: flex; align-items: center; gap: 15px; margin: 18px 0; color: var(--color-text); }
.footer-support-line svg { display: block; flex-shrink: 0; }
.footer-support-line span { display: block; font-size: 15px; color: var(--color-text-muted); }
.footer-support-line strong { display: block; font-size: 19px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--color-cream); color: var(--color-text);
  transition: background 0.15s ease, color 0.15s ease;
}
.footer-social a svg { width: 26px; height: 26px; }
.footer-social a:hover { background: var(--color-text); color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
  padding-bottom: 16px;
  font-size: 16px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom .payment-badges { margin-top: 0; }
.footer-legal a { color: inherit; text-decoration: underline; }
.social-icons { display: flex; gap: 10px; margin-top: 4px; }
.social-icons a {
  width: 34px;
  height: 34px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  transition: background 0.15s ease, color 0.15s ease;
}
.social-icons a:hover { background: var(--color-text); color: #fff; }
.payment-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.payment-badges .pay-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-text);
  background: #fff;
}
.payment-badges .pay-badge svg { flex-shrink: 0; }
.pay-mastercard svg, .pay-maestro svg { margin-right: -4px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--color-text);
  color: #fff;
  padding: 14px 20px;
  border-radius: 2px;
  font-size: 13px;
  z-index: 300;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.cart-toast {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 400;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--color-text);
  padding: 16px 22px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.16);
  animation: cart-toast-in 0.25s ease, cart-toast-out 0.4s ease 2.6s forwards;
}
.cart-toast-check {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #2fa84f;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
@keyframes cart-toast-in {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes cart-toast-out {
  to { opacity: 0; transform: translateY(-10px); }
}

.loading-state, .error-state { text-align: center; padding: 60px 24px; color: var(--color-text-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .category-tiles { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .product-detail { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .account-layout { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: flex; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--color-border); padding: 12px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .category-nav { display: none; }
  .hamburger-btn { display: block; }
  .header-search { display: none; }
  .header-search-mobile { display: block; }
  .header-icons-secondary { display: none; }
  .header-icons { gap: 12px; }
  .header-icon-cart-text { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .category-tiles { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { gap: 28px 40px; }
  .footer-contact-col { width: 100%; border-right: none; padding-right: 0; }
  .footer-trust-col { width: 100%; }
  .footer-link-cols { width: 100%; margin-left: 0; }
  .footer-link-cols-row > div:nth-child(3) { margin-left: 0; }
  .footer-app-badges { gap: 6px; }
  .footer-app-badges img { height: 24px; }
  .field-row { grid-template-columns: 1fr; }
  .logo-line1 { font-size: 18px; }
  .logo-line2 { font-size: 10px; }
}

@media (max-width: 420px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px 10px; }
  .container { padding: 0 16px; }
  .header-search-mobile { padding: 8px 16px 12px; }
}

/* ============================================================
   Ana sayfa orta bölüm — Electro şablonundan uyarlanan bloklar
   ============================================================ */

/* Tanıtım kutuları (3'lü satır - bağımsız kullanıldığında) */
.promo-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* Slaytın yanında dikey olarak üst üste duran 3 tanıtım kutusu (Electro "slider-with-da-block") */
.slider-with-da-block-inner {
  display: flex;
  align-items: stretch;
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px;
}
.slider-with-da-block-inner .hero { flex: 1; min-width: 0; border-radius: 4px; }
.da-block-wrapper { width: 300px; flex-shrink: 0; }
.da-block { display: flex; flex-direction: column; gap: 12px; height: 100%; }
.da-block .promo-tile { flex: 1; padding: 14px 16px; }
.da-block .promo-tile img { width: 52px; height: 52px; }
@media (max-width: 900px) {
  .slider-with-da-block-inner { flex-direction: column; padding: 0; }
  .da-block-wrapper { width: 100%; }
  .da-block { flex-direction: row; }
  .slider-with-da-block-inner .hero { border-radius: 0; }
}
@media (max-width: 620px) {
  .da-block { flex-direction: column; }
}
.promo-tile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
  transform: scale(1);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}
.promo-tile:hover,
.promo-tile:focus-visible {
  transform: scale(1.045);
  box-shadow: 0 14px 32px rgba(0,0,0,0.16);
  background: #fff;
  z-index: 2;
}
.promo-tile img { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.promo-tile-text { display: flex; flex-direction: column; align-items: flex-start; flex: 1; min-width: 0; }
.promo-tile-text p { margin: 0; font-size: 12.5px; color: var(--color-text-muted); }
.promo-tile-text strong { display: block; font-size: 14px; margin: 2px 0 6px; }
.promo-tile-text .promo-tile-cta {
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  color: inherit;
  padding: 7px 14px;
  border: 1px solid transparent;
  border-radius: 3px;
  display: inline-block;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.promo-tile:hover .promo-tile-text .promo-tile-cta,
.promo-tile:focus-visible .promo-tile-text .promo-tile-cta {
  background: var(--color-text, #1a1a1a);
  color: #fff;
  border-color: var(--color-text, #1a1a1a);
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}

/* Sekmeler (tabs) */
.tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--color-border); margin-bottom: 22px; flex-wrap: wrap; }
.tab-btn {
  background: none;
  border: none;
  padding: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  position: relative;
  top: 1px;
}
.tab-btn.active { color: var(--color-text); border-bottom: 2px solid var(--color-text); }

/* Özel fırsat + sekmeli ürün paneli */
.offer-row { display: grid; grid-template-columns: 320px 1fr; gap: 24px; align-items: stretch; }
.offer-card {
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}
.offer-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--color-text);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
}
.offer-card img { width: 160px; height: 160px; object-fit: cover; border-radius: 4px; margin-bottom: 14px; }
.offer-card h4 { margin: 0 0 8px; font-size: 15px; }
.offer-card .price-row { display: flex; gap: 8px; align-items: baseline; margin-bottom: 14px; }
.offer-card .price-old { text-decoration: line-through; color: var(--color-text-muted); font-size: 13px; }
.offer-card .price-new { font-size: 20px; font-weight: 800; color: var(--color-danger); }
.offer-progress {
  width: 100%;
  height: 6px;
  background: var(--color-border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 6px;
}
.offer-progress-bar { height: 100%; background: var(--color-text); }
.offer-stock-labels { display: flex; justify-content: space-between; width: 100%; font-size: 11px; color: var(--color-text-muted); margin-bottom: 18px; }
.offer-timer { display: flex; gap: 8px; margin-bottom: 4px; }
.offer-timer-box { display: flex; flex-direction: column; align-items: center; }
.offer-timer-box strong {
  display: block;
  background: var(--color-text);
  color: #fff;
  min-width: 44px;
  padding: 6px 4px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
}
.offer-timer-box span { font-size: 9.5px; color: var(--color-text-muted); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.03em; }

.mini-product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mini-product-grid[hidden] { display: none; }
.mini-product { display: flex; gap: 12px; align-items: flex-start; }
.mini-product img { width: 72px; height: 72px; object-fit: cover; border-radius: 4px; background: #f2f0ec; flex-shrink: 0; }
.mini-product-info p { margin: 0; }
.mini-product-info .category { font-size: 11px; color: var(--color-text-muted); }
.mini-product-info .name { font-size: 13px; font-weight: 500; margin: 3px 0 4px; line-height: 1.3; }
.mini-product-info .price { font-size: 13px; font-weight: 700; }

/* Kategori vitrin grid (2-1-2) */
.deals-grid { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 20px; }
.deals-col { display: flex; flex-direction: column; gap: 20px; }
.deals-feature {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: var(--color-cream);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
  padding: 22px;
  color: var(--color-text);
}
.deals-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.deals-feature-content { position: relative; z-index: 1; background: rgba(255,255,255,0.88); padding: 14px 16px; border-radius: 4px; }
.deals-feature-content .name { font-weight: 700; font-size: 15px; margin: 0 0 6px; }
.deals-feature-content .price { font-size: 18px; font-weight: 800; }

/* Orta banner (CTA) */
.mid-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--color-cream);
  border-radius: 4px;
  padding: 32px 40px;
  flex-wrap: wrap;
}
.mid-banner h3 { margin: 0; font-size: 22px; font-weight: 800; }
.mid-banner p { margin: 4px 0 0; color: var(--color-text-muted); font-size: 14px; }

/* Yatay kaydırmalı satır (Son Görüntülenenler) */
.scroll-row { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; }
.scroll-row .product-card { flex: 0 0 200px; }

/* Koleksiyon şeridi */
.collections-strip { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.collection-pill {
  padding: 10px 22px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-text-muted);
  transition: all 0.15s ease;
}
.collection-pill:hover { color: #fff; background: var(--color-text); border-color: var(--color-text); }

/* Alt 3 sütun mini liste */
.bottom-lists { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.bottom-list h3 { font-size: 15px; font-weight: 800; margin: 0 0 16px; padding-bottom: 12px; border-bottom: 2px solid var(--color-text); }
.bottom-list-item { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.bottom-list-item img { width: 56px; height: 56px; object-fit: cover; border-radius: 4px; background: #f2f0ec; flex-shrink: 0; }
.bottom-list-item .name { font-size: 13px; margin: 0 0 4px; line-height: 1.3; }
.bottom-list-item .price { font-size: 13px; font-weight: 700; margin: 0; }

/* Haftanın öne çıkan kategorileri (grid) */
.top-categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.category-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  padding: 18px 10px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.category-tile:hover { border-color: var(--color-text); box-shadow: 0 4px 14px rgba(0,0,0,0.08); }
.category-tile img { width: 64px; height: 64px; object-fit: cover; border-radius: 50%; background: #f2f0ec; }
.category-tile span { font-size: 13px; font-weight: 600; }

/* Kategori vitrini: büyük görsel + ürün ızgarası (Electro "products-with-category-image") */
.category-showcase {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
}
.category-showcase-media {
  position: relative;
  display: block;
  border-radius: 6px;
  overflow: hidden;
  min-height: 320px;
  background: #2b2b2b;
}
.category-showcase-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; opacity: 0.75; }
.category-showcase-media-text {
  position: relative;
  z-index: 1;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 24px;
  min-height: 320px;
}
.category-showcase-media-text span { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.85; }
.category-showcase-media-text h3 { margin: 6px 0 14px; font-size: 22px; font-weight: 800; }
.category-showcase-media-text .btn { align-self: flex-start; background: #fff; color: var(--color-text); }
.category-showcase-products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Tam genişlik tek görsel banner */
.full-banner {
  position: relative;
  display: block;
  border-radius: 6px;
  overflow: hidden;
  min-height: 480px;
}
.full-banner-bg { background: linear-gradient(120deg,#3a3a3a,#181818); min-height: 480px; }
.full-banner-text {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  color: #fff; text-align: center;
}
.full-banner-text span:first-child { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.85; }
.full-banner-text h3 { margin: 0; font-size: 24px; font-weight: 800; }
.full-banner-text .btn { margin-top: 6px; background: #fff; color: var(--color-text); }

/* "6 ürün + 1 öne çıkan + kategori listesi" blokları */
.cat-products-block {
  display: grid;
  grid-template-columns: 200px 1fr 240px;
  gap: 24px;
  align-items: start;
}
.cat-products-sidebar h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; margin: 0 0 12px; }
.cat-products-sidebar ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cat-products-sidebar a { font-size: 13.5px; color: var(--color-text-muted); }
.cat-products-sidebar a:hover, .cat-products-sidebar a.active { color: var(--color-text); font-weight: 700; }
.cat-products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat-products-featured {
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 16px;
  text-align: center;
}
.cat-products-featured img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; background: #f2f0ec; margin-bottom: 12px; }
.cat-products-featured .category { font-size: 11px; color: var(--color-text-muted); margin: 0 0 4px; }
.cat-products-featured .name { font-size: 14px; margin: 0 0 4px; }
.cat-products-featured .price { font-size: 15px; font-weight: 700; margin: 0 0 12px; }

@media (max-width: 900px) {
  .promo-tiles { grid-template-columns: 1fr; }
  .offer-row { grid-template-columns: 1fr; }
  .mini-product-grid { grid-template-columns: repeat(2, 1fr); }
  .deals-grid { grid-template-columns: 1fr; }
  .bottom-lists { grid-template-columns: 1fr; }
  .top-categories-grid { grid-template-columns: repeat(3, 1fr); }
  .category-showcase { grid-template-columns: 1fr; }
  .category-showcase-products { grid-template-columns: repeat(2, 1fr); }
  .cat-products-block { grid-template-columns: 1fr; }
  .cat-products-sidebar ul { flex-direction: row; flex-wrap: wrap; gap: 14px; }
  .cat-products-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-products-featured { max-width: 320px; margin: 0 auto; }
}
@media (max-width: 520px) {
  .top-categories-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- Düz PHP sürümüne özel ek kurallar (React'te koşullu render edilen menüler burada CSS class ile açılır/kapanır) --- */
.all-departments-menu { display: none; }
.all-departments-menu.open { display: block; }
.mobile-drawer { display: none; }
.mobile-drawer.open { display: block; }
