: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;
  --home-accent: #9e0101; /* markanın kendi kırmızısı — hero/stüdyo ile aynı ton */
}

* { 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;
  overflow-x: hidden;
}
/* 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.disabled { opacity: 0.45; cursor: not-allowed; pointer-events: none; }
.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: linear-gradient(90deg, #ffffff 0%, #ededed 30%, #d6d6d6 62%, #c0c0c0 100%);
}
.logo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  line-height: 1.05;
  white-space: nowrap;
}
/* Alttaki kategori satırıyla (6px padding kullanıyor) aynı hizada başlasın diye
   logoyu, header-main'in 24px'lik varsayılan container boşluğuna göre biraz sola çekiyoruz. */
@media (min-width: 721px) {
  .logo { margin-left: -18px; }
}
.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;
  /* Logodan ayrılsın diye soldan sabit bir boşluk bırakıp geri kalanı sağa yaslıyoruz. */
  margin: 0 auto 0 64px;
}
.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); }
.header-login-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 0 16px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--color-text);
  background: var(--color-text);
  color: #fff;
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.header-login-btn:hover { opacity: 0.85; }
@media (max-width: 860px) { .header-login-btn { font-size: 0; padding: 0; width: 38px; height: 38px; justify-content: center; } }

/* 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: 4px;
  border: none;
  color: #fff;
  background: var(--color-text);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  position: relative;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.utility-cta span { display: inline-block; }
.utility-cta:hover { opacity: 0.85; }

/* "T-shirt Tasarla" butonu — kullanıcının gönderdiği tasarım: gri/neumorphic kabuk + içinde pill buton + nabız atan kırmızı (#ff0000) nokta */
.cta-btn-wrapper {
  --height: 38px;
  --padding: 5px;
  --border-radius: 19px;
  --dot-size: 7px;
  --btn-color: #e4e4e4;
  --hue: 0deg;
  --animation-duration: 1.2s;

  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--height);
  flex-shrink: 0;
  border-radius: var(--border-radius);
  border: none;

  background-color: #00000008;

  box-shadow:
    1px 1px 2px 0 #fffd,
    2px 2px 2px #0001 inset,
    2px 2px 4px #0001 inset,
    2px 2px 8px #0001 inset;

  transition: box-shadow 50ms linear;
  perspective: 150px;
  perspective-origin: center;
  user-select: none;
  z-index: 1;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  padding: 0 22px 0 14px;
  margin: var(--padding);
  height: calc(100% - 2 * var(--padding));
  border-radius: calc(var(--border-radius) - var(--padding));
  border: none;
  cursor: pointer;
  white-space: nowrap;

  background: linear-gradient(#fff2, #0001), var(--btn-color);

  box-shadow:
    1px 1px 2px -1px #fff inset,
    0 2px 1px #00000010,
    0 4px 2px #00000010,
    0 8px 4px #00000010;

  transition:
    transform 0.25s cubic-bezier(0.25, 1.5, 0.5, 2.2),
    box-shadow 0.25s cubic-bezier(0.25, 1.5, 0.5, 1),
    filter 0.3s cubic-bezier(0.25, 1.5, 0.5, 1);
  will-change: transform, filter;
  position: relative;
  z-index: 2;
}
.cta-btn svg { flex-shrink: 0; color: #333; }

.cta-btn-txt {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #5550;
  background-image: linear-gradient(#000a, #555);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 1px 0px #fff) drop-shadow(0 -1px 0px #0005);
}

.cta-dot {
  position: absolute;
  top: calc(50% - var(--dot-size) / 2);
  right: calc(var(--height) / 2 - var(--padding) / 2 - 7px);
  width: var(--dot-size);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background-color: hsla(var(--hue), 0%, 50%, 0.1);

  border: 1px solid hsla(var(--hue), 0%, 60%, 0.6);
  box-sizing: border-box;

  box-shadow:
    1px 1px 2px -1px #fffe inset,
    0 2px 1px #00000010,
    0 4px 2px #00000010,
    0 8px 4px #00000010;

  pointer-events: none;
  z-index: 3;
}

.cta-dot::before {
  content: "";
  position: absolute;
  top: calc(var(--padding) / -2);
  left: calc(var(--padding) / -2);
  width: calc(100% + var(--padding));
  height: calc(100% + var(--padding));
  border-radius: inherit;
  background-color: #0006;
  mask-image: radial-gradient(circle at 50% 60%, transparent 50%, black);
}

.cta-dot::after {
  content: "";
  position: absolute;
  top: calc(var(--padding) / -2);
  left: calc(var(--padding) / -2);
  width: calc(100% + var(--padding));
  height: calc(100% + var(--padding));
  border-radius: inherit;
  background-color: #0000;

  box-shadow:
    0 0 10px 2px hsla(var(--hue), 80%, 50%, 0.3),
    0 0 20px 10px hsla(var(--hue), 80%, 50%, 0.5),
    0 0 50px 20px hsla(var(--hue), 80%, 50%, 0.5),
    0 0 16px 1px hsla(var(--hue), 100%, 60%, 0.9) inset;

  opacity: 0;
}

.cta-dot.pulse { animation: cta-dot-bg-anim var(--animation-duration) ease-in-out infinite; }
.cta-dot.pulse::after { animation: cta-dot-opacity-anim var(--animation-duration) ease-in-out infinite; }

@keyframes cta-dot-bg-anim {
  0%, 100% { background-color: hsla(var(--hue), 50%, 50%, 0); }
  50% { background-color: hsla(var(--hue), 100%, 50%, 1); }
}

@keyframes cta-dot-opacity-anim {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

.cta-btn:hover,
.cta-btn:focus-visible {
  filter: drop-shadow(var(--padding) 0 var(--padding) hsla(var(--hue), 70%, 60%, 0.6));
  transform: translate3d(0, -2px, 2px);
}

.cta-btn:hover .cta-btn-txt,
.cta-btn:focus-visible .cta-btn-txt {
  background-color: hsla(var(--hue), 50%, 50%, 1);
  background-image: none;
}

.cta-btn:hover ~ .cta-dot.pulse,
.cta-btn:focus-visible ~ .cta-dot.pulse {
  animation: none;
  background-color: hsla(var(--hue), 100%, 50%, 1);
}

.cta-btn:hover ~ .cta-dot.pulse::after,
.cta-btn:focus-visible ~ .cta-dot.pulse::after {
  animation: none;
  opacity: 1;
}

.cta-btn:active {
  filter: drop-shadow(var(--padding) 0 var(--padding) hsla(var(--hue), 100%, 50%, 1));
  transform: translate3d(0, 0, -4px);
}

.cta-btn:active .cta-btn-txt { background-color: hsla(var(--hue), 50%, 50%, 1); }

.cta-btn:active ~ .cta-dot {
  animation-play-state: paused;
  background-color: hsla(var(--hue), 100%, 50%, 1);
}

.cta-btn-wrapper:has(.cta-btn:active) {
  box-shadow:
    1px 1px 2px 0 #fff,
    2px 2px 2px #0001 inset,
    2px 2px 4px #0001 inset,
    2px 2px 8px #0001 inset,
    0 0 32px 2px hsla(var(--hue), 50%, 50%, 0.5) inset;
}

@keyframes cta-ring {
  0% { width: 18px; height: 18px; opacity: 1; }
  100% { width: 120px; height: 120px; opacity: 0; }
}

.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;
  /* Alttaki slayt bloğuyla (.slider-with-da-block-inner) aynı hizada başlasın diye
     .container'ın varsayılan 24px yatay boşluğu yerine slaytla aynı 6px kullanılır. */
  padding-left: 6px;
  padding-right: 6px;
}
.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), "Özel Günler" butonu ile sağdaki
   kargo notu arasında kalan boşlukta ortalanır. */
.category-nav-right-group {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
}
.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-links li .menu-item-disabled {
  display: inline-block;
  padding: 13px 2px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.category-nav-note {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  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; }
.account-modal-divider { display: flex; align-items: center; text-align: center; margin: 18px 0 14px; color: var(--color-text-muted); font-size: 12px; }
.account-modal-divider::before, .account-modal-divider::after { content: ""; flex: 1; height: 1px; background: var(--color-border, #e5e0d8); }
.account-modal-divider span { padding: 0 10px; }
.account-social-row { display: flex; justify-content: center; gap: 10px; }
.account-social-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--color-border, #e5e0d8);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.account-social-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,0.12); }
.account-social-facebook { color: #1877F2; }
.account-social-instagram { color: #C13584; }
.account-social-yahoo { color: #5F01D1; }
.account-social-note {
  text-align: center;
  font-size: 11.5px;
  color: var(--color-text-muted);
  margin: 10px 0 0;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.2s ease, max-height 0.2s ease, margin 0.2s ease;
}
.account-social-note.show { opacity: 1; max-height: 40px; margin: 10px 0 0; }
.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;
  aspect-ratio: 1729 / 610; /* slayt resimlerinin oranı: her ekranda kutu = resim, kırpma/boşluk yok */
  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;
  background-repeat: no-repeat;
  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: 6;
}
.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-thumbnail img.product-badge-img {
  background: none;
  border: none;
  padding: 0;
  width: 52px;
  height: 52px;
  object-fit: contain;
  transition: none;
}
.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); }
.product:hover .product-thumbnail img.product-badge-img { transform: none; }
.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: 24px;
  padding: 24px 0 16px;
  align-items: start;
}
.product-detail[hidden] { display: none; }
.product-detail-media {
  aspect-ratio: 4/5;
  background: #f2f0ec;
  border-radius: 2px;
  overflow: hidden;
}
/* JS (main.js), görsel alanının yüksekliğini sağdaki bilgi sütununun gerçek yüksekliğine
   eşitleyip buraya satır içi olarak yazar — böylece görsel, sağdaki içerik nerede bitiyorsa
   tam oraya kadar küçülür/büyür (aynı hizada biter). aspect-ratio yalnızca JS çalışmadan
   önceki/mobildeki geri dönüş (fallback) durumudur. */
.product-detail-media img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }

/* Ana görsele tıklanınca açılan tam ekran önizleme (lightbox). */
.image-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  padding: 40px;
}
.image-lightbox.open { opacity: 1; visibility: visible; }
/* Görsel + ok butonları aynı satırda, görsele bitişik ve dikeyde ortalanmış durur. */
.image-lightbox-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  height: 100%;
  min-height: 0;
}
.image-lightbox-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
  cursor: zoom-out;
  min-width: 0;
  min-height: 0;
  flex: 0 1 auto;
}
.image-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 1;
  transition: background 0.15s ease;
}
.image-lightbox-close svg { width: 42px; height: 42px; display: block; }
.image-lightbox-close:hover { background: rgba(255, 255, 255, 0.5); }
.image-lightbox-arrow {
  flex: none;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: background 0.15s ease;
}
.image-lightbox-arrow svg { width: 36px; height: 36px; display: block; }
.image-lightbox-arrow:hover { background: rgba(255, 255, 255, 0.5); }
@media (max-width: 640px) {
  .image-lightbox-stage { gap: 6px; }
  .image-lightbox-arrow { width: 52px; height: 52px; }
  .image-lightbox-arrow svg { width: 26px; height: 26px; }
  .image-lightbox-close { width: 48px; height: 48px; }
  .image-lightbox-close svg { width: 32px; height: 32px; }
}
/* Ana görselin sağında, aradaki hafif dikey çizgiden sonra küçük kare galeri resimleri —
   alt alta dizilir, sığdığı kadarı görünür; tıklanan resim ana görsele geçer. */
.product-detail-media-wrap { display: flex; align-items: flex-start; gap: 10px; }
.product-detail-media-wrap .product-detail-media { flex: 1 1 auto; min-width: 0; }
.product-thumb-divider-v { width: 1px; align-self: stretch; background: var(--color-border); opacity: 0.6; }
.product-thumb-col {
  display: flex; flex-direction: column; gap: 8px; flex: 0 0 auto;
  overflow-y: auto;
  /* Taşma ihtimaline karşı scroll çalışsın ama görünür bir çubuk çıkmasın (JS normalde
     hepsini tam sığdırdığı için burası zaten gerekmiyor, sadece güvenlik önlemi). */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.product-thumb-col::-webkit-scrollbar { width: 0; height: 0; display: none; }
.product-thumb {
  /* JS, kaç küçük resim varsa hepsi kayma olmadan tam sığacak şekilde bu ölçüyü hesaplayıp
     --thumb-size değişkenine yazar; JS çalışmazsa 56px'e düşer. */
  width: var(--thumb-size, 56px);
  height: var(--thumb-size, 56px);
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
  transition: border-color 0.2s ease, transform 0.15s ease;
  flex: none;
}
.product-thumb.active { border-color: #f2efe8; }
@media (max-width: 640px) {
  .product-detail-media-wrap { flex-direction: column; }
  .product-thumb-divider-v { display: none; }
  .product-thumb-col { flex-direction: row; flex-wrap: wrap; }
}
/* Başlığın üst kısmı, yazı tipinin doğal boşluğu yüzünden yandaki görselden biraz daha
   aşağıdan başlıyormuş gibi görünüyordu — hafifçe yukarı çekip görsel hizasına oturtuyoruz. */
.product-detail-info { margin-top: -6px; }
.product-detail-info h1 { font-size: 26px; font-weight: 800; margin: 0 0 8px; line-height: 1.15; }
.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; }
/* Fiyatın altındaki sabit tanıtım cümlesi: ürüne göre değişmez, her zaman tek satır. */
.product-detail-info .desc-fixed { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 480px) {
  .product-detail-info .desc-fixed { white-space: normal; }
}
.product-detail-tabs { margin-top: 24px; margin-bottom: 80px; }
.product-detail-tabs .tabs { justify-content: center; border-bottom: none; gap: 10px; margin-bottom: 32px; }
/* Büyük görselin başladığı yerden sağdaki butonların bittiği yere kadar (tüm container
   genişliği), 4 sekme butonu eşit genişlikte yan yana. */
.product-detail-tabs .tabs.tabs-equal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; width: 100%; }
.product-detail-tabs .tabs-equal .tab-btn { text-align: center; justify-content: center; }
@media (max-width: 640px) {
  .product-detail-tabs .tabs.tabs-equal { grid-template-columns: repeat(2, 1fr); }
}
.product-detail-tabs .tab-btn {
  border: 1.5px solid var(--color-border);
  border-radius: 0;
  padding: 9px 20px;
  top: 0;
  background: none;
  color: var(--color-text);
  box-shadow: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.product-detail-tabs .tab-btn.active {
  border: 1.5px solid var(--color-text);
  background: var(--color-text);
  color: #fff;
}
.product-detail-tabs .tab-btn:hover { border-color: var(--color-text); }
/* Tıklayınca tarayıcının kendi gri odak çerçevesi (outline) butonun üstünde kalıp
   bizim koyu/aktif stilimizle karışıyordu — fare ile tıklamada o çerçeveyi kapatıyoruz,
   klavye ile gezinirken (Tab tuşu) erişilebilirlik için yine görünür kalsın diye
   :focus-visible üzerinden ayrı bir stil bırakıyoruz. */
.product-detail-tabs .tab-btn:focus { outline: none; }
.product-detail-tabs .tab-btn:focus-visible { outline: 2px solid var(--color-text); outline-offset: 2px; }

/* Ödeme/İade/Beden/Ürün Detay butonlarına basılınca, resim+bilgi kutusunu İTMEYEN, TAM O
   KUTUNUN KAPLADIĞI ALANIN ÜSTÜNE (aynı boyut/aynı yer) hareketli (animasyonlu) bir pencere
   olarak açılan panel (bkz. main.js). "position: relative" olan #productDetailStage'in
   içine konduğu için "inset:0" ile tam o kutuyu kaplar, tüm sayfayı değil. Butonlar bu
   sayede her zaman resmin/bilgi kutusunun hemen altında, sabit yerinde kalır. */
.product-detail-stage { position: relative; }
/* Önce "her zaman tam doldur" denendi: az içerikli sekmelerde (Ürün Detay gibi, 2
   satır yazı) kutu yine de koca bir boş beyaz alan olarak kalıyordu. Sonra "içeriğe
   göre küçül" denendi: bu kez kutu küçülünce, kutunun ÖLÇÜLÜ olduğu #productDetailStage
   kutusu her sekmede farklı/garanti olmadığı için arkadaki ürün resmi karartılmadan
   açıkta kalabiliyordu. Doğrusu: pencere artık TÜM EKRANI (position:fixed) kaplayıp
   karartıyor — böylece hangi sekme açık olursa olsun hiçbir şey açıkta kalmaz — İÇİNDEKİ
   beyaz kutu ise içeriğe göre küçülüp büyüyor (az yazıda küçük, Beden Tablosu resminde
   daha büyük kutu), max-width/max-height ile de ekrandan taşması engelleniyor.
   Çok uzun bir içerik olursa overflow-y: auto son çare olarak scrollbar'a izin verir. */
.tab-modal-overlay { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; box-sizing: border-box; }
.tab-modal-overlay[hidden] { display: none; }
.tab-modal-backdrop { position: fixed; inset: 0; background: rgba(20, 18, 15, 0.5); animation: tabModalBackdropIn 0.18s ease; }
.tab-modal-box {
  position: relative;
  background: #fff;
  width: auto;
  max-width: min(1152px, 94vw);
  height: auto;
  max-height: min(675px, 90vh);
  overflow-y: auto;
  border-radius: 12px;
  padding: 44px 40px 36px;
  box-sizing: border-box;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  animation: tabModalBoxIn 0.22s cubic-bezier(.2, .8, .2, 1);
}
@media (max-width: 640px) {
  .tab-modal-box { padding: 44px 20px 24px; }
}
.tab-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  font-size: 26px;
  line-height: 1;
  color: #333;
  cursor: pointer;
  border-radius: 50%;
  transition: background-color 0.15s ease;
}
.tab-modal-close:hover { background: rgba(0, 0, 0, 0.06); }
@keyframes tabModalBackdropIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes tabModalBoxIn {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
.product-detail-altpanel[hidden] { display: none; }
.product-tab-panel { color: #333; line-height: 1.7; max-width: 100%; }
.product-tab-panel p { margin: 0 0 14px; }
.product-tab-panel p:last-child { margin-bottom: 0; }
.size-table { border-collapse: collapse; width: 100%; max-width: 360px; }
.size-table th, .size-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--color-border); font-size: 13.5px; }
.size-table th { font-weight: 700; color: var(--color-text); }
.size-table td { color: #333; }
.product-tab-panel-beden { text-align: center; max-width: none; }
/* Önceden sabit 640px genişlikti; pencere içinde bolca boş alan bırakıyordu. Artık
   kendi en-boy oranını KORUYARAK (bozulma/gerilme olmadan) pencereye sığacak kadar
   büyüyor — pencerenin kullanılabilir iç alanı ~1152x675px olduğu için burada da
   aynı üst sınırları kullanıyoruz. */
/* max-height daha önce 70vh'ydi — uzun boylu ekranlarda (ör. 1080px) bu, pencerenin
   gerçek iç yüksekliğini (~675px) AŞIP yeniden scrollbar'a yol açabiliyordu. Pencere
   boyutu ekrana göre değil ürün resmine göre belirlendiği için, viewport yerine
   pencerenin gerçek iç yüksekliğinin biraz altında sabit bir px sınırı kullanıyoruz. */
.size-chart-image { width: auto; height: auto; max-width: min(100%, 1000px); max-height: 640px; border-radius: 4px; display: block; margin: 0 auto; }
.tab-panel-image { width: auto; height: auto; max-width: min(100%, 1000px); max-height: 640px; border-radius: 4px; display: block; margin: 0 auto 16px; }
.stock-note { font-size: 15px; font-weight: 600; 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; }

/* Ürün sayfasında beden seçimi: harf beden (S/M/L...) seçilince altında otomatik
   karşılık gelen vücut ölçüsü (36, 38, 40...) vurgulanır. */
.size-select { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
/* Not: seçici ".size-select .size-option" olarak scope'landı çünkü daha aşağıdaki
   ".field label { display:block }" kuralı, sadece ".size-option" kullanılırsa (aynı
   özgüllükte olduğu için) display:flex'i eziyor ve harfler ortalanmadan sol üste yapışıyordu. */
.size-select { flex-wrap: nowrap; justify-content: space-between; gap: 0; width: 100%; }
.size-select .size-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 32px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  background: #fff;
  margin-bottom: 0;
  flex: 0 0 auto;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.size-option input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.size-option:hover { border-color: var(--color-text); }
.size-option.active { background: var(--color-text); border-color: var(--color-text); color: #fff; }
.size-option.disabled { color: var(--color-text-muted); background: var(--color-cream); cursor: not-allowed; opacity: 0.5; text-decoration: line-through; }
.size-option.disabled:hover { border-color: var(--color-border); }
.size-measure-row { display: flex; flex-wrap: nowrap; justify-content: space-between; gap: 0; width: 100%; margin-bottom: 6px; }
.size-measure-row .size-measure {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 26px;
  font-size: 12px;
  color: var(--color-text-muted);
  border-radius: 4px;
  margin-bottom: 0;
  flex: 0 0 auto;
  transition: background-color 0.2s ease, color 0.2s ease, font-weight 0.2s ease;
}
.size-measure.active { background: var(--color-cream); color: var(--color-text); font-weight: 800; }
.detail-col-right .size-select, .detail-col-right .size-measure-row { justify-content: flex-start; gap: 6px; } /* ürün detay: bedenler birbirine yakın */
.size-hint { font-size: 12px; color: var(--color-text-muted); margin: 6px 0 0; }
.size-hint.active { color: var(--color-text); font-weight: 600; }

/* Renk paleti: kare örnekler, birbirine sık (küçük boşluklu) dizilir.
   max-width, bir satırda 9 renk olacak şekilde ayarlandı (9 * 26px kare + 8 * 4px boşluk). */
.color-select { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; max-width: 266px; }
.color-select .color-option { position: relative; display: flex; cursor: pointer; margin-bottom: 0; }
.color-option input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.color-swatch {
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 5px;
  border: 1px solid var(--color-border);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
  transition: border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.color-option:hover .color-swatch { transform: scale(1.12); }
/* Renk kutucuğunun üzerine gelince rengin adını gösteren küçük balon (tooltip). */
.color-option::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%;
  transform: translate(-50%, 4px);
  background: var(--color-text);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  padding: 5px 11px;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.12s ease, transform 0.12s ease;
  z-index: 30;
}
.color-option::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translate(-50%, 4px);
  border: 5px solid transparent;
  border-top-color: var(--color-text);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.12s ease, transform 0.12s ease;
  z-index: 30;
}
.color-option:hover::after, .color-option:hover::before,
.color-option:focus-within::after, .color-option:focus-within::before {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.color-option input:checked + .color-swatch {
  border-color: var(--color-text);
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--color-text);
}
.color-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 4px 0 16px;
  padding: 4px 10px;
  border-radius: 999px;
  background: transparent;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.color-hint.active {
  color: var(--color-text);
  font-weight: 600;
  background: rgba(0, 0, 0, 0.05);
}
.color-hint .color-hint-dot {
  display: none;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  border: 1px solid rgba(0, 0, 0, 0.15);
}
.color-hint.active .color-hint-dot { display: inline-block; }

/* Renk solda, Beden/Adet/Butonlar sağda — aralarında hafif dikey ayırıcı çizgi.
   Sağ sütun dikeyde uzayıp büzülerek (space-between) alt kısmını (butonları) sol
   sütundaki renklerin alt kısmıyla aynı hizaya getirir. */
.detail-columns { display: flex; gap: 24px; align-items: stretch; flex-wrap: wrap; }
.detail-col-left { flex: 0 0 auto; }
/* Renk alanının altında fazladan boşluk kalmasın — sağdaki butonlar tam bu noktaya (renklerin
   görünen alt sınırına) hizalanabilsin diye son elemanın alt boşluğu sıfırlanır. */
.detail-col-left > .field:last-child { margin-bottom: 0; }
.detail-col-left .color-hint { margin-bottom: 0; }
.detail-col-right { flex: 1 1 240px; min-width: 220px; display: flex; flex-direction: column; justify-content: flex-start; }
/* "Beden" alanı ile altındaki Adet/buton grubu arasındaki boşluğu daralt (Adet daha yukarı). */
.detail-col-right > .field { margin-bottom: 8px; }
/* Adet + butonlar grubu, "Beden" alanının hemen altında sabit bir boşlukla durur
   (eskiden JS ile sol taraftaki renk skalasının alt hizasına zorla itiliyordu; renk
   sayısı fazla olunca aradaki boşluk çok büyüyordu). */
.purchase-bottom-group { margin-top: 0; }
/* Not: ":last-of-type" burada işe yaramaz çünkü kardeşlerin hepsi <div> (aynı etiket türü) —
   bu yüzden grup içindeki "Adet" alanı doğrudan hedefleniyor. */
.purchase-bottom-group > .field { margin-bottom: 0; }
.detail-divider-vertical { width: 1px; align-self: stretch; background: var(--color-border); opacity: 0.6; }
@media (max-width: 640px) {
  .detail-columns { flex-direction: column; }
  .detail-divider-vertical { display: none; }
}

/* Satın alma butonları: 2 satır x 2 sütunluk grid. Sütun genişlikleri grid tarafından
   otomatik olarak iki satırın da en geniş içeriğine göre hizalanır — yani "Buton 1",
   "Sepete Ekle" ile tam aynı genişlikte olur; 2. sütun da "Hemen Al" genişliğinde kalır
   ve Buton 2/3 ikilisi (içindeki ayrı flex kutusu) o sütunu tam dolduracak şekilde gerilir,
   böylece Buton 2'nin başlangıcı ve Buton 3'ün sonu "Hemen Al" ile birebir hizalı olur. */
.purchase-buttons-grid { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 8px; margin-top: 8px; align-items: stretch; }
.purchase-buttons-grid .btn { white-space: nowrap; }
.purchase-buttons-grid .btn-cta-large { padding-top: 18px; padding-bottom: 18px; font-size: 16px; margin-top: -6px; }
.purchase-row-buttons-extra-half { display: flex; gap: 8px; }
.purchase-row-buttons-extra-half .btn { flex: 1 1 50%; padding-left: 8px; padding-right: 8px; }
.btn-icon-only { padding-left: 0; padding-right: 0; }
.btn-icon-only svg { flex-shrink: 0; }

/* Favorilere eklendi/çıkarıldı onay balonu (bkz. main.js showFavoriteToast) */
.favorite-toast {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  background: #1f8a4c;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  padding: 6px 10px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 20;
}
.favorite-toast:not(.favorite-toast-added) { background: #333; }
.favorite-toast-show { opacity: 1; transform: translateX(-50%) translateY(0); }
.favorite-toast::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #1f8a4c;
}
.favorite-toast:not(.favorite-toast-added)::after { border-top-color: #333; }
@media (max-width: 640px) {
  .purchase-buttons-grid { grid-template-columns: 1fr; }
}

/* ---------- 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; }

.category-subnav { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 24px; }
.category-subnav-pill {
  padding: 7px 16px; border: 1px solid var(--color-border); border-radius: 20px;
  font-size: 13px; color: var(--color-text); transition: background 0.15s ease, color 0.15s ease;
}
.category-subnav-pill:hover { background: var(--home-accent); color: #fff; border-color: var(--home-accent); }

/* ---------- 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-media a { display: block; width: 100%; height: 100%; }
.cart-item-media-ozel img { object-fit: contain; } /* stüdyo tasarımı: baskı alanının tamamı görünsün, kesilmesin */
.cart-item-link { color: inherit; text-decoration: none; }
.cart-item-link:hover { text-decoration: underline; }
.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 ---------- */
/* ---------- Hesabım: hero, stat kartları, zengin sipariş satırları ---------- */
.account-hero {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 36px 32px;
  margin-top: 28px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-text) 0%, #2b241c 100%);
  color: #fff;
}
.account-hero-avatar {
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  border: 2px solid rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 28px;
}
.account-hero-greeting { margin: 0; font-size: 13px; opacity: 0.75; }
.account-hero-name { margin: 2px 0 6px; font-size: 24px; font-weight: 800; color: #fff; }
.account-hero-email { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 13px; opacity: 0.85; }
.account-hero-info { flex: 1; }
.account-hero-admin-link { flex-shrink: 0; background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); color: #fff; display: flex; align-items: center; gap: 8px; }
.account-hero-admin-link:hover { background: rgba(255,255,255,0.2); }

.account-stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0 8px; }
.account-stat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
a.account-stat-card-link { color: inherit; }
a.account-stat-card-link:hover { box-shadow: 0 8px 20px rgba(0,0,0,0.08); transform: translateY(-2px); }
.account-stat-icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.account-stat-icon-orders { background: #eef2ff; color: #3d4ed8; }
.account-stat-icon-delivered { background: #e7f7ed; color: #1f8a4c; }
.account-stat-icon-fav { background: #fdeef0; color: #d1365f; }
.account-stat-value { margin: 0; font-size: 20px; font-weight: 800; line-height: 1.2; }
.account-stat-label { margin: 2px 0 0; font-size: 12.5px; color: var(--color-text-muted); }
@media (max-width: 700px) { .account-stats-row { grid-template-columns: 1fr; } .account-hero { flex-wrap: wrap; } }

.account-layout { display: grid; grid-template-columns: 240px minmax(0, 640px); gap: 32px; padding: 20px 0 64px; }
.account-nav { border: 1px solid var(--color-border); border-radius: 4px; padding: 20px; height: fit-content; }
.account-nav-menu { list-style: none; margin: 0; padding: 0; }
.account-nav-menu li { margin: 0; }
.account-nav-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 6px; font-size: 14px; font-weight: 600; border-radius: 4px; color: var(--color-text); }
.account-nav-menu a:hover { background: #f4f3f1; }
.account-nav-menu a.active { background: var(--color-text); color: #fff; }
.account-nav-menu svg { flex-shrink: 0; }
.account-nav-logout { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--color-border); }
.account-nav-logout a { color: #b3261e; }
.account-nav-logout a:hover { background: #fdeceb; }
.empty-state-orders { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 56px 24px; border: 1px dashed var(--color-border); border-radius: 4px; color: var(--color-text-muted); }
.empty-state-orders svg { margin-bottom: 16px; opacity: 0.5; }
.empty-state-orders .empty-state-title { font-size: 16px; font-weight: 700; color: var(--color-text); margin: 0 0 6px; }
.empty-state-orders .empty-state-text { font-size: 13px; margin: 0 0 20px; }
.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; }
.order-item-row-rich { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.order-item-thumb-wrap { flex-shrink: 0; }
.order-item-thumb { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; border: 1px solid var(--color-border); display: block; }
.order-item-thumb-placeholder { display: flex; align-items: center; justify-content: center; background: var(--color-cream); color: var(--color-text-muted); }
.order-item-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.order-item-info a, .order-item-info > span { font-size: 13.5px; font-weight: 600; color: var(--color-text); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.order-item-info a:hover { text-decoration: underline; }
.order-item-variant { font-size: 11.5px; color: var(--color-text-muted); margin-top: 1px; }
.order-item-qty { flex-shrink: 0; font-size: 12.5px; color: var(--color-text-muted); }
.order-item-price { flex-shrink: 0; font-size: 13.5px; font-weight: 700; min-width: 72px; text-align: right; }
.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: #f2f2f2;
  --admin-card-bg: #ffffff;
  --admin-border: #e0e0e0;
  --admin-text: #161616;
  --admin-text-muted: #6b6b6b;
  --admin-cream: #f4f2ee;
  --admin-topbar-bg: #f2f2f2;
  --admin-topbar-text: #161616;
  --admin-topbar-text-muted: rgba(22,22,22,0.6);
  --admin-topbar-hover-bg: rgba(0,0,0,0.06);
  --admin-topbar-border: #e0e0e0;
  --admin-track-bg: rgba(0,0,0,0.08);
  --admin-track-border: rgba(0,0,0,0.18);
  --admin-sidebar-bg: #f2f2f2;
  --admin-sidebar-border: #e0e0e0;
  --admin-sidebar-text: #6b6b6b;
  --admin-sidebar-text-hover: #161616;
  --admin-sidebar-hover-bg: #f3f1ed;
  --admin-sidebar-plus-bg: rgba(0,0,0,0.05);
  --admin-hover: #fafaf9;
}
.admin-shell.theme-dark {
  --admin-bg: #333333;
  --admin-card-bg: #3d3d3d;
  --admin-border: #4a4a4a;
  --admin-text: #f1f1f3;
  --admin-text-muted: #b5b5b5;
  --admin-cream: #3d3d3d;
  --admin-topbar-bg: #333333;
  --admin-topbar-text: #ffffff;
  --admin-topbar-text-muted: rgba(255,255,255,0.75);
  --admin-topbar-hover-bg: rgba(255,255,255,0.1);
  --admin-topbar-border: #4a4a4a;
  --admin-track-bg: rgba(255,255,255,0.16);
  --admin-track-border: rgba(255,255,255,0.3);
  --admin-sidebar-bg: #333333;
  --admin-sidebar-border: #4a4a4a;
  --admin-sidebar-text: #9a9aa6;
  --admin-sidebar-text-hover: #f1f1f3;
  --admin-sidebar-hover-bg: #23242c;
  --admin-sidebar-plus-bg: rgba(255,255,255,0.08);
  --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: var(--admin-topbar-text);
  border-bottom: 1px solid var(--admin-topbar-border);
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.admin-topbar-brand { color: var(--admin-topbar-text); 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; color: var(--admin-topbar-text); }
.admin-topbar-right { display: flex; align-items: center; gap: 20px; font-size: 13px; }
.admin-topbar-link { color: var(--admin-topbar-text-muted); display: inline-flex; align-items: center; gap: 4px; }
.admin-topbar-link:hover { color: var(--admin-topbar-text); }
.admin-topbar-user { display: flex; align-items: center; gap: 6px; color: var(--admin-topbar-text); font-weight: 600; }
.theme-toggle-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: transparent;
  color: var(--admin-topbar-text-muted);
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 7px;
  transition: background 0.15s ease;
}
.theme-toggle-btn:hover { background: var(--admin-topbar-hover-bg); }
.theme-toggle-track {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 54px;
  height: 28px;
  flex: none;
  padding: 0 7px;
  border-radius: 999px;
  border: 1px solid var(--admin-track-border);
  background: var(--admin-track-bg);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.12);
  box-sizing: border-box;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.theme-toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  color: var(--admin-topbar-text-muted);
  opacity: 0.4;
  transform: scale(0.8);
  transition: opacity 0.25s ease, transform 0.25s ease, color 0.25s ease;
}
.theme-toggle-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(155deg, #ffffff, #e9ebf0);
  box-shadow: 0 2px 5px rgba(0,0,0,0.3), 0 0 0 1px rgba(0,0,0,0.03);
  transition: transform 0.28s cubic-bezier(.34,1.56,.64,1);
}
.admin-shell.theme-dark .theme-toggle-knob { transform: translateX(26px); background: linear-gradient(155deg, #3a3c47, #1c1d24); }
.theme-toggle-icon.icon-sun { color: #f5a623; opacity: 1; transform: scale(1); }
.admin-shell.theme-dark .theme-toggle-icon.icon-sun { color: rgba(255,255,255,0.35); opacity: 0.4; transform: scale(0.8); }
.theme-toggle-icon.icon-moon { color: rgba(22,22,22,0.3); }
.admin-shell.theme-dark .theme-toggle-icon.icon-moon { color: #a9b9f5; opacity: 1; transform: scale(1); }
.theme-toggle-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--admin-topbar-text-muted);
  white-space: nowrap;
}

.admin-layout { display: grid; grid-template-columns: 232px 1fr; flex: 1; }
/* Kenar çubuğu her zaman koyu — açık/koyu tema anahtarı sadece içerik alanını etkiler.
   Şablonda da (ve çoğu admin panelde) sidebar hep koyu, içerik hep açık renkli kalır;
   böylece "hem siyah hem beyaz" bir arada görünür. */
.admin-sidebar {
  background: var(--admin-sidebar-bg);
  border-right: 1px solid var(--admin-sidebar-border);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.admin-sidebar a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 16px;
  border-radius: 8px;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--admin-sidebar-text);
}
.admin-sidebar a:hover { background: var(--admin-sidebar-hover-bg); color: var(--admin-sidebar-text-hover); }
.admin-sidebar a.active { background: var(--admin-primary, #3b7bf5); color: #fff; }

/* Ürünler menüsü: Kadın/Erkek/Çocuk Ürünleri başlıklarının altında Tişört/Sweatshirt alt
   kategorileri, ayrıca Dijital Platform / Ev Ürünleri tek satır olarak. Tıklanan kategori
   sağda GERÇEKTEN sadece o ürünleri gösterir (bkz. urunler.php?category_id=...). */
.admin-sidebar-group { display: flex; flex-direction: column; gap: 2px; margin: 4px 0; }
.admin-sidebar-group-title { font-weight: 700; }
.admin-sidebar-group-all { font-weight: 500; opacity: 0.6; font-size: 0.8em; }
.admin-sidebar-sub { border-radius: 8px; }
.admin-sidebar-sub summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--admin-sidebar-text);
}
.admin-sidebar-sub summary::-webkit-details-marker { display: none; }
.admin-sidebar-sub summary::before {
  content: '+';
  width: 20px; height: 20px; flex: none;
  display: flex; align-items: center; justify-content: center;
  border-radius: 5px;
  background: var(--admin-sidebar-plus-bg);
  font-size: 15px; font-weight: 700; line-height: 1;
}
.admin-sidebar-sub[open] summary::before { content: '−'; }
.admin-sidebar-sub summary:hover { background: var(--admin-sidebar-hover-bg); color: var(--admin-sidebar-text-hover); }
.admin-sidebar-sub-link {
  display: block;
  padding: 13px 16px 13px 40px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--admin-sidebar-text);
}
.admin-sidebar-sub-link-flat { padding-left: 16px; }
.admin-sidebar-sub-link:hover { background: var(--admin-sidebar-hover-bg); color: var(--admin-sidebar-text-hover); }
.admin-sidebar-sub-link.active { background: var(--admin-primary, #3b7bf5); color: #fff; }

.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: 30px; }
.admin-hint { font-size: 15.5px; color: var(--admin-text-muted); margin: -4px 0 20px; line-height: 1.5; }
.admin-content .field label { font-size: 15px; font-weight: 700; }
.admin-muted { color: var(--admin-text-muted); }

.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 24px; }
.stat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--admin-card-bg);
  border: 1px solid var(--admin-border);
  padding: 22px 24px;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 10px 24px rgba(0,0,0,0.05);
}
.admin-shell.theme-dark .stat-card { box-shadow: 0 1px 2px rgba(0,0,0,0.3), 0 10px 24px rgba(0,0,0,0.35); }
.stat-card .label { font-size: 13px; color: var(--admin-text-muted); text-transform: uppercase; letter-spacing: 0.03em; }
.stat-card .value { font-size: 29px; font-weight: 800; margin-top: 4px; }

.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;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 10px 24px rgba(0,0,0,0.05);
}
.admin-shell.theme-dark .chart-card { box-shadow: 0 1px 2px rgba(0,0,0,0.3), 0 10px 24px rgba(0,0,0,0.35); }
.media-upload-box { box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 6px 16px rgba(0,0,0,0.04); }
.admin-shell.theme-dark .media-upload-box { box-shadow: 0 1px 2px rgba(0,0,0,0.3), 0 6px 16px rgba(0,0,0,0.3); }
.chart-card h3 { margin: 0 0 18px; font-size: 19px; 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: 15.5px; color: var(--admin-text); }
table.admin-table th, table.admin-table td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--admin-border); }
table.admin-table th { text-transform: uppercase; font-size: 12.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: rgba(59,123,245,0.05);
  color: var(--admin-text);
  border: 1.5px solid var(--admin-primary, #3b7bf5);
  border-radius: 8px;
}
.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;
  min-width: 38px;
  height: 38px;
  padding: 0 16px;
  border-radius: 20px;
  border: 1px solid var(--admin-border);
  background: var(--admin-card-bg);
  color: var(--admin-text);
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
}
.icon-btn:hover { background: var(--admin-cream); }
.icon-btn.danger { color: var(--color-danger); border-color: #eed4d4; }
.icon-btn.danger:hover { background: #fbeaea; }
/* Admin paneli içindeki asıl görünüm — düz, Kaydet/Sil ile aynı boyda — aşağıda
   ".admin-shell .icon-btn" bloğunda tanımlı (bkz. "Düz (flat) buton sistemi"). */

.badge-pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13.5px;
  font-weight: 700;
  background: var(--admin-cream);
  border: 1px solid var(--admin-border);
  color: var(--admin-text);
}
.admin-shell .badge-pill:not(.toggle) { background: #e7effc; border-color: transparent; color: #2d5fc4; }
.admin-shell.theme-dark .badge-pill:not(.toggle) { background: rgba(59,123,245,0.18); color: #8fb3f7; }
.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; }

/* 2026'ya uygun modern panel: tüm rozet/etiketler artık tam yuvarlak "hap" değil,
   butonlarla aynı küçük köşeli (7px) dikdörtgen — Nike/Adidas/Mavi gibi büyük
   markaların admin panellerinde görülen sade, köşeli, tutarlı etiket stili.
   Sadece admin paneli için — mağaza (müşteri) tarafı kendi stilini koruyor. */
.admin-shell .badge-pill,
.admin-shell .stock-pill,
.admin-shell .status-pill,
.admin-shell .status-select,
.admin-shell .icon-btn,
.admin-shell .action-link { border-radius: 7px; }

/* ---------- Admin: her yerde tutarlı, "profesyonel" form kontrolleri ---------- */
/* .field ile sarılmasa bile admin içindeki her input/select/textarea aynı görünsün. */
.admin-content input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.admin-content select,
.admin-content textarea {
  padding: 13px 15px;
  border: 1.5px solid var(--admin-primary, #3b7bf5);
  border-radius: 8px;
  font-size: 16px;
  background: rgba(59,123,245,0.05);
  color: var(--admin-text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.admin-content input[type="checkbox"], .admin-content input[type="radio"] { width: 20px; height: 20px; }
.admin-content input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus,
.admin-content select:focus,
.admin-content textarea:focus {
  outline: none;
  border-color: var(--admin-primary, #3b7bf5);
  background: rgba(59,123,245,0.09);
  box-shadow: 0 0 0 3px rgba(59,123,245,0.22);
}
.admin-content textarea { resize: vertical; }
/* Admin sayfalarında düz <button> de dahil olmak üzere tüm butonlar aynı ailede görünsün;
   zaten .action-link / .icon-btn / .badge-pill gibi sınıfı olanlar kendi stilini korur. */
.admin-content button:not([class]) { padding: 10px 18px; border-radius: 6px; border: 1px solid var(--admin-text); background: var(--admin-text); color: var(--admin-bg); font-weight: 600; font-size: 13px; cursor: pointer; }
.admin-content button:not([class]):hover { opacity: 0.85; }

/* ---------- Admin: kenar çubuğu ikonları ---------- */
.admin-sidebar a { display: flex; align-items: center; gap: 10px; }
.admin-sidebar a .nav-icon { width: 22px; display: flex; align-items: center; justify-content: center; flex: none; }
.admin-sidebar a .nav-icon .admin-icon { width: 21px; height: 21px; }
.admin-icon { display: block; flex-shrink: 0; }

/* ---------- Admin: kenar çubuğu üstündeki yönetici kartı ---------- */
/* Profil kartı artık tıklanabilir bir bağlantı (profil.php'ye gider) — fotoğrafı
   gerçekten buradan değiştirebilirsin, süs değil. */
.admin-sidebar-profile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px 22px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--admin-sidebar-border);
  border-radius: 8px;
  transition: background 0.15s ease;
}
.admin-sidebar-profile:hover { background: var(--admin-sidebar-hover-bg); }
.admin-sidebar-avatar {
  width: 48px; height: 48px; border-radius: 50%; flex: none; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--admin-primary, #3b7bf5); color: #fff;
  font-weight: 800; font-size: 16px; letter-spacing: 0.02em;
}
.admin-sidebar-avatar img { width: 100%; height: 100%; object-fit: cover; }
.admin-sidebar-name { font-size: 16.5px; font-weight: 700; color: var(--admin-sidebar-text-hover); line-height: 1.3; }
.admin-sidebar-role { font-size: 12px; color: var(--admin-sidebar-text); }

/* ---------- Admin: açık/koyu tema düğmesi ---------- */
/* Yeni "kayan topuzlu" switch stili yukarıda .theme-toggle-track/.theme-toggle-knob
   kurallarında tanımlı; burada ekstra bir şey gerekmiyor. */

/* ---------- Admin: stat kartları ikonlu ---------- */
.stat-card { display: flex; align-items: center; gap: 14px; }
.stat-card .stat-icon {
  width: 56px; height: 56px; border-radius: 14px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--admin-cream); color: var(--admin-text);
}
.stat-card .stat-icon.stat-icon--blue   { background: #e7effc; color: #2d5fc4; }
.stat-card .stat-icon.stat-icon--green  { background: #e5f6ec; color: #22895a; }
.stat-card .stat-icon.stat-icon--amber  { background: #fdf1df; color: #b4780f; }
.stat-card .stat-icon.stat-icon--purple { background: #f1e9fb; color: #7146c4; }
.admin-shell.theme-dark .stat-card .stat-icon.stat-icon--blue   { background: rgba(45,95,196,0.18); color: #7fa6ef; }
.admin-shell.theme-dark .stat-card .stat-icon.stat-icon--green  { background: rgba(34,137,90,0.18); color: #6bcf9b; }
.admin-shell.theme-dark .stat-card .stat-icon.stat-icon--amber  { background: rgba(180,120,15,0.2); color: #f0b84f; }
.admin-shell.theme-dark .stat-card .stat-icon.stat-icon--purple { background: rgba(113,70,196,0.2); color: #b79bf0; }

/* ---------- Admin: basit çubuk grafikler (harici kütüphane olmadan) ---------- */
.mini-bar-chart { display: flex; flex-direction: column; gap: 10px; }
.mini-bar-row { display: grid; grid-template-columns: 120px 1fr 56px; align-items: center; gap: 10px; }
.mini-bar-row .mini-bar-label { font-size: 12.5px; color: var(--admin-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-bar-row .mini-bar-track { height: 10px; border-radius: 6px; background: var(--admin-cream); overflow: hidden; }
.mini-bar-row .mini-bar-fill { height: 100%; border-radius: 6px; background: var(--admin-text); }
.mini-bar-row .mini-bar-value { font-size: 12px; color: var(--admin-text-muted); text-align: right; }

.status-donut-legend { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 14px; }
.status-donut-legend-item { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--admin-text-muted); }
.status-donut-legend-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.status-donut-bar { display: flex; height: 14px; border-radius: 8px; overflow: hidden; background: var(--admin-cream); }
.status-donut-bar span { height: 100%; }

/* ---------- Admin: kategori ağacı (üst/alt kategori yönetimi) ---------- */
.category-tree { display: flex; flex-direction: column; gap: 14px; }
.category-tree-group { margin-bottom: 0; }
.category-tree-highlight { animation: category-tree-flash 2.4s ease-out; }
.category-tree-row.category-tree-highlight { border-radius: 4px; }
@keyframes category-tree-flash {
  0%, 35% { background: #eaf6ec; box-shadow: 0 0 0 2px #8fd19e; }
  100% { background: transparent; box-shadow: none; }
}
/* Satırlar artık her zaman tek sırada, sabit genişlikli "sütunlar" halinde dizilir, böylece
   isim uzun ya da kısa olsun, Kaydet/Sil butonları ve rozetler her satırda aynı hizada durur. */
.category-tree-row { display: flex; align-items: center; gap: 14px; flex-wrap: nowrap; }
.category-tree-row + .category-tree-row { margin-top: 10px; }
.category-inline-form { display: flex; align-items: center; gap: 14px; flex: 1 1 auto; min-width: 0; }
.category-tree-lead { display: flex; align-items: center; gap: 6px; flex: 0 0 150px; }
.category-tree-icon { display: inline-flex; color: var(--admin-text-muted); flex: 0 0 auto; }
.category-tree-connector { color: var(--admin-text-muted); font-size: 16px; flex: 0 0 auto; }
.category-tree-input { flex: 0 0 240px; min-width: 0; font-weight: 600; }
.category-tree-slug-input.category-tree-input { flex-basis: 200px; }
.category-tree-row-child .category-tree-input { font-weight: 500; }
.category-tree-meta { display: flex; align-items: center; gap: 8px; flex: 0 0 200px; flex-wrap: wrap; }
.category-inline-form > .action-link { flex: 0 0 auto; margin-left: auto; }
.category-tree-parent-select { width: 100%; flex: 1 1 auto; min-width: 0; }
.category-tree-slug { font-size: 12px; }
.category-tree-children { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--admin-border); display: flex; flex-direction: column; gap: 10px; }
.category-tree-empty { margin: 12px 0 0; }

/* ---------- Admin: ürün görseli / galeri yükleme alanı ---------- */
/* Eskiden rengarenk/küçük yazılı, dağınık görünen bu bölüm artık sayfanın geri kalanıyla
   AYNI tipografi ölçeğini kullanıyor (küçük 10-11px yazılar yok) ve düz, sade kartlar halinde. */
/* Göz yorulmasın diye iki görsel kutusu yan yana değil, hep ALT ALTA — ekran genişliği
   fark etmeksizin tek sütun. */
.media-upload-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.media-upload-box {
  display: flex; gap: 18px; padding: 20px;
  border: 1px solid var(--admin-border); border-radius: 10px;
  background: var(--admin-card-bg);
}
/* İki önizleme kutusu (ana görsel / galeri) artık TAM AYNI büyüklükte — biri büyük
   biri küçük görünmesin diye — ve çok daha büyük, net görünsün diye 160x160. */
.media-upload-preview {
  width: 160px; height: 160px; flex: none; border-radius: 8px; overflow: hidden;
  background: var(--admin-cream); border: 1px solid var(--admin-border);
  display: flex; align-items: center; justify-content: center;
}
.media-upload-preview img { width: 100%; height: 100%; object-fit: cover; }
.media-upload-preview-empty { font-size: 14px; color: var(--admin-text-muted); text-align: center; padding: 4px; }
/* Modern görünüm: önizleme kutusu ve yükleme alanı (aşağıdakiler yukarıdaki sade stillerin üstüne yazar). */
.media-upload-box { align-items: flex-start; gap: 22px; padding: 22px; border-radius: 14px; }
.media-upload-box .media-upload-preview,
.media-upload-box .media-upload-gallery-preview {
  display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 8px; padding: 8px;
  border-radius: 12px; border: 1.5px solid var(--admin-primary, #3b7bf5);
  background: linear-gradient(135deg, rgba(59,123,245,0.12), rgba(59,123,245,0.03));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4);
}
.media-upload-box .media-upload-preview-empty {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.01em;
}
.media-upload-box .media-upload-preview-empty::before {
  content: ""; width: 34px; height: 34px; opacity: 0.45;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='16' rx='3'/><circle cx='9' cy='10' r='1.6'/><path d='m21 16-5-5-8 8'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='16' rx='3'/><circle cx='9' cy='10' r='1.6'/><path d='m21 16-5-5-8 8'/></svg>") center / contain no-repeat;
}
.media-upload-box .media-upload-title { font-size: 16px; letter-spacing: -0.005em; margin-bottom: 12px; }
.media-upload-box .media-upload-dropzone {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 22px 16px; text-align: center;
  border: 2px dashed var(--admin-primary, #3b7bf5); border-radius: 12px;
  background: rgba(59,123,245,0.05);
}
.media-upload-box .media-upload-dropzone .admin-icon {
  box-sizing: content-box; width: 20px; height: 20px; padding: 10px; border-radius: 50%;
  background: var(--admin-primary, #3b7bf5); color: #fff;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.media-upload-box .media-upload-dropzone:hover .admin-icon,
.media-upload-box .media-upload-dropzone.dragover .admin-icon { background: var(--admin-primary, #3b7bf5); color: #fff; transform: translateY(-2px); }
.media-upload-box .media-upload-dropzone span { font-size: 15px; font-weight: 700; color: var(--admin-text); }
.media-upload-box .media-upload-dropzone span small { font-size: 12.5px; font-weight: 500; color: var(--admin-text-muted); opacity: 1; }
.media-upload-box .media-upload-hint { font-size: 13px; margin: 14px 0 8px; }
.media-upload-box .media-upload-dropzone:hover, .media-upload-box .media-upload-dropzone.dragover { border-color: var(--admin-primary, #3b7bf5); background: rgba(59,123,245,0.06); }
.admin-shell.theme-dark .media-upload-box .media-upload-dropzone:hover { background: rgba(59,123,245,0.12); }
/* Hizalı düzen: başlık üstte; solda önizleme, sağda yükleme+yol; kutular üst ve alttan aynı hizada. */
@media (min-width: 761px) {
  .media-upload-box { display: grid; grid-template-columns: 160px 1fr; column-gap: 22px; row-gap: 0; align-items: stretch; }
  .media-upload-box .media-upload-controls { display: contents; }
  .media-upload-box .media-upload-title { grid-column: 1 / -1; grid-row: 1; }
  .media-upload-box .media-upload-preview,
  .media-upload-box .media-upload-gallery-preview { grid-column: 1; grid-row: 2 / span 3; width: 160px; height: auto; min-height: 160px; align-self: stretch; }
  .media-upload-box .media-upload-dropzone,
  .media-upload-box .media-upload-hint,
  .media-upload-box .media-upload-path { grid-column: 2; min-width: 0; }
}
.admin-shell .media-upload-box .media-upload-path, .admin-content .media-upload-box input.media-upload-path:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .admin-shell .media-upload-box textarea.media-upload-path {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px;
  color: var(--admin-text-muted); background: rgba(59,123,245,0.05); border: 1.5px solid var(--admin-primary, #3b7bf5); border-radius: 8px; box-shadow: none;
}
.media-upload-box .media-upload-path:focus { outline: none; box-shadow: 0 0 0 3px rgba(59,123,245,0.2); }
.media-upload-gallery-preview {
  width: 160px; height: 160px; flex: none; border-radius: 8px; overflow: hidden;
  background: var(--admin-cream); border: 1px solid var(--admin-border);
  display: flex; flex-wrap: wrap; align-content: flex-start; gap: 6px; padding: 6px;
}
.media-upload-gallery-preview img { width: 68px; height: 68px; object-fit: cover; border-radius: 5px; }
.media-upload-controls { flex: 1; min-width: 0; }
.media-upload-title { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.media-upload-dropzone {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  border: 1.5px dashed var(--admin-border); border-radius: 7px; padding: 13px 16px;
  font-size: 14.5px; font-weight: 600; color: var(--admin-text-muted); cursor: pointer; background: var(--admin-cream);
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.media-upload-dropzone:hover,
.media-upload-dropzone.dragover {
  border-color: var(--admin-primary, #3b7bf5);
  color: var(--admin-primary, #3b7bf5);
  background: #eef3ff;
}
.admin-shell.theme-dark .media-upload-dropzone.dragover,
.admin-shell.theme-dark .media-upload-dropzone:hover { background: rgba(59,123,245,0.12); }
.media-upload-dropzone input[type="file"] { display: none; }
.media-upload-dropzone .admin-icon { flex-shrink: 0; }
.media-upload-dropzone span small { display: block; font-weight: 400; opacity: 0.75; font-size: 12.5px; margin-top: 2px; }
.media-upload-hint { font-size: 13.5px; color: var(--admin-text-muted); margin: 12px 0 8px; line-height: 1.5; }
.media-upload-path { width: 100%; }
@media (max-width: 760px) {
  .media-upload-grid { grid-template-columns: 1fr; }
}

/* ---------- Admin: renkli, modern buton sistemi ----------
   Mağaza tarafı (.btn) siyah/köşeli/büyük harf kalsın diye admin SADECE
   .admin-shell içinde override ediliyor — storefront'a dokunulmuyor. */
.admin-shell {
  --admin-primary: #3b7bf5;
  --admin-primary-dark: #2a63d6;
  --admin-success: #22a35e;
  --admin-success-dark: #1b8a4d;
  --admin-danger-solid: #e5484d;
  --admin-danger-solid-dark: #c93c40;
}
/* Düz (flat) buton sistemi: gölge/3D kabartma yok, hover'da sadece renk koyulaşır.
   Kaydet/Sil, Düzenle/Sil gibi çift butonlar aynı min-genişlikte, yan yana durunca
   boyları birbirini tutsun diye sabit min-width + ortalanmış metin kullanılıyor. */
.admin-shell .btn,
.admin-content button:not([class]) {
  background: var(--admin-primary);
  border: none;
  border-radius: 7px;
  padding: 14px 28px;
  font-size: 15.5px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  color: #fff;
  box-shadow: none;
  transition: background 0.15s ease;
}
.admin-shell .btn:hover,
.admin-content button:not([class]):hover { background: var(--admin-primary-dark); }
.admin-shell .btn:active,
.admin-content button:not([class]):active { background: var(--admin-primary-dark); }
.admin-shell .btn-outline {
  background: transparent; color: var(--admin-primary); border: 1.5px solid var(--admin-primary);
}
.admin-shell .btn-outline:hover { background: var(--admin-primary); color: #fff; }
.admin-shell .btn-danger {
  background: var(--admin-danger-solid); border: none; color: #fff;
}
.admin-shell .btn-danger:hover { background: var(--admin-danger-solid-dark); }

/* Tablolardaki Düzenle/Sil çifti artık birbirine yapışık değil, aralarında belirgin
   (14px) bir boşluk var — "göt göte" görünmesin diye. */
.row-actions { display: flex; align-items: center; gap: 14px; }

/* Küçük satır-içi aksiyon butonları (tablo/kategori ağacındaki Kaydet, Sil, Düzenle...) */
.admin-shell .icon-btn,
.admin-shell .action-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 92px; box-sizing: border-box;
  padding: 10px 18px; border-radius: 7px; text-decoration: none; text-align: center;
  font-size: 14px; font-weight: 600; border: none;
  background: var(--admin-success); color: #fff;
  transition: background 0.15s ease;
}
.admin-shell .icon-btn { background: var(--admin-primary); }
.admin-shell .icon-btn:hover { background: var(--admin-primary-dark); }
.admin-shell .action-link:hover { background: var(--admin-success-dark); }
.admin-shell .icon-btn.danger,
.admin-shell .action-link.danger {
  background: var(--admin-danger-solid); color: #fff;
}
.admin-shell .icon-btn.danger:hover,
.admin-shell .action-link.danger:hover { background: var(--admin-danger-solid-dark); }
.admin-shell .badge-pill.toggle { border-radius: 7px; box-shadow: none; transition: background 0.15s ease; }
.admin-shell .badge-pill.toggle:hover { filter: brightness(0.95); }
.admin-shell select { box-shadow: inset 0 -1px 0 rgba(0,0,0,0.06), 0 1px 0 rgba(255,255,255,0.4); }

@media (max-width: 1000px) {
  .admin-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .stat-grid { grid-template-columns: 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: transparent;
  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 { position: relative; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px 36px; padding-top: 48px; padding-bottom: 0; }
.footer-grid > div { flex: 0 0 auto; }
.footer-contact-col { width: 300px; }
.footer-grid > .footer-link-cols { display: flex; flex-direction: column; gap: 26px; flex: 1 1 auto; min-width: 0; }
.footer-link-cols-row { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 32px 24px; width: 100%; }
/* App rozetleri kategori/link sütunlarının altında, çizginin üstünde kendi
   satırında; eskisi gibi sabit (absolute) konum değil, normal akışta. */
.footer-app-badges-row { display: flex; justify-content: center; margin-top: -36px; padding-top: 0; padding-bottom: 2px; }
.footer-app-badges { display: flex; align-items: center; gap: 10px; }
.footer-app-badges img { height: 36px; width: auto; display: block; }
.footer-trust-badges { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 16px; }
.footer-trust-badges img { height: 34px; width: auto; display: block; max-width: 100%; opacity: 0.92; }
.footer-trust-badges a:nth-child(2) img { height: 104px; }
.footer-trust-col { width: 230px; flex: 0 0 auto; display: flex; flex-direction: column; gap: 25px; }
.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: linear-gradient(90deg, #ffffff 0%, #ededed 30%, #d6d6d6 62%, #c0c0c0 100%); }
.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-info > div { display: flex; flex-direction: column; justify-content: center; }
.newsletter-icon { flex-shrink: 0; align-self: center; 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-link-cols-row > div:nth-child(1) li { margin-bottom: 13px; }
.footer-grid li a { color: inherit; }
.footer-grid li a:hover { text-decoration: underline; }
.footer-link-list li a::before, .footer-link-list li .menu-item-disabled::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 12px; font-size: 17px; color: #444; line-height: 1.6; }
.footer-desc-line { margin-bottom: 32px; }
.footer-contact-line a { color: inherit; font-weight: 700; }
.footer-support-line { display: flex; align-items: center; gap: 15px; margin: 42px 0 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 + .footer-social { margin-top: 10px; }
.footer-support-line + .footer-social { margin-top: 24px; }
.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);
  margin-top: -4px;
  padding-top: 2px;
  padding-bottom: 4px;
  font-size: 16px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  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; align-items: center; gap: 14px; margin-top: 16px; }
.payment-badges .pay-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: none;
}
.payment-badges .pay-badge svg { flex-shrink: 0; height: 64px; width: auto; display: block; }
.payment-badges .pay-applepay svg { height: 72px; }
.payment-badges .pay-discover svg { height: 56px; }

/* ---------- 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); }
}

/* Tablet aralığı (721px - 1200px): footer sütunları burada 2 satıra
   bölünüyor (Bize Ulaşın üstte, diğerleri altta) ve hero görseli kutuya
   sığdırılırken kenarlardan kırpılıyordu. Masaüstündeki sıkı/negatif
   boşluklar burada güvenli değil; bu aralık için ayrı, çakışmayan
   değerler kullanılıyor. 720px ve altı için aşağıdaki mobil blok bunun
   üzerine yazıyor. */
@media (min-width: 721px) and (max-width: 1200px) {
  .footer-app-badges-row { margin-top: 0; padding-top: 16px; padding-bottom: 8px; }
  .footer-bottom { margin-top: 0; padding-top: 12px; }
  /* Üst menüdeki masaüstü arama kutusu + ikonlar bu aralıkta sığmıyor,
     sayfayı görünmez şekilde sağa taşırıyordu (ekranda görünmüyordu ama
     düzen bozuktu). Mobildeki gibi tam genişlik arama çubuğuna geçiliyor. */
  .header-search { display: none; }
  .header-search-mobile { display: block; }
  .header-icons-secondary { display: none; }
  .header-icons { gap: 12px; }
  .category-nav { display: none; }
  .hamburger-btn { display: block; }
  /* Bültenimize Abone Olun çubuğu ortalansın. */
  .footer-newsletter-bar .footer-newsletter-inner { justify-content: center; text-align: left; }
  /* Bize Ulaşın tek başına satırda kalıp yanında boş alan bırakıyordu —
     kulaklık/telefon ve sosyal medya ikonlarını yanına alıyoruz. */
  .footer-contact-col { width: auto; max-width: 640px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 32px; border-right: none; padding-right: 0; }
  .footer-contact-text { flex: 0 1 260px; text-align: center; }
  .footer-contact-aside { flex: 0 1 260px; }
  .footer-contact-aside .footer-support-line { margin-top: 0; }
  /* E-posta satırını açıklama yazısına biraz yaklaştır. */
  .footer-contact-text .footer-desc-line { margin-bottom: 14px; }
  /* Kalite Garantisi ve %100 Güvenli rozetleri ortalansın. */
  /* Güvenli + Kalite Garantisi rozetleri sütunundan çıkıp sayfanın
     tam ortasına alınıyor. */
  .footer-trust-badges { position: absolute; top: 657px; left: 0; right: 0; align-items: center; }
  .footer-grid { padding-bottom: 180px; }
}

@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; padding-bottom: 24px; }
  .footer-contact-col { width: 100%; border-right: none; padding-right: 0; }
  .footer-link-cols { width: 100%; margin-left: 0; }
  .footer-link-cols-row > div:nth-child(3) { margin-left: 0; }
  /* Kategoriler/Alışveriş/Yardım/Neden Bizi Seçmelisiniz dörtlüsü mobilde 2x2
     ızgara halinde, "Yardım" ve "Neden Bizi Seçmelisiniz?" yan yana dursun. */
  .footer-link-cols-row > div { width: calc(50% - 16px); }
  .footer-trust-col { width: calc(50% - 16px); margin-top: 0; }
  .footer-trust-badges { display: none; }
  .footer-app-badges { gap: 6px; }
  .footer-app-badges img { height: 24px; }
  /* Kalite Garantisi kutusuyla app ikonları arasına daha fazla boşluk. */
  .container.footer-app-badges-row { margin-top: 0; padding-top: 48px; padding-bottom: 16px; justify-content: center; }
  .container.footer-bottom { margin-top: 0; flex-direction: column; align-items: center; gap: 10px; padding-top: 28px; padding-bottom: 20px; }
  .footer-bottom-left { width: 100%; min-width: 0; text-align: center; }
  .footer-rights { display: block; margin-top: 4px; }
  .footer-bottom .payment-badges { width: 100%; min-width: 0; justify-content: center; }
  /* Ödeme rozetleri: ilk satırda 3 (Visa/Mastercard/Maestro), ikinci satırda 2
     (PayPal/Apple Pay) kalacak şekilde satır başına 3 öğe sığdır. */
  .footer-bottom .payment-badges .pay-badge { flex: 0 0 calc(33.333% - 10px); justify-content: center; }
  /* Bülten kutusundaki e-posta alanı masaüstü genişliğinde (min-width:480px)
     sabitti, mobilde taşıyordu — küçültüldü. */
  .newsletter-form input[type="email"] { min-width: 0; width: 100%; }
  .newsletter-form { width: 100%; margin-right: 0; }
  .newsletter-form-row { width: 100%; }
  .newsletter-consent { font-size: 11px; }
  .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 artık altındaki "Tüm Koleksiyonu Keşfet" banner'ıyla aynı tam genişlikte (1280px
   konteynerin tamamını kaplıyor); 3 tanıtım kutusu slaytın sağında değil altında, yan yana
   bir sıra halinde duruyor. */
.slider-with-da-block-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 6px;
}
.slider-with-da-block-inner .hero { flex: none; width: 100%; min-width: 0; border-radius: 4px; }
.da-block-wrapper { width: 100%; flex-shrink: 0; }
.da-block { display: flex; flex-direction: row; gap: 12px; height: auto; }
.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 { padding: 0; }
  .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-disabled {
  cursor: not-allowed;
  opacity: 0.55;
  filter: grayscale(0.4);
}
.promo-tile-disabled:hover,
.promo-tile-disabled:focus-visible {
  transform: none;
  box-shadow: none;
}
.promo-tile:not(.promo-tile-disabled):hover,
.promo-tile:not(.promo-tile-disabled):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: 20px;
  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; }

/* "Bu Hafta Öne Çıkan Ürünler": görsel kutunun tamamını kaplasın, isim üstte overlay olsun */
.home-categories-block.top-categories-grid { grid-template-columns: repeat(6, 1fr); }
.home-categories-block .category-tile {
  position: relative;
  display: block;
  padding: 0;
  border: none;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: #eee;
  transition: box-shadow 0.15s ease;
}
.home-categories-block .category-tile:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.12); }
.home-categories-block .category-tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border-radius: 0;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.home-categories-block .category-tile:hover img { transform: scale(1.05); }
.home-categories-block .category-tile span {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 10px 10px;
  background: linear-gradient(0deg, rgba(0,0,0,0.6), transparent);
  color: #fff;
  font-size: 12.5px;
  text-align: left;
}
@media (max-width: 900px) {
  .home-categories-block.top-categories-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .home-categories-block.top-categories-grid { grid-template-columns: repeat(2, 1fr); }
}

/* "Bu Hafta Öne Çıkan Ürünler": sağdan sola kesintisiz kayan şerit (JS ile scrollLeft
   artırılarak). Liste 2 kez art arda yazdırılıp yarısına gelince başa sarılır, böylece
   kesintisiz bir döngü hissi verir. Üzerine gelince ya da fareyle sürüklerken durur;
   fare bırakılınca otomatik kaymaya kaldığı yerden devam eder. */
.featured-marquee { overflow-x: auto; scrollbar-width: none; cursor: grab; }
.featured-marquee::-webkit-scrollbar { display: none; }
.featured-marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
}
.featured-marquee.is-dragging { cursor: grabbing; }
.featured-marquee.is-dragging .featured-marquee-item { pointer-events: none; }
.featured-marquee-item {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 200px;
  padding: 0;
  border: none;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: #eee;
  transition: box-shadow 0.15s ease;
}
.featured-marquee-item:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.12); }
.featured-marquee-item img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.featured-marquee-item:hover img { transform: scale(1.05); }
.featured-marquee-item span {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 10px 10px;
  background: linear-gradient(0deg, rgba(0,0,0,0.6), transparent);
  color: #fff;
  font-size: 12.5px;
  text-align: left;
}
@keyframes featuredMarqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 620px) {
  .featured-marquee-item { width: 150px; }
}

/* "Özel Günler" üstündeki resim şeridi: normal şeritten 2 KAT GENİŞ kareler, ve üzerine
   gelince (hover) elle ileri/geri gidilebilen ok butonları. Bu varyant CSS keyframe
   animasyonu DEĞİL, JS ile scrollLeft sürüyor (bkz. main.js) — böylece ok butonları
   akışı kesmeden anlık olarak ileri/geri alabiliyor. */
.featured-marquee-xl { position: relative; overflow-x: auto; scrollbar-width: none; }
.featured-marquee-xl::-webkit-scrollbar { display: none; }
.featured-marquee-xl .featured-marquee-track { animation: none; }
.featured-marquee-item-xl { width: 800px; aspect-ratio: 800/533; border: 3px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,0.08); }
.featured-marquee-xl .featured-marquee-track { gap: 28px; }
@media (max-width: 900px) {
  .featured-marquee-item-xl { width: 500px; }
}
@media (max-width: 620px) {
  .featured-marquee-item-xl { width: 300px; }
}
.marquee-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
  font-size: 22px;
  line-height: 1;
  color: #222;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease;
}
.featured-marquee-xl:hover .marquee-arrow { opacity: 1; visibility: visible; }
.marquee-arrow-prev { left: 10px; }
.marquee-arrow-next { right: 10px; }
.marquee-arrow:hover { background: #fff; }

/* 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;
  transform: translateY(-25px);
}
.full-banner-bg {
  background: linear-gradient(120deg,#3a3a3a,#181818);
  background-size: cover;
  background-position: center;
  min-height: 480px;
}
.full-banner::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 1;
}
.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;
  z-index: 2;
}
.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; }

/* ---------- Sağ altta hareket eden satış asistanı (yapay zeka destekli) ---------- */
.sales-assistant { position: fixed; right: 22px; bottom: 90px; z-index: 850; }
.sales-assistant-bubble {
  position: relative; width: 58px; height: 58px; border-radius: 50%; color: #fff;
  border: none; display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 10px 26px rgba(0,0,0,0.3); transition: transform 0.2s;
  background: linear-gradient(135deg, #181818 0%, #181818 45%, var(--home-accent) 100%);
  background-size: 220% 220%; background-position: 0% 50%;
  animation: assistantGradientShift 5s ease-in-out infinite;
}
.sales-assistant-bubble:hover { transform: translateY(-3px) scale(1.04); }
.sales-assistant-bubble svg { width: 26px; height: 26px; position: relative; z-index: 2; }
.sales-assistant-ring {
  position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--home-accent);
  opacity: 0; animation: assistantPulseRing 2.6s ease-out infinite;
  pointer-events: none;
}
.sales-assistant-ring-delay { animation-delay: 1.3s; }
.spark-main { transform-origin: 12px 10px; animation: assistantSparkSpin 4s linear infinite; }
.spark-mini { transform-origin: 19.7px 17.3px; animation: assistantSparkTwinkle 1.6s ease-in-out infinite; }
@keyframes assistantGradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes assistantPulseRing {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(1.55); opacity: 0; }
}
@keyframes assistantSparkSpin {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.12); }
  100% { transform: rotate(360deg) scale(1); }
}
@keyframes assistantSparkTwinkle {
  0%, 100% { opacity: 0.4; transform: scale(0.75); }
  50% { opacity: 1; transform: scale(1.15); }
}
.sales-assistant-panel {
  position: absolute; right: 0; bottom: 74px; width: 340px; max-height: 480px;
  background: #fff; border-radius: 16px; box-shadow: 0 18px 46px rgba(0,0,0,0.22);
  display: flex; flex-direction: column; overflow: hidden; opacity: 0; visibility: hidden;
  transform: translateY(12px) scale(0.98); transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.sales-assistant.open .sales-assistant-panel { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.sales-assistant-header {
  display: flex; align-items: center; justify-content: space-between; padding: 14px 16px;
  background: #181818; color: #fff;
}
.sales-assistant-header-title { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.sales-assistant-header-title .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #38d35a; display: inline-block;
}
.sales-assistant-close {
  background: none; border: none; color: #fff; font-size: 20px; line-height: 1; cursor: pointer;
  opacity: 0.8;
}
.sales-assistant-close:hover { opacity: 1; }
.sales-assistant-body {
  flex: 1 1 auto; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column;
  gap: 10px; min-height: 160px; max-height: 280px;
}
.assistant-msg {
  max-width: 85%; padding: 9px 13px; border-radius: 12px; font-size: 13.5px; line-height: 1.5;
}
.assistant-msg.bot { align-self: flex-start; background: #f2f1ef; color: #181818; border-bottom-left-radius: 4px; }
.assistant-msg.user { align-self: flex-end; background: var(--home-accent); color: #fff; border-bottom-right-radius: 4px; }
.assistant-msg.bot.typing { display: flex; align-items: center; gap: 4px; padding: 11px 13px; }
.assistant-msg.bot.typing span {
  width: 6px; height: 6px; border-radius: 50%; background: #b7b4af; display: inline-block;
  animation: assistantTypingDot 1.1s infinite ease-in-out;
}
.assistant-msg.bot.typing span:nth-child(2) { animation-delay: 0.15s; }
.assistant-msg.bot.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes assistantTypingDot { 0%, 60%, 100% { opacity: 0.35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-2px); } }
.sales-assistant-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; }
.assistant-quick-btn {
  border: 1px solid #e3e1dd; background: #fff; border-radius: 999px; padding: 6px 12px;
  font-size: 12.5px; cursor: pointer; transition: border-color 0.2s, color 0.2s;
}
.assistant-quick-btn:hover { border-color: var(--home-accent); color: var(--home-accent); }
.sales-assistant-form {
  display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-top: 1px solid #ece9e5;
}
.sales-assistant-input {
  flex: 1 1 auto; border: 1px solid #e3e1dd; border-radius: 999px; padding: 9px 14px;
  font-size: 13.5px; outline: none; transition: border-color 0.2s;
}
.sales-assistant-input:focus { border-color: var(--home-accent); }
.sales-assistant-send {
  width: 36px; height: 36px; border-radius: 50%; background: #181818; color: #fff; border: none;
  display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0;
  transition: background 0.2s;
}
.sales-assistant-send:hover { background: var(--home-accent); }
@media (max-width: 480px) {
  .sales-assistant { right: 14px; bottom: 80px; }
  .sales-assistant-panel { width: calc(100vw - 28px); right: -8px; }
}
/* Balonun üstünden "Satış Asistanı" yazısı yukarı doğru çıkıp geri girer (10 sn'de bir); kutu açıkken gizli. */
.sales-assistant-label {
  position: absolute; bottom: 66px; right: 0; transform: translateY(14px);
  background: #181818; color: #fff; font-size: 12.5px; font-weight: 700; white-space: nowrap;
  padding: 7px 12px; border-radius: 999px; box-shadow: 0 6px 16px rgba(0,0,0,0.22);
  pointer-events: none; opacity: 0; animation: salesAssistantLabelUp 10s ease-in-out infinite;
}
.sales-assistant.open .sales-assistant-label { display: none; }
@keyframes salesAssistantLabelUp {
  0%, 52%, 100% { opacity: 0; transform: translateY(14px); }
  5%, 45%       { opacity: 1; transform: translateY(0); }
}

.scroll-top-btn {
  position: fixed; right: 22px; bottom: 22px; z-index: 800;
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--color-text); color: #fff;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.28);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease, box-shadow 0.15s ease;
}
.scroll-top-btn.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top-btn:hover { box-shadow: 0 8px 22px rgba(0,0,0,0.34); }
.scroll-top-btn svg { width: 26px; height: 26px; display: block; }
@media (max-width: 480px) {
  .scroll-top-btn { width: 54px; height: 54px; bottom: 14px; right: 14px; }
  .scroll-top-btn svg { width: 22px; height: 22px; }
}
.mobile-drawer.open { display: block; }

/* ===== Ana sayfa orta bölüm — sade, büyük marka esintili (Mavi/LOFT) — temiz grid + tam ekran lookbook panel ===== */
.home-section { padding: 72px 0; }
/* Masaüstü (>1200px): "Sizin İçin Seçtiklerimiz" ve altındaki her şey biraz yukarı gelsin (telefon/tablet etkilenmez). */
@media (min-width: 1201px) { .home-section.home-section-vitrin { margin-top: -80px; } }
.home-heading { display: block; border: 0; margin-bottom: 30px; max-width: none; text-align: center; }
.home-heading-center { text-align: center; }
.home-heading h2 { font-size: 26px; font-weight: 700; letter-spacing: -0.01em; text-transform: uppercase; margin: 0 0 8px; }
.home-heading-sub { margin: 0 auto; max-width: none; white-space: nowrap; font-size: 14px; color: var(--color-text-muted); line-height: 1.55; text-align: center; }
.home-tabs { justify-content: center; gap: 10px; border-bottom: none; margin-bottom: 36px; flex-wrap: wrap; }
.home-tabs .tab-btn {
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 10px 20px; top: 0; border-radius: 6px; border: 1px solid var(--color-border);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.home-tabs .tab-btn:hover { border-color: var(--home-accent); color: var(--home-accent); }
.home-tabs .tab-btn.active {
  background: var(--home-accent); border-color: var(--home-accent); color: #fff;
}
.home-tabs .tab-btn.active:hover { color: #fff; }
.home-section .product-grid { gap: 32px 20px; }
.home-section .loop-product-categories { text-transform: uppercase; font-size: 10.5px; letter-spacing: 0.06em; color: var(--color-text-muted); }
.home-section .woocommerce-loop-product__title { font-size: 14px; font-weight: 500; }
.home-section .add_to_cart_button {
  background: #181818;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  box-shadow: none;
  transition: background 0.18s ease;
}
.home-section .add_to_cart_button:hover { background: var(--home-accent); }
.home-section .add_to_cart_button:active { background: #000; }
.home-section .full-banner-text { align-items: center; text-align: center; }
.home-section .full-banner-text span:first-child { color: #fff; background: transparent; opacity: 1; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.home-section .full-banner-text h3 { font-size: 34px; font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; }
.home-section .full-banner-text .btn {
  background: #fff;
  color: var(--color-text);
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  padding: 14px 30px;
  box-shadow: none;
  transition: background 0.18s ease, color 0.18s ease;
}
.home-section .full-banner-text .btn:hover { background: var(--home-accent); color: #fff; }
.home-section .full-banner-text .btn:active { background: #7a0101; color: #fff; }

/* Kategori vitrini: küçük ürün ızgarası olmadan, tam genişlikte tek panel (lookbook) */
.home-section .category-showcase,
.home-section .category-showcase-reverse { grid-template-columns: 1fr; gap: 0; }
.home-section .category-showcase-products { display: none; }
.home-section .category-showcase-media { min-height: 62vh; border-radius: 0; }
.home-section .category-showcase-media-text { align-items: center; justify-content: center; padding: 44px; text-align: center; }
.home-section .category-showcase-media-text span { align-self: center; color: var(--home-accent); background: #fff; opacity: 1; display: inline-block; padding: 4px 12px; font-size: 12px; letter-spacing: 0.04em; text-transform: none; }
.home-section .category-showcase-media-text h3 { align-self: center; font-size: 36px; font-weight: 800; text-transform: uppercase; margin: 14px 0 20px; letter-spacing: -0.01em; }
.home-section .category-showcase-media-text .btn {
  align-self: center;
  background: #fff;
  color: var(--color-text);
  border: none;
  border-radius: 8px;
  padding: 14px 30px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  box-shadow: none;
  transition: background 0.18s ease, color 0.18s ease;
}
.home-section .category-showcase-media-text .btn:hover { background: var(--home-accent); color: #fff; }
.home-section .category-showcase-media-text .btn:active { background: #7a0101; color: #fff; }
.home-section .featured-marquee-item { border-radius: 0; }
.home-section-ozelgunler-strip { background: #f3f2f0; padding-top: 32px; padding-bottom: 32px; }
.home-section-trend-strip { background: #f3f2f0; padding-top: 32px; padding-bottom: 32px; }

@media (max-width: 860px) {
  .home-heading h2 { font-size: 22px; }
  .home-section .category-showcase-media { min-height: 46vh; }
  .home-heading-sub { white-space: normal; max-width: 520px; }
}

/* Ürün indirimi: eski fiyat üstü çizili, yeni fiyat, %oran rozeti */
.price-old { color: #8a8a8a; font-weight: 400; font-size: 0.85em; text-decoration: line-through; margin-right: 4px; }
.price-new { font-weight: 700; }
.discount-pill { display: inline-block; background: #c0392b; color: #fff; font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 4px; vertical-align: middle; margin-left: 10px; }
.product-detail-info .price .discount-pill { position: relative; top: -3px; }
.admin-table .discount-pill { position: relative; top: -2px; }
.admin-table td:has(.discount-pill) { white-space: nowrap; }

/* Alt banner (Yeni Sezon / Tüm Koleksiyonu Keşfet): kutunun yüksekliği sabit 480px yerine
   tasarım oranına (1280x480) bağlı. Masaüstünde ölçü aynı kalır (1280x480), daha dar
   ekranlarda ve telefonda görsel kesilmeden orantılı küçülür. */
.full-banner { min-height: 0; aspect-ratio: 1280 / 480; }
.full-banner-bg { min-height: 0; height: 100%; }
/* Telefonda kutu ~130px'e indiği için yazı ve buton kutuya sığacak kadar küçülür. */
@media (max-width: 720px) {
  .home-section .full-banner-text { gap: 4px; }
  .home-section .full-banner-text span:first-child { font-size: 10px; }
  .home-section .full-banner-text h3 { font-size: 18px; }
  .home-section .full-banner-text .btn { padding: 8px 16px; font-size: 12px; margin-top: 2px; }
}

/* Telefon (720px altı): copyright tek satır, ödeme ikonları tek satır;
   satış asistanı ve yukarı çık düğmesi küçültüldü. */
@media (max-width: 720px) {
  .footer-bottom-left { white-space: nowrap; font-size: 12px; }
  .footer-rights { display: inline; margin-top: 0; }
  .footer-bottom .payment-badges { flex-wrap: nowrap; gap: 8px; }
  .footer-bottom .payment-badges .pay-badge { flex: 0 1 auto; min-width: 0; }
  .footer-bottom .payment-badges .pay-badge svg,
  .footer-bottom .payment-badges .pay-applepay svg,
  .footer-bottom .payment-badges .pay-discover svg { height: 52px; max-width: 100%; }
  .sales-assistant { bottom: 66px; }
  .sales-assistant-bubble { width: 44px; height: 44px; }
  .sales-assistant-bubble svg { width: 20px; height: 20px; }
  .sales-assistant-label { bottom: 52px; }
  .scroll-top-btn { width: 42px; height: 42px; }
  .scroll-top-btn svg { width: 18px; height: 18px; }
}

/* Üst slayt + altındaki 3 kutu, sayfanın geri kalanıyla (alt banner, ürün bölümleri)
   aynı genişlikte (1280px) dursun: iç kutunun 6px'lik yan boşlukları kaldırıldı. */
.slider-with-da-block-inner { padding-left: 0; padding-right: 0; }

/* Alt banner, üstteki 3 kutuya slayt-kutu arasındaki boşluk kadar (16px) yakın dursun.
   Yalnız slayt bölümünün hemen altındaki bölüme uygulanır, diğer bölümler etkilenmez.
   (Banner'ın kendi translateY(-25px) kayması hesaba katıldı.) */
.slider-with-da-block + .home-section { padding-top: 25px; }
@media (max-width: 900px) {
  /* Burada slayt bölümünün alt iç boşluğu 0 olduğu için 16px daha eklenir. */
  .slider-with-da-block + .home-section { padding-top: 41px; }
}

/* "Sizin İçin Seçtiklerimiz": üstteki banner'a 16px yakın; başlık, alt yazı ve sekme
   butonları arasındaki boşluklar azaltıldı; sekme butonları ve yazıları küçültüldü.
   Yalnız bu bölüm etkilenir, diğer bölümlerin başlık/sekmeleri aynı kalır. */
.home-section.home-section-vitrin { padding-top: 0; margin-top: -81px; }
.home-section-vitrin .home-heading { margin-bottom: 18px; }
.home-section-vitrin .home-heading h2 { margin-bottom: 4px; }
.home-section-vitrin .home-tabs { gap: 8px; margin-bottom: 22px; }
.home-section-vitrin .home-tabs .tab-btn { font-size: 11.5px; padding: 7px 14px; }

/* "Bu Hafta Öne Çıkanlar" şeridi, üstündeki "Sizin İçin Seçtiklerimiz" ürünlerine 16px yakın dursun. */
.home-section.home-section-vitrin { padding-bottom: 16px; }

/* "Kadın · Erkek · Çocuk Koleksiyonu", üstündeki "Bu Hafta Öne Çıkanlar" şeridine 16px yakın dursun. */
.home-section-trend-strip + .home-section { padding-top: 16px; }

/* "Kadın · Erkek · Çocuk Koleksiyonu" ürünlerinin altı ile sonraki bölüm arası 16px. */
.home-section-trend-strip + .home-section { padding-bottom: 16px; }
/* "Özel Günler": üstündeki kayan resim şeridine 16px yakın dursun. */
.home-section-ozelgunler-strip:has(+ .home-section-ozelgunler-strip) { padding-bottom: 16px; }
.home-section-ozelgunler-strip + .home-section-ozelgunler-strip { padding-top: 0; }

@media (max-width: 720px) {
  /* Telefonda "Özel Günler" butonları ikişerli, eşit genişlikte ve ortalı dursun. */
  .home-section-ozelgunler-strip .home-tabs,
  .home-section-vitrin .home-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .home-section-ozelgunler-strip .home-tabs .tab-btn,
  .home-section-vitrin .home-tabs .tab-btn { display: flex; align-items: center; justify-content: center; text-align: center; }
  /* "Sizin İçin Seçtiklerimiz" butonları telefonda Özel Günler butonlarıyla aynı boyutta. */
  .home-section-vitrin .home-tabs .tab-btn { font-size: 13px; padding: 10px 20px; }
  /* Bölümün yan boşluğu diğer bölümlerle aynı olsun (butonlar ve ürünler kenara yapışmasın). */
  .home-section.home-section-vitrin { padding-left: 24px; padding-right: 24px; }
  /* Footer "Bize Ulaşın": yukarıdaki bülten çubuğuna 16px yakın; e-posta satırından itibaren ortalı. */
  .footer-grid { padding-top: 16px; }
  .footer-contact-text .footer-contact-line:last-of-type { text-align: center; }
  /* "Bize Ulaşın" başlığı, firma adı ve açıklama da telefonda ortalı; açıklama 3 satır. */
  .footer-contact-text h4, .footer-contact-text .footer-contact-line { text-align: center; }
  .footer-contact-aside .footer-support-line { justify-content: center; }
  .footer-contact-aside .footer-social { justify-content: center; }
}

/* Footer telefon satırındaki satır sonu yalnız telefonda çalışır. */
.footer-tel-br { display: none; }
@media (max-width: 720px) {
  /* Telefonda: kulaklık üstte, altında "Sorularınız mı var?", onun altında
     "Bizi 7/24 arayabilirsiniz." ve telefon numarası; hepsi ortalı. */
  .footer-contact-aside .footer-support-line { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
  .footer-tel-br { display: inline; }
}

/* Telefonda sepet tutarı ikonun ALTINDA küçük yazıyla görünsün ("Sepet" yazısı gizli);
   üst menü sıkışmasın diye logo biraz küçültüldü. */
@media (max-width: 720px) {
  .header-icon-cart { flex-direction: column; justify-content: center; height: auto; padding: 0; gap: 1px; }
  .header-icon-cart-text { display: flex; white-space: nowrap; }
  .header-icon-cart-text .cart-label { display: none; }
  .header-icon-cart-text .cart-total { margin-top: 0; font-size: 10px; line-height: 1; }
  .logo-line { width: 118px; }
  .logo-line1 { font-size: 16px; }
  .logo-line2 { font-size: 9px; }
}

/* ---------- Hakkımızda sayfası ----------
   Yazı alanı masaüstünde eskisi gibi 760px; telefonda kenarlara yapışmasın diye
   16px yan boşluk. Resim yazının sol-sağ kenarıyla aynı genişlikte. */
.container.hakkimizda-icerik { max-width: 808px; padding: 48px 24px; }
.hakkimizda-icerik .hakkimizda-resim { display: block; width: 100%; height: auto; margin: 0 0 24px; }
@media (max-width: 720px) {
  .container.hakkimizda-icerik { padding: 24px 16px; }
  .hakkimizda-icerik .hakkimizda-resim { margin-bottom: 16px; }
}

/* Footer en alt kısım: ödeme yöntemleri tek resim (images/index/footer.png) tam ortada,
   copyright onun altında, solda. Tüm ekranlarda; telefonda resim ekrana sığar. */
.container.footer-bottom { flex-direction: column; align-items: stretch; gap: 10px; }
.footer-bottom .payment-badges { order: 1; width: 100%; justify-content: center; }
.footer-bottom-left { order: 2; width: 100%; text-align: left; }
.footer-bottom .pay-image { display: block; height: 120px; width: auto; max-width: 100%; object-fit: contain; margin: 0 auto; }
@media (max-width: 720px) {
  .footer-bottom .pay-image { height: auto; max-height: 136px; }
  /* Ödeme resmi çizginin hemen altına gelsin (masaüstündeki gibi). */
  .container.footer-bottom { padding-top: 2px; }
}

/* Masaüstü: Google Play / Galaxy Store / App Store logoları alttaki çizginin üstüne
   binmesin; logolar 12px yukarı alındı, çizgi yerinde kaldı (aralarında ~10px boşluk). */
@media (min-width: 1201px) {
  .footer-app-badges-row { margin-top: -48px; padding-bottom: 14px; }
}

@media (max-width: 420px) {
  .home-section.home-section-vitrin { padding-left: 16px; padding-right: 16px; }
}

/* ---------- Yönetici paneli · Genel Bakış: kartlar + 30 günlük ciro grafiği ---------- */
/* Kartlar her ekranda 2+2 (telefonda alt alta); üzerine gelince hafifçe yükselir. */
.stat-card > div:last-child { min-width: 0; }
.stat-card { align-items: flex-start; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.stat-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(0,0,0,0.05), 0 16px 32px rgba(0,0,0,0.09); }
.admin-shell.theme-dark .stat-card:hover { box-shadow: 0 2px 4px rgba(0,0,0,0.35), 0 16px 32px rgba(0,0,0,0.45); }
.kpi-trend { margin-top: 8px; font-size: 12.5px; line-height: 1.4; color: var(--admin-text-muted); }
.kpi-trend b { font-weight: 800; margin-right: 4px; }
.kpi-trend--up b { color: #1f8a4c; }
.kpi-trend--down b { color: #c0392b; }
.kpi-trend-note { opacity: 0.8; }
.admin-shell.theme-dark .kpi-trend--up b { color: #6bcf9b; }
.admin-shell.theme-dark .kpi-trend--down b { color: #f08a80; }

.revenue-card { padding: 22px 24px 18px; }
.revenue-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.revenue-card-head h3 { margin: 0 0 4px; }
.revenue-card-sub { margin: 0; font-size: 13px; color: var(--admin-text-muted); }
.revenue-card-totals { display: flex; gap: 28px; flex-wrap: wrap; }
.revenue-card-totals div { display: flex; flex-direction: column; gap: 2px; }
.revenue-card-totals span { font-size: 12px; color: var(--admin-text-muted); text-transform: uppercase; letter-spacing: 0.03em; }
.revenue-card-totals b { font-size: 20px; font-weight: 800; }
.revenue-chart { display: grid; grid-template-columns: auto 1fr; grid-template-rows: 220px auto; column-gap: 12px; }
.revenue-chart-yaxis { display: flex; flex-direction: column; justify-content: space-between; padding: 4px 0 2px; font-size: 11.5px; color: var(--admin-text-muted); text-align: right; }
.revenue-chart-plot { position: relative; }
.revenue-chart-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.revenue-grid { stroke: var(--admin-border); stroke-width: 1; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.revenue-line { fill: none; stroke: var(--admin-primary, #3b7bf5); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.revenue-fill-top { stop-color: var(--admin-primary, #3b7bf5); stop-opacity: 0.28; }
.revenue-fill-bottom { stop-color: var(--admin-primary, #3b7bf5); stop-opacity: 0; }
.revenue-dot { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; cursor: default; }
.revenue-dot::after { content: ''; position: absolute; left: 7px; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--admin-card-bg); border: 2px solid var(--admin-primary, #3b7bf5); box-sizing: border-box; opacity: 0; transition: opacity 0.15s; }
.revenue-dot.has-sale::after { opacity: 1; }
.revenue-dot:hover::after { opacity: 1; transform: scale(1.4); }
.revenue-tip { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: #161616; color: #fff; font-size: 12px; padding: 6px 10px; border-radius: 6px; pointer-events: none; opacity: 0; visibility: hidden; transition: opacity 0.12s; z-index: 5; }
.revenue-tip b { display: block; font-size: 11px; font-weight: 600; opacity: 0.75; }
.revenue-dot:hover .revenue-tip { opacity: 1; visibility: visible; }
.revenue-chart-xaxis { grid-column: 2; display: flex; justify-content: space-between; margin-top: 8px; font-size: 11.5px; color: var(--admin-text-muted); }
@media (max-width: 720px) {
  .stat-grid { grid-template-columns: 1fr; }
  .revenue-chart { grid-template-rows: 170px auto; }
  .revenue-card-totals { gap: 18px; }
  .revenue-card-totals b { font-size: 17px; }
}

/* ---------- Admin: sol menü 3D butonlar ---------- */
.admin-shell {
  --admin-btn-top: #ffffff;
  --admin-btn-bottom: #e9e9ec;
  --admin-btn-border: #d6d6db;
  --admin-btn-edge: #c4c4cb;
  --admin-btn-shine: rgba(255,255,255,0.9);
  --admin-btn-drop: rgba(0,0,0,0.10);
}
.admin-shell.theme-dark {
  --admin-btn-top: #44454d;
  --admin-btn-bottom: #34353c;
  --admin-btn-border: #26272d;
  --admin-btn-edge: #1c1d22;
  --admin-btn-shine: rgba(255,255,255,0.10);
  --admin-btn-drop: rgba(0,0,0,0.45);
}
.admin-sidebar { gap: 9px; }
.admin-sidebar-group { gap: 7px; }
.admin-sidebar a:not(.admin-sidebar-profile),
.admin-sidebar-sub summary {
  background: linear-gradient(180deg, var(--admin-btn-top), var(--admin-btn-bottom));
  border: 1px solid var(--admin-btn-border);
  border-radius: 11px;
  box-shadow: inset 0 1px 0 var(--admin-btn-shine), 0 3px 0 var(--admin-btn-edge), 0 5px 10px var(--admin-btn-drop);
  transition: transform .12s ease, box-shadow .12s ease, background .15s ease, color .15s ease;
}
.admin-sidebar a:not(.admin-sidebar-profile):hover,
.admin-sidebar-sub summary:hover {
  background: linear-gradient(180deg, var(--admin-btn-top), var(--admin-btn-top));
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 var(--admin-btn-shine), 0 4px 0 var(--admin-btn-edge), 0 8px 14px var(--admin-btn-drop);
}
.admin-sidebar a:not(.admin-sidebar-profile):active,
.admin-sidebar-sub summary:active {
  transform: translateY(3px);
  box-shadow: inset 0 2px 4px var(--admin-btn-drop), 0 0 0 var(--admin-btn-edge);
}
/* Seçili sayfa: mavi, kabarık */
.admin-sidebar a.active:not(.admin-sidebar-profile),
.admin-sidebar a.active:not(.admin-sidebar-profile):hover {
  background: linear-gradient(180deg, #5b93ff, #2f6ee8);
  border-color: #2a62d1;
  color: #fff;
  text-shadow: 0 1px 1px rgba(0,0,0,0.25);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 3px 0 #1f4fae, 0 6px 14px rgba(47,110,232,0.35);
}
/* Alt kategoriler: aynı stil, biraz daha ince ve içeride */
.admin-sidebar-sub { display: flex; flex-direction: column; gap: 7px; }
.admin-sidebar-sub[open] { padding-bottom: 4px; }
.admin-sidebar-sub-link { margin-left: 14px; border-radius: 9px; }
.admin-sidebar-sub-link-flat { margin-left: 0; }
.admin-sidebar a.admin-sidebar-sub-link:not(.active) {
  box-shadow: inset 0 1px 0 var(--admin-btn-shine), 0 2px 0 var(--admin-btn-edge), 0 3px 6px var(--admin-btn-drop);
}
.admin-sidebar-sub summary::before { box-shadow: inset 0 1px 2px var(--admin-btn-drop); }

/* ---------- Admin: 3D (gömme) form kutuları ---------- */
.admin-shell {
  --admin-input-bg-top: #f4f4f6;
  --admin-input-bg: #ffffff;
  --admin-input-border: #cfcfd6;
  --admin-input-inset: rgba(0,0,0,0.10);
  --admin-input-shine: rgba(255,255,255,0.95);
}
.admin-shell.theme-dark {
  --admin-input-bg-top: #26272c;
  --admin-input-bg: #2f3036;
  --admin-input-border: #1f2025;
  --admin-input-inset: rgba(0,0,0,0.45);
  --admin-input-shine: rgba(255,255,255,0.07);
}
.admin-content input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.admin-content select,
.admin-content textarea,
.admin-shell .field input,
.admin-shell .field select,
.admin-shell .field textarea,
.admin-shell .media-upload-box .media-upload-path,
.admin-content .media-upload-box input.media-upload-path:not([type="checkbox"]):not([type="radio"]):not([type="file"]) {
  background: linear-gradient(180deg, var(--admin-input-bg-top), var(--admin-input-bg) 40%);
  border: 1px solid var(--admin-input-border);
  border-radius: 10px;
  box-shadow: inset 0 2px 4px var(--admin-input-inset), 0 1px 0 var(--admin-input-shine);
  color: var(--admin-text);
}
.admin-content input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):hover,
.admin-content select:hover,
.admin-content textarea:hover { border-color: #b4b4bd; }
.admin-shell.theme-dark .admin-content input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):hover,
.admin-shell.theme-dark .admin-content select:hover,
.admin-shell.theme-dark .admin-content textarea:hover { border-color: #55565e; }
.admin-content input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus,
.admin-content select:focus,
.admin-content textarea:focus,
.admin-shell .media-upload-box .media-upload-path:focus {
  outline: none;
  background: var(--admin-input-bg);
  border-color: var(--admin-primary, #3b7bf5);
  box-shadow: inset 0 2px 4px var(--admin-input-inset), 0 0 0 3px rgba(59,123,245,0.22);
}

/* ---------- Admin: hafif 3D butonlar (Kaydet, Düzenle, Sil...) ---------- */
.admin-shell .btn,
.admin-shell .btn:hover,
.admin-shell .icon-btn,
.admin-shell .icon-btn:hover,
.admin-shell .action-link,
.admin-shell .action-link:hover,
.admin-shell .badge-pill.toggle,
.admin-content button:not([class]),
.admin-content button:not([class]):hover {
  background-image: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0) 55%, rgba(0,0,0,0.06));
}
.admin-shell .btn,
.admin-shell .icon-btn,
.admin-shell .action-link,
.admin-shell .badge-pill.toggle,
.admin-content button:not([class]) {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 2px 0 rgba(0,0,0,0.16), 0 3px 7px rgba(0,0,0,0.12);
  transition: background-color .15s ease, transform .12s ease, box-shadow .12s ease;
}
.admin-shell .btn:hover,
.admin-shell .icon-btn:hover,
.admin-shell .action-link:hover,
.admin-shell .badge-pill.toggle:hover,
.admin-content button:not([class]):hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 3px 0 rgba(0,0,0,0.16), 0 6px 12px rgba(0,0,0,0.14);
}
.admin-shell .btn:active,
.admin-shell .icon-btn:active,
.admin-shell .action-link:active,
.admin-shell .badge-pill.toggle:active,
.admin-content button:not([class]):active {
  transform: translateY(2px);
  box-shadow: inset 0 2px 3px rgba(0,0,0,0.18), 0 0 0 rgba(0,0,0,0);
}
.admin-shell .btn-outline,
.admin-shell .btn-outline:hover { background-image: none; }
.admin-shell .btn-outline { box-shadow: 0 2px 0 rgba(59,123,245,0.25), 0 3px 7px rgba(0,0,0,0.08); }

/* ---------- Admin: üzerine gelince oynama yok, hafif parlama ---------- */
.admin-shell .btn:hover,
.admin-shell .icon-btn:hover,
.admin-shell .action-link:hover,
.admin-shell .badge-pill.toggle:hover,
.admin-content button:not([class]):hover,
.admin-sidebar a:not(.admin-sidebar-profile):hover,
.admin-sidebar-sub summary:hover {
  transform: none;
  filter: brightness(1.07);
}
.admin-shell .btn:hover,
.admin-shell .icon-btn:hover,
.admin-shell .action-link:hover,
.admin-shell .badge-pill.toggle:hover,
.admin-content button:not([class]):hover {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 2px 0 rgba(0,0,0,0.16), 0 0 0 3px rgba(59,123,245,0.18), 0 3px 7px rgba(0,0,0,0.12);
}
.admin-shell .icon-btn.danger:hover,
.admin-shell .action-link.danger:hover,
.admin-shell .btn-danger:hover {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 2px 0 rgba(0,0,0,0.16), 0 0 0 3px rgba(229,72,77,0.20), 0 3px 7px rgba(0,0,0,0.12);
}
.admin-shell .action-link:not(.danger):hover {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 2px 0 rgba(0,0,0,0.16), 0 0 0 3px rgba(34,163,94,0.20), 0 3px 7px rgba(0,0,0,0.12);
}
.admin-sidebar a:not(.admin-sidebar-profile):hover,
.admin-sidebar-sub summary:hover {
  color: var(--admin-sidebar-text-hover);
  box-shadow: inset 0 1px 0 var(--admin-btn-shine), 0 3px 0 var(--admin-btn-edge), 0 0 0 3px rgba(59,123,245,0.16), 0 5px 10px var(--admin-btn-drop);
}
.admin-sidebar a.active:not(.admin-sidebar-profile):hover {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 3px 0 #1f4fae, 0 0 0 3px rgba(59,123,245,0.22), 0 6px 14px rgba(47,110,232,0.35);
}

/* Üzerine gelince: dolu butonlar biraz koyulaşır, içi boş (çerçeveli) butonlar çerçeve rengiyle dolar. */
.admin-shell .btn:hover,
.admin-shell .icon-btn:hover,
.admin-shell .action-link:hover,
.admin-content button:not([class]):hover { filter: brightness(0.94); }
.admin-shell .badge-pill.toggle:hover { filter: brightness(0.93); }
.admin-sidebar a:not(.admin-sidebar-profile):hover,
.admin-sidebar-sub summary:hover { filter: brightness(0.96); }
.admin-shell.theme-dark .admin-sidebar a:not(.admin-sidebar-profile):not(.active):hover,
.admin-shell.theme-dark .admin-sidebar-sub summary:hover { filter: brightness(1.12); }
.admin-shell .btn-outline:hover {
  background-color: var(--admin-primary); color: #fff; filter: none;
}
.admin-content button[style*="transparent"][style*="3b7bf5"]:hover {
  background: var(--admin-primary, #3b7bf5) !important; color: #fff !important;
}
.admin-content button[style*="transparent"][style*="d9534f"]:hover {
  background: #d9534f !important; color: #fff !important;
}
.admin-content button:not([class]):hover { opacity: 1; }

/* ---------- Admin: görsel yükleme alanı — mavisiz, nötr 3D ---------- */
.media-upload-box .media-upload-preview,
.media-upload-box .media-upload-gallery-preview {
  border: 1px solid var(--admin-input-border);
  background: linear-gradient(180deg, var(--admin-input-bg-top), var(--admin-input-bg) 45%);
  box-shadow: inset 0 2px 5px var(--admin-input-inset), 0 1px 0 var(--admin-input-shine);
}
.media-upload-box .media-upload-dropzone,
.media-upload-box .media-upload-dropzone:hover,
.media-upload-box .media-upload-dropzone.dragover {
  border: 2px dashed #c4c4cb;
  background: linear-gradient(180deg, #fafafb, #f1f1f3);
  color: var(--admin-text);
}
.media-upload-box .media-upload-dropzone { transition: border-color .15s ease, background .15s ease; }
.media-upload-box .media-upload-dropzone:hover,
.media-upload-box .media-upload-dropzone.dragover {
  border-color: #8e8e98;
  background: linear-gradient(180deg, #f3f3f5, #e9e9ec);
}
.media-upload-box .media-upload-dropzone .admin-icon,
.media-upload-box .media-upload-dropzone:hover .admin-icon,
.media-upload-box .media-upload-dropzone.dragover .admin-icon {
  background: linear-gradient(180deg, #4a4a52, #26262b);
  color: #fff;
  transform: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 2px 0 #151518, 0 4px 9px rgba(0,0,0,0.20);
}
.media-upload-box .media-upload-dropzone:hover .admin-icon,
.media-upload-box .media-upload-dropzone.dragover .admin-icon { filter: brightness(1.15); }
.admin-shell.theme-dark .media-upload-box .media-upload-dropzone,
.admin-shell.theme-dark .media-upload-box .media-upload-dropzone:hover,
.admin-shell.theme-dark .media-upload-box .media-upload-dropzone.dragover {
  border-color: #5a5b63;
  background: linear-gradient(180deg, #3a3b41, #323338);
}
.admin-shell.theme-dark .media-upload-box .media-upload-dropzone:hover,
.admin-shell.theme-dark .media-upload-box .media-upload-dropzone.dragover {
  border-color: #8a8b94;
  background: linear-gradient(180deg, #414248, #38393f);
}
.admin-shell.theme-dark .media-upload-box .media-upload-dropzone .admin-icon {
  background: linear-gradient(180deg, #f4f4f6, #d6d6dc);
  color: #222;
  box-shadow: inset 0 1px 0 #fff, 0 2px 0 #9a9aa2, 0 4px 9px rgba(0,0,0,0.35);
}

/* ---------- Admin: yazı kutusu / liste — tıklayınca mavi değil, koyu gri ---------- */
.admin-shell .media-upload-box textarea.media-upload-path {
  background: linear-gradient(180deg, var(--admin-input-bg-top), var(--admin-input-bg) 40%);
  border: 1px solid var(--admin-input-border);
  border-radius: 10px;
  box-shadow: inset 0 2px 4px var(--admin-input-inset), 0 1px 0 var(--admin-input-shine);
}
.admin-content input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus,
.admin-content select:focus,
.admin-content textarea:focus,
.admin-shell .field input:focus,
.admin-shell .field select:focus,
.admin-shell .field textarea:focus,
.admin-shell .media-upload-box .media-upload-path:focus,
.admin-shell .media-upload-box textarea.media-upload-path:focus {
  outline: none;
  background: var(--admin-input-bg);
  border-color: #6e6e78;
  box-shadow: inset 0 2px 4px var(--admin-input-inset), 0 0 0 3px rgba(40,40,48,0.12);
}
.admin-shell.theme-dark .admin-content input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus,
.admin-shell.theme-dark .admin-content select:focus,
.admin-shell.theme-dark .admin-content textarea:focus,
.admin-shell.theme-dark .media-upload-box textarea.media-upload-path:focus {
  border-color: #9a9aa4;
  box-shadow: inset 0 2px 4px var(--admin-input-inset), 0 0 0 3px rgba(255,255,255,0.10);
}
.admin-content select option:checked { background: #e4e4e8; color: #161616; }

/* ---------- Admin: açılır listeler — mavisiz, gri 3D menü ----------
   Chrome/Edge 135+ listeyi baştan çizmemize izin veriyor; eski tarayıcılar ve Firefox
   normal listeyi göstermeye devam eder (bozulmaz). */
@supports (appearance: base-select) {
  .admin-content select,
  .admin-content select::picker(select) { appearance: base-select; }
  .admin-content select {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    cursor: pointer;
  }
  .admin-content select::picker-icon {
    content: "";
    width: 10px; height: 10px; flex: none;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: translateY(-3px) rotate(45deg);
    opacity: 0.6;
    transition: transform .15s ease;
  }
  .admin-content select:open::picker-icon { transform: translateY(2px) rotate(-135deg); }
  .admin-content select::picker(select) {
    margin-top: 6px;
    padding: 6px;
    border: 1px solid var(--admin-input-border);
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff, #f4f4f6);
    color: var(--admin-text);
    box-shadow: inset 0 1px 0 #fff, 0 3px 0 #c9c9d0, 0 14px 28px rgba(0,0,0,0.16);
  }
  .admin-shell.theme-dark .admin-content select::picker(select) {
    background: linear-gradient(180deg, #44454d, #36373e);
    border-color: #26272d;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 3px 0 #1c1d22, 0 14px 28px rgba(0,0,0,0.5);
  }
  .admin-content select option {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 15px;
    color: var(--admin-text);
    background: transparent;
    cursor: pointer;
  }
  .admin-content select option::checkmark { content: "✓"; font-weight: 700; opacity: 0.7; order: 1; margin-left: auto; }
  .admin-content select option:hover,
  .admin-content select option:focus-visible {
    outline: none;
    background: linear-gradient(180deg, #ffffff, #e9e9ec);
    border-color: #d6d6db;
    box-shadow: inset 0 1px 0 #fff, 0 2px 0 #c4c4cb, 0 3px 6px rgba(0,0,0,0.08);
  }
  .admin-content select option:checked {
    background: linear-gradient(180deg, #5a5a62, #3a3a41);
    border-color: #2c2c32;
    color: #fff;
    font-weight: 600;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 2px 0 #1e1e22;
  }
  .admin-shell.theme-dark .admin-content select option:hover,
  .admin-shell.theme-dark .admin-content select option:focus-visible {
    background: linear-gradient(180deg, #55565e, #46474e);
    border-color: #2a2b31;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 2px 0 #1c1d22;
  }
  .admin-shell.theme-dark .admin-content select option:checked {
    background: linear-gradient(180deg, #f2f2f4, #d4d4da);
    border-color: #9a9aa2;
    color: #1a1a1a;
  }
}


/* Telefonda sağ alttaki yüzen butonlar (Satış Asistanı + yukarı çık) sayfanın en altındaki
   uygulama logolarını, ödeme görselini ve copyright yazısını kapatmasın: footer'ın altına
   butonlar kadar boşluk bırakılır. */
@media (max-width: 720px) {
  .site-footer { padding-bottom: 150px; }
}

/* ---------- Admin paneli: telefon ve tablet ----------
   900px ve altı: sol menü gizlenir, üst çubuktaki "Menü" butonuyla açılır; içerik boşlukları küçülür.
   560px ve altı: üst çubuk sadeleşir (tema yazısı ve "Yönetici Paneli" gizlenir). */
.admin-shell .admin-topbar-right .admin-menu-btn { display: none; }
@media (max-width: 900px) {
  .admin-shell .admin-topbar { height: auto; min-height: 64px; padding: 10px 14px; gap: 10px; }
  .admin-shell .admin-topbar-right { gap: 12px; }
  .admin-shell .admin-topbar-right .admin-menu-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 12px; border-radius: 10px; cursor: pointer;
    font: inherit; font-size: 14px; font-weight: 700;
    color: var(--admin-topbar-text);
    background: linear-gradient(180deg, var(--admin-btn-top), var(--admin-btn-bottom));
    border: 1px solid var(--admin-btn-border);
    box-shadow: inset 0 1px 0 var(--admin-btn-shine), 0 2px 0 var(--admin-btn-edge);
  }
  .admin-shell.menu-open .admin-menu-btn { filter: brightness(0.93); }
  .admin-shell .admin-sidebar { display: none; }
  .admin-shell.menu-open .admin-sidebar {
    display: flex; flex-direction: column; overflow: visible;
    padding: 14px; border-right: none; border-bottom: 1px solid var(--admin-sidebar-border);
  }
  .admin-layout { grid-template-columns: minmax(0, 1fr); }
  .admin-content { padding: 20px 16px 40px; min-width: 0; }
  .admin-content h1 { font-size: 24px; }
  .admin-content .chart-card { overflow-x: auto; }
  .admin-toolbar { flex-wrap: wrap; gap: 10px; }
  .admin-content .field-row[style*="repeat(7"] { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}
@media (max-width: 560px) {
  .admin-shell .theme-toggle-label,
  .admin-shell .admin-topbar-right .admin-topbar-user { display: none; }
  .admin-shell .admin-topbar-right .admin-topbar-link { font-size: 0; gap: 0; padding: 6px; }
  .admin-shell .admin-topbar-logo .logo-line { width: 108px; }
  .admin-shell .admin-topbar-logo .logo-line1 { font-size: 17px; }
  .admin-shell .admin-topbar-logo .logo-line2 { font-size: 9.5px; }
  .admin-shell .admin-topbar-right .admin-menu-btn span { display: none; }
  .admin-content .field-row[style*="repeat(7"] { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
