/* ==========================================================================
   Kırcı Kuyumculuk
   Modern + klasik kuyumcu hissi · krem-kahverengi palet
   ========================================================================== */

/* ============ Tokens ============ */
:root {
  --cream-50:  #fbf7ef;
  --cream-100: #f4ead7;
  --cream-200: #e8d9bb;
  --cream-300: #d6bf94;

  --brown-50:  #b8a487;
  --brown-100: #8b7558;
  --brown-300: #6b4f3a;
  --brown-500: #4a3729;
  --brown-700: #2d2017;

  --accent:        #a07f50;
  --accent-dark:   #7e6238;
  --accent-light:  #c9a874;

  --text:    var(--brown-500);
  --muted:   var(--brown-50);
  --border:  rgba(74,55,41,.12);

  --container: 1280px;
  --gutter: 24px;
  --radius: 4px;
  --tr-fast: .2s ease;
  --tr-med:  .35s cubic-bezier(.4,0,.2,1);

  --header-h: 80px;
  --topbar-h: 36px;
}

/* ============ Reset ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Jost', system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
}
body.lang-ar { font-family: 'Cairo', 'Jost', sans-serif; direction: rtl; text-align: right; }

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--tr-fast); }
a:hover { color: var(--accent); }
button { font: inherit; cursor: pointer; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  color: var(--brown-300);
  line-height: 1.18;
  margin: 0 0 .4em;
  letter-spacing: -.005em;
}
body.lang-ar h1, body.lang-ar h2, body.lang-ar h3,
body.lang-ar h4, body.lang-ar h5, body.lang-ar h6 {
  font-family: 'Cairo', 'Cormorant Garamond', serif;
}
p  { margin: 0 0 1em; }
::selection { background: var(--accent); color: #fff; }

/* ============ Container ============ */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-wide   { max-width: 1440px; }
.container-narrow { max-width: 880px; }

/* ============ Typography utilities ============ */
.eyebrow {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 12px; font-weight: 500;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-title    { font-size: clamp(28px, 3.5vw, 44px); margin-bottom: 10px; }
.section-subtitle { color: var(--muted); font-size: 15px; max-width: 560px; margin: 0 auto; }
.section-header   { text-align: center; margin-bottom: 36px; }

.text-center  { text-align: center; }
.text-muted   { color: var(--muted); }

/* ============ Sections ============ */
.section        { padding: 72px 0; }
.section-tight  { padding: 48px 0; }
.section-cream  { background: var(--cream-100); }
.section-dark   { background: var(--brown-700); color: var(--cream-100); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--cream-50); }
@media (max-width: 768px) { .section { padding: 56px 0; } }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px;
  font-size: 13px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: 0;
  background: var(--brown-500); color: #fff;
  transition: background var(--tr-fast), color var(--tr-fast), border-color var(--tr-fast), transform var(--tr-fast);
  white-space: nowrap;
}
.btn:hover            { background: var(--brown-700); color: #fff; }
.btn-accent           { background: var(--accent); }
.btn-accent:hover     { background: var(--accent-dark); }
.btn-ghost            { background: transparent; color: var(--brown-500); border-color: var(--brown-500); }
.btn-ghost:hover      { background: var(--brown-500); color: #fff; }
.btn-light            { background: #fff; color: var(--brown-500); }
.btn-light:hover      { background: var(--cream-100); color: var(--brown-700); }
.btn-outline-light    { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline-light:hover { background: #fff; color: var(--brown-500); border-color: #fff; }
.btn-sm               { padding: 11px 22px; font-size: 11px; }

.btn-whatsapp {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 24px;
  background: #fff;
  color: var(--brown-500);
  border: 1px solid var(--brown-500);
  border-radius: 999px;
  font-weight: 500; font-size: 13px;
  letter-spacing: .08em; text-transform: uppercase;
  transition: background var(--tr-fast), color var(--tr-fast);
}
.btn-whatsapp:hover { background: var(--cream-100); color: var(--brown-700); }
.btn-whatsapp svg   { flex: 0 0 auto; }

/* ============ Topbar ============ */
.topbar {
  background: var(--brown-700);
  color: var(--cream-200);
  font-size: 12px;
  letter-spacing: .04em;
  height: var(--topbar-h);
  display: flex; align-items: center;
}
.topbar a { color: var(--cream-200); }
.topbar a:hover { color: var(--accent-light); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 24px; }
.topbar-item {
  display: inline-flex; align-items: center; gap: 8px;
  opacity: .9;
}
.topbar-item svg { opacity: .7; }
/* Topbar trust mesajı + sosyal */
.topbar-message {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--cream-200); opacity: .85;
  font-size: 12px; letter-spacing: .03em;
}
.topbar-message svg { color: var(--accent-light); flex: 0 0 auto; }
.topbar-social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  color: var(--cream-200);
  transition: background var(--tr-fast), color var(--tr-fast);
}
.topbar-social:hover { background: rgba(255,255,255,.1); color: var(--accent-light); }

/* Eski lang-switch yapısı header alt menüde + drawer'da hala kullanılıyor */
.lang-switch {
  display: inline-flex; gap: 4px; align-items: center;
  font-size: 12px;
}
.lang-switch a {
  padding: 0 6px; font-weight: 500;
  color: var(--cream-200); opacity: .55;
  letter-spacing: .12em; text-transform: uppercase;
}
.lang-switch a.is-active { opacity: 1; color: var(--accent-light); }
.lang-switch a:hover     { opacity: 1; }
.lang-switch .sep        { width: 1px; height: 12px; background: currentColor; opacity: .3; }

@media (max-width: 768px) {
  .topbar { display: none; }       /* mobilde topbar tamamen gizli — telefon bottom-nav'da, sosyal footer'da */
}

/* ============ Header (sticky, solid krem) ============ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,247,239,.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: padding var(--tr-fast);
}
.header.is-scrolled { box-shadow: 0 4px 18px rgba(45,32,23,.06); }
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
}
.header-side { display: flex; align-items: center; gap: 28px; }
.header-side-left  { justify-content: flex-start; }
.header-side-right { justify-content: flex-end; }

.header .logo { display: inline-flex; align-items: center; }
.header .logo img {
  max-height: 38px; width: auto;
}

/* CSS metin logo — dile göre değişir */
.brand-text {
  font-family: 'Bebas Neue', 'Cairo', 'Jost', sans-serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 1;
  letter-spacing: .04em;
  color: var(--brown-500);
  white-space: nowrap;
  display: inline-block;
}
body.lang-ar .brand-text {
  font-family: 'Cairo', 'Bebas Neue', sans-serif;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0;
}
.header .brand-text { font-size: 24px; }
@media (max-width: 991px) {
  .header .brand-text { font-size: 20px; }
  body.lang-ar .header .brand-text { font-size: 18px; }
}

/* Koyu zeminde (footer + drawer) beyaz tonu */
.brand-text--light { color: var(--cream-50); }

.nav { display: flex; gap: 28px; }
.nav a {
  font-size: 13px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--brown-500); position: relative;
  padding: 6px 0;
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform var(--tr-med);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav a:hover            { color: var(--brown-700); }
.nav a.is-active        { color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 6px; margin-left: 18px; }
.header-icon {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  color: var(--brown-500);
  background: transparent; border: 0; padding: 0;
  transition: background var(--tr-fast), color var(--tr-fast);
}
.header-icon:hover { background: var(--cream-100); color: var(--accent-dark); }

/* Favori sayacı badge */
.header-fav .fav-count {
  position: absolute; top: 1px; right: 1px;
  min-width: 16px; height: 16px;
  padding: 0 4px;
  background: var(--accent); color: #fff;
  font-size: 9.5px; font-weight: 600;
  border-radius: 8px; line-height: 1;
  display: none;
  align-items: center; justify-content: center;
  border: 2px solid var(--cream-50);
}

/* Bayraklı dil seçici (her cihazda) */
.header-lang { position: relative; display: inline-flex; }
.header-lang .header-lang-btn { padding: 6px; line-height: 1; }
.header-lang .hl-flag {
  display: inline-flex; align-items: center; justify-content: center;
  line-height: 1;
}
.header-lang .header-lang-menu {
  position: absolute; top: calc(100% + 6px); right: 0;
  min-width: 160px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: 0 8px 22px rgba(45,32,23,.1);
  padding: 4px 0;
  display: none;
  z-index: 50;
}
.header-lang.is-open .header-lang-menu { display: block; }
.header-lang .header-lang-menu li:not(:last-child) a { border-bottom: 1px solid var(--border); }
.header-lang .header-lang-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; font-size: 13.5px;
  color: var(--brown-500);
}
.header-lang .header-lang-menu a:hover    { background: var(--cream-50); }
.header-lang .header-lang-menu a.is-active{ background: var(--cream-100); color: var(--accent); font-weight: 500; }
.header-lang .header-lang-menu a .hl-flag { font-size: 16px; }
body.lang-ar .header-lang .header-lang-menu { right: auto; left: 0; }


.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  background: transparent; border: 0; padding: 0;
  color: var(--brown-500);
  align-items: center; justify-content: center;
}

@media (max-width: 991px) {
  :root { --header-h: 76px; }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header .logo { justify-self: center; }
  .header .logo img { max-height: 30px; }
  .header-actions { gap: 2px; margin-left: 0; }
  .header-icon { width: 36px; height: 36px; }
}

/* Mobile drawer */
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(360px, 100%);
  background: var(--cream-50);
  z-index: 200;
  transform: translateX(100%);
  transition: transform var(--tr-med);
  display: flex; flex-direction: column;
  padding: 28px;
}
body.lang-ar .drawer { right: auto; left: 0; transform: translateX(-100%); }
.drawer.is-open,
body.lang-ar .drawer.is-open { transform: translateX(0); }
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 150;
  opacity: 0; pointer-events: none; transition: opacity var(--tr-fast);
}
.drawer-overlay.is-open { opacity: 1; pointer-events: auto; }
.drawer .drawer-close {
  background: transparent; border: 0; padding: 0;
  width: 40px; height: 40px; align-self: flex-end; color: var(--brown-500);
}
.drawer-nav { margin-top: 24px; display: flex; flex-direction: column; gap: 4px; }
.drawer-nav a {
  display: block; padding: 14px 0; font-size: 18px;
  font-family: 'Cormorant Garamond', serif; color: var(--brown-300);
  border-bottom: 1px solid var(--border);
}
.drawer-nav a:hover, .drawer-nav a.is-active { color: var(--accent); }
.drawer-langs { display: flex; gap: 8px; margin-top: 20px; }
.drawer-langs a {
  padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px;
  font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brown-500);
}
.drawer-langs a.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }
.drawer-cta { margin-top: auto; padding-top: 20px; }

/* ============ HERO ============ */
.hero {
  position: relative;
  height: clamp(580px, 82vh, 780px);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  overflow: hidden;
  background: var(--brown-700);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  animation: heroZoom 16s ease-out forwards;
}
.hero-bg-video { animation: none; overflow: hidden; }
.hero-bg-video > video,
.hero-bg-video > iframe {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100%; height: 100%;
  min-width: 100%; min-height: 100%;
  object-fit: cover;
  border: 0;
  pointer-events: none;
}
.hero-bg-video > iframe {
  /* iframe full-cover: 16:9 oranını esnetip kırpıyoruz */
  width: 177.78vh;   /* 100vh * 16/9 */
  height: 56.25vw;   /* 100vw * 9/16 */
  min-width: 100%;
  min-height: 100%;
}
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(45,32,23,.55) 0%, rgba(45,32,23,.18) 35%, rgba(45,32,23,.65) 100%),
    radial-gradient(ellipse at center, transparent 40%, rgba(45,32,23,.35) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 0 var(--gutter);
  max-width: 720px;
  animation: fadeUp 1s ease-out both;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
.hero .eyebrow {
  color: var(--cream-200);
  position: relative; padding: 0 30px;
}
.hero .eyebrow::before,
.hero .eyebrow::after {
  content: ''; position: absolute; top: 50%;
  width: 20px; height: 1px;
  background: var(--accent-light); opacity: .7;
}
.hero .eyebrow::before { left: 0; }
.hero .eyebrow::after  { right: 0; }
.hero h1 {
  font-size: clamp(40px, 6.4vw, 80px);
  color: #fff; margin: 4px 0 22px;
  font-weight: 400;
  letter-spacing: -.005em;
  text-shadow: 0 2px 30px rgba(0,0,0,.25);
}
.hero p {
  font-size: clamp(15px, 1.3vw, 17px);
  color: rgba(255,255,255,.92);
  max-width: 540px; margin: 0 auto 36px;
  line-height: 1.8;
}
.hero-actions {
  display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center;
}
.hero-scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 3; color: rgba(255,255,255,.65);
  font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-weight: 500;
}
.hero-scroll::after {
  content: ''; width: 1px; height: 36px;
  background: linear-gradient(180deg, rgba(255,255,255,.5), transparent);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine { 0%,100% { transform: scaleY(.4); transform-origin: top; opacity: .3; } 50% { transform: scaleY(1); opacity: 1; } }
@media (max-width: 600px) { .hero-scroll { display: none; } }

/* ============ Categories grid ============ */
.cat-grid       { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 991px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .cat-grid { grid-template-columns: 1fr; gap: 18px; } }

.cat-card {
  display: block; position: relative;
  aspect-ratio: 3/4;
  overflow: hidden; border-radius: var(--radius);
  background: var(--cream-200);
}
.cat-card .cat-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .9s cubic-bezier(.4,0,.2,1);
}
.cat-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(45,32,23,.78) 100%);
  z-index: 1;
}
.cat-card:hover .cat-img { transform: scale(1.06); }
.cat-card .cat-label {
  position: absolute; inset: auto 0 28px 0; z-index: 2;
  text-align: center; color: #fff; padding: 0 16px;
}
.cat-card .cat-label .cat-name {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(24px, 2.6vw, 32px); font-weight: 500;
  letter-spacing: -.005em;
}
.cat-card .cat-label .cat-arrow {
  display: inline-block;
  margin-top: 10px;
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase;
  opacity: 0; transform: translateY(8px);
  transition: opacity var(--tr-med), transform var(--tr-med);
  font-weight: 500;
}
.cat-card:hover .cat-label .cat-arrow { opacity: 1; transform: translateY(0); }
.cat-card .cat-count {
  display: inline-block;
  margin-top: 6px;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  opacity: .8; font-weight: 500;
}

/* ============ Product grid / card (klasik e-ticaret) ============ */
.product-grid {
  display: grid; gap: 28px 24px;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1199px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px)  { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 14px; } }

.product-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(45,32,23,.08);
  border-color: transparent;
}

/* Görsel */
.product-card .pc-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--cream-50);
  display: block;
  border-bottom: 1px solid var(--border);
}
.product-card .pc-thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity var(--tr-med), transform 1.2s cubic-bezier(.4,0,.2,1);
}
.product-card .pc-thumb img.pc-main  { opacity: 1; z-index: 1; }
.product-card .pc-thumb img.pc-hover { opacity: 0; z-index: 2; }
.product-card:hover .pc-thumb img.pc-main  { opacity: 0; }
.product-card:hover .pc-thumb img.pc-hover { opacity: 1; }
.product-card:hover .pc-thumb img          { transform: scale(1.04); }

/* Etiket (köşe rozet) */
.product-card .pc-badge {
  position: absolute; top: 12px; left: 12px; z-index: 4;
  padding: 5px 10px;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  background: var(--brown-500); color: #fff;
  border-radius: 2px; font-weight: 500;
}
.product-card .pc-badge.is-accent { background: var(--accent); }

/* Favori (kalp) butonu — sağ üst */
.product-card .pc-fav {
  position: absolute; top: 10px; right: 10px; z-index: 5;
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.95);
  color: var(--brown-500);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  transition: all .2s ease;
  padding: 0;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.product-card .pc-fav:hover { color: var(--accent); border-color: var(--accent); }
.product-card .pc-fav.is-active {
  background: var(--accent); color: #fff; border-color: var(--accent);
}
.product-card .pc-fav.is-active svg { fill: currentColor; }

/* Detay sayfasında kalp butonu */
.pi-fav-btn {
  width: 50px; height: 50px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; color: var(--brown-500);
  border: 1px solid var(--border); border-radius: 4px;
  cursor: pointer;
  transition: all .2s ease;
  padding: 0;
  flex: 0 0 50px;
}
.pi-fav-btn:hover { color: var(--accent); border-color: var(--accent); }
.pi-fav-btn.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }
.pi-fav-btn.is-active svg { fill: currentColor; }

/* Bilgi alanı */
.product-card .pc-info {
  padding: 18px 20px 20px;
  display: flex; flex-direction: column;
  flex: 1;
}
.product-card .pc-cat {
  font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); font-weight: 500;
  margin-bottom: 8px;
}
.product-card .pc-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 500; color: var(--brown-500);
  line-height: 1.25; letter-spacing: .005em;
  margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 52px;
  transition: color var(--tr-fast);
}
.product-card .pc-name:hover { color: var(--accent); }

.product-card .pc-meta {
  display: flex; gap: 14px; flex-wrap: wrap; align-items: center;
  font-size: 12.5px; letter-spacing: .02em; color: var(--brown-100);
  margin-bottom: 16px;
  min-height: 20px;
}
.product-card .pc-meta-item {
  display: inline-flex; align-items: center; gap: 6px;
  line-height: 1;
}
.product-card .pc-meta-item svg {
  flex: 0 0 14px;
  color: var(--accent);
  opacity: .85;
}
.product-card .pc-meta strong  { color: var(--brown-500); font-weight: 500; }

/* Alt eylemler — "İncele" geniş + WhatsApp kare ikon */
.product-card .pc-actions {
  margin-top: auto;
  display: flex; gap: 8px;
}
.product-card .pc-view {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 14px;
  background: var(--brown-500); color: #fff;
  font-size: 11.5px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  border-radius: 4px;
  transition: background var(--tr-fast), color var(--tr-fast);
}
.product-card .pc-view:hover { background: var(--brown-700); color: #fff; }
.product-card .pc-view svg   { flex: 0 0 auto; opacity: .9; }

.product-card .pc-wa-btn {
  width: 44px; flex: 0 0 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: background var(--tr-fast), border-color var(--tr-fast), transform var(--tr-fast);
}
.product-card .pc-wa-btn:hover {
  background: var(--cream-100); border-color: var(--accent);
  transform: scale(1.04);
}

@media (max-width: 540px) {
  .product-card .pc-info    { padding: 12px 12px 14px; }
  .product-card .pc-name    { font-size: 16px; min-height: 42px; margin-bottom: 8px; }
  .product-card .pc-meta    { font-size: 11px; margin-bottom: 12px; gap: 8px; }
  .product-card .pc-actions { gap: 6px; flex-wrap: nowrap; }
  .product-card .pc-view {
    padding: 9px 6px;
    font-size: 10px;
    letter-spacing: .04em;
    gap: 4px;
    min-width: 0;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .product-card .pc-view svg { display: none; }   /* mobilde arama ikonu gizli, yazıya yer */
  .product-card .pc-wa-btn   { width: 38px; flex: 0 0 38px; }
}
@media (max-width: 380px) {
  .product-card .pc-view   { font-size: 9.5px; padding: 8px 4px; }
  .product-card .pc-wa-btn { width: 34px; flex: 0 0 34px; }
}

/* ============ Split (about) ============ */
.split {
  display: grid; gap: 64px;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
}
.split.split-reverse { grid-template-columns: 1fr 1.05fr; }
.split.split-reverse .split-media { order: 2; }
.split-media {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-200);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-content h2 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 18px; }
@media (max-width: 880px) {
  .split, .split.split-reverse { grid-template-columns: 1fr; gap: 28px; }
  .split.split-reverse .split-media { order: 0; }
  .split-media { aspect-ratio: 3/2; }
}

/* ============ CTA strip ============ */
.cta-strip {
  position: relative;
  background-size: cover; background-position: center;
  color: #fff;
  text-align: center;
  padding: 96px 32px;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
}
.cta-strip::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(45,32,23,.35) 0%, rgba(45,32,23,.65) 100%);
  transition: background .4s ease;
}
.cta-strip:hover::before { background: linear-gradient(180deg, rgba(45,32,23,.45) 0%, rgba(45,32,23,.75) 100%); }
.cta-strip .eyebrow   { color: var(--cream-200); margin-bottom: 12px; }
.cta-strip h2         { color: #fff; font-size: clamp(28px, 3.2vw, 42px); margin-bottom: 16px; }
.cta-strip p          { color: rgba(255,255,255,.88); max-width: 460px; margin: 0 auto 26px; line-height: 1.7; }

.banner-pair { display: grid; gap: 24px; grid-template-columns: 1fr 1fr; }
@media (max-width: 768px) { .banner-pair { grid-template-columns: 1fr; } }
.banner-pair .cta-strip { padding: 88px 28px; min-height: 360px; display: flex; flex-direction: column; justify-content: center; }
.banner-pair .cta-strip h2 { font-size: clamp(26px, 2.6vw, 36px); }

/* ============ Gallery ============ */
.gallery {
  display: grid; gap: 6px;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 991px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery a {
  display: block; position: relative;
  aspect-ratio: 1; overflow: hidden;
  border-radius: 2px;
}
.gallery img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s ease, filter var(--tr-med);
  filter: saturate(.92);
}
.gallery a::before {
  content: ''; position: absolute; inset: 0; z-index: 2;
  background: rgba(45,32,23,0);
  transition: background .3s ease;
}
.gallery a::after {
  content: ''; position: absolute; top: 50%; left: 50%; z-index: 3;
  width: 28px; height: 28px; border: 1.5px solid #fff; border-radius: 50%;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.7'><rect x='2' y='2' width='20' height='20' rx='5'/><circle cx='12' cy='12' r='4.5'/><circle cx='17.5' cy='6.5' r='1' fill='white'/></svg>") center/16px no-repeat;
  transform: translate(-50%, -50%) scale(.5);
  opacity: 0; transition: opacity .3s ease, transform .3s ease;
}
.gallery a:hover::before { background: rgba(45,32,23,.4); }
.gallery a:hover::after  { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.gallery a:hover img     { transform: scale(1.06); filter: saturate(1.05); }

/* ============ Instagram embed (Fouita / 3. parti) ============ */
.ig-embed { position: relative; min-height: 320px; }
.ig-embed > #ft-insta-app { width: 100%; }
/* Fouita branding — DOM'da kalsın (widget aksi halde çalışmıyor) ama görünmesin */
#ft-insta-brd {
  position: absolute !important;
  width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ============ Footer ============ */
.footer {
  background: var(--brown-700);
  color: var(--cream-200);
  padding: 72px 0 28px;
}
.footer h3, .footer h4 {
  color: var(--cream-50); font-family: 'Jost', sans-serif;
  font-size: 12px; letter-spacing: .26em; text-transform: uppercase;
  margin-bottom: 18px; font-weight: 500;
}
.footer-grid {
  display: grid; gap: 44px;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
}

.footer .footer-brand img {
  max-height: 36px; width: auto;
  filter: brightness(0) invert(1); opacity: .92;
  margin-bottom: 16px;
}
.footer p, .footer a { color: var(--cream-200); }
.footer a:hover { color: var(--accent-light); }
.footer ul { display: flex; flex-direction: column; gap: 9px; }
.footer ul li a { font-size: 14px; }

.footer-contact { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer-contact .row { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { flex: 0 0 auto; opacity: .7; margin-top: 3px; }

.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.18); border-radius: 50%;
  transition: background var(--tr-fast), border-color var(--tr-fast), color var(--tr-fast);
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.footer-bottom {
  margin-top: 48px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
  font-size: 12.5px; color: rgba(255,255,255,.55);
}
.atazen-credit {
  display: inline-flex; align-items: center;
  transition: opacity var(--tr-fast);
}
.atazen-credit img {
  height: 34px; width: auto;
  filter: brightness(0) invert(1);
  opacity: .9;
  transition: opacity var(--tr-fast);
}
.atazen-credit:hover img { opacity: 1; }

@media (max-width: 540px) {
  .footer-bottom { justify-content: center; text-align: center; }
}

/* Footer — Tablet */
@media (max-width: 991px) {
  .footer { padding: 56px 0 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* Footer — Mobile (basit, alt alta) */
@media (max-width: 600px) {
  .footer { padding: 40px 0 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  /* Marka kartı — ortalı */
  .footer-brand { text-align: center; }
  .footer-brand img { margin-left: auto; margin-right: auto; }
  .footer-brand p { font-size: 13.5px; }
  .footer-brand .footer-social { justify-content: center; }

  /* Sütunlar düz liste (accordion yok) */
  .footer-col-head      { font-size: 11px; margin-bottom: 14px; padding: 0; }
  .footer-col-body      { display: block; }
  .footer-col ul li a   { font-size: 13.5px; }
  .footer-contact       { font-size: 13.5px; }

  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 10px; margin-top: 28px; padding-top: 18px; }
}

/* ============ Bottom-nav (mobil) ============ */
.bottom-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 18px rgba(45,32,23,.06);
  z-index: 90;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.bottom-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 86px 1fr 1fr;
  align-items: end;
}
.bottom-nav a {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 10px 4px 12px;
  font-size: 10.5px; letter-spacing: .04em;
  color: var(--brown-100);
  text-align: center;
  background: transparent;
  border: 0;
}
.bottom-nav a.is-active           { color: var(--accent); }
.bottom-nav a svg                 { width: 20px; height: 20px; }
.bottom-nav a:active              { color: var(--brown-500); }

/* Ortadaki vurgulu WhatsApp düğmesi (FAB) */
.bottom-nav .bn-wa {
  width: 60px; height: 60px;
  background: var(--brown-500);
  color: #fff;
  border-radius: 50%;
  margin: -22px auto 6px;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(45,32,23,.28);
  font-size: 0; gap: 0; padding: 0;
}
.bottom-nav .bn-wa svg { width: 24px; height: 24px; }
.bottom-nav .bn-wa-cell {
  display: flex; flex-direction: column; align-items: center;
  font-size: 10.5px; letter-spacing: .04em; color: var(--brown-500);
  font-weight: 500;
}

@media (max-width: 768px) {
  .bottom-nav { display: block; }
  body { padding-bottom: 70px; }       /* sticky nav için yer */
}
/* Drawer açıkken bottom-nav gizlensin */
body.drawer-active .bottom-nav { transform: translateY(110%); transition: transform .3s ease; }
.bottom-nav { transition: transform .3s ease; }

/* Floating WhatsApp kaldırıldı — header ve bottom-nav'da zaten var */
.floating-wa { display: none !important; }

/* ============ Page banner ============ */
.page-banner {
  position: relative;
  padding: 88px 0 56px;
  background: linear-gradient(180deg, var(--cream-100) 0%, var(--cream-50) 100%);
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-banner h1 { font-size: clamp(34px, 4.2vw, 56px); margin-bottom: 12px; }
.crumb { font-size: 13px; color: var(--brown-50); letter-spacing: .04em; }
.crumb a { color: var(--brown-50); }
.crumb a:hover { color: var(--accent); }
.crumb .sep { margin: 0 8px; opacity: .5; }

/* ============ Forms ============ */
.form-row { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-field label {
  display: block;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brown-50); margin-bottom: 6px;
}
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font: inherit; color: var(--text);
  transition: border-color var(--tr-fast), box-shadow var(--tr-fast);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(160,127,80,.16);
}

/* ============ Misc ============ */
.divider { height: 1px; background: var(--border); margin: 32px 0; }
.empty-state { text-align: center; padding: 96px 24px; color: var(--brown-50); }
.empty-state h3 { color: var(--brown-300); }

/* ============ Ürün detay sayfası ============ */
.product-detail {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 991px) { .product-detail { grid-template-columns: 1fr; gap: 32px; } }

.product-gallery { position: sticky; top: calc(var(--header-h) + 16px); }
@media (max-width: 991px) { .product-gallery { position: static; } }

.pg-main {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--cream-50);
  border-radius: 6px;
  margin-bottom: 10px;
  border: 1px solid var(--border);
}
.pg-main img {
  width: 100%; height: 100%; object-fit: cover;
  cursor: zoom-in;
  transition: transform .5s ease;
}
.pg-main img.is-zoom { transform: scale(1.6); cursor: zoom-out; }

.pg-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
  gap: 8px;
}
.pg-thumb {
  aspect-ratio: 1;
  background: var(--cream-50);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  transition: border-color .2s;
}
.pg-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pg-thumb.is-active { border-color: var(--accent); border-width: 2px; }
.pg-thumb:hover { border-color: var(--brown-500); }

.product-info { padding-top: 8px; }
.product-info .pi-cat {
  display: inline-block;
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--accent); font-weight: 500;
  margin-bottom: 14px;
}
.product-info .pi-cat::before { content: ''; display: inline-block; width: 24px; height: 1px; background: var(--accent); vertical-align: middle; margin-right: 12px; }
.product-info h1 {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.15;
  margin-bottom: 18px;
  color: var(--brown-500);
}
.product-info .pi-short {
  color: var(--brown-100);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 24px;
}

/* Spec tablosu — iki sütun, ince ayraçlı */
.pi-specs {
  border-top: 1px solid var(--border);
  margin: 28px 0;
}
.pi-specs .row {
  display: grid; grid-template-columns: 1fr 2fr;
  align-items: center; gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.pi-specs .label {
  color: var(--brown-50);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 11.5px;
  font-weight: 500;
}
.pi-specs .val { color: var(--brown-500); font-weight: 500; }
.pi-specs .val a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* Eylem butonları */
.pi-actions { display: flex; gap: 10px; margin: 24px 0; flex-wrap: wrap; }
.pi-actions .btn { flex: 1; min-width: 160px; padding: 16px 22px; }
.pi-actions .btn-whatsapp { flex: 1; min-width: 200px; padding: 16px 22px; font-size: 13px; }

/* Trust badges */
.pi-trust {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 22px;
  padding: 22px 24px;
  background: var(--cream-100);
  border-radius: 6px;
  margin-top: 28px;
}
.pi-trust .tr-item {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 13px; line-height: 1.5;
}
.pi-trust .tr-icon {
  flex: 0 0 36px; width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 50%;
  color: var(--accent);
  border: 1px solid var(--border);
}
.pi-trust strong { color: var(--brown-500); display: block; font-weight: 500; margin-bottom: 2px; }
.pi-trust span   { color: var(--brown-50); font-size: 12px; }

/* Paylaşım */
.pi-share {
  margin-top: 24px;
  display: flex; gap: 10px; align-items: center;
  font-size: 11px; color: var(--brown-50);
  letter-spacing: .18em; text-transform: uppercase;
}
.pi-share a {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 50%;
  color: var(--brown-500);
  transition: background var(--tr-fast), color var(--tr-fast), border-color var(--tr-fast);
}
.pi-share a:hover { background: var(--brown-500); color: #fff; border-color: var(--brown-500); }

/* Tabs (açıklama / özellikler) */
.product-tabs { margin-top: 88px; }
.tabs-nav {
  display: flex; gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.tabs-nav button {
  padding: 16px 26px;
  background: transparent; border: 0;
  border-bottom: 2px solid transparent;
  color: var(--brown-50);
  font-size: 12px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  cursor: pointer;
  transition: color var(--tr-fast), border-color var(--tr-fast);
  margin-bottom: -1px;
}
.tabs-nav button:hover     { color: var(--brown-500); }
.tabs-nav button.is-active { color: var(--brown-500); border-bottom-color: var(--accent); }
.tab-pane { display: none; max-width: 760px; }
.tab-pane.is-active { display: block; }
.tab-pane.cms-content { font-size: 15px; }

@media (max-width: 540px) {
  .tabs-nav button { padding: 14px 18px; font-size: 11px; letter-spacing: .12em; }
}

.cms-content { line-height: 1.85; }
.cms-content h2, .cms-content h3 { margin: 1.4em 0 .5em; }
.cms-content a { color: var(--accent); text-decoration: underline; }
.cms-content img { border-radius: var(--radius); margin: 1em 0; }

/* ============ Favori Drawer (sağdan açılan panel) ============ */
.fav-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(440px, 100%);
  background: #fff;
  z-index: 220;
  transform: translateX(110%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
  box-shadow: -12px 0 40px rgba(45,32,23,.18);
  will-change: transform;
}
body.lang-ar .fav-drawer { right: auto; left: 0; transform: translateX(-110%); }
.fav-drawer.is-open,
body.lang-ar .fav-drawer.is-open { transform: translateX(0); }
.fav-drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(45,32,23,.45);
  z-index: 210;
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
}
.fav-drawer-overlay.is-open { opacity: 1; pointer-events: auto; }

.fav-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
}
.fav-drawer-head .fdh-title {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; color: var(--brown-500); font-weight: 500;
}
.fav-drawer-head .fdh-title svg { color: var(--accent); }
.fav-drawer-head .fdh-count {
  background: var(--accent); color: #fff;
  padding: 2px 10px; border-radius: 999px;
  font-family: 'Jost', sans-serif;
  font-size: 11px; font-weight: 500; letter-spacing: .12em;
  display: none;
}
.fav-drawer-head .fdh-count.is-shown { display: inline-flex; }
.fav-drawer-close {
  width: 36px; height: 36px;
  background: transparent; border: 0; padding: 0;
  color: var(--brown-300);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  transition: background .2s ease;
}
.fav-drawer-close:hover { background: var(--cream-100); }

.fav-drawer-body {
  flex: 1; overflow-y: auto;
  padding: 6px 0;
}
.fav-drawer-empty {
  padding: 72px 32px;
  text-align: center;
  color: var(--brown-50);
}
.fav-drawer-empty svg { color: var(--cream-300); margin: 0 auto 16px; }
.fav-drawer-empty h4 { font-size: 19px; color: var(--brown-300); margin-bottom: 6px; }
.fav-drawer-empty p  { font-size: 13.5px; line-height: 1.6; max-width: 280px; margin: 0 auto 16px; }
.fav-drawer-empty .btn { display: inline-flex; }

/* Tek satır */
.fav-drawer-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  column-gap: 14px;
  align-items: start;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.fav-drawer-item:last-child { border-bottom: 0; }
.fav-drawer-item .fdi-thumb {
  aspect-ratio: 1; width: 72px;
  border-radius: 4px; overflow: hidden;
  background: var(--cream-50);
  display: block;
}
.fav-drawer-item .fdi-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fav-drawer-item .fdi-info { min-width: 0; padding-top: 2px; }
.fav-drawer-item .fdi-cat {
  font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); font-weight: 500;
  margin-bottom: 4px;
}
.fav-drawer-item .fdi-name {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px; line-height: 1.25; font-weight: 500;
  color: var(--brown-500);
  margin-bottom: 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; word-break: break-word;
}
.fav-drawer-item .fdi-name:hover { color: var(--accent); }
.fav-drawer-item .fdi-meta {
  display: flex; gap: 10px; flex-wrap: wrap;
  font-size: 11.5px; color: var(--brown-50);
}
.fav-drawer-item .fdi-meta strong { color: var(--brown-500); font-weight: 500; }
.fav-drawer-item .fdi-actions {
  display: flex; flex-direction: column; gap: 6px;
  align-items: flex-end;
}
.fav-drawer-item .fdi-wa,
.fav-drawer-item .fdi-rm {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #fff;
  color: var(--brown-500);
  cursor: pointer;
  padding: 0;
  transition: all .2s ease;
}
.fav-drawer-item .fdi-wa:hover { border-color: var(--accent); }
.fav-drawer-item .fdi-rm:hover { color: var(--brown-500); border-color: var(--brown-500); }

.fav-drawer-foot {
  padding: 16px 22px 20px;
  border-top: 1px solid var(--border);
  background: var(--cream-50);
  display: flex; flex-direction: column; gap: 10px;
}
.fav-drawer-foot .btn,
.fav-drawer-foot .btn-whatsapp { width: 100%; }
.fav-drawer-foot .btn         { padding: 12px 16px; font-size: 12px; }

/* Ekleme animasyonu */
.fav-drawer-item.is-new { animation: favPop .35s ease; }
@keyframes favPop {
  0% { transform: translateX(20px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

/* Drawer açıkken bottom-nav gizle */
body.fav-drawer-active .bottom-nav { transform: translateY(110%); }

@media (max-width: 480px) {
  .fav-drawer-head { padding: 16px 18px; }
  .fav-drawer-item { padding: 12px 18px; column-gap: 10px; grid-template-columns: 64px minmax(0,1fr) auto; }
  .fav-drawer-item .fdi-thumb { width: 64px; }
  .fav-drawer-item .fdi-name  { font-size: 15px; }
  .fav-drawer-foot { padding: 14px 18px 18px; }
}

/* ============ Favoriler — mobile (sıkı düzen) ============ */
@media (max-width: 768px) {
  .fav-item {
    display: grid !important;
    grid-template-columns: 96px minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    grid-auto-flow: row !important;
    column-gap: 12px !important;
    row-gap: 10px !important;
    padding: 12px !important;
    align-items: start !important;
  }
  .fav-item > * { min-width: 0 !important; }                    /* taşmayı kes */
  .fav-item .fi-thumb {
    grid-column: 1 !important; grid-row: 1 !important;
    aspect-ratio: 1 !important; width: 96px;
  }
  .fav-item .fi-info {
    grid-column: 2 !important; grid-row: 1 !important;
    padding: 0 !important; gap: 4px;
    overflow: hidden;
  }
  .fav-item .fi-info * { min-width: 0; }
  .fav-item .fi-cat  { font-size: 9.5px; letter-spacing: .18em; margin: 0; }
  .fav-item .fi-name { font-size: 16px; line-height: 1.25; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; word-break: break-word;
  }
  .fav-item .fi-short { display: none; }
  .fav-item .fi-meta {
    gap: 10px; padding-top: 6px; margin-top: 4px;
    font-size: 11.5px; flex-wrap: wrap;
    border-top: 1px solid var(--border);
  }
  .fav-item .fi-meta-item { gap: 4px; }
  .fav-item .fi-meta-item .label { display: none; }

  .fav-item .fi-actions {
    grid-column: 1 / -1 !important; grid-row: 2 !important;
    flex-direction: row; min-width: 0;
    padding-top: 12px; margin-top: 0;
    border-top: 1px solid var(--border);
    gap: 6px;
  }
  .fav-item .fi-actions > * {
    flex: 1 1 0; padding: 9px 6px;
    font-size: 10.5px; letter-spacing: .06em;
    min-width: 0; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
  }
  .fav-item .fi-actions .btn-whatsapp { gap: 4px; }
  .fav-item .fi-remove svg { width: 12px; height: 12px; }
}

@media (max-width: 380px) {
  .fav-item {
    grid-template-columns: 80px minmax(0, 1fr) !important;
    column-gap: 10px !important;
    padding: 10px !important;
  }
  .fav-item .fi-thumb { width: 80px; }
  .fav-item .fi-name  { font-size: 15px; }
  .fav-item .fi-actions > * { font-size: 10px; padding: 8px 4px; letter-spacing: 0; }
}

/* ============ Favoriler — detaylı liste ============ */
.fav-toolbar {
  display: flex; gap: 12px; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  margin-bottom: 32px;
  padding: 18px 22px;
  background: var(--cream-100);
  border-radius: 6px;
}
.fav-toolbar .fav-summary {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px;
}
.fav-toolbar .fav-summary svg { color: var(--accent); }
.fav-toolbar .fav-summary strong { color: var(--brown-500); font-weight: 500; }
.fav-toolbar .fav-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.fav-list {
  display: flex; flex-direction: column;
  gap: 16px;
}
.fav-item {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 24px;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 18px;
  transition: box-shadow var(--tr-fast), border-color var(--tr-fast);
}
.fav-item:hover { box-shadow: 0 12px 28px rgba(45,32,23,.08); border-color: transparent; }

.fav-item .fi-thumb {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--cream-50);
  border-radius: 4px;
}
.fav-item .fi-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.fav-item:hover .fi-thumb img { transform: scale(1.04); }

.fav-item .fi-info { display: flex; flex-direction: column; gap: 8px; padding: 4px 0; }
.fav-item .fi-cat {
  display: inline-block;
  font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); font-weight: 500;
}
.fav-item .fi-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 500; color: var(--brown-500);
  line-height: 1.2;
  margin: 0;
}
.fav-item .fi-name:hover { color: var(--accent); }
.fav-item .fi-short {
  color: var(--brown-100);
  font-size: 13.5px; line-height: 1.6;
  margin: 4px 0 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.fav-item .fi-meta {
  display: flex; gap: 18px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--brown-100);
  padding-top: 8px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.fav-item .fi-meta-item {
  display: inline-flex; align-items: center; gap: 6px;
}
.fav-item .fi-meta-item svg     { color: var(--accent); opacity: .85; flex: 0 0 auto; }
.fav-item .fi-meta-item strong  { color: var(--brown-500); font-weight: 500; }
.fav-item .fi-meta-item .label  { color: var(--brown-50); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }

.fav-item .fi-actions {
  display: flex; flex-direction: column; gap: 8px;
  align-items: stretch; justify-content: center;
  min-width: 160px;
}
.fav-item .fi-actions .btn,
.fav-item .fi-actions .btn-whatsapp { padding: 11px 16px; font-size: 11.5px; letter-spacing: .12em; }
.fav-item .fi-remove {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 14px;
  background: transparent;
  border: 1px solid var(--border); border-radius: 4px;
  color: var(--brown-50);
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  cursor: pointer; transition: all .2s ease;
}
.fav-item .fi-remove:hover { color: var(--brown-500); border-color: var(--brown-500); }
.fav-item .fi-remove svg   { width: 13px; height: 13px; }

@media (max-width: 768px) {
  .fav-item { grid-template-columns: 110px 1fr; gap: 14px; padding: 14px; }
  .fav-item .fi-actions {
    grid-column: 1 / -1;
    flex-direction: row; min-width: 0;
    border-top: 1px solid var(--border); padding-top: 12px;
  }
  .fav-item .fi-actions > * { flex: 1; }
  .fav-item .fi-name { font-size: 19px; }
  .fav-item .fi-short { -webkit-line-clamp: 2; font-size: 13px; }
  .fav-item .fi-meta { gap: 12px; padding-top: 6px; }
}
@media (max-width: 420px) {
  .fav-item .fi-actions { flex-direction: column; }
  .fav-item .fi-actions > * { flex: none; }
}

/* ============ İletişim sayfası ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 991px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }

.contact-form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px 36px 32px;
}
.contact-form-card h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 6px; }
.contact-form-card .lead { color: var(--brown-100); margin-bottom: 24px; font-size: 14.5px; }
.contact-form-card .form-row { gap: 14px; margin-bottom: 14px; }
.contact-form-card .form-field { margin-bottom: 14px; }
.contact-form-card textarea { resize: vertical; min-height: 120px; }
.contact-form-card .form-actions { margin-top: 6px; }
.contact-form-card .form-actions .btn { padding: 14px 32px; }
@media (max-width: 600px) { .contact-form-card { padding: 24px 22px; } }

.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-info .ci-row {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: border-color var(--tr-fast), box-shadow var(--tr-fast);
}
.contact-info .ci-row:hover { border-color: var(--accent); }
.contact-info .ci-icon {
  flex: 0 0 42px; width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--cream-100); color: var(--accent);
  border-radius: 50%;
}
.contact-info .ci-text strong {
  display: block; color: var(--brown-500);
  font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase;
  margin-bottom: 4px; font-weight: 500;
}
.contact-info .ci-text span,
.contact-info .ci-text a { color: var(--brown-100); font-size: 15px; line-height: 1.55; }
.contact-info .ci-text a:hover { color: var(--accent); }

.contact-info .ci-cta {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-top: 4px;
}
.contact-info .ci-cta > * { flex: 1; min-width: 140px; }

.contact-flash {
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 20px;
  border: 1px solid;
}
.contact-flash.is-ok  { background: #f0f8ee; border-color: #c2e0b6; color: #3a6e2a; }
.contact-flash.is-err { background: #fbeeee; border-color: #e8c4c4; color: #884040; }

/* Harita — sayfa yerleşimine göre, container içinde */
.contact-map {
  position: relative;
  height: clamp(320px, 38vh, 420px);
  background: var(--cream-100);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.9) contrast(.97); }
@media (max-width: 768px) { .contact-map { height: clamp(260px, 50vh, 340px); border-radius: 6px; } }

/* ============ Hakkımızda sayfası ============ */
.about-hero {
  position: relative;
  padding: 110px 0 64px;
  text-align: center;
  background: linear-gradient(180deg, var(--cream-100) 0%, var(--cream-50) 100%);
  overflow: hidden;
}
.about-hero::before {
  content: ''; position: absolute; inset: auto -10% -40% -10%;
  height: 200px;
  background: radial-gradient(ellipse at center, rgba(160,127,80,.08) 0%, transparent 70%);
}
.about-hero.has-bg {
  background: var(--brown-700);
  color: #fff;
  padding: 140px 0 88px;
}
.about-hero.has-bg::before {
  inset: 0;
  height: auto;
  background:
    linear-gradient(180deg, rgba(45,32,23,.55) 0%, rgba(45,32,23,.18) 35%, rgba(45,32,23,.7) 100%),
    radial-gradient(ellipse at center, transparent 40%, rgba(45,32,23,.4) 100%);
  z-index: 1;
}
.about-hero .ah-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
}
.about-hero.has-bg > .container { position: relative; z-index: 2; }
.about-hero.has-bg .lead { color: rgba(255,255,255,.86); }
.about-hero.has-bg .crumb a,
.about-hero.has-bg .crumb span { color: rgba(255,255,255,.85); }
.about-hero.has-bg .eyebrow { color: rgba(255,255,255,.78); }
.about-hero h1 {
  font-size: clamp(38px, 5vw, 64px);
  margin: 18px 0 12px;
}
.about-hero .lead {
  max-width: 620px; margin: 0 auto;
  font-size: 17px; color: var(--brown-100);
  line-height: 1.7;
}
.about-hero .crumb { margin-top: 18px; }

/* Değerler grid */
.values-grid {
  display: grid; gap: 32px 24px;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 991px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .values-grid { grid-template-columns: 1fr; } }

.value-card {
  background: #fff;
  padding: 32px 24px;
  border: 1px solid var(--border);
  border-radius: 6px;
  text-align: left;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.value-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(45,32,23,.08); border-color: transparent; }
.value-card .v-icon {
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--cream-100); color: var(--accent);
  border-radius: 50%;
  margin-bottom: 18px;
}
.value-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 500; color: var(--brown-300);
  margin-bottom: 10px;
}
.value-card p {
  color: var(--brown-100); font-size: 14px;
  line-height: 1.65; margin: 0;
}

/* Sayılar / istatistik */
.stats-row {
  display: grid; gap: 32px 24px;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
@media (max-width: 768px) { .stats-row { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.stat .stat-num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 4.5vw, 60px);
  font-weight: 500; color: var(--brown-300);
  line-height: 1;
}
.stat .stat-lbl {
  display: block;
  margin-top: 10px;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--brown-50); font-weight: 500;
}
.stat .stat-divider {
  width: 32px; height: 1px;
  background: var(--accent);
  margin: 14px auto 0;
}

/* Ziyaret bölümü */
.visit-info { display: flex; flex-direction: column; gap: 20px; }
.visit-info h2  { font-size: clamp(28px, 3vw, 38px); margin-bottom: 4px; }
.visit-row {
  display: flex; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
}
.visit-row:last-child { border-bottom: 0; }
.visit-row .v-icon {
  flex: 0 0 36px; width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--cream-100); color: var(--accent);
  border-radius: 50%;
}
.visit-row .v-text strong { display: block; color: var(--brown-500); margin-bottom: 2px; }
.visit-row .v-text span,
.visit-row .v-text a       { color: var(--brown-100); }
.visit-row .v-text a:hover { color: var(--accent); }

.visit-map {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 6px; overflow: hidden;
  background: var(--cream-100);
}
.visit-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.visit-map .map-fallback {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%; padding: 32px; text-align: center; color: var(--brown-100);
}
.visit-map .map-fallback svg { color: var(--accent); margin-bottom: 12px; }
@media (max-width: 880px) { .visit-map { aspect-ratio: 16/9; } }

/* ============ Inline contentEditable (admin için) ============ */
[data-kedit] {
  position: relative;
  outline: none;
  cursor: text;
  transition: background .15s ease, box-shadow .15s ease;
  border-radius: 3px;
}
[data-kedit]:hover {
  background: rgba(160,127,80,.08);
  box-shadow: 0 0 0 2px rgba(160,127,80,.3);
}
[data-kedit]:focus {
  background: rgba(160,127,80,.12);
  box-shadow: 0 0 0 2px var(--accent);
  cursor: text;
}
/* Kalem ikonu — hover'da sağ üstte */
[data-kedit]::after {
  content: '';
  position: absolute; top: -10px; right: -10px;
  width: 26px; height: 26px;
  background: var(--accent) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 20h9'/><path d='M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4z'/></svg>") center/13px no-repeat;
  border-radius: 50%;
  opacity: 0; transform: scale(.7) translateY(4px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
  z-index: 5;
  box-shadow: 0 4px 10px rgba(45,32,23,.25);
}
[data-kedit]:hover::after,
[data-kedit]:focus::after {
  opacity: 1; transform: scale(1) translateY(0);
}
[data-kedit]:focus::after { background-color: var(--brown-700); }
/* Beyaz/koyu zeminde (hero) kalem rengi */
.hero [data-kedit]::after { box-shadow: 0 4px 14px rgba(0,0,0,.5); }
body.lang-ar [data-kedit]::after { right: auto; left: -10px; }
[data-kedit].is-saving {
  box-shadow: 0 0 0 2px #f0c14b;
}
[data-kedit].is-saved {
  box-shadow: 0 0 0 2px #4a8a3a;
  animation: keditSavedPulse .8s ease;
}
[data-kedit].is-error {
  box-shadow: 0 0 0 2px #c44;
}
@keyframes keditSavedPulse {
  0% { box-shadow: 0 0 0 2px #4a8a3a; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* Inline image swap */
.kedit-image-wrap {
  position: relative;
  display: inline-block;
}
.kedit-image-wrap > img,
.kedit-image-wrap > div[style*="background-image"] {
  cursor: pointer;
}
.kedit-image-wrap::after {
  content: '📷 Görseli değiştir';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(45,32,23,.6); color: #fff;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 500;
  border-radius: inherit;
  opacity: 0; transition: opacity .2s ease;
  pointer-events: none;
}
.kedit-image-wrap:hover::after { opacity: 1; }

/* Düzenleme modu toggle butonu */
.kedit-mode-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12.5px; font-weight: 500;
  letter-spacing: .04em;
  font-family: inherit;
  transition: background .15s ease;
}
.kedit-mode-toggle:hover { background: rgba(255,255,255,.16); }
body.kedit-active .kedit-mode-toggle {
  background: var(--accent); border-color: var(--accent);
}
.kedit-when-on { display: none !important; }
body.kedit-active .kedit-when-on { display: inline-flex !important; }

/* contentEditable görünümü sadece kedit-active'de */
body:not(.kedit-active) [data-kedit] { cursor: default; }
body:not(.kedit-active) [data-kedit]:hover { background: transparent; box-shadow: none; }
body:not(.kedit-active) [data-kedit]::after { display: none !important; }
body:not(.kedit-active) [data-kedit-image]::before,
body:not(.kedit-active) [data-kedit-image]::after { display: none !important; }
body:not(.kedit-active) [data-kedit-image] { cursor: inherit; }

/* Düzenleme aktifken: tüm site link/button'larını tıklanmaz yap, sadece editable elementler ve toolbar tıklanır kalsın */
body.kedit-active a,
body.kedit-active button[type="submit"],
body.kedit-active form {
  pointer-events: none;
}
body.kedit-active .kedit-bar,
body.kedit-active .kedit-bar *,
body.kedit-active .kedit-media-modal,
body.kedit-active .kedit-media-modal *,
body.kedit-active [data-kedit],
body.kedit-active [data-kedit-image] {
  pointer-events: auto;
}

/* Inline edit araç çubuğu (sayfa üst) — Elementor benzeri */
.kedit-bar {
  position: fixed; top: 0; left: 0; right: 0;
  background: var(--brown-700); color: #fff;
  z-index: 1500;
  padding: 6px 16px;
  display: flex; align-items: center; gap: 8px;
  font-size: 13px;
  height: 46px;
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
}
.kedit-bar-title {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; letter-spacing: .04em;
  margin-right: 8px;
}
.kedit-bar-title svg { color: var(--accent-light); }
.kedit-bar .kedit-divider {
  width: 1px; height: 22px;
  background: rgba(255,255,255,.15);
  margin: 0 4px;
}
.kedit-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: transparent; border: 0;
  color: rgba(255,255,255,.7);
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12.5px;
  transition: background .15s ease, color .15s ease;
  font-family: inherit;
}
.kedit-btn:hover:not([disabled]) { background: rgba(255,255,255,.1); color: #fff; }
.kedit-btn[disabled] { opacity: .35; cursor: not-allowed; }
.kedit-btn svg { width: 16px; height: 16px; }
.kedit-btn-primary {
  background: var(--accent); color: #fff;
  padding: 7px 16px; border-radius: 4px;
  font-weight: 500; letter-spacing: .04em;
  border: 0; cursor: pointer; font-size: 12.5px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background .15s ease;
  font-family: inherit;
}
.kedit-btn-primary:hover:not([disabled]) { background: var(--accent-dark); }
.kedit-btn-primary[disabled] { background: rgba(255,255,255,.15); cursor: not-allowed; }
.kedit-btn-primary:not(.has-pending) {
  background: rgba(255,255,255,.18);
}
.kedit-btn-primary.has-pending {
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(160,127,80,.6);
  animation: keditPulse 1.6s ease-out infinite;
}
@keyframes keditPulse {
  0%   { box-shadow: 0 0 0 0 rgba(160,127,80,.45); }
  100% { box-shadow: 0 0 0 8px rgba(160,127,80,0); }
}
.kedit-pending-badge {
  display: inline-flex; align-items: center;
  background: var(--accent); color: #fff;
  font-size: 10.5px; font-weight: 600;
  padding: 2px 6px; border-radius: 999px;
  min-width: 18px; justify-content: center;
}
.kedit-bar-right { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.kedit-status {
  font-size: 11.5px; opacity: .85;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 0 8px;
}
.kedit-status.is-ok { color: #9ada8a; opacity: 1; }
.kedit-status.is-err { color: #ff9b9b; opacity: 1; }

body:has(.kedit-bar) .header,
body:has(.kedit-bar) .topbar { top: 46px; }
body:has(.kedit-bar) { padding-top: 46px; }

/* Düzenleme modunda link/butonlar tıklanamaz görünüm — hover'da engellenmiş işareti */
body.kedit-active a:not([data-kedit]):not([data-kedit-image]):not(.kedit-btn):not(.kedit-btn-primary):not(.adm-btn):not([href^="#"]),
body.kedit-active button[type="submit"]:not(.kedit-btn):not(.kedit-btn-primary):not(.kedit-modal-close) {
  cursor: not-allowed;
}

/* Medya kütüphanesi modal */
.kedit-media-modal {
  position: fixed; inset: 0; z-index: 2200;
  background: rgba(45,32,23,.6);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.kedit-media-modal.is-open { display: flex; }
.kedit-media-frame {
  background: #fff;
  width: min(960px, 100%);
  max-height: 88vh;
  border-radius: 10px;
  display: flex; flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(45,32,23,.4);
}
.kedit-media-head {
  padding: 14px 22px;
  background: var(--cream-50);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.kedit-media-head strong { font-size: 14px; color: var(--brown-500); font-weight: 500; letter-spacing: .04em; }
.kedit-media-head .kedit-media-close { width: 32px; height: 32px; border: 0; background: transparent; cursor: pointer; font-size: 22px; color: var(--brown-300); border-radius: 50%; }
.kedit-media-head .kedit-media-close:hover { background: var(--cream-100); }
.kedit-media-body {
  flex: 1; overflow-y: auto;
  padding: 18px 22px;
}
.kedit-media-toolbar {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
  padding: 12px 22px;
  border-bottom: 1px solid var(--border);
  background: var(--cream-50);
  font-size: 13px;
}
.kedit-media-toolbar input[type="search"] {
  flex: 1; min-width: 160px;
  padding: 8px 12px;
  border: 1px solid var(--border); border-radius: 4px;
  background: #fff; font: inherit;
}
.kedit-media-toolbar label.upload-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  background: var(--brown-500); color: #fff;
  border-radius: 4px; cursor: pointer;
  font-size: 12px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
}
.kedit-media-toolbar label.upload-btn:hover,
.kedit-media-toolbar button.upload-btn:hover { background: var(--brown-700); }
.kedit-media-toolbar button.upload-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  background: var(--brown-500); color: #fff;
  border: 0; border-radius: 4px; cursor: pointer;
  font-size: 12px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
}
.kedit-media-toolbar select,
.kedit-media-toolbar input[type="url"] {
  padding: 8px 12px;
  border: 1px solid var(--border); border-radius: 4px;
  background: #fff; font: inherit; font-size: 13px;
}
.kedit-media-toolbar input[type="url"] { flex: 1; min-width: 200px; }

.kedit-media-grid {
  display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
}
.kedit-media-item {
  position: relative;
  aspect-ratio: 1;
  background: var(--cream-50);
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .15s ease;
}
.kedit-media-item:hover { border-color: var(--accent); }
.kedit-media-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kedit-media-item video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.kedit-media-item .kmi-vid-badge {
  position: absolute; bottom: 6px; right: 6px;
  background: rgba(0,0,0,.65); color: #fff;
  padding: 2px 7px; border-radius: 3px;
  font-size: 11px; letter-spacing: .08em;
}
.kedit-media-item .kmi-vid-ext {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  padding: 10px; gap: 6px;
  color: var(--brown-300); text-align: center;
}
.kedit-media-item .kmi-vid-ext span {
  font-size: 10px; line-height: 1.2;
  word-break: break-all;
  color: var(--brown-50);
}
.kedit-media-item.is-active { border-color: var(--accent); }
.kedit-media-item.is-active::after {
  content: '✓'; position: absolute; top: 6px; right: 6px;
  background: var(--accent); color: #fff;
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; font-weight: 600; font-size: 13px;
}
.kedit-media-empty {
  padding: 60px 20px; text-align: center; color: var(--brown-50);
}

/* Görsel değiştirme — kedit-active'de explicit buton */
body.kedit-active [data-kedit-image] {
  position: relative;
  cursor: pointer;
  outline: 2px dashed transparent;
  transition: outline-color .2s ease;
}
body.kedit-active [data-kedit-image]:hover { outline-color: var(--accent); }

/* JS ile eklenen "Görseli Değiştir" butonu */
.kedit-img-btn {
  position: absolute; top: 12px; right: 12px;
  z-index: 50;
  display: none;
  align-items: center; gap: 6px;
  padding: 8px 14px;
  background: var(--brown-700); color: #fff;
  border: 0; border-radius: 999px;
  font-size: 11px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 6px 18px rgba(0,0,0,.4);
  pointer-events: auto;
  transition: background .2s ease;
  white-space: nowrap;
}
.kedit-img-btn:hover { background: var(--accent); }
.kedit-img-btn svg { width: 13px; height: 13px; }

/* İkon seçici grid */
.kedit-icon-grid {
  display: grid; gap: 8px;
  grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
}
.kedit-icon-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 14px 8px;
  background: #fff; border: 1px solid var(--border);
  border-radius: 6px; cursor: pointer;
  font: inherit; font-size: 10.5px; color: var(--brown-50);
  letter-spacing: .04em;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.kedit-icon-item svg { width: 24px; height: 24px; color: var(--brown-500); }
.kedit-icon-item:hover { border-color: var(--accent); color: var(--brown-500); }
.kedit-icon-item.is-active { border-color: var(--accent); background: var(--cream-50); }
.kedit-icon-item.is-active svg { color: var(--accent); }

/* Link düzenle butonu (bottom-nav öğelerinde) */
body:not(.kedit-active) .kedit-href-btn { display: none; }
.kedit-href-btn {
  position: absolute; top: 4px; right: 4px;
  width: 22px; height: 22px;
  background: var(--accent); color: #fff;
  border: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; padding: 0;
  z-index: 5;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
.kedit-href-btn svg { width: 11px; height: 11px; }
.kedit-href-btn:hover { background: var(--accent-dark, #806240); }

/* Bottom-nav öğelerine link butonu pozisyonu için */
.bottom-nav .bn-item { position: relative; }

/* İkon kutusu kedit-active'de tıklanabilir görünüm */
body.kedit-active [data-kedit-icon] {
  cursor: pointer;
  outline: 2px dashed transparent;
  border-radius: 4px;
  transition: outline-color .15s ease;
}
body.kedit-active [data-kedit-icon]:hover { outline-color: var(--accent); }

/* Toolbar "Düzenle" dropdown */
.kedit-toggle-wrap { position: relative; }
.kedit-mode-toggle .kedit-caret {
  margin-left: 4px;
  opacity: .8;
  transition: transform .15s ease;
}
.kedit-toggle-wrap:hover .kedit-mode-toggle .kedit-caret,
.kedit-toggle-wrap:focus-within .kedit-mode-toggle .kedit-caret { transform: rotate(180deg); }

.kedit-menu {
  position: absolute;
  top: calc(100% + 6px); left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(45,32,23,.18);
  padding: 6px;
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease;
  z-index: 2100;
}
/* Görünmez köprü: toolbar buton ile menü arasındaki boşlukta hover'ı koru */
.kedit-menu::before {
  content: '';
  position: absolute;
  top: -10px; left: 0; right: 0;
  height: 12px;
  background: transparent;
}
.kedit-toggle-wrap:hover .kedit-menu,
.kedit-toggle-wrap:focus-within .kedit-menu,
.kedit-menu:hover {
  opacity: 1; pointer-events: auto;
  transform: translateY(0);
}
.kedit-menu-item {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  background: transparent;
  border: 0; border-radius: 4px;
  cursor: pointer;
  font: inherit; font-size: 13px;
  color: var(--brown-700);
  text-align: left; width: 100%;
  transition: background .12s ease, color .12s ease;
}
.kedit-menu-item:hover { background: var(--cream-50); color: var(--accent-dark, #806240); }
.kedit-menu-item svg { flex-shrink: 0; color: var(--brown-300); }
.kedit-menu-item.is-primary {
  background: var(--accent); color: #fff;
}
.kedit-menu-item.is-primary svg { color: #fff; }
.kedit-menu-item.is-primary:hover { background: var(--accent-dark, #806240); color: #fff; }
.kedit-menu-sep {
  height: 1px; background: var(--border);
  margin: 4px 4px;
}

/* İlk editable alana scroll-on-click vurgusu */
.kedit-pulse {
  animation: keditFlash 1.4s ease-out;
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
@keyframes keditFlash {
  0%   { box-shadow: 0 0 0 0 rgba(160,127,80,.55); }
  100% { box-shadow: 0 0 0 16px rgba(160,127,80,0); }
}

/* Kart metinleri paneli — sadece kedit-active modunda görünür */
.kedit-card-strings { display: none; }
body.kedit-active .kedit-card-strings {
  display: block;
  margin: 56px auto 0;
  max-width: 720px;
  padding: 22px 24px;
  background: var(--cream-50);
  border: 1px dashed var(--brown-100);
  border-radius: 8px;
}
.kedit-card-strings .kcs-head {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brown-300); margin-bottom: 16px;
  padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.kedit-card-strings .kcs-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.kedit-card-strings label { display: flex; flex-direction: column; gap: 6px; }
.kedit-card-strings .kcs-lbl {
  font-size: 11px; letter-spacing: .08em;
  color: var(--brown-50); text-transform: uppercase;
}
.kedit-card-strings .kcs-val {
  font-size: 14px; color: var(--brown-700); font-weight: 500;
  padding: 8px 10px; background: #fff;
  border: 1px solid var(--border); border-radius: 4px;
}
body.kedit-active [data-kedit-image] > .kedit-img-btn { display: inline-flex; }
body.lang-ar .kedit-img-btn { right: auto; left: 12px; }

[data-kedit-image].is-uploading {
  position: relative;
}
[data-kedit-image].is-uploading::after {
  content: '↻ Yükleniyor...';
  position: absolute; inset: 0;
  background: rgba(45,32,23,.6); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  z-index: 60;
}

/* ============ Inline edit modal (admin için) ============ */
.kirci-edit-modal {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(45,32,23,.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
  animation: kirciFadeIn .2s ease;
}
.kirci-edit-modal.is-open { display: flex; }
@keyframes kirciFadeIn { from { opacity: 0; } to { opacity: 1; } }
.kirci-edit-modal-frame {
  background: #fff;
  width: min(1020px, 100%);
  max-height: 92vh;
  border-radius: 10px;
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 24px 64px rgba(45,32,23,.4);
}
.kirci-edit-modal-head {
  padding: 14px 20px;
  border-bottom: 1px solid #e8e2d2;
  display: flex; justify-content: space-between; align-items: center;
  background: #fbf7ef;
}
.kirci-edit-modal-head strong {
  font-size: 14px; font-weight: 500;
  letter-spacing: .04em; color: #2d2017;
}
.kirci-edit-modal-close {
  width: 36px; height: 36px;
  background: transparent; border: 0; padding: 0;
  font-size: 22px; cursor: pointer; color: #6b4f3a;
  border-radius: 50%;
}
.kirci-edit-modal-close:hover { background: #e8d9bb; }
.kirci-edit-modal-body { flex: 1; overflow: hidden; }
.kirci-edit-modal-body iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Edit badge kullanımdan kaldırıldı — tüm düzenleme inline contentEditable üzerinden */
.kirci-edit-badge { display: none !important; }
.kirci-editable { position: relative; }

/* ============ Fade-in observer ============ */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.fade-up.is-in { opacity: 1; transform: translateY(0); }

/* ============ RTL — Arapça için ek hizalamalar ============ */
/* Telefon ve email gibi LTR içerikleri RTL içinde de soldan sağa göster */
body.lang-ar a[href^="tel:"],
body.lang-ar a[href^="mailto:"],
body.lang-ar input[type="tel"],
body.lang-ar input[type="email"],
body.lang-ar input[type="url"] {
  direction: ltr;
  unicode-bidi: embed;
  display: inline-block;
  text-align: left;
}

/* Topbar AR — sıralama otomatik ters, ikon-yazı doğal flex */
body.lang-ar .topbar-inner   { direction: rtl; }
body.lang-ar .topbar-item    { direction: rtl; }
body.lang-ar .topbar-item a[href^="tel:"] { direction: ltr; }

/* Footer iletişim ve diğer ikon+yazı satırları — ikon sağda kalsın */
body.lang-ar .footer-contact .row,
body.lang-ar .ci-row,
body.lang-ar .visit-row { direction: rtl; }

/* Sosyal/aksiyon ikon container'ları — sıralama her zaman LTR (görsel tutarlı) */
body.lang-ar .footer-social,
body.lang-ar .header-actions,
body.lang-ar .pi-share,
body.lang-ar .ci-cta,
body.lang-ar .pi-actions,
body.lang-ar .lang-switch,
body.lang-ar .topbar-right { direction: ltr; }

/* WhatsApp ve buton içerikleri — ikon her zaman solda, yazı sağda */
body.lang-ar .btn-whatsapp,
body.lang-ar .pc-cta,
body.lang-ar .pc-view,
body.lang-ar .pc-wa,
body.lang-ar .btn,
body.lang-ar .topbar-message { direction: ltr; }

/* Sosyal/wa ikonu wrapper'lar — RTL olmasın */
body.lang-ar .topbar-social,
body.lang-ar .floating-wa,
body.lang-ar .header-icon,
body.lang-ar .pc-fav,
body.lang-ar .pi-fav-btn,
body.lang-ar .pc-wa-btn,
body.lang-ar .pi-wa-btn,
body.lang-ar .pc-quick { direction: ltr; }

/* Form etiketleri sağ hizalı */
body.lang-ar .form-field label,
body.lang-ar .adm-field label,
body.lang-ar .pi-specs .label,
body.lang-ar .product-info-meta .pim-label { text-align: right; }
