/* ==========================================================================
   MAHALLE PASTANESİ — styles.css
   ========================================================================== */

/* ---------- 1. CUSTOM PROPERTIES & RESET ---------- */
:root {
  --bg: #FEFCFA;
  --surface: #FFFFFF;
  --ink: #2D2D2D;
  --accent: #D4395B;
  --accent-2: #FF8A5C;
  --line: rgba(0,0,0,0.10);
  --line-strong: rgba(0,0,0,0.18);
  --header-h: 72px;
  --radius: 16px;
  --container: 1180px;
  --badge-pasta: #FFE0E8;
  --badge-tatli: #FFE8D6;
  --badge-borek: #E0F0E0;
  --surface-2: rgba(212,57,91,0.05);
  interpolate-size: allow-keywords;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

html, body {
  overflow-x: hidden;
  max-width: 100vw;
  margin: 0;
}

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
table { border-collapse: collapse; border-spacing: 0; }

/* ---------- 2. TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cambria', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.012em;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5.4vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.7vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2.1vw, 1.45rem); }
h4 { font-size: 1.1rem; }

.eyebrow {
  display: inline-block;
  font-family: 'Cambria', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--accent);
  margin-bottom: 10px;
}

/* ---------- 3. LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: clamp(16px, 4vw, 32px);
  padding-right: clamp(16px, 4vw, 32px);
}

main {
  padding-top: var(--header-h);
}

section {
  padding: clamp(48px, 8vw, 96px) 0;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-header .eyebrow { margin-bottom: 8px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p {
  max-width: 540px;
  margin: 0 auto;
  color: rgba(45,45,45,0.65);
}

/* ---------- 4. SKIP LINK ---------- */
.skip-link {
  position: fixed;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 10px 20px;
  background: var(--ink);
  color: var(--surface);
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
}
.skip-link:focus {
  top: 16px;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- 5. HEADER ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1080;
  height: var(--header-h);
  background: rgba(254, 252, 250, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 240ms ease, box-shadow 240ms ease, height 240ms ease;
}
.site-header.scrolled {
  background: rgba(254, 252, 250, 0.98);
  box-shadow: 0 8px 24px -16px rgba(0,0,0,0.18);
  height: 64px;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}
.logo {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink);
  white-space: nowrap;
  letter-spacing: -0.01em;
  z-index: 1100;
  position: relative;
}
.logo span { color: var(--accent); }

/* Nav desktop */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 6px;
}
@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
}
.nav-desktop a {
  position: relative;
  padding: 8px 14px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  border-radius: 8px;
  transition: color 200ms, background 200ms;
}
.nav-desktop a::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms cubic-bezier(.16,.87,.48,1);
}
.nav-desktop a:hover { color: var(--accent); }
.nav-desktop a:hover::after { transform: scaleX(1); }
.nav-desktop a.is-active { color: var(--accent); }
.nav-desktop a.is-active::after { transform: scaleX(1); }

.nav-desktop .nav-cta {
  background: var(--ink);
  color: var(--surface);
  border-radius: 10px;
  padding: 9px 22px;
  margin-left: 8px;
  font-weight: 700;
  transition: background 200ms, color 200ms, transform 200ms;
}
.nav-desktop .nav-cta::after { display: none; }
.nav-desktop .nav-cta:hover {
  background: var(--accent);
  color: var(--surface);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 20px -4px rgba(212,57,91,0.38), 0 0 12px rgba(255,138,92,0.10);
}

/* Hamburger toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  gap: 5px;
  z-index: 1100;
  position: relative;
  border-radius: 10px;
  transition: background 200ms;
  flex-shrink: 0;
}
.nav-toggle:hover {
  background: var(--surface-2);
}
@media (min-width: 1024px) { .nav-toggle { display: none; } }
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 280ms cubic-bezier(.2,.7,.2,1), opacity 200ms, width 280ms cubic-bezier(.2,.7,.2,1);
  transform-origin: center;
}
.nav-toggle span:nth-child(1) { width: 24px; }
.nav-toggle span:nth-child(2) { width: 20px; }
.nav-toggle span:nth-child(3) { width: 16px; }
.nav-toggle:hover span { width: 24px; }
.nav-toggle.is-open span:nth-child(1) { width: 24px; transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; width: 24px; }
.nav-toggle.is-open span:nth-child(3) { width: 24px; transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- 6. MOBILE DRAWER ---------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1040;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}
.drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 92vw);
  z-index: 1050;
  background: var(--surface);
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(.2,.7,.2,1);
  padding: calc(var(--header-h) + 24px) 28px 32px;
  overflow-y: auto;
}
.mobile-drawer.is-open { transform: translateX(0); }

.drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.drawer__nav a {
  display: block;
  padding: 14px 16px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  border-radius: 10px;
  transition: background 200ms, color 200ms, transform 200ms;
  transform: translateX(20px);
}
.mobile-drawer.is-open .drawer__nav a {
  transform: none;
  transition: background 200ms, color 200ms, transform 320ms cubic-bezier(.16,.87,.48,1);
}
.mobile-drawer.is-open .drawer__nav a:nth-child(1) { transition-delay: 60ms; }
.mobile-drawer.is-open .drawer__nav a:nth-child(2) { transition-delay: 120ms; }
.mobile-drawer.is-open .drawer__nav a:nth-child(3) { transition-delay: 180ms; }
.mobile-drawer.is-open .drawer__nav a:nth-child(4) { transition-delay: 240ms; }
.mobile-drawer.is-open .drawer__nav a:nth-child(5) { transition-delay: 300ms; }
.drawer__nav a:hover {
  background: var(--surface-2);
  color: var(--accent);
  transform: translateX(4px);
}
.drawer__nav a.is-active {
  color: var(--accent);
  background: var(--surface-2);
}

/* ---------- 7. HERO ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 10vw, 120px) 0 clamp(40px, 6vw, 72px);
  background: var(--bg);
  text-align: center;
}
.hero__content { position: relative; z-index: 2; }
.hero__content h1 {
  margin-bottom: 16px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.hero__sub {
  max-width: 520px;
  margin: 0 auto 28px;
  font-size: 1.08rem;
  color: rgba(45,45,45,0.7);
  line-height: 1.65;
}

/* Steam animation */
.hero__steam {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.steam-wisp {
  position: absolute;
  bottom: 10%;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,200,160,0.45) 0%, rgba(255,180,140,0.18) 40%, transparent 70%);
  filter: blur(10px);
  opacity: 0;
  animation: steam-rise calc(7s + var(--i,0) * 1.4s) cubic-bezier(.22,.61,.36,1) infinite;
  animation-delay: calc(var(--i,0) * 1.1s);
}
.steam-wisp:nth-child(1) { left: 15%; width: 26px; height: 26px; }
.steam-wisp:nth-child(2) { left: 30%; width: 34px; height: 34px; }
.steam-wisp:nth-child(3) { left: 45%; width: 22px; height: 22px; }
.steam-wisp:nth-child(4) { left: 55%; width: 28px; height: 28px; }
.steam-wisp:nth-child(5) { left: 68%; width: 32px; height: 32px; }
.steam-wisp:nth-child(6) { left: 78%; width: 24px; height: 24px; }
.steam-wisp:nth-child(7) { left: 88%; width: 20px; height: 20px; }

@keyframes steam-rise {
  0% { transform: translateY(0) scale(0.7); opacity: 0; }
  10% { opacity: 0.55; }
  35% { transform: translateY(-90px) scale(1.2) translateX(14px); opacity: 0.35; }
  60% { transform: translateY(-170px) scale(1.5) translateX(-10px); opacity: 0.15; }
  85% { transform: translateY(-240px) scale(1.8) translateX(6px); opacity: 0.05; }
  100% { transform: translateY(-300px) scale(2) translateX(0); opacity: 0; }
}

/* Marquee */
.hero__marquee {
  position: relative;
  z-index: 2;
  margin-top: clamp(32px, 5vw, 56px);
  overflow: hidden;
  padding: 12px 0;
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee-scroll 25s linear infinite;
  will-change: transform;
}
.marquee-track span {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.8rem);
  color: rgba(45,45,45,0.06);
  padding: 0 8px;
  flex-shrink: 0;
}
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- 8. FEATURES STRIP ---------- */
.features-strip {
  padding: clamp(32px, 5vw, 48px) 0;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3vw, 32px);
}
.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: clamp(20px, 3vw, 32px);
  border-radius: 12px;
  transition: background 280ms cubic-bezier(.16,.87,.48,1), transform 280ms cubic-bezier(.16,.87,.48,1), box-shadow 280ms;
}
.feature-card:hover {
  background: rgba(212,57,91,0.05);
  transform: translateY(-4px);
  box-shadow: 0 8px 22px -6px rgba(255,138,92,0.14);
}
.feature-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: transform 240ms cubic-bezier(.4,0,.2,1), color 240ms;
}
.feature-card:hover .feature-card__icon {
  transform: scale(1.1);
  color: var(--accent-2);
}
.feature-card__icon svg { width: 36px; height: 36px; }
.feature-card h4 { font-size: 1rem; }
.feature-card p { font-size: 0.88rem; color: rgba(45,45,45,0.6); }

@media (max-width: 640px) {
  .features-grid { grid-template-columns: 1fr; gap: 8px; }
  .feature-card { flex-direction: row; text-align: left; padding: 16px; gap: 16px; }
  .feature-card__icon { width: 40px; height: 40px; flex-shrink: 0; }
}

/* ---------- 9. SECTIONS ---------- */

/* Filter tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(24px, 4vw, 40px);
}
.filter-tab {
  padding: 9px 22px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--surface);
  color: var(--ink);
  border: 1.5px solid var(--line);
  transition: background 200ms, color 200ms, border-color 200ms, transform 200ms;
}
.filter-tab:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px -4px rgba(212,57,91,0.18);
}
.filter-tab.is-active {
  background: var(--accent);
  color: var(--surface);
  border-color: var(--accent);
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.5vw, 24px);
}
@media (max-width: 1024px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 430px) { .product-grid { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; } }

/* Product card */
.product-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 280ms cubic-bezier(.2,.7,.2,1), box-shadow 280ms cubic-bezier(.2,.7,.2,1), border-color 280ms;
}
.product-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 16px 40px -12px rgba(212,57,91,0.24), 0 8px 20px rgba(255,138,92,0.16), 0 0 32px -4px rgba(255,138,92,0.12);
  border-color: rgba(255,138,92,0.22);
}
.product-card.is-hidden { display: none; }
.product-card__img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/2;
  background: #f3f0ed;
}
.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms cubic-bezier(.2,.7,.2,1);
}
.product-card:hover .product-card__img img { transform: scale(1.05); }

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.badge--pasta { background: var(--badge-pasta); color: #a12e4a; }
.badge--tatli { background: var(--badge-tatli); color: #a55c30; }
.badge--borek { background: var(--badge-borek); color: #3a7a3a; }

.product-card__body {
  padding: 16px 18px 20px;
}
.product-card__body h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}
.product-card__price {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent);
}
.product-card__price span {
  font-weight: 400;
  font-size: 0.8rem;
  color: rgba(45,45,45,0.5);
}

/* Carousel (#populer) */
.carousel-section { background: var(--surface); }
.carousel {
  display: flex;
  gap: clamp(16px, 2.5vw, 24px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.carousel::-webkit-scrollbar { height: 6px; }
.carousel::-webkit-scrollbar-track { background: transparent; }
.carousel::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

.carousel__item {
  flex: 0 0 clamp(240px, 28vw, 300px);
  scroll-snap-align: start;
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 280ms cubic-bezier(.2,.7,.2,1), box-shadow 280ms cubic-bezier(.2,.7,.2,1), border-color 280ms;
}
.carousel__item:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 16px 40px -12px rgba(212,57,91,0.24), 0 8px 20px rgba(255,138,92,0.16), 0 0 32px -4px rgba(255,138,92,0.12);
  border-color: rgba(255,138,92,0.22);
}
.carousel__img {
  aspect-ratio: 3/2;
  overflow: hidden;
  background: #f3f0ed;
}
.carousel__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms cubic-bezier(.2,.7,.2,1);
}
.carousel__item:hover .carousel__img img { transform: scale(1.05); }
.carousel__body {
  padding: 14px 18px 18px;
}
.carousel__body h3 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.carousel__price {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  color: var(--accent);
}
.carousel__price span {
  font-weight: 400;
  font-size: 0.8rem;
  color: rgba(45,45,45,0.5);
}

/* Toplu Sipariş table */
.toplu-section { background: var(--bg); }

/* Hakkında metrics */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
}
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; } }
.about-text {
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(45,45,45,0.75);
}
.about-text p + p { margin-top: 16px; }
.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.metric-box {
  background: var(--surface);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
  text-align: center;
  border: 1px solid var(--line);
  transition: transform 280ms cubic-bezier(.2,.7,.2,1), box-shadow 280ms, border-color 280ms;
}
.metric-box:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 28px -8px rgba(212,57,91,0.20), 0 6px 16px rgba(255,138,92,0.14), 0 0 24px rgba(255,138,92,0.10);
  border-color: rgba(255,138,92,0.22);
}
.metric-box:hover .metric-box__value {
  color: var(--accent-2);
  transition: color 320ms cubic-bezier(.16,.87,.48,1);
}
.metric-box__value {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.metric-box__label {
  font-size: 0.88rem;
  color: rgba(45,45,45,0.6);
}

/* Contact strip on index */
.contact-strip {
  background: var(--surface);
}
.contact-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 48px);
  flex-wrap: wrap;
}
.contact-strip__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-strip__info p {
  font-size: 1rem;
  color: rgba(45,45,45,0.7);
}
.contact-strip__info strong { color: var(--ink); }
@media (max-width: 640px) {
  .contact-strip__inner { flex-direction: column; text-align: center; align-items: stretch; }
}

/* ---------- 10. BUTTONS ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: var(--ink);
  color: var(--surface);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 12px;
  border: none;
  transition: background 200ms, color 200ms, transform 200ms, box-shadow 200ms;
  min-height: 48px;
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--accent);
  color: var(--surface);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -6px rgba(212,57,91,0.38), 0 0 16px rgba(255,138,92,0.15);
}
.btn-primary:active { transform: translateY(0); box-shadow: 0 4px 12px -4px rgba(212,57,91,0.25); }

.hero .btn-primary {
  animation: hero-cta-glow 3.5s cubic-bezier(.4,0,.6,1) infinite;
}
@keyframes hero-cta-glow {
  0%, 100% { box-shadow: 0 2px 8px rgba(45,45,45,0.12); }
  50% { box-shadow: 0 4px 20px rgba(212,57,91,0.22), 0 0 24px rgba(255,138,92,0.10); }
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: transparent;
  color: var(--ink);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 12px;
  border: 1.5px solid var(--line-strong);
  transition: background 200ms, color 200ms, border-color 200ms, transform 200ms;
  min-height: 48px;
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px -4px rgba(212,57,91,0.15);
}

.btn-sm { padding: 10px 20px; font-size: 0.88rem; min-height: 44px; border-radius: 10px; }

/* ---------- 11. TABLE SCROLL ---------- */
.table-scroll {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.table-scroll > table {
  margin: 0 !important;
  min-width: 480px;
  width: 100%;
}
:where(*:has(> .table-scroll), *:has(> * > .table-scroll), *:has(> * > * > .table-scroll)) {
  min-width: 0;
}

.table-scroll table {
  font-size: 0.92rem;
}
.table-scroll th {
  background: var(--ink);
  color: var(--surface);
  padding: 14px 18px;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}
.table-scroll td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.table-scroll tr:last-child td { border-bottom: none; }
.table-scroll tbody tr { transition: background 200ms; }
.table-scroll tbody tr:hover { background: var(--surface-2); }
.table-scroll .discount { color: var(--accent); font-weight: 700; }
.table-note {
  margin-top: 12px;
  font-size: 0.82rem;
  color: rgba(45,45,45,0.55);
}

/* ---------- 12. FORM (iletisim.html) ---------- */
.form-section {
  background: var(--bg);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 768px) { .form-grid { grid-template-columns: 1fr; } }

.contact-form {
  background: var(--surface);
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--ink);
}
.field label .optional {
  font-weight: 400;
  color: rgba(45,45,45,0.45);
  font-size: 0.82rem;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  display: block;
  width: 100%;
  padding: 12px 16px;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 0.95rem;
  transition: border-color 200ms, box-shadow 200ms;
  appearance: none;
  -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232D2D2D' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212,57,91,0.10);
}

.field input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: auto;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  padding: 0;
  border: 0;
  margin: 2px 0 0;
  accent-color: var(--accent);
}
.field-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.field-checkbox label {
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.45;
  margin-bottom: 0;
}
.field-checkbox a { color: var(--accent); text-decoration: underline; }

.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

.form-msg {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 16px;
  display: none;
}
.form-msg.is-success {
  display: block;
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}
.form-msg.is-error {
  display: block;
  background: #fce4ec;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

/* Contact channels (iletisim) */
.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.channel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 12px;
  transition: background 240ms cubic-bezier(.16,.87,.48,1), transform 240ms cubic-bezier(.16,.87,.48,1), box-shadow 240ms;
}
.channel:hover {
  background: var(--surface-2);
  transform: translateX(6px);
  box-shadow: -3px 0 0 0 var(--accent);
}
.channel__icon {
  width: 22px;
  height: 22px;
  color: var(--ink);
  transition: color 240ms cubic-bezier(.4,0,.2,1), transform 240ms;
  margin-top: 2px;
  flex-shrink: 0;
}
.channel:hover .channel__icon {
  color: var(--accent);
  transform: scale(1.08);
}
.channel__icon svg { width: 100%; height: 100%; }
.channel__text strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 2px;
}
.channel__text span,
.channel__text a {
  display: block;
  font-size: 0.92rem;
  color: rgba(45,45,45,0.7);
  word-break: break-word;
  overflow-wrap: anywhere;
}
.channel__text a:hover { color: var(--accent); }

/* ---------- 13. COOKIE BANNER ---------- */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 520px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px -10px rgba(0,0,0,0.18);
  padding: 22px 24px;
  z-index: 9999;
  transform: translateY(140%);
  opacity: 0;
  transition: transform 280ms cubic-bezier(.2,.7,.2,1), opacity 240ms;
}
.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}
@media (min-width: 768px) {
  .cookie-banner { left: 24px; right: auto; max-width: 420px; }
}
.cookie-banner p {
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 8px;
  color: rgba(45,45,45,0.75);
}
.cookie-banner p:first-child {
  font-weight: 700;
  color: var(--ink);
  font-size: 0.92rem;
}
.cookie-banner a { color: var(--accent); text-decoration: underline; }
.cookie-banner__actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 10px;
  min-height: 44px;
  border: 1.5px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  transition: background 200ms, color 200ms, border-color 200ms, transform 200ms;
  flex: 1;
  min-width: 100px;
}
.cookie-accept {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
}
.cookie-accept:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px -4px rgba(212,57,91,0.25);
}
.cookie-reject {
  border-color: var(--ink);
  background: rgba(45,45,45,0.08);
  color: var(--ink);
}
.cookie-reject:hover {
  background: var(--ink);
  color: var(--surface);
  box-shadow: 0 4px 12px -4px rgba(45,45,45,0.25);
  transform: translateY(-2px);
}
.cookie-settings:hover {
  background: var(--surface);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px -4px rgba(212,57,91,0.15);
}

/* ---------- 14. FOOTER ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.8);
  padding: clamp(48px, 7vw, 80px) 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  padding-bottom: clamp(40px, 6vw, 64px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 768px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 430px) {
  .footer__inner { grid-template-columns: 1fr; }
}

.footer__brand .logo {
  color: var(--surface);
  font-size: 1.2rem;
  margin-bottom: 12px;
  display: inline-block;
}
.footer__brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}
.footer__links h4,
.footer__contact h4 {
  color: var(--surface);
  font-size: 0.9rem;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}
.footer__links a {
  display: block;
  padding: 4px 0;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color 200ms, transform 200ms;
}
.footer__links a:hover { color: var(--accent-2); transform: translateX(3px); }
.footer__contact p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 4px;
  overflow-wrap: break-word;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}
.footer__bottom a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  transition: color 200ms;
}
.footer__bottom a:hover { color: var(--accent-2); }

/* ---------- 15. REVEAL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(.16,.87,.48,1), transform 700ms cubic-bezier(.16,.87,.48,1);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
html.no-js .reveal { opacity: 1; transform: none; }

/* stagger children */
.reveal-stagger > .reveal { transition-delay: calc(var(--i, 0) * 80ms); }

/* stagger value-cards, metric-boxes */
.values-grid > .value-card { transition-delay: calc(var(--i, 0) * 120ms); }
.metrics > .metric-box:nth-child(1) { transition-delay: 0ms; }
.metrics > .metric-box:nth-child(2) { transition-delay: 100ms; }
.metrics > .metric-box:nth-child(3) { transition-delay: 200ms; }
.metrics > .metric-box:nth-child(4) { transition-delay: 300ms; }

/* ---------- 16. NICHE ANIMATIONS ---------- */

/* Sugar sprinkle — ambient particles in hero */
.hero__sugar {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.sugar-particle {
  position: absolute;
  top: -6px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  opacity: 0;
  animation: sugar-fall calc(6s + var(--i,0) * 1.3s) ease-in infinite;
  animation-delay: calc(var(--i,0) * 0.9s);
}
.sugar-particle:nth-child(odd) { background: rgba(212,57,91,0.25); }
.sugar-particle:nth-child(even) { background: rgba(255,138,92,0.28); }
.sugar-particle:nth-child(1) { left: 12%; width: 3px; height: 3px; }
.sugar-particle:nth-child(2) { left: 28%; }
.sugar-particle:nth-child(3) { left: 42%; width: 5px; height: 5px; }
.sugar-particle:nth-child(4) { left: 58%; width: 3px; height: 3px; }
.sugar-particle:nth-child(5) { left: 72%; }
.sugar-particle:nth-child(6) { left: 85%; width: 3px; height: 3px; }

@keyframes sugar-fall {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  15% { opacity: 0.5; }
  100% { transform: translateY(calc(100vh * 0.6)) rotate(200deg); opacity: 0; }
}

/* Oven warmth glow — card hover accent shadow */
@keyframes oven-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,138,92,0); }
  50% { box-shadow: 0 0 20px 2px rgba(255,138,92,0.12); }
}

/* Fresh badge pulse */
.badge--fresh {
  animation: fresh-pulse 3s ease-in-out infinite;
}
@keyframes fresh-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); box-shadow: 0 0 14px rgba(212,57,91,0.25); }
}

/* Rolling pin decorative */
.rolling-pin-deco {
  display: inline-block;
  animation: roll-pin 8s linear infinite;
}
@keyframes roll-pin {
  0% { transform: rotate(0deg) translateX(0); }
  25% { transform: rotate(10deg) translateX(4px); }
  50% { transform: rotate(0deg) translateX(0); }
  75% { transform: rotate(-10deg) translateX(-4px); }
  100% { transform: rotate(0deg) translateX(0); }
}

/* Warm shimmer — subtle amber glow on interactive cards */
@keyframes warm-shimmer {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,138,92,0); }
  50% { box-shadow: 0 0 16px 2px rgba(255,138,92,0.08); }
}

/* Whisk swirl on section heading decoration */
@keyframes whisk-swirl {
  0%, 100% { transform: rotate(0deg); }
  33% { transform: rotate(15deg); }
  66% { transform: rotate(-10deg); }
}

@media (prefers-reduced-motion: reduce) {
  .steam-wisp, .sugar-particle, .marquee-track,
  .badge--fresh, .rolling-pin-deco, .hero .btn-primary {
    animation: none !important;
  }
  .marquee-track { transform: none; }
  .product-card, .carousel__item, .feature-card,
  .metric-box, .value-card, .btn-primary, .btn-ghost,
  .filter-tab, .nav-desktop .nav-cta, .channel,
  .nav-toggle, .nav-toggle span {
    transition: none !important;
  }
  .product-card:hover, .carousel__item:hover,
  .feature-card:hover, .value-card:hover,
  .metric-box:hover {
    transform: none !important;
  }
}

/* ---------- 17. FAQ ACCORDION (pure CSS) ---------- */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 200ms;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform 360ms cubic-bezier(.16,.87,.48,1), color 200ms;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--accent-2);
}
.faq-item summary:hover { color: var(--accent); }
.faq-item summary:hover::after { color: var(--accent-2); }

.faq-item > .faq-body {
  height: 0;
  padding: 0 clamp(18px, 3vw, 28px);
  overflow: hidden;
  transition: height 360ms cubic-bezier(.4,0,.2,1),
              padding-block-end 360ms cubic-bezier(.4,0,.2,1);
}
.faq-item[open] > .faq-body {
  height: auto;
  padding-block-end: 26px;
}
@media (prefers-reduced-motion: reduce) {
  .faq-item > .faq-body { transition: none; }
}
.faq-body p {
  font-size: 0.92rem;
  color: rgba(45,45,45,0.7);
  line-height: 1.65;
}

/* ---------- 18. POLICY & UTILITY PAGES ---------- */
.policy-page {
  padding: clamp(48px, 8vw, 96px) 0;
}
.policy-content {
  max-width: 760px;
  margin: 0 auto;
}
.policy-content h1 {
  margin-bottom: clamp(24px, 4vw, 40px);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}
.policy-content h2 {
  margin-top: clamp(32px, 5vw, 48px);
  margin-bottom: 16px;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  padding-left: 16px;
  border-left: 3px solid var(--accent);
}
.policy-content h3 {
  margin-top: 24px;
  margin-bottom: 12px;
}
.policy-content p {
  margin-bottom: 14px;
  line-height: 1.7;
  color: rgba(45,45,45,0.75);
}
.policy-content ul,
.policy-content ol {
  margin: 12px 0 14px 20px;
  list-style: disc;
}
.policy-content li {
  margin-bottom: 6px;
  line-height: 1.6;
  color: rgba(45,45,45,0.75);
}
.policy-content a { color: var(--accent); text-decoration: underline; }
.policy-content strong { color: var(--ink); }
.policy-meta {
  font-size: 0.85rem;
  color: rgba(45,45,45,0.45);
  margin-bottom: 32px;
}

/* Site map page */
.sitemap-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.sitemap-list h3 { margin-bottom: 12px; }
.sitemap-list a {
  display: block;
  padding: 6px 0;
  color: rgba(45,45,45,0.7);
  font-size: 0.92rem;
  transition: color 200ms;
}
.sitemap-list a:hover { color: var(--accent); }

/* 404 page */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.error-page__code {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(5rem, 12vw, 10rem);
  color: var(--accent);
  line-height: 1;
  opacity: 0.15;
}
.error-page h1 { margin: 16px 0 12px; }
.error-page p { margin-bottom: 28px; color: rgba(45,45,45,0.6); }

/* ---------- 19. ABOUT PAGE ---------- */
.about-hero {
  text-align: center;
  padding: clamp(48px, 8vw, 80px) 0 clamp(32px, 5vw, 56px);
}
.about-hero h1 { margin-bottom: 12px; }
.about-hero p { max-width: 540px; margin: 0 auto; color: rgba(45,45,45,0.65); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3vw, 24px);
  margin-top: clamp(32px, 5vw, 48px);
}
@media (max-width: 640px) { .values-grid { grid-template-columns: 1fr; } }

.value-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
  text-align: center;
  border: 1px solid var(--line);
  transition: transform 280ms cubic-bezier(.2,.7,.2,1), box-shadow 280ms, border-color 280ms;
}
.value-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 14px 36px -10px rgba(212,57,91,0.22), 0 6px 20px rgba(255,138,92,0.14), 0 0 28px rgba(255,138,92,0.10);
  border-color: rgba(255,138,92,0.22);
}
.value-card:hover .value-card__icon {
  transform: scale(1.12);
  color: var(--accent-2);
  transition: transform 320ms cubic-bezier(.16,.87,.48,1), color 320ms;
}
.value-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--accent);
}
.value-card__icon svg { width: 100%; height: 100%; }
.value-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.value-card p { font-size: 0.88rem; color: rgba(45,45,45,0.6); line-height: 1.6; }

/* ---------- 20. FOCUS STATES (A11y) ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- 21. PRINT ---------- */
@media print {
  .site-header, .mobile-drawer, .drawer-backdrop, .nav-toggle,
  .cookie-banner, .hero__steam, .hero__sugar, .steam-wisp,
  .sugar-particle { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .container { max-width: 100%; padding: 0; }
  main { padding-top: 0; }
  .reveal { opacity: 1 !important; transform: none !important; }
  a { color: #000; text-decoration: underline; }
  .site-footer { background: #fff; color: #000; border-top: 1px solid #ccc; padding: 24px 0; }
}

/* ---------- 22. RESPONSIVE ---------- */
@media (max-width: 1280px) {
  :root { --container: 1080px; }
}
@media (max-width: 1024px) {
  :root { --header-h: 64px; }
}
@media (max-width: 768px) {
  section { padding: clamp(36px, 6vw, 64px) 0; }
}
@media (max-width: 640px) {
  h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); }
  .hero { padding: clamp(40px, 8vw, 72px) 0 clamp(24px, 4vw, 40px); }
  .marquee-track span { font-size: clamp(1.4rem, 6vw, 2.2rem); }
}
@media (max-width: 430px) {
  .cookie-banner { padding: 16px 18px; bottom: 8px; left: 8px; right: 8px; }
  .cookie-banner p { font-size: 0.82rem; margin-bottom: 4px; }
  .cookie-banner__actions { margin-top: 10px; gap: 6px; }
  .cookie-btn { padding: 8px 14px; font-size: 0.82rem; min-height: 44px; }
}
@media (max-width: 390px) {
  body { font-size: 15px; }
}
@media (max-width: 360px) {
  .container { padding-left: 16px; padding-right: 16px; }
}
/* footer overlay by cookie banner is OK per design — no extra padding */

/* Scroll margin for anchor targets under fixed header */
main section[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

/* ---------- 23. DRAWER CLOSE BUTTON ---------- */
.drawer-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--ink);
  border-radius: 10px;
  transition: background 200ms cubic-bezier(.4,0,.2,1), color 200ms;
  z-index: 1;
}
.drawer-close:hover {
  background: var(--surface-2);
  color: var(--accent);
}
@media (min-width: 1024px) { .drawer-close { display: none; } }

/* ---------- 24. SCROLL PROGRESS BAR ---------- */
.scroll-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  width: 0;
  z-index: 1;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .scroll-progress { display: none; }
}
