/* ==========================================================================
   MüziKafe Sanat Atölyesi — stil dosyası
   Renkler logodan geliyor: lacivert nota, kahve fincanı, karamel köpük.
   ========================================================================== */

:root {
  --cream: #F6EFE4;
  --paper: #FCF8F2;
  --sand: #EFE4D2;
  --line: #E3D5BF;
  --ink: #1F2A44;
  --ink-2: #3B4560;
  --muted: #5F6678;
  --coffee: #7D4F27;
  --caramel: #B9772F;
  --caramel-soft: #F1DFC4;
  --gold: #E0B565;
  --night: #172036;
  --night-2: #202B47;
  --red: #A83A2B;
  --wa: #1A7F45;
  --wa-hover: #136637;
  --ok: #2F6B3F;
  --err: #A3322A;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-hand: "Caveat", "Segoe Print", cursive;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow-1: 0 1px 2px rgba(31, 42, 68, .06), 0 4px 14px rgba(31, 42, 68, .06);
  --shadow-2: 0 2px 4px rgba(31, 42, 68, .06), 0 14px 34px rgba(31, 42, 68, .12);
  --header-h: 76px;
  --container: 1180px;
}

/* --------------------------------- Temel --------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--coffee); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.012em;
  margin: 0 0 .5em;
  color: var(--ink);
  font-variation-settings: "SOFT" 50, "WONK" 0;
}
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--caramel);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--caramel-soft); color: var(--ink); }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 820px); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; color: #fff; }

.icon {
  width: 1.25em; height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[hidden] { display: none !important; }

.muted { color: var(--muted); }

/* -------------------------------- Butonlar -------------------------------- */

.btn {
  --bg: var(--ink); --fg: #fff; --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px;
  padding: .7em 1.35em;
  border: 1.5px solid var(--bd);
  border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { color: var(--fg); transform: translateY(-1px); box-shadow: var(--shadow-1); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn.is-loading { opacity: .65; pointer-events: none; }
.btn .icon { width: 1.15em; height: 1.15em; }

.btn-primary { --bg: var(--ink); --bd: var(--ink); }
.btn-primary:hover { --bg: var(--night-2); }
.btn-wa { --bg: var(--wa); --bd: var(--wa); }
.btn-wa:hover { --bg: var(--wa-hover); --bd: var(--wa-hover); }
.btn-gold { --bg: var(--gold); --fg: var(--night); --bd: var(--gold); }
.btn-gold:hover { --bg: #EBC57C; --fg: var(--night); }
.btn-ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line); }
.btn-ghost:hover { --bg: var(--paper); --bd: var(--ink); }
.btn-outline-light { --bg: transparent; --fg: #F7EBD6; --bd: rgba(247, 235, 214, .45); }
.btn-outline-light:hover { --bd: var(--gold); --fg: #fff; }
.btn-danger { --bg: transparent; --fg: var(--err); --bd: #E2B7B1; }
.btn-danger:hover { --bg: var(--err); --fg: #fff; --bd: var(--err); }
.btn-sm { min-height: 40px; padding: .5em 1em; font-size: .93rem; }
.btn-block { width: 100%; }

.link-btn {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: inherit; text-decoration: underline; text-underline-offset: 3px;
}

.link-arrow {
  display: inline-flex; align-items: center; gap: .4em;
  font-weight: 700; text-decoration: none; color: var(--coffee);
}
.link-arrow .icon { transition: transform .2s ease; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* --------------------------------- Üst bar --------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 239, 228, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(31, 42, 68, .5); }

.header-inner {
  display: flex; align-items: center; gap: 1.25rem;
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); flex: none; }
.brand-mark {
  position: relative; display: block;
  width: 44px; height: 52px; overflow: hidden;
}
.brand-mark img {
  position: absolute; max-width: none;
  width: 113px; height: auto;
  left: -44px; top: -10px;
  mix-blend-mode: multiply;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; letter-spacing: -.01em; color: var(--ink); }
.brand-name em { font-style: italic; color: var(--caramel); font-weight: 600; }
.brand-sub { font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-2); margin-top: .3rem; font-weight: 700; }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.main-nav a {
  display: block; padding: .5rem .8rem; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: .98rem;
  transition: background-color .2s ease;
}
.main-nav a:hover { background: var(--sand); color: var(--ink); }
.main-nav a.is-current { background: var(--caramel-soft); }
.nav-mobile-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: .5rem; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--paper);
  align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
body.nav-open .nav-toggle .icon-open { display: none; }
body.nav-open .nav-toggle .icon-close { display: block; }

/* Hesap alanı */
.account-slot { position: relative; }
.account-chip {
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 40px; padding: .3rem .9rem .3rem .35rem;
  border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper);
  font-weight: 700; font-size: .93rem; cursor: pointer; color: var(--ink);
}
.account-chip:hover { border-color: var(--ink); }
.avatar {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: #fff; font-size: .85rem; font-weight: 800;
}
.avatar.is-guest { background: var(--caramel-soft); color: var(--coffee); }
.account-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60;
  min-width: 220px; padding: .5rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-2);
}
.account-menu p { margin: .4rem .6rem .6rem; font-size: .85rem; color: var(--muted); }
.account-menu a, .account-menu button {
  display: block; width: 100%; text-align: left;
  padding: .6rem .7rem; border-radius: 8px; border: 0; background: none;
  color: var(--ink); text-decoration: none; font-weight: 600; cursor: pointer;
}
.account-menu a:hover, .account-menu button:hover { background: var(--cream); }

/* --------------------------------- Hero --------------------------------- */

.hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem);
  overflow: hidden;
}
/* Arka planda silik bir porte (beş çizgi) */
.hero::before {
  content: "";
  position: absolute; left: -5%; right: -5%; bottom: 14%;
  height: 92px;
  background: repeating-linear-gradient(to bottom, rgba(125, 79, 39, .13) 0 1.5px, transparent 1.5px 22px);
  transform: rotate(-3deg);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(2rem, 5vw, 4.5rem);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-hand); font-size: 1.45rem; font-weight: 600; line-height: 1.1;
  color: var(--caramel);
  margin-bottom: .4rem;
}
.eyebrow-light { color: var(--gold); }

.hero h1 { margin-bottom: .45em; }
.scribble { position: relative; white-space: nowrap; font-style: italic; color: var(--coffee); }
.scribble::after {
  content: "";
  position: absolute; left: -2%; right: -2%; bottom: -.14em; height: .32em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 14C40 6 90 4 130 7c22 2 45 4 66 1' fill='none' stroke='%23B9772F' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

.lead { font-size: clamp(1.06rem, 1.5vw, 1.2rem); color: var(--ink-2); max-width: 36em; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1.4rem; }

.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; color: var(--ink-2); font-weight: 600; font-size: .98rem; }
.hero-points li { display: flex; align-items: center; gap: .4rem; }
.hero-points .icon { color: var(--caramel); stroke-width: 2.4; }

.hero-visual { position: relative; min-height: 420px; }

.polaroid {
  margin: 0;
  background: #fff;
  padding: 12px 12px 14px;
  border-radius: 4px;
  box-shadow: var(--shadow-2);
}
.polaroid img { border-radius: 2px; width: 100%; }
.polaroid figcaption {
  font-family: var(--font-hand); font-size: 1.28rem; line-height: 1.2; color: var(--ink-2);
  padding: .55rem .2rem 0;
}
.polaroid-main { position: relative; z-index: 2; width: 86%; transform: rotate(-2.2deg); }
.polaroid-main::before {
  /* bant */
  content: ""; position: absolute; top: -14px; left: 50%; width: 110px; height: 30px;
  transform: translateX(-50%) rotate(3deg);
  background: rgba(224, 181, 101, .55);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
}
.polaroid-side {
  position: absolute; z-index: 3; right: 0; bottom: -10px;
  width: 36%; padding: 8px 8px 10px;
  transform: rotate(5deg);
}
.sticky-note {
  position: absolute; z-index: 4; right: 4%; top: -6px;
  margin: 0; padding: .7rem 1rem;
  background: #FBE7A6; color: var(--ink);
  font-family: var(--font-hand); font-size: 1.4rem; line-height: 1.05; font-weight: 700;
  transform: rotate(6deg);
  box-shadow: 0 8px 18px -8px rgba(31, 42, 68, .35);
}

/* ------------------------------ Kayan şerit ------------------------------ */

.ribbon {
  background: var(--night);
  color: var(--gold);
  overflow: hidden;
  border-block: 4px solid var(--night-2);
}
.ribbon-track {
  display: flex; width: max-content;
  animation: ribbon 38s linear infinite;
}
.ribbon span {
  font-family: var(--font-display); font-style: italic; font-size: 1.3rem;
  padding: .85rem 1.6rem; white-space: nowrap;
  display: flex; align-items: center; gap: 1.6rem;
}
.ribbon span::after { content: "♪"; font-style: normal; color: rgba(224, 181, 101, .55); }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* --------------------------------- Bölümler --------------------------------- */

.section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }

.section-head { max-width: 680px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p:last-child { color: var(--muted); font-size: 1.08rem; }

/* Hakkımızda */
.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-logo {
  background: #fff; border-radius: 50%;
  aspect-ratio: 1; display: grid; place-items: center;
  padding: 12%;
  box-shadow: 0 0 0 10px var(--cream), 0 0 0 11px var(--line), var(--shadow-1);
  max-width: 380px; width: 100%; justify-self: center;
}
.about-copy p { color: var(--ink-2); }
.motto {
  margin: 1.6rem 0 0; padding: .2rem 0 .2rem 1.1rem;
  border-left: 3px solid var(--caramel);
  font-family: var(--font-display); font-style: italic; font-size: 1.45rem; color: var(--coffee);
}

/* Dersler */
.lesson-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.lesson-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.4rem;
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.lesson-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: #D6C2A2; }
.lesson-card p { color: var(--ink-2); font-size: 1rem; flex: 1; }
.lesson-icon {
  width: 64px; height: 64px; border-radius: 18px;
  display: grid; place-items: center;
  background: var(--caramel-soft); color: var(--coffee);
  margin-bottom: 1rem;
}
.lesson-icon .icon { width: 40px; height: 40px; stroke-width: 1.6; }
.lesson-card:nth-child(2n) .lesson-icon { background: #E2E6EF; color: var(--ink); }

.tags { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.tags li {
  font-size: .8rem; font-weight: 700; letter-spacing: .02em;
  padding: .2rem .65rem; border-radius: 999px;
  background: var(--cream); border: 1px solid var(--line); color: var(--ink-2);
}

/* Koro */
.choir {
  background: var(--night);
  color: #E9E1D2;
  overflow: hidden;
}
.choir::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 75% 0%, rgba(224, 181, 101, .14), transparent 70%),
    repeating-linear-gradient(to bottom, rgba(224, 181, 101, .06) 0 1px, transparent 1px 18px);
  pointer-events: none;
}
.choir h2 { color: #FBF3E4; }
.choir-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.choir-photo { margin: 0; }
.choir-photo img {
  width: 100%; border-radius: var(--radius);
  box-shadow: 0 0 0 6px rgba(224, 181, 101, .25), 0 30px 60px -20px rgba(0, 0, 0, .6);
}
.choir-photo figcaption { font-family: var(--font-hand); font-size: 1.3rem; color: var(--gold); margin-top: .9rem; }
.choir-copy p { color: #D8D0C1; }
.choir-list { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; display: grid; gap: .7rem; }
.choir-list li { padding-left: 1.6rem; position: relative; color: #D8D0C1; }
.choir-list li::before { content: "♪"; position: absolute; left: 0; color: var(--gold); }
.choir-list strong { color: #FBF3E4; }
.choir-list a { color: var(--gold); }
.choir-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Repertuvar */
.repertoire { background: var(--cream); }
.rep-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.chip-group { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  border: 1.5px solid var(--line); background: var(--paper);
  border-radius: 999px; padding: .45rem 1rem; min-height: 40px;
  font-weight: 700; font-size: .93rem; cursor: pointer; color: var(--ink-2);
  transition: all .2s ease;
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.search-field {
  display: flex; align-items: center; gap: .5rem;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px;
  padding: 0 1rem; min-height: 44px; min-width: min(100%, 300px);
}
.search-field:focus-within { border-color: var(--ink); }
.search-field .icon { color: var(--muted); }
.search-field input { border: 0; background: transparent; outline: none; width: 100%; padding: .55rem 0; }

.song-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem;
  counter-reset: song;
}
.song {
  counter-increment: song;
  display: grid; grid-template-columns: 2.2rem 1fr auto auto; align-items: center; gap: .3rem .9rem;
  padding: .85rem .2rem;
  border-bottom: 1px dashed #D9C9AF;
}
.song::before {
  content: counter(song, decimal-leading-zero);
  font-family: var(--font-display); font-style: italic; color: var(--caramel); font-size: .98rem;
  grid-row: span 2;
}
.song-title { font-weight: 700; color: var(--ink); grid-column: 2; }
.song-meta { grid-column: 2; grid-row: 2; font-size: .9rem; color: var(--muted); }
.song-tag {
  grid-column: 3; grid-row: 1 / span 2;
  font-size: .75rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  color: var(--coffee); background: var(--caramel-soft); border-radius: 999px; padding: .2rem .6rem;
}
.song .fav-btn { grid-column: 4; grid-row: 1 / span 2; }
.empty-note { margin-top: 1.4rem; color: var(--muted); }

/* Favori düğmesi */
.fav-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-grid; place-items: center;
  border: 1.5px solid var(--line); background: var(--paper); color: var(--muted);
  cursor: pointer; flex: none;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease, transform .15s ease;
}
.fav-btn .icon { width: 20px; height: 20px; }
.fav-btn:hover { color: var(--red); border-color: #E5B8B0; }
.fav-btn[aria-pressed="true"] { color: var(--red); border-color: #E5B8B0; background: #FBEDEA; }
.fav-btn[aria-pressed="true"] .icon { fill: currentColor; }
.fav-btn.pop { animation: pop .35s ease; }
@keyframes pop { 50% { transform: scale(1.22); } }

/* Enstrümanlar */
.shop { background: var(--paper); }
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.product {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.25rem 1.2rem;
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.product h3 { font-size: 1.18rem; margin-bottom: .35em; }
.product p { font-size: .95rem; color: var(--ink-2); flex: 1; }
.product-art {
  height: 130px; border-radius: 10px; margin-bottom: 1rem;
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 50% 120%, rgba(185, 119, 47, .18), transparent 60%),
    var(--cream);
  color: var(--coffee);
}
.product-art .icon { width: 84px; height: 84px; stroke-width: 1.3; }
.product:nth-child(3n+2) .product-art { color: var(--ink); }
.product-actions { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }

.wa-band {
  margin-top: 2.2rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.4rem;
  padding: 1.6rem 1.8rem;
  border-radius: var(--radius);
  background: var(--night); color: #E9E1D2;
}
.wa-band h3 { color: #FBF3E4; margin-bottom: .2em; }
.wa-band p { margin: 0; color: #CFC6B6; }
.wa-big {
  display: inline-flex; align-items: center; gap: .9rem;
  padding: .75rem 1.4rem .75rem .85rem;
  border-radius: 999px;
  background: var(--wa); color: #fff; text-decoration: none;
  font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; letter-spacing: .01em;
  transition: background-color .2s ease, transform .15s ease;
}
.wa-big:hover { background: var(--wa-hover); color: #fff; transform: translateY(-2px); }
.wa-big .icon { width: 44px; height: 44px; padding: 8px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.wa-big small { display: block; font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .04em; opacity: .85; }

.fine-print { margin-top: 1rem; font-size: .86rem; color: var(--muted); }

/* Kafe */
.cafe { background: var(--sand); }
.cafe-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.cafe-copy > p { color: var(--ink-2); }
.menu-list { list-style: none; padding: 0; margin: 1.6rem 0 1rem; display: grid; gap: .65rem; max-width: 560px; }
.menu-list li { display: flex; align-items: baseline; gap: .6rem; }
.menu-list span { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; white-space: nowrap; }
.menu-list i { flex: 1; border-bottom: 2px dotted #BFA27D; transform: translateY(-4px); min-width: 1.5rem; }
.menu-list em { color: var(--muted); font-size: .95rem; text-align: right; }
.hand-note { font-family: var(--font-hand); font-size: 1.45rem; color: var(--coffee); margin-top: 1rem; }

.cafe-art { position: relative; aspect-ratio: 1; max-width: 360px; width: 100%; justify-self: center; }
.cafe-art::before {
  content: ""; position: absolute; inset: 6%;
  border-radius: 50%; background: var(--paper);
  box-shadow: 0 0 0 1px var(--line), 0 30px 50px -30px rgba(125, 79, 39, .5);
}
.cafe-art .cup { position: absolute; inset: 22%; width: 56%; height: 56%; color: var(--coffee); stroke-width: 1.3; }
.cafe-art .note-a, .cafe-art .note-b { position: absolute; color: var(--ink); stroke-width: 1.6; }
.cafe-art .note-a { width: 56px; height: 56px; top: 4%; right: 8%; transform: rotate(12deg); animation: float 6s ease-in-out infinite; }
.cafe-art .note-b { width: 40px; height: 40px; bottom: 12%; left: 2%; transform: rotate(-10deg); color: var(--caramel); animation: float 7s ease-in-out -2s infinite; }
@keyframes float { 50% { translate: 0 -10px; } }

/* SSS */
.faq { background: var(--cream); }
.faq-list { display: grid; gap: .75rem; }
.faq details {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0 1.3rem;
  transition: border-color .2s ease;
}
.faq details[open] { border-color: #D6C2A2; }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 1.1rem 2rem 1.1rem 0; position: relative;
  font-weight: 700; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-size: 1.6rem; color: var(--caramel); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 1.1rem; margin: 0; }

/* İletişim & form */
.contact { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.form-card, .contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.4rem, 3.5vw, 2.3rem);
  box-shadow: var(--shadow-1);
}
.form-card h2, .contact-card h2 { font-size: 1.9rem; }
.contact-card { background: var(--cream); }

.form { display: grid; gap: 1rem; margin-top: 1.2rem; }
.field { display: grid; gap: .35rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-weight: 700; font-size: .95rem; }
.optional { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px;
  padding: .7rem .95rem;
  border: 1.5px solid #D9CBB5; border-radius: var(--radius-sm);
  background: var(--paper);
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F2A44' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center; background-size: 18px;
  padding-right: 2.5rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink); background: #fff;
  box-shadow: 0 0 0 4px rgba(31, 42, 68, .1);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--err); background: #FDF3F1; }
.field-hint { font-size: .85rem; color: var(--muted); }

.input-wrap { position: relative; }
.input-wrap input { padding-right: 3rem; }
.pw-toggle {
  position: absolute; right: .4rem; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 8px; border: 0; background: transparent;
  display: grid; place-items: center; color: var(--muted); cursor: pointer;
}
.pw-toggle:hover { color: var(--ink); background: var(--cream); }
.pw-toggle[aria-pressed="true"] { color: var(--caramel); }

.pw-meter { height: 5px; border-radius: 99px; background: var(--sand); overflow: hidden; }
.pw-meter span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--err); transition: width .25s ease, background-color .25s ease; }
.pw-meter[data-score="2"] span { width: 50%; background: #C98A2E; }
.pw-meter[data-score="3"] span { width: 75%; background: #7E9A3B; }
.pw-meter[data-score="4"] span { width: 100%; background: var(--ok); }
.pw-meter[data-score="1"] span { width: 25%; }

.check { display: flex; align-items: flex-start; gap: .65rem; font-size: .93rem; color: var(--ink-2); cursor: pointer; }
.check input {
  appearance: none; -webkit-appearance: none;
  flex: none; width: 22px; height: 22px; margin: .1rem 0 0;
  border: 1.5px solid #CDBB9F; border-radius: 6px; background: #fff;
  display: grid; place-items: center; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.check input::after {
  content: ""; width: 11px; height: 6px;
  border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px) scale(0);
  transition: transform .15s ease;
}
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.check.has-error input { border-color: var(--err); }

/* Bal küpü (botlar için görünmez alan) */
.hp-field { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.form-msg { margin: 0; font-weight: 600; font-size: .95rem; min-height: 1.2em; }
.form-msg:empty { display: none; }
.form-msg.is-error { color: var(--err); }
.form-msg.is-ok { color: var(--ok); }

.contact-line {
  display: flex; align-items: center; gap: .9rem;
  padding: .85rem .9rem; margin-top: .6rem;
  border-radius: 12px; background: var(--paper); border: 1px solid var(--line);
  text-decoration: none; color: var(--ink); font-weight: 700;
  transition: border-color .2s ease, transform .15s ease;
}
.contact-line:hover { border-color: var(--ink); transform: translateX(3px); color: var(--ink); }
.contact-line small { display: block; font-size: .78rem; font-weight: 700; color: var(--muted); letter-spacing: .03em; text-transform: uppercase; }
.contact-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--caramel-soft); color: var(--coffee); flex: none; }
.contact-ico .icon { width: 22px; height: 22px; }
.contact-wa .contact-ico { background: var(--wa); color: #fff; }
.banner-frame { margin: 1.4rem 0 0; }
.banner-frame img { border-radius: 12px; width: 100%; }

/* ------------------------------- Alt bilgi ------------------------------- */

.site-footer { background: var(--night); color: #CFC6B6; padding: 4rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer h3 { color: #FBF3E4; font-size: 1.05rem; font-family: var(--font-body); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .5rem; }
.site-footer a, .site-footer .link-btn { color: #CFC6B6; text-decoration: none; font-size: .96rem; }
.site-footer a:hover, .site-footer .link-btn:hover { color: var(--gold); }
.site-footer .link-btn { text-decoration: underline; }
.footer-logo {
  display: inline-block; background: #fff; border-radius: 16px; padding: .5rem 1rem;
  margin-bottom: 1rem;
}
.footer-logo img { width: 150px; }
.footer-brand p { max-width: 30ch; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 2.5rem; padding-top: 1.4rem; font-size: .88rem;
}
.footer-bottom p { margin: 0; }

/* ----------------------------- Sabit WhatsApp ----------------------------- */

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 70;
  display: flex; align-items: center; gap: .5rem;
  height: 58px; padding: 0 1.1rem 0 .95rem;
  border-radius: 999px;
  background: var(--wa); color: #fff; text-decoration: none; font-weight: 800;
  box-shadow: 0 10px 24px -8px rgba(19, 102, 55, .65);
  transition: transform .2s ease, background-color .2s ease, bottom .3s ease;
}
.wa-float:hover { background: var(--wa-hover); color: #fff; transform: translateY(-2px); }
.wa-float .icon { width: 30px; height: 30px; }
body.has-cookie-banner .wa-float { bottom: calc(18px + var(--cookie-h, 0px)); }

/* --------------------------------- Bildirim --------------------------------- */

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 120;
  transform: translateX(-50%);
  max-width: min(92vw, 460px);
  padding: .9rem 1.2rem;
  border-radius: 12px;
  background: var(--ink); color: #fff; font-weight: 600;
  box-shadow: var(--shadow-2);
  animation: toast-in .25s ease;
}
.toast.is-error { background: var(--err); }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 10px); } }

/* -------------------------------- Çerez bandı -------------------------------- */

.cookie-banner {
  position: fixed; left: 18px; bottom: 18px; z-index: 90;
  width: min(440px, calc(100vw - 36px));
  background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-radius: 16px;
  padding: 1.2rem 1.25rem 1.1rem;
  box-shadow: var(--shadow-2);
  animation: toast-in .3s ease;
}
.cookie-banner h2 { font-size: 1.2rem; margin-bottom: .35em; display: flex; align-items: center; gap: .5rem; }
.cookie-banner p { font-size: .92rem; color: var(--ink-2); margin-bottom: .9rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-actions .btn { flex: 1 1 auto; }

/* -------------------------------- Diyaloglar -------------------------------- */

dialog.modal {
  width: min(500px, calc(100vw - 32px));
  border: 0; padding: 0; border-radius: 18px;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 30px 80px -20px rgba(23, 32, 54, .55);
}
dialog.modal::backdrop { background: rgba(23, 32, 54, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.modal-body { padding: 1.6rem 1.6rem 1.4rem; }
.modal-body h2 { font-size: 1.5rem; padding-right: 2rem; }
.modal-close {
  position: absolute; right: 12px; top: 12px;
  width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent;
  display: grid; place-items: center; cursor: pointer; color: var(--muted);
}
.modal-close:hover { background: var(--sand); color: var(--ink); }
.modal-actions { display: grid; gap: .6rem; margin-top: 1.2rem; }

.consent-row {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem;
  padding: .9rem 0; border-top: 1px solid var(--line);
}
.consent-row h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 800; margin: 0 0 .2rem; }
.consent-row p { margin: 0; font-size: .88rem; color: var(--muted); }

.switch { position: relative; flex: none; width: 50px; height: 30px; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span {
  position: absolute; inset: 0; border-radius: 99px; background: #D8CCB8; transition: background-color .2s ease;
}
.switch span::after {
  content: ""; position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s ease;
}
.switch input:checked + span { background: var(--ink); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:disabled + span { opacity: .55; }
.switch input:focus-visible + span { outline: 3px solid var(--caramel); outline-offset: 2px; }

/* ------------------------------ Belirme efekti ------------------------------ */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* =============================== İç sayfalar =============================== */

.page-hero { padding: clamp(2.5rem, 6vw, 4rem) 0 1.5rem; }
.page-hero p { color: var(--muted); max-width: 60ch; }
.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: .8rem; }
.breadcrumb a { color: var(--muted); }

/* Yasal metinler */
.legal { padding-bottom: 5rem; }
.legal-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  padding: clamp(1.4rem, 4vw, 3rem);
}
.legal-card h2 { font-size: 1.45rem; margin-top: 2rem; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card h3 { font-size: 1.12rem; margin-top: 1.4rem; font-family: var(--font-body); font-weight: 800; }
.legal-card p, .legal-card li { color: var(--ink-2); }
.legal-card ul, .legal-card ol { padding-left: 1.3rem; }
.legal-card li { margin-bottom: .35rem; }
.legal-meta { font-size: .9rem; color: var(--muted); }
.legal-note {
  background: #FFF6DE; border: 1px dashed #D9B868; border-radius: 12px;
  padding: .9rem 1.1rem; font-size: .92rem; color: #6B5320; margin-bottom: 1.6rem;
}
.ph { background: #FBE7A6; padding: 0 .3em; border-radius: 4px; font-weight: 700; color: var(--ink); }
.table-wrap { overflow-x: auto; margin: 1rem 0; }
.legal-card table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 560px; }
.legal-card th, .legal-card td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-card th { background: var(--cream); font-weight: 800; }
.legal-toc { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.legal-toc a {
  display: inline-block; padding: .4rem .9rem; border-radius: 999px; border: 1.5px solid var(--line);
  text-decoration: none; color: var(--ink-2); font-weight: 700; font-size: .9rem; background: var(--paper);
}
.legal-toc a[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Giriş sayfası */
.auth-wrap { padding: clamp(2rem, 6vw, 4.5rem) 0 5rem; }
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.auth-aside h1 { font-size: clamp(2rem, 4vw, 3rem); }
.auth-aside p { color: var(--ink-2); }
.perk-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .8rem; }
.perk-list li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink-2); }
.perk-list .icon { color: var(--caramel); margin-top: .2rem; stroke-width: 2.2; }
.auth-aside .polaroid { max-width: 340px; transform: rotate(-2deg); margin-top: 2rem; }

.auth-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(1.3rem, 3.5vw, 2.2rem);
  box-shadow: var(--shadow-2);
}
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--cream); border-radius: 999px; padding: 4px; margin-bottom: 1.4rem; }
.tab {
  border: 0; background: transparent; border-radius: 999px; min-height: 44px;
  font-weight: 800; cursor: pointer; color: var(--muted);
}
.tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-1); }
.divider { display: flex; align-items: center; gap: 1rem; color: var(--muted); font-size: .9rem; margin: 1.4rem 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.guest-box { text-align: center; }
.guest-box p { font-size: .9rem; color: var(--muted); margin-top: .6rem; }
.secure-note { display: flex; align-items: center; gap: .5rem; justify-content: center; font-size: .85rem; color: var(--muted); margin-top: 1.2rem; }
.secure-note .icon { color: var(--ok); }

/* Hesabım */
.account-page { padding: clamp(2rem, 5vw, 3.5rem) 0 5rem; }
.account-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.account-head .avatar { width: 64px; height: 64px; font-size: 1.6rem; }
.account-who { display: flex; align-items: center; gap: 1rem; }
.account-who h1 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin: 0; }
.account-who p { margin: 0; color: var(--muted); }
.account-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.4rem; align-items: start; }
.panel {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: clamp(1.2rem, 3vw, 1.8rem);
}
.panel + .panel { margin-top: 1.4rem; }
.panel h2 { font-size: 1.35rem; display: flex; align-items: center; gap: .5rem; }
.panel-danger { border-color: #EBC9C3; background: #FFFBFA; }
.fav-items { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.fav-items li {
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  padding: .6rem .5rem .6rem .9rem; border-radius: 12px; background: var(--paper); border: 1px solid var(--line);
}
.fav-items .kind { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 800; color: var(--caramel); display: block; }
.empty { color: var(--muted); font-style: italic; }
.app-items { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.app-items li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem .9rem; background: var(--paper); border-radius: 12px; border: 1px solid var(--line); font-size: .95rem; }
.status { font-size: .78rem; font-weight: 800; padding: .15rem .6rem; border-radius: 99px; background: var(--caramel-soft); color: var(--coffee); white-space: nowrap; align-self: center; }

.admin-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-bottom: 1.2rem; }
.admin-stats div { background: var(--cream); border-radius: 12px; padding: .9rem; text-align: center; }
.admin-stats strong { display: block; font-family: var(--font-display); font-size: 1.8rem; }
.admin-stats span { font-size: .85rem; color: var(--muted); }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 720px; }
.admin-table th, .admin-table td { text-align: left; padding: .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table th { background: var(--cream); }
.admin-table select { padding: .3rem .4rem; border-radius: 8px; border: 1px solid var(--line); background: #fff; }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 4rem 0; }
.notfound .big { font-family: var(--font-display); font-size: clamp(5rem, 16vw, 9rem); line-height: 1; color: var(--caramel); margin: 0; }

/* ================================ Duyarlılık ================================ */

@media (max-width: 1080px) {
  .main-nav a { padding: .5rem .55rem; font-size: .93rem; }
  .shop-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  :root { --header-h: 68px; }

  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 45;
    background: var(--cream);
    padding: 1.2rem 1.25rem 2rem;
    overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .main-nav { visibility: visible; opacity: 1; transform: none; transition: opacity .2s ease, transform .2s ease; }
  .main-nav ul { flex-direction: column; gap: .2rem; }
  .main-nav a { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; padding: .7rem .4rem; border-radius: 10px; border-bottom: 1px solid var(--line); }
  .nav-mobile-extra { display: block; margin-top: 1.5rem; }
  .header-actions { margin-left: auto; }

  .hero-grid, .about-grid, .choir-grid, .cafe-grid, .contact-grid, .auth-grid, .account-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; max-width: 560px; margin: 1rem auto 0; width: 100%; padding-bottom: 2rem; }
  .about-logo { max-width: 260px; }
  .lesson-grid { grid-template-columns: 1fr 1fr; }
  .song-list { grid-template-columns: 1fr; }
  .cafe-art { max-width: 260px; order: -1; }
  .auth-aside .polaroid { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .container, .narrow { width: min(100% - 2rem, var(--container)); }
  .brand-name { font-size: 1.35rem; }
  .brand-sub { font-size: .6rem; letter-spacing: .2em; }
  .brand-mark { width: 38px; height: 45px; }
  .brand-mark img { width: 98px; left: -38px; top: -9px; }

  .account-slot .btn span { display: none; }
  .account-slot .btn { padding: .5rem; width: 42px; }
  .account-chip .chip-name { display: none; }
  .account-chip { padding: .3rem; }

  .hero-actions .btn { flex: 1 1 100%; }
  .polaroid-main { width: 88%; }
  .polaroid figcaption { font-size: 1.1rem; }
  .sticky-note { font-size: 1.15rem; padding: .5rem .75rem; }

  .lesson-grid, .shop-grid { grid-template-columns: 1fr; }
  .product-art { height: 110px; }
  .field-row { grid-template-columns: 1fr; }
  .song { grid-template-columns: 1.9rem 1fr auto; }
  .song-tag { display: none; }
  .song .fav-btn { grid-column: 3; }
  .rep-tools { flex-direction: column; align-items: stretch; }
  .chip-group { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .chip { white-space: nowrap; }

  .wa-band { padding: 1.3rem; }
  .wa-big { font-size: 1.2rem; width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }

  .wa-float { right: 14px; bottom: 14px; width: 58px; padding: 0; justify-content: center; }
  .wa-float-label { display: none; }
  body.has-cookie-banner .wa-float { bottom: calc(14px + var(--cookie-h, 0px)); }

  .cookie-banner { left: 10px; right: 10px; bottom: 10px; width: auto; }
  .admin-stats { grid-template-columns: 1fr; }
}

@media (hover: none) {
  .lesson-card:hover, .product:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .ribbon-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .wa-float, .cookie-banner, .site-footer, .ribbon { display: none !important; }
  body { background: #fff; }
}

/* ==========================================================================
   Eklenenler: Enstrüman fotoğrafları, Sepet, Duyurular, Üst bar ikonları
   ========================================================================== */

.header-quick {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.icon-pill {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  display: inline-grid;
  place-items: center;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  transition: border-color .2s ease, background-color .2s ease, transform .15s ease;
}
.icon-pill:hover { border-color: var(--ink); transform: translateY(-1px); color: var(--ink); }
.icon-pill.is-wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.icon-pill.is-wa:hover { background: var(--wa-hover); border-color: var(--wa-hover); color: #fff; }
.icon-pill .icon { width: 20px; height: 20px; }

.cart-badge {
  position: absolute;
  top: -5px; right: -5px;
  min-width: 20px; height: 20px;
  padding: 0 5px;
  border-radius: 99px;
  background: var(--caramel);
  color: #fff;
  font-size: .74rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  line-height: 1;
}

/* Enstrüman fotoğrafları */
.product-art {
  height: 170px;
  overflow: hidden;
  padding: 0;
  position: relative;
}
.product-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.product:hover .product-art img { transform: scale(1.04); }
.product-actions {
  display: flex;
  align-items: center;
  gap: .45rem;
  flex-wrap: wrap;
}
.product-actions .btn-cart { flex: 1 1 auto; }

/* Sepet diyalogu */
.cart-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: grid;
  gap: .65rem;
  max-height: 44vh;
  overflow-y: auto;
}
.cart-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem .75rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
}
.cart-item img {
  width: 52px; height: 52px;
  object-fit: cover;
  border-radius: 8px;
  flex: none;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info strong { display: block; font-size: .98rem; }
.cart-item-info small { color: var(--muted); font-size: .82rem; }
.qty-ctrl {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.qty-btn {
  width: 30px; height: 30px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-weight: 800;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.qty-btn:hover { border-color: var(--ink); }
.qty-val { min-width: 1.4rem; text-align: center; font-weight: 800; }

/* Duyurular bölümü */
.announcements { background: var(--cream); }
.ann-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.ann-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  box-shadow: var(--shadow-1);
}
.ann-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}
.ann-tag {
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: .2rem .65rem;
  border-radius: 99px;
  background: var(--caramel-soft);
  color: var(--coffee);
}
.ann-date { font-size: .82rem; color: var(--muted); }
.ann-card h3 { font-size: 1.18rem; margin: .1rem 0 0; }
.ann-card p { margin: 0; color: var(--ink-2); font-size: .96rem; white-space: pre-line; }

.ann-admin-list {
  list-style: none; padding: 0; margin: 1rem 0 0;
  display: grid; gap: .6rem;
}
.ann-admin-list li {
  display: flex; align-items: flex-start; justify-content: space-between; gap: .8rem;
  padding: .75rem .9rem; border-radius: 12px;
  background: var(--paper); border: 1px solid var(--line);
}

@media (max-width: 920px) {
  .ann-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .ann-grid { grid-template-columns: 1fr; }
  .header-quick .icon-pill.is-phone { display: none; }
}

/* ==========================================================================
   Tek HTML & Zengin Duyurular & Tam Yetkili Admin Paneli
   ========================================================================== */

dialog.modal-wide {
  width: min(760px, calc(100vw - 24px));
  max-height: 90vh;
}
dialog.modal-wide .modal-body {
  max-height: 88vh;
  overflow-y: auto;
}

.ann-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.ann-card {
  overflow: hidden;
  padding: 0;
}
.ann-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: var(--sand);
}
.ann-body-wrap {
  padding: 1.25rem 1.35rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  flex: 1;
}
.ann-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: auto;
  padding-top: .5rem;
}
.ann-admin-bar {
  display: flex;
  gap: .45rem;
  margin-top: .4rem;
  padding-top: .6rem;
  border-top: 1px dashed var(--line);
}

.photo-preview {
  margin-top: .5rem;
  border-radius: 10px;
  max-height: 180px;
  width: auto;
  object-fit: cover;
  border: 1px solid var(--line);
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: 1.2rem;
}
.admin-tabs .chip.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.rep-admin-box {
  margin-top: 1.2rem;
  padding: 1rem 1.2rem;
  background: var(--paper);
  border: 1px dashed var(--caramel);
  border-radius: var(--radius);
}
