/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Renkler doğrudan logodan alındı:
   altın #C47C2C (güneş + çerçeve + "BATMAN"), yeşil #647854 (tepeler),
   koyu #2A2622 ("GÜNEŞ SÜT"), krem #F4F0E8 (rozet zemini) */
:root {
  --gold:      #C47C2C;
  --gold-dk:   #D89A52;
  --gold-text: #815016;
  --gold-lt:   #E3B77F;
  --green:     #647854;
  --green-dk:  #3F4E34;
  --green-dp:  #334028;
  --cream:     #F4F0E8;
  --cream-dk:  #EBE3D5;
  --brown:     #2A1B06;
  --text:      #2A2622;
  --text-lt:   #6B665D;
  --white:     #fff;
  --radius:    12px;
  --shadow:    0 2px 16px rgba(51,64,40,.08);
  --shadow-md: 0 10px 34px rgba(51,64,40,.16);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  font-size: 16px;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

/* ===== BUTTONS ===== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .7rem 1.6rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform .15s, box-shadow .15s, background .15s, color .15s;
  white-space: nowrap;
  overflow: hidden;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.55) 48%, transparent 66%);
  background-size: 220% 100%;
  background-position: 120% 0;
  transition: background-position .6s ease;
  pointer-events: none;
}
.btn:hover::after { background-position: -20% 0; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary  { background: var(--gold); color: var(--brown); }
.btn-primary:hover { background: var(--gold-dk); }
.btn-outline  { background: transparent; border: 2px solid rgba(255,255,255,.6); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-full     { width: 100%; }

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  transition: box-shadow .25s ease, border-color .25s ease;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  border-bottom-color: rgba(0,0,0,.03);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}
.brand-logo { height: 44px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}
.nav-links a {
  font-weight: 600;
  font-size: .92rem;
  color: var(--text);
  transition: color .15s;
}
.nav-links a:hover { color: var(--gold-text); }

.nav-right { display: flex; align-items: center; gap: .8rem; }

.cart-chip {
  display: flex;
  align-items: center;
  gap: .4rem;
  background: var(--gold);
  color: var(--brown);
  font-weight: 800;
  font-size: .9rem;
  padding: .4rem .9rem;
  border-radius: 999px;
  transition: background .15s;
}
.cart-chip:hover { background: var(--gold-dk); }
.cart-chip svg   { flex-shrink: 0; }
#cartCount { display: inline-block; }
#cartCount.bump { animation: bump .35s ease; }
@keyframes bump {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.45); }
  100% { transform: scale(1); }
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .3rem;
}
.burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all .2s; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(140deg, #4A5B3C 0%, var(--green-dp) 52%, #506248 100%);
  color: var(--white);
  padding: 5rem 0 0;
  overflow: hidden;
  position: relative;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  width: 380px;
  height: 380px;
  top: -140px;
  right: -80px;
  background: radial-gradient(circle, rgba(196,124,44,.34), transparent 70%);
  animation: driftA 16s ease-in-out infinite;
}
.hero::after {
  width: 300px;
  height: 300px;
  bottom: -120px;
  left: -60px;
  background: radial-gradient(circle, rgba(100,120,84,.46), transparent 70%);
  animation: driftB 20s ease-in-out infinite;
}
@keyframes driftA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 25px) scale(1.08); }
}
@keyframes driftB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(25px, -20px) scale(1.1); }
}
/* Çok hafif kağıt dokusu — doğal/köy hissini güçlendirir, fark edilmeyecek kadar ince */
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 280px;
  align-items: center;
  gap: 3rem;
  padding-bottom: 4.5rem;
}
.hero-eyebrow {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .75;
  margin-bottom: .75rem;
}
.hero-text h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.1rem;
}
.hero-text h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--gold) 30%, var(--gold-lt) 45%, var(--gold) 60%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 5s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 0; }
  50% { background-position: 100% 0; }
}
.hero-desc {
  font-size: 1.05rem;
  opacity: .85;
  max-width: 480px;
  margin-bottom: 2rem;
}
.hero-btns { display: flex; gap: .9rem; flex-wrap: wrap; }
.hero-logo {
  position: relative;
  filter: drop-shadow(0 6px 24px rgba(0,0,0,.2));
  animation: floatY 6s ease-in-out infinite;
}
.hero-logo::before {
  content: "";
  position: absolute;
  inset: 8%;
  background: radial-gradient(circle, rgba(196,124,44,.42), transparent 72%);
  filter: blur(18px);
  z-index: -1;
}
/* Fare hareketiyle hafif 3B eğilme — app.js'te sadece fareli cihazlarda açılır */
.hero-logo img {
  width: 100%;
  transform-origin: center;
  transition: transform .3s cubic-bezier(.2,.7,.3,1);
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-wave { position: relative; z-index: 1; line-height: 0; }
.hero-wave svg { width: 100%; height: 55px; display: block; }

@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after, .hero-text h1 em, .hero-logo { animation: none; }
  .hero-logo img { transition: none; }
}

/* ===== STEPS ===== */
.steps { padding: 3.5rem 0; background: var(--cream); }
.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--brown);
  font-weight: 800;
  font-size: .95rem;
  margin-bottom: .8rem;
  transition: transform .25s cubic-bezier(.2,.7,.3,1);
}
.step-card:hover .step-num { transform: scale(1.12) rotate(-8deg); }
.step-card strong { display: block; font-size: .95rem; font-weight: 700; margin-bottom: .3rem; color: var(--green-dk); }
.step-card p { font-size: .82rem; color: var(--text-lt); }

/* ===== SECTION HEAD ===== */
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--green-dk); margin-bottom: .4rem; }
.section-head p  { color: var(--text-lt); }

/* Başlıkların altında görünürken çizilen altın vurgu */
.heading-accent { position: relative; padding-bottom: .6rem; }
.heading-accent::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt));
  transition: width .8s cubic-bezier(.2,.7,.3,1) .2s;
}
.heading-accent.visible::after { width: 62px; }
.section-head .heading-accent::after { left: 50%; transform: translateX(-50%); }
.section-head .heading-accent.visible::after { width: 84px; }

@media (prefers-reduced-motion: reduce) {
  .heading-accent::after { transition: none; width: 62px; }
  .section-head .heading-accent::after { width: 84px; }
}

/* ===== PRODUCTS ===== */
.products { padding: 4.5rem 0; background: var(--cream-dk); }
.product-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.product-category { min-width: 0; }
.product-category-title {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .85rem;
  color: var(--green-dk);
  font-size: 1.05rem;
  font-weight: 800;
}
.product-category-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(74,91,60,.22), transparent);
}
.product-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.4rem;
  perspective: 1200px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
  transform-style: preserve-3d;
}
.product-card:hover { transform: translateY(-6px) rotateX(3deg) rotateY(-2deg); box-shadow: var(--shadow-md); }
.product-card.featured { outline: 2px solid var(--gold); }
.product-card.unavailable { opacity: .6; }
.product-card.unavailable:hover { transform: none; box-shadow: var(--shadow); }
.product-card.unavailable .product-img img { filter: grayscale(60%); }

.product-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--cream);
  position: relative;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.product-card:hover .product-img img { transform: scale(1.04); }
/* Gerçek fotoğrafı henüz olmayan ürünler: sahte görsel yerine nötr boş kutu */
.product-img-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(45deg, transparent 0 10px, rgba(132,124,110,.05) 10px 20px),
    var(--cream-dk);
  border-bottom: 1px solid rgba(132,124,110,.14);
}
.product-img-empty span {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-lt);
  opacity: .7;
  letter-spacing: .02em;
}
/* Üzerine gelince görselin üstünden geçen yumuşak ışık */
.product-img::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.32) 50%, transparent 65%);
  background-size: 250% 100%;
  background-position: 135% 0;
  transition: background-position .85s ease;
}
.product-card:hover .product-img::after { background-position: -35% 0; }

.product-badge {
  position: absolute;
  top: .7rem;
  right: .7rem;
  z-index: 2;
  background: var(--gold);
  color: var(--brown);
  font-size: .72rem;
  font-weight: 800;
  padding: .2rem .6rem;
  border-radius: 999px;
  letter-spacing: .03em;
}
.product-badge.badge-info {
  background: var(--green-dk);
  color: var(--white);
  top: auto;
  bottom: .7rem;
  right: .7rem;
}
.product-badge.badge-unavailable {
  background: #6B665D;
  color: var(--white);
  top: auto;
  bottom: .7rem;
  right: .7rem;
}

.product-content { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.product-tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--green); }
.product-title { font-size: 1.05rem; font-weight: 800; color: var(--green-dk); }
.product-price { font-size: 1.1rem; font-weight: 800; color: var(--gold-text); }
.price-unit { font-size: .72rem; font-weight: 700; color: var(--text-lt); }
.price-basis { display: block; margin-top: .05rem; color: var(--text-lt); font-size: .7rem; font-weight: 600; opacity: .75; }
.stock-note { display: block; font-size: .74rem; font-weight: 700; color: var(--green); margin-top: .15rem; }
.product-desc { font-size: .85rem; color: var(--text-lt); flex: 1; }
.product-choice-hint { color: var(--green); font-size: .72rem; font-weight: 700; }
.add-btn { margin-top: .5rem; width: 100%; }
.add-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.add-btn:disabled:hover { transform: none; box-shadow: none; }

/* Yumurta kartında butona basıldıktan sonra miktar seçimi */
.egg-quantity-overlay {
  position: fixed;
  z-index: 280;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(31,39,27,.4);
  backdrop-filter: blur(3px);
}
.egg-quantity-overlay.is-hidden { display: none; }
.egg-quantity-modal {
  position: relative;
  width: min(430px, 100%);
  padding: 1.45rem;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 20px 60px rgba(31,39,27,.28);
}
.egg-quantity-eyebrow { color: var(--green); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.egg-quantity-modal h3 { margin: .2rem 2rem 1rem 0; color: var(--green-dk); font-size: 1.15rem; }
.egg-quantity-modal > p { margin-top: .8rem; color: var(--text-lt); font-size: .74rem; }
.egg-quantity-options { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.egg-quantity-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  min-height: 54px;
  padding: .7rem .8rem;
  border: 1px solid rgba(74,91,60,.18);
  border-radius: 11px;
  background: var(--cream);
  color: var(--green-dk);
  font: inherit;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s;
}
.egg-quantity-option:hover { border-color: var(--gold); background: #FFF9EA; transform: translateY(-1px); }
.egg-quantity-option strong { font-size: .88rem; }
.egg-quantity-option span { color: var(--gold-text); font-size: .78rem; font-weight: 800; }

/* Ürün eklenince alışverişi bölmeden altta kısa süre görünen seçim paneli */
.cart-choice {
  position: fixed;
  z-index: 260;
  left: 50%;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(560px, calc(100% - 2rem));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem .9rem .85rem 1.05rem;
  border: 1px solid rgba(74,91,60,.16);
  border-radius: 14px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 12px 38px rgba(43,52,36,.2);
  animation: cartChoiceIn .22s ease-out;
}
.cart-choice.is-hidden { display: none; }
.cart-choice-copy { min-width: 0; display: flex; flex-direction: column; }
.cart-choice-copy span { color: var(--green); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.cart-choice-copy strong { color: var(--green-dk); font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-choice-actions { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.cart-choice-actions .btn { padding: .62rem .9rem; min-height: 40px; }
.cart-choice-continue {
  border: 0;
  background: transparent;
  color: var(--text-lt);
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  padding: .55rem .35rem;
}
.cart-choice-continue:hover { color: var(--green-dk); }
@keyframes cartChoiceIn {
  from { opacity: 0; transform: translate(-50%, 12px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* ===== CARE / GARANTİ ===== */
.care {
  padding: 3.5rem 0;
  background: linear-gradient(140deg, #4A5B3C 0%, var(--green-dp) 52%, #506248 100%);
  color: var(--white);
}
.care-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}
.care-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 1.6rem 1.7rem;
}
.care-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  font-size: 1.3rem;
  margin-bottom: .9rem;
}
.care-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: .5rem; }
.care-card p  { font-size: .88rem; line-height: 1.65; opacity: .88; }
.care-card p strong { color: var(--gold-lt, #E3B77F); opacity: 1; }

/* ===== ORDER ===== */
.order { padding: 4.5rem 0; background: var(--cream); }
.order-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2rem;
  align-items: start;
}
.order-panel {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  min-width: 0; /* grid içinde içerik genişliğine kilitlenip taşmasın */
}
.panel-head { margin-bottom: 1.4rem; }
.panel-head h2 { font-size: 1.3rem; font-weight: 800; color: var(--green-dk); }

.cart-items { display: flex; flex-direction: column; gap: .8rem; }
.cart-item {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: .8rem;
  align-items: center;
  padding: .7rem;
  background: var(--cream);
  border-radius: 10px;
}
.cart-item img { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; }
.cart-item-noimg {
  width: 52px; height: 52px; border-radius: 8px;
  background: var(--cream-dk);
  border: 1px dashed rgba(132,124,110,.3);
}
.cart-item h4 { font-size: .9rem; font-weight: 700; margin-bottom: .15rem; }
.cart-item p  { font-size: .78rem; color: var(--text-lt); }

.cart-controls { display: flex; align-items: center; gap: .4rem; }
.cart-controls button {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid #DED6C6;
  background: var(--white);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
  line-height: 1;
}
.cart-controls button:hover { background: var(--cream-dk); }
.cart-controls .remove-btn { border-color: #E4B6AC; color: #A8402C; font-size: .9rem; }
.cart-controls strong { font-size: .95rem; min-width: 20px; text-align: center; }

.cart-empty { padding: 1.5rem 0; text-align: center; color: var(--text-lt); font-size: .9rem; }
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: .9rem;
  padding-top: .9rem;
  border-top: 1.5px dashed #DED6C6;
  font-size: .95rem;
  color: var(--text-lt);
  font-weight: 700;
}
.cart-total:empty { display: none; }
.cart-total strong { font-size: 1.2rem; color: var(--gold-text); }
.cart-note  { margin-top: 1rem; padding: .9rem 1rem; background: var(--cream-dk); border-radius: 10px; font-size: .82rem; color: var(--text-lt); }

.order-form { display: flex; flex-direction: column; gap: .9rem; }
.order-form h2 { font-size: 1.3rem; font-weight: 800; color: var(--green-dk); margin-bottom: .5rem; }

/* minmax(0,1fr): input'ların varsayılan iç genişliği sütunları şişirip
   taşmaya yol açmasın diye — "auto" minimum küçülmeye izin vermiyor. */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }

.order-form label {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  min-width: 0; /* grid/flex içinde küçülebilsin, taşmayı önler */
  font-size: .82rem;
  font-weight: 700;
  color: var(--text-lt);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.order-form input,
.order-form textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: .65rem .9rem;
  border: 1.5px solid #e0ddd5;
  border-radius: 9px;
  font-family: inherit;
  font-size: 16px; /* 16px — iOS Safari auto-zoom önler */
  font-weight: 600;
  color: var(--text);
  background: var(--cream);
  transition: border-color .15s;
  resize: vertical;
}
.order-form input:focus,
.order-form textarea:focus { outline: none; border-color: var(--gold); background: var(--white); }
.order-form input[readonly] { opacity: .6; cursor: default; }

.form-note { font-size: .82rem; text-align: center; color: var(--text-lt); margin-top: .2rem; min-height: 1.2rem; }
.optional   { font-weight: 400; font-size: .78rem; text-transform: none; letter-spacing: 0; color: var(--text-lt); margin-left: .3rem; }
.field-hint { font-weight: 400; font-size: .74rem; text-transform: none; letter-spacing: 0; color: var(--text-lt); margin-top: .25rem; line-height: 1.4; }
.label-head { display: flex; align-items: center; }

/* ===== ABOUT ===== */
.about { padding: 4.5rem 0; background: var(--cream-dk); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 4rem;
  align-items: center;
}
.about-text h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 800; color: var(--green-dk); margin-bottom: 1.8rem; }
.about-list { list-style: none; display: flex; flex-direction: column; gap: 1.3rem; }
.about-list li { display: flex; gap: 1.1rem; align-items: flex-start; }
.about-num {
  flex-shrink: 0;
  font-size: .72rem;
  font-weight: 800;
  color: var(--gold-text);
  letter-spacing: .05em;
  padding-top: .15rem;
}
.about-list strong { display: block; font-weight: 700; color: var(--green-dk); margin-bottom: .2rem; }
.about-list p { font-size: .88rem; color: var(--text-lt); }
.about-logo { text-align: center; }
.about-logo img { width: 200px; margin: 0 auto; filter: drop-shadow(0 4px 16px rgba(0,0,0,.1)); }

/* ===== CONTACT ===== */
.contact { padding: 4rem 0; background: var(--green-dk); color: var(--white); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.contact h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: .5rem; }
.contact p  { opacity: .75; font-size: .95rem; }
.contact-cards { display: flex; flex-direction: column; gap: .8rem; }
.contact-card {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  transition: background .15s;
}
.contact-card:hover { background: rgba(255,255,255,.18); }
.contact-card strong { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; opacity: .65; }
.contact-card span  { font-weight: 700; font-size: .95rem; }

/* ===== FOOTER ===== */
.footer { background: #2C3623; padding: 1.8rem 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-logo  { height: 44px; width: auto; }
.footer p     { font-size: .82rem; color: rgba(255,255,255,.45); }
.footer-subbrand { font-size: .85em; opacity: .75; }

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom));
  right: calc(20px + env(safe-area-inset-right));
  z-index: 200;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 14px rgba(0,0,0,.22);
  transition: transform .18s, box-shadow .18s;
}
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: waPulse 2.6s ease-out infinite;
  z-index: -1;
}
@keyframes waPulse {
  0%   { opacity: .55; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.9); }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float::before { animation: none; }
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 5px 20px rgba(0,0,0,.28); }

/* ===== AUTH / ÜYELİK ===== */
.is-hidden { display: none !important; }

.auth-chip {
  display: flex;
  align-items: center;
  gap: .4rem;
  background: transparent;
  border: 1.5px solid var(--green);
  color: var(--green-dk);
  font-weight: 700;
  font-size: .85rem;
  padding: .4rem .9rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s, color .15s;
}
.auth-chip:hover { background: var(--green); color: var(--white); }

.user-chip {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .85rem;
  font-weight: 700;
  color: var(--green-dk);
}
.user-logout {
  background: none;
  border: 1.5px solid #DED6C6;
  border-radius: 999px;
  padding: .3rem .7rem;
  font-family: inherit;
  font-size: .78rem;
  font-weight: 700;
  color: var(--text-lt);
  cursor: pointer;
  transition: background .15s;
}
.user-logout:hover { background: var(--cream-dk); }

.auth-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(42,38,34,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.auth-modal {
  position: relative;
  width: min(400px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 2rem 1.6rem 1.6rem;
}
.auth-modal-close {
  position: absolute;
  top: .9rem;
  right: .9rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--cream);
  color: var(--text-lt);
  font-size: .9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-modal-close:hover { background: var(--cream-dk); }

.auth-tabs { display: flex; gap: .5rem; margin-bottom: 1.4rem; }
.auth-tab {
  flex: 1;
  background: none;
  border: none;
  border-bottom: 2.5px solid transparent;
  padding: .5rem .3rem .7rem;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 700;
  color: var(--text-lt);
  cursor: pointer;
}
.auth-tab.active { color: var(--green-dk); border-bottom-color: var(--gold); }

.auth-form { gap: .8rem; }

.auth-divider {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin: 1.1rem 0 .9rem;
  color: var(--text-lt);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #E4DECF;
}

.auth-google {
  background: var(--white);
  border: 1.5px solid #DED6C6;
  color: var(--text);
}
.auth-google:hover { background: var(--cream); }

/* ===== ÜYE PANELİ / GİRİŞ AKIŞI ===== */
.user-name-btn {
  display: flex;
  align-items: center;
  gap: .4rem;
  background: transparent;
  border: 1.5px solid transparent;
  border-radius: 999px;
  padding: .35rem .7rem;
  font-family: inherit;
  font-size: .85rem;
  font-weight: 700;
  color: var(--green-dk);
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.user-name-btn:hover { background: var(--cream-dk); border-color: #DED6C6; }

.auth-google-hint {
  text-align: center;
  font-size: .76rem;
  color: var(--text-lt);
  margin-top: .5rem;
}
.auth-link-btn {
  display: block;
  margin: .5rem auto 0;
  background: none;
  border: none;
  font-family: inherit;
  font-size: .8rem;
  font-weight: 700;
  color: var(--gold-text);
  cursor: pointer;
  text-decoration: underline;
  padding: .3rem;
}
.auth-link-btn:hover { color: var(--gold); }

.modal-title { font-size: 1.15rem; font-weight: 800; color: var(--green-dk); margin-bottom: .35rem; }
.modal-sub   { font-size: .86rem; color: var(--text-lt); margin-bottom: 1.2rem; line-height: 1.5; }

.consent-row {
  flex-direction: row !important;
  align-items: flex-start;
  gap: .55rem !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: .78rem !important;
  font-weight: 400 !important;
  line-height: 1.45;
  color: var(--text-lt);
}
.consent-row input[type="checkbox"] {
  width: auto !important;
  min-width: auto !important;
  flex-shrink: 0;
  margin-top: .15rem;
  accent-color: var(--gold);
  transform: scale(1.15);
}
.consent-row a { color: var(--gold-text); text-decoration: underline; font-weight: 700; }

.member-modal { width: min(520px, 100%); }
.member-pane { animation: fadeIn .2s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.verify-banner {
  background: var(--cream-dk);
  border-radius: 9px;
  padding: .7rem .9rem;
  font-size: .8rem;
  color: var(--text-lt);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.verify-banner .auth-link-btn { display: inline; margin: 0; font-size: .8rem; }

.verify-badge {
  display: inline-flex;
  align-items: center;
  gap: .22rem;
  margin-left: .45rem;
  padding: .1rem .48rem;
  border-radius: 999px;
  background: #D6E8D2;
  color: #33632B;
  font-size: .68rem;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
}
.verify-badge svg { flex-shrink: 0; }

.empty-hint { font-size: .85rem; color: var(--text-lt); text-align: center; padding: 1.2rem 0; }

.address-list { display: flex; flex-direction: column; gap: .7rem; margin-bottom: 1.3rem; }
.address-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .8rem;
  background: var(--cream);
  border-radius: 10px;
  padding: .8rem .95rem;
}
.address-card-body { min-width: 0; }
.address-card-body strong { display: block; font-size: .88rem; color: var(--green-dk); margin-bottom: .15rem; }
.address-card-body p { font-size: .8rem; color: var(--text-lt); line-height: 1.45; word-break: break-word; }
.address-card-actions { display: flex; flex-direction: column; gap: .35rem; flex-shrink: 0; }

.address-form { border-top: 1.5px dashed #DED6C6; padding-top: 1.2rem; }
.address-form-actions { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.address-form-actions .btn { flex: 1; min-width: 140px; }

.order-history { display: flex; flex-direction: column; gap: .8rem; }
.order-history-card {
  background: var(--cream);
  border-radius: 10px;
  padding: .9rem 1rem;
}
.order-history-card.cancelled { opacity: .6; }
.order-history-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .6rem;
  margin-bottom: .45rem;
  font-size: .8rem;
  font-weight: 700;
  color: var(--text-lt);
}
.order-history-card > p { font-size: .84rem; color: var(--text); line-height: 1.5; margin-bottom: .6rem; word-break: break-word; }
.order-history-foot { display: flex; justify-content: space-between; align-items: center; gap: .6rem; flex-wrap: wrap; }
.order-history-foot strong { font-size: 1rem; color: var(--gold-text); }

.order-status {
  padding: .18rem .6rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  white-space: nowrap;
}
.status-yeni        { background: #E4EAD9; color: var(--green-dk); }
.status-hazirlaniyor{ background: #F6E6CC; color: var(--gold-text); }
.status-yolda       { background: #DCE7F2; color: #2C5480; }
.status-teslim      { background: #D6E8D2; color: #33632B; }
.status-iptal       { background: #F6E4DE; color: #A8402C; }

/* Sipariş formundaki kayıtlı adres seçici */
.saved-address-row { display: flex; flex-direction: column; gap: .45rem; }
.saved-address-label {
  font-size: .78rem;
  font-weight: 700;
  color: var(--text-lt);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.saved-address-chips { display: flex; gap: .45rem; flex-wrap: wrap; }
.address-chip {
  padding: .4rem .85rem;
  border-radius: 999px;
  border: 1.5px solid #DED6C6;
  background: var(--white);
  font-family: inherit;
  font-size: .8rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.address-chip:hover { background: var(--cream-dk); }
.address-chip.active { background: var(--green); border-color: var(--green); color: var(--white); }

/* Misafir kullanıcıya üyelik teşviki */
.guest-nudge {
  background: var(--cream-dk);
  border: 1.5px dashed var(--gold-lt);
  border-radius: 10px;
  padding: 1rem 1.1rem;
}
.guest-nudge strong { display: block; font-size: .92rem; color: var(--green-dk); margin-bottom: .3rem; }
.guest-nudge p { font-size: .8rem; color: var(--text-lt); line-height: 1.5; margin-bottom: .8rem; }
.guest-nudge-actions { display: flex; gap: .7rem; align-items: center; flex-wrap: wrap; }
.guest-nudge-actions .btn { padding: .55rem 1.3rem; font-size: .85rem; }
.guest-nudge-actions .auth-link-btn { margin: 0; }

.footer-link { color: rgba(255,255,255,.6); text-decoration: underline; margin-left: .6rem; }
.footer-link:hover { color: rgba(255,255,255,.9); }

/* ===== YASAL SAYFA (KVKK) ===== */
.legal-page { padding: 3rem 0 4rem; max-width: 760px; }
.legal-page h1 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--green-dk); margin-bottom: .4rem; }
.legal-updated { font-size: .82rem; color: var(--text-lt); margin-bottom: 2rem; }
.legal-page h2 { font-size: 1.05rem; font-weight: 800; color: var(--green-dk); margin: 1.8rem 0 .6rem; }
.legal-page p, .legal-page li { font-size: .9rem; line-height: 1.7; color: var(--text); }
.legal-page ul { padding-left: 1.2rem; margin-bottom: .8rem; }
.legal-page li { margin-bottom: .4rem; }
.legal-page a { color: var(--gold-text); text-decoration: underline; }

/* ===== ADMIN PANEL ===== */
.admin-header { position: static; }
.admin-title { font-weight: 800; color: var(--green-dk); font-size: 1.05rem; }
.admin-login-card { max-width: 420px; margin: 3rem auto; }

.admin-layout {
  display: grid;
  grid-template-columns: 218px 1fr;
  gap: 1.8rem;
  align-items: start;
  padding: 2rem 0 4rem;
}

.admin-sidebar {
  position: sticky;
  top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: .7rem;
  box-shadow: var(--shadow);
}
.admin-nav { display: flex; flex-direction: column; gap: .25rem; }
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  width: 100%;
  padding: .7rem .85rem;
  border: none;
  border-radius: 9px;
  background: transparent;
  font-family: inherit;
  font-size: .88rem;
  font-weight: 700;
  color: var(--text-lt);
  cursor: pointer;
  text-align: left;
  transition: background .15s, color .15s;
}
.admin-nav-item svg { flex-shrink: 0; }
.admin-nav-item span:first-of-type { flex: 1; }
.admin-nav-item:hover { background: var(--cream); color: var(--green-dk); }
.admin-nav-item.active { background: var(--green-dk); color: var(--white); }
.admin-nav-count {
  background: rgba(0,0,0,.08);
  border-radius: 999px;
  padding: .1rem .48rem;
  font-size: .72rem;
  font-weight: 800;
}
.admin-nav-item.active .admin-nav-count { background: rgba(255,255,255,.22); }
.admin-nav-logout { margin-top: .5rem; border-top: 1px solid #EFE9DC; border-radius: 0 0 9px 9px; color: #A8402C; }
.admin-nav-logout:hover { background: #F6E4DE; color: #A8402C; }

.admin-content { min-width: 0; }
.admin-page-head { margin-bottom: 1.3rem; }
.admin-page-head h2 { font-size: 1.4rem; font-weight: 800; color: var(--green-dk); }
.admin-page-sub { font-size: .84rem; color: var(--text-lt); margin-top: .3rem; line-height: 1.5; }
.admin-count { font-size: .85rem; font-weight: 700; color: var(--text-lt); }

/* Filtreler */
.admin-filters {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.date-quick { display: flex; gap: .4rem; flex-wrap: wrap; }
.date-btn {
  padding: .42rem .9rem;
  border-radius: 999px;
  border: 1.5px solid #DED6C6;
  background: var(--white);
  font-family: inherit;
  font-size: .8rem;
  font-weight: 700;
  color: var(--text-lt);
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.date-btn:hover { background: var(--cream); }
.date-btn.active { background: var(--gold); border-color: var(--gold); color: var(--brown); }

.filter-row { display: flex; gap: .7rem; flex-wrap: wrap; align-items: flex-end; }
.filter-field {
  display: flex;
  flex-direction: column;
  gap: .28rem;
  min-width: 0;
  font-size: .72rem;
  font-weight: 700;
  color: var(--text-lt);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.filter-grow { flex: 1; min-width: 190px; }
.filter-field input, .filter-field select {
  width: 100%;
  min-width: 0;
  padding: .5rem .75rem;
  border: 1.5px solid #e0ddd5;
  border-radius: 9px;
  font-family: inherit;
  font-size: .86rem;
  font-weight: 600;
  color: var(--text);
  background: var(--cream);
}
.filter-field input:focus, .filter-field select:focus { outline: none; border-color: var(--gold); background: var(--white); }
.admin-hidden-filter {
  display: flex; align-items: center; gap: .4rem;
  font-size: .82rem; color: var(--text-lt); font-weight: 600;
}
.admin-hidden-filter input { accent-color: var(--gold); }

/* Butonlar */
.admin-btn {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .44rem .9rem;
  border-radius: 8px;
  border: 1.5px solid #DED6C6;
  background: var(--white);
  font-family: inherit;
  font-size: .79rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .12s;
  white-space: nowrap;
}
.admin-btn:hover { background: var(--cream); transform: translateY(-1px); }
.admin-btn:active { transform: none; }
.admin-btn.primary { background: var(--gold); border-color: var(--gold); color: var(--brown); }
.admin-btn.primary:hover { background: var(--gold-dk); border-color: var(--gold-dk); }
.admin-btn.danger { border-color: #E4B6AC; color: #A8402C; }
.admin-btn.danger:hover { background: #F6E4DE; }
.admin-btn.wa { border-color: #A9E0BC; color: #197A3D; }
.admin-btn.wa:hover { background: #E3F7EA; }
.admin-btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.admin-row-actions { display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; }

/* Sipariş kartları */
.order-cards { display: flex; flex-direction: column; gap: .9rem; }
.order-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--green);
}
.order-card.is-cancelled { border-left-color: #A8402C; opacity: .72; }
.order-card.is-hidden-order { opacity: .55; }
.order-card.editing { border-left-color: var(--gold); display: flex; flex-direction: column; gap: .5rem; }

.order-card-top {
  display: flex; justify-content: space-between; align-items: center;
  gap: .7rem; flex-wrap: wrap; margin-bottom: .7rem;
}
.order-date { font-size: .8rem; font-weight: 700; color: var(--text-lt); }
.member-tag {
  display: inline-block; margin-left: .5rem;
  padding: .1rem .5rem; border-radius: 999px;
  background: #E4EAD9; color: var(--green-dk);
  font-size: .7rem; font-weight: 800;
}
.member-tag.guest { background: var(--cream-dk); color: var(--text-lt); }

.status-select {
  padding: .34rem .7rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: inherit;
  font-size: .76rem;
  font-weight: 800;
  cursor: pointer;
}
.status-select.status-yeni         { background: #E4EAD9; color: var(--green-dk); }
.status-select.status-hazirlaniyor { background: #F6E6CC; color: var(--gold-text); }
.status-select.status-yolda        { background: #DCE7F2; color: #2C5480; }
.status-select.status-teslim       { background: #D6E8D2; color: #33632B; }
.status-select.status-iptal        { background: #F6E4DE; color: #A8402C; }

.order-card-body {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  padding-bottom: .8rem; border-bottom: 1px dashed #EFE9DC;
}
.order-card-body strong { font-size: .95rem; color: var(--green-dk); }
.order-meta { font-size: .82rem; color: var(--text-lt); line-height: 1.5; word-break: break-word; }
.order-note { font-size: .8rem; color: var(--gold-text); margin-top: .3rem; }
.order-items { list-style: none; font-size: .84rem; line-height: 1.7; }
.muted { color: var(--text-lt); font-weight: 600; }

.order-card-foot {
  display: flex; justify-content: space-between; align-items: center;
  gap: .7rem; flex-wrap: wrap; padding-top: .75rem;
}
.order-card-foot > strong { font-size: 1.05rem; color: var(--gold-text); }

.order-edit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.edit-item { display: flex; gap: .4rem; margin-bottom: .4rem; align-items: center; }
.edit-item input {
  padding: .4rem .55rem; border: 1.5px solid #DED6C6; border-radius: 7px;
  font-family: inherit; font-size: .82rem; background: var(--cream); min-width: 0;
}
.edit-item input[data-ei="name"] { flex: 2; }
.edit-item input[data-ei="qty"] { width: 62px; }
.edit-item input[data-ei="total"] { width: 84px; }
.edit-total { font-weight: 800; color: var(--green-dk); font-size: .92rem; }
.admin-edit-field {
  width: 100%; min-width: 0;
  padding: .5rem .7rem;
  border: 1.5px solid #DED6C6; border-radius: 8px;
  font-family: inherit; font-size: .85rem; background: var(--cream);
}
.admin-edit-field:focus { outline: none; border-color: var(--gold); background: var(--white); }

/* Tablolar */
.admin-table-wrap {
  overflow-x: auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.admin-table { width: 100%; border-collapse: collapse; font-size: .85rem; white-space: nowrap; }
.admin-table th, .admin-table td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid #EFE9DC; }
.admin-table th { color: var(--text-lt); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; }
.admin-table tbody tr:hover { background: var(--cream); }
.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-empty-row td { text-align: center; color: var(--text-lt); padding: 1.6rem; }

.member-edit { display: flex; flex-direction: column; gap: .45rem; white-space: normal; }
.order-badge {
  display: inline-block; min-width: 26px; text-align: center;
  padding: .12rem .5rem; border-radius: 999px;
  background: var(--cream-dk); color: var(--green-dk);
  font-weight: 800; font-size: .78rem;
}
.verify-toggle {
  margin-left: .45rem; padding: .1rem .5rem;
  border-radius: 999px; border: 1.5px solid #DED6C6;
  background: var(--white); font-family: inherit;
  font-size: .68rem; font-weight: 800; color: var(--text-lt); cursor: pointer;
}
.verify-toggle:hover { background: var(--cream-dk); }
.verify-toggle.on { background: #D6E8D2; border-color: #A9CBA0; color: #33632B; }

.admin-stock-input {
  width: 78px; padding: .42rem .5rem;
  border: 1.5px solid #DED6C6; border-radius: 7px;
  font-family: inherit; font-size: .86rem; font-weight: 700;
  text-align: center; background: var(--cream);
}
.admin-stock-input:focus { outline: none; border-color: var(--gold); }
.admin-stock-input:disabled { opacity: .4; cursor: not-allowed; }

.admin-toggle {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .4rem .85rem; border-radius: 999px;
  border: 1.5px solid #DED6C6; background: var(--white);
  font-family: inherit; font-size: .78rem; font-weight: 700;
  color: var(--text-lt); cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s;
}
.admin-toggle.on { background: var(--green); border-color: var(--green); color: var(--white); }
.admin-toggle.off.warn { background: #F6E4DE; border-color: #E4B6AC; color: #A8402C; }
.low-stock {
  margin-left: .4rem; padding: .1rem .5rem; border-radius: 999px;
  background: #F6E6CC; color: var(--gold-text); font-size: .68rem; font-weight: 800;
}

/* Ürün yönetim kartları */
#addProductBtn { margin-bottom: 1.1rem; }
.product-admin-grid { display: flex; flex-direction: column; gap: 1rem; }
.product-admin-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.2rem;
  border-left: 4px solid var(--green);
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1.1rem;
}
.product-admin-card.is-hidden-product { border-left-color: var(--text-lt); opacity: .6; }
.product-admin-card.is-new { border-left-color: var(--gold); }

.product-admin-thumb { display: flex; flex-direction: column; gap: .4rem; align-items: center; }
.product-admin-thumb img {
  width: 96px; height: 96px; object-fit: cover;
  border-radius: 10px; background: var(--cream);
}
.product-admin-fields { display: flex; flex-direction: column; gap: .6rem; min-width: 0; }
.product-admin-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: .6rem; }
.product-admin-row2 { display: grid; grid-template-columns: 1fr; gap: .6rem; }
.product-admin-fields label {
  display: flex; flex-direction: column; gap: .25rem;
  font-size: .7rem; font-weight: 700; color: var(--text-lt);
  text-transform: uppercase; letter-spacing: .03em;
}
.product-admin-fields input, .product-admin-fields textarea {
  width: 100%; min-width: 0;
  padding: .5rem .7rem; border: 1.5px solid #DED6C6; border-radius: 8px;
  font-family: inherit; font-size: .85rem; background: var(--cream);
}
.product-admin-fields input:focus, .product-admin-fields textarea:focus {
  outline: none; border-color: var(--gold); background: var(--white);
}
.product-admin-toggles { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
.product-admin-foot { display: flex; justify-content: space-between; align-items: center; gap: .7rem; flex-wrap: wrap; margin-top: .3rem; }

@media (max-width: 640px) {
  .product-admin-card { grid-template-columns: 1fr; }
  .product-admin-thumb { flex-direction: row; }
  .product-admin-row { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  /* minmax(0,1fr) + min-width:0 — yan bardaki yatay menü grid'i genişletip
     tüm sayfayı taşırmasın diye; menü kendi içinde kayar. */
  .admin-layout { grid-template-columns: minmax(0, 1fr); }
  .admin-sidebar { position: static; min-width: 0; flex-direction: row; align-items: center; gap: .5rem; }
  .admin-nav { flex-direction: row; overflow-x: auto; flex: 1; min-width: 0; scrollbar-width: thin; }
  .admin-nav-item { white-space: nowrap; }
  .admin-nav-logout { margin-top: 0; border-top: none; border-radius: 9px; flex-shrink: 0; }
  .admin-nav-logout span { display: none; }
  .order-card-body, .order-edit-grid { grid-template-columns: 1fr; }
  .filter-field { flex: 1; min-width: 130px; }
}

/* ===== SEO TEXT (görünmez) ===== */
.seo-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ===== REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .45s ease, transform .45s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.step-grid .reveal:nth-child(1) { transition-delay: 0s; }
.step-grid .reveal:nth-child(2) { transition-delay: .08s; }
.step-grid .reveal:nth-child(3) { transition-delay: .16s; }
.step-grid .reveal:nth-child(4) { transition-delay: .24s; }
.product-grid .reveal:nth-child(1) { transition-delay: 0s; }
.product-grid .reveal:nth-child(2) { transition-delay: .08s; }
.product-grid .reveal:nth-child(3) { transition-delay: .16s; }
.product-grid .reveal:nth-child(4) { transition-delay: .24s; }
.product-grid .reveal:nth-child(5) { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== RESPONSIVE ===== */

/* Tablet orta (600–900px) */
@media (max-width: 900px) and (min-width: 601px) {
  .product-category-grid { grid-template-columns: repeat(2, 1fr); }
  .order-inner  { grid-template-columns: 1fr; }
}

/* Touch hedefleri minimum 44px */
.btn, .add-btn, .cart-controls button, .cart-chip, .nav-links a, .contact-card, .auth-chip {
  min-height: 44px;
}

/* Footer safe area */
.footer {
  padding-bottom: calc(1.8rem + env(safe-area-inset-bottom));
}

@media (max-width: 900px) {
  .step-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; }
  .about-logo { display: none; }
}

@media (max-width: 768px) {
  .burger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.4rem 1.4rem;
    gap: .9rem;
    border-bottom: 1px solid rgba(0,0,0,.07);
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .header { position: relative; }

  .hero-inner { grid-template-columns: 1fr; text-align: center; padding-bottom: 3rem; }
  .hero-logo  { display: none; }
  .hero-desc  { margin-inline: auto; }
  .hero-btns  { justify-content: center; }

  .order-inner { grid-template-columns: 1fr; }
  .form-grid   { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .care-inner  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .step-grid    { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .order-panel  { padding: 1.4rem 1.1rem; }
  .auth-modal   { padding: 1.8rem 1.1rem 1.3rem; }
  .auth-chip span { display: none; }
  .auth-chip      { padding: .5rem; }
  .user-chip      { gap: .35rem; }
  .user-chip #userChipName { display: none; }

  .products { padding: 2.8rem 0; }
  .products .section-head { margin-bottom: 1.5rem; }
  .product-grid { gap: 1.55rem; }
  .product-category-title { margin-bottom: .65rem; font-size: .9rem; }
  .product-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .product-card { border-radius: 12px; min-width: 0; }
  .product-card:hover { transform: none; }
  .product-img { aspect-ratio: 1 / .82; }
  .product-content { padding: .68rem .65rem .75rem; gap: .35rem; }
  .product-tag { font-size: .57rem; line-height: 1.2; }
  .product-title { font-size: .82rem; line-height: 1.18; min-height: 2.35em; }
  .product-price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .15rem; font-size: .96rem; }
  .price-unit { font-size: .61rem; }
  .price-basis { font-size: .58rem; }
  .product-desc { display: none; }
  .product-choice-hint { font-size: .58rem; line-height: 1.2; }
  .add-btn { min-height: 38px; padding: .52rem .35rem; font-size: .72rem; border-radius: 8px; }
  .product-badge { top: .4rem; right: .4rem; max-width: calc(100% - .8rem); padding: .18rem .4rem; font-size: .55rem; white-space: normal; text-align: center; }
  .product-badge.badge-info, .product-badge.badge-unavailable { right: .4rem; bottom: .4rem; }
  .product-img-empty span { padding: .4rem; font-size: .62rem; text-align: center; }

  .egg-quantity-overlay { align-items: end; padding: .75rem; }
  .egg-quantity-modal { padding: 1.15rem; border-radius: 16px; }
  .egg-quantity-options { gap: .5rem; }
  .egg-quantity-option { min-height: 50px; padding: .6rem; }

  .care { padding: 1.5rem 0; }
  .care-inner { gap: .65rem; }
  .care-card { border-radius: 12px; padding: .8rem .72rem; }
  .care-icon { width: 31px; height: 31px; margin-bottom: .5rem; font-size: .92rem; }
  .care-card h3 { font-size: .78rem; line-height: 1.25; margin-bottom: .35rem; }
  .care-card p { font-size: .68rem; line-height: 1.42; }

  .cart-choice { align-items: stretch; gap: .65rem; padding: .72rem; }
  .cart-choice-copy { justify-content: center; flex: 1; }
  .cart-choice-copy strong { font-size: .8rem; }
  .cart-choice-actions { gap: .25rem; }
  .cart-choice-actions .btn { min-height: 38px; padding: .5rem .65rem; font-size: .72rem; }
  .cart-choice-continue { max-width: 76px; padding: .25rem; font-size: .68rem; line-height: 1.15; }
}
