/* ============================================================
   MISS ROSEMOON — MAĞAZA (klasik e-ticaret düzeni)
   Aynı marka paleti, bilengiyim.com tarzı yoğun ürün odaklı yapı.
   ============================================================ */

:root {
  --rosegold: #c89b90;
  --rosegold-dark: #8e6d66;
  --rosegold-deep: #5f4640;
  --powder: #f5eae6;
  --champagne: #e8d5cf;
  --cream: #fdfbfa;
  --ink: #3d2f2b;
  --line: #ece3df;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Inter", system-ui, sans-serif;
  --wrap: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--champagne); color: var(--rosegold-deep); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 16px; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ic-sm { width: 15px; height: 15px; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; font-size: 0.88rem; font-weight: 500;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--rosegold); color: #fff; }
.btn-primary:hover { background: var(--rosegold-dark); }
.btn-outline { border: 1px solid var(--rosegold); color: var(--rosegold-dark); }
.btn-outline:hover { background: var(--powder); }
.btn-trendyol { background: #f27a1a; color: #fff; }
.btn-trendyol:hover { background: #d96400; }
.btn-wa { border: 1px solid rgba(37,211,102,.5); color: #128c7e; }
.btn-wa:hover { background: rgba(37,211,102,.08); }

/* ============================================================
   ÜST ŞERİT
   ============================================================ */
.topbar {
  background: var(--rosegold-deep);
  color: var(--cream);
  font-size: 0.78rem;
}
.topbar-inner {
  display: flex; align-items: center; justify-content: center;
  height: 38px; gap: 12px;
}
.topbar-inner span { display: inline-flex; align-items: center; gap: 8px; }
.topbar b { color: #fff; }
.topbar .ic { width: 16px; height: 16px; }
.topbar-wa { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.topbar-wa:hover { color: var(--champagne); }

/* ============================================================
   HEADER
   ============================================================ */
.head { border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; background: #fff; }
.head-inner {
  display: flex; align-items: center; gap: 16px;
  height: 78px;
}
.burger { display: inline-flex; padding: 8px; margin-left: -8px; color: var(--ink); }
.brand img { height: 40px; width: auto; }
.brand { flex-shrink: 0; }

.search {
  flex: 1; max-width: 560px; margin-inline: auto;
  display: flex; align-items: center;
  border: 1.5px solid var(--line); border-radius: 12px;
  overflow: hidden; transition: border-color .2s;
}
.search:focus-within { border-color: var(--rosegold); }
.search input {
  flex: 1; min-width: 0; border: 0; outline: none; background: transparent;
  padding: 12px 16px; font: inherit; font-size: 0.9rem; color: var(--ink);
}
.search button {
  display: flex; align-items: center; justify-content: center;
  width: 48px; align-self: stretch; background: var(--rosegold); color: #fff;
  transition: background-color .2s;
}
.search button:hover { background: var(--rosegold-dark); }

/* ============================================================
   KAYAN YAZILAR (logonun altında)
   ============================================================ */
.ticker {
  background: var(--rosegold-deep);
  color: var(--cream);
  overflow: hidden;
  font-size: 0.74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 8px 0;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 34s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; align-items: center; flex-shrink: 0; }
.ticker-group > span { padding: 0 18px; white-space: nowrap; }
.ticker-dot { color: var(--champagne); padding: 0 4px !important; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ============================================================
   KATEGORİ ÇUBUĞU
   ============================================================ */
/* Instagram story tarzı yuvarlak kategoriler — sürüklenebilir slider */
.catbar { background: #fff; border-bottom: 1px solid var(--line); }
.catbar-wrap { position: relative; }
/* Dış katman kaydırma; iç şerit sığınca margin:auto ile ortalanır, taşınca kayar */
.catbar-scroll {
  overflow-x: auto; scrollbar-width: none;
  cursor: grab; scroll-behavior: smooth;
}
.catbar-scroll::-webkit-scrollbar { display: none; }
.catbar-scroll.dragging { cursor: grabbing; scroll-behavior: auto; }
.catbar-scroll.dragging .story { pointer-events: none; }
.catbar-inner {
  display: flex; gap: 20px; padding: 16px 0;
  width: max-content; margin-inline: auto;
}

/* Kaydırma okları */
.cat-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 3px 12px rgba(142,109,102,.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--rosegold-dark); transition: background-color .2s, color .2s;
}
.cat-arrow:hover { background: var(--rosegold); color: #fff; border-color: var(--rosegold); }
.cat-arrow[hidden] { display: none; }
.cat-arrow .ic { width: 20px; height: 20px; }
.cat-prev { left: -6px; }
.cat-prev .ic { transform: rotate(180deg); }
.cat-next { right: -6px; }

.story {
  flex: 0 0 auto; display: flex; flex-direction: column; align-items: center;
  gap: 8px; width: 84px; color: var(--ink);
}
.story-ring {
  position: relative;
  display: block; width: 74px; height: 74px; border-radius: 50%; padding: 3px;
  background: linear-gradient(135deg, var(--rosegold), var(--rosegold-dark) 55%, var(--champagne));
  transition: transform .2s;
}
.story-ring img {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
  border: 3px solid #fff; display: block;
}
.story:hover .story-ring { transform: scale(1.05); }
.story-label {
  font-size: 0.72rem; text-align: center; line-height: 1.25; color: var(--rosegold-dark);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  max-height: 2.5em;
}
.story.active .story-ring {
  background: linear-gradient(135deg, var(--rosegold-dark), var(--rosegold-deep));
}
.story.active .story-label { color: var(--rosegold-deep); font-weight: 600; }

/* "Yakında" (henüz ürünü olmayan) koleksiyon */
.story.soon .story-ring {
  background: linear-gradient(135deg, var(--champagne), var(--rosegold) 70%);
}
.story-soon {
  width: 100%; height: 100%; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--powder), var(--champagne));
  border: 3px solid #fff; color: var(--rosegold-dark);
  font-size: 1.5rem; line-height: 1;
}
.story-badge {
  position: absolute; bottom: -3px; left: 50%; transform: translateX(-50%);
  background: var(--rosegold-dark); color: #fff;
  font-size: 0.52rem; letter-spacing: .04em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 2px 6px rgba(61,47,43,.25);
}
/* İndirimli Ürünler kategorisi — kırmızı vurgu */
.story.discount .story-ring { background: linear-gradient(135deg, #e0554f, #b83c37); }
.story-badge-disc { background: #d64545; }
.story.discount .story-label { color: #c0392b; font-weight: 600; }

/* ============================================================
   HERO BANNER
   ============================================================ */
.hero {
  background: linear-gradient(110deg, var(--powder), var(--champagne) 70%, #f0ddd6);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-block: 40px; flex-wrap: wrap;
}
.hero-kicker {
  font-size: 0.72rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--rosegold-dark); margin-bottom: 10px;
}
.hero-text h1 {
  font-family: var(--font-serif); font-weight: 600; font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  line-height: 1.15; color: var(--rosegold-deep); max-width: 16ch;
}
.hero-sub { margin-top: 12px; max-width: 46ch; color: var(--rosegold-dark); font-size: 0.95rem; }
.hero-text .btn { margin-top: 20px; }
.hero-badges { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badge {
  background: rgba(255,255,255,.55); border: 1px solid rgba(200,155,144,.3);
  border-radius: 14px; padding: 16px 20px; text-align: center; min-width: 104px;
  backdrop-filter: blur(4px);
}
.hero-badge strong { display: block; font-family: var(--font-serif); font-size: 1.4rem; color: var(--rosegold-deep); }
.hero-badge span { font-size: 0.72rem; color: var(--rosegold-dark); }

/* ============================================================
   TOOLBAR
   ============================================================ */
.toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding-block: 26px 18px; flex-wrap: wrap;
}
.toolbar-title { font-family: var(--font-serif); font-weight: 600; font-size: 1.5rem; color: var(--rosegold-deep); }
.toolbar-right { display: flex; align-items: center; gap: 16px; }
.result-count { font-size: 0.82rem; color: var(--rosegold-dark); }
.sort { position: relative; display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--rosegold-dark); }
.sort select {
  appearance: none; border: 1px solid var(--line); background: #fff; color: var(--ink);
  padding: 9px 30px 9px 12px; border-radius: 9px; font: inherit; font-size: 0.84rem; cursor: pointer;
}
.sort select:focus { outline: none; border-color: var(--rosegold); }
.sort-chev { position: absolute; right: 10px; pointer-events: none; color: var(--rosegold-dark); }

/* ============================================================
   ÜRÜN GRID
   ============================================================ */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.empty { text-align: center; padding: 40px 0; color: var(--rosegold-dark); }

.card {
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background: #fff; display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.card:hover { box-shadow: 0 10px 26px rgba(142,109,102,.14); border-color: var(--champagne); }

.card-media { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--powder); cursor: pointer; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.04); }

.card-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; }
.badge {
  font-size: 0.66rem; font-weight: 600; letter-spacing: .02em;
  padding: 4px 9px; border-radius: 6px;
}
.badge-disc { background: #d64545; color: #fff; }
.badge-new { background: var(--rosegold); color: #fff; }

.card-fav {
  position: absolute; top: 8px; right: 8px; width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255,255,255,.85); color: var(--rosegold-dark);
  opacity: 0; transition: opacity .2s, background-color .2s;
}
.card-media:hover .card-fav { opacity: 1; }

.card-body { padding: 12px 12px 14px; display: flex; flex-direction: column; flex: 1; }
.card-brand { font-size: 0.66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--rosegold); margin-bottom: 4px; }
.card-name {
  font-size: 0.84rem; color: var(--ink); line-height: 1.4; min-height: 2.35em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-prices { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; }
.card-price { font-size: 1.05rem; font-weight: 600; color: var(--rosegold-deep); }
.card-old { font-size: 0.82rem; color: #b8aca7; text-decoration: line-through; }

.card-actions { display: flex; gap: 8px; margin-top: 12px; }
.card-detail {
  flex: 1; display: inline-flex; align-items: center; justify-content: center;
  padding: 9px; border-radius: 8px; background: var(--powder); color: var(--rosegold-deep);
  font-size: 0.8rem; font-weight: 500; transition: background-color .2s;
}
.card-detail:hover { background: var(--champagne); }
.card-wa {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; border-radius: 8px; background: #25d366; color: #fff; flex-shrink: 0;
  transition: background-color .2s;
}
.card-wa:hover { background: #1da851; }
.card-wa .ic { width: 18px; height: 18px; }

.more-wrap { text-align: center; padding: 30px 0 50px; }

/* ============================================================
   FOOTER
   ============================================================ */
.foot { background: var(--rosegold-deep); color: rgba(253,251,250,.8); margin-top: 20px; }
.foot-grid { display: grid; grid-template-columns: 1fr; gap: 32px; padding-block: 46px 34px; }
.foot-logo { height: 46px; width: auto; margin-bottom: 16px; }
.foot-brand p { font-size: 0.84rem; line-height: 1.7; color: rgba(253,251,250,.6); max-width: 340px; }
.foot-social { display: flex; gap: 10px; margin-top: 18px; }
.foot-social a {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(232,213,207,.3); border-radius: 50%; color: var(--champagne);
  transition: background-color .2s, color .2s;
}
.foot-social a:hover { background: var(--rosegold); border-color: var(--rosegold); color: #fff; }
.foot-social .ic { width: 18px; height: 18px; }
.foot-col h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.02rem; color: var(--cream); margin-bottom: 12px; }
.foot-col a, .foot-col #footCats a { display: block; font-size: 0.84rem; color: rgba(253,251,250,.6); padding: 5px 0; transition: color .2s; }
.foot-col a:hover { color: var(--champagne); }
.foot-note { font-size: 0.78rem; color: rgba(253,251,250,.45); line-height: 1.7; margin-top: 8px; }
.foot-bottom { border-top: 1px solid rgba(232,213,207,.15); padding-block: 18px; }
.foot-bottom .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; font-size: 0.74rem; color: rgba(253,251,250,.45); }

.foot-credit { background: rgba(0,0,0,.28); padding-block: 16px; }
.foot-credit .wrap { text-align: center; }
.foot-credit p { font-size: 0.86rem; font-weight: 500; color: rgba(253,251,250,.85); }
.foot-credit a {
  color: var(--champagne); font-weight: 700;
  text-decoration: none; border-bottom: 1.5px solid var(--rosegold);
  transition: color .2s, border-color .2s;
}
.foot-credit a:hover { color: var(--rosegold); border-color: var(--champagne); }

/* ============================================================
   MOBİL MENÜ ÇEKMECESİ
   ============================================================ */
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer[hidden] { display: none; }
.drawer-back { position: absolute; inset: 0; background: rgba(61,47,43,.5); }
.drawer-panel {
  position: absolute; top: 0; left: 0; bottom: 0; width: 82%; max-width: 320px;
  background: #fff; display: flex; flex-direction: column;
  animation: slideIn .25s ease;
}
@keyframes slideIn { from { transform: translateX(-100%); } to { transform: none; } }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 18px; border-bottom: 1px solid var(--line);
  font-family: var(--font-serif); font-size: 1.05rem; color: var(--rosegold-deep);
}
.drawer-head button { color: var(--ink); display: flex; }
#drawerCats a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 18px; border-bottom: 1px solid var(--line); font-size: 0.92rem; color: var(--ink);
}
#drawerCats a .count { color: var(--rosegold-dark); font-size: 0.82rem; }
#drawerCats a.active { color: var(--rosegold-dark); font-weight: 600; }

/* ============================================================
   ÜRÜN DETAY POP-UP
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-back { position: absolute; inset: 0; background: rgba(61,47,43,.5); backdrop-filter: blur(5px); }
.modal-card {
  position: relative; width: min(880px, 100%); max-height: calc(100dvh - 32px);
  overflow-y: auto; background: #fff; border-radius: 18px; box-shadow: 0 20px 60px rgba(61,47,43,.3);
  display: grid;
}
.modal-x {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255,255,255,.9); color: var(--ink); box-shadow: 0 4px 12px rgba(61,47,43,.15);
  transition: background-color .2s, color .2s;
}
.modal-x:hover { background: var(--rosegold); color: #fff; }
.modal-gallery { position: relative; border-radius: 18px 18px 0 0; overflow: hidden; }
.modal-stage {
  position: relative; aspect-ratio: 3/4; max-height: 54dvh;
  background: var(--powder); overflow: hidden; touch-action: pan-y;
}
.modal-stage img {
  width: 100%; height: 100%; object-fit: cover;
  cursor: zoom-in; transition: transform .25s ease;
}
.modal-stage.zoomed img { cursor: zoom-out; }
.modal-stage.zoomed { touch-action: none; }

/* Galeri ok butonları (masaüstünde hover'da belirir, dokunmatikte hep görünür) */
.modal-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.85); color: var(--rosegold-dark);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 12px rgba(61,47,43,.2);
  opacity: 0; transition: opacity .2s, background-color .2s;
}
.modal-gallery:hover .modal-nav { opacity: 1; }
.modal-nav:hover { background: var(--rosegold); color: #fff; }
.modal-nav .ic { width: 20px; height: 20px; }
.modal-prev { left: 10px; }
.modal-prev .ic { transform: rotate(180deg); }
.modal-next { right: 10px; }
@media (hover: none) and (pointer: coarse) {
  .modal-nav { opacity: 1; background: rgba(255,255,255,.7); }
}

.modal-zoom-hint {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; align-items: center; gap: 6px;
  background: rgba(61,47,43,.65); color: #fff;
  font-size: 0.68rem; padding: 5px 11px; border-radius: 999px;
  pointer-events: none; opacity: 1; transition: opacity .3s;
}
.modal-stage.zoomed .modal-zoom-hint { opacity: 0; }
@media (hover: none) and (pointer: coarse) {
  .modal-zoom-hint { display: none; }
}
.modal-thumbs {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 8px; justify-content: center;
  padding: 30px 14px 14px; background: linear-gradient(to top, rgba(61,47,43,.5), transparent); overflow-x: auto; scrollbar-width: none;
}
.modal-thumbs::-webkit-scrollbar { display: none; }
.modal-thumb {
  flex: 0 0 46px; aspect-ratio: 3/4; border-radius: 8px; overflow: hidden; padding: 0;
  border: 2px solid rgba(255,255,255,.6); opacity: .75; transition: opacity .2s, border-color .2s;
}
.modal-thumb img { width: 100%; height: 100%; object-fit: cover; }
.modal-thumb.active { opacity: 1; border-color: #fff; }
.modal-info { padding: 22px 22px 26px; }
.modal-cat { font-size: 0.68rem; letter-spacing: .28em; text-transform: uppercase; color: var(--rosegold); margin-bottom: 8px; }
.modal-title { font-family: var(--font-serif); font-weight: 500; font-size: 1.3rem; line-height: 1.3; }
.modal-prices { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.modal-price { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 600; color: var(--rosegold-dark); }
.modal-price-old { font-size: 1rem; color: #b8aca7; text-decoration: line-through; }
.modal-disc { font-size: 0.7rem; padding: 4px 10px; border-radius: 999px; background: #d64545; color: #fff; }

.modal-note { margin-top: 12px; font-size: 0.84rem; color: var(--rosegold-dark); }
.modal-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }

/* ============================================================
   WHATSAPP YÜZEN BUTON
   ============================================================ */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 50;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #25d366; color: #fff; box-shadow: 0 10px 28px rgba(37,211,102,.45);
  transition: transform .2s;
}
.wa-float:hover { transform: translateY(-3px); }
.wa-float .ic { width: 28px; height: 28px; }
/* Çerez bandı açıkken WhatsApp butonu bandın üstüne çıksın.
   --cookie-h yüksekliği JS tarafından ölçülüp yazılır (detay açılınca da doğru kalır). */
body.cookie-open .wa-float {
  bottom: calc(var(--cookie-h, 140px) + 16px);
  transition: bottom .3s ease;
}

/* ============================================================
   ÇEREZ ONAY BANDI
   ============================================================ */
.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  padding: 14px;
  animation: cookie-up .35s ease;
}
.cookie[hidden] { display: none; }
@keyframes cookie-up { from { transform: translateY(110%); } to { transform: none; } }

.cookie-card {
  max-width: var(--wrap); margin-inline: auto;
  background: rgba(253,251,250,.97);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 12px 40px rgba(61,47,43,.22);
  padding: 18px 20px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}

.cookie-text { flex: 1 1 320px; min-width: 0; }
.cookie-text strong {
  display: block; font-family: var(--font-serif); font-size: 1.02rem;
  color: var(--rosegold-deep); margin-bottom: 5px;
}
.cookie-text p { font-size: 0.83rem; line-height: 1.6; color: rgba(61,47,43,.78); }

.cookie-more {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--rosegold-dark); font: inherit; font-size: 0.83rem; font-weight: 600;
  text-decoration: underline; text-underline-offset: 2px;
}
.cookie-more:hover { color: var(--rosegold); }

.cookie-detail {
  margin-top: 10px; padding-top: 10px;
  border-top: 1px solid var(--line);
  display: grid; gap: 6px;
}
.cookie-detail[hidden] { display: none; }
.cookie-detail p { font-size: 0.78rem; color: rgba(61,47,43,.7); }
.cookie-detail a { color: var(--rosegold-dark); text-decoration: underline; }

.cookie-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.cookie-actions .btn { padding: 11px 22px; font-size: 0.85rem; }

@media (max-width: 640px) {
  .cookie { padding: 10px; }
  .cookie-card { padding: 16px; gap: 14px; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1 1 0; padding: 12px 10px; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 560px) {
  .grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (min-width: 900px) {
  .grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
  .modal-card { grid-template-columns: 1fr 1fr; overflow: hidden; }
  .modal-gallery { border-radius: 18px 0 0 18px; }
  .modal-stage { max-height: none; height: 100%; }
  .modal-info { display: flex; flex-direction: column; justify-content: center; padding: 36px; }
  .modal-actions { flex-direction: row; }
}
@media (min-width: 1200px) {
  .grid { grid-template-columns: repeat(5, 1fr); }
}
@media (min-width: 700px) {
  .burger { display: none; }
}
@media (max-width: 699px) {
  .catbar-inner { justify-content: flex-start; gap: 14px; }
  .story { width: 74px; }
  .story-ring { width: 64px; height: 64px; }
  .head-inner { height: 64px; gap: 10px; }
  .brand img { height: 32px; }
  .topbar-inner span small { display: none; }
  /* Hero rozetleri mobilde tek sıra, eşit genişlik */
  .hero-badges { flex-wrap: nowrap; gap: 8px; width: 100%; }
  .hero-badge { flex: 1 1 0; min-width: 0; padding: 12px 8px; }
  .hero-badge strong { font-size: 1.05rem; }
  .hero-badge span { font-size: 0.62rem; }
  /* aspect-ratio + max-height birlikte Safari'de kutuyu daraltıp sağda boşluk
     bırakıyor; mobilde sabit yükseklik kullanıp img'i object-fit:cover ile dolduruyoruz */
  .modal-stage { aspect-ratio: unset; width: 100%; height: 46vh; max-height: 54dvh; }
}
/* Dokunmatik cihazlarda parmakla kaydırılır, oklara gerek yok */
@media (hover: none) and (pointer: coarse) {
  .cat-arrow { display: none !important; }
}
