/* ═══════════════════════════════════════════════════════════
   KIYAKHAN PREMIUM — Butik Pastane
   Palet: krem · beyaz · açık bej · pastel pembe · çikolata
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Renkler */
  --cream: #FBF7F1;
  --cream-2: #F6EEE2;
  --white: #FFFFFF;
  --beige: #EAE0D2;
  --pink: #F6E3DE;
  --pink-2: #EFCFC8;
  --rose: #D99A8F;
  --rose-deep: #C67B6E;
  --choco: #3F2A22;
  --choco-2: #5A3E30;
  --choco-3: #7A5640;
  --text: #3A2B22;
  --muted: #94806F;
  --gold: #E0A93E;
  --wa: #25D366;
  --danger: #C94F4F;

  /* Tipografi */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Manrope', -apple-system, 'Segoe UI', sans-serif;

  /* Şekil & gölge */
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 4px 16px rgba(63, 42, 34, 0.07);
  --shadow: 0 12px 40px rgba(63, 42, 34, 0.10);
  --shadow-lg: 0 24px 64px rgba(63, 42, 34, 0.16);

  --header-h: 76px;
  --container: 1200px;
}

/* ─────────── Reset ─────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
section { scroll-margin-top: calc(var(--header-h) + 12px); }

::selection { background: var(--pink-2); color: var(--choco); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 300;
  background: var(--choco); color: var(--cream);
  padding: 10px 18px; border-radius: 0 0 12px 12px;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }

/* ─────────── Yardımcılar ─────────── */
.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }

.section { padding-block: clamp(64px, 9vw, 112px); }
.section-alt { background: var(--white); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 600;
  color: var(--choco);
  line-height: 1.15;
  margin-bottom: 12px;
}
.section-head p { color: var(--muted); font-size: 16.5px; }

.eyebrow {
  display: inline-block;
  font-size: 12.5px; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--rose-deep);
  margin-bottom: 14px;
}

/* ─────────── Butonlar ─────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700; font-size: 15px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--choco); color: var(--cream);
  box-shadow: 0 8px 24px rgba(63, 42, 34, 0.28);
}
.btn-primary:hover { background: var(--choco-2); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(63, 42, 34, 0.32); }

.btn-light {
  background: var(--white); color: var(--choco);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}
.btn-light:hover { background: var(--cream); transform: translateY(-2px); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.12); color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.22); transform: translateY(-2px); }

.btn-whatsapp { background: var(--wa); color: #fff; box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35); }
.btn-whatsapp:hover { background: #1fb857; transform: translateY(-2px); }

.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  color: var(--choco);
  transition: background .2s ease, transform .2s ease;
}
.icon-btn:hover { background: var(--pink); transform: translateY(-1px); }

/* ─────────── Loader ─────────── */
.loader {
  position: fixed; inset: 0; z-index: 400;
  background: var(--cream);
  display: grid; place-items: center;
  transition: opacity .5s ease, visibility .5s ease;
}
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; }
.loader-logo {
  width: 92px; height: 92px;
  border-radius: 24px;
  object-fit: cover;
  margin-inline: auto;
  box-shadow: var(--shadow);
  animation: loaderBounce 1.4s ease-in-out infinite;
}
.loader-brand {
  font-family: var(--font-display); font-size: 26px; color: var(--choco);
  margin-top: 10px;
}
.loader-brand span { color: var(--rose-deep); font-style: italic; }
.loader-bar {
  width: 160px; height: 3px; margin: 18px auto 0;
  background: var(--beige); border-radius: 99px; overflow: hidden;
}
.loader-bar span {
  display: block; height: 100%; width: 40%;
  background: var(--rose); border-radius: 99px;
  animation: loaderSlide 1.1s ease-in-out infinite;
}
@keyframes loaderBounce { 50% { transform: translateY(-10px) rotate(-4deg); } }
@keyframes loaderSlide { 0% { transform: translateX(-100%); } 100% { transform: translateX(400%); } }

/* ─────────── Kampanya Bannerı ─────────── */
.announce {
  position: relative;
  background: linear-gradient(90deg, var(--choco), var(--choco-3));
  color: var(--cream);
  text-align: center;
  font-size: 13.5px;
  padding: 9px 48px;
}
.announce strong { color: var(--pink-2); }
.announce-close {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--cream); opacity: .8;
  transition: opacity .2s, background .2s;
}
.announce-close:hover { opacity: 1; background: rgba(255, 255, 255, .12); }
.announce.is-hidden { display: none; }

/* ─────────── Header ─────────── */
.header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(251, 247, 241, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow .3s ease, background .3s ease;
}
.header.is-scrolled { box-shadow: 0 6px 30px rgba(63, 42, 34, 0.09); background: rgba(251, 247, 241, 0.96); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  height: var(--header-h);
}

.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo-mark {
  width: 44px; height: 44px; border-radius: 14px;
  background: #0E0C0A;
  display: grid; place-items: center;
  overflow: hidden;
  flex: none;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease;
}
.logo-mark img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.5); /* logodaki siyah boşluğu kırpar, altın K'yı öne çıkarır */
}
.logo:hover .logo-mark { transform: rotate(-6deg) scale(1.05); }
.logo-text {
  font-family: var(--font-display); font-weight: 700; font-size: 21px;
  color: var(--choco); line-height: 1.05;
  display: flex; flex-direction: column;
}
.logo-text em {
  font-family: var(--font-body); font-style: normal;
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--rose-deep);
}
.logo-light .logo-text, .logo-light .logo-text em { color: var(--cream); }
.logo-light .logo-text em { color: var(--pink-2); }
.logo-light .logo-mark { background: #0E0C0A; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14); }

.nav { display: flex; gap: clamp(14px, 2vw, 30px); }
.nav-link {
  position: relative; font-weight: 600; font-size: 15px; color: var(--text);
  padding-block: 6px;
  transition: color .2s ease;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; border-radius: 2px;
  background: var(--rose);
  transform: scaleX(0); transform-origin: right;
  transition: transform .3s ease;
}
.nav-link:hover, .nav-link.is-active { color: var(--rose-deep); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; gap: 4px; }
.header-cta { margin-left: 10px; }

.menu-toggle { display: none; }

/* ─────────── Mobil Menü ─────────── */
.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 260;
  width: min(340px, 88vw);
  background: var(--cream);
  padding: 22px 24px 28px;
  display: flex; flex-direction: column; gap: 8px;
  transform: translateX(105%);
  transition: transform .38s cubic-bezier(.32, .72, .28, 1);
  box-shadow: var(--shadow-lg);
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mobile-nav { display: flex; flex-direction: column; margin-bottom: 18px; }
.mobile-nav a {
  padding: 13px 4px; font-size: 17px; font-weight: 600;
  border-bottom: 1px solid var(--beige);
  transition: color .2s, padding-left .2s;
}
.mobile-nav a:hover { color: var(--rose-deep); padding-left: 10px; }
.mobile-menu .btn { margin-top: 8px; }

.backdrop {
  position: fixed; inset: 0; z-index: 240;
  background: rgba(45, 28, 20, 0.45);
  backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .3s ease;
}
.backdrop.is-visible { opacity: 1; }

/* ─────────── Hero ─────────── */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(35, 20, 12, 0.78) 0%, rgba(35, 20, 12, 0.45) 48%, rgba(35, 20, 12, 0.12) 100%);
}

.hero-inner { position: relative; width: 100%; padding-block: 90px; }
.hero-content { max-width: 620px; }

.hero-eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  color: var(--cream);
  font-size: 13.5px; font-weight: 700; letter-spacing: 0.04em;
  padding: 8px 18px; border-radius: 999px;
  margin-bottom: 26px;
  animation: fadeUp .8s ease .15s both;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 7.6vw, 84px);
  font-weight: 600; line-height: 1.04;
  color: var(--white);
  animation: fadeUp .8s ease .3s both;
}
.hero-title em { font-style: italic; color: var(--pink-2); }
.hero-sub {
  margin-top: 22px; max-width: 480px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(16px, 1.6vw, 18.5px);
  animation: fadeUp .8s ease .45s both;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; animation: fadeUp .8s ease .6s both; }

.hero-stats {
  display: flex; gap: clamp(24px, 4vw, 48px);
  margin-top: 52px;
  animation: fadeUp .8s ease .75s both;
}
.hero-stats > div { display: flex; flex-direction: column; }
.hero-stats strong {
  font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 32px);
  color: var(--white); line-height: 1.2;
}
.hero-stats strong i { font-style: normal; color: var(--gold); font-size: .7em; vertical-align: 2px; }
.hero-stats span { font-size: 13px; color: rgba(255, 255, 255, 0.72); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }

@keyframes floatY { 50% { transform: translateY(-14px); } }

.hero-scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 99px;
}
.hero-scroll span {
  position: absolute; left: 50%; top: 8px;
  width: 4px; height: 8px; margin-left: -2px;
  background: rgba(255, 255, 255, 0.85); border-radius: 4px;
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint { 55% { transform: translateY(14px); opacity: 0; } 56% { transform: translateY(0); opacity: 0; } 100% { opacity: 1; } }

/* ─────────── Filtre Barı ─────────── */
.filter-bar {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-bottom: clamp(30px, 4vw, 44px);
}
.filter-pill {
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--white);
  border: 1.5px solid var(--beige);
  font-size: 14px; font-weight: 700; color: var(--muted);
  transition: all .25s ease;
}
.filter-pill:hover { border-color: var(--rose); color: var(--rose-deep); transform: translateY(-1px); }
.filter-pill.is-active {
  background: var(--choco); border-color: var(--choco); color: var(--cream);
  box-shadow: 0 6px 18px rgba(63, 42, 34, 0.25);
}

/* ─────────── Ürün Kartları ─────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }

.product-media { position: relative; aspect-ratio: 4 / 3.1; overflow: hidden; }
.product-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.25, .6, .3, 1);
}
.product-card:hover .product-media img { transform: scale(1.08); }

.product-badge {
  position: absolute; top: 14px; left: 14px;
  padding: 5px 13px; border-radius: 999px;
  font-size: 12px; font-weight: 800;
  background: var(--choco); color: var(--cream);
  box-shadow: var(--shadow-sm);
}
.product-badge.badge-sale { background: var(--rose-deep); color: #fff; }

.fav-btn {
  position: absolute; top: 12px; right: 12px;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: grid; place-items: center;
  color: var(--choco-3);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, color .25s ease;
}
.fav-btn:hover { transform: scale(1.12); color: var(--rose-deep); }
.fav-btn.is-fav { color: var(--rose-deep); animation: favPop .35s ease; }
.fav-btn.is-fav svg { fill: var(--rose-deep); }
@keyframes favPop { 40% { transform: scale(1.35); } }

.stock-ribbon {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(48, 32, 24, 0.5);
  backdrop-filter: blur(2px);
}
.stock-ribbon span {
  background: var(--white); color: var(--choco);
  font-weight: 800; font-size: 14px;
  padding: 9px 26px; border-radius: 999px;
  letter-spacing: 0.06em;
}
.product-card.is-out .product-media img { filter: grayscale(.55); }

.product-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.product-cat {
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--rose-deep); margin-bottom: 6px;
}
.product-body h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--choco); margin-bottom: 6px; }
.product-body > p { font-size: 13.5px; color: var(--muted); line-height: 1.55; flex: 1; }

.empty-filter { text-align: center; color: var(--muted); font-size: 16px; padding-block: 40px; }

/* ─────────── Kategoriler ─────────── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 26px);
}
.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease;
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.category-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .65s cubic-bezier(.25, .6, .3, 1);
}
.category-card:hover img { transform: scale(1.09); }
.category-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px 24px;
  background: linear-gradient(to top, rgba(38, 22, 14, 0.82) 0%, rgba(38, 22, 14, 0.25) 45%, transparent 70%);
}
.category-overlay h3 { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--white); }
.category-overlay span {
  font-size: 13.5px; font-weight: 700; color: var(--pink-2);
  opacity: 0; transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease;
}
.category-card:hover .category-overlay span { opacity: 1; transform: translateY(0); }

/* ─────────── Promo Banner ─────────── */
.promo-wrap { padding-block: 0 clamp(64px, 9vw, 112px); background: var(--white); }
.promo {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  flex-wrap: wrap;
  background:
    radial-gradient(circle at 85% 20%, rgba(217, 154, 143, 0.35), transparent 45%),
    linear-gradient(105deg, var(--choco) 0%, var(--choco-3) 100%);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 4.5vw, 52px) clamp(26px, 5vw, 60px);
  box-shadow: var(--shadow-lg);
}
.promo-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.16); color: var(--pink-2);
  font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 999px; margin-bottom: 14px;
}
.promo h3 {
  font-family: var(--font-display); font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 600; color: var(--white); line-height: 1.2;
}
.promo h3 em { font-style: italic; color: var(--pink-2); }
.promo p { color: rgba(255, 255, 255, 0.75); margin-top: 8px; font-size: 15px; }

/* ─────────── Özel Pasta ─────────── */
.custom-cake {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
}
.custom-cake-media { position: relative; }
.custom-cake-media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.custom-cake-tag {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  width: max-content; max-width: 92%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  font-size: 13.5px; font-weight: 700; color: var(--choco);
  padding: 11px 22px; border-radius: 999px;
  box-shadow: var(--shadow);
  text-align: center;
}
.custom-cake-form h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 40px); font-weight: 600;
  color: var(--choco); line-height: 1.15;
  margin-bottom: 14px;
}
.custom-cake-sub { color: var(--muted); font-size: 15.5px; margin-bottom: 28px; max-width: 460px; }

/* ─────────── Form Elemanları ─────────── */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--choco); }
.field label small { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--beige);
  border-radius: var(--radius-sm);
  padding: 12px 15px;
  font-size: 14.5px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.section-alt .field input, .section-alt .field select, .section-alt .field textarea { background: var(--cream); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(217, 154, 143, 0.18);
}
.field textarea { resize: vertical; min-height: 58px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field-error { font-size: 12.5px; color: var(--danger); font-weight: 600; display: none; }
.field.has-error .field-error { display: block; }

/* tarih alanı rötuşu */
.field input[type="date"] { cursor: pointer; }
.field input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer; opacity: .55;
  transition: opacity .2s;
}
.field input[type="date"]:hover::-webkit-calendar-picker-indicator { opacity: .9; }

/* ─────────── Şık Select (özel dropdown) ─────────── */
.nice-select { position: relative; }
.nice-select .ns-native {
  position: absolute; inset: 0;
  opacity: 0; pointer-events: none;
}
.ns-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--beige);
  border-radius: var(--radius-sm);
  padding: 12px 15px;
  font-size: 14.5px;
  text-align: left;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.section-alt .ns-trigger { background: var(--cream); }
.ns-trigger:hover { border-color: var(--pink-2); }
.ns-trigger:focus-visible {
  outline: none; border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(217, 154, 143, 0.18);
}
.nice-select.is-open .ns-trigger {
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(217, 154, 143, 0.18);
}
.field.has-error .ns-trigger { border-color: var(--danger); }
.ns-label { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ns-label.is-placeholder { color: var(--muted); }
.ns-chevron { flex: none; color: var(--muted); transition: transform .25s ease, color .25s ease; }
.nice-select.is-open .ns-chevron { transform: rotate(180deg); color: var(--rose-deep); }

.ns-menu {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 60;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(63, 42, 34, 0.08), var(--shadow-lg);
  padding: 6px;
  max-height: 246px; overflow-y: auto;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px) scale(.98);
  transform-origin: top center;
  transition: opacity .22s ease, transform .22s cubic-bezier(.32, .72, .28, 1), visibility .22s;
}
.nice-select.is-open .ns-menu { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

.ns-option {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  width: 100%;
  padding: 10px 13px;
  border-radius: 9px;
  font-size: 14.5px; font-weight: 600; color: var(--text);
  text-align: left;
  transition: background .15s ease, color .15s ease, padding-left .15s ease;
}
.ns-option:hover { background: var(--pink); color: var(--choco); padding-left: 17px; }
.ns-option.is-selected { color: var(--rose-deep); background: var(--cream); }
.ns-option.is-selected::after {
  content: '';
  width: 15px; height: 15px; flex: none;
  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='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-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='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ns-menu::-webkit-scrollbar { width: 8px; }
.ns-menu::-webkit-scrollbar-thumb { background: var(--beige); border-radius: 8px; }

/* ─────────── Hakkımızda ─────────── */
.about {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.about-media { position: relative; padding-bottom: 56px; padding-right: 48px; }
.about-img-main {
  width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.about-img-small {
  position: absolute; right: 0; bottom: 0;
  width: 46%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius);
  border: 6px solid var(--white);
  box-shadow: var(--shadow-lg);
}
.about-badge {
  position: absolute; top: 26px; left: -14px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px 20px;
  display: flex; align-items: baseline; gap: 4px;
  animation: floatY 6s ease-in-out infinite;
}
.about-badge strong { font-family: var(--font-display); font-size: 26px; color: var(--rose-deep); }
.about-badge span { font-size: 12.5px; color: var(--muted); font-weight: 600; }

.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 40px); font-weight: 600;
  color: var(--choco); line-height: 1.18;
  margin-bottom: 16px;
}
.about-text > p { color: var(--muted); font-size: 15.5px; margin-bottom: 30px; }

.features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature-icon {
  flex: none;
  width: 50px; height: 50px; border-radius: 16px;
  background: var(--pink);
  display: grid; place-items: center;
  font-size: 23px;
  transition: transform .3s ease;
}
.feature:hover .feature-icon { transform: rotate(-8deg) scale(1.08); }
.feature h4 { font-size: 15px; font-weight: 800; color: var(--choco); margin-bottom: 2px; }
.feature p { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ─────────── Galeri ─────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.8vw, 20px);
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.25, .6, .3, 1), filter .4s ease;
}
.gallery-item:hover img { transform: scale(1.08); filter: brightness(1.06); }

/* ─────────── Yorumlar ─────────── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
}
.testimonial {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.testimonial:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.stars { color: var(--gold); font-size: 17px; letter-spacing: 3px; margin-bottom: 14px; }
.testimonial > p { font-size: 14.5px; color: var(--text); font-style: italic; flex: 1; }
.testimonial-user { display: flex; align-items: center; gap: 13px; margin-top: 22px; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--av, var(--rose));
  color: #fff; font-weight: 800; font-size: 15px;
  display: grid; place-items: center;
  letter-spacing: 0.03em;
}
.testimonial-user strong { display: block; font-size: 14.5px; color: var(--choco); }
.testimonial-user span:not(.avatar) { font-size: 12.5px; color: var(--muted); }

/* ─────────── Instagram ─────────── */
.insta-section { background: linear-gradient(180deg, var(--white) 0%, var(--pink) 140%); }
.insta-handle {
  display: inline-block;
  font-weight: 800; font-size: 17px; color: var(--rose-deep);
  border-bottom: 2px solid transparent;
  transition: border-color .2s;
}
.insta-handle:hover { border-color: var(--rose-deep); }
.insta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(10px, 1.4vw, 16px);
}
.insta-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1;
}
.insta-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.insta-item::after {
  content: '📸';
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 26px;
  background: rgba(198, 123, 110, 0.62);
  opacity: 0;
  transition: opacity .3s ease;
}
.insta-item:hover::after { opacity: 1; }
.insta-item:hover img { transform: scale(1.1); }

/* ─────────── İletişim ─────────── */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: stretch;
}
.contact-info {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.4vw, 40px);
  box-shadow: var(--shadow-sm);
}
.contact-row { display: flex; gap: 16px; align-items: flex-start; padding-block: 13px; border-bottom: 1px solid var(--beige); }
.contact-row:first-child { padding-top: 0; }
.contact-icon {
  flex: none;
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  display: grid; place-items: center;
  font-size: 21px;
}
.contact-row h4 { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.contact-row p { font-size: 15px; color: var(--choco); font-weight: 600; }
.contact-row a:hover { color: var(--rose-deep); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.contact-map {
  min-height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--beige);
}
.contact-map iframe { display: block; min-height: 380px; height: 100%; filter: saturate(.9); }

/* ─────────── Footer ─────────── */
.footer { background: #2A1B13; color: rgba(251, 247, 241, 0.78); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(48px, 6vw, 72px);
}
.footer-brand > p { font-size: 14px; margin-top: 18px; max-width: 300px; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: grid; place-items: center;
  color: var(--pink-2);
  transition: background .25s ease, transform .25s ease, color .25s ease;
}
.footer-social a:hover { background: var(--rose-deep); color: #fff; transform: translateY(-3px); }

.footer-col h4 {
  font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--pink-2); margin-bottom: 18px;
}
.footer-col a, .footer-col p { display: block; font-size: 14.5px; padding-block: 5px; }
.footer-col a { transition: color .2s ease, padding-left .2s ease; }
.footer-col a:hover { color: var(--pink-2); padding-left: 6px; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.09); padding-block: 20px; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer-bottom p { font-size: 13px; color: rgba(251, 247, 241, 0.5); }
.footer-credit a { color: rgba(251, 247, 241, 0.72); transition: color .2s ease; }
.footer-credit a:hover { color: var(--pink-2); }

/* ─────────── Floating WhatsApp ─────────── */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 150;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  transition: transform .25s ease;
}
.wa-float:hover { transform: scale(1.1) rotate(6deg); }
.wa-float::before {
  content: ''; position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--wa);
  animation: waPulse 2.2s ease-out infinite;
  z-index: -1;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.65); opacity: 0; } }

/* ─────────── Arama Overlay ─────────── */
.search-overlay {
  position: fixed; inset: 0; z-index: 280;
  background: rgba(45, 28, 20, 0.55);
  backdrop-filter: blur(8px);
  display: flex; justify-content: center;
  padding: clamp(70px, 12vh, 130px) 18px 40px;
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.search-overlay.is-open { opacity: 1; visibility: visible; }
.search-box {
  width: min(640px, 100%);
  align-self: flex-start;
  transform: translateY(-16px);
  transition: transform .35s ease;
}
.search-overlay.is-open .search-box { transform: translateY(0); }
.search-input-wrap {
  display: flex; align-items: center; gap: 12px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 8px 10px 8px 20px;
  box-shadow: var(--shadow-lg);
}
.search-input-wrap svg:first-child { color: var(--muted); flex: none; }
.search-input-wrap input {
  flex: 1; border: 0; outline: none; background: none;
  font-size: 17px; padding-block: 10px;
}
.search-results {
  margin-top: 14px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-height: 54vh; overflow-y: auto;
  padding: 10px;
}
.search-hint { padding: 16px 14px; font-size: 14.5px; color: var(--muted); }
.search-chip {
  background: var(--pink); color: var(--rose-deep);
  font-size: 13px; font-weight: 700;
  padding: 4px 13px; border-radius: 999px;
  transition: background .2s;
}
.search-chip:hover { background: var(--pink-2); }
.search-result {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: background .2s ease;
}
.search-result:hover { background: var(--cream); }
.search-result img { width: 56px; height: 56px; object-fit: cover; border-radius: 12px; flex: none; }
.search-result-info { flex: 1; min-width: 0; }
.search-result-info strong { display: block; font-size: 14.5px; color: var(--choco); }
.search-result-info span { font-size: 12.5px; color: var(--muted); }
.search-nores { padding: 24px 14px; text-align: center; color: var(--muted); font-size: 14.5px; }

/* ─────────── Toast ─────────── */
.toast-wrap {
  position: fixed; left: 22px; bottom: 22px; z-index: 320;
  display: flex; flex-direction: column; gap: 10px;
  pointer-events: none;
}
.toast {
  display: flex; align-items: center; gap: 10px;
  background: var(--choco); color: var(--cream);
  font-size: 14px; font-weight: 600;
  padding: 13px 20px;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  animation: toastIn .35s cubic-bezier(.32, .72, .28, 1);
  max-width: min(340px, calc(100vw - 44px));
}
.toast.is-leaving { animation: toastOut .3s ease forwards; }
.toast-success { background: #2E5E3E; }
.toast-error { background: var(--danger); }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(.95); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px) scale(.95); } }

/* ─────────── Scroll Reveal ─────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.25, .6, .3, 1);
}
[data-reveal].is-revealed { opacity: 1; transform: translateY(0); }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1024px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }

  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }

  .custom-cake { grid-template-columns: 1fr; }
  .custom-cake-media img { aspect-ratio: 16 / 10; }
  .about { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .contact-map { min-height: 320px; }
}

@media (max-width: 640px) {
  .hero-inner { padding-block: 64px 96px; }
  .hero-stats { gap: 22px; }
  .hero-cta .btn { flex: 1 1 auto; }

  .form-row { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { aspect-ratio: 16 / 9; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom .container { justify-content: center; text-align: center; }

  .promo { justify-content: center; text-align: center; }

  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .toast-wrap { left: 16px; bottom: 78px; }

  .about-media { padding-right: 24px; }
  .about-badge { left: 0; }
  .features { grid-template-columns: 1fr; }
}
