/* ============================================================
   DOLCE LEGNO — Design System
   Hybrid C Variant: Warm Premium + Modern Cool
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600&family=Nunito:wght@600;700&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Color Palette */
  --green:       #3D704E;
  --green-dark:  #2e5a3c;
  --cream:       #F2F0E6;
  --cream-dark:  #E8E4D6;
  --wood:        #8B5E3C;   /* koyu meşe/ceviz — tok ahşap tonu */
  --wood-light:  #B07D50;   /* orta kayın — açık vurgu */
  --rose:        #C8A2A5;
  --sky:         #D7DEE6;
  --sky-dark:    #c5cfd9;
  --charcoal:    #2A2F2C;
  --charcoal-60: rgba(42,47,44,0.6);
  --charcoal-30: rgba(42,47,44,0.3);
  --charcoal-10: rgba(42,47,44,0.08);
  --white:       #ffffff;

  /* Typography */
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;
  --font-badge:  'Nunito', sans-serif;

  /* Type Scale — Desktop */
  --h1-size:    clamp(2.4rem, 5vw, 4.2rem);
  --h2-size:    clamp(1.8rem, 3vw, 2.8rem);
  --h3-size:    clamp(1.4rem, 2vw, 1.8rem);
  --h4-size:    1.25rem;
  --body-size:  1.0625rem;
  --small-size: 0.875rem;
  --badge-size: 0.75rem;

  /* Spacing */
  --section-v:  clamp(4rem, 8vw, 8rem);
  --container:  1260px;
  --gutter:     clamp(1.25rem, 3vw, 2rem);

  /* Radius */
  --r-card:   18px;
  --r-btn:    12px;
  --r-pill:   999px;
  --r-input:  10px;

  /* Shadows */
  --shadow-card:  0 4px 24px rgba(42,47,44,0.08);
  --shadow-hover: 0 8px 40px rgba(42,47,44,0.14);
  --shadow-nav:   0 2px 20px rgba(42,47,44,0.10);

  /* Transitions */
  --ease: cubic-bezier(.25,.46,.45,.94);
  --dur:  0.28s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  font-size: var(--body-size);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-v); }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

/* ---------- Typography ---------- */
.serif { font-family: var(--font-serif); }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 700; line-height: 1.18; letter-spacing: -0.01em; }
h1 { font-size: var(--h1-size); }
h2 { font-size: var(--h2-size); }
h3 { font-size: var(--h3-size); }
.section-label {
  font-family: var(--font-badge);
  font-size: var(--badge-size);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wood);
  margin-bottom: 0.6rem;
  display: block;
}
.section-heading {
  margin-bottom: 0.5rem;
}
.section-sub {
  color: var(--charcoal-60);
  font-size: var(--small-size);
  max-width: 52ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0.85rem 1.75rem;
  border-radius: var(--r-btn);
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(61,112,78,0.32);
}
.btn-secondary {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--charcoal);
}
.btn-secondary:hover {
  background: var(--charcoal);
  color: var(--cream);
  transform: translateY(-1px);
}
.btn-outline-green {
  background: transparent;
  color: var(--green);
  border: 1.5px solid var(--green);
}
.btn-outline-green:hover {
  background: var(--green);
  color: var(--cream);
}
.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.8125rem;
}
.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
  border-radius: 14px;
}

/* ---------- Badges ---------- */
.badge {
  display: inline-block;
  font-family: var(--font-badge);
  font-size: var(--badge-size);
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.3em 0.75em;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.badge-wood  { background: var(--wood);  color: var(--charcoal); }
.badge-rose  { background: var(--rose);  color: var(--charcoal); }
.badge-sky   { background: var(--sky);   color: var(--charcoal); }
.badge-green { background: var(--green); color: var(--cream); }

/* Hero içindeki "Montessori" rozeti — pastel pudra pembesi */
.badge-hero-montessori {
  background: #F2D5CC;
  color: #8B4A40;
  font-size: 0.72rem;
  padding: 0.32em 0.8em;
  letter-spacing: 0.05em;
  font-weight: 700;
  border-radius: 20px;
  white-space: nowrap;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(139,74,64,0.15);
}
.badge-cream { background: var(--cream-dark); color: var(--charcoal); }

/* ---------- Navigation ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(242,240,230,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: all var(--dur) var(--ease);
  height: 88px;              /* 80 → 88px — daha görkemli */
  display: flex;
  align-items: center;
  overflow: visible;         /* maskot alt taşma görünsün */
}
.site-header.scrolled {
  height: 68px;              /* 64 → 68px */
  border-bottom-color: var(--charcoal-10);
  box-shadow: var(--shadow-nav);
}
.nav-inner {
  display: flex;
  align-items: center;          /* tüm öğeler dikey ortada */
  justify-content: space-between;
  height: 100%;
  width: 100%;
  padding-bottom: 0;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  text-decoration: none;
}
/* ── Maskot Wrapper ── */
.nav-maskot-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  margin-right: 0.5rem;
  transform: translateY(22px);
  transition: transform var(--dur) var(--ease), width var(--dur) var(--ease), height var(--dur) var(--ease);
  overflow: visible;
  background: transparent;
  border: none;
  outline: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}
.nav-maskot-wrap:hover {
  transform: translateY(26px) scale(1.06);
}
.site-header.scrolled .nav-maskot-wrap {
  width: 88px;
  height: 88px;
  transform: translateY(16px);
}
/* Maskot img — JS tarafından:
   1) siyah bg şeffaf yapılır
   2) koala bölgesi crop edilir
   Sonuç: yalnızca koala+çember görünür, tam wrapper'ı doldurur */
.nav-maskot {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: transparent;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav-menu a {
  font-size: 0.9375rem;         /* 0.875 → 0.9375rem */
  font-weight: 500;
  letter-spacing: 0.07em;
  color: var(--charcoal);
  position: relative;
  padding-bottom: 4px;
  padding-inline: 2px;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--green);
  transition: width var(--dur) var(--ease);
}
.nav-menu a:hover::after,
.nav-menu a.active::after { width: 100%; }
.nav-menu a.active { color: var(--green); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  align-self: stretch;      /* navbarın tüm yüksekliğini kapla */
  align-items: center;      /* içerikleri dikey ortala */
  padding-block: 10px;      /* üst/alt nefes boşluğu */
}
.nav-icon-btn {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-pill);
  color: var(--charcoal);
  background: rgba(42,47,44,0.05);
  border: 1.5px solid transparent;
  transition: all var(--dur) var(--ease);
  position: relative;
}
.nav-icon-btn:hover {
  background: var(--charcoal-10);
  border-color: var(--charcoal-10);
  color: var(--green);
  transform: translateY(-1px);
}

/* ---------- Hesabım ikonu — Warm Wood tonu ---------- */
.nav-icon-btn.nav-account-btn {
  color: var(--wood);
  background: rgba(192,154,107,0.10);
  border-color: rgba(192,154,107,0.22);
}
.nav-icon-btn.nav-account-btn:hover {
  background: rgba(192,154,107,0.20);
  border-color: rgba(192,154,107,0.45);
  color: #a07a4a;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(192,154,107,0.22);
}

/* ---------- Sepetim ikonu — Forest Green tonu ---------- */
.nav-icon-btn.nav-cart-btn {
  color: var(--green);
  background: rgba(61,112,78,0.09);
  border-color: rgba(61,112,78,0.20);
}
.nav-icon-btn.nav-cart-btn:hover {
  background: rgba(61,112,78,0.18);
  border-color: rgba(61,112,78,0.40);
  color: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(61,112,78,0.22);
}

/* ══════════════════════════════════════════════
   Navbar Sosyal Medya İkonları
   ══════════════════════════════════════════════ */
.nav-social {
  display: flex;
  align-items: center;
  gap: 4px;
  /* solındaki eski WP butonu kaldırıldı — border-left gereksiz */
  padding-left: 0;
  margin-left: 0;
  border-left: none;
}

.nav-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  transition: all var(--dur) var(--ease);
  color: var(--charcoal);
  background: rgba(42,47,44,0.05);
  text-decoration: none;
  flex-shrink: 0;
}

/* Instagram — hover'da ikonik mor-turuncu gradient */
.nav-instagram {
  color: #8a3ab9;
  background: rgba(138,58,185,0.07);
  border-color: rgba(138,58,185,0.15);
}
.nav-instagram:hover {
  background: linear-gradient(135deg,
    rgba(253,88,33,0.12) 0%,
    rgba(193,53,132,0.12) 50%,
    rgba(88,81,219,0.12) 100%);
  border-color: rgba(193,53,132,0.35);
  color: #c13584;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(193,53,132,0.18);
}

/* Facebook — hover'da marka mavisi */
.nav-facebook {
  color: #1877f2;
  background: rgba(24,119,242,0.07);
  border-color: rgba(24,119,242,0.15);
}
.nav-facebook:hover {
  background: rgba(24,119,242,0.13);
  border-color: rgba(24,119,242,0.35);
  color: #0d5ed9;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(24,119,242,0.18);
}

/* Hesabım / Sepetim arası ince ayraç */
.nav-divider {
  width: 1px;
  height: 28px;
  background: rgba(42,47,44,0.12);
  flex-shrink: 0;
  margin-inline: 0.15rem;
}

/* Mobilde sosyal ikonları gizle (dar ekranda yer açmak için) */
@media (max-width: 860px) {
  .nav-social { display: none; }
  .nav-divider { display: none; }
}

/* ---------- Floating WhatsApp Butonu (sağ alt köşe) ---------- */
.float-wp {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 990;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.float-wp-bubble {
  background: #fff;
  border-radius: 16px 16px 4px 16px;
  padding: 0.65rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--charcoal);
  box-shadow: 0 4px 20px rgba(42,47,44,0.14);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(6px) scale(0.95);
  transition: all 0.25s var(--ease);
  pointer-events: none;
  font-family: var(--font-sans);
}
.float-wp:hover .float-wp-bubble,
.float-wp-bubble.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.float-wp-btn {
  width: 74px;                        /* 62 → 74px (+19%) */
  height: 74px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(61,112,78,0.30), 0 2px 8px rgba(42,47,44,0.12);
  transition: all 0.32s var(--ease);
  text-decoration: none;
  overflow: hidden;
  position: relative;
  border: 3px solid var(--green);
  animation: koalaFloat 3.6s ease-in-out infinite; /* uyuma / yüzme efekti */
}
.float-wp-btn:hover {
  transform: scale(1.1);
  animation-play-state: paused;       /* hover'da dur, sabit kalsın */
  box-shadow: 0 14px 36px rgba(61,112,78,0.40);
  border-color: #2f5c3e;
}
/* Maskot görsel float butonun içinde */
.float-wp-btn .float-maskot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(2.53) translate(-2%, -1%);
  transform-origin: center center;
  transition: opacity 0.25s;
  opacity: 1;
}
/* Hover'da WP ikonu overlay olarak gelsin */
.float-wp-btn .float-wp-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37,211,102,0.90);
  backdrop-filter: blur(2px);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.float-wp-btn:hover .float-wp-icon {
  opacity: 1;
}
.float-wp-btn:hover .float-maskot {
  opacity: 0.25;                      /* maskot soldukça WP ikonu belirsin */
}
/* Pulse halkası — yeşil brand rengi */
.float-wp-pulse {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2.5px solid rgba(61,112,78,0.45);
  animation: wpPulse 2.4s ease-out infinite;
  pointer-events: none;
}
/* ---- Koala uyuma / nefes alma animasyonu ---- */
@keyframes koalaFloat {
  0%   { transform: translateY(0px)   rotate(0deg); }
  20%  { transform: translateY(-5px)  rotate(-1.2deg); }
  50%  { transform: translateY(-8px)  rotate(0.5deg); }
  75%  { transform: translateY(-3px)  rotate(1deg); }
  100% { transform: translateY(0px)   rotate(0deg); }
}
@keyframes wpPulse {
  0%   { transform: scale(1);    opacity: 0.65; }
  70%  { transform: scale(1.28); opacity: 0; }
  100% { transform: scale(1.28); opacity: 0; }
}
.cart-count {
  position: absolute;
  top: 4px; right: 4px;
  width: 16px; height: 16px;
  background: var(--green);
  color: var(--cream);
  border-radius: 50%;
  font-size: 9px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  display: none;
}
.cart-count.show { display: flex; }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all var(--dur) var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Cards ---------- */
.product-card {
  background: var(--white);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--dur) var(--ease);
}
.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.card-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--cream-dark);
}
.card-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.product-card:hover .card-img-wrap img { transform: scale(1.04); }
.card-badge-wrap {
  position: absolute;
  top: 12px; left: 12px;
  display: flex; gap: 6px; flex-wrap: wrap;
}
.card-wishlist {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  background: rgba(242,240,230,0.88);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--charcoal-60);
  transition: all var(--dur) var(--ease);
  backdrop-filter: blur(6px);
}
.card-wishlist:hover { color: var(--rose); transform: scale(1.1); }
.card-body {
  padding: 1.25rem 1.4rem 1.5rem;
}
.card-category {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wood);
  font-family: var(--font-badge);
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.card-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}
.card-desc {
  font-size: 0.8125rem;
  color: var(--charcoal-60);
  line-height: 1.55;
  margin-bottom: 1rem;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.card-price {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--charcoal);
}
.card-price-old {
  font-size: 0.875rem;
  color: var(--charcoal-60);
  text-decoration: line-through;
  margin-left: 0.4rem;
  font-weight: 400;
}
.card-add {
  width: 38px; height: 38px;
  border-radius: var(--r-pill);
  background: var(--green);
  color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--dur) var(--ease);
  flex-shrink: 0;
}
.card-add:hover { background: var(--green-dark); transform: scale(1.08); }

/* ---------- Trust Band ---------- */
.trust-band {
  background: var(--sky);
  padding-block: 2rem;
  border-bottom: 1px solid var(--sky-dark);
}
.trust-band-inner {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.trust-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-inline: 2rem;
  border-right: 1px solid var(--charcoal-10);
}
.trust-item:last-child { border-right: none; }
.trust-icon {
  width: 44px; height: 44px;
  background: var(--white);
  border-radius: var(--r-pill);
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}
.trust-text-title {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.15rem;
}
.trust-text-sub {
  font-size: 0.75rem;
  color: var(--charcoal-60);
}

/* ---------- Section Divider ---------- */
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--wood), transparent);
  opacity: 0.4;
  margin-block: 0.5rem;
}

/* ---------- Accordion ---------- */
.accordion-item {
  border-bottom: 1px solid var(--charcoal-10);
}
.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--charcoal);
  text-align: left;
  gap: 1rem;
  transition: color var(--dur) var(--ease);
}
.accordion-header:hover { color: var(--green); }
.accordion-icon {
  width: 28px; height: 28px;
  border: 1.5px solid var(--charcoal-30);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all var(--dur) var(--ease);
  color: var(--charcoal);
}
.accordion-header.open .accordion-icon {
  border-color: var(--green);
  background: var(--green);
  color: var(--cream);
  transform: rotate(45deg);
}
.accordion-body {
  display: none;
  padding-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--charcoal-60);
  line-height: 1.7;
}
.accordion-body.show { display: block; }

/* ---------- Stars ---------- */
.stars {
  display: flex;
  gap: 2px;
  color: var(--wood);
}
.stars svg { width: 14px; height: 14px; fill: currentColor; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: rgba(242,240,230,0.75);
  padding-block: 5rem 2.5rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(242,240,230,0.1);
  margin-bottom: 2.5rem;
}
.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.12em;
  margin-bottom: 0.3rem;
}
.footer-brand-slogan {
  font-size: 0.8125rem;
  color: var(--wood-light);
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}
.footer-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 28ch;
  margin-bottom: 1.5rem;
}
.footer-social {
  display: flex;
  gap: 0.75rem;
}
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(242,240,230,0.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(242,240,230,0.6);
  transition: all var(--dur) var(--ease);
}
.footer-social a:hover {
  border-color: var(--wood);
  color: var(--wood);
}
.footer-col h4 {
  font-family: var(--font-badge);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 1.25rem;
}
.footer-col ul li + li { margin-top: 0.75rem; }
.footer-col ul a {
  font-size: 0.875rem;
  color: rgba(242,240,230,0.6);
  transition: color var(--dur) var(--ease);
}
.footer-col ul a:hover { color: var(--cream); }
.footer-newsletter input {
  width: 100%;
  background: rgba(242,240,230,0.08);
  border: 1px solid rgba(242,240,230,0.15);
  border-radius: var(--r-input);
  padding: 0.75rem 1rem;
  color: var(--cream);
  font-size: 0.875rem;
  margin-bottom: 0.6rem;
  outline: none;
  transition: border-color var(--dur) var(--ease);
}
.footer-newsletter input::placeholder { color: rgba(242,240,230,0.35); }
.footer-newsletter input:focus { border-color: var(--wood); }
.footer-newsletter .btn {
  width: 100%;
  justify-content: center;
  padding: 0.7rem;
  font-size: 0.875rem;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy {
  font-size: 0.8125rem;
  color: rgba(242,240,230,0.4);
}
.footer-payments {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.payment-icon {
  height: 22px;
  background: rgba(242,240,230,0.15);
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(242,240,230,0.65);
  letter-spacing: 0.04em;
  display: flex; align-items: center; justify-content: center;
  white-space: nowrap;
}
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-legal-links a {
  font-size: 0.75rem;
  color: rgba(242,240,230,0.4);
  transition: color var(--dur) var(--ease);
}
.footer-legal-links a:hover { color: rgba(242,240,230,0.8); }

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  padding-top: calc(88px + 5rem);
  padding-bottom: 4rem;
  background: var(--cream);
  border-bottom: 1px solid var(--charcoal-10);
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 0.75rem;
}
.page-hero p {
  color: var(--charcoal-60);
  font-size: var(--small-size);
  max-width: 52ch;
}

/* ---------- Grid Helpers ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ---------- Form Elements ---------- */
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: 0.02em;
}
.form-control {
  width: 100%;
  border: 1.5px solid var(--charcoal-30);
  border-radius: var(--r-input);
  padding: 0.75rem 1rem;
  background: var(--white);
  color: var(--charcoal);
  font-size: 0.9375rem;
  outline: none;
  transition: border-color var(--dur) var(--ease);
}
.form-control:focus { border-color: var(--green); }
.form-control::placeholder { color: var(--charcoal-30); }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--charcoal-30); border-radius: 3px; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — E-TİCARET PROFESYONELİ MOBİL TASARIM
   ══════════════════════════════════════════════════════════ */

/* ── Tablet ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .grid-4     { grid-template-columns: repeat(2, 1fr); }
}

/* ── Mobil (≤768px) ─────────────────────────────────── */
@media (max-width: 768px) {

  /* === NAVBAR === */
  .site-header {
    height: 64px;
    padding-inline: 0;
  }
  .site-header.scrolled { height: 56px; }

  /* Maskot biraz küçülsün */
  .nav-maskot-wrap {
    width: 72px;
    height: 72px;
    transform: translateY(14px);
  }
  .site-header.scrolled .nav-maskot-wrap {
    width: 60px;
    height: 60px;
    transform: translateY(10px);
  }

  /* Full-screen slide menü */
  .nav-menu {
    position: fixed;
    top: 0; left: 0; right: 0;
    bottom: 64px;              /* alt nav barın üstüne taşmasın */
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    transform: translateX(-100%);
    transition: transform 0.38s cubic-bezier(.4,0,.2,1);
    z-index: 1001;             /* bottom nav’ın üzerinde */
    padding: 4rem 2rem 2rem;
    overflow-y: auto;
  }
  .nav-menu.open { transform: translateX(0); }
  /* Menü açıkken bottom nav’ı gizle */
  body.menu-open .mobile-bottom-nav { display: none; }
  .nav-menu a {
    font-size: 1.3rem;
    font-family: var(--font-serif);
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 1rem 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--charcoal-10);
    color: var(--charcoal);
  }
  .nav-menu a:last-child { border-bottom: none; }
  .nav-menu a.active    { color: var(--green); }
  .nav-menu a::after    { display: none; }

  /* Sosyal + cart gizle, hamburger göster */
  .nav-social  { display: none; }
  .nav-divider { display: none; }
  .nav-account-btn { display: none; }
  .nav-toggle  { display: flex; }

  /* Sepet ikonu navbar'da kalacak */
  .nav-cart-btn {
    width: 40px; height: 40px;
  }

  /* === LAYOUT === */
  .container { padding-inline: 1rem; }
  .section    { padding-block: 3rem; }

  /* Grid sistemleri */
  .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 1.25rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  /* === TRUST BAND === */
  .trust-band-inner {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
    justify-content: center;
  }
  .trust-item {
    flex: 0 0 50%;
    border-right: none;
    border-bottom: 1px solid var(--charcoal-10);
    padding: 1rem 0.5rem;
    text-align: center;
  }
  .trust-item:nth-child(odd)  { border-right: 1px solid var(--charcoal-10); }
  .trust-item:last-child,
  .trust-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }

  /* === ÜRÜN KARTI === */
  .product-card .card-img {
    aspect-ratio: 4/3;
  }
  .product-card .card-body {
    padding: 0.875rem;
  }
  .card-title { font-size: 0.9rem; }
  .card-price { font-size: 1rem; }

  /* === FOOTER === */
  .footer-top    { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
  }
  /* Footer alt kısmında bottom-nav için boşluk */
  footer { padding-bottom: 80px; }

  /* === BUTTONS === */
  .btn-lg {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
    width: 100%;
    justify-content: center;
  }
}

/* ── Küçük Mobil (≤480px) ──────────────────────────── */
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .btn-lg { padding: 0.875rem 1.25rem; }
  .section-title { font-size: clamp(1.5rem, 6vw, 2rem); }

  /* Ürün kartları 2 kolon grid'de tam uyum */
  .product-card .card-img { aspect-ratio: 1/1; }
  .card-title { font-size: 0.825rem; }
  .card-price { font-size: 0.9rem; }

  /* Float WP butonu küçülsün */
  .float-wp { bottom: 90px; right: 16px; }
  .float-wp-btn { width: 56px; height: 56px; }
}

/* ══════════════════════════════════════════════════════════
   MOBİL BOTTOM NAV BAR — E-Ticaret Standart
   ══════════════════════════════════════════════════════════ */
.mobile-bottom-nav {
  display: none; /* Sadece mobilde görünür */
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: 64px;
    background: rgba(242,240,230,0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--charcoal-10);
    box-shadow: 0 -4px 20px rgba(42,47,44,0.08);
    z-index: 990;
    align-items: stretch;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .bn-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-decoration: none;
    color: var(--charcoal-60);
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: color 0.2s ease;
    position: relative;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
  }
  .bn-item svg {
    width: 22px; height: 22px;
    stroke-width: 1.6;
    transition: transform 0.2s ease;
  }
  .bn-item span { line-height: 1; }

  /* Aktif & hover */
  .bn-item.active,
  .bn-item:hover {
    color: var(--green);
  }
  .bn-item.active svg,
  .bn-item:hover svg {
    transform: translateY(-2px);
  }

  /* Aktif çizgi göstergesi */
  .bn-item.active::before {
    content: '';
    position: absolute;
    top: 0; left: 25%; right: 25%;
    height: 2.5px;
    background: var(--green);
    border-radius: 0 0 3px 3px;
  }

  /* Orta "Mağaza" butonu vurgulu */
  .bn-item.bn-cta {
    color: var(--white);
    background: var(--green);
    border-radius: 16px;
    margin: 8px 4px;
    flex: 1.2;
    box-shadow: 0 4px 14px rgba(61,112,78,0.30);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  }
  .bn-item.bn-cta:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(61,112,78,0.40);
    color: var(--white);
  }
  .bn-item.bn-cta::before { display: none; }
  .bn-item.bn-cta svg { stroke: currentColor; }

  /* Sepet badge */
  .bn-cart-badge {
    position: absolute;
    top: 6px; right: calc(50% - 18px);
    min-width: 16px; height: 16px;
    background: var(--wood);
    color: #fff;
    border-radius: 8px;
    font-size: 9px;
    font-weight: 700;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    border: 1.5px solid var(--cream);
  }
  .bn-cart-badge.show { display: flex; }

  /* Ana sayfa içeriği bottom nav yüksekliği kadar aşağı itilsin */
  body { padding-bottom: 64px; }
  body.menu-open { overflow: hidden; }
}


/* ---------- Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.fade-up  { animation: fadeUp 0.7s var(--ease) both; }
.fade-in  { animation: fadeIn 0.6s var(--ease) both; }
.delay-1  { animation-delay: 0.12s; }
.delay-2  { animation-delay: 0.24s; }
.delay-3  { animation-delay: 0.36s; }
.delay-4  { animation-delay: 0.48s; }

/* ---------- Intersection Observer reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
