/* Tek font, tek köşe yarıçapı, 8'in katı boşluklar. */
:root {
  --brand: #E11D48;
  --brand-2: #9F1239;
  --brand-50: #FFF1F2;
  --accent: #FFC93C;
  --ink: #1F2328;
  --muted: #6B7280;
  --line: #E5E7EB;
  --bg: #F7F7F8;
  --card: #FFFFFF;
  --sale: #EA580C;
  --wa: #1E9E52;
  --r: 8px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.5 var(--font); color: var(--ink); background: var(--bg); overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font); font-weight: 700; line-height: 1.25; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 24px; } }
.narrow { max-width: 640px; }
.muted { color: var(--muted); }
.ok { color: var(--brand); font-weight: 600; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (max-width: 767px) { .hide-sm { display: none !important; } }

/* ---------- butonlar ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: var(--r); font-weight: 600; font-size: 15px; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn .ico { width: 18px; height: 18px; }
.btn-cta { background: var(--brand); color: #fff; }
.btn-cta:hover { background: var(--brand-2); }
.btn-gold { background: var(--accent); color: var(--brand-2); }
.btn-gold:hover { background: #FFD866; }
.btn-ghost, .btn-outline { border: 1px solid var(--brand); color: var(--brand); background: #fff; }
.btn-ghost:hover, .btn-outline:hover { background: var(--brand-50); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #178544; }
.btn-wa-ghost { border: 1px solid var(--line); background: #fff; }
.btn-wa-ghost .ico { color: var(--wa); }
.btn-wa-ghost:hover { border-color: var(--wa); }
.btn-lg { height: 52px; font-size: 16px; }
.btn-sm { height: 36px; padding: 0 12px; font-size: 13px; }
.btn-block { width: 100%; }
.btn.loading { opacity: .6; pointer-events: none; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r); }
.icon-btn:hover { background: var(--bg); }
.link-arrow { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: var(--brand); flex: none; }
.link-arrow .ico { width: 16px; height: 16px; }

/* ---------- üst bar ve başlık ---------- */
.topbar { background: var(--brand); color: #fff; font-size: 13px; }
.topbar-row { display: flex; align-items: center; gap: 8px; min-height: 36px; justify-content: center; text-align: center; }
.topbar-row b { color: var(--accent); font-weight: 600; }
.topbar-extra { margin-left: auto; opacity: .85; }
@media (min-width: 768px) { .topbar-row { justify-content: flex-start; } }
.topbar-msg { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
@media (max-width: 479px) { .topbar-cta { display: none; } }

.header { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo-mark { width: 40px; height: 40px; }
.logo-text { font-size: 20px; font-weight: 700; color: var(--brand); display: flex; gap: 6px; letter-spacing: -.01em; }
.logo-text small { font-size: inherit; font-weight: inherit; }
.search { position: relative; flex: 1; max-width: 560px; display: flex; align-items: center; }
.search > .ico { position: absolute; left: 14px; color: var(--muted); width: 18px; height: 18px; }
.search input { width: 100%; height: 44px; border: 1px solid var(--line); background: var(--bg); border-radius: var(--r); padding: 0 14px 0 42px; outline: none; }
.search input:focus { border-color: var(--brand); background: #fff; }
.search-pop { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 12px 32px rgba(0, 0, 0, .12); padding: 8px; z-index: 40; }
.sp-item { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: 6px; font-size: 14px; }
.sp-item:hover { background: var(--bg); }
.sp-item img { width: 40px; height: 48px; object-fit: cover; border-radius: 4px; }
.sp-item b { font-weight: 600; white-space: nowrap; }
.sp-all { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px; font-size: 14px; font-weight: 600; color: var(--brand); border-top: 1px solid var(--line); margin-top: 8px; }
.sp-empty { padding: 12px; font-size: 14px; color: var(--muted); }
.sp-empty a { color: var(--wa); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 8px; flex: none; margin-left: auto; }
.hbtn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 8px; border-radius: var(--r); }
.hbtn:hover { background: var(--bg); }
.hbtn small { display: block; font-size: 12px; color: var(--muted); line-height: 1.2; }
.hbtn b { font-size: 14px; font-weight: 600; line-height: 1.3; }
.hbtn .ico { width: 24px; height: 24px; color: var(--brand); }
.icon-only { position: relative; width: 44px; justify-content: center; padding: 0; }
.count { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--sale); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.menu-btn { display: none; width: 44px; justify-content: center; padding: 0; margin-left: -8px; }

/* Kategori satırı kaydırılmaz: sığmayan bağlantılar alt satıra düşüp gizlenir, hepsi "Tüm kategoriler" panelinde. */
.catnav { position: relative; }
.catnav-row { display: flex; align-items: center; gap: 8px; height: 48px; }
.cat-all { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: var(--r); background: var(--brand); color: #fff; font-size: 14px; font-weight: 600; }
.cat-all .ico { width: 18px; height: 18px; }
.cat-all[aria-expanded="true"] { background: var(--brand-2); }
.catnav-links { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; height: 36px; overflow: hidden; gap: 0 4px; }
.catnav-links a { flex: none; height: 36px; display: inline-flex; align-items: center; font-size: 14px; font-weight: 500; padding: 0 10px; border-radius: var(--r); }
.catnav-links a:hover, .catnav-links a.on { background: var(--brand-50); color: var(--brand); }
.mega { position: absolute; left: 0; right: 0; top: 100%; z-index: 35; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(0, 0, 0, .08); max-height: calc(100vh - 160px); overflow-y: auto; }
/* Tüm kategoriler: solda gönderim amacı, sağda ürün türleri; altta fiyat ve hızlı bağlantılar. */
.mega-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 24px 40px; padding-top: 24px; padding-bottom: 24px; }
.mega-block h3 { font-size: 15px; font-weight: 700; color: var(--brand); padding-bottom: 10px; margin-bottom: 8px; border-bottom: 2px solid var(--brand-50); }
.mega-cols.purpose { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.mega-cols.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 24px; }
.mega-block a { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 7px 0; font-size: 15px; }
.mega-block a:hover { color: var(--brand); }
.mega-block a small { font-size: 12px; color: var(--muted); }
.mega-foot { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.mega-foot > b { font-size: 14px; }
.mega-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.mega-quick { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-left: auto; }
.mega-quick a { font-size: 14px; font-weight: 600; color: var(--brand); }
.menu-group { display: flex; flex-direction: column; }
.menu-group b { font-size: 13px; font-weight: 700; color: var(--muted); margin: 8px 0 4px; }
.menu-group a { display: flex; align-items: center; gap: 8px; padding: 7px 0; font-size: 15px; }
.menu-group a:hover { color: var(--brand); }
.menu-group .ico { width: 18px; height: 18px; color: var(--brand); }

/* Arama: masaüstünde başlık satırında; mobilde başlığın altında, sayfayla birlikte kayan ayrı satırda.
   Başlığın yüksekliği hiçbir zaman değişmez, bu yüzden kaydırırken zıplama olmaz. */
.header-search { flex: 1; max-width: 560px; display: flex; }
.header-search .search { flex: 1; max-width: none; }
.search-row, .search-toggle { display: none; }
@media (max-width: 767px) {
  .header-search { display: none; }
  .search-row { display: block; }
  .search-row .search { max-width: none; }
  /* Mobil panel düzeni dosyanın sonunda ("Arama" bölümü). */
}
body[data-page="odeme"] .search-row, body[data-page="odeme"] .search-toggle, body[data-page="odeme"] .header-search { display: none !important; }

/* Mobil yan menü */
.menu-drawer { position: fixed; top: 0; left: 0; bottom: 0; width: min(340px, 88%); background: #fff; z-index: 86; display: flex; flex-direction: column; transform: translateX(-100%); transition: transform .25s ease; visibility: hidden; }
.menu-drawer.open { transform: none; visibility: visible; }
.menu-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 8px 16px calc(24px + env(safe-area-inset-bottom)); }
.menu-body .mega-block { padding: 12px 0; }
.menu-body .mega-block a, .menu-body .menu-group a { padding: 10px 0; font-size: 16px; }
.menu-body .mega-cols.purpose { gap: 0 16px; }
.menu-body .mega-cols.products { grid-template-columns: 1fr; }
.menu-body .mega-foot { flex-direction: column; align-items: flex-start; }
.menu-body .mega-quick { margin-left: 0; }
.menu-body .menu-contact { padding: 12px 0; border-top: 1px solid var(--line); margin-top: 8px; }

@media (max-width: 767px) {
  .header-row { height: 60px; gap: 8px; }
  .menu-btn { display: inline-flex; }
  .logo-text { font-size: 18px; }
  .catnav { display: none; }
}
@media (max-width: 359px) {
  .logo-text { font-size: 16px; }
  .header-actions > a[href="#/favoriler"] { display: none; }
}

/* ---------- bölüm düzeni ---------- */
.sec { padding-top: 48px; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.sec-head h2 { font-size: 22px; }
.sec-head p { color: var(--muted); margin-top: 4px; font-size: 14px; }
@media (min-width: 768px) { .sec-head h2 { font-size: 24px; } }

/* ---------- ana sayfa: kısa şerit + kısayollar ---------- */
.promo { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; padding: 12px 16px; background: var(--brand); color: #fff; border-radius: var(--r); }
.promo h1 { font-size: 17px; }
.promo p { font-size: 13px; color: #FFE4E8; margin-top: 2px; }
.promo-btn { height: 40px; padding: 0 16px; font-size: 14px; flex: none; }
@media (max-width: 599px) { .promo-btn { display: none; } }
@media (min-width: 768px) { .promo { margin-top: 24px; padding: 16px 24px; } .promo h1 { font-size: 22px; } .promo p { font-size: 14px; } }
/* üç akan kategori satırı: 1. ve 3. sola, 2. sağa; farklı hızlarda */
.marquee { display: grid; gap: 8px; padding-top: 12px; margin: 0 -16px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
@media (min-width: 768px) { .marquee { margin: 0; } }
.marquee-row { overflow: hidden; }
.marquee-track { display: flex; gap: 8px; width: max-content; padding: 0 4px; animation: marquee 64s linear infinite; }
.marquee-1 .marquee-track { animation-direction: reverse; animation-duration: 75s; }
.marquee-2 .marquee-track { animation-duration: 56s; }
.marquee-row:hover .marquee-track, .marquee-row:focus-within .marquee-track, .marquee-row:active .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-row { overflow-x: auto; scrollbar-width: none; }
  .marquee-track { animation: none; }
  .marquee-track > [aria-hidden="true"] { display: none; }
}
.occ-chip { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; background: #fff; border: 1px solid var(--line); border-radius: 20px; font-size: 13px; font-weight: 500; }
.occ-chip:hover { border-color: var(--brand); color: var(--brand); }
.occ-chip img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.occ-chip { padding: 4px 14px 4px 4px; font-size: 14px; transition: border-color .15s, color .15s, background .15s; }
.occ-chip:hover { background: var(--brand-50); }
.home-products { padding-top: 16px; }
@media (min-width: 768px) { .home-products { padding-top: 24px; } }

/* ---------- güven kutuları ---------- */
.trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.trust-item { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px; }
.trust-item .ico { width: 24px; height: 24px; color: var(--brand); }
.trust-item b { display: block; font-size: 14px; font-weight: 600; }
.trust-item span { display: block; font-size: 12px; color: var(--muted); line-height: 1.4; }
@media (max-width: 599px) { .trust-item span { display: none; } .trust-item b { font-size: 13px; } }
@media (min-width: 900px) { .trust { grid-template-columns: repeat(4, 1fr); gap: 16px; } .trust-item { padding: 16px; } }

/* ---------- ürün kartı ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 8px) / 2.2); gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 768px) { .rail { grid-auto-columns: calc((100% - 4 * 16px) / 5); gap: 16px; } }

.card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; min-width: 0; transition: border-color .15s, box-shadow .15s; }
.card:hover { border-color: #F3C2CC; box-shadow: 0 4px 16px rgba(0, 0, 0, .06); }
.card-link { display: flex; flex-direction: column; flex: 1; }
.card-media { position: relative; aspect-ratio: 4 / 5; background: var(--bg); }
.card-media img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; top: 8px; left: 8px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 600; padding: 4px 8px; border-radius: 4px; }
.tag-sale { background: var(--sale); }
.card-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 12px 8px; flex: 1; }
.card h3 { font-size: 14px; font-weight: 500; line-height: 1.4; height: 2.8em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.price b { font-size: 17px; font-weight: 700; }
.price del { font-size: 13px; color: var(--muted); }
.price-lg b { font-size: 28px; }
.price-lg del { font-size: 16px; }
.eta { font-size: 12px; font-weight: 500; color: var(--brand); }
.rating { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); }
.rating .ico { width: 14px; height: 14px; fill: #E3A63B; stroke: #E3A63B; }
.rating b { color: var(--ink); }
/* Kart düğmesi: WhatsApp yeşili, çerçeveli; üzerine gelince/dokununca dolu. */
.card-add { display: flex; align-items: center; justify-content: center; margin: 0 12px 12px; height: 40px; border-radius: var(--r); background: #fff; border: 1.5px solid var(--wa); color: var(--wa); font-weight: 600; font-size: 14px; transition: background .15s, color .15s; -webkit-tap-highlight-color: transparent; }
.card-add .ico { width: 18px; height: 18px; margin-right: 6px; }
.card-add:hover, .card:hover .card-add, .card-add:active { background: var(--wa); color: #fff; }
.pdp-order { display: flex; flex-direction: column; gap: 8px; }
.pdp-order .btn { min-height: 54px; font-size: 16px; }
.pdp-order-hint { margin: 0; font-size: 13px; line-height: 1.45; color: var(--muted); }
@media (max-width: 480px) { .card-body { padding: 8px 8px 4px; } .card-add { margin: 0 8px 8px; height: 36px; font-size: 13px; } .price b { font-size: 16px; } }

/* ---------- bütçe & kategori dizini ---------- */
.bands { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.band { display: flex; flex-direction: column; gap: 4px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: border-color .15s; }
.band:hover { border-color: var(--brand); }
.band span { font-size: 16px; font-weight: 600; }
.band small { font-size: 13px; color: var(--muted); }
@media (min-width: 768px) { .bands { grid-template-columns: repeat(4, 1fr); gap: 16px; } .band { padding: 20px; } }
.cat-index { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 8px 16px; }
.cat-index a { display: flex; justify-content: space-between; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.cat-index a:hover { color: var(--brand); }
.cat-index small { color: var(--muted); font-size: 13px; }
@media (min-width: 900px) { .cat-index { grid-template-columns: repeat(4, 1fr); gap: 0 32px; padding: 8px 24px; } }

/* ---------- SSS & WhatsApp ---------- */
.faq h2 { font-size: 22px; margin-bottom: 16px; }
@media (min-width: 768px) { .faq h2 { font-size: 24px; } }
.faq > div { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 0 16px; }
details { border-bottom: 1px solid var(--line); }
details:last-child { border-bottom: 0; }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; font-weight: 600; font-size: 15px; }
summary::-webkit-details-marker { display: none; }
summary .ico { transition: transform .2s; color: var(--muted); }
details[open] summary .ico { transform: rotate(45deg); }
details p { padding: 0 0 16px; color: var(--muted); }
.wa-band { margin-top: 48px; background: #fff; border-top: 1px solid var(--line); }
.wa-row { display: flex; flex-direction: column; gap: 16px; padding-block: 24px; }
.wa-row p { font-size: 16px; font-weight: 500; max-width: 640px; }
@media (min-width: 768px) { .wa-row { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ---------- liste sayfası ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); padding: 16px 0 8px; }
.crumbs a:hover { color: var(--brand); }
.list-head { padding-bottom: 16px; }
.list-head h1 { font-size: 26px; }
.list-head p { margin-top: 4px; font-size: 14px; color: var(--muted); }
.pill-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.pill-row::-webkit-scrollbar { display: none; }
.pill { flex: none; padding: 8px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); font-size: 14px; font-weight: 500; }
.pill:hover { border-color: var(--brand); }
.pill.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.toolbar { position: sticky; top: 121px; z-index: 5; display: flex; gap: 12px; align-items: flex-end; padding: 12px 0; margin: 8px 0 16px; background: var(--bg); }
.toolbar .price-filter, .toolbar .sort { display: flex; flex: 0 1 220px; flex-direction: column; align-items: stretch; gap: 5px; min-width: 0; color: var(--muted); font-size: 12px; }
.toolbar select { width: 100%; height: 48px; min-height: 48px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink); font-size: 14px; }
.filter-clear { align-self: center; margin-left: auto; color: var(--brand); font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) {
  .list-head { padding-bottom: 10px; }
  .list-head h1 { font-size: 24px; }
  .list-head p { max-width: 34ch; line-height: 1.45; }
  .toolbar { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 8px 0; margin: 4px 0 12px; }
  .toolbar .price-filter, .toolbar .sort { width: 100%; }
  .filter-clear { grid-column: 1 / -1; justify-self: end; margin: 0; }
}
.more { text-align: center; padding-top: 32px; }
.more p { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.empty { text-align: center; padding: 64px 16px; }
.empty h1, .empty h2 { margin-bottom: 8px; font-size: 24px; }
.empty p { color: var(--muted); margin-bottom: 24px; }

/* ---------- ürün sayfası ---------- */
.pdp { display: grid; gap: 16px; padding-bottom: 8px; }
.pdp > * { min-width: 0; }
.pdp-img { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); aspect-ratio: 1; overflow: hidden; }
.pdp-img img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; }
.badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 8px; }
.badge { background: var(--brand); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 8px; border-radius: 4px; }
.badge-sale { background: var(--sale); }
.pdp-panel { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.pdp-panel h1 { font-size: 28px; line-height: 1.2; margin: 0; }
.pdp-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 10px 0; }
.save { background: #FBEAE8; color: var(--sale); font-size: 13px; font-weight: 600; padding: 4px 8px; border-radius: 4px; }
.pdp-sum { color: var(--muted); font-size: 14px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.eta-box { margin: 14px 0; padding: 12px 14px; background: var(--brand-50); border-radius: var(--r); }
.eta-box b { display: block; font-weight: 600; }
.eta-box span { font-size: 13px; color: var(--muted); }
.eta-box strong { color: var(--sale); }
.pdp-perks { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 0; margin: 16px 0 0; }
.pdp-perks li { min-width: 0; display: flex; align-items: flex-start; gap: 7px; color: var(--muted); font-size: 12px; line-height: 1.35; }
.pdp-perks .ico { flex: none; width: 17px; height: 17px; color: var(--brand); }
.pdp-form { display: flex; flex-direction: column; gap: 16px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.step-title { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.step-title > span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 12px; }
.step-title em, .co-card h2 em { font-style: normal; font-weight: 400; font-size: 13px; color: var(--muted); }
em.free { color: var(--brand); font-weight: 600; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field:last-child { margin-bottom: 0; }
.field > label { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--muted); }
.field > label .ico { width: 16px; height: 16px; }
.field > label em { font-style: normal; font-weight: 400; }
:where(input:not([type=radio]):not([type=checkbox]), select, textarea) { width: 100%; border: 1px solid var(--line); background: #fff; border-radius: var(--r); padding: 12px; outline: none; transition: border-color .15s; min-height: 48px; }
:where(input, select, textarea):focus { border-color: var(--brand); }
textarea { resize: vertical; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--sale); }
.field.invalid > label { color: var(--sale); }
.field.invalid > label::after { content: "Zorunlu alan"; margin-left: auto; font-size: 12px; }
.check.invalid { color: var(--sale); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips-slot { display: grid; grid-template-columns: repeat(auto-fill, minmax(116px, 1fr)); }
.chip-date { flex: none; display: flex; flex-direction: column; align-items: center; width: 60px; padding: 8px 0; border: 1px solid var(--line); border-radius: var(--r); background: #fff; font-size: 12px; color: var(--muted); line-height: 1.3; }
.chip-date b { font-size: 18px; font-weight: 700; color: var(--ink); }
.chip-date:hover, .chip:hover:not(:disabled) { border-color: var(--brand); }
.chip-date.on { border-color: var(--brand); background: var(--brand); color: #FFE4E8; }
.chip-date.on b { color: #fff; }
.chip { height: 44px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; font-size: 14px; font-weight: 500; }
.chip.on { border-color: var(--brand); background: var(--brand); color: #fff; }
.chip:disabled { color: #B8BCC4; background: var(--bg); cursor: not-allowed; text-decoration: line-through; }
.note-ideas { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-top: 8px; }
.note-ideas::-webkit-scrollbar { display: none; }
.idea { flex: none; font-size: 13px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 16px; background: #fff; max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.idea:hover { border-color: var(--brand); color: var(--brand); }
.addons { display: grid; grid-auto-flow: column; grid-auto-columns: 112px; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.addon { position: relative; display: flex; flex-direction: column; text-align: left; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; }
.addon img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.addon-name { font-size: 12px; line-height: 1.35; height: 2.7em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 8px 8px 4px; }
.addon b { font-size: 13px; font-weight: 700; margin: 0 8px 8px; }
.addon-check { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 4px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; }
.addon-check .ico { width: 14px; height: 14px; opacity: 0; color: #fff; stroke-width: 2.6; }
.addon.on { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.addon.on .addon-check { background: var(--brand); border-color: var(--brand); }
.addon.on .addon-check .ico { opacity: 1; }
.pdp-total { display: flex; justify-content: space-between; align-items: baseline; }
.pdp-total span { font-weight: 600; }
.pdp-total small { color: var(--muted); font-weight: 400; }
.pdp-total b { font-size: 22px; font-weight: 700; }
.pdp-alt { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pdp-alt .btn { height: 44px; font-size: 14px; padding: 0 12px; }
.assure { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 13px; color: var(--muted); }
.assure li { padding-left: 20px; position: relative; }
.assure li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.pdp-info > details, .pdp-info { max-width: none; }
.pdp-info { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 0 16px; margin-top: 32px; }
.pdp-info details p + p { margin-top: -8px; font-size: 13px; }
@media (min-width: 900px) {
  .pdp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
  .pdp-media { position: sticky; top: 136px; }
  .pdp-img { max-height: min(68vh, 680px); }
}
@media (max-width: 599px) {
  .pdp { gap: 12px; }
  body[data-page="urun"] .crumbs { flex-wrap: nowrap; }
  body[data-page="urun"] .crumbs > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pdp-img { aspect-ratio: 8 / 7; }
  .pdp-panel { padding: 14px; }
  .pdp-panel h1 { font-size: 24px; }
  .pdp-sum { -webkit-line-clamp: 2; }
  .pdp-perks { gap: 6px; }
  .pdp-perks li { flex-direction: column; gap: 4px; font-size: 11px; }
}
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0, 0, 0, .06); padding: 8px 0 calc(8px + env(safe-area-inset-bottom)); }
.sticky-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sticky-row div { min-width: 0; }
.sticky-row small { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-row b { font-size: 18px; font-weight: 700; }
@media (min-width: 900px) { .sticky-buy { display: none !important; } }
body[data-page="urun"] .footer { padding-bottom: 80px; }

/* ---------- yan menü arka planı ve başlığı ---------- */
.drawer-backdrop { position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: rgba(0, 0, 0, .4); z-index: 85; }
.dr-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--line); }

/* ---------- özet satırları ---------- */
.sum-items { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.sum-items li { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.sum-items img { width: 44px; height: 54px; object-fit: cover; border-radius: 4px; flex: none; }
.sum-items span { flex: 1; min-width: 0; }
.sum-items b { white-space: nowrap; font-weight: 600; }
.sum-when { display: flex; gap: 8px; align-items: center; background: var(--brand-50); border-radius: var(--r); padding: 12px; font-size: 13px; font-weight: 500; }
.sum-when .ico { color: var(--brand); width: 18px; height: 18px; }
.sum-lines { margin: 16px 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.sum-lines div { display: flex; justify-content: space-between; }
.sum-lines dt { color: var(--muted); }
.sum-lines dd { margin: 0; font-weight: 500; }
.sum-total { border-top: 1px solid var(--line); padding-top: 12px; }
.sum-total dt { color: var(--ink) !important; font-weight: 700; }
.sum-total dd { font-size: 20px; font-weight: 700 !important; }

/* ---------- ödeme ---------- */
.progress { list-style: none; display: flex; gap: 8px; padding: 24px 0 16px; margin: 0; font-size: 14px; font-weight: 500; color: var(--muted); counter-reset: s; }
.progress li { display: flex; align-items: center; gap: 8px; }
.progress li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid currentColor; font-size: 12px; }
.progress li:not(:last-child)::after { content: ""; width: 24px; height: 1px; background: var(--line); }
.progress .done, .progress .on { color: var(--brand); font-weight: 600; }
.progress .done::before, .progress .on::before { background: var(--brand); color: #fff; border-color: var(--brand); }
.progress .done::before { content: "✓"; }
.checkout { display: grid; gap: 16px; padding-bottom: 48px; }
.co-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.co-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.co-card h2 { display: flex; align-items: center; gap: 8px; font-size: 18px; margin-bottom: 16px; }
.co-card h2 > span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 13px; flex: none; }
.co-grid { display: grid; gap: 0 16px; }
.hint { font-size: 13px; color: var(--muted); margin: -8px 0 16px; }
.radio-row { border: 0; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.radio-row legend { font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 8px; padding: 0; }
.radio-row label, .check { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; cursor: pointer; }
input[type=radio], input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--brand); margin: 1px 0 0; flex: none; }
.check { align-self: end; padding: 12px 0; }
.legal { margin-top: 16px; font-size: 13px; }
.legal a { color: var(--brand); text-decoration: underline; }
.pay-methods { display: grid; gap: 8px; }
.pay { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; cursor: pointer; }
.pay:has(input:checked) { border-color: var(--brand); background: var(--brand-50); }
.pay span { flex: 1; }
.pay b { display: block; font-weight: 600; }
.pay small { color: var(--muted); font-size: 13px; }
.pay .ico { width: 24px; height: 24px; color: var(--brand); }
.form-error { margin-top: 12px; color: var(--sale); font-size: 14px; font-weight: 500; text-align: center; }
.form-error a { text-decoration: underline; }
@media (min-width: 640px) {
  .co-grid.two { grid-template-columns: 1fr 1fr; }
  .co-grid.three { grid-template-columns: 1fr 1fr; }
  .co-grid.three .field:last-child { grid-column: 1 / -1; }
  .radio-row { flex-direction: row; gap: 24px; }
  .co-card { padding: 24px; }
}
@media (min-width: 1000px) {
  .checkout { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; gap: 24px; }
  .co-side { position: sticky; top: 136px; }
  .co-grid.three { grid-template-columns: 1fr 1fr 1fr; }
  .co-grid.three .field:last-child { grid-column: auto; }
}
.summary h2 { font-size: 18px; margin-bottom: 16px; }

/* ---------- onay ---------- */
.done { text-align: center; padding: 48px 16px 64px; }
.done-ico { width: 72px; height: 72px; margin: 0 auto 16px; }
.done-ico svg { width: 100%; height: 100%; fill: none; stroke: var(--brand); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.done-ico circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .6s ease-out forwards; }
.done-ico path { stroke-dasharray: 36; stroke-dashoffset: 36; animation: draw .35s .55s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done h1 { font-size: 26px; margin-bottom: 8px; }
.done > p { color: var(--muted); margin-bottom: 16px; }
.done .btn-wa { margin: 8px 0 24px; }
.summary.left { text-align: left; margin: 8px 0 24px; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); z-index: 60; display: flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; padding: 8px 8px 8px 16px; border-radius: var(--r); font-size: 14px; width: max-content; max-width: calc(100% - 32px); transition: transform .25s ease, visibility .25s; visibility: hidden; }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toast > .ico { color: #7FD6A0; }
.toast button { flex: none; background: #fff; color: var(--brand); font-weight: 600; font-size: 13px; padding: 8px 12px; border-radius: 6px; }
body[data-page="urun"] .toast { bottom: 88px; }

/* ---------- alt bilgi ---------- */
.footer { background: var(--brand-2); color: #FBD5DC; font-size: 14px; padding-top: 48px; }
.foot-grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
.foot-grid > div:first-child { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer .logo-text { color: #fff; margin-bottom: 8px; }
.footer h3 { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 12px; }
.foot-grid a:not(.btn):not(.logo) { display: block; padding: 4px 0; }
.foot-grid a:hover { color: #fff; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 40px; padding-block: 16px; font-size: 13px; }
.foot-bottom span { display: inline-flex; align-items: center; gap: 6px; }
.foot-bottom .ico { width: 16px; height: 16px; }

/* ==========================================================================
   Büyük e-ticaret hissiyatı: geçişler, geri bildirimler, güven öğeleri
   ========================================================================== */

/* sayfa geçişi */
.route-bar { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--accent); z-index: 100; opacity: 0; pointer-events: none; }
.route-bar.run { animation: route 0.55s ease-out; }
@keyframes route { 0% { width: 0; opacity: 1; } 70% { width: 85%; opacity: 1; } 100% { width: 100%; opacity: 0; } }
#app.enter { animation: enter .3s ease-out; }
@keyframes enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* görsel iskeleti ve yumuşak beliriş */
.card-media, .pdp-img, .occ-chip img, .addon img { background: linear-gradient(100deg, #EFF0F2 40%, #F7F8F9 50%, #EFF0F2 60%) 0 0 / 200% 100%; animation: shimmer 1.4s linear infinite; }
/* Yalnızca JavaScript açıkken saydam başlar; kapalıysa görseller doğrudan görünür. */
.js .card-media img, .js .pdp-img img { opacity: 0; transition: opacity .35s ease; }
.card-media img.is-loaded, .pdp-img img.is-loaded { opacity: 1; }
.card-media.img-ok, .pdp-img.img-ok, .occ-chip img.is-loaded, .addon img.is-loaded { animation: none; background: var(--bg); }
@keyframes shimmer { to { background-position: -200% 0; } }

/* sepete uçan görsel ve sayaç */
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }

/* kart: favori ve sepete ekle geri bildirimi */
.card { position: relative; }
.card-media img { transition: opacity .35s ease, transform .4s ease; }
.card:hover .card-media img.is-loaded { transform: scale(1.04); }
.fav { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); transition: transform .15s, color .15s; }
.fav .ico { width: 18px; height: 18px; }
.fav:hover { transform: scale(1.08); }
.fav.on, .tool-btn.on { color: var(--sale); }
.fav.on .ico, .tool-btn.on .ico { fill: currentColor; }
.pop { animation: bump .4s ease; }

/* bildirim */

/* sabit butonlar */
.fab-wa { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(30, 158, 82, .4); transition: transform .15s; }
.fab-wa:hover { transform: scale(1.06); }
.fab-wa svg { width: 30px; height: 30px; }
.to-top { position: fixed; right: 24px; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 40; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .1); }
@media (max-width: 899px) { body[data-page="urun"] .fab-wa { bottom: calc(80px + env(safe-area-inset-bottom)); } body[data-page="urun"] .to-top { bottom: calc(148px + env(safe-area-inset-bottom)); } }
@media (max-width: 999px) { body[data-page="odeme"] .fab-wa { bottom: calc(80px + env(safe-area-inset-bottom)); } body[data-page="odeme"] .to-top { display: none; } }

/* tam ekran görsel */
.lightbox { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 95; background: rgba(20, 10, 14, .92); display: grid; place-items: center; padding: 16px; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.lb-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; }

/* çerez bandı */
.cookie { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 80; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 12px 32px rgba(0, 0, 0, .15); padding: 16px; display: flex; flex-direction: column; gap: 12px; font-size: 13px; }
.cookie a { color: var(--brand); text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; justify-content: flex-end; }
@media (min-width: 768px) { .cookie { right: auto; max-width: 420px; } }
@media (max-width: 899px) { body[data-page="urun"] .cookie { bottom: calc(80px + env(safe-area-inset-bottom)); } }

/* Giriş kutuları: fotoğraf + altında başlık, model sayısı ve başlangıç fiyatı. */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 12px 0 4px; }
@media (min-width: 768px) { .tiles { grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 16px 0 8px; } }
.tile { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.tile:hover { border-color: var(--brand); box-shadow: 0 4px 16px rgba(0, 0, 0, .06); }
.tile img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bg); }
@supports not (aspect-ratio: 1) { .tile img { height: 130px; } }
.tile-body { display: flex; flex-direction: column; gap: 2px; padding: 8px 12px 10px; }
.tile-body b { font-size: 15px; font-weight: 700; color: var(--ink); }
.tile-body small { font-size: 12px; color: var(--brand); font-weight: 600; }
@media (min-width: 768px) { .tile-body { padding: 12px 16px 14px; } .tile-body b { font-size: 17px; } .tile-body small { font-size: 13px; } }

/* Mobil alt menü. Ürün sayfasında alttaki "Sipariş ver" çubuğu aynı yeri kullandığı için gizlenir. */
.tabbar { display: none; }
@media (max-width: 767px) {
  .tabbar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -2px 12px rgba(0, 0, 0, .06); }
  .tabbar > * { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    height: 58px; font-size: 11px; font-weight: 500; color: var(--muted); }
  .tabbar .ico { width: 22px; height: 22px; }
  .tabbar .on { color: var(--brand); }
  .tabbar .tab-wa { color: var(--wa); font-weight: 600; }
  .tab-count { position: absolute; top: 6px; left: calc(50% + 6px); min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px;
    background: var(--brand); color: #fff; font-size: 10px; font-style: normal; line-height: 16px; text-align: center; }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  .fab-wa { display: none; }
  .to-top { bottom: calc(72px + env(safe-area-inset-bottom)); }
  .cookie { bottom: calc(66px + env(safe-area-inset-bottom)); }
  body[data-page="urun"] .tabbar { display: none; }
  body[data-page="urun"] { padding-bottom: 0; }
}
@media (max-width: 999px) { body[data-page="odeme"] .cookie { bottom: calc(80px + env(safe-area-inset-bottom)); } }
/* Mobilde ince tek satır: ürün kartlarının butonlarını kapatmasın. */
@media (max-width: 599px) {
  /* bottom 66px: alt menünün (58px) üstünde dursun; 8px iken menüyü örtüyor, "Ara" ve
     "Sipariş ver"e dokunulamıyordu. Ürün sayfasındaki kendi kuralı (sipariş çubuğu) aynen geçerli. */
  .cookie { left: 8px; right: 8px; bottom: calc(66px + env(safe-area-inset-bottom)); padding: 8px 8px 8px 12px; flex-direction: row; align-items: center; gap: 8px; font-size: 12px; line-height: 1.35; }
  .cookie p { margin: 0; flex: 1; min-width: 0; }
  .cookie-actions { flex-shrink: 0; }
  .cookie-actions .btn { height: 36px; padding: 0 12px; }
}

/* Bilgi ve yasal sayfalar */
.doc { padding-bottom: 48px; }
.doc h1 { font-size: 28px; margin: 8px 0 16px; }
.doc h2 { font-size: 18px; margin: 24px 0 8px; }
.doc p, .doc li { line-height: 1.6; }
.doc a:not(.btn) { color: var(--brand); text-decoration: underline; }
.doc-list { padding-left: 18px; margin: 8px 0; }
.doc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* ürün sayfası */
.pdp-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.pdp-code { font-size: 12px; color: var(--muted); }
.pdp-tools { display: flex; gap: 4px; }
.tool-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; transition: border-color .15s; }
.tool-btn:hover { border-color: var(--ink); }
.vat { font-size: 12px; color: var(--muted); }
.pdp-img { cursor: zoom-in; }
.pdp-img img { transition: opacity .35s ease, transform .2s ease; }
.pdp-img.zooming img { transform: scale(1.9); }
.zoom-hint { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; box-shadow: 0 1px 4px rgba(0, 0, 0, .15); }
.safe-box { margin-top: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.safe-box > b { display: flex; align-items: center; gap: 8px; font-size: 15px; margin-bottom: 12px; }
.safe-box > b .ico { color: var(--brand); }
.safe-box ul { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; font-size: 13px; color: #4B5563; }
.safe-box li { display: flex; gap: 10px; align-items: flex-start; }
.safe-box li .ico { width: 18px; height: 18px; color: var(--brand); margin-top: 1px; }
.safe-box a { color: var(--brand); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.reviews .review-list { display: grid; gap: 12px; }
@media (min-width: 768px) { .reviews .review-list { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.review-stars { display: flex; gap: 2px; color: #E3A63B; }
.review-stars .ico { width: 16px; height: 16px; fill: currentColor; }
.review footer { font-size: 12px; color: var(--muted); margin-top: auto; }

/* ödeme logoları */
.pay-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pay-logo { display: inline-grid; place-items: center; height: 26px; min-width: 40px; padding: 0 6px; background: #fff; border: 1px solid var(--line); border-radius: 4px; }
.pay-logo svg { height: 16px; width: auto; }
.pay-logo-text { display: inline-flex; gap: 4px; font-size: 11px; font-weight: 600; color: var(--ink); }
.pay-logo-text .ico { width: 14px; height: 14px; }
.safe-box .pay-logos, .dr-foot .pay-logos, .summary .pay-logos { justify-content: center; margin-top: 12px; }

/* ödeme sayfası: dikkat dağıtmayan başlık */
.contact-head { display: none; align-items: center; gap: 8px; margin-left: auto; color: var(--brand); }
.contact-head .ico { width: 24px; height: 24px; }
.contact-head b { display: block; font-size: 14px; }
.contact-head small { display: block; font-size: 12px; color: var(--muted); }
body[data-page="odeme"] .topbar, body[data-page="odeme"] .catnav, body[data-page="odeme"] .header-actions, body[data-page="odeme"] .foot-grid, body[data-page="odeme"] .foot-trust { display: none; }
body[data-page="odeme"] .contact-head { display: flex; }
body[data-page="odeme"] .footer { padding-top: 0; }
body[data-page="odeme"] .foot-bottom { margin-top: 0; }

/* ödeme sayfası: adım durumu ve alan doğrulama */
.co-card { transition: border-color .2s; }
.co-n { transition: background .2s; }
.co-card.done { border-color: #BFD6C8; }
.co-card.done .co-n { background: var(--ok-green, #2F8F57); font-size: 0; }
.co-card.done .co-n::before { content: ""; width: 12px; height: 7px; border: solid #fff; border-width: 0 0 2px 2px; transform: translateY(-2px) rotate(-45deg); }
.field-msg { font-size: 12px; color: var(--sale); min-height: 0; }
.field-msg:empty { display: none; }
.field.invalid > label::after { content: none; }
.field.valid :where(input, textarea) { border-color: #9CC8AE; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F8F57' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4.5 4.5L19 7'/%3E%3C/svg%3E") no-repeat right 12px top 14px / 18px; padding-right: 40px; }
.field.valid select { border-color: #9CC8AE; }
.pay .pay-logos { flex: none; }
.pay .pay-logo { height: 22px; min-width: 34px; }
.pay-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; padding: 12px; background: var(--brand-50); border-radius: var(--r); font-size: 13px; color: #4B5563; }
.pay-note .ico { width: 18px; height: 18px; color: var(--brand); flex: none; margin-top: 1px; }
.sum-head { display: flex; align-items: baseline; justify-content: space-between; }
.link-btn { display: inline-flex; align-items: center; gap: 4px; color: var(--brand); font-weight: 600; font-size: 13px; }
.link-btn .ico { width: 15px; height: 15px; }
.spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.btn.loading { opacity: 1; }
.btn.loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.co-trust { list-style: none; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 12px; color: var(--muted); }
.co-trust li { display: flex; gap: 10px; align-items: flex-start; }
.co-trust .ico { width: 18px; height: 18px; color: var(--brand); flex: none; }
.co-trust b { display: block; font-size: 13px; color: var(--ink); }
.co-trust a { color: var(--brand); font-weight: 500; }
.co-mobile-sum { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 0 16px; margin-bottom: 16px; }
.co-mobile-sum summary { padding: 14px 0; font-size: 14px; }
.co-mobile-sum summary span { flex: 1; color: var(--brand); }
.co-mobile-sum summary small { color: var(--muted); font-weight: 400; }
.co-mobile-sum summary b { font-size: 16px; }
.co-mobile-sum[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.co-sticky { display: none; }
@media (max-width: 999px) {
  .co-sticky { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0, 0, 0, .06); padding: 8px 0 calc(8px + env(safe-area-inset-bottom)); }
  body[data-page="odeme"] .footer { padding-bottom: 72px; }
  .co-side .summary h2, .co-side [data-summary], .co-side .sum-head { display: none; }
}
@media (min-width: 1000px) { .co-mobile-sum { display: none; } }
@media (max-width: 599px) { .progress { font-size: 12px; gap: 6px; padding: 12px 0; } .progress li { gap: 6px; white-space: nowrap; } .progress li:not(:last-child)::after { width: 12px; } }

/* onay sayfası */
.order-no { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 15px; margin-bottom: 16px; }
.timeline { list-style: none; margin: 24px 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); font-size: 11px; color: var(--muted); }
.timeline li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.timeline li span { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--line); z-index: 1; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; top: 6px; left: 50%; width: 100%; height: 2px; background: var(--line); }
.timeline li.on { color: var(--brand); font-weight: 600; }
.timeline li.on span { background: var(--brand); border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.done-help { margin-top: 20px; font-size: 13px; }
.done-help a { color: var(--brand); font-weight: 500; }
.empty > .ico { width: 40px; height: 40px; color: var(--muted); margin: 0 auto 12px; }

/* şehir sayfası: ilçeler */
.district-list { display: flex; flex-wrap: wrap; gap: 8px; }
.district { padding: 8px 14px; background: #fff; border: 1px solid var(--line); border-radius: 20px; font-size: 14px; transition: border-color .15s, background .15s; }
.district:hover { border-color: var(--brand); }
.district.on { background: var(--brand); border-color: var(--brand); color: #fff; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* alt bilgi: güven şeridi ve yasal bilgiler */
.foot-trust { background: var(--brand); }
.foot-trust-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding-block: 20px; color: #fff; font-size: 12px; }
.foot-trust-row > div { display: flex; gap: 10px; align-items: center; }
.foot-trust-row .ico { width: 24px; height: 24px; color: var(--accent); }
.foot-trust-row b { display: block; font-size: 14px; }
.foot-trust-row span { color: #FFE4E8; }
.foot-trust-row b { color: #fff; }
@media (min-width: 900px) { .foot-trust-row { grid-template-columns: repeat(4, 1fr); } }
.footer { padding-top: 0; }
.foot-grid { padding-top: 40px; }
.foot-brand { gap: 10px !important; }
.foot-brand .logo { margin-bottom: 4px; }
.foot-line { display: flex !important; gap: 8px; align-items: flex-start; padding: 0 !important; }
.foot-line .ico { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--accent); }
.foot-social { display: flex; gap: 8px; margin-top: 4px; }
.btn-insta { background: rgba(255, 255, 255, .1); color: #fff; }
.btn-insta:hover { background: rgba(255, 255, 255, .2); }
.foot-legal { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; }
.foot-legal a { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); }
.foot-bottom { align-items: center; }
.foot-bottom .pay-logo { border-color: transparent; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .foot-grid > div:first-child { grid-column: auto; } }

/* ==========================================================================
   Sonsuz ürün akışı
   ========================================================================== */
.feed > .wrap + .wrap { margin-top: 8px; }
@media (min-width: 768px) { .feed > .wrap + .wrap { margin-top: 16px; } }
/* Ekran dışındaki kartları tarayıcı çizmez; yüzlerce ürün yüklense de kaydırma akıcı kalır. */
.feed .card { content-visibility: auto; contain-intrinsic-size: auto 420px; }
/* Sayfa dibindeyken tarayıcı görünümü altbilgiye sabitleyip zincirleme yükleme tetiklemesin. */
.footer, .feed-more { overflow-anchor: none; }
.feed-more { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 32px 16px; text-align: center; }
.feed-more p { font-size: 13px; color: var(--muted); }
.feed-more .btn { display: none; }
.feed-more.manual .btn { display: inline-flex; }
.feed-more.manual .spinner { display: none; }
.spinner-dark { display: inline-block; width: 28px; height: 28px; border: 3px solid var(--line); border-top-color: var(--brand); border-radius: 50%; animation: spin .7s linear infinite; }

/* ==========================================================================
   Eski tarayıcı ve iPhone uyumu
   ========================================================================== */
/* iOS Safari 14 ve öncesi aspect-ratio bilmez; görsel kutuları sıfır yükseklikte kalmasın. */
@supports not (aspect-ratio: 1 / 1) {
  .card-media { height: 0; padding-top: 125%; }
  .pdp-img { height: 0; padding-top: 100%; }
  .addon img, .occ-chip img { height: auto; }
}
/* iOS, 16px'ten küçük yazılı alana dokununca sayfayı yakınlaştırır; formlarda bunu önle. */
@media (max-width: 767px) {
  input, select, textarea, .search input { font-size: 16px; }
}
.marquee-track { will-change: transform; }
.noscript, .boot-fail { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 99; background: var(--ink); color: #fff; padding: 14px 16px; border-radius: var(--r); font-size: 14px; }
.noscript a, .boot-fail a { color: var(--accent); text-decoration: underline; }

/* Hızlı teslimat seçeneği diğer saat aralıklarından ayrışsın. */
.chip-express { border-color: var(--accent); font-weight: 600; }
.chip-express:not(.on) { background: #FFF8E6; }

/* ==========================================================================
   Şehir (reklam açılış) sayfası: filtre çubuğu + düz ızgara
   ========================================================================== */
.land-filters { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.land-quick { display: none; flex-wrap: wrap; gap: 8px; }
.land-selects { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 8px; }
.land-selects label { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.land-selects span { font-size: 12px; color: var(--muted); font-weight: 500; }
.land-selects select { min-height: 44px; padding: 8px 6px 8px 10px; font-weight: 500; }
.land-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 20px 0 12px; }
.land-head h2 { font-size: 20px; }
.land-head span { font-size: 13px; color: var(--muted); flex: none; }
@media (min-width: 768px) {
  .land-filters { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .land-quick { display: flex; flex: 1; align-self: flex-end; flex-wrap: nowrap; overflow: hidden; }
  .land-quick .pill { flex: none; }
  .land-selects { grid-template-columns: 170px 150px 140px; flex: none; }
  .land-head h2 { font-size: 24px; }
}
@media (max-width: 400px) { .land-selects select { padding-left: 8px; padding-right: 2px; } .land-head h2 { font-size: 18px; } }
@media (max-width: 339px) { .land-selects { grid-template-columns: 1fr 1fr; } .land-selects label:first-child { grid-column: 1 / -1; } }

/* Ana sayfa amaç blokları: 4 ürün, yana kaydırmasız */
.grid.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .grid.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* İl sayfası tanıtımı */
.city-intro h2 { font-size: 20px; margin-bottom: 8px; }
.city-intro p { max-width: 760px; line-height: 1.6; color: var(--ink); margin-bottom: 8px; }

/* Son dokunuşlar: klavye odağı görünür, dokunmada gri parlama yok, metin seçimi rengi marka. */
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
a, button { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--brand-50); color: var(--brand-2); }
/* Akıcı kaydırma: sürekli dönen parıltı animasyonu yok (her kartta boyama yapıyordu); ekran dışındaki
   kartlar çizilmez. */
.card-media, .pdp-img, .occ-chip img, .addon img { animation: none !important; background: #f3f0ee; }
.card { content-visibility: auto; contain-intrinsic-size: auto 380px; }
.fab-wa { box-shadow: 0 4px 12px rgba(30, 158, 82, .35); }

/* Arama. Masaüstünde başlık satırında. Mobilde ilk ekranda yer kaplamaz: alt menüdeki "Ara" ile
   ekranın üstünden açılan bir panel olur (arka plan kararır, dokununca kapanır). Başlıktaki arama
   simgesi mobilde kullanılmıyor; tek giriş alt menü. */
.search-toggle { display: none !important; }
.search-close { display: none; }
@media (max-width: 767px) {
  .search-row { height: 0; border: 0; overflow: visible; }
  .search-row-inner { display: none; }
  .search-open .search-row-inner {
    display: flex; gap: 10px; align-items: center; position: fixed; z-index: 60; top: 0; left: 0; right: 0;
    height: calc(64px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 12px 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    animation: arama-in .18s var(--ease-out);
  }
  .search-open .search-close { display: inline-flex; align-items: center; height: 44px; padding: 0 4px;
    font-size: 15px; font-weight: 600; color: var(--brand); background: none; border: 0; white-space: nowrap; }
  body.search-open::after { content: ""; position: fixed; inset: 0; z-index: 55; background: rgba(20, 12, 16, .38); }
  body.search-open { overflow: hidden; }
  /* Sonuçlar panelin altında tam genişlik, kendi içinde kayar; alt menünün üstünde biter. */
  .search-open .search-pop { position: fixed; top: calc(64px + env(safe-area-inset-top)); left: 0; right: 0;
    max-height: calc(100vh - 64px - 58px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    overflow-y: auto; border-radius: 0; border-left: 0; border-right: 0; padding: 6px 12px 10px; }
  .search-open .tabbar [data-action="focus-search"] { color: var(--brand); }
}
@keyframes arama-in { from { transform: translateY(-8px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .search-open .search-row-inner { animation: none; } }

/* Kartta sipariş düğmesi baştan dolu yeşil: dokunmadan da "buradan sipariş verilir" belli olsun. */
.card-add { background: var(--wa); color: #fff; border-color: var(--wa); }

/* Mobil ürün sayfası: büyük, kenardan kenara fotoğraf; fiyat ve sipariş düğmesi ilk ekranda. */
@media (max-width: 599px) {
  body[data-page="urun"] .crumbs { display: none; }
  .pdp { gap: 0; margin: 0 -16px; }
  .pdp-img { aspect-ratio: 4 / 5; border: 0; border-radius: 0; background: #f6f3f1; }
  .pdp-img img { object-fit: cover; }
  .pdp-panel { border: 0; border-radius: 0; padding: 16px; }
  .pdp-code { visibility: hidden; }
  .pdp-panel h1 { font-size: 22px; }
  .pdp-price { margin: 6px 0 4px; }
  .price-lg b { font-size: 30px; color: var(--brand); }
  .pdp-sum { -webkit-line-clamp: 3; margin: 8px 0 0; }
  .eta-box { margin: 12px 0; }
  .pdp-order .btn { min-height: 56px; font-size: 17px; box-shadow: 0 6px 18px rgba(37, 211, 102, .35); }
  .pdp-perks { grid-template-columns: 1fr; gap: 10px; margin-top: 16px; }
  .pdp-perks li { flex-direction: row; align-items: center; gap: 10px; font-size: 14px; color: var(--ink, #1f2937); }
  .pdp-perks .ico { width: 20px; height: 20px; }
  .pdp-info { margin-top: 16px; }
}
/* Güvenlik ağı: hiçbir öğe sayfayı yana kaydıramaz (clip, sabit başlığı bozmaz). */
html, body { overflow-x: clip; max-width: 100%; }
/* Yana kaydırma yok: ürün şeritleri mobilde 2 sütunlu ızgara, en fazla 6 ürün. */
@media (max-width: 899px) {
  .rail { display: grid !important; grid-auto-flow: row !important; grid-auto-columns: auto !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; overflow: visible !important; margin: 0 !important; padding: 0 !important; scroll-snap-type: none; }
  .rail > .card { width: auto !important; min-width: 0; flex: none; }
  .rail > .card:nth-child(n+7) { display: none; }
}
/* ==========================================================================
   Güven veren görünüm: daha sakin renkler, daha yumuşak köşeler, net güven öğeleri.
   ========================================================================== */
:root { --r: 12px; --bg: #FAF8F6; --line: #ECE7E3; --brand: #D11846; --brand-2: #8C1030; --ink: #1E1B1A; }
body { background: var(--bg); }
/* Üst şerit: bağıran kırmızı yerine koyu, sakin bant. */
.topbar { background: #2A1B20; color: #F3E9EC; }
/* Ana bant: düz kırmızı kutu yerine açık, yumuşak zemin ve koyu yazı. */
.promo { background: linear-gradient(135deg, #FFF4F6 0%, #FDE8EE 100%); color: var(--ink); border: 1px solid #F7D6DF; padding: 16px 18px; }
.promo h1 { font-size: 19px; letter-spacing: -.01em; color: var(--brand-2); }
.promo p { color: #5B4A50; font-size: 13.5px; line-height: 1.45; margin-top: 4px; }
.promo .btn-gold { background: var(--brand); color: #fff; }
.card { border-radius: var(--r); box-shadow: 0 1px 2px rgba(60, 30, 40, .04); }
.card-media { border-radius: var(--r) var(--r) 0 0; }
.tile { border-radius: var(--r); }

/* Güven şeridi: başlığın altında 2x2 (masaüstünde 4 yan yana) rozet. */
.trust-bar { list-style: none; margin: 12px 0 4px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.trust-bar li { min-width: 0; display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.trust-bar .ico { flex: none; width: 20px; height: 20px; color: var(--wa); }
@media (min-width: 900px) { .trust-bar { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Nasıl sipariş verilir: numaralı 3 adım. */
.how { margin-top: 32px; }
.how h2 { font-size: 20px; margin-bottom: 14px; }
.how ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 900px) { .how ol { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.how li { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }
.how i { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-50); color: var(--brand); font-style: normal; font-weight: 700; display: grid; place-items: center; }
.how b { display: block; font-size: 15px; margin-bottom: 2px; }
.how span { font-size: 13.5px; color: var(--muted); line-height: 1.45; }

/* Ürün sayfası güven kutusu. */
.trust-box { margin-top: 16px; padding: 16px; background: #F4FBF6; border: 1px solid #CDEBD7; border-radius: var(--r); }
.trust-box-head { display: flex; align-items: center; gap: 8px; font-size: 15px; color: #14532D; margin-bottom: 12px; }
.trust-box-head .ico { width: 22px; height: 22px; color: var(--wa); }
.trust-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.trust-box li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; color: #374151; }
.trust-box li .ico { flex: none; width: 19px; height: 19px; margin-top: 1px; color: var(--wa); }
.trust-box li b { color: var(--ink); }
.trust-box-contact { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid #CDEBD7; font-size: 13.5px; color: #374151; }
.trust-box-contact .ico { width: 18px; height: 18px; color: var(--wa); }
.trust-box-contact a { color: var(--wa); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* Mobil menü (çekmece): görselli, gruplu, ferah. */
.menu-drawer { width: min(360px, 90%); background: var(--bg); border-radius: 0 18px 18px 0; overflow: hidden; }
.dr-head { background: #fff; border-bottom: 1px solid var(--line); }
.menu-body { padding: 14px 14px calc(28px + env(safe-area-inset-bottom)); }
.dm-wa { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; background: linear-gradient(135deg, #1E9E52, #17844A); color: #fff; box-shadow: 0 6px 18px rgba(30, 158, 82, .28); }
.dm-wa-ico { flex: none; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: grid; place-items: center; }
.dm-wa-ico .ico { width: 22px; height: 22px; }
.dm-wa > span:nth-child(2) { flex: 1; min-width: 0; }
.dm-wa b { display: block; font-size: 15px; }
.dm-wa small { display: block; font-size: 12px; opacity: .85; margin-top: 2px; }
.dm-wa > .ico { flex: none; width: 18px; height: 18px; }
.dm-sec { margin-top: 22px; }
.dm-sec h3 { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px 2px; }
.dm-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.dm-chip { min-width: 0; display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; font-weight: 600; line-height: 1.2; }
.dm-chip img { flex: none; width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--brand-50); }
.dm-chip span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.dm-group { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; margin-bottom: 8px; }
.dm-group:last-child { border-bottom: 1px solid var(--line); }
.dm-group summary { padding: 13px 0; font-size: 15px; }
.dm-group[open] summary { border-bottom: 1px solid var(--line); }
.dm-group > div { padding: 4px 0 6px; }
.dm-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: 15px; }
.dm-row img { flex: none; width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: var(--brand-50); }
.dm-row span { flex: 1; min-width: 0; }
.dm-row small { font-size: 12px; color: var(--muted); background: var(--bg); padding: 2px 8px; border-radius: 99px; }
.dm-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.dm-pills .pill { background: #fff; }
.dm-links { margin-top: 22px; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.dm-links a { display: flex; align-items: center; gap: 12px; padding: 13px 14px; font-size: 15px; font-weight: 500; }
.dm-links a + a { border-top: 1px solid var(--line); }
.dm-links .ico { width: 19px; height: 19px; color: var(--brand); }
.dm-trust { display: flex; gap: 8px; align-items: flex-start; margin: 18px 4px 0; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.dm-trust .ico { flex: none; width: 17px; height: 17px; color: var(--wa); }
.dm-chip:active, .dm-row:active, .dm-links a:active, .dm-wa:active { transform: scale(.98); }
.dm-chip, .dm-row, .dm-links a, .dm-wa { transition: transform .18s var(--ease-out, ease), background .2s; }
/* Ürün sayfası alt şeridi: hep sabit, sade; küçük görsel + ad/fiyat + WhatsApp düğmesi.
   Yüzen WhatsApp balonu ve "başa dön" burada gizli, şeritle çakışmasın. */
.sticky-buy { background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(40, 20, 28, .07); padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); }
.sticky-row { gap: 12px; }
.sticky-thumb { flex: none; width: 44px; height: 55px; border-radius: 8px; object-fit: cover; background: var(--brand-50); }
.sticky-info { flex: 1; min-width: 0; }
.sticky-row small { font-size: 12.5px; color: var(--ink); font-weight: 500; }
.sticky-row b { font-size: 17px; color: var(--brand); }
.sticky-row .btn { flex: none; height: 46px; padding: 0 18px; border-radius: 12px; font-size: 15px; }
@media (max-width: 899px) {
  body[data-page="urun"] .fab-wa, body[data-page="urun"] .to-top { display: none !important; }
  body[data-page="urun"] main { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  body[data-page="urun"] .cookie { bottom: calc(84px + env(safe-area-inset-bottom)); }
}

/* Logonun altında şehir: "Çorum Çiçekçi". Şehir yoksa satır hiç yer kaplamaz. */
.logo-stack { display: flex; flex-direction: column; justify-content: center; min-width: 0; line-height: 1.1; }
.logo-city { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .01em; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo-city:empty { display: none; }

/* Hiçbir satır yana kaydırılmaz: hap/çip satırları alta sarar. */
.pill-row, .chips, .note-ideas, .land-quick { flex-wrap: wrap !important; overflow: visible !important; }

/* Menüdeki görselli kutular sayfa içinde de kullanılır. */
.chip-sec h2 { font-size: 20px; margin-bottom: 12px; }
.list-chips { margin: 4px 0 12px; }
@media (min-width: 900px) { .dm-chips { grid-template-columns: repeat(4, minmax(0, 1fr)); } .menu-drawer .dm-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Kartlar sade: her üründe "Çok satan" yazınca hiçbir anlamı kalmıyordu; yalnızca indirim etiketi kalır. */
.card .tag:not(.tag-sale) { display: none; }
.card .eta { color: var(--muted); font-size: 12px; }
.card-body h3 { min-height: 2.6em; }
/* Bütçe kutuları menüdeki kutularla aynı dilde. */
.band { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.sec-head h2 { letter-spacing: -.01em; }
/* Masaüstü üst menü ve açılır panel: menüdeki gibi yumuşak köşe ve gölge. */
.mega { border-radius: 0 0 16px 16px; box-shadow: 0 18px 40px rgba(40, 20, 28, .12); }
.catnav-links a { border-radius: 99px; }

/* Menü açılınca içerik kademeli belirir. */
.menu-drawer.open .menu-body > * { animation: enter .45s var(--ease-out, ease) both; }
.menu-drawer.open .menu-body > :nth-child(2) { animation-delay: .04s; }
.menu-drawer.open .menu-body > :nth-child(3) { animation-delay: .08s; }
.menu-drawer.open .menu-body > :nth-child(n+4) { animation-delay: .12s; }

/* ==========================================================================
   İnce işçilik: yumuşak geçişler. Hepsi yalnızca opaklık ve transform kullanır (kaydırmayı yormaz).
   "hidden" ile açılıp kapanan katmanlar yok olmak yerine solar; kapanırken de animasyon görünür.
   ========================================================================== */
:root { --ease-out: cubic-bezier(.22, 1, .36, 1); --ease-io: cubic-bezier(.65, 0, .35, 1); }

/* Sayfa geçişi: daha yavaş ve yumuşak beliriş. */
#app.enter { animation: enter .45s var(--ease-out); }
@keyframes enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.route-bar.run { animation: route .7s var(--ease-out); }

/* Görseller: hafif büyükten yerine oturarak belirir. */
.js .card-media img, .js .pdp-img img { transform: scale(1.03); transition: opacity .55s var(--ease-out), transform .7s var(--ease-out); }
.card-media img.is-loaded, .pdp-img img.is-loaded { transform: none; }

/* Düğmeler ve kartlar: dokununca hafifçe içeri basar. */
.btn, .card-add, .tile, .hbtn, .fav, .tool-btn, .tabbar a, .tabbar button, .fab-wa { transition: transform .18s var(--ease-out), background .2s, color .2s, border-color .2s, box-shadow .2s, opacity .2s; }
.btn:active, .card-add:active, .hbtn:active, .tool-btn:active, .tabbar a:active, .tabbar button:active { transform: scale(.96); }
.card-link:active .card-media img.is-loaded, .tile:active { transform: scale(.98); }
.fab-wa:active { transform: scale(.92); }
.card-media img { transition: opacity .55s var(--ease-out), transform .5s var(--ease-out); }

/* Menü çekmecesi: kapanırken de kayarak gider; arka plan solarak gelir/gider. */
.menu-drawer { transition: transform .42s var(--ease-out), visibility 0s linear .42s; box-shadow: 8px 0 32px rgba(0, 0, 0, .12); }
.menu-drawer.open { transition: transform .42s var(--ease-out), visibility 0s; }
.drawer-backdrop { opacity: 1; visibility: visible; transition: opacity .35s var(--ease-out), visibility 0s; }
.drawer-backdrop[hidden] { display: block; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .35s var(--ease-out), visibility 0s linear .35s; }

/* Görsel büyütme: solarak ve hafif büyüyerek açılır. */
.lightbox { opacity: 1; visibility: visible; transition: opacity .3s var(--ease-out), visibility 0s; }
.lightbox img { transition: transform .4s var(--ease-out); }
.lightbox[hidden] { display: grid; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s ease, visibility 0s linear .25s; }
.lightbox[hidden] img { transform: scale(.94); }

/* Alttan gelen şeritler: anında belirmek yerine aşağıdan kayar. */
.sticky-buy { transform: none; transition: transform .4s var(--ease-out), visibility 0s; }
.sticky-buy[hidden] { display: block; transform: translateY(110%); visibility: hidden; transition: transform .3s var(--ease-io), visibility 0s linear .3s; }
.cookie:not([hidden]) { animation: rise .55s var(--ease-out) .4s both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.to-top { transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), visibility 0s; }
.to-top[hidden] { display: grid; opacity: 0; transform: translateY(12px) scale(.9); visibility: hidden; pointer-events: none; transition: opacity .25s, transform .25s, visibility 0s linear .25s; }

/* Açılır bölümler: içerik kayarak belirir, + işareti yumuşak döner. */
summary .ico { transition: transform .3s var(--ease-out); }
details[open] > :not(summary) { animation: reveal .35s var(--ease-out); }
@keyframes reveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Sonsuz akışta yeni gelen kartlar topluca solarak eklenir. */
.feed > .wrap:not(:first-child) .card { animation: enter .5s var(--ease-out) both; }

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