/* ===================================================
   Mini Wonders - Frontend CSS
   Premium e-commerce design system
   v2.0 — 2026
=================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand */
  --accent:        #b88a5e;
  --accent-dark:   #8d6440;
  --accent-light:  #d4ad7e;
  --accent-soft:   #fbf3e9;
  --gold:          #c9a274;
  --gold-light:    #e9c576;
  --rose:          #d49b9b;

  /* Neutrals */
  --bg:            #faf7f3;
  --bg-soft:       #f5efe6;
  --surface:       #ffffff;
  --surface-2:     #fdfaf6;
  --text:          #1f1a16;
  --text-2:        #3d342c;
  --muted:         #6b5d52;
  --muted-2:       #a59585;
  --line:          #e9dfd1;
  --line-soft:     #f0e8db;

  /* Semantic */
  --success:       #3a8a55;
  --success-soft:  #dff2e6;
  --danger:        #b54040;
  --danger-soft:   #fde3e0;
  --warning:       #c08a23;
  --warning-soft:  #fcf2da;
  --info:          #3c6e9c;
  --info-soft:     #dceaf7;

  /* Shape */
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;

  /* Shadow */
  --shadow-xs:  0 1px 2px rgba(60,40,15,0.04);
  --shadow-sm:  0 2px 8px rgba(80,50,20,0.06);
  --shadow:     0 6px 20px rgba(80,50,20,0.08);
  --shadow-md:  0 10px 30px rgba(80,50,20,0.10);
  --shadow-lg:  0 18px 48px rgba(80,50,20,0.14);
  --shadow-glow:0 0 0 4px rgba(184,138,94,0.18);

  /* Type */
  --font:         'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-heading: 'Playfair Display', 'Georgia', serif;

  /* Easing */
  --ease-out:    cubic-bezier(.16,.84,.44,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);

  /* Layout */
  --container:    1280px;
  --header-h:     128px;
  --content-pad:  20px;

  /* Z-layers */
  --z-base:    1;
  --z-sticky:  120;
  --z-overlay: 50;
  --z-modal:   100;
  --z-toast:   200;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent-dark); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--accent); }
button { font-family: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--text);
  margin: 0 0 .6em;
  line-height: 1.2;
}
h1 { font-size: clamp(30px, 4.5vw, 48px); }
h2 { font-size: clamp(24px, 3.2vw, 36px); }
h3 { font-size: clamp(18px, 2vw, 22px); }
h4 { font-size: 16px; }

p { margin: 0 0 1em; }
small { font-size: 12.5px; }

/* Focus ring */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Selection */
::selection { background: var(--accent); color: #fff; }

/* Scrollbar (subtle) */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(184,138,94,0.3); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(184,138,94,0.5); }

/* ---------- Container ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--content-pad);
}
.flex { display: flex; gap: 10px; align-items: center; }
.flex.between { justify-content: space-between; }
.flex.center { justify-content: center; }
.flex.wrap { flex-wrap: wrap; }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-muted  { color: var(--muted); }
.nowrap      { white-space: nowrap; }
.hidden      { display: none !important; }
.mt-1{margin-top:10px} .mt-2{margin-top:20px} .mt-3{margin-top:30px}
.mb-1{margin-bottom:10px} .mb-2{margin-bottom:20px}

/* ---------- Topbar ---------- */
.topbar {
  background: var(--text);
  color: #d6c9b8;
  font-size: 12px;
  padding: 8px 0;
  letter-spacing: .3px;
}
.topbar a { color: #f0e1ce; transition: color .2s; }
.topbar a:hover { color: var(--gold-light); }
.topbar .container { gap: 12px; flex-wrap: wrap; }

/* ---------- Site header (sticky + scroll shrink) ---------- */
.site-header {
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  isolation: isolate;
  transition: padding .25s var(--ease-out), background .2s, box-shadow .2s;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 4px 24px rgba(80,50,20,0.08);
}
.header-row {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px 20px;
  transition: padding .25s var(--ease-out);
}
.site-header.scrolled .header-row { padding: 8px 20px; }
.site-header.scrolled .logo img   { max-height: 42px; transition: max-height .25s var(--ease-out); }
.site-header.scrolled .logo-text  { font-size: 18px; }
.site-header.scrolled .logo small { display: none; }
.site-header.scrolled .main-nav a { padding: 10px 0; }
.site-header.scrolled .cart-btn,
.site-header.scrolled .user-btn   { width: 38px; height: 38px; }
.logo img { transition: max-height .25s var(--ease-out); }
.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 240px;
  text-decoration: none;
  line-height: 1;
  padding: 0;
}
.logo img {
  max-height: 56px;
  max-width: 220px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  background: transparent;
  /* Transparan PNG'lerde JPEG artefakt görünürse */
  image-rendering: -webkit-optimize-contrast;
}
.auth-header .logo img { max-height: 44px; max-width: 180px; }
.logo-text {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: .3px;
  line-height: 1;
}
.logo small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 4px;
  display: block;
}

/* Search bar */
.search {
  display: flex;
  align-items: center;
  background: #fbf6ef;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-full);
  overflow: hidden;
  max-width: 480px;
  width: 100%;
  justify-self: center;
  transition: all .2s var(--ease-out);
}
.search:focus-within {
  border-color: var(--accent);
  background: #fff;
  box-shadow: var(--shadow-glow);
}
.search input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 11px 18px;
  font-size: 14px;
  outline: none;
  color: var(--text);
}
.search button {
  border: 0;
  background: transparent;
  padding: 8px 16px;
  color: var(--accent-dark);
  cursor: pointer;
  transition: color .15s;
}
.search button:hover { color: var(--accent); }

/* Header actions */
.header-actions { display: flex; gap: 10px; align-items: center; }
.cart-btn, .user-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--text);
  text-decoration: none;
  transition: all .22s var(--ease-out);
}
.cart-btn:hover, .user-btn:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.cart-btn:active, .user-btn:active { transform: scale(0.96); }
.cart-badge {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--accent);
  color: #fff;
  font-size: 11px; font-weight: 700;
  min-width: 20px; height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}

.menu-toggle, .search-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: var(--text);
  border-radius: 50%;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.menu-toggle:hover, .search-toggle:hover { background: var(--bg-soft); }
.search-toggle { display: none; }

.nav-close {
  display: none;
  position: absolute;
  top: 12px; right: 14px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
  color: var(--text);
  z-index: 5;
}

/* Mobile arama paneli */
.mobile-search { display: none; }

/* Mobile cart FAB */
.mobile-cart-fab {
  display: none;
  position: fixed;
  right: 18px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  align-items: center;
  justify-content: center;
  z-index: 90;
  box-shadow: 0 8px 24px rgba(31,26,22,0.32);
  transition: transform .25s var(--ease-spring);
  text-decoration: none;
}
.mobile-cart-fab:hover { color: #fff; transform: scale(1.05); }
.mobile-cart-fab .cart-badge {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 22px;
  height: 22px;
  border-radius: 11px;
  padding: 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--text);
}

/* Main nav */
.main-nav {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  display: inline-block;
  padding: 14px 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  border-bottom: 2px solid transparent;
  transition: all .22s var(--ease-out);
}
.main-nav a:hover {
  color: var(--accent-dark);
  border-bottom-color: var(--accent);
}

/* ---------- Site main ---------- */
.site-main {
  min-height: 50vh;
  padding-bottom: 60px;
}

/* ---------- Alerts ---------- */
.flash-container { margin-top: 16px; margin-bottom: 2px; }
.alert {
  padding: 13px 16px;
  border-radius: var(--radius-lg);
  margin: 12px 0;
  font-size: 13.5px;
  line-height: 1.55;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  animation: mwFadeUp .35s var(--ease-out) both;
}
.alert::before {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex: 0 0 24px;
  margin-top: 1px;
}
.alert-success { background: linear-gradient(135deg, #eefaf2 0%, #dff2e6 100%); color: #1f5e36; border-color: rgba(58,138,85,.22); }
.alert-success::before { content: '✓'; background: rgba(58,138,85,.12); color: var(--success); }
.alert-error, .alert-danger { background: linear-gradient(135deg, #fff3f0 0%, #fde3e0 100%); color: #7a2020; border-color: rgba(181,64,64,.20); }
.alert-error::before, .alert-danger::before { content: '!'; background: rgba(181,64,64,.12); color: var(--danger); }
.alert-warning { background: linear-gradient(135deg, #fff8e8 0%, #fcf2da 100%); color: #7a5410; border-color: rgba(192,138,35,.22); }
.alert-warning::before { content: '!'; background: rgba(192,138,35,.13); color: var(--warning); }
.alert-info { background: linear-gradient(135deg, #eef6ff 0%, #dceaf7 100%); color: #1f3d5e; border-color: rgba(60,110,156,.22); }
.alert-info::before { content: 'i'; background: rgba(60,110,156,.12); color: var(--info); font-family: Georgia, serif; }
.minimal-layout .flash-container { max-width: 492px; margin: 2px auto 0; padding-left: 16px; padding-right: 16px; }
.minimal-layout .flash-container .alert { margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  transition: all .25s var(--ease-out);
  position: relative;
  overflow: hidden;
  user-select: none;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.22) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform .55s var(--ease-out);
  pointer-events: none;
}
.btn:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn:hover::after { transform: translateX(100%); }
.btn:active { transform: translateY(0); }
.btn:disabled, .btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
.btn:disabled:hover { box-shadow: none; }
.btn.outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--text);
}
.btn.outline:hover { background: var(--text); color: #fff; }
.btn.accent-outline {
  background: transparent;
  color: var(--accent-dark);
  border: 1.5px solid var(--accent);
}
.btn.accent-outline:hover { background: var(--accent); color: #fff; }
.btn.dark { background: var(--text); }
.btn.dark:hover { background: #000; }
.btn.muted {
  background: transparent;
  color: var(--muted);
  border: 1.5px solid var(--line);
}
.btn.muted:hover { background: var(--bg-soft); color: var(--text); border-color: var(--muted); }
.btn.danger { background: var(--danger); }
.btn.danger:hover { background: #8c2c2c; }
.btn.sm { padding: 9px 18px; font-size: 12px; }
.btn.full { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 78% 18%, rgba(201,162,116,.22) 0, transparent 30%),
    radial-gradient(circle at 8% 88%, rgba(212,155,155,.16) 0, transparent 34%),
    linear-gradient(135deg, #fffaf3 0%, #f3e4cf 52%, #ead5b8 100%);
  padding: 76px 0 88px;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  top: -140px; right: -90px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(184,138,94,0.23) 0%, transparent 66%);
  animation: mwFloat 8s ease-in-out infinite;
}
.hero::after {
  bottom: -170px; left: -110px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(212,155,155,0.20) 0%, transparent 66%);
  animation: mwFloat 11s ease-in-out infinite reverse;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, .95fr);
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-text .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3.4px;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 18px;
  padding: 7px 15px;
  background: rgba(255,255,255,0.68);
  border: 1px solid rgba(184,138,94,.18);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xs);
  animation: mwFadeUp .6s var(--ease-out) both;
}
.hero-text .eyebrow::before { content: '✦'; letter-spacing: 0; color: var(--gold); }
.hero-text h1 {
  max-width: 610px;
  line-height: .98;
  margin-bottom: 20px;
  letter-spacing: -.03em;
  animation: mwFadeUp .65s .1s var(--ease-out) both;
}
.hero-text p {
  font-size: 17px;
  color: var(--text-2);
  margin-bottom: 28px;
  max-width: 520px;
  animation: mwFadeUp .65s .2s var(--ease-out) both;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-text .btn { animation: mwFadeUp .65s .3s var(--ease-out) both; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  animation: mwFadeUp .65s .35s var(--ease-out) both;
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(184,138,94,.18);
  color: var(--text-2);
  font-size: 12px;
  font-weight: 600;
}
.hero-trust span::before { content: '✓'; color: var(--success); font-weight: 800; }
.hero-image { text-align: center; position: relative; animation: mwFadeUp .7s .15s var(--ease-out) both; }
.hero-image img { max-height: 460px; margin: 0 auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero-showcase {
  position: relative;
  min-height: 430px;
  margin-bottom: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: mwFadeUp .7s .15s var(--ease-out) both;
}
.hero-showcase::before {
  content: '';
  position: absolute;
  inset: 36px 10px 20px;
  border-radius: 38% 62% 55% 45% / 42% 46% 54% 58%;
  background: rgba(255,255,255,.42);
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 28px 80px rgba(80,50,20,.10);
}
.hero-showcase-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(.2px);
  background: linear-gradient(135deg, rgba(201,162,116,.55), rgba(255,255,255,.2));
}
.hero-showcase-orb.orb-one { width: 18px; height: 18px; top: 72px; left: 62px; animation: mwTwinkle 3s ease-in-out infinite; }
.hero-showcase-orb.orb-two { width: 12px; height: 12px; right: 76px; bottom: 88px; animation: mwTwinkle 4s ease-in-out infinite .8s; }
.hero-product-card, .hero-showcase-card, .hero-jewel-card {
  position: absolute;
  z-index: 2;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(233,223,209,.9);
  border-radius: 26px;
  box-shadow: 0 20px 60px rgba(80,50,20,.13);
  backdrop-filter: blur(12px);
}
.hero-product-card {
  width: 205px;
  overflow: hidden;
  color: var(--text);
  transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out);
}
.hero-product-card:hover { transform: translateY(-6px); box-shadow: 0 26px 68px rgba(80,50,20,.18); color: var(--text); }
.hero-card-1 { width: 232px; left: 32px; top: 28px; transform: rotate(-4deg); }
.hero-card-1:hover { transform: rotate(-4deg) translateY(-6px); }
.hero-card-2 { width: 256px; right: 38px; top: 86px; z-index: 3; }
.hero-card-3 { width: 218px; left: 138px; bottom: 38px; transform: rotate(3deg); }
.hero-card-3:hover { transform: rotate(3deg) translateY(-6px); }
.hero-product-image {
  display: block;
  aspect-ratio: 1 / 1;
  background: var(--bg-soft) center/cover no-repeat;
  border-bottom: 1px solid var(--line-soft);
}
.hero-product-meta { display: block; padding: 13px 15px 15px; }
.hero-product-meta strong {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: var(--font-heading);
  font-size: 15px;
  line-height: 1.25;
}
.hero-product-meta small { color: var(--accent-dark); font-weight: 700; margin-top: 4px; display: block; }
.hero-showcase-card.hero-custom-image {
  position: relative;
  width: min(430px, 100%);
  padding: 14px;
}
.hero-showcase-card.hero-custom-image img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 20px;
}
.hero-jewel-card {
  position: relative;
  width: min(420px, 92%);
  padding: 24px;
}
.hero-note {
  position: absolute;
  z-index: 4;
  left: 50%;
  right: auto;
  bottom: -28px;
  transform: translateX(-50%);
  box-sizing: border-box;
  width: min(410px, calc(100% - 64px));
  max-width: 100%;
  min-width: 0;
  padding: 11px 16px;
  border: 1px solid rgba(222,205,181,.82);
  border-radius: 22px;
  background: rgba(255,250,244,.88);
  color: var(--text);
  box-shadow: 0 16px 44px rgba(80,50,20,.12);
  backdrop-filter: blur(14px);
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  grid-template-areas:
    "icon title"
    "icon subtitle";
  column-gap: 10px;
  row-gap: 1px;
  align-items: center;
  text-align: left;
  overflow: hidden;
  pointer-events: none;
}
.hero-note::before {
  content: '✦';
  grid-area: icon;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(201,162,116,.16);
  color: var(--accent-dark);
  font-size: 13px;
  box-shadow: inset 0 0 0 1px rgba(201,162,116,.18);
}
.hero-note strong {
  grid-area: title;
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--text);
  line-height: 1.15;
}
.hero-note span {
  grid-area: subtitle;
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section.compact { padding: 50px 0; }
.section-header {
  text-align: center;
  margin-bottom: 44px;
}
.section-header .eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 14px;
}
.section-header h2 { margin: 0; }
.section-header p {
  color: var(--muted);
  margin: 10px auto 0;
  max-width: 580px;
}

/* ---------- Product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px;
}
.product-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid transparent;
  transition: all .35s var(--ease-out);
  animation: mwFadeUp .5s var(--ease-out) both;
}
.product-card:hover {
  border-color: var(--line);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}
.product-card .image {
  display: block;
  aspect-ratio: 4/5;
  background: var(--bg-soft) center/cover no-repeat;
  position: relative;
  overflow: hidden;
}
.product-card .product-image-link {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  position: relative;
  z-index: 1;
}
.product-card .product-image-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.product-card .image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(31,26,22,0.15) 100%);
  opacity: 0;
  transition: opacity .35s var(--ease-out);
  z-index: 2;
  pointer-events: none;
}
.product-card:hover .image::before { opacity: 1; }
.product-card .image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.product-card:hover .image img { transform: scale(1.06); }

.product-card .badges {
  position: absolute;
  top: 12px; left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 3;
}
.product-card .badge {
  display: inline-block;
  padding: 5px 11px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .7px;
  text-transform: uppercase;
  background: #fff;
  color: var(--text);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}
.product-card .badge.sale       { background: var(--accent); color: #fff; }
.product-card .badge.new        { background: var(--text); color: #fff; }
.product-card .badge.bestseller { background: linear-gradient(135deg, var(--gold), var(--accent-dark)); color: #fff; }

.product-card .wishlist {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: 0;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-6px);
  transition: all .3s var(--ease-out);
  z-index: 5;
  color: var(--muted);
}
.product-card:hover .wishlist { opacity: 1; transform: translateY(0); }
.product-card .wishlist:hover { color: var(--danger); background: #fff; }
.product-card .wishlist.active { color: var(--danger); opacity: 1; transform: translateY(0); }
.product-card .wishlist svg {
  position: relative;
  z-index: 2;
  fill: none;
  transform-origin: center;
  transition: fill .2s var(--ease-out), transform .25s var(--ease-spring), filter .25s var(--ease-out);
}
.product-card .wishlist.active svg {
  fill: currentColor;
  filter: drop-shadow(0 4px 10px rgba(180, 60, 60, .28));
}
.product-card .wishlist.is-loading {
  pointer-events: none;
  opacity: 1;
  transform: translateY(0) scale(.96);
}
.product-card .wishlist.is-popping {
  animation: mwHeartPop .58s var(--ease-spring) both;
}
.product-card .wishlist-burst {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 1;
}
.product-card .wishlist-burst i {
  position: absolute;
  left: -3px;
  top: -3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0;
  transform: translate(0,0) scale(.35);
  animation: mwWishlistParticle .7s var(--ease-out) forwards;
  animation-delay: var(--delay, 0ms);
  box-shadow: 0 0 0 3px rgba(180, 60, 60, .10);
}

.product-card .quick-add {
  position: absolute;
  bottom: 14px; left: 14px; right: 14px;
  opacity: 0;
  transform: translateY(10px);
  transition: all .3s var(--ease-out);
  z-index: 5;
}
.product-card:hover .quick-add { opacity: 1; transform: translateY(0); }
.product-card .quick-add button {
  width: 100%;
  background: #fff;
  border: 0;
  padding: 12px 16px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  color: var(--text);
  transition: all .25s var(--ease-out);
}
.product-card .quick-add button:hover { background: var(--text); color: #fff; transform: translateY(-1px); }
.product-card .quick-add button:disabled { opacity: 0.7; cursor: not-allowed; }

@media (hover: none), (pointer: coarse) {
  .product-card .wishlist {
    opacity: 1;
    transform: translateY(0);
    width: 40px;
    height: 40px;
  }
  .product-card .quick-add {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card .info {
  padding: 18px 6px 8px;
  text-align: left;
}
.product-card .info .cat {
  font-size: 10.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.product-card .info h3 {
  font-family: var(--font);
  font-size: 14.5px;
  font-weight: 500;
  margin: 0 0 10px;
  color: var(--text);
  line-height: 1.4;
  min-height: 2.8em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card .info h3 a { color: inherit; }
.product-card .info h3 a:hover { color: var(--accent-dark); }
.product-card .price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.product-card .price .current { font-size: 18px; font-weight: 700; color: var(--text); }
.product-card .price .old { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.product-card .price .discount {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

/* ---------- Category cards (responsive auto-fit, eşit dağılım) ---------- */
.category-grid {
  display: grid;
  /* auto-fit kullanarak son satırda yalnız kart kalmasını engelle */
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
/* 2 kart varsa düz 2'li, 3 kart 3'lü, 4 kart 4'lü dur, 5+ kart için auto-fit */
@media (min-width: 1100px) {
  .category-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .category-grid:has(> :nth-child(6):last-child) { grid-template-columns: repeat(3, 1fr); }
  .category-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); }
  .category-grid:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }
  .category-grid:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin: 0 auto; }
}
@media (max-width: 1099px) and (min-width: 768px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
.category-card {
  position: relative;
  display: block;
  aspect-ratio: 1/1.15;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-soft) center/cover no-repeat;
  box-shadow: var(--shadow-sm);
  transition: all .35s var(--ease-out);
  animation: mwFadeUp .5s var(--ease-out) both;
}
.category-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31,20,15,0.05) 0%, rgba(31,20,15,0.45) 60%, rgba(31,20,15,0.85) 100%);
  transition: opacity .3s var(--ease-out);
}
.category-card span {
  position: absolute;
  left: 22px; right: 22px; bottom: 22px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  z-index: 2;
  letter-spacing: .3px;
  transition: transform .3s var(--ease-out);
}
.category-card .arrow {
  position: absolute;
  right: 22px; top: 22px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  opacity: 0; transform: scale(0.7);
  transition: all .3s var(--ease-spring);
  color: var(--text);
}
.category-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.category-card:hover span { transform: translateY(-2px); }
.category-card:hover .arrow { opacity: 1; transform: scale(1); }


/* ---------- Product-backed collection spotlight cards ---------- */

.collection-spotlight-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(196,151,94,.08), transparent 36%),
    linear-gradient(180deg, #fffaf4 0%, #ffffff 100%);
  border-top: 1px solid rgba(210,190,168,.28);
  border-bottom: 1px solid rgba(210,190,168,.18);
}
.collection-spotlight-section > .container {
  position: relative;
  z-index: 1;
}
.collection-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(238px, 282px));
  justify-content: center;
  align-items: stretch;
  gap: 22px;
  max-width: 1200px;
  margin: 0 auto;
}
.collection-spotlight-grid.collection-count-1 { max-width: 300px; }
.collection-spotlight-grid.collection-count-2 { max-width: 590px; }
.collection-spotlight-grid.collection-count-3 { max-width: 900px; }
.collection-product-card {
  --spotlight-index: 0;
  position: relative;
  display: block;
  aspect-ratio: 3 / 4.18;
  min-height: 384px;
  border-radius: 24px;
  overflow: hidden;
  color: #fff;
  background: #eadcc9;
  border: 1px solid rgba(184,138,94,.18);
  box-shadow: 0 18px 46px rgba(64,44,25,.12);
  isolation: isolate;
  transform: translateZ(0);
  animation: mwFadeUp .55s var(--ease-out) both;
  transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out), border-color .28s var(--ease-out);
}
.collection-product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.26),
    inset 0 1px 0 rgba(255,255,255,.46);
}
.collection-product-card:hover {
  color: #fff;
  transform: translateY(-4px);
  border-color: rgba(184,138,94,.30);
  box-shadow: 0 24px 58px rgba(64,44,25,.16);
}
.collection-card-media,
.collection-card-slider,
.collection-card-slide,
.collection-card-shade,
.collection-card-top,
.collection-card-content,
.collection-card-action,
.collection-card-dots,
.collection-card-progress {
  position: absolute;
}
.collection-card-media {
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: inherit;
  background:
    radial-gradient(circle at 74% 10%, rgba(255,255,255,.58), transparent 31%),
    linear-gradient(145deg, #f8efe5, #dcc7ad);
}
.collection-card-slider {
  inset: 0;
  display: flex;
  width: 100%;
  height: 100%;
  transform: translate3d(calc(var(--spotlight-index, 0) * -100%), 0, 0);
  transition: transform .76s cubic-bezier(.2,.72,.18,1);
  will-change: transform;
}
.collection-card-slide {
  inset: 0 auto 0 auto;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #eadcc9;
}
.collection-card-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.03) contrast(1.02);
  transform: scale(1.01);
  transition: transform 1.05s cubic-bezier(.2,.72,.18,1), filter .35s var(--ease-out);
}
.collection-product-card:hover .collection-card-slide img {
  transform: scale(1.045);
}
.collection-card-shade {
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(23,18,14,.12) 0%, rgba(23,18,14,.02) 35%, rgba(23,18,14,.18) 58%, rgba(23,18,14,.72) 100%),
    linear-gradient(90deg, rgba(23,18,14,.24) 0%, transparent 40%, rgba(23,18,14,.12) 100%);
}
.collection-card-top {
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 4;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}
.collection-card-top small,
.collection-card-top em {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  max-width: 58%;
  padding: 6px 10px;
  border-radius: var(--radius-full);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1;
  font-size: 8.5px;
  font-weight: 850;
  letter-spacing: .78px;
  box-shadow: 0 8px 20px rgba(20,14,10,.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.collection-card-top small {
  background: rgba(255,255,255,.92);
  color: var(--text);
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.52);
}
.collection-card-top em {
  background: rgba(28,23,19,.68);
  color: #fff7ec;
  border: 1px solid rgba(255,255,255,.20);
  font-style: normal;
}
.collection-card-content {
  left: 16px;
  right: 16px;
  bottom: 64px;
  z-index: 4;
  display: grid;
  gap: 8px;
  color: #fff;
  pointer-events: none;
}
.collection-card-content strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: auto;
  overflow: hidden;
  margin: 0;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(20px, 1.42vw, 25px);
  line-height: 1.03;
  font-weight: 770;
  letter-spacing: .03px;
  text-shadow: 0 2px 14px rgba(0,0,0,.34), 0 1px 2px rgba(0,0,0,.32);
}
.collection-card-content b {
  width: max-content;
  max-width: 100%;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.94);
  color: var(--text);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 850;
  box-shadow: 0 8px 20px rgba(20,14,10,.12);
}
.collection-card-action {
  left: 16px;
  bottom: 23px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 13px;
  border-radius: var(--radius-full);
  background: rgba(24,20,17,.92);
  color: #fff !important;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .72px;
  text-transform: uppercase;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(20,14,10,.18);
  border: 1px solid rgba(255,255,255,.16);
  transition: transform .24s var(--ease-spring), background .24s var(--ease-out), box-shadow .24s var(--ease-out);
}
.collection-card-action svg {
  flex: 0 0 auto;
  transition: transform .24s var(--ease-spring);
}
.collection-product-card:hover .collection-card-action {
  transform: translateY(-1px);
  background: rgba(17,14,12,.98);
  box-shadow: 0 14px 28px rgba(20,14,10,.24);
}
.collection-product-card:hover .collection-card-action svg {
  transform: translateX(2px);
}
.collection-card-dots {
  right: 16px;
  bottom: 27px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 82px;
  overflow: hidden;
  padding: 5px 6px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(255,255,255,.38);
  box-shadow: 0 8px 18px rgba(20,14,10,.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.collection-card-dots i {
  display: block;
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(31,24,20,.28);
  transition: width .28s var(--ease-out), background .28s var(--ease-out), opacity .28s var(--ease-out);
}
.collection-card-dots i.is-active {
  width: 17px;
  background: var(--dark);
}
.collection-card-progress {
  left: 16px;
  right: 16px;
  bottom: 9px;
  z-index: 5;
  height: 2px;
  border-radius: 99px;
  overflow: hidden;
  background: rgba(255,255,255,.24);
}
.collection-card-progress i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #fff7e9, var(--gold));
  transform: scaleX(0);
  transform-origin: left center;
}
.collection-product-card.is-progressing .collection-card-progress i {
  animation: mwSpotlightProgress var(--spotlight-delay, 5600ms) linear both;
}
.collection-product-card.is-paused .collection-card-progress i {
  animation-play-state: paused;
}
.collection-product-card.is-changing .collection-card-content {
  animation: mwSpotlightText .46s cubic-bezier(.2,.72,.18,1) both;
}
.collection-product-card.is-changing .collection-card-top em {
  animation: mwSpotlightPill .36s cubic-bezier(.2,.72,.18,1) both;
}
.collection-product-card.is-changing .collection-card-slider {
  transition-duration: .76s;
}
@keyframes mwSpotlightText {
  0% { opacity: .25; transform: translateX(12px); }
  45% { opacity: .25; transform: translateX(12px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes mwSpotlightPill {
  0% { opacity: .38; transform: translateX(8px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes mwSpotlightProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@media (max-width: 1024px) {
  .collection-spotlight-grid {
    grid-template-columns: repeat(auto-fit, minmax(222px, 272px));
    gap: 18px;
  }
  .collection-product-card { min-height: 370px; }
}
@media (max-width: 767px) {
  .collection-spotlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    max-width: 620px;
  }
  .collection-product-card {
    min-height: 0;
    aspect-ratio: 3 / 4.28;
    border-radius: 20px;
  }
  .collection-card-top {
    top: 12px;
    left: 12px;
    right: 12px;
    gap: 6px;
  }
  .collection-card-top small,
  .collection-card-top em {
    min-height: 21px;
    max-width: 56%;
    padding: 5px 7px;
    font-size: 7.6px;
    letter-spacing: .52px;
  }
  .collection-card-content {
    left: 13px;
    right: 13px;
    bottom: 52px;
    gap: 6px;
  }
  .collection-card-content strong {
    font-size: clamp(15px, 4.8vw, 19px);
    line-height: 1.05;
  }
  .collection-card-content b {
    padding: 4px 8px;
    font-size: 10.5px;
  }
  .collection-card-action {
    left: 13px;
    bottom: 18px;
    min-height: 27px;
    padding: 0 10px;
    font-size: 7.8px;
    letter-spacing: .44px;
  }
  .collection-card-dots {
    right: 12px;
    bottom: 22px;
    gap: 4px;
    max-width: 54px;
    padding: 4px 5px;
  }
  .collection-card-dots i { width: 4px; height: 4px; }
  .collection-card-dots i.is-active { width: 12px; }
  .collection-card-progress { left: 12px; right: 12px; bottom: 8px; }
}
@media (max-width: 520px) {
  .collection-spotlight-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
  }
  .collection-product-card { aspect-ratio: 3 / 4.18; }
  .collection-card-content strong { font-size: clamp(19px, 6vw, 23px); }
}
@media (prefers-reduced-motion: reduce) {
  .collection-product-card,
  .collection-card-slider,
  .collection-card-slide img,
  .collection-card-content,
  .collection-card-action,
  .collection-card-dots i,
  .collection-card-progress i {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Trust badges ---------- */
.trust-section {
  background: var(--surface);
  padding: 44px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  transition: transform .3s var(--ease-out);
}
.trust-item:hover { transform: translateY(-2px); }
.trust-icon {
  width: 52px; height: 52px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(184,138,94,0.15);
}
.trust-item strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.trust-item small { color: var(--muted); font-size: 12px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--text);
  color: #d6c9b8;
  padding: 64px 0 28px;
  margin-top: 60px;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid #2c2521;
}
.site-footer h4 {
  color: #fff;
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 18px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 10px; font-size: 13.5px; }
.site-footer a { color: #d6c9b8; transition: color .2s; }
.site-footer a:hover { color: var(--gold-light); }
.social-links {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.social-links a {
  width: 38px; height: 38px;
  background: #2c2521;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .5px;
  transition: all .25s var(--ease-out);
}
.social-links a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}
.footer-bottom {
  padding-top: 22px;
  text-align: center;
  color: #8d7e6f;
  font-size: 12.5px;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: 12.5px;
  color: var(--muted);
  padding: 16px 0;
}
.breadcrumb a { color: var(--muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--accent-dark); }
.breadcrumb .sep { margin: 0 8px; color: var(--line); }

/* ---------- Product detail ---------- */
.product-detail {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  padding: 32px 0;
}
.product-gallery .main-img {
  background: var(--bg-soft) center/cover no-repeat;
  border-radius: var(--radius-lg);
  aspect-ratio: 1/1;
  margin-bottom: 14px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
  outline: none;
}
.product-gallery .main-img img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery .main-img.fade-in img { animation: mwFade .4s var(--ease-out); }
.product-gallery .thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  scroll-behavior: smooth;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.product-gallery .thumbs button {
  width: 80px; height: 80px;
  padding: 0;
  border: 2px solid transparent;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-soft);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all .2s var(--ease-out);
  flex-shrink: 0;
}
.product-gallery .thumbs button:hover { transform: scale(1.05); }
.product-gallery .thumbs button.active { border-color: var(--accent); transform: scale(1.05); }

.gallery-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--line);
  font-size: 22px; line-height: 1;
  color: var(--text);
  cursor: pointer;
  z-index: 3;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0;
  transition: all .25s var(--ease-out);
}
.product-gallery .main-img:hover .gallery-nav { opacity: 1; }
.gallery-nav:hover { background: #fff; color: var(--accent-dark); transform: translateY(-50%) scale(1.06); }
.gallery-nav.prev { left: 14px; }
.gallery-nav.next { right: 14px; }
.gallery-counter {
  position: absolute;
  bottom: 14px; right: 14px;
  background: rgba(31,26,22,0.78);
  color: #fff;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  z-index: 3;
  letter-spacing: .5px;
  backdrop-filter: blur(8px);
}

.product-info h1 {
  font-size: clamp(26px, 3.2vw, 36px);
  margin-bottom: 10px;
}
.product-info .cat {
  font-size: 11.5px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--muted);
}
.product-info .price-block {
  margin: 22px 0;
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}
.product-info .price-block .current {
  font-size: 36px; font-weight: 700; color: var(--text);
  font-family: var(--font-heading);
}
.product-info .price-block .old { font-size: 19px; color: var(--muted); text-decoration: line-through; }
.product-info .price-block .save {
  background: var(--accent-soft);
  color: var(--accent-dark);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 700;
}
.product-info .short-desc {
  color: var(--text-2);
  margin-bottom: 24px;
  font-size: 15.5px;
  line-height: 1.65;
}
.product-info .attrs {
  margin: 24px 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.product-info .attrs table { width: 100%; }
.product-info .attrs td { padding: 7px 0; font-size: 14px; }
.product-info .attrs td:first-child { color: var(--muted); width: 130px; font-weight: 500; }

.qty-row { display: flex; align-items: center; gap: 18px; margin: 26px 0; }
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-full);
  background: #fff;
  overflow: hidden;
}
.qty-control button {
  width: 44px; height: 46px;
  background: transparent;
  border: 0;
  font-size: 18px; font-weight: 600;
  cursor: pointer;
  color: var(--text);
  transition: background .15s;
}
.qty-control button:hover { background: var(--bg-soft); }
.qty-control input {
  width: 60px; border: 0; text-align: center;
  font-size: 16px; font-weight: 700;
  background: transparent;
  -webkit-appearance: none; -moz-appearance: textfield;
}
.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.actions-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0; }
.actions-row .btn { flex: 1; min-width: 220px; padding: 16px 28px; font-size: 13.5px; }

.shipping-info {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  background: var(--accent-soft);
  border-radius: var(--radius);
  font-size: 13.5px;
  color: var(--accent-dark);
}
.shipping-info strong { font-size: 18px; }

.product-tabs { margin: 60px 0; }
.product-tabs nav {
  display: flex; gap: 6px; flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.product-tabs nav a {
  padding: 14px 22px;
  font-size: 13px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: all .2s;
}
.product-tabs nav a:hover { color: var(--text); }
.product-tabs nav a.active { color: var(--text); border-bottom-color: var(--accent); }
.product-tabs > div { line-height: 1.7; color: var(--text-2); }

/* ---------- List page ---------- */
.list-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(210px, 260px) minmax(0, 1fr);
  gap: 40px;
  padding: 20px 0;
  align-items: start;
}
.sidebar h4 {
  font-family: var(--font);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 24px 0 14px;
  color: var(--text);
  font-weight: 700;
}
.sidebar h4:first-child { margin-top: 0; }
.sidebar ul { list-style: none; padding: 0; margin: 0; }
.sidebar ul li { padding: 6px 0; font-size: 14px; }
.sidebar ul li a {
  color: var(--muted);
  transition: all .15s;
  display: inline-block;
  padding: 2px 10px;
  margin-left: -10px;
  border-radius: var(--radius-sm);
}
.sidebar ul li a:hover { color: var(--accent-dark); background: var(--accent-soft); }
.sidebar ul li a.active { color: var(--accent-dark); font-weight: 600; background: var(--accent-soft); }

.list-toolbar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 12px;
  clear: both;
}

/* Mobil filtre butonu */
.mobile-filter-toggle {
  display: none;
  width: 100%;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  margin-bottom: 16px;
  transition: all .2s;
}
.mobile-filter-toggle:hover { border-color: var(--accent); background: var(--accent-soft); }
.mobile-filter-toggle .mft-count {
  margin-left: auto;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  background: var(--bg-soft);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}
.sidebar-close {
  display: none;
  position: absolute;
  top: 12px; right: 12px;
  background: transparent;
  border: 0;
  padding: 6px;
  cursor: pointer;
  color: var(--muted);
  border-radius: 50%;
}
.sidebar-close:hover { background: var(--bg-soft); color: var(--text); }
.list-toolbar select {
  padding: 9px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-full);
  background: #fff;
  font-size: 13.5px;
  cursor: pointer;
  transition: border-color .2s;
}
.list-toolbar select:focus { border-color: var(--accent); outline: none; }

/* ---------- Cart ---------- */
.cart-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  padding: 24px 0;
}
.cart-items {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 8px 22px;
  box-shadow: var(--shadow-sm);
}
.cart-item {
  display: grid;
  grid-template-columns: 96px 1fr auto auto auto;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  transition: opacity .25s, transform .25s;
}
.cart-item:last-child { border-bottom: 0; }
.cart-item.removing { opacity: 0; transform: translateX(40px); }
.cart-item .image {
  width: 96px; height: 96px;
  background: var(--bg-soft) center/cover no-repeat;
  border-radius: var(--radius);
}
.cart-item h4 {
  font-family: var(--font);
  font-size: 15.5px;
  font-weight: 500;
  margin: 0 0 4px;
  color: var(--text);
}
.cart-item .sku { font-size: 12px; color: var(--muted); }
.cart-summary {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  align-self: start;
  position: sticky; top: 100px;
}
.cart-summary h3 { margin-top: 0; }
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
}
.summary-row.total {
  font-size: 19px;
  font-weight: 700;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 12px;
  font-family: var(--font-heading);
}
.coupon-form { display: flex; gap: 8px; margin: 16px 0; }
.coupon-form input {
  flex: 1;
  padding: 11px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-full);
  background: var(--surface-2);
  font-size: 13.5px;
}
.coupon-form input:focus { border-color: var(--accent); outline: none; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.form-card h3 { margin-top: 0; }
.input-group { margin-bottom: 18px; }
.input-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--text-2);
}
.input-group input,
.input-group textarea,
.input-group select {
  width: 100%;
  padding: 12px 16px;
  font-size: 14.5px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  outline: none;
  font-family: inherit;
  color: var(--text);
  transition: all .18s var(--ease-out);
}
.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: var(--shadow-glow);
}
.input-group input:disabled,
.input-group input[readonly] {
  background: var(--bg-soft);
  color: var(--muted);
  cursor: not-allowed;
}
.input-group small.hint {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}
.input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* scroll margin so HTML5 validation tooltip clears sticky header */
input, textarea, select { scroll-margin-top: 160px; }

/* ---------- Custom checkbox / radio ---------- */
.check-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.55;
  user-select: none;
}
.check-line input[type="checkbox"],
.check-line input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  margin: 0;
  transition: all .15s var(--ease-out);
}
.check-line input[type="radio"] { border-radius: 50%; }
.check-line:hover input[type="checkbox"],
.check-line:hover input[type="radio"] { border-color: var(--accent); }
.check-line input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}
.check-line input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 6px; top: 2px;
  width: 7px; height: 12px;
  border-right: 2.2px solid #fff;
  border-bottom: 2.2px solid #fff;
  transform: rotate(45deg);
  animation: mwPop .25s var(--ease-spring);
}
.check-line input[type="radio"]:checked { border-color: var(--accent); }
.check-line input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 11px; height: 11px;
  background: var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: mwPop .25s var(--ease-spring);
}

/* ---------- Payment options ---------- */
.payment-options { display: flex; flex-direction: column; gap: 12px; }
.pay-option {
  display: block;
  padding: 18px 20px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all .22s var(--ease-out);
}
.pay-option:hover { border-color: var(--accent); background: #fff; }
.pay-option input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 24px; height: 24px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  position: absolute;
  top: 20px; right: 20px;
  background: #fff;
  transition: all .15s var(--ease-out);
}
.pay-option:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 6px 20px rgba(184,138,94,0.14);
}
.pay-option input[type="radio"]:checked {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: inset 0 0 0 4px #fff;
}
.pay-content {
  display: flex; justify-content: space-between; align-items: center;
  gap: 14px;
  padding-right: 38px;
}
.pay-title strong { display: block; font-size: 15.5px; color: var(--text); font-weight: 600; }
.pay-title small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 4px; }
.pay-icons { display: flex; gap: 6px; }
.pay-icon {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 10px; font-weight: 700;
  padding: 4px 8px;
  color: var(--text);
  letter-spacing: .5px;
}
.pay-extra {
  display: none;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  animation: mwSlideDown .35s var(--ease-out);
}
.pay-option:has(input:checked) .pay-extra { display: block; }
.bank-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px;
  background: #fff;
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  gap: 14px;
  flex-wrap: wrap;
}
.bank-row strong { display: block; font-size: 14px; }
.bank-row small { color: var(--muted); font-size: 12px; }
.bank-row code {
  user-select: all;
  background: var(--accent-soft);
  color: var(--accent-dark);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  letter-spacing: .4px;
  font-weight: 600;
}
.pay-hint { font-size: 12px; color: var(--muted); margin-top: 10px; }

/* ---------- Checkout extras ---------- */
.checkout-page h1 { margin-top: 12px; }
.checkout-login-bar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--accent-soft), #fff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 16px 0 8px;
}
.checkout-login-bar strong { display: inline-block; margin-right: 8px; color: var(--text); }
.checkout-item {
  display: flex; gap: 12px; padding: 12px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.ci-img { width: 56px; height: 56px; background: var(--bg-soft) center/cover no-repeat; border-radius: var(--radius-sm); flex-shrink: 0; }
.ci-info { flex: 1; min-width: 0; }
.ci-name { font-size: 13.5px; color: var(--text); line-height: 1.4; }
.ci-info small { color: var(--muted); font-size: 12px; }
.ci-total { font-size: 14px; font-weight: 700; }
.checkout-trust {
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--muted);
  display: flex; align-items: center; gap: 8px; justify-content: center;
}

/* ---------- Auth pages ---------- */
.minimal-layout {
  background:
    radial-gradient(ellipse at top right, rgba(184,138,94,0.07) 0%, transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(212,155,155,0.07) 0%, transparent 60%),
    var(--bg);
  min-height: 100vh;
}
.auth-header {
  padding: 18px 0;
  background: transparent;
  margin-bottom: 6px;
}
.auth-header .container {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 14px;
}
.auth-header .logo {
  justify-self: center;
  align-items: center;
  max-width: none;
  text-align: center;
}
.auth-header .logo img { max-height: 42px; max-width: 180px; width: auto; }
.auth-header .logo small { text-align: center; }

.auth-back {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all .2s var(--ease-out);
  box-shadow: var(--shadow-xs);
}
.auth-back:hover {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
  transform: translateX(-2px);
  box-shadow: var(--shadow-sm);
}
.auth-spacer { width: 44px; height: 44px; }

/* Auth card animasyon - login/register geçişi */
.auth-card { animation: mwAuthIn .4s var(--ease-out); }
@keyframes mwAuthIn {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.auth-footer {
  text-align: center;
  padding: 28px 16px;
  font-size: 12.5px;
  color: var(--muted);
}
.auth-footer a { color: var(--muted); margin: 0 4px; }
.auth-footer a:hover { color: var(--accent-dark); }
.minimal-layout .site-main { min-height: calc(100vh - 200px); padding-bottom: 20px; }

.auth-wrap {
  display: flex; align-items: center; justify-content: center;
  padding: 20px 16px 50px;
  min-height: 60vh;
}
.auth-card {
  width: 100%; max-width: 460px;
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  position: relative;
}
.auth-card::before {
  content: '';
  position: absolute;
  top: 0; left: 36px; right: 36px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  border-radius: 0 0 4px 4px;
}
.auth-head { text-align: center; margin-bottom: 28px; }
.auth-head h1 { font-size: 28px; margin: 0 0 8px; }
.auth-head p { color: var(--muted); font-size: 14px; margin: 0; }
.auth-foot {
  text-align: center; margin-top: 24px; padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--muted);
}
.auth-foot a { color: var(--accent-dark); font-weight: 600; }
.auth-card .alert { margin: 0 0 20px; }
.auth-verification-alert {
  align-items: flex-start;
  border-radius: 18px;
  padding: 14px;
}
.auth-verification-alert .auth-alert-content { min-width: 0; }
.auth-verification-alert strong {
  display: block;
  color: #6f2621;
  font-size: 13.5px;
  margin-bottom: 2px;
}
.auth-verification-alert span {
  display: block;
  color: #7a4b45;
  font-size: 12.8px;
  line-height: 1.45;
}
.auth-alert-actions { margin-top: 10px; }
.auth-alert-actions .btn {
  min-height: 0;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 11px;
  letter-spacing: .7px;
  white-space: nowrap;
}
.auth-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 34px;
  font-weight: 700;
  animation: mwPop .45s var(--ease-spring);
}
.auth-icon.success { background: var(--success-soft); color: var(--success); }
.auth-icon.error   { background: var(--danger-soft); color: var(--danger); }
.req { color: var(--danger); margin-left: 2px; }

/* ---------- Account dashboard ---------- */
.account-page h1 { margin: 16px 0 8px; }
.account-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  margin-top: 24px;
}
.account-side {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  align-self: start;
  position: sticky; top: 100px;
}
.account-menu { list-style: none; padding: 0; margin: 0; }
.account-menu li a {
  display: block;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
  transition: all .15s var(--ease-out);
}
.account-menu li a:hover { background: var(--accent-soft); color: var(--accent-dark); }
.account-menu li a small { color: inherit; opacity: .62; }
.account-menu li.active a {
  background: var(--text);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.account-menu li.active a small { opacity: .72; }
.order-list { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.order-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px; align-items: center;
  padding: 16px 18px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: all .2s var(--ease-out);
}
.order-row:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  transform: translateX(3px);
}
.order-row .oid { font-weight: 600; font-size: 14px; }
.order-row small { color: var(--muted); font-size: 12px; display: block; margin-top: 2px; }
.order-row .ostatus {
  font-size: 11.5px; font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: #fff;
  letter-spacing: .3px;
}
.status-pending   { color: #7a5410; background: var(--warning-soft); }
.status-confirmed { color: #1f5e36; background: var(--success-soft); }
.status-preparing { color: #5a3e1f; background: #f5e6d0; }
.status-shipped   { color: #1f3d5e; background: var(--info-soft); }
.status-delivered { color: #1f5e36; background: var(--success-soft); }
.status-cancelled { color: #7a2020; background: var(--danger-soft); }
.status-refunded  { color: #6b5d52; background: var(--bg-soft); }
.order-row .ototal {
  font-weight: 700;
  font-size: 16px;
  font-family: var(--font-heading);
}

/* ---------- Empty state ---------- */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--muted);
}
.empty-state h3 { color: var(--text); margin: 12px 0 14px; }
.empty-state svg, .empty-state .empty-icon {
  font-size: 64px;
  opacity: 0.5;
  margin-bottom: 8px;
}

/* ---------- Pagination ---------- */
.mw-pagination, .pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 36px 0;
}
.mw-pagination li, .pagination li { display: inline-block; }
.mw-pagination li a, .pagination li a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px;
  padding: 0 12px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  font-size: 13.5px; font-weight: 600;
  border: 1px solid var(--line);
  transition: all .2s var(--ease-out);
}
.mw-pagination li.active a, .pagination li.active a,
.mw-pagination li a:hover, .pagination li a:hover {
  background: var(--text); color: #fff; border-color: var(--text);
  transform: translateY(-1px);
}
.mw-pagination li.dots, .pagination li.dots { padding: 0 6px; color: var(--muted); align-self: center; }

/* ---------- Misc ---------- */
.tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 11.5px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-radius: var(--radius-full);
  margin: 2px 4px 2px 0;
  font-weight: 500;
  transition: all .15s;
}
.tag:hover { background: var(--accent); color: #fff; }
.divider { height: 1px; background: var(--line); margin: 30px 0; }

/* ---------- Toast ---------- */
.toast-host {
  position: fixed;
  top: 100px;
  right: 24px;
  z-index: var(--z-toast);
  display: flex; flex-direction: column;
  gap: 10px;
  max-width: 360px;
  pointer-events: none;
}
.toast {
  background: #fff;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 14px 18px;
  font-size: 14px;
  animation: mwToastIn .35s var(--ease-spring), mwToastOut .35s var(--ease-out) 4.65s forwards;
  display: flex; gap: 12px; align-items: flex-start;
  pointer-events: auto;
}
.toast.success { border-left-color: var(--success); }
.toast.error   { border-left-color: var(--danger); }
.toast.warning { border-left-color: var(--warning); }
.toast.info    { border-left-color: var(--info); }

/* ---------- Skeleton ---------- */
.skeleton {
  background: linear-gradient(90deg, var(--line-soft) 0%, #f7f0e3 50%, var(--line-soft) 100%);
  background-size: 400px 100%;
  animation: mwShimmer 1.4s linear infinite;
  border-radius: var(--radius-sm);
  display: block;
}

/* ---------- Animations ---------- */
/* Favorite heart micro-interactions */
@keyframes mwHeartPop {
  0%   { transform: translateY(0) scale(.92); }
  42%  { transform: translateY(0) scale(1.18); }
  70%  { transform: translateY(0) scale(.98); }
  100% { transform: translateY(0) scale(1); }
}
@keyframes mwWishlistParticle {
  0%   { opacity: 0; transform: translate(0,0) scale(.25); }
  22%  { opacity: .95; }
  100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(1); }
}

@keyframes mwFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes mwFade {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes mwSlideDown {
  from { opacity: 0; transform: translateY(-8px); max-height: 0; }
  to   { opacity: 1; transform: translateY(0); max-height: 600px; }
}
@keyframes mwPop {
  0%   { transform: scale(0.6); opacity: 0; }
  60%  { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes mwShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}
@keyframes mwShimmer {
  0% { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
@keyframes mwFloat {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-20px) translateX(10px); }
}
@keyframes mwTwinkle {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}
@keyframes mwToastIn {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes mwToastOut {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(40px); }
}
@keyframes mwSpinner {
  to { transform: rotate(360deg); }
}

.animate-fade-up { animation: mwFadeUp .55s var(--ease-out) both; }
.animate-fade    { animation: mwFade .5s var(--ease-out) both; }
.animate-pop     { animation: mwPop .35s var(--ease-spring) both; }
.shake           { animation: mwShake .35s var(--ease-out); }
.animate-stagger > * { animation: mwFadeUp .55s var(--ease-out) both; }
.animate-stagger > *:nth-child(1) { animation-delay: .04s; }
.animate-stagger > *:nth-child(2) { animation-delay: .10s; }
.animate-stagger > *:nth-child(3) { animation-delay: .16s; }
.animate-stagger > *:nth-child(4) { animation-delay: .22s; }
.animate-stagger > *:nth-child(5) { animation-delay: .28s; }
.animate-stagger > *:nth-child(6) { animation-delay: .34s; }

/* Spinner */
.spinner {
  display: inline-block;
  width: 18px; height: 18px;
  border: 2px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: mwSpinner .8s linear infinite;
}

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


@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero-showcase { min-height: 390px; max-width: 620px; margin: 0 auto 34px; width: 100%; }
}
@media (max-width: 768px) {
  .hero { padding: 54px 0 64px; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-showcase { min-height: 380px; }
  .hero-card-1 { left: 4%; top: 16px; width: 190px; }
  .hero-card-2 { right: 3%; top: 86px; width: 210px; }
  .hero-card-3 { left: 18%; bottom: 24px; width: 185px; }
  .hero-note { bottom: -32px; width: min(390px, calc(100% - 40px)); text-align: left; }
  .flash-container { margin-top: 10px; }
  .minimal-layout .flash-container { max-width: 460px; }
  .auth-verification-alert { padding: 13px; }
}
@media (max-width: 480px) {
  .hero-showcase { min-height: 340px; }
  .hero-product-card { border-radius: 20px; }
  .hero-card-1 { width: 160px; left: 1%; }
  .hero-card-2 { width: 178px; right: 0; top: 76px; }
  .hero-card-3 { width: 155px; left: 13%; bottom: 38px; }
  .hero-product-meta { padding: 10px 12px 12px; }
  .hero-product-meta strong { font-size: 13px; }
  .hero-note { bottom: -34px; width: calc(100% - 28px); padding: 10px 12px; grid-template-columns: 24px minmax(0, 1fr); column-gap: 8px; border-radius: 18px; }
  .hero-note::before { width: 24px; height: 24px; font-size: 11px; }
  .hero-note strong { font-size: 13.5px; }
  .hero-note span { font-size: 11.5px; white-space: nowrap; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .product-detail { grid-template-columns: 1fr; gap: 30px; }
  .list-layout { grid-template-columns: 1fr; gap: 24px; }
  .cart-layout { grid-template-columns: 1fr; gap: 24px; }
  .account-grid { grid-template-columns: 1fr; gap: 20px; }
  .account-side { position: static; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .hero-text p { margin-left: auto; margin-right: auto; }
}
@media (max-width: 900px) {
  /* Topbar tamamen gizle - mobilde gereksiz */
  .topbar { display: none; }

  /* Header grid yeniden: hamburger | logo | actions */
  .site-header { position: sticky; top: 0; }
  .header-row {
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    padding: 12px 16px;
  }

  /* Logo merkez */
  .logo {
    justify-content: center;
    align-items: center;
    max-width: none;
    margin: 0 auto;
    text-align: center;
  }
  .logo-text { font-size: 18px; }
  .logo img { max-height: 38px; max-width: 160px; }
  .logo small { display: none; }

  /* Desktop arama gizli, sadece toggle ile açılan mobile-search */
  .header-row .search { display: none; }
  .search-toggle { display: inline-flex; }
  .mobile-search {
    display: block;
    background: var(--surface);
    padding: 10px 16px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-110%);
    max-height: 0;
    overflow: hidden;
    transition: transform .25s var(--ease-out), max-height .25s var(--ease-out), padding .2s;
  }
  body.search-open .mobile-search {
    transform: translateY(0);
    max-height: 80px;
    padding: 10px 16px;
  }
  .mobile-search .search { display: flex; max-width: none; }

  /* Sepet butonu mobilde header'da gizli, FAB olarak görünür */
  .desktop-cart { display: none; }

  /* Action ikonları kompakt */
  .header-actions { gap: 4px; }
  .user-btn, .cart-btn {
    width: 40px; height: 40px;
    border-color: transparent;
  }

  /* Menü açılınca offcanvas drawer (soldan) */
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: 280px;
    max-width: 85vw;
    background: #fff;
    z-index: 130;
    transform: translateX(-100%);
    transition: transform .3s var(--ease-out);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    border-bottom: 0;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .main-nav { transform: translateX(0); }
  body.nav-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(31,26,22,0.52);
    z-index: 110;
    animation: mwFade .25s ease;
    pointer-events: auto;
  }
  .main-nav .container { padding: 0; }
  .main-nav::before {
    content: attr(data-brand);
    display: block;
    padding: 22px 24px 16px;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    border-bottom: 1px solid var(--line-soft);
    background: linear-gradient(135deg, #fff, var(--surface-2));
  }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 0 20px;
    align-items: stretch;
  }
  .main-nav a {
    padding: 16px 24px;
    border-bottom: 1px solid var(--line-soft);
    font-size: 13px;
    border-left: 3px solid transparent;
    transition: all .15s;
  }
  .main-nav a:hover {
    background: var(--accent-soft);
    border-left-color: var(--accent);
    color: var(--accent-dark);
  }
  .nav-close { display: inline-flex; z-index: 2; }

  /* FAB sepet sadece sepette ürün varsa render edilir (PHP) */
  .mobile-cart-fab { display: inline-flex; animation: mwPop .35s var(--ease-spring); }

  /* Mobil filter toggle göster */
  .mobile-filter-toggle { display: inline-flex; }

  /* Sidebar offcanvas (sağdan) */
  .list-layout { display: block; }
  .sidebar {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 320px;
    max-width: 90vw;
    background: #fff;
    z-index: 100;
    transform: translateX(100%);
    transition: transform .3s var(--ease-out);
    overflow-y: auto;
    padding: 50px 20px 24px;
    box-shadow: var(--shadow-lg);
  }
  body.filter-open .sidebar { transform: translateX(0); }
  body.filter-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 95;
    animation: mwFade .25s ease;
  }
  .sidebar-close { display: inline-flex; }
  .hero { padding: 60px 0; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .footer-cols { grid-template-columns: 1fr; gap: 28px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 50px 0; }
  .product-card .info { padding: 14px 4px 4px; }
  .product-card .info h3 { font-size: 14px; }
  .cart-item { grid-template-columns: 80px 1fr; gap: 12px; }
  .cart-item .qty-cell, .cart-item .price-cell, .cart-item .remove-cell { grid-column: 2; padding-top: 6px; }
  .input-row { grid-template-columns: 1fr; }
  .actions-row { flex-direction: column; }
  .actions-row .btn { width: 100%; }
  .topbar { font-size: 11px; padding: 6px 0; }
  .topbar .container { flex-direction: column; gap: 2px; text-align: center; }
  .order-row { grid-template-columns: 1fr auto; gap: 8px; }
  .order-row .ostatus { grid-column: 1 / -1; justify-self: start; }
  .gallery-nav { opacity: 1; width: 38px; height: 38px; font-size: 18px; }
  .gallery-counter { font-size: 11px; bottom: 10px; right: 10px; }
  .pay-content { flex-direction: column; align-items: flex-start; padding-right: 34px; }
  .pay-icons { margin-top: 6px; }
  .toast-host { left: 16px; right: 16px; top: 80px; max-width: none; }
  .auth-card { padding: 30px 22px; }
  .auth-header .container { flex-wrap: nowrap; }
  .auth-header .logo { margin: 0 auto; }
}

/* Telefon - daha küçük header alanı */
@media (max-width: 480px) {
  .header-row { padding: 10px 12px; gap: 6px; }
  .logo img { max-height: 32px; max-width: 140px; }
  .logo-text { font-size: 16px; }
  .user-btn, .cart-btn, .menu-toggle, .search-toggle { width: 36px; height: 36px; }
  .mobile-cart-fab { width: 52px; height: 52px; right: 16px; bottom: 20px; }
}
@media (max-width: 480px) {
  .product-grid { gap: 14px; }
  .product-card .image { aspect-ratio: 1/1.15; }
  .product-card .info h3 { font-size: 13.5px; min-height: 2.6em; }
  .hero { padding: 40px 0 60px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Print */
@media print {
  .site-header, .site-footer, .trust-section, .topbar,
  .auth-header, .auth-footer { display: none; }
  body { background: #fff; }
}

/* Collection card visibility hotfix: keep the previous full-card design, but make the slider slides real flex items. */
.collection-card-slide {
  position: relative;
}

/* Site-wide modern centered dialogs */
html.mw-site-dialog-lock,
body.mw-site-dialog-lock {
  overflow: hidden;
}
.mw-site-dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(28, 24, 20, .42);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s var(--ease-out), visibility .22s var(--ease-out);
}
.mw-site-dialog-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.mw-site-dialog {
  width: min(430px, 100%);
  position: relative;
  border-radius: 26px;
  padding: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(250,247,243,.96));
  border: 1px solid rgba(184,138,94,.22);
  box-shadow: 0 28px 80px rgba(28,22,15,.24), inset 0 1px 0 rgba(255,255,255,.75);
  transform: translateY(10px) scale(.965);
  transition: transform .24s var(--ease-out);
}
.mw-site-dialog-backdrop.open .mw-site-dialog {
  transform: translateY(0) scale(1);
}
.mw-site-dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(28,24,20,.08);
  background: rgba(255,255,255,.72);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: transform .18s var(--ease-out), background .18s var(--ease-out);
}
.mw-site-dialog-close:hover {
  transform: rotate(90deg);
  background: #fff;
}
.mw-site-dialog-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: rgba(184,138,94,.13);
  color: var(--accent-dark);
  font-weight: 900;
  font-size: 22px;
  box-shadow: inset 0 0 0 1px rgba(184,138,94,.12);
}
.mw-site-dialog-backdrop:not(.is-alert) .mw-site-dialog-mark {
  background: rgba(190,52,57,.10);
  color: #9e282d;
}
.mw-site-dialog-copy h3 {
  margin: 0 42px 8px 0;
  font-family: var(--font-display);
  color: var(--text);
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: -.02em;
}
.mw-site-dialog-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.mw-site-dialog-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}
.mw-site-dialog-actions .btn {
  min-height: 42px;
  min-width: 108px;
  justify-content: center;
}
@media (max-width: 640px) {
  .mw-site-dialog-backdrop {
    padding: 16px;
  }
  .mw-site-dialog {
    border-radius: 22px;
    padding: 24px 20px 20px;
  }
  .mw-site-dialog-copy h3 {
    font-size: 21px;
    margin-right: 38px;
  }
  .mw-site-dialog-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .mw-site-dialog-actions .btn {
    width: 100%;
  }
}

/* Collection spotlight restore + mobile-safe layout
   Keeps the product as a full-card background and prevents cramped mobile cards. */
.collection-spotlight-grid {
  grid-template-columns: repeat(auto-fit, minmax(248px, 304px));
  gap: 24px;
}
.collection-spotlight-grid.collection-count-1 { max-width: 320px; }
.collection-spotlight-grid.collection-count-2 { max-width: 650px; }
.collection-spotlight-grid.collection-count-3 { max-width: 980px; }
.collection-product-card {
  aspect-ratio: 3 / 4.12;
  min-height: 372px;
}
.collection-card-slide {
  position: relative;
  min-width: 100%;
}
.collection-card-slide img {
  object-fit: cover;
  object-position: center center;
}
.collection-card-content strong {
  max-width: 100%;
}
.collection-card-action {
  white-space: nowrap;
}
@media (min-width: 768px) and (max-width: 1100px) {
  .collection-spotlight-grid {
    grid-template-columns: repeat(2, minmax(0, 286px));
    max-width: 620px;
  }
  .collection-product-card {
    min-height: 368px;
  }
}
@media (max-width: 767px) {
  .collection-spotlight-section {
    padding-top: 44px;
    padding-bottom: 52px;
  }
  .collection-spotlight-grid,
  .collection-spotlight-grid.collection-count-1,
  .collection-spotlight-grid.collection-count-2,
  .collection-spotlight-grid.collection-count-3 {
    grid-template-columns: minmax(0, 1fr);
    max-width: 350px;
    gap: 18px;
  }
  .collection-product-card {
    width: 100%;
    min-height: 0;
    aspect-ratio: 3 / 4.08;
    border-radius: 22px;
  }
  .collection-card-top {
    top: 13px;
    left: 13px;
    right: 13px;
  }
  .collection-card-top small,
  .collection-card-top em {
    max-width: 52%;
    min-height: 22px;
    padding: 5px 8px;
    font-size: 7.8px;
  }
  .collection-card-content {
    left: 14px;
    right: 14px;
    bottom: 56px;
  }
  .collection-card-content strong {
    font-size: clamp(20px, 6.1vw, 24px);
    line-height: 1.05;
    -webkit-line-clamp: 2;
  }
  .collection-card-content b {
    font-size: 11px;
  }
  .collection-card-action {
    left: 14px;
    bottom: 21px;
    min-height: 29px;
    padding: 0 12px;
    font-size: 8px;
  }
  .collection-card-dots {
    right: 13px;
    bottom: 24px;
  }
  .collection-card-progress {
    left: 14px;
    right: 14px;
    bottom: 9px;
  }
}
@media (max-width: 380px) {
  .collection-spotlight-grid,
  .collection-spotlight-grid.collection-count-1,
  .collection-spotlight-grid.collection-count-2,
  .collection-spotlight-grid.collection-count-3 {
    max-width: 315px;
  }
  .collection-card-content strong {
    font-size: clamp(18px, 6vw, 22px);
  }
}

/* ---------- Safe footer credit + mobile product card repair ---------- */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.footer-credit {
  color: rgba(255,255,255,0.54);
  font-size: 12.5px;
  letter-spacing: .02em;
}
.footer-credit a {
  color: #f0d1aa;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.footer-credit a:hover {
  color: #fff;
}
.auth-footer .footer-credit {
  color: var(--muted);
}
.auth-footer .footer-credit a {
  color: var(--accent-dark);
}
.auth-footer .footer-credit a:hover {
  color: var(--text);
}

@media (max-width: 768px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-card { border-radius: 22px; }
  .product-card .image { aspect-ratio: 1 / 1.12; }
  .product-card .badges { top: 10px; left: 10px; gap: 5px; }
  .product-card .badge { padding: 5px 10px; font-size: 10px; }
  .product-card .wishlist {
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
  }
  .product-card .quick-add {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
  .product-card .quick-add button {
    padding: 11px 14px;
    font-size: 11px;
    letter-spacing: 1px;
  }
  .product-card .info { padding: 12px 2px 2px; }
  .product-card .info .cat { margin-bottom: 5px; font-size: 10px; letter-spacing: 1.4px; }
  .product-card .info h3 {
    font-size: 13.5px;
    margin-bottom: 8px;
    min-height: 2.55em;
    line-height: 1.32;
  }
  .product-card .price { gap: 8px; }
  .product-card .price .current { font-size: 17px; }
  .product-card .price .old { font-size: 12px; }
  .product-card .price .discount { font-size: 10.5px; padding: 3px 7px; }
}

@media (max-width: 480px) {
  .product-grid { gap: 12px; }
  .product-card { border-radius: 20px; }
  .product-card .image { aspect-ratio: 1 / 1.06; }
  .product-card .badges { top: 9px; left: 9px; }
  .product-card .badge { padding: 4px 9px; font-size: 9.5px; }
  .product-card .wishlist {
    top: 9px;
    right: 9px;
    width: 32px;
    height: 32px;
  }
  .product-card .quick-add {
    left: 8px;
    right: 8px;
    bottom: 8px;
  }
  .product-card .quick-add button {
    min-height: 40px;
    padding: 10px 12px;
    font-size: 10.5px;
    letter-spacing: .9px;
  }
  .product-card .info { padding: 10px 1px 0; }
  .product-card .info .cat { font-size: 9.5px; letter-spacing: 1.2px; margin-bottom: 4px; }
  .product-card .info h3 { font-size: 12.8px; min-height: 2.45em; margin-bottom: 7px; }
  .product-card .price .current { font-size: 16px; }
  .product-card .price .old { font-size: 11.5px; }
  .product-card .price .discount { font-size: 10px; padding: 3px 7px; }
}

/* ============================================================
   MOBİL ÜRÜN KARTI — bilgiyi görselin üzerine taşır, görseli öne çıkarır.
   İsim + fiyat fotoğraf üzerinde, favori kalbi + indirim rozeti üstte,
   sepete ekle yalnızca yuvarlak ikon olarak sağ altta.
   (Bu blok bilinçli olarak en sonda; önceki mobil kuralları ezer.)
   ============================================================ */
@media (max-width: 768px) {
  .product-card {
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(60, 40, 20, .08);
  }
  /* Görsel kartın tamamını kaplar; ürün daha net görünür */
  .product-card .image {
    aspect-ratio: 3 / 4;
    border-radius: inherit;
  }
  /* Görselin altına okunabilirlik için kalıcı degrade */
  .product-card .image::before {
    opacity: 1;
    background: linear-gradient(to top,
      rgba(20, 14, 10, .78) 0%,
      rgba(20, 14, 10, .42) 38%,
      rgba(20, 14, 10, 0) 72%);
  }

  /* İsim + fiyat: fotoğrafın üzerinde, alt kısımda */
  .product-card .info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    padding: 36px 12px 11px;
    text-align: left;
    background: linear-gradient(to top,
      rgba(20, 14, 10, .72) 0%,
      rgba(20, 14, 10, .34) 55%,
      rgba(20, 14, 10, 0) 100%);
    pointer-events: none;            /* boş alana dokununca ürün linkine gitsin */
  }
  .product-card .info .cat { display: none; }   /* kategori mobilde gizli */
  .product-card .info h3 {
    margin: 0 0 3px;
    min-height: 0;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
    -webkit-line-clamp: 2;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .4);
    padding-right: 44px;             /* sepet ikonuna yer bırak */
  }
  .product-card .info h3 a { color: #fff; pointer-events: auto; }
  .product-card .price {
    gap: 8px;
    align-items: baseline;
    padding-right: 44px;
  }
  .product-card .price .current {
    font-size: 15.5px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .4);
  }
  .product-card .price .old {
    font-size: 11.5px;
    color: rgba(255, 255, 255, .72);
  }
  .product-card .price .discount { display: none; }   /* indirim zaten sol üst rozette */

  /* Favori kalbi her zaman görünür, sağ üstte */
  .product-card .wishlist {
    opacity: 1;
    transform: none;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .16);
  }
  .product-card .wishlist svg { width: 17px; height: 17px; }

  /* Sepete ekle: yalnızca yuvarlak ikon, sağ altta */
  .product-card .quick-add {
    left: auto;
    right: 10px;
    bottom: 10px;
    width: 42px;
    height: 42px;
    opacity: 1;
    transform: none;
    z-index: 6;
  }
  .product-card .quick-add button {
    width: 42px;
    height: 42px;
    min-height: 0;
    padding: 0;
    font-size: 0;                    /* "+ Sepete Ekle" metnini gizler */
    letter-spacing: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--text);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .22);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .product-card .quick-add button::before {
    content: '';
    flex: none;
    width: 20px;
    height: 20px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3h2l2 13h11l2-9H6'/%3E%3Ccircle cx='9' cy='20' r='1.5'/%3E%3Ccircle cx='17' cy='20' r='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3h2l2 13h11l2-9H6'/%3E%3Ccircle cx='9' cy='20' r='1.5'/%3E%3Ccircle cx='17' cy='20' r='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  .product-card .quick-add button:active { transform: scale(.92); }
  .product-card .quick-add button:disabled { opacity: 1; }
}

/* ---------- Compact product listing/category hero ---------- */
.catalog-hero {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 24px;
  padding: 4px 0 10px;
}
.catalog-hero-title {
  margin: 0;
  font-size: clamp(28px, 3.1vw, 40px);
  line-height: 1.08;
  font-weight: 650;
  letter-spacing: -.018em;
}
.catalog-hero-description {
  max-width: 560px;
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 768px) {
  .catalog-hero {
    margin-bottom: 18px;
    padding: 0 0 8px;
  }
  .catalog-hero-title {
    font-size: clamp(26px, 8vw, 34px);
  }
  .catalog-hero-description {
    margin-top: 8px;
    font-size: 13.5px;
  }
}


/* ---------- Visual safety: listing toolbar/header layering ---------- */
.site-header,
.mobile-menu,
.search-overlay {
  z-index: 120;
}
.catalog-hero,
.list-layout,
.list-toolbar {
  clear: both;
}
.list-layout > * {
  min-width: 0;
}
.product-sort-form,
.sort-form {
  position: relative;
  z-index: 5;
}
.product-sort-menu,
.sort-menu-panel {
  z-index: 25;
}
@media (min-width: 901px) {
  .list-toolbar {
    align-items: center;
  }
  .product-sort-form,
  .sort-form {
    margin-left: auto;
  }
}
@media (max-width: 900px) {
  .list-toolbar {
    align-items: stretch;
  }
  .product-sort-form,
  .sort-form {
    width: 100%;
    justify-content: space-between;
  }
}

/* Product listing tag cleanup: prevent long tag clouds from polluting catalog pages */
.active-filter-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(193, 160, 120, .22);
  border-radius: 14px;
  background: rgba(245, 238, 229, .62);
  color: var(--text);
  font-size: 13px;
  line-height: 1.35;
}
.active-filter-card span {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 600;
}
.active-filter-card a {
  flex: 0 0 auto;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
}
.active-filter-card a:hover {
  color: var(--text);
}

/* "Koleksiyonlarımız" vitrin bölümü yalnızca masaüstünde görünsün */
@media (max-width: 768px) {
  .collection-spotlight-section { display: none; }
}
