/* ==========================================================================
   MY BIKE — Bursa downhill & enduro atölyesi
   Palet: taş zemin (ana renk) + logodan altın sarısı ve siyah (vurgu)
   Yazı: Work Sans
   ========================================================================== */

:root {
  --bg: #ecece7;
  --surface: #f6f6f2;
  --card: #ffffff;
  --line: #d6d6cf;
  --line-strong: #bdbdb5;
  --ink: #121211;
  --ink-2: #363532;
  --muted: #5d5c57;
  --accent: #d9a418;        /* logodaki altın sarısı */
  --accent-strong: #c18f0d;
  --accent-ink: #0b0b0a;
  --accent-deep: #3b2c05;   /* altın zemin üstünde ikincil yazı */
  --dark: #0b0b0a;          /* logodaki siyah */
  --dark-2: #171716;
  --dark-3: #262523;
  --on-dark: #f2f1ea;
  --on-dark-muted: #b9b8b0;
  --danger: #b4321f;

  --radius-s: 6px;
  --radius: 10px;
  --radius-l: 16px;
  --pill: 999px;

  --wrap: 1320px;
  --gutter: clamp(16px, 3vw, 32px);
  --header-h: 171px;

  --shadow-1: 0 1px 2px rgba(24, 23, 21, .06), 0 4px 14px rgba(24, 23, 21, .06);
  --shadow-2: 0 2px 4px rgba(24, 23, 21, .06), 0 14px 34px rgba(24, 23, 21, .12);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-fast: 160ms;
  --t: 260ms;

  --font: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "tnum" 0;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
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, h4 { margin: 0; font-weight: 500; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--accent); }
.site-header .annc :focus-visible, .site-header .mainnav :focus-visible, .trust :focus-visible { outline-color: var(--ink); }

html { scrollbar-color: var(--line-strong) var(--bg); overflow-x: clip; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 200;
  background: var(--accent); color: var(--accent-ink);
  padding: 12px 18px; border-radius: var(--pill); font-weight: 500;
  transform: translateY(-160%); transition: transform var(--t-fast) var(--ease-out);
}
.skip-link:focus { transform: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--accent); --b-fg: var(--accent-ink); --b-bd: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  background: var(--b-bg); color: var(--b-fg);
  border: 1px solid var(--b-bd); border-radius: var(--pill);
  font-weight: 500; font-size: 15px; letter-spacing: .005em; white-space: nowrap;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast);
}
.btn svg { width: 18px; height: 18px; transition: transform var(--t) var(--ease-out); }
.btn:hover { --b-bg: var(--accent-strong); --b-bd: var(--accent-strong); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(24,23,21,.14); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: none; }
.btn--dark { --b-bg: var(--ink); --b-fg: var(--on-dark); --b-bd: var(--ink); }
.btn--dark:hover { --b-bg: var(--dark-3); --b-bd: var(--dark-3); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--line-strong); }
.btn--ghost:hover { --b-bg: var(--card); --b-bd: var(--ink); }
.on-dark .btn--ghost, .btn--ghost.on-dark { --b-fg: var(--on-dark); --b-bd: rgba(242,241,234,.35); }
.on-dark .btn--ghost:hover, .btn--ghost.on-dark:hover { --b-bg: rgba(242,241,234,.08); --b-bd: var(--on-dark); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

.link {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 500;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px;
  padding-bottom: 2px; transition: background-size var(--t) var(--ease-out);
}
.link:hover { background-size: 100% 1px; }
.link svg { width: 16px; height: 16px; transition: transform var(--t) var(--ease-out); }
.link:hover svg { transform: translateX(3px); }

/* ---------- Image placeholder ("Görsel eklenecek") ---------- */
.ph {
  position: relative; width: 100%; height: 100%;
  display: grid; place-content: center; justify-items: center; gap: 8px;
  text-align: center; padding: 16px;
  color: var(--muted);
  background:
    repeating-linear-gradient(135deg, rgba(24,23,21,.035) 0 12px, transparent 12px 24px),
    #e3e3dc;
  overflow: hidden;
}
.ph svg { width: 34px; height: 34px; opacity: .7; }
.ph b { font-weight: 500; font-size: 14px; color: var(--ink-2); }
.ph small { font-size: 12.5px; line-height: 1.35; max-width: 26ch; color: var(--ink-2); }
.ph--dark small { color: var(--on-dark-muted); }
.ph--dark {
  color: var(--on-dark-muted);
  background:
    repeating-linear-gradient(135deg, rgba(242,241,234,.04) 0 14px, transparent 14px 28px),
    linear-gradient(160deg, #2f2e2a, #1b1a18 70%);
}
.ph--dark b { color: var(--on-dark); }
.ph--corner { place-content: end start; justify-items: start; text-align: left; padding: 20px; }
.ph--corner svg { width: 22px; height: 22px; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph.has-img > :not(img) { display: none; }

.frame { position: relative; overflow: hidden; border-radius: var(--radius); background: #e3e3dc; }
.frame > .ph { transition: transform 600ms var(--ease-out); }

/* ---------- Announcement + header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; }
.annc {
  background: var(--accent); color: var(--accent-ink);
  font-size: 13.5px; font-weight: 500;
}
.annc .wrap { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 36px; text-align: center; }
.annc a { text-decoration: underline; text-underline-offset: 3px; }
.annc .sep { opacity: .5; }

.topbar { background: var(--dark); color: var(--on-dark); }
.topbar .wrap { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; min-height: 76px; }

.logo { display: inline-flex; align-items: center; gap: 14px; color: var(--on-dark); }
/* Logo siyah zeminli JPG: koyu zeminde "screen" ile siyah kısım görünmez olur */
.logo img, .brand-emblem { mix-blend-mode: screen; }
.logo img { height: 70px; width: auto; margin-block: 4px; transition: transform var(--t) var(--ease-out); }
.logo:hover img { transform: scale(1.04); }
.logo-text { display: grid; gap: 5px; line-height: 1; padding-left: 14px; border-left: 1px solid rgba(242,241,234,.16); }
.logo-text span { font-size: 11px; letter-spacing: .14em; color: var(--on-dark-muted); text-transform: uppercase; }
.logo-text span:first-child { color: var(--accent); font-weight: 600; }
.foot-brand .logo img { height: 112px; }
.w-hero-logo { height: clamp(88px, 9vw, 128px); width: auto; margin-bottom: 4px; }
.btn:not(.btn--dark):not(.btn--ghost) { background-image: linear-gradient(180deg, rgba(255,255,255,.16), rgba(0,0,0,.05)); }

.search { position: relative; max-width: 560px; width: 100%; justify-self: center; }
.search input {
  width: 100%; height: 46px; border-radius: var(--pill);
  border: 1px solid transparent; background: var(--dark-3); color: var(--on-dark);
  padding: 0 52px 0 20px; font-size: 15px;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.search input::placeholder { color: var(--on-dark-muted); }
.search input:focus { outline: none; border-color: var(--accent); background: #383732; }
.search button {
  position: absolute; right: 4px; top: 4px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: var(--accent-ink);
  transition: transform var(--t-fast) var(--ease-out);
}
.search button:hover { transform: scale(1.06); }
.search button svg { width: 18px; height: 18px; }

.actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 12px; border-radius: var(--pill); color: var(--on-dark);
  font-size: 14.5px; font-weight: 500; transition: background var(--t-fast);
}
.icon-btn:hover { background: var(--dark-3); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: 2px; left: 22px; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: var(--pill); background: var(--accent); color: var(--accent-ink);
  font-size: 11.5px; font-weight: 600; display: grid; place-items: center;
}
.cart-count.bump { animation: bump 420ms var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.35); } }
.menu-btn { display: none; }
.icon-btn .label { margin-left: 2px; }
.nb { white-space: nowrap; }

/* Main nav */
.mainnav { background: var(--card); border-bottom: 1px solid var(--line); }
.mainnav .wrap { display: flex; align-items: stretch; gap: 4px; min-height: 56px; }
.nav-item { position: static; display: flex; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 0 16px;
  font-size: 14px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase;
  position: relative; color: var(--ink);
}
.nav-link::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 3px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t) var(--ease-out);
}
.nav-item:hover .nav-link::after, .nav-item:focus-within .nav-link::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link svg { width: 14px; height: 14px; transition: transform var(--t) var(--ease-out); }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }
.nav-item--push { margin-left: auto; }
.nav-item:first-child .nav-link { padding-left: 0; }
.nav-item:first-child .nav-link::after { left: 0; }

.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--card); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--t-fast), transform var(--t) var(--ease-out), visibility 0s linear var(--t);
}
.nav-item:hover .mega, .nav-item:focus-within .mega {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.mega .wrap { display: grid; grid-template-columns: 260px 1fr; gap: 40px; padding-block: 32px 36px; min-height: 0; }
.mega-intro h3 { font-size: 24px; margin-bottom: 10px; }
.mega-intro p { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
.mega-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 32px; }
.mega-cols--tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.mega-col h4 { font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.mega-col h4 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mega-col li a { display: block; padding: 4px 0; font-size: 14.5px; color: var(--muted); transition: color var(--t-fast), transform var(--t-fast); }
.mega-col li a:hover { color: var(--ink); transform: translateX(3px); }
.mega-tile { display: grid; gap: 10px; }
.mega-tile .frame { aspect-ratio: 4 / 3; }
.mega-tile .ph { gap: 4px; }
.mega-tile .ph svg { width: 24px; height: 24px; }
.mega-tile .ph small { display: none; }
.mega-tile span { font-weight: 500; font-size: 15px; }
.mega-tile:hover .frame > .ph { transform: scale(1.03); }

/* ---------- Layout spacing ---------- */
main { padding-top: var(--header-h); }
.section { padding-block: clamp(56px, 7vw, 96px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--white { background: var(--surface); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.sec-head h2 { font-size: clamp(28px, 3.2vw, 40px); }
.sec-head p { color: var(--muted); margin-top: 10px; max-width: 60ch; }

/* ---------- Hero (home) ---------- */
.hero { padding-top: 24px; }
.hero-grid {
  display: grid; grid-template-columns: 1.65fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px;
  height: clamp(520px, calc(100svh - var(--header-h) - 48px), 720px);
}
.hero-main { grid-row: 1 / 3; position: relative; border-radius: var(--radius-l); overflow: hidden; color: var(--on-dark); }
.hero-main .ph { position: absolute; inset: 0; }
.hero-main::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(20,19,17,.82) 0%, rgba(20,19,17,.45) 55%, rgba(20,19,17,0) 85%);
}
.hero-copy {
  position: absolute; z-index: 2; left: clamp(24px, 4vw, 56px); bottom: clamp(24px, 4vw, 56px); right: 24px;
  max-width: 620px; display: grid; gap: 20px;
}
.hero-copy h1 { font-size: clamp(36px, 4.6vw, 64px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.02; }
.hero-copy p { font-size: clamp(16px, 1.3vw, 18px); color: #dcdbd3; max-width: 46ch; }
.hero-copy .row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero-tag {
  position: absolute; z-index: 2; top: 20px; right: 20px;
}
.hero-side { position: relative; border-radius: var(--radius-l); overflow: hidden; display: block; color: var(--on-dark); }
.hero-side .ph { position: absolute; inset: 0; transition: transform 700ms var(--ease-out); }
.hero-side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,19,17,.75), rgba(20,19,17,0) 65%); pointer-events: none; }
.hero-side:hover .ph { transform: scale(1.03); }
.hero-side .copy { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px; display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.hero-side h2 { font-size: clamp(22px, 2vw, 28px); }
.hero-side p { color: #d6d5cd; font-size: 14.5px; margin-top: 6px; }
.round-arrow {
  flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink); transition: transform var(--t) var(--ease-out);
}
.round-arrow svg { width: 20px; height: 20px; }
.hero-side:hover .round-arrow { transform: translateX(4px); }
.ph-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--pill);
  background: rgba(24,23,21,.55); color: var(--on-dark-muted); font-size: 12.5px; backdrop-filter: blur(6px);
}
.ph-chip svg { width: 15px; height: 15px; }

/* Trust strip under hero */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.fact { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); }
.fact svg { flex: none; width: 28px; height: 28px; color: var(--ink); }
.fact b { display: block; font-weight: 600; font-size: 15px; }
.fact span { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.4; }

/* ---------- Category tiles (disciplines) ---------- */
.disc-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.disc {
  display: grid; grid-template-rows: auto 1fr; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform var(--t) var(--ease-out), box-shadow var(--t), border-color var(--t);
}
.disc:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: transparent; }
.disc .frame { border-radius: 0; aspect-ratio: 4 / 3.4; }
.disc:hover .frame > .ph { transform: scale(1.03); }
.disc-body { padding: 16px 18px 18px; display: grid; gap: 4px; align-content: start; }
.disc-body h3 { font-size: 20px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.disc-body h3 svg { width: 18px; height: 18px; transition: transform var(--t) var(--ease-out); }
.disc:hover h3 svg { transform: translateX(3px); }
.disc-body p { color: var(--muted); font-size: 14px; line-height: 1.45; }
.disc-body .count { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ---------- Product cards ---------- */
.p-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.p-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.p-card {
  position: relative; display: grid; grid-template-rows: auto 1fr; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform var(--t) var(--ease-out), box-shadow var(--t), border-color var(--t);
}
.p-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: transparent; }
.p-card .frame { aspect-ratio: 1 / 1; border-radius: 0; background: var(--surface); }
.p-card .ph { background: repeating-linear-gradient(135deg, rgba(24,23,21,.03) 0 12px, transparent 12px 24px), #efefea; }
.p-card:hover .frame > .ph { transform: scale(1.03); }
.badge {
  position: absolute; z-index: 2; top: 12px; left: 12px; padding: 4px 10px; border-radius: var(--pill);
  font-size: 12px; font-weight: 600; background: var(--accent); color: var(--accent-ink);
}
.badge--sale { background: var(--ink); color: var(--on-dark); }
.p-body { display: grid; grid-template-rows: auto auto 1fr; gap: 6px; padding: 16px 18px 18px; }
.p-cat { font-size: 12.5px; color: var(--muted); letter-spacing: .02em; }
.p-name { font-size: 15.5px; font-weight: 500; line-height: 1.35; }
.p-name a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.p-foot { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-top: 10px; }
.p-price { display: grid; line-height: 1.2; }
.p-price b { font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.p-price s { font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.add-btn {
  position: relative; z-index: 2; flex: none; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: var(--accent-ink);
  transition: transform var(--t-fast) var(--ease-out), background var(--t-fast);
}
.add-btn svg { width: 20px; height: 20px; }
.add-btn:hover { background: var(--accent-strong); transform: scale(1.06); }
.add-btn:active { transform: scale(.94); }
.add-btn.done { background: var(--ink); color: var(--on-dark); }

/* ---------- Promo banners ---------- */
.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.promo {
  position: relative; display: block; min-height: 340px; border-radius: var(--radius-l); overflow: hidden; color: var(--on-dark);
}
.promo .ph { position: absolute; inset: 0; transition: transform 700ms var(--ease-out); }
.promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,19,17,.8), rgba(20,19,17,.15) 75%); pointer-events: none; }
.promo:hover .ph { transform: scale(1.03); }
.promo .copy { position: absolute; z-index: 2; inset: auto 32px 32px 32px; display: grid; gap: 12px; justify-items: start; max-width: 380px; }
.promo h2 { font-size: clamp(26px, 2.6vw, 36px); }
.promo p { color: #d6d5cd; }
.promo .btn { margin-top: 6px; }
.promo:hover .btn { --b-bg: var(--accent-strong); }

/* ---------- Part groups ---------- */
.part-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.part {
  display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center;
  padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform var(--t) var(--ease-out), box-shadow var(--t), border-color var(--t);
}
.part:hover { transform: translateY(-2px); box-shadow: var(--shadow-1); border-color: transparent; }
.part .frame { aspect-ratio: 1; border-radius: var(--radius-s); }
.part .ph { gap: 0; padding: 6px; }
.part .ph b, .part .ph small { display: none; }
.part .ph svg { width: 24px; height: 24px; }
.part:hover .frame > .ph { transform: scale(1.03); }
.part h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 4px; }
.part p { font-size: 13.5px; color: var(--muted); line-height: 1.4; }

/* ---------- Workshop band (home) ---------- */
.band { background: var(--dark); color: var(--on-dark); }
.band-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.band h2 { font-size: clamp(30px, 3.4vw, 46px); margin-bottom: 18px; }
.band .lead { color: var(--on-dark-muted); font-size: 17px; max-width: 52ch; }
.svc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin-block: 28px 32px; border-top: 1px solid rgba(242,241,234,.14); }
.svc-list li { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(242,241,234,.14); font-weight: 500; }
.svc-list svg { flex: none; width: 20px; height: 20px; color: var(--accent); }
.band .row { display: flex; flex-wrap: wrap; gap: 12px; }
.mosaic { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: clamp(420px, 42vw, 560px); }
.mosaic .frame { border-radius: var(--radius); }
.mosaic .frame:first-child { grid-row: 1 / 3; }

/* ---------- Trust band + footer ---------- */
.trust { background: var(--accent); color: var(--accent-ink); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-block: 28px; }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item svg { flex: none; width: 30px; height: 30px; }
.trust-item b { display: block; font-weight: 600; }
.trust-item span { display: block; font-size: 14px; color: var(--accent-deep); }

.site-footer { background: var(--dark); color: var(--on-dark); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) 1.3fr; gap: 40px; padding-block: 64px 48px; }
.foot-brand p { color: var(--on-dark-muted); font-size: 14.5px; margin-top: 18px; max-width: 34ch; }
.foot-brand address { font-style: normal; color: var(--on-dark-muted); font-size: 14.5px; margin-top: 16px; display: grid; gap: 6px; }
.site-footer .foot-h { font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; color: var(--on-dark); }
.site-footer li a { display: inline-block; padding: 5px 0; color: var(--on-dark-muted); font-size: 14.5px; transition: color var(--t-fast); }
.site-footer li a:hover { color: var(--on-dark); }
.newsletter p { color: var(--on-dark-muted); font-size: 14.5px; margin-bottom: 14px; }
.newsletter form { display: flex; gap: 8px; }
.newsletter input {
  flex: 1; min-width: 0; height: 48px; border-radius: var(--pill); border: 1px solid rgba(242,241,234,.2);
  background: var(--dark-2); color: var(--on-dark); padding: 0 18px;
}
.newsletter input::placeholder { color: #8f8e86; }
.newsletter input:focus { outline: none; border-color: var(--accent); }
.newsletter .msg { font-size: 13.5px; margin-top: 10px; color: var(--accent); min-height: 1.4em; }
.foot-bottom { border-top: 1px solid rgba(242,241,234,.12); }
.foot-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px; font-size: 13.5px; color: #8f8e86; }

/* ---------- Page header (inner pages) ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--muted); padding-top: 28px; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs span[aria-hidden] { opacity: .5; }
.page-title { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; padding-block: 14px 28px; }
.page-title h1 { font-size: clamp(32px, 3.6vw, 48px); }
.page-title p { color: var(--muted); margin-top: 8px; max-width: 60ch; }

/* ---------- Shop ---------- */
.shop { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; padding-bottom: 96px; }
.filters { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 0; }
.filters h2 { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 14px 20px 8px; }
.ftree a {
  display: flex; justify-content: space-between; gap: 8px; padding: 9px 20px; font-size: 14.5px; color: var(--ink-2);
  transition: background var(--t-fast), color var(--t-fast);
}
.ftree a:hover { background: var(--surface); color: var(--ink); }
.ftree a[aria-current="true"] { background: var(--ink); color: var(--on-dark); }
.ftree a[aria-current="true"] em { color: var(--on-dark-muted); }
.ftree em { font-style: normal; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.ftree .lvl-0 > a { font-weight: 600; }
.ftree .lvl-1 > a { padding-left: 32px; }
.ftree .lvl-2 > a { padding-left: 46px; font-size: 14px; }
.ftree details > summary { list-style: none; }
.ftree details > summary::-webkit-details-marker { display: none; }
.ftree hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.price-filter { padding: 6px 20px 16px; display: grid; gap: 10px; }
.price-filter .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.field input, .field select, .field textarea {
  width: 100%; height: 44px; border: 1px solid var(--line-strong); border-radius: var(--radius-s);
  background: var(--card); padding: 0 12px; font-size: 15px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { height: auto; min-height: 120px; padding: 12px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(217,164,24,.35); }
.field .err { color: var(--danger); font-size: 13px; margin-top: 4px; min-height: 0; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.toolbar .count { color: var(--muted); font-size: 14.5px; }
.toolbar .sort { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.toolbar select { height: 42px; border-radius: var(--pill); border: 1px solid var(--line-strong); background: var(--card); padding: 0 16px; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--pill);
  background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 500;
  transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast);
}
.chip:hover { border-color: var(--ink); transform: translateY(-1px); }
.chip[aria-current="true"] { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.filter-toggle { display: none; }
.empty { padding: 64px 24px; text-align: center; background: var(--card); border: 1px dashed var(--line-strong); border-radius: var(--radius); display: grid; gap: 12px; justify-items: center; }
.empty h2 { font-size: 22px; }
.empty p { color: var(--muted); max-width: 44ch; }

/* ---------- Product detail ---------- */
.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 4vw, 56px); padding-bottom: 72px; align-items: start; }
.gallery { display: grid; gap: 12px; }
.gallery .main { aspect-ratio: 4 / 5; border-radius: var(--radius-l); background: var(--card); border: 1px solid var(--line); }
.gallery .thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery .thumbs button { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--card); transition: border-color var(--t-fast); }
.gallery .thumbs button[aria-pressed="true"], .gallery .thumbs button:hover { border-color: var(--ink); }
.gallery .thumbs .ph b, .gallery .thumbs .ph small { display: none; }
.gallery .thumbs .ph svg { width: 22px; height: 22px; }
.buy { display: grid; gap: 20px; }
.buy h1 { font-size: clamp(28px, 2.8vw, 38px); }
.buy .price { display: flex; align-items: baseline; gap: 14px; }
.buy .price b { font-size: 32px; font-weight: 600; font-variant-numeric: tabular-nums; }
.buy .price s { color: var(--muted); font-size: 18px; }
.buy .meta { color: var(--muted); font-size: 14.5px; }
.qty-row { display: flex; gap: 12px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--pill); background: var(--card); height: 52px; }
.qty button { width: 48px; height: 100%; display: grid; place-items: center; border-radius: var(--pill); }
.qty button:hover { background: var(--surface); }
.qty button svg { width: 16px; height: 16px; }
.qty output { min-width: 32px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.qty-row .btn { flex: 1; min-height: 52px; }
.perks { display: grid; gap: 0; border-top: 1px solid var(--line); }
.perks li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.perks svg { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.perks b { display: block; font-weight: 600; }
.perks span { color: var(--muted); }
.specs { width: 100%; border-collapse: collapse; font-size: 14.5px; background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.specs th, .specs td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.specs th { width: 42%; color: var(--muted); font-weight: 500; background: var(--surface); }
.buy h2 { font-size: 18px; font-weight: 600; }
.note { font-size: 14px; color: var(--muted); }

/* ---------- Workshop page ---------- */
.w-hero { position: relative; color: var(--on-dark); background: var(--dark); }
.w-hero-inner { position: relative; display: grid; align-content: end; min-height: clamp(520px, calc(100svh - var(--header-h)), 760px); padding-block: 64px; }
.w-hero .bg { position: absolute; inset: 0; }
.w-hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,19,17,.92) 0%, rgba(20,19,17,.35) 60%, rgba(20,19,17,.15)); }
.w-hero .copy { position: relative; display: grid; /* z-index yok: logonun "screen" karışımı zeminle buluşsun */ gap: 22px; max-width: 760px; }
.w-hero h1 { font-size: clamp(40px, 5.6vw, 80px); letter-spacing: -0.035em; line-height: 1; }
.w-hero p { font-size: clamp(16px, 1.4vw, 19px); color: #d6d5cd; max-width: 54ch; }
.w-hero .row { display: flex; flex-wrap: wrap; gap: 12px; }
.w-hero .hero-tag { top: auto; bottom: 24px; right: var(--gutter); }

.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.story h2 { font-size: clamp(30px, 3.4vw, 46px); margin-bottom: 20px; }
.story .text { display: grid; gap: 16px; color: var(--ink-2); font-size: 17px; max-width: 58ch; }
.story .frame { aspect-ratio: 4 / 5; border-radius: var(--radius-l); }
.story-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 12px; border-top: 1px solid var(--line); }
.story-stats div { padding: 18px 16px 0 0; }
.story-stats b { display: block; font-size: 15px; font-weight: 600; }
.story-stats span { font-size: 14px; color: var(--muted); }

.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.svc { padding: 28px 28px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); display: grid; gap: 10px; align-content: start; transition: background var(--t); }
.svc:hover { background: var(--surface); }
.svc svg { width: 30px; height: 30px; margin-bottom: 8px; }
.svc h3 { font-size: 21px; }
.svc p { color: var(--muted); font-size: 15px; }

.gal { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(160px, 16vw, 230px); gap: 12px; }
.gal .frame:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.gal .frame:nth-child(2) { grid-column: span 5; }
.gal .frame:nth-child(3) { grid-column: span 5; }
.gal .frame:nth-child(4) { grid-column: span 4; }
.gal .frame:nth-child(5) { grid-column: span 4; }
.gal .frame:nth-child(6) { grid-column: span 4; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.step { padding: 24px; border-radius: var(--radius); background: var(--dark-2); border: 1px solid rgba(242,241,234,.1); display: grid; gap: 10px; align-content: start; }
.step svg { width: 28px; height: 28px; color: var(--accent); margin-bottom: 6px; }
.step h3 { font-size: 19px; }
.step p { color: var(--on-dark-muted); font-size: 15px; }
.band .sec-head p { color: var(--on-dark-muted); }

.visit { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.visit-name { font-size: clamp(44px, 6vw, 88px); line-height: .95; letter-spacing: -0.04em; font-weight: 500; margin-bottom: 28px; }
.visit dl { display: grid; grid-template-columns: 120px 1fr; gap: 14px 20px; margin: 0 0 28px; font-size: 16px; }
.visit dt { color: var(--muted); }
.visit dd { margin: 0; font-weight: 500; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(24px, 3vw, 36px); }
.form-card h2 { font-size: 26px; margin-bottom: 6px; }
.form-card > p { color: var(--muted); margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-status { font-size: 14.5px; margin-top: 12px; min-height: 1.4em; }

/* ---------- Cart drawer ---------- */
.drawer-backdrop { position: fixed; inset: 0; z-index: 150; background: rgba(20,19,17,.45); opacity: 0; visibility: hidden; transition: opacity var(--t), visibility 0s linear var(--t); }
.drawer {
  position: fixed; z-index: 160; top: 0; right: 0; bottom: 0; width: min(440px, 100%);
  background: var(--card); display: grid; grid-template-rows: auto 1fr auto;
  transform: translateX(100%); visibility: hidden;
  transition: transform 420ms var(--ease-out), visibility 0s linear 420ms;
  box-shadow: -20px 0 50px rgba(20,19,17,.18);
}
body.cart-open .drawer { transform: none; visibility: visible; transition-delay: 0s; }
body.cart-open .drawer-backdrop { opacity: 1; visibility: visible; transition-delay: 0s; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 22px; }
.close-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; transition: background var(--t-fast); }
.close-btn:hover { background: var(--surface); }
.close-btn svg { width: 20px; height: 20px; }
.drawer-body { overflow: auto; padding: 8px 24px; overscroll-behavior: contain; }
.c-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.c-item .frame { aspect-ratio: 1; border-radius: var(--radius-s); }
.c-item .ph b, .c-item .ph small { display: none; }
.c-item .ph svg { width: 20px; height: 20px; }
.c-item h3 { font-size: 14.5px; font-weight: 500; line-height: 1.35; }
.c-item .mini-qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; border: 1px solid var(--line); border-radius: var(--pill); }
.c-item .mini-qty button { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; }
.c-item .mini-qty button:hover { background: var(--surface); }
.c-item .mini-qty svg { width: 14px; height: 14px; }
.c-item .mini-qty span { min-width: 20px; text-align: center; font-size: 14px; font-weight: 600; }
.c-item .line-total { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.c-item .rm { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; min-height: 0; }
.c-item .rm:hover { color: var(--danger); }
.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.drawer-foot .sum { display: flex; justify-content: space-between; font-size: 18px; }
.drawer-foot .sum b { font-variant-numeric: tabular-nums; }
.drawer-foot .note { font-size: 13.5px; }
.cart-empty { padding: 48px 0; text-align: center; color: var(--muted); display: grid; gap: 16px; justify-items: center; }

.toast {
  position: fixed; z-index: 170; left: 50%; bottom: 24px; transform: translate(-50%, 20px);
  background: var(--ink); color: var(--on-dark); padding: 12px 18px; border-radius: var(--pill);
  font-size: 14.5px; display: flex; align-items: center; gap: 10px; opacity: 0; pointer-events: none;
  transition: opacity var(--t), transform var(--t) var(--ease-out); box-shadow: var(--shadow-2);
}
.toast svg { width: 18px; height: 18px; color: var(--accent); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Mobile menu ---------- */
.mnav > a svg { width: 18px; height: 18px; }
.mnav { position: fixed; inset: 0; z-index: 95; background: var(--card); overflow: auto; padding: calc(var(--header-h) + 8px) var(--gutter) 40px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity var(--t), transform var(--t) var(--ease-out), visibility 0s linear var(--t); }
body.menu-open .mnav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mnav details { border-bottom: 1px solid var(--line); }
.mnav summary, .mnav > a { display: flex; justify-content: space-between; align-items: center; min-height: 56px; font-size: 18px; font-weight: 500; cursor: pointer; list-style: none; }
.mnav > a { border-bottom: 1px solid var(--line); }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary svg { width: 18px; height: 18px; transition: transform var(--t); }
.mnav details[open] summary svg { transform: rotate(180deg); }
.mnav .sub { padding: 0 0 16px 4px; display: grid; }
.mnav .sub a { min-height: 44px; display: flex; align-items: center; color: var(--muted); font-size: 16px; }
.mnav .sub a.all { color: var(--ink); font-weight: 500; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .mega-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .p-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .part-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; }
  .foot-grid .newsletter { grid-column: 1 / -1; max-width: 520px; }
  .disc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .disc-grid .disc:nth-child(4), .disc-grid .disc:nth-child(5) { grid-column: span 1; }
}

@media (max-width: 980px) {
  :root { --header-h: 128px; }
  .mainnav { display: none; }
  .menu-btn { display: inline-flex; }
  .icon-btn .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .topbar .wrap { grid-template-columns: auto auto; justify-content: space-between; gap: 16px; min-height: 64px; }
  .topbar .search { grid-column: 1 / -1; grid-row: 2; max-width: none; margin-bottom: 12px; }
  .topbar .search input { height: 42px; }
  .topbar .search button { width: 34px; height: 34px; }
  :root { --header-h: 164px; }

  .hero-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; height: auto; }
  .hero-main { grid-column: 1 / -1; grid-row: auto; min-height: clamp(460px, 70svh, 600px); }
  .hero-side { min-height: 240px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band-grid, .story, .visit, .pdp { grid-template-columns: 1fr; }
  .shop { grid-template-columns: 1fr; }
  .filters { display: none; }
  .filters.open { display: block; }
  .filter-toggle { display: inline-flex; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story .frame { aspect-ratio: 4 / 3; }
}

@media (max-width: 720px) {
  .annc .wrap { font-size: 12.5px; }
  .annc .hide-s { display: none; }
  .logo-text { display: none; }
  .topbar .logo img { height: 50px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-main { min-height: 540px; }
  .hero-main::after { background: linear-gradient(0deg, rgba(20,19,17,.9) 10%, rgba(20,19,17,.35) 70%, rgba(20,19,17,.15)); }
  .hero-copy .row .btn { flex: 1 1 100%; }
  .facts { grid-template-columns: 1fr; }
  .disc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .disc-body { padding: 12px 14px 14px; }
  .disc-body h3 { font-size: 17px; }
  .disc-body p { display: none; }
  .disc:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .disc:last-child:nth-child(odd) .frame { aspect-ratio: 16 / 7; }
  .p-grid, .p-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .p-body { padding: 12px 12px 14px; }
  .p-name { font-size: 14px; }
  .p-price b { font-size: 16px; }
  .add-btn { width: 44px; height: 44px; }
  .promo-grid, .part-grid { grid-template-columns: 1fr; }
  .promo { min-height: 300px; }
  .promo .copy { inset: auto 22px 24px 22px; }
  .promo .btn { width: 100%; }
  .sec-head { flex-direction: column; align-items: start; }
  .svc-list { grid-template-columns: 1fr; }
  .band .row .btn, .w-hero .row .btn { flex: 1 1 100%; }
  .mosaic { height: 380px; }
  .trust .wrap { grid-template-columns: 1fr; gap: 16px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; padding-block: 48px 36px; }
  .foot-brand, .foot-grid .newsletter { grid-column: 1 / -1; }
  .svc-grid, .steps { grid-template-columns: 1fr; }
  .gal { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .gal .frame:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .gal .frame:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .form-grid { grid-template-columns: 1fr; }
  .visit dl { grid-template-columns: 1fr; gap: 2px; }
  .visit dd { margin-bottom: 12px; }
  .story-stats { grid-template-columns: 1fr; }
  .toolbar .sort { width: 100%; }
  .toolbar select { flex: 1; }
  .qty-row .btn { flex: 1 1 100%; }
  .w-hero .hero-tag { display: none; }
  .site-footer li a, .sec-head .link, .foot-bottom a, .crumbs a { min-height: 44px; display: inline-flex; align-items: center; }
  .crumbs { gap: 0 8px; padding-top: 12px; }
  .site-footer li a { padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
}

/* Fiyatı girilmemiş ürünler */
.p-price b.ask { font-size: 15px; font-weight: 600; white-space: nowrap; }
@media (max-width: 720px) { .p-price { min-width: 0; } .p-price b.ask { white-space: normal; font-size: 14px; line-height: 1.25; } }

/* ---------- Hukuki metinler ---------- */
.legal { max-width: 820px; padding-block: 16px 96px; color: var(--ink-2); font-size: 16.5px; line-height: 1.7; }
.legal h1 { font-size: clamp(30px, 3.4vw, 42px); color: var(--ink); margin-bottom: 8px; }
.legal h2 { font-size: 21px; color: var(--ink); margin: 40px 0 12px; }
.legal p { margin: 0 0 14px; }
.legal-meta { color: var(--muted); font-size: 14.5px; margin-bottom: 28px !important; }
.legal-list { list-style: disc; padding-left: 22px; margin: 0 0 14px; display: grid; gap: 8px; }
.legal-dl { display: grid; grid-template-columns: 170px 1fr; gap: 10px 20px; margin: 0 0 14px; }
.legal-dl dt { color: var(--muted); }
.legal-dl dd { margin: 0; font-weight: 500; color: var(--ink); }
.legal-table-wrap { overflow-x: auto; margin: 0 0 16px; }
.legal-table { min-width: 560px; font-size: 14.5px; line-height: 1.5; }
.legal-table thead th { background: var(--surface); color: var(--ink); font-weight: 600; width: auto; }
.legal-table td { color: var(--ink-2); }
.legal code { white-space: nowrap; font-size: 13.5px; background: var(--surface); padding: 1px 6px; border-radius: 4px; }
.fill { background: #f6e7a8; color: var(--accent-deep); padding: 0 4px; border-radius: 3px; }
.legal-note { font-size: 13.5px; color: var(--muted); margin-top: 12px; line-height: 1.5; }
.legal-note a, .drawer-foot .note a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px) { .legal-dl { grid-template-columns: 1fr; gap: 2px; } .legal-dl dd { margin-bottom: 10px; } }

/* WhatsApp düğmesi */
.btn--wa, .btn.btn--wa:not(.btn--dark):not(.btn--ghost) { --b-bg: #25d366; --b-bd: #25d366; --b-fg: #0b0b0a; background-image: none; }
.btn--wa:hover { --b-bg: #1fb457; --b-bd: #1fb457; }
.legal-h3 { font-size: 17px; color: var(--ink); margin: 24px 0 10px; font-weight: 600; }
.legal-dl > div { display: contents; }
.legal-dl > div[hidden] { display: none; }

/* ---------- Ana sayfa kategori kutuları ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cat-tile {
  display: grid; grid-template-rows: auto 1fr; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform var(--t) var(--ease-out), box-shadow var(--t), border-color var(--t);
}
.cat-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: transparent; }
.cat-tile .frame { aspect-ratio: 4 / 3; border-radius: 0; }
.cat-tile:hover .frame > .ph { transform: scale(1.03); }
.cat-tile-body { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px 20px; }
.cat-tile-body h3 { font-size: 22px; }
.cat-tile-body p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.cat-tile:hover .round-arrow { transform: translateX(4px); }
@media (max-width: 980px) { .cat-grid { grid-template-columns: 1fr 1fr; } .cat-grid .cat-tile:last-child { grid-column: 1 / -1; } .cat-grid .cat-tile:last-child .frame { aspect-ratio: 16 / 7; } }
@media (max-width: 720px) { .cat-grid { grid-template-columns: 1fr; gap: 12px; } .cat-grid .cat-tile:last-child .frame { aspect-ratio: 4 / 3; } }
/* Kategori kutuları: 4 sütun */
.cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cat-tile .frame { aspect-ratio: 1 / 1; }
@media (max-width: 1180px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cat-tile .frame { aspect-ratio: 4 / 3; } }
@media (max-width: 980px) { .cat-grid .cat-tile:last-child { grid-column: auto; } .cat-grid .cat-tile:last-child .frame { aspect-ratio: 4 / 3; } }
@media (max-width: 720px) { .cat-grid { grid-template-columns: 1fr; } }

/* Beyaz zeminli stüdyo fotoğrafları: kırpmadan sığdır */
.frame.fit-contain, .frame.fit-contain .ph { background: #fff; }
.frame.fit-contain .ph img { object-fit: contain; padding: 6%; }

/* Ana sayfa yan bannerlar: beyaz zemin, stüdyo fotoğrafı, koyu yazı, sarı ok */
.hero-side--light { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.hero-side--light::after { display: none; }
.hero-side--light .ph { inset: 12px 12px 92px 12px; width: auto; height: auto; background: #fff; }
.hero-side--light .ph img { object-fit: contain; }
.hero-side--light h2 { color: var(--ink); }
.hero-side--light p { color: var(--muted); }
@media (max-width: 720px) { .hero-side--light { min-height: 320px; } .hero-side--light .ph { bottom: 110px; } }

/* Ürün durumu: ikinci el etiketi */
.cond-tag { position: absolute; z-index: 2; top: 12px; right: 12px; padding: 4px 10px; border-radius: var(--pill); font-size: 12px; font-weight: 600; background: var(--ink); color: var(--on-dark); }
.cond-tag--inline { position: static; display: inline-block; margin-left: 8px; vertical-align: middle; }

/* Stok durumu */
.stock { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.stock--stokta { color: #24653a; }
.stock--siparis { color: #855200; }
.stock--satildi { color: var(--muted); }
.p-card .stock { margin-top: 6px; }
.p-card.is-sold .frame { opacity: .55; filter: grayscale(1); }
.stock-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0; font-size: 14px; color: var(--muted); }
.sold-note { display: grid; gap: 12px; padding: 18px; border-radius: var(--radius, 12px); background: var(--surface); border: 1px solid var(--line); }
.sold-note p { margin: 0; }
.sold-note .btn { justify-self: start; }

/* Rehber ve SSS sayfaları */
.doc .lead-p { font-size: 18px; color: var(--ink-2); margin-bottom: 24px; }
.doc h2[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.toc a { padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--pill); background: var(--card); font-size: 14px; font-weight: 500; color: var(--ink); transition: border-color var(--t-fast); }
.toc a:hover { border-color: var(--ink); }
.faq { display: grid; gap: 8px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px; font-weight: 600; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--surface); font-size: 18px; line-height: 1; transition: transform var(--t) var(--ease-out); }
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--accent); color: var(--accent-ink); }
.faq-item summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: var(--radius); }
.faq-a { padding: 0 18px 16px; }
.faq-a p { margin: 0; }
.faq-a a, .doc .legal-list a { text-decoration: underline; text-underline-offset: 3px; }
.doc-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 48px; padding: 24px; border-radius: var(--radius-l); background: var(--dark); color: var(--on-dark); }
.doc-cta h2 { margin: 0 0 4px !important; color: var(--on-dark) !important; font-size: 21px; }
.doc-cta p { margin: 0 !important; color: var(--on-dark-muted); }
mark.fill { background: #f6e7a8; }

/* Ürün fotoğrafı olmayan kategori kutusu: koyu zeminde logo */
.cat-fallback { background: var(--dark); }
.cat-fallback img { object-fit: contain; padding: 18%; }

/* Gerçek fotoğraflı hero: yazının okunması için alttan da karart */
.hero-main:has(.has-img)::after { background: linear-gradient(0deg, rgba(20,19,17,.9) 0%, rgba(20,19,17,.55) 45%, rgba(20,19,17,.1) 80%), linear-gradient(90deg, rgba(20,19,17,.55), rgba(20,19,17,0) 70%); }

/* Çerez onay bandı */
.consent { position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px; margin-inline: auto; max-width: 760px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding: 18px 20px; background: var(--card); color: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-2); font-size: 14.5px; line-height: 1.5; }
.consent p { flex: 1 1 380px; margin: 0; }
.consent p b { display: block; color: var(--ink); margin-bottom: 2px; }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.consent-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.consent-actions .btn { min-height: 44px; }
@media (max-width: 560px) { .consent-actions { width: 100%; } .consent-actions .btn { flex: 1; } }

/* Footer: site yapımcısı */
.foot-bottom .credit { flex-basis: 100%; font-size: 12px; color: #a3a299; }
.foot-bottom .credit a { min-height: 0; display: inline; color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.foot-bottom .credit a:hover { color: var(--on-dark-muted); }

/* Mobilde parmakla yakınlaştırmayı kapat (iki parmak ve çift dokunma); kaydırma çalışmaya devam eder */
html, body { touch-action: pan-x pan-y; }
/* iPhone, 16px'ten küçük yazılı kutulara dokununca sayfayı büyütür: kutular en az 16px */
@media (max-width: 720px) { input, select, textarea { font-size: 16px !important; } }

/* Mağaza: ürünler veritabanından gelene kadar liste alanı yer tutar (sayfa kaymasın) */
.p-grid[data-grid]:empty { min-height: 120vh; }
.pdp[data-pdp]:empty { min-height: 140vh; }
.p-grid[data-related]:empty { min-height: 420px; }
